diff --git a/assets/schema/derisk.sql b/assets/schema/derisk.sql index 0707ccd9..fb9a68fd 100644 --- a/assets/schema/derisk.sql +++ b/assets/schema/derisk.sql @@ -9,7 +9,7 @@ use derisk; -- MySQL DDL Script for Derisk -- Version: 0.3.0 -- Generated from SQLAlchemy ORM Models --- Generated: 2026-02-27 17:05:23 +-- Generated: 2026-02-28 13:57:50 -- ============================================================ SET NAMES utf8mb4; diff --git a/packages/derisk-app/src/derisk_app/static/web/404.html b/packages/derisk-app/src/derisk_app/static/web/404.html index 74106b6a..bf44f57a 100644 --- a/packages/derisk-app/src/derisk_app/static/web/404.html +++ b/packages/derisk-app/src/derisk_app/static/web/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/404/index.html b/packages/derisk-app/src/derisk_app/static/web/404/index.html index 74106b6a..bf44f57a 100644 --- a/packages/derisk-app/src/derisk_app/static/web/404/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/404/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/pCJopBeaLxDu90G54KPJh/_buildManifest.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/FAOLyp14HCPWxdvGd5nZP/_buildManifest.js similarity index 100% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/pCJopBeaLxDu90G54KPJh/_buildManifest.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/FAOLyp14HCPWxdvGd5nZP/_buildManifest.js diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/pCJopBeaLxDu90G54KPJh/_ssgManifest.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/FAOLyp14HCPWxdvGd5nZP/_ssgManifest.js similarity index 100% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/pCJopBeaLxDu90G54KPJh/_ssgManifest.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/FAOLyp14HCPWxdvGd5nZP/_ssgManifest.js diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-1def2a896ab2dba1.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-b41c605520fe8a4c.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-1def2a896ab2dba1.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-b41c605520fe8a4c.js index a8eca6f2..acf873a1 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-1def2a896ab2dba1.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1081-b41c605520fe8a4c.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1081],{5006:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},15542:(e,t,n)=>{n.d(t,{Ay:()=>c,gd:()=>i});var o=n(99841),r=n(18184),a=n(61388);function i(e,t){var n=(0,a.oX)(t,{checkboxCls:".".concat(e),checkboxSize:t.controlInteractiveSize});let{checkboxCls:i}=n,c="".concat(i,"-wrapper");return[{["".concat(i,"-group")]:Object.assign(Object.assign({},(0,r.dF)(n)),{display:"inline-flex",flexWrap:"wrap",columnGap:n.marginXS,["> ".concat(n.antCls,"-row")]:{flex:1}}),[c]:Object.assign(Object.assign({},(0,r.dF)(n)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},["& + ".concat(c)]:{marginInlineStart:0},["&".concat(c,"-in-form-item")]:{'input[type="checkbox"]':{width:14,height:14}}}),[i]:Object.assign(Object.assign({},(0,r.dF)(n)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:n.borderRadiusSM,alignSelf:"center",["".concat(i,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,["&:focus-visible + ".concat(i,"-inner")]:(0,r.jk)(n)},["".concat(i,"-inner")]:{boxSizing:"border-box",display:"block",width:n.checkboxSize,height:n.checkboxSize,direction:"ltr",backgroundColor:n.colorBgContainer,border:"".concat((0,o.zA)(n.lineWidth)," ").concat(n.lineType," ").concat(n.colorBorder),borderRadius:n.borderRadiusSM,borderCollapse:"separate",transition:"all ".concat(n.motionDurationSlow),"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:n.calc(n.checkboxSize).div(14).mul(5).equal(),height:n.calc(n.checkboxSize).div(14).mul(8).equal(),border:"".concat((0,o.zA)(n.lineWidthBold)," solid ").concat(n.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(n.motionDurationFast," ").concat(n.motionEaseInBack,", opacity ").concat(n.motionDurationFast)}},"& + span":{paddingInlineStart:n.paddingXS,paddingInlineEnd:n.paddingXS}})},{["\n ".concat(c,":not(").concat(c,"-disabled),\n ").concat(i,":not(").concat(i,"-disabled)\n ")]:{["&:hover ".concat(i,"-inner")]:{borderColor:n.colorPrimary}},["".concat(c,":not(").concat(c,"-disabled)")]:{["&:hover ".concat(i,"-checked:not(").concat(i,"-disabled) ").concat(i,"-inner")]:{backgroundColor:n.colorPrimaryHover,borderColor:"transparent"},["&:hover ".concat(i,"-checked:not(").concat(i,"-disabled):after")]:{borderColor:n.colorPrimaryHover}}},{["".concat(i,"-checked")]:{["".concat(i,"-inner")]:{backgroundColor:n.colorPrimary,borderColor:n.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"all ".concat(n.motionDurationMid," ").concat(n.motionEaseOutBack," ").concat(n.motionDurationFast)}}},["\n ".concat(c,"-checked:not(").concat(c,"-disabled),\n ").concat(i,"-checked:not(").concat(i,"-disabled)\n ")]:{["&:hover ".concat(i,"-inner")]:{backgroundColor:n.colorPrimaryHover,borderColor:"transparent"}}},{[i]:{"&-indeterminate":{"&":{["".concat(i,"-inner")]:{backgroundColor:"".concat(n.colorBgContainer),borderColor:"".concat(n.colorBorder),"&:after":{top:"50%",insetInlineStart:"50%",width:n.calc(n.fontSizeLG).div(2).equal(),height:n.calc(n.fontSizeLG).div(2).equal(),backgroundColor:n.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},["&:hover ".concat(i,"-inner")]:{backgroundColor:"".concat(n.colorBgContainer),borderColor:"".concat(n.colorPrimary)}}}}},{["".concat(c,"-disabled")]:{cursor:"not-allowed"},["".concat(i,"-disabled")]:{["&, ".concat(i,"-input")]:{cursor:"not-allowed",pointerEvents:"none"},["".concat(i,"-inner")]:{background:n.colorBgContainerDisabled,borderColor:n.colorBorder,"&:after":{borderColor:n.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:n.colorTextDisabled},["&".concat(i,"-indeterminate ").concat(i,"-inner::after")]:{background:n.colorTextDisabled}}}]}let c=(0,n(45431).OF)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[i(n,e)]})},47210:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(79630),r=n(40419),a=n(27061),i=n(21858),c=n(20235),d=n(12115),l=n(29300),s=n.n(l),u=n(40032),p=n(61969);let f=d.memo(function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,a=e.isEnd,i="".concat(t,"-indent-unit"),c=[],l=0;l{n.d(t,{$s:()=>d,BA:()=>c,BE:()=>p,LI:()=>l,Oh:()=>u,hr:()=>h,kG:()=>s,tg:()=>f});var o=n(85757),r=n(86608),a=n(9587);n(12115),n(47210);var i=n(71954);function c(e,t){if(!e)return[];var n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function d(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function l(e){return e.split("-")}function s(e,t){var n=[];return!function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var o=t.key,r=t.children;n.push(o),e(r)})}((0,i.A)(t,e).children),n}function u(e,t,n,o,r,a,c,d,s,u){var p,f,h=e.clientX,g=e.clientY,v=e.target.getBoundingClientRect(),y=v.top,b=v.height,k=(("rtl"===u?-1:1)*(((null==r?void 0:r.x)||0)-h)-12)/o,m=s.filter(function(e){var t;return null==(t=d[e])||null==(t=t.children)?void 0:t.length}),A=(0,i.A)(d,n.eventKey);if(g-1.5?a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1:a({dragNode:D,dropNode:P,dropPosition:0})?w=0:a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1:a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1,{dropPosition:w,dropLevelOffset:S,dropTargetKey:A.key,dropTargetPos:A.pos,dragOverNodeKey:C,dropContainerKey:0===w?null:(null==(f=A.parent)?void 0:f.key)||null,dropAllowed:M}}function p(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,r.A)(e))return(0,a.Ay)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=(0,i.A)(t,o);if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.A)(n)}n(94879)},61969:(e,t,n)=>{n.d(t,{Q:()=>a,U:()=>r});var o=n(12115),r=o.createContext(null),a=o.createContext({})},69332:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},71081:(e,t,n)=>{n.d(t,{A:()=>eD});var o=n(79630),r=n(86608),a=n(27061),i=n(85757),c=n(30857),d=n(28383),l=n(55227),s=n(38289),u=n(9424),p=n(40419),f=n(29300),h=n.n(f),g=n(17233),v=n(40032),y=n(9587),b=n(12115),k=n(61969),m=n(71494),A=n(21858),K=n(20235),x=n(49172),N=n(66846),E=n(82870),C=n(47210);let w=function(e,t){var n=b.useState(!1),o=(0,A.A)(n,2),r=o[0],a=o[1];(0,x.A)(function(){if(r)return e(),function(){t()}},[r]),(0,x.A)(function(){return a(!0),function(){a(!1)}},[])};var S=n(94879),O=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],D=b.forwardRef(function(e,t){var n=e.className,r=e.style,a=e.motion,i=e.motionNodes,c=e.motionType,d=e.onMotionStart,l=e.onMotionEnd,s=e.active,u=e.treeNodeRequiredProps,p=(0,K.A)(e,O),f=b.useState(!0),g=(0,A.A)(f,2),v=g[0],y=g[1],N=b.useContext(k.U).prefixCls,D=i&&"hide"!==c;(0,x.A)(function(){i&&D!==v&&y(D)},[i]);var P=b.useRef(!1),M=function(){i&&!P.current&&(P.current=!0,l())};return(w(function(){i&&d()},M),i)?b.createElement(E.Ay,(0,o.A)({ref:t,visible:v},a,{motionAppear:"show"===c,onVisibleChanged:function(e){D===e&&M()}}),function(e,t){var n=e.className,r=e.style;return b.createElement("div",{ref:t,className:h()("".concat(N,"-treenode-motion"),n),style:r},i.map(function(e){var t=Object.assign({},((0,m.A)(e.data),e.data)),n=e.title,r=e.key,a=e.isStart,i=e.isEnd;delete t.children;var c=(0,S.N5)(r,u);return b.createElement(C.A,(0,o.A)({},t,c,{title:n,active:s,data:e.data,key:r,isStart:a,isEnd:i}))}))}):b.createElement(C.A,(0,o.A)({domRef:t,className:n,style:r},p,{active:s}))});function P(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 M=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],T={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},L=function(){},I="RC_TREE_MOTION_".concat(Math.random()),R={key:I},j={key:I,level:0,index:0,pos:"0",node:R,nodes:[R]},H={parent:null,children:[],pos:j.pos,data:R,title:null,key:I,isStart:[],isEnd:[]};function B(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function z(e){var t=e.key,n=e.pos;return(0,S.i7)(t,n)}var q=b.forwardRef(function(e,t){var n=e.prefixCls,r=e.data,a=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,l=e.loadingKeys,s=e.halfCheckedKeys,u=e.keyEntities,p=e.disabled,f=e.dragging,h=e.dragOverNodeKey,g=e.dropPosition,v=e.motion,y=e.height,k=e.itemHeight,E=e.virtual,C=e.scrollWidth,w=e.focusable,O=e.activeItem,R=e.focused,j=e.tabIndex,q=e.onKeyDown,G=e.onFocus,W=e.onBlur,F=e.onActiveChange,_=e.onListChangeStart,U=e.onListChangeEnd,V=(0,K.A)(e,M),$=b.useRef(null),X=b.useRef(null);b.useImperativeHandle(t,function(){return{scrollTo:function(e){$.current.scrollTo(e)},getIndentWidth:function(){return X.current.offsetWidth}}});var Z=b.useState(a),Q=(0,A.A)(Z,2),Y=Q[0],J=Q[1],ee=b.useState(r),et=(0,A.A)(ee,2),en=et[0],eo=et[1],er=b.useState(r),ea=(0,A.A)(er,2),ei=ea[0],ec=ea[1],ed=b.useState([]),el=(0,A.A)(ed,2),es=el[0],eu=el[1],ep=b.useState(null),ef=(0,A.A)(ep,2),eh=ef[0],eg=ef[1],ev=b.useRef(r);function ey(){var e=ev.current;eo(e),ec(e),eu([]),eg(null),U()}ev.current=r,(0,x.A)(function(){J(a);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}(O)),b.createElement("div",null,b.createElement("input",{style:T,disabled:!1===w||p,tabIndex:!1!==w?j:null,onKeyDown:q,onFocus:G,onBlur:W,value:"",onChange:L,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:X,className:"".concat(n,"-indent-unit")}))),b.createElement(N.A,(0,o.A)({},V,{data:eb,itemKey:z,height:y,fullHeight:!1,virtual:E,itemHeight:k,scrollWidth:C,prefixCls:"".concat(n,"-list"),ref:$,role:"tree",onVisibleChange:function(e){e.every(function(e){return z(e)!==I})&&ey()}}),function(e){var t=e.pos,n=Object.assign({},((0,m.A)(e.data),e.data)),r=e.title,a=e.key,i=e.isStart,c=e.isEnd,d=(0,S.i7)(a,t);delete n.key,delete n.children;var l=(0,S.N5)(d,ek);return b.createElement(D,(0,o.A)({},n,l,{title:r,active:!!O&&a===O.key,pos:t,data:e.data,isStart:i,isEnd:c,motion:v,motionNodes:a===I?es:null,motionType:eh,onMotionStart:_,onMotionEnd:ey,treeNodeRequiredProps:ek,onMouseMove:function(){F(null)}}))}))}),G=n(51685),W=n(92629),F=n(71954),_=function(e){(0,s.A)(n,e);var t=(0,u.A)(n);function n(){var e;(0,c.A)(this,n);for(var o=arguments.length,r=Array(o),d=0;d2&&void 0!==arguments[2]&&arguments[2],i=e.state,c=i.dragChildrenKeys,d=i.dropPosition,l=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==l){var p=(0,a.A)((0,a.A)({},(0,S.N5)(l,e.getTreeNodeRequiredProps())),{},{active:(null==(o=e.getActiveItem())?void 0:o.key)===l,data:(0,F.A)(e.state.keyEntities,l).node}),f=c.includes(l);(0,y.Ay)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=(0,G.LI)(s),g={event:t,node:(0,S.Hj)(p),dragNode:e.dragNodeProps?(0,S.Hj)(e.dragNodeProps):null,dragNodesKeys:[e.dragNodeProps.eventKey].concat(c),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==u||u(g),e.dragNodeProps=null}}}),(0,p.A)((0,l.A)(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}),(0,p.A)((0,l.A)(e),"triggerExpandActionExpand",function(t,n){var o=e.state,r=o.expandedKeys,i=o.flattenNodes,c=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var l=i.filter(function(e){return e.key===d})[0],s=(0,S.Hj)((0,a.A)((0,a.A)({},(0,S.N5)(d,e.getTreeNodeRequiredProps())),{},{data:l.data}));e.setExpandedKeys(c?(0,G.BA)(r,d):(0,G.$s)(r,d)),e.onNodeExpand(t,s)}}),(0,p.A)((0,l.A)(e),"onNodeClick",function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.A)((0,l.A)(e),"onNodeDoubleClick",function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.A)((0,l.A)(e),"onNodeSelect",function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,c=e.props,d=c.onSelect,l=c.multiple,s=n.selected,u=n[i.key],p=!s,f=(o=p?l?(0,G.$s)(o,u):[u]:(0,G.BA)(o,u)).map(function(e){var t=(0,F.A)(a,e);return t?t.node:null}).filter(Boolean);e.setUncontrolledState({selectedKeys:o}),null==d||d(o,{event:"select",selected:p,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})}),(0,p.A)((0,l.A)(e),"onNodeCheck",function(t,n,o){var r,a=e.state,c=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,s=e.props,u=s.checkStrictly,p=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(u){var g=o?(0,G.$s)(d,f):(0,G.BA)(d,f);r={checked:g,halfChecked:(0,G.BA)(l,f)},h.checkedNodes=g.map(function(e){return(0,F.A)(c,e)}).filter(Boolean).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=(0,W.p)([].concat((0,i.A)(d),[f]),!0,c),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=(0,W.p)(Array.from(k),{checked:!1,halfCheckedKeys:b},c);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=(0,F.A)(c,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==p||p(r,h)}),(0,p.A)((0,l.A)(e),"onNodeLoad",function(t){var n,o=t.key,r=e.state.keyEntities,a=(0,F.A)(r,o);if(null==a||null==(n=a.children)||!n.length){var i=new Promise(function(n,r){e.setState(function(a){var i=a.loadedKeys,c=a.loadingKeys,d=void 0===c?[]:c,l=e.props,s=l.loadData,u=l.onLoad;return!s||(void 0===i?[]:i).includes(o)||d.includes(o)?null:(s(t).then(function(){var r=e.state.loadedKeys,a=(0,G.$s)(r,o);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,G.BA)(e.loadingKeys,o)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,G.BA)(e.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=10){var a=e.state.loadedKeys;(0,y.Ay)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,G.$s)(a,o)}),n()}r(t)}),{loadingKeys:(0,G.$s)(d,o)})})});return i.catch(function(){}),i}}),(0,p.A)((0,l.A)(e),"onNodeMouseEnter",function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})}),(0,p.A)((0,l.A)(e),"onNodeMouseLeave",function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})}),(0,p.A)((0,l.A)(e),"onNodeContextMenu",function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))}),(0,p.A)((0,l.A)(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,i=!0,c={};Object.keys(t).forEach(function(n){if(e.props.hasOwnProperty(n)){i=!1;return}r=!0,c[n]=t[n]}),r&&(!n||i)&&e.setState((0,a.A)((0,a.A)({},c),o))}}),(0,p.A)((0,l.A)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,d.A)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{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=this.state,n=t.focused,a=t.flattenNodes,i=t.keyEntities,c=t.draggingNodeKey,d=t.activeKey,l=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,f=t.dropPosition,g=t.dragOverNodeKey,y=t.indent,m=this.props,A=m.prefixCls,K=m.className,x=m.style,N=m.showLine,E=m.focusable,C=m.tabIndex,w=m.selectable,S=m.showIcon,O=m.icon,D=m.switcherIcon,P=m.draggable,M=m.checkable,T=m.checkStrictly,L=m.disabled,I=m.motion,R=m.loadData,j=m.filterTreeNode,H=m.height,B=m.itemHeight,z=m.scrollWidth,G=m.virtual,W=m.titleRender,F=m.dropIndicatorRender,_=m.onContextMenu,U=m.onScroll,V=m.direction,$=m.rootClassName,X=m.rootStyle,Z=(0,v.A)(this.props,{aria:!0,data:!0});P&&(e="object"===(0,r.A)(P)?P:"function"==typeof P?{nodeDraggable:P}:{});var Q={prefixCls:A,selectable:w,showIcon:S,icon:O,switcherIcon:D,draggable:e,draggingNodeKey:c,checkable:M,checkStrictly:T,disabled:L,keyEntities:i,dropLevelOffset:l,dropContainerKey:s,dropTargetKey:u,dropPosition:f,dragOverNodeKey:g,indent:y,direction:V,dropIndicatorRender:F,loadData:R,filterTreeNode:j,titleRender:W,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};return b.createElement(k.U.Provider,{value:Q},b.createElement("div",{className:h()(A,K,$,(0,p.A)((0,p.A)((0,p.A)({},"".concat(A,"-show-line"),N),"".concat(A,"-focused"),n),"".concat(A,"-active-focused"),null!==d)),style:X},b.createElement(q,(0,o.A)({ref:this.listRef,prefixCls:A,style:x,data:a,disabled:L,selectable:w,checkable:!!M,motion:I,dragging:null!==c,height:H,itemHeight:B,virtual:G,focusable:E,focused:n,tabIndex:void 0===C?0:C,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_,onScroll:U,scrollWidth:z},this.getTreeNodeRequiredProps(),Z))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,i={prevProps:e};function c(t){return!r&&e.hasOwnProperty(t)||r&&r[t]!==e[t]}var d=t.fieldNames;if(c("fieldNames")&&(i.fieldNames=d=(0,S.AZ)(e.fieldNames)),c("treeData")?n=e.treeData:c("children")&&((0,y.Ay)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,S.vH)(e.children)),n){i.treeData=n;var l=(0,S.cG)(n,{fieldNames:d});i.keyEntities=(0,a.A)((0,p.A)({},I,j),l.keyEntities)}var s=i.keyEntities||t.keyEntities;if(c("expandedKeys")||r&&c("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,G.hr)(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,a.A)({},s);delete u[I];var f=[];Object.keys(u).forEach(function(e){var t=u[e];t.children&&t.children.length&&f.push(t.key)}),i.expandedKeys=f}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,G.hr)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var h=(0,S.$9)(n||t.treeData,i.expandedKeys||t.expandedKeys,d);i.flattenNodes=h}if(e.selectable&&(c("selectedKeys")?i.selectedKeys=(0,G.BE)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,G.BE)(e.defaultSelectedKeys,e))),e.checkable&&(c("checkedKeys")?o=(0,G.tg)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,G.tg)(e.defaultCheckedKeys)||{}:n&&(o=(0,G.tg)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var g=o,v=g.checkedKeys,b=void 0===v?[]:v,k=g.halfCheckedKeys,m=void 0===k?[]:k;if(!e.checkStrictly){var A=(0,W.p)(b,!0,s);b=A.checkedKeys,m=A.halfCheckedKeys}i.checkedKeys=b,i.halfCheckedKeys=m}return c("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(b.Component);(0,p.A)(_,"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 b.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1}),(0,p.A)(_,"TreeNode",C.A);var U=n(69332),V=n(35030),$=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:U.A}))});let X={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"};var Z=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:X}))}),Q=n(5006),Y=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:Q.A}))}),J=n(15982);let 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"};var et=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:ee}))}),en=n(93666),eo=n(44494),er=n(70042),ea=n(99841),ei=n(15542),ec=n(18184),ed=n(35376),el=n(61388),es=n(45431);let eu=new ea.Mo("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ep=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=".".concat(e),r=t.calc(t.paddingXS).div(2).equal(),a=(0,el.oX)(t,{treeCls:o,treeNodeCls:"".concat(o,"-treenode"),treeNodePadding:r});return[((e,t)=>{let n,o,{treeCls:r,treeNodeCls:a,treeNodePadding:i,titleHeight:c,indentSize:d,nodeSelectedBg:l,nodeHoverBg:s,colorTextQuaternary:u,controlItemBgActiveDisabled:p}=t;return{[r]:Object.assign(Object.assign({},(0,ec.dF)(t)),{"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:"background-color ".concat(t.motionDurationSlow),"&-rtl":{direction:"rtl"},["&".concat(r,"-rtl ").concat(r,"-switcher_close ").concat(r,"-switcher-icon svg")]:{transform:"rotate(90deg)"},["&-focused:not(:hover):not(".concat(r,"-active-focused)")]:(0,ec.jk)(t),["".concat(r,"-list-holder-inner")]:{alignItems:"flex-start"},["&".concat(r,"-block-node")]:{["".concat(r,"-list-holder-inner")]:{alignItems:"stretch",["".concat(r,"-node-content-wrapper")]:{flex:"auto"},["".concat(a,".dragging:after")]:{position:"absolute",inset:0,border:"1px solid ".concat(t.colorPrimary),opacity:0,animationName:eu,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[a]:{display:"flex",alignItems:"flex-start",marginBottom:i,lineHeight:(0,ea.zA)(c),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:i},["&-disabled ".concat(r,"-node-content-wrapper")]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},["".concat(r,"-checkbox-disabled + ").concat(r,"-node-selected,&").concat(a,"-disabled").concat(a,"-selected ").concat(r,"-node-content-wrapper")]:{backgroundColor:p},["".concat(r,"-checkbox-disabled")]:{pointerEvents:"unset"},["&:not(".concat(a,"-disabled)")]:{["".concat(r,"-node-content-wrapper")]:{"&:hover":{color:t.nodeHoverColor}}},["&-active ".concat(r,"-node-content-wrapper")]:{background:t.controlItemBgHover},["&:not(".concat(a,"-disabled).filter-node ").concat(r,"-title")]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:"grab",["".concat(r,"-draggable-icon")]:{flexShrink:0,width:c,textAlign:"center",visibility:"visible",color:u},["&".concat(a,"-disabled ").concat(r,"-draggable-icon")]:{visibility:"hidden"}}},["".concat(r,"-indent")]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:d}},["".concat(r,"-draggable-icon")]:{visibility:"hidden"},["".concat(r,"-switcher, ").concat(r,"-checkbox")]:{marginInlineEnd:t.calc(t.calc(c).sub(t.controlInteractiveSize)).div(2).equal()},["".concat(r,"-switcher")]:Object.assign(Object.assign({},{[".".concat(e,"-switcher-icon")]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:"transform ".concat(t.motionDurationSlow)}}}),{position:"relative",flex:"none",alignSelf:"stretch",width:c,textAlign:"center",cursor:"pointer",userSelect:"none",transition:"all ".concat(t.motionDurationSlow),"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:c,height:c,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationSlow)},["&:not(".concat(r,"-switcher-noop):hover:before")]:{backgroundColor:t.colorBgTextHover},["&_close ".concat(r,"-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:t.calc(c).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(c).div(2).equal()).mul(.8).equal(),height:t.calc(c).div(2).equal(),borderBottom:"1px solid ".concat(t.colorBorder),content:'""'}}}),["".concat(r,"-node-content-wrapper")]:Object.assign(Object.assign({position:"relative",minHeight:c,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:"all ".concat(t.motionDurationMid,", border 0s, line-height 0s, box-shadow 0s")},(n=e,o=t,{[".".concat(n,"-drop-indicator")]:{position:"absolute",zIndex:1,height:2,backgroundColor:o.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:"".concat((0,ea.zA)(o.lineWidthBold)," solid ").concat(o.colorPrimary),borderRadius:"50%",content:'""'}}})),{"&:hover":{backgroundColor:s},["&".concat(r,"-node-selected")]:{color:t.nodeSelectedColor,backgroundColor:l},["".concat(r,"-iconEle")]:{display:"inline-block",width:c,height:c,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),["".concat(r,"-unselectable ").concat(r,"-node-content-wrapper:hover")]:{backgroundColor:"transparent"},["".concat(a,".drop-container > [draggable]")]:{boxShadow:"0 0 0 2px ".concat(t.colorPrimary)},"&-show-line":{["".concat(r,"-indent-unit")]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(c).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&-end:before":{display:"none"}},["".concat(r,"-switcher")]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},["".concat(a,"-leaf-last ").concat(r,"-switcher-leaf-line:before")]:{top:"auto !important",bottom:"auto !important",height:"".concat((0,ea.zA)(t.calc(c).div(2).equal())," !important")}})}})(e,a),n&&(e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:o,directoryNodeSelectedColor:r,motionDurationMid:a,borderRadius:i,controlItemBgHover:c}=e;return{["".concat(t).concat(t,"-directory ").concat(n)]:{["".concat(t,"-node-content-wrapper")]:{position:"static",["&:has(".concat(t,"-drop-indicator)")]:{position:"relative"},["> *:not(".concat(t,"-drop-indicator)")]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:"background-color ".concat(a),content:'""',borderRadius:i},"&:hover:before":{background:c}},["".concat(t,"-switcher, ").concat(t,"-checkbox, ").concat(t,"-draggable-icon")]:{zIndex:1},"&-selected":{background:o,borderRadius:i,["".concat(t,"-switcher, ").concat(t,"-draggable-icon")]:{color:r},["".concat(t,"-node-content-wrapper")]:{color:r,background:"transparent","&, &:hover":{color:r},"&:before, &:hover:before":{background:o}}}}}})(a)].filter(Boolean)},ef=(0,es.OF)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,ei.gd)("".concat(n,"-checkbox"),e)},ep(n,e),(0,ed.A)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},(e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:o}=e;return{titleHeight:t,indentSize:t,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:o,nodeSelectedColor:e.colorText}})(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}),eh=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",c={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=r+4}return b.createElement("div",{style:c,className:"".concat(o,"-drop-indicator")})},eg={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"};var ev=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:eg}))}),ey=n(51280);let eb={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"};var ek=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:eb}))});let em={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"};var eA=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:em}))}),eK=n(80163);let ex=e=>{var t,n;let o,{prefixCls:r,switcherIcon:a,treeNodeProps:i,showLine:c,switcherLoadingIcon:d}=e,{isLeaf:l,expanded:s,loading:u}=i;if(u)return b.isValidElement(d)?d:b.createElement(ey.A,{className:"".concat(r,"-switcher-loading-icon")});if(c&&"object"==typeof c&&(o=c.showLeafIcon),l){if(!c)return null;if("boolean"!=typeof o&&o){let e="function"==typeof o?o(i):o,n="".concat(r,"-switcher-line-custom-icon");return b.isValidElement(e)?(0,eK.Ob)(e,{className:h()(null==(t=e.props)?void 0:t.className,n)}):e}return o?b.createElement($,{className:"".concat(r,"-switcher-line-icon")}):b.createElement("span",{className:"".concat(r,"-switcher-leaf-line")})}let p="".concat(r,"-switcher-icon"),f="function"==typeof a?a(i):a;return b.isValidElement(f)?(0,eK.Ob)(f,{className:h()(null==(n=f.props)?void 0:n.className,p)}):void 0!==f?f:c?s?b.createElement(ek,{className:"".concat(r,"-switcher-line-icon")}):b.createElement(eA,{className:"".concat(r,"-switcher-line-icon")}):b.createElement(ev,{className:p})},eN=b.forwardRef((e,t)=>{var n;let{getPrefixCls:o,direction:r,virtual:a,tree:i}=b.useContext(J.QO),{prefixCls:c,className:d,showIcon:l=!1,showLine:s,switcherIcon:u,switcherLoadingIcon:p,blockNode:f=!1,children:g,checkable:v=!1,selectable:y=!0,draggable:k,disabled:m,motion:A,style:K}=e,x=o("tree",c),N=o(),E=b.useContext(eo.A),C=null!=m?m:E,w=null!=A?A:Object.assign(Object.assign({},(0,en.A)(N)),{motionAppear:!1}),S=Object.assign(Object.assign({},e),{checkable:v,selectable:y,showIcon:l,motion:w,blockNode:f,disabled:C,showLine:!!s,dropIndicatorRender:eh}),[O,D,P]=ef(x),[,M]=(0,er.Ay)(),T=M.paddingXS/2+((null==(n=M.Tree)?void 0:n.titleHeight)||M.controlHeightSM),L=b.useMemo(()=>{if(!k)return!1;let e={};switch(typeof k){case"function":e.nodeDraggable=k;break;case"object":e=Object.assign({},k)}return!1!==e.icon&&(e.icon=e.icon||b.createElement(et,null)),e},[k]);return O(b.createElement(_,Object.assign({itemHeight:T,ref:t,virtual:a},S,{style:Object.assign(Object.assign({},null==i?void 0:i.style),K),prefixCls:x,className:h()({["".concat(x,"-icon-hide")]:!l,["".concat(x,"-block-node")]:f,["".concat(x,"-unselectable")]:!y,["".concat(x,"-rtl")]:"rtl"===r,["".concat(x,"-disabled")]:C},null==i?void 0:i.className,d,D,P),direction:r,checkable:v?b.createElement("span",{className:"".concat(x,"-checkbox-inner")}):v,selectable:y,switcherIcon:e=>b.createElement(ex,{prefixCls:x,switcherIcon:u,switcherLoadingIcon:p,treeNodeProps:e,showLine:s}),draggable:L}),g))});function eE(e,t,n){let{key:o,children:r}=n;e.forEach(function(e){let a=e[o],i=e[r];!1!==t(a,e)&&eE(i||[],t,n)})}var eC=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 ew(e){let{isLeaf:t,expanded:n}=e;return t?b.createElement($,null):n?b.createElement(Z,null):b.createElement(Y,null)}function eS(e){let{treeData:t,children:n}=e;return t||(0,S.vH)(n)}let eO=b.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:r}=e,a=eC(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let c=b.useRef(null),d=b.useRef(null),[l,s]=b.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[u,p]=b.useState(()=>(()=>{let{keyEntities:e}=(0,S.cG)(eS(a),{fieldNames:a.fieldNames});return n?Object.keys(e):o?(0,G.hr)(a.expandedKeys||r||[],e):a.expandedKeys||r||[]})());b.useEffect(()=>{"selectedKeys"in a&&s(a.selectedKeys)},[a.selectedKeys]),b.useEffect(()=>{"expandedKeys"in a&&p(a.expandedKeys)},[a.expandedKeys]);let{getPrefixCls:f,direction:g}=b.useContext(J.QO),{prefixCls:v,className:y,showIcon:k=!0,expandAction:m="click"}=a,A=eC(a,["prefixCls","className","showIcon","expandAction"]),K=f("tree",v),x=h()("".concat(K,"-directory"),{["".concat(K,"-directory-rtl")]:"rtl"===g},y);return b.createElement(eN,Object.assign({icon:ew,ref:t,blockNode:!0},A,{showIcon:k,expandAction:m,prefixCls:K,className:x,expandedKeys:u,selectedKeys:l,onSelect:(e,t)=>{var n;let o,{multiple:r,fieldNames:l}=a,{node:p,nativeEvent:f}=t,{key:h=""}=p,g=eS(a),v=Object.assign(Object.assign({},t),{selected:!0}),y=(null==f?void 0:f.ctrlKey)||(null==f?void 0:f.metaKey),b=null==f?void 0:f.shiftKey;r&&y?(o=e,c.current=h,d.current=o):r&&b?o=Array.from(new Set([].concat((0,i.A)(d.current||[]),(0,i.A)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:r,fieldNames:a}=e,i=[],c=0;return o&&o===r?[o]:o&&r?(eE(t,e=>{if(2===c)return!1;if(e===o||e===r){if(i.push(e),0===c)c=1;else if(1===c)return c=2,!1}else 1===c&&i.push(e);return n.includes(e)},(0,S.AZ)(a)),i):[]}({treeData:g,expandedKeys:u,startKey:h,endKey:c.current,fieldNames:l}))))):(o=[h],c.current=h,d.current=o),v.selectedNodes=function(e,t,n){let o=(0,i.A)(t),r=[];return eE(e,(e,t)=>{let n=o.indexOf(e);return -1!==n&&(r.push(t),o.splice(n,1)),!!o.length},(0,S.AZ)(n)),r}(g,o,l),null==(n=a.onSelect)||n.call(a,o,v),"selectedKeys"in a||s(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in a||p(e),null==(n=a.onExpand)?void 0:n.call(a,e,t)}}))});eN.DirectoryTree=eO,eN.TreeNode=C.A;let eD=eN},71954:(e,t,n)=>{n.d(t,{A:()=>o});function o(e,t){return e[t]}},92629:(e,t,n)=>{n.d(t,{p:()=>c});var o=n(9587),r=n(71954);function a(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function i(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function c(e,t,n,c){var d,l=[];d=c||i;var s=new Set(e.filter(function(e){var t=!!(0,r.A)(n,e);return t||l.push(e),t})),u=new Map,p=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=u.get(o);r||(r=new Set,u.set(o,r)),r.add(t),p=Math.max(p,o)}),(0,o.Ay)(!l.length,"Tree missing follow keys: ".concat(l.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),i=new Set,c=0;c<=n;c+=1)(t.get(c)||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))return void d.add(t.key);var n=!0,a=!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),!a&&(o||i.has(t))&&(a=!0)}),n&&r.add(t.key),a&&i.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(a(i,r))}}(s,u,p,d):function(e,t,n,o,r){for(var i=new Set(e),c=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,a=void 0===o?[]:o;i.has(t)||c.has(t)||r(n)||a.filter(function(e){return!r(e.node)}).forEach(function(e){i.delete(e.key)})});c=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))return void l.add(t.key);var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=i.has(t);n&&!r&&(n=!1),!o&&(r||c.has(t))&&(o=!0)}),n||i.delete(t.key),o&&c.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(a(c,i))}}(s,t.halfCheckedKeys,u,p,d)}},94879:(e,t,n)=>{n.d(t,{$9:()=>v,AZ:()=>h,Hj:()=>k,N5:()=>b,cG:()=>y,i7:()=>f,vH:()=>g});var o=n(86608),r=n(85757),a=n(27061),i=n(20235),c=n(63715),d=n(17980),l=n(9587),s=n(71954),u=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(e){var t=e||{},n=t.title,o=t._title,r=t.key,a=t.children,i=n||"title";return{title:i,_title:o||[i],key:r||"key",children:a||"children"}}function g(e){return function e(t){return(0,c.A)(t).map(function(t){if(!(t&&t.type&&t.type.isTreeNode))return(0,l.Ay)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,o=t.props,r=o.children,c=(0,i.A)(o,u),d=(0,a.A)({key:n},c),s=e(r);return s.length&&(d.children=s),d}).filter(function(e){return e})}(e)}function v(e,t,n){var o=h(n),a=o._title,i=o.key,c=o.children,l=new Set(!0===t?[]:t),s=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var g,v=p(o?o.pos:"0",h),y=f(u[i],v),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},y=v.initWrapper,b=v.processEntity,k=v.onProcessFinished,m=v.externalGetKey,A=v.childrenPropName,K=v.fieldNames,x=arguments.length>2?arguments[2]:void 0,N={},E={},C={posEntities:N,keyEntities:E};return y&&(C=y(C)||C),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,c={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},d=f(r,o);N[o]=c,E[d]=c,c.parent=N[a],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),b&&b(c,C)},n={externalGetKey:m||x,childrenPropName:A,fieldNames:K},c=(i=("object"===(0,o.A)(n)?n:{externalGetKey:n})||{}).childrenPropName,d=i.externalGetKey,s=(l=h(i.fieldNames)).key,u=l.children,g=c||u,d?"string"==typeof d?a=function(e){return e[d]}:"function"==typeof d&&(a=function(e){return d(e)}):a=function(e,t){return f(e[s],t)},function n(o,i,c,d){var l=o?o[g]:e,s=o?p(c.pos,i):"0",u=o?[].concat((0,r.A)(d),[o]):[];if(o){var f=a(o,s);t({node:o,index:i,pos:s,key:f,parentPos:c.node?c.pos:null,level:c.level+1,nodes:u})}l&&l.forEach(function(e,t){n(e,t,{node:o,pos:s,level:c?c.level+1:-1},u)})}(null),k&&k(C),C}function b(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,c=t.halfCheckedKeys,d=t.dragOverNodeKey,l=t.dropPosition,u=t.keyEntities,p=(0,s.A)(u,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!==c.indexOf(e),pos:String(p?p.pos:""),dragOver:d===e&&0===l,dragOverGapTop:d===e&&-1===l,dragOverGapBottom:d===e&&1===l}}function k(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,i=e.loaded,c=e.loading,d=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,g=e.eventKey,v=(0,a.A)((0,a.A)({},t),{},{expanded:n,selected:o,checked:r,loaded:i,loading:c,halfChecked:d,dragOver:s,dragOverGapTop:u,dragOverGapBottom:p,pos:f,active:h,key:g});return"props"in v||Object.defineProperty(v,"props",{get:function(){return(0,l.Ay)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1081],{5006:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},15542:(e,t,n)=>{n.d(t,{Ay:()=>c,gd:()=>i});var o=n(99841),r=n(18184),a=n(61388);function i(e,t){var n=(0,a.oX)(t,{checkboxCls:".".concat(e),checkboxSize:t.controlInteractiveSize});let{checkboxCls:i}=n,c="".concat(i,"-wrapper");return[{["".concat(i,"-group")]:Object.assign(Object.assign({},(0,r.dF)(n)),{display:"inline-flex",flexWrap:"wrap",columnGap:n.marginXS,["> ".concat(n.antCls,"-row")]:{flex:1}}),[c]:Object.assign(Object.assign({},(0,r.dF)(n)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},["& + ".concat(c)]:{marginInlineStart:0},["&".concat(c,"-in-form-item")]:{'input[type="checkbox"]':{width:14,height:14}}}),[i]:Object.assign(Object.assign({},(0,r.dF)(n)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:n.borderRadiusSM,alignSelf:"center",["".concat(i,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,["&:focus-visible + ".concat(i,"-inner")]:(0,r.jk)(n)},["".concat(i,"-inner")]:{boxSizing:"border-box",display:"block",width:n.checkboxSize,height:n.checkboxSize,direction:"ltr",backgroundColor:n.colorBgContainer,border:"".concat((0,o.zA)(n.lineWidth)," ").concat(n.lineType," ").concat(n.colorBorder),borderRadius:n.borderRadiusSM,borderCollapse:"separate",transition:"all ".concat(n.motionDurationSlow),"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:n.calc(n.checkboxSize).div(14).mul(5).equal(),height:n.calc(n.checkboxSize).div(14).mul(8).equal(),border:"".concat((0,o.zA)(n.lineWidthBold)," solid ").concat(n.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(n.motionDurationFast," ").concat(n.motionEaseInBack,", opacity ").concat(n.motionDurationFast)}},"& + span":{paddingInlineStart:n.paddingXS,paddingInlineEnd:n.paddingXS}})},{["\n ".concat(c,":not(").concat(c,"-disabled),\n ").concat(i,":not(").concat(i,"-disabled)\n ")]:{["&:hover ".concat(i,"-inner")]:{borderColor:n.colorPrimary}},["".concat(c,":not(").concat(c,"-disabled)")]:{["&:hover ".concat(i,"-checked:not(").concat(i,"-disabled) ").concat(i,"-inner")]:{backgroundColor:n.colorPrimaryHover,borderColor:"transparent"},["&:hover ".concat(i,"-checked:not(").concat(i,"-disabled):after")]:{borderColor:n.colorPrimaryHover}}},{["".concat(i,"-checked")]:{["".concat(i,"-inner")]:{backgroundColor:n.colorPrimary,borderColor:n.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"all ".concat(n.motionDurationMid," ").concat(n.motionEaseOutBack," ").concat(n.motionDurationFast)}}},["\n ".concat(c,"-checked:not(").concat(c,"-disabled),\n ").concat(i,"-checked:not(").concat(i,"-disabled)\n ")]:{["&:hover ".concat(i,"-inner")]:{backgroundColor:n.colorPrimaryHover,borderColor:"transparent"}}},{[i]:{"&-indeterminate":{"&":{["".concat(i,"-inner")]:{backgroundColor:"".concat(n.colorBgContainer),borderColor:"".concat(n.colorBorder),"&:after":{top:"50%",insetInlineStart:"50%",width:n.calc(n.fontSizeLG).div(2).equal(),height:n.calc(n.fontSizeLG).div(2).equal(),backgroundColor:n.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},["&:hover ".concat(i,"-inner")]:{backgroundColor:"".concat(n.colorBgContainer),borderColor:"".concat(n.colorPrimary)}}}}},{["".concat(c,"-disabled")]:{cursor:"not-allowed"},["".concat(i,"-disabled")]:{["&, ".concat(i,"-input")]:{cursor:"not-allowed",pointerEvents:"none"},["".concat(i,"-inner")]:{background:n.colorBgContainerDisabled,borderColor:n.colorBorder,"&:after":{borderColor:n.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:n.colorTextDisabled},["&".concat(i,"-indeterminate ").concat(i,"-inner::after")]:{background:n.colorTextDisabled}}}]}let c=(0,n(45431).OF)("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[i(n,e)]})},47210:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(79630),r=n(40419),a=n(27061),i=n(21858),c=n(20235),d=n(12115),l=n(29300),s=n.n(l),u=n(40032),p=n(61969);let f=d.memo(function(e){for(var t=e.prefixCls,n=e.level,o=e.isStart,a=e.isEnd,i="".concat(t,"-indent-unit"),c=[],l=0;l{n.d(t,{$s:()=>d,BA:()=>c,BE:()=>p,LI:()=>l,Oh:()=>u,hr:()=>h,kG:()=>s,tg:()=>f});var o=n(85757),r=n(86608),a=n(9587);n(12115),n(47210);var i=n(71954);function c(e,t){if(!e)return[];var n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function d(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function l(e){return e.split("-")}function s(e,t){var n=[];return!function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var o=t.key,r=t.children;n.push(o),e(r)})}((0,i.A)(t,e).children),n}function u(e,t,n,o,r,a,c,d,s,u){var p,f,h=e.clientX,g=e.clientY,v=e.target.getBoundingClientRect(),y=v.top,b=v.height,k=(("rtl"===u?-1:1)*(((null==r?void 0:r.x)||0)-h)-12)/o,m=s.filter(function(e){var t;return null==(t=d[e])||null==(t=t.children)?void 0:t.length}),A=(0,i.A)(d,n.eventKey);if(g-1.5?a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1:a({dragNode:D,dropNode:P,dropPosition:0})?w=0:a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1:a({dragNode:D,dropNode:P,dropPosition:1})?w=1:M=!1,{dropPosition:w,dropLevelOffset:S,dropTargetKey:A.key,dropTargetPos:A.pos,dragOverNodeKey:C,dropContainerKey:0===w?null:(null==(f=A.parent)?void 0:f.key)||null,dropAllowed:M}}function p(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,r.A)(e))return(0,a.Ay)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function h(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=(0,i.A)(t,o);if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.A)(n)}n(94879)},61969:(e,t,n)=>{n.d(t,{Q:()=>a,U:()=>r});var o=n(12115),r=o.createContext(null),a=o.createContext({})},69332:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},71081:(e,t,n)=>{n.d(t,{A:()=>eD});var o=n(79630),r=n(86608),a=n(27061),i=n(85757),c=n(30857),d=n(28383),l=n(55227),s=n(38289),u=n(9424),p=n(40419),f=n(29300),h=n.n(f),g=n(17233),v=n(40032),y=n(9587),b=n(12115),k=n(61969),m=n(71494),A=n(21858),K=n(20235),x=n(26791),N=n(66846),E=n(82870),C=n(47210);let w=function(e,t){var n=b.useState(!1),o=(0,A.A)(n,2),r=o[0],a=o[1];(0,x.A)(function(){if(r)return e(),function(){t()}},[r]),(0,x.A)(function(){return a(!0),function(){a(!1)}},[])};var S=n(94879),O=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],D=b.forwardRef(function(e,t){var n=e.className,r=e.style,a=e.motion,i=e.motionNodes,c=e.motionType,d=e.onMotionStart,l=e.onMotionEnd,s=e.active,u=e.treeNodeRequiredProps,p=(0,K.A)(e,O),f=b.useState(!0),g=(0,A.A)(f,2),v=g[0],y=g[1],N=b.useContext(k.U).prefixCls,D=i&&"hide"!==c;(0,x.A)(function(){i&&D!==v&&y(D)},[i]);var P=b.useRef(!1),M=function(){i&&!P.current&&(P.current=!0,l())};return(w(function(){i&&d()},M),i)?b.createElement(E.Ay,(0,o.A)({ref:t,visible:v},a,{motionAppear:"show"===c,onVisibleChanged:function(e){D===e&&M()}}),function(e,t){var n=e.className,r=e.style;return b.createElement("div",{ref:t,className:h()("".concat(N,"-treenode-motion"),n),style:r},i.map(function(e){var t=Object.assign({},((0,m.A)(e.data),e.data)),n=e.title,r=e.key,a=e.isStart,i=e.isEnd;delete t.children;var c=(0,S.N5)(r,u);return b.createElement(C.A,(0,o.A)({},t,c,{title:n,active:s,data:e.data,key:r,isStart:a,isEnd:i}))}))}):b.createElement(C.A,(0,o.A)({domRef:t,className:n,style:r},p,{active:s}))});function P(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 M=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],T={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},L=function(){},I="RC_TREE_MOTION_".concat(Math.random()),R={key:I},j={key:I,level:0,index:0,pos:"0",node:R,nodes:[R]},H={parent:null,children:[],pos:j.pos,data:R,title:null,key:I,isStart:[],isEnd:[]};function B(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function z(e){var t=e.key,n=e.pos;return(0,S.i7)(t,n)}var q=b.forwardRef(function(e,t){var n=e.prefixCls,r=e.data,a=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,l=e.loadingKeys,s=e.halfCheckedKeys,u=e.keyEntities,p=e.disabled,f=e.dragging,h=e.dragOverNodeKey,g=e.dropPosition,v=e.motion,y=e.height,k=e.itemHeight,E=e.virtual,C=e.scrollWidth,w=e.focusable,O=e.activeItem,R=e.focused,j=e.tabIndex,q=e.onKeyDown,G=e.onFocus,W=e.onBlur,F=e.onActiveChange,_=e.onListChangeStart,U=e.onListChangeEnd,V=(0,K.A)(e,M),$=b.useRef(null),X=b.useRef(null);b.useImperativeHandle(t,function(){return{scrollTo:function(e){$.current.scrollTo(e)},getIndentWidth:function(){return X.current.offsetWidth}}});var Z=b.useState(a),Q=(0,A.A)(Z,2),Y=Q[0],J=Q[1],ee=b.useState(r),et=(0,A.A)(ee,2),en=et[0],eo=et[1],er=b.useState(r),ea=(0,A.A)(er,2),ei=ea[0],ec=ea[1],ed=b.useState([]),el=(0,A.A)(ed,2),es=el[0],eu=el[1],ep=b.useState(null),ef=(0,A.A)(ep,2),eh=ef[0],eg=ef[1],ev=b.useRef(r);function ey(){var e=ev.current;eo(e),ec(e),eu([]),eg(null),U()}ev.current=r,(0,x.A)(function(){J(a);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}(O)),b.createElement("div",null,b.createElement("input",{style:T,disabled:!1===w||p,tabIndex:!1!==w?j:null,onKeyDown:q,onFocus:G,onBlur:W,value:"",onChange:L,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(n,"-indent")},b.createElement("div",{ref:X,className:"".concat(n,"-indent-unit")}))),b.createElement(N.A,(0,o.A)({},V,{data:eb,itemKey:z,height:y,fullHeight:!1,virtual:E,itemHeight:k,scrollWidth:C,prefixCls:"".concat(n,"-list"),ref:$,role:"tree",onVisibleChange:function(e){e.every(function(e){return z(e)!==I})&&ey()}}),function(e){var t=e.pos,n=Object.assign({},((0,m.A)(e.data),e.data)),r=e.title,a=e.key,i=e.isStart,c=e.isEnd,d=(0,S.i7)(a,t);delete n.key,delete n.children;var l=(0,S.N5)(d,ek);return b.createElement(D,(0,o.A)({},n,l,{title:r,active:!!O&&a===O.key,pos:t,data:e.data,isStart:i,isEnd:c,motion:v,motionNodes:a===I?es:null,motionType:eh,onMotionStart:_,onMotionEnd:ey,treeNodeRequiredProps:ek,onMouseMove:function(){F(null)}}))}))}),G=n(51685),W=n(92629),F=n(71954),_=function(e){(0,s.A)(n,e);var t=(0,u.A)(n);function n(){var e;(0,c.A)(this,n);for(var o=arguments.length,r=Array(o),d=0;d2&&void 0!==arguments[2]&&arguments[2],i=e.state,c=i.dragChildrenKeys,d=i.dropPosition,l=i.dropTargetKey,s=i.dropTargetPos;if(i.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==l){var p=(0,a.A)((0,a.A)({},(0,S.N5)(l,e.getTreeNodeRequiredProps())),{},{active:(null==(o=e.getActiveItem())?void 0:o.key)===l,data:(0,F.A)(e.state.keyEntities,l).node}),f=c.includes(l);(0,y.Ay)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=(0,G.LI)(s),g={event:t,node:(0,S.Hj)(p),dragNode:e.dragNodeProps?(0,S.Hj)(e.dragNodeProps):null,dragNodesKeys:[e.dragNodeProps.eventKey].concat(c),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==u||u(g),e.dragNodeProps=null}}}),(0,p.A)((0,l.A)(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}),(0,p.A)((0,l.A)(e),"triggerExpandActionExpand",function(t,n){var o=e.state,r=o.expandedKeys,i=o.flattenNodes,c=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var l=i.filter(function(e){return e.key===d})[0],s=(0,S.Hj)((0,a.A)((0,a.A)({},(0,S.N5)(d,e.getTreeNodeRequiredProps())),{},{data:l.data}));e.setExpandedKeys(c?(0,G.BA)(r,d):(0,G.$s)(r,d)),e.onNodeExpand(t,s)}}),(0,p.A)((0,l.A)(e),"onNodeClick",function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.A)((0,l.A)(e),"onNodeDoubleClick",function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)}),(0,p.A)((0,l.A)(e),"onNodeSelect",function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,c=e.props,d=c.onSelect,l=c.multiple,s=n.selected,u=n[i.key],p=!s,f=(o=p?l?(0,G.$s)(o,u):[u]:(0,G.BA)(o,u)).map(function(e){var t=(0,F.A)(a,e);return t?t.node:null}).filter(Boolean);e.setUncontrolledState({selectedKeys:o}),null==d||d(o,{event:"select",selected:p,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})}),(0,p.A)((0,l.A)(e),"onNodeCheck",function(t,n,o){var r,a=e.state,c=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,s=e.props,u=s.checkStrictly,p=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(u){var g=o?(0,G.$s)(d,f):(0,G.BA)(d,f);r={checked:g,halfChecked:(0,G.BA)(l,f)},h.checkedNodes=g.map(function(e){return(0,F.A)(c,e)}).filter(Boolean).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:g})}else{var v=(0,W.p)([].concat((0,i.A)(d),[f]),!0,c),y=v.checkedKeys,b=v.halfCheckedKeys;if(!o){var k=new Set(y);k.delete(f);var m=(0,W.p)(Array.from(k),{checked:!1,halfCheckedKeys:b},c);y=m.checkedKeys,b=m.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=b,y.forEach(function(e){var t=(0,F.A)(c,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==p||p(r,h)}),(0,p.A)((0,l.A)(e),"onNodeLoad",function(t){var n,o=t.key,r=e.state.keyEntities,a=(0,F.A)(r,o);if(null==a||null==(n=a.children)||!n.length){var i=new Promise(function(n,r){e.setState(function(a){var i=a.loadedKeys,c=a.loadingKeys,d=void 0===c?[]:c,l=e.props,s=l.loadData,u=l.onLoad;return!s||(void 0===i?[]:i).includes(o)||d.includes(o)?null:(s(t).then(function(){var r=e.state.loadedKeys,a=(0,G.$s)(r,o);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,G.BA)(e.loadingKeys,o)}}),n()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,G.BA)(e.loadingKeys,o)}}),e.loadingRetryTimes[o]=(e.loadingRetryTimes[o]||0)+1,e.loadingRetryTimes[o]>=10){var a=e.state.loadedKeys;(0,y.Ay)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,G.$s)(a,o)}),n()}r(t)}),{loadingKeys:(0,G.$s)(d,o)})})});return i.catch(function(){}),i}}),(0,p.A)((0,l.A)(e),"onNodeMouseEnter",function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})}),(0,p.A)((0,l.A)(e),"onNodeMouseLeave",function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})}),(0,p.A)((0,l.A)(e),"onNodeContextMenu",function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))}),(0,p.A)((0,l.A)(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,i=!0,c={};Object.keys(t).forEach(function(n){if(e.props.hasOwnProperty(n)){i=!1;return}r=!0,c[n]=t[n]}),r&&(!n||i)&&e.setState((0,a.A)((0,a.A)({},c),o))}}),(0,p.A)((0,l.A)(e),"scrollTo",function(t){e.listRef.current.scrollTo(t)}),e}return(0,d.A)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props,t=e.activeKey,n=e.itemScrollOffset;void 0!==t&&t!==this.state.activeKey&&(this.setState({activeKey:t}),null!==t&&this.scrollTo({key:t,offset:void 0===n?0:n}))}},{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=this.state,n=t.focused,a=t.flattenNodes,i=t.keyEntities,c=t.draggingNodeKey,d=t.activeKey,l=t.dropLevelOffset,s=t.dropContainerKey,u=t.dropTargetKey,f=t.dropPosition,g=t.dragOverNodeKey,y=t.indent,m=this.props,A=m.prefixCls,K=m.className,x=m.style,N=m.showLine,E=m.focusable,C=m.tabIndex,w=m.selectable,S=m.showIcon,O=m.icon,D=m.switcherIcon,P=m.draggable,M=m.checkable,T=m.checkStrictly,L=m.disabled,I=m.motion,R=m.loadData,j=m.filterTreeNode,H=m.height,B=m.itemHeight,z=m.scrollWidth,G=m.virtual,W=m.titleRender,F=m.dropIndicatorRender,_=m.onContextMenu,U=m.onScroll,V=m.direction,$=m.rootClassName,X=m.rootStyle,Z=(0,v.A)(this.props,{aria:!0,data:!0});P&&(e="object"===(0,r.A)(P)?P:"function"==typeof P?{nodeDraggable:P}:{});var Q={prefixCls:A,selectable:w,showIcon:S,icon:O,switcherIcon:D,draggable:e,draggingNodeKey:c,checkable:M,checkStrictly:T,disabled:L,keyEntities:i,dropLevelOffset:l,dropContainerKey:s,dropTargetKey:u,dropPosition:f,dragOverNodeKey:g,indent:y,direction:V,dropIndicatorRender:F,loadData:R,filterTreeNode:j,titleRender:W,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};return b.createElement(k.U.Provider,{value:Q},b.createElement("div",{className:h()(A,K,$,(0,p.A)((0,p.A)((0,p.A)({},"".concat(A,"-show-line"),N),"".concat(A,"-focused"),n),"".concat(A,"-active-focused"),null!==d)),style:X},b.createElement(q,(0,o.A)({ref:this.listRef,prefixCls:A,style:x,data:a,disabled:L,selectable:w,checkable:!!M,motion:I,dragging:null!==c,height:H,itemHeight:B,virtual:G,focusable:E,focused:n,tabIndex:void 0===C?0:C,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_,onScroll:U,scrollWidth:z},this.getTreeNodeRequiredProps(),Z))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,i={prevProps:e};function c(t){return!r&&e.hasOwnProperty(t)||r&&r[t]!==e[t]}var d=t.fieldNames;if(c("fieldNames")&&(i.fieldNames=d=(0,S.AZ)(e.fieldNames)),c("treeData")?n=e.treeData:c("children")&&((0,y.Ay)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,S.vH)(e.children)),n){i.treeData=n;var l=(0,S.cG)(n,{fieldNames:d});i.keyEntities=(0,a.A)((0,p.A)({},I,j),l.keyEntities)}var s=i.keyEntities||t.keyEntities;if(c("expandedKeys")||r&&c("autoExpandParent"))i.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,G.hr)(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var u=(0,a.A)({},s);delete u[I];var f=[];Object.keys(u).forEach(function(e){var t=u[e];t.children&&t.children.length&&f.push(t.key)}),i.expandedKeys=f}else!r&&e.defaultExpandedKeys&&(i.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,G.hr)(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(i.expandedKeys||delete i.expandedKeys,n||i.expandedKeys){var h=(0,S.$9)(n||t.treeData,i.expandedKeys||t.expandedKeys,d);i.flattenNodes=h}if(e.selectable&&(c("selectedKeys")?i.selectedKeys=(0,G.BE)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(i.selectedKeys=(0,G.BE)(e.defaultSelectedKeys,e))),e.checkable&&(c("checkedKeys")?o=(0,G.tg)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,G.tg)(e.defaultCheckedKeys)||{}:n&&(o=(0,G.tg)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var g=o,v=g.checkedKeys,b=void 0===v?[]:v,k=g.halfCheckedKeys,m=void 0===k?[]:k;if(!e.checkStrictly){var A=(0,W.p)(b,!0,s);b=A.checkedKeys,m=A.halfCheckedKeys}i.checkedKeys=b,i.halfCheckedKeys=m}return c("loadedKeys")&&(i.loadedKeys=e.loadedKeys),i}}]),n}(b.Component);(0,p.A)(_,"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 b.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1}),(0,p.A)(_,"TreeNode",C.A);var U=n(69332),V=n(35030),$=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:U.A}))});let X={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"};var Z=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:X}))}),Q=n(5006),Y=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:Q.A}))}),J=n(15982);let 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"};var et=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:ee}))}),en=n(93666),eo=n(44494),er=n(70042),ea=n(99841),ei=n(15542),ec=n(18184),ed=n(35376),el=n(61388),es=n(45431);let eu=new ea.Mo("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ep=function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=".".concat(e),r=t.calc(t.paddingXS).div(2).equal(),a=(0,el.oX)(t,{treeCls:o,treeNodeCls:"".concat(o,"-treenode"),treeNodePadding:r});return[((e,t)=>{let n,o,{treeCls:r,treeNodeCls:a,treeNodePadding:i,titleHeight:c,indentSize:d,nodeSelectedBg:l,nodeHoverBg:s,colorTextQuaternary:u,controlItemBgActiveDisabled:p}=t;return{[r]:Object.assign(Object.assign({},(0,ec.dF)(t)),{"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:"background-color ".concat(t.motionDurationSlow),"&-rtl":{direction:"rtl"},["&".concat(r,"-rtl ").concat(r,"-switcher_close ").concat(r,"-switcher-icon svg")]:{transform:"rotate(90deg)"},["&-focused:not(:hover):not(".concat(r,"-active-focused)")]:(0,ec.jk)(t),["".concat(r,"-list-holder-inner")]:{alignItems:"flex-start"},["&".concat(r,"-block-node")]:{["".concat(r,"-list-holder-inner")]:{alignItems:"stretch",["".concat(r,"-node-content-wrapper")]:{flex:"auto"},["".concat(a,".dragging:after")]:{position:"absolute",inset:0,border:"1px solid ".concat(t.colorPrimary),opacity:0,animationName:eu,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[a]:{display:"flex",alignItems:"flex-start",marginBottom:i,lineHeight:(0,ea.zA)(c),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:i},["&-disabled ".concat(r,"-node-content-wrapper")]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},["".concat(r,"-checkbox-disabled + ").concat(r,"-node-selected,&").concat(a,"-disabled").concat(a,"-selected ").concat(r,"-node-content-wrapper")]:{backgroundColor:p},["".concat(r,"-checkbox-disabled")]:{pointerEvents:"unset"},["&:not(".concat(a,"-disabled)")]:{["".concat(r,"-node-content-wrapper")]:{"&:hover":{color:t.nodeHoverColor}}},["&-active ".concat(r,"-node-content-wrapper")]:{background:t.controlItemBgHover},["&:not(".concat(a,"-disabled).filter-node ").concat(r,"-title")]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:"grab",["".concat(r,"-draggable-icon")]:{flexShrink:0,width:c,textAlign:"center",visibility:"visible",color:u},["&".concat(a,"-disabled ").concat(r,"-draggable-icon")]:{visibility:"hidden"}}},["".concat(r,"-indent")]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:d}},["".concat(r,"-draggable-icon")]:{visibility:"hidden"},["".concat(r,"-switcher, ").concat(r,"-checkbox")]:{marginInlineEnd:t.calc(t.calc(c).sub(t.controlInteractiveSize)).div(2).equal()},["".concat(r,"-switcher")]:Object.assign(Object.assign({},{[".".concat(e,"-switcher-icon")]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:"transform ".concat(t.motionDurationSlow)}}}),{position:"relative",flex:"none",alignSelf:"stretch",width:c,textAlign:"center",cursor:"pointer",userSelect:"none",transition:"all ".concat(t.motionDurationSlow),"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:c,height:c,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationSlow)},["&:not(".concat(r,"-switcher-noop):hover:before")]:{backgroundColor:t.colorBgTextHover},["&_close ".concat(r,"-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:t.calc(c).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(c).div(2).equal()).mul(.8).equal(),height:t.calc(c).div(2).equal(),borderBottom:"1px solid ".concat(t.colorBorder),content:'""'}}}),["".concat(r,"-node-content-wrapper")]:Object.assign(Object.assign({position:"relative",minHeight:c,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:"all ".concat(t.motionDurationMid,", border 0s, line-height 0s, box-shadow 0s")},(n=e,o=t,{[".".concat(n,"-drop-indicator")]:{position:"absolute",zIndex:1,height:2,backgroundColor:o.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:"".concat((0,ea.zA)(o.lineWidthBold)," solid ").concat(o.colorPrimary),borderRadius:"50%",content:'""'}}})),{"&:hover":{backgroundColor:s},["&".concat(r,"-node-selected")]:{color:t.nodeSelectedColor,backgroundColor:l},["".concat(r,"-iconEle")]:{display:"inline-block",width:c,height:c,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),["".concat(r,"-unselectable ").concat(r,"-node-content-wrapper:hover")]:{backgroundColor:"transparent"},["".concat(a,".drop-container > [draggable]")]:{boxShadow:"0 0 0 2px ".concat(t.colorPrimary)},"&-show-line":{["".concat(r,"-indent-unit")]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(c).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:"1px solid ".concat(t.colorBorder),content:'""'},"&-end:before":{display:"none"}},["".concat(r,"-switcher")]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},["".concat(a,"-leaf-last ").concat(r,"-switcher-leaf-line:before")]:{top:"auto !important",bottom:"auto !important",height:"".concat((0,ea.zA)(t.calc(c).div(2).equal())," !important")}})}})(e,a),n&&(e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:o,directoryNodeSelectedColor:r,motionDurationMid:a,borderRadius:i,controlItemBgHover:c}=e;return{["".concat(t).concat(t,"-directory ").concat(n)]:{["".concat(t,"-node-content-wrapper")]:{position:"static",["&:has(".concat(t,"-drop-indicator)")]:{position:"relative"},["> *:not(".concat(t,"-drop-indicator)")]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:"background-color ".concat(a),content:'""',borderRadius:i},"&:hover:before":{background:c}},["".concat(t,"-switcher, ").concat(t,"-checkbox, ").concat(t,"-draggable-icon")]:{zIndex:1},"&-selected":{background:o,borderRadius:i,["".concat(t,"-switcher, ").concat(t,"-draggable-icon")]:{color:r},["".concat(t,"-node-content-wrapper")]:{color:r,background:"transparent","&, &:hover":{color:r},"&:before, &:hover:before":{background:o}}}}}})(a)].filter(Boolean)},ef=(0,es.OF)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,ei.gd)("".concat(n,"-checkbox"),e)},ep(n,e),(0,ed.A)(e)]},e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},(e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:o}=e;return{titleHeight:t,indentSize:t,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:o,nodeSelectedColor:e.colorText}})(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}),eh=function(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",c={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=r+4}return b.createElement("div",{style:c,className:"".concat(o,"-drop-indicator")})},eg={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"};var ev=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:eg}))}),ey=n(51280);let eb={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"};var ek=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:eb}))});let em={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"};var eA=b.forwardRef(function(e,t){return b.createElement(V.A,(0,o.A)({},e,{ref:t,icon:em}))}),eK=n(80163);let ex=e=>{var t,n;let o,{prefixCls:r,switcherIcon:a,treeNodeProps:i,showLine:c,switcherLoadingIcon:d}=e,{isLeaf:l,expanded:s,loading:u}=i;if(u)return b.isValidElement(d)?d:b.createElement(ey.A,{className:"".concat(r,"-switcher-loading-icon")});if(c&&"object"==typeof c&&(o=c.showLeafIcon),l){if(!c)return null;if("boolean"!=typeof o&&o){let e="function"==typeof o?o(i):o,n="".concat(r,"-switcher-line-custom-icon");return b.isValidElement(e)?(0,eK.Ob)(e,{className:h()(null==(t=e.props)?void 0:t.className,n)}):e}return o?b.createElement($,{className:"".concat(r,"-switcher-line-icon")}):b.createElement("span",{className:"".concat(r,"-switcher-leaf-line")})}let p="".concat(r,"-switcher-icon"),f="function"==typeof a?a(i):a;return b.isValidElement(f)?(0,eK.Ob)(f,{className:h()(null==(n=f.props)?void 0:n.className,p)}):void 0!==f?f:c?s?b.createElement(ek,{className:"".concat(r,"-switcher-line-icon")}):b.createElement(eA,{className:"".concat(r,"-switcher-line-icon")}):b.createElement(ev,{className:p})},eN=b.forwardRef((e,t)=>{var n;let{getPrefixCls:o,direction:r,virtual:a,tree:i}=b.useContext(J.QO),{prefixCls:c,className:d,showIcon:l=!1,showLine:s,switcherIcon:u,switcherLoadingIcon:p,blockNode:f=!1,children:g,checkable:v=!1,selectable:y=!0,draggable:k,disabled:m,motion:A,style:K}=e,x=o("tree",c),N=o(),E=b.useContext(eo.A),C=null!=m?m:E,w=null!=A?A:Object.assign(Object.assign({},(0,en.A)(N)),{motionAppear:!1}),S=Object.assign(Object.assign({},e),{checkable:v,selectable:y,showIcon:l,motion:w,blockNode:f,disabled:C,showLine:!!s,dropIndicatorRender:eh}),[O,D,P]=ef(x),[,M]=(0,er.Ay)(),T=M.paddingXS/2+((null==(n=M.Tree)?void 0:n.titleHeight)||M.controlHeightSM),L=b.useMemo(()=>{if(!k)return!1;let e={};switch(typeof k){case"function":e.nodeDraggable=k;break;case"object":e=Object.assign({},k)}return!1!==e.icon&&(e.icon=e.icon||b.createElement(et,null)),e},[k]);return O(b.createElement(_,Object.assign({itemHeight:T,ref:t,virtual:a},S,{style:Object.assign(Object.assign({},null==i?void 0:i.style),K),prefixCls:x,className:h()({["".concat(x,"-icon-hide")]:!l,["".concat(x,"-block-node")]:f,["".concat(x,"-unselectable")]:!y,["".concat(x,"-rtl")]:"rtl"===r,["".concat(x,"-disabled")]:C},null==i?void 0:i.className,d,D,P),direction:r,checkable:v?b.createElement("span",{className:"".concat(x,"-checkbox-inner")}):v,selectable:y,switcherIcon:e=>b.createElement(ex,{prefixCls:x,switcherIcon:u,switcherLoadingIcon:p,treeNodeProps:e,showLine:s}),draggable:L}),g))});function eE(e,t,n){let{key:o,children:r}=n;e.forEach(function(e){let a=e[o],i=e[r];!1!==t(a,e)&&eE(i||[],t,n)})}var eC=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 ew(e){let{isLeaf:t,expanded:n}=e;return t?b.createElement($,null):n?b.createElement(Z,null):b.createElement(Y,null)}function eS(e){let{treeData:t,children:n}=e;return t||(0,S.vH)(n)}let eO=b.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:r}=e,a=eC(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let c=b.useRef(null),d=b.useRef(null),[l,s]=b.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[u,p]=b.useState(()=>(()=>{let{keyEntities:e}=(0,S.cG)(eS(a),{fieldNames:a.fieldNames});return n?Object.keys(e):o?(0,G.hr)(a.expandedKeys||r||[],e):a.expandedKeys||r||[]})());b.useEffect(()=>{"selectedKeys"in a&&s(a.selectedKeys)},[a.selectedKeys]),b.useEffect(()=>{"expandedKeys"in a&&p(a.expandedKeys)},[a.expandedKeys]);let{getPrefixCls:f,direction:g}=b.useContext(J.QO),{prefixCls:v,className:y,showIcon:k=!0,expandAction:m="click"}=a,A=eC(a,["prefixCls","className","showIcon","expandAction"]),K=f("tree",v),x=h()("".concat(K,"-directory"),{["".concat(K,"-directory-rtl")]:"rtl"===g},y);return b.createElement(eN,Object.assign({icon:ew,ref:t,blockNode:!0},A,{showIcon:k,expandAction:m,prefixCls:K,className:x,expandedKeys:u,selectedKeys:l,onSelect:(e,t)=>{var n;let o,{multiple:r,fieldNames:l}=a,{node:p,nativeEvent:f}=t,{key:h=""}=p,g=eS(a),v=Object.assign(Object.assign({},t),{selected:!0}),y=(null==f?void 0:f.ctrlKey)||(null==f?void 0:f.metaKey),b=null==f?void 0:f.shiftKey;r&&y?(o=e,c.current=h,d.current=o):r&&b?o=Array.from(new Set([].concat((0,i.A)(d.current||[]),(0,i.A)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:r,fieldNames:a}=e,i=[],c=0;return o&&o===r?[o]:o&&r?(eE(t,e=>{if(2===c)return!1;if(e===o||e===r){if(i.push(e),0===c)c=1;else if(1===c)return c=2,!1}else 1===c&&i.push(e);return n.includes(e)},(0,S.AZ)(a)),i):[]}({treeData:g,expandedKeys:u,startKey:h,endKey:c.current,fieldNames:l}))))):(o=[h],c.current=h,d.current=o),v.selectedNodes=function(e,t,n){let o=(0,i.A)(t),r=[];return eE(e,(e,t)=>{let n=o.indexOf(e);return -1!==n&&(r.push(t),o.splice(n,1)),!!o.length},(0,S.AZ)(n)),r}(g,o,l),null==(n=a.onSelect)||n.call(a,o,v),"selectedKeys"in a||s(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in a||p(e),null==(n=a.onExpand)?void 0:n.call(a,e,t)}}))});eN.DirectoryTree=eO,eN.TreeNode=C.A;let eD=eN},71954:(e,t,n)=>{n.d(t,{A:()=>o});function o(e,t){return e[t]}},92629:(e,t,n)=>{n.d(t,{p:()=>c});var o=n(9587),r=n(71954);function a(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function i(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function c(e,t,n,c){var d,l=[];d=c||i;var s=new Set(e.filter(function(e){var t=!!(0,r.A)(n,e);return t||l.push(e),t})),u=new Map,p=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=u.get(o);r||(r=new Set,u.set(o,r)),r.add(t),p=Math.max(p,o)}),(0,o.Ay)(!l.length,"Tree missing follow keys: ".concat(l.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var r=new Set(e),i=new Set,c=0;c<=n;c+=1)(t.get(c)||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))return void d.add(t.key);var n=!0,a=!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),!a&&(o||i.has(t))&&(a=!0)}),n&&r.add(t.key),a&&i.add(t.key),d.add(t.key)}});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(a(i,r))}}(s,u,p,d):function(e,t,n,o,r){for(var i=new Set(e),c=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,a=void 0===o?[]:o;i.has(t)||c.has(t)||r(n)||a.filter(function(e){return!r(e.node)}).forEach(function(e){i.delete(e.key)})});c=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))return void l.add(t.key);var n=!0,o=!1;(t.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var t=e.key,r=i.has(t);n&&!r&&(n=!1),!o&&(r||c.has(t))&&(o=!0)}),n||i.delete(t.key),o&&c.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(a(c,i))}}(s,t.halfCheckedKeys,u,p,d)}},94879:(e,t,n)=>{n.d(t,{$9:()=>v,AZ:()=>h,Hj:()=>k,N5:()=>b,cG:()=>y,i7:()=>f,vH:()=>g});var o=n(86608),r=n(85757),a=n(27061),i=n(20235),c=n(63715),d=n(17980),l=n(9587),s=n(71954),u=["children"];function p(e,t){return"".concat(e,"-").concat(t)}function f(e,t){return null!=e?e:t}function h(e){var t=e||{},n=t.title,o=t._title,r=t.key,a=t.children,i=n||"title";return{title:i,_title:o||[i],key:r||"key",children:a||"children"}}function g(e){return function e(t){return(0,c.A)(t).map(function(t){if(!(t&&t.type&&t.type.isTreeNode))return(0,l.Ay)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,o=t.props,r=o.children,c=(0,i.A)(o,u),d=(0,a.A)({key:n},c),s=e(r);return s.length&&(d.children=s),d}).filter(function(e){return e})}(e)}function v(e,t,n){var o=h(n),a=o._title,i=o.key,c=o.children,l=new Set(!0===t?[]:t),s=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(u,h){for(var g,v=p(o?o.pos:"0",h),y=f(u[i],v),b=0;b1&&void 0!==arguments[1]?arguments[1]:{},y=v.initWrapper,b=v.processEntity,k=v.onProcessFinished,m=v.externalGetKey,A=v.childrenPropName,K=v.fieldNames,x=arguments.length>2?arguments[2]:void 0,N={},E={},C={posEntities:N,keyEntities:E};return y&&(C=y(C)||C),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,c={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},d=f(r,o);N[o]=c,E[d]=c,c.parent=N[a],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),b&&b(c,C)},n={externalGetKey:m||x,childrenPropName:A,fieldNames:K},c=(i=("object"===(0,o.A)(n)?n:{externalGetKey:n})||{}).childrenPropName,d=i.externalGetKey,s=(l=h(i.fieldNames)).key,u=l.children,g=c||u,d?"string"==typeof d?a=function(e){return e[d]}:"function"==typeof d&&(a=function(e){return d(e)}):a=function(e,t){return f(e[s],t)},function n(o,i,c,d){var l=o?o[g]:e,s=o?p(c.pos,i):"0",u=o?[].concat((0,r.A)(d),[o]):[];if(o){var f=a(o,s);t({node:o,index:i,pos:s,key:f,parentPos:c.node?c.pos:null,level:c.level+1,nodes:u})}l&&l.forEach(function(e,t){n(e,t,{node:o,pos:s,level:c?c.level+1:-1},u)})}(null),k&&k(C),C}function b(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,c=t.halfCheckedKeys,d=t.dragOverNodeKey,l=t.dropPosition,u=t.keyEntities,p=(0,s.A)(u,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!==c.indexOf(e),pos:String(p?p.pos:""),dragOver:d===e&&0===l,dragOverGapTop:d===e&&-1===l,dragOverGapBottom:d===e&&1===l}}function k(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,i=e.loaded,c=e.loading,d=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,g=e.eventKey,v=(0,a.A)((0,a.A)({},t),{},{expanded:n,selected:o,checked:r,loaded:i,loading:c,halfChecked:d,dragOver:s,dragOverGapTop:u,dragOverGapBottom:p,pos:f,active:h,key:g});return"props"in v||Object.defineProperty(v,"props",{get:function(){return(0,l.Ay)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-2fd1520c97bebce9.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-9802abf9d3d8e2a3.js similarity index 83% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-2fd1520c97bebce9.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-9802abf9d3d8e2a3.js index 1fb83cb9..070ba0cd 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-2fd1520c97bebce9.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1236-9802abf9d3d8e2a3.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1236],{14042:(n,t,e)=>{e.d(t,{ee:()=>i,q:()=>a});var r=e(78743);let a={TASK_CLICK:"task-click",CLICK_FOLDER:"clickFolder",ADD_TASK:"addTask",CLOSE_PANEL:"closePanel",OPEN_PANEL:"openPanel"},i=new r.A},40102:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(95155),a=e(54171),i=e(92199);e(12115);let o=n=>{let{children:t}=n;return(0,r.jsx)(i.A,{components:{...a.Ay},...a.iU,children:(0,a.Jg)(t)})}},54171:(n,t,e)=>{e.d(t,{_6:()=>iy,Ay:()=>iA,Af:()=>ik,iU:()=>ij,Jg:()=>iv});var r=e(95155),a=e(12115);let i=e(36203).tH;var o=e(47937),l=e(95849),s=e(23130),c=e(60924),d=e(77133),p=e(36708),m=e(92199),g=e(97756),h=e(37974),x=e(55603),u=e(23512);e(31491);var b=e(91292),w=e(87264),f=e(53168),v=e(29652),y=e(17656),k=e.n(y),j=e(91070),A=e(89638),_=e(87473),N=e(26177),z=e(32013),S=e(19361),C=e(74947),F=e(67850),E=e(97540),L=e(98696),R=e(36768),M=e(31048),I=e.n(M),O=e(52199),q=e.n(O),T=e(20350),H=e.n(T);let D=n=>"response_line_chart"===n?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===n?["multi_measure_column_chart"]:"response_pie_chart"===n?["pie_chart"]:"response_scatter_chart"===n?["scatter_plot"]:"response_area_chart"===n?["area_chart"]:"response_heatmap_chart"===n?["heatmap"]:[];var Q=e(54010),P=e(78732),B=e(37562),V=e.n(B);function U(n,t){return t.every(t=>n.includes(t))}e(39090);var K=e(78966),$=e.n(K);function J(n,t){let e=t.find(t=>t.name===n);return(null==e?void 0:e.recommendation)==="date"?t=>new Date(t[n]):n}function W(n){return n.find(n=>{var t;return n.levelOfMeasurements&&(t=n.levelOfMeasurements,["Time","Ordinal"].some(n=>t.includes(n)))})}function Y(n){return n.find(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Nominal"]))}let X=n=>{let{data:t,xField:e}=n;return H()(t.map(n=>n[e])).length<=1},G=(n,t,e)=>{let{field4Split:r,field4X:a}=e;if((null==r?void 0:r.name)&&(null==a?void 0:a.name)){let e=n[r.name];return X({data:t.filter(n=>r.name&&n[r.name]===e),xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&X({data:t,xField:a.name})?5:void 0},Z=n=>{let{data:t,chartType:e,xField:r}=n,a=$()(t);try{if(e.includes("line")&&(null==r?void 0:r.name)&&"date"===r.recommendation)return a.sort((n,t)=>new Date(n[r.name]).getTime()-new Date(t[r.name]).getTime()),a;e.includes("line")&&(null==r?void 0:r.name)&&["float","integer"].includes(r.recommendation)&&a.sort((n,t)=>n[r.name]-t[r.name])}catch(n){console.error(n)}return a},nn=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return null==n?void 0:n.map(n=>{let e={};return Object.keys(n).forEach(r=>{e[r]=n[r]===t?null:n[r]}),e})},nt="multi_line_chart",ne="multi_measure_line_chart",nr=[{chartType:"multi_line_chart",chartKnowledge:{id:nt,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{var e,r;let a=W(t),i=Y(t),o=null!=(e=null!=a?a:i)?e:t[0],l=t.filter(n=>n.name!==(null==o?void 0:o.name)),s=null!=(r=l.filter(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"])))?r:[l[0]],c=l.filter(n=>!s.find(t=>t.name===n.name)).find(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Nominal"]));if(!o||!s)return null;let d={type:"view",autoFit:!0,data:Z({data:n,chartType:nt,xField:o}),children:[]};return s.forEach(e=>{let r={type:"line",encode:{x:J(o.name,t),y:e.name,size:t=>G(t,n,{field4Split:c,field4X:o})},legend:{size:!1}};c&&(r.encode.color=c.name),d.children.push(r)}),d}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{try{let e=null==t?void 0:t.filter(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"])),r=Y(t),a=W(t),i=null!=r?r:a;if(!i||!e)return null;let o={type:"view",data:n,children:[]};return null==e||e.forEach(n=>{let t={type:"interval",encode:{x:i.name,y:n.name,color:()=>n.name,series:()=>n.name}};o.children.push(t)}),o}catch(n){return console.log(n),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:ne,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{try{var e,r;let a=null!=(r=null!=(e=Y(t))?e:W(t))?r:t[0],i=null==t?void 0:t.filter(n=>n.name!==(null==a?void 0:a.name)&&n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let o={type:"view",data:Z({data:n,chartType:ne,xField:a}),children:[]};return null==i||i.forEach(e=>{let r={type:"line",encode:{x:J(a.name,t),y:e.name,color:()=>e.name,series:()=>e.name,size:t=>G(t,n,{field4X:a})},legend:{size:!1}};o.children.push(r)}),o}catch(n){return console.log(n),null}}},chineseName:"折线图"}],{Option:na}=z.A,ni=n=>{let{data:t,chartType:e,scopeOfCharts:i,ruleConfig:o}=n,l=nn(t),{mode:s}=(0,a.useContext)(j.UK),[c,d]=(0,a.useState)(),[p,m]=(0,a.useState)([]),[g,h]=(0,a.useState)(),x=(0,a.useRef)(null);(0,a.useEffect)(()=>{d((n=>{let{charts:t,scopeOfCharts:e,ruleConfig:r}=n,a={};if(null==t||t.forEach(n=>{if(n.chartKnowledge.toSpec){let t=n.chartKnowledge.toSpec;n.chartKnowledge.toSpec=(n,e)=>({...t(n,e),dataProps:e})}else n.chartKnowledge.toSpec=(n,t)=>({dataProps:t});a[n.chartType]=n.chartKnowledge}),(null==e?void 0:e.exclude)&&e.exclude.forEach(n=>{Object.keys(a).includes(n)&&delete a[n]}),null==e?void 0:e.include){let n=e.include;Object.keys(a).forEach(t=>{n.includes(t)||delete a[t]})}let i={...e,custom:a},o={...r};return new Q.J({ckbCfg:i,ruleCfg:o})})({charts:nr,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:o}))},[o,i]),(0,a.useEffect)(()=>{if(l&&c){var n;let t=(n=>{if(!c)return[];let t=function(n){let{advices:t}=n;return t}({advices:n});return H()(I()(q()(e,n.map(n=>n.type)))).map(n=>{let e=t.find(t=>t.type===n);if(e)return e;let r=c.dataAnalyzer.execute({data:l});if("data"in r){var a;let t=c.specGenerator.execute({data:r.data,dataProps:r.dataProps,chartTypeRecommendations:[{chartType:n,score:1}]});if("advices"in t)return null==(a=t.advices)?void 0:a[0]}}).filter(n=>null==n?void 0:n.spec)})((n=>{var t;let{data:e,dataMetaMap:r,myChartAdvisor:a}=n,i=r?Object.keys(r).map(n=>({name:n,...r[n]})):null,o=new P.A(e).info(),l=V()(o)>2?null==o?void 0:o.filter(n=>"string"!==n.recommendation&&"date"!==n.recommendation||n.distinct&&n.distinct>1):o,s=null==a?void 0:a.adviseWithLog({data:e,dataProps:i,fields:null==l?void 0:l.map(n=>n.name)});return null!=(t=null==s?void 0:s.advices)?t:[]})({data:l,myChartAdvisor:c}));m(t),h(null==(n=t[0])?void 0:n.type)}},[JSON.stringify(l),c,e]);let u=(0,a.useMemo)(()=>{if((null==p?void 0:p.length)>0){var n,t,e,a;let i=null!=g?g:p[0].type,o=null!=(t=null==p||null==(n=p.find(n=>n.type===i))?void 0:n.spec)?t:void 0;if(o){if(o.data&&["line_chart","step_line_chart"].includes(i)){let n=null==c?void 0:c.dataAnalyzer.execute({data:l});n&&"dataProps"in n&&(o.data=Z({data:o.data,xField:null==(a=n.dataProps)?void 0:a.find(n=>"date"===n.recommendation),chartType:i}))}return"pie_chart"===i&&(null==o||null==(e=o.encode)?void 0:e.color)&&(o.tooltip={title:{field:o.encode.color}}),(0,r.jsx)(N.t,{options:{...o,autoFit:!0,theme:s,height:300},ref:x},i)}}},[p,s,g]);return g?(0,r.jsxs)("div",{children:[(0,r.jsxs)(S.A,{justify:"space-between",className:"mb-2",children:[(0,r.jsx)(C.A,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:A.A.t("Advices")}),(0,r.jsx)(z.A,{className:"w-52",value:g,placeholder:"Chart Switcher",onChange:n=>h(n),size:"small",children:null==p?void 0:p.map(n=>{let t=A.A.t(n.type);return(0,r.jsx)(na,{value:n.type,children:(0,r.jsx)(E.A,{title:t,placement:"right",children:(0,r.jsx)("div",{children:t})})},n.type)})})]})}),(0,r.jsx)(C.A,{children:(0,r.jsx)(E.A,{title:A.A.t("Download"),children:(0,r.jsx)(L.Ay,{onClick:()=>{x.current&&function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",e=document.createElement("a"),r="".concat(t,".png");setTimeout(()=>{let t=function(n){let t=(n=>{if(n)return n.getContainer().getElementsByTagName("canvas")[0]})(n);if(t)return t.toDataURL("image/png")}(n);if(t){e.addEventListener("click",()=>{e.download=r,e.href=t});let n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),e.dispatchEvent(n)}},16)}(x.current,A.A.t(g))},icon:(0,r.jsx)(_.A,{}),type:"text"})})})]}),(0,r.jsx)("div",{className:"flex",children:u})]}):(0,r.jsx)(R.A,{image:R.A.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})};var no=e(7132),nl=e(66766);let ns=(0,a.memo)(n=>{let{width:t,height:e,model:i}=n,o=(0,a.useMemo)(()=>(0,no.ZI)(i||"huggingface"),[i]);return i?(0,r.jsx)(nl.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:e||24,src:o,alt:"llm",priority:!0}):null});var nc=e(40102),nd=e(90797),np=e(94600),nm=e(85189);let ng=n=>{let{references:t}=n,[e,i]=(0,a.useState)(!1),o=(0,a.useMemo)(()=>{var n;return null==t||null==(n=t.knowledge)?void 0:n.map(n=>{var t;return{label:(0,r.jsx)("div",{style:{maxWidth:"120px"},children:(0,r.jsx)(nd.A.Text,{ellipsis:{tooltip:n.name},children:decodeURIComponent(n.name).split("_")[0]})}),key:n.name,children:(0,r.jsx)("div",{className:"h-full overflow-y-auto",children:null==n||null==(t=n.chunks)?void 0:t.map(n=>(0,r.jsx)(nc.default,{children:n.content},n.id))})}})},[t]);return(0,r.jsxs)("div",{children:[(0,r.jsx)(np.A,{className:"mb-1 mt-0",dashed:!0}),(0,r.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>i(!0),children:[(0,r.jsx)(s.A,{}),(0,r.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,r.jsx)(nm.A,{open:e,title:"回复引用",placement:"right",onClose:()=>i(!1),destroyOnHidden:!0,className:"p-0",children:(0,r.jsx)(u.A,{items:o,size:"small"})})]})},nh=n=>{let{references:t}=n;try{let n=JSON.parse(t);return(0,r.jsx)(ng,{references:n})}catch(n){return null}},nx=function(n){let{data:t}=n;return t&&t.length?(0,r.jsx)(r.Fragment,{children:t.map((n,t)=>(0,r.jsxs)("div",{className:"rounded",children:[(0,r.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[n.model?(0,r.jsx)(ns,{model:n.model}):(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-2xl w-6 h-6 inline-block"}),(0,r.jsxs)("div",{className:"ml-2 opacity-70 text-xs",children:[n.sender,(0,r.jsxs)("span",{className:"text-blue-500 font-medium pl-1",children:["@",n.receiver]})]})]}),(0,r.jsx)("div",{className:"whitespace-normal text-xs mb-3",children:(0,r.jsx)(m.A,{components:iA,...ij,children:iv(n.markdown)})}),n.resource&&"null"!==n.resource&&(0,r.jsx)(nh,{references:n.resource})]},t))}):null};var nu=e(45163),nb=e(3231);let nw=function(n){let{data:t}=n;return t&&t.length?(0,r.jsx)("div",{className:"flex flex-col",children:t.map((n,t)=>(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("div",{className:"flex-row mb-1",children:[(0,r.jsx)("span",{className:"text-sm",children:n.agent}),"complete"===n.status?(0,r.jsx)(nu.A,{className:"!text-green-500 ml-2"}):(0,r.jsx)(nb.A,{className:"!text-gray-500 ml-2"})]}),(0,r.jsx)("div",{className:"text-xs break-all text-gray-500",children:n.name})]},t))}):null};var nf=e(27840),nv=e(94326),ny=e(69068),nk=e.n(ny),nj=e(96526),nA=e(79302),n_=e(91924);function nN(n){let{code:t,light:e,dark:i,language:o,customStyle:l}=n,{mode:s}=(0,a.useContext)(j.UK);return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(L.Ay,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{let n=nk()(t);nv.Ay[n?"success":"error"](n?"复制成功":"复制失败")}}),(0,r.jsx)(nj.A,{customStyle:l,language:o,style:"dark"===s?null!=i?i:nA.A:null!=e?e:n_.A,children:t})]})}let nz=function(n){let{data:t}=n;return(0,r.jsx)("div",{className:"file-attach",children:(0,r.jsxs)("span",{className:"border border-gray-200 rounded px-1.5 py-1 inline-flex items-center gap-1.5",children:[(0,r.jsx)("img",{src:"/icons/chat/excel.png",alt:"excel",className:"inline-block align-middle w-5 h-5 mr-1"}),(0,r.jsx)("span",{className:"inline-block align-middle whitespace-nowrap",children:t.name})]})})};var nS=e(50459),nC=e(74608),nF=e(13630),nE=e(96194),nL=e(91218);let nR=n=>{let{code:t,language:e="html"}=n,[i,o]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),p=(0,a.useRef)(null),{t:m}=(0,nL.Bd)(),[g,h]=(0,a.useState)({html:"",css:"",js:"",fullCode:""});(0,a.useEffect)(()=>{h((n=>{let t=n,e="",r="",a=[...n.matchAll(/]*>([\s\S]*?)<\/style>/gi)];a.length>0&&a.forEach(n=>{e+=n[1]+"\n",t=t.replace(n[0],"")});let i=[...n.matchAll(/]*>([\s\S]*?)<\/script>/gi)];i.length>0&&i.forEach(n=>{r+=n[1]+"\n",t=t.replace(n[0],"")});let o=n;return n.includes("")||n.includes("\n\n\n \n \n HTML Preview\n '.concat(a.length>0?a.map(n=>n[0]).join("\n"):"","\n\n\n ").concat(t,"\n ").concat(i.length>0?i.map(n=>n[0]).join("\n"):"","\n\n")),{html:t,css:e,js:r,fullCode:o}})(t))},[t]),(0,a.useEffect)(()=>{let n=()=>{d(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)};return document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",n),document.addEventListener("mozfullscreenchange",n),document.addEventListener("MSFullscreenChange",n),()=>{document.removeEventListener("fullscreenchange",n),document.removeEventListener("webkitfullscreenchange",n),document.removeEventListener("mozfullscreenchange",n),document.removeEventListener("MSFullscreenChange",n)}},[]);let x=()=>{c&&v(),o(!1)},b=()=>{let n=new Blob([g.fullCode],{type:"text/html"}),t=URL.createObjectURL(n),e=document.createElement("a");e.href=t,e.download="preview.html",document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(t)},w=()=>{c?v():f()},f=()=>{let n=p.current;n&&(n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen&&n.mozRequestFullScreen())},v=()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()};return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(nN,{code:t,language:e}),(0,r.jsxs)("div",{className:"absolute bottom-2 right-2 flex gap-2",children:[(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{navigator.clipboard.writeText(t).then(()=>{s(!0),setTimeout(()=>s(!1),2e3)})},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:l?m("code_preview_already_copied"):m("code_preview_copy")}),(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),onClick:b,className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:m("code_preview_download")}),(0,r.jsx)(L.Ay,{type:"primary",icon:(0,r.jsx)(nF.A,{}),onClick:()=>{o(!0)},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:m("code_preview_run")})]}),(0,r.jsx)(nE.A,{title:"HTML "+m("code_preview"),open:i,onCancel:x,footer:[(0,r.jsxs)(L.Ay,{icon:(0,r.jsx)(_.A,{}),onClick:b,children:[m("code_preview_download")," HTML"]},"download"),(0,r.jsx)(L.Ay,{icon:c?(0,r.jsx)(nS.A,{}):(0,r.jsx)(nC.A,{}),onClick:w,children:c?m("code_preview_exit_full_screen"):m("code_preview_full_screen")},"fullscreen"),(0,r.jsx)(L.Ay,{onClick:x,children:m("code_preview_close")},"close")],width:800,bodyStyle:{padding:0},children:(0,r.jsx)(u.A,{defaultActiveKey:"preview",items:(()=>{let n=[{key:"preview",label:m("code_preview"),children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("iframe",{ref:p,srcDoc:g.fullCode,style:{width:"100%",height:"60vh",border:"none"},sandbox:"allow-scripts allow-same-origin",title:"HTML Preview"}),(0,r.jsx)(L.Ay,{type:"primary",icon:c?(0,r.jsx)(nS.A,{}):(0,r.jsx)(nC.A,{}),onClick:w,className:"absolute top-2 right-2 z-10",size:"small",children:c?m("code_preview_exit_full_screen"):m("code_preview_full_screen")})]})}];return(g.html||g.css||g.js)&&n.push({key:"code",label:m("code_preview_code"),children:(0,r.jsxs)("div",{className:"p-4",children:[g.html&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"HTML"}),(0,r.jsx)(nN,{code:g.html,language:"html"})]}),g.css&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"CSS"}),(0,r.jsx)(nN,{code:g.css,language:"css"})]}),g.js&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"JavaScript"}),(0,r.jsx)(nN,{code:g.js,language:"javascript"})]})]})}),n})()})})]})};var nM=e(35622),nI=e(9949),nO=e(34140),nq=e(1828);let nT=n=>{let{code:t,language:e="svg"}=n,[i,o]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[c,d]=(0,a.useState)(100),{t:p}=(0,nL.Bd)(),m=n=>{let t=n.replace(/<\?xml[^>]*\?>/g,"");if(t.includes("'.concat(t,"")),!t.includes("xmlns=")&&t.includes("")||(t="".concat(t,"")),t},g=()=>{let n=t.match(//im);return n?m(n[0]):m(t)},h=()=>{o(!1),d(100)},x=()=>{let n=new Blob([g()],{type:"image/svg+xml"}),t=URL.createObjectURL(n),e=document.createElement("a");e.href=t,e.download="image.svg",document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(t)};return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(nN,{code:t,language:e}),(0,r.jsxs)("div",{className:"absolute bottom-2 right-2 flex gap-2",children:[(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{navigator.clipboard.writeText(t).then(()=>{s(!0),setTimeout(()=>s(!1),2e3)})},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p(l?"code_preview_already_copied":"code_preview_copy")}),(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),onClick:x,className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p("code_preview_download")}),(0,r.jsx)(L.Ay,{type:"primary",icon:(0,r.jsx)(nF.A,{}),onClick:()=>{o(!0)},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p("code_preview")})]}),(0,r.jsx)(nE.A,{title:"SVG "+p("code_preview"),open:i,onCancel:h,footer:[(0,r.jsxs)(L.Ay,{icon:(0,r.jsx)(_.A,{}),onClick:x,children:[p("code_preview_download")," SVG"]},"svg"),(0,r.jsxs)(L.Ay,{onClick:()=>{let n=document.createElement("canvas"),t=n.getContext("2d"),e=new Image,r=new Blob([g()],{type:"image/svg+xml"}),a=URL.createObjectURL(r);e.onload=()=>{n.width=e.width,n.height=e.height,t.drawImage(e,0,0);try{let t=n.toDataURL("image/png"),e=document.createElement("a");e.href=t,e.download="image.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)}catch(n){console.error("PNG export failed:",n)}URL.revokeObjectURL(a)},e.src=a},children:[p("code_preview_download")," PNG"]},"png"),(0,r.jsx)(L.Ay,{onClick:h,children:p("code_preview_close")},"close")],width:800,bodyStyle:{padding:0},children:(0,r.jsx)(u.A,{defaultActiveKey:"preview",items:[{key:"preview",label:p("code_preview"),children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"flex justify-center items-center p-4 bg-gray-100 dark:bg-gray-800 min-h-[60vh] overflow-auto",children:(0,r.jsx)("div",{className:"relative bg-white dark:bg-gray-700 p-4 shadow-md rounded flex items-center justify-center",children:(0,r.jsx)("div",{className:"transition-transform duration-200",style:{transform:"scale(".concat(c/100,")"),transformOrigin:"center center",maxWidth:"100%",maxHeight:"100%"},children:(0,r.jsx)("div",{className:"svg-container",dangerouslySetInnerHTML:{__html:g()},style:{maxWidth:"100%",margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center"}})})})}),(0,r.jsx)("div",{className:"flex items-center justify-center p-4 border-t border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800",children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nM.A,{}),onClick:()=>{d(Math.max(c-10,50))},disabled:c<=50}),(0,r.jsx)(nq.A,{min:50,max:200,value:c,onChange:n=>{d(n)},style:{width:200}}),(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nI.A,{}),onClick:()=>{d(Math.min(c+10,200))},disabled:c>=200}),(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nO.A,{}),onClick:()=>{d(100)},disabled:100===c}),(0,r.jsxs)("span",{className:"text-sm text-gray-500 dark:text-gray-400 min-w-[50px]",children:[c,"%"]})]})})]})},{key:"code",label:p("code_preview_code"),children:(0,r.jsx)("div",{className:"p-4",children:(0,r.jsx)(nN,{code:t,language:"svg"})})}]})})]})};var nH=e(76572),nD=e(31511),nQ=e(90765),nP=e(53867),nB=e(16467);let nV=n=>{let{data:t}=n,e=(0,a.useMemo)(()=>{switch(t.status){case"todo":return(0,r.jsx)(nb.A,{});case"failed":return(0,r.jsx)(nD.A,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,r.jsx)(nQ.A,{className:"text-[rgb(82,196,26)]"});case"running":return(0,r.jsx)(nB.A,{indicator:(0,r.jsx)(nP.A,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,r.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(nH.A,{scene:"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,r.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(nd.A.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,r.jsx)("div",{className:"text-2xl ml-1",children:e})]}),"failed"===t.status&&t.msg&&(0,r.jsx)(nd.A.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},nU=function(n){var t;let{data:e,type:a,sql:i}=n,l=(null==e?void 0:e[0])?null==(t=Object.keys(null==e?void 0:e[0]))?void 0:t.map(n=>({title:n,dataIndex:n,key:n})):[],s={key:"chart",label:"Chart",children:(0,r.jsx)(ni,{data:e,chartType:D(a)})},c={key:"sql",label:"SQL",children:(0,r.jsx)(nN,{language:"sql",code:(0,o.A4)(null!=i?i:"","mysql")})},d={key:"data",label:"Data",children:(0,r.jsx)(x.A,{dataSource:e,columns:l,scroll:{x:"auto"}})};return(0,r.jsx)(u.A,{defaultActiveKey:"response_table"===a?"data":"chart",items:"response_table"===a?[d,c]:[s,c,d],size:"small"})},nK=function(n){let{data:t}=n;return t?(0,r.jsx)(nU,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},n$=n=>{let{children:t,msg:e}=n,{handleChat:i}=(0,a.useContext)(j.zo);return(0,r.jsx)(L.Ay,{className:"ml-1 inline text-xs",onClick:()=>{null==i||i(e)},type:"dashed",size:"small",children:t||"点击分析当前异常"})};var nJ=e(42104),nW=e(65188),nY=e(29300),nX=e.n(nY),nG=e(35508);let nZ=function(n){var t;let{data:e}=n,{t:i}=(0,nL.Bd)(),[o,l]=(0,a.useState)(0);return(0,r.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:e.code.map((n,t)=>(0,r.jsxs)("div",{className:nX()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===o}),onClick:()=>{l(t)},children:["CODE ",t+1,": ",n[0]]},t))}),e.code.length&&(0,r.jsx)(nN,{language:e.code[o][0],code:e.code[o][1],customStyle:{maxHeight:300,margin:0},light:nG.A,dark:n_.A})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[i("Terminal")," ",e.exit_success?(0,r.jsx)(nJ.A,{className:"text-green-600"}):(0,r.jsx)(nW.A,{className:"text-red-600"})]})}),(0,r.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,r.jsx)(m.A,{components:iA,remarkPlugins:[f.A],children:iv(null==(t=e.log)?void 0:t.replace(/]+)>/gi,"").replace(/]+)>/gi,""))})})]})]})},n0=function(n){let{data:t}=n;return(0,r.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,r.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,r.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,r.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,r.jsx)(nN,{code:(0,o.A4)(t.sql),language:"sql"})]})]})},n1=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]],n2=function(n){let{data:t}=n,e=(0,a.useMemo)(()=>{if(t.chart_count>1){let n=n1[t.chart_count-2],e=0;return n.map(n=>{let r=t.data.slice(e,e+n);return e=n,r})}return[t.data]},[t.data,t.chart_count]);return(0,r.jsx)("div",{className:"flex flex-col gap-3",children:e.map((n,t)=>(0,r.jsx)("div",{className:"flex gap-3",children:n.map((n,t)=>(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,r.jsxs)("div",{children:[n.title&&(0,r.jsx)("div",{className:"mb-2 text-lg",children:n.title}),n.describe&&(0,r.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:n.describe})]}),(0,r.jsx)(ni,{data:n.data,chartType:D(n.type)})]},"chart-".concat(t)))},"row-".concat(t)))})};var n5=e(91479);let n4={todo:{bgClass:"bg-gray-500",icon:(0,r.jsx)(nb.A,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,r.jsx)(nP.A,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,r.jsx)(n5.A,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,r.jsx)(nu.A,{className:"ml-2"})}},n6=function(n){var t,e;let{data:a}=n,{bgClass:i,icon:o}=null!=(t=n4[a.status])?t:{};return(0,r.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,r.jsxs)("div",{className:nX()("flex px-4 md:px-6 py-2 items-center text-white text-sm",i),children:[a.name,o]}),a.result?(0,r.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,r.jsx)(m.A,{components:iA,rehypePlugins:[w.A],remarkPlugins:[f.A],children:null!=(e=a.result)?e:""})}):(0,r.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:a.err_msg})]})};var n3=e(78936),n7=e(17295),n8=e(24517),n9=e(94481);let tn=n=>{let{data:t}=n,{mode:e}=(0,a.useContext)(j.UK),i=(0,a.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning";default:return}},[t]);if(!t)return null;let o="dark"===e?n7.j:n8.n;return(0,r.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,r.jsx)(n9.A,{className:nX()("mb-4",{"bg-[#fafafa] border-[transparent]":!i}),message:t.name,type:i,...i&&{showIcon:!0},..."warning"===i&&{icon:(0,r.jsx)(nB.A,{indicator:(0,r.jsx)(nP.A,{spin:!0})})}}),t.result&&(0,r.jsx)(n3.Ay,{style:{...o,width:"100%",padding:10},className:nX()({"bg-[#fafafa]":"light"===e}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,r.jsx)(m.A,{components:iA,...ij,children:t.err_msg})]})};function tt(n,t){if(!n)return null;let e=n;for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null}var te=e(14042);function tr(n){return n.length>0?n[n.length-1].task_id:""}function ta(n){let{data:t}=n,[e,i]=(0,a.useState)(tr(t)),[o,l]=(0,a.useState)(!1),[s,c]=(0,a.useState)(!0),d=(0,a.useRef)(null);function p(){if(!d.current)return;let n=tt(d.current,"overflow-y-auto");if(!n)return;let t=n.scrollTop,e=n.scrollHeight;c(t+n.clientHeight>=e-10)}function g(n){n===tr(t)?l(!1):l(!0),i(n)}return(0,a.useEffect)(()=>{if(o||i(tr(t)),s&&!o&&d.current){let n=tt(d.current,"overflow-y-auto");n&&n.scrollTo({top:n.scrollHeight})}},[t]),(0,a.useEffect)(()=>{if(te.ee.on(te.q.TASK_CLICK,n=>{g(n.taskId)}),d.current){let n=tt(d.current,"overflow-y-auto");n&&n.addEventListener("scroll",p)}},[]),(0,r.jsx)("div",{className:"flex pl-2",ref:d,children:(0,r.jsx)(u.A,{className:"[&_.ant-tabs-nav]:sticky [&_.ant-tabs-nav]:top-0 [&_.ant-tabs-nav]:z-20 w-full",activeKey:e,items:t.map((n,t)=>{let{agent:e,markdown:a,task_id:i}=n;return{key:i,label:(0,r.jsxs)("div",{className:"flex flex-row items-center",children:[(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-xl w-4 h-4 inline-block mr-2",alt:"".concat(e," avatar")}),(0,r.jsx)("span",{className:"text-xs break-all",children:e})]}),children:(0,r.jsx)(m.A,{components:iA,...ij,children:iv(a)})}}),size:"small",onChange:g})})}var ti=e(37775);function to(n){let{data:t}=n;return t&&t.length?(0,r.jsx)("div",{className:"flex flex-col",children:t.map(n=>{var t;return(0,r.jsxs)("div",{className:"flex flex-row mb-4 cursor-pointer hover:bg-gray-100 p-2 rounded-lg",onClick:(t=n.task_id,()=>{te.ee.emit(te.q.TASK_CLICK,{taskId:t})}),children:[(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-2xl w-8 h-8 inline-block mr-2"}),(0,r.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,r.jsxs)("div",{className:"flex-row mb-1",children:[(0,r.jsxs)("span",{className:"text-xs break-all",children:[n.name," ",(0,r.jsxs)("span",{className:"text-blue-500 font-medium",children:["@",n.agent]})]}),function(n){switch(n){case"todo":return(0,r.jsx)(ti.A,{className:"!text-gray-500 ml-2"});case"running":return(0,r.jsx)(nP.A,{className:"!text-blue-500 ml-2"});case"waiting":return(0,r.jsx)(nb.A,{className:"!text-yellow-500 ml-2"});case"retrying":return(0,r.jsx)(nP.A,{className:"!text-orange-500 ml-2"});case"failed":return(0,r.jsx)(n5.A,{className:"!text-red-500 ml-2"});case"complete":return(0,r.jsx)(nu.A,{className:"!text-green-500 ml-2"});default:return(0,r.jsx)(nb.A,{className:"!text-gray-500 ml-2"})}}(n.status)]}),(0,r.jsx)("div",{className:"text-xs break-all text-gray-500",children:n.content})]})]},"task-".concat(n.task_id))})}):null}var tl=e(66709),ts=e(32429);function tc(n){let{content:t}=n,{t:e}=(0,nL.Bd)(),[i,o]=a.useState(!0);return(0,r.jsxs)("div",{className:"my-4 border rounded-lg overflow-hidden dark:border-gray-600",children:[(0,r.jsx)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 cursor-pointer",onClick:()=>o(!i),children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"mr-2 font-medium text-gray-700 dark:text-gray-300",children:i?(0,r.jsx)(tl.A,{}):(0,r.jsx)(ts.A,{})}),(0,r.jsx)("span",{className:"text-gray-700 dark:text-gray-300",children:e("cot_title")})]})}),i&&(0,r.jsx)("div",{className:"p-4 bg-white dark:bg-gray-900 border-t dark:border-gray-700",children:(0,r.jsx)("div",{className:"py-2 px-4 border-l-4 border-blue-600 rounded bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300",children:t||""})})]})}let td=function(n){var t,e;let{code:i,exit_success:o,language:l,log:s}=n,[c,d]=(0,a.useState)(0);return(0,r.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:null==i?void 0:i.map((n,t)=>(0,r.jsxs)("div",{className:"px-4 py-2 text-[#121417] dark:text-white cursor-pointer ".concat(t===c?"bg-white dark:bg-theme-dark-container":""),onClick:()=>d(t),children:["CODE ",t+1,": ",null==n?void 0:n[0]]},t))}),(null==i?void 0:i.length)?(0,r.jsx)(nN,{language:l||(null==i||null==(t=i[c])?void 0:t[0])||"text",code:(null==i||null==(e=i[c])?void 0:e[1])||"",light:nG.A}):null]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:["Terminal",o?(0,r.jsx)(nu.A,{className:"text-green-600"}):(0,r.jsx)(n5.A,{className:"text-red-600"})]})}),(0,r.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,r.jsx)(m.A,{components:iy,...ij,children:(()=>{try{var n;return JSON.parse(function(n){if("string"!=typeof n)return String(null!=n?n:"");let t=[],e=n.replace(/(```[\s\S]*?```|`[^`\n]+`)/g,n=>(t.push(n),"<>")));return e=(e=e.replace(/\\\\\[/g,"$$").replace(/\\\\\]/g,"$$").replace(/\\\\\(/g,"$").replace(/\\\\\)/g,"$").replace(/\\\[/g,"$$").replace(/\\\]/g,"$$").replace(/\\\(/g,"$").replace(/\\\)/g,"$").replace(/([^\n])\$\$/g,"$1\n\n$$").replace(/\$\$([^\n])/g,"$$\n\n$1").replace(/\$(?=\d)/g,"\\$")).replace(/<>/g,(n,e)=>{var r;return null!=(r=t[parseInt(e,10)])?r:""})}(null==(n=s||"-")?void 0:n.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")))}catch(n){return s||"-"}})()})})]})]})};var tp=e(3795),tm=e(60245),tg=e.n(tm),th=e(45009),tx=e.n(th),tu=e(21447);let tb=a.memo(function(n){let{language:t,markdown:e,showType:a="code",cost:i,exit_success:o,env:l,console:s}=n;switch(a){case"code":return(0,r.jsx)("div",{style:{width:"100%"},className:"vis-codeide-code",children:(0,r.jsx)(nN,{lang:t,code:e||"",style:nG.A})});case"html-preview":return(0,r.jsx)("div",{style:{width:"100%"},className:"vis-codeide-code-html-preview",children:(0,r.jsx)("iframe",{srcDoc:e,style:{width:"100%",height:"100%",border:"none"},sandbox:"allow-scripts"})});case"code-with-console":return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{style:{width:"100%"},className:"vis-codeide-code-with-console",children:[(0,r.jsx)(nN,{lang:t,code:e||"",style:nG.A}),(0,r.jsx)(u.A,{tabBarStyle:{marginBottom:10},type:"card",size:"small",defaultActiveKey:"1",tabBarExtraContent:{right:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)("span",{children:["耗时: ",i,"s"]})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"执行状态: "}),o?(0,r.jsx)(nQ.A,{style:{color:"green"}}):(0,r.jsx)(nD.A,{style:{color:"red"}})]})]})},items:[{label:l?"输出(".concat(l,")"):"输出",key:"1",children:(0,r.jsx)("div",{children:s&&(0,r.jsx)(tu.A,{components:iy,rehypePlugins:[w.A],remarkPlugins:[f.A],children:"```shell\n".concat(s,"\n```")})})}]})]})});default:return(0,r.jsx)(r.Fragment,{})}},tg());var tw=e(15933),tf=e(40827);function tv(){let n=(0,tw._)(["\n width: 100%;\n .ant-tabs-nav::before {\n display: none;\n }\n .CodePreviewClass {\n pre::-webkit-scrollbar {\n height: 8px;\n display: block;\n }\n pre::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 4px;\n }\n pre::-webkit-scrollbar-thumb {\n background: #888;\n border-radius: 4px;\n &:hover {\n background: #333;\n }\n }\n }\n"]);return tv=function(){return n},n}function ty(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 10px;\n"]);return ty=function(){return n},n}let tk=tf.Ay.div(tv()),tj=tf.Ay.div(ty()),tA=a.memo(n=>{let{items:t=[],pureCode:e=!1}=n,[i,o]=(0,a.useState)(0),l=null==t?void 0:t[i],s=(null==l?void 0:l.language)==="html",[c,d]=(0,a.useState)(t.map(()=>"code")),p=c[i];(0,a.useEffect)(()=>{var n;let t=(null==l?void 0:l.markdown)||"";s&&t.trimEnd().endsWith("")?d(n=>[...tx()(n,i,"html-preview")]):(null==l||null==(n=l.console)?void 0:n.length)&&d(n=>[...tx()(n,i,"code-with-console")])},[l,s,i]);let m=s&&(0,r.jsx)(tp.A,{value:p,onChange:n=>{d([...tx()(c,i,n)])},options:[{label:"代码",value:"code"},{label:"预览",value:"html-preview"}]});return e?(0,r.jsx)(tk,{className:"vis-code-ide-code",children:(0,r.jsxs)(tj,{className:"vis-pure-code",children:[(0,r.jsx)(r.Fragment,{children:m}),t.map((n,t)=>{let e=c[t];return(0,r.jsx)(tb,{showType:e,...n},t)})]})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tk,{className:"vis-code-ide scrollbar-default",children:(0,r.jsx)(u.A,{defaultActiveKey:"".concat(i),onChange:n=>{o(parseInt(n))},tabBarStyle:{marginBottom:0},tabBarExtraContent:{right:m},items:t.map((n,t)=>{let e=c[t];return{label:null==n?void 0:n.path,key:"".concat(t),children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tb,{...n,showType:e},t)})}})})})})},tg());function t_(){let n=(0,tw._)(["\n width: 100%;\n min-width: 100px;\n padding: 6px;\n background: transparent;\n\n .card-content {\n width: 100%;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n background-image: linear-gradient(174deg, #ffffff 4%, #ffffff4d 42%, #ffffff00 87%);\n background-color: #ffffff;\n padding: 16px;\n box-shadow: 0px 2px 6px 0px #000a1a08;\n border-radius: 12px;\n\n .confirm-title {\n font-size: 14px;\n color: #000a1ae3;\n line-height: 24px;\n font-weight: 500;\n }\n .confirm-footer {\n height: 32px;\n width: 100%;\n font-size: 14px;\n line-height: 32px;\n color: #000a1a78;\n display: flex;\n justify-content: space-between;\n flex-direction: row-reverse;\n button {\n border-radius: 8px;\n padding: 8px;\n height: 32px;\n }\n }\n .whitespace-normal {\n width: 100%;\n }\n }\n"]);return t_=function(){return n},n}let tN=tf.Ay.div(t_()),tz=n=>{let{data:t,otherComponents:e,onConfirm:i}=n,[o,l]=(0,a.useState)(!!t.disabled);return(0,r.jsx)(tN,{className:"VisConfirmCardClass",children:(0,r.jsxs)("div",{className:"card-content",children:[(0,r.jsx)("span",{className:"confirm-title",children:"\uD83C\uDFAF执行操作确认"}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"whitespace-normal",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...e||{}},...ij,children:(null==t?void 0:t.markdown)||"-"})}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"confirm-footer",children:(0,r.jsx)(L.Ay,{disabled:o,type:"primary",style:o?void 0:{backgroundImage:"linear-gradient(104deg, #3595ff 13%, #185cff 99%)",color:"#ffffff"},onClick:()=>{var n;null==i||i(null!=(n=null==t?void 0:t.extra)?n:{}),l(!0)},children:"确认执行"})})]})})};var tS=e(6124);function tC(){let n=(0,tw._)(["\n width: 100%;\n background: #ffffff73;\n box-shadow: inset 1px 0px 0 0px #000a1a12;\n\n .blue-double-ring {\n width: 16px;\n height: 16px;\n border: 2px solid #3498db;\n border-radius: 50%;\n background-color: white;\n position: relative;\n margin-right: 8px;\n }\n .blue-double-ring::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 8px;\n height: 8px;\n border: 2px solid #3498db;\n border-radius: 50%;\n background-color: white;\n }\n .doc-title {\n font-size: 20px;\n color: #000a1a;\n line-height: 32px;\n text-align: center;\n font-weight: 600;\n border-bottom: 2px solid #000a1a12;\n padding-bottom: 16px;\n }\n .doc-subtitle {\n font-size: 18px;\n color: #000a1a;\n line-height: 26px;\n font-weight: 600;\n margin: 24px 0;\n }\n .doc-section {\n margin-top: 16px;\n font-size: 14px;\n color: #000a1a;\n line-height: 20px;\n font-weight: 600;\n display: flex;\n align-items: center;\n }\n .doc-paragraph {\n font-size: 1rem;\n line-height: 1.6;\n margin-bottom: 1rem;\n color: #34495e;\n }\n .titleActionWrap {\n width: 100%;\n height: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 15px;\n font-weight: 666;\n }\n .reGenerate-button {\n font-size: 14px;\n color: #000a1a;\n font-weight: normal;\n }\n .title-bottom-divider {\n width: 80px;\n height: 5px;\n background: #1b62ff;\n margin: 0 auto;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n"]);return tC=function(){return n},n}let tF=tf.Ay.div(tC());var tE=e(52699),tL=e.n(tE),tR=e(26597);let tM=(0,a.memo)(n=>{let{title:t="生成文档",extraMenu:e,downloadButton:a,isLoading:i,avatar:o,handleDownload:l}=n;return(0,r.jsxs)("div",{className:"titleActionWrap",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:o&&(0,r.jsx)("img",{style:{height:"24px"},src:o,alt:""})}),(0,r.jsx)("span",{children:t})]}),(0,r.jsxs)(F.A,{size:18,children:[e,a&&(0,r.jsx)(L.Ay,{loading:i,onClick:l,style:{padding:"4px 6px",fontSize:"14px"},children:"下载文档"})]})]})}),tI=n=>{let{data:t,extraMenu:e,downloadButton:i=!0,otherComponents:o}=n,[l,s]=(0,a.useState)(!1),c=async()=>{s(!0);let n=document.querySelector(".DownCardClass");if(!n)return void s(!1);try{let t=await tL()(n,{useCORS:!0}),e=t.toDataURL("image/png"),r=new tR.Ay,a=r.internal.pageSize.getWidth()-20,i=r.internal.pageSize.getHeight()-20,o=t.height*a/t.width,l=Math.ceil(o/i);Array.from({length:l}).forEach((n,t)=>{r.addImage(e,"PNG",10,-i*t+10,a,o),t(0,r.jsxs)("h1",{className:"doc-title",...n,style:{position:"relative",textAlign:"spec"===t.doc_type?"left":"center",borderBottom:"spec"===t.doc_type?"none":"2px solid #000a1a12"},children:[n.children,"spec"===t.doc_type?null:(0,r.jsx)("div",{className:"title-bottom-divider"})]}),h2:n=>(0,r.jsx)("h2",{className:"doc-subtitle",...n}),h3:n=>(0,r.jsxs)("h3",{className:"doc-section",...n,children:[(0,r.jsx)("div",{className:"blue-double-ring"}),n.children]})},...ij,children:(null==t?void 0:t.markdown)||""})})})})})};var tO=e(47548),tq=e(44261),tT=e(70802);function tH(){let n=(0,tw._)(["\n .reload-text {\n color: #1890ff;\n pointer-events: none;\n opacity: 0.5;\n cursor: not-allowed;\n img {\n height: 15px;\n margin-right: 4px;\n display: inline-block;\n vertical-align: -2px;\n }\n }\n .footer-btn {\n display: flex;\n gap: 16px;\n }\n .footer-text {\n color: #1b62ff;\n font-size: 14px;\n margin-bottom: 12px;\n span {\n margin-right: 6px;\n }\n }\n .article-title-container {\n text-align: center;\n margin-bottom: 16px;\n padding: 8px 0;\n }\n .article-title {\n font-size: 18px;\n color: #000a1a;\n font-weight: 600;\n margin-bottom: 0;\n }\n .document-outline-card {\n border-radius: 12px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border: none;\n padding: 4px 0;\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: 100% auto;\n .ant-card-body {\n padding: 8px;\n }\n .ant-card-head {\n font-weight: 600;\n padding: 12px;\n min-height: 20px;\n font-size: 18px;\n color: #000a1a;\n text-align: center;\n }\n .card-header {\n display: flex;\n gap: 8px;\n align-items: center;\n .header-icon {\n color: #1890ff;\n margin-right: 4px;\n display: inline-block;\n }\n }\n .outline-collapse {\n background-color: #fafafa;\n .outline-panel {\n border-bottom: 1px solid #f0f0f0;\n &:last-child {\n border-bottom: none;\n }\n }\n .panel-header {\n display: flex;\n align-items: center;\n padding: 12px 0;\n cursor: pointer;\n .panel-icon {\n color: #bfbfbf;\n margin-right: 8px;\n font-size: 12px;\n }\n .panel-title {\n flex: 1;\n font-weight: 500;\n color: #666;\n transition: color 0.3s;\n &:hover {\n color: #1890ff;\n }\n &.active {\n color: #1890ff;\n font-weight: 600;\n }\n }\n }\n .panel-content {\n padding: 8px 0 16px 20px;\n border-left: 2px solid #e8e8e8;\n margin-left: 6px;\n p {\n margin-bottom: 0;\n font-size: 13px;\n line-height: 1.6;\n }\n }\n }\n }\n .outline-item {\n position: relative;\n }\n .outline-card {\n position: relative;\n z-index: 1;\n border: none !important;\n cursor: pointer;\n .outline-summary {\n max-height: 80px;\n overflow-y: auto;\n }\n }\n"]);return tH=function(){return n},n}let tD=tf.Ay.div(tH()),tQ=n=>{var t;let{data:e,level:a=0,currentHoverId:i,onHover:o}=n,l=i===e.title,s=e.children&&e.children.length>0,c=e.title;return(0,r.jsx)("div",{className:"outline-item level-".concat(a," ").concat(l?"highlighted":""),style:{paddingLeft:4*a,marginTop:8},onMouseEnter:()=>o(e.title),onMouseLeave:()=>o(null),children:(0,r.jsxs)("div",{className:"outline-card",style:{padding:"8px 12px",borderRadius:6,backgroundColor:l?"#f0f0f0":"transparent",borderColor:l?"#91d5ff":"#d9d9d9",cursor:"pointer"},children:[(0,r.jsx)(nd.A.Text,{strong:!0,children:c}),(0,r.jsx)("div",{className:"outline-summary",children:e.summary&&(0,r.jsx)(nd.A.Paragraph,{type:"secondary",style:{fontSize:13,margin:"4px 0 0 0",color:"#000a1aad"},children:e.summary})}),s&&(null==e||null==(t=e.children)?void 0:t.map((n,t)=>(0,r.jsx)(tQ,{data:n,level:a+1,index:t,parentIndex:"",currentHoverId:i,onHover:o},n.title)))]})})},tP=n=>{let{data:t}=n,[e,i]=(0,a.useState)(null),[o,l]=(0,a.useState)(!1);return(0,r.jsx)(tD,{children:(0,r.jsx)(tS.A,{className:"document-outline-card",title:(0,r.jsx)("div",{className:"card-header",children:(0,r.jsxs)(nd.A.Text,{strong:!0,children:[(0,r.jsx)("img",{className:"header-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*fGI9R7c08hAAAAAAQBAAAAgAeprcAQ/original",alt:""}),(0,r.jsx)("span",{children:"文档框架"})]})}),extra:(0,r.jsxs)("div",{className:"reload-text",children:[(0,r.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Rbb0S5b2ihMAAAAAQCAAAAgAeprcAQ/original",alt:""}),"重新生成"]}),children:"running"===t.state?(0,r.jsx)(tT.A,{active:!0}):(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"article-title-container",children:(0,r.jsx)("div",{className:"article-title",children:t.title})}),(0,r.jsx)("div",{className:"outline-content",style:o?{}:{height:"400px",overflow:"auto"},children:t.children&&t.children.map((n,t)=>(0,r.jsx)(tQ,{data:n,level:0,index:t,currentHoverId:e,onHover:i},n.title))}),(0,r.jsxs)("div",{className:"footer-text",onClick:()=>l(!o),style:{cursor:"pointer"},children:[o?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{}),o?"收起文档框架":"展开文档框架"]}),(0,r.jsxs)("div",{className:"footer-btn",children:[(0,r.jsx)(L.Ay,{disabled:!0,style:{borderRadius:18},icon:(0,r.jsx)(tq.A,{}),type:"dashed",block:!0,children:"增加章节"}),(0,r.jsx)(L.Ay,{disabled:!0,type:"primary",style:{width:"120px"},children:"确认框架"})]})]})})})};function tB(){let n=(0,tw._)(["\n border-radius: 11px;\n background-color: #fff;\n box-shadow: 0 2px 6px 0 #000a1a08;\n padding: 14px 20px;\n position: relative;\n overflow: hidden;\n width: 400px;\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: 100%;\n"]);return tB=function(){return n},n}function tV(){let n=(0,tw._)(["\n margin-top: 8px;\n .export-list {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 4px;\n cursor: pointer;\n }\n .yuque-item {\n background: #ffffff;\n box-shadow: 0 2px 6px 0 #000a1a08;\n border-radius: 16px;\n padding: 6px 16px;\n }\n .yuque-icon {\n width: 18px;\n height: 18px;\n margin-right: 6px;\n vertical-align: -4px;\n display: inline-block;\n }\n"]);return tV=function(){return n},n}function tU(){let n=(0,tw._)(["\n position: relative;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]);return tU=function(){return n},n}function tK(){let n=(0,tw._)(["\n font-size: 15px;\n color: #000a1ae3;\n line-height: 24px;\n font-weight: 600;\n flex: 1;\n overflow: hidden;\n .report-title {\n display: flex;\n align-items: center;\n }\n .title-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .description {\n font-size: 12px;\n color: #000a1aad;\n line-height: 20px;\n text-align: justify;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .yuque-icon {\n width: 18px;\n height: 18px;\n margin-right: 6px;\n vertical-align: -3px;\n display: inline-block;\n flex-shrink: 0;\n }\n"]);return tK=function(){return n},n}let t$=tf.Ay.div(tB()),tJ=tf.Ay.div(tV()),tW=tf.Ay.div(tU()),tY=tf.Ay.div(tK()),tX=n=>{let{data:t,onOpenPanel:e,onExportToYuque:a,onExportToKnowledge:i}=n,{title:o,markdown:l,description:s,state:c="complete",doc_type:d}=t,p="```drsk-doc\n"+JSON.stringify({markdown:l,title:o,doc_type:d})+"\n```";return(0,r.jsxs)("div",{children:[(0,r.jsx)(t$,{onClick:()=>{null==e||e({actionName:"ShowDocReport",data:{markdown:"```knowledge-space-window\n"+JSON.stringify({markdown:p,uid:Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)})+"\n```",title:o,doc_type:d}})},children:(0,r.jsxs)(tW,{children:[(0,r.jsxs)(tY,{children:[(0,r.jsxs)("div",{className:"report-title",children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",alt:""}),(0,r.jsx)("span",{className:"title-text",children:"running"===c?"文档生成中...":o})]}),"running"===c?(0,r.jsx)(tT.A,{active:!0,style:{marginTop:8},paragraph:{rows:2}}):(0,r.jsx)("div",{className:"description",children:s||"-"})]}),(0,r.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*1TweTbIHG8wAAAAAQFAAAAgAeprcAQ/original",style:{height:"118px"},alt:""})]})}),l&&(0,r.jsxs)(tJ,{children:[(0,r.jsx)("div",{style:{color:"#000a1ae3"},children:"导出到:"}),(0,r.jsxs)("div",{className:"export-list",children:[(0,r.jsxs)("div",{className:"yuque-item",onClick:n=>{n.stopPropagation(),null==a||a({title:o,markdown:l})},children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",alt:""}),"语雀文档"]}),(0,r.jsxs)("div",{className:"yuque-item",onClick:n=>{n.stopPropagation(),null==i||i({title:o,markdown:l})},children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*gS8ySp3rPtQAAAAAAAAAAAAADprcAQ/original",alt:""}),"知识库"]})]})]})]})},tG=n=>{var t;let{data:e,otherComponents:a}=n;return(0,r.jsx)(tN,{className:"VisConfirmCardClass",children:(0,r.jsxs)("div",{className:"card-content",children:[(0,r.jsxs)("span",{className:"confirm-title",children:["\uD83C\uDFAF",null!=(t=e.title)?t:"交互"]}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"whitespace-normal",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...a||{}},...ij,children:(null==e?void 0:e.markdown)||"-"})}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}})]})})};var tZ=e(87344),t0=e(89631),t1=e(17238),t2=e(28562);function t5(){let n=(0,tw._)(["\n .ant-descriptions {\n table {\n display: table !important;\n }\n .ant-descriptions-header {\n margin-bottom: 8px;\n }\n .ant-descriptions-item {\n padding-inline-end: 8px;\n padding-bottom: 2px;\n }\n }\n\n .vis-llm-coll-header {\n padding-left: 0 !important;\n align-items: center !important;\n display: none !important;\n }\n\n .vis-llm-col-content{\n .ant-collapse-content-box{\n // padding: 0 !important;\n max-height: 70vh;\n margin-top: 8px;\n margin-bottom: 8px;\n background: #fafafa;\n overflow: auto;\n pre {\n margin-top: 0 !important;\n }\n }\n }\n"]);return t5=function(){return n},n}let t4=tf.Ay.div(t5());var t6=e(5813),t3=e(67773);function t7(n){var t;let{url:e=""}=n,[i,o]=(0,a.useState)(""),[s,c]=(0,a.useState)(["1"]),[d,p]=(0,a.useState)([]);(0,a.useEffect)(()=>{(0,t3.fGY)(e).then(n=>{var t,e,r,a;let i=(null==(e=n.data)||null==(t=e.data)?void 0:t.items)?[...n.data.data.items]:[];if(!(null==(r=n.data)?void 0:r.success)||!i.length)return;let l=i.length,s=[];for(let n=0;n0){i.push(...t.items),l+=t.items.length;continue}s.push({title:t.title,outputType:t.outputType,content:t.content})}o((null==s||null==(a=s[0])?void 0:a.title)||""),p(s)})},[e]);let m=d.find(n=>n.title===i);return(0,r.jsx)(t6.A,{bordered:!1,style:{padding:0},size:"small",defaultActiveKey:s,expandIcon:n=>{let{}=n;return(0,r.jsx)(r.Fragment,{})},onChange:n=>c(n),destroyOnHidden:!0,ghost:!0,items:[{headerClass:"vis-llm-coll-header",key:"1",className:"vis-llm-col-content",children:(0,r.jsxs)(t1.A,{gap:8,vertical:!0,justify:"flex-start",align:"flex-start",children:[(0,r.jsx)("h4",{children:"模型输入"}),!!s.length&&(0,r.jsx)(tp.A,{value:i,onChange:n=>o(n||""),onClick:n=>n.stopPropagation(),options:d.map(n=>({label:n.title,value:n.title}))}),(null==m?void 0:m.content)&&(0,r.jsx)(tu.A,{className:"whitespace-normal",components:{...iy},...ij,children:(null==(t=m.outputType)?void 0:t.toLowerCase())==="json"?"```json\n".concat(JSON.stringify((0,l.j)(null==m?void 0:m.content),null,2),"\n```"):null==m?void 0:m.content})]})}]})}let t8=a.memo(n=>{let{data:t}=n,{llm_avatar:e,token_use:i,cost:o,token_speed:l,markdown:s,link_url:c}=t||{},[d,p]=(0,a.useState)(!1);return(0,r.jsxs)(t4,{className:"vis-llm",children:[(0,r.jsx)(t0.A,{title:(0,r.jsxs)(t1.A,{flex:0,align:"center",gap:10,children:[(0,r.jsx)(t2.A,{onClick:()=>p(!d),src:e,children:(0,r.jsx)(tZ.A,{})}),(0,r.jsx)("div",{children:(null==t?void 0:t.llm_model)||"模型输出"})]}),rootClassName:"",layout:"vertical",column:3,size:"small",items:[{label:"推理耗时",children:o?"".concat(o,"s"):"-"},{label:"输出token",children:i||"-"},{label:"速度",children:l?"".concat(l," tokens/s"):"-"}]}),d&&(0,r.jsx)(t7,{url:c}),(0,r.jsx)("div",{children:s&&(0,r.jsx)(tu.A,{className:"whitespace-normal",components:{...iy},...ij,children:null==s?void 0:s.replaceAll("~","~")})})]})},tg());var t9=e(71081);function en(){let n=(0,tw._)(["\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: ",";\n box-shadow: 0px 2px 6px 0px #000a1a08;\n transition: height 0.3s ease;\n background-color: #fff;\n width: ",";\n max-height: 450px;\n padding: 8px 16px;\n border-radius: ",";\n\n .document_header {\n font-size: 16px;\n color: #000a1ae3;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n .document_title {\n display: flex;\n align-items: center;\n }\n span {\n font-size: 14px;\n color: #000a1aad;\n line-height: 22px;\n text-align: right;\n display: flex;\n align-items: center;\n gap: 4px;\n font-weight: normal;\n }\n }\n .document_content {\n overflow-y: scroll;\n height: 300px;\n .ant-tree {\n background-color: transparent;\n }\n }\n"]);return en=function(){return n},n}let et=tf.Ay.div(en(),n=>n.expanded?"566px 150px":"194px 34px",n=>n.expanded?"570px":"194px",n=>n.expanded?"12px":"75px"),ee=n=>{let{data:t}=n,[e,i]=(0,a.useState)(!0);if(!t)return null;let o=[];try{let n=JSON.parse(t.markdown);Array.isArray(n)&&(o=n)}catch(n){o=[]}return 0===o.length?(0,r.jsx)(R.A,{description:"暂无数据"}):(0,r.jsxs)(et,{expanded:e,children:[(0,r.jsxs)("div",{className:"document_header",onClick:()=>i(!e),children:[(0,r.jsxs)("div",{className:"document_title",children:[(0,r.jsx)("img",{style:{height:22,verticalAlign:"-4px",marginRight:6},src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",alt:""}),"文档目录"]}),(0,r.jsxs)("span",{children:[e?"收起":"查看",e?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})]})]}),e&&(0,r.jsx)(np.A,{style:{margin:"8px 0 8px"}}),e&&(0,r.jsx)("div",{className:"document_content",children:(0,r.jsx)(t9.A,{treeData:o,blockNode:!0,showLine:{showLeafIcon:!0},showIcon:!1})})]})};function er(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 8px 0;\n width: 100%;\n border-radius: 16px;\n padding: 16px;\n"]);return er=function(){return n},n}let ea=tf.Ay.div(er());var ei=e(32191),eo=e(85121),el=e(45577),es=e.n(el);let ec=a.memo(n=>{var t,e;let{uid:a=es()("chart_id_"),...i}=n,o="json"===i.out_type&&Array.isArray(i.data)?i.data.length:0;return(0,r.jsx)(ea,{className:"d-monitor",children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsx)(tS.A,{variant:"borderless",title:"数据源信息",extra:(0,r.jsx)(h.A,{color:"blue",children:"json"===i.out_type?"JSON数据源":"文件数据源"}),children:(0,r.jsxs)(F.A,{style:{width:"100%"},direction:"vertical",children:[(0,r.jsx)(tS.A,{size:"small",variant:"borderless",style:{background:"rgba(0,0,0,0.02)"},children:(0,r.jsx)(t0.A,{size:"small",title:i.tool_name,items:[{key:"1",label:"耗时",children:i.tool_cost?"".concat(i.tool_cost,"s"):"-"},{key:"2",label:"工具版本",children:i.tool_version||"-"},{key:"3",label:"数据行数",children:o||"-"},{key:"4",label:"运行环境",children:i.run_env||"-"}]})}),(0,r.jsx)(t6.A,{bordered:!1,destroyOnHidden:!0,items:[{label:"输入参数",children:(0,r.jsx)(nN,{language:"json",code:"object"==typeof(null==i?void 0:i.tool_args)?JSON.stringify(null==i?void 0:i.tool_args,null,2):String(null!=(t=null==i?void 0:i.tool_args)?t:""),light:nG.A})}]}),"json"===i.out_type&&(0,r.jsx)(t6.A,{bordered:!1,items:[{key:"1",label:"数据内容",children:(0,r.jsx)(nN,{language:"json",code:JSON.stringify(null!=(e=i.data)?e:{},null,2),light:nG.A})}]}),"file"===i.out_type&&"string"==typeof(null==i?void 0:i.data)&&(0,r.jsx)(t6.A,{bordered:!1,items:[{key:"1",label:(0,r.jsxs)(t1.A,{gap:10,children:[(0,r.jsx)(ei.A,{}),function(n){var t;let e=n.split("/");return null!=(t=e[e.length-1])?t:n}(i.data)]}),children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsx)(nd.A.Text,{children:"文件信息"}),(0,r.jsxs)(nd.A.Text,{children:[(0,r.jsxs)(h.A,{color:"orange",children:["文件大小: ","-"]}),(0,r.jsxs)(h.A,{color:"orange",children:["数据行数: ",o," 行"]})]}),(0,r.jsx)(nd.A.Text,{children:"文件链接"}),(0,r.jsx)(nd.A.Link,{href:i.data,children:i.data}),(0,r.jsx)(nd.A.Text,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:"数据预览"}),(0,r.jsx)(E.A,{title:"预览只展示5条数据",children:(0,r.jsx)(eo.A,{style:{marginRight:12}})})]})}),(0,r.jsx)(x.A,{size:"small",pagination:!1,columns:[],bordered:!1,scroll:{x:"100%"},dataSource:[]})]})}]})]})}),(0,r.jsx)(tS.A,{bodyStyle:{padding:0},title:"监控数据曲线图",children:(0,r.jsx)("div",{id:"chart-".concat(a,"-0"),style:{width:"100%",minHeight:200}})})]})},a)});function ed(){let n=(0,tw._)(["\n white-space: pre-wrap;\n white-space: normal;\n font-size: 12px;\n color: #000a1ae3;\n line-height: 20px;\n\n .read-yuque-card {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .other {\n display: flex;\n align-items: center;\n }\n .des {\n margin-top: 4px;\n }\n"]);return ed=function(){return n},n}let ep=tf.Ay.div(ed()),em={yuque:"yuque",document:"file",code_wiki:"wiki",monitor:"monitor"},eg=n=>(0,r.jsx)("div",{onClick:n=>n.stopPropagation(),children:(0,r.jsx)(g.A,{...n})}),eh=n=>{let{data:t,onConnectDocument:e}=n,{operation:a,datasource:i,monitor_image_url:o}=t;return(0,r.jsx)(ep,{onClick:n=>{n.preventDefault();let r=null==t?void 0:t.url;if(r&&r.includes("yuque")){let n=new URL(r).pathname.split("/").filter(n=>n);n.length>=3&&(null==e||e({groupLogin:n[0],docSlug:n[1],docUrl:n[2]}))}else(null==t?void 0:t.doc_id)?null==e||e({docId:t.doc_id,repo:t.repo}):(null==t?void 0:t.file_id)?null==e||e({fileId:t.file_id}):(null==t?void 0:t.monitor_id)&&(null==e||e({monitorId:t.monitor_id,imageId:t.image_id}))},children:(0,r.jsx)("div",{className:"read-yuque-card",children:"monitor"===em[i||"yuque"]?(0,r.jsxs)("div",{children:[(0,r.jsx)(eg,{src:o,alt:a,width:68}),(0,r.jsx)("div",{className:"des",children:a})]}):(0,r.jsxs)("span",{className:"other",children:[(0,r.jsx)("img",{src:function(n,t){let e={yuque:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",file:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",wiki:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original"};return e[n]||e.file}(em[i||"yuque"],0),style:{height:"18px",width:"18px",marginRight:4},alt:""}),a]})})})};function ex(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n .titleActionWrap {\n width: 100%;\n height: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 15px;\n font-weight: 666;\n }\n"]);return ex=function(){return n},n}let eu=tf.Ay.div(ex());function eb(){let n=(0,tw._)(["\n pre {\n margin: 0;\n }\n /* styles/katex-override.css */\n\n /* Inlined from katex-override.css */\n\n .katex {\n font-size: 1.25em !important;\n /* Adjust the font size */\n line-height: 3 !important;\n }\n\n /* ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com */\n\n /*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n }\n\n ::before,\n ::after {\n --tw-content: '';\n }\n\n /*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n*/\n\n html {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: 'Josefin Sans', ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n }\n\n /*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\n body {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n }\n\n /*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n hr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n }\n\n /*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n /*\nRemove the default font size and weight for headings.\n*/\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n /*\nAdd the correct font weight in Edge and Safari.\n*/\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /*\n1. Use the user's configured mono font family by default.\n2. Correct the odd em font sizing in all browsers.\n*/\n\n code,\n kbd,\n samp,\n pre {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',\n Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n /* 1 */\n font-size: 1em;\n /* 2 */\n }\n\n /*\nAdd the correct font size in all browsers.\n*/\n\n small {\n font-size: 80%;\n }\n\n /*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n table {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n }\n\n /*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n }\n\n /*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n button,\n select {\n text-transform: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n }\n\n /*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n :-moz-focusring {\n outline: auto;\n }\n\n /*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n /*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n progress {\n vertical-align: baseline;\n }\n\n /*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n /*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n [type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n }\n\n /*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n }\n\n /*\nAdd the correct display in Chrome and Safari.\n*/\n\n summary {\n display: list-item;\n }\n\n /*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /*\nPrevent resizing textareas horizontally by default.\n*/\n\n textarea {\n resize: vertical;\n }\n\n /*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\n input::-moz-placeholder,\n textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n input::placeholder,\n textarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n /*\nSet the default cursor for buttons.\n*/\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n /*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n :disabled {\n cursor: default;\n }\n\n /*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n }\n\n /*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n /* Make elements with the HTML hidden attribute stay hidden by default */\n\n [hidden] {\n display: none;\n }\n\n *,\n ::before,\n ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n .container {\n width: 100%;\n }\n\n @media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n }\n\n @media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n }\n\n @media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n }\n\n @media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n }\n\n @media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n }\n\n .!visible {\n visibility: visible !important;\n }\n\n .visible {\n visibility: visible !important;\n }\n\n .static {\n position: static !important;\n }\n\n .fixed {\n position: fixed !important;\n }\n\n .absolute {\n position: absolute !important;\n }\n\n .relative {\n position: relative !important;\n }\n\n .sticky {\n position: sticky !important;\n }\n\n .-left-5 {\n left: -1.25rem !important;\n }\n\n .bottom-0 {\n bottom: 0px !important;\n }\n\n .bottom-1 {\n bottom: 0.25rem !important;\n }\n\n .bottom-2 {\n bottom: 0.5rem !important;\n }\n\n .bottom-24 {\n bottom: 6rem !important;\n }\n\n .bottom-3 {\n bottom: 0.75rem !important;\n }\n\n .bottom-4 {\n bottom: 1rem !important;\n }\n\n .bottom-8 {\n bottom: 2rem !important;\n }\n\n .bottom-[-40px] {\n bottom: -40px !important;\n }\n\n .bottom-[30%] {\n bottom: 30% !important;\n }\n\n .left-0 {\n left: 0px !important;\n }\n\n .left-1/2 {\n left: 50% !important;\n }\n\n .left-2 {\n left: 0.5rem !important;\n }\n\n .left-4 {\n left: 1rem !important;\n }\n\n .right-0 {\n right: 0px !important;\n }\n\n .right-2 {\n right: 0.5rem !important;\n }\n\n .right-3 {\n right: 0.75rem !important;\n }\n\n .right-4 {\n right: 1rem !important;\n }\n\n .right-6 {\n right: 1.5rem !important;\n }\n\n .right-[1px] {\n right: 1px !important;\n }\n\n .top-0 {\n top: 0px !important;\n }\n\n .top-1/2 {\n top: 50% !important;\n }\n\n .top-2 {\n top: 0.5rem !important;\n }\n\n .top-4 {\n top: 1rem !important;\n }\n\n .top-[-35px] {\n top: -35px !important;\n }\n\n .top-[1px] {\n top: 1px !important;\n }\n\n .top-[50%] {\n top: 50% !important;\n }\n\n .z-10 {\n z-index: 10 !important;\n }\n\n .z-30 {\n z-index: 30 !important;\n }\n\n .z-50 {\n z-index: 50 !important;\n }\n\n .m-0 {\n margin: 0px !important;\n }\n\n .m-6 {\n margin: 1.5rem !important;\n }\n\n .m-auto {\n margin: auto !important;\n }\n\n .mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .mx-4 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .mx-6 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .mx-[-8px] {\n margin-left: -8px !important;\n margin-right: -8px !important;\n }\n\n .mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .my-3 {\n margin-top: 0.75rem !important;\n margin-bottom: 0.75rem !important;\n }\n\n .my-4 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .!mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .-ml-4 {\n margin-left: -1rem !important;\n }\n\n .-mr-4 {\n margin-right: -1rem !important;\n }\n\n .mb-0 {\n margin-bottom: 0px !important;\n }\n\n .mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .mb-3 {\n margin-bottom: 0.75rem !important;\n }\n\n .mb-4 {\n margin-bottom: 1rem !important;\n }\n\n .mb-5 {\n margin-bottom: 1.25rem !important;\n }\n\n .mb-6 {\n margin-bottom: 1.5rem !important;\n }\n\n .ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .ml-16 {\n margin-left: 4rem !important;\n }\n\n .ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .ml-3 {\n margin-left: 0.75rem !important;\n }\n\n .ml-4 {\n margin-left: 1rem !important;\n }\n\n .ml-5 {\n margin-left: 1.25rem !important;\n }\n\n .ml-6 {\n margin-left: 1.5rem !important;\n }\n\n .mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .mr-24 {\n margin-right: 6rem !important;\n }\n\n .mr-3 {\n margin-right: 0.75rem !important;\n }\n\n .mr-4 {\n margin-right: 1rem !important;\n }\n\n .mr-6 {\n margin-right: 1.5rem !important;\n }\n\n .mt-0 {\n margin-top: 0px !important;\n }\n\n .mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .mt-3 {\n margin-top: 0.75rem !important;\n }\n\n .mt-4 {\n margin-top: 1rem !important;\n }\n\n .mt-6 {\n margin-top: 1.5rem !important;\n }\n\n .mt-8 {\n margin-top: 2rem !important;\n }\n\n .mt-[-4px] {\n margin-top: -4px !important;\n }\n\n .mt-[1px] {\n margin-top: 1px !important;\n }\n\n .line-clamp-1 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 1 !important;\n }\n\n .line-clamp-2 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 2 !important;\n }\n\n .block {\n display: block !important;\n }\n\n .inline-block {\n display: inline-block !important;\n }\n\n .inline {\n display: inline !important;\n }\n\n .flex {\n display: flex !important;\n }\n\n .table {\n display: table !important;\n }\n\n .grid {\n display: grid !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n .h-0 {\n height: 0px !important;\n }\n\n .h-1 {\n height: 0.25rem !important;\n }\n\n .h-1/2 {\n height: 50% !important;\n }\n\n .h-10 {\n height: 2.5rem !important;\n }\n\n .h-11 {\n height: 2.75rem !important;\n }\n\n .h-12 {\n height: 3rem !important;\n }\n\n .h-14 {\n height: 3.5rem !important;\n }\n\n .h-2 {\n height: 0.5rem !important;\n }\n\n .h-20 {\n height: 5rem !important;\n }\n\n .h-24 {\n height: 6rem !important;\n }\n\n .h-28 {\n height: 7rem !important;\n }\n\n .h-3 {\n height: 0.75rem !important;\n }\n\n .h-40 {\n height: 10rem !important;\n }\n\n .h-5 {\n height: 1.25rem !important;\n }\n\n .h-5/6 {\n height: 83.333333% !important;\n }\n\n .h-6 {\n height: 1.5rem !important;\n }\n\n .h-64 {\n height: 16rem !important;\n }\n\n .h-7 {\n height: 1.75rem !important;\n }\n\n .h-8 {\n height: 2rem !important;\n }\n\n .h-96 {\n height: 24rem !important;\n }\n\n .h-[1.5em] {\n height: 1.5em !important;\n }\n\n .h-[133px] {\n height: 133px !important;\n }\n\n .h-[150px] {\n height: 150px !important;\n }\n\n .h-[300px] {\n height: 300px !important;\n }\n\n .h-[40px] {\n height: 40px !important;\n }\n\n .h-[500px] {\n height: 500px !important;\n }\n\n .h-[600px] {\n height: 600px !important;\n }\n\n .h-[90vh] {\n height: 90vh !important;\n }\n\n .h-[calc(100vh-48px)] {\n height: calc(100vh - 48px) !important;\n }\n\n .h-auto {\n height: auto !important;\n }\n\n .h-full {\n height: 100% !important;\n }\n\n .h-screen {\n height: 100vh !important;\n }\n\n .max-h-64 {\n max-height: 16rem !important;\n }\n\n .max-h-72 {\n max-height: 18rem !important;\n }\n\n .max-h-[300px] {\n max-height: 300px !important;\n }\n\n .max-h-[400px] {\n max-height: 400px !important;\n }\n\n .max-h-[70vh] {\n max-height: 70vh !important;\n }\n\n .max-h-[90vh] {\n max-height: 90vh !important;\n }\n\n .max-h-[calc((100vh-156px)/2)] {\n max-height: calc((100vh - 156px) / 2) !important;\n }\n\n .max-h-full {\n max-height: 100% !important;\n }\n\n .max-h-screen {\n max-height: 100vh !important;\n }\n\n .min-h-[1rem] {\n min-height: 1rem !important;\n }\n\n .min-h-[200px] {\n min-height: 200px !important;\n }\n\n .min-h-[42px] {\n min-height: 42px !important;\n }\n\n .min-h-[60vh] {\n min-height: 60vh !important;\n }\n\n .min-h-fit {\n min-height: -moz-fit-content !important;\n min-height: fit-content !important;\n }\n\n .min-h-full {\n min-height: 100% !important;\n }\n\n .w-0 {\n width: 0px !important;\n }\n\n .w-1 {\n width: 0.25rem !important;\n }\n\n .w-1/2 {\n width: 50% !important;\n }\n\n .w-1/3 {\n width: 33.333333% !important;\n }\n\n .w-1/4 {\n width: 25% !important;\n }\n\n .w-1/5 {\n width: 20% !important;\n }\n\n .w-1/6 {\n width: 16.666667% !important;\n }\n\n .w-10 {\n width: 2.5rem !important;\n }\n\n .w-11 {\n width: 2.75rem !important;\n }\n\n .w-11/12 {\n width: 91.666667% !important;\n }\n\n .w-12 {\n width: 3rem !important;\n }\n\n .w-14 {\n width: 3.5rem !important;\n }\n\n .w-16 {\n width: 4rem !important;\n }\n\n .w-2 {\n width: 0.5rem !important;\n }\n\n .w-2/3 {\n width: 66.666667% !important;\n }\n\n .w-2/5 {\n width: 40% !important;\n }\n\n .w-20 {\n width: 5rem !important;\n }\n\n .w-28 {\n width: 7rem !important;\n }\n\n .w-3 {\n width: 0.75rem !important;\n }\n\n .w-3/4 {\n width: 75% !important;\n }\n\n .w-3/5 {\n width: 60% !important;\n }\n\n .w-32 {\n width: 8rem !important;\n }\n\n .w-36 {\n width: 9rem !important;\n }\n\n .w-4 {\n width: 1rem !important;\n }\n\n .w-40 {\n width: 10rem !important;\n }\n\n .w-48 {\n width: 12rem !important;\n }\n\n .w-5 {\n width: 1.25rem !important;\n }\n\n .w-5/6 {\n width: 83.333333% !important;\n }\n\n .w-52 {\n width: 13rem !important;\n }\n\n .w-6 {\n width: 1.5rem !important;\n }\n\n .w-60 {\n width: 15rem !important;\n }\n\n .w-64 {\n width: 16rem !important;\n }\n\n .w-7 {\n width: 1.75rem !important;\n }\n\n .w-72 {\n width: 18rem !important;\n }\n\n .w-8 {\n width: 2rem !important;\n }\n\n .w-80 {\n width: 20rem !important;\n }\n\n .w-96 {\n width: 24rem !important;\n }\n\n .w-[1.5em] {\n width: 1.5em !important;\n }\n\n .w-[142px] {\n width: 142px !important;\n }\n\n .w-[1px] {\n width: 1px !important;\n }\n\n .w-[230px] {\n width: 230px !important;\n }\n\n .w-[256px] {\n width: 256px !important;\n }\n\n .w-[26rem] {\n width: 26rem !important;\n }\n\n .w-[280px] {\n width: 280px !important;\n }\n\n .w-[30rem] {\n width: 30rem !important;\n }\n\n .w-[320px] {\n width: 320px !important;\n }\n\n .w-[50px] {\n width: 50px !important;\n }\n\n .w-[530px] {\n width: 530px !important;\n }\n\n .w-[900px] {\n width: 900px !important;\n }\n\n .w-auto {\n width: auto !important;\n }\n\n .w-full {\n width: 100% !important;\n }\n\n .w-screen {\n width: 100vw !important;\n }\n\n .min-w-0 {\n min-width: 0px !important;\n }\n\n .min-w-[200px] {\n min-width: 200px !important;\n }\n\n .min-w-[50px] {\n min-width: 50px !important;\n }\n\n .min-w-fit {\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n }\n\n .max-w-2xl {\n max-width: 42rem !important;\n }\n\n .max-w-[240px] {\n max-width: 240px !important;\n }\n\n .max-w-full {\n max-width: 100% !important;\n }\n\n .max-w-md {\n max-width: 28rem !important;\n }\n\n .max-w-none {\n max-width: none !important;\n }\n\n .flex-1 {\n flex: 1 1 0% !important;\n }\n\n .flex-auto {\n flex: 1 1 auto !important;\n }\n\n .flex-none {\n flex: none !important;\n }\n\n .flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .shrink {\n flex-shrink: 1 !important;\n }\n\n .shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .grow {\n flex-grow: 1 !important;\n }\n\n .grow-0 {\n flex-grow: 0 !important;\n }\n\n .-translate-x-1/2 {\n --tw-translate-x: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-1/2 {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-[50%] {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-0 {\n --tw-translate-x: 0px !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-full {\n --tw-translate-x: 100% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n @keyframes fade {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n .animate-fade {\n animation: fade var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, ease) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, 1) var(--tw-animate-fill, both) !important;\n }\n\n @keyframes pulse1 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse1 {\n animation: pulse1 1.2s infinite !important;\n }\n\n @keyframes pulse2 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 66.666% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse2 {\n animation: pulse2 1.2s infinite !important;\n }\n\n @keyframes pulse3 {\n 0%,\n 66.666% {\n transform: scale(1);\n background-color: ##bdc0c4;\n }\n\n 100% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse3 {\n animation: pulse3 1.2s infinite !important;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n .animate-spin {\n animation: spin var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, linear) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, infinite) var(--tw-animate-fill, none) !important;\n }\n\n .cursor-grab {\n cursor: grab !important;\n }\n\n .cursor-move {\n cursor: move !important;\n }\n\n .cursor-no-drop {\n cursor: no-drop !important;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed !important;\n }\n\n .cursor-pointer {\n cursor: pointer !important;\n }\n\n .resize-none {\n resize: none !important;\n }\n\n .list-decimal {\n list-style-type: decimal !important;\n }\n\n .list-disc {\n list-style-type: disc !important;\n }\n\n .grid-flow-row {\n grid-auto-flow: row !important;\n }\n\n .auto-rows-max {\n grid-auto-rows: max-content !important;\n }\n\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr)) !important;\n }\n\n .flex-row {\n flex-direction: row !important;\n }\n\n .flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n\n .flex-col {\n flex-direction: column !important;\n }\n\n .flex-wrap {\n flex-wrap: wrap !important;\n }\n\n .content-center {\n align-content: center !important;\n }\n\n .items-start {\n align-items: flex-start !important;\n }\n\n .items-end {\n align-items: flex-end !important;\n }\n\n .items-center {\n align-items: center !important;\n }\n\n .items-stretch {\n align-items: stretch !important;\n }\n\n .justify-start {\n justify-content: flex-start !important;\n }\n\n .justify-end {\n justify-content: flex-end !important;\n }\n\n .justify-center {\n justify-content: center !important;\n }\n\n .justify-between {\n justify-content: space-between !important;\n }\n\n .justify-around {\n justify-content: space-around !important;\n }\n\n .gap-1 {\n gap: 0.25rem !important;\n }\n\n .gap-2 {\n gap: 0.5rem !important;\n }\n\n .gap-3 {\n gap: 0.75rem !important;\n }\n\n .gap-4 {\n gap: 1rem !important;\n }\n\n .gap-6 {\n gap: 1.5rem !important;\n }\n\n .gap-8 {\n gap: 2rem !important;\n }\n\n .gap-x-6 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n\n .gap-y-10 {\n row-gap: 2.5rem !important;\n }\n\n .gap-y-5 {\n row-gap: 1.25rem !important;\n }\n\n .space-x-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0 !important;\n margin-right: calc(1rem * var(--tw-space-x-reverse)) !important;\n margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))) !important;\n }\n\n .space-y-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-3 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;\n }\n\n .overflow-auto {\n overflow: auto !important;\n }\n\n .overflow-hidden {\n overflow: hidden !important;\n }\n\n .overflow-scroll {\n overflow: scroll !important;\n }\n\n .overflow-x-auto {\n overflow-x: auto !important;\n }\n\n .overflow-y-auto {\n overflow-y: auto !important;\n }\n\n .overflow-y-scroll {\n overflow-y: scroll !important;\n }\n\n .truncate {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n .text-ellipsis {\n text-overflow: ellipsis !important;\n }\n\n .whitespace-normal {\n white-space: normal !important;\n }\n\n .whitespace-nowrap {\n white-space: nowrap !important;\n }\n\n .whitespace-pre-wrap {\n white-space: pre-wrap !important;\n }\n\n .break-words {\n overflow-wrap: break-word !important;\n }\n\n .rounded {\n border-radius: 0.25rem !important;\n }\n\n .rounded-2xl {\n border-radius: 1rem !important;\n }\n\n .rounded-3xl {\n border-radius: 1.5rem !important;\n }\n\n .rounded-[10px] {\n border-radius: 10px !important;\n }\n\n .rounded-[50%] {\n border-radius: 50% !important;\n }\n\n .rounded-full {\n border-radius: 9999px !important;\n }\n\n .rounded-lg {\n border-radius: 0.5rem !important;\n }\n\n .rounded-md {\n border-radius: 0.375rem !important;\n }\n\n .rounded-none {\n border-radius: 0px !important;\n }\n\n .rounded-sm {\n border-radius: 0.125rem !important;\n }\n\n .rounded-xl {\n border-radius: 0.75rem !important;\n }\n\n .rounded-bl {\n border-bottom-left-radius: 0.25rem !important;\n }\n\n .rounded-bl-none {\n border-bottom-left-radius: 0px !important;\n }\n\n .rounded-br {\n border-bottom-right-radius: 0.25rem !important;\n }\n\n .rounded-br-none {\n border-bottom-right-radius: 0px !important;\n }\n\n .rounded-tl {\n border-top-left-radius: 0.25rem !important;\n }\n\n .rounded-tl-md {\n border-top-left-radius: 0.375rem !important;\n }\n\n .rounded-tl-none {\n border-top-left-radius: 0px !important;\n }\n\n .rounded-tr {\n border-top-right-radius: 0.25rem !important;\n }\n\n .rounded-tr-md {\n border-top-right-radius: 0.375rem !important;\n }\n\n .border {\n border-width: 1px !important;\n }\n\n .border-0 {\n border-width: 0px !important;\n }\n\n .border-2 {\n border-width: 2px !important;\n }\n\n .border-[0.5px] {\n border-width: 0.5px !important;\n }\n\n .border-b {\n border-bottom-width: 1px !important;\n }\n\n .border-b-2 {\n border-bottom-width: 2px !important;\n }\n\n .border-l {\n border-left-width: 1px !important;\n }\n\n .border-l-4 {\n border-left-width: 4px !important;\n }\n\n .border-r {\n border-right-width: 1px !important;\n }\n\n .border-t {\n border-top-width: 1px !important;\n }\n\n .border-solid {\n border-style: solid !important;\n }\n\n .border-dashed {\n border-style: dashed !important;\n }\n\n .border-none {\n border-style: none !important;\n }\n\n .border-[#0c75fc] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d5e5f6] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(213 229 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d6d8da] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(214 216 218 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d9d9d9] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(217 217 217 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#e3e4e6] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(227 228 230 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#edeeef] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(237 238 239 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#f0f0f0] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(240 240 240 / var(--tw-border-opacity)) !important;\n }\n\n .border-[transparent] {\n border-color: transparent !important;\n }\n\n .border-blue-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(59 130 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-blue-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(37 99 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-100 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(243 244 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-200 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-800 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n .border-red-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(220 38 38 / var(--tw-border-opacity)) !important;\n }\n\n .border-slate-300 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(203 213 225 / var(--tw-border-opacity)) !important;\n }\n\n .border-stone-400 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(168 162 158 / var(--tw-border-opacity)) !important;\n }\n\n .border-theme-primary {\n --tw-border-opacity: 1 !important;\n border-color: rgb(0 105 254 / var(--tw-border-opacity)) !important;\n }\n\n .border-white {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n .bg-[#0C75FC] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#0c75fc] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#EAEAEB] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(234 234 235 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#F1F5F9] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#f5faff] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#fafafa] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(250 250 250 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#ffffff80] {\n background-color: #ffffff80 !important;\n }\n\n .bg-[#ffffff99] {\n background-color: #ffffff99 !important;\n }\n\n .bg-[#ffffffb7] {\n background-color: #ffffffb7 !important;\n }\n\n .bg-bar {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(224 231 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-black {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-blue-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(107 114 128 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-600 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(75 85 99 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-700 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-green-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(34 197 94 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(254 242 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-300 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(214 211 209 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(168 162 158 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-dark-container {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-light {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-primary {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 105 254 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-transparent {\n background-color: transparent !important;\n }\n\n .bg-white {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(244 244 245 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(161 161 170 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-opacity-10 {\n --tw-bg-opacity: 0.1 !important;\n }\n\n .bg-opacity-100 {\n --tw-bg-opacity: 1 !important;\n }\n\n .bg-opacity-30 {\n --tw-bg-opacity: 0.3 !important;\n }\n\n .bg-opacity-50 {\n --tw-bg-opacity: 0.5 !important;\n }\n\n .bg-opacity-70 {\n --tw-bg-opacity: 0.7 !important;\n }\n\n .bg-button-gradient {\n background-image: linear-gradient(to right, #00daef, #105eff) !important;\n }\n\n .bg-gradient-light {\n background-image: url('/images/bg.png') !important;\n }\n\n .bg-gradient-to-tr {\n background-image: linear-gradient(\n to top right,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .from-[#31afff] {\n --tw-gradient-from: #31afff var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(49 175 255 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .to-[#1677ff] {\n --tw-gradient-to: #1677ff var(--tw-gradient-to-position) !important;\n }\n\n .bg-cover {\n background-size: cover !important;\n }\n\n .bg-center {\n background-position: center !important;\n }\n\n .object-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n\n .p-0 {\n padding: 0px !important;\n }\n\n .p-1 {\n padding: 0.25rem !important;\n }\n\n .p-10 {\n padding: 2.5rem !important;\n }\n\n .p-2 {\n padding: 0.5rem !important;\n }\n\n .p-3 {\n padding: 0.75rem !important;\n }\n\n .p-4 {\n padding: 1rem !important;\n }\n\n .px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .px-28 {\n padding-left: 7rem !important;\n padding-right: 7rem !important;\n }\n\n .px-3 {\n padding-left: 0.75rem !important;\n padding-right: 0.75rem !important;\n }\n\n .px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .px-5 {\n padding-left: 1.25rem !important;\n padding-right: 1.25rem !important;\n }\n\n .px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .py-10 {\n padding-top: 2.5rem !important;\n padding-bottom: 2.5rem !important;\n }\n\n .py-12 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .py-3 {\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n }\n\n .py-4 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .pb-12 {\n padding-bottom: 3rem !important;\n }\n\n .pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .pb-4 {\n padding-bottom: 1rem !important;\n }\n\n .pb-6 {\n padding-bottom: 1.5rem !important;\n }\n\n .pb-8 {\n padding-bottom: 2rem !important;\n }\n\n .pl-0 {\n padding-left: 0px !important;\n }\n\n .pl-10 {\n padding-left: 2.5rem !important;\n }\n\n .pl-12 {\n padding-left: 3rem !important;\n }\n\n .pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .pl-4 {\n padding-left: 1rem !important;\n }\n\n .pl-6 {\n padding-left: 1.5rem !important;\n }\n\n .pl-[0.6rem] {\n padding-left: 0.6rem !important;\n }\n\n .pr-10 {\n padding-right: 2.5rem !important;\n }\n\n .pr-11 {\n padding-right: 2.75rem !important;\n }\n\n .pr-4 {\n padding-right: 1rem !important;\n }\n\n .pr-8 {\n padding-right: 2rem !important;\n }\n\n .pt-0 {\n padding-top: 0px !important;\n }\n\n .pt-12 {\n padding-top: 3rem !important;\n }\n\n .pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .pt-4 {\n padding-top: 1rem !important;\n }\n\n .pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .pt-8 {\n padding-top: 2rem !important;\n }\n\n .!text-left {\n text-align: left !important;\n }\n\n .text-center {\n text-align: center !important;\n }\n\n .text-right {\n text-align: right !important;\n }\n\n .align-middle {\n vertical-align: middle !important;\n }\n\n .!text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-2xl {\n font-size: 1.5rem !important;\n line-height: 2rem !important;\n }\n\n .text-3xl {\n font-size: 1.875rem !important;\n line-height: 2.25rem !important;\n }\n\n .text-[0px] {\n font-size: 0px !important;\n }\n\n .text-[16px] {\n font-size: 16px !important;\n }\n\n .text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-sm {\n font-size: 0.875rem !important;\n line-height: 1.25rem !important;\n }\n\n .text-xl {\n font-size: 1.25rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-xs {\n font-size: 0.75rem !important;\n line-height: 1rem !important;\n }\n\n .font-bold {\n font-weight: 700 !important;\n }\n\n .font-medium {\n font-weight: 500 !important;\n }\n\n .font-normal {\n font-weight: 400 !important;\n }\n\n .font-semibold {\n font-weight: 600 !important;\n }\n\n .uppercase {\n text-transform: uppercase !important;\n }\n\n .lowercase {\n text-transform: lowercase !important;\n }\n\n .italic {\n font-style: italic !important;\n }\n\n .ordinal {\n --tw-ordinal: ordinal !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero)\n var(--tw-numeric-figure) var(--tw-numeric-spacing)\n var(--tw-numeric-fraction) !important;\n }\n\n .leading-10 {\n line-height: 2.5rem !important;\n }\n\n .leading-5 {\n line-height: 1.25rem !important;\n }\n\n .leading-6 {\n line-height: 1.5rem !important;\n }\n\n .leading-7 {\n line-height: 1.75rem !important;\n }\n\n .leading-8 {\n line-height: 2rem !important;\n }\n .!text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .!text-green-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(34 197 94 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#000000] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0069fe] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0C75FC] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0c75fc] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#121417] {\n --tw-text-opacity: 1 !important;\n color: rgb(18 20 23 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1677ff] {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1890ff] {\n --tw-text-opacity: 1 !important;\n color: rgb(24 144 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1c2533] {\n --tw-text-opacity: 1 !important;\n color: rgb(28 37 51 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#2AA3FF] {\n --tw-text-opacity: 1 !important;\n color: rgb(42 163 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#525964] {\n --tw-text-opacity: 1 !important;\n color: rgb(82 89 100 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#878c93] {\n --tw-text-opacity: 1 !important;\n color: rgb(135 140 147 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#ff1b2e] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 27 46 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#ff4d4f] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 77 79 / var(--tw-text-opacity)) !important;\n }\n\n .text-black {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(37 99 235 / var(--tw-text-opacity)) !important;\n }\n\n .text-default {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-300 {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(75 85 99 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-700 {\n --tw-text-opacity: 1 !important;\n color: rgb(55 65 81 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(74 222 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(22 163 74 / var(--tw-text-opacity)) !important;\n }\n\n .text-neutral-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(115 115 115 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(248 113 113 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(220 38 38 / var(--tw-text-opacity)) !important;\n }\n\n .text-slate-900 {\n --tw-text-opacity: 1 !important;\n color: rgb(15 23 42 / var(--tw-text-opacity)) !important;\n }\n\n .text-theme-primary {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-yellow-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(250 204 21 / var(--tw-text-opacity)) !important;\n }\n\n .text-opacity-80 {\n --tw-text-opacity: 0.8 !important;\n }\n\n .underline {\n text-decoration-line: underline !important;\n }\n\n .opacity-0 {\n opacity: 0 !important;\n }\n\n .opacity-100 {\n opacity: 1 !important;\n }\n\n .opacity-30 {\n opacity: 0.3 !important;\n }\n\n .opacity-40 {\n opacity: 0.4 !important;\n }\n\n .opacity-70 {\n opacity: 0.7 !important;\n }\n\n .opacity-75 {\n opacity: 0.75 !important;\n }\n\n .opacity-80 {\n opacity: 0.8 !important;\n }\n\n .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%) !important;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .backdrop-blur {\n --tw-backdrop-blur: blur(8px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(16px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .transition-[transfrom_shadow] {\n transition-property: transfrom shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-[width] {\n transition-property: width !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-all {\n transition-property: all !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-colors {\n transition-property: color, background-color, border-color,\n text-decoration-color, fill, stroke !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-opacity {\n transition-property: opacity !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-shadow {\n transition-property: box-shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-transform {\n transition-property: transform !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .duration-200 {\n transition-duration: 200ms !important;\n }\n\n .duration-300 {\n transition-duration: 300ms !important;\n }\n\n .duration-500 {\n transition-duration: 500ms !important;\n }\n\n .ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n }\n\n .animate-duration-200 {\n --tw-animate-duration: 200ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-duration-300 {\n --tw-animate-duration: 300ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-infinite {\n --tw-animate-iteration: infinite !important;\n animation-iteration-count: var(--tw-animate-iteration) !important;\n }\n\n body {\n margin: 0;\n font-family: var(\n --joy-fontFamily-body,\n var(--joy-Josefin Sans, sans-serif)\n );\n line-height: var(--joy-lineHeight-md, 1.5);\n --antd-primary-color: #0069fe;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-appearance: none;\n }\n\n .light {\n color: #333;\n background-color: #f7f7f7;\n }\n\n .dark {\n color: #f7f7f7;\n background-color: #151622;\n }\n\n .dark-sub-bg {\n background-color: rgb(35, 38, 44);\n }\n\n .ant-btn-primary {\n background-color: var(--antd-primary-color);\n }\n\n .ant-pagination .ant-pagination-prev * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-next * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item a {\n color: rgb(176, 176, 191);\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n background-color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: white !important;\n }\n\n .scrollbar-default::-webkit-scrollbar {\n display: block;\n width: 6px;\n }\n\n /* 自定义滚动条样式 */\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n ::-webkit-scrollbar-track {\n background: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n\n .dark\n :where(.css-dev-only-do-not-override-18iikkb).ant-tabs\n .ant-tabs-tab-btn {\n color: white;\n }\n\n :where(.css-dev-only-do-not-override-18iikkb).ant-form-item\n .ant-form-item-label\n > label {\n height: 36px;\n }\n\n @keyframes rotate {\n to {\n transform: rotate(360deg);\n }\n }\n\n // .react-flow__panel {\n // display: none !important;\n // }\n\n #home-container .ant-tabs-tab-active {\n font-size: 16px;\n }\n\n #home-container .ant-tabs-tab {\n font-size: 16px;\n }\n\n #home-container .ant-card-body {\n padding: 12px 24px;\n }\n\n pre {\n width: 100%;\n overflow: auto;\n white-space: pre-wrap;\n // padding-left: 0.5rem;\n }\n\n table {\n display: block;\n width: 100%;\n table-layout: fixed;\n }\n\n .rc-md-editor {\n height: inherit;\n }\n\n .rc-md-editor .editor-container > .section {\n border-right: none !important;\n }\n\n .first-line:leading-6::first-line {\n line-height: 1.5rem !important;\n }\n\n .after:absolute::after {\n content: var(--tw-content) !important;\n position: absolute !important;\n }\n\n .after:-top-8::after {\n content: var(--tw-content) !important;\n top: -2rem !important;\n }\n\n .after:h-8::after {\n content: var(--tw-content) !important;\n height: 2rem !important;\n }\n\n .after:w-full::after {\n content: var(--tw-content) !important;\n width: 100% !important;\n }\n\n .after:bg-gradient-to-t::after {\n content: var(--tw-content) !important;\n background-image: linear-gradient(\n to top,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .after:from-theme-light::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #f7f7f7 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .after:to-transparent::after {\n content: var(--tw-content) !important;\n --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;\n }\n\n .last-of-type:mr-0:last-of-type {\n margin-right: 0px !important;\n }\n\n .hover:-translate-y-1:hover {\n --tw-translate-y: -0.25rem !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .hover:rounded-xl:hover {\n border-radius: 0.75rem !important;\n }\n\n .hover:border-[#0c75fc]:hover {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .hover:bg-[#F1F5F9]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-[#f5faff]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-gray-100:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-stone-200:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(231 229 228 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-white:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-opacity-100:hover {\n --tw-bg-opacity: 1 !important;\n }\n\n .hover:!text-gray-200:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-[#0c75fc]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-[#1677ff]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-blue-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-red-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-theme-primary:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .hover:opacity-100:hover {\n opacity: 1 !important;\n }\n\n .hover:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),\n 0 4px 6px -4px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .focus:shadow-none:focus {\n --tw-shadow: 0 0 #0000 !important;\n --tw-shadow-colored: 0 0 #0000 !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .group:hover .group-hover:block {\n display: block !important;\n }\n\n .group/item:hover .group-hover/item:opacity-100 {\n opacity: 1 !important;\n }\n\n .group/side:hover .group-hover/side:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover:opacity-70 {\n opacity: 0.7 !important;\n }\n\n :is(.dark .dark:border-[#0c75fc]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-[#6f7f95]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(111 127 149 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-[#ffffff66]) {\n border-color: #ffffff66 !important;\n }\n\n :is(.dark .dark:border-gray-500) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-600) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(75 85 99 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-700) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(55 65 81 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-800) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-theme-dark) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(21 22 34 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-white) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#212121]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(33 33 33 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#232734]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#242733]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(36 39 51 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#484848]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(72 72 72 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#606264]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#6f7f95]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(111 127 149 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#ffffff29]) {\n background-color: #ffffff29 !important;\n }\n\n :is(.dark .dark:bg-black) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-900) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-slate-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(30 41 59 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-theme-dark) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-theme-dark-container) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-transparent) {\n background-color: transparent !important;\n }\n\n :is(.dark .dark:bg-zinc-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(63 63 70 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-zinc-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(39 39 42 / var(--tw-bg-opacity)) !important;\n }\n :is(.dark :is(.dark .dark:dark:bg-theme-dark)) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-opacity-50) {\n --tw-bg-opacity: 0.5 !important;\n }\n\n :is(.dark .dark:bg-opacity-60) {\n --tw-bg-opacity: 0.6 !important;\n }\n\n :is(.dark .dark:bg-gradient-dark) {\n background-image: url('/images/bg_dark.png') !important;\n }\n\n :is(.dark .dark:text-[#ffffffD9]) {\n color: #ffffffd9 !important;\n }\n\n :is(.dark .dark:text-blue-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-800) {\n --tw-text-opacity: 1 !important;\n color: rgb(31 41 55 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-slate-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(203 213 225 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-stone-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(231 229 228 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-white) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-zinc-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(228 228 231 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:after:from-theme-dark)::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #151622 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(21 22 34 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n :is(.dark .dark:hover:border-white:hover) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-[#606264]:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-theme-dark:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-zinc-900:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(24 24 27 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover:dark:bg-[#606264]):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover:dark:bg-black):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:text-white:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:hover:text-zinc-100:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(244 244 245 / var(--tw-text-opacity)) !important;\n }\n\n @media (min-width: 640px) {\n .sm:mr-4 {\n margin-right: 1rem !important;\n }\n\n .sm:w-60 {\n width: 15rem !important;\n }\n\n .sm:grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr)) !important;\n }\n\n .sm:pb-10 {\n padding-bottom: 2.5rem !important;\n }\n\n .sm:pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .sm:text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .sm:leading-7 {\n line-height: 1.75rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md:block {\n display: block !important;\n }\n\n .md:h-full {\n height: 100% !important;\n }\n\n .md:w-1/2 {\n width: 50% !important;\n }\n\n .md:w-1/4 {\n width: 25% !important;\n }\n\n .md:w-3/4 {\n width: 75% !important;\n }\n\n .md:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md:gap-4 {\n gap: 1rem !important;\n }\n\n .md:border-l {\n border-left-width: 1px !important;\n }\n\n .md:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md:p-4 {\n padding: 1rem !important;\n }\n\n .md:p-6 {\n padding: 1.5rem !important;\n }\n\n .md:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md:block {\n display: block !important;\n }\n\n .md:h-full {\n height: 100% !important;\n }\n\n .md:w-1/2 {\n width: 50% !important;\n }\n\n .md:w-1/4 {\n width: 25% !important;\n }\n\n .md:w-3/4 {\n width: 75% !important;\n }\n\n .md:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md:gap-4 {\n gap: 1rem !important;\n }\n\n .md:border-l {\n border-left-width: 1px !important;\n }\n\n .md:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md:p-4 {\n padding: 1rem !important;\n }\n\n .md:p-6 {\n padding: 1.5rem !important;\n }\n\n .md:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 1024px) {\n .lg:w-1/3 {\n width: 33.333333% !important;\n }\n\n .lg:w-72 {\n width: 18rem !important;\n }\n\n .lg:w-full {\n width: 100% !important;\n }\n\n .lg:max-w-[80%] {\n max-width: 80% !important;\n }\n\n .lg:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .lg:px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n }\n"],["\n pre {\n margin: 0;\n }\n /* styles/katex-override.css */\n\n /* Inlined from katex-override.css */\n\n .katex {\n font-size: 1.25em !important;\n /* Adjust the font size */\n line-height: 3 !important;\n }\n\n /* ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com */\n\n /*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n }\n\n ::before,\n ::after {\n --tw-content: '';\n }\n\n /*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n*/\n\n html {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: 'Josefin Sans', ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n }\n\n /*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\n body {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n }\n\n /*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n hr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n }\n\n /*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n /*\nRemove the default font size and weight for headings.\n*/\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n /*\nAdd the correct font weight in Edge and Safari.\n*/\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /*\n1. Use the user's configured mono font family by default.\n2. Correct the odd em font sizing in all browsers.\n*/\n\n code,\n kbd,\n samp,\n pre {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',\n Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n /* 1 */\n font-size: 1em;\n /* 2 */\n }\n\n /*\nAdd the correct font size in all browsers.\n*/\n\n small {\n font-size: 80%;\n }\n\n /*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n table {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n }\n\n /*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n }\n\n /*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n button,\n select {\n text-transform: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n }\n\n /*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n :-moz-focusring {\n outline: auto;\n }\n\n /*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n /*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n progress {\n vertical-align: baseline;\n }\n\n /*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n /*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n [type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n }\n\n /*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n }\n\n /*\nAdd the correct display in Chrome and Safari.\n*/\n\n summary {\n display: list-item;\n }\n\n /*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /*\nPrevent resizing textareas horizontally by default.\n*/\n\n textarea {\n resize: vertical;\n }\n\n /*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\n input::-moz-placeholder,\n textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n input::placeholder,\n textarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n /*\nSet the default cursor for buttons.\n*/\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n /*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n :disabled {\n cursor: default;\n }\n\n /*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n }\n\n /*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n /* Make elements with the HTML hidden attribute stay hidden by default */\n\n [hidden] {\n display: none;\n }\n\n *,\n ::before,\n ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n .container {\n width: 100%;\n }\n\n @media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n }\n\n @media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n }\n\n @media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n }\n\n @media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n }\n\n @media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n }\n\n .\\!visible {\n visibility: visible !important;\n }\n\n .visible {\n visibility: visible !important;\n }\n\n .static {\n position: static !important;\n }\n\n .fixed {\n position: fixed !important;\n }\n\n .absolute {\n position: absolute !important;\n }\n\n .relative {\n position: relative !important;\n }\n\n .sticky {\n position: sticky !important;\n }\n\n .-left-5 {\n left: -1.25rem !important;\n }\n\n .bottom-0 {\n bottom: 0px !important;\n }\n\n .bottom-1 {\n bottom: 0.25rem !important;\n }\n\n .bottom-2 {\n bottom: 0.5rem !important;\n }\n\n .bottom-24 {\n bottom: 6rem !important;\n }\n\n .bottom-3 {\n bottom: 0.75rem !important;\n }\n\n .bottom-4 {\n bottom: 1rem !important;\n }\n\n .bottom-8 {\n bottom: 2rem !important;\n }\n\n .bottom-\\[-40px\\] {\n bottom: -40px !important;\n }\n\n .bottom-\\[30\\%\\] {\n bottom: 30% !important;\n }\n\n .left-0 {\n left: 0px !important;\n }\n\n .left-1\\/2 {\n left: 50% !important;\n }\n\n .left-2 {\n left: 0.5rem !important;\n }\n\n .left-4 {\n left: 1rem !important;\n }\n\n .right-0 {\n right: 0px !important;\n }\n\n .right-2 {\n right: 0.5rem !important;\n }\n\n .right-3 {\n right: 0.75rem !important;\n }\n\n .right-4 {\n right: 1rem !important;\n }\n\n .right-6 {\n right: 1.5rem !important;\n }\n\n .right-\\[1px\\] {\n right: 1px !important;\n }\n\n .top-0 {\n top: 0px !important;\n }\n\n .top-1\\/2 {\n top: 50% !important;\n }\n\n .top-2 {\n top: 0.5rem !important;\n }\n\n .top-4 {\n top: 1rem !important;\n }\n\n .top-\\[-35px\\] {\n top: -35px !important;\n }\n\n .top-\\[1px\\] {\n top: 1px !important;\n }\n\n .top-\\[50\\%\\] {\n top: 50% !important;\n }\n\n .z-10 {\n z-index: 10 !important;\n }\n\n .z-30 {\n z-index: 30 !important;\n }\n\n .z-50 {\n z-index: 50 !important;\n }\n\n .m-0 {\n margin: 0px !important;\n }\n\n .m-6 {\n margin: 1.5rem !important;\n }\n\n .m-auto {\n margin: auto !important;\n }\n\n .mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .mx-4 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .mx-6 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .mx-\\[-8px\\] {\n margin-left: -8px !important;\n margin-right: -8px !important;\n }\n\n .mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .my-3 {\n margin-top: 0.75rem !important;\n margin-bottom: 0.75rem !important;\n }\n\n .my-4 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .\\!mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .-ml-4 {\n margin-left: -1rem !important;\n }\n\n .-mr-4 {\n margin-right: -1rem !important;\n }\n\n .mb-0 {\n margin-bottom: 0px !important;\n }\n\n .mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .mb-3 {\n margin-bottom: 0.75rem !important;\n }\n\n .mb-4 {\n margin-bottom: 1rem !important;\n }\n\n .mb-5 {\n margin-bottom: 1.25rem !important;\n }\n\n .mb-6 {\n margin-bottom: 1.5rem !important;\n }\n\n .ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .ml-16 {\n margin-left: 4rem !important;\n }\n\n .ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .ml-3 {\n margin-left: 0.75rem !important;\n }\n\n .ml-4 {\n margin-left: 1rem !important;\n }\n\n .ml-5 {\n margin-left: 1.25rem !important;\n }\n\n .ml-6 {\n margin-left: 1.5rem !important;\n }\n\n .mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .mr-24 {\n margin-right: 6rem !important;\n }\n\n .mr-3 {\n margin-right: 0.75rem !important;\n }\n\n .mr-4 {\n margin-right: 1rem !important;\n }\n\n .mr-6 {\n margin-right: 1.5rem !important;\n }\n\n .mt-0 {\n margin-top: 0px !important;\n }\n\n .mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .mt-3 {\n margin-top: 0.75rem !important;\n }\n\n .mt-4 {\n margin-top: 1rem !important;\n }\n\n .mt-6 {\n margin-top: 1.5rem !important;\n }\n\n .mt-8 {\n margin-top: 2rem !important;\n }\n\n .mt-\\[-4px\\] {\n margin-top: -4px !important;\n }\n\n .mt-\\[1px\\] {\n margin-top: 1px !important;\n }\n\n .line-clamp-1 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 1 !important;\n }\n\n .line-clamp-2 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 2 !important;\n }\n\n .block {\n display: block !important;\n }\n\n .inline-block {\n display: inline-block !important;\n }\n\n .inline {\n display: inline !important;\n }\n\n .flex {\n display: flex !important;\n }\n\n .table {\n display: table !important;\n }\n\n .grid {\n display: grid !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n .h-0 {\n height: 0px !important;\n }\n\n .h-1 {\n height: 0.25rem !important;\n }\n\n .h-1\\/2 {\n height: 50% !important;\n }\n\n .h-10 {\n height: 2.5rem !important;\n }\n\n .h-11 {\n height: 2.75rem !important;\n }\n\n .h-12 {\n height: 3rem !important;\n }\n\n .h-14 {\n height: 3.5rem !important;\n }\n\n .h-2 {\n height: 0.5rem !important;\n }\n\n .h-20 {\n height: 5rem !important;\n }\n\n .h-24 {\n height: 6rem !important;\n }\n\n .h-28 {\n height: 7rem !important;\n }\n\n .h-3 {\n height: 0.75rem !important;\n }\n\n .h-40 {\n height: 10rem !important;\n }\n\n .h-5 {\n height: 1.25rem !important;\n }\n\n .h-5\\/6 {\n height: 83.333333% !important;\n }\n\n .h-6 {\n height: 1.5rem !important;\n }\n\n .h-64 {\n height: 16rem !important;\n }\n\n .h-7 {\n height: 1.75rem !important;\n }\n\n .h-8 {\n height: 2rem !important;\n }\n\n .h-96 {\n height: 24rem !important;\n }\n\n .h-\\[1\\.5em\\] {\n height: 1.5em !important;\n }\n\n .h-\\[133px\\] {\n height: 133px !important;\n }\n\n .h-\\[150px\\] {\n height: 150px !important;\n }\n\n .h-\\[300px\\] {\n height: 300px !important;\n }\n\n .h-\\[40px\\] {\n height: 40px !important;\n }\n\n .h-\\[500px\\] {\n height: 500px !important;\n }\n\n .h-\\[600px\\] {\n height: 600px !important;\n }\n\n .h-\\[90vh\\] {\n height: 90vh !important;\n }\n\n .h-\\[calc\\(100vh-48px\\)\\] {\n height: calc(100vh - 48px) !important;\n }\n\n .h-auto {\n height: auto !important;\n }\n\n .h-full {\n height: 100% !important;\n }\n\n .h-screen {\n height: 100vh !important;\n }\n\n .max-h-64 {\n max-height: 16rem !important;\n }\n\n .max-h-72 {\n max-height: 18rem !important;\n }\n\n .max-h-\\[300px\\] {\n max-height: 300px !important;\n }\n\n .max-h-\\[400px\\] {\n max-height: 400px !important;\n }\n\n .max-h-\\[70vh\\] {\n max-height: 70vh !important;\n }\n\n .max-h-\\[90vh\\] {\n max-height: 90vh !important;\n }\n\n .max-h-\\[calc\\(\\(100vh-156px\\)\\/2\\)\\] {\n max-height: calc((100vh - 156px) / 2) !important;\n }\n\n .max-h-full {\n max-height: 100% !important;\n }\n\n .max-h-screen {\n max-height: 100vh !important;\n }\n\n .min-h-\\[1rem\\] {\n min-height: 1rem !important;\n }\n\n .min-h-\\[200px\\] {\n min-height: 200px !important;\n }\n\n .min-h-\\[42px\\] {\n min-height: 42px !important;\n }\n\n .min-h-\\[60vh\\] {\n min-height: 60vh !important;\n }\n\n .min-h-fit {\n min-height: -moz-fit-content !important;\n min-height: fit-content !important;\n }\n\n .min-h-full {\n min-height: 100% !important;\n }\n\n .w-0 {\n width: 0px !important;\n }\n\n .w-1 {\n width: 0.25rem !important;\n }\n\n .w-1\\/2 {\n width: 50% !important;\n }\n\n .w-1\\/3 {\n width: 33.333333% !important;\n }\n\n .w-1\\/4 {\n width: 25% !important;\n }\n\n .w-1\\/5 {\n width: 20% !important;\n }\n\n .w-1\\/6 {\n width: 16.666667% !important;\n }\n\n .w-10 {\n width: 2.5rem !important;\n }\n\n .w-11 {\n width: 2.75rem !important;\n }\n\n .w-11\\/12 {\n width: 91.666667% !important;\n }\n\n .w-12 {\n width: 3rem !important;\n }\n\n .w-14 {\n width: 3.5rem !important;\n }\n\n .w-16 {\n width: 4rem !important;\n }\n\n .w-2 {\n width: 0.5rem !important;\n }\n\n .w-2\\/3 {\n width: 66.666667% !important;\n }\n\n .w-2\\/5 {\n width: 40% !important;\n }\n\n .w-20 {\n width: 5rem !important;\n }\n\n .w-28 {\n width: 7rem !important;\n }\n\n .w-3 {\n width: 0.75rem !important;\n }\n\n .w-3\\/4 {\n width: 75% !important;\n }\n\n .w-3\\/5 {\n width: 60% !important;\n }\n\n .w-32 {\n width: 8rem !important;\n }\n\n .w-36 {\n width: 9rem !important;\n }\n\n .w-4 {\n width: 1rem !important;\n }\n\n .w-40 {\n width: 10rem !important;\n }\n\n .w-48 {\n width: 12rem !important;\n }\n\n .w-5 {\n width: 1.25rem !important;\n }\n\n .w-5\\/6 {\n width: 83.333333% !important;\n }\n\n .w-52 {\n width: 13rem !important;\n }\n\n .w-6 {\n width: 1.5rem !important;\n }\n\n .w-60 {\n width: 15rem !important;\n }\n\n .w-64 {\n width: 16rem !important;\n }\n\n .w-7 {\n width: 1.75rem !important;\n }\n\n .w-72 {\n width: 18rem !important;\n }\n\n .w-8 {\n width: 2rem !important;\n }\n\n .w-80 {\n width: 20rem !important;\n }\n\n .w-96 {\n width: 24rem !important;\n }\n\n .w-\\[1\\.5em\\] {\n width: 1.5em !important;\n }\n\n .w-\\[142px\\] {\n width: 142px !important;\n }\n\n .w-\\[1px\\] {\n width: 1px !important;\n }\n\n .w-\\[230px\\] {\n width: 230px !important;\n }\n\n .w-\\[256px\\] {\n width: 256px !important;\n }\n\n .w-\\[26rem\\] {\n width: 26rem !important;\n }\n\n .w-\\[280px\\] {\n width: 280px !important;\n }\n\n .w-\\[30rem\\] {\n width: 30rem !important;\n }\n\n .w-\\[320px\\] {\n width: 320px !important;\n }\n\n .w-\\[50px\\] {\n width: 50px !important;\n }\n\n .w-\\[530px\\] {\n width: 530px !important;\n }\n\n .w-\\[900px\\] {\n width: 900px !important;\n }\n\n .w-auto {\n width: auto !important;\n }\n\n .w-full {\n width: 100% !important;\n }\n\n .w-screen {\n width: 100vw !important;\n }\n\n .min-w-0 {\n min-width: 0px !important;\n }\n\n .min-w-\\[200px\\] {\n min-width: 200px !important;\n }\n\n .min-w-\\[50px\\] {\n min-width: 50px !important;\n }\n\n .min-w-fit {\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n }\n\n .max-w-2xl {\n max-width: 42rem !important;\n }\n\n .max-w-\\[240px\\] {\n max-width: 240px !important;\n }\n\n .max-w-full {\n max-width: 100% !important;\n }\n\n .max-w-md {\n max-width: 28rem !important;\n }\n\n .max-w-none {\n max-width: none !important;\n }\n\n .flex-1 {\n flex: 1 1 0% !important;\n }\n\n .flex-auto {\n flex: 1 1 auto !important;\n }\n\n .flex-none {\n flex: none !important;\n }\n\n .flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .shrink {\n flex-shrink: 1 !important;\n }\n\n .shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .grow {\n flex-grow: 1 !important;\n }\n\n .grow-0 {\n flex-grow: 0 !important;\n }\n\n .-translate-x-1\\/2 {\n --tw-translate-x: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-1\\/2 {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-\\[50\\%\\] {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-0 {\n --tw-translate-x: 0px !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-full {\n --tw-translate-x: 100% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n @keyframes fade {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n .animate-fade {\n animation: fade var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, ease) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, 1) var(--tw-animate-fill, both) !important;\n }\n\n @keyframes pulse1 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse1 {\n animation: pulse1 1.2s infinite !important;\n }\n\n @keyframes pulse2 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 66.666% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse2 {\n animation: pulse2 1.2s infinite !important;\n }\n\n @keyframes pulse3 {\n 0%,\n 66.666% {\n transform: scale(1);\n background-color: ##bdc0c4;\n }\n\n 100% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse3 {\n animation: pulse3 1.2s infinite !important;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n .animate-spin {\n animation: spin var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, linear) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, infinite) var(--tw-animate-fill, none) !important;\n }\n\n .cursor-grab {\n cursor: grab !important;\n }\n\n .cursor-move {\n cursor: move !important;\n }\n\n .cursor-no-drop {\n cursor: no-drop !important;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed !important;\n }\n\n .cursor-pointer {\n cursor: pointer !important;\n }\n\n .resize-none {\n resize: none !important;\n }\n\n .list-decimal {\n list-style-type: decimal !important;\n }\n\n .list-disc {\n list-style-type: disc !important;\n }\n\n .grid-flow-row {\n grid-auto-flow: row !important;\n }\n\n .auto-rows-max {\n grid-auto-rows: max-content !important;\n }\n\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr)) !important;\n }\n\n .flex-row {\n flex-direction: row !important;\n }\n\n .flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n\n .flex-col {\n flex-direction: column !important;\n }\n\n .flex-wrap {\n flex-wrap: wrap !important;\n }\n\n .content-center {\n align-content: center !important;\n }\n\n .items-start {\n align-items: flex-start !important;\n }\n\n .items-end {\n align-items: flex-end !important;\n }\n\n .items-center {\n align-items: center !important;\n }\n\n .items-stretch {\n align-items: stretch !important;\n }\n\n .justify-start {\n justify-content: flex-start !important;\n }\n\n .justify-end {\n justify-content: flex-end !important;\n }\n\n .justify-center {\n justify-content: center !important;\n }\n\n .justify-between {\n justify-content: space-between !important;\n }\n\n .justify-around {\n justify-content: space-around !important;\n }\n\n .gap-1 {\n gap: 0.25rem !important;\n }\n\n .gap-2 {\n gap: 0.5rem !important;\n }\n\n .gap-3 {\n gap: 0.75rem !important;\n }\n\n .gap-4 {\n gap: 1rem !important;\n }\n\n .gap-6 {\n gap: 1.5rem !important;\n }\n\n .gap-8 {\n gap: 2rem !important;\n }\n\n .gap-x-6 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n\n .gap-y-10 {\n row-gap: 2.5rem !important;\n }\n\n .gap-y-5 {\n row-gap: 1.25rem !important;\n }\n\n .space-x-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0 !important;\n margin-right: calc(1rem * var(--tw-space-x-reverse)) !important;\n margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))) !important;\n }\n\n .space-y-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-3 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;\n }\n\n .overflow-auto {\n overflow: auto !important;\n }\n\n .overflow-hidden {\n overflow: hidden !important;\n }\n\n .overflow-scroll {\n overflow: scroll !important;\n }\n\n .overflow-x-auto {\n overflow-x: auto !important;\n }\n\n .overflow-y-auto {\n overflow-y: auto !important;\n }\n\n .overflow-y-scroll {\n overflow-y: scroll !important;\n }\n\n .truncate {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n .text-ellipsis {\n text-overflow: ellipsis !important;\n }\n\n .whitespace-normal {\n white-space: normal !important;\n }\n\n .whitespace-nowrap {\n white-space: nowrap !important;\n }\n\n .whitespace-pre-wrap {\n white-space: pre-wrap !important;\n }\n\n .break-words {\n overflow-wrap: break-word !important;\n }\n\n .rounded {\n border-radius: 0.25rem !important;\n }\n\n .rounded-2xl {\n border-radius: 1rem !important;\n }\n\n .rounded-3xl {\n border-radius: 1.5rem !important;\n }\n\n .rounded-\\[10px\\] {\n border-radius: 10px !important;\n }\n\n .rounded-\\[50\\%\\] {\n border-radius: 50% !important;\n }\n\n .rounded-full {\n border-radius: 9999px !important;\n }\n\n .rounded-lg {\n border-radius: 0.5rem !important;\n }\n\n .rounded-md {\n border-radius: 0.375rem !important;\n }\n\n .rounded-none {\n border-radius: 0px !important;\n }\n\n .rounded-sm {\n border-radius: 0.125rem !important;\n }\n\n .rounded-xl {\n border-radius: 0.75rem !important;\n }\n\n .rounded-bl {\n border-bottom-left-radius: 0.25rem !important;\n }\n\n .rounded-bl-none {\n border-bottom-left-radius: 0px !important;\n }\n\n .rounded-br {\n border-bottom-right-radius: 0.25rem !important;\n }\n\n .rounded-br-none {\n border-bottom-right-radius: 0px !important;\n }\n\n .rounded-tl {\n border-top-left-radius: 0.25rem !important;\n }\n\n .rounded-tl-md {\n border-top-left-radius: 0.375rem !important;\n }\n\n .rounded-tl-none {\n border-top-left-radius: 0px !important;\n }\n\n .rounded-tr {\n border-top-right-radius: 0.25rem !important;\n }\n\n .rounded-tr-md {\n border-top-right-radius: 0.375rem !important;\n }\n\n .border {\n border-width: 1px !important;\n }\n\n .border-0 {\n border-width: 0px !important;\n }\n\n .border-2 {\n border-width: 2px !important;\n }\n\n .border-\\[0\\.5px\\] {\n border-width: 0.5px !important;\n }\n\n .border-b {\n border-bottom-width: 1px !important;\n }\n\n .border-b-2 {\n border-bottom-width: 2px !important;\n }\n\n .border-l {\n border-left-width: 1px !important;\n }\n\n .border-l-4 {\n border-left-width: 4px !important;\n }\n\n .border-r {\n border-right-width: 1px !important;\n }\n\n .border-t {\n border-top-width: 1px !important;\n }\n\n .border-solid {\n border-style: solid !important;\n }\n\n .border-dashed {\n border-style: dashed !important;\n }\n\n .border-none {\n border-style: none !important;\n }\n\n .border-\\[\\#0c75fc\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d5e5f6\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(213 229 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d6d8da\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(214 216 218 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d9d9d9\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(217 217 217 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#e3e4e6\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(227 228 230 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#edeeef\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(237 238 239 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#f0f0f0\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(240 240 240 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[transparent\\] {\n border-color: transparent !important;\n }\n\n .border-blue-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(59 130 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-blue-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(37 99 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-100 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(243 244 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-200 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-800 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n .border-red-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(220 38 38 / var(--tw-border-opacity)) !important;\n }\n\n .border-slate-300 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(203 213 225 / var(--tw-border-opacity)) !important;\n }\n\n .border-stone-400 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(168 162 158 / var(--tw-border-opacity)) !important;\n }\n\n .border-theme-primary {\n --tw-border-opacity: 1 !important;\n border-color: rgb(0 105 254 / var(--tw-border-opacity)) !important;\n }\n\n .border-white {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n .bg-\\[\\#0C75FC\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#0c75fc\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#EAEAEB\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(234 234 235 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#F1F5F9\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#f5faff\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#fafafa\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(250 250 250 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#ffffff80\\] {\n background-color: #ffffff80 !important;\n }\n\n .bg-\\[\\#ffffff99\\] {\n background-color: #ffffff99 !important;\n }\n\n .bg-\\[\\#ffffffb7\\] {\n background-color: #ffffffb7 !important;\n }\n\n .bg-bar {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(224 231 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-black {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-blue-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(107 114 128 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-600 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(75 85 99 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-700 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-green-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(34 197 94 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(254 242 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-300 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(214 211 209 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(168 162 158 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-dark-container {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-light {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-primary {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 105 254 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-transparent {\n background-color: transparent !important;\n }\n\n .bg-white {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(244 244 245 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(161 161 170 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-opacity-10 {\n --tw-bg-opacity: 0.1 !important;\n }\n\n .bg-opacity-100 {\n --tw-bg-opacity: 1 !important;\n }\n\n .bg-opacity-30 {\n --tw-bg-opacity: 0.3 !important;\n }\n\n .bg-opacity-50 {\n --tw-bg-opacity: 0.5 !important;\n }\n\n .bg-opacity-70 {\n --tw-bg-opacity: 0.7 !important;\n }\n\n .bg-button-gradient {\n background-image: linear-gradient(to right, #00daef, #105eff) !important;\n }\n\n .bg-gradient-light {\n background-image: url('/images/bg.png') !important;\n }\n\n .bg-gradient-to-tr {\n background-image: linear-gradient(\n to top right,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .from-\\[\\#31afff\\] {\n --tw-gradient-from: #31afff var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(49 175 255 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .to-\\[\\#1677ff\\] {\n --tw-gradient-to: #1677ff var(--tw-gradient-to-position) !important;\n }\n\n .bg-cover {\n background-size: cover !important;\n }\n\n .bg-center {\n background-position: center !important;\n }\n\n .object-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n\n .p-0 {\n padding: 0px !important;\n }\n\n .p-1 {\n padding: 0.25rem !important;\n }\n\n .p-10 {\n padding: 2.5rem !important;\n }\n\n .p-2 {\n padding: 0.5rem !important;\n }\n\n .p-3 {\n padding: 0.75rem !important;\n }\n\n .p-4 {\n padding: 1rem !important;\n }\n\n .px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .px-28 {\n padding-left: 7rem !important;\n padding-right: 7rem !important;\n }\n\n .px-3 {\n padding-left: 0.75rem !important;\n padding-right: 0.75rem !important;\n }\n\n .px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .px-5 {\n padding-left: 1.25rem !important;\n padding-right: 1.25rem !important;\n }\n\n .px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .py-10 {\n padding-top: 2.5rem !important;\n padding-bottom: 2.5rem !important;\n }\n\n .py-12 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .py-3 {\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n }\n\n .py-4 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .pb-12 {\n padding-bottom: 3rem !important;\n }\n\n .pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .pb-4 {\n padding-bottom: 1rem !important;\n }\n\n .pb-6 {\n padding-bottom: 1.5rem !important;\n }\n\n .pb-8 {\n padding-bottom: 2rem !important;\n }\n\n .pl-0 {\n padding-left: 0px !important;\n }\n\n .pl-10 {\n padding-left: 2.5rem !important;\n }\n\n .pl-12 {\n padding-left: 3rem !important;\n }\n\n .pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .pl-4 {\n padding-left: 1rem !important;\n }\n\n .pl-6 {\n padding-left: 1.5rem !important;\n }\n\n .pl-\\[0\\.6rem\\] {\n padding-left: 0.6rem !important;\n }\n\n .pr-10 {\n padding-right: 2.5rem !important;\n }\n\n .pr-11 {\n padding-right: 2.75rem !important;\n }\n\n .pr-4 {\n padding-right: 1rem !important;\n }\n\n .pr-8 {\n padding-right: 2rem !important;\n }\n\n .pt-0 {\n padding-top: 0px !important;\n }\n\n .pt-12 {\n padding-top: 3rem !important;\n }\n\n .pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .pt-4 {\n padding-top: 1rem !important;\n }\n\n .pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .pt-8 {\n padding-top: 2rem !important;\n }\n\n .\\!text-left {\n text-align: left !important;\n }\n\n .text-center {\n text-align: center !important;\n }\n\n .text-right {\n text-align: right !important;\n }\n\n .align-middle {\n vertical-align: middle !important;\n }\n\n .\\!text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-2xl {\n font-size: 1.5rem !important;\n line-height: 2rem !important;\n }\n\n .text-3xl {\n font-size: 1.875rem !important;\n line-height: 2.25rem !important;\n }\n\n .text-\\[0px\\] {\n font-size: 0px !important;\n }\n\n .text-\\[16px\\] {\n font-size: 16px !important;\n }\n\n .text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-sm {\n font-size: 0.875rem !important;\n line-height: 1.25rem !important;\n }\n\n .text-xl {\n font-size: 1.25rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-xs {\n font-size: 0.75rem !important;\n line-height: 1rem !important;\n }\n\n .font-bold {\n font-weight: 700 !important;\n }\n\n .font-medium {\n font-weight: 500 !important;\n }\n\n .font-normal {\n font-weight: 400 !important;\n }\n\n .font-semibold {\n font-weight: 600 !important;\n }\n\n .uppercase {\n text-transform: uppercase !important;\n }\n\n .lowercase {\n text-transform: lowercase !important;\n }\n\n .italic {\n font-style: italic !important;\n }\n\n .ordinal {\n --tw-ordinal: ordinal !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero)\n var(--tw-numeric-figure) var(--tw-numeric-spacing)\n var(--tw-numeric-fraction) !important;\n }\n\n .leading-10 {\n line-height: 2.5rem !important;\n }\n\n .leading-5 {\n line-height: 1.25rem !important;\n }\n\n .leading-6 {\n line-height: 1.5rem !important;\n }\n\n .leading-7 {\n line-height: 1.75rem !important;\n }\n\n .leading-8 {\n line-height: 2rem !important;\n }\n .\\!text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .\\!text-green-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(34 197 94 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#000000\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0069fe\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0C75FC\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0c75fc\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#121417\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(18 20 23 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1677ff\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1890ff\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(24 144 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1c2533\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(28 37 51 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#2AA3FF\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(42 163 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#525964\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(82 89 100 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#878c93\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(135 140 147 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#ff1b2e\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 27 46 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#ff4d4f\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 77 79 / var(--tw-text-opacity)) !important;\n }\n\n .text-black {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(37 99 235 / var(--tw-text-opacity)) !important;\n }\n\n .text-default {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-300 {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(75 85 99 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-700 {\n --tw-text-opacity: 1 !important;\n color: rgb(55 65 81 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(74 222 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(22 163 74 / var(--tw-text-opacity)) !important;\n }\n\n .text-neutral-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(115 115 115 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(248 113 113 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(220 38 38 / var(--tw-text-opacity)) !important;\n }\n\n .text-slate-900 {\n --tw-text-opacity: 1 !important;\n color: rgb(15 23 42 / var(--tw-text-opacity)) !important;\n }\n\n .text-theme-primary {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-yellow-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(250 204 21 / var(--tw-text-opacity)) !important;\n }\n\n .text-opacity-80 {\n --tw-text-opacity: 0.8 !important;\n }\n\n .underline {\n text-decoration-line: underline !important;\n }\n\n .opacity-0 {\n opacity: 0 !important;\n }\n\n .opacity-100 {\n opacity: 1 !important;\n }\n\n .opacity-30 {\n opacity: 0.3 !important;\n }\n\n .opacity-40 {\n opacity: 0.4 !important;\n }\n\n .opacity-70 {\n opacity: 0.7 !important;\n }\n\n .opacity-75 {\n opacity: 0.75 !important;\n }\n\n .opacity-80 {\n opacity: 0.8 !important;\n }\n\n .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%) !important;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .backdrop-blur {\n --tw-backdrop-blur: blur(8px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(16px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .transition-\\[transfrom_shadow\\] {\n transition-property: transfrom shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-\\[width\\] {\n transition-property: width !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-all {\n transition-property: all !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-colors {\n transition-property: color, background-color, border-color,\n text-decoration-color, fill, stroke !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-opacity {\n transition-property: opacity !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-shadow {\n transition-property: box-shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-transform {\n transition-property: transform !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .duration-200 {\n transition-duration: 200ms !important;\n }\n\n .duration-300 {\n transition-duration: 300ms !important;\n }\n\n .duration-500 {\n transition-duration: 500ms !important;\n }\n\n .ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n }\n\n .animate-duration-200 {\n --tw-animate-duration: 200ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-duration-300 {\n --tw-animate-duration: 300ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-infinite {\n --tw-animate-iteration: infinite !important;\n animation-iteration-count: var(--tw-animate-iteration) !important;\n }\n\n body {\n margin: 0;\n font-family: var(\n --joy-fontFamily-body,\n var(--joy-Josefin Sans, sans-serif)\n );\n line-height: var(--joy-lineHeight-md, 1.5);\n --antd-primary-color: #0069fe;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-appearance: none;\n }\n\n .light {\n color: #333;\n background-color: #f7f7f7;\n }\n\n .dark {\n color: #f7f7f7;\n background-color: #151622;\n }\n\n .dark-sub-bg {\n background-color: rgb(35, 38, 44);\n }\n\n .ant-btn-primary {\n background-color: var(--antd-primary-color);\n }\n\n .ant-pagination .ant-pagination-prev * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-next * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item a {\n color: rgb(176, 176, 191);\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n background-color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: white !important;\n }\n\n .scrollbar-default::-webkit-scrollbar {\n display: block;\n width: 6px;\n }\n\n /* 自定义滚动条样式 */\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n ::-webkit-scrollbar-track {\n background: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n\n .dark\n :where(.css-dev-only-do-not-override-18iikkb).ant-tabs\n .ant-tabs-tab-btn {\n color: white;\n }\n\n :where(.css-dev-only-do-not-override-18iikkb).ant-form-item\n .ant-form-item-label\n > label {\n height: 36px;\n }\n\n @keyframes rotate {\n to {\n transform: rotate(360deg);\n }\n }\n\n // .react-flow__panel {\n // display: none !important;\n // }\n\n #home-container .ant-tabs-tab-active {\n font-size: 16px;\n }\n\n #home-container .ant-tabs-tab {\n font-size: 16px;\n }\n\n #home-container .ant-card-body {\n padding: 12px 24px;\n }\n\n pre {\n width: 100%;\n overflow: auto;\n white-space: pre-wrap;\n // padding-left: 0.5rem;\n }\n\n table {\n display: block;\n width: 100%;\n table-layout: fixed;\n }\n\n .rc-md-editor {\n height: inherit;\n }\n\n .rc-md-editor .editor-container > .section {\n border-right: none !important;\n }\n\n .first-line\\:leading-6::first-line {\n line-height: 1.5rem !important;\n }\n\n .after\\:absolute::after {\n content: var(--tw-content) !important;\n position: absolute !important;\n }\n\n .after\\:-top-8::after {\n content: var(--tw-content) !important;\n top: -2rem !important;\n }\n\n .after\\:h-8::after {\n content: var(--tw-content) !important;\n height: 2rem !important;\n }\n\n .after\\:w-full::after {\n content: var(--tw-content) !important;\n width: 100% !important;\n }\n\n .after\\:bg-gradient-to-t::after {\n content: var(--tw-content) !important;\n background-image: linear-gradient(\n to top,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .after\\:from-theme-light::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #f7f7f7 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .after\\:to-transparent::after {\n content: var(--tw-content) !important;\n --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;\n }\n\n .last-of-type\\:mr-0:last-of-type {\n margin-right: 0px !important;\n }\n\n .hover\\:-translate-y-1:hover {\n --tw-translate-y: -0.25rem !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .hover\\:rounded-xl:hover {\n border-radius: 0.75rem !important;\n }\n\n .hover\\:border-\\[\\#0c75fc\\]:hover {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .hover\\:bg-\\[\\#F1F5F9\\]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-\\[\\#f5faff\\]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-gray-100:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-stone-200:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(231 229 228 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-white:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-opacity-100:hover {\n --tw-bg-opacity: 1 !important;\n }\n\n .hover\\:\\!text-gray-200:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-\\[\\#0c75fc\\]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-\\[\\#1677ff\\]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-blue-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-red-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-theme-primary:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:opacity-100:hover {\n opacity: 1 !important;\n }\n\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),\n 0 4px 6px -4px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .focus\\:shadow-none:focus {\n --tw-shadow: 0 0 #0000 !important;\n --tw-shadow-colored: 0 0 #0000 !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .group:hover .group-hover\\:block {\n display: block !important;\n }\n\n .group\\/item:hover .group-hover\\/item\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group\\/side:hover .group-hover\\/side\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover\\:opacity-70 {\n opacity: 0.7 !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#0c75fc\\]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#6f7f95\\]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(111 127 149 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#ffffff66\\]) {\n border-color: #ffffff66 !important;\n }\n\n :is(.dark .dark\\:border-gray-500) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-600) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(75 85 99 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-700) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(55 65 81 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-800) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-theme-dark) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(21 22 34 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-white) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#212121\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(33 33 33 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#232734\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#242733\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(36 39 51 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#484848\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(72 72 72 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#606264\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#6f7f95\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(111 127 149 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#ffffff29\\]) {\n background-color: #ffffff29 !important;\n }\n\n :is(.dark .dark\\:bg-black) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-900) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-slate-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(30 41 59 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-theme-dark) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-theme-dark-container) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-transparent) {\n background-color: transparent !important;\n }\n\n :is(.dark .dark\\:bg-zinc-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(63 63 70 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-zinc-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(39 39 42 / var(--tw-bg-opacity)) !important;\n }\n :is(.dark :is(.dark .dark\\:dark\\:bg-theme-dark)) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-opacity-50) {\n --tw-bg-opacity: 0.5 !important;\n }\n\n :is(.dark .dark\\:bg-opacity-60) {\n --tw-bg-opacity: 0.6 !important;\n }\n\n :is(.dark .dark\\:bg-gradient-dark) {\n background-image: url('/images/bg_dark.png') !important;\n }\n\n :is(.dark .dark\\:text-\\[\\#ffffffD9\\]) {\n color: #ffffffd9 !important;\n }\n\n :is(.dark .dark\\:text-blue-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-800) {\n --tw-text-opacity: 1 !important;\n color: rgb(31 41 55 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-slate-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(203 213 225 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-stone-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(231 229 228 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-white) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-zinc-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(228 228 231 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:after\\:from-theme-dark)::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #151622 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(21 22 34 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n :is(.dark .dark\\:hover\\:border-white:hover) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-\\[\\#606264\\]:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-theme-dark:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-zinc-900:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(24 24 27 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover\\:dark\\:bg-\\[\\#606264\\]):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover\\:dark\\:bg-black):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:text-white:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:text-zinc-100:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(244 244 245 / var(--tw-text-opacity)) !important;\n }\n\n @media (min-width: 640px) {\n .sm\\:mr-4 {\n margin-right: 1rem !important;\n }\n\n .sm\\:w-60 {\n width: 15rem !important;\n }\n\n .sm\\:grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr)) !important;\n }\n\n .sm\\:pb-10 {\n padding-bottom: 2.5rem !important;\n }\n\n .sm\\:pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .sm\\:text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .sm\\:leading-7 {\n line-height: 1.75rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md\\:block {\n display: block !important;\n }\n\n .md\\:h-full {\n height: 100% !important;\n }\n\n .md\\:w-1\\/2 {\n width: 50% !important;\n }\n\n .md\\:w-1\\/4 {\n width: 25% !important;\n }\n\n .md\\:w-3\\/4 {\n width: 75% !important;\n }\n\n .md\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md\\:gap-4 {\n gap: 1rem !important;\n }\n\n .md\\:border-l {\n border-left-width: 1px !important;\n }\n\n .md\\:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md\\:p-4 {\n padding: 1rem !important;\n }\n\n .md\\:p-6 {\n padding: 1.5rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md\\:block {\n display: block !important;\n }\n\n .md\\:h-full {\n height: 100% !important;\n }\n\n .md\\:w-1\\/2 {\n width: 50% !important;\n }\n\n .md\\:w-1\\/4 {\n width: 25% !important;\n }\n\n .md\\:w-3\\/4 {\n width: 75% !important;\n }\n\n .md\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md\\:gap-4 {\n gap: 1rem !important;\n }\n\n .md\\:border-l {\n border-left-width: 1px !important;\n }\n\n .md\\:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md\\:p-4 {\n padding: 1rem !important;\n }\n\n .md\\:p-6 {\n padding: 1.5rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 1024px) {\n .lg\\:w-1\\/3 {\n width: 33.333333% !important;\n }\n\n .lg\\:w-72 {\n width: 18rem !important;\n }\n\n .lg\\:w-full {\n width: 100% !important;\n }\n\n .lg\\:max-w-\\[80\\%\\] {\n max-width: 80% !important;\n }\n\n .lg\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .lg\\:px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n }\n"]);return eb=function(){return n},n}let ew=tf.Ay.div(eb()),ef=n=>{let{data:t,extraMenu:e,title:i="总结报告",downloadButton:o=!0}=n,[l,s]=(0,a.useState)(!1),c=async()=>{s(!0);let n=document.querySelector(".DownCardClass");if(!n){console.error("Container not found!"),s(!1);return}try{let t=await tL()(n,{useCORS:!0}),e=t.toDataURL("image/png"),r=new tR.Ay,a=r.internal.pageSize.getWidth()-20,i=r.internal.pageSize.getHeight()-20,o=t.height*a/t.width,l=Math.ceil(o/i);Array.from({length:l}).forEach((n,t)=>{r.addImage(e,"PNG",10,-i*t+10,a,o),t(0,r.jsxs)("div",{className:"titleActionWrap",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{style:{width:"32px",height:"32px",padding:"5px 7px",background:"rgb(27 98 255 / 8%)",borderRadius:"8px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,r.jsx)("img",{style:{width:"18px",height:"22px"},src:"/icons/report.svg",alt:""})}),(0,r.jsx)("span",{children:i})]}),(0,r.jsxs)(F.A,{children:[e,o&&(0,r.jsx)(L.Ay,{loading:l,onClick:c,style:{padding:"4px 6px",fontSize:"14px"},children:"下载报告"})]})]}),{}),variant:"borderless",style:{width:"100%"},children:(0,r.jsx)("div",{className:"DownCardClass",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})})})})})};function ev(){let n=(0,tw._)(["\n .vis-utils-markdown {\n position: relative;\n display: flex;\n flex-direction: column;\n .code-copy-btn {\n align-self: flex-end;\n position: absolute;\n top: 0;\n right: 0;\n background: #fff;\n visibility: hidden;\n font-size: 18px;\n .ant-typography-copy {\n color: gray !important;\n }\n }\n .inner-chat-gpt-vis {\n overflow: auto;\n }\n &:hover {\n .code-copy-btn {\n visibility: visible;\n }\n }\n }\n .ant-collapse-content-box {\n padding-top: 0px !important;\n }\n"]);return ev=function(){return n},n}let ey=tf.Ay.div(ev()),{Text:ek}=nd.A,ej=a.memo(n=>{var t,e;let{data:i}=n,{tool_args:o,tool_result:s,markdown:c}=i||{},d=(0,a.useMemo)(()=>{if(!s)return!1;if("object"==typeof s)return!0;try{let n=JSON.parse(s);if(n&&"object"==typeof n)return!0}catch(n){}return!1},[s]),[p,g]=(0,a.useState)(d?"json":"markdown");(0,a.useEffect)(()=>{g(d?"json":"markdown")},[d]);let h=(0,a.useMemo)(()=>{if("json"!==p||!s)return"";if("object"==typeof s)return JSON.stringify(s,null,2);let n=(0,l.j)(s||"",s);return"object"==typeof n&&null!==n?JSON.stringify(n,null,2):String(s)},[s,p]);return(0,r.jsx)(ey,{children:(0,r.jsxs)(F.A,{style:{width:"100%"},direction:"vertical",children:[(0,r.jsx)(t0.A,{size:"small",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:null==i?void 0:i.tool_name}),(0,r.jsx)(nd.A.Text,{style:{fontWeight:"normal"},type:"secondary",children:null==i?void 0:i.tool_desc})]}),items:[{key:"1",label:"耗时",children:(null==i?void 0:i.tool_cost)?"".concat(i.tool_cost,"s"):"-"},{key:"2",label:"工具版本",children:(null==i?void 0:i.tool_version)||"-"},{key:"3",label:"工具作者",children:(null==i?void 0:i.tool_author)||"-"},{key:"4",label:"运行环境",children:(0,r.jsx)(nd.A.Text,{ellipsis:{tooltip:null==i?void 0:i.run_env},children:(null==i?void 0:i.run_env)||"-"})}]}),(0,r.jsx)(t6.A,{style:{width:"100%"},bordered:!1,defaultActiveKey:["in","out"],items:[{key:"in",label:"输入参数",children:(0,r.jsx)(nN,{language:"json",code:JSON.stringify(null!=o?o:{},null,2),light:nG.A})}]}),(0,r.jsx)(t6.A,{style:{width:"100%"},bordered:!1,defaultActiveKey:["out"],items:[{key:"out",label:"输出参数",extra:(0,r.jsx)(tp.A,{value:p,options:[{label:"markdown",value:"markdown"},{label:"json",value:"json"}],onChange:n=>g(null!=n?n:"markdown")}),children:(0,r.jsxs)(r.Fragment,{children:["markdown"===p&&(0,r.jsxs)("div",{className:"vis-utils-markdown",children:[(0,r.jsx)(ek,{className:"code-copy-btn",copyable:{text:"string"==typeof s?s:JSON.stringify(s)}}),(0,r.jsx)(m.A,{className:"whitespace-normal inner-chat-gpt-vis",components:iy,...ij,children:null!=(e=c||("string"==typeof s?null==s||null==(t=s.replaceAll)?void 0:t.call(s,"~","~"):JSON.stringify(s)))?e:""})]}),"json"===p&&(0,r.jsx)(nN,{language:"json",code:h||"",light:nG.A})]})}]})]})})});function eA(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n border-radius: 12px;\n background-color: #ffffff73;\n"]);return eA=function(){return n},n}function e_(){let n=(0,tw._)(["\n width: 100%;\n flex: 1;\n padding: 12px;\n overflow-y: auto;\n .VisContentCardClass {\n background-color: transparent;\n padding: 0;\n .VisStepCardWrap {\n background-color: transparent;\n }\n }\n .thinkLinkBtn {\n display: none;\n }\n"]);return e_=function(){return n},n}let eN=tf.Ay.div(eA()),ez=tf.Ay.div(e_());function eS(){let n=(0,tw._)(["\n position: absolute;\n top: 8px;\n right: 8px;\n cursor: pointer;\n z-index: 10;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);\n &:hover {\n background-color: #f5f5f5;\n }\n"]);return eS=function(){return n},n}let eC=tf.Ay.div(eS()),eF=n=>{let{otherComponents:t,data:e}=n,i=(0,a.useRef)(null);(0,a.useEffect)(()=>{let n=i.current;n&&n.scrollHeight-n.scrollTop-n.clientHeight<=150&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[e]);let o=function(n,t){let[e,r]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!n)return;let e=null,a=null,i=0,o=()=>{let i=document.querySelector(n)||document.querySelector(t);return!!i&&(a&&(clearInterval(a),a=null),r(i.getBoundingClientRect().height),(e=new ResizeObserver(n=>{var t,e,a;r(null!=(a=null==(e=n[0])||null==(t=e.contentRect)?void 0:t.height)?a:0)})).observe(i),!0)};return o()||(a=setInterval(()=>{(o()||++i>=50)&&a&&clearInterval(a)},100)),()=>{null==e||e.disconnect(),a&&clearInterval(a)}},[n,t]),e}("#nex-chat-detail-panel".concat(e.uid),"#nex-chat-detail-panel");return(0,r.jsxs)(eN,{style:{height:"".concat(o||400,"px"),position:"relative"},children:[(0,r.jsx)(eC,{onClick:()=>{te.ee.emit("closePanel")},children:(0,r.jsx)(n5.A,{})}),(0,r.jsx)(ez,{style:o?{border:"1px solid #ebedf1",height:"100%"}:{},className:"AgentContent",ref:i,children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...t||{}},...ij,children:(null==e?void 0:e.markdown)||"-"})})]})};var eE=e(93192),eL=e(48312);function eR(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n"]);return eR=function(){return n},n}function eM(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 5px 8px;\n cursor: ",";\n border-radius: 6px;\n transition: background 0.15s ease;\n\n &:hover {\n background-color: ",";\n }\n\n background-color: ",";\n"]);return eM=function(){return n},n}function eI(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n min-width: 0;\n flex: 1;\n gap: 6px;\n"]);return eI=function(){return n},n}function eO(){let n=(0,tw._)(["\n position: relative;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n"]);return eO=function(){return n},n}function eq(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n border: 1px solid #e2e8f0;\n"]);return eq=function(){return n},n}function eT(){let n=(0,tw._)(["\n font-size: 12px;\n font-weight: 500;\n color: #334155;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"]);return eT=function(){return n},n}function eH(){let n=(0,tw._)(["\n margin-top: 1px;\n margin-left: 10px;\n display: flex;\n flex-direction: column;\n gap: 1px;\n padding-left: 6px;\n"]);return eH=function(){return n},n}function eD(){let n=(0,tw._)(["\n padding-left: 2px;\n"]);return eD=function(){return n},n}function eQ(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n padding: 8px;\n background: transparent;\n overflow-y: auto;\n"]);return eQ=function(){return n},n}function eP(){let n=(0,tw._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return eP=function(){return n},n}function eB(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n padding: 6px 10px;\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: #334155;\n transition: background 0.15s ease;\n\n &:hover {\n background: #e8ecf1;\n }\n\n .title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 500;\n }\n"]);return eB=function(){return n},n}function eV(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n padding: 4px;\n background: transparent;\n overflow-y: auto;\n \n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 2px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n"]);return eV=function(){return n},n}let eU=tf.Ay.div(eR()),eK=tf.Ay.div(eM(),n=>n.$hasChildren?"pointer":"default",n=>n.$isSelected?"#dbeafe":"#e8ecf1",n=>n.$isSelected?"#eff6ff":"transparent"),e$=tf.Ay.div(eI()),eJ=tf.Ay.div(eO()),eW=tf.Ay.img(eq()),eY=tf.Ay.h3(eT()),eX=tf.Ay.div(eH()),eG=tf.Ay.div(eD()),eZ=tf.Ay.div(eQ()),e0=tf.Ay.ul(eP()),e1=tf.Ay.li(eB()),e2=tf.Ay.div(eV()),e5={report:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*xaTaQ5rDghgAAAAALTAAAAgAeprcAQ/original",tool:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",blankaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",knowledge:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*P2sCQKUZoAUAAAAAOhAAAAgAeprcAQ/original",code:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",deriskcodeaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*F4pAT4italwAAAAANhAAAAgAeprcAQ/original",agent:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",plan:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",planningaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",llm:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",stage:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",task:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",hidden:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",default:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original"},e4=n=>{let{status:t}=n;switch(t){case"complete":return(0,r.jsx)(nQ.A,{style:{color:"#52c41a",fontSize:12,marginRight:6}});case"running":case"retrying":return(0,r.jsx)(nP.A,{style:{color:"#1677ff",fontSize:12,marginRight:6}});case"failed":return(0,r.jsx)(eL.A,{style:{color:"#ff4d4f",fontSize:12,marginRight:6}});default:return(0,r.jsx)(nQ.A,{style:{color:"#595959",fontSize:12,marginRight:6}})}};function e6(n){return!!("string"==typeof n.item_type||Array.isArray(n.items)&&n.items.some(n=>null!=n.item_type))}let e3=n=>{var t,e;let{data:i}=n,[o,l]=(0,a.useState)([]),[s,c]=(0,a.useState)(null),[d,p]=(0,a.useState)([]),g=(0,a.useMemo)(()=>{var n,t;return e6(i)?i:(null==(n=i.items)?void 0:n.length)?{uid:null!=(t=i.uid)?t:"root",item_type:"folder",items:i.items,agent_name:i.agent_name,avatar:i.avatar,description:i.description}:{uid:"root",item_type:"folder",items:[],dynamic:!1}},[i]),h=(0,a.useMemo)(()=>{let n=JSON.parse(JSON.stringify(g));return d.forEach(t=>{var e;if(t.path===n.uid){n.items=[...n.items||[],t];return}let r=null==(e=n.items)?void 0:e.find(n=>n.uid===t.path);r&&(r.items=[...r.items||[],t])}),n},[g,d]);(0,a.useEffect)(()=>{let n=n=>{p(t=>t.some(t=>t.uid===n.folderItem.uid)?t.map(t=>t.uid===n.folderItem.uid?n.folderItem:t):[...t,n.folderItem])},t=n=>c(n.uid);return te.ee.on("addTask",n),te.ee.on("clickFolder",t),()=>{te.ee.off("addTask",n),te.ee.off("clickFolder",t)}},[]);let x=n=>{let t=o.includes(n.uid),e="folder"===n.item_type,a="file"===n.item_type;return(0,r.jsxs)(eU,{children:[(0,r.jsx)(eK,{$isSelected:!!(n.uid&&n.uid===s),$hasChildren:!!e,className:n.uid===s?"breathing-text":"",onClick:()=>{e&&l(e=>t?e.filter(t=>t!==n.uid):[...e,n.uid]),a&&(c(n.uid),te.ee.emit("clickFolder",{uid:n.uid}))},children:(0,r.jsxs)(e$,{children:[e&&(t?(0,r.jsx)(ts.A,{style:{fontSize:"0.625rem",color:"#6b7280"}}):(0,r.jsx)(tl.A,{style:{fontSize:"0.625rem",color:"#6b7280"}})),n.avatar&&!a&&(0,r.jsx)(eJ,{children:(0,r.jsx)(eW,{src:n.avatar,alt:""})}),a&&(0,r.jsx)(eJ,{children:n.task_type?(0,r.jsx)("img",{src:e5[String(String(n.task_type)).toLowerCase()]||e5.default,alt:""}):(0,r.jsx)(eE.A,{})}),(0,r.jsx)(eY,{children:n.agent_name||n.title||n.uid})]})}),!t&&n.items&&n.items.length>0&&(0,r.jsx)(eX,{children:n.items.map(n=>(0,r.jsx)(eG,{children:x(n)},n.uid))})]},n.uid)},u=(null==(t=i.items)?void 0:t.length)&&!e6(i)&&!i.explorer,b=null!=(e=i.items)?e:[];if((0,a.useEffect)(()=>{u&&b.forEach(n=>{te.ee.emit("addTask",{folderItem:n})})},[u,b.length]),i.explorer&&!e6(i))return(0,r.jsx)(eZ,{children:(0,r.jsx)(m.A,{components:iy,...ij,children:i.explorer})});if(u){let n=n=>te.ee.emit("clickFolder",{uid:n});return(0,r.jsx)(eZ,{children:(0,r.jsx)(e0,{children:b.map(t=>{var e;return(0,r.jsxs)(e1,{role:"button",tabIndex:0,onClick:()=>n(t.uid),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n(t.uid))},children:[(0,r.jsx)(e4,{status:t.status}),(0,r.jsx)("span",{className:"title",children:null!=(e=t.title)?e:t.uid})]},t.uid)})})})}return(0,r.jsx)(e2,{children:x(h)})};var e7=e(14808),e8=e(38962),e9=e(60779),rn=e(30832),rt=e.n(rn),re=e(60363),rr=e.n(re);function ra(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: transparent;\n overflow: hidden;\n"]);return ra=function(){return n},n}function ri(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 12px;\n border-bottom: 1px solid #e2e8f0;\n background: #f8fafc;\n flex-shrink: 0;\n"]);return ri=function(){return n},n}function ro(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n gap: 6px;\n \n .title-text {\n font-size: 13px;\n font-weight: 600;\n color: #334155;\n }\n"]);return ro=function(){return n},n}function rl(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n gap: 2px;\n"]);return rl=function(){return n},n}function rs(){let n=(0,tw._)(["\n display: flex;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n background: transparent;\n"]);return rs=function(){return n},n}function rc(){let n=(0,tw._)(["\n width: 240px;\n min-width: 240px;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n padding: 8px;\n background: transparent;\n border-right: 1px solid #f1f5f9;\n flex-shrink: 0;\n display: ",";\n \n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 2px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n"]);return rc=function(){return n},n}function rd(){let n=(0,tw._)(["\n flex: 1;\n min-width: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background: transparent;\n"]);return rd=function(){return n},n}function rp(){let n=(0,tw._)(["\n flex-shrink: 0;\n padding: 8px 12px;\n border-bottom: 1px solid #f1f5f9;\n background: transparent;\n \n .time-text {\n font-size: 11px;\n color: #64748b;\n font-weight: 500;\n }\n"]);return rp=function(){return n},n}function rm(){let n=(0,tw._)(["\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n padding: 12px;\n background: transparent;\n \n &::-webkit-scrollbar {\n width: 6px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n \n /* 确保 GPTVis 内容正确滚动 */\n & > div {\n max-width: 100%;\n }\n"]);return rm=function(){return n},n}function rg(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n color: #64748b;\n font-size: 13px;\n transition: all 0.15s ease;\n \n &:hover {\n background: #e2e8f0;\n color: #334155;\n }\n \n &:active {\n background: #cbd5e1;\n }\n"]);return rg=function(){return n},n}let rh=tf.Ay.div(ra()),rx=tf.Ay.div(ri()),ru=tf.Ay.div(ro()),rb=tf.Ay.div(rl()),rw=tf.Ay.div(rs()),rf=tf.Ay.div(rc(),n=>n.$visible?"block":"none"),rv=tf.Ay.div(rd()),ry=tf.Ay.div(rp()),rk=tf.Ay.div(rm()),rj=tf.Ay.button(rg()),rA={complete:(0,r.jsx)(nQ.A,{style:{color:"#10b981",fontSize:14}}),todo:(0,r.jsx)(nQ.A,{style:{color:"#9ca3af",fontSize:14}}),running:(0,r.jsx)(nP.A,{style:{color:"#3b82f6",fontSize:14}}),waiting:(0,r.jsx)(e7.A,{style:{color:"#f59e0b",fontSize:14}}),retrying:(0,r.jsx)(c.A,{style:{color:"#3b82f6",fontSize:14}}),failed:(0,r.jsx)(eL.A,{style:{color:"#ef4444",fontSize:14}})},r_=n=>{var t,e,i,o;let{otherComponents:l,data:s}=n,[c,d]=(0,a.useState)(""),[p,g]=(0,a.useState)(!0),h=(0,a.useRef)(null),x=(0,a.useMemo)(()=>rr()(s.items,"uid"),[s.items]);(0,a.useEffect)(()=>{let n=n=>{d(n.uid)};return te.ee.on(te.q.CLICK_FOLDER,n),()=>{te.ee.off(te.q.CLICK_FOLDER,n)}},[]),(0,a.useEffect)(()=>{s.items.forEach(n=>{te.ee.emit(te.q.ADD_TASK,{folderItem:n})})},[s.items]);let u=null==(t=s.items[s.items.length-1])?void 0:t.markdown;(0,a.useEffect)(()=>{var n;null==(n=h.current)||n.scrollTo({top:h.current.scrollHeight,behavior:"smooth"})},[null==x||null==(e=x[c])?void 0:e.markdown,u]);let b=(0,a.useCallback)(()=>{te.ee.emit(te.q.CLOSE_PANEL)},[]),w=(0,a.useCallback)(()=>{g(n=>!n)},[]),f=(0,a.useMemo)(()=>(0,r.jsx)(rf,{$visible:p,children:(0,r.jsx)(m.A,{components:{...iy,...l||{}},...ij,children:s.explorer||"-"})}),[p,s.explorer,l]),v=(null==(i=x[c])?void 0:i.markdown)||(null==(o=s.items[s.items.length-1])?void 0:o.markdown)||"-",y=(0,a.useMemo)(()=>(0,r.jsx)(rk,{ref:h,children:(0,r.jsx)(m.A,{className:"prose prose-sm max-w-none",components:{...iy,...l||{}},...ij,children:v})}),[v,l]),k=x[c];return(0,r.jsxs)(rh,{children:[(0,r.jsxs)(rx,{children:[(0,r.jsxs)(ru,{children:[(0,r.jsx)(rj,{onClick:w,title:p?"收起目录":"展开目录",children:p?(0,r.jsx)(e8.A,{}):(0,r.jsx)(e9.A,{})}),(0,r.jsx)("span",{className:"title-text",children:"工作空间"})]}),(0,r.jsx)(rb,{children:(0,r.jsx)(rj,{onClick:b,title:"关闭工作空间",children:(0,r.jsx)(n5.A,{})})})]}),(0,r.jsxs)(rw,{children:[f,(0,r.jsxs)(rv,{$explorerVisible:p,children:[(null==k?void 0:k.start_time)&&(0,r.jsx)(ry,{children:(0,r.jsxs)(F.A,{size:8,children:[rA[k.status]||rA.running,(0,r.jsx)("span",{className:"time-text",children:rt()(k.start_time).format("HH:mm:ss")})]})}),y]})]})]})};var rN=e(75866),rz=e(30961),rS=e(82769),rC=e(16301);let rF=n=>(0,r.jsx)("div",{className:"uni-chat-markdown-container whitespace-normal",children:(0,r.jsx)(rz.oz,{remarkPlugins:[rC.A,f.A],rehypePlugins:[w.A,rS.A],children:n})}),rE=n=>{let{content:t,isLoading:e=!1,isTyping:a=!1}=n;return(0,r.jsx)(rN.A,{placement:"start",content:t,messageRender:n=>rF(n),typing:a,style:{width:"100%",marginInlineEnd:"auto"},styles:{content:{background:"#fff",borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap"},footer:{alignSelf:"stretch"}},loading:e})};function rL(){let n=(0,tw._)(["\n .d-thinking-title {\n font-size: 16px;\n background: rgb(245, 245, 245);\n font-size: 14px;\n display: inline-flex;\n padding: 6px 10px;\n border-radius: 6px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n user-select: none;\n }\n .d-icon {\n transform: rotate(90deg);\n transition: all 0.3s ease;\n }\n .rotate {\n transform: rotate(0);\n transition: all 0.3s ease;\n }\n"]);return rL=function(){return n},n}let rR=tf.Ay.div(rL()),rM=n=>{let{data:t,style:e,collapseTitle:i="深度思考过程",otherComponents:o,expand:l=!0}=n,[s,c]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{c(l)},[l]),(0,r.jsxs)(rR,{style:{background:"transparent",...e||{}},className:"DThinkCardClass",children:[(0,r.jsx)("div",{className:"d-thinking-title",onClick:()=>c(!s),children:(0,r.jsx)(nd.A.Text,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:i}),(0,r.jsx)(tl.A,{className:s?"rotate":"d-icon"})]})})}),(0,r.jsx)("div",{className:"d-thinking-content",style:{display:s?"block":"none"},children:(0,r.jsx)(nd.A.Paragraph,{children:(0,r.jsx)("blockquote",{children:(0,r.jsx)(nd.A.Text,{type:"secondary",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...o||{}},...ij,children:(null==t?void 0:t.markdown)||"-"})})})})})]})};function rI(){let n=(0,tw._)(["\n width: 100%;\n height: auto;\n margin-top: 8px;\n padding-left: 8px;\n .refItem {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n cursor: pointer;\n }\n"]);return rI=function(){return n},n}let rO=tf.Ay.div(rI()),rq=n=>{let{data:t}=n;return(0,r.jsx)(rO,{children:t&&(null==t?void 0:t.length)>0&&(0,r.jsxs)(F.A,{wrap:!0,style:{width:"100%"},children:[(0,r.jsx)("span",{children:"参考:\xa0"}),null==t?void 0:t.map(n=>(0,r.jsxs)(h.A,{className:"refItem",onClick:()=>window.open(null==n?void 0:n.ref_link),children:[(0,r.jsx)("span",{children:null==n?void 0:n.ref_index}),(0,r.jsx)("span",{style:{margin:"0 4px",color:"#1b62ff31"},children:"|"}),(0,r.jsx)("span",{children:null==n?void 0:n.ref_name})]},null==n?void 0:n.ref_link))]})})};function rT(){let n=(0,tw._)(["\n margin: 6px 0;\n margin-top: 0;\n .ant-collapse-header {\n // padding: 8px 12px !important;\n line-height: 1em !important;\n padding: 12px !important;\n align-items: center !important;\n\n .ant-collapse-expand-icon {\n padding-inline-end: 0 !important;\n }\n }\n\n .ant-collapse-content-box {\n padding: 0 12px !important;\n }\n .ant-collapse-content {\n .ant-bubble-content {\n margin: 0;\n background: none;\n }\n }\n .ant-collapse-item {\n border-radius: 16px !important;\n background: rgba(0, 0, 0, 0.06);\n display: inline-block;\n }\n .ant-collapse-item-active {\n margin-bottom: 0;\n display: block;\n }\n"]);return rT=function(){return n},n}let rH=tf.Ay.div(rT()),rD=n=>{let{data:t}=n,[e,i]=(0,a.useState)(["1"]),{setStepParams:o}=(0,a.useContext)(j.UK)||{},{visMsgData:l}=(0,a.useContext)(j.V)||{},{panelAction:s}=(0,a.useContext)(j.cE)||{};return(0,r.jsx)(rH,{style:{background:"transparent"},children:(0,r.jsx)(t6.A,{defaultActiveKey:["1"],activeKey:e,ghost:!0,onChange:n=>i(n),items:[{key:"1",label:(0,r.jsx)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center"},children:[(0,r.jsx)("img",{src:"/icons/thinking.svg",style:{width:"17px"}}),(0,r.jsx)("span",{style:{margin:"0 8px"},children:"深度思考过程"}),(null==e?void 0:e.length)>0?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})]})}),children:(0,r.jsx)(rN.A,{placement:"start",messageRender:()=>{if(null==t?void 0:t.markdown)return(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})},style:{width:"100%",borderTop:"1px solid #ccc"},styles:{content:{width:"100%",borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap",padding:"12px 0",color:"#6A7380"},footer:{alignSelf:"stretch"}}})}]})})};function rQ(){let n=(0,tw._)(["\n width: 100%;\n min-width: 0;\n display: flex;\n flex-direction: column;\n padding: 3px 0;\n\n &.selected {\n .header-plan {\n background: #eff6ff;\n border-color: #bfdbfe;\n }\n }\n\n .header {\n width: 100%;\n border-radius: 8px;\n padding: 8px 10px;\n color: #334155;\n background: transparent;\n transition: background 0.15s ease;\n }\n\n .header-row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n .content-header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n gap: 6px;\n\n .task-icon {\n width: 14px;\n height: 14px;\n flex-shrink: 0;\n }\n }\n\n .result {\n display: flex;\n flex-direction: column;\n width: 100%;\n border-radius: 6px;\n }\n }\n\n .title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n color: #1e293b;\n }\n\n .description {\n font-size: 12px;\n color: #64748b;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .header-right {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n }\n\n .status {\n color: #475569;\n margin-left: 8px;\n border-radius: 10px;\n padding: 2px 8px;\n background: #f1f5f9;\n font-size: 11px;\n font-weight: 500;\n }\n\n .expand-btn {\n padding: 0;\n width: 22px;\n height: 22px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.15s ease;\n font-size: 12px;\n color: #94a3b8;\n border-radius: 4px;\n\n &:hover {\n color: #475569;\n background: #f1f5f9;\n }\n\n &.collapsed {\n transform: rotate(-90deg);\n }\n\n &.expanded {\n transform: rotate(0deg);\n }\n }\n\n .divider {\n margin: 0;\n border-color: #f1f5f9;\n }\n\n .markdown-content {\n width: 100%;\n animation: fadeIn 0.2s ease;\n }\n\n .markdown-content-wrap {\n width: 100%;\n background: transparent;\n padding: 6px 0 0 0;\n }\n\n .markdown-content-wrap-stage {\n border-left: 2px solid #e2e8f0;\n padding-left: 12px;\n margin-left: 6px;\n }\n\n .stage-icon-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #eff6ff;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n }\n\n .title-text {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n\n .result-title {\n display: flex;\n justify-content: space-between;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n transition: background 0.15s ease;\n cursor: pointer;\n border-radius: 6px;\n padding: 2px 4px;\n\n &:hover {\n background: #f8fafc;\n }\n }\n\n .result-icon {\n width: 14px;\n height: 14px;\n margin-right: 4px;\n }\n\n .result-content {\n font-size: 12px;\n max-height: 200px;\n overflow: auto;\n }\n\n .time-info {\n display: flex;\n flex: 1;\n justify-content: flex-end;\n color: #94a3b8;\n font-size: 11px;\n gap: 8px;\n }\n\n .content-wrapper {\n width: 100%;\n }\n\n .time-cost {\n font-weight: 500;\n color: #64748b;\n }\n\n .task-description {\n color: #64748b;\n margin-top: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n font-size: 12px;\n }\n\n .task-description-level-0 {\n font-size: 13px;\n }\n\n .task-description-level-other {\n font-size: 12px;\n }\n\n .agent_name {\n display: flex;\n align-items: center;\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .agent_name-badge {\n background: #f1f5f9;\n padding: 2px 8px;\n margin: 0 4px 0 2px;\n border-radius: 10px;\n font-size: 11px;\n font-weight: 500;\n color: #475569;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .header-plan {\n background: #ffffff;\n border: 1px solid #e2e8f0;\n border-radius: 10px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n\n &:hover {\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n }\n }\n\n .header-task {\n width: fit-content;\n max-width: 85%;\n background: #f8fafc;\n border: 1px solid #e2e8f0;\n border-radius: 16px;\n padding: 5px 12px;\n transition: all 0.15s ease;\n cursor: pointer;\n\n &:hover {\n background: #f1f5f9;\n }\n\n .task-icon {\n width: 13px;\n height: 13px;\n margin-right: 4px;\n }\n\n .title-task-with-markdown {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n\n .title-text-ellipsis:first-child {\n flex-shrink: 1;\n max-width: none;\n }\n }\n\n .task-title-markdown-line {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n\n .task-title-description-line {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n color: #64748b;\n font-size: 11px;\n }\n }\n\n .header-agent {\n background: #ffffff;\n border: 1px solid #e2e8f0;\n border-radius: 10px;\n padding: 10px 12px;\n transition: all 0.15s ease;\n cursor: pointer;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n\n &:hover {\n background: #f8fafc;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n }\n\n .task-icon {\n margin-right: 4px;\n }\n\n .agent_name-leading {\n flex: 1;\n min-width: 0;\n font-size: 14px;\n font-weight: 600;\n max-width: none;\n\n .avatar-shrink {\n flex-shrink: 0;\n }\n\n .agent_name-badge {\n font-size: 13px;\n font-weight: 500;\n padding: 2px 10px;\n }\n }\n }\n\n .header-stage {\n background: transparent;\n border-radius: 6px;\n padding: 6px 8px 6px 0;\n transition: background 0.15s ease;\n cursor: pointer;\n\n &:hover {\n background: transparent;\n }\n\n .content-header {\n padding-left: 0;\n }\n\n .task-icon {\n width: 16px;\n margin-right: 6px;\n margin-left: 0;\n }\n\n .title-text {\n font-size: 13px;\n font-weight: 500;\n }\n }\n\n .header-default {\n }\n\n .title-container {\n font-size: 13px;\n }\n\n .title-level-0 {\n font-size: 14px;\n font-weight: 600;\n }\n\n .title-level-1 {\n font-size: 13px;\n font-weight: 500;\n }\n\n .title-level-2 {\n font-size: 12px;\n font-weight: 500;\n }\n\n .title-text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n flex: 1;\n }\n\n .title-flex-container {\n display: flex;\n align-items: center;\n width: 100%;\n overflow: hidden;\n justify-content: space-between;\n }\n\n .result-title-container {\n font-size: 13px;\n }\n\n .result-title-outer {\n font-size: 13px;\n }\n\n .result-title-inner {\n font-size: 12px;\n }\n\n .result-title-flex {\n display: flex;\n overflow: hidden;\n align-items: flex-start;\n }\n\n .result-icon-style {\n flex-shrink: 0;\n }\n\n .result-icon-outer {\n margin-top: 2px;\n }\n\n .avatar-shrink {\n flex-shrink: 0;\n }\n\n .button-shrink {\n flex-shrink: 0;\n }\n\n .status-badge {\n background: #f1f5f9;\n font-size: 11px;\n flex-shrink: 0;\n font-weight: 500;\n border-radius: 10px;\n padding: 2px 8px;\n }\n\n .flex-container {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n\n .task-description-container {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"]);return rQ=function(){return n},n}let rP=tf.Ay.div(rQ());var rB=e(30322);let rV={todo:"待执行",running:"执行中",waiting:"等待中",retrying:"重试中",failed:"失败",complete:"成功"},rU={report:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*xaTaQ5rDghgAAAAALTAAAAgAeprcAQ/original",tool:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",blankaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",knowledge:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*P2sCQKUZoAUAAAAAOhAAAAgAeprcAQ/original",code:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",deriskcodeaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*F4pAT4italwAAAAANhAAAAgAeprcAQ/original",agent:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",plan:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",planningaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",stage:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",llm:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",task:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",hidden:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",default:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original"},rK={tool:"工具调用",code:"代码执行",report:"报告生成",knowledge:"知识检索",monitor:"监控检查",agent:"智能体",plan:"计划规划",stage:"阶段任务",llm:"LLM推理",task:"任务执行",blankaction:"空白操作",deriskcodeaction:"代码执行",planningaction:"规划动作",hidden:"隐藏任务",default:"任务"},r$=n=>rK[String(n).toLowerCase()]||n,rJ={complete:(0,r.jsx)(nQ.A,{style:{color:"#52c41a",fontSize:12}}),todo:(0,r.jsx)(nQ.A,{style:{color:"#595959",fontSize:12}}),running:(0,r.jsx)(nP.A,{style:{color:"#1677ff",fontSize:12}}),waiting:(0,r.jsx)(e7.A,{style:{color:"#f5dc62",fontSize:12}}),retrying:(0,r.jsx)(c.A,{style:{color:"#1677ff",fontSize:12}}),failed:(0,r.jsx)(eL.A,{style:{color:"#ff4d4f",fontSize:12}})},rW=a.memo(n=>{var t,e,i,o,l,s,c,d,p,g;let{otherComponents:h,data:x}=n,[u,b]=(0,a.useState)(null==(t=x.expand)||t),[w,f]=(0,a.useState)(!1),[v,y]=(0,a.useState)(null!=(e=null==x?void 0:x.cost)?e:0),k=(0,a.useMemo)(()=>(null==x?void 0:x.uid)||(null==x?void 0:x.task_id)||"",[null==x?void 0:x.uid,null==x?void 0:x.task_id]),j=()=>{b(n=>!n)};(0,a.useEffect)(()=>{void 0!==x.expand&&b(!!x.expand)},[x.expand]),(0,a.useEffect)(()=>{let n=null;if((null==x?void 0:x.cost)===0&&(null==x?void 0:x.status)==="running")y(0),n=setInterval(()=>{y(n=>n+1)},1e3);else{var t;y(null!=(t=null==x?void 0:x.cost)?t:0)}return()=>{n&&clearInterval(n)}},[null==x?void 0:x.cost,null==x?void 0:x.status]),(0,a.useEffect)(()=>{let n=n=>{let t=(null==n?void 0:n.uid)===k;console.log("[VisAgentPlanCard] clickFolder received",{payloadUid:null==n?void 0:n.uid,myUid:k,matched:t}),t?f(!0):f(!1)};return te.ee.on(te.q.CLICK_FOLDER,n),()=>{te.ee.off(te.q.CLICK_FOLDER,n)}},[k]);let A=(null==x?void 0:x.markdown)||Array.isArray(null==x?void 0:x.children)&&x.children.length>0,_=(null==x?void 0:x.task_type)==="report",N=(null==x?void 0:x.item_type)==="plan",z=(null==x?void 0:x.item_type)==="task",S=(null==x?void 0:x.item_type)==="agent",C=(null==x?void 0:x.item_type)==="stage",F=null!=(i=null==x?void 0:x.layer_count)?i:0,R=(0,a.useMemo)(()=>u&&(null==x?void 0:x.markdown)?(0,r.jsx)("div",{className:"markdown-content-wrap ".concat(C?"markdown-content-wrap-stage":""),children:(0,r.jsx)(m.A,{components:{...iy,...null!=h?h:{}},...ij,children:String(x.markdown)})}):null,[u,null==x?void 0:x.markdown,C,h]);return(0,r.jsxs)(rP,{onClick:n=>{n.stopPropagation(),k&&(te.ee.emit(te.q.CLICK_FOLDER,{uid:k}),te.ee.emit(te.q.OPEN_PANEL))},className:"VisAgentPlanCardClass level-".concat(F," ").concat(w&&N?"selected":""),children:[(0,r.jsx)("div",{className:"header ".concat(N?"header-plan":""," ").concat(z?"header-task":""," ").concat(S?"header-agent":""," ").concat(C?"header-stage":""," ").concat(N||z||S||C?"":"header-default"),onClick:j,children:(0,r.jsxs)("div",{className:"content-wrapper",children:[(0,r.jsx)("div",{className:"header-row",children:(0,r.jsxs)("div",{className:"content-header",children:[!!(null==x?void 0:x.agent_name)&&!C&&(0,r.jsxs)("div",{className:"agent_name ".concat(S?"agent_name-leading":""),title:String(x.agent_name),children:[(N||S)&&(0,r.jsx)(t2.A,{size:S?28:20,src:x.agent_avatar,className:"avatar-shrink"}),(0,r.jsx)("div",{className:"agent_name-badge",children:(0,r.jsx)(E.A,{title:String(x.agent_name),children:String(x.agent_name)})})]}),(z||C)&&(C?(0,r.jsx)("div",{className:"task-icon stage-icon-wrapper",children:(0,r.jsx)(rB.A,{style:{color:"#1677ff",fontSize:14}})}):(0,r.jsx)(E.A,{title:r$(String(null==x?void 0:x.task_type)),children:(0,r.jsx)("img",{className:"task-icon",src:rU[String(String(null==x?void 0:x.task_type)).toLowerCase()]||rU.default,alt:r$(String(null==x?void 0:x.task_type))})})),!S&&(0,r.jsx)("div",{className:"title title-text title-level-".concat(F," ").concat(z?"title-task-with-markdown":""),children:(0,r.jsxs)("div",{className:"title-flex-container",children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",flex:"1 1 0%",minWidth:0,overflow:"hidden"},children:[z&&(null==x?void 0:x.description)!=null?(0,r.jsxs)("span",{className:"title-text-ellipsis task-title-description-line",title:"".concat(null!=(o=null==x?void 0:x.title)?o:"未命名任务"," ").concat(String(x.description)),children:[String(null!=(l=null==x?void 0:x.title)?l:"未命名任务")," ",String(x.description)]}):(0,r.jsx)("span",{className:"title-text-ellipsis",children:(0,r.jsx)(E.A,{title:String(null!=(s=null==x?void 0:x.title)?s:"未命名任务"),children:String(null!=(c=null==x?void 0:x.title)?c:"未命名任务")})}),A&&!_&&(0,r.jsx)(L.Ay,{type:"text",size:"small",icon:u?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{}),onClick:n=>{n.stopPropagation(),j()},className:"expand-btn ".concat(u?"expanded":"collapsed"," button-shrink")})]}),z||C?(0,r.jsx)("span",{className:"button-shrink",style:{marginLeft:8},children:rJ[null!=(d=null==x?void 0:x.status)?d:"running"]}):(0,r.jsx)("span",{className:"status status-badge",children:(n=>{var t,e;return null!=(e=null!=(t=rV[n])?t:n)?e:"成功"})(null!=(p=null==x?void 0:x.status)?p:"")})]})})]})}),(0,r.jsxs)("div",{className:"flex-container",children:[!!(null==x?void 0:x.description)&&F<2&&!S&&!z&&(0,r.jsx)("div",{className:"task-description ".concat(0===F?"task-description-level-0":"task-description-level-other"," task-description-container"),children:(0,r.jsx)(E.A,{title:String(x.description),children:String(x.description)})}),N&&(0,r.jsxs)("div",{className:"time-info",children:[(0,r.jsx)("div",{children:(n=>{if(!n)return"";try{let t=new Date(n);if(Number.isNaN(t.getTime()))return n;let e=String(t.getHours()).padStart(2,"0"),r=String(t.getMinutes()).padStart(2,"0"),a=String(t.getSeconds()).padStart(2,"0");return"".concat(e,":").concat(r,":").concat(a)}catch(t){return n}})(null!=(g=null==x?void 0:x.start_time)?g:"")}),(0,r.jsxs)("div",{className:"time-cost",children:[v," s"]})]})]})]})}),R]})});function rY(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 8px 12px;\n background: #fff;\n white-space: normal;\n"]);return rY=function(){return n},n}let rX=tf.Ay.div(rY()),rG=n=>{let{data:t}=n;return(0,r.jsx)(rX,{className:"VisContentCardClass",children:(0,r.jsx)(m.A,{components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})})};var rZ=e(47562);function r0(){let n=(0,tw._)(["\n width: 100%;\n margin-top: 8px;\n padding: 8px 0;\n\n .attachItem {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n cursor: pointer;\n padding: 2px 8px;\n display: inline-flex;\n align-items: center;\n\n .attachIcon {\n font-size: 14px;\n margin-right: 2px;\n }\n }\n"]);return r0=function(){return n},n}function r1(){let n=(0,tw._)(["\n background: rgb(27 98 255 / 6%);\n border: 1px solid rgb(27 98 255 / 20%);\n border-radius: 6px;\n padding: 4px 10px;\n display: inline-flex;\n align-items: center;\n transition: background-color 0.2s, border-color 0.2s;\n\n &:hover {\n background: rgb(27 98 255 / 10%);\n border-color: rgb(27 98 255 / 30%);\n }\n\n .attachIcon {\n font-size: 15px;\n color: #1b62ff;\n }\n\n .attachName {\n font-size: 13px;\n color: #262626;\n }\n\n .attachSize {\n font-size: 12px;\n }\n\n .attachAction {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n color: #8c8c8c;\n cursor: pointer;\n transition: color 0.2s, background-color 0.2s;\n margin-left: 4px;\n\n &:hover {\n color: #1b62ff;\n background: rgb(27 98 255 / 10%);\n }\n }\n"]);return r1=function(){return n},n}let r2=tf.Ay.div(r0()),r5=tf.Ay.div(r1());var r4=e(54657),r6=e(89123),r3=e(50407),r7=e(70302),r8=e(23399),r9=e(62190),an=e(11236);function at(n){return 0===n?"0 B":n<1024?"".concat(n," B"):n<1048576?"".concat((n/1024).toFixed(1)," KB"):n<0x40000000?"".concat((n/1048576).toFixed(1)," MB"):"".concat((n/0x40000000).toFixed(1)," GB")}function ae(n){return"unknown"!==function(n){if(!n)return"unknown";let t=n.toLowerCase();return t.startsWith("text/")?"text/markdown"===t||"text/x-markdown"===t?"text":"text/csv"===t?"csv":"text":"application/json"===t?"json":t.startsWith("image/")?"image":"application/pdf"===t?"pdf":"application/javascript"===t||"application/typescript"===t||"text/html"===t||"text/css"===t||"text/xml"===t?"code":"unknown"}(n)}function ar(n,t){let e=(null==t?void 0:t.toLowerCase())||"";if("application/pdf"===e)return r4.A;if(e.startsWith("image/"))return r6.A;if("text/markdown"===e||"text/x-markdown"===e)return r3.A;if("application/json"===e||"text/javascript"===e||"application/typescript"===e)return ei.A;if("text/csv"===e||"application/vnd.ms-excel"===e||e.includes("spreadsheet"))return r7.A;if("application/msword"===e||"application/vnd.openxmlformats-officedocument.wordprocessingml.document"===e)return r8.A;if("application/vnd.ms-powerpoint"===e||"application/vnd.openxmlformats-officedocument.presentationml.presentation"===e)return r9.A;if(e.startsWith("text/"))return eE.A;if("application/zip"===e||"application/x-rar-compressed"===e||e.includes("compressed"))return an.A;if(n){var r;switch(null==(r=n.split(".").pop())?void 0:r.toLowerCase()){case"pdf":return r4.A;case"jpg":case"jpeg":case"png":case"gif":case"bmp":case"webp":case"svg":return r6.A;case"md":case"markdown":return r3.A;case"js":case"ts":case"jsx":case"tsx":case"py":case"java":case"c":case"cpp":case"go":case"rs":case"json":case"yaml":case"yml":case"xml":case"html":case"css":case"sql":default:break;case"csv":case"xls":case"xlsx":return r7.A;case"doc":case"docx":return r8.A;case"ppt":case"pptx":return r9.A;case"zip":case"rar":case"7z":case"tar":case"gz":return an.A;case"txt":case"log":return eE.A}}return ei.A}let{Text:aa}=nd.A,ai=n=>{var t;let{data:e}=n,a=Array.isArray(e)?e:null!=(t=e&&e.items)?t:[];return(null==a?void 0:a.length)?(0,r.jsx)(r2,{children:(0,r.jsxs)(F.A,{wrap:!0,style:{width:"100%"},children:[(0,r.jsx)("span",{children:"附件:"}),a.map((n,t)=>{var e,a,i,o,l;let s=null!=(i=null!=(a=null!=(e=n.file_name)?e:n.name)?a:n.ref_name)?i:"附件 ".concat(t+1),c=null!=(l=null!=(o=null==n?void 0:n.url)?o:null==n?void 0:n.link)?l:null==n?void 0:n.ref_link,d=ar(s,n.mime_type),p=ae(n.mime_type),m=n.file_size;return void 0!==m||n.download_url||n.preview_url?(0,r.jsx)(r5,{children:(0,r.jsxs)(F.A,{size:4,children:[(0,r.jsx)(d,{className:"attachIcon"}),(0,r.jsx)(aa,{className:"attachName",children:s}),m&&(0,r.jsx)(aa,{type:"secondary",className:"attachSize",children:at(m)}),p&&(n.preview_url||n.oss_url||c)&&(0,r.jsx)(E.A,{title:"预览",children:(0,r.jsx)("span",{className:"attachAction",onClick:()=>(n=>{var t,e,r,a;let i=null!=(a=null!=(r=null!=(e=null!=(t=n.preview_url)?t:n.oss_url)?e:null==n?void 0:n.url)?r:null==n?void 0:n.link)?a:null==n?void 0:n.ref_link;i&&window.open(i,"_blank")})(n),children:(0,r.jsx)(rZ.A,{})})}),(0,r.jsx)(E.A,{title:"下载",children:(0,r.jsx)("span",{className:"attachAction",onClick:()=>(n=>{var t,e,r,a;let i=null!=(a=null!=(r=null!=(e=null!=(t=n.download_url)?t:n.oss_url)?e:null==n?void 0:n.url)?r:null==n?void 0:n.link)?a:null==n?void 0:n.ref_link;i&&window.open(i,"_blank")})(n),children:(0,r.jsx)(_.A,{})})})]})},null!=c?c:t):(0,r.jsx)(h.A,{className:"attachItem",onClick:()=>c&&window.open(c),children:(0,r.jsxs)(F.A,{size:4,children:[(0,r.jsx)(d,{className:"attachIcon"}),s]})},null!=c?c:t)})]})}):null};var ao=e(25702);function al(){let n=(0,tw._)(["\n width: 100%;\n margin: 8px 0;\n background: #fafafa;\n border-radius: 8px;\n overflow: hidden;\n\n .attachListHeader {\n padding: 12px 16px;\n background: rgba(27, 98, 255, 0.03);\n border-bottom: 1px solid rgba(27, 98, 255, 0.1);\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n .folderIcon {\n font-size: 18px;\n color: #1b62ff;\n }\n\n .title {\n font-size: 14px;\n }\n }\n\n .description {\n display: block;\n padding: 8px 16px;\n font-size: 12px;\n line-height: 1.5;\n }\n\n .attachList {\n padding: 0;\n }\n"]);return al=function(){return n},n}function as(){let n=(0,tw._)(["\n padding: 10px 16px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.04);\n display: flex;\n justify-content: space-between;\n align-items: center;\n transition: background-color 0.2s;\n\n &:hover {\n background: rgba(27, 98, 255, 0.02);\n }\n\n &:last-child {\n border-bottom: none;\n }\n"]);return as=function(){return n},n}function ac(){let n=(0,tw._)(["\n flex: 1;\n min-width: 0;\n\n .fileIcon {\n font-size: 20px;\n color: #1890ff;\n flex-shrink: 0;\n }\n\n .fileInfo {\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n }\n\n .fileName {\n font-size: 13px;\n font-weight: 500;\n color: #262626;\n }\n\n .fileMeta {\n .fileSize {\n font-size: 12px;\n }\n\n .fileTypeTag {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n font-size: 11px;\n padding: 0 4px;\n height: 18px;\n line-height: 18px;\n }\n }\n\n .fileDesc {\n font-size: 12px;\n line-height: 1.4;\n max-width: 400px;\n }\n"]);return ac=function(){return n},n}function ad(){let n=(0,tw._)(["\n flex-shrink: 0;\n padding-left: 12px;\n\n .ant-btn {\n color: #8c8c8c;\n\n &:hover {\n color: #1b62ff;\n }\n }\n"]);return ad=function(){return n},n}let ap=tf.Ay.div(al()),am=tf.Ay.div(as()),ag=tf.Ay.div(ac()),ah=tf.Ay.div(ad()),{Text:ax}=nd.A,au=n=>{var t,e;let{data:a}=n,{title:i="交付文件",description:o,files:l=[],total_count:s,show_batch_download:c=!0}=a;if(!(null==l?void 0:l.length))return null;let d=ar((null==(t=l[0])?void 0:t.file_name)||"",null==(e=l[0])?void 0:e.mime_type);return(0,r.jsxs)(ap,{children:[(0,r.jsxs)("div",{className:"attachListHeader",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)(d,{className:"folderIcon"}),(0,r.jsx)(ax,{strong:!0,className:"title",children:i}),void 0!==s&&(0,r.jsxs)(ax,{type:"secondary",children:["共 ",s," 个文件"]})]}),c&&(0,r.jsx)(L.Ay,{type:"link",icon:(0,r.jsx)(_.A,{}),size:"small",onClick:()=>{console.log("批量下载",l)},children:"全部下载"})]}),o&&(0,r.jsx)(ax,{type:"secondary",className:"description",children:o}),(0,r.jsx)(ao.A,{className:"attachList",dataSource:l,renderItem:n=>{let t=ar(n.file_name,n.mime_type);return(0,r.jsxs)(am,{children:[(0,r.jsx)(ag,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(t,{className:"fileIcon"}),(0,r.jsxs)("div",{className:"fileInfo",children:[(0,r.jsx)(ax,{className:"fileName",children:n.file_name}),(0,r.jsxs)(F.A,{size:"small",className:"fileMeta",children:[n.file_size&&n.file_size>0&&(0,r.jsx)(ax,{type:"secondary",className:"fileSize",children:at(n.file_size)}),n.task_id&&(0,r.jsx)(h.A,{className:"fileTypeTag",children:n.file_type||"文件"})]}),n.description&&(0,r.jsx)(ax,{type:"secondary",className:"fileDesc",ellipsis:{tooltip:n.description},children:n.description})]})]})}),(0,r.jsx)(ah,{children:(0,r.jsxs)(F.A,{size:"small",children:[ae(n.mime_type)&&(n.preview_url||n.oss_url)&&(0,r.jsx)(E.A,{title:"预览",children:(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(rZ.A,{}),size:"small",onClick:()=>(n=>{let t=n.preview_url||n.oss_url;t&&window.open(t,"_blank")})(n)})}),(0,r.jsx)(E.A,{title:"下载",children:(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),size:"small",onClick:()=>(n=>{let t=n.download_url||n.oss_url;t&&window.open(t,"_blank")})(n)})})]})})]},n.file_id)}})]})},ab=a.memo(n=>{let{src:t,width:e="32px",className:i}=n,[o,l]=(0,a.useState)(t);return(0,r.jsx)("div",{style:{width:e,height:e},className:i,children:o&&(0,r.jsx)("img",{src:t||"/agents/default_avatar.png",style:{width:e,height:e,borderRadius:"50%",objectFit:"cover"}})})});function aw(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 8px 0;\n"]);return aw=function(){return n},n}let af=tf.Ay.div(aw()),av=n=>{let{data:t}=n;return(0,r.jsx)(j.V.Provider,{value:{visMsgData:t},children:(0,r.jsx)(af,{children:(0,r.jsx)(rN.A,{content:null==t?void 0:t.markdown,avatar:(0,r.jsx)(ab,{src:null==t?void 0:t.avatar}),header:(null==t?void 0:t.name)||void 0,messageRender:()=>{var n;return(0,r.jsx)(m.A,{components:ik,...ij,children:null==t||null==(n=t.markdown)?void 0:n.replaceAll("~","~")})},style:{width:"100%"},styles:{content:{background:"transparent",padding:0,borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap",display:"inline-flex",flexDirection:"column",justifyContent:"space-between",alignItems:"start",width:"100%"}}})})})};function ay(){let n=(0,tw._)(["\n margin: 6px 0;\n margin-top: 0;\n .planItem {\n width: 100%;\n height: 100%;\n background: #000a1a0a;\n border-radius: 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 4px 0;\n padding: 0 8px;\n }\n"]);return ay=function(){return n},n}let ak=tf.Ay.div(ay()),aj=n=>{var t;let{data:e}=n;return(0,r.jsxs)(ak,{className:"planCard",children:[null==e||null==(t=e.tasks)?void 0:t.map((n,t)=>(0,r.jsx)("div",{className:"planItem",children:(0,r.jsxs)(F.A,{children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{children:[" ",(null==n?void 0:n.task_id)||"-"," "]}),(0,r.jsxs)("span",{children:[" ",(null==n?void 0:n.task_name)||"-"," "]})]}),(0,r.jsxs)(F.A,{style:{cursor:"pointer",background:"#1b62ff1a",borderRadius:"6px",padding:"2px 8px",margin:"8px 0"},onClick:()=>window.open(null==n?void 0:n.task_link),children:[(0,r.jsx)("span",{children:"@"}),(null==n?void 0:n.agent_link)&&(0,r.jsx)(ab,{src:null==n?void 0:n.agent_link}),(0,r.jsx)("span",{children:(null==n?void 0:n.agent_name)||"-"})]})]})},t)),(null==e?void 0:e.markdown)&&(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==e?void 0:e.markdown)||"-"})]})};function aA(){let n=(0,tw._)(["\n width: 100%;\n padding: 12px 16px;\n background: transparent;\n border-radius: 10px;\n"]);return aA=function(){return n},n}let a_=tf.Ay.div(aA()),aN=n=>{var t,e;let{data:a}=n,i=null!=(e=null!=(t=null==a?void 0:a.markdown)?t:null==a?void 0:a.content)?e:"",o={components:ik,...ij};return(0,r.jsx)(a_,{children:i&&(0,r.jsx)(m.A,{...o,children:iv(i)})})};var az=e(42749),aS=e(65253),aC=e(66786);function aF(){let n=(0,tw._)(["\n padding: 8px;\n background: transparent;\n"]);return aF=function(){return n},n}function aE(){let n=(0,tw._)(["\n width: 100%;\n background: #ffffff;\n border-radius: 8px;\n padding: 8px 12px;\n margin: 0 0 0 4px;\n border: 1px solid #e2e8f0;\n transition: all 0.15s ease;\n\n &:hover {\n background: #f8fafc;\n border-color: #cbd5e1;\n }\n"]);return aE=function(){return n},n}function aL(){let n=(0,tw._)(["\n height: 22px;\n line-height: 22px;\n font-size: 13px;\n font-weight: 600;\n color: #1e293b;\n\n span {\n color: #3b82f6;\n margin-left: 6px;\n font-weight: 500;\n }\n"]);return aL=function(){return n},n}function aR(){let n=(0,tw._)(["\n font-size: 12px;\n color: #64748b;\n margin-top: 2px;\n"]);return aR=function(){return n},n}let aM=tf.Ay.div(aF()),aI=tf.Ay.div(aE()),aO=tf.Ay.div(aL()),aq=tf.Ay.div(aR()),aT=n=>{var t;let{data:e}=n;return(0,r.jsx)(aM,{children:(0,r.jsx)(aC.A,{items:null==(t=e.items)?void 0:t.map(n=>({dot:(0,r.jsx)(ab,{src:n.avatar||"/agents/robot.png"}),children:(0,r.jsxs)(t1.A,{vertical:!0,gap:16,children:[(0,r.jsx)(t1.A,{children:(0,r.jsxs)(aO,{children:[n.title,(0,r.jsxs)("span",{children:["@",(null==n?void 0:n.agent)||"-"]})]})}),(0,r.jsx)(aq,{children:n.description}),(0,r.jsx)(aC.A,{items:(n=>{var t;return null==(t=n.items)?void 0:t.map((n,t)=>({dot:(0,r.jsx)(F.A,{children:(0,r.jsxs)("div",{children:["running"===n.status&&(0,r.jsx)(nP.A,{}),"complete"===n.status&&(0,r.jsx)(az.A,{twoToneColor:"#52c41a"}),"todo"===n.status&&(0,r.jsx)(aS.A,{}),"failed"===n.status&&(0,r.jsx)(nD.A,{className:"text-red-500"})]})}),children:(0,r.jsx)(aI,{children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsxs)("span",{children:[" ",n.title||"-"]}),(0,r.jsxs)(F.A,{children:[(0,r.jsx)(ab,{src:(null==n?void 0:n.avatar)||(n=>{let t={knowledge_pack:"/icons/package.png",knowledge:"/icons/package.png",tool:"/icons/tool.png",code:"/icons/code.png",report:"/icons/report.png",monitor:"/icons/monitor.png",agent:"/icons/agent.png",plan:"/icons/plan.png",llm:"/icons/llm.png",stage:"/icons/stage.png",task:"/icons/task.png",default:"/icons/tool_default.svg"};return t[String(n).toLowerCase()]||t.default})(null==n?void 0:n.task_type),width:18}),(0,r.jsxs)("span",{children:[" ",n.agent||"-"," "]})]})]})},"".concat(t,"-").concat(n.task_id))}))})(n)})]})}))})})};var aH=e(82690),aD=e(19696),aQ=e(48973),aP=e.n(aQ);function aB(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n border-radius: 12px;\n background-color: #ffffff73;\n position: relative;\n .ant-tabs-nav {\n margin: 0;\n background-color: #F1F5F9;\n border-radius: 4px;\n .ant-tabs-tab {\n border: 1px solid #F1F5F9;\n }\n }\n .ant-tabs {\n height: 100%;\n }\n .ant-tabs-content {\n height: 100%;\n }\n .ant-tabs-tabpane {\n height: 100%;\n }\n"]);return aB=function(){return n},n}function aV(){let n=(0,tw._)(["\n width: 100%;\n overflow-x: auto;\n \n &::-webkit-scrollbar {\n display: none;\n }\n\n /* -webkit-mask-image: linear-gradient(to right, \n rgba(0, 0, 0, 0), \n rgba(0, 0, 0, 0) 150px, \n rgba(0, 0, 0, 1) 170px, \n rgba(0, 0, 0, 1) 80%, \n rgba(0, 0, 0, 0));\n mask-image: linear-gradient(to right,\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0) 150px, \n rgba(0, 0, 0, 1) 170px,\n rgba(0, 0, 0, 1) 80%,\n rgba(0, 0, 0, 0)); */\n -webkit-mask-image: linear-gradient(to right, \n rgba(0, 0, 0, 1), \n rgba(0, 0, 0, 1) 90%, \n rgba(0, 0, 0, 0) 95%,\n rgba(0, 0, 0, 0)) ;\n mask-image: linear-gradient(to right,\n rgba(0, 0, 0, 1),\n rgba(0, 0, 0, 1) 90%,\n rgba(0, 0, 0, 0) 95%,\n rgba(0, 0, 0, 0)) ;\n"]);return aV=function(){return n},n}function aU(){let n=(0,tw._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n min-width: max-content;\n // margin-left: 150px;\n"]);return aU=function(){return n},n}function aK(){let n=(0,tw._)(["\n color: #000a1ae3;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n\n img {\n display: inline-flex;\n width: 25px;\n max-width: 25px;\n height: 25px;\n }\n"]);return aK=function(){return n},n}function a$(){let n=(0,tw._)(["\n max-width: 200px;\n height: 36px;\n font-size: 14px;\n line-height: 22px;\n vertical-align: middle;\n font-weight: 500;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n display: flex;\n justify-content: start;\n align-items: center;\n\n background: #ffffff00;\n border: 1px solid #000a1a29;\n border-radius: 8px;\n padding: 8px;\n margin: 16px 8px;\n"]);return a$=function(){return n},n}function aJ(){let n=(0,tw._)(["\n display: inline-block;\n width: 25px;\n height: 25px;\n border-radius: 12px;\n padding: 3px;\n margin-right: 4px;\n margin-bottom: 2px;\n\n img {\n display: inline-flex;\n width: 25px;\n height: 25px;\n }\n"]);return aJ=function(){return n},n}function aW(){let n=(0,tw._)(["\n width: 100%;\n flex: 1;\n /* padding: 12px; */\n overflow-y: auto;\n\n .VisContentCardClass {\n background-color: transparent;\n padding: 0;\n\n .VisStepCardWrap {\n background-color: transparent;\n }\n }\n .thinkLinkBtn {\n display: none;\n }\n"]);return aW=function(){return n},n}function aY(){let n=(0,tw._)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 150px;\n height: 64px;\n font-size: 18px;\n line-height: 64px;\n padding-left: 16px;\n font-size: 18px;\n\n img {\n display: inline;\n margin-right: 10px;\n }\n"]);return aY=function(){return n},n}let aX=tf.Ay.div(aB()),aG=tf.Ay.div(aV()),aZ=tf.Ay.div(aU()),a0=tf.Ay.div(aK()),a1=tf.Ay.div(a$());tf.Ay.div(aJ());let a2=tf.Ay.div(aW());tf.Ay.div(aY());let a5=n=>{var t,e,i;let{otherComponents:o,data:l}=n,s=(0,a.useMemo)(()=>Array.isArray(l.running_agent)?l.running_agent[0]||aP()(l.items,[0,"agent_name"],""):l.running_agent||aP()(l.items,[0,"agent_name"],""),[l.running_agent]),[c,d]=(0,a.useState)(s),p=(0,a.useRef)(null),m=rr()(l.items,"agent_name"),g=l.items.map((n,t)=>({key:"".concat(t,"_").concat(n.agent_name),label:(0,r.jsxs)("a",{onClick:()=>{n.agent_name&&d(n.agent_name)},children:[n.agent_name===l.running_agent?(0,r.jsx)("img",{src:"/icons/loading.png",width:14,style:{display:"inline",marginRight:"4px"}}):(0,r.jsx)("img",{src:n.avatar||"/agents/agent1.jpg",width:14,style:{display:"inline",marginRight:"4px"}}),n.agent_name]})}));(0,a.useEffect)(()=>{d(s),setTimeout(()=>{let n=document.getElementById("agentTab_".concat(s));null==n||n.scrollIntoView({behavior:"smooth"})},200)},[l.running_agent]),(0,a.useEffect)(()=>{let n=p.current;null==n||n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[c]),(0,a.useEffect)(()=>{let n=p.current;n&&n.scrollHeight-n.scrollTop-n.clientHeight<=150&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[l]);let h=null==(e=document.querySelector("#running-window"))||null==(t=e.getBoundingClientRect())?void 0:t.height,x=(0,a.useMemo)(()=>{let n=null==m?void 0:m[c].items;return Array.isArray(n)&&n.length>0},[m,c]),[b,v]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(x){var n;let t=null==m||null==(n=m[c])?void 0:n.items;Array.isArray(t)&&t.length>0&&v(t.length-1)}},[x]),(0,r.jsxs)(aX,{style:{height:"".concat(h,"px")},children:[(0,r.jsx)(aG,{children:(0,r.jsx)(aZ,{children:l.items.map(n=>(0,r.jsx)(a0,{id:"agentTab_".concat(n.agent_name),onClick:()=>{n.agent_name&&d(n.agent_name)},children:(0,r.jsxs)(a1,{className:"tabTitle",style:{border:c===n.agent_name?"1px solid #1b62ff":"1px solid #000a1a29",backgroundColor:c===n.agent_name?"#1b62ff10":"transparent"},children:[n.agent_name===l.running_agent?(0,r.jsx)(ab,{src:"/icons/loading.png",width:25}):(0,r.jsx)(ab,{src:n.avatar||"/agents/default_avatar.png",width:25}),(0,r.jsx)("span",{style:{marginLeft:"8px"},children:n.agent_name})]})},n.agent_name))})}),(0,r.jsx)(a1,{style:{cursor:"pointer",position:"absolute",top:0,right:0},children:(0,r.jsx)(aD.A,{menu:{items:g},children:(0,r.jsx)(aH.A,{})})}),(0,r.jsx)(a2,{style:h?{height:"100%"}:{},className:"AgentContent",ref:p,children:x?(0,r.jsx)(n=>{var t,e,a,i;let{runningAgents:o,currentAgent:l,selectedItemIndex:s,setSelectedItemIndex:c}=n;return(0,r.jsxs)("div",{className:"flex h-full",children:[(0,r.jsx)("div",{className:"w-[150px] border-r border-gray-200 overflow-hidden [&_.ant-tabs-tab]:my-0",children:(0,r.jsx)(u.A,{tabPosition:"left",activeKey:String(s),defaultActiveKey:String(s),onChange:n=>{c(parseInt(n))},items:Array.isArray(null==o||null==(t=o[l])?void 0:t.items)?o[l].items.map((n,t)=>({key:t.toString(),label:(0,r.jsx)(E.A,{title:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Title:"})," ",n.title||"Task ".concat(t+1)]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Topic:"})," ",n.topic||n.description||"No description"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Status:"})," ",n.status||"Unknown"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Start Time:"})," ",n.start_time||"Not set"]})]}),placement:"right",styles:{root:{maxWidth:"400px"}},children:(0,r.jsxs)("div",{className:"w-[100px] text-left text-xs overflow-y-auto max-h-[300px] py-1",children:[(0,r.jsx)("div",{className:"font-bold mb-1",children:n.title||"Task ".concat(t+1)}),(0,r.jsx)("div",{className:"text-gray-600 text-[11px] overflow-hidden text-ellipsis whitespace-nowrap",children:n.topic||n.description||""}),(0,r.jsxs)("div",{className:"text-gray-400 text-[10px] mt-0.5",children:[n.status||""," • ",n.start_time||""]})]})}),children:null})):[],style:{overflow:"hidden",background:"#F1F5F9 !important"}})}),(0,r.jsx)("div",{className:"flex-1 px-1 overflow-auto",children:(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==(i=o[l])||null==(a=i.items)||null==(e=a[s])?void 0:e.markdown)||"-"})})]})},{runningAgents:m,currentAgent:c,selectedItemIndex:b,setSelectedItemIndex:v}):(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==m||null==(i=m[c])?void 0:i.markdown)||"-"})})]})};function a4(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n min-width: 100px;\n white-space: normal;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 0px 0;\n border: 2px solid #f5f7fa !important;\n background-color: #ffffff;\n overflow-x: auto;\n border-radius: 12px;\n\n .ant-divider-horizontal {\n margin: 0;\n }\n"]);return a4=function(){return n},n}function a6(){let n=(0,tw._)(["\n width: 100%;\n line-height: 32px;\n font-size: 12px;\n padding: 4px 12px;\n background-color: #f5f7fa;\n"]);return a6=function(){return n},n}let a3=tf.Ay.div(a4()),a7=tf.Ay.div(a6()),a8=(0,a.createContext)(null),a9=n=>{var t;let{data:e}=n;return(0,r.jsx)(a8.Provider,{value:{visMsgData:e},children:(0,r.jsxs)(a3,{children:[(0,r.jsx)(a7,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(ab,{src:null==e?void 0:e.avatar,width:26}),null==e?void 0:e.name]})}),(0,r.jsx)("div",{style:{padding:"8px 12px"},children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:null==e||null==(t=e.markdown)?void 0:t.replaceAll("~","~")})})]})})};var it=e(39740),ie=e(49929);function ir(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 4px 0;\n"]);return ir=function(){return n},n}let ia=tf.Ay.div(ir()),ii=n=>{var t;let{data:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},[s,c]=a.useState(!1),d=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):s?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(ia,{className:"VisStepCardWrap",children:(0,r.jsx)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",flexDirection:"column",cursor:"pointer"},onClick:()=>{c(n=>!n)},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:d(null==e?void 0:e.status,"title")}),(0,r.jsx)(ab,{src:(null==e||null==(t=e.chatItem)?void 0:t.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==e?void 0:e.tool_name)||"--"})]}),d("FINISHED","tool")]}),s&&(0,r.jsxs)("div",{style:{marginTop:12,width:"100%"},children:[(0,r.jsx)("div",{style:{marginBottom:8,color:"#888"},children:"请求参数:"}),(0,r.jsx)("div",{style:{background:"#f6f8fa",borderRadius:8,padding:8},children:(0,r.jsx)("pre",{style:{margin:0,fontSize:13},children:null==e?void 0:e.tool_args})}),(0,r.jsx)("div",{style:{margin:"12px 0 8px",color:"#888"},children:"返回结果:"}),(0,r.jsx)("div",{style:{background:"#f6f8fa",borderRadius:8,padding:8},children:(0,r.jsx)(rz.oz,{children:(null==e?void 0:e.tool_result)||"无结果"})})]})]})})})};function io(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 4px 0;\n"]);return io=function(){return n},n}let il=tf.Ay.div(io()),is=n=>{var t;let{data:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},s=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):(0,r.jsx)(ts.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(il,{className:"VisStepCardWrap",children:(0,r.jsxs)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:s(null==e?void 0:e.status,"title")}),(0,r.jsxs)(F.A,{direction:"vertical",children:[(0,r.jsx)("div",{children:rF(null==e?void 0:e.tool_name)}),(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>{l?l(e):i&&i({requestUrl:null==e?void 0:e.tool_execute_link,name:(null==e?void 0:e.tool_name)||"tool",avatarUrl:(null==o?void 0:o.avatar)||void 0})},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)(ab,{src:(null==e||null==(t=e.chatItem)?void 0:t.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==e?void 0:e.tool_name)||"--"})]}),s("FINISHED","tool")]})]})]})})};function ic(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 12px 0;\n"]);return ic=function(){return n},n}let id=tf.Ay.div(ic()),ip=n=>{var t;let{propsData:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},s=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):(0,r.jsx)(ts.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(id,{className:"stepList",children:null==e||null==(t=e.steps)?void 0:t.map((n,t)=>{var e;return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"start"},children:(0,r.jsxs)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:s(null==n?void 0:n.status,"title")}),(0,r.jsxs)(F.A,{direction:"vertical",children:[(0,r.jsx)("div",{children:rF(null==n?void 0:n.tool_name)}),(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>{l?l(n):i&&i({requestUrl:null==n?void 0:n.tool_execute_link,name:(null==n?void 0:n.tool_name)||"tool",avatarUrl:(null==o?void 0:o.avatar)||void 0})},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)(ab,{src:(null==n||null==(e=n.chatItem)?void 0:e.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==n?void 0:n.tool_name)||"--"})]}),s("FINISHED","tool")]})]})]})},t)})})};function im(){let n=(0,tw._)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background-color: #fff;\n border: 1px solid #e8e8e8;\n overflow: hidden;\n margin: 4px 0;\n\n .todolist-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px 12px;\n border-bottom: 1px solid #f0f0f0;\n\n .header-left {\n display: flex;\n align-items: center;\n gap: 8px;\n\n .header-icon {\n font-size: 14px;\n color: #8c8c8c;\n }\n\n .header-title {\n font-size: 14px;\n font-weight: 500;\n color: #262626;\n }\n\n .header-progress {\n font-size: 13px;\n color: #8c8c8c;\n }\n }\n\n .header-expand {\n font-size: 12px;\n color: #bfbfbf;\n cursor: pointer;\n transform: rotate(180deg);\n \n &:hover {\n color: #8c8c8c;\n }\n }\n }\n\n .todolist-items {\n display: flex;\n flex-direction: column;\n padding: 8px 0;\n\n .todo-item {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n padding: 8px 12px;\n cursor: default;\n transition: background-color 0.15s ease;\n\n &:hover {\n background-color: #fafafa;\n }\n\n .todo-checkbox {\n flex-shrink: 0;\n width: 18px;\n height: 18px;\n border: 1.5px solid #d9d9d9;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1px;\n transition: all 0.2s ease;\n\n &.checked {\n background-color: #52c41a;\n border-color: #52c41a;\n\n .checkmark {\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n }\n }\n }\n\n .todo-title {\n flex: 1;\n font-size: 14px;\n color: #262626;\n line-height: 20px;\n word-break: break-word;\n\n &.completed {\n color: #8c8c8c;\n text-decoration: line-through;\n }\n }\n }\n\n .todolist-empty {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 16px 12px;\n color: #bfbfbf;\n font-size: 13px;\n }\n }\n"]);return im=function(){return n},n}let ig=tf.Ay.div(im());var ih=e(73086);let ix=n=>{let{data:t}=n,e=t.items||[],[i,o]=(0,a.useState)(!0),l=(0,a.useMemo)(()=>0===e.length?{completed:0,total:0}:{completed:e.filter(n=>"completed"===n.status).length,total:e.length},[e]);return(0,r.jsxs)(ig,{children:[(0,r.jsxs)("div",{className:"todolist-header",onClick:()=>{o(!i)},style:{cursor:"pointer"},children:[(0,r.jsxs)("div",{className:"header-left",children:[(0,r.jsx)(ih.A,{className:"header-icon"}),(0,r.jsx)("span",{className:"header-title",children:"待办"}),(0,r.jsxs)("span",{className:"header-progress",children:[l.completed,"/",l.total]})]}),(0,r.jsx)("div",{className:"header-expand",children:i?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})})]}),i&&(0,r.jsxs)("div",{className:"todolist-items",children:[e.map(n=>(0,r.jsxs)("div",{className:"todo-item ".concat("completed"===n.status?"completed":""),children:[(0,r.jsx)("div",{className:"todo-checkbox ".concat("completed"===n.status?"checked":""),children:"completed"===n.status&&(0,r.jsx)("span",{className:"checkmark",children:"✓"})}),(0,r.jsx)("span",{className:"todo-title ".concat("completed"===n.status?"completed":""),children:n.title})]},n.id)),0===e.length&&(0,r.jsx)("div",{className:"todolist-empty",children:(0,r.jsx)("span",{children:"暂无任务"})})]})]})},iu=n=>{let{content:t,error:e,componentName:i}=n;return(0,a.useEffect)(()=>{(e||t)&&(console.groupCollapsed("[VisParseError] ".concat(i||"Unknown Component")),console.error("Error:",e),console.log("Original Content:",t),console.groupEnd())},[t,e,i]),(0,r.jsx)("div",{style:{padding:"16px 0",width:"100%",display:"flex",justifyContent:"center"},children:(0,r.jsx)(R.A,{description:"暂无数据",image:R.A.PRESENTED_IMAGE_SIMPLE})})},ib={"nex-running-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-running-window"})},children:(0,r.jsx)(a5,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-running-window"})}},"derisk-running-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"derisk-running-window"})},children:(0,r.jsx)(a5,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"derisk-running-window"})}},"nex-planning-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-planning-window"})},children:(0,r.jsx)(aT,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-planning-window"})}},"drsk-content":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-content"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-content"})}},"derisk-llm-space":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"derisk-llm-space"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"derisk-llm-space"})}},"drsk-thinking":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-thinking"})},children:(0,r.jsx)(rD,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-thinking"})}},"nex-report":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-report"})},children:(0,r.jsx)(ef,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-report"})}},"nex-msg":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-msg"})},children:(0,r.jsx)(a9,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-msg"})}},"drsk-plan":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-plan"})},children:(0,r.jsx)(aj,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-plan"})}},"nex-steps":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-steps"})},children:(0,r.jsx)(ip,{propsData:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-steps"})}},"nex-step":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-step"})},children:(0,r.jsx)(ii,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-step"})}},"drsk-msg":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(av,{data:n})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-msg"})}},"drsk-step":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-step"})},children:(0,r.jsx)(is,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-step"})}},"d-thinking":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-thinking"})},children:(0,r.jsx)(rM,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-thinking"})}},"drsk-messages":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-messages"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-messages"})}},"drsk-steps":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-steps"})},children:(0,r.jsx)(ip,{propsData:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-steps"})}},"d-agent-plan":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-agent-plan"})},children:(0,r.jsx)(rW,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-agent-plan"})}},"d-planning-space":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-planning-space"})},children:(0,r.jsx)(aN,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-planning-space"})}},"d-attach":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-attach"})},children:(0,r.jsx)(ai,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-attach"})}},"d-attach-list":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-attach-list"})},children:(0,r.jsx)(au,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-attach-list"})}},"drsk-refs":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-refs"})},children:(0,r.jsx)(rq,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-refs"})}},"drsk-confirm":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-confirm"})},children:(0,r.jsx)(tz,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-confirm"})}},"drsk-interact":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-interact"})},children:(0,r.jsx)(tG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-interact"})}},"vis-code":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"vis-code"})},children:(0,r.jsx)(td,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"vis-code"})}},"knowledge-space-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"knowledge-space-window"})},children:(0,r.jsx)(eF,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"knowledge-space-window"})}},"knowledge-planning-window":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"drsk-outline":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-outline"})},children:(0,r.jsx)(tP,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-outline"})}},"drsk-ls":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-ls"})},children:(0,r.jsx)(ee,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-ls"})}},"drsk-read-yuque":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-read-yuque"})},children:(0,r.jsx)(eh,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-read-yuque"})}},"drsk-doc":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-doc"})},children:(0,r.jsx)(tI,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-doc"})}},"vis-research-bubble":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"drsk-doc-report":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-doc-report"})},children:(0,r.jsx)(tX,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-doc-report"})}},"d-agent-folder":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-agent-folder"})},children:(0,r.jsx)(e3,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-agent-folder"})}},"d-work":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-work"})},children:(0,r.jsx)(r_,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-work"})}},"d-code":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-code"})},children:(0,r.jsx)(tA,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-code"})}},"d-monitor":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-monitor"})},children:(0,r.jsx)(ec,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-monitor"})}},"d-tool":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-tool"})},children:(0,r.jsx)(ej,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-tool"})}},"d-llm":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-llm"})},children:(0,r.jsx)(t8,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-llm"})}},"drsk-browser":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"d-todo-list":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-todo-list"})},children:(0,r.jsx)(ix,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-todo-list"})}}},iw=["custom-view","chart-view","references","summary"];function iv(n){if("string"!=typeof n)return n;let t=[];return n=(n=(n=(n=(n=n.replace(/(```[\s\S]*?```|`[^`\n]+`)/g,n=>(t.push(n),"<>")))).replace(/\\\\\[/g,"$$").replace(/\\\\\]/g,"$$").replace(/\\\\\(/g,"$").replace(/\\\\\)/g,"$").replace(/\\\[/g,"$$").replace(/\\\]/g,"$$").replace(/\\\(/g,"$").replace(/\\\)/g,"$")).replace(/([^\n])\$\$/g,"$1\n\n$$").replace(/\$\$([^\n])/g,"$$\n\n$1")).replace(/\$(?=\d)/g,"\\$")).replace(/<>/g,(n,e)=>t[parseInt(e)])}let iy={code:(0,p.f)({languageRenderers:{"agent-plans":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nw,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"agent-messages":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nx,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-tabs":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=(0,l.j)(a,[]);return(0,r.jsx)(ta,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-tasks":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=(0,l.j)(a,[]);return(0,r.jsx)(to,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-convert-error":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n0,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-dashboard":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n2,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-db-chart":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nK,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-plugin":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n6,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-code":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nZ,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-app-link":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nV,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-api-response":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(tn,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-thinking":n=>{let{className:t,children:e}=n,a=String(e);return null==t||t.replace("language-",""),(0,r.jsx)(tc,{content:a})},"vis-attatch":function(n){let{children:t}=n,e=String(t);try{let n=JSON.parse(e);return(0,r.jsx)(i,{fallback:(0,r.jsx)(rE,{content:e}),children:(0,r.jsx)(nz,{data:n})})}catch(n){return(0,r.jsx)(rE,{content:e})}},...ib,html:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nR,{code:a,language:"html"})},web:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nR,{code:a,language:"html"})},svg:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nT,{code:a,language:"svg"})},xml:n=>{let{className:t,children:e}=n,a=String(e);return a.includes("")?(0,r.jsx)(nT,{code:a,language:"svg"}):(0,r.jsx)(nN,{code:a,language:"xml"})}},defaultRenderer(n){let{node:t,className:e,children:a,style:i,...o}=n,l=String(a),s=(null==e?void 0:e.replace("language-",""))||"",{context:c,matchValues:d}=function(n){let t=iw.reduce((t,e)=>{let r=RegExp("<".concat(e,"[^>]*/?>"),"gi");return n=n.replace(r,n=>(t.push(n),"")),t},[]);return{context:n,matchValues:t}}(l),p=/language-(.+)/.exec(e||""),g=s&&(!p||p&&"mermaid"!==p[1]);return(0,r.jsxs)(r.Fragment,{children:[g?(0,r.jsx)(nN,{code:c,language:s||"javascript"}):(0,r.jsx)("code",{...o,style:i,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:a}),(0,r.jsx)(m.A,{components:ik,rehypePlugins:[w.A,b.A],remarkPlugins:[f.A,v.A,k()],children:d.join("\n")})]})}})},ik={...Object.fromEntries(Object.entries(iy).filter(n=>{let[t,e]=n;return"function"==typeof e})),ul(n){let{children:t}=n;return(0,r.jsx)("ul",{className:"py-1",children:t})},ol(n){let{children:t}=n;return(0,r.jsx)("ol",{className:"py-1",children:t})},li(n){let{children:t,ordered:e}=n;return(0,r.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(e?"list-decimal":"list-disc"),children:t})},table(n){let{children:t}=n;return(0,r.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(n){let{children:t}=n;return(0,r.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(n){let{children:t}=n;return(0,r.jsx)("th",{className:"!text-left p-4",children:t})},td(n){let{children:t}=n;return(0,r.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(n){let{children:t,href:e}=n;return(0,r.jsxs)("span",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,r.jsx)(s.A,{className:"mr-1"}),(0,r.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",children:t})]})},img(n){let{src:t,alt:e}=n;return(0,r.jsx)("div",{children:(0,r.jsx)(g.A,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:e,placeholder:(0,r.jsx)(h.A,{icon:(0,r.jsx)(c.A,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(n){let{children:t}=n;return(0,r.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(n){let{children:t,className:e,...a}=n;if("chat-link"===e){let n=null==a?void 0:a["data-msg"];return(0,r.jsx)(n$,{msg:n,children:t})}return(0,r.jsx)("button",{className:e,...a,children:t})},"chart-view":function(n){var t,e,a;let i,{content:l,children:s}=n;try{i=JSON.parse(l)}catch(n){console.log(n,l),i={type:"response_table",sql:"",data:[]}}let c=(null==i||null==(t=i.data)?void 0:t[0])?null==(e=Object.keys(null==i||null==(a=i.data)?void 0:a[0]))?void 0:e.map(n=>({title:n,dataIndex:n,key:n})):[],d={key:"chart",label:"Chart",children:(0,r.jsx)(ni,{data:null==i?void 0:i.data,chartType:D(null==i?void 0:i.type)})},p={key:"sql",label:"SQL",children:(0,r.jsx)(nN,{code:(0,o.A4)((n=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},e=RegExp(Object.keys(t).join("|"),"g");return n.replace(e,n=>t[n])})(null==i?void 0:i.sql),"mysql"),language:"sql"})},m={key:"data",label:"Data",children:(0,r.jsx)(x.A,{dataSource:null==i?void 0:i.data,columns:c,scroll:{x:!0},virtual:!0})},g=(null==i?void 0:i.type)==="response_table"?[m,p]:[d,p,m];return(0,r.jsxs)("div",{children:[(0,r.jsx)(u.A,{defaultActiveKey:(null==i?void 0:i.type)==="response_table"?"data":"chart",items:g,size:"small"}),s]})},references:function(n){let{children:t}=n;if(t)try{let n=JSON.parse(t).references;return(0,r.jsx)(nh,{references:n})}catch(n){return null}},summary:function(n){let{children:t}=n;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:[(0,r.jsx)(d.A,{className:"mr-2"}),(0,r.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,r.jsx)("div",{children:t})]})},...ib},ij={remarkPlugins:[f.A,[v.A,{singleDollarTextMath:!0}],k()],rehypePlugins:[w.A,[b.A,{output:"htmlAndMathml"}]]},iA=ik},58662:(n,t,e)=>{e.d(t,{nF:()=>a,Jc:()=>l,Pf:()=>i,b:()=>o,pP:()=>s,yl:()=>c,ox:()=>d,eq:()=>p,f6:()=>m,tU:()=>g,Fj:()=>h});var r=e(95155);let a=function(){return(0,r.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M416.9549913 314.32347826h297.42302609a119.56758261 119.56758261 0 0 1 119.56758261 119.56758261v179.19109565a196.71485217 196.71485217 0 0 1-196.71485217 196.71485218H416.9549913a119.56758261 119.56758261 0 0 1-119.5675826-119.56758261v-256.44521739A119.56758261 119.56758261 0 0 1 416.9549913 314.32347826z",fill:"#F5384A"}),(0,r.jsx)("path",{d:"M716.24793043 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v260.18504347c0 3.84667826 0 7.69335652 0.58768696 11.43318261a345.7202087 345.7202087 0 0 0 502.9531826-353.19986087A117.1634087 117.1634087 0 0 0 716.24793043 314.32347826z",fill:"#F54F5C"}),(0,r.jsx)("path",{d:"M318.91812174 594.54330435a345.7202087 345.7202087 0 0 0 420.73043478-249.07241739c2.35074783-9.18928696 4.22066087-18.432 5.82344348-27.67471305a117.10998261 117.10998261 0 0 0-29.22406957-3.63297391H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.5373913v156.43158261c6.9453913 2.35074783 14.10448696 4.54121739 21.42386087 6.41113044z",fill:"#F66C73"}),(0,r.jsx)("path",{d:"M630.17850435 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v48.08347826a346.14761739 346.14761739 0 0 0 332.68424348-165.62086957z",fill:"#F78989"}),(0,r.jsx)("path",{d:"M859.85725217 354.76702609h-25.53766956C802.26393043 200.52591304 669.92751304 84.59130435 512 84.59130435S221.73606957 200.52591304 189.68041739 354.76702609h-25.53766956a139.6557913 139.6557913 0 0 0-139.44208696 139.49551304v79.872a139.6557913 139.6557913 0 0 0 139.44208696 139.49551304h27.62128695a54.65488696 54.65488696 0 0 0 54.60146087-54.60146087V427.10594783C246.36549565 273.6128 365.50566957 148.7026087 512 148.7026087s265.63450435 124.9101913 265.63450435 278.40333913v159.3165913c0 116.09488696-74.79652174 219.47436522-181.38156522 251.42316522a30.23916522 30.23916522 0 0 0-3.09871304 1.06852174 60.15777391 60.15777391 0 1 0 18.05801739 61.06601739 23.50747826 23.50747826 0 0 0 3.36584348-0.69453913c93.12166957-27.88841739 166.63596522-98.67798261 203.01913043-187.79269565a54.92201739 54.92201739 0 0 0 14.90587826 2.13704347h27.62128696a139.6557913 139.6557913 0 0 0 139.44208696-139.49551304V494.26253913a139.6557913 139.6557913 0 0 0-139.7092174-139.49551304zM182.2541913 649.51874783h-18.11144347a75.43763478 75.43763478 0 0 1-75.33078261-75.3842087V494.26253913a75.43763478 75.43763478 0 0 1 75.33078261-75.3842087h18.11144347v230.6404174z m752.93384348-75.3842087a75.43763478 75.43763478 0 0 1-75.33078261 75.3842087h-18.11144347V418.87833043h18.11144347a75.43763478 75.43763478 0 0 1 75.33078261 75.3842087z",fill:"#444444"})]})},i=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1116 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M80.75 80.75m67.14674945 0l805.76099677 0q67.14674945 0 67.14674947 67.14674945l0 604.32074759q0 67.14674945-67.14674947 67.14674945l-805.76099677 0q-67.14674945 0-67.14674945-67.14674945l0-604.32074759q0-67.14674945 67.14674945-67.14674945Z",fill:"#36CFC9"}),(0,r.jsx)("path",{d:"M1020.80449568 685.07074759v67.14674945a67.14674945 67.14674945 0 0 1-67.14674946 67.14674945h-308.20358111l91.3195796 100.72012459-24.84429735 22.49416172L600.46584251 819.36424649h-100.72012459L389.62504831 943.25 364.78075097 920.08437108l91.31957961-100.72012459H147.89674945a67.14674945 67.14674945 0 0 1-67.14674945-67.14674945v-67.14674946z",fill:"#08979C"}),(0,r.jsx)("path",{d:"M416.48374894 282.19024919v335.7337481H315.76362434V282.19024919z m167.86687404 134.29349975v201.44024834h-100.72012459v-201.44024834z m167.86687406 67.14674945v134.2934989h-100.7201246v-134.2934989z m-225.94881252-302.16037379v141.34390829h201.4402492V272.11823698L819.36424649 341.27938889l-91.3195796 63.45367858V356.38740719h-239.71389641V215.04349975H315.76362434V181.4701246z",fill:"#B5F5EC"}),(0,r.jsx)("path",{d:"M550.77724783 752.21749704m-33.57337513 0a33.57337515 33.57337515 0 1 0 67.14675028 0 33.57337515 33.57337515 0 1 0-67.14675028 0Z",fill:"#FFFFFF"})]})},o=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M207.83 962c-5.4 0-10.88-1.17-16.08-3.67-18.55-8.89-26.39-31.13-17.5-49.69l77.22-161.26c8.9-18.58 31.14-26.41 49.7-17.51 18.55 8.89 26.39 31.13 17.5 49.69l-77.22 161.26c-6.4 13.38-19.74 21.18-33.62 21.18zM821.57 962c-13.88 0-27.21-7.8-33.62-21.17l-77.24-161.26c-8.9-18.55-1.06-40.8 17.5-49.69 18.57-8.87 40.8-1.07 49.7 17.51l77.24 161.26c8.9 18.55 1.06 40.8-17.5 49.69a37.266 37.266 0 0 1-16.08 3.66z",fill:"#12926E"}),(0,r.jsx)("path",{d:"M156.74 105.14h710.51c50.7 0 91.8 41.1 91.8 91.8v525.82c0 50.7-41.1 91.8-91.8 91.8H156.74c-50.7 0-91.8-41.1-91.8-91.8V196.93c0.01-50.69 41.11-91.79 91.8-91.79z",fill:"#39E2A0"}),(0,r.jsx)("path",{d:"M835.65 686.01h-614.7c-5.14 0-9.31-4.17-9.31-9.31 0-5.14 4.17-9.31 9.31-9.31h614.7c5.14 0 9.31 4.17 9.31 9.31 0 5.14-4.17 9.31-9.31 9.31z",fill:"#D3F8EA"}),(0,r.jsx)("path",{d:"M699.31 631.94H624.8V454.95c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v176.99zM846.22 631.94h-74.51V346.76c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v285.18zM289.51 631.94H215V417.69c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v214.25zM436.42 631.94h-74.51V495.77c0-11.28 9.14-20.42 20.42-20.42H416c11.28 0 20.42 9.14 20.42 20.42v136.17z",fill:"#FFFFFF"}),(0,r.jsx)("path",{d:"M715.4 173.76H308.6c-11.11 0-20.12-9.01-20.12-20.12V82.12c0-11.11 9.01-20.12 20.12-20.12h406.8c11.11 0 20.12 9.01 20.12 20.12v71.52c0.01 11.11-9 20.12-20.12 20.12z",fill:"#12926E"})]})},l=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M226.3 70.4C151.1 91.6 91.6 151.1 70.4 226.3L226.3 70.4z",fill:"#FFA65A"}),(0,r.jsx)("path",{d:"M277.9 62.2c-116.5 4.7-211 99.1-215.7 215.7L277.9 62.2z",fill:"#FFA659"}),(0,r.jsx)("path",{d:"M321.5 62H287C163.3 62 62 163.3 62 287v34.5L321.5 62z",fill:"#FFA558"}),(0,r.jsx)("path",{d:"M365 62h-78C163.3 62 62 163.3 62 287v78L365 62z",fill:"#FFA557"}),(0,r.jsx)("path",{d:"M408.4 62H287C163.3 62 62 163.3 62 287v121.4L408.4 62z",fill:"#FFA556"}),(0,r.jsx)("path",{d:"M451.8 62H287c-35.9 0-69.8 8.5-100 23.6L85.6 187C70.5 217.2 62 251.1 62 287v164.8L451.8 62z",fill:"#FFA555"}),(0,r.jsx)("path",{d:"M495.3 62H287c-12.2 0-24.2 1-35.9 2.9L64.9 251.1C63 262.8 62 274.8 62 287v208.3L495.3 62z",fill:"#FFA454"}),(0,r.jsx)("path",{d:"M62 538.7L538.7 62H297.5L62 297.5z",fill:"#FFA453"}),(0,r.jsx)("path",{d:"M62 582.1L582.1 62H340.9L62 340.9z",fill:"#FFA452"}),(0,r.jsx)("path",{d:"M62 625.6L625.6 62H384.3L62 384.3z",fill:"#FFA451"}),(0,r.jsx)("path",{d:"M62 427.8V669L669 62H427.8z",fill:"#FFA450"}),(0,r.jsx)("path",{d:"M62 471.2v241.2L712.4 62H471.2z",fill:"#FFA34F"}),(0,r.jsx)("path",{d:"M737 62H514.6L62 514.6V737c0 6.1 0.3 12.1 0.7 18.1L755.1 62.7c-6-0.4-12-0.7-18.1-0.7z",fill:"#FFA34E"}),(0,r.jsx)("path",{d:"M737 62H558.1L62 558.1V737c0 19.1 2.4 37.6 6.9 55.4L792.4 68.9C774.6 64.4 756.1 62 737 62z",fill:"#FFA34D"}),(0,r.jsx)("path",{d:"M737 62H601.5L62 601.5V737c0 31.1 6.4 60.8 17.9 87.8L824.8 79.9C797.8 68.4 768.1 62 737 62z",fill:"#FFA34C"}),(0,r.jsx)("path",{d:"M853.5 94.7C819.4 74 779.5 62 737 62h-92.1L62 644.9V737c0 42.5 12 82.4 32.7 116.5L853.5 94.7z",fill:"#FFA24B"}),(0,r.jsx)("path",{d:"M878.9 112.7C840.1 81.1 790.7 62 737 62h-48.6L62 688.4V737c0 53.7 19.1 103.1 50.7 141.9l766.2-766.2z",fill:"#FFA24A"}),(0,r.jsx)("path",{d:"M737 62h-5.2L62 731.8v5.2c0 64.7 27.7 123.2 71.7 164.3l767.6-767.6C860.2 89.7 801.7 62 737 62z",fill:"#FFA249"}),(0,r.jsx)("path",{d:"M64.8 772.4c9.8 61 44.3 114.1 92.8 148.4l763.2-763.2c-34.3-48.6-87.4-83.1-148.4-92.8L64.8 772.4z",fill:"#FFA248"}),(0,r.jsx)("path",{d:"M73.3 807.3c18.7 56.4 59.2 103 111.3 129.9l752.6-752.6C910.4 132.5 863.7 92 807.3 73.3l-734 734z",fill:"#FFA247"}),(0,r.jsx)("path",{d:"M86.1 838c26.5 52.3 72.9 93.1 129.1 112.2l735-735C931.1 159 890.3 112.6 838 86.1L86.1 838z",fill:"#FFA147"}),(0,r.jsx)("path",{d:"M102.4 865.2c34 48.7 86.7 83.5 147.5 93.7l709-709c-10.2-60.8-45-113.5-93.7-147.5L102.4 865.2z",fill:"#FFA146"}),(0,r.jsx)("path",{d:"M962 287c0-65.2-28.1-124.1-72.7-165.3L121.7 889.3C162.9 933.9 221.8 962 287 962h3.2L962 290.2V287z",fill:"#FFA145"}),(0,r.jsx)("path",{d:"M962 287c0-54.2-19.4-104-51.6-143L144 910.4c39 32.2 88.8 51.6 143 51.6h46.6L962 333.6V287z",fill:"#FFA144"}),(0,r.jsx)("path",{d:"M962 287c0-43.1-12.3-83.4-33.5-117.7L169.3 928.5C203.6 949.7 243.9 962 287 962h90.1L962 377.1V287z",fill:"#FFA143"}),(0,r.jsx)("path",{d:"M287 962h133.5L962 420.5V287c0-31.6-6.6-61.8-18.5-89.2L197.8 943.4c27.4 12 57.6 18.6 89.2 18.6z",fill:"#FFA042"}),(0,r.jsx)("path",{d:"M287 962h176.9L962 463.9V287c0-19.7-2.6-38.7-7.4-56.9L230.1 954.6c18.2 4.8 37.2 7.4 56.9 7.4z",fill:"#FFA041"}),(0,r.jsx)("path",{d:"M287 962h220.4L962 507.4V287c0-6.7-0.3-13.4-0.9-20L267 961.1c6.6 0.6 13.3 0.9 20 0.9z",fill:"#FFA040"}),(0,r.jsx)("path",{d:"M550.8 962L962 550.8V309.6L309.6 962z",fill:"#FFA03F"}),(0,r.jsx)("path",{d:"M594.2 962L962 594.2V353L353 962z",fill:"#FF9F3E"}),(0,r.jsx)("path",{d:"M637.7 962L962 637.7V396.4L396.4 962z",fill:"#FF9F3D"}),(0,r.jsx)("path",{d:"M681.1 962L962 681.1V439.9L439.9 962z",fill:"#FF9F3C"}),(0,r.jsx)("path",{d:"M724.5 962L962 724.5V483.3L483.3 962z",fill:"#FF9F3B"}),(0,r.jsx)("path",{d:"M962 737V526.7L526.7 962H737c11.4 0 22.5-0.9 33.5-2.5l189-189c1.6-11 2.5-22.1 2.5-33.5z",fill:"#FF9F3A"}),(0,r.jsx)("path",{d:"M962 737V570.2L570.2 962H737c34.3 0 66.9-7.8 96.1-21.7l107.2-107.2c13.9-29.2 21.7-61.8 21.7-96.1z",fill:"#FF9E39"}),(0,r.jsx)("path",{d:"M962 613.6L613.6 962H737c123.8 0 225-101.3 225-225V613.6z",fill:"#FF9E38"}),(0,r.jsx)("path",{d:"M962 657L657 962h80c123.8 0 225-101.3 225-225v-80z",fill:"#FF9E37"}),(0,r.jsx)("path",{d:"M962 700.5L700.5 962H737c123.8 0 225-101.3 225-225v-36.5z",fill:"#FF9E36"}),(0,r.jsx)("path",{d:"M961.9 744L744 961.9c118.2-3.7 214.2-99.7 217.9-217.9z",fill:"#FF9D35"}),(0,r.jsx)("path",{d:"M954.4 795L795 954.4c77.4-20.8 138.6-82 159.4-159.4z",fill:"#FF9D34"}),(0,r.jsx)("path",{d:"M736.3 622.9L523.5 747.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 622.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFD9C0"}),(0,r.jsx)("path",{d:"M736.3 523.9L523.5 648.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 523.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFE8D9"}),(0,r.jsx)("path",{d:"M736.3 424.9L523.5 549.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 424.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFF6F0"})]})},s=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M197.99492187 62v900h-34.18066406C124.57285156 962 92.76171875 930.18886719 92.76171875 890.94746094V133.05253906C92.76171875 93.81113281 124.57285156 62 163.81425781 62h34.18066406z m662.19082032 0C899.42714844 62 931.23828125 93.81113281 931.23828125 133.05253906v757.89492188c0 39.24140625-31.81113281 71.05253906-71.05253906 71.05253906H276.92070312V62h583.26503907z",fill:"#19A05F"}),(0,r.jsx)("path",{d:"M577.0390625 62l0.33222656 220.3875 111.2475586-108.80771484L800.19951172 284.36328125V62zM425.40224609 508.18554688h377.05078125v50.94404296h-377.05078125V508.18554688z m0 101.88720703h377.05078125v50.94316406h-377.05078125v-50.94316406z",fill:"#FFFFFF"})]})},c=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M701.95942066 37.1014489H250.80579673a142.46956521 142.46956521 0 0 0-142.46956522 142.46956523v664.85797174a142.46956521 142.46956521 0 0 0 142.46956522 142.46956523h522.38840654a142.46956521 142.46956521 0 0 0 142.46956522-142.46956523V274.55072501L701.95942066 37.1014489z",fill:"#53D39C"}),(0,r.jsx)("path",{d:"M444.2794663 392.18309566l69.64387283 117.72735109h2.70692174l69.97630108-117.70360654h82.4661337l-105.40373371 172.67311305 107.77822609 172.6968587h-83.98580869l-70.83111847-117.89356521h-2.70692174L443.09222066 737.57681196h-83.65338045l108.11065544-172.6968587-106.09233586-172.6968576h82.82230651z",fill:"#25BF79"}),(0,r.jsx)("path",{d:"M444.2794663 380.31063151l69.64387283 117.7273511h2.70692174l69.97630108-117.70360543h82.4661337l-105.40373371 172.67311305L671.44718803 725.70434783h-83.98580869l-70.83111847-117.89356522h-2.70692174L443.09222066 725.70434783h-83.65338045l108.11065544-172.6968576-106.09233586-172.69685872h82.82230651z",fill:"#FFFFFF"}),(0,r.jsx)("path",{d:"M701.95942066 37.1014489l160.27826087 178.08695653L915.66376849 274.55072501h-142.46956522a71.23478261 71.23478261 0 0 1-71.23478261-71.23478261V37.1014489z",fill:"#25BF79"})]})},d=function(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:(0,r.jsx)("path",{d:"M688.51536688 447.75428656l-2.39993719 1.25996719a200.75473031 200.75473031 0 0 1-7.19981156 38.03900156l-47.33875688 166.43563031 110.45710031-59.63843437-47.03876531-114.41699625a108.2971575 108.2971575 0 0 1-6.47982937-31.67916844z m194.87488406-200.99472375l-96.35747063-58.55846344-354.77068687 217.43429251a70.01816156 70.01816156 0 0 0-32.51914688 59.57843624v193.97490844l-158.99582625-98.09742562V362.67651969a69.4181775 69.4181775 0 0 1 33.95910844-60.41841375l358.67058469-206.99456625 13.55964469 7.97979L544.75914031 41.26495719a62.75835281 62.75835281 0 0 0-65.63827687 0L140.54975094 246.75956281a69.89816531 69.89816531 0 0 0-32.81913844 59.75843063v410.98921218c-0.11999719 24.47935781 12.2996775 47.1587625 32.81913844 59.81842969l338.5711125 205.49460563c20.21946937 12.23967844 45.35880937 12.23967844 65.63827687 0l338.69110875-205.49460563c20.33946563-12.41967375 32.87913656-35.09907844 32.8791375-59.81842968v-410.98921219a69.77816813 69.77816813 0 0 0-32.93913562-59.75843063z m-89.51764969 477.88745532l-31.01918625-75.65801438-150.53604844 81.35786438-30.47919937 108.95713968-95.81748563 51.7186425 151.61602032-485.20726312 103.79727562-56.09852719 148.73609531 322.97152219-96.29747156 51.95863594z m0-1e-8",fill:"#0F6CF9"})})};function p(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z",fill:"#1afa29"})]})}function m(){return(0,r.jsx)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M688 312c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48z m-392 88h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8z m376 116c119.3 0 216 96.7 216 216s-96.7 216-216 216-216-96.7-216-216 96.7-216 216-216z m107.5 323.5C808.2 810.8 824 772.6 824 732s-15.8-78.8-44.5-107.5S712.6 580 672 580s-78.8 15.8-107.5 44.5S520 691.4 520 732s15.8 78.8 44.5 107.5S631.4 884 672 884s78.8-15.8 107.5-44.5zM440 852c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H168c-17.7 0-32-14.3-32-32V108c0-17.7 14.3-32 32-32h640c17.7 0 32 14.3 32 32v384c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8V148H208v704h232z m232-76.06l-20.56 28.43c-1.5 2.1-3.9 3.3-6.5 3.3h-44.3c-6.5 0-10.3-7.4-6.4-12.7l45.75-63.3-45.75-63.3c-3.9-5.3-0.1-12.7 6.4-12.7h44.3c2.6 0 5 1.2 6.5 3.3L672 687.4l20.56-28.43c1.5-2.1 3.9-3.3 6.5-3.3h44.3c6.5 0 10.3 7.4 6.4 12.7l-45.75 63.3 45.75 63.3c3.9 5.3 0.1 12.7-6.4 12.7h-44.3c-2.6 0-5-1.2-6.5-3.3L672 775.94z",fill:"#d81e06"})})}function g(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M114.5856 951.04h298.24v-71.68H186.2656v-747.52h593.92v271.36h71.68v-343.04h-737.28v890.88z",fill:"#747690"}),(0,r.jsx)("path",{d:"M662.4256 311.04h-358.4v-71.68h358.4v71.68zM508.8256 490.24h-204.8v-71.68h204.8v71.68zM668.8256 554.24a168.96 168.96 0 1 0 0 337.92 168.96 168.96 0 0 0 0-337.92z m-240.64 168.96a240.64 240.64 0 1 1 481.28 0 240.64 240.64 0 0 1-481.28 0z",fill:"#747690"}),(0,r.jsx)("path",{d:"M629.76 588.8h71.68v131.4304l82.5856 41.3184-32.0512 64.1024-122.2144-61.0816V588.8z",fill:"#747690"})]})}function h(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M151.5 586.2c-5-24.2-7.5-49.2-7.5-74.2s2.5-50 7.5-74.2c4.8-23.6 12-46.8 21.4-69 9.2-21.8 20.6-42.8 33.9-62.5 13.2-19.5 28.3-37.8 45-54.5s35-31.8 54.5-45c19.7-13.3 40.7-24.7 62.5-33.9 22.2-9.4 45.4-16.6 69-21.4 48.5-9.9 99.9-9.9 148.4 0 23.6 4.8 46.8 12 69 21.4 21.8 9.2 42.8 20.6 62.5 33.9 19.5 13.2 37.8 28.3 54.5 45 1.4 1.4 2.8 2.8 4.1 4.2H688c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v77.1c-19.2-19-40.1-36.2-62.4-51.3-23.1-15.6-47.8-29-73.4-39.8-26.1-11-53.4-19.5-81.1-25.2-56.9-11.6-117.1-11.6-174.1 0-27.8 5.7-55.1 14.2-81.1 25.2-25.6 10.8-50.3 24.2-73.4 39.8-22.9 15.4-44.4 33.2-63.9 52.7s-37.3 41-52.7 63.9c-15.6 23.1-29 47.8-39.8 73.4-11 26.1-19.5 53.4-25.2 81.1C83 453.4 80 482.7 80 512s3 58.6 8.8 87c3.1 15.2 16.4 25.6 31.3 25.6 2.1 0 4.3-0.2 6.4-0.7 17.4-3.5 28.5-20.4 25-37.7zM935.2 425c-3.5-17.3-20.5-28.5-37.8-24.9-17.3 3.5-28.5 20.5-24.9 37.8 5 24.2 7.5 49.2 7.5 74.2s-2.5 50-7.5 74.2c-4.8 23.6-12 46.8-21.4 69-9.2 21.8-20.6 42.8-33.9 62.5-13.2 19.5-28.3 37.8-45 54.5s-35 31.8-54.5 45C698 830.6 677 842 655.2 851.2c-22.2 9.4-45.4 16.6-69 21.4-48.5 9.9-99.9 9.9-148.4 0-23.6-4.8-46.8-12-69-21.4-21.8-9.2-42.8-20.6-62.5-33.9-19.5-13.2-37.8-28.3-54.5-45-1.4-1.4-2.8-2.8-4.1-4.2H336c17.7 0 32-14.3 32-32s-14.3-32-32-32H176c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32s32-14.3 32-32V819c19.2 19 40.1 36.2 62.4 51.3 23.1 15.6 47.8 29 73.4 39.8 26.1 11 53.4 19.5 81.1 25.2 28.5 5.8 57.7 8.8 87 8.8s58.6-3 87-8.8c27.8-5.7 55-14.2 81.1-25.2 25.6-10.8 50.3-24.2 73.4-39.8 22.9-15.5 44.4-33.2 63.9-52.7s37.3-41 52.7-63.9c15.6-23.1 29-47.8 39.8-73.4 11-26.1 19.5-53.4 25.2-81.1 5.8-28.5 8.8-57.7 8.8-87 0.2-29.5-2.8-58.8-8.6-87.2z",fill:"#1875F0"})})}e(18301),e(94855)},76572:(n,t,e)=>{e.d(t,{A:()=>l});var r=e(95155),a=e(58662),i=e(96848),o=e(12115);let l=n=>{let{width:t,height:e,scene:l}=n,s=(0,o.useCallback)(()=>{switch(l){case"chat_knowledge":return a.pP;case"chat_with_db_execute":return a.b;case"chat_excel":return a.yl;case"chat_with_db_qa":case"chat_dba":return a.Jc;case"chat_dashboard":return a.Pf;case"chat_agent":return a.ox;case"chat_normal":return a.nF;default:return}},[l]);return(0,r.jsx)(i.A,{className:"w-".concat(t||7," h-").concat(e||7),component:s()})}},95849:(n,t,e)=>{function r(n,t){try{return JSON.parse(n)}catch(n){return console.error("Failed to parse JSON:",n),t}}function a(n){let t=n.replace(/\\\$/g,"$");try{return JSON.parse(t)}catch(i){let n=t.indexOf("{");if(-1===n)throw i;let e=0,r=!1,a=!1;for(let i=n;ia,j:()=>r})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1236],{14042:(n,t,e)=>{e.d(t,{ee:()=>i,q:()=>a});var r=e(78743);let a={TASK_CLICK:"task-click",CLICK_FOLDER:"clickFolder",ADD_TASK:"addTask",CLOSE_PANEL:"closePanel",OPEN_PANEL:"openPanel"},i=new r.A},40102:(n,t,e)=>{e.r(t),e.d(t,{default:()=>o});var r=e(95155),a=e(54171),i=e(92199);e(12115);let o=n=>{let{children:t}=n;return(0,r.jsx)(i.A,{components:{...a.Ay},...a.iU,children:(0,a.Jg)(t)})}},54171:(n,t,e)=>{e.d(t,{_6:()=>iy,Ay:()=>iA,Af:()=>ik,iU:()=>ij,Jg:()=>iv});var r=e(95155),a=e(12115);let i=e(36203).tH;var o=e(47937),l=e(95849),s=e(23130),c=e(60924),d=e(77133),p=e(36708),m=e(92199),g=e(97756),h=e(37974),x=e(55603),u=e(23512);e(31491);var b=e(91292),w=e(87264),f=e(53168),v=e(29652),y=e(17656),k=e.n(y),j=e(91070),A=e(89638),_=e(87473),N=e(26177),z=e(32013),S=e(19361),C=e(74947),F=e(67850),E=e(97540),L=e(98696),R=e(36768),M=e(31048),I=e.n(M),O=e(52199),q=e.n(O),T=e(20350),H=e.n(T);let D=n=>"response_line_chart"===n?["multi_line_chart","multi_measure_line_chart"]:"response_bar_chart"===n?["multi_measure_column_chart"]:"response_pie_chart"===n?["pie_chart"]:"response_scatter_chart"===n?["scatter_plot"]:"response_area_chart"===n?["area_chart"]:"response_heatmap_chart"===n?["heatmap"]:[];var Q=e(54010),P=e(78732),B=e(37562),V=e.n(B);function U(n,t){return t.every(t=>n.includes(t))}e(39090);var K=e(78966),$=e.n(K);function J(n,t){let e=t.find(t=>t.name===n);return(null==e?void 0:e.recommendation)==="date"?t=>new Date(t[n]):n}function W(n){return n.find(n=>{var t;return n.levelOfMeasurements&&(t=n.levelOfMeasurements,["Time","Ordinal"].some(n=>t.includes(n)))})}function Y(n){return n.find(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Nominal"]))}let X=n=>{let{data:t,xField:e}=n;return H()(t.map(n=>n[e])).length<=1},G=(n,t,e)=>{let{field4Split:r,field4X:a}=e;if((null==r?void 0:r.name)&&(null==a?void 0:a.name)){let e=n[r.name];return X({data:t.filter(n=>r.name&&n[r.name]===e),xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&X({data:t,xField:a.name})?5:void 0},Z=n=>{let{data:t,chartType:e,xField:r}=n,a=$()(t);try{if(e.includes("line")&&(null==r?void 0:r.name)&&"date"===r.recommendation)return a.sort((n,t)=>new Date(n[r.name]).getTime()-new Date(t[r.name]).getTime()),a;e.includes("line")&&(null==r?void 0:r.name)&&["float","integer"].includes(r.recommendation)&&a.sort((n,t)=>n[r.name]-t[r.name])}catch(n){console.error(n)}return a},nn=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return null==n?void 0:n.map(n=>{let e={};return Object.keys(n).forEach(r=>{e[r]=n[r]===t?null:n[r]}),e})},nt="multi_line_chart",ne="multi_measure_line_chart",nr=[{chartType:"multi_line_chart",chartKnowledge:{id:nt,name:"multi_line_chart",alias:["multi_line_chart"],family:["LineCharts"],def:"multi_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{var e,r;let a=W(t),i=Y(t),o=null!=(e=null!=a?a:i)?e:t[0],l=t.filter(n=>n.name!==(null==o?void 0:o.name)),s=null!=(r=l.filter(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"])))?r:[l[0]],c=l.filter(n=>!s.find(t=>t.name===n.name)).find(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Nominal"]));if(!o||!s)return null;let d={type:"view",autoFit:!0,data:Z({data:n,chartType:nt,xField:o}),children:[]};return s.forEach(e=>{let r={type:"line",encode:{x:J(o.name,t),y:e.name,size:t=>G(t,n,{field4Split:c,field4X:o})},legend:{size:!1}};c&&(r.encode.color=c.name),d.children.push(r)}),d}},chineseName:"折线图"},{chartType:"multi_measure_column_chart",chartKnowledge:{id:"multi_measure_column_chart",name:"multi_measure_column_chart",alias:["multi_measure_column_chart"],family:["ColumnCharts"],def:"multi_measure_column_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{try{let e=null==t?void 0:t.filter(n=>n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"])),r=Y(t),a=W(t),i=null!=r?r:a;if(!i||!e)return null;let o={type:"view",data:n,children:[]};return null==e||e.forEach(n=>{let t={type:"interval",encode:{x:i.name,y:n.name,color:()=>n.name,series:()=>n.name}};o.children.push(t)}),o}catch(n){return console.log(n),null}}},chineseName:"折线图"},{chartType:"multi_measure_line_chart",chartKnowledge:{id:ne,name:"multi_measure_line_chart",alias:["multi_measure_line_chart"],family:["LineCharts"],def:"multi_measure_line_chart uses lines with segments to show changes in data in a ordinal dimension",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Direction","Position"],recRate:"Recommended",toSpec:(n,t)=>{try{var e,r;let a=null!=(r=null!=(e=Y(t))?e:W(t))?r:t[0],i=null==t?void 0:t.filter(n=>n.name!==(null==a?void 0:a.name)&&n.levelOfMeasurements&&U(n.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let o={type:"view",data:Z({data:n,chartType:ne,xField:a}),children:[]};return null==i||i.forEach(e=>{let r={type:"line",encode:{x:J(a.name,t),y:e.name,color:()=>e.name,series:()=>e.name,size:t=>G(t,n,{field4X:a})},legend:{size:!1}};o.children.push(r)}),o}catch(n){return console.log(n),null}}},chineseName:"折线图"}],{Option:na}=z.A,ni=n=>{let{data:t,chartType:e,scopeOfCharts:i,ruleConfig:o}=n,l=nn(t),{mode:s}=(0,a.useContext)(j.UK),[c,d]=(0,a.useState)(),[p,m]=(0,a.useState)([]),[g,h]=(0,a.useState)(),x=(0,a.useRef)(null);(0,a.useEffect)(()=>{d((n=>{let{charts:t,scopeOfCharts:e,ruleConfig:r}=n,a={};if(null==t||t.forEach(n=>{if(n.chartKnowledge.toSpec){let t=n.chartKnowledge.toSpec;n.chartKnowledge.toSpec=(n,e)=>({...t(n,e),dataProps:e})}else n.chartKnowledge.toSpec=(n,t)=>({dataProps:t});a[n.chartType]=n.chartKnowledge}),(null==e?void 0:e.exclude)&&e.exclude.forEach(n=>{Object.keys(a).includes(n)&&delete a[n]}),null==e?void 0:e.include){let n=e.include;Object.keys(a).forEach(t=>{n.includes(t)||delete a[t]})}let i={...e,custom:a},o={...r};return new Q.J({ckbCfg:i,ruleCfg:o})})({charts:nr,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:o}))},[o,i]),(0,a.useEffect)(()=>{if(l&&c){var n;let t=(n=>{if(!c)return[];let t=function(n){let{advices:t}=n;return t}({advices:n});return H()(I()(q()(e,n.map(n=>n.type)))).map(n=>{let e=t.find(t=>t.type===n);if(e)return e;let r=c.dataAnalyzer.execute({data:l});if("data"in r){var a;let t=c.specGenerator.execute({data:r.data,dataProps:r.dataProps,chartTypeRecommendations:[{chartType:n,score:1}]});if("advices"in t)return null==(a=t.advices)?void 0:a[0]}}).filter(n=>null==n?void 0:n.spec)})((n=>{var t;let{data:e,dataMetaMap:r,myChartAdvisor:a}=n,i=r?Object.keys(r).map(n=>({name:n,...r[n]})):null,o=new P.A(e).info(),l=V()(o)>2?null==o?void 0:o.filter(n=>"string"!==n.recommendation&&"date"!==n.recommendation||n.distinct&&n.distinct>1):o,s=null==a?void 0:a.adviseWithLog({data:e,dataProps:i,fields:null==l?void 0:l.map(n=>n.name)});return null!=(t=null==s?void 0:s.advices)?t:[]})({data:l,myChartAdvisor:c}));m(t),h(null==(n=t[0])?void 0:n.type)}},[JSON.stringify(l),c,e]);let u=(0,a.useMemo)(()=>{if((null==p?void 0:p.length)>0){var n,t,e,a;let i=null!=g?g:p[0].type,o=null!=(t=null==p||null==(n=p.find(n=>n.type===i))?void 0:n.spec)?t:void 0;if(o){if(o.data&&["line_chart","step_line_chart"].includes(i)){let n=null==c?void 0:c.dataAnalyzer.execute({data:l});n&&"dataProps"in n&&(o.data=Z({data:o.data,xField:null==(a=n.dataProps)?void 0:a.find(n=>"date"===n.recommendation),chartType:i}))}return"pie_chart"===i&&(null==o||null==(e=o.encode)?void 0:e.color)&&(o.tooltip={title:{field:o.encode.color}}),(0,r.jsx)(N.t,{options:{...o,autoFit:!0,theme:s,height:300},ref:x},i)}}},[p,s,g]);return g?(0,r.jsxs)("div",{children:[(0,r.jsxs)(S.A,{justify:"space-between",className:"mb-2",children:[(0,r.jsx)(C.A,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:A.A.t("Advices")}),(0,r.jsx)(z.A,{className:"w-52",value:g,placeholder:"Chart Switcher",onChange:n=>h(n),size:"small",children:null==p?void 0:p.map(n=>{let t=A.A.t(n.type);return(0,r.jsx)(na,{value:n.type,children:(0,r.jsx)(E.A,{title:t,placement:"right",children:(0,r.jsx)("div",{children:t})})},n.type)})})]})}),(0,r.jsx)(C.A,{children:(0,r.jsx)(E.A,{title:A.A.t("Download"),children:(0,r.jsx)(L.Ay,{onClick:()=>{x.current&&function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Chart",e=document.createElement("a"),r="".concat(t,".png");setTimeout(()=>{let t=function(n){let t=(n=>{if(n)return n.getContainer().getElementsByTagName("canvas")[0]})(n);if(t)return t.toDataURL("image/png")}(n);if(t){e.addEventListener("click",()=>{e.download=r,e.href=t});let n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),e.dispatchEvent(n)}},16)}(x.current,A.A.t(g))},icon:(0,r.jsx)(_.A,{}),type:"text"})})})]}),(0,r.jsx)("div",{className:"flex",children:u})]}):(0,r.jsx)(R.A,{image:R.A.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})};var no=e(7132),nl=e(66766);let ns=(0,a.memo)(n=>{let{width:t,height:e,model:i}=n,o=(0,a.useMemo)(()=>(0,no.ZI)(i||"huggingface"),[i]);return i?(0,r.jsx)(nl.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:e||24,src:o,alt:"llm",priority:!0}):null});var nc=e(40102),nd=e(90797),np=e(94600),nm=e(85189);let ng=n=>{let{references:t}=n,[e,i]=(0,a.useState)(!1),o=(0,a.useMemo)(()=>{var n;return null==t||null==(n=t.knowledge)?void 0:n.map(n=>{var t;return{label:(0,r.jsx)("div",{style:{maxWidth:"120px"},children:(0,r.jsx)(nd.A.Text,{ellipsis:{tooltip:n.name},children:decodeURIComponent(n.name).split("_")[0]})}),key:n.name,children:(0,r.jsx)("div",{className:"h-full overflow-y-auto",children:null==n||null==(t=n.chunks)?void 0:t.map(n=>(0,r.jsx)(nc.default,{children:n.content},n.id))})}})},[t]);return(0,r.jsxs)("div",{children:[(0,r.jsx)(np.A,{className:"mb-1 mt-0",dashed:!0}),(0,r.jsxs)("div",{className:"flex text-sm gap-2 text-blue-400",onClick:()=>i(!0),children:[(0,r.jsx)(s.A,{}),(0,r.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,r.jsx)(nm.A,{open:e,title:"回复引用",placement:"right",onClose:()=>i(!1),destroyOnHidden:!0,className:"p-0",children:(0,r.jsx)(u.A,{items:o,size:"small"})})]})},nh=n=>{let{references:t}=n;try{let n=JSON.parse(t);return(0,r.jsx)(ng,{references:n})}catch(n){return null}},nx=function(n){let{data:t}=n;return t&&t.length?(0,r.jsx)(r.Fragment,{children:t.map((n,t)=>(0,r.jsxs)("div",{className:"rounded",children:[(0,r.jsxs)("div",{className:"flex items-center mb-3 text-sm",children:[n.model?(0,r.jsx)(ns,{model:n.model}):(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-2xl w-6 h-6 inline-block"}),(0,r.jsxs)("div",{className:"ml-2 opacity-70 text-xs",children:[n.sender,(0,r.jsxs)("span",{className:"text-blue-500 font-medium pl-1",children:["@",n.receiver]})]})]}),(0,r.jsx)("div",{className:"whitespace-normal text-xs mb-3",children:(0,r.jsx)(m.A,{components:iA,...ij,children:iv(n.markdown)})}),n.resource&&"null"!==n.resource&&(0,r.jsx)(nh,{references:n.resource})]},t))}):null};var nu=e(45163),nb=e(3231);let nw=function(n){let{data:t}=n;return t&&t.length?(0,r.jsx)("div",{className:"flex flex-col",children:t.map((n,t)=>(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("div",{className:"flex-row mb-1",children:[(0,r.jsx)("span",{className:"text-sm",children:n.agent}),"complete"===n.status?(0,r.jsx)(nu.A,{className:"!text-green-500 ml-2"}):(0,r.jsx)(nb.A,{className:"!text-gray-500 ml-2"})]}),(0,r.jsx)("div",{className:"text-xs break-all text-gray-500",children:n.name})]},t))}):null};var nf=e(27840),nv=e(94326),ny=e(69068),nk=e.n(ny),nj=e(96526),nA=e(79302),n_=e(91924);function nN(n){let{code:t,light:e,dark:i,language:o,customStyle:l}=n,{mode:s}=(0,a.useContext)(j.UK);return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(L.Ay,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{let n=nk()(t);nv.Ay[n?"success":"error"](n?"复制成功":"复制失败")}}),(0,r.jsx)(nj.A,{customStyle:l,language:o,style:"dark"===s?null!=i?i:nA.A:null!=e?e:n_.A,children:t})]})}let nz=function(n){let{data:t}=n;return(0,r.jsx)("div",{className:"file-attach",children:(0,r.jsxs)("span",{className:"border border-gray-200 rounded px-1.5 py-1 inline-flex items-center gap-1.5",children:[(0,r.jsx)("img",{src:"/icons/chat/excel.png",alt:"excel",className:"inline-block align-middle w-5 h-5 mr-1"}),(0,r.jsx)("span",{className:"inline-block align-middle whitespace-nowrap",children:t.name})]})})};var nS=e(50459),nC=e(74608),nF=e(13630),nE=e(96194),nL=e(91218);let nR=n=>{let{code:t,language:e="html"}=n,[i,o]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),p=(0,a.useRef)(null),{t:m}=(0,nL.Bd)(),[g,h]=(0,a.useState)({html:"",css:"",js:"",fullCode:""});(0,a.useEffect)(()=>{h((n=>{let t=n,e="",r="",a=[...n.matchAll(/]*>([\s\S]*?)<\/style>/gi)];a.length>0&&a.forEach(n=>{e+=n[1]+"\n",t=t.replace(n[0],"")});let i=[...n.matchAll(/]*>([\s\S]*?)<\/script>/gi)];i.length>0&&i.forEach(n=>{r+=n[1]+"\n",t=t.replace(n[0],"")});let o=n;return n.includes("")||n.includes("\n\n\n \n \n HTML Preview\n '.concat(a.length>0?a.map(n=>n[0]).join("\n"):"","\n\n\n ").concat(t,"\n ").concat(i.length>0?i.map(n=>n[0]).join("\n"):"","\n\n")),{html:t,css:e,js:r,fullCode:o}})(t))},[t]),(0,a.useEffect)(()=>{let n=()=>{d(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)};return document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",n),document.addEventListener("mozfullscreenchange",n),document.addEventListener("MSFullscreenChange",n),()=>{document.removeEventListener("fullscreenchange",n),document.removeEventListener("webkitfullscreenchange",n),document.removeEventListener("mozfullscreenchange",n),document.removeEventListener("MSFullscreenChange",n)}},[]);let x=()=>{c&&v(),o(!1)},b=()=>{let n=new Blob([g.fullCode],{type:"text/html"}),t=URL.createObjectURL(n),e=document.createElement("a");e.href=t,e.download="preview.html",document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(t)},w=()=>{c?v():f()},f=()=>{let n=p.current;n&&(n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen&&n.mozRequestFullScreen())},v=()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()};return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(nN,{code:t,language:e}),(0,r.jsxs)("div",{className:"absolute bottom-2 right-2 flex gap-2",children:[(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{navigator.clipboard.writeText(t).then(()=>{s(!0),setTimeout(()=>s(!1),2e3)})},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:l?m("code_preview_already_copied"):m("code_preview_copy")}),(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),onClick:b,className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:m("code_preview_download")}),(0,r.jsx)(L.Ay,{type:"primary",icon:(0,r.jsx)(nF.A,{}),onClick:()=>{o(!0)},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:m("code_preview_run")})]}),(0,r.jsx)(nE.A,{title:"HTML "+m("code_preview"),open:i,onCancel:x,footer:[(0,r.jsxs)(L.Ay,{icon:(0,r.jsx)(_.A,{}),onClick:b,children:[m("code_preview_download")," HTML"]},"download"),(0,r.jsx)(L.Ay,{icon:c?(0,r.jsx)(nS.A,{}):(0,r.jsx)(nC.A,{}),onClick:w,children:c?m("code_preview_exit_full_screen"):m("code_preview_full_screen")},"fullscreen"),(0,r.jsx)(L.Ay,{onClick:x,children:m("code_preview_close")},"close")],width:800,bodyStyle:{padding:0},children:(0,r.jsx)(u.A,{defaultActiveKey:"preview",items:(()=>{let n=[{key:"preview",label:m("code_preview"),children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("iframe",{ref:p,srcDoc:g.fullCode,style:{width:"100%",height:"60vh",border:"none"},sandbox:"allow-scripts allow-same-origin",title:"HTML Preview"}),(0,r.jsx)(L.Ay,{type:"primary",icon:c?(0,r.jsx)(nS.A,{}):(0,r.jsx)(nC.A,{}),onClick:w,className:"absolute top-2 right-2 z-10",size:"small",children:c?m("code_preview_exit_full_screen"):m("code_preview_full_screen")})]})}];return(g.html||g.css||g.js)&&n.push({key:"code",label:m("code_preview_code"),children:(0,r.jsxs)("div",{className:"p-4",children:[g.html&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"HTML"}),(0,r.jsx)(nN,{code:g.html,language:"html"})]}),g.css&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"CSS"}),(0,r.jsx)(nN,{code:g.css,language:"css"})]}),g.js&&(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("h3",{className:"text-lg font-medium mb-2",children:"JavaScript"}),(0,r.jsx)(nN,{code:g.js,language:"javascript"})]})]})}),n})()})})]})};var nM=e(35622),nI=e(9949),nO=e(34140),nq=e(1828);let nT=n=>{let{code:t,language:e="svg"}=n,[i,o]=(0,a.useState)(!1),[l,s]=(0,a.useState)(!1),[c,d]=(0,a.useState)(100),{t:p}=(0,nL.Bd)(),m=n=>{let t=n.replace(/<\?xml[^>]*\?>/g,"");if(t.includes("'.concat(t,"")),!t.includes("xmlns=")&&t.includes("")||(t="".concat(t,"")),t},g=()=>{let n=t.match(//im);return n?m(n[0]):m(t)},h=()=>{o(!1),d(100)},x=()=>{let n=new Blob([g()],{type:"image/svg+xml"}),t=URL.createObjectURL(n),e=document.createElement("a");e.href=t,e.download="image.svg",document.body.appendChild(e),e.click(),document.body.removeChild(e),URL.revokeObjectURL(t)};return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(nN,{code:t,language:e}),(0,r.jsxs)("div",{className:"absolute bottom-2 right-2 flex gap-2",children:[(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(nf.A,{}),onClick:()=>{navigator.clipboard.writeText(t).then(()=>{s(!0),setTimeout(()=>s(!1),2e3)})},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p(l?"code_preview_already_copied":"code_preview_copy")}),(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),onClick:x,className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p("code_preview_download")}),(0,r.jsx)(L.Ay,{type:"primary",icon:(0,r.jsx)(nF.A,{}),onClick:()=>{o(!0)},className:"flex items-center justify-center bg-opacity-70 hover:bg-opacity-100 transition-all",size:"small",children:p("code_preview")})]}),(0,r.jsx)(nE.A,{title:"SVG "+p("code_preview"),open:i,onCancel:h,footer:[(0,r.jsxs)(L.Ay,{icon:(0,r.jsx)(_.A,{}),onClick:x,children:[p("code_preview_download")," SVG"]},"svg"),(0,r.jsxs)(L.Ay,{onClick:()=>{let n=document.createElement("canvas"),t=n.getContext("2d"),e=new Image,r=new Blob([g()],{type:"image/svg+xml"}),a=URL.createObjectURL(r);e.onload=()=>{n.width=e.width,n.height=e.height,t.drawImage(e,0,0);try{let t=n.toDataURL("image/png"),e=document.createElement("a");e.href=t,e.download="image.png",document.body.appendChild(e),e.click(),document.body.removeChild(e)}catch(n){console.error("PNG export failed:",n)}URL.revokeObjectURL(a)},e.src=a},children:[p("code_preview_download")," PNG"]},"png"),(0,r.jsx)(L.Ay,{onClick:h,children:p("code_preview_close")},"close")],width:800,bodyStyle:{padding:0},children:(0,r.jsx)(u.A,{defaultActiveKey:"preview",items:[{key:"preview",label:p("code_preview"),children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"flex justify-center items-center p-4 bg-gray-100 dark:bg-gray-800 min-h-[60vh] overflow-auto",children:(0,r.jsx)("div",{className:"relative bg-white dark:bg-gray-700 p-4 shadow-md rounded flex items-center justify-center",children:(0,r.jsx)("div",{className:"transition-transform duration-200",style:{transform:"scale(".concat(c/100,")"),transformOrigin:"center center",maxWidth:"100%",maxHeight:"100%"},children:(0,r.jsx)("div",{className:"svg-container",dangerouslySetInnerHTML:{__html:g()},style:{maxWidth:"100%",margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center"}})})})}),(0,r.jsx)("div",{className:"flex items-center justify-center p-4 border-t border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800",children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nM.A,{}),onClick:()=>{d(Math.max(c-10,50))},disabled:c<=50}),(0,r.jsx)(nq.A,{min:50,max:200,value:c,onChange:n=>{d(n)},style:{width:200}}),(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nI.A,{}),onClick:()=>{d(Math.min(c+10,200))},disabled:c>=200}),(0,r.jsx)(L.Ay,{icon:(0,r.jsx)(nO.A,{}),onClick:()=>{d(100)},disabled:100===c}),(0,r.jsxs)("span",{className:"text-sm text-gray-500 dark:text-gray-400 min-w-[50px]",children:[c,"%"]})]})})]})},{key:"code",label:p("code_preview_code"),children:(0,r.jsx)("div",{className:"p-4",children:(0,r.jsx)(nN,{code:t,language:"svg"})})}]})})]})};var nH=e(76572),nD=e(31511),nQ=e(90765),nP=e(53867),nB=e(16467);let nV=n=>{let{data:t}=n,e=(0,a.useMemo)(()=>{switch(t.status){case"todo":return(0,r.jsx)(nb.A,{});case"failed":return(0,r.jsx)(nD.A,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,r.jsx)(nQ.A,{className:"text-[rgb(82,196,26)]"});case"running":return(0,r.jsx)(nB.A,{indicator:(0,r.jsx)(nP.A,{style:{fontSize:24},spin:!0})});default:return null}},[t]);return t?(0,r.jsxs)("div",{className:"flex flex-col p-2 border pr-4 rounded-md min-w-fit w-2/5",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(nH.A,{scene:"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col flex-1 ml-2",children:[(0,r.jsx)("div",{className:"flex items-center text-sm dark:text-[rgba(255,255,255,0.85)] gap-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(nd.A.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==t?void 0:t.app_desc})]})]}),(0,r.jsx)("div",{className:"text-2xl ml-1",children:e})]}),"failed"===t.status&&t.msg&&(0,r.jsx)(nd.A.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},nU=function(n){var t;let{data:e,type:a,sql:i}=n,l=(null==e?void 0:e[0])?null==(t=Object.keys(null==e?void 0:e[0]))?void 0:t.map(n=>({title:n,dataIndex:n,key:n})):[],s={key:"chart",label:"Chart",children:(0,r.jsx)(ni,{data:e,chartType:D(a)})},c={key:"sql",label:"SQL",children:(0,r.jsx)(nN,{language:"sql",code:(0,o.A4)(null!=i?i:"","mysql")})},d={key:"data",label:"Data",children:(0,r.jsx)(x.A,{dataSource:e,columns:l,scroll:{x:"auto"}})};return(0,r.jsx)(u.A,{defaultActiveKey:"response_table"===a?"data":"chart",items:"response_table"===a?[d,c]:[s,c,d],size:"small"})},nK=function(n){let{data:t}=n;return t?(0,r.jsx)(nU,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},n$=n=>{let{children:t,msg:e}=n,{handleChat:i}=(0,a.useContext)(j.zo);return(0,r.jsx)(L.Ay,{className:"ml-1 inline text-xs",onClick:()=>{null==i||i(e)},type:"dashed",size:"small",children:t||"点击分析当前异常"})};var nJ=e(42104),nW=e(65188),nY=e(29300),nX=e.n(nY),nG=e(35508);let nZ=function(n){var t;let{data:e}=n,{t:i}=(0,nL.Bd)(),[o,l]=(0,a.useState)(0);return(0,r.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:e.code.map((n,t)=>(0,r.jsxs)("div",{className:nX()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===o}),onClick:()=>{l(t)},children:["CODE ",t+1,": ",n[0]]},t))}),e.code.length&&(0,r.jsx)(nN,{language:e.code[o][0],code:e.code[o][1],customStyle:{maxHeight:300,margin:0},light:nG.A,dark:n_.A})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:[i("Terminal")," ",e.exit_success?(0,r.jsx)(nJ.A,{className:"text-green-600"}):(0,r.jsx)(nW.A,{className:"text-red-600"})]})}),(0,r.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,r.jsx)(m.A,{components:iA,remarkPlugins:[f.A],children:iv(null==(t=e.log)?void 0:t.replace(/]+)>/gi,"
").replace(/]+)>/gi,""))})})]})]})},n0=function(n){let{data:t}=n;return(0,r.jsxs)("div",{className:"rounded overflow-hidden",children:[(0,r.jsx)("div",{className:"p-3 text-white bg-red-500 whitespace-normal",children:t.display_type}),(0,r.jsxs)("div",{className:"p-3 bg-red-50",children:[(0,r.jsx)("div",{className:"mb-2 whitespace-normal",children:t.thought}),(0,r.jsx)(nN,{code:(0,o.A4)(t.sql),language:"sql"})]})]})},n1=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]],n2=function(n){let{data:t}=n,e=(0,a.useMemo)(()=>{if(t.chart_count>1){let n=n1[t.chart_count-2],e=0;return n.map(n=>{let r=t.data.slice(e,e+n);return e=n,r})}return[t.data]},[t.data,t.chart_count]);return(0,r.jsx)("div",{className:"flex flex-col gap-3",children:e.map((n,t)=>(0,r.jsx)("div",{className:"flex gap-3",children:n.map((n,t)=>(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4 rounded border border-gray-200 dark:border-gray-500 whitespace-normal",children:[(0,r.jsxs)("div",{children:[n.title&&(0,r.jsx)("div",{className:"mb-2 text-lg",children:n.title}),n.describe&&(0,r.jsx)("div",{className:"mb-4 text-sm text-gray-500",children:n.describe})]}),(0,r.jsx)(ni,{data:n.data,chartType:D(n.type)})]},"chart-".concat(t)))},"row-".concat(t)))})};var n5=e(91479);let n4={todo:{bgClass:"bg-gray-500",icon:(0,r.jsx)(nb.A,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,r.jsx)(nP.A,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,r.jsx)(n5.A,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,r.jsx)(nu.A,{className:"ml-2"})}},n6=function(n){var t,e;let{data:a}=n,{bgClass:i,icon:o}=null!=(t=n4[a.status])?t:{};return(0,r.jsxs)("div",{className:"bg-theme-light dark:bg-theme-dark-container rounded overflow-hidden my-2 flex flex-col",children:[(0,r.jsxs)("div",{className:nX()("flex px-4 md:px-6 py-2 items-center text-white text-sm",i),children:[a.name,o]}),a.result?(0,r.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,r.jsx)(m.A,{components:iA,rehypePlugins:[w.A],remarkPlugins:[f.A],children:null!=(e=a.result)?e:""})}):(0,r.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:a.err_msg})]})};var n3=e(78936),n7=e(17295),n8=e(24517),n9=e(94481);let tn=n=>{let{data:t}=n,{mode:e}=(0,a.useContext)(j.UK),i=(0,a.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning";default:return}},[t]);if(!t)return null;let o="dark"===e?n7.j:n8.n;return(0,r.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,r.jsx)(n9.A,{className:nX()("mb-4",{"bg-[#fafafa] border-[transparent]":!i}),message:t.name,type:i,...i&&{showIcon:!0},..."warning"===i&&{icon:(0,r.jsx)(nB.A,{indicator:(0,r.jsx)(nP.A,{spin:!0})})}}),t.result&&(0,r.jsx)(n3.Ay,{style:{...o,width:"100%",padding:10},className:nX()({"bg-[#fafafa]":"light"===e}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,r.jsx)(m.A,{components:iA,...ij,children:t.err_msg})]})};function tt(n,t){if(!n)return null;let e=n;for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null}var te=e(14042);function tr(n){return n.length>0?n[n.length-1].task_id:""}function ta(n){let{data:t}=n,[e,i]=(0,a.useState)(tr(t)),[o,l]=(0,a.useState)(!1),[s,c]=(0,a.useState)(!0),d=(0,a.useRef)(null);function p(){if(!d.current)return;let n=tt(d.current,"overflow-y-auto");if(!n)return;let t=n.scrollTop,e=n.scrollHeight;c(t+n.clientHeight>=e-10)}function g(n){n===tr(t)?l(!1):l(!0),i(n)}return(0,a.useEffect)(()=>{if(o||i(tr(t)),s&&!o&&d.current){let n=tt(d.current,"overflow-y-auto");n&&n.scrollTo({top:n.scrollHeight})}},[t]),(0,a.useEffect)(()=>{if(te.ee.on(te.q.TASK_CLICK,n=>{g(n.taskId)}),d.current){let n=tt(d.current,"overflow-y-auto");n&&n.addEventListener("scroll",p)}},[]),(0,r.jsx)("div",{className:"flex pl-2",ref:d,children:(0,r.jsx)(u.A,{className:"[&_.ant-tabs-nav]:sticky [&_.ant-tabs-nav]:top-0 [&_.ant-tabs-nav]:z-20 w-full",activeKey:e,items:t.map((n,t)=>{let{agent:e,markdown:a,task_id:i}=n;return{key:i,label:(0,r.jsxs)("div",{className:"flex flex-row items-center",children:[(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-xl w-4 h-4 inline-block mr-2",alt:"".concat(e," avatar")}),(0,r.jsx)("span",{className:"text-xs break-all",children:e})]}),children:(0,r.jsx)(m.A,{components:iA,...ij,children:iv(a)})}}),size:"small",onChange:g})})}var ti=e(37775);function to(n){let{data:t}=n;return t&&t.length?(0,r.jsx)("div",{className:"flex flex-col",children:t.map(n=>{var t;return(0,r.jsxs)("div",{className:"flex flex-row mb-4 cursor-pointer hover:bg-gray-100 p-2 rounded-lg",onClick:(t=n.task_id,()=>{te.ee.emit(te.q.TASK_CLICK,{taskId:t})}),children:[(0,r.jsx)("img",{src:"/agents/".concat(n.avatar),className:"flex-0 rounded-2xl w-8 h-8 inline-block mr-2"}),(0,r.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,r.jsxs)("div",{className:"flex-row mb-1",children:[(0,r.jsxs)("span",{className:"text-xs break-all",children:[n.name," ",(0,r.jsxs)("span",{className:"text-blue-500 font-medium",children:["@",n.agent]})]}),function(n){switch(n){case"todo":return(0,r.jsx)(ti.A,{className:"!text-gray-500 ml-2"});case"running":return(0,r.jsx)(nP.A,{className:"!text-blue-500 ml-2"});case"waiting":return(0,r.jsx)(nb.A,{className:"!text-yellow-500 ml-2"});case"retrying":return(0,r.jsx)(nP.A,{className:"!text-orange-500 ml-2"});case"failed":return(0,r.jsx)(n5.A,{className:"!text-red-500 ml-2"});case"complete":return(0,r.jsx)(nu.A,{className:"!text-green-500 ml-2"});default:return(0,r.jsx)(nb.A,{className:"!text-gray-500 ml-2"})}}(n.status)]}),(0,r.jsx)("div",{className:"text-xs break-all text-gray-500",children:n.content})]})]},"task-".concat(n.task_id))})}):null}var tl=e(66709),ts=e(32429);function tc(n){let{content:t}=n,{t:e}=(0,nL.Bd)(),[i,o]=a.useState(!0);return(0,r.jsxs)("div",{className:"my-4 border rounded-lg overflow-hidden dark:border-gray-600",children:[(0,r.jsx)("div",{className:"flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 cursor-pointer",onClick:()=>o(!i),children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"mr-2 font-medium text-gray-700 dark:text-gray-300",children:i?(0,r.jsx)(tl.A,{}):(0,r.jsx)(ts.A,{})}),(0,r.jsx)("span",{className:"text-gray-700 dark:text-gray-300",children:e("cot_title")})]})}),i&&(0,r.jsx)("div",{className:"p-4 bg-white dark:bg-gray-900 border-t dark:border-gray-700",children:(0,r.jsx)("div",{className:"py-2 px-4 border-l-4 border-blue-600 rounded bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300",children:t||""})})]})}let td=function(n){var t,e;let{code:i,exit_success:o,language:l,log:s}=n,[c,d]=(0,a.useState)(0);return(0,r.jsxs)("div",{className:"bg-[#EAEAEB] rounded overflow-hidden border border-theme-primary dark:bg-theme-dark text-sm",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:null==i?void 0:i.map((n,t)=>(0,r.jsxs)("div",{className:"px-4 py-2 text-[#121417] dark:text-white cursor-pointer ".concat(t===c?"bg-white dark:bg-theme-dark-container":""),onClick:()=>d(t),children:["CODE ",t+1,": ",null==n?void 0:n[0]]},t))}),(null==i?void 0:i.length)?(0,r.jsx)(nN,{language:l||(null==i||null==(t=i[c])?void 0:t[0])||"text",code:(null==i||null==(e=i[c])?void 0:e[1])||"",light:nG.A}):null]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"bg-white dark:bg-theme-dark-container px-4 py-2 text-[#121417] dark:text-white",children:["Terminal",o?(0,r.jsx)(nu.A,{className:"text-green-600"}):(0,r.jsx)(n5.A,{className:"text-red-600"})]})}),(0,r.jsx)("div",{className:"p-4 max-h-72 overflow-y-auto whitespace-normal bg-white dark:dark:bg-theme-dark",children:(0,r.jsx)(m.A,{components:iy,...ij,children:(()=>{try{var n;return JSON.parse(function(n){if("string"!=typeof n)return String(null!=n?n:"");let t=[],e=n.replace(/(```[\s\S]*?```|`[^`\n]+`)/g,n=>(t.push(n),"<>")));return e=(e=e.replace(/\\\\\[/g,"$$").replace(/\\\\\]/g,"$$").replace(/\\\\\(/g,"$").replace(/\\\\\)/g,"$").replace(/\\\[/g,"$$").replace(/\\\]/g,"$$").replace(/\\\(/g,"$").replace(/\\\)/g,"$").replace(/([^\n])\$\$/g,"$1\n\n$$").replace(/\$\$([^\n])/g,"$$\n\n$1").replace(/\$(?=\d)/g,"\\$")).replace(/<>/g,(n,e)=>{var r;return null!=(r=t[parseInt(e,10)])?r:""})}(null==(n=s||"-")?void 0:n.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")))}catch(n){return s||"-"}})()})})]})]})};var tp=e(3795),tm=e(60245),tg=e.n(tm),th=e(45009),tx=e.n(th),tu=e(21447);let tb=a.memo(function(n){let{language:t,markdown:e,showType:a="code",cost:i,exit_success:o,env:l,console:s}=n;switch(a){case"code":return(0,r.jsx)("div",{style:{width:"100%"},className:"vis-codeide-code",children:(0,r.jsx)(nN,{lang:t,code:e||"",style:nG.A})});case"html-preview":return(0,r.jsx)("div",{style:{width:"100%"},className:"vis-codeide-code-html-preview",children:(0,r.jsx)("iframe",{srcDoc:e,style:{width:"100%",height:"100%",border:"none"},sandbox:"allow-scripts"})});case"code-with-console":return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{style:{width:"100%"},className:"vis-codeide-code-with-console",children:[(0,r.jsx)(nN,{lang:t,code:e||"",style:nG.A}),(0,r.jsx)(u.A,{tabBarStyle:{marginBottom:10},type:"card",size:"small",defaultActiveKey:"1",tabBarExtraContent:{right:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{children:(0,r.jsxs)("span",{children:["耗时: ",i,"s"]})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"执行状态: "}),o?(0,r.jsx)(nQ.A,{style:{color:"green"}}):(0,r.jsx)(nD.A,{style:{color:"red"}})]})]})},items:[{label:l?"输出(".concat(l,")"):"输出",key:"1",children:(0,r.jsx)("div",{children:s&&(0,r.jsx)(tu.A,{components:iy,rehypePlugins:[w.A],remarkPlugins:[f.A],children:"```shell\n".concat(s,"\n```")})})}]})]})});default:return(0,r.jsx)(r.Fragment,{})}},tg());var tw=e(15933),tf=e(40827);function tv(){let n=(0,tw._)(["\n width: 100%;\n .ant-tabs-nav::before {\n display: none;\n }\n .CodePreviewClass {\n pre::-webkit-scrollbar {\n height: 8px;\n display: block;\n }\n pre::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 4px;\n }\n pre::-webkit-scrollbar-thumb {\n background: #888;\n border-radius: 4px;\n &:hover {\n background: #333;\n }\n }\n }\n"]);return tv=function(){return n},n}function ty(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 10px;\n"]);return ty=function(){return n},n}let tk=tf.Ay.div(tv()),tj=tf.Ay.div(ty()),tA=a.memo(n=>{let{items:t=[],pureCode:e=!1}=n,[i,o]=(0,a.useState)(0),l=null==t?void 0:t[i],s=(null==l?void 0:l.language)==="html",[c,d]=(0,a.useState)(t.map(()=>"code")),p=c[i];(0,a.useEffect)(()=>{var n;let t=(null==l?void 0:l.markdown)||"";s&&t.trimEnd().endsWith("")?d(n=>[...tx()(n,i,"html-preview")]):(null==l||null==(n=l.console)?void 0:n.length)&&d(n=>[...tx()(n,i,"code-with-console")])},[l,s,i]);let m=s&&(0,r.jsx)(tp.A,{value:p,onChange:n=>{d([...tx()(c,i,n)])},options:[{label:"代码",value:"code"},{label:"预览",value:"html-preview"}]});return e?(0,r.jsx)(tk,{className:"vis-code-ide-code",children:(0,r.jsxs)(tj,{className:"vis-pure-code",children:[(0,r.jsx)(r.Fragment,{children:m}),t.map((n,t)=>{let e=c[t];return(0,r.jsx)(tb,{showType:e,...n},t)})]})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tk,{className:"vis-code-ide scrollbar-default",children:(0,r.jsx)(u.A,{defaultActiveKey:"".concat(i),onChange:n=>{o(parseInt(n))},tabBarStyle:{marginBottom:0},tabBarExtraContent:{right:m},items:t.map((n,t)=>{let e=c[t];return{label:null==n?void 0:n.path,key:"".concat(t),children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tb,{...n,showType:e},t)})}})})})})},tg());function t_(){let n=(0,tw._)(["\n width: 100%;\n min-width: 100px;\n padding: 6px;\n background: transparent;\n\n .card-content {\n width: 100%;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n background-image: linear-gradient(174deg, #ffffff 4%, #ffffff4d 42%, #ffffff00 87%);\n background-color: #ffffff;\n padding: 16px;\n box-shadow: 0px 2px 6px 0px #000a1a08;\n border-radius: 12px;\n\n .confirm-title {\n font-size: 14px;\n color: #000a1ae3;\n line-height: 24px;\n font-weight: 500;\n }\n .confirm-footer {\n height: 32px;\n width: 100%;\n font-size: 14px;\n line-height: 32px;\n color: #000a1a78;\n display: flex;\n justify-content: space-between;\n flex-direction: row-reverse;\n button {\n border-radius: 8px;\n padding: 8px;\n height: 32px;\n }\n }\n .whitespace-normal {\n width: 100%;\n }\n }\n"]);return t_=function(){return n},n}let tN=tf.Ay.div(t_()),tz=n=>{let{data:t,otherComponents:e,onConfirm:i}=n,[o,l]=(0,a.useState)(!!t.disabled);return(0,r.jsx)(tN,{className:"VisConfirmCardClass",children:(0,r.jsxs)("div",{className:"card-content",children:[(0,r.jsx)("span",{className:"confirm-title",children:"\uD83C\uDFAF执行操作确认"}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"whitespace-normal",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...e||{}},...ij,children:(null==t?void 0:t.markdown)||"-"})}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"confirm-footer",children:(0,r.jsx)(L.Ay,{disabled:o,type:"primary",style:o?void 0:{backgroundImage:"linear-gradient(104deg, #3595ff 13%, #185cff 99%)",color:"#ffffff"},onClick:()=>{var n;null==i||i(null!=(n=null==t?void 0:t.extra)?n:{}),l(!0)},children:"确认执行"})})]})})};var tS=e(6124);function tC(){let n=(0,tw._)(["\n width: 100%;\n background: #ffffff73;\n box-shadow: inset 1px 0px 0 0px #000a1a12;\n\n .blue-double-ring {\n width: 16px;\n height: 16px;\n border: 2px solid #3498db;\n border-radius: 50%;\n background-color: white;\n position: relative;\n margin-right: 8px;\n }\n .blue-double-ring::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 8px;\n height: 8px;\n border: 2px solid #3498db;\n border-radius: 50%;\n background-color: white;\n }\n .doc-title {\n font-size: 20px;\n color: #000a1a;\n line-height: 32px;\n text-align: center;\n font-weight: 600;\n border-bottom: 2px solid #000a1a12;\n padding-bottom: 16px;\n }\n .doc-subtitle {\n font-size: 18px;\n color: #000a1a;\n line-height: 26px;\n font-weight: 600;\n margin: 24px 0;\n }\n .doc-section {\n margin-top: 16px;\n font-size: 14px;\n color: #000a1a;\n line-height: 20px;\n font-weight: 600;\n display: flex;\n align-items: center;\n }\n .doc-paragraph {\n font-size: 1rem;\n line-height: 1.6;\n margin-bottom: 1rem;\n color: #34495e;\n }\n .titleActionWrap {\n width: 100%;\n height: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 15px;\n font-weight: 666;\n }\n .reGenerate-button {\n font-size: 14px;\n color: #000a1a;\n font-weight: normal;\n }\n .title-bottom-divider {\n width: 80px;\n height: 5px;\n background: #1b62ff;\n margin: 0 auto;\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n"]);return tC=function(){return n},n}let tF=tf.Ay.div(tC());var tE=e(52699),tL=e.n(tE),tR=e(26597);let tM=(0,a.memo)(n=>{let{title:t="生成文档",extraMenu:e,downloadButton:a,isLoading:i,avatar:o,handleDownload:l}=n;return(0,r.jsxs)("div",{className:"titleActionWrap",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:o&&(0,r.jsx)("img",{style:{height:"24px"},src:o,alt:""})}),(0,r.jsx)("span",{children:t})]}),(0,r.jsxs)(F.A,{size:18,children:[e,a&&(0,r.jsx)(L.Ay,{loading:i,onClick:l,style:{padding:"4px 6px",fontSize:"14px"},children:"下载文档"})]})]})}),tI=n=>{let{data:t,extraMenu:e,downloadButton:i=!0,otherComponents:o}=n,[l,s]=(0,a.useState)(!1),c=async()=>{s(!0);let n=document.querySelector(".DownCardClass");if(!n)return void s(!1);try{let t=await tL()(n,{useCORS:!0}),e=t.toDataURL("image/png"),r=new tR.Ay,a=r.internal.pageSize.getWidth()-20,i=r.internal.pageSize.getHeight()-20,o=t.height*a/t.width,l=Math.ceil(o/i);Array.from({length:l}).forEach((n,t)=>{r.addImage(e,"PNG",10,-i*t+10,a,o),t(0,r.jsxs)("h1",{className:"doc-title",...n,style:{position:"relative",textAlign:"spec"===t.doc_type?"left":"center",borderBottom:"spec"===t.doc_type?"none":"2px solid #000a1a12"},children:[n.children,"spec"===t.doc_type?null:(0,r.jsx)("div",{className:"title-bottom-divider"})]}),h2:n=>(0,r.jsx)("h2",{className:"doc-subtitle",...n}),h3:n=>(0,r.jsxs)("h3",{className:"doc-section",...n,children:[(0,r.jsx)("div",{className:"blue-double-ring"}),n.children]})},...ij,children:(null==t?void 0:t.markdown)||""})})})})})};var tO=e(47548),tq=e(44261),tT=e(70802);function tH(){let n=(0,tw._)(["\n .reload-text {\n color: #1890ff;\n pointer-events: none;\n opacity: 0.5;\n cursor: not-allowed;\n img {\n height: 15px;\n margin-right: 4px;\n display: inline-block;\n vertical-align: -2px;\n }\n }\n .footer-btn {\n display: flex;\n gap: 16px;\n }\n .footer-text {\n color: #1b62ff;\n font-size: 14px;\n margin-bottom: 12px;\n span {\n margin-right: 6px;\n }\n }\n .article-title-container {\n text-align: center;\n margin-bottom: 16px;\n padding: 8px 0;\n }\n .article-title {\n font-size: 18px;\n color: #000a1a;\n font-weight: 600;\n margin-bottom: 0;\n }\n .document-outline-card {\n border-radius: 12px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border: none;\n padding: 4px 0;\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: 100% auto;\n .ant-card-body {\n padding: 8px;\n }\n .ant-card-head {\n font-weight: 600;\n padding: 12px;\n min-height: 20px;\n font-size: 18px;\n color: #000a1a;\n text-align: center;\n }\n .card-header {\n display: flex;\n gap: 8px;\n align-items: center;\n .header-icon {\n color: #1890ff;\n margin-right: 4px;\n display: inline-block;\n }\n }\n .outline-collapse {\n background-color: #fafafa;\n .outline-panel {\n border-bottom: 1px solid #f0f0f0;\n &:last-child {\n border-bottom: none;\n }\n }\n .panel-header {\n display: flex;\n align-items: center;\n padding: 12px 0;\n cursor: pointer;\n .panel-icon {\n color: #bfbfbf;\n margin-right: 8px;\n font-size: 12px;\n }\n .panel-title {\n flex: 1;\n font-weight: 500;\n color: #666;\n transition: color 0.3s;\n &:hover {\n color: #1890ff;\n }\n &.active {\n color: #1890ff;\n font-weight: 600;\n }\n }\n }\n .panel-content {\n padding: 8px 0 16px 20px;\n border-left: 2px solid #e8e8e8;\n margin-left: 6px;\n p {\n margin-bottom: 0;\n font-size: 13px;\n line-height: 1.6;\n }\n }\n }\n }\n .outline-item {\n position: relative;\n }\n .outline-card {\n position: relative;\n z-index: 1;\n border: none !important;\n cursor: pointer;\n .outline-summary {\n max-height: 80px;\n overflow-y: auto;\n }\n }\n"]);return tH=function(){return n},n}let tD=tf.Ay.div(tH()),tQ=n=>{var t;let{data:e,level:a=0,currentHoverId:i,onHover:o}=n,l=i===e.title,s=e.children&&e.children.length>0,c=e.title;return(0,r.jsx)("div",{className:"outline-item level-".concat(a," ").concat(l?"highlighted":""),style:{paddingLeft:4*a,marginTop:8},onMouseEnter:()=>o(e.title),onMouseLeave:()=>o(null),children:(0,r.jsxs)("div",{className:"outline-card",style:{padding:"8px 12px",borderRadius:6,backgroundColor:l?"#f0f0f0":"transparent",borderColor:l?"#91d5ff":"#d9d9d9",cursor:"pointer"},children:[(0,r.jsx)(nd.A.Text,{strong:!0,children:c}),(0,r.jsx)("div",{className:"outline-summary",children:e.summary&&(0,r.jsx)(nd.A.Paragraph,{type:"secondary",style:{fontSize:13,margin:"4px 0 0 0",color:"#000a1aad"},children:e.summary})}),s&&(null==e||null==(t=e.children)?void 0:t.map((n,t)=>(0,r.jsx)(tQ,{data:n,level:a+1,index:t,parentIndex:"",currentHoverId:i,onHover:o},n.title)))]})})},tP=n=>{let{data:t}=n,[e,i]=(0,a.useState)(null),[o,l]=(0,a.useState)(!1);return(0,r.jsx)(tD,{children:(0,r.jsx)(tS.A,{className:"document-outline-card",title:(0,r.jsx)("div",{className:"card-header",children:(0,r.jsxs)(nd.A.Text,{strong:!0,children:[(0,r.jsx)("img",{className:"header-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*fGI9R7c08hAAAAAAQBAAAAgAeprcAQ/original",alt:""}),(0,r.jsx)("span",{children:"文档框架"})]})}),extra:(0,r.jsxs)("div",{className:"reload-text",children:[(0,r.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Rbb0S5b2ihMAAAAAQCAAAAgAeprcAQ/original",alt:""}),"重新生成"]}),children:"running"===t.state?(0,r.jsx)(tT.A,{active:!0}):(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"article-title-container",children:(0,r.jsx)("div",{className:"article-title",children:t.title})}),(0,r.jsx)("div",{className:"outline-content",style:o?{}:{height:"400px",overflow:"auto"},children:t.children&&t.children.map((n,t)=>(0,r.jsx)(tQ,{data:n,level:0,index:t,currentHoverId:e,onHover:i},n.title))}),(0,r.jsxs)("div",{className:"footer-text",onClick:()=>l(!o),style:{cursor:"pointer"},children:[o?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{}),o?"收起文档框架":"展开文档框架"]}),(0,r.jsxs)("div",{className:"footer-btn",children:[(0,r.jsx)(L.Ay,{disabled:!0,style:{borderRadius:18},icon:(0,r.jsx)(tq.A,{}),type:"dashed",block:!0,children:"增加章节"}),(0,r.jsx)(L.Ay,{disabled:!0,type:"primary",style:{width:"120px"},children:"确认框架"})]})]})})})};function tB(){let n=(0,tw._)(["\n border-radius: 11px;\n background-color: #fff;\n box-shadow: 0 2px 6px 0 #000a1a08;\n padding: 14px 20px;\n position: relative;\n overflow: hidden;\n width: 400px;\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: 100%;\n"]);return tB=function(){return n},n}function tV(){let n=(0,tw._)(["\n margin-top: 8px;\n .export-list {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 4px;\n cursor: pointer;\n }\n .yuque-item {\n background: #ffffff;\n box-shadow: 0 2px 6px 0 #000a1a08;\n border-radius: 16px;\n padding: 6px 16px;\n }\n .yuque-icon {\n width: 18px;\n height: 18px;\n margin-right: 6px;\n vertical-align: -4px;\n display: inline-block;\n }\n"]);return tV=function(){return n},n}function tU(){let n=(0,tw._)(["\n position: relative;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]);return tU=function(){return n},n}function tK(){let n=(0,tw._)(["\n font-size: 15px;\n color: #000a1ae3;\n line-height: 24px;\n font-weight: 600;\n flex: 1;\n overflow: hidden;\n .report-title {\n display: flex;\n align-items: center;\n }\n .title-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n .description {\n font-size: 12px;\n color: #000a1aad;\n line-height: 20px;\n text-align: justify;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .yuque-icon {\n width: 18px;\n height: 18px;\n margin-right: 6px;\n vertical-align: -3px;\n display: inline-block;\n flex-shrink: 0;\n }\n"]);return tK=function(){return n},n}let t$=tf.Ay.div(tB()),tJ=tf.Ay.div(tV()),tW=tf.Ay.div(tU()),tY=tf.Ay.div(tK()),tX=n=>{let{data:t,onOpenPanel:e,onExportToYuque:a,onExportToKnowledge:i}=n,{title:o,markdown:l,description:s,state:c="complete",doc_type:d}=t,p="```drsk-doc\n"+JSON.stringify({markdown:l,title:o,doc_type:d})+"\n```";return(0,r.jsxs)("div",{children:[(0,r.jsx)(t$,{onClick:()=>{null==e||e({actionName:"ShowDocReport",data:{markdown:"```knowledge-space-window\n"+JSON.stringify({markdown:p,uid:Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)})+"\n```",title:o,doc_type:d}})},children:(0,r.jsxs)(tW,{children:[(0,r.jsxs)(tY,{children:[(0,r.jsxs)("div",{className:"report-title",children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",alt:""}),(0,r.jsx)("span",{className:"title-text",children:"running"===c?"文档生成中...":o})]}),"running"===c?(0,r.jsx)(tT.A,{active:!0,style:{marginTop:8},paragraph:{rows:2}}):(0,r.jsx)("div",{className:"description",children:s||"-"})]}),(0,r.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*1TweTbIHG8wAAAAAQFAAAAgAeprcAQ/original",style:{height:"118px"},alt:""})]})}),l&&(0,r.jsxs)(tJ,{children:[(0,r.jsx)("div",{style:{color:"#000a1ae3"},children:"导出到:"}),(0,r.jsxs)("div",{className:"export-list",children:[(0,r.jsxs)("div",{className:"yuque-item",onClick:n=>{n.stopPropagation(),null==a||a({title:o,markdown:l})},children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",alt:""}),"语雀文档"]}),(0,r.jsxs)("div",{className:"yuque-item",onClick:n=>{n.stopPropagation(),null==i||i({title:o,markdown:l})},children:[(0,r.jsx)("img",{className:"yuque-icon",src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*gS8ySp3rPtQAAAAAAAAAAAAADprcAQ/original",alt:""}),"知识库"]})]})]})]})},tG=n=>{var t;let{data:e,otherComponents:a}=n;return(0,r.jsx)(tN,{className:"VisConfirmCardClass",children:(0,r.jsxs)("div",{className:"card-content",children:[(0,r.jsxs)("span",{className:"confirm-title",children:["\uD83C\uDFAF",null!=(t=e.title)?t:"交互"]}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}}),(0,r.jsx)("div",{className:"whitespace-normal",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...a||{}},...ij,children:(null==e?void 0:e.markdown)||"-"})}),(0,r.jsx)(np.A,{style:{margin:"8px 0px 8px 0px",borderWidth:"1px",borderColor:"rgba(0, 0, 0, 0.03)"}})]})})};var tZ=e(87344),t0=e(89631),t1=e(17238),t2=e(28562);function t5(){let n=(0,tw._)(["\n .ant-descriptions {\n table {\n display: table !important;\n }\n .ant-descriptions-header {\n margin-bottom: 8px;\n }\n .ant-descriptions-item {\n padding-inline-end: 8px;\n padding-bottom: 2px;\n }\n }\n\n .vis-llm-coll-header {\n padding-left: 0 !important;\n align-items: center !important;\n display: none !important;\n }\n\n .vis-llm-col-content{\n .ant-collapse-content-box{\n // padding: 0 !important;\n max-height: 70vh;\n margin-top: 8px;\n margin-bottom: 8px;\n background: #fafafa;\n overflow: auto;\n pre {\n margin-top: 0 !important;\n }\n }\n }\n"]);return t5=function(){return n},n}let t4=tf.Ay.div(t5());var t6=e(5813),t3=e(67773);function t7(n){var t;let{url:e=""}=n,[i,o]=(0,a.useState)(""),[s,c]=(0,a.useState)(["1"]),[d,p]=(0,a.useState)([]);(0,a.useEffect)(()=>{(0,t3.fGY)(e).then(n=>{var t,e,r,a;let i=(null==(e=n.data)||null==(t=e.data)?void 0:t.items)?[...n.data.data.items]:[];if(!(null==(r=n.data)?void 0:r.success)||!i.length)return;let l=i.length,s=[];for(let n=0;n0){i.push(...t.items),l+=t.items.length;continue}s.push({title:t.title,outputType:t.outputType,content:t.content})}o((null==s||null==(a=s[0])?void 0:a.title)||""),p(s)})},[e]);let m=d.find(n=>n.title===i);return(0,r.jsx)(t6.A,{bordered:!1,style:{padding:0},size:"small",defaultActiveKey:s,expandIcon:n=>{let{}=n;return(0,r.jsx)(r.Fragment,{})},onChange:n=>c(n),destroyOnHidden:!0,ghost:!0,items:[{headerClass:"vis-llm-coll-header",key:"1",className:"vis-llm-col-content",children:(0,r.jsxs)(t1.A,{gap:8,vertical:!0,justify:"flex-start",align:"flex-start",children:[(0,r.jsx)("h4",{children:"模型输入"}),!!s.length&&(0,r.jsx)(tp.A,{value:i,onChange:n=>o(n||""),onClick:n=>n.stopPropagation(),options:d.map(n=>({label:n.title,value:n.title}))}),(null==m?void 0:m.content)&&(0,r.jsx)(tu.A,{className:"whitespace-normal",components:{...iy},...ij,children:(null==(t=m.outputType)?void 0:t.toLowerCase())==="json"?"```json\n".concat(JSON.stringify((0,l.j)(null==m?void 0:m.content),null,2),"\n```"):null==m?void 0:m.content})]})}]})}let t8=a.memo(n=>{let{data:t}=n,{llm_avatar:e,token_use:i,cost:o,token_speed:l,markdown:s,link_url:c}=t||{},[d,p]=(0,a.useState)(!1);return(0,r.jsxs)(t4,{className:"vis-llm",children:[(0,r.jsx)(t0.A,{title:(0,r.jsxs)(t1.A,{flex:0,align:"center",gap:10,children:[(0,r.jsx)(t2.A,{onClick:()=>p(!d),src:e,children:(0,r.jsx)(tZ.A,{})}),(0,r.jsx)("div",{children:(null==t?void 0:t.llm_model)||"模型输出"})]}),rootClassName:"",layout:"vertical",column:3,size:"small",items:[{label:"推理耗时",children:o?"".concat(o,"s"):"-"},{label:"输出token",children:i||"-"},{label:"速度",children:l?"".concat(l," tokens/s"):"-"}]}),d&&(0,r.jsx)(t7,{url:c}),(0,r.jsx)("div",{children:s&&(0,r.jsx)(tu.A,{className:"whitespace-normal",components:{...iy},...ij,children:null==s?void 0:s.replaceAll("~","~")})})]})},tg());var t9=e(71081);function en(){let n=(0,tw._)(["\n background-image: url('https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*AnNuRJzJj3MAAAAAQlAAAAgAeprcAQ/original'),\n linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);\n background-repeat: no-repeat;\n background-position: top center;\n background-size: ",";\n box-shadow: 0px 2px 6px 0px #000a1a08;\n transition: height 0.3s ease;\n background-color: #fff;\n width: ",";\n max-height: 450px;\n padding: 8px 16px;\n border-radius: ",";\n\n .document_header {\n font-size: 16px;\n color: #000a1ae3;\n font-weight: 600;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n .document_title {\n display: flex;\n align-items: center;\n }\n span {\n font-size: 14px;\n color: #000a1aad;\n line-height: 22px;\n text-align: right;\n display: flex;\n align-items: center;\n gap: 4px;\n font-weight: normal;\n }\n }\n .document_content {\n overflow-y: scroll;\n height: 300px;\n .ant-tree {\n background-color: transparent;\n }\n }\n"]);return en=function(){return n},n}let et=tf.Ay.div(en(),n=>n.expanded?"566px 150px":"194px 34px",n=>n.expanded?"570px":"194px",n=>n.expanded?"12px":"75px"),ee=n=>{let{data:t}=n,[e,i]=(0,a.useState)(!0);if(!t)return null;let o=[];try{let n=JSON.parse(t.markdown);Array.isArray(n)&&(o=n)}catch(n){o=[]}return 0===o.length?(0,r.jsx)(R.A,{description:"暂无数据"}):(0,r.jsxs)(et,{expanded:e,children:[(0,r.jsxs)("div",{className:"document_header",onClick:()=>i(!e),children:[(0,r.jsxs)("div",{className:"document_title",children:[(0,r.jsx)("img",{style:{height:22,verticalAlign:"-4px",marginRight:6},src:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",alt:""}),"文档目录"]}),(0,r.jsxs)("span",{children:[e?"收起":"查看",e?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})]})]}),e&&(0,r.jsx)(np.A,{style:{margin:"8px 0 8px"}}),e&&(0,r.jsx)("div",{className:"document_content",children:(0,r.jsx)(t9.A,{treeData:o,blockNode:!0,showLine:{showLeafIcon:!0},showIcon:!1})})]})};function er(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 8px 0;\n width: 100%;\n border-radius: 16px;\n padding: 16px;\n"]);return er=function(){return n},n}let ea=tf.Ay.div(er());var ei=e(32191),eo=e(85121),el=e(45577),es=e.n(el);let ec=a.memo(n=>{var t,e;let{uid:a=es()("chart_id_"),...i}=n,o="json"===i.out_type&&Array.isArray(i.data)?i.data.length:0;return(0,r.jsx)(ea,{className:"d-monitor",children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsx)(tS.A,{variant:"borderless",title:"数据源信息",extra:(0,r.jsx)(h.A,{color:"blue",children:"json"===i.out_type?"JSON数据源":"文件数据源"}),children:(0,r.jsxs)(F.A,{style:{width:"100%"},direction:"vertical",children:[(0,r.jsx)(tS.A,{size:"small",variant:"borderless",style:{background:"rgba(0,0,0,0.02)"},children:(0,r.jsx)(t0.A,{size:"small",title:i.tool_name,items:[{key:"1",label:"耗时",children:i.tool_cost?"".concat(i.tool_cost,"s"):"-"},{key:"2",label:"工具版本",children:i.tool_version||"-"},{key:"3",label:"数据行数",children:o||"-"},{key:"4",label:"运行环境",children:i.run_env||"-"}]})}),(0,r.jsx)(t6.A,{bordered:!1,destroyOnHidden:!0,items:[{label:"输入参数",children:(0,r.jsx)(nN,{language:"json",code:"object"==typeof(null==i?void 0:i.tool_args)?JSON.stringify(null==i?void 0:i.tool_args,null,2):String(null!=(t=null==i?void 0:i.tool_args)?t:""),light:nG.A})}]}),"json"===i.out_type&&(0,r.jsx)(t6.A,{bordered:!1,items:[{key:"1",label:"数据内容",children:(0,r.jsx)(nN,{language:"json",code:JSON.stringify(null!=(e=i.data)?e:{},null,2),light:nG.A})}]}),"file"===i.out_type&&"string"==typeof(null==i?void 0:i.data)&&(0,r.jsx)(t6.A,{bordered:!1,items:[{key:"1",label:(0,r.jsxs)(t1.A,{gap:10,children:[(0,r.jsx)(ei.A,{}),function(n){var t;let e=n.split("/");return null!=(t=e[e.length-1])?t:n}(i.data)]}),children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsx)(nd.A.Text,{children:"文件信息"}),(0,r.jsxs)(nd.A.Text,{children:[(0,r.jsxs)(h.A,{color:"orange",children:["文件大小: ","-"]}),(0,r.jsxs)(h.A,{color:"orange",children:["数据行数: ",o," 行"]})]}),(0,r.jsx)(nd.A.Text,{children:"文件链接"}),(0,r.jsx)(nd.A.Link,{href:i.data,children:i.data}),(0,r.jsx)(nd.A.Text,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:"数据预览"}),(0,r.jsx)(E.A,{title:"预览只展示5条数据",children:(0,r.jsx)(eo.A,{style:{marginRight:12}})})]})}),(0,r.jsx)(x.A,{size:"small",pagination:!1,columns:[],bordered:!1,scroll:{x:"100%"},dataSource:[]})]})}]})]})}),(0,r.jsx)(tS.A,{bodyStyle:{padding:0},title:"监控数据曲线图",children:(0,r.jsx)("div",{id:"chart-".concat(a,"-0"),style:{width:"100%",minHeight:200}})})]})},a)});function ed(){let n=(0,tw._)(["\n white-space: pre-wrap;\n white-space: normal;\n font-size: 12px;\n color: #000a1ae3;\n line-height: 20px;\n\n .read-yuque-card {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .other {\n display: flex;\n align-items: center;\n }\n .des {\n margin-top: 4px;\n }\n"]);return ed=function(){return n},n}let ep=tf.Ay.div(ed()),em={yuque:"yuque",document:"file",code_wiki:"wiki",monitor:"monitor"},eg=n=>(0,r.jsx)("div",{onClick:n=>n.stopPropagation(),children:(0,r.jsx)(g.A,{...n})}),eh=n=>{let{data:t,onConnectDocument:e}=n,{operation:a,datasource:i,monitor_image_url:o}=t;return(0,r.jsx)(ep,{onClick:n=>{n.preventDefault();let r=null==t?void 0:t.url;if(r&&r.includes("yuque")){let n=new URL(r).pathname.split("/").filter(n=>n);n.length>=3&&(null==e||e({groupLogin:n[0],docSlug:n[1],docUrl:n[2]}))}else(null==t?void 0:t.doc_id)?null==e||e({docId:t.doc_id,repo:t.repo}):(null==t?void 0:t.file_id)?null==e||e({fileId:t.file_id}):(null==t?void 0:t.monitor_id)&&(null==e||e({monitorId:t.monitor_id,imageId:t.image_id}))},children:(0,r.jsx)("div",{className:"read-yuque-card",children:"monitor"===em[i||"yuque"]?(0,r.jsxs)("div",{children:[(0,r.jsx)(eg,{src:o,alt:a,width:68}),(0,r.jsx)("div",{className:"des",children:a})]}):(0,r.jsxs)("span",{className:"other",children:[(0,r.jsx)("img",{src:function(n,t){let e={yuque:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*Yf68SInL2E8AAAAAAAAAAAAADprcAQ/original",file:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",wiki:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*HOaXQ785mB4AAAAAQDAAAAgAeprcAQ/original"};return e[n]||e.file}(em[i||"yuque"],0),style:{height:"18px",width:"18px",marginRight:4},alt:""}),a]})})})};function ex(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n .titleActionWrap {\n width: 100%;\n height: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 15px;\n font-weight: 666;\n }\n"]);return ex=function(){return n},n}let eu=tf.Ay.div(ex());function eb(){let n=(0,tw._)(["\n pre {\n margin: 0;\n }\n /* styles/katex-override.css */\n\n /* Inlined from katex-override.css */\n\n .katex {\n font-size: 1.25em !important;\n /* Adjust the font size */\n line-height: 3 !important;\n }\n\n /* ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com */\n\n /*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n }\n\n ::before,\n ::after {\n --tw-content: '';\n }\n\n /*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n*/\n\n html {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: 'Josefin Sans', ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n }\n\n /*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\n body {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n }\n\n /*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n hr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n }\n\n /*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n /*\nRemove the default font size and weight for headings.\n*/\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n /*\nAdd the correct font weight in Edge and Safari.\n*/\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /*\n1. Use the user's configured mono font family by default.\n2. Correct the odd em font sizing in all browsers.\n*/\n\n code,\n kbd,\n samp,\n pre {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',\n Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n /* 1 */\n font-size: 1em;\n /* 2 */\n }\n\n /*\nAdd the correct font size in all browsers.\n*/\n\n small {\n font-size: 80%;\n }\n\n /*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n table {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n }\n\n /*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n }\n\n /*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n button,\n select {\n text-transform: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n }\n\n /*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n :-moz-focusring {\n outline: auto;\n }\n\n /*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n /*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n progress {\n vertical-align: baseline;\n }\n\n /*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n /*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n [type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n }\n\n /*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n }\n\n /*\nAdd the correct display in Chrome and Safari.\n*/\n\n summary {\n display: list-item;\n }\n\n /*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /*\nPrevent resizing textareas horizontally by default.\n*/\n\n textarea {\n resize: vertical;\n }\n\n /*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\n input::-moz-placeholder,\n textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n input::placeholder,\n textarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n /*\nSet the default cursor for buttons.\n*/\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n /*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n :disabled {\n cursor: default;\n }\n\n /*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n }\n\n /*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n /* Make elements with the HTML hidden attribute stay hidden by default */\n\n [hidden] {\n display: none;\n }\n\n *,\n ::before,\n ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n .container {\n width: 100%;\n }\n\n @media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n }\n\n @media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n }\n\n @media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n }\n\n @media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n }\n\n @media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n }\n\n .!visible {\n visibility: visible !important;\n }\n\n .visible {\n visibility: visible !important;\n }\n\n .static {\n position: static !important;\n }\n\n .fixed {\n position: fixed !important;\n }\n\n .absolute {\n position: absolute !important;\n }\n\n .relative {\n position: relative !important;\n }\n\n .sticky {\n position: sticky !important;\n }\n\n .-left-5 {\n left: -1.25rem !important;\n }\n\n .bottom-0 {\n bottom: 0px !important;\n }\n\n .bottom-1 {\n bottom: 0.25rem !important;\n }\n\n .bottom-2 {\n bottom: 0.5rem !important;\n }\n\n .bottom-24 {\n bottom: 6rem !important;\n }\n\n .bottom-3 {\n bottom: 0.75rem !important;\n }\n\n .bottom-4 {\n bottom: 1rem !important;\n }\n\n .bottom-8 {\n bottom: 2rem !important;\n }\n\n .bottom-[-40px] {\n bottom: -40px !important;\n }\n\n .bottom-[30%] {\n bottom: 30% !important;\n }\n\n .left-0 {\n left: 0px !important;\n }\n\n .left-1/2 {\n left: 50% !important;\n }\n\n .left-2 {\n left: 0.5rem !important;\n }\n\n .left-4 {\n left: 1rem !important;\n }\n\n .right-0 {\n right: 0px !important;\n }\n\n .right-2 {\n right: 0.5rem !important;\n }\n\n .right-3 {\n right: 0.75rem !important;\n }\n\n .right-4 {\n right: 1rem !important;\n }\n\n .right-6 {\n right: 1.5rem !important;\n }\n\n .right-[1px] {\n right: 1px !important;\n }\n\n .top-0 {\n top: 0px !important;\n }\n\n .top-1/2 {\n top: 50% !important;\n }\n\n .top-2 {\n top: 0.5rem !important;\n }\n\n .top-4 {\n top: 1rem !important;\n }\n\n .top-[-35px] {\n top: -35px !important;\n }\n\n .top-[1px] {\n top: 1px !important;\n }\n\n .top-[50%] {\n top: 50% !important;\n }\n\n .z-10 {\n z-index: 10 !important;\n }\n\n .z-30 {\n z-index: 30 !important;\n }\n\n .z-50 {\n z-index: 50 !important;\n }\n\n .m-0 {\n margin: 0px !important;\n }\n\n .m-6 {\n margin: 1.5rem !important;\n }\n\n .m-auto {\n margin: auto !important;\n }\n\n .mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .mx-4 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .mx-6 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .mx-[-8px] {\n margin-left: -8px !important;\n margin-right: -8px !important;\n }\n\n .mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .my-3 {\n margin-top: 0.75rem !important;\n margin-bottom: 0.75rem !important;\n }\n\n .my-4 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .!mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .-ml-4 {\n margin-left: -1rem !important;\n }\n\n .-mr-4 {\n margin-right: -1rem !important;\n }\n\n .mb-0 {\n margin-bottom: 0px !important;\n }\n\n .mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .mb-3 {\n margin-bottom: 0.75rem !important;\n }\n\n .mb-4 {\n margin-bottom: 1rem !important;\n }\n\n .mb-5 {\n margin-bottom: 1.25rem !important;\n }\n\n .mb-6 {\n margin-bottom: 1.5rem !important;\n }\n\n .ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .ml-16 {\n margin-left: 4rem !important;\n }\n\n .ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .ml-3 {\n margin-left: 0.75rem !important;\n }\n\n .ml-4 {\n margin-left: 1rem !important;\n }\n\n .ml-5 {\n margin-left: 1.25rem !important;\n }\n\n .ml-6 {\n margin-left: 1.5rem !important;\n }\n\n .mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .mr-24 {\n margin-right: 6rem !important;\n }\n\n .mr-3 {\n margin-right: 0.75rem !important;\n }\n\n .mr-4 {\n margin-right: 1rem !important;\n }\n\n .mr-6 {\n margin-right: 1.5rem !important;\n }\n\n .mt-0 {\n margin-top: 0px !important;\n }\n\n .mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .mt-3 {\n margin-top: 0.75rem !important;\n }\n\n .mt-4 {\n margin-top: 1rem !important;\n }\n\n .mt-6 {\n margin-top: 1.5rem !important;\n }\n\n .mt-8 {\n margin-top: 2rem !important;\n }\n\n .mt-[-4px] {\n margin-top: -4px !important;\n }\n\n .mt-[1px] {\n margin-top: 1px !important;\n }\n\n .line-clamp-1 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 1 !important;\n }\n\n .line-clamp-2 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 2 !important;\n }\n\n .block {\n display: block !important;\n }\n\n .inline-block {\n display: inline-block !important;\n }\n\n .inline {\n display: inline !important;\n }\n\n .flex {\n display: flex !important;\n }\n\n .table {\n display: table !important;\n }\n\n .grid {\n display: grid !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n .h-0 {\n height: 0px !important;\n }\n\n .h-1 {\n height: 0.25rem !important;\n }\n\n .h-1/2 {\n height: 50% !important;\n }\n\n .h-10 {\n height: 2.5rem !important;\n }\n\n .h-11 {\n height: 2.75rem !important;\n }\n\n .h-12 {\n height: 3rem !important;\n }\n\n .h-14 {\n height: 3.5rem !important;\n }\n\n .h-2 {\n height: 0.5rem !important;\n }\n\n .h-20 {\n height: 5rem !important;\n }\n\n .h-24 {\n height: 6rem !important;\n }\n\n .h-28 {\n height: 7rem !important;\n }\n\n .h-3 {\n height: 0.75rem !important;\n }\n\n .h-40 {\n height: 10rem !important;\n }\n\n .h-5 {\n height: 1.25rem !important;\n }\n\n .h-5/6 {\n height: 83.333333% !important;\n }\n\n .h-6 {\n height: 1.5rem !important;\n }\n\n .h-64 {\n height: 16rem !important;\n }\n\n .h-7 {\n height: 1.75rem !important;\n }\n\n .h-8 {\n height: 2rem !important;\n }\n\n .h-96 {\n height: 24rem !important;\n }\n\n .h-[1.5em] {\n height: 1.5em !important;\n }\n\n .h-[133px] {\n height: 133px !important;\n }\n\n .h-[150px] {\n height: 150px !important;\n }\n\n .h-[300px] {\n height: 300px !important;\n }\n\n .h-[40px] {\n height: 40px !important;\n }\n\n .h-[500px] {\n height: 500px !important;\n }\n\n .h-[600px] {\n height: 600px !important;\n }\n\n .h-[90vh] {\n height: 90vh !important;\n }\n\n .h-[calc(100vh-48px)] {\n height: calc(100vh - 48px) !important;\n }\n\n .h-auto {\n height: auto !important;\n }\n\n .h-full {\n height: 100% !important;\n }\n\n .h-screen {\n height: 100vh !important;\n }\n\n .max-h-64 {\n max-height: 16rem !important;\n }\n\n .max-h-72 {\n max-height: 18rem !important;\n }\n\n .max-h-[300px] {\n max-height: 300px !important;\n }\n\n .max-h-[400px] {\n max-height: 400px !important;\n }\n\n .max-h-[70vh] {\n max-height: 70vh !important;\n }\n\n .max-h-[90vh] {\n max-height: 90vh !important;\n }\n\n .max-h-[calc((100vh-156px)/2)] {\n max-height: calc((100vh - 156px) / 2) !important;\n }\n\n .max-h-full {\n max-height: 100% !important;\n }\n\n .max-h-screen {\n max-height: 100vh !important;\n }\n\n .min-h-[1rem] {\n min-height: 1rem !important;\n }\n\n .min-h-[200px] {\n min-height: 200px !important;\n }\n\n .min-h-[42px] {\n min-height: 42px !important;\n }\n\n .min-h-[60vh] {\n min-height: 60vh !important;\n }\n\n .min-h-fit {\n min-height: -moz-fit-content !important;\n min-height: fit-content !important;\n }\n\n .min-h-full {\n min-height: 100% !important;\n }\n\n .w-0 {\n width: 0px !important;\n }\n\n .w-1 {\n width: 0.25rem !important;\n }\n\n .w-1/2 {\n width: 50% !important;\n }\n\n .w-1/3 {\n width: 33.333333% !important;\n }\n\n .w-1/4 {\n width: 25% !important;\n }\n\n .w-1/5 {\n width: 20% !important;\n }\n\n .w-1/6 {\n width: 16.666667% !important;\n }\n\n .w-10 {\n width: 2.5rem !important;\n }\n\n .w-11 {\n width: 2.75rem !important;\n }\n\n .w-11/12 {\n width: 91.666667% !important;\n }\n\n .w-12 {\n width: 3rem !important;\n }\n\n .w-14 {\n width: 3.5rem !important;\n }\n\n .w-16 {\n width: 4rem !important;\n }\n\n .w-2 {\n width: 0.5rem !important;\n }\n\n .w-2/3 {\n width: 66.666667% !important;\n }\n\n .w-2/5 {\n width: 40% !important;\n }\n\n .w-20 {\n width: 5rem !important;\n }\n\n .w-28 {\n width: 7rem !important;\n }\n\n .w-3 {\n width: 0.75rem !important;\n }\n\n .w-3/4 {\n width: 75% !important;\n }\n\n .w-3/5 {\n width: 60% !important;\n }\n\n .w-32 {\n width: 8rem !important;\n }\n\n .w-36 {\n width: 9rem !important;\n }\n\n .w-4 {\n width: 1rem !important;\n }\n\n .w-40 {\n width: 10rem !important;\n }\n\n .w-48 {\n width: 12rem !important;\n }\n\n .w-5 {\n width: 1.25rem !important;\n }\n\n .w-5/6 {\n width: 83.333333% !important;\n }\n\n .w-52 {\n width: 13rem !important;\n }\n\n .w-6 {\n width: 1.5rem !important;\n }\n\n .w-60 {\n width: 15rem !important;\n }\n\n .w-64 {\n width: 16rem !important;\n }\n\n .w-7 {\n width: 1.75rem !important;\n }\n\n .w-72 {\n width: 18rem !important;\n }\n\n .w-8 {\n width: 2rem !important;\n }\n\n .w-80 {\n width: 20rem !important;\n }\n\n .w-96 {\n width: 24rem !important;\n }\n\n .w-[1.5em] {\n width: 1.5em !important;\n }\n\n .w-[142px] {\n width: 142px !important;\n }\n\n .w-[1px] {\n width: 1px !important;\n }\n\n .w-[230px] {\n width: 230px !important;\n }\n\n .w-[256px] {\n width: 256px !important;\n }\n\n .w-[26rem] {\n width: 26rem !important;\n }\n\n .w-[280px] {\n width: 280px !important;\n }\n\n .w-[30rem] {\n width: 30rem !important;\n }\n\n .w-[320px] {\n width: 320px !important;\n }\n\n .w-[50px] {\n width: 50px !important;\n }\n\n .w-[530px] {\n width: 530px !important;\n }\n\n .w-[900px] {\n width: 900px !important;\n }\n\n .w-auto {\n width: auto !important;\n }\n\n .w-full {\n width: 100% !important;\n }\n\n .w-screen {\n width: 100vw !important;\n }\n\n .min-w-0 {\n min-width: 0px !important;\n }\n\n .min-w-[200px] {\n min-width: 200px !important;\n }\n\n .min-w-[50px] {\n min-width: 50px !important;\n }\n\n .min-w-fit {\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n }\n\n .max-w-2xl {\n max-width: 42rem !important;\n }\n\n .max-w-[240px] {\n max-width: 240px !important;\n }\n\n .max-w-full {\n max-width: 100% !important;\n }\n\n .max-w-md {\n max-width: 28rem !important;\n }\n\n .max-w-none {\n max-width: none !important;\n }\n\n .flex-1 {\n flex: 1 1 0% !important;\n }\n\n .flex-auto {\n flex: 1 1 auto !important;\n }\n\n .flex-none {\n flex: none !important;\n }\n\n .flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .shrink {\n flex-shrink: 1 !important;\n }\n\n .shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .grow {\n flex-grow: 1 !important;\n }\n\n .grow-0 {\n flex-grow: 0 !important;\n }\n\n .-translate-x-1/2 {\n --tw-translate-x: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-1/2 {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-[50%] {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-0 {\n --tw-translate-x: 0px !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-full {\n --tw-translate-x: 100% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n @keyframes fade {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n .animate-fade {\n animation: fade var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, ease) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, 1) var(--tw-animate-fill, both) !important;\n }\n\n @keyframes pulse1 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse1 {\n animation: pulse1 1.2s infinite !important;\n }\n\n @keyframes pulse2 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 66.666% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse2 {\n animation: pulse2 1.2s infinite !important;\n }\n\n @keyframes pulse3 {\n 0%,\n 66.666% {\n transform: scale(1);\n background-color: ##bdc0c4;\n }\n\n 100% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse3 {\n animation: pulse3 1.2s infinite !important;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n .animate-spin {\n animation: spin var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, linear) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, infinite) var(--tw-animate-fill, none) !important;\n }\n\n .cursor-grab {\n cursor: grab !important;\n }\n\n .cursor-move {\n cursor: move !important;\n }\n\n .cursor-no-drop {\n cursor: no-drop !important;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed !important;\n }\n\n .cursor-pointer {\n cursor: pointer !important;\n }\n\n .resize-none {\n resize: none !important;\n }\n\n .list-decimal {\n list-style-type: decimal !important;\n }\n\n .list-disc {\n list-style-type: disc !important;\n }\n\n .grid-flow-row {\n grid-auto-flow: row !important;\n }\n\n .auto-rows-max {\n grid-auto-rows: max-content !important;\n }\n\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr)) !important;\n }\n\n .flex-row {\n flex-direction: row !important;\n }\n\n .flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n\n .flex-col {\n flex-direction: column !important;\n }\n\n .flex-wrap {\n flex-wrap: wrap !important;\n }\n\n .content-center {\n align-content: center !important;\n }\n\n .items-start {\n align-items: flex-start !important;\n }\n\n .items-end {\n align-items: flex-end !important;\n }\n\n .items-center {\n align-items: center !important;\n }\n\n .items-stretch {\n align-items: stretch !important;\n }\n\n .justify-start {\n justify-content: flex-start !important;\n }\n\n .justify-end {\n justify-content: flex-end !important;\n }\n\n .justify-center {\n justify-content: center !important;\n }\n\n .justify-between {\n justify-content: space-between !important;\n }\n\n .justify-around {\n justify-content: space-around !important;\n }\n\n .gap-1 {\n gap: 0.25rem !important;\n }\n\n .gap-2 {\n gap: 0.5rem !important;\n }\n\n .gap-3 {\n gap: 0.75rem !important;\n }\n\n .gap-4 {\n gap: 1rem !important;\n }\n\n .gap-6 {\n gap: 1.5rem !important;\n }\n\n .gap-8 {\n gap: 2rem !important;\n }\n\n .gap-x-6 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n\n .gap-y-10 {\n row-gap: 2.5rem !important;\n }\n\n .gap-y-5 {\n row-gap: 1.25rem !important;\n }\n\n .space-x-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0 !important;\n margin-right: calc(1rem * var(--tw-space-x-reverse)) !important;\n margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))) !important;\n }\n\n .space-y-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-3 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;\n }\n\n .overflow-auto {\n overflow: auto !important;\n }\n\n .overflow-hidden {\n overflow: hidden !important;\n }\n\n .overflow-scroll {\n overflow: scroll !important;\n }\n\n .overflow-x-auto {\n overflow-x: auto !important;\n }\n\n .overflow-y-auto {\n overflow-y: auto !important;\n }\n\n .overflow-y-scroll {\n overflow-y: scroll !important;\n }\n\n .truncate {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n .text-ellipsis {\n text-overflow: ellipsis !important;\n }\n\n .whitespace-normal {\n white-space: normal !important;\n }\n\n .whitespace-nowrap {\n white-space: nowrap !important;\n }\n\n .whitespace-pre-wrap {\n white-space: pre-wrap !important;\n }\n\n .break-words {\n overflow-wrap: break-word !important;\n }\n\n .rounded {\n border-radius: 0.25rem !important;\n }\n\n .rounded-2xl {\n border-radius: 1rem !important;\n }\n\n .rounded-3xl {\n border-radius: 1.5rem !important;\n }\n\n .rounded-[10px] {\n border-radius: 10px !important;\n }\n\n .rounded-[50%] {\n border-radius: 50% !important;\n }\n\n .rounded-full {\n border-radius: 9999px !important;\n }\n\n .rounded-lg {\n border-radius: 0.5rem !important;\n }\n\n .rounded-md {\n border-radius: 0.375rem !important;\n }\n\n .rounded-none {\n border-radius: 0px !important;\n }\n\n .rounded-sm {\n border-radius: 0.125rem !important;\n }\n\n .rounded-xl {\n border-radius: 0.75rem !important;\n }\n\n .rounded-bl {\n border-bottom-left-radius: 0.25rem !important;\n }\n\n .rounded-bl-none {\n border-bottom-left-radius: 0px !important;\n }\n\n .rounded-br {\n border-bottom-right-radius: 0.25rem !important;\n }\n\n .rounded-br-none {\n border-bottom-right-radius: 0px !important;\n }\n\n .rounded-tl {\n border-top-left-radius: 0.25rem !important;\n }\n\n .rounded-tl-md {\n border-top-left-radius: 0.375rem !important;\n }\n\n .rounded-tl-none {\n border-top-left-radius: 0px !important;\n }\n\n .rounded-tr {\n border-top-right-radius: 0.25rem !important;\n }\n\n .rounded-tr-md {\n border-top-right-radius: 0.375rem !important;\n }\n\n .border {\n border-width: 1px !important;\n }\n\n .border-0 {\n border-width: 0px !important;\n }\n\n .border-2 {\n border-width: 2px !important;\n }\n\n .border-[0.5px] {\n border-width: 0.5px !important;\n }\n\n .border-b {\n border-bottom-width: 1px !important;\n }\n\n .border-b-2 {\n border-bottom-width: 2px !important;\n }\n\n .border-l {\n border-left-width: 1px !important;\n }\n\n .border-l-4 {\n border-left-width: 4px !important;\n }\n\n .border-r {\n border-right-width: 1px !important;\n }\n\n .border-t {\n border-top-width: 1px !important;\n }\n\n .border-solid {\n border-style: solid !important;\n }\n\n .border-dashed {\n border-style: dashed !important;\n }\n\n .border-none {\n border-style: none !important;\n }\n\n .border-[#0c75fc] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d5e5f6] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(213 229 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d6d8da] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(214 216 218 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#d9d9d9] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(217 217 217 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#e3e4e6] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(227 228 230 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#edeeef] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(237 238 239 / var(--tw-border-opacity)) !important;\n }\n\n .border-[#f0f0f0] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(240 240 240 / var(--tw-border-opacity)) !important;\n }\n\n .border-[transparent] {\n border-color: transparent !important;\n }\n\n .border-blue-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(59 130 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-blue-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(37 99 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-100 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(243 244 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-200 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-800 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n .border-red-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(220 38 38 / var(--tw-border-opacity)) !important;\n }\n\n .border-slate-300 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(203 213 225 / var(--tw-border-opacity)) !important;\n }\n\n .border-stone-400 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(168 162 158 / var(--tw-border-opacity)) !important;\n }\n\n .border-theme-primary {\n --tw-border-opacity: 1 !important;\n border-color: rgb(0 105 254 / var(--tw-border-opacity)) !important;\n }\n\n .border-white {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n .bg-[#0C75FC] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#0c75fc] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#EAEAEB] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(234 234 235 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#F1F5F9] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#f5faff] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#fafafa] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(250 250 250 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-[#ffffff80] {\n background-color: #ffffff80 !important;\n }\n\n .bg-[#ffffff99] {\n background-color: #ffffff99 !important;\n }\n\n .bg-[#ffffffb7] {\n background-color: #ffffffb7 !important;\n }\n\n .bg-bar {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(224 231 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-black {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-blue-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(107 114 128 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-600 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(75 85 99 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-700 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-green-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(34 197 94 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(254 242 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-300 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(214 211 209 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(168 162 158 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-dark-container {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-light {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-primary {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 105 254 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-transparent {\n background-color: transparent !important;\n }\n\n .bg-white {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(244 244 245 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(161 161 170 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-opacity-10 {\n --tw-bg-opacity: 0.1 !important;\n }\n\n .bg-opacity-100 {\n --tw-bg-opacity: 1 !important;\n }\n\n .bg-opacity-30 {\n --tw-bg-opacity: 0.3 !important;\n }\n\n .bg-opacity-50 {\n --tw-bg-opacity: 0.5 !important;\n }\n\n .bg-opacity-70 {\n --tw-bg-opacity: 0.7 !important;\n }\n\n .bg-button-gradient {\n background-image: linear-gradient(to right, #00daef, #105eff) !important;\n }\n\n .bg-gradient-light {\n background-image: url('/images/bg.png') !important;\n }\n\n .bg-gradient-to-tr {\n background-image: linear-gradient(\n to top right,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .from-[#31afff] {\n --tw-gradient-from: #31afff var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(49 175 255 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .to-[#1677ff] {\n --tw-gradient-to: #1677ff var(--tw-gradient-to-position) !important;\n }\n\n .bg-cover {\n background-size: cover !important;\n }\n\n .bg-center {\n background-position: center !important;\n }\n\n .object-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n\n .p-0 {\n padding: 0px !important;\n }\n\n .p-1 {\n padding: 0.25rem !important;\n }\n\n .p-10 {\n padding: 2.5rem !important;\n }\n\n .p-2 {\n padding: 0.5rem !important;\n }\n\n .p-3 {\n padding: 0.75rem !important;\n }\n\n .p-4 {\n padding: 1rem !important;\n }\n\n .px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .px-28 {\n padding-left: 7rem !important;\n padding-right: 7rem !important;\n }\n\n .px-3 {\n padding-left: 0.75rem !important;\n padding-right: 0.75rem !important;\n }\n\n .px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .px-5 {\n padding-left: 1.25rem !important;\n padding-right: 1.25rem !important;\n }\n\n .px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .py-10 {\n padding-top: 2.5rem !important;\n padding-bottom: 2.5rem !important;\n }\n\n .py-12 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .py-3 {\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n }\n\n .py-4 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .pb-12 {\n padding-bottom: 3rem !important;\n }\n\n .pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .pb-4 {\n padding-bottom: 1rem !important;\n }\n\n .pb-6 {\n padding-bottom: 1.5rem !important;\n }\n\n .pb-8 {\n padding-bottom: 2rem !important;\n }\n\n .pl-0 {\n padding-left: 0px !important;\n }\n\n .pl-10 {\n padding-left: 2.5rem !important;\n }\n\n .pl-12 {\n padding-left: 3rem !important;\n }\n\n .pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .pl-4 {\n padding-left: 1rem !important;\n }\n\n .pl-6 {\n padding-left: 1.5rem !important;\n }\n\n .pl-[0.6rem] {\n padding-left: 0.6rem !important;\n }\n\n .pr-10 {\n padding-right: 2.5rem !important;\n }\n\n .pr-11 {\n padding-right: 2.75rem !important;\n }\n\n .pr-4 {\n padding-right: 1rem !important;\n }\n\n .pr-8 {\n padding-right: 2rem !important;\n }\n\n .pt-0 {\n padding-top: 0px !important;\n }\n\n .pt-12 {\n padding-top: 3rem !important;\n }\n\n .pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .pt-4 {\n padding-top: 1rem !important;\n }\n\n .pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .pt-8 {\n padding-top: 2rem !important;\n }\n\n .!text-left {\n text-align: left !important;\n }\n\n .text-center {\n text-align: center !important;\n }\n\n .text-right {\n text-align: right !important;\n }\n\n .align-middle {\n vertical-align: middle !important;\n }\n\n .!text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-2xl {\n font-size: 1.5rem !important;\n line-height: 2rem !important;\n }\n\n .text-3xl {\n font-size: 1.875rem !important;\n line-height: 2.25rem !important;\n }\n\n .text-[0px] {\n font-size: 0px !important;\n }\n\n .text-[16px] {\n font-size: 16px !important;\n }\n\n .text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-sm {\n font-size: 0.875rem !important;\n line-height: 1.25rem !important;\n }\n\n .text-xl {\n font-size: 1.25rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-xs {\n font-size: 0.75rem !important;\n line-height: 1rem !important;\n }\n\n .font-bold {\n font-weight: 700 !important;\n }\n\n .font-medium {\n font-weight: 500 !important;\n }\n\n .font-normal {\n font-weight: 400 !important;\n }\n\n .font-semibold {\n font-weight: 600 !important;\n }\n\n .uppercase {\n text-transform: uppercase !important;\n }\n\n .lowercase {\n text-transform: lowercase !important;\n }\n\n .italic {\n font-style: italic !important;\n }\n\n .ordinal {\n --tw-ordinal: ordinal !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero)\n var(--tw-numeric-figure) var(--tw-numeric-spacing)\n var(--tw-numeric-fraction) !important;\n }\n\n .leading-10 {\n line-height: 2.5rem !important;\n }\n\n .leading-5 {\n line-height: 1.25rem !important;\n }\n\n .leading-6 {\n line-height: 1.5rem !important;\n }\n\n .leading-7 {\n line-height: 1.75rem !important;\n }\n\n .leading-8 {\n line-height: 2rem !important;\n }\n .!text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .!text-green-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(34 197 94 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#000000] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0069fe] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0C75FC] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#0c75fc] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#121417] {\n --tw-text-opacity: 1 !important;\n color: rgb(18 20 23 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1677ff] {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1890ff] {\n --tw-text-opacity: 1 !important;\n color: rgb(24 144 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#1c2533] {\n --tw-text-opacity: 1 !important;\n color: rgb(28 37 51 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#2AA3FF] {\n --tw-text-opacity: 1 !important;\n color: rgb(42 163 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#525964] {\n --tw-text-opacity: 1 !important;\n color: rgb(82 89 100 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#878c93] {\n --tw-text-opacity: 1 !important;\n color: rgb(135 140 147 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#ff1b2e] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 27 46 / var(--tw-text-opacity)) !important;\n }\n\n .text-[#ff4d4f] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 77 79 / var(--tw-text-opacity)) !important;\n }\n\n .text-black {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(37 99 235 / var(--tw-text-opacity)) !important;\n }\n\n .text-default {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-300 {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(75 85 99 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-700 {\n --tw-text-opacity: 1 !important;\n color: rgb(55 65 81 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(74 222 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(22 163 74 / var(--tw-text-opacity)) !important;\n }\n\n .text-neutral-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(115 115 115 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(248 113 113 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(220 38 38 / var(--tw-text-opacity)) !important;\n }\n\n .text-slate-900 {\n --tw-text-opacity: 1 !important;\n color: rgb(15 23 42 / var(--tw-text-opacity)) !important;\n }\n\n .text-theme-primary {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-yellow-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(250 204 21 / var(--tw-text-opacity)) !important;\n }\n\n .text-opacity-80 {\n --tw-text-opacity: 0.8 !important;\n }\n\n .underline {\n text-decoration-line: underline !important;\n }\n\n .opacity-0 {\n opacity: 0 !important;\n }\n\n .opacity-100 {\n opacity: 1 !important;\n }\n\n .opacity-30 {\n opacity: 0.3 !important;\n }\n\n .opacity-40 {\n opacity: 0.4 !important;\n }\n\n .opacity-70 {\n opacity: 0.7 !important;\n }\n\n .opacity-75 {\n opacity: 0.75 !important;\n }\n\n .opacity-80 {\n opacity: 0.8 !important;\n }\n\n .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%) !important;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .backdrop-blur {\n --tw-backdrop-blur: blur(8px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(16px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .transition-[transfrom_shadow] {\n transition-property: transfrom shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-[width] {\n transition-property: width !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-all {\n transition-property: all !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-colors {\n transition-property: color, background-color, border-color,\n text-decoration-color, fill, stroke !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-opacity {\n transition-property: opacity !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-shadow {\n transition-property: box-shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-transform {\n transition-property: transform !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .duration-200 {\n transition-duration: 200ms !important;\n }\n\n .duration-300 {\n transition-duration: 300ms !important;\n }\n\n .duration-500 {\n transition-duration: 500ms !important;\n }\n\n .ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n }\n\n .animate-duration-200 {\n --tw-animate-duration: 200ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-duration-300 {\n --tw-animate-duration: 300ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-infinite {\n --tw-animate-iteration: infinite !important;\n animation-iteration-count: var(--tw-animate-iteration) !important;\n }\n\n body {\n margin: 0;\n font-family: var(\n --joy-fontFamily-body,\n var(--joy-Josefin Sans, sans-serif)\n );\n line-height: var(--joy-lineHeight-md, 1.5);\n --antd-primary-color: #0069fe;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-appearance: none;\n }\n\n .light {\n color: #333;\n background-color: #f7f7f7;\n }\n\n .dark {\n color: #f7f7f7;\n background-color: #151622;\n }\n\n .dark-sub-bg {\n background-color: rgb(35, 38, 44);\n }\n\n .ant-btn-primary {\n background-color: var(--antd-primary-color);\n }\n\n .ant-pagination .ant-pagination-prev * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-next * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item a {\n color: rgb(176, 176, 191);\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n background-color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: white !important;\n }\n\n .scrollbar-default::-webkit-scrollbar {\n display: block;\n width: 6px;\n }\n\n /* 自定义滚动条样式 */\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n ::-webkit-scrollbar-track {\n background: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n\n .dark\n :where(.css-dev-only-do-not-override-18iikkb).ant-tabs\n .ant-tabs-tab-btn {\n color: white;\n }\n\n :where(.css-dev-only-do-not-override-18iikkb).ant-form-item\n .ant-form-item-label\n > label {\n height: 36px;\n }\n\n @keyframes rotate {\n to {\n transform: rotate(360deg);\n }\n }\n\n // .react-flow__panel {\n // display: none !important;\n // }\n\n #home-container .ant-tabs-tab-active {\n font-size: 16px;\n }\n\n #home-container .ant-tabs-tab {\n font-size: 16px;\n }\n\n #home-container .ant-card-body {\n padding: 12px 24px;\n }\n\n pre {\n width: 100%;\n overflow: auto;\n white-space: pre-wrap;\n // padding-left: 0.5rem;\n }\n\n table {\n display: block;\n width: 100%;\n table-layout: fixed;\n }\n\n .rc-md-editor {\n height: inherit;\n }\n\n .rc-md-editor .editor-container > .section {\n border-right: none !important;\n }\n\n .first-line:leading-6::first-line {\n line-height: 1.5rem !important;\n }\n\n .after:absolute::after {\n content: var(--tw-content) !important;\n position: absolute !important;\n }\n\n .after:-top-8::after {\n content: var(--tw-content) !important;\n top: -2rem !important;\n }\n\n .after:h-8::after {\n content: var(--tw-content) !important;\n height: 2rem !important;\n }\n\n .after:w-full::after {\n content: var(--tw-content) !important;\n width: 100% !important;\n }\n\n .after:bg-gradient-to-t::after {\n content: var(--tw-content) !important;\n background-image: linear-gradient(\n to top,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .after:from-theme-light::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #f7f7f7 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .after:to-transparent::after {\n content: var(--tw-content) !important;\n --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;\n }\n\n .last-of-type:mr-0:last-of-type {\n margin-right: 0px !important;\n }\n\n .hover:-translate-y-1:hover {\n --tw-translate-y: -0.25rem !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .hover:rounded-xl:hover {\n border-radius: 0.75rem !important;\n }\n\n .hover:border-[#0c75fc]:hover {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .hover:bg-[#F1F5F9]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-[#f5faff]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-gray-100:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-stone-200:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(231 229 228 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-white:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover:bg-opacity-100:hover {\n --tw-bg-opacity: 1 !important;\n }\n\n .hover:!text-gray-200:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-[#0c75fc]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-[#1677ff]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-blue-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-red-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .hover:text-theme-primary:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .hover:opacity-100:hover {\n opacity: 1 !important;\n }\n\n .hover:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),\n 0 4px 6px -4px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .focus:shadow-none:focus {\n --tw-shadow: 0 0 #0000 !important;\n --tw-shadow-colored: 0 0 #0000 !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .group:hover .group-hover:block {\n display: block !important;\n }\n\n .group/item:hover .group-hover/item:opacity-100 {\n opacity: 1 !important;\n }\n\n .group/side:hover .group-hover/side:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover:opacity-70 {\n opacity: 0.7 !important;\n }\n\n :is(.dark .dark:border-[#0c75fc]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-[#6f7f95]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(111 127 149 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-[#ffffff66]) {\n border-color: #ffffff66 !important;\n }\n\n :is(.dark .dark:border-gray-500) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-600) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(75 85 99 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-700) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(55 65 81 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-gray-800) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-theme-dark) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(21 22 34 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:border-white) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#212121]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(33 33 33 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#232734]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#242733]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(36 39 51 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#484848]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(72 72 72 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#606264]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#6f7f95]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(111 127 149 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-[#ffffff29]) {\n background-color: #ffffff29 !important;\n }\n\n :is(.dark .dark:bg-black) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-gray-900) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-slate-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(30 41 59 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-theme-dark) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-theme-dark-container) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-transparent) {\n background-color: transparent !important;\n }\n\n :is(.dark .dark:bg-zinc-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(63 63 70 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-zinc-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(39 39 42 / var(--tw-bg-opacity)) !important;\n }\n :is(.dark :is(.dark .dark:dark:bg-theme-dark)) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:bg-opacity-50) {\n --tw-bg-opacity: 0.5 !important;\n }\n\n :is(.dark .dark:bg-opacity-60) {\n --tw-bg-opacity: 0.6 !important;\n }\n\n :is(.dark .dark:bg-gradient-dark) {\n background-image: url('/images/bg_dark.png') !important;\n }\n\n :is(.dark .dark:text-[#ffffffD9]) {\n color: #ffffffd9 !important;\n }\n\n :is(.dark .dark:text-blue-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-gray-800) {\n --tw-text-opacity: 1 !important;\n color: rgb(31 41 55 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-slate-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(203 213 225 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-stone-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(231 229 228 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-white) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:text-zinc-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(228 228 231 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:after:from-theme-dark)::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #151622 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(21 22 34 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n :is(.dark .dark:hover:border-white:hover) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-[#606264]:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-theme-dark:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:bg-zinc-900:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(24 24 27 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover:dark:bg-[#606264]):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover:dark:bg-black):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark:hover:text-white:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark:hover:text-zinc-100:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(244 244 245 / var(--tw-text-opacity)) !important;\n }\n\n @media (min-width: 640px) {\n .sm:mr-4 {\n margin-right: 1rem !important;\n }\n\n .sm:w-60 {\n width: 15rem !important;\n }\n\n .sm:grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr)) !important;\n }\n\n .sm:pb-10 {\n padding-bottom: 2.5rem !important;\n }\n\n .sm:pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .sm:text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .sm:leading-7 {\n line-height: 1.75rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md:block {\n display: block !important;\n }\n\n .md:h-full {\n height: 100% !important;\n }\n\n .md:w-1/2 {\n width: 50% !important;\n }\n\n .md:w-1/4 {\n width: 25% !important;\n }\n\n .md:w-3/4 {\n width: 75% !important;\n }\n\n .md:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md:gap-4 {\n gap: 1rem !important;\n }\n\n .md:border-l {\n border-left-width: 1px !important;\n }\n\n .md:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md:p-4 {\n padding: 1rem !important;\n }\n\n .md:p-6 {\n padding: 1.5rem !important;\n }\n\n .md:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md:block {\n display: block !important;\n }\n\n .md:h-full {\n height: 100% !important;\n }\n\n .md:w-1/2 {\n width: 50% !important;\n }\n\n .md:w-1/4 {\n width: 25% !important;\n }\n\n .md:w-3/4 {\n width: 75% !important;\n }\n\n .md:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md:gap-4 {\n gap: 1rem !important;\n }\n\n .md:border-l {\n border-left-width: 1px !important;\n }\n\n .md:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md:p-4 {\n padding: 1rem !important;\n }\n\n .md:p-6 {\n padding: 1.5rem !important;\n }\n\n .md:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 1024px) {\n .lg:w-1/3 {\n width: 33.333333% !important;\n }\n\n .lg:w-72 {\n width: 18rem !important;\n }\n\n .lg:w-full {\n width: 100% !important;\n }\n\n .lg:max-w-[80%] {\n max-width: 80% !important;\n }\n\n .lg:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .lg:px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n }\n"],["\n pre {\n margin: 0;\n }\n /* styles/katex-override.css */\n\n /* Inlined from katex-override.css */\n\n .katex {\n font-size: 1.25em !important;\n /* Adjust the font size */\n line-height: 3 !important;\n }\n\n /* ! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com */\n\n /*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n }\n\n ::before,\n ::after {\n --tw-content: '';\n }\n\n /*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n*/\n\n html {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: 'Josefin Sans', ui-sans-serif, system-ui, -apple-system,\n BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol', 'Noto Color Emoji';\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n }\n\n /*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\n body {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n }\n\n /*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\n hr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n }\n\n /*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n /*\nRemove the default font size and weight for headings.\n*/\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\n a {\n color: inherit;\n text-decoration: inherit;\n }\n\n /*\nAdd the correct font weight in Edge and Safari.\n*/\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /*\n1. Use the user's configured mono font family by default.\n2. Correct the odd em font sizing in all browsers.\n*/\n\n code,\n kbd,\n samp,\n pre {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans',\n Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n /* 1 */\n font-size: 1em;\n /* 2 */\n }\n\n /*\nAdd the correct font size in all browsers.\n*/\n\n small {\n font-size: 80%;\n }\n\n /*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\n table {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n }\n\n /*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n }\n\n /*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\n button,\n select {\n text-transform: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\n button,\n [type='button'],\n [type='reset'],\n [type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n }\n\n /*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n :-moz-focusring {\n outline: auto;\n }\n\n /*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n :-moz-ui-invalid {\n box-shadow: none;\n }\n\n /*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\n progress {\n vertical-align: baseline;\n }\n\n /*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n\n /*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n [type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n }\n\n /*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n }\n\n /*\nAdd the correct display in Chrome and Safari.\n*/\n\n summary {\n display: list-item;\n }\n\n /*\nRemoves the default spacing and border for appropriate elements.\n*/\n\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n legend {\n padding: 0;\n }\n\n ol,\n ul,\n menu {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /*\nPrevent resizing textareas horizontally by default.\n*/\n\n textarea {\n resize: vertical;\n }\n\n /*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\n input::-moz-placeholder,\n textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n input::placeholder,\n textarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n }\n\n /*\nSet the default cursor for buttons.\n*/\n\n button,\n [role='button'] {\n cursor: pointer;\n }\n\n /*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n :disabled {\n cursor: default;\n }\n\n /*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n }\n\n /*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n /* Make elements with the HTML hidden attribute stay hidden by default */\n\n [hidden] {\n display: none;\n }\n\n *,\n ::before,\n ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n }\n\n .container {\n width: 100%;\n }\n\n @media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n }\n\n @media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n }\n\n @media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n }\n\n @media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n }\n\n @media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n }\n\n .\\!visible {\n visibility: visible !important;\n }\n\n .visible {\n visibility: visible !important;\n }\n\n .static {\n position: static !important;\n }\n\n .fixed {\n position: fixed !important;\n }\n\n .absolute {\n position: absolute !important;\n }\n\n .relative {\n position: relative !important;\n }\n\n .sticky {\n position: sticky !important;\n }\n\n .-left-5 {\n left: -1.25rem !important;\n }\n\n .bottom-0 {\n bottom: 0px !important;\n }\n\n .bottom-1 {\n bottom: 0.25rem !important;\n }\n\n .bottom-2 {\n bottom: 0.5rem !important;\n }\n\n .bottom-24 {\n bottom: 6rem !important;\n }\n\n .bottom-3 {\n bottom: 0.75rem !important;\n }\n\n .bottom-4 {\n bottom: 1rem !important;\n }\n\n .bottom-8 {\n bottom: 2rem !important;\n }\n\n .bottom-\\[-40px\\] {\n bottom: -40px !important;\n }\n\n .bottom-\\[30\\%\\] {\n bottom: 30% !important;\n }\n\n .left-0 {\n left: 0px !important;\n }\n\n .left-1\\/2 {\n left: 50% !important;\n }\n\n .left-2 {\n left: 0.5rem !important;\n }\n\n .left-4 {\n left: 1rem !important;\n }\n\n .right-0 {\n right: 0px !important;\n }\n\n .right-2 {\n right: 0.5rem !important;\n }\n\n .right-3 {\n right: 0.75rem !important;\n }\n\n .right-4 {\n right: 1rem !important;\n }\n\n .right-6 {\n right: 1.5rem !important;\n }\n\n .right-\\[1px\\] {\n right: 1px !important;\n }\n\n .top-0 {\n top: 0px !important;\n }\n\n .top-1\\/2 {\n top: 50% !important;\n }\n\n .top-2 {\n top: 0.5rem !important;\n }\n\n .top-4 {\n top: 1rem !important;\n }\n\n .top-\\[-35px\\] {\n top: -35px !important;\n }\n\n .top-\\[1px\\] {\n top: 1px !important;\n }\n\n .top-\\[50\\%\\] {\n top: 50% !important;\n }\n\n .z-10 {\n z-index: 10 !important;\n }\n\n .z-30 {\n z-index: 30 !important;\n }\n\n .z-50 {\n z-index: 50 !important;\n }\n\n .m-0 {\n margin: 0px !important;\n }\n\n .m-6 {\n margin: 1.5rem !important;\n }\n\n .m-auto {\n margin: auto !important;\n }\n\n .mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .mx-4 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .mx-6 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .mx-\\[-8px\\] {\n margin-left: -8px !important;\n margin-right: -8px !important;\n }\n\n .mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .my-3 {\n margin-top: 0.75rem !important;\n margin-bottom: 0.75rem !important;\n }\n\n .my-4 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .\\!mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .-ml-4 {\n margin-left: -1rem !important;\n }\n\n .-mr-4 {\n margin-right: -1rem !important;\n }\n\n .mb-0 {\n margin-bottom: 0px !important;\n }\n\n .mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .mb-3 {\n margin-bottom: 0.75rem !important;\n }\n\n .mb-4 {\n margin-bottom: 1rem !important;\n }\n\n .mb-5 {\n margin-bottom: 1.25rem !important;\n }\n\n .mb-6 {\n margin-bottom: 1.5rem !important;\n }\n\n .ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .ml-16 {\n margin-left: 4rem !important;\n }\n\n .ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .ml-3 {\n margin-left: 0.75rem !important;\n }\n\n .ml-4 {\n margin-left: 1rem !important;\n }\n\n .ml-5 {\n margin-left: 1.25rem !important;\n }\n\n .ml-6 {\n margin-left: 1.5rem !important;\n }\n\n .mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .mr-24 {\n margin-right: 6rem !important;\n }\n\n .mr-3 {\n margin-right: 0.75rem !important;\n }\n\n .mr-4 {\n margin-right: 1rem !important;\n }\n\n .mr-6 {\n margin-right: 1.5rem !important;\n }\n\n .mt-0 {\n margin-top: 0px !important;\n }\n\n .mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .mt-3 {\n margin-top: 0.75rem !important;\n }\n\n .mt-4 {\n margin-top: 1rem !important;\n }\n\n .mt-6 {\n margin-top: 1.5rem !important;\n }\n\n .mt-8 {\n margin-top: 2rem !important;\n }\n\n .mt-\\[-4px\\] {\n margin-top: -4px !important;\n }\n\n .mt-\\[1px\\] {\n margin-top: 1px !important;\n }\n\n .line-clamp-1 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 1 !important;\n }\n\n .line-clamp-2 {\n overflow: hidden !important;\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 2 !important;\n }\n\n .block {\n display: block !important;\n }\n\n .inline-block {\n display: inline-block !important;\n }\n\n .inline {\n display: inline !important;\n }\n\n .flex {\n display: flex !important;\n }\n\n .table {\n display: table !important;\n }\n\n .grid {\n display: grid !important;\n }\n\n .hidden {\n display: none !important;\n }\n\n .h-0 {\n height: 0px !important;\n }\n\n .h-1 {\n height: 0.25rem !important;\n }\n\n .h-1\\/2 {\n height: 50% !important;\n }\n\n .h-10 {\n height: 2.5rem !important;\n }\n\n .h-11 {\n height: 2.75rem !important;\n }\n\n .h-12 {\n height: 3rem !important;\n }\n\n .h-14 {\n height: 3.5rem !important;\n }\n\n .h-2 {\n height: 0.5rem !important;\n }\n\n .h-20 {\n height: 5rem !important;\n }\n\n .h-24 {\n height: 6rem !important;\n }\n\n .h-28 {\n height: 7rem !important;\n }\n\n .h-3 {\n height: 0.75rem !important;\n }\n\n .h-40 {\n height: 10rem !important;\n }\n\n .h-5 {\n height: 1.25rem !important;\n }\n\n .h-5\\/6 {\n height: 83.333333% !important;\n }\n\n .h-6 {\n height: 1.5rem !important;\n }\n\n .h-64 {\n height: 16rem !important;\n }\n\n .h-7 {\n height: 1.75rem !important;\n }\n\n .h-8 {\n height: 2rem !important;\n }\n\n .h-96 {\n height: 24rem !important;\n }\n\n .h-\\[1\\.5em\\] {\n height: 1.5em !important;\n }\n\n .h-\\[133px\\] {\n height: 133px !important;\n }\n\n .h-\\[150px\\] {\n height: 150px !important;\n }\n\n .h-\\[300px\\] {\n height: 300px !important;\n }\n\n .h-\\[40px\\] {\n height: 40px !important;\n }\n\n .h-\\[500px\\] {\n height: 500px !important;\n }\n\n .h-\\[600px\\] {\n height: 600px !important;\n }\n\n .h-\\[90vh\\] {\n height: 90vh !important;\n }\n\n .h-\\[calc\\(100vh-48px\\)\\] {\n height: calc(100vh - 48px) !important;\n }\n\n .h-auto {\n height: auto !important;\n }\n\n .h-full {\n height: 100% !important;\n }\n\n .h-screen {\n height: 100vh !important;\n }\n\n .max-h-64 {\n max-height: 16rem !important;\n }\n\n .max-h-72 {\n max-height: 18rem !important;\n }\n\n .max-h-\\[300px\\] {\n max-height: 300px !important;\n }\n\n .max-h-\\[400px\\] {\n max-height: 400px !important;\n }\n\n .max-h-\\[70vh\\] {\n max-height: 70vh !important;\n }\n\n .max-h-\\[90vh\\] {\n max-height: 90vh !important;\n }\n\n .max-h-\\[calc\\(\\(100vh-156px\\)\\/2\\)\\] {\n max-height: calc((100vh - 156px) / 2) !important;\n }\n\n .max-h-full {\n max-height: 100% !important;\n }\n\n .max-h-screen {\n max-height: 100vh !important;\n }\n\n .min-h-\\[1rem\\] {\n min-height: 1rem !important;\n }\n\n .min-h-\\[200px\\] {\n min-height: 200px !important;\n }\n\n .min-h-\\[42px\\] {\n min-height: 42px !important;\n }\n\n .min-h-\\[60vh\\] {\n min-height: 60vh !important;\n }\n\n .min-h-fit {\n min-height: -moz-fit-content !important;\n min-height: fit-content !important;\n }\n\n .min-h-full {\n min-height: 100% !important;\n }\n\n .w-0 {\n width: 0px !important;\n }\n\n .w-1 {\n width: 0.25rem !important;\n }\n\n .w-1\\/2 {\n width: 50% !important;\n }\n\n .w-1\\/3 {\n width: 33.333333% !important;\n }\n\n .w-1\\/4 {\n width: 25% !important;\n }\n\n .w-1\\/5 {\n width: 20% !important;\n }\n\n .w-1\\/6 {\n width: 16.666667% !important;\n }\n\n .w-10 {\n width: 2.5rem !important;\n }\n\n .w-11 {\n width: 2.75rem !important;\n }\n\n .w-11\\/12 {\n width: 91.666667% !important;\n }\n\n .w-12 {\n width: 3rem !important;\n }\n\n .w-14 {\n width: 3.5rem !important;\n }\n\n .w-16 {\n width: 4rem !important;\n }\n\n .w-2 {\n width: 0.5rem !important;\n }\n\n .w-2\\/3 {\n width: 66.666667% !important;\n }\n\n .w-2\\/5 {\n width: 40% !important;\n }\n\n .w-20 {\n width: 5rem !important;\n }\n\n .w-28 {\n width: 7rem !important;\n }\n\n .w-3 {\n width: 0.75rem !important;\n }\n\n .w-3\\/4 {\n width: 75% !important;\n }\n\n .w-3\\/5 {\n width: 60% !important;\n }\n\n .w-32 {\n width: 8rem !important;\n }\n\n .w-36 {\n width: 9rem !important;\n }\n\n .w-4 {\n width: 1rem !important;\n }\n\n .w-40 {\n width: 10rem !important;\n }\n\n .w-48 {\n width: 12rem !important;\n }\n\n .w-5 {\n width: 1.25rem !important;\n }\n\n .w-5\\/6 {\n width: 83.333333% !important;\n }\n\n .w-52 {\n width: 13rem !important;\n }\n\n .w-6 {\n width: 1.5rem !important;\n }\n\n .w-60 {\n width: 15rem !important;\n }\n\n .w-64 {\n width: 16rem !important;\n }\n\n .w-7 {\n width: 1.75rem !important;\n }\n\n .w-72 {\n width: 18rem !important;\n }\n\n .w-8 {\n width: 2rem !important;\n }\n\n .w-80 {\n width: 20rem !important;\n }\n\n .w-96 {\n width: 24rem !important;\n }\n\n .w-\\[1\\.5em\\] {\n width: 1.5em !important;\n }\n\n .w-\\[142px\\] {\n width: 142px !important;\n }\n\n .w-\\[1px\\] {\n width: 1px !important;\n }\n\n .w-\\[230px\\] {\n width: 230px !important;\n }\n\n .w-\\[256px\\] {\n width: 256px !important;\n }\n\n .w-\\[26rem\\] {\n width: 26rem !important;\n }\n\n .w-\\[280px\\] {\n width: 280px !important;\n }\n\n .w-\\[30rem\\] {\n width: 30rem !important;\n }\n\n .w-\\[320px\\] {\n width: 320px !important;\n }\n\n .w-\\[50px\\] {\n width: 50px !important;\n }\n\n .w-\\[530px\\] {\n width: 530px !important;\n }\n\n .w-\\[900px\\] {\n width: 900px !important;\n }\n\n .w-auto {\n width: auto !important;\n }\n\n .w-full {\n width: 100% !important;\n }\n\n .w-screen {\n width: 100vw !important;\n }\n\n .min-w-0 {\n min-width: 0px !important;\n }\n\n .min-w-\\[200px\\] {\n min-width: 200px !important;\n }\n\n .min-w-\\[50px\\] {\n min-width: 50px !important;\n }\n\n .min-w-fit {\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n }\n\n .max-w-2xl {\n max-width: 42rem !important;\n }\n\n .max-w-\\[240px\\] {\n max-width: 240px !important;\n }\n\n .max-w-full {\n max-width: 100% !important;\n }\n\n .max-w-md {\n max-width: 28rem !important;\n }\n\n .max-w-none {\n max-width: none !important;\n }\n\n .flex-1 {\n flex: 1 1 0% !important;\n }\n\n .flex-auto {\n flex: 1 1 auto !important;\n }\n\n .flex-none {\n flex: none !important;\n }\n\n .flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .shrink {\n flex-shrink: 1 !important;\n }\n\n .shrink-0 {\n flex-shrink: 0 !important;\n }\n\n .grow {\n flex-grow: 1 !important;\n }\n\n .grow-0 {\n flex-grow: 0 !important;\n }\n\n .-translate-x-1\\/2 {\n --tw-translate-x: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-1\\/2 {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .-translate-y-\\[50\\%\\] {\n --tw-translate-y: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-0 {\n --tw-translate-x: 0px !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .translate-x-full {\n --tw-translate-x: 100% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n @keyframes fade {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n\n .animate-fade {\n animation: fade var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, ease) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, 1) var(--tw-animate-fill, both) !important;\n }\n\n @keyframes pulse1 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse1 {\n animation: pulse1 1.2s infinite !important;\n }\n\n @keyframes pulse2 {\n 0%,\n 100% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 33.333% {\n transform: scale(1);\n background-color: #bdc0c4;\n }\n\n 66.666% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse2 {\n animation: pulse2 1.2s infinite !important;\n }\n\n @keyframes pulse3 {\n 0%,\n 66.666% {\n transform: scale(1);\n background-color: ##bdc0c4;\n }\n\n 100% {\n transform: scale(1.5);\n background-color: #525964;\n }\n }\n\n .animate-pulse3 {\n animation: pulse3 1.2s infinite !important;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n .animate-spin {\n animation: spin var(--tw-animate-duration, 1s)\n var(--tw-animate-easing, linear) var(--tw-animate-delay, 0s)\n var(--tw-animate-iteration, infinite) var(--tw-animate-fill, none) !important;\n }\n\n .cursor-grab {\n cursor: grab !important;\n }\n\n .cursor-move {\n cursor: move !important;\n }\n\n .cursor-no-drop {\n cursor: no-drop !important;\n }\n\n .cursor-not-allowed {\n cursor: not-allowed !important;\n }\n\n .cursor-pointer {\n cursor: pointer !important;\n }\n\n .resize-none {\n resize: none !important;\n }\n\n .list-decimal {\n list-style-type: decimal !important;\n }\n\n .list-disc {\n list-style-type: disc !important;\n }\n\n .grid-flow-row {\n grid-auto-flow: row !important;\n }\n\n .auto-rows-max {\n grid-auto-rows: max-content !important;\n }\n\n .grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr)) !important;\n }\n\n .flex-row {\n flex-direction: row !important;\n }\n\n .flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n\n .flex-col {\n flex-direction: column !important;\n }\n\n .flex-wrap {\n flex-wrap: wrap !important;\n }\n\n .content-center {\n align-content: center !important;\n }\n\n .items-start {\n align-items: flex-start !important;\n }\n\n .items-end {\n align-items: flex-end !important;\n }\n\n .items-center {\n align-items: center !important;\n }\n\n .items-stretch {\n align-items: stretch !important;\n }\n\n .justify-start {\n justify-content: flex-start !important;\n }\n\n .justify-end {\n justify-content: flex-end !important;\n }\n\n .justify-center {\n justify-content: center !important;\n }\n\n .justify-between {\n justify-content: space-between !important;\n }\n\n .justify-around {\n justify-content: space-around !important;\n }\n\n .gap-1 {\n gap: 0.25rem !important;\n }\n\n .gap-2 {\n gap: 0.5rem !important;\n }\n\n .gap-3 {\n gap: 0.75rem !important;\n }\n\n .gap-4 {\n gap: 1rem !important;\n }\n\n .gap-6 {\n gap: 1.5rem !important;\n }\n\n .gap-8 {\n gap: 2rem !important;\n }\n\n .gap-x-6 {\n -moz-column-gap: 1.5rem !important;\n column-gap: 1.5rem !important;\n }\n\n .gap-y-10 {\n row-gap: 2.5rem !important;\n }\n\n .gap-y-5 {\n row-gap: 1.25rem !important;\n }\n\n .space-x-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0 !important;\n margin-right: calc(1rem * var(--tw-space-x-reverse)) !important;\n margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))) !important;\n }\n\n .space-y-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-3 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;\n }\n\n .space-y-4 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0 !important;\n margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;\n margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;\n }\n\n .overflow-auto {\n overflow: auto !important;\n }\n\n .overflow-hidden {\n overflow: hidden !important;\n }\n\n .overflow-scroll {\n overflow: scroll !important;\n }\n\n .overflow-x-auto {\n overflow-x: auto !important;\n }\n\n .overflow-y-auto {\n overflow-y: auto !important;\n }\n\n .overflow-y-scroll {\n overflow-y: scroll !important;\n }\n\n .truncate {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n .text-ellipsis {\n text-overflow: ellipsis !important;\n }\n\n .whitespace-normal {\n white-space: normal !important;\n }\n\n .whitespace-nowrap {\n white-space: nowrap !important;\n }\n\n .whitespace-pre-wrap {\n white-space: pre-wrap !important;\n }\n\n .break-words {\n overflow-wrap: break-word !important;\n }\n\n .rounded {\n border-radius: 0.25rem !important;\n }\n\n .rounded-2xl {\n border-radius: 1rem !important;\n }\n\n .rounded-3xl {\n border-radius: 1.5rem !important;\n }\n\n .rounded-\\[10px\\] {\n border-radius: 10px !important;\n }\n\n .rounded-\\[50\\%\\] {\n border-radius: 50% !important;\n }\n\n .rounded-full {\n border-radius: 9999px !important;\n }\n\n .rounded-lg {\n border-radius: 0.5rem !important;\n }\n\n .rounded-md {\n border-radius: 0.375rem !important;\n }\n\n .rounded-none {\n border-radius: 0px !important;\n }\n\n .rounded-sm {\n border-radius: 0.125rem !important;\n }\n\n .rounded-xl {\n border-radius: 0.75rem !important;\n }\n\n .rounded-bl {\n border-bottom-left-radius: 0.25rem !important;\n }\n\n .rounded-bl-none {\n border-bottom-left-radius: 0px !important;\n }\n\n .rounded-br {\n border-bottom-right-radius: 0.25rem !important;\n }\n\n .rounded-br-none {\n border-bottom-right-radius: 0px !important;\n }\n\n .rounded-tl {\n border-top-left-radius: 0.25rem !important;\n }\n\n .rounded-tl-md {\n border-top-left-radius: 0.375rem !important;\n }\n\n .rounded-tl-none {\n border-top-left-radius: 0px !important;\n }\n\n .rounded-tr {\n border-top-right-radius: 0.25rem !important;\n }\n\n .rounded-tr-md {\n border-top-right-radius: 0.375rem !important;\n }\n\n .border {\n border-width: 1px !important;\n }\n\n .border-0 {\n border-width: 0px !important;\n }\n\n .border-2 {\n border-width: 2px !important;\n }\n\n .border-\\[0\\.5px\\] {\n border-width: 0.5px !important;\n }\n\n .border-b {\n border-bottom-width: 1px !important;\n }\n\n .border-b-2 {\n border-bottom-width: 2px !important;\n }\n\n .border-l {\n border-left-width: 1px !important;\n }\n\n .border-l-4 {\n border-left-width: 4px !important;\n }\n\n .border-r {\n border-right-width: 1px !important;\n }\n\n .border-t {\n border-top-width: 1px !important;\n }\n\n .border-solid {\n border-style: solid !important;\n }\n\n .border-dashed {\n border-style: dashed !important;\n }\n\n .border-none {\n border-style: none !important;\n }\n\n .border-\\[\\#0c75fc\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d5e5f6\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(213 229 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d6d8da\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(214 216 218 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#d9d9d9\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(217 217 217 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#e3e4e6\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(227 228 230 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#edeeef\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(237 238 239 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[\\#f0f0f0\\] {\n --tw-border-opacity: 1 !important;\n border-color: rgb(240 240 240 / var(--tw-border-opacity)) !important;\n }\n\n .border-\\[transparent\\] {\n border-color: transparent !important;\n }\n\n .border-blue-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(59 130 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-blue-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(37 99 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-100 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(243 244 246 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-200 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-500 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n .border-gray-800 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n .border-red-600 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(220 38 38 / var(--tw-border-opacity)) !important;\n }\n\n .border-slate-300 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(203 213 225 / var(--tw-border-opacity)) !important;\n }\n\n .border-stone-400 {\n --tw-border-opacity: 1 !important;\n border-color: rgb(168 162 158 / var(--tw-border-opacity)) !important;\n }\n\n .border-theme-primary {\n --tw-border-opacity: 1 !important;\n border-color: rgb(0 105 254 / var(--tw-border-opacity)) !important;\n }\n\n .border-white {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n .bg-\\[\\#0C75FC\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#0c75fc\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(12 117 252 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#EAEAEB\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(234 234 235 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#F1F5F9\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#f5faff\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#fafafa\\] {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(250 250 250 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-\\[\\#ffffff80\\] {\n background-color: #ffffff80 !important;\n }\n\n .bg-\\[\\#ffffff99\\] {\n background-color: #ffffff99 !important;\n }\n\n .bg-\\[\\#ffffffb7\\] {\n background-color: #ffffffb7 !important;\n }\n\n .bg-bar {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(224 231 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-black {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-blue-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(59 130 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(107 114 128 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-600 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(75 85 99 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-gray-700 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-green-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(34 197 94 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-50 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(254 242 242 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-red-500 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(239 68 68 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-300 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(214 211 209 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-stone-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(168 162 158 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-dark-container {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-light {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-theme-primary {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 105 254 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-transparent {\n background-color: transparent !important;\n }\n\n .bg-white {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-100 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(244 244 245 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-zinc-400 {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(161 161 170 / var(--tw-bg-opacity)) !important;\n }\n\n .bg-opacity-10 {\n --tw-bg-opacity: 0.1 !important;\n }\n\n .bg-opacity-100 {\n --tw-bg-opacity: 1 !important;\n }\n\n .bg-opacity-30 {\n --tw-bg-opacity: 0.3 !important;\n }\n\n .bg-opacity-50 {\n --tw-bg-opacity: 0.5 !important;\n }\n\n .bg-opacity-70 {\n --tw-bg-opacity: 0.7 !important;\n }\n\n .bg-button-gradient {\n background-image: linear-gradient(to right, #00daef, #105eff) !important;\n }\n\n .bg-gradient-light {\n background-image: url('/images/bg.png') !important;\n }\n\n .bg-gradient-to-tr {\n background-image: linear-gradient(\n to top right,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .from-\\[\\#31afff\\] {\n --tw-gradient-from: #31afff var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(49 175 255 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .to-\\[\\#1677ff\\] {\n --tw-gradient-to: #1677ff var(--tw-gradient-to-position) !important;\n }\n\n .bg-cover {\n background-size: cover !important;\n }\n\n .bg-center {\n background-position: center !important;\n }\n\n .object-contain {\n -o-object-fit: contain !important;\n object-fit: contain !important;\n }\n\n .p-0 {\n padding: 0px !important;\n }\n\n .p-1 {\n padding: 0.25rem !important;\n }\n\n .p-10 {\n padding: 2.5rem !important;\n }\n\n .p-2 {\n padding: 0.5rem !important;\n }\n\n .p-3 {\n padding: 0.75rem !important;\n }\n\n .p-4 {\n padding: 1rem !important;\n }\n\n .px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .px-28 {\n padding-left: 7rem !important;\n padding-right: 7rem !important;\n }\n\n .px-3 {\n padding-left: 0.75rem !important;\n padding-right: 0.75rem !important;\n }\n\n .px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .px-5 {\n padding-left: 1.25rem !important;\n padding-right: 1.25rem !important;\n }\n\n .px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .py-10 {\n padding-top: 2.5rem !important;\n padding-bottom: 2.5rem !important;\n }\n\n .py-12 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .py-3 {\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n }\n\n .py-4 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .pb-12 {\n padding-bottom: 3rem !important;\n }\n\n .pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .pb-4 {\n padding-bottom: 1rem !important;\n }\n\n .pb-6 {\n padding-bottom: 1.5rem !important;\n }\n\n .pb-8 {\n padding-bottom: 2rem !important;\n }\n\n .pl-0 {\n padding-left: 0px !important;\n }\n\n .pl-10 {\n padding-left: 2.5rem !important;\n }\n\n .pl-12 {\n padding-left: 3rem !important;\n }\n\n .pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .pl-4 {\n padding-left: 1rem !important;\n }\n\n .pl-6 {\n padding-left: 1.5rem !important;\n }\n\n .pl-\\[0\\.6rem\\] {\n padding-left: 0.6rem !important;\n }\n\n .pr-10 {\n padding-right: 2.5rem !important;\n }\n\n .pr-11 {\n padding-right: 2.75rem !important;\n }\n\n .pr-4 {\n padding-right: 1rem !important;\n }\n\n .pr-8 {\n padding-right: 2rem !important;\n }\n\n .pt-0 {\n padding-top: 0px !important;\n }\n\n .pt-12 {\n padding-top: 3rem !important;\n }\n\n .pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .pt-4 {\n padding-top: 1rem !important;\n }\n\n .pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .pt-8 {\n padding-top: 2rem !important;\n }\n\n .\\!text-left {\n text-align: left !important;\n }\n\n .text-center {\n text-align: center !important;\n }\n\n .text-right {\n text-align: right !important;\n }\n\n .align-middle {\n vertical-align: middle !important;\n }\n\n .\\!text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-2xl {\n font-size: 1.5rem !important;\n line-height: 2rem !important;\n }\n\n .text-3xl {\n font-size: 1.875rem !important;\n line-height: 2.25rem !important;\n }\n\n .text-\\[0px\\] {\n font-size: 0px !important;\n }\n\n .text-\\[16px\\] {\n font-size: 16px !important;\n }\n\n .text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .text-lg {\n font-size: 1.125rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-sm {\n font-size: 0.875rem !important;\n line-height: 1.25rem !important;\n }\n\n .text-xl {\n font-size: 1.25rem !important;\n line-height: 1.75rem !important;\n }\n\n .text-xs {\n font-size: 0.75rem !important;\n line-height: 1rem !important;\n }\n\n .font-bold {\n font-weight: 700 !important;\n }\n\n .font-medium {\n font-weight: 500 !important;\n }\n\n .font-normal {\n font-weight: 400 !important;\n }\n\n .font-semibold {\n font-weight: 600 !important;\n }\n\n .uppercase {\n text-transform: uppercase !important;\n }\n\n .lowercase {\n text-transform: lowercase !important;\n }\n\n .italic {\n font-style: italic !important;\n }\n\n .ordinal {\n --tw-ordinal: ordinal !important;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero)\n var(--tw-numeric-figure) var(--tw-numeric-spacing)\n var(--tw-numeric-fraction) !important;\n }\n\n .leading-10 {\n line-height: 2.5rem !important;\n }\n\n .leading-5 {\n line-height: 1.25rem !important;\n }\n\n .leading-6 {\n line-height: 1.5rem !important;\n }\n\n .leading-7 {\n line-height: 1.75rem !important;\n }\n\n .leading-8 {\n line-height: 2rem !important;\n }\n .\\!text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .\\!text-green-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(34 197 94 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#000000\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0069fe\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0C75FC\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#0c75fc\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#121417\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(18 20 23 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1677ff\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1890ff\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(24 144 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#1c2533\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(28 37 51 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#2AA3FF\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(42 163 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#525964\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(82 89 100 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#878c93\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(135 140 147 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#ff1b2e\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 27 46 / var(--tw-text-opacity)) !important;\n }\n\n .text-\\[\\#ff4d4f\\] {\n --tw-text-opacity: 1 !important;\n color: rgb(255 77 79 / var(--tw-text-opacity)) !important;\n }\n\n .text-black {\n --tw-text-opacity: 1 !important;\n color: rgb(0 0 0 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .text-blue-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(37 99 235 / var(--tw-text-opacity)) !important;\n }\n\n .text-default {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-300 {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(107 114 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(75 85 99 / var(--tw-text-opacity)) !important;\n }\n\n .text-gray-700 {\n --tw-text-opacity: 1 !important;\n color: rgb(55 65 81 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(74 222 128 / var(--tw-text-opacity)) !important;\n }\n\n .text-green-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(22 163 74 / var(--tw-text-opacity)) !important;\n }\n\n .text-neutral-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(115 115 115 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(248 113 113 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-500 {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .text-red-600 {\n --tw-text-opacity: 1 !important;\n color: rgb(220 38 38 / var(--tw-text-opacity)) !important;\n }\n\n .text-slate-900 {\n --tw-text-opacity: 1 !important;\n color: rgb(15 23 42 / var(--tw-text-opacity)) !important;\n }\n\n .text-theme-primary {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n .text-yellow-400 {\n --tw-text-opacity: 1 !important;\n color: rgb(250 204 21 / var(--tw-text-opacity)) !important;\n }\n\n .text-opacity-80 {\n --tw-text-opacity: 0.8 !important;\n }\n\n .underline {\n text-decoration-line: underline !important;\n }\n\n .opacity-0 {\n opacity: 0 !important;\n }\n\n .opacity-100 {\n opacity: 1 !important;\n }\n\n .opacity-30 {\n opacity: 0.3 !important;\n }\n\n .opacity-40 {\n opacity: 0.4 !important;\n }\n\n .opacity-70 {\n opacity: 0.7 !important;\n }\n\n .opacity-75 {\n opacity: 0.75 !important;\n }\n\n .opacity-80 {\n opacity: 0.8 !important;\n }\n\n .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),\n 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .grayscale {\n --tw-grayscale: grayscale(100%) !important;\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)\n var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert)\n var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;\n }\n\n .backdrop-blur {\n --tw-backdrop-blur: blur(8px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-lg {\n --tw-backdrop-blur: blur(16px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px) !important;\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur)\n var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)\n var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)\n var(--tw-backdrop-invert) var(--tw-backdrop-opacity)\n var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)\n var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)\n var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)\n var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)\n var(--tw-backdrop-sepia) !important;\n }\n\n .transition-\\[transfrom_shadow\\] {\n transition-property: transfrom shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-\\[width\\] {\n transition-property: width !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-all {\n transition-property: all !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-colors {\n transition-property: color, background-color, border-color,\n text-decoration-color, fill, stroke !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-opacity {\n transition-property: opacity !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-shadow {\n transition-property: box-shadow !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .transition-transform {\n transition-property: transform !important;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n transition-duration: 150ms !important;\n }\n\n .duration-200 {\n transition-duration: 200ms !important;\n }\n\n .duration-300 {\n transition-duration: 300ms !important;\n }\n\n .duration-500 {\n transition-duration: 500ms !important;\n }\n\n .ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n }\n\n .animate-duration-200 {\n --tw-animate-duration: 200ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-duration-300 {\n --tw-animate-duration: 300ms !important;\n animation-duration: var(--tw-animate-duration) !important;\n }\n\n .animate-infinite {\n --tw-animate-iteration: infinite !important;\n animation-iteration-count: var(--tw-animate-iteration) !important;\n }\n\n body {\n margin: 0;\n font-family: var(\n --joy-fontFamily-body,\n var(--joy-Josefin Sans, sans-serif)\n );\n line-height: var(--joy-lineHeight-md, 1.5);\n --antd-primary-color: #0069fe;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-appearance: none;\n }\n\n .light {\n color: #333;\n background-color: #f7f7f7;\n }\n\n .dark {\n color: #f7f7f7;\n background-color: #151622;\n }\n\n .dark-sub-bg {\n background-color: rgb(35, 38, 44);\n }\n\n .ant-btn-primary {\n background-color: var(--antd-primary-color);\n }\n\n .ant-pagination .ant-pagination-prev * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-next * {\n color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item a {\n color: rgb(176, 176, 191);\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n background-color: var(--antd-primary-color) !important;\n }\n\n .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: white !important;\n }\n\n .scrollbar-default::-webkit-scrollbar {\n display: block;\n width: 6px;\n }\n\n /* 自定义滚动条样式 */\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n ::-webkit-scrollbar-track {\n background: #f1f1f1;\n }\n\n ::-webkit-scrollbar-thumb {\n background: #888;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n\n .dark\n :where(.css-dev-only-do-not-override-18iikkb).ant-tabs\n .ant-tabs-tab-btn {\n color: white;\n }\n\n :where(.css-dev-only-do-not-override-18iikkb).ant-form-item\n .ant-form-item-label\n > label {\n height: 36px;\n }\n\n @keyframes rotate {\n to {\n transform: rotate(360deg);\n }\n }\n\n // .react-flow__panel {\n // display: none !important;\n // }\n\n #home-container .ant-tabs-tab-active {\n font-size: 16px;\n }\n\n #home-container .ant-tabs-tab {\n font-size: 16px;\n }\n\n #home-container .ant-card-body {\n padding: 12px 24px;\n }\n\n pre {\n width: 100%;\n overflow: auto;\n white-space: pre-wrap;\n // padding-left: 0.5rem;\n }\n\n table {\n display: block;\n width: 100%;\n table-layout: fixed;\n }\n\n .rc-md-editor {\n height: inherit;\n }\n\n .rc-md-editor .editor-container > .section {\n border-right: none !important;\n }\n\n .first-line\\:leading-6::first-line {\n line-height: 1.5rem !important;\n }\n\n .after\\:absolute::after {\n content: var(--tw-content) !important;\n position: absolute !important;\n }\n\n .after\\:-top-8::after {\n content: var(--tw-content) !important;\n top: -2rem !important;\n }\n\n .after\\:h-8::after {\n content: var(--tw-content) !important;\n height: 2rem !important;\n }\n\n .after\\:w-full::after {\n content: var(--tw-content) !important;\n width: 100% !important;\n }\n\n .after\\:bg-gradient-to-t::after {\n content: var(--tw-content) !important;\n background-image: linear-gradient(\n to top,\n var(--tw-gradient-stops)\n ) !important;\n }\n\n .after\\:from-theme-light::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #f7f7f7 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(247 247 247 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n .after\\:to-transparent::after {\n content: var(--tw-content) !important;\n --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;\n }\n\n .last-of-type\\:mr-0:last-of-type {\n margin-right: 0px !important;\n }\n\n .hover\\:-translate-y-1:hover {\n --tw-translate-y: -0.25rem !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y))\n rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))\n scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n }\n\n .hover\\:rounded-xl:hover {\n border-radius: 0.75rem !important;\n }\n\n .hover\\:border-\\[\\#0c75fc\\]:hover {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n .hover\\:bg-\\[\\#F1F5F9\\]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(241 245 249 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-\\[\\#f5faff\\]:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(245 250 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-gray-100:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-stone-200:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(231 229 228 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-white:hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;\n }\n\n .hover\\:bg-opacity-100:hover {\n --tw-bg-opacity: 1 !important;\n }\n\n .hover\\:\\!text-gray-200:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-\\[\\#0c75fc\\]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(12 117 252 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-\\[\\#1677ff\\]:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(22 119 255 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-blue-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(59 130 246 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-red-500:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(239 68 68 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:text-theme-primary:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(0 105 254 / var(--tw-text-opacity)) !important;\n }\n\n .hover\\:opacity-100:hover {\n opacity: 1 !important;\n }\n\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),\n 0 4px 6px -4px var(--tw-shadow-color) !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .focus\\:shadow-none:focus {\n --tw-shadow: 0 0 #0000 !important;\n --tw-shadow-colored: 0 0 #0000 !important;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;\n }\n\n .group:hover .group-hover\\:block {\n display: block !important;\n }\n\n .group\\/item:hover .group-hover\\/item\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group\\/side:hover .group-hover\\/side\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover\\:opacity-100 {\n opacity: 1 !important;\n }\n\n .group:hover .group-hover\\:opacity-70 {\n opacity: 0.7 !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#0c75fc\\]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(12 117 252 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#6f7f95\\]) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(111 127 149 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-\\[\\#ffffff66\\]) {\n border-color: #ffffff66 !important;\n }\n\n :is(.dark .dark\\:border-gray-500) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(107 114 128 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-600) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(75 85 99 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-700) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(55 65 81 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-gray-800) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(31 41 55 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-theme-dark) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(21 22 34 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:border-white) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#212121\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(33 33 33 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#232734\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#242733\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(36 39 51 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#484848\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(72 72 72 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#606264\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#6f7f95\\]) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(111 127 149 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-\\[\\#ffffff29\\]) {\n background-color: #ffffff29 !important;\n }\n\n :is(.dark .dark\\:bg-black) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(55 65 81 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-gray-900) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-slate-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(30 41 59 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-theme-dark) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-theme-dark-container) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(35 39 52 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-transparent) {\n background-color: transparent !important;\n }\n\n :is(.dark .dark\\:bg-zinc-700) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(63 63 70 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-zinc-800) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(39 39 42 / var(--tw-bg-opacity)) !important;\n }\n :is(.dark :is(.dark .dark\\:dark\\:bg-theme-dark)) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:bg-opacity-50) {\n --tw-bg-opacity: 0.5 !important;\n }\n\n :is(.dark .dark\\:bg-opacity-60) {\n --tw-bg-opacity: 0.6 !important;\n }\n\n :is(.dark .dark\\:bg-gradient-dark) {\n background-image: url('/images/bg_dark.png') !important;\n }\n\n :is(.dark .dark\\:text-\\[\\#ffffffD9\\]) {\n color: #ffffffd9 !important;\n }\n\n :is(.dark .dark\\:text-blue-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(96 165 250 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(229 231 235 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(209 213 219 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-400) {\n --tw-text-opacity: 1 !important;\n color: rgb(156 163 175 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-gray-800) {\n --tw-text-opacity: 1 !important;\n color: rgb(31 41 55 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-slate-300) {\n --tw-text-opacity: 1 !important;\n color: rgb(203 213 225 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-stone-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(231 229 228 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-white) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:text-zinc-200) {\n --tw-text-opacity: 1 !important;\n color: rgb(228 228 231 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:after\\:from-theme-dark)::after {\n content: var(--tw-content) !important;\n --tw-gradient-from: #151622 var(--tw-gradient-from-position) !important;\n --tw-gradient-to: rgb(21 22 34 / 0) var(--tw-gradient-to-position) !important;\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;\n }\n\n :is(.dark .dark\\:hover\\:border-white:hover) {\n --tw-border-opacity: 1 !important;\n border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-\\[\\#606264\\]:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-theme-dark:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(21 22 34 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:bg-zinc-900:hover) {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(24 24 27 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover\\:dark\\:bg-\\[\\#606264\\]):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(96 98 100 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .hover\\:dark\\:bg-black):hover {\n --tw-bg-opacity: 1 !important;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:text-white:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n }\n\n :is(.dark .dark\\:hover\\:text-zinc-100:hover) {\n --tw-text-opacity: 1 !important;\n color: rgb(244 244 245 / var(--tw-text-opacity)) !important;\n }\n\n @media (min-width: 640px) {\n .sm\\:mr-4 {\n margin-right: 1rem !important;\n }\n\n .sm\\:w-60 {\n width: 15rem !important;\n }\n\n .sm\\:grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr)) !important;\n }\n\n .sm\\:pb-10 {\n padding-bottom: 2.5rem !important;\n }\n\n .sm\\:pt-6 {\n padding-top: 1.5rem !important;\n }\n\n .sm\\:text-base {\n font-size: 1rem !important;\n line-height: 1.5rem !important;\n }\n\n .sm\\:leading-7 {\n line-height: 1.75rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md\\:block {\n display: block !important;\n }\n\n .md\\:h-full {\n height: 100% !important;\n }\n\n .md\\:w-1\\/2 {\n width: 50% !important;\n }\n\n .md\\:w-1\\/4 {\n width: 25% !important;\n }\n\n .md\\:w-3\\/4 {\n width: 75% !important;\n }\n\n .md\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md\\:gap-4 {\n gap: 1rem !important;\n }\n\n .md\\:border-l {\n border-left-width: 1px !important;\n }\n\n .md\\:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md\\:p-4 {\n padding: 1rem !important;\n }\n\n .md\\:p-6 {\n padding: 1.5rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 768px) {\n .md\\:block {\n display: block !important;\n }\n\n .md\\:h-full {\n height: 100% !important;\n }\n\n .md\\:w-1\\/2 {\n width: 50% !important;\n }\n\n .md\\:w-1\\/4 {\n width: 25% !important;\n }\n\n .md\\:w-3\\/4 {\n width: 75% !important;\n }\n\n .md\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n }\n\n .md\\:gap-4 {\n gap: 1rem !important;\n }\n\n .md\\:border-l {\n border-left-width: 1px !important;\n }\n\n .md\\:border-t-0 {\n border-top-width: 0px !important;\n }\n\n .md\\:p-4 {\n padding: 1rem !important;\n }\n\n .md\\:p-6 {\n padding: 1.5rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1rem !important;\n }\n }\n\n @media (min-width: 1024px) {\n .lg\\:w-1\\/3 {\n width: 33.333333% !important;\n }\n\n .lg\\:w-72 {\n width: 18rem !important;\n }\n\n .lg\\:w-full {\n width: 100% !important;\n }\n\n .lg\\:max-w-\\[80\\%\\] {\n max-width: 80% !important;\n }\n\n .lg\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n }\n\n .lg\\:px-8 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n }\n"]);return eb=function(){return n},n}let ew=tf.Ay.div(eb()),ef=n=>{let{data:t,extraMenu:e,title:i="总结报告",downloadButton:o=!0}=n,[l,s]=(0,a.useState)(!1),c=async()=>{s(!0);let n=document.querySelector(".DownCardClass");if(!n){console.error("Container not found!"),s(!1);return}try{let t=await tL()(n,{useCORS:!0}),e=t.toDataURL("image/png"),r=new tR.Ay,a=r.internal.pageSize.getWidth()-20,i=r.internal.pageSize.getHeight()-20,o=t.height*a/t.width,l=Math.ceil(o/i);Array.from({length:l}).forEach((n,t)=>{r.addImage(e,"PNG",10,-i*t+10,a,o),t(0,r.jsxs)("div",{className:"titleActionWrap",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)("div",{style:{width:"32px",height:"32px",padding:"5px 7px",background:"rgb(27 98 255 / 8%)",borderRadius:"8px",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,r.jsx)("img",{style:{width:"18px",height:"22px"},src:"/icons/report.svg",alt:""})}),(0,r.jsx)("span",{children:i})]}),(0,r.jsxs)(F.A,{children:[e,o&&(0,r.jsx)(L.Ay,{loading:l,onClick:c,style:{padding:"4px 6px",fontSize:"14px"},children:"下载报告"})]})]}),{}),variant:"borderless",style:{width:"100%"},children:(0,r.jsx)("div",{className:"DownCardClass",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})})})})})};function ev(){let n=(0,tw._)(["\n .vis-utils-markdown {\n position: relative;\n display: flex;\n flex-direction: column;\n .code-copy-btn {\n align-self: flex-end;\n position: absolute;\n top: 0;\n right: 0;\n background: #fff;\n visibility: hidden;\n font-size: 18px;\n .ant-typography-copy {\n color: gray !important;\n }\n }\n .inner-chat-gpt-vis {\n overflow: auto;\n }\n &:hover {\n .code-copy-btn {\n visibility: visible;\n }\n }\n }\n .ant-collapse-content-box {\n padding-top: 0px !important;\n }\n"]);return ev=function(){return n},n}let ey=tf.Ay.div(ev()),{Text:ek}=nd.A,ej=a.memo(n=>{var t,e;let{data:i}=n,{tool_args:o,tool_result:s,markdown:c}=i||{},d=(0,a.useMemo)(()=>{if(!s)return!1;if("object"==typeof s)return!0;try{let n=JSON.parse(s);if(n&&"object"==typeof n)return!0}catch(n){}return!1},[s]),[p,g]=(0,a.useState)(d?"json":"markdown");(0,a.useEffect)(()=>{g(d?"json":"markdown")},[d]);let h=(0,a.useMemo)(()=>{if("json"!==p||!s)return"";if("object"==typeof s)return JSON.stringify(s,null,2);let n=(0,l.j)(s||"",s);return"object"==typeof n&&null!==n?JSON.stringify(n,null,2):String(s)},[s,p]);return(0,r.jsx)(ey,{children:(0,r.jsxs)(F.A,{style:{width:"100%"},direction:"vertical",children:[(0,r.jsx)(t0.A,{size:"small",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:null==i?void 0:i.tool_name}),(0,r.jsx)(nd.A.Text,{style:{fontWeight:"normal"},type:"secondary",children:null==i?void 0:i.tool_desc})]}),items:[{key:"1",label:"耗时",children:(null==i?void 0:i.tool_cost)?"".concat(i.tool_cost,"s"):"-"},{key:"2",label:"工具版本",children:(null==i?void 0:i.tool_version)||"-"},{key:"3",label:"工具作者",children:(null==i?void 0:i.tool_author)||"-"},{key:"4",label:"运行环境",children:(0,r.jsx)(nd.A.Text,{ellipsis:{tooltip:null==i?void 0:i.run_env},children:(null==i?void 0:i.run_env)||"-"})}]}),(0,r.jsx)(t6.A,{style:{width:"100%"},bordered:!1,defaultActiveKey:["in","out"],items:[{key:"in",label:"输入参数",children:(0,r.jsx)(nN,{language:"json",code:JSON.stringify(null!=o?o:{},null,2),light:nG.A})}]}),(0,r.jsx)(t6.A,{style:{width:"100%"},bordered:!1,defaultActiveKey:["out"],items:[{key:"out",label:"输出参数",extra:(0,r.jsx)(tp.A,{value:p,options:[{label:"markdown",value:"markdown"},{label:"json",value:"json"}],onChange:n=>g(null!=n?n:"markdown")}),children:(0,r.jsxs)(r.Fragment,{children:["markdown"===p&&(0,r.jsxs)("div",{className:"vis-utils-markdown",children:[(0,r.jsx)(ek,{className:"code-copy-btn",copyable:{text:"string"==typeof s?s:JSON.stringify(s)}}),(0,r.jsx)(m.A,{className:"whitespace-normal inner-chat-gpt-vis",components:iy,...ij,children:null!=(e=c||("string"==typeof s?null==s||null==(t=s.replaceAll)?void 0:t.call(s,"~","~"):JSON.stringify(s)))?e:""})]}),"json"===p&&(0,r.jsx)(nN,{language:"json",code:h||"",light:nG.A})]})}]})]})})});function eA(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n border-radius: 12px;\n background-color: #ffffff73;\n"]);return eA=function(){return n},n}function e_(){let n=(0,tw._)(["\n width: 100%;\n flex: 1;\n padding: 12px;\n overflow-y: auto;\n .VisContentCardClass {\n background-color: transparent;\n padding: 0;\n .VisStepCardWrap {\n background-color: transparent;\n }\n }\n .thinkLinkBtn {\n display: none;\n }\n"]);return e_=function(){return n},n}let eN=tf.Ay.div(eA()),ez=tf.Ay.div(e_());function eS(){let n=(0,tw._)(["\n position: absolute;\n top: 8px;\n right: 8px;\n cursor: pointer;\n z-index: 10;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 4px;\n background-color: #ffffff;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);\n &:hover {\n background-color: #f5f5f5;\n }\n"]);return eS=function(){return n},n}let eC=tf.Ay.div(eS()),eF=n=>{let{otherComponents:t,data:e}=n,i=(0,a.useRef)(null);(0,a.useEffect)(()=>{let n=i.current;n&&n.scrollHeight-n.scrollTop-n.clientHeight<=150&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[e]);let o=function(n,t){let[e,r]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!n)return;let e=null,a=null,i=0,o=()=>{let i=document.querySelector(n)||document.querySelector(t);return!!i&&(a&&(clearInterval(a),a=null),r(i.getBoundingClientRect().height),(e=new ResizeObserver(n=>{var t,e,a;r(null!=(a=null==(e=n[0])||null==(t=e.contentRect)?void 0:t.height)?a:0)})).observe(i),!0)};return o()||(a=setInterval(()=>{(o()||++i>=50)&&a&&clearInterval(a)},100)),()=>{null==e||e.disconnect(),a&&clearInterval(a)}},[n,t]),e}("#nex-chat-detail-panel".concat(e.uid),"#nex-chat-detail-panel");return(0,r.jsxs)(eN,{style:{height:"".concat(o||400,"px"),position:"relative"},children:[(0,r.jsx)(eC,{onClick:()=>{te.ee.emit("closePanel")},children:(0,r.jsx)(n5.A,{})}),(0,r.jsx)(ez,{style:o?{border:"1px solid #ebedf1",height:"100%"}:{},className:"AgentContent",ref:i,children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...t||{}},...ij,children:(null==e?void 0:e.markdown)||"-"})})]})};var eE=e(93192),eL=e(48312);function eR(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n"]);return eR=function(){return n},n}function eM(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 5px 8px;\n cursor: ",";\n border-radius: 6px;\n transition: background 0.15s ease;\n\n &:hover {\n background-color: ",";\n }\n\n background-color: ",";\n"]);return eM=function(){return n},n}function eI(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n min-width: 0;\n flex: 1;\n gap: 6px;\n"]);return eI=function(){return n},n}function eO(){let n=(0,tw._)(["\n position: relative;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n"]);return eO=function(){return n},n}function eq(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 50%;\n border: 1px solid #e2e8f0;\n"]);return eq=function(){return n},n}function eT(){let n=(0,tw._)(["\n font-size: 12px;\n font-weight: 500;\n color: #334155;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"]);return eT=function(){return n},n}function eH(){let n=(0,tw._)(["\n margin-top: 1px;\n margin-left: 10px;\n display: flex;\n flex-direction: column;\n gap: 1px;\n padding-left: 6px;\n"]);return eH=function(){return n},n}function eD(){let n=(0,tw._)(["\n padding-left: 2px;\n"]);return eD=function(){return n},n}function eQ(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n padding: 8px;\n background: transparent;\n overflow-y: auto;\n"]);return eQ=function(){return n},n}function eP(){let n=(0,tw._)(["\n list-style: none;\n margin: 0;\n padding: 0;\n"]);return eP=function(){return n},n}function eB(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n padding: 6px 10px;\n border-radius: 6px;\n cursor: pointer;\n font-size: 12px;\n color: #334155;\n transition: background 0.15s ease;\n\n &:hover {\n background: #e8ecf1;\n }\n\n .title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-weight: 500;\n }\n"]);return eB=function(){return n},n}function eV(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n padding: 4px;\n background: transparent;\n overflow-y: auto;\n \n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 2px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n"]);return eV=function(){return n},n}let eU=tf.Ay.div(eR()),eK=tf.Ay.div(eM(),n=>n.$hasChildren?"pointer":"default",n=>n.$isSelected?"#dbeafe":"#e8ecf1",n=>n.$isSelected?"#eff6ff":"transparent"),e$=tf.Ay.div(eI()),eJ=tf.Ay.div(eO()),eW=tf.Ay.img(eq()),eY=tf.Ay.h3(eT()),eX=tf.Ay.div(eH()),eG=tf.Ay.div(eD()),eZ=tf.Ay.div(eQ()),e0=tf.Ay.ul(eP()),e1=tf.Ay.li(eB()),e2=tf.Ay.div(eV()),e5={report:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*xaTaQ5rDghgAAAAALTAAAAgAeprcAQ/original",tool:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",blankaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",knowledge:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*P2sCQKUZoAUAAAAAOhAAAAgAeprcAQ/original",code:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",deriskcodeaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*F4pAT4italwAAAAANhAAAAgAeprcAQ/original",agent:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",plan:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",planningaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",llm:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",stage:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",task:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",hidden:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",default:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original"},e4=n=>{let{status:t}=n;switch(t){case"complete":return(0,r.jsx)(nQ.A,{style:{color:"#52c41a",fontSize:12,marginRight:6}});case"running":case"retrying":return(0,r.jsx)(nP.A,{style:{color:"#1677ff",fontSize:12,marginRight:6}});case"failed":return(0,r.jsx)(eL.A,{style:{color:"#ff4d4f",fontSize:12,marginRight:6}});default:return(0,r.jsx)(nQ.A,{style:{color:"#595959",fontSize:12,marginRight:6}})}};function e6(n){return!!("string"==typeof n.item_type||Array.isArray(n.items)&&n.items.some(n=>null!=n.item_type))}let e3=n=>{var t,e;let{data:i}=n,[o,l]=(0,a.useState)([]),[s,c]=(0,a.useState)(null),[d,p]=(0,a.useState)([]),g=(0,a.useMemo)(()=>{var n,t;return e6(i)?i:(null==(n=i.items)?void 0:n.length)?{uid:null!=(t=i.uid)?t:"root",item_type:"folder",items:i.items,agent_name:i.agent_name,avatar:i.avatar,description:i.description}:{uid:"root",item_type:"folder",items:[],dynamic:!1}},[i]),h=(0,a.useMemo)(()=>{let n=JSON.parse(JSON.stringify(g));return d.forEach(t=>{var e;if(t.path===n.uid){n.items=[...n.items||[],t];return}let r=null==(e=n.items)?void 0:e.find(n=>n.uid===t.path);r&&(r.items=[...r.items||[],t])}),n},[g,d]);(0,a.useEffect)(()=>{let n=n=>{p(t=>t.some(t=>t.uid===n.folderItem.uid)?t.map(t=>t.uid===n.folderItem.uid?n.folderItem:t):[...t,n.folderItem])},t=n=>c(n.uid);return te.ee.on("addTask",n),te.ee.on("clickFolder",t),()=>{te.ee.off("addTask",n),te.ee.off("clickFolder",t)}},[]);let x=n=>{let t=o.includes(n.uid),e="folder"===n.item_type,a="file"===n.item_type;return(0,r.jsxs)(eU,{children:[(0,r.jsx)(eK,{$isSelected:!!(n.uid&&n.uid===s),$hasChildren:!!e,className:n.uid===s?"breathing-text":"",onClick:()=>{e&&l(e=>t?e.filter(t=>t!==n.uid):[...e,n.uid]),a&&(c(n.uid),te.ee.emit("clickFolder",{uid:n.uid}))},children:(0,r.jsxs)(e$,{children:[e&&(t?(0,r.jsx)(ts.A,{style:{fontSize:"0.625rem",color:"#6b7280"}}):(0,r.jsx)(tl.A,{style:{fontSize:"0.625rem",color:"#6b7280"}})),n.avatar&&!a&&(0,r.jsx)(eJ,{children:(0,r.jsx)(eW,{src:n.avatar,alt:""})}),a&&(0,r.jsx)(eJ,{children:n.task_type?(0,r.jsx)("img",{src:e5[String(String(n.task_type)).toLowerCase()]||e5.default,alt:""}):(0,r.jsx)(eE.A,{})}),(0,r.jsx)(eY,{children:n.agent_name||n.title||n.uid})]})}),!t&&n.items&&n.items.length>0&&(0,r.jsx)(eX,{children:n.items.map(n=>(0,r.jsx)(eG,{children:x(n)},n.uid))})]},n.uid)},u=(null==(t=i.items)?void 0:t.length)&&!e6(i)&&!i.explorer,b=null!=(e=i.items)?e:[];if((0,a.useEffect)(()=>{u&&b.forEach(n=>{te.ee.emit("addTask",{folderItem:n})})},[u,b.length]),i.explorer&&!e6(i))return(0,r.jsx)(eZ,{children:(0,r.jsx)(m.A,{components:iy,...ij,children:i.explorer})});if(u){let n=n=>te.ee.emit("clickFolder",{uid:n});return(0,r.jsx)(eZ,{children:(0,r.jsx)(e0,{children:b.map(t=>{var e;return(0,r.jsxs)(e1,{role:"button",tabIndex:0,onClick:()=>n(t.uid),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),n(t.uid))},children:[(0,r.jsx)(e4,{status:t.status}),(0,r.jsx)("span",{className:"title",children:null!=(e=t.title)?e:t.uid})]},t.uid)})})})}return(0,r.jsx)(e2,{children:x(h)})};var e7=e(14808),e8=e(38962),e9=e(60779),rn=e(30832),rt=e.n(rn),re=e(60363),rr=e.n(re);function ra(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n background: transparent;\n overflow: hidden;\n"]);return ra=function(){return n},n}function ri(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 12px;\n border-bottom: 1px solid #e2e8f0;\n background: #f8fafc;\n flex-shrink: 0;\n"]);return ri=function(){return n},n}function ro(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n gap: 6px;\n \n .title-text {\n font-size: 13px;\n font-weight: 600;\n color: #334155;\n }\n"]);return ro=function(){return n},n}function rl(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n gap: 2px;\n"]);return rl=function(){return n},n}function rs(){let n=(0,tw._)(["\n display: flex;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n background: transparent;\n"]);return rs=function(){return n},n}function rc(){let n=(0,tw._)(["\n width: 240px;\n min-width: 240px;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n padding: 8px;\n background: transparent;\n border-right: 1px solid #f1f5f9;\n flex-shrink: 0;\n display: ",";\n \n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 2px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n"]);return rc=function(){return n},n}function rd(){let n=(0,tw._)(["\n flex: 1;\n min-width: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n background: transparent;\n"]);return rd=function(){return n},n}function rp(){let n=(0,tw._)(["\n flex-shrink: 0;\n padding: 8px 12px;\n border-bottom: 1px solid #f1f5f9;\n background: transparent;\n \n .time-text {\n font-size: 11px;\n color: #64748b;\n font-weight: 500;\n }\n"]);return rp=function(){return n},n}function rm(){let n=(0,tw._)(["\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overflow-x: hidden;\n padding: 12px;\n background: transparent;\n \n &::-webkit-scrollbar {\n width: 6px;\n }\n &::-webkit-scrollbar-thumb {\n background: #cbd5e1;\n border-radius: 3px;\n }\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n \n /* 确保 GPTVis 内容正确滚动 */\n & > div {\n max-width: 100%;\n }\n"]);return rm=function(){return n},n}function rg(){let n=(0,tw._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n color: #64748b;\n font-size: 13px;\n transition: all 0.15s ease;\n \n &:hover {\n background: #e2e8f0;\n color: #334155;\n }\n \n &:active {\n background: #cbd5e1;\n }\n"]);return rg=function(){return n},n}let rh=tf.Ay.div(ra()),rx=tf.Ay.div(ri()),ru=tf.Ay.div(ro()),rb=tf.Ay.div(rl()),rw=tf.Ay.div(rs()),rf=tf.Ay.div(rc(),n=>n.$visible?"block":"none"),rv=tf.Ay.div(rd()),ry=tf.Ay.div(rp()),rk=tf.Ay.div(rm()),rj=tf.Ay.button(rg()),rA={complete:(0,r.jsx)(nQ.A,{style:{color:"#10b981",fontSize:14}}),todo:(0,r.jsx)(nQ.A,{style:{color:"#9ca3af",fontSize:14}}),running:(0,r.jsx)(nP.A,{style:{color:"#3b82f6",fontSize:14}}),waiting:(0,r.jsx)(e7.A,{style:{color:"#f59e0b",fontSize:14}}),retrying:(0,r.jsx)(c.A,{style:{color:"#3b82f6",fontSize:14}}),failed:(0,r.jsx)(eL.A,{style:{color:"#ef4444",fontSize:14}})},r_=n=>{var t,e,i,o;let{otherComponents:l,data:s}=n,[c,d]=(0,a.useState)(""),[p,g]=(0,a.useState)(!0),h=(0,a.useRef)(null),x=(0,a.useMemo)(()=>rr()(s.items,"uid"),[s.items]);(0,a.useEffect)(()=>{let n=n=>{d(n.uid)};return te.ee.on(te.q.CLICK_FOLDER,n),()=>{te.ee.off(te.q.CLICK_FOLDER,n)}},[]),(0,a.useEffect)(()=>{s.items.forEach(n=>{te.ee.emit(te.q.ADD_TASK,{folderItem:n})})},[s.items]);let u=null==(t=s.items[s.items.length-1])?void 0:t.markdown;(0,a.useEffect)(()=>{var n;null==(n=h.current)||n.scrollTo({top:h.current.scrollHeight,behavior:"smooth"})},[null==x||null==(e=x[c])?void 0:e.markdown,u]);let b=(0,a.useCallback)(()=>{te.ee.emit(te.q.CLOSE_PANEL)},[]),w=(0,a.useCallback)(()=>{g(n=>!n)},[]),f=(0,a.useMemo)(()=>(0,r.jsx)(rf,{$visible:p,children:(0,r.jsx)(m.A,{components:{...iy,...l||{}},...ij,children:s.explorer||"-"})}),[p,s.explorer,l]),v=(null==(i=x[c])?void 0:i.markdown)||(null==(o=s.items[s.items.length-1])?void 0:o.markdown)||"-",y=(0,a.useMemo)(()=>(0,r.jsx)(rk,{ref:h,children:(0,r.jsx)(m.A,{className:"prose prose-sm max-w-none",components:{...iy,...l||{}},...ij,children:v})}),[v,l]),k=x[c];return(0,r.jsxs)(rh,{children:[(0,r.jsxs)(rx,{children:[(0,r.jsxs)(ru,{children:[(0,r.jsx)(rj,{onClick:w,title:p?"收起目录":"展开目录",children:p?(0,r.jsx)(e8.A,{}):(0,r.jsx)(e9.A,{})}),(0,r.jsx)("span",{className:"title-text",children:"工作空间"})]}),(0,r.jsx)(rb,{children:(0,r.jsx)(rj,{onClick:b,title:"关闭工作空间",children:(0,r.jsx)(n5.A,{})})})]}),(0,r.jsxs)(rw,{children:[f,(0,r.jsxs)(rv,{$explorerVisible:p,children:[(null==k?void 0:k.start_time)&&(0,r.jsx)(ry,{children:(0,r.jsxs)(F.A,{size:8,children:[rA[k.status]||rA.running,(0,r.jsx)("span",{className:"time-text",children:rt()(k.start_time).format("HH:mm:ss")})]})}),y]})]})]})};var rN=e(75866),rz=e(30961),rS=e(82769),rC=e(16301);let rF=n=>(0,r.jsx)("div",{className:"uni-chat-markdown-container whitespace-normal",children:(0,r.jsx)(rz.oz,{remarkPlugins:[rC.A,f.A],rehypePlugins:[w.A,rS.A],children:n})}),rE=n=>{let{content:t,isLoading:e=!1,isTyping:a=!1}=n;return(0,r.jsx)(rN.A,{placement:"start",content:t,messageRender:n=>rF(n),typing:a,style:{width:"100%",marginInlineEnd:"auto"},styles:{content:{background:"#fff",borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap"},footer:{alignSelf:"stretch"}},loading:e})};function rL(){let n=(0,tw._)(["\n .d-thinking-title {\n font-size: 16px;\n background: rgb(245, 245, 245);\n font-size: 14px;\n display: inline-flex;\n padding: 6px 10px;\n border-radius: 6px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n user-select: none;\n }\n .d-icon {\n transform: rotate(90deg);\n transition: all 0.3s ease;\n }\n .rotate {\n transform: rotate(0);\n transition: all 0.3s ease;\n }\n"]);return rL=function(){return n},n}let rR=tf.Ay.div(rL()),rM=n=>{let{data:t,style:e,collapseTitle:i="深度思考过程",otherComponents:o,expand:l=!0}=n,[s,c]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{c(l)},[l]),(0,r.jsxs)(rR,{style:{background:"transparent",...e||{}},className:"DThinkCardClass",children:[(0,r.jsx)("div",{className:"d-thinking-title",onClick:()=>c(!s),children:(0,r.jsx)(nd.A.Text,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)("span",{children:i}),(0,r.jsx)(tl.A,{className:s?"rotate":"d-icon"})]})})}),(0,r.jsx)("div",{className:"d-thinking-content",style:{display:s?"block":"none"},children:(0,r.jsx)(nd.A.Paragraph,{children:(0,r.jsx)("blockquote",{children:(0,r.jsx)(nd.A.Text,{type:"secondary",children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:{...iy,...o||{}},...ij,children:(null==t?void 0:t.markdown)||"-"})})})})})]})};function rI(){let n=(0,tw._)(["\n width: 100%;\n height: auto;\n margin-top: 8px;\n padding-left: 8px;\n .refItem {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n cursor: pointer;\n }\n"]);return rI=function(){return n},n}let rO=tf.Ay.div(rI()),rq=n=>{let{data:t}=n;return(0,r.jsx)(rO,{children:t&&(null==t?void 0:t.length)>0&&(0,r.jsxs)(F.A,{wrap:!0,style:{width:"100%"},children:[(0,r.jsx)("span",{children:"参考:\xa0"}),null==t?void 0:t.map(n=>(0,r.jsxs)(h.A,{className:"refItem",onClick:()=>window.open(null==n?void 0:n.ref_link),children:[(0,r.jsx)("span",{children:null==n?void 0:n.ref_index}),(0,r.jsx)("span",{style:{margin:"0 4px",color:"#1b62ff31"},children:"|"}),(0,r.jsx)("span",{children:null==n?void 0:n.ref_name})]},null==n?void 0:n.ref_link))]})})};function rT(){let n=(0,tw._)(["\n margin: 6px 0;\n margin-top: 0;\n .ant-collapse-header {\n // padding: 8px 12px !important;\n line-height: 1em !important;\n padding: 12px !important;\n align-items: center !important;\n\n .ant-collapse-expand-icon {\n padding-inline-end: 0 !important;\n }\n }\n\n .ant-collapse-content-box {\n padding: 0 12px !important;\n }\n .ant-collapse-content {\n .ant-bubble-content {\n margin: 0;\n background: none;\n }\n }\n .ant-collapse-item {\n border-radius: 16px !important;\n background: rgba(0, 0, 0, 0.06);\n display: inline-block;\n }\n .ant-collapse-item-active {\n margin-bottom: 0;\n display: block;\n }\n"]);return rT=function(){return n},n}let rH=tf.Ay.div(rT()),rD=n=>{let{data:t}=n,[e,i]=(0,a.useState)(["1"]),{setStepParams:o}=(0,a.useContext)(j.UK)||{},{visMsgData:l}=(0,a.useContext)(j.V)||{},{panelAction:s}=(0,a.useContext)(j.cE)||{};return(0,r.jsx)(rH,{style:{background:"transparent"},children:(0,r.jsx)(t6.A,{defaultActiveKey:["1"],activeKey:e,ghost:!0,onChange:n=>i(n),items:[{key:"1",label:(0,r.jsx)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center"},children:[(0,r.jsx)("img",{src:"/icons/thinking.svg",style:{width:"17px"}}),(0,r.jsx)("span",{style:{margin:"0 8px"},children:"深度思考过程"}),(null==e?void 0:e.length)>0?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})]})}),children:(0,r.jsx)(rN.A,{placement:"start",messageRender:()=>{if(null==t?void 0:t.markdown)return(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})},style:{width:"100%",borderTop:"1px solid #ccc"},styles:{content:{width:"100%",borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap",padding:"12px 0",color:"#6A7380"},footer:{alignSelf:"stretch"}}})}]})})};function rQ(){let n=(0,tw._)(["\n width: 100%;\n min-width: 0;\n display: flex;\n flex-direction: column;\n padding: 3px 0;\n\n &.selected {\n .header-plan {\n background: #eff6ff;\n border-color: #bfdbfe;\n }\n }\n\n .header {\n width: 100%;\n border-radius: 8px;\n padding: 8px 10px;\n color: #334155;\n background: transparent;\n transition: background 0.15s ease;\n }\n\n .header-row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n\n .content-header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n gap: 6px;\n\n .task-icon {\n width: 14px;\n height: 14px;\n flex-shrink: 0;\n }\n }\n\n .result {\n display: flex;\n flex-direction: column;\n width: 100%;\n border-radius: 6px;\n }\n }\n\n .title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 13px;\n color: #1e293b;\n }\n\n .description {\n font-size: 12px;\n color: #64748b;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .header-right {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n }\n\n .status {\n color: #475569;\n margin-left: 8px;\n border-radius: 10px;\n padding: 2px 8px;\n background: #f1f5f9;\n font-size: 11px;\n font-weight: 500;\n }\n\n .expand-btn {\n padding: 0;\n width: 22px;\n height: 22px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.15s ease;\n font-size: 12px;\n color: #94a3b8;\n border-radius: 4px;\n\n &:hover {\n color: #475569;\n background: #f1f5f9;\n }\n\n &.collapsed {\n transform: rotate(-90deg);\n }\n\n &.expanded {\n transform: rotate(0deg);\n }\n }\n\n .divider {\n margin: 0;\n border-color: #f1f5f9;\n }\n\n .markdown-content {\n width: 100%;\n animation: fadeIn 0.2s ease;\n }\n\n .markdown-content-wrap {\n width: 100%;\n background: transparent;\n padding: 6px 0 0 0;\n }\n\n .markdown-content-wrap-stage {\n border-left: 2px solid #e2e8f0;\n padding-left: 12px;\n margin-left: 6px;\n }\n\n .stage-icon-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n background: #eff6ff;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n }\n\n .title-text {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n\n .result-title {\n display: flex;\n justify-content: space-between;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n transition: background 0.15s ease;\n cursor: pointer;\n border-radius: 6px;\n padding: 2px 4px;\n\n &:hover {\n background: #f8fafc;\n }\n }\n\n .result-icon {\n width: 14px;\n height: 14px;\n margin-right: 4px;\n }\n\n .result-content {\n font-size: 12px;\n max-height: 200px;\n overflow: auto;\n }\n\n .time-info {\n display: flex;\n flex: 1;\n justify-content: flex-end;\n color: #94a3b8;\n font-size: 11px;\n gap: 8px;\n }\n\n .content-wrapper {\n width: 100%;\n }\n\n .time-cost {\n font-weight: 500;\n color: #64748b;\n }\n\n .task-description {\n color: #64748b;\n margin-top: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n font-size: 12px;\n }\n\n .task-description-level-0 {\n font-size: 13px;\n }\n\n .task-description-level-other {\n font-size: 12px;\n }\n\n .agent_name {\n display: flex;\n align-items: center;\n max-width: 180px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .agent_name-badge {\n background: #f1f5f9;\n padding: 2px 8px;\n margin: 0 4px 0 2px;\n border-radius: 10px;\n font-size: 11px;\n font-weight: 500;\n color: #475569;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .header-plan {\n background: #ffffff;\n border: 1px solid #e2e8f0;\n border-radius: 10px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n\n &:hover {\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n }\n }\n\n .header-task {\n width: fit-content;\n max-width: 85%;\n background: #f8fafc;\n border: 1px solid #e2e8f0;\n border-radius: 16px;\n padding: 5px 12px;\n transition: all 0.15s ease;\n cursor: pointer;\n\n &:hover {\n background: #f1f5f9;\n }\n\n .task-icon {\n width: 13px;\n height: 13px;\n margin-right: 4px;\n }\n\n .title-task-with-markdown {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n\n .title-text-ellipsis:first-child {\n flex-shrink: 1;\n max-width: none;\n }\n }\n\n .task-title-markdown-line {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n\n .task-title-description-line {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n color: #64748b;\n font-size: 11px;\n }\n }\n\n .header-agent {\n background: #ffffff;\n border: 1px solid #e2e8f0;\n border-radius: 10px;\n padding: 10px 12px;\n transition: all 0.15s ease;\n cursor: pointer;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);\n\n &:hover {\n background: #f8fafc;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n }\n\n .task-icon {\n margin-right: 4px;\n }\n\n .agent_name-leading {\n flex: 1;\n min-width: 0;\n font-size: 14px;\n font-weight: 600;\n max-width: none;\n\n .avatar-shrink {\n flex-shrink: 0;\n }\n\n .agent_name-badge {\n font-size: 13px;\n font-weight: 500;\n padding: 2px 10px;\n }\n }\n }\n\n .header-stage {\n background: transparent;\n border-radius: 6px;\n padding: 6px 8px 6px 0;\n transition: background 0.15s ease;\n cursor: pointer;\n\n &:hover {\n background: transparent;\n }\n\n .content-header {\n padding-left: 0;\n }\n\n .task-icon {\n width: 16px;\n margin-right: 6px;\n margin-left: 0;\n }\n\n .title-text {\n font-size: 13px;\n font-weight: 500;\n }\n }\n\n .header-default {\n }\n\n .title-container {\n font-size: 13px;\n }\n\n .title-level-0 {\n font-size: 14px;\n font-weight: 600;\n }\n\n .title-level-1 {\n font-size: 13px;\n font-weight: 500;\n }\n\n .title-level-2 {\n font-size: 12px;\n font-weight: 500;\n }\n\n .title-text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n flex: 1;\n }\n\n .title-flex-container {\n display: flex;\n align-items: center;\n width: 100%;\n overflow: hidden;\n justify-content: space-between;\n }\n\n .result-title-container {\n font-size: 13px;\n }\n\n .result-title-outer {\n font-size: 13px;\n }\n\n .result-title-inner {\n font-size: 12px;\n }\n\n .result-title-flex {\n display: flex;\n overflow: hidden;\n align-items: flex-start;\n }\n\n .result-icon-style {\n flex-shrink: 0;\n }\n\n .result-icon-outer {\n margin-top: 2px;\n }\n\n .avatar-shrink {\n flex-shrink: 0;\n }\n\n .button-shrink {\n flex-shrink: 0;\n }\n\n .status-badge {\n background: #f1f5f9;\n font-size: 11px;\n flex-shrink: 0;\n font-weight: 500;\n border-radius: 10px;\n padding: 2px 8px;\n }\n\n .flex-container {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n\n .task-description-container {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n"]);return rQ=function(){return n},n}let rP=tf.Ay.div(rQ());var rB=e(30322);let rV={todo:"待执行",running:"执行中",waiting:"等待中",retrying:"重试中",failed:"失败",complete:"成功"},rU={report:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*xaTaQ5rDghgAAAAALTAAAAgAeprcAQ/original",tool:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",blankaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",knowledge:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*P2sCQKUZoAUAAAAAOhAAAAgAeprcAQ/original",code:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",deriskcodeaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*pPozSIZ_0u4AAAAAO7AAAAgAeprcAQ/original",monitor:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*F4pAT4italwAAAAANhAAAAgAeprcAQ/original",agent:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",plan:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",planningaction:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",stage:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*ibaHSahFSCoAAAAAQBAAAAgAeprcAQ/original",llm:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*b_vFSpByHFcAAAAAQBAAAAgAeprcAQ/original",task:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",hidden:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original",default:"https://mdn.alipayobjects.com/huamei_5qayww/afts/img/A*WC8ARKan1WEAAAAAQBAAAAgAeprcAQ/original"},rK={tool:"工具调用",code:"代码执行",report:"报告生成",knowledge:"知识检索",monitor:"监控检查",agent:"智能体",plan:"计划规划",stage:"阶段任务",llm:"LLM推理",task:"任务执行",blankaction:"空白操作",deriskcodeaction:"代码执行",planningaction:"规划动作",hidden:"隐藏任务",default:"任务"},r$=n=>rK[String(n).toLowerCase()]||n,rJ={complete:(0,r.jsx)(nQ.A,{style:{color:"#52c41a",fontSize:12}}),todo:(0,r.jsx)(nQ.A,{style:{color:"#595959",fontSize:12}}),running:(0,r.jsx)(nP.A,{style:{color:"#1677ff",fontSize:12}}),waiting:(0,r.jsx)(e7.A,{style:{color:"#f5dc62",fontSize:12}}),retrying:(0,r.jsx)(c.A,{style:{color:"#1677ff",fontSize:12}}),failed:(0,r.jsx)(eL.A,{style:{color:"#ff4d4f",fontSize:12}})},rW=a.memo(n=>{var t,e,i,o,l,s,c,d,p,g;let{otherComponents:h,data:x}=n,[u,b]=(0,a.useState)(null==(t=x.expand)||t),[w,f]=(0,a.useState)(!1),[v,y]=(0,a.useState)(null!=(e=null==x?void 0:x.cost)?e:0),k=(0,a.useMemo)(()=>(null==x?void 0:x.uid)||(null==x?void 0:x.task_id)||"",[null==x?void 0:x.uid,null==x?void 0:x.task_id]),j=()=>{b(n=>!n)};(0,a.useEffect)(()=>{void 0!==x.expand&&b(!!x.expand)},[x.expand]),(0,a.useEffect)(()=>{let n=null;if((null==x?void 0:x.cost)===0&&(null==x?void 0:x.status)==="running")y(0),n=setInterval(()=>{y(n=>n+1)},1e3);else{var t;y(null!=(t=null==x?void 0:x.cost)?t:0)}return()=>{n&&clearInterval(n)}},[null==x?void 0:x.cost,null==x?void 0:x.status]),(0,a.useEffect)(()=>{let n=n=>{let t=(null==n?void 0:n.uid)===k;console.log("[VisAgentPlanCard] clickFolder received",{payloadUid:null==n?void 0:n.uid,myUid:k,matched:t}),t?f(!0):f(!1)};return te.ee.on(te.q.CLICK_FOLDER,n),()=>{te.ee.off(te.q.CLICK_FOLDER,n)}},[k]);let A=(null==x?void 0:x.markdown)||Array.isArray(null==x?void 0:x.children)&&x.children.length>0,_=(null==x?void 0:x.task_type)==="report",N=(null==x?void 0:x.item_type)==="plan",z=(null==x?void 0:x.item_type)==="task",S=(null==x?void 0:x.item_type)==="agent",C=(null==x?void 0:x.item_type)==="stage",F=null!=(i=null==x?void 0:x.layer_count)?i:0,R=(0,a.useMemo)(()=>u&&(null==x?void 0:x.markdown)?(0,r.jsx)("div",{className:"markdown-content-wrap ".concat(C?"markdown-content-wrap-stage":""),children:(0,r.jsx)(m.A,{components:{...iy,...null!=h?h:{}},...ij,children:String(x.markdown)})}):null,[u,null==x?void 0:x.markdown,C,h]);return(0,r.jsxs)(rP,{onClick:n=>{n.stopPropagation(),k&&(te.ee.emit(te.q.CLICK_FOLDER,{uid:k}),te.ee.emit(te.q.OPEN_PANEL))},className:"VisAgentPlanCardClass level-".concat(F," ").concat(w&&N?"selected":""),children:[(0,r.jsx)("div",{className:"header ".concat(N?"header-plan":""," ").concat(z?"header-task":""," ").concat(S?"header-agent":""," ").concat(C?"header-stage":""," ").concat(N||z||S||C?"":"header-default"),onClick:j,children:(0,r.jsxs)("div",{className:"content-wrapper",children:[(0,r.jsx)("div",{className:"header-row",children:(0,r.jsxs)("div",{className:"content-header",children:[!!(null==x?void 0:x.agent_name)&&!C&&(0,r.jsxs)("div",{className:"agent_name ".concat(S?"agent_name-leading":""),title:String(x.agent_name),children:[(N||S)&&(0,r.jsx)(t2.A,{size:S?28:20,src:x.agent_avatar,className:"avatar-shrink"}),(0,r.jsx)("div",{className:"agent_name-badge",children:(0,r.jsx)(E.A,{title:String(x.agent_name),children:String(x.agent_name)})})]}),(z||C)&&(C?(0,r.jsx)("div",{className:"task-icon stage-icon-wrapper",children:(0,r.jsx)(rB.A,{style:{color:"#1677ff",fontSize:14}})}):(0,r.jsx)(E.A,{title:r$(String(null==x?void 0:x.task_type)),children:(0,r.jsx)("img",{className:"task-icon",src:rU[String(String(null==x?void 0:x.task_type)).toLowerCase()]||rU.default,alt:r$(String(null==x?void 0:x.task_type))})})),!S&&(0,r.jsx)("div",{className:"title title-text title-level-".concat(F," ").concat(z?"title-task-with-markdown":""),children:(0,r.jsxs)("div",{className:"title-flex-container",children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",flex:"1 1 0%",minWidth:0,overflow:"hidden"},children:[z&&(null==x?void 0:x.description)!=null?(0,r.jsxs)("span",{className:"title-text-ellipsis task-title-description-line",title:"".concat(null!=(o=null==x?void 0:x.title)?o:"未命名任务"," ").concat(String(x.description)),children:[String(null!=(l=null==x?void 0:x.title)?l:"未命名任务")," ",String(x.description)]}):(0,r.jsx)("span",{className:"title-text-ellipsis",children:(0,r.jsx)(E.A,{title:String(null!=(s=null==x?void 0:x.title)?s:"未命名任务"),children:String(null!=(c=null==x?void 0:x.title)?c:"未命名任务")})}),A&&!_&&(0,r.jsx)(L.Ay,{type:"text",size:"small",icon:u?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{}),onClick:n=>{n.stopPropagation(),j()},className:"expand-btn ".concat(u?"expanded":"collapsed"," button-shrink")})]}),z||C?(0,r.jsx)("span",{className:"button-shrink",style:{marginLeft:8},children:rJ[null!=(d=null==x?void 0:x.status)?d:"running"]}):(0,r.jsx)("span",{className:"status status-badge",children:(n=>{var t,e;return null!=(e=null!=(t=rV[n])?t:n)?e:"成功"})(null!=(p=null==x?void 0:x.status)?p:"")})]})})]})}),(0,r.jsxs)("div",{className:"flex-container",children:[!!(null==x?void 0:x.description)&&F<2&&!S&&!z&&(0,r.jsx)("div",{className:"task-description ".concat(0===F?"task-description-level-0":"task-description-level-other"," task-description-container"),children:(0,r.jsx)(E.A,{title:String(x.description),children:String(x.description)})}),N&&(0,r.jsxs)("div",{className:"time-info",children:[(0,r.jsx)("div",{children:(n=>{if(!n)return"";try{let t=new Date(n);if(Number.isNaN(t.getTime()))return n;let e=String(t.getHours()).padStart(2,"0"),r=String(t.getMinutes()).padStart(2,"0"),a=String(t.getSeconds()).padStart(2,"0");return"".concat(e,":").concat(r,":").concat(a)}catch(t){return n}})(null!=(g=null==x?void 0:x.start_time)?g:"")}),(0,r.jsxs)("div",{className:"time-cost",children:[v," s"]})]})]})]})}),R]})});function rY(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 8px 12px;\n background: #fff;\n white-space: normal;\n"]);return rY=function(){return n},n}let rX=tf.Ay.div(rY()),rG=n=>{let{data:t}=n;return(0,r.jsx)(rX,{className:"VisContentCardClass",children:(0,r.jsx)(m.A,{components:ik,...ij,children:(null==t?void 0:t.markdown)||"-"})})};var rZ=e(47562);function r0(){let n=(0,tw._)(["\n width: 100%;\n margin-top: 8px;\n padding: 8px 0;\n\n .attachItem {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n cursor: pointer;\n padding: 2px 8px;\n display: inline-flex;\n align-items: center;\n\n .attachIcon {\n font-size: 14px;\n margin-right: 2px;\n }\n }\n"]);return r0=function(){return n},n}function r1(){let n=(0,tw._)(["\n background: rgb(27 98 255 / 6%);\n border: 1px solid rgb(27 98 255 / 20%);\n border-radius: 6px;\n padding: 4px 10px;\n display: inline-flex;\n align-items: center;\n transition: background-color 0.2s, border-color 0.2s;\n\n &:hover {\n background: rgb(27 98 255 / 10%);\n border-color: rgb(27 98 255 / 30%);\n }\n\n .attachIcon {\n font-size: 15px;\n color: #1b62ff;\n }\n\n .attachName {\n font-size: 13px;\n color: #262626;\n }\n\n .attachSize {\n font-size: 12px;\n }\n\n .attachAction {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border-radius: 4px;\n color: #8c8c8c;\n cursor: pointer;\n transition: color 0.2s, background-color 0.2s;\n margin-left: 4px;\n\n &:hover {\n color: #1b62ff;\n background: rgb(27 98 255 / 10%);\n }\n }\n"]);return r1=function(){return n},n}let r2=tf.Ay.div(r0()),r5=tf.Ay.div(r1());var r4=e(54657),r6=e(89123),r3=e(50407),r7=e(70302),r8=e(23399),r9=e(62190),an=e(11236);function at(n){return 0===n?"0 B":n<1024?"".concat(n," B"):n<1048576?"".concat((n/1024).toFixed(1)," KB"):n<0x40000000?"".concat((n/1048576).toFixed(1)," MB"):"".concat((n/0x40000000).toFixed(1)," GB")}function ae(n){return"unknown"!==function(n){if(!n)return"unknown";let t=n.toLowerCase();return t.startsWith("text/")?"text/markdown"===t||"text/x-markdown"===t?"text":"text/csv"===t?"csv":"text":"application/json"===t?"json":t.startsWith("image/")?"image":"application/pdf"===t?"pdf":"application/javascript"===t||"application/typescript"===t||"text/html"===t||"text/css"===t||"text/xml"===t?"code":"unknown"}(n)}function ar(n,t){let e=(null==t?void 0:t.toLowerCase())||"";if("application/pdf"===e)return r4.A;if(e.startsWith("image/"))return r6.A;if("text/markdown"===e||"text/x-markdown"===e)return r3.A;if("application/json"===e||"text/javascript"===e||"application/typescript"===e)return ei.A;if("text/csv"===e||"application/vnd.ms-excel"===e||e.includes("spreadsheet"))return r7.A;if("application/msword"===e||"application/vnd.openxmlformats-officedocument.wordprocessingml.document"===e)return r8.A;if("application/vnd.ms-powerpoint"===e||"application/vnd.openxmlformats-officedocument.presentationml.presentation"===e)return r9.A;if(e.startsWith("text/"))return eE.A;if("application/zip"===e||"application/x-rar-compressed"===e||e.includes("compressed"))return an.A;if(n){var r;switch(null==(r=n.split(".").pop())?void 0:r.toLowerCase()){case"pdf":return r4.A;case"jpg":case"jpeg":case"png":case"gif":case"bmp":case"webp":case"svg":return r6.A;case"md":case"markdown":return r3.A;case"js":case"ts":case"jsx":case"tsx":case"py":case"java":case"c":case"cpp":case"go":case"rs":case"json":case"yaml":case"yml":case"xml":case"html":case"css":case"sql":default:break;case"csv":case"xls":case"xlsx":return r7.A;case"doc":case"docx":return r8.A;case"ppt":case"pptx":return r9.A;case"zip":case"rar":case"7z":case"tar":case"gz":return an.A;case"txt":case"log":return eE.A}}return ei.A}let{Text:aa}=nd.A,ai=n=>{var t;let{data:e}=n,a=Array.isArray(e)?e:null!=(t=e&&e.items)?t:[];return(null==a?void 0:a.length)?(0,r.jsx)(r2,{children:(0,r.jsxs)(F.A,{wrap:!0,style:{width:"100%"},children:[(0,r.jsx)("span",{children:"附件:"}),a.map((n,t)=>{var e,a,i,o,l;let s=null!=(i=null!=(a=null!=(e=n.file_name)?e:n.name)?a:n.ref_name)?i:"附件 ".concat(t+1),c=null!=(l=null!=(o=null==n?void 0:n.url)?o:null==n?void 0:n.link)?l:null==n?void 0:n.ref_link,d=ar(s,n.mime_type),p=ae(n.mime_type),m=n.file_size;return void 0!==m||n.download_url||n.preview_url?(0,r.jsx)(r5,{children:(0,r.jsxs)(F.A,{size:4,children:[(0,r.jsx)(d,{className:"attachIcon"}),(0,r.jsx)(aa,{className:"attachName",children:s}),m&&(0,r.jsx)(aa,{type:"secondary",className:"attachSize",children:at(m)}),p&&(n.preview_url||n.oss_url||c)&&(0,r.jsx)(E.A,{title:"预览",children:(0,r.jsx)("span",{className:"attachAction",onClick:()=>(n=>{var t,e,r,a;let i=null!=(a=null!=(r=null!=(e=null!=(t=n.preview_url)?t:n.oss_url)?e:null==n?void 0:n.url)?r:null==n?void 0:n.link)?a:null==n?void 0:n.ref_link;i&&window.open(i,"_blank")})(n),children:(0,r.jsx)(rZ.A,{})})}),(0,r.jsx)(E.A,{title:"下载",children:(0,r.jsx)("span",{className:"attachAction",onClick:()=>(n=>{var t,e,r,a;let i=null!=(a=null!=(r=null!=(e=null!=(t=n.download_url)?t:n.oss_url)?e:null==n?void 0:n.url)?r:null==n?void 0:n.link)?a:null==n?void 0:n.ref_link;i&&window.open(i,"_blank")})(n),children:(0,r.jsx)(_.A,{})})})]})},null!=c?c:t):(0,r.jsx)(h.A,{className:"attachItem",onClick:()=>c&&window.open(c),children:(0,r.jsxs)(F.A,{size:4,children:[(0,r.jsx)(d,{className:"attachIcon"}),s]})},null!=c?c:t)})]})}):null};var ao=e(25702);function al(){let n=(0,tw._)(["\n width: 100%;\n margin: 8px 0;\n background: #fafafa;\n border-radius: 8px;\n overflow: hidden;\n\n .attachListHeader {\n padding: 12px 16px;\n background: rgba(27, 98, 255, 0.03);\n border-bottom: 1px solid rgba(27, 98, 255, 0.1);\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n .folderIcon {\n font-size: 18px;\n color: #1b62ff;\n }\n\n .title {\n font-size: 14px;\n }\n }\n\n .description {\n display: block;\n padding: 8px 16px;\n font-size: 12px;\n line-height: 1.5;\n }\n\n .attachList {\n padding: 0;\n }\n"]);return al=function(){return n},n}function as(){let n=(0,tw._)(["\n padding: 10px 16px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.04);\n display: flex;\n justify-content: space-between;\n align-items: center;\n transition: background-color 0.2s;\n\n &:hover {\n background: rgba(27, 98, 255, 0.02);\n }\n\n &:last-child {\n border-bottom: none;\n }\n"]);return as=function(){return n},n}function ac(){let n=(0,tw._)(["\n flex: 1;\n min-width: 0;\n\n .fileIcon {\n font-size: 20px;\n color: #1890ff;\n flex-shrink: 0;\n }\n\n .fileInfo {\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n }\n\n .fileName {\n font-size: 13px;\n font-weight: 500;\n color: #262626;\n }\n\n .fileMeta {\n .fileSize {\n font-size: 12px;\n }\n\n .fileTypeTag {\n background: rgb(27 98 255 / 10%);\n border-radius: 4px;\n color: #1b62ff;\n font-size: 11px;\n padding: 0 4px;\n height: 18px;\n line-height: 18px;\n }\n }\n\n .fileDesc {\n font-size: 12px;\n line-height: 1.4;\n max-width: 400px;\n }\n"]);return ac=function(){return n},n}function ad(){let n=(0,tw._)(["\n flex-shrink: 0;\n padding-left: 12px;\n\n .ant-btn {\n color: #8c8c8c;\n\n &:hover {\n color: #1b62ff;\n }\n }\n"]);return ad=function(){return n},n}let ap=tf.Ay.div(al()),am=tf.Ay.div(as()),ag=tf.Ay.div(ac()),ah=tf.Ay.div(ad()),{Text:ax}=nd.A,au=n=>{var t,e;let{data:a}=n,{title:i="交付文件",description:o,files:l=[],total_count:s,show_batch_download:c=!0}=a;if(!(null==l?void 0:l.length))return null;let d=ar((null==(t=l[0])?void 0:t.file_name)||"",null==(e=l[0])?void 0:e.mime_type);return(0,r.jsxs)(ap,{children:[(0,r.jsxs)("div",{className:"attachListHeader",children:[(0,r.jsxs)(F.A,{children:[(0,r.jsx)(d,{className:"folderIcon"}),(0,r.jsx)(ax,{strong:!0,className:"title",children:i}),void 0!==s&&(0,r.jsxs)(ax,{type:"secondary",children:["共 ",s," 个文件"]})]}),c&&(0,r.jsx)(L.Ay,{type:"link",icon:(0,r.jsx)(_.A,{}),size:"small",onClick:()=>{console.log("批量下载",l)},children:"全部下载"})]}),o&&(0,r.jsx)(ax,{type:"secondary",className:"description",children:o}),(0,r.jsx)(ao.A,{className:"attachList",dataSource:l,renderItem:n=>{let t=ar(n.file_name,n.mime_type);return(0,r.jsxs)(am,{children:[(0,r.jsx)(ag,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(t,{className:"fileIcon"}),(0,r.jsxs)("div",{className:"fileInfo",children:[(0,r.jsx)(ax,{className:"fileName",children:n.file_name}),(0,r.jsxs)(F.A,{size:"small",className:"fileMeta",children:[n.file_size&&n.file_size>0&&(0,r.jsx)(ax,{type:"secondary",className:"fileSize",children:at(n.file_size)}),n.task_id&&(0,r.jsx)(h.A,{className:"fileTypeTag",children:n.file_type||"文件"})]}),n.description&&(0,r.jsx)(ax,{type:"secondary",className:"fileDesc",ellipsis:{tooltip:n.description},children:n.description})]})]})}),(0,r.jsx)(ah,{children:(0,r.jsxs)(F.A,{size:"small",children:[ae(n.mime_type)&&(n.preview_url||n.oss_url)&&(0,r.jsx)(E.A,{title:"预览",children:(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(rZ.A,{}),size:"small",onClick:()=>(n=>{let t=n.preview_url||n.oss_url;t&&window.open(t,"_blank")})(n)})}),(0,r.jsx)(E.A,{title:"下载",children:(0,r.jsx)(L.Ay,{type:"text",icon:(0,r.jsx)(_.A,{}),size:"small",onClick:()=>(n=>{let t=n.download_url||n.oss_url;t&&window.open(t,"_blank")})(n)})})]})})]},n.file_id)}})]})},ab=a.memo(n=>{let{src:t,width:e="32px",className:i}=n,[o,l]=(0,a.useState)(t);return(0,r.jsx)("div",{style:{width:e,height:e},className:i,children:o&&(0,r.jsx)("img",{src:t||"/agents/default_avatar.png",style:{width:e,height:e,borderRadius:"50%",objectFit:"cover"}})})});function aw(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 8px 0;\n"]);return aw=function(){return n},n}let af=tf.Ay.div(aw()),av=n=>{let{data:t}=n;return(0,r.jsx)(j.V.Provider,{value:{visMsgData:t},children:(0,r.jsx)(af,{children:(0,r.jsx)(rN.A,{content:null==t?void 0:t.markdown,avatar:(0,r.jsx)(ab,{src:null==t?void 0:t.avatar}),header:(null==t?void 0:t.name)||void 0,messageRender:()=>{var n;return(0,r.jsx)(m.A,{components:ik,...ij,children:null==t||null==(n=t.markdown)?void 0:n.replaceAll("~","~")})},style:{width:"100%"},styles:{content:{background:"transparent",padding:0,borderRadius:"0 16px 16px 16px",minWidth:100,whiteSpace:"pre-wrap",display:"inline-flex",flexDirection:"column",justifyContent:"space-between",alignItems:"start",width:"100%"}}})})})};function ay(){let n=(0,tw._)(["\n margin: 6px 0;\n margin-top: 0;\n .planItem {\n width: 100%;\n height: 100%;\n background: #000a1a0a;\n border-radius: 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 4px 0;\n padding: 0 8px;\n }\n"]);return ay=function(){return n},n}let ak=tf.Ay.div(ay()),aj=n=>{var t;let{data:e}=n;return(0,r.jsxs)(ak,{className:"planCard",children:[null==e||null==(t=e.tasks)?void 0:t.map((n,t)=>(0,r.jsx)("div",{className:"planItem",children:(0,r.jsxs)(F.A,{children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{children:[" ",(null==n?void 0:n.task_id)||"-"," "]}),(0,r.jsxs)("span",{children:[" ",(null==n?void 0:n.task_name)||"-"," "]})]}),(0,r.jsxs)(F.A,{style:{cursor:"pointer",background:"#1b62ff1a",borderRadius:"6px",padding:"2px 8px",margin:"8px 0"},onClick:()=>window.open(null==n?void 0:n.task_link),children:[(0,r.jsx)("span",{children:"@"}),(null==n?void 0:n.agent_link)&&(0,r.jsx)(ab,{src:null==n?void 0:n.agent_link}),(0,r.jsx)("span",{children:(null==n?void 0:n.agent_name)||"-"})]})]})},t)),(null==e?void 0:e.markdown)&&(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==e?void 0:e.markdown)||"-"})]})};function aA(){let n=(0,tw._)(["\n width: 100%;\n padding: 12px 16px;\n background: transparent;\n border-radius: 10px;\n"]);return aA=function(){return n},n}let a_=tf.Ay.div(aA()),aN=n=>{var t,e;let{data:a}=n,i=null!=(e=null!=(t=null==a?void 0:a.markdown)?t:null==a?void 0:a.content)?e:"",o={components:ik,...ij};return(0,r.jsx)(a_,{children:i&&(0,r.jsx)(m.A,{...o,children:iv(i)})})};var az=e(42749),aS=e(65253),aC=e(66786);function aF(){let n=(0,tw._)(["\n padding: 8px;\n background: transparent;\n"]);return aF=function(){return n},n}function aE(){let n=(0,tw._)(["\n width: 100%;\n background: #ffffff;\n border-radius: 8px;\n padding: 8px 12px;\n margin: 0 0 0 4px;\n border: 1px solid #e2e8f0;\n transition: all 0.15s ease;\n\n &:hover {\n background: #f8fafc;\n border-color: #cbd5e1;\n }\n"]);return aE=function(){return n},n}function aL(){let n=(0,tw._)(["\n height: 22px;\n line-height: 22px;\n font-size: 13px;\n font-weight: 600;\n color: #1e293b;\n\n span {\n color: #3b82f6;\n margin-left: 6px;\n font-weight: 500;\n }\n"]);return aL=function(){return n},n}function aR(){let n=(0,tw._)(["\n font-size: 12px;\n color: #64748b;\n margin-top: 2px;\n"]);return aR=function(){return n},n}let aM=tf.Ay.div(aF()),aI=tf.Ay.div(aE()),aO=tf.Ay.div(aL()),aq=tf.Ay.div(aR()),aT=n=>{var t;let{data:e}=n;return(0,r.jsx)(aM,{children:(0,r.jsx)(aC.A,{items:null==(t=e.items)?void 0:t.map(n=>({dot:(0,r.jsx)(ab,{src:n.avatar||"/agents/robot.png"}),children:(0,r.jsxs)(t1.A,{vertical:!0,gap:16,children:[(0,r.jsx)(t1.A,{children:(0,r.jsxs)(aO,{children:[n.title,(0,r.jsxs)("span",{children:["@",(null==n?void 0:n.agent)||"-"]})]})}),(0,r.jsx)(aq,{children:n.description}),(0,r.jsx)(aC.A,{items:(n=>{var t;return null==(t=n.items)?void 0:t.map((n,t)=>({dot:(0,r.jsx)(F.A,{children:(0,r.jsxs)("div",{children:["running"===n.status&&(0,r.jsx)(nP.A,{}),"complete"===n.status&&(0,r.jsx)(az.A,{twoToneColor:"#52c41a"}),"todo"===n.status&&(0,r.jsx)(aS.A,{}),"failed"===n.status&&(0,r.jsx)(nD.A,{className:"text-red-500"})]})}),children:(0,r.jsx)(aI,{children:(0,r.jsxs)(F.A,{direction:"vertical",style:{width:"100%"},children:[(0,r.jsxs)("span",{children:[" ",n.title||"-"]}),(0,r.jsxs)(F.A,{children:[(0,r.jsx)(ab,{src:(null==n?void 0:n.avatar)||(n=>{let t={knowledge_pack:"/icons/package.png",knowledge:"/icons/package.png",tool:"/icons/tool.png",code:"/icons/code.png",report:"/icons/report.png",monitor:"/icons/monitor.png",agent:"/icons/agent.png",plan:"/icons/plan.png",llm:"/icons/llm.png",stage:"/icons/stage.png",task:"/icons/task.png",default:"/icons/tool_default.svg"};return t[String(n).toLowerCase()]||t.default})(null==n?void 0:n.task_type),width:18}),(0,r.jsxs)("span",{children:[" ",n.agent||"-"," "]})]})]})},"".concat(t,"-").concat(n.task_id))}))})(n)})]})}))})})};var aH=e(82690),aD=e(19696),aQ=e(48973),aP=e.n(aQ);function aB(){let n=(0,tw._)(["\n display: flex;\n flex-direction: column;\n border-radius: 12px;\n background-color: #ffffff73;\n position: relative;\n .ant-tabs-nav {\n margin: 0;\n background-color: #F1F5F9;\n border-radius: 4px;\n .ant-tabs-tab {\n border: 1px solid #F1F5F9;\n }\n }\n .ant-tabs {\n height: 100%;\n }\n .ant-tabs-content {\n height: 100%;\n }\n .ant-tabs-tabpane {\n height: 100%;\n }\n"]);return aB=function(){return n},n}function aV(){let n=(0,tw._)(["\n width: 100%;\n overflow-x: auto;\n \n &::-webkit-scrollbar {\n display: none;\n }\n\n /* -webkit-mask-image: linear-gradient(to right, \n rgba(0, 0, 0, 0), \n rgba(0, 0, 0, 0) 150px, \n rgba(0, 0, 0, 1) 170px, \n rgba(0, 0, 0, 1) 80%, \n rgba(0, 0, 0, 0));\n mask-image: linear-gradient(to right,\n rgba(0, 0, 0, 0),\n rgba(0, 0, 0, 0) 150px, \n rgba(0, 0, 0, 1) 170px,\n rgba(0, 0, 0, 1) 80%,\n rgba(0, 0, 0, 0)); */\n -webkit-mask-image: linear-gradient(to right, \n rgba(0, 0, 0, 1), \n rgba(0, 0, 0, 1) 90%, \n rgba(0, 0, 0, 0) 95%,\n rgba(0, 0, 0, 0)) ;\n mask-image: linear-gradient(to right,\n rgba(0, 0, 0, 1),\n rgba(0, 0, 0, 1) 90%,\n rgba(0, 0, 0, 0) 95%,\n rgba(0, 0, 0, 0)) ;\n"]);return aV=function(){return n},n}function aU(){let n=(0,tw._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n min-width: max-content;\n // margin-left: 150px;\n"]);return aU=function(){return n},n}function aK(){let n=(0,tw._)(["\n color: #000a1ae3;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n\n img {\n display: inline-flex;\n width: 25px;\n max-width: 25px;\n height: 25px;\n }\n"]);return aK=function(){return n},n}function a$(){let n=(0,tw._)(["\n max-width: 200px;\n height: 36px;\n font-size: 14px;\n line-height: 22px;\n vertical-align: middle;\n font-weight: 500;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n cursor: pointer;\n display: flex;\n justify-content: start;\n align-items: center;\n\n background: #ffffff00;\n border: 1px solid #000a1a29;\n border-radius: 8px;\n padding: 8px;\n margin: 16px 8px;\n"]);return a$=function(){return n},n}function aJ(){let n=(0,tw._)(["\n display: inline-block;\n width: 25px;\n height: 25px;\n border-radius: 12px;\n padding: 3px;\n margin-right: 4px;\n margin-bottom: 2px;\n\n img {\n display: inline-flex;\n width: 25px;\n height: 25px;\n }\n"]);return aJ=function(){return n},n}function aW(){let n=(0,tw._)(["\n width: 100%;\n flex: 1;\n /* padding: 12px; */\n overflow-y: auto;\n\n .VisContentCardClass {\n background-color: transparent;\n padding: 0;\n\n .VisStepCardWrap {\n background-color: transparent;\n }\n }\n .thinkLinkBtn {\n display: none;\n }\n"]);return aW=function(){return n},n}function aY(){let n=(0,tw._)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 150px;\n height: 64px;\n font-size: 18px;\n line-height: 64px;\n padding-left: 16px;\n font-size: 18px;\n\n img {\n display: inline;\n margin-right: 10px;\n }\n"]);return aY=function(){return n},n}let aX=tf.Ay.div(aB()),aG=tf.Ay.div(aV()),aZ=tf.Ay.div(aU()),a0=tf.Ay.div(aK()),a1=tf.Ay.div(a$());tf.Ay.div(aJ());let a2=tf.Ay.div(aW());tf.Ay.div(aY());let a5=n=>{var t,e,i,o;let{otherComponents:l,data:s}=n,c=s.items,d=(0,a.useMemo)(()=>Array.isArray(s.running_agent)?s.running_agent.join(","):s.running_agent,[s.running_agent]),p=(0,a.useMemo)(()=>Array.isArray(s.running_agent)?s.running_agent[0]||aP()(c,[0,"agent_name"],""):s.running_agent||aP()(c,[0,"agent_name"],""),[d,c]),[m,g]=(0,a.useState)(p),h=(0,a.useRef)(null),x=(0,a.useMemo)(()=>rr()(c,"agent_name"),[c]),b=s.items.map((n,t)=>({key:"".concat(t,"_").concat(n.agent_name),label:(0,r.jsxs)("a",{onClick:()=>{n.agent_name&&g(n.agent_name)},children:[n.agent_name===s.running_agent?(0,r.jsx)("img",{src:"/icons/loading.png",width:14,style:{display:"inline",marginRight:"4px"}}):(0,r.jsx)("img",{src:n.avatar||"/agents/agent1.jpg",width:14,style:{display:"inline",marginRight:"4px"}}),n.agent_name]})}));(0,a.useEffect)(()=>{g(p),setTimeout(()=>{let n=document.getElementById("agentTab_".concat(p));null==n||n.scrollIntoView({behavior:"smooth"})},200)},[d]),(0,a.useEffect)(()=>{let n=h.current;null==n||n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[m]),(0,a.useEffect)(()=>{let n=h.current;n&&n.scrollHeight-n.scrollTop-n.clientHeight<=150&&n.scrollTo({top:n.scrollHeight,behavior:"smooth"})},[c]);let v=null==(e=document.querySelector("#running-window"))||null==(t=e.getBoundingClientRect())?void 0:t.height,y=(0,a.useMemo)(()=>{let n=null==x?void 0:x[m].items;return Array.isArray(n)&&n.length>0},[x,m]),[k,j]=(0,a.useState)(0),A=null==x||null==(i=x[m])?void 0:i.items,_=Array.isArray(A)?A.length:0;return(0,a.useEffect)(()=>{_>0&&j(_-1)},[_]),(0,r.jsxs)(aX,{style:{height:"".concat(v,"px")},children:[(0,r.jsx)(aG,{children:(0,r.jsx)(aZ,{children:s.items.map(n=>(0,r.jsx)(a0,{id:"agentTab_".concat(n.agent_name),onClick:()=>{n.agent_name&&g(n.agent_name)},children:(0,r.jsxs)(a1,{className:"tabTitle",style:{border:m===n.agent_name?"1px solid #1b62ff":"1px solid #000a1a29",backgroundColor:m===n.agent_name?"#1b62ff10":"transparent"},children:[n.agent_name===s.running_agent?(0,r.jsx)(ab,{src:"/icons/loading.png",width:25}):(0,r.jsx)(ab,{src:n.avatar||"/agents/default_avatar.png",width:25}),(0,r.jsx)("span",{style:{marginLeft:"8px"},children:n.agent_name})]})},n.agent_name))})}),(0,r.jsx)(a1,{style:{cursor:"pointer",position:"absolute",top:0,right:0},children:(0,r.jsx)(aD.A,{menu:{items:b},children:(0,r.jsx)(aH.A,{})})}),(0,r.jsx)(a2,{style:v?{height:"100%"}:{},className:"AgentContent",ref:h,children:y?(0,r.jsx)(n=>{var t,e,a,i;let{runningAgents:o,currentAgent:l,selectedItemIndex:s,setSelectedItemIndex:c}=n;return(0,r.jsxs)("div",{className:"flex h-full",children:[(0,r.jsx)("div",{className:"w-[150px] border-r border-gray-200 overflow-hidden [&_.ant-tabs-tab]:my-0",children:(0,r.jsx)(u.A,{tabPosition:"left",activeKey:String(s),defaultActiveKey:String(s),onChange:n=>{c(parseInt(n))},items:Array.isArray(null==o||null==(t=o[l])?void 0:t.items)?o[l].items.map((n,t)=>({key:t.toString(),label:(0,r.jsx)(E.A,{title:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Title:"})," ",n.title||"Task ".concat(t+1)]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Topic:"})," ",n.topic||n.description||"No description"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Status:"})," ",n.status||"Unknown"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Start Time:"})," ",n.start_time||"Not set"]})]}),placement:"right",styles:{root:{maxWidth:"400px"}},children:(0,r.jsxs)("div",{className:"w-[100px] text-left text-xs overflow-y-auto max-h-[300px] py-1",children:[(0,r.jsx)("div",{className:"font-bold mb-1",children:n.title||"Task ".concat(t+1)}),(0,r.jsx)("div",{className:"text-gray-600 text-[11px] overflow-hidden text-ellipsis whitespace-nowrap",children:n.topic||n.description||""}),(0,r.jsxs)("div",{className:"text-gray-400 text-[10px] mt-0.5",children:[n.status||""," • ",n.start_time||""]})]})}),children:null})):[],style:{overflow:"hidden",background:"#F1F5F9 !important"}})}),(0,r.jsx)("div",{className:"flex-1 px-1 overflow-auto",children:(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==(i=o[l])||null==(a=i.items)||null==(e=a[s])?void 0:e.markdown)||"-"})})]})},{runningAgents:x,currentAgent:m,selectedItemIndex:k,setSelectedItemIndex:j}):(0,r.jsx)(tu.A,{components:ik,rehypePlugins:[w.A],remarkPlugins:[f.A],children:(null==x||null==(o=x[m])?void 0:o.markdown)||"-"})})]})};function a4(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n min-width: 100px;\n white-space: normal;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 0px 0;\n border: 2px solid #f5f7fa !important;\n background-color: #ffffff;\n overflow-x: auto;\n border-radius: 12px;\n\n .ant-divider-horizontal {\n margin: 0;\n }\n"]);return a4=function(){return n},n}function a6(){let n=(0,tw._)(["\n width: 100%;\n line-height: 32px;\n font-size: 12px;\n padding: 4px 12px;\n background-color: #f5f7fa;\n"]);return a6=function(){return n},n}let a3=tf.Ay.div(a4()),a7=tf.Ay.div(a6()),a8=(0,a.createContext)(null),a9=n=>{var t;let{data:e}=n;return(0,r.jsx)(a8.Provider,{value:{visMsgData:e},children:(0,r.jsxs)(a3,{children:[(0,r.jsx)(a7,{children:(0,r.jsxs)(F.A,{children:[(0,r.jsx)(ab,{src:null==e?void 0:e.avatar,width:26}),null==e?void 0:e.name]})}),(0,r.jsx)("div",{style:{padding:"8px 12px"},children:(0,r.jsx)(m.A,{className:"whitespace-normal",components:ik,...ij,children:null==e||null==(t=e.markdown)?void 0:t.replaceAll("~","~")})})]})})};var it=e(39740),ie=e(49929);function ir(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 4px 0;\n"]);return ir=function(){return n},n}let ia=tf.Ay.div(ir()),ii=n=>{var t;let{data:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},[s,c]=a.useState(!1),d=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):s?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(ia,{className:"VisStepCardWrap",children:(0,r.jsx)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",flexDirection:"column",cursor:"pointer"},onClick:()=>{c(n=>!n)},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:d(null==e?void 0:e.status,"title")}),(0,r.jsx)(ab,{src:(null==e||null==(t=e.chatItem)?void 0:t.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==e?void 0:e.tool_name)||"--"})]}),d("FINISHED","tool")]}),s&&(0,r.jsxs)("div",{style:{marginTop:12,width:"100%"},children:[(0,r.jsx)("div",{style:{marginBottom:8,color:"#888"},children:"请求参数:"}),(0,r.jsx)("div",{style:{background:"#f6f8fa",borderRadius:8,padding:8},children:(0,r.jsx)("pre",{style:{margin:0,fontSize:13},children:null==e?void 0:e.tool_args})}),(0,r.jsx)("div",{style:{margin:"12px 0 8px",color:"#888"},children:"返回结果:"}),(0,r.jsx)("div",{style:{background:"#f6f8fa",borderRadius:8,padding:8},children:(0,r.jsx)(rz.oz,{children:(null==e?void 0:e.tool_result)||"无结果"})})]})]})})})};function io(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n padding: 4px 0;\n"]);return io=function(){return n},n}let il=tf.Ay.div(io()),is=n=>{var t;let{data:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},s=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):(0,r.jsx)(ts.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(il,{className:"VisStepCardWrap",children:(0,r.jsxs)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:s(null==e?void 0:e.status,"title")}),(0,r.jsxs)(F.A,{direction:"vertical",children:[(0,r.jsx)("div",{children:rF(null==e?void 0:e.tool_name)}),(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>{l?l(e):i&&i({requestUrl:null==e?void 0:e.tool_execute_link,name:(null==e?void 0:e.tool_name)||"tool",avatarUrl:(null==o?void 0:o.avatar)||void 0})},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)(ab,{src:(null==e||null==(t=e.chatItem)?void 0:t.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==e?void 0:e.tool_name)||"--"})]}),s("FINISHED","tool")]})]})]})})};function ic(){let n=(0,tw._)(["\n width: 100%;\n height: 100%;\n border-radius: 0px 16px 16px;\n min-width: 100px;\n white-space: pre-wrap;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: start;\n margin: 12px 0;\n"]);return ic=function(){return n},n}let id=tf.Ay.div(ic()),ip=n=>{var t;let{propsData:e}=n,{setStepParams:i}=(0,a.useContext)(it.UK)||{},{visMsgData:o}=(0,a.useContext)(it.V)||{},{panelAction:l}=(0,a.useContext)(it.cE)||{},s=(n,t)=>{switch(n){case"FINISHED":return"title"===t?(0,r.jsx)(ie.A,{style:{color:"#52c41a"}}):(0,r.jsx)(ts.A,{});case"FAILED":return(0,r.jsx)(nD.A,{style:{color:"red"}});default:return"title"===t?(0,r.jsx)("img",{src:"/icons/loading.png",style:{width:"20px",height:"20px"}}):(0,r.jsx)("img",{src:"/icons/loading1.gif",style:{width:"20px"}})}};return(0,r.jsx)(id,{className:"stepList",children:null==e||null==(t=e.steps)?void 0:t.map((n,t)=>{var e;return(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"start"},children:(0,r.jsxs)("div",{style:{display:"inline-flex",justifyContent:"space-between",alignItems:"start",padding:"12px",background:"#fff",borderRadius:"16px"},children:[(0,r.jsx)("div",{style:{marginRight:"12px"},children:s(null==n?void 0:n.status,"title")}),(0,r.jsxs)(F.A,{direction:"vertical",children:[(0,r.jsx)("div",{children:rF(null==n?void 0:n.tool_name)}),(0,r.jsxs)("div",{style:{background:"#000a1a0a",borderRadius:"16px",padding:"6px 12px",width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>{l?l(n):i&&i({requestUrl:null==n?void 0:n.tool_execute_link,name:(null==n?void 0:n.tool_name)||"tool",avatarUrl:(null==o?void 0:o.avatar)||void 0})},children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"start",alignItems:"start"},children:[(0,r.jsx)(ab,{src:(null==n||null==(e=n.chatItem)?void 0:e.avatarUrl)||"/agents/chat_avatar_default.png",width:20}),(0,r.jsx)("div",{style:{flex:1,margin:"0 12px"},children:(null==n?void 0:n.tool_name)||"--"})]}),s("FINISHED","tool")]})]})]})},t)})})};function im(){let n=(0,tw._)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 8px;\n background-color: #fff;\n border: 1px solid #e8e8e8;\n overflow: hidden;\n margin: 4px 0;\n\n .todolist-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px 12px;\n border-bottom: 1px solid #f0f0f0;\n\n .header-left {\n display: flex;\n align-items: center;\n gap: 8px;\n\n .header-icon {\n font-size: 14px;\n color: #8c8c8c;\n }\n\n .header-title {\n font-size: 14px;\n font-weight: 500;\n color: #262626;\n }\n\n .header-progress {\n font-size: 13px;\n color: #8c8c8c;\n }\n }\n\n .header-expand {\n font-size: 12px;\n color: #bfbfbf;\n cursor: pointer;\n transform: rotate(180deg);\n \n &:hover {\n color: #8c8c8c;\n }\n }\n }\n\n .todolist-items {\n display: flex;\n flex-direction: column;\n padding: 8px 0;\n\n .todo-item {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n padding: 8px 12px;\n cursor: default;\n transition: background-color 0.15s ease;\n\n &:hover {\n background-color: #fafafa;\n }\n\n .todo-checkbox {\n flex-shrink: 0;\n width: 18px;\n height: 18px;\n border: 1.5px solid #d9d9d9;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 1px;\n transition: all 0.2s ease;\n\n &.checked {\n background-color: #52c41a;\n border-color: #52c41a;\n\n .checkmark {\n color: #fff;\n font-size: 12px;\n font-weight: bold;\n }\n }\n }\n\n .todo-title {\n flex: 1;\n font-size: 14px;\n color: #262626;\n line-height: 20px;\n word-break: break-word;\n\n &.completed {\n color: #8c8c8c;\n text-decoration: line-through;\n }\n }\n }\n\n .todolist-empty {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 16px 12px;\n color: #bfbfbf;\n font-size: 13px;\n }\n }\n"]);return im=function(){return n},n}let ig=tf.Ay.div(im());var ih=e(73086);let ix=n=>{let{data:t}=n,e=t.items||[],[i,o]=(0,a.useState)(!0),l=(0,a.useMemo)(()=>0===e.length?{completed:0,total:0}:{completed:e.filter(n=>"completed"===n.status).length,total:e.length},[e]);return(0,r.jsxs)(ig,{children:[(0,r.jsxs)("div",{className:"todolist-header",onClick:()=>{o(!i)},style:{cursor:"pointer"},children:[(0,r.jsxs)("div",{className:"header-left",children:[(0,r.jsx)(ih.A,{className:"header-icon"}),(0,r.jsx)("span",{className:"header-title",children:"待办"}),(0,r.jsxs)("span",{className:"header-progress",children:[l.completed,"/",l.total]})]}),(0,r.jsx)("div",{className:"header-expand",children:i?(0,r.jsx)(tO.A,{}):(0,r.jsx)(tl.A,{})})]}),i&&(0,r.jsxs)("div",{className:"todolist-items",children:[e.map(n=>(0,r.jsxs)("div",{className:"todo-item ".concat("completed"===n.status?"completed":""),children:[(0,r.jsx)("div",{className:"todo-checkbox ".concat("completed"===n.status?"checked":""),children:"completed"===n.status&&(0,r.jsx)("span",{className:"checkmark",children:"✓"})}),(0,r.jsx)("span",{className:"todo-title ".concat("completed"===n.status?"completed":""),children:n.title})]},n.id)),0===e.length&&(0,r.jsx)("div",{className:"todolist-empty",children:(0,r.jsx)("span",{children:"暂无任务"})})]})]})},iu=n=>{let{content:t,error:e,componentName:i}=n;return(0,a.useEffect)(()=>{(e||t)&&(console.groupCollapsed("[VisParseError] ".concat(i||"Unknown Component")),console.error("Error:",e),console.log("Original Content:",t),console.groupEnd())},[t,e,i]),(0,r.jsx)("div",{style:{padding:"16px 0",width:"100%",display:"flex",justifyContent:"center"},children:(0,r.jsx)(R.A,{description:"暂无数据",image:R.A.PRESENTED_IMAGE_SIMPLE})})},ib={"nex-running-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-running-window"})},children:(0,r.jsx)(a5,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-running-window"})}},"derisk-running-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"derisk-running-window"})},children:(0,r.jsx)(a5,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"derisk-running-window"})}},"nex-planning-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-planning-window"})},children:(0,r.jsx)(aT,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-planning-window"})}},"drsk-content":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-content"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-content"})}},"derisk-llm-space":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"derisk-llm-space"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"derisk-llm-space"})}},"drsk-thinking":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-thinking"})},children:(0,r.jsx)(rD,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-thinking"})}},"nex-report":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-report"})},children:(0,r.jsx)(ef,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-report"})}},"nex-msg":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-msg"})},children:(0,r.jsx)(a9,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-msg"})}},"drsk-plan":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-plan"})},children:(0,r.jsx)(aj,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-plan"})}},"nex-steps":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-steps"})},children:(0,r.jsx)(ip,{propsData:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-steps"})}},"nex-step":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"nex-step"})},children:(0,r.jsx)(ii,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"nex-step"})}},"drsk-msg":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(av,{data:n})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-msg"})}},"drsk-step":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-step"})},children:(0,r.jsx)(is,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-step"})}},"d-thinking":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-thinking"})},children:(0,r.jsx)(rM,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-thinking"})}},"drsk-messages":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-messages"})},children:(0,r.jsx)(rG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-messages"})}},"drsk-steps":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-steps"})},children:(0,r.jsx)(ip,{propsData:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-steps"})}},"d-agent-plan":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-agent-plan"})},children:(0,r.jsx)(rW,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-agent-plan"})}},"d-planning-space":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-planning-space"})},children:(0,r.jsx)(aN,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-planning-space"})}},"d-attach":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-attach"})},children:(0,r.jsx)(ai,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-attach"})}},"d-attach-list":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-attach-list"})},children:(0,r.jsx)(au,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-attach-list"})}},"drsk-refs":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-refs"})},children:(0,r.jsx)(rq,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-refs"})}},"drsk-confirm":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-confirm"})},children:(0,r.jsx)(tz,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-confirm"})}},"drsk-interact":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-interact"})},children:(0,r.jsx)(tG,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-interact"})}},"vis-code":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"vis-code"})},children:(0,r.jsx)(td,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"vis-code"})}},"knowledge-space-window":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"knowledge-space-window"})},children:(0,r.jsx)(eF,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"knowledge-space-window"})}},"knowledge-planning-window":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"drsk-outline":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-outline"})},children:(0,r.jsx)(tP,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-outline"})}},"drsk-ls":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-ls"})},children:(0,r.jsx)(ee,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-ls"})}},"drsk-read-yuque":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-read-yuque"})},children:(0,r.jsx)(eh,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-read-yuque"})}},"drsk-doc":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-doc"})},children:(0,r.jsx)(tI,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-doc"})}},"vis-research-bubble":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"drsk-doc-report":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"drsk-doc-report"})},children:(0,r.jsx)(tX,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"drsk-doc-report"})}},"d-agent-folder":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-agent-folder"})},children:(0,r.jsx)(e3,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-agent-folder"})}},"d-work":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-work"})},children:(0,r.jsx)(r_,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-work"})}},"d-code":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-code"})},children:(0,r.jsx)(tA,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-code"})}},"d-monitor":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-monitor"})},children:(0,r.jsx)(ec,{...n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-monitor"})}},"d-tool":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-tool"})},children:(0,r.jsx)(ej,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-tool"})}},"d-llm":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-llm"})},children:(0,r.jsx)(t8,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-llm"})}},"drsk-browser":n=>{let{children:t}=n,e=String(t);return(0,r.jsx)(rE,{content:e})},"d-todo-list":n=>{let{children:t}=n,e=String(t);try{let n=(0,l.E)(e);return(0,r.jsx)(i,{fallbackRender:n=>{let{error:t}=n;return(0,r.jsx)(iu,{content:e,error:t,componentName:"d-todo-list"})},children:(0,r.jsx)(ix,{data:n})})}catch(n){return(0,r.jsx)(iu,{content:e,error:n,componentName:"d-todo-list"})}}},iw=["custom-view","chart-view","references","summary"];function iv(n){if("string"!=typeof n)return n;let t=[];return n=(n=(n=(n=(n=n.replace(/(```[\s\S]*?```|`[^`\n]+`)/g,n=>(t.push(n),"<>")))).replace(/\\\\\[/g,"$$").replace(/\\\\\]/g,"$$").replace(/\\\\\(/g,"$").replace(/\\\\\)/g,"$").replace(/\\\[/g,"$$").replace(/\\\]/g,"$$").replace(/\\\(/g,"$").replace(/\\\)/g,"$")).replace(/([^\n])\$\$/g,"$1\n\n$$").replace(/\$\$([^\n])/g,"$$\n\n$1")).replace(/\$(?=\d)/g,"\\$")).replace(/<>/g,(n,e)=>t[parseInt(e)])}let iy={code:(0,p.f)({languageRenderers:{"agent-plans":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nw,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"agent-messages":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nx,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-tabs":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=(0,l.j)(a,[]);return(0,r.jsx)(ta,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-tasks":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=(0,l.j)(a,[]);return(0,r.jsx)(to,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-convert-error":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n0,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-dashboard":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n2,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-db-chart":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nK,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-plugin":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(n6,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-code":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nZ,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-app-link":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(nV,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-api-response":n=>{let{className:t,children:e}=n,a=String(e),i=(null==t?void 0:t.replace("language-",""))||"javascript";try{let n=JSON.parse(a);return(0,r.jsx)(tn,{data:n})}catch(n){return(0,r.jsx)(nN,{language:i,code:a})}},"vis-thinking":n=>{let{className:t,children:e}=n,a=String(e);return null==t||t.replace("language-",""),(0,r.jsx)(tc,{content:a})},"vis-attatch":function(n){let{children:t}=n,e=String(t);try{let n=JSON.parse(e);return(0,r.jsx)(i,{fallback:(0,r.jsx)(rE,{content:e}),children:(0,r.jsx)(nz,{data:n})})}catch(n){return(0,r.jsx)(rE,{content:e})}},...ib,html:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nR,{code:a,language:"html"})},web:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nR,{code:a,language:"html"})},svg:n=>{let{className:t,children:e}=n,a=String(e);return(0,r.jsx)(nT,{code:a,language:"svg"})},xml:n=>{let{className:t,children:e}=n,a=String(e);return a.includes("")?(0,r.jsx)(nT,{code:a,language:"svg"}):(0,r.jsx)(nN,{code:a,language:"xml"})}},defaultRenderer(n){let{node:t,className:e,children:a,style:i,...o}=n,l=String(a),s=(null==e?void 0:e.replace("language-",""))||"",{context:c,matchValues:d}=function(n){let t=iw.reduce((t,e)=>{let r=RegExp("<".concat(e,"[^>]*/?>"),"gi");return n=n.replace(r,n=>(t.push(n),"")),t},[]);return{context:n,matchValues:t}}(l),p=/language-(.+)/.exec(e||""),g=s&&(!p||p&&"mermaid"!==p[1]);return(0,r.jsxs)(r.Fragment,{children:[g?(0,r.jsx)(nN,{code:c,language:s||"javascript"}):(0,r.jsx)("code",{...o,style:i,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:a}),(0,r.jsx)(m.A,{components:ik,rehypePlugins:[w.A,b.A],remarkPlugins:[f.A,v.A,k()],children:d.join("\n")})]})}})},ik={...Object.fromEntries(Object.entries(iy).filter(n=>{let[t,e]=n;return"function"==typeof e})),ul(n){let{children:t}=n;return(0,r.jsx)("ul",{className:"py-1",children:t})},ol(n){let{children:t}=n;return(0,r.jsx)("ol",{className:"py-1",children:t})},li(n){let{children:t,ordered:e}=n;return(0,r.jsx)("li",{className:"text-sm leading-7 ml-5 pl-2 text-gray-600 dark:text-gray-300 ".concat(e?"list-decimal":"list-disc"),children:t})},table(n){let{children:t}=n;return(0,r.jsx)("table",{className:"my-2 rounded-tl-md rounded-tr-md bg-white dark:bg-gray-800 text-sm rounded-lg overflow-hidden",children:t})},thead(n){let{children:t}=n;return(0,r.jsx)("thead",{className:"bg-[#fafafa] dark:bg-black font-semibold",children:t})},th(n){let{children:t}=n;return(0,r.jsx)("th",{className:"!text-left p-4",children:t})},td(n){let{children:t}=n;return(0,r.jsx)("td",{className:"p-4 border-t border-[#f0f0f0] dark:border-gray-700",children:t})},h1(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-2xl font-bold my-4 border-b border-slate-300 pb-4",children:t})},h2(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-xl font-bold my-3",children:t})},h3(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-lg font-semibold my-2",children:t})},h4(n){let{children:t}=n;return(0,r.jsx)("h3",{className:"text-base font-semibold my-1",children:t})},a(n){let{children:t,href:e}=n;return(0,r.jsxs)("span",{className:"inline-block text-blue-600 dark:text-blue-400",children:[(0,r.jsx)(s.A,{className:"mr-1"}),(0,r.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",children:t})]})},img(n){let{src:t,alt:e}=n;return(0,r.jsx)("div",{children:(0,r.jsx)(g.A,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:e,placeholder:(0,r.jsx)(h.A,{icon:(0,r.jsx)(c.A,{spin:!0}),color:"processing",children:"Image Loading..."}),fallback:"/pictures/fallback.png"})})},blockquote(n){let{children:t}=n;return(0,r.jsx)("blockquote",{className:"py-4 px-6 border-l-4 border-blue-600 rounded bg-white my-2 text-gray-500 dark:bg-slate-800 dark:text-gray-200 dark:border-white shadow-sm",children:t})},button(n){let{children:t,className:e,...a}=n;if("chat-link"===e){let n=null==a?void 0:a["data-msg"];return(0,r.jsx)(n$,{msg:n,children:t})}return(0,r.jsx)("button",{className:e,...a,children:t})},"chart-view":function(n){var t,e,a;let i,{content:l,children:s}=n;try{i=JSON.parse(l)}catch(n){console.log(n,l),i={type:"response_table",sql:"",data:[]}}let c=(null==i||null==(t=i.data)?void 0:t[0])?null==(e=Object.keys(null==i||null==(a=i.data)?void 0:a[0]))?void 0:e.map(n=>({title:n,dataIndex:n,key:n})):[],d={key:"chart",label:"Chart",children:(0,r.jsx)(ni,{data:null==i?void 0:i.data,chartType:D(null==i?void 0:i.type)})},p={key:"sql",label:"SQL",children:(0,r.jsx)(nN,{code:(0,o.A4)((n=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},e=RegExp(Object.keys(t).join("|"),"g");return n.replace(e,n=>t[n])})(null==i?void 0:i.sql),"mysql"),language:"sql"})},m={key:"data",label:"Data",children:(0,r.jsx)(x.A,{dataSource:null==i?void 0:i.data,columns:c,scroll:{x:!0},virtual:!0})},g=(null==i?void 0:i.type)==="response_table"?[m,p]:[d,p,m];return(0,r.jsxs)("div",{children:[(0,r.jsx)(u.A,{defaultActiveKey:(null==i?void 0:i.type)==="response_table"?"data":"chart",items:g,size:"small"}),s]})},references:function(n){let{children:t}=n;if(t)try{let n=JSON.parse(t).references;return(0,r.jsx)(nh,{references:n})}catch(n){return null}},summary:function(n){let{children:t}=n;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:[(0,r.jsx)(d.A,{className:"mr-2"}),(0,r.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,r.jsx)("div",{children:t})]})},...ib},ij={remarkPlugins:[f.A,[v.A,{singleDollarTextMath:!0}],k()],rehypePlugins:[w.A,[b.A,{output:"htmlAndMathml"}]]},iA=ik},58662:(n,t,e)=>{e.d(t,{nF:()=>a,Jc:()=>l,Pf:()=>i,b:()=>o,pP:()=>s,yl:()=>c,ox:()=>d,eq:()=>p,f6:()=>m,tU:()=>g,Fj:()=>h});var r=e(95155);let a=function(){return(0,r.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M416.9549913 314.32347826h297.42302609a119.56758261 119.56758261 0 0 1 119.56758261 119.56758261v179.19109565a196.71485217 196.71485217 0 0 1-196.71485217 196.71485218H416.9549913a119.56758261 119.56758261 0 0 1-119.5675826-119.56758261v-256.44521739A119.56758261 119.56758261 0 0 1 416.9549913 314.32347826z",fill:"#F5384A"}),(0,r.jsx)("path",{d:"M716.24793043 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v260.18504347c0 3.84667826 0 7.69335652 0.58768696 11.43318261a345.7202087 345.7202087 0 0 0 502.9531826-353.19986087A117.1634087 117.1634087 0 0 0 716.24793043 314.32347826z",fill:"#F54F5C"}),(0,r.jsx)("path",{d:"M318.91812174 594.54330435a345.7202087 345.7202087 0 0 0 420.73043478-249.07241739c2.35074783-9.18928696 4.22066087-18.432 5.82344348-27.67471305a117.10998261 117.10998261 0 0 0-29.22406957-3.63297391H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.5373913v156.43158261c6.9453913 2.35074783 14.10448696 4.54121739 21.42386087 6.41113044z",fill:"#F66C73"}),(0,r.jsx)("path",{d:"M630.17850435 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v48.08347826a346.14761739 346.14761739 0 0 0 332.68424348-165.62086957z",fill:"#F78989"}),(0,r.jsx)("path",{d:"M859.85725217 354.76702609h-25.53766956C802.26393043 200.52591304 669.92751304 84.59130435 512 84.59130435S221.73606957 200.52591304 189.68041739 354.76702609h-25.53766956a139.6557913 139.6557913 0 0 0-139.44208696 139.49551304v79.872a139.6557913 139.6557913 0 0 0 139.44208696 139.49551304h27.62128695a54.65488696 54.65488696 0 0 0 54.60146087-54.60146087V427.10594783C246.36549565 273.6128 365.50566957 148.7026087 512 148.7026087s265.63450435 124.9101913 265.63450435 278.40333913v159.3165913c0 116.09488696-74.79652174 219.47436522-181.38156522 251.42316522a30.23916522 30.23916522 0 0 0-3.09871304 1.06852174 60.15777391 60.15777391 0 1 0 18.05801739 61.06601739 23.50747826 23.50747826 0 0 0 3.36584348-0.69453913c93.12166957-27.88841739 166.63596522-98.67798261 203.01913043-187.79269565a54.92201739 54.92201739 0 0 0 14.90587826 2.13704347h27.62128696a139.6557913 139.6557913 0 0 0 139.44208696-139.49551304V494.26253913a139.6557913 139.6557913 0 0 0-139.7092174-139.49551304zM182.2541913 649.51874783h-18.11144347a75.43763478 75.43763478 0 0 1-75.33078261-75.3842087V494.26253913a75.43763478 75.43763478 0 0 1 75.33078261-75.3842087h18.11144347v230.6404174z m752.93384348-75.3842087a75.43763478 75.43763478 0 0 1-75.33078261 75.3842087h-18.11144347V418.87833043h18.11144347a75.43763478 75.43763478 0 0 1 75.33078261 75.3842087z",fill:"#444444"})]})},i=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1116 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M80.75 80.75m67.14674945 0l805.76099677 0q67.14674945 0 67.14674947 67.14674945l0 604.32074759q0 67.14674945-67.14674947 67.14674945l-805.76099677 0q-67.14674945 0-67.14674945-67.14674945l0-604.32074759q0-67.14674945 67.14674945-67.14674945Z",fill:"#36CFC9"}),(0,r.jsx)("path",{d:"M1020.80449568 685.07074759v67.14674945a67.14674945 67.14674945 0 0 1-67.14674946 67.14674945h-308.20358111l91.3195796 100.72012459-24.84429735 22.49416172L600.46584251 819.36424649h-100.72012459L389.62504831 943.25 364.78075097 920.08437108l91.31957961-100.72012459H147.89674945a67.14674945 67.14674945 0 0 1-67.14674945-67.14674945v-67.14674946z",fill:"#08979C"}),(0,r.jsx)("path",{d:"M416.48374894 282.19024919v335.7337481H315.76362434V282.19024919z m167.86687404 134.29349975v201.44024834h-100.72012459v-201.44024834z m167.86687406 67.14674945v134.2934989h-100.7201246v-134.2934989z m-225.94881252-302.16037379v141.34390829h201.4402492V272.11823698L819.36424649 341.27938889l-91.3195796 63.45367858V356.38740719h-239.71389641V215.04349975H315.76362434V181.4701246z",fill:"#B5F5EC"}),(0,r.jsx)("path",{d:"M550.77724783 752.21749704m-33.57337513 0a33.57337515 33.57337515 0 1 0 67.14675028 0 33.57337515 33.57337515 0 1 0-67.14675028 0Z",fill:"#FFFFFF"})]})},o=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M207.83 962c-5.4 0-10.88-1.17-16.08-3.67-18.55-8.89-26.39-31.13-17.5-49.69l77.22-161.26c8.9-18.58 31.14-26.41 49.7-17.51 18.55 8.89 26.39 31.13 17.5 49.69l-77.22 161.26c-6.4 13.38-19.74 21.18-33.62 21.18zM821.57 962c-13.88 0-27.21-7.8-33.62-21.17l-77.24-161.26c-8.9-18.55-1.06-40.8 17.5-49.69 18.57-8.87 40.8-1.07 49.7 17.51l77.24 161.26c8.9 18.55 1.06 40.8-17.5 49.69a37.266 37.266 0 0 1-16.08 3.66z",fill:"#12926E"}),(0,r.jsx)("path",{d:"M156.74 105.14h710.51c50.7 0 91.8 41.1 91.8 91.8v525.82c0 50.7-41.1 91.8-91.8 91.8H156.74c-50.7 0-91.8-41.1-91.8-91.8V196.93c0.01-50.69 41.11-91.79 91.8-91.79z",fill:"#39E2A0"}),(0,r.jsx)("path",{d:"M835.65 686.01h-614.7c-5.14 0-9.31-4.17-9.31-9.31 0-5.14 4.17-9.31 9.31-9.31h614.7c5.14 0 9.31 4.17 9.31 9.31 0 5.14-4.17 9.31-9.31 9.31z",fill:"#D3F8EA"}),(0,r.jsx)("path",{d:"M699.31 631.94H624.8V454.95c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v176.99zM846.22 631.94h-74.51V346.76c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v285.18zM289.51 631.94H215V417.69c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v214.25zM436.42 631.94h-74.51V495.77c0-11.28 9.14-20.42 20.42-20.42H416c11.28 0 20.42 9.14 20.42 20.42v136.17z",fill:"#FFFFFF"}),(0,r.jsx)("path",{d:"M715.4 173.76H308.6c-11.11 0-20.12-9.01-20.12-20.12V82.12c0-11.11 9.01-20.12 20.12-20.12h406.8c11.11 0 20.12 9.01 20.12 20.12v71.52c0.01 11.11-9 20.12-20.12 20.12z",fill:"#12926E"})]})},l=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M226.3 70.4C151.1 91.6 91.6 151.1 70.4 226.3L226.3 70.4z",fill:"#FFA65A"}),(0,r.jsx)("path",{d:"M277.9 62.2c-116.5 4.7-211 99.1-215.7 215.7L277.9 62.2z",fill:"#FFA659"}),(0,r.jsx)("path",{d:"M321.5 62H287C163.3 62 62 163.3 62 287v34.5L321.5 62z",fill:"#FFA558"}),(0,r.jsx)("path",{d:"M365 62h-78C163.3 62 62 163.3 62 287v78L365 62z",fill:"#FFA557"}),(0,r.jsx)("path",{d:"M408.4 62H287C163.3 62 62 163.3 62 287v121.4L408.4 62z",fill:"#FFA556"}),(0,r.jsx)("path",{d:"M451.8 62H287c-35.9 0-69.8 8.5-100 23.6L85.6 187C70.5 217.2 62 251.1 62 287v164.8L451.8 62z",fill:"#FFA555"}),(0,r.jsx)("path",{d:"M495.3 62H287c-12.2 0-24.2 1-35.9 2.9L64.9 251.1C63 262.8 62 274.8 62 287v208.3L495.3 62z",fill:"#FFA454"}),(0,r.jsx)("path",{d:"M62 538.7L538.7 62H297.5L62 297.5z",fill:"#FFA453"}),(0,r.jsx)("path",{d:"M62 582.1L582.1 62H340.9L62 340.9z",fill:"#FFA452"}),(0,r.jsx)("path",{d:"M62 625.6L625.6 62H384.3L62 384.3z",fill:"#FFA451"}),(0,r.jsx)("path",{d:"M62 427.8V669L669 62H427.8z",fill:"#FFA450"}),(0,r.jsx)("path",{d:"M62 471.2v241.2L712.4 62H471.2z",fill:"#FFA34F"}),(0,r.jsx)("path",{d:"M737 62H514.6L62 514.6V737c0 6.1 0.3 12.1 0.7 18.1L755.1 62.7c-6-0.4-12-0.7-18.1-0.7z",fill:"#FFA34E"}),(0,r.jsx)("path",{d:"M737 62H558.1L62 558.1V737c0 19.1 2.4 37.6 6.9 55.4L792.4 68.9C774.6 64.4 756.1 62 737 62z",fill:"#FFA34D"}),(0,r.jsx)("path",{d:"M737 62H601.5L62 601.5V737c0 31.1 6.4 60.8 17.9 87.8L824.8 79.9C797.8 68.4 768.1 62 737 62z",fill:"#FFA34C"}),(0,r.jsx)("path",{d:"M853.5 94.7C819.4 74 779.5 62 737 62h-92.1L62 644.9V737c0 42.5 12 82.4 32.7 116.5L853.5 94.7z",fill:"#FFA24B"}),(0,r.jsx)("path",{d:"M878.9 112.7C840.1 81.1 790.7 62 737 62h-48.6L62 688.4V737c0 53.7 19.1 103.1 50.7 141.9l766.2-766.2z",fill:"#FFA24A"}),(0,r.jsx)("path",{d:"M737 62h-5.2L62 731.8v5.2c0 64.7 27.7 123.2 71.7 164.3l767.6-767.6C860.2 89.7 801.7 62 737 62z",fill:"#FFA249"}),(0,r.jsx)("path",{d:"M64.8 772.4c9.8 61 44.3 114.1 92.8 148.4l763.2-763.2c-34.3-48.6-87.4-83.1-148.4-92.8L64.8 772.4z",fill:"#FFA248"}),(0,r.jsx)("path",{d:"M73.3 807.3c18.7 56.4 59.2 103 111.3 129.9l752.6-752.6C910.4 132.5 863.7 92 807.3 73.3l-734 734z",fill:"#FFA247"}),(0,r.jsx)("path",{d:"M86.1 838c26.5 52.3 72.9 93.1 129.1 112.2l735-735C931.1 159 890.3 112.6 838 86.1L86.1 838z",fill:"#FFA147"}),(0,r.jsx)("path",{d:"M102.4 865.2c34 48.7 86.7 83.5 147.5 93.7l709-709c-10.2-60.8-45-113.5-93.7-147.5L102.4 865.2z",fill:"#FFA146"}),(0,r.jsx)("path",{d:"M962 287c0-65.2-28.1-124.1-72.7-165.3L121.7 889.3C162.9 933.9 221.8 962 287 962h3.2L962 290.2V287z",fill:"#FFA145"}),(0,r.jsx)("path",{d:"M962 287c0-54.2-19.4-104-51.6-143L144 910.4c39 32.2 88.8 51.6 143 51.6h46.6L962 333.6V287z",fill:"#FFA144"}),(0,r.jsx)("path",{d:"M962 287c0-43.1-12.3-83.4-33.5-117.7L169.3 928.5C203.6 949.7 243.9 962 287 962h90.1L962 377.1V287z",fill:"#FFA143"}),(0,r.jsx)("path",{d:"M287 962h133.5L962 420.5V287c0-31.6-6.6-61.8-18.5-89.2L197.8 943.4c27.4 12 57.6 18.6 89.2 18.6z",fill:"#FFA042"}),(0,r.jsx)("path",{d:"M287 962h176.9L962 463.9V287c0-19.7-2.6-38.7-7.4-56.9L230.1 954.6c18.2 4.8 37.2 7.4 56.9 7.4z",fill:"#FFA041"}),(0,r.jsx)("path",{d:"M287 962h220.4L962 507.4V287c0-6.7-0.3-13.4-0.9-20L267 961.1c6.6 0.6 13.3 0.9 20 0.9z",fill:"#FFA040"}),(0,r.jsx)("path",{d:"M550.8 962L962 550.8V309.6L309.6 962z",fill:"#FFA03F"}),(0,r.jsx)("path",{d:"M594.2 962L962 594.2V353L353 962z",fill:"#FF9F3E"}),(0,r.jsx)("path",{d:"M637.7 962L962 637.7V396.4L396.4 962z",fill:"#FF9F3D"}),(0,r.jsx)("path",{d:"M681.1 962L962 681.1V439.9L439.9 962z",fill:"#FF9F3C"}),(0,r.jsx)("path",{d:"M724.5 962L962 724.5V483.3L483.3 962z",fill:"#FF9F3B"}),(0,r.jsx)("path",{d:"M962 737V526.7L526.7 962H737c11.4 0 22.5-0.9 33.5-2.5l189-189c1.6-11 2.5-22.1 2.5-33.5z",fill:"#FF9F3A"}),(0,r.jsx)("path",{d:"M962 737V570.2L570.2 962H737c34.3 0 66.9-7.8 96.1-21.7l107.2-107.2c13.9-29.2 21.7-61.8 21.7-96.1z",fill:"#FF9E39"}),(0,r.jsx)("path",{d:"M962 613.6L613.6 962H737c123.8 0 225-101.3 225-225V613.6z",fill:"#FF9E38"}),(0,r.jsx)("path",{d:"M962 657L657 962h80c123.8 0 225-101.3 225-225v-80z",fill:"#FF9E37"}),(0,r.jsx)("path",{d:"M962 700.5L700.5 962H737c123.8 0 225-101.3 225-225v-36.5z",fill:"#FF9E36"}),(0,r.jsx)("path",{d:"M961.9 744L744 961.9c118.2-3.7 214.2-99.7 217.9-217.9z",fill:"#FF9D35"}),(0,r.jsx)("path",{d:"M954.4 795L795 954.4c77.4-20.8 138.6-82 159.4-159.4z",fill:"#FF9D34"}),(0,r.jsx)("path",{d:"M736.3 622.9L523.5 747.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 622.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFD9C0"}),(0,r.jsx)("path",{d:"M736.3 523.9L523.5 648.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 523.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFE8D9"}),(0,r.jsx)("path",{d:"M736.3 424.9L523.5 549.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 424.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFF6F0"})]})},s=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M197.99492187 62v900h-34.18066406C124.57285156 962 92.76171875 930.18886719 92.76171875 890.94746094V133.05253906C92.76171875 93.81113281 124.57285156 62 163.81425781 62h34.18066406z m662.19082032 0C899.42714844 62 931.23828125 93.81113281 931.23828125 133.05253906v757.89492188c0 39.24140625-31.81113281 71.05253906-71.05253906 71.05253906H276.92070312V62h583.26503907z",fill:"#19A05F"}),(0,r.jsx)("path",{d:"M577.0390625 62l0.33222656 220.3875 111.2475586-108.80771484L800.19951172 284.36328125V62zM425.40224609 508.18554688h377.05078125v50.94404296h-377.05078125V508.18554688z m0 101.88720703h377.05078125v50.94316406h-377.05078125v-50.94316406z",fill:"#FFFFFF"})]})},c=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M701.95942066 37.1014489H250.80579673a142.46956521 142.46956521 0 0 0-142.46956522 142.46956523v664.85797174a142.46956521 142.46956521 0 0 0 142.46956522 142.46956523h522.38840654a142.46956521 142.46956521 0 0 0 142.46956522-142.46956523V274.55072501L701.95942066 37.1014489z",fill:"#53D39C"}),(0,r.jsx)("path",{d:"M444.2794663 392.18309566l69.64387283 117.72735109h2.70692174l69.97630108-117.70360654h82.4661337l-105.40373371 172.67311305 107.77822609 172.6968587h-83.98580869l-70.83111847-117.89356521h-2.70692174L443.09222066 737.57681196h-83.65338045l108.11065544-172.6968587-106.09233586-172.6968576h82.82230651z",fill:"#25BF79"}),(0,r.jsx)("path",{d:"M444.2794663 380.31063151l69.64387283 117.7273511h2.70692174l69.97630108-117.70360543h82.4661337l-105.40373371 172.67311305L671.44718803 725.70434783h-83.98580869l-70.83111847-117.89356522h-2.70692174L443.09222066 725.70434783h-83.65338045l108.11065544-172.6968576-106.09233586-172.69685872h82.82230651z",fill:"#FFFFFF"}),(0,r.jsx)("path",{d:"M701.95942066 37.1014489l160.27826087 178.08695653L915.66376849 274.55072501h-142.46956522a71.23478261 71.23478261 0 0 1-71.23478261-71.23478261V37.1014489z",fill:"#25BF79"})]})},d=function(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:(0,r.jsx)("path",{d:"M688.51536688 447.75428656l-2.39993719 1.25996719a200.75473031 200.75473031 0 0 1-7.19981156 38.03900156l-47.33875688 166.43563031 110.45710031-59.63843437-47.03876531-114.41699625a108.2971575 108.2971575 0 0 1-6.47982937-31.67916844z m194.87488406-200.99472375l-96.35747063-58.55846344-354.77068687 217.43429251a70.01816156 70.01816156 0 0 0-32.51914688 59.57843624v193.97490844l-158.99582625-98.09742562V362.67651969a69.4181775 69.4181775 0 0 1 33.95910844-60.41841375l358.67058469-206.99456625 13.55964469 7.97979L544.75914031 41.26495719a62.75835281 62.75835281 0 0 0-65.63827687 0L140.54975094 246.75956281a69.89816531 69.89816531 0 0 0-32.81913844 59.75843063v410.98921218c-0.11999719 24.47935781 12.2996775 47.1587625 32.81913844 59.81842969l338.5711125 205.49460563c20.21946937 12.23967844 45.35880937 12.23967844 65.63827687 0l338.69110875-205.49460563c20.33946563-12.41967375 32.87913656-35.09907844 32.8791375-59.81842968v-410.98921219a69.77816813 69.77816813 0 0 0-32.93913562-59.75843063z m-89.51764969 477.88745532l-31.01918625-75.65801438-150.53604844 81.35786438-30.47919937 108.95713968-95.81748563 51.7186425 151.61602032-485.20726312 103.79727562-56.09852719 148.73609531 322.97152219-96.29747156 51.95863594z m0-1e-8",fill:"#0F6CF9"})})};function p(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z",fill:"#1afa29"})]})}function m(){return(0,r.jsx)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M688 312c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48z m-392 88h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8z m376 116c119.3 0 216 96.7 216 216s-96.7 216-216 216-216-96.7-216-216 96.7-216 216-216z m107.5 323.5C808.2 810.8 824 772.6 824 732s-15.8-78.8-44.5-107.5S712.6 580 672 580s-78.8 15.8-107.5 44.5S520 691.4 520 732s15.8 78.8 44.5 107.5S631.4 884 672 884s78.8-15.8 107.5-44.5zM440 852c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H168c-17.7 0-32-14.3-32-32V108c0-17.7 14.3-32 32-32h640c17.7 0 32 14.3 32 32v384c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8V148H208v704h232z m232-76.06l-20.56 28.43c-1.5 2.1-3.9 3.3-6.5 3.3h-44.3c-6.5 0-10.3-7.4-6.4-12.7l45.75-63.3-45.75-63.3c-3.9-5.3-0.1-12.7 6.4-12.7h44.3c2.6 0 5 1.2 6.5 3.3L672 687.4l20.56-28.43c1.5-2.1 3.9-3.3 6.5-3.3h44.3c6.5 0 10.3 7.4 6.4 12.7l-45.75 63.3 45.75 63.3c3.9 5.3 0.1 12.7-6.4 12.7h-44.3c-2.6 0-5-1.2-6.5-3.3L672 775.94z",fill:"#d81e06"})})}function g(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M114.5856 951.04h298.24v-71.68H186.2656v-747.52h593.92v271.36h71.68v-343.04h-737.28v890.88z",fill:"#747690"}),(0,r.jsx)("path",{d:"M662.4256 311.04h-358.4v-71.68h358.4v71.68zM508.8256 490.24h-204.8v-71.68h204.8v71.68zM668.8256 554.24a168.96 168.96 0 1 0 0 337.92 168.96 168.96 0 0 0 0-337.92z m-240.64 168.96a240.64 240.64 0 1 1 481.28 0 240.64 240.64 0 0 1-481.28 0z",fill:"#747690"}),(0,r.jsx)("path",{d:"M629.76 588.8h71.68v131.4304l82.5856 41.3184-32.0512 64.1024-122.2144-61.0816V588.8z",fill:"#747690"})]})}function h(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M151.5 586.2c-5-24.2-7.5-49.2-7.5-74.2s2.5-50 7.5-74.2c4.8-23.6 12-46.8 21.4-69 9.2-21.8 20.6-42.8 33.9-62.5 13.2-19.5 28.3-37.8 45-54.5s35-31.8 54.5-45c19.7-13.3 40.7-24.7 62.5-33.9 22.2-9.4 45.4-16.6 69-21.4 48.5-9.9 99.9-9.9 148.4 0 23.6 4.8 46.8 12 69 21.4 21.8 9.2 42.8 20.6 62.5 33.9 19.5 13.2 37.8 28.3 54.5 45 1.4 1.4 2.8 2.8 4.1 4.2H688c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v77.1c-19.2-19-40.1-36.2-62.4-51.3-23.1-15.6-47.8-29-73.4-39.8-26.1-11-53.4-19.5-81.1-25.2-56.9-11.6-117.1-11.6-174.1 0-27.8 5.7-55.1 14.2-81.1 25.2-25.6 10.8-50.3 24.2-73.4 39.8-22.9 15.4-44.4 33.2-63.9 52.7s-37.3 41-52.7 63.9c-15.6 23.1-29 47.8-39.8 73.4-11 26.1-19.5 53.4-25.2 81.1C83 453.4 80 482.7 80 512s3 58.6 8.8 87c3.1 15.2 16.4 25.6 31.3 25.6 2.1 0 4.3-0.2 6.4-0.7 17.4-3.5 28.5-20.4 25-37.7zM935.2 425c-3.5-17.3-20.5-28.5-37.8-24.9-17.3 3.5-28.5 20.5-24.9 37.8 5 24.2 7.5 49.2 7.5 74.2s-2.5 50-7.5 74.2c-4.8 23.6-12 46.8-21.4 69-9.2 21.8-20.6 42.8-33.9 62.5-13.2 19.5-28.3 37.8-45 54.5s-35 31.8-54.5 45C698 830.6 677 842 655.2 851.2c-22.2 9.4-45.4 16.6-69 21.4-48.5 9.9-99.9 9.9-148.4 0-23.6-4.8-46.8-12-69-21.4-21.8-9.2-42.8-20.6-62.5-33.9-19.5-13.2-37.8-28.3-54.5-45-1.4-1.4-2.8-2.8-4.1-4.2H336c17.7 0 32-14.3 32-32s-14.3-32-32-32H176c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32s32-14.3 32-32V819c19.2 19 40.1 36.2 62.4 51.3 23.1 15.6 47.8 29 73.4 39.8 26.1 11 53.4 19.5 81.1 25.2 28.5 5.8 57.7 8.8 87 8.8s58.6-3 87-8.8c27.8-5.7 55-14.2 81.1-25.2 25.6-10.8 50.3-24.2 73.4-39.8 22.9-15.5 44.4-33.2 63.9-52.7s37.3-41 52.7-63.9c15.6-23.1 29-47.8 39.8-73.4 11-26.1 19.5-53.4 25.2-81.1 5.8-28.5 8.8-57.7 8.8-87 0.2-29.5-2.8-58.8-8.6-87.2z",fill:"#1875F0"})})}e(18301),e(94855)},76572:(n,t,e)=>{e.d(t,{A:()=>l});var r=e(95155),a=e(58662),i=e(96848),o=e(12115);let l=n=>{let{width:t,height:e,scene:l}=n,s=(0,o.useCallback)(()=>{switch(l){case"chat_knowledge":return a.pP;case"chat_with_db_execute":return a.b;case"chat_excel":return a.yl;case"chat_with_db_qa":case"chat_dba":return a.Jc;case"chat_dashboard":return a.Pf;case"chat_agent":return a.ox;case"chat_normal":return a.nF;default:return}},[l]);return(0,r.jsx)(i.A,{className:"w-".concat(t||7," h-").concat(e||7),component:s()})}},95849:(n,t,e)=>{function r(n,t){try{return JSON.parse(n)}catch(n){return console.error("Failed to parse JSON:",n),t}}function a(n){let t=n.replace(/\\\$/g,"$");try{return JSON.parse(t)}catch(i){let n=t.indexOf("{");if(-1===n)throw i;let e=0,r=!1,a=!1;for(let i=n;ia,j:()=>r})}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-268c5128c58279f2.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-d259baa8479fb173.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-268c5128c58279f2.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-d259baa8479fb173.js index b36e4cc8..f21a4de6 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-268c5128c58279f2.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-d259baa8479fb173.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1483],{7744:(e,t,n)=>{n.d(t,{A:()=>Q});var o=n(12115),a=n(79630);let c={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"};var i=n(35030),r=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:c}))}),l=n(21419),s=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:l.A}))}),d=n(83329),m=n(32002),u=n(29300),p=n.n(u),g=n(40419),b=n(86608),v=n(27061),h=n(21858),f=n(48804),S=n(17233),C=n(40032);n(9587);let y={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:"页码"};var x=[10,20,50,100];let A=function(e){var t=e.pageSizeOptions,n=void 0===t?x:t,a=e.locale,c=e.changeSize,i=e.pageSize,r=e.goButton,l=e.quickGo,s=e.rootPrefixCls,d=e.disabled,m=e.buildOptionText,u=e.showSizeChanger,p=e.sizeChangerRender,g=o.useState(""),b=(0,h.A)(g,2),v=b[0],f=b[1],C=function(){return!v||Number.isNaN(v)?void 0:Number(v)},y="function"==typeof m?m:function(e){return"".concat(e," ").concat(a.items_per_page)},A=function(e){""!==v&&(e.keyCode===S.A.ENTER||"click"===e.type)&&(f(""),null==l||l(C()))},k="".concat(s,"-options");if(!u&&!l)return null;var I=null,z=null,w=null;return u&&p&&(I=p({disabled:d,size:i,onSizeChange:function(e){null==c||c(Number(e))},"aria-label":a.page_size,className:"".concat(k,"-size-changer"),options:(n.some(function(e){return e.toString()===i.toString()})?n:n.concat([i]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})).map(function(e){return{label:y(e),value:e}})})),l&&(r&&(w="boolean"==typeof r?o.createElement("button",{type:"button",onClick:A,onKeyUp:A,disabled:d,className:"".concat(k,"-quick-jumper-button")},a.jump_to_confirm):o.createElement("span",{onClick:A,onKeyUp:A},r)),z=o.createElement("div",{className:"".concat(k,"-quick-jumper")},a.jump_to,o.createElement("input",{disabled:d,type:"text",value:v,onChange:function(e){f(e.target.value)},onKeyUp:A,onBlur:function(e){!r&&""!==v&&(f(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==l||l(C()))},"aria-label":a.page}),a.page,w)),o.createElement("li",{className:k},I,z)},k=function(e){var t=e.rootPrefixCls,n=e.page,a=e.active,c=e.className,i=e.showTitle,r=e.onClick,l=e.onKeyPress,s=e.itemRender,d="".concat(t,"-item"),m=p()(d,"".concat(d,"-").concat(n),(0,g.A)((0,g.A)({},"".concat(d,"-active"),a),"".concat(d,"-disabled"),!n),c),u=s(n,"page",o.createElement("a",{rel:"nofollow"},n));return u?o.createElement("li",{title:i?String(n):null,className:m,onClick:function(){r(n)},onKeyDown:function(e){l(e,r,n)},tabIndex:0},u):null};var I=function(e,t,n){return n};function z(){}function w(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function O(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}let B=function(e){var t,n,c,i,r=e.prefixCls,l=void 0===r?"rc-pagination":r,s=e.selectPrefixCls,d=e.className,m=e.current,u=e.defaultCurrent,x=e.total,B=void 0===x?0:x,j=e.pageSize,E=e.defaultPageSize,N=e.onChange,H=void 0===N?z:N,T=e.hideOnSinglePage,M=e.align,P=e.showPrevNextJumpers,R=e.showQuickJumper,D=e.showLessItems,W=e.showTitle,L=void 0===W||W,_=e.onShowSizeChange,q=void 0===_?z:_,X=e.locale,F=void 0===X?y:X,K=e.style,Y=e.totalBoundaryShowSizeChanger,G=e.disabled,V=e.simple,U=e.showTotal,Q=e.showSizeChanger,J=void 0===Q?B>(void 0===Y?50:Y):Q,Z=e.sizeChangerRender,$=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?I:ee,en=e.jumpPrevIcon,eo=e.jumpNextIcon,ea=e.prevIcon,ec=e.nextIcon,ei=o.useRef(null),er=(0,f.A)(10,{value:j,defaultValue:void 0===E?10:E}),el=(0,h.A)(er,2),es=el[0],ed=el[1],em=(0,f.A)(1,{value:m,defaultValue:void 0===u?1:u,postState:function(e){return Math.max(1,Math.min(e,O(void 0,es,B)))}}),eu=(0,h.A)(em,2),ep=eu[0],eg=eu[1],eb=o.useState(ep),ev=(0,h.A)(eb,2),eh=ev[0],ef=ev[1];(0,o.useEffect)(function(){ef(ep)},[ep]);var eS=Math.max(1,ep-(D?3:5)),eC=Math.min(O(void 0,es,B),ep+(D?3:5));function ey(t,n){var a=t||o.createElement("button",{type:"button","aria-label":n,className:"".concat(l,"-item-link")});return"function"==typeof t&&(a=o.createElement(t,(0,v.A)({},e))),a}function ex(e){var t=e.target.value,n=O(void 0,es,B);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var eA=B>es&&R;function ek(e){var t=ex(e);switch(t!==eh&&ef(t),e.keyCode){case S.A.ENTER:eI(t);break;case S.A.UP:eI(t-1);break;case S.A.DOWN:eI(t+1)}}function eI(e){if(w(e)&&e!==ep&&w(B)&&B>0&&!G){var t=O(void 0,es,B),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==H||H(n,es),n}return ep}var ez=ep>1,ew=ep2?n-2:0),a=2;aB?B:ep*es])),eR=null,eD=O(void 0,es,B);if(T&&B<=es)return null;var eW=[],eL={rootPrefixCls:l,onClick:eI,onKeyPress:eN,showTitle:L,itemRender:et,page:-1},e_=ep-1>0?ep-1:0,eq=ep+1=2*eG&&3!==ep&&(eW[0]=o.cloneElement(eW[0],{className:p()("".concat(l,"-item-after-jump-prev"),eW[0].props.className)}),eW.unshift(eT)),eD-ep>=2*eG&&ep!==eD-2){var e2=eW[eW.length-1];eW[eW.length-1]=o.cloneElement(e2,{className:p()("".concat(l,"-item-before-jump-next"),e2.props.className)}),eW.push(eR)}1!==e$&&eW.unshift(o.createElement(k,(0,a.A)({},eL,{key:1,page:1}))),e0!==eD&&eW.push(o.createElement(k,(0,a.A)({},eL,{key:eD,page:eD})))}var e3=(t=et(e_,"prev",ey(ea,"prev page")),o.isValidElement(t)?o.cloneElement(t,{disabled:!ez}):t);if(e3){var e9=!ez||!eD;e3=o.createElement("li",{title:L?F.prev_page:null,onClick:eO,tabIndex:e9?null:0,onKeyDown:function(e){eN(e,eO)},className:p()("".concat(l,"-prev"),(0,g.A)({},"".concat(l,"-disabled"),e9)),"aria-disabled":e9},e3)}var e8=(n=et(eq,"next",ey(ec,"next page")),o.isValidElement(n)?o.cloneElement(n,{disabled:!ew}):n);e8&&(V?(c=!ew,i=ez?0:null):i=(c=!ew||!eD)?null:0,e8=o.createElement("li",{title:L?F.next_page:null,onClick:eB,tabIndex:i,onKeyDown:function(e){eN(e,eB)},className:p()("".concat(l,"-next"),(0,g.A)({},"".concat(l,"-disabled"),c)),"aria-disabled":c},e8));var e6=p()(l,d,(0,g.A)((0,g.A)((0,g.A)((0,g.A)((0,g.A)({},"".concat(l,"-start"),"start"===M),"".concat(l,"-center"),"center"===M),"".concat(l,"-end"),"end"===M),"".concat(l,"-simple"),V),"".concat(l,"-disabled"),G));return o.createElement("ul",(0,a.A)({className:e6,style:K,ref:ei},eM),eP,e3,V?eY:eW,e8,o.createElement(A,{locale:F,rootPrefixCls:l,disabled:G,selectPrefixCls:void 0===s?"rc-select":s,changeSize:function(e){var t=O(e,es,B),n=ep>t&&0!==t?t:ep;ed(e),ef(n),null==q||q(ep,e),eg(n),null==H||H(n,e)},pageSize:es,pageSizeOptions:$,quickGo:eA?eI:null,goButton:eK,showSizeChanger:J,sizeChangerRender:Z}))};var j=n(86500),E=n(15982),N=n(9836),H=n(51854),T=n(8530),M=n(32013),P=n(70042),R=n(99841),D=n(30611),W=n(19086),L=n(35271),_=n(18184),q=n(61388),X=n(45431);let F=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,W.b)(e)),K=e=>(0,q.oX)(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,W.C)(e)),Y=(0,X.OF)("Pagination",e=>{let t=K(e);return[(e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.dF)(e)),{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},["".concat(t,"-total-text")]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,R.zA)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),(e=>{let{componentCls:t}=e;return{["".concat(t,"-item")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,R.zA)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:"0 ".concat((0,R.zA)(e.paginationItemPaddingInline)),color:e.colorText,"&:hover":{textDecoration:"none"}},["&:not(".concat(t,"-item-active)")]:{"&:hover":{transition:"all ".concat(e.motionDurationMid),backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{outline:0,["".concat(t,"-item-container")]:{position:"relative",["".concat(t,"-item-link-icon")]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:"all ".concat(e.motionDurationMid),"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},["".concat(t,"-item-ellipsis")]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:"all ".concat(e.motionDurationMid)}},"&:hover":{["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}}},["\n ".concat(t,"-prev,\n ").concat(t,"-jump-prev,\n ").concat(t,"-jump-next\n ")]:{marginInlineEnd:e.marginXS},["\n ".concat(t,"-prev,\n ").concat(t,"-next,\n ").concat(t,"-jump-prev,\n ").concat(t,"-jump-next\n ")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,R.zA)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:"all ".concat(e.motionDurationMid)},["".concat(t,"-prev, ").concat(t,"-next")]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},["".concat(t,"-item-link")]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:"none",transition:"all ".concat(e.motionDurationMid)},["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover")]:{["".concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["".concat(t,"-slash")]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},["".concat(t,"-options")]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,R.zA)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,D.wj)(e)),(0,L.nI)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,L.eT)(e)),width:e.quickJumperInputWidth,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}})(e)),(e=>{let{componentCls:t}=e;return{["&".concat(t,"-simple")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{height:e.itemSize,lineHeight:(0,R.zA)(e.itemSize),verticalAlign:"top",["".concat(t,"-item-link")]:{height:e.itemSize,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSize,lineHeight:(0,R.zA)(e.itemSize)}}},["".concat(t,"-simple-pager")]:{display:"inline-flex",alignItems:"center",height:e.itemSize,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",width:e.quickJumperInputWidth,padding:"0 ".concat((0,R.zA)(e.paginationItemPaddingInline)),textAlign:"center",backgroundColor:e.itemInputBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadius,outline:"none",transition:"border-color ".concat(e.motionDurationMid),color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:"".concat((0,R.zA)(e.inputOutlineOffset)," 0 ").concat((0,R.zA)(e.controlOutlineWidth)," ").concat(e.controlOutline)},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}},["&".concat(t,"-disabled")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["".concat(t,"-item-link")]:{"&:hover, &:active":{backgroundColor:"transparent"}}}},["&".concat(t,"-mini")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM),["".concat(t,"-item-link")]:{height:e.itemSizeSM,"&::after":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)}}},["".concat(t,"-simple-pager")]:{height:e.itemSizeSM,input:{width:e.paginationMiniQuickJumperInputWidth}}}}}})(e)),(e=>{let{componentCls:t}=e;return{["&".concat(t,"-mini ").concat(t,"-total-text, &").concat(t,"-mini ").concat(t,"-simple-pager")]:{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-item")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,R.zA)(e.calc(e.itemSizeSM).sub(2).equal())},["&".concat(t,"-mini ").concat(t,"-prev, &").concat(t,"-mini ").concat(t,"-next")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini:not(").concat(t,"-disabled)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover ").concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["\n &".concat(t,"-mini ").concat(t,"-prev ").concat(t,"-item-link,\n &").concat(t,"-mini ").concat(t,"-next ").concat(t,"-item-link\n ")]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)}},["&".concat(t,"-mini ").concat(t,"-jump-prev, &").concat(t,"-mini ").concat(t,"-jump-next")]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-options")]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,D.BZ)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-disabled")]:{"&, &:hover":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-item")]:{cursor:"not-allowed",backgroundColor:"transparent","&: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}}},["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},["".concat(t,"-simple&")]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},["".concat(t,"-simple-pager")]:{color:e.colorTextDisabled},["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{["".concat(t,"-item-link-icon")]:{opacity:0},["".concat(t,"-item-ellipsis")]:{opacity:1}}}}})(e)),{["@media only screen and (max-width: ".concat(e.screenLG,"px)")]:{["".concat(t,"-item")]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},["@media only screen and (max-width: ".concat(e.screenSM,"px)")]:{["".concat(t,"-options")]:{display:"none"}}}),["&".concat(e.componentCls,"-rtl")]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,":not(").concat(t,"-disabled)")]:{["".concat(t,"-item")]:Object.assign({},(0,_.K8)(e)),["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{"&:focus-visible":Object.assign({["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}},(0,_.jk)(e))},["".concat(t,"-prev, ").concat(t,"-next")]:{["&:focus-visible ".concat(t,"-item-link")]:(0,_.jk)(e)}}}})(t)]},F),G=(0,X.bf)(["Pagination","bordered"],e=>(e=>{let{componentCls:t}=e;return{["".concat(t).concat(t,"-bordered").concat(t,"-disabled:not(").concat(t,"-mini)")]:{"&, &:hover":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},"&:focus-visible":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},["".concat(t,"-item, ").concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,["&:hover:not(".concat(t,"-item-active)")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},["&".concat(t,"-item-active")]:{backgroundColor:e.itemActiveBgDisabled}},["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},["".concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},["".concat(t).concat(t,"-bordered:not(").concat(t,"-mini)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},["".concat(t,"-item-link")]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},["&:hover ".concat(t,"-item-link")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},["&".concat(t,"-disabled")]:{["".concat(t,"-item-link")]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},["".concat(t,"-item")]:{backgroundColor:e.itemBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),["&:hover:not(".concat(t,"-item-active)")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}})(K(e)),F);function V(e){return(0,o.useMemo)(()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0],[e])}var U=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Q=e=>{let{align:t,prefixCls:n,selectPrefixCls:a,className:c,rootClassName:i,style:l,size:u,locale:g,responsive:b,showSizeChanger:v,selectComponentClass:h,pageSizeOptions:f}=e,S=U(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:C}=(0,H.A)(b),[,y]=(0,P.Ay)(),{getPrefixCls:x,direction:A,showSizeChanger:k,className:I,style:z}=(0,E.TP)("pagination"),w=x("pagination",n),[O,R,D]=Y(w),W=(0,N.A)(u),L="small"===W||!!(C&&!W&&b),[_]=(0,T.A)("Pagination",j.A),q=Object.assign(Object.assign({},_),g),[X,F]=V(v),[K,Q]=V(k),J=null!=F?F:Q,Z=h||M.A,$=o.useMemo(()=>f?f.map(e=>Number(e)):void 0,[f]),ee=o.useMemo(()=>{let e=o.createElement("span",{className:"".concat(w,"-item-ellipsis")},"•••"),t=o.createElement("button",{className:"".concat(w,"-item-link"),type:"button",tabIndex:-1},"rtl"===A?o.createElement(m.A,null):o.createElement(d.A,null)),n=o.createElement("button",{className:"".concat(w,"-item-link"),type:"button",tabIndex:-1},"rtl"===A?o.createElement(d.A,null):o.createElement(m.A,null));return{prevIcon:t,nextIcon:n,jumpPrevIcon:o.createElement("a",{className:"".concat(w,"-item-link")},o.createElement("div",{className:"".concat(w,"-item-container")},"rtl"===A?o.createElement(s,{className:"".concat(w,"-item-link-icon")}):o.createElement(r,{className:"".concat(w,"-item-link-icon")}),e)),jumpNextIcon:o.createElement("a",{className:"".concat(w,"-item-link")},o.createElement("div",{className:"".concat(w,"-item-container")},"rtl"===A?o.createElement(r,{className:"".concat(w,"-item-link-icon")}):o.createElement(s,{className:"".concat(w,"-item-link-icon")}),e))}},[A,w]),et=x("select",a),en=p()({["".concat(w,"-").concat(t)]:!!t,["".concat(w,"-mini")]:L,["".concat(w,"-rtl")]:"rtl"===A,["".concat(w,"-bordered")]:y.wireframe},I,c,i,R,D),eo=Object.assign(Object.assign({},z),l);return O(o.createElement(o.Fragment,null,y.wireframe&&o.createElement(G,{prefixCls:w}),o.createElement(B,Object.assign({},ee,S,{style:eo,prefixCls:w,selectPrefixCls:et,className:en,locale:q,pageSizeOptions:$,showSizeChanger:null!=X?X:K,sizeChangerRender:e=>{var t;let{disabled:n,size:a,onSizeChange:c,"aria-label":i,className:r,options:l}=e,{className:s,onChange:d}=J||{},m=null==(t=l.find(e=>String(e.value)===String(a)))?void 0:t.value;return o.createElement(Z,Object.assign({disabled:n,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:l},J,{value:m,onChange:(e,t)=>{null==c||c(e),null==d||d(e,t)},size:L?"small":"middle",className:p()(r,s)}))}}))))}},9800:(e,t,n)=>{n.d(t,{M:()=>o});let o=n(12115).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},18497:(e,t,n)=>{n.d(t,{A:()=>M});var o=n(12115),a=n(83329),c=n(32002),i=n(29300),r=n.n(i),l=n(10177),s=n(18885),d=n(48804),m=n(17980),u=n(9130),p=n(52824),g=n(31776),b=n(80163),v=n(26791),h=n(6833),f=n(15982),S=n(68151),C=n(83803),y=n(32653),x=n(70042),A=n(99841),k=n(18184),I=n(53272),z=n(52770),w=n(47212),O=n(35464),B=n(45902),j=n(45431),E=n(61388);let N=(0,j.OF)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:o,componentCls:a}=e,c=(0,E.oX)(e,{menuCls:"".concat(a,"-menu"),dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:o});return[(e=>{let{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:a,sizePopupArrow:c,antCls:i,iconCls:r,motionDurationMid:l,paddingBlock:s,fontSize:d,dropdownEdgeChildPadding:m,colorTextDisabled:u,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:e.calc(c).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},["&-trigger".concat(i,"-btn")]:{["& > ".concat(r,"-down, & > ").concat(i,"-btn-icon > ").concat(r,"-down")]:{fontSize:p}},["".concat(t,"-wrap")]:{position:"relative",["".concat(i,"-btn > ").concat(r,"-down")]:{fontSize:p},["".concat(r,"-down::before")]:{transition:"transform ".concat(l)}},["".concat(t,"-wrap-open")]:{["".concat(r,"-down::before")]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},["&".concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottomRight,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottomRight")]:{animationName:I.ox},["&".concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-topRight,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-topRight")]:{animationName:I.nP},["&".concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottomRight")]:{animationName:I.vR},["&".concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-topRight")]:{animationName:I.YU}}},(0,O.Ay)(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{["".concat(t," ").concat(n)]:{position:"relative",margin:0},["".concat(n,"-submenu-popup")]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},["".concat(t,", ").concat(t,"-menu-submenu")]:Object.assign(Object.assign({},(0,k.dF)(e)),{[n]:Object.assign(Object.assign({padding:m,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,k.K8)(e)),{"&:empty":{padding:0,boxShadow:"none"},["".concat(n,"-item-group-title")]:{padding:"".concat((0,A.zA)(s)," ").concat((0,A.zA)(g)),color:e.colorTextDescription,transition:"all ".concat(l)},["".concat(n,"-item")]:{position:"relative",display:"flex",alignItems:"center"},["".concat(n,"-item-icon")]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},["".concat(n,"-title-content")]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:"all ".concat(l),"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},["".concat(n,"-item-extra")]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},["".concat(n,"-item, ").concat(n,"-submenu-title")]:Object.assign(Object.assign({display:"flex",margin:0,padding:"".concat((0,A.zA)(s)," ").concat((0,A.zA)(g)),color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(l),borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,k.K8)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:"".concat((0,A.zA)(e.marginXXS)," 0"),overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},["".concat(t,"-menu-submenu-expand-icon")]:{position:"absolute",insetInlineEnd:e.paddingXS,["".concat(t,"-menu-submenu-arrow-icon")]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}}),["".concat(n,"-item-group-list")]:{margin:"0 ".concat((0,A.zA)(e.marginXS)),padding:0,listStyle:"none"},["".concat(n,"-submenu-title")]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},["".concat(n,"-submenu-vertical")]:{position:"relative"},["".concat(n,"-submenu").concat(n,"-submenu-disabled ").concat(t,"-menu-submenu-title")]:{["&, ".concat(t,"-menu-submenu-arrow-icon")]:{color:u,backgroundColor:b,cursor:"not-allowed"}},["".concat(n,"-submenu-selected ").concat(t,"-menu-submenu-title")]:{color:e.colorPrimary}})})},[(0,I._j)(e,"slide-up"),(0,I._j)(e,"slide-down"),(0,z.Mh)(e,"move-up"),(0,z.Mh)(e,"move-down"),(0,w.aB)(e,"zoom-big")]]})(c),(e=>{let{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:a}=e,c="".concat(n,"-item");return{["".concat(t,", ").concat(t,"-menu-submenu")]:{["".concat(n," ").concat(c)]:{["&".concat(c,"-danger:not(").concat(c,"-disabled)")]:{color:o,"&:hover":{color:a,backgroundColor:o}}}}}})(c)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,O.Ke)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,B.n)(e)),{resetStyle:!1}),H=e=>{var t;let{menu:n,arrow:i,prefixCls:g,children:A,trigger:k,disabled:I,dropdownRender:z,popupRender:w,getPopupContainer:O,overlayClassName:B,rootClassName:j,overlayStyle:E,open:H,onOpenChange:T,visible:M,onVisibleChange:P,mouseEnterDelay:R=.15,mouseLeaveDelay:D=.1,autoAdjustOverflow:W=!0,placement:L="",overlay:_,transitionName:q,destroyOnHidden:X,destroyPopupOnHide:F}=e,{getPopupContainer:K,getPrefixCls:Y,direction:G,dropdown:V}=o.useContext(f.QO),U=w||z;(0,v.rJ)("Dropdown");let Q=o.useMemo(()=>{let e=Y();return void 0!==q?q:L.includes("top")?"".concat(e,"-slide-down"):"".concat(e,"-slide-up")},[Y,L,q]),J=o.useMemo(()=>L?L.includes("Center")?L.slice(0,L.indexOf("Center")):L:"rtl"===G?"bottomRight":"bottomLeft",[L,G]),Z=Y("dropdown",g),$=(0,S.A)(Z),[ee,et,en]=N(Z,$),[,eo]=(0,x.Ay)(),ea=o.Children.only((e=>"object"!=typeof e&&"function"!=typeof e||null===e)(A)?o.createElement("span",null,A):A),ec=(0,b.Ob)(ea,{className:r()("".concat(Z,"-trigger"),{["".concat(Z,"-rtl")]:"rtl"===G},ea.props.className),disabled:null!=(t=ea.props.disabled)?t:I}),ei=I?[]:k,er=!!(null==ei?void 0:ei.includes("contextMenu")),[el,es]=(0,d.A)(!1,{value:null!=H?H:M}),ed=(0,s.A)(e=>{null==T||T(e,{source:"trigger"}),null==P||P(e),es(e)}),em=r()(B,j,et,en,$,null==V?void 0:V.className,{["".concat(Z,"-rtl")]:"rtl"===G}),eu=(0,p.A)({arrowPointAtCenter:"object"==typeof i&&i.pointAtCenter,autoAdjustOverflow:W,offset:eo.marginXXS,arrowWidth:i?eo.sizePopupArrow:0,borderRadius:eo.borderRadius}),ep=(0,s.A)(()=>{null!=n&&n.selectable&&null!=n&&n.multiple||(null==T||T(!1,{source:"menu"}),es(!1))}),[eg,eb]=(0,u.YK)("Dropdown",null==E?void 0:E.zIndex),ev=o.createElement(l.A,Object.assign({alignPoint:er},(0,m.A)(e,["rootClassName"]),{mouseEnterDelay:R,mouseLeaveDelay:D,visible:el,builtinPlacements:eu,arrow:!!i,overlayClassName:em,prefixCls:Z,getPopupContainer:O||K,transitionName:Q,trigger:ei,overlay:()=>{let e;return e=(null==n?void 0:n.items)?o.createElement(C.A,Object.assign({},n)):"function"==typeof _?_():_,U&&(e=U(e)),e=o.Children.only("string"==typeof e?o.createElement("span",null,e):e),o.createElement(y.A,{prefixCls:"".concat(Z,"-menu"),rootClassName:r()(en,$),expandIcon:o.createElement("span",{className:"".concat(Z,"-menu-submenu-arrow")},"rtl"===G?o.createElement(a.A,{className:"".concat(Z,"-menu-submenu-arrow-icon")}):o.createElement(c.A,{className:"".concat(Z,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:ep,validator:e=>{let{mode:t}=e}},e)},placement:J,onVisibleChange:ed,overlayStyle:Object.assign(Object.assign(Object.assign({},null==V?void 0:V.style),E),{zIndex:eg}),autoDestroy:null!=X?X:F}),ec);return eg&&(ev=o.createElement(h.A.Provider,{value:eb},ev)),ee(ev)},T=(0,g.A)(H,"align",void 0,"dropdown",e=>e);H._InternalPanelDoNotUseOrYouWillBeFired=e=>o.createElement(T,Object.assign({},e),o.createElement("span",null));let M=H},19696:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(18497),a=n(12115),c=n(11359),i=n(29300),r=n.n(i),l=n(98696),s=n(15982),d=n(67850),m=n(96936),u=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let p=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:i}=a.useContext(s.QO),{prefixCls:p,type:g="default",danger:b,disabled:v,loading:h,onClick:f,htmlType:S,children:C,className:y,menu:x,arrow:A,autoFocus:k,overlay:I,trigger:z,align:w,open:O,onOpenChange:B,placement:j,getPopupContainer:E,href:N,icon:H=a.createElement(c.A,null),title:T,buttonsRender:M=e=>e,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:W,destroyOnHidden:L,destroyPopupOnHide:_,dropdownRender:q,popupRender:X}=e,F=u(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),K=n("dropdown",p),Y={menu:x,arrow:A,autoFocus:k,align:w,disabled:v,trigger:v?[]:z,onOpenChange:B,getPopupContainer:E||t,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:W,destroyOnHidden:L,popupRender:X||q},{compactSize:G,compactItemClassnames:V}=(0,m.RQ)(K,i),U=r()("".concat(K,"-button"),V,y);"destroyPopupOnHide"in e&&(Y.destroyPopupOnHide=_),"overlay"in e&&(Y.overlay=I),"open"in e&&(Y.open=O),"placement"in e?Y.placement=j:Y.placement="rtl"===i?"bottomLeft":"bottomRight";let[Q,J]=M([a.createElement(l.Ay,{type:g,danger:b,disabled:v,loading:h,onClick:f,htmlType:S,href:N,title:T},C),a.createElement(l.Ay,{type:g,danger:b,icon:H})]);return a.createElement(d.A.Compact,Object.assign({className:U,size:G,block:!0},F),Q,a.createElement(o.A,Object.assign({},Y),J))};p.__ANT_BUTTON=!0;let g=o.A;g.Button=p;let b=g},21419:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},32002:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(79630),a=n(12115),c=n(63363),i=n(35030);let r=a.forwardRef(function(e,t){return a.createElement(i.A,(0,o.A)({},e,{ref:t,icon:c.A}))})},32653:(e,t,n)=>{n.d(t,{A:()=>l,h:()=>s});var o=n(12115),a=n(74686),c=n(9184),i=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let r=o.createContext(null),l=o.forwardRef((e,t)=>{let{children:n}=e,l=i(e,["children"]),s=o.useContext(r),d=o.useMemo(()=>Object.assign(Object.assign({},s),l),[s,l.prefixCls,l.mode,l.selectable,l.rootClassName]),m=(0,a.H3)(n),u=(0,a.xK)(t,m?(0,a.A9)(n):null);return o.createElement(r.Provider,{value:d},o.createElement(c.A,{space:!0},m?o.cloneElement(n,{ref:u}):n))}),s=r},44261:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(12115),a=n(3514),c=n(75659);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement(c.A,i({},e,{ref:t,icon:a.A})))},63363:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},69793:(e,t,n)=>{n.d(t,{Ay:()=>r,cH:()=>c,lB:()=>i});var o=n(99841),a=n(45431);let c=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:o,colorText:a,controlHeightSM:c,marginXXS:i,colorTextLightSolid:r,colorBgContainer:l}=e,s=1.25*o;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:"0 ".concat(s,"px"),headerColor:a,footerPadding:"".concat(c,"px ").concat(s,"px"),footerBg:t,siderBg:"#001529",triggerHeight:o+2*i,triggerBg:"#002140",triggerColor:r,zeroTriggerWidth:o,zeroTriggerHeight:o,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:a}},i=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],r=(0,a.OF)("Layout",e=>{let{antCls:t,componentCls:n,colorText:a,footerBg:c,headerHeight:i,headerPadding:r,headerColor:l,footerPadding:s,fontSize:d,bodyBg:m,headerBg:u}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m,"&, *":{boxSizing:"border-box"},["&".concat(n,"-has-sider")]:{flexDirection:"row",["> ".concat(n,", > ").concat(n,"-content")]:{width:0}},["".concat(n,"-header, &").concat(n,"-footer")]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},["".concat(n,"-header")]:{height:i,padding:r,color:l,lineHeight:(0,o.zA)(i),background:u,["".concat(t,"-menu")]:{lineHeight:"inherit"}},["".concat(n,"-footer")]:{padding:s,color:a,fontSize:d,background:c},["".concat(n,"-content")]:{flex:"auto",color:a,minHeight:0}}},c,{deprecatedTokens:i})},83329:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(79630),a=n(12115),c=n(98527),i=n(35030);let r=a.forwardRef(function(e,t){return a.createElement(i.A,(0,o.A)({},e,{ref:t,icon:c.A}))})},83803:(e,t,n)=>{n.d(t,{A:()=>X});var o=n(12115),a=n(91187),c=n(98690),i=n(11359),r=n(29300),l=n.n(r),s=n(18885),d=n(17980),m=n(93666),u=n(80163),p=n(15982),g=n(68151);let b=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var v=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let h=e=>{let{prefixCls:t,className:n,dashed:c}=e,i=v(e,["prefixCls","className","dashed"]),{getPrefixCls:r}=o.useContext(p.QO),s=r("menu",t),d=l()({["".concat(s,"-item-divider-dashed")]:!!c},n);return o.createElement(a.cG,Object.assign({className:d},i))};var f=n(63715),S=n(97540);let C=e=>{var t;let{className:n,children:i,icon:r,title:s,danger:m,extra:p}=e,{prefixCls:g,firstLevel:v,direction:h,disableMenuItemTitleTooltip:C,inlineCollapsed:y}=o.useContext(b),{siderCollapsed:x}=o.useContext(c.P),A=s;void 0===s?A=v?i:"":!1===s&&(A="");let k={title:A};x||y||(k.title=null,k.open=!1);let I=(0,f.A)(i).length,z=o.createElement(a.q7,Object.assign({},(0,d.A)(e,["title","icon","danger"]),{className:l()({["".concat(g,"-item-danger")]:m,["".concat(g,"-item-only-child")]:(r?I+1:I)===1},n),title:"string"==typeof s?s:void 0}),(0,u.Ob)(r,{className:l()(o.isValidElement(r)?null==(t=r.props)?void 0:t.className:void 0,"".concat(g,"-item-icon"))}),(e=>{let t=null==i?void 0:i[0],n=o.createElement("span",{className:l()("".concat(g,"-title-content"),{["".concat(g,"-title-content-with-extra")]:!!p||0===p})},i);return(!r||o.isValidElement(i)&&"span"===i.type)&&i&&e&&v&&"string"==typeof t?o.createElement("div",{className:"".concat(g,"-inline-collapsed-noicon")},t.charAt(0)):n})(y));return C||(z=o.createElement(S.A,Object.assign({},k,{placement:"rtl"===h?"left":"right",classNames:{root:"".concat(g,"-inline-collapsed-tooltip")}}),z)),z};var y=n(32653),x=n(99841),A=n(60872),k=n(18184),I=n(35376),z=n(53272),w=n(47212),O=n(45431),B=n(61388);let j=e=>(0,k.jk)(e),E=(e,t)=>{let{componentCls:n,itemColor:o,itemSelectedColor:a,subMenuItemSelectedColor:c,groupTitleColor:i,itemBg:r,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:m,activeBarBorderWidth:u,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:b,itemPaddingInline:v,motionDurationMid:h,itemHoverColor:f,lineType:S,colorSplit:C,itemDisabledColor:y,dangerItemColor:A,dangerItemHoverColor:k,dangerItemSelectedColor:I,dangerItemActiveBg:z,dangerItemSelectedBg:w,popupBg:O,itemHoverBg:B,itemActiveBg:E,menuSubMenuBg:N,horizontalItemSelectedColor:H,horizontalItemSelectedBg:T,horizontalItemBorderRadius:M,horizontalItemHoverBg:P}=e;return{["".concat(n,"-").concat(t,", ").concat(n,"-").concat(t," > ").concat(n)]:{color:o,background:r,["&".concat(n,"-root:focus-visible")]:Object.assign({},j(e)),["".concat(n,"-item")]:{"&-group-title, &-extra":{color:i}},["".concat(n,"-submenu-selected > ").concat(n,"-submenu-title")]:{color:c},["".concat(n,"-item, ").concat(n,"-submenu-title")]:{color:o,["&:not(".concat(n,"-item-disabled):focus-visible")]:Object.assign({},j(e))},["".concat(n,"-item-disabled, ").concat(n,"-submenu-disabled")]:{color:"".concat(y," !important")},["".concat(n,"-item:not(").concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{["&:hover, > ".concat(n,"-submenu-title:hover")]:{color:f}},["&:not(".concat(n,"-horizontal)")]:{["".concat(n,"-item:not(").concat(n,"-item-selected)")]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:E}},["".concat(n,"-submenu-title")]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:E}}},["".concat(n,"-item-danger")]:{color:A,["&".concat(n,"-item:hover")]:{["&:not(".concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{color:k}},["&".concat(n,"-item:active")]:{background:z}},["".concat(n,"-item a")]:{"&, &:hover":{color:"inherit"}},["".concat(n,"-item-selected")]:{color:a,["&".concat(n,"-item-danger")]:{color:I},"a, a:hover":{color:"inherit"}},["& ".concat(n,"-item-selected")]:{backgroundColor:s,["&".concat(n,"-item-danger")]:{backgroundColor:w}},["&".concat(n,"-submenu > ").concat(n)]:{backgroundColor:N},["&".concat(n,"-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-submenu-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-horizontal")]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{["> ".concat(n,"-item, > ").concat(n,"-submenu")]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:M,"&::after":{position:"absolute",insetInline:v,bottom:0,borderBottom:"".concat((0,x.zA)(d)," solid transparent"),transition:"border-color ".concat(p," ").concat(g),content:'""'},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:d,borderBottomColor:H}},"&-selected":{color:H,backgroundColor:T,"&:hover":{backgroundColor:T},"&::after":{borderBottomWidth:d,borderBottomColor:H}}}}),["&".concat(n,"-root")]:{["&".concat(n,"-inline, &").concat(n,"-vertical")]:{borderInlineEnd:"".concat((0,x.zA)(u)," ").concat(S," ").concat(C)}},["&".concat(n,"-inline")]:{["".concat(n,"-sub").concat(n,"-inline")]:{background:l},["".concat(n,"-item")]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:"".concat((0,x.zA)(m)," solid ").concat(a),transform:"scaleY(0.0001)",opacity:0,transition:["transform ".concat(h," ").concat(b),"opacity ".concat(h," ").concat(b)].join(","),content:'""'},["&".concat(n,"-item-danger")]:{"&::after":{borderInlineEndColor:I}}},["".concat(n,"-selected, ").concat(n,"-item-selected")]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform ".concat(h," ").concat(g),"opacity ".concat(h," ").concat(g)].join(",")}}}}}},N=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:o,padding:a,menuArrowSize:c,marginXS:i,itemMarginBlock:r,itemWidth:l,itemPaddingInline:s}=e,d=e.calc(c).add(a).add(i).equal();return{["".concat(t,"-item")]:{position:"relative",overflow:"hidden"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.zA)(n),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:r,width:l},["> ".concat(t,"-item,\n > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.zA)(n)},["".concat(t,"-item-group-list ").concat(t,"-submenu-title,\n ").concat(t,"-submenu-title")]:{paddingInlineEnd:d}}},H=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:a,motionEaseOut:c,iconCls:i,iconSize:r,iconMarginInlineEnd:l}=e;return{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:["border-color ".concat(n),"background ".concat(n),"padding calc(".concat(n," + 0.1s) ").concat(a)].join(","),["".concat(t,"-item-icon, ").concat(i)]:{minWidth:r,fontSize:r,transition:["font-size ".concat(o," ").concat(c),"margin ".concat(n," ").concat(a),"color ".concat(n)].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:["opacity ".concat(n," ").concat(a),"margin ".concat(n),"color ".concat(n)].join(",")}},["".concat(t,"-item-icon")]:Object.assign({},(0,k.Nk)()),["&".concat(t,"-item-only-child")]:{["> ".concat(i,", > ").concat(t,"-item-icon")]:{marginInlineEnd:0}}},["".concat(t,"-item-disabled, ").concat(t,"-submenu-disabled")]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},["> ".concat(t,"-submenu-title")]:{color:"inherit !important",cursor:"not-allowed"}}}},T=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:a,menuArrowSize:c,menuArrowOffset:i}=e;return{["".concat(t,"-submenu")]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:c,color:"currentcolor",transform:"translateY(-50%)",transition:"transform ".concat(n," ").concat(o,", opacity ").concat(n)},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(c).mul(.6).equal(),height:e.calc(c).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:["background ".concat(n," ").concat(o),"transform ".concat(n," ").concat(o),"top ".concat(n," ").concat(o),"color ".concat(n," ").concat(o)].join(","),content:'""'},"&::before":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(e.calc(i).mul(-1).equal()),")")},"&::after":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(i),")")}}}}},M=e=>{var t,n,o;let{colorPrimary:a,colorError:c,colorTextDisabled:i,colorErrorBg:r,colorText:l,colorTextDescription:s,colorBgContainer:d,colorFillAlter:m,colorFillContent:u,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:v,controlHeightLG:h,lineHeight:f,colorBgElevated:S,marginXXS:C,padding:y,fontSize:x,controlHeightSM:k,fontSizeLG:I,colorTextLightSolid:z,colorErrorHover:w}=e,O=null!=(t=e.activeBarWidth)?t:0,B=null!=(n=e.activeBarBorderWidth)?n:p,j=null!=(o=e.itemMarginInline)?o:e.marginXXS,E=new A.Y(z).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:s,groupTitleColor:s,colorItemTextSelected:a,itemSelectedColor:a,subMenuItemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:u,itemActiveBg:b,colorSubItemBg:m,subMenuItemBg:m,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:B,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:c,dangerItemColor:c,colorDangerItemTextHover:c,dangerItemHoverColor:c,colorDangerItemTextSelected:c,dangerItemSelectedColor:c,colorDangerItemBgActive:r,dangerItemActiveBg:r,colorDangerItemBgSelected:r,dangerItemSelectedBg:r,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:h,groupTitleLineHeight:f,collapsedWidth:2*h,popupBg:S,itemMarginBlock:C,itemPaddingInline:y,horizontalLineHeight:"".concat(1.15*h,"px"),iconSize:x,iconMarginInlineEnd:k-x,collapsedIconSize:I,groupTitleFontSize:x,darkItemDisabledColor:new A.Y(z).setA(.25).toRgbString(),darkItemColor:E,darkDangerItemColor:c,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:z,darkItemSelectedBg:a,darkDangerItemSelectedBg:c,darkItemHoverBg:"transparent",darkGroupTitleColor:E,darkItemHoverColor:z,darkDangerItemHoverColor:w,darkDangerItemSelectedColor:z,darkDangerItemActiveBg:c,itemWidth:O?"calc(100% + ".concat(B,"px)"):"calc(100% - ".concat(2*j,"px)")}};var P=n(9130);let R=e=>{var t;let n,{popupClassName:c,icon:i,title:r,theme:s}=e,m=o.useContext(b),{prefixCls:p,inlineCollapsed:g,theme:v}=m,h=(0,a.Wj)();if(i){let e=o.isValidElement(r)&&"span"===r.type;n=o.createElement(o.Fragment,null,(0,u.Ob)(i,{className:l()(o.isValidElement(i)?null==(t=i.props)?void 0:t.className:void 0,"".concat(p,"-item-icon"))}),e?r:o.createElement("span",{className:"".concat(p,"-title-content")},r))}else n=g&&!h.length&&r&&"string"==typeof r?o.createElement("div",{className:"".concat(p,"-inline-collapsed-noicon")},r.charAt(0)):o.createElement("span",{className:"".concat(p,"-title-content")},r);let f=o.useMemo(()=>Object.assign(Object.assign({},m),{firstLevel:!1}),[m]),[S]=(0,P.YK)("Menu");return o.createElement(b.Provider,{value:f},o.createElement(a.g8,Object.assign({},(0,d.A)(e,["icon"]),{title:n,popupClassName:l()(p,c,"".concat(p,"-").concat(s||v)),popupStyle:Object.assign({zIndex:S},e.popupStyle)})))};var D=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};function W(e){return null===e||!1===e}let L={item:C,submenu:R,divider:h},_=(0,o.forwardRef)((e,t)=>{var n;let c=o.useContext(y.h),r=c||{},{getPrefixCls:v,getPopupContainer:h,direction:f,menu:S}=o.useContext(p.QO),C=v(),{prefixCls:A,className:j,style:P,theme:R="light",expandIcon:_,_internalDisableMenuItemTitleTooltip:q,inlineCollapsed:X,siderCollapsed:F,rootClassName:K,mode:Y,selectable:G,onClick:V,overflowedIndicatorPopupClassName:U}=e,Q=D(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),J=(0,d.A)(Q,["collapsedWidth"]);null==(n=r.validator)||n.call(r,{mode:Y});let Z=(0,s.A)(function(){for(var e,t=arguments.length,n=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,O.OF)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:o,darkItemColor:a,darkDangerItemColor:c,darkItemBg:i,darkSubMenuItemBg:r,darkItemSelectedColor:l,darkItemSelectedBg:s,darkDangerItemSelectedBg:d,darkItemHoverBg:m,darkGroupTitleColor:u,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:h,popupBg:f,darkPopupBg:S}=e,C=e.calc(o).div(7).mul(5).equal(),y=(0,B.oX)(e,{menuArrowSize:C,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(C).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:f}),A=(0,B.oX)(y,{itemColor:a,itemHoverColor:p,groupTitleColor:u,itemSelectedColor:l,subMenuItemSelectedColor:l,itemBg:i,popupBg:S,subMenuItemBg:r,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:g,dangerItemColor:c,dangerItemHoverColor:b,dangerItemSelectedColor:v,dangerItemActiveBg:h,dangerItemSelectedBg:d,menuSubMenuBg:r,horizontalItemSelectedColor:l,horizontalItemSelectedBg:s});return[(e=>{let{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:a,motionDurationMid:c,motionEaseInOut:i,paddingXS:r,padding:l,colorSplit:s,lineWidth:d,zIndexPopup:m,borderRadiusLG:u,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:v,groupTitleLineHeight:h,groupTitleFontSize:f}=e;return[{"":{[n]:Object.assign(Object.assign({},(0,k.t6)()),{"&-hidden":{display:"none"}})},["".concat(n,"-submenu-hidden")]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.dF)(e)),(0,k.t6)()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:"width ".concat(a," cubic-bezier(0.2, 0, 0, 1) 0s"),"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",["".concat(n,"-item")]:{flex:"none"}},["".concat(n,"-item, ").concat(n,"-submenu, ").concat(n,"-submenu-title")]:{borderRadius:e.itemBorderRadius},["".concat(n,"-item-group-title")]:{padding:"".concat((0,x.zA)(r)," ").concat((0,x.zA)(l)),fontSize:f,lineHeight:h,transition:"all ".concat(a)},["&-horizontal ".concat(n,"-submenu")]:{transition:["border-color ".concat(a," ").concat(i),"background ".concat(a," ").concat(i)].join(",")},["".concat(n,"-submenu, ").concat(n,"-submenu-inline")]:{transition:["border-color ".concat(a," ").concat(i),"background ".concat(a," ").concat(i),"padding ".concat(c," ").concat(i)].join(",")},["".concat(n,"-submenu ").concat(n,"-sub")]:{cursor:"initial",transition:["background ".concat(a," ").concat(i),"padding ".concat(a," ").concat(i)].join(",")},["".concat(n,"-title-content")]:{transition:"color ".concat(a),"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},["> ".concat(t,"-typography-ellipsis-single-line")]:{display:"inline",verticalAlign:"unset"},["".concat(n,"-item-extra")]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},["".concat(n,"-item a")]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},["".concat(n,"-item-divider")]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),H(e)),{["".concat(n,"-item-group")]:{["".concat(n,"-item-group-list")]:{margin:0,padding:0,["".concat(n,"-item, ").concat(n,"-submenu-title")]:{paddingInline:"".concat((0,x.zA)(e.calc(o).mul(2).equal())," ").concat((0,x.zA)(l))}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:u,boxShadow:"none",transformOrigin:"0 0",["&".concat(n,"-submenu")]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},["> ".concat(n)]:Object.assign(Object.assign(Object.assign({borderRadius:u},H(e)),T(e)),{["".concat(n,"-item, ").concat(n,"-submenu > ").concat(n,"-submenu-title")]:{borderRadius:p},["".concat(n,"-submenu-title::after")]:{transition:"transform ".concat(a," ").concat(i)}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),T(e)),{["&-inline-collapsed ".concat(n,"-submenu-arrow,\n &-inline ").concat(n,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(b),")")},"&::after":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")}},["".concat(n,"-submenu-open").concat(n,"-submenu-inline > ").concat(n,"-submenu-title > ").concat(n,"-submenu-arrow")]:{transform:"translateY(".concat((0,x.zA)(e.calc(g).mul(.2).mul(-1).equal()),")"),"&::after":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")},"&::before":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(b),")")}}})},{["".concat(t,"-layout-header")]:{[n]:{lineHeight:"inherit"}}}]})(y),(e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:a,lineWidth:c,lineType:i,itemPaddingInline:r}=e;return{["".concat(t,"-horizontal")]:{lineHeight:o,border:0,borderBottom:"".concat((0,x.zA)(c)," ").concat(i," ").concat(a),boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},["".concat(t,"-item, ").concat(t,"-submenu")]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:r},["> ".concat(t,"-item:hover,\n > ").concat(t,"-item-active,\n > ").concat(t,"-submenu ").concat(t,"-submenu-title:hover")]:{backgroundColor:"transparent"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{transition:["border-color ".concat(n),"background ".concat(n)].join(",")},["".concat(t,"-submenu-arrow")]:{display:"none"}}}})(y),(e=>{let{componentCls:t,iconCls:n,itemHeight:o,colorTextLightSolid:a,dropdownWidth:c,controlHeightLG:i,motionEaseOut:r,paddingXL:l,itemMarginInline:s,fontSizeLG:d,motionDurationFast:m,motionDurationSlow:u,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:v}=e,h={height:o,lineHeight:(0,x.zA)(o),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({["&".concat(t,"-root")]:{boxShadow:"none"}},N(e))},["".concat(t,"-submenu-popup")]:{["".concat(t,"-vertical")]:Object.assign(Object.assign({},N(e)),{boxShadow:g})}},{["".concat(t,"-submenu-popup ").concat(t,"-vertical").concat(t,"-sub")]:{minWidth:c,maxHeight:"calc(100vh - ".concat((0,x.zA)(e.calc(i).mul(2.5).equal()),")"),padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{["".concat(t,"-inline")]:{width:"100%",["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{display:"flex",alignItems:"center",transition:["border-color ".concat(u),"background ".concat(u),"padding ".concat(m," ").concat(r)].join(","),["> ".concat(t,"-title-content")]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},["".concat(t,"-sub").concat(t,"-inline")]:{padding:0,border:0,borderRadius:0,boxShadow:"none",["& > ".concat(t,"-submenu > ").concat(t,"-submenu-title")]:h,["& ".concat(t,"-item-group-title")]:{paddingInlineStart:l}},["".concat(t,"-item")]:h}},{["".concat(t,"-inline-collapsed")]:{width:b,["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu ").concat(t,"-submenu-title")]:{["> ".concat(t,"-inline-collapsed-noicon")]:{fontSize:d,textAlign:"center"}}},["> ".concat(t,"-item,\n > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-item,\n > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-submenu > ").concat(t,"-submenu-title,\n > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{insetInlineStart:0,paddingInline:"calc(50% - ".concat((0,x.zA)(e.calc(v).div(2).equal())," - ").concat((0,x.zA)(s),")"),textOverflow:"clip",["\n ".concat(t,"-submenu-arrow,\n ").concat(t,"-submenu-expand-icon\n ")]:{opacity:0},["".concat(t,"-item-icon, ").concat(n)]:{margin:0,fontSize:v,lineHeight:(0,x.zA)(o),"+ span":{display:"inline-block",opacity:0}}},["".concat(t,"-item-icon, ").concat(n)]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",["".concat(t,"-item-icon, ").concat(n)]:{display:"none"},"a, a:hover":{color:a}},["".concat(t,"-item-group-title")]:Object.assign(Object.assign({},k.L9),{paddingInline:p})}}]})(y),E(y,"light"),E(A,"dark"),(e=>{let{componentCls:t,menuArrowOffset:n,calc:o}=e;return{["".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-submenu-rtl")]:{transformOrigin:"100% 0"},["".concat(t,"-rtl").concat(t,"-vertical,\n ").concat(t,"-submenu-rtl ").concat(t,"-vertical")]:{["".concat(t,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(o(n).mul(-1).equal()),")")},"&::after":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(n),")")}}}}})(y),(0,I.A)(y),(0,z._j)(y,"slide-up"),(0,z._j)(y,"slide-down"),(0,w.aB)(y,"zoom-big")]},M,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)}(eo,ea,!c),el=l()("".concat(eo,"-").concat(R),null==S?void 0:S.className,j),es=o.useMemo(()=>{var e,t;if("function"==typeof _||W(_))return _||null;if("function"==typeof r.expandIcon||W(r.expandIcon))return r.expandIcon||null;if("function"==typeof(null==S?void 0:S.expandIcon)||W(null==S?void 0:S.expandIcon))return(null==S?void 0:S.expandIcon)||null;let n=null!=(e=null!=_?_:null==r?void 0:r.expandIcon)?e:null==S?void 0:S.expandIcon;return(0,u.Ob)(n,{className:l()("".concat(eo,"-submenu-expand-icon"),o.isValidElement(n)?null==(t=n.props)?void 0:t.className:void 0)})},[_,null==r?void 0:r.expandIcon,null==S?void 0:S.expandIcon,eo]),ed=o.useMemo(()=>({prefixCls:eo,inlineCollapsed:et||!1,direction:f,firstLevel:!0,theme:R,mode:$,disableMenuItemTitleTooltip:q}),[eo,et,f,q,R]);return ec(o.createElement(y.h.Provider,{value:null},o.createElement(b.Provider,{value:ed},o.createElement(a.Ay,Object.assign({getPopupContainer:h,overflowedIndicator:o.createElement(i.A,null),overflowedIndicatorPopupClassName:l()(eo,"".concat(eo,"-").concat(R),U),mode:$,selectable:ee,onClick:Z},J,{inlineCollapsed:et,style:Object.assign(Object.assign({},null==S?void 0:S.style),P),className:el,prefixCls:eo,direction:f,defaultMotions:en,expandIcon:es,ref:t,rootClassName:l()(K,ei,r.rootClassName,er,ea),_internalComponents:L})))))}),q=(0,o.forwardRef)((e,t)=>{let n=(0,o.useRef)(null),a=o.useContext(c.P);return(0,o.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{var t;null==(t=n.current)||t.focus(e)}})),o.createElement(_,Object.assign({ref:n},e,a))});q.Item=C,q.SubMenu=R,q.Divider=h,q.ItemGroup=a.te;let X=q},98690:(e,t,n)=>{n.d(t,{P:()=>y,A:()=>A});var o=n(12115),a=n(79630);let c={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var i=n(35030),r=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:c}))}),l=n(83329),s=n(32002),d=n(29300),m=n.n(d),u=n(17980),p=n(76592),g=n(15982),b=n(9800),v=n(99841),h=n(69793);let f=(0,n(45431).OF)(["Layout","Sider"],e=>{let{componentCls:t,siderBg:n,motionDurationMid:o,motionDurationSlow:a,antCls:c,triggerHeight:i,triggerColor:r,triggerBg:l,headerHeight:s,zeroTriggerWidth:d,zeroTriggerHeight:m,borderRadiusLG:u,lightSiderBg:p,lightTriggerColor:g,lightTriggerBg:b,bodyBg:h}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:"all ".concat(o,", background 0s"),"&-has-trigger":{paddingBottom:i},"&-right":{order:1},["".concat(t,"-children")]:{height:"100%",marginTop:-.1,paddingTop:.1,["".concat(c,"-menu").concat(c,"-menu-inline-collapsed")]:{width:"auto"}},["&-zero-width ".concat(t,"-children")]:{overflow:"hidden"},["".concat(t,"-trigger")]:{position:"fixed",bottom:0,zIndex:1,height:i,color:r,lineHeight:(0,v.zA)(i),textAlign:"center",background:l,cursor:"pointer",transition:"all ".concat(o)},["".concat(t,"-zero-width-trigger")]:{position:"absolute",top:s,insetInlineEnd:e.calc(d).mul(-1).equal(),zIndex:1,width:d,height:m,color:r,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:"0 ".concat((0,v.zA)(u)," ").concat((0,v.zA)(u)," 0"),cursor:"pointer",transition:"background ".concat(a," ease"),"&::after":{position:"absolute",inset:0,background:"transparent",transition:"all ".concat(a),content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(d).mul(-1).equal(),borderRadius:"".concat((0,v.zA)(u)," 0 0 ").concat((0,v.zA)(u))}},"&-light":{background:p,["".concat(t,"-trigger")]:{color:g,background:b},["".concat(t,"-zero-width-trigger")]:{color:g,background:b,border:"1px solid ".concat(h),borderInlineStart:0}}}}},h.cH,{deprecatedTokens:h.lB});var S=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let C={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},y=o.createContext({}),x=(()=>{let e=0;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}})(),A=o.forwardRef((e,t)=>{let{prefixCls:n,className:a,trigger:c,children:i,defaultCollapsed:d=!1,theme:v="dark",style:h={},collapsible:A=!1,reverseArrow:k=!1,width:I=200,collapsedWidth:z=80,zeroWidthTriggerStyle:w,breakpoint:O,onCollapse:B,onBreakpoint:j}=e,E=S(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:N}=(0,o.useContext)(b.M),[H,T]=(0,o.useState)("collapsed"in e?e.collapsed:d),[M,P]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in e&&T(e.collapsed)},[e.collapsed]);let R=(t,n)=>{"collapsed"in e||T(t),null==B||B(t,n)},{getPrefixCls:D,direction:W}=(0,o.useContext)(g.QO),L=D("layout-sider",n),[_,q,X]=f(L),F=(0,o.useRef)(null);F.current=e=>{P(e.matches),null==j||j(e.matches),H!==e.matches&&R(e.matches,"responsive")},(0,o.useEffect)(()=>{let e;function t(e){var t;return null==(t=F.current)?void 0:t.call(F,e)}return void 0!==(null==window?void 0:window.matchMedia)&&O&&O in C&&(e=window.matchMedia("screen and (max-width: ".concat(C[O],")")),(0,p.e)(e,t),t(e)),()=>{(0,p.p)(e,t)}},[O]),(0,o.useEffect)(()=>{let e=x("ant-sider-");return N.addSider(e),()=>N.removeSider(e)},[]);let K=()=>{R(!H,"clickTrigger")},Y=(0,u.A)(E,["collapsed"]),G=H?z:I,V=(e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)))(G)?"".concat(G,"px"):String(G),U=0===Number.parseFloat(String(z||0))?o.createElement("span",{onClick:K,className:m()("".concat(L,"-zero-width-trigger"),"".concat(L,"-zero-width-trigger-").concat(k?"right":"left")),style:w},c||o.createElement(r,null)):null,Q="rtl"===W==!k,J={expanded:Q?o.createElement(s.A,null):o.createElement(l.A,null),collapsed:Q?o.createElement(l.A,null):o.createElement(s.A,null)}[H?"collapsed":"expanded"],Z=null!==c?U||o.createElement("div",{className:"".concat(L,"-trigger"),onClick:K,style:{width:V}},c||J):null,$=Object.assign(Object.assign({},h),{flex:"0 0 ".concat(V),maxWidth:V,minWidth:V,width:V}),ee=m()(L,"".concat(L,"-").concat(v),{["".concat(L,"-collapsed")]:!!H,["".concat(L,"-has-trigger")]:A&&null!==c&&!U,["".concat(L,"-below")]:!!M,["".concat(L,"-zero-width")]:0===Number.parseFloat(V)},a,q,X),et=o.useMemo(()=>({siderCollapsed:H}),[H]);return _(o.createElement(y.Provider,{value:et},o.createElement("aside",Object.assign({className:ee},Y,{style:$,ref:t}),o.createElement("div",{className:"".concat(L,"-children")},i),A||M&&U?Z:null)))})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1483],{7744:(e,t,n)=>{n.d(t,{A:()=>Q});var o=n(12115),a=n(79630);let c={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"};var i=n(35030),r=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:c}))}),l=n(21419),s=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:l.A}))}),d=n(83329),m=n(32002),u=n(29300),p=n.n(u),g=n(40419),b=n(86608),v=n(27061),h=n(21858),f=n(48804),S=n(17233),C=n(40032);n(9587);let y={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:"页码"};var x=[10,20,50,100];let A=function(e){var t=e.pageSizeOptions,n=void 0===t?x:t,a=e.locale,c=e.changeSize,i=e.pageSize,r=e.goButton,l=e.quickGo,s=e.rootPrefixCls,d=e.disabled,m=e.buildOptionText,u=e.showSizeChanger,p=e.sizeChangerRender,g=o.useState(""),b=(0,h.A)(g,2),v=b[0],f=b[1],C=function(){return!v||Number.isNaN(v)?void 0:Number(v)},y="function"==typeof m?m:function(e){return"".concat(e," ").concat(a.items_per_page)},A=function(e){""!==v&&(e.keyCode===S.A.ENTER||"click"===e.type)&&(f(""),null==l||l(C()))},k="".concat(s,"-options");if(!u&&!l)return null;var I=null,z=null,w=null;return u&&p&&(I=p({disabled:d,size:i,onSizeChange:function(e){null==c||c(Number(e))},"aria-label":a.page_size,className:"".concat(k,"-size-changer"),options:(n.some(function(e){return e.toString()===i.toString()})?n:n.concat([i]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})).map(function(e){return{label:y(e),value:e}})})),l&&(r&&(w="boolean"==typeof r?o.createElement("button",{type:"button",onClick:A,onKeyUp:A,disabled:d,className:"".concat(k,"-quick-jumper-button")},a.jump_to_confirm):o.createElement("span",{onClick:A,onKeyUp:A},r)),z=o.createElement("div",{className:"".concat(k,"-quick-jumper")},a.jump_to,o.createElement("input",{disabled:d,type:"text",value:v,onChange:function(e){f(e.target.value)},onKeyUp:A,onBlur:function(e){!r&&""!==v&&(f(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==l||l(C()))},"aria-label":a.page}),a.page,w)),o.createElement("li",{className:k},I,z)},k=function(e){var t=e.rootPrefixCls,n=e.page,a=e.active,c=e.className,i=e.showTitle,r=e.onClick,l=e.onKeyPress,s=e.itemRender,d="".concat(t,"-item"),m=p()(d,"".concat(d,"-").concat(n),(0,g.A)((0,g.A)({},"".concat(d,"-active"),a),"".concat(d,"-disabled"),!n),c),u=s(n,"page",o.createElement("a",{rel:"nofollow"},n));return u?o.createElement("li",{title:i?String(n):null,className:m,onClick:function(){r(n)},onKeyDown:function(e){l(e,r,n)},tabIndex:0},u):null};var I=function(e,t,n){return n};function z(){}function w(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function O(e,t,n){return Math.floor((n-1)/(void 0===e?t:e))+1}let B=function(e){var t,n,c,i,r=e.prefixCls,l=void 0===r?"rc-pagination":r,s=e.selectPrefixCls,d=e.className,m=e.current,u=e.defaultCurrent,x=e.total,B=void 0===x?0:x,j=e.pageSize,E=e.defaultPageSize,N=e.onChange,H=void 0===N?z:N,T=e.hideOnSinglePage,M=e.align,P=e.showPrevNextJumpers,R=e.showQuickJumper,D=e.showLessItems,W=e.showTitle,L=void 0===W||W,_=e.onShowSizeChange,q=void 0===_?z:_,X=e.locale,F=void 0===X?y:X,K=e.style,Y=e.totalBoundaryShowSizeChanger,G=e.disabled,V=e.simple,U=e.showTotal,Q=e.showSizeChanger,J=void 0===Q?B>(void 0===Y?50:Y):Q,Z=e.sizeChangerRender,$=e.pageSizeOptions,ee=e.itemRender,et=void 0===ee?I:ee,en=e.jumpPrevIcon,eo=e.jumpNextIcon,ea=e.prevIcon,ec=e.nextIcon,ei=o.useRef(null),er=(0,f.A)(10,{value:j,defaultValue:void 0===E?10:E}),el=(0,h.A)(er,2),es=el[0],ed=el[1],em=(0,f.A)(1,{value:m,defaultValue:void 0===u?1:u,postState:function(e){return Math.max(1,Math.min(e,O(void 0,es,B)))}}),eu=(0,h.A)(em,2),ep=eu[0],eg=eu[1],eb=o.useState(ep),ev=(0,h.A)(eb,2),eh=ev[0],ef=ev[1];(0,o.useEffect)(function(){ef(ep)},[ep]);var eS=Math.max(1,ep-(D?3:5)),eC=Math.min(O(void 0,es,B),ep+(D?3:5));function ey(t,n){var a=t||o.createElement("button",{type:"button","aria-label":n,className:"".concat(l,"-item-link")});return"function"==typeof t&&(a=o.createElement(t,(0,v.A)({},e))),a}function ex(e){var t=e.target.value,n=O(void 0,es,B);return""===t?t:Number.isNaN(Number(t))?eh:t>=n?n:Number(t)}var eA=B>es&&R;function ek(e){var t=ex(e);switch(t!==eh&&ef(t),e.keyCode){case S.A.ENTER:eI(t);break;case S.A.UP:eI(t-1);break;case S.A.DOWN:eI(t+1)}}function eI(e){if(w(e)&&e!==ep&&w(B)&&B>0&&!G){var t=O(void 0,es,B),n=e;return e>t?n=t:e<1&&(n=1),n!==eh&&ef(n),eg(n),null==H||H(n,es),n}return ep}var ez=ep>1,ew=ep2?n-2:0),a=2;aB?B:ep*es])),eR=null,eD=O(void 0,es,B);if(T&&B<=es)return null;var eW=[],eL={rootPrefixCls:l,onClick:eI,onKeyPress:eN,showTitle:L,itemRender:et,page:-1},e_=ep-1>0?ep-1:0,eq=ep+1=2*eG&&3!==ep&&(eW[0]=o.cloneElement(eW[0],{className:p()("".concat(l,"-item-after-jump-prev"),eW[0].props.className)}),eW.unshift(eT)),eD-ep>=2*eG&&ep!==eD-2){var e2=eW[eW.length-1];eW[eW.length-1]=o.cloneElement(e2,{className:p()("".concat(l,"-item-before-jump-next"),e2.props.className)}),eW.push(eR)}1!==e$&&eW.unshift(o.createElement(k,(0,a.A)({},eL,{key:1,page:1}))),e0!==eD&&eW.push(o.createElement(k,(0,a.A)({},eL,{key:eD,page:eD})))}var e3=(t=et(e_,"prev",ey(ea,"prev page")),o.isValidElement(t)?o.cloneElement(t,{disabled:!ez}):t);if(e3){var e9=!ez||!eD;e3=o.createElement("li",{title:L?F.prev_page:null,onClick:eO,tabIndex:e9?null:0,onKeyDown:function(e){eN(e,eO)},className:p()("".concat(l,"-prev"),(0,g.A)({},"".concat(l,"-disabled"),e9)),"aria-disabled":e9},e3)}var e8=(n=et(eq,"next",ey(ec,"next page")),o.isValidElement(n)?o.cloneElement(n,{disabled:!ew}):n);e8&&(V?(c=!ew,i=ez?0:null):i=(c=!ew||!eD)?null:0,e8=o.createElement("li",{title:L?F.next_page:null,onClick:eB,tabIndex:i,onKeyDown:function(e){eN(e,eB)},className:p()("".concat(l,"-next"),(0,g.A)({},"".concat(l,"-disabled"),c)),"aria-disabled":c},e8));var e6=p()(l,d,(0,g.A)((0,g.A)((0,g.A)((0,g.A)((0,g.A)({},"".concat(l,"-start"),"start"===M),"".concat(l,"-center"),"center"===M),"".concat(l,"-end"),"end"===M),"".concat(l,"-simple"),V),"".concat(l,"-disabled"),G));return o.createElement("ul",(0,a.A)({className:e6,style:K,ref:ei},eM),eP,e3,V?eY:eW,e8,o.createElement(A,{locale:F,rootPrefixCls:l,disabled:G,selectPrefixCls:void 0===s?"rc-select":s,changeSize:function(e){var t=O(e,es,B),n=ep>t&&0!==t?t:ep;ed(e),ef(n),null==q||q(ep,e),eg(n),null==H||H(n,e)},pageSize:es,pageSizeOptions:$,quickGo:eA?eI:null,goButton:eK,showSizeChanger:J,sizeChangerRender:Z}))};var j=n(86500),E=n(15982),N=n(9836),H=n(51854),T=n(8530),M=n(32013),P=n(70042),R=n(99841),D=n(30611),W=n(19086),L=n(35271),_=n(18184),q=n(61388),X=n(45431);let F=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,W.b)(e)),K=e=>(0,q.oX)(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,W.C)(e)),Y=(0,X.OF)("Pagination",e=>{let t=K(e);return[(e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.dF)(e)),{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},["".concat(t,"-total-text")]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,R.zA)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),(e=>{let{componentCls:t}=e;return{["".concat(t,"-item")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,R.zA)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:"0 ".concat((0,R.zA)(e.paginationItemPaddingInline)),color:e.colorText,"&:hover":{textDecoration:"none"}},["&:not(".concat(t,"-item-active)")]:{"&:hover":{transition:"all ".concat(e.motionDurationMid),backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{outline:0,["".concat(t,"-item-container")]:{position:"relative",["".concat(t,"-item-link-icon")]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:"all ".concat(e.motionDurationMid),"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},["".concat(t,"-item-ellipsis")]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:"all ".concat(e.motionDurationMid)}},"&:hover":{["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}}},["\n ".concat(t,"-prev,\n ").concat(t,"-jump-prev,\n ").concat(t,"-jump-next\n ")]:{marginInlineEnd:e.marginXS},["\n ".concat(t,"-prev,\n ").concat(t,"-next,\n ").concat(t,"-jump-prev,\n ").concat(t,"-jump-next\n ")]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,R.zA)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:"all ".concat(e.motionDurationMid)},["".concat(t,"-prev, ").concat(t,"-next")]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},["".concat(t,"-item-link")]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),borderRadius:e.borderRadius,outline:"none",transition:"all ".concat(e.motionDurationMid)},["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover")]:{["".concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["".concat(t,"-slash")]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},["".concat(t,"-options")]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,R.zA)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,D.wj)(e)),(0,L.nI)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,L.eT)(e)),width:e.quickJumperInputWidth,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}})(e)),(e=>{let{componentCls:t}=e;return{["&".concat(t,"-simple")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{height:e.itemSize,lineHeight:(0,R.zA)(e.itemSize),verticalAlign:"top",["".concat(t,"-item-link")]:{height:e.itemSize,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSize,lineHeight:(0,R.zA)(e.itemSize)}}},["".concat(t,"-simple-pager")]:{display:"inline-flex",alignItems:"center",height:e.itemSize,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",width:e.quickJumperInputWidth,padding:"0 ".concat((0,R.zA)(e.paginationItemPaddingInline)),textAlign:"center",backgroundColor:e.itemInputBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadius,outline:"none",transition:"border-color ".concat(e.motionDurationMid),color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:"".concat((0,R.zA)(e.inputOutlineOffset)," 0 ").concat((0,R.zA)(e.controlOutlineWidth)," ").concat(e.controlOutline)},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}},["&".concat(t,"-disabled")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["".concat(t,"-item-link")]:{"&:hover, &:active":{backgroundColor:"transparent"}}}},["&".concat(t,"-mini")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM),["".concat(t,"-item-link")]:{height:e.itemSizeSM,"&::after":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)}}},["".concat(t,"-simple-pager")]:{height:e.itemSizeSM,input:{width:e.paginationMiniQuickJumperInputWidth}}}}}})(e)),(e=>{let{componentCls:t}=e;return{["&".concat(t,"-mini ").concat(t,"-total-text, &").concat(t,"-mini ").concat(t,"-simple-pager")]:{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-item")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,R.zA)(e.calc(e.itemSizeSM).sub(2).equal())},["&".concat(t,"-mini ").concat(t,"-prev, &").concat(t,"-mini ").concat(t,"-next")]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini:not(").concat(t,"-disabled)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{["&:hover ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextHover},["&:active ".concat(t,"-item-link")]:{backgroundColor:e.colorBgTextActive},["&".concat(t,"-disabled:hover ").concat(t,"-item-link")]:{backgroundColor:"transparent"}}},["\n &".concat(t,"-mini ").concat(t,"-prev ").concat(t,"-item-link,\n &").concat(t,"-mini ").concat(t,"-next ").concat(t,"-item-link\n ")]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM)}},["&".concat(t,"-mini ").concat(t,"-jump-prev, &").concat(t,"-mini ").concat(t,"-jump-next")]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,R.zA)(e.itemSizeSM)},["&".concat(t,"-mini ").concat(t,"-options")]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,R.zA)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,D.BZ)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-disabled")]:{"&, &:hover":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-item")]:{cursor:"not-allowed",backgroundColor:"transparent","&: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}}},["".concat(t,"-item-link")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},["".concat(t,"-simple&")]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},["".concat(t,"-simple-pager")]:{color:e.colorTextDisabled},["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{["".concat(t,"-item-link-icon")]:{opacity:0},["".concat(t,"-item-ellipsis")]:{opacity:1}}}}})(e)),{["@media only screen and (max-width: ".concat(e.screenLG,"px)")]:{["".concat(t,"-item")]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},["@media only screen and (max-width: ".concat(e.screenSM,"px)")]:{["".concat(t,"-options")]:{display:"none"}}}),["&".concat(e.componentCls,"-rtl")]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,":not(").concat(t,"-disabled)")]:{["".concat(t,"-item")]:Object.assign({},(0,_.K8)(e)),["".concat(t,"-jump-prev, ").concat(t,"-jump-next")]:{"&:focus-visible":Object.assign({["".concat(t,"-item-link-icon")]:{opacity:1},["".concat(t,"-item-ellipsis")]:{opacity:0}},(0,_.jk)(e))},["".concat(t,"-prev, ").concat(t,"-next")]:{["&:focus-visible ".concat(t,"-item-link")]:(0,_.jk)(e)}}}})(t)]},F),G=(0,X.bf)(["Pagination","bordered"],e=>(e=>{let{componentCls:t}=e;return{["".concat(t).concat(t,"-bordered").concat(t,"-disabled:not(").concat(t,"-mini)")]:{"&, &:hover":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},"&:focus-visible":{["".concat(t,"-item-link")]:{borderColor:e.colorBorder}},["".concat(t,"-item, ").concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,["&:hover:not(".concat(t,"-item-active)")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},["&".concat(t,"-item-active")]:{backgroundColor:e.itemActiveBgDisabled}},["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},["".concat(t,"-item-link")]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},["".concat(t).concat(t,"-bordered:not(").concat(t,"-mini)")]:{["".concat(t,"-prev, ").concat(t,"-next")]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},["".concat(t,"-item-link")]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},["&:hover ".concat(t,"-item-link")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},["&".concat(t,"-disabled")]:{["".concat(t,"-item-link")]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},["".concat(t,"-item")]:{backgroundColor:e.itemBg,border:"".concat((0,R.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),["&:hover:not(".concat(t,"-item-active)")]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}})(K(e)),F);function V(e){return(0,o.useMemo)(()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0],[e])}var U=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let Q=e=>{let{align:t,prefixCls:n,selectPrefixCls:a,className:c,rootClassName:i,style:l,size:u,locale:g,responsive:b,showSizeChanger:v,selectComponentClass:h,pageSizeOptions:f}=e,S=U(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:C}=(0,H.A)(b),[,y]=(0,P.Ay)(),{getPrefixCls:x,direction:A,showSizeChanger:k,className:I,style:z}=(0,E.TP)("pagination"),w=x("pagination",n),[O,R,D]=Y(w),W=(0,N.A)(u),L="small"===W||!!(C&&!W&&b),[_]=(0,T.A)("Pagination",j.A),q=Object.assign(Object.assign({},_),g),[X,F]=V(v),[K,Q]=V(k),J=null!=F?F:Q,Z=h||M.A,$=o.useMemo(()=>f?f.map(e=>Number(e)):void 0,[f]),ee=o.useMemo(()=>{let e=o.createElement("span",{className:"".concat(w,"-item-ellipsis")},"•••"),t=o.createElement("button",{className:"".concat(w,"-item-link"),type:"button",tabIndex:-1},"rtl"===A?o.createElement(m.A,null):o.createElement(d.A,null)),n=o.createElement("button",{className:"".concat(w,"-item-link"),type:"button",tabIndex:-1},"rtl"===A?o.createElement(d.A,null):o.createElement(m.A,null));return{prevIcon:t,nextIcon:n,jumpPrevIcon:o.createElement("a",{className:"".concat(w,"-item-link")},o.createElement("div",{className:"".concat(w,"-item-container")},"rtl"===A?o.createElement(s,{className:"".concat(w,"-item-link-icon")}):o.createElement(r,{className:"".concat(w,"-item-link-icon")}),e)),jumpNextIcon:o.createElement("a",{className:"".concat(w,"-item-link")},o.createElement("div",{className:"".concat(w,"-item-container")},"rtl"===A?o.createElement(r,{className:"".concat(w,"-item-link-icon")}):o.createElement(s,{className:"".concat(w,"-item-link-icon")}),e))}},[A,w]),et=x("select",a),en=p()({["".concat(w,"-").concat(t)]:!!t,["".concat(w,"-mini")]:L,["".concat(w,"-rtl")]:"rtl"===A,["".concat(w,"-bordered")]:y.wireframe},I,c,i,R,D),eo=Object.assign(Object.assign({},z),l);return O(o.createElement(o.Fragment,null,y.wireframe&&o.createElement(G,{prefixCls:w}),o.createElement(B,Object.assign({},ee,S,{style:eo,prefixCls:w,selectPrefixCls:et,className:en,locale:q,pageSizeOptions:$,showSizeChanger:null!=X?X:K,sizeChangerRender:e=>{var t;let{disabled:n,size:a,onSizeChange:c,"aria-label":i,className:r,options:l}=e,{className:s,onChange:d}=J||{},m=null==(t=l.find(e=>String(e.value)===String(a)))?void 0:t.value;return o.createElement(Z,Object.assign({disabled:n,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:l},J,{value:m,onChange:(e,t)=>{null==c||c(e),null==d||d(e,t)},size:L?"small":"middle",className:p()(r,s)}))}}))))}},9800:(e,t,n)=>{n.d(t,{M:()=>o});let o=n(12115).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},18497:(e,t,n)=>{n.d(t,{A:()=>M});var o=n(12115),a=n(83329),c=n(32002),i=n(29300),r=n.n(i),l=n(10177),s=n(18885),d=n(48804),m=n(17980),u=n(9130),p=n(52824),g=n(31776),b=n(80163),v=n(49172),h=n(6833),f=n(15982),S=n(68151),C=n(83803),y=n(32653),x=n(70042),A=n(99841),k=n(18184),I=n(53272),z=n(52770),w=n(47212),O=n(35464),B=n(45902),j=n(45431),E=n(61388);let N=(0,j.OF)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:o,componentCls:a}=e,c=(0,E.oX)(e,{menuCls:"".concat(a,"-menu"),dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:o});return[(e=>{let{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:a,sizePopupArrow:c,antCls:i,iconCls:r,motionDurationMid:l,paddingBlock:s,fontSize:d,dropdownEdgeChildPadding:m,colorTextDisabled:u,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:e.calc(c).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},["&-trigger".concat(i,"-btn")]:{["& > ".concat(r,"-down, & > ").concat(i,"-btn-icon > ").concat(r,"-down")]:{fontSize:p}},["".concat(t,"-wrap")]:{position:"relative",["".concat(i,"-btn > ").concat(r,"-down")]:{fontSize:p},["".concat(r,"-down::before")]:{transition:"transform ".concat(l)}},["".concat(t,"-wrap-open")]:{["".concat(r,"-down::before")]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},["&".concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-enter").concat(i,"-slide-down-enter-active").concat(t,"-placement-bottomRight,\n &").concat(i,"-slide-down-appear").concat(i,"-slide-down-appear-active").concat(t,"-placement-bottomRight")]:{animationName:I.ox},["&".concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-enter").concat(i,"-slide-up-enter-active").concat(t,"-placement-topRight,\n &").concat(i,"-slide-up-appear").concat(i,"-slide-up-appear-active").concat(t,"-placement-topRight")]:{animationName:I.nP},["&".concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottomLeft,\n &").concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottom,\n &").concat(i,"-slide-down-leave").concat(i,"-slide-down-leave-active").concat(t,"-placement-bottomRight")]:{animationName:I.vR},["&".concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-topLeft,\n &").concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-top,\n &").concat(i,"-slide-up-leave").concat(i,"-slide-up-leave-active").concat(t,"-placement-topRight")]:{animationName:I.YU}}},(0,O.Ay)(e,b,{arrowPlacement:{top:!0,bottom:!0}}),{["".concat(t," ").concat(n)]:{position:"relative",margin:0},["".concat(n,"-submenu-popup")]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},["".concat(t,", ").concat(t,"-menu-submenu")]:Object.assign(Object.assign({},(0,k.dF)(e)),{[n]:Object.assign(Object.assign({padding:m,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,k.K8)(e)),{"&:empty":{padding:0,boxShadow:"none"},["".concat(n,"-item-group-title")]:{padding:"".concat((0,A.zA)(s)," ").concat((0,A.zA)(g)),color:e.colorTextDescription,transition:"all ".concat(l)},["".concat(n,"-item")]:{position:"relative",display:"flex",alignItems:"center"},["".concat(n,"-item-icon")]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},["".concat(n,"-title-content")]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:"all ".concat(l),"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},["".concat(n,"-item-extra")]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},["".concat(n,"-item, ").concat(n,"-submenu-title")]:Object.assign(Object.assign({display:"flex",margin:0,padding:"".concat((0,A.zA)(s)," ").concat((0,A.zA)(g)),color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:"all ".concat(l),borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,k.K8)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:"".concat((0,A.zA)(e.marginXXS)," 0"),overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},["".concat(t,"-menu-submenu-expand-icon")]:{position:"absolute",insetInlineEnd:e.paddingXS,["".concat(t,"-menu-submenu-arrow-icon")]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}}),["".concat(n,"-item-group-list")]:{margin:"0 ".concat((0,A.zA)(e.marginXS)),padding:0,listStyle:"none"},["".concat(n,"-submenu-title")]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},["".concat(n,"-submenu-vertical")]:{position:"relative"},["".concat(n,"-submenu").concat(n,"-submenu-disabled ").concat(t,"-menu-submenu-title")]:{["&, ".concat(t,"-menu-submenu-arrow-icon")]:{color:u,backgroundColor:b,cursor:"not-allowed"}},["".concat(n,"-submenu-selected ").concat(t,"-menu-submenu-title")]:{color:e.colorPrimary}})})},[(0,I._j)(e,"slide-up"),(0,I._j)(e,"slide-down"),(0,z.Mh)(e,"move-up"),(0,z.Mh)(e,"move-down"),(0,w.aB)(e,"zoom-big")]]})(c),(e=>{let{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:a}=e,c="".concat(n,"-item");return{["".concat(t,", ").concat(t,"-menu-submenu")]:{["".concat(n," ").concat(c)]:{["&".concat(c,"-danger:not(").concat(c,"-disabled)")]:{color:o,"&:hover":{color:a,backgroundColor:o}}}}}})(c)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,O.Ke)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,B.n)(e)),{resetStyle:!1}),H=e=>{var t;let{menu:n,arrow:i,prefixCls:g,children:A,trigger:k,disabled:I,dropdownRender:z,popupRender:w,getPopupContainer:O,overlayClassName:B,rootClassName:j,overlayStyle:E,open:H,onOpenChange:T,visible:M,onVisibleChange:P,mouseEnterDelay:R=.15,mouseLeaveDelay:D=.1,autoAdjustOverflow:W=!0,placement:L="",overlay:_,transitionName:q,destroyOnHidden:X,destroyPopupOnHide:F}=e,{getPopupContainer:K,getPrefixCls:Y,direction:G,dropdown:V}=o.useContext(f.QO),U=w||z;(0,v.rJ)("Dropdown");let Q=o.useMemo(()=>{let e=Y();return void 0!==q?q:L.includes("top")?"".concat(e,"-slide-down"):"".concat(e,"-slide-up")},[Y,L,q]),J=o.useMemo(()=>L?L.includes("Center")?L.slice(0,L.indexOf("Center")):L:"rtl"===G?"bottomRight":"bottomLeft",[L,G]),Z=Y("dropdown",g),$=(0,S.A)(Z),[ee,et,en]=N(Z,$),[,eo]=(0,x.Ay)(),ea=o.Children.only((e=>"object"!=typeof e&&"function"!=typeof e||null===e)(A)?o.createElement("span",null,A):A),ec=(0,b.Ob)(ea,{className:r()("".concat(Z,"-trigger"),{["".concat(Z,"-rtl")]:"rtl"===G},ea.props.className),disabled:null!=(t=ea.props.disabled)?t:I}),ei=I?[]:k,er=!!(null==ei?void 0:ei.includes("contextMenu")),[el,es]=(0,d.A)(!1,{value:null!=H?H:M}),ed=(0,s.A)(e=>{null==T||T(e,{source:"trigger"}),null==P||P(e),es(e)}),em=r()(B,j,et,en,$,null==V?void 0:V.className,{["".concat(Z,"-rtl")]:"rtl"===G}),eu=(0,p.A)({arrowPointAtCenter:"object"==typeof i&&i.pointAtCenter,autoAdjustOverflow:W,offset:eo.marginXXS,arrowWidth:i?eo.sizePopupArrow:0,borderRadius:eo.borderRadius}),ep=(0,s.A)(()=>{null!=n&&n.selectable&&null!=n&&n.multiple||(null==T||T(!1,{source:"menu"}),es(!1))}),[eg,eb]=(0,u.YK)("Dropdown",null==E?void 0:E.zIndex),ev=o.createElement(l.A,Object.assign({alignPoint:er},(0,m.A)(e,["rootClassName"]),{mouseEnterDelay:R,mouseLeaveDelay:D,visible:el,builtinPlacements:eu,arrow:!!i,overlayClassName:em,prefixCls:Z,getPopupContainer:O||K,transitionName:Q,trigger:ei,overlay:()=>{let e;return e=(null==n?void 0:n.items)?o.createElement(C.A,Object.assign({},n)):"function"==typeof _?_():_,U&&(e=U(e)),e=o.Children.only("string"==typeof e?o.createElement("span",null,e):e),o.createElement(y.A,{prefixCls:"".concat(Z,"-menu"),rootClassName:r()(en,$),expandIcon:o.createElement("span",{className:"".concat(Z,"-menu-submenu-arrow")},"rtl"===G?o.createElement(a.A,{className:"".concat(Z,"-menu-submenu-arrow-icon")}):o.createElement(c.A,{className:"".concat(Z,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:ep,validator:e=>{let{mode:t}=e}},e)},placement:J,onVisibleChange:ed,overlayStyle:Object.assign(Object.assign(Object.assign({},null==V?void 0:V.style),E),{zIndex:eg}),autoDestroy:null!=X?X:F}),ec);return eg&&(ev=o.createElement(h.A.Provider,{value:eb},ev)),ee(ev)},T=(0,g.A)(H,"align",void 0,"dropdown",e=>e);H._InternalPanelDoNotUseOrYouWillBeFired=e=>o.createElement(T,Object.assign({},e),o.createElement("span",null));let M=H},19696:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(18497),a=n(12115),c=n(11359),i=n(29300),r=n.n(i),l=n(98696),s=n(15982),d=n(67850),m=n(96936),u=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let p=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:i}=a.useContext(s.QO),{prefixCls:p,type:g="default",danger:b,disabled:v,loading:h,onClick:f,htmlType:S,children:C,className:y,menu:x,arrow:A,autoFocus:k,overlay:I,trigger:z,align:w,open:O,onOpenChange:B,placement:j,getPopupContainer:E,href:N,icon:H=a.createElement(c.A,null),title:T,buttonsRender:M=e=>e,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:W,destroyOnHidden:L,destroyPopupOnHide:_,dropdownRender:q,popupRender:X}=e,F=u(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),K=n("dropdown",p),Y={menu:x,arrow:A,autoFocus:k,align:w,disabled:v,trigger:v?[]:z,onOpenChange:B,getPopupContainer:E||t,mouseEnterDelay:P,mouseLeaveDelay:R,overlayClassName:D,overlayStyle:W,destroyOnHidden:L,popupRender:X||q},{compactSize:G,compactItemClassnames:V}=(0,m.RQ)(K,i),U=r()("".concat(K,"-button"),V,y);"destroyPopupOnHide"in e&&(Y.destroyPopupOnHide=_),"overlay"in e&&(Y.overlay=I),"open"in e&&(Y.open=O),"placement"in e?Y.placement=j:Y.placement="rtl"===i?"bottomLeft":"bottomRight";let[Q,J]=M([a.createElement(l.Ay,{type:g,danger:b,disabled:v,loading:h,onClick:f,htmlType:S,href:N,title:T},C),a.createElement(l.Ay,{type:g,danger:b,icon:H})]);return a.createElement(d.A.Compact,Object.assign({className:U,size:G,block:!0},F),Q,a.createElement(o.A,Object.assign({},Y),J))};p.__ANT_BUTTON=!0;let g=o.A;g.Button=p;let b=g},21419:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},32002:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(79630),a=n(12115),c=n(63363),i=n(35030);let r=a.forwardRef(function(e,t){return a.createElement(i.A,(0,o.A)({},e,{ref:t,icon:c.A}))})},32653:(e,t,n)=>{n.d(t,{A:()=>l,h:()=>s});var o=n(12115),a=n(74686),c=n(9184),i=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let r=o.createContext(null),l=o.forwardRef((e,t)=>{let{children:n}=e,l=i(e,["children"]),s=o.useContext(r),d=o.useMemo(()=>Object.assign(Object.assign({},s),l),[s,l.prefixCls,l.mode,l.selectable,l.rootClassName]),m=(0,a.H3)(n),u=(0,a.xK)(t,m?(0,a.A9)(n):null);return o.createElement(r.Provider,{value:d},o.createElement(c.A,{space:!0},m?o.cloneElement(n,{ref:u}):n))}),s=r},44261:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(12115),a=n(3514),c=n(75659);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement(c.A,i({},e,{ref:t,icon:a.A})))},63363:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},69793:(e,t,n)=>{n.d(t,{Ay:()=>r,cH:()=>c,lB:()=>i});var o=n(99841),a=n(45431);let c=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:o,colorText:a,controlHeightSM:c,marginXXS:i,colorTextLightSolid:r,colorBgContainer:l}=e,s=1.25*o;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:"0 ".concat(s,"px"),headerColor:a,footerPadding:"".concat(c,"px ").concat(s,"px"),footerBg:t,siderBg:"#001529",triggerHeight:o+2*i,triggerBg:"#002140",triggerColor:r,zeroTriggerWidth:o,zeroTriggerHeight:o,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:a}},i=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],r=(0,a.OF)("Layout",e=>{let{antCls:t,componentCls:n,colorText:a,footerBg:c,headerHeight:i,headerPadding:r,headerColor:l,footerPadding:s,fontSize:d,bodyBg:m,headerBg:u}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m,"&, *":{boxSizing:"border-box"},["&".concat(n,"-has-sider")]:{flexDirection:"row",["> ".concat(n,", > ").concat(n,"-content")]:{width:0}},["".concat(n,"-header, &").concat(n,"-footer")]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},["".concat(n,"-header")]:{height:i,padding:r,color:l,lineHeight:(0,o.zA)(i),background:u,["".concat(t,"-menu")]:{lineHeight:"inherit"}},["".concat(n,"-footer")]:{padding:s,color:a,fontSize:d,background:c},["".concat(n,"-content")]:{flex:"auto",color:a,minHeight:0}}},c,{deprecatedTokens:i})},83329:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(79630),a=n(12115),c=n(98527),i=n(35030);let r=a.forwardRef(function(e,t){return a.createElement(i.A,(0,o.A)({},e,{ref:t,icon:c.A}))})},83803:(e,t,n)=>{n.d(t,{A:()=>X});var o=n(12115),a=n(91187),c=n(98690),i=n(11359),r=n(29300),l=n.n(r),s=n(18885),d=n(17980),m=n(93666),u=n(80163),p=n(15982),g=n(68151);let b=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var v=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let h=e=>{let{prefixCls:t,className:n,dashed:c}=e,i=v(e,["prefixCls","className","dashed"]),{getPrefixCls:r}=o.useContext(p.QO),s=r("menu",t),d=l()({["".concat(s,"-item-divider-dashed")]:!!c},n);return o.createElement(a.cG,Object.assign({className:d},i))};var f=n(63715),S=n(97540);let C=e=>{var t;let{className:n,children:i,icon:r,title:s,danger:m,extra:p}=e,{prefixCls:g,firstLevel:v,direction:h,disableMenuItemTitleTooltip:C,inlineCollapsed:y}=o.useContext(b),{siderCollapsed:x}=o.useContext(c.P),A=s;void 0===s?A=v?i:"":!1===s&&(A="");let k={title:A};x||y||(k.title=null,k.open=!1);let I=(0,f.A)(i).length,z=o.createElement(a.q7,Object.assign({},(0,d.A)(e,["title","icon","danger"]),{className:l()({["".concat(g,"-item-danger")]:m,["".concat(g,"-item-only-child")]:(r?I+1:I)===1},n),title:"string"==typeof s?s:void 0}),(0,u.Ob)(r,{className:l()(o.isValidElement(r)?null==(t=r.props)?void 0:t.className:void 0,"".concat(g,"-item-icon"))}),(e=>{let t=null==i?void 0:i[0],n=o.createElement("span",{className:l()("".concat(g,"-title-content"),{["".concat(g,"-title-content-with-extra")]:!!p||0===p})},i);return(!r||o.isValidElement(i)&&"span"===i.type)&&i&&e&&v&&"string"==typeof t?o.createElement("div",{className:"".concat(g,"-inline-collapsed-noicon")},t.charAt(0)):n})(y));return C||(z=o.createElement(S.A,Object.assign({},k,{placement:"rtl"===h?"left":"right",classNames:{root:"".concat(g,"-inline-collapsed-tooltip")}}),z)),z};var y=n(32653),x=n(99841),A=n(60872),k=n(18184),I=n(35376),z=n(53272),w=n(47212),O=n(45431),B=n(61388);let j=e=>(0,k.jk)(e),E=(e,t)=>{let{componentCls:n,itemColor:o,itemSelectedColor:a,subMenuItemSelectedColor:c,groupTitleColor:i,itemBg:r,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:m,activeBarBorderWidth:u,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:b,itemPaddingInline:v,motionDurationMid:h,itemHoverColor:f,lineType:S,colorSplit:C,itemDisabledColor:y,dangerItemColor:A,dangerItemHoverColor:k,dangerItemSelectedColor:I,dangerItemActiveBg:z,dangerItemSelectedBg:w,popupBg:O,itemHoverBg:B,itemActiveBg:E,menuSubMenuBg:N,horizontalItemSelectedColor:H,horizontalItemSelectedBg:T,horizontalItemBorderRadius:M,horizontalItemHoverBg:P}=e;return{["".concat(n,"-").concat(t,", ").concat(n,"-").concat(t," > ").concat(n)]:{color:o,background:r,["&".concat(n,"-root:focus-visible")]:Object.assign({},j(e)),["".concat(n,"-item")]:{"&-group-title, &-extra":{color:i}},["".concat(n,"-submenu-selected > ").concat(n,"-submenu-title")]:{color:c},["".concat(n,"-item, ").concat(n,"-submenu-title")]:{color:o,["&:not(".concat(n,"-item-disabled):focus-visible")]:Object.assign({},j(e))},["".concat(n,"-item-disabled, ").concat(n,"-submenu-disabled")]:{color:"".concat(y," !important")},["".concat(n,"-item:not(").concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{["&:hover, > ".concat(n,"-submenu-title:hover")]:{color:f}},["&:not(".concat(n,"-horizontal)")]:{["".concat(n,"-item:not(").concat(n,"-item-selected)")]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:E}},["".concat(n,"-submenu-title")]:{"&:hover":{backgroundColor:B},"&:active":{backgroundColor:E}}},["".concat(n,"-item-danger")]:{color:A,["&".concat(n,"-item:hover")]:{["&:not(".concat(n,"-item-selected):not(").concat(n,"-submenu-selected)")]:{color:k}},["&".concat(n,"-item:active")]:{background:z}},["".concat(n,"-item a")]:{"&, &:hover":{color:"inherit"}},["".concat(n,"-item-selected")]:{color:a,["&".concat(n,"-item-danger")]:{color:I},"a, a:hover":{color:"inherit"}},["& ".concat(n,"-item-selected")]:{backgroundColor:s,["&".concat(n,"-item-danger")]:{backgroundColor:w}},["&".concat(n,"-submenu > ").concat(n)]:{backgroundColor:N},["&".concat(n,"-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-submenu-popup > ").concat(n)]:{backgroundColor:O},["&".concat(n,"-horizontal")]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{["> ".concat(n,"-item, > ").concat(n,"-submenu")]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:M,"&::after":{position:"absolute",insetInline:v,bottom:0,borderBottom:"".concat((0,x.zA)(d)," solid transparent"),transition:"border-color ".concat(p," ").concat(g),content:'""'},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:d,borderBottomColor:H}},"&-selected":{color:H,backgroundColor:T,"&:hover":{backgroundColor:T},"&::after":{borderBottomWidth:d,borderBottomColor:H}}}}),["&".concat(n,"-root")]:{["&".concat(n,"-inline, &").concat(n,"-vertical")]:{borderInlineEnd:"".concat((0,x.zA)(u)," ").concat(S," ").concat(C)}},["&".concat(n,"-inline")]:{["".concat(n,"-sub").concat(n,"-inline")]:{background:l},["".concat(n,"-item")]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:"".concat((0,x.zA)(m)," solid ").concat(a),transform:"scaleY(0.0001)",opacity:0,transition:["transform ".concat(h," ").concat(b),"opacity ".concat(h," ").concat(b)].join(","),content:'""'},["&".concat(n,"-item-danger")]:{"&::after":{borderInlineEndColor:I}}},["".concat(n,"-selected, ").concat(n,"-item-selected")]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform ".concat(h," ").concat(g),"opacity ".concat(h," ").concat(g)].join(",")}}}}}},N=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:o,padding:a,menuArrowSize:c,marginXS:i,itemMarginBlock:r,itemWidth:l,itemPaddingInline:s}=e,d=e.calc(c).add(a).add(i).equal();return{["".concat(t,"-item")]:{position:"relative",overflow:"hidden"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.zA)(n),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:r,width:l},["> ".concat(t,"-item,\n > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{height:n,lineHeight:(0,x.zA)(n)},["".concat(t,"-item-group-list ").concat(t,"-submenu-title,\n ").concat(t,"-submenu-title")]:{paddingInlineEnd:d}}},H=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:a,motionEaseOut:c,iconCls:i,iconSize:r,iconMarginInlineEnd:l}=e;return{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:["border-color ".concat(n),"background ".concat(n),"padding calc(".concat(n," + 0.1s) ").concat(a)].join(","),["".concat(t,"-item-icon, ").concat(i)]:{minWidth:r,fontSize:r,transition:["font-size ".concat(o," ").concat(c),"margin ".concat(n," ").concat(a),"color ".concat(n)].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:["opacity ".concat(n," ").concat(a),"margin ".concat(n),"color ".concat(n)].join(",")}},["".concat(t,"-item-icon")]:Object.assign({},(0,k.Nk)()),["&".concat(t,"-item-only-child")]:{["> ".concat(i,", > ").concat(t,"-item-icon")]:{marginInlineEnd:0}}},["".concat(t,"-item-disabled, ").concat(t,"-submenu-disabled")]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},["> ".concat(t,"-submenu-title")]:{color:"inherit !important",cursor:"not-allowed"}}}},T=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:a,menuArrowSize:c,menuArrowOffset:i}=e;return{["".concat(t,"-submenu")]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:c,color:"currentcolor",transform:"translateY(-50%)",transition:"transform ".concat(n," ").concat(o,", opacity ").concat(n)},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(c).mul(.6).equal(),height:e.calc(c).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:["background ".concat(n," ").concat(o),"transform ".concat(n," ").concat(o),"top ".concat(n," ").concat(o),"color ".concat(n," ").concat(o)].join(","),content:'""'},"&::before":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(e.calc(i).mul(-1).equal()),")")},"&::after":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(i),")")}}}}},M=e=>{var t,n,o;let{colorPrimary:a,colorError:c,colorTextDisabled:i,colorErrorBg:r,colorText:l,colorTextDescription:s,colorBgContainer:d,colorFillAlter:m,colorFillContent:u,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:v,controlHeightLG:h,lineHeight:f,colorBgElevated:S,marginXXS:C,padding:y,fontSize:x,controlHeightSM:k,fontSizeLG:I,colorTextLightSolid:z,colorErrorHover:w}=e,O=null!=(t=e.activeBarWidth)?t:0,B=null!=(n=e.activeBarBorderWidth)?n:p,j=null!=(o=e.itemMarginInline)?o:e.marginXXS,E=new A.Y(z).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:s,groupTitleColor:s,colorItemTextSelected:a,itemSelectedColor:a,subMenuItemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:u,itemActiveBg:b,colorSubItemBg:m,subMenuItemBg:m,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:B,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:c,dangerItemColor:c,colorDangerItemTextHover:c,dangerItemHoverColor:c,colorDangerItemTextSelected:c,dangerItemSelectedColor:c,colorDangerItemBgActive:r,dangerItemActiveBg:r,colorDangerItemBgSelected:r,dangerItemSelectedBg:r,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:h,groupTitleLineHeight:f,collapsedWidth:2*h,popupBg:S,itemMarginBlock:C,itemPaddingInline:y,horizontalLineHeight:"".concat(1.15*h,"px"),iconSize:x,iconMarginInlineEnd:k-x,collapsedIconSize:I,groupTitleFontSize:x,darkItemDisabledColor:new A.Y(z).setA(.25).toRgbString(),darkItemColor:E,darkDangerItemColor:c,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:z,darkItemSelectedBg:a,darkDangerItemSelectedBg:c,darkItemHoverBg:"transparent",darkGroupTitleColor:E,darkItemHoverColor:z,darkDangerItemHoverColor:w,darkDangerItemSelectedColor:z,darkDangerItemActiveBg:c,itemWidth:O?"calc(100% + ".concat(B,"px)"):"calc(100% - ".concat(2*j,"px)")}};var P=n(9130);let R=e=>{var t;let n,{popupClassName:c,icon:i,title:r,theme:s}=e,m=o.useContext(b),{prefixCls:p,inlineCollapsed:g,theme:v}=m,h=(0,a.Wj)();if(i){let e=o.isValidElement(r)&&"span"===r.type;n=o.createElement(o.Fragment,null,(0,u.Ob)(i,{className:l()(o.isValidElement(i)?null==(t=i.props)?void 0:t.className:void 0,"".concat(p,"-item-icon"))}),e?r:o.createElement("span",{className:"".concat(p,"-title-content")},r))}else n=g&&!h.length&&r&&"string"==typeof r?o.createElement("div",{className:"".concat(p,"-inline-collapsed-noicon")},r.charAt(0)):o.createElement("span",{className:"".concat(p,"-title-content")},r);let f=o.useMemo(()=>Object.assign(Object.assign({},m),{firstLevel:!1}),[m]),[S]=(0,P.YK)("Menu");return o.createElement(b.Provider,{value:f},o.createElement(a.g8,Object.assign({},(0,d.A)(e,["icon"]),{title:n,popupClassName:l()(p,c,"".concat(p,"-").concat(s||v)),popupStyle:Object.assign({zIndex:S},e.popupStyle)})))};var D=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};function W(e){return null===e||!1===e}let L={item:C,submenu:R,divider:h},_=(0,o.forwardRef)((e,t)=>{var n;let c=o.useContext(y.h),r=c||{},{getPrefixCls:v,getPopupContainer:h,direction:f,menu:S}=o.useContext(p.QO),C=v(),{prefixCls:A,className:j,style:P,theme:R="light",expandIcon:_,_internalDisableMenuItemTitleTooltip:q,inlineCollapsed:X,siderCollapsed:F,rootClassName:K,mode:Y,selectable:G,onClick:V,overflowedIndicatorPopupClassName:U}=e,Q=D(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),J=(0,d.A)(Q,["collapsedWidth"]);null==(n=r.validator)||n.call(r,{mode:Y});let Z=(0,s.A)(function(){for(var e,t=arguments.length,n=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return(0,O.OF)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:o,darkItemColor:a,darkDangerItemColor:c,darkItemBg:i,darkSubMenuItemBg:r,darkItemSelectedColor:l,darkItemSelectedBg:s,darkDangerItemSelectedBg:d,darkItemHoverBg:m,darkGroupTitleColor:u,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:h,popupBg:f,darkPopupBg:S}=e,C=e.calc(o).div(7).mul(5).equal(),y=(0,B.oX)(e,{menuArrowSize:C,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(C).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:f}),A=(0,B.oX)(y,{itemColor:a,itemHoverColor:p,groupTitleColor:u,itemSelectedColor:l,subMenuItemSelectedColor:l,itemBg:i,popupBg:S,subMenuItemBg:r,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:g,dangerItemColor:c,dangerItemHoverColor:b,dangerItemSelectedColor:v,dangerItemActiveBg:h,dangerItemSelectedBg:d,menuSubMenuBg:r,horizontalItemSelectedColor:l,horizontalItemSelectedBg:s});return[(e=>{let{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:a,motionDurationMid:c,motionEaseInOut:i,paddingXS:r,padding:l,colorSplit:s,lineWidth:d,zIndexPopup:m,borderRadiusLG:u,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:v,groupTitleLineHeight:h,groupTitleFontSize:f}=e;return[{"":{[n]:Object.assign(Object.assign({},(0,k.t6)()),{"&-hidden":{display:"none"}})},["".concat(n,"-submenu-hidden")]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,k.dF)(e)),(0,k.t6)()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:"width ".concat(a," cubic-bezier(0.2, 0, 0, 1) 0s"),"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",["".concat(n,"-item")]:{flex:"none"}},["".concat(n,"-item, ").concat(n,"-submenu, ").concat(n,"-submenu-title")]:{borderRadius:e.itemBorderRadius},["".concat(n,"-item-group-title")]:{padding:"".concat((0,x.zA)(r)," ").concat((0,x.zA)(l)),fontSize:f,lineHeight:h,transition:"all ".concat(a)},["&-horizontal ".concat(n,"-submenu")]:{transition:["border-color ".concat(a," ").concat(i),"background ".concat(a," ").concat(i)].join(",")},["".concat(n,"-submenu, ").concat(n,"-submenu-inline")]:{transition:["border-color ".concat(a," ").concat(i),"background ".concat(a," ").concat(i),"padding ".concat(c," ").concat(i)].join(",")},["".concat(n,"-submenu ").concat(n,"-sub")]:{cursor:"initial",transition:["background ".concat(a," ").concat(i),"padding ".concat(a," ").concat(i)].join(",")},["".concat(n,"-title-content")]:{transition:"color ".concat(a),"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},["> ".concat(t,"-typography-ellipsis-single-line")]:{display:"inline",verticalAlign:"unset"},["".concat(n,"-item-extra")]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},["".concat(n,"-item a")]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},["".concat(n,"-item-divider")]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),H(e)),{["".concat(n,"-item-group")]:{["".concat(n,"-item-group-list")]:{margin:0,padding:0,["".concat(n,"-item, ").concat(n,"-submenu-title")]:{paddingInline:"".concat((0,x.zA)(e.calc(o).mul(2).equal())," ").concat((0,x.zA)(l))}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:u,boxShadow:"none",transformOrigin:"0 0",["&".concat(n,"-submenu")]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},["> ".concat(n)]:Object.assign(Object.assign(Object.assign({borderRadius:u},H(e)),T(e)),{["".concat(n,"-item, ").concat(n,"-submenu > ").concat(n,"-submenu-title")]:{borderRadius:p},["".concat(n,"-submenu-title::after")]:{transition:"transform ".concat(a," ").concat(i)}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),T(e)),{["&-inline-collapsed ".concat(n,"-submenu-arrow,\n &-inline ").concat(n,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(b),")")},"&::after":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")}},["".concat(n,"-submenu-open").concat(n,"-submenu-inline > ").concat(n,"-submenu-title > ").concat(n,"-submenu-arrow")]:{transform:"translateY(".concat((0,x.zA)(e.calc(g).mul(.2).mul(-1).equal()),")"),"&::after":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")},"&::before":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(b),")")}}})},{["".concat(t,"-layout-header")]:{[n]:{lineHeight:"inherit"}}}]})(y),(e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:a,lineWidth:c,lineType:i,itemPaddingInline:r}=e;return{["".concat(t,"-horizontal")]:{lineHeight:o,border:0,borderBottom:"".concat((0,x.zA)(c)," ").concat(i," ").concat(a),boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},["".concat(t,"-item, ").concat(t,"-submenu")]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:r},["> ".concat(t,"-item:hover,\n > ").concat(t,"-item-active,\n > ").concat(t,"-submenu ").concat(t,"-submenu-title:hover")]:{backgroundColor:"transparent"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{transition:["border-color ".concat(n),"background ".concat(n)].join(",")},["".concat(t,"-submenu-arrow")]:{display:"none"}}}})(y),(e=>{let{componentCls:t,iconCls:n,itemHeight:o,colorTextLightSolid:a,dropdownWidth:c,controlHeightLG:i,motionEaseOut:r,paddingXL:l,itemMarginInline:s,fontSizeLG:d,motionDurationFast:m,motionDurationSlow:u,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:v}=e,h={height:o,lineHeight:(0,x.zA)(o),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({["&".concat(t,"-root")]:{boxShadow:"none"}},N(e))},["".concat(t,"-submenu-popup")]:{["".concat(t,"-vertical")]:Object.assign(Object.assign({},N(e)),{boxShadow:g})}},{["".concat(t,"-submenu-popup ").concat(t,"-vertical").concat(t,"-sub")]:{minWidth:c,maxHeight:"calc(100vh - ".concat((0,x.zA)(e.calc(i).mul(2.5).equal()),")"),padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{["".concat(t,"-inline")]:{width:"100%",["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{display:"flex",alignItems:"center",transition:["border-color ".concat(u),"background ".concat(u),"padding ".concat(m," ").concat(r)].join(","),["> ".concat(t,"-title-content")]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},["".concat(t,"-sub").concat(t,"-inline")]:{padding:0,border:0,borderRadius:0,boxShadow:"none",["& > ".concat(t,"-submenu > ").concat(t,"-submenu-title")]:h,["& ".concat(t,"-item-group-title")]:{paddingInlineStart:l}},["".concat(t,"-item")]:h}},{["".concat(t,"-inline-collapsed")]:{width:b,["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu ").concat(t,"-submenu-title")]:{["> ".concat(t,"-inline-collapsed-noicon")]:{fontSize:d,textAlign:"center"}}},["> ".concat(t,"-item,\n > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-item,\n > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-submenu > ").concat(t,"-submenu-title,\n > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{insetInlineStart:0,paddingInline:"calc(50% - ".concat((0,x.zA)(e.calc(v).div(2).equal())," - ").concat((0,x.zA)(s),")"),textOverflow:"clip",["\n ".concat(t,"-submenu-arrow,\n ").concat(t,"-submenu-expand-icon\n ")]:{opacity:0},["".concat(t,"-item-icon, ").concat(n)]:{margin:0,fontSize:v,lineHeight:(0,x.zA)(o),"+ span":{display:"inline-block",opacity:0}}},["".concat(t,"-item-icon, ").concat(n)]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",["".concat(t,"-item-icon, ").concat(n)]:{display:"none"},"a, a:hover":{color:a}},["".concat(t,"-item-group-title")]:Object.assign(Object.assign({},k.L9),{paddingInline:p})}}]})(y),E(y,"light"),E(A,"dark"),(e=>{let{componentCls:t,menuArrowOffset:n,calc:o}=e;return{["".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-submenu-rtl")]:{transformOrigin:"100% 0"},["".concat(t,"-rtl").concat(t,"-vertical,\n ").concat(t,"-submenu-rtl ").concat(t,"-vertical")]:{["".concat(t,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(o(n).mul(-1).equal()),")")},"&::after":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(n),")")}}}}})(y),(0,I.A)(y),(0,z._j)(y,"slide-up"),(0,z._j)(y,"slide-down"),(0,w.aB)(y,"zoom-big")]},M,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)}(eo,ea,!c),el=l()("".concat(eo,"-").concat(R),null==S?void 0:S.className,j),es=o.useMemo(()=>{var e,t;if("function"==typeof _||W(_))return _||null;if("function"==typeof r.expandIcon||W(r.expandIcon))return r.expandIcon||null;if("function"==typeof(null==S?void 0:S.expandIcon)||W(null==S?void 0:S.expandIcon))return(null==S?void 0:S.expandIcon)||null;let n=null!=(e=null!=_?_:null==r?void 0:r.expandIcon)?e:null==S?void 0:S.expandIcon;return(0,u.Ob)(n,{className:l()("".concat(eo,"-submenu-expand-icon"),o.isValidElement(n)?null==(t=n.props)?void 0:t.className:void 0)})},[_,null==r?void 0:r.expandIcon,null==S?void 0:S.expandIcon,eo]),ed=o.useMemo(()=>({prefixCls:eo,inlineCollapsed:et||!1,direction:f,firstLevel:!0,theme:R,mode:$,disableMenuItemTitleTooltip:q}),[eo,et,f,q,R]);return ec(o.createElement(y.h.Provider,{value:null},o.createElement(b.Provider,{value:ed},o.createElement(a.Ay,Object.assign({getPopupContainer:h,overflowedIndicator:o.createElement(i.A,null),overflowedIndicatorPopupClassName:l()(eo,"".concat(eo,"-").concat(R),U),mode:$,selectable:ee,onClick:Z},J,{inlineCollapsed:et,style:Object.assign(Object.assign({},null==S?void 0:S.style),P),className:el,prefixCls:eo,direction:f,defaultMotions:en,expandIcon:es,ref:t,rootClassName:l()(K,ei,r.rootClassName,er,ea),_internalComponents:L})))))}),q=(0,o.forwardRef)((e,t)=>{let n=(0,o.useRef)(null),a=o.useContext(c.P);return(0,o.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{var t;null==(t=n.current)||t.focus(e)}})),o.createElement(_,Object.assign({ref:n},e,a))});q.Item=C,q.SubMenu=R,q.Divider=h,q.ItemGroup=a.te;let X=q},98690:(e,t,n)=>{n.d(t,{P:()=>y,A:()=>A});var o=n(12115),a=n(79630);let c={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var i=n(35030),r=o.forwardRef(function(e,t){return o.createElement(i.A,(0,a.A)({},e,{ref:t,icon:c}))}),l=n(83329),s=n(32002),d=n(29300),m=n.n(d),u=n(17980),p=n(76592),g=n(15982),b=n(9800),v=n(99841),h=n(69793);let f=(0,n(45431).OF)(["Layout","Sider"],e=>{let{componentCls:t,siderBg:n,motionDurationMid:o,motionDurationSlow:a,antCls:c,triggerHeight:i,triggerColor:r,triggerBg:l,headerHeight:s,zeroTriggerWidth:d,zeroTriggerHeight:m,borderRadiusLG:u,lightSiderBg:p,lightTriggerColor:g,lightTriggerBg:b,bodyBg:h}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:"all ".concat(o,", background 0s"),"&-has-trigger":{paddingBottom:i},"&-right":{order:1},["".concat(t,"-children")]:{height:"100%",marginTop:-.1,paddingTop:.1,["".concat(c,"-menu").concat(c,"-menu-inline-collapsed")]:{width:"auto"}},["&-zero-width ".concat(t,"-children")]:{overflow:"hidden"},["".concat(t,"-trigger")]:{position:"fixed",bottom:0,zIndex:1,height:i,color:r,lineHeight:(0,v.zA)(i),textAlign:"center",background:l,cursor:"pointer",transition:"all ".concat(o)},["".concat(t,"-zero-width-trigger")]:{position:"absolute",top:s,insetInlineEnd:e.calc(d).mul(-1).equal(),zIndex:1,width:d,height:m,color:r,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:"0 ".concat((0,v.zA)(u)," ").concat((0,v.zA)(u)," 0"),cursor:"pointer",transition:"background ".concat(a," ease"),"&::after":{position:"absolute",inset:0,background:"transparent",transition:"all ".concat(a),content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(d).mul(-1).equal(),borderRadius:"".concat((0,v.zA)(u)," 0 0 ").concat((0,v.zA)(u))}},"&-light":{background:p,["".concat(t,"-trigger")]:{color:g,background:b},["".concat(t,"-zero-width-trigger")]:{color:g,background:b,border:"1px solid ".concat(h),borderInlineStart:0}}}}},h.cH,{deprecatedTokens:h.lB});var S=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 a=0,o=Object.getOwnPropertySymbols(e);at.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n};let C={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},y=o.createContext({}),x=(()=>{let e=0;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}})(),A=o.forwardRef((e,t)=>{let{prefixCls:n,className:a,trigger:c,children:i,defaultCollapsed:d=!1,theme:v="dark",style:h={},collapsible:A=!1,reverseArrow:k=!1,width:I=200,collapsedWidth:z=80,zeroWidthTriggerStyle:w,breakpoint:O,onCollapse:B,onBreakpoint:j}=e,E=S(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:N}=(0,o.useContext)(b.M),[H,T]=(0,o.useState)("collapsed"in e?e.collapsed:d),[M,P]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in e&&T(e.collapsed)},[e.collapsed]);let R=(t,n)=>{"collapsed"in e||T(t),null==B||B(t,n)},{getPrefixCls:D,direction:W}=(0,o.useContext)(g.QO),L=D("layout-sider",n),[_,q,X]=f(L),F=(0,o.useRef)(null);F.current=e=>{P(e.matches),null==j||j(e.matches),H!==e.matches&&R(e.matches,"responsive")},(0,o.useEffect)(()=>{let e;function t(e){var t;return null==(t=F.current)?void 0:t.call(F,e)}return void 0!==(null==window?void 0:window.matchMedia)&&O&&O in C&&(e=window.matchMedia("screen and (max-width: ".concat(C[O],")")),(0,p.e)(e,t),t(e)),()=>{(0,p.p)(e,t)}},[O]),(0,o.useEffect)(()=>{let e=x("ant-sider-");return N.addSider(e),()=>N.removeSider(e)},[]);let K=()=>{R(!H,"clickTrigger")},Y=(0,u.A)(E,["collapsed"]),G=H?z:I,V=(e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)))(G)?"".concat(G,"px"):String(G),U=0===Number.parseFloat(String(z||0))?o.createElement("span",{onClick:K,className:m()("".concat(L,"-zero-width-trigger"),"".concat(L,"-zero-width-trigger-").concat(k?"right":"left")),style:w},c||o.createElement(r,null)):null,Q="rtl"===W==!k,J={expanded:Q?o.createElement(s.A,null):o.createElement(l.A,null),collapsed:Q?o.createElement(l.A,null):o.createElement(s.A,null)}[H?"collapsed":"expanded"],Z=null!==c?U||o.createElement("div",{className:"".concat(L,"-trigger"),onClick:K,style:{width:V}},c||J):null,$=Object.assign(Object.assign({},h),{flex:"0 0 ".concat(V),maxWidth:V,minWidth:V,width:V}),ee=m()(L,"".concat(L,"-").concat(v),{["".concat(L,"-collapsed")]:!!H,["".concat(L,"-has-trigger")]:A&&null!==c&&!U,["".concat(L,"-below")]:!!M,["".concat(L,"-zero-width")]:0===Number.parseFloat(V)},a,q,X),et=o.useMemo(()=>({siderCollapsed:H}),[H]);return _(o.createElement(y.Provider,{value:et},o.createElement("aside",Object.assign({className:ee},Y,{style:$,ref:t}),o.createElement("div",{className:"".concat(L,"-children")},i),A||M&&U?Z:null)))})}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-57334e357b5bde4c.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-0cc480289d2063ab.js similarity index 98% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-57334e357b5bde4c.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-0cc480289d2063ab.js index a5a12456..9fd957d5 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-57334e357b5bde4c.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1991-0cc480289d2063ab.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1991],{3514:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},10177:(e,t,n)=>{n.d(t,{A:()=>w});var o=n(79630),r=n(40419),a=n(21858),i=n(20235),l=n(56980),c=n(29300),u=n.n(c),s=n(74686),d=n(12115),f=n(17233),p=n(16962),m=f.A.ESC,v=f.A.TAB,g=(0,d.forwardRef)(function(e,t){var n=e.overlay,o=e.arrow,r=e.prefixCls,a=(0,d.useMemo)(function(){return"function"==typeof n?n():n},[n]),i=(0,s.K4)(t,(0,s.A9)(a));return d.createElement(d.Fragment,null,o&&d.createElement("div",{className:"".concat(r,"-arrow")}),d.cloneElement(a,{ref:(0,s.f3)(a)?i:void 0}))}),h={adjustX:1,adjustY:1},b=[0,0];let y={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:b},top:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:b},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:b},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:b},bottom:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:b},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:b}};var A=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];let w=d.forwardRef(function(e,t){var n,c,f,h,b,w,E,C,S,x,O,I,M,R,N=e.arrow,P=void 0!==N&&N,k=e.prefixCls,z=void 0===k?"rc-dropdown":k,D=e.transitionName,T=e.animation,j=e.align,L=e.placement,H=e.placements,B=e.getPopupContainer,K=e.showAction,F=e.hideAction,W=e.overlayClassName,V=e.overlayStyle,_=e.visible,G=e.trigger,X=void 0===G?["hover"]:G,Y=e.autoFocus,q=e.overlay,U=e.children,Q=e.onVisibleChange,$=(0,i.A)(e,A),J=d.useState(),Z=(0,a.A)(J,2),ee=Z[0],et=Z[1],en="visible"in e?_:ee,eo=d.useRef(null),er=d.useRef(null),ea=d.useRef(null);d.useImperativeHandle(t,function(){return eo.current});var ei=function(e){et(e),null==Q||Q(e)};c=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:Y,overlayRef:er}).visible,f=n.triggerRef,h=n.onVisibleChange,b=n.autoFocus,w=n.overlayRef,E=d.useRef(!1),C=function(){if(c){var e,t;null==(e=f.current)||null==(t=e.focus)||t.call(e),null==h||h(!1)}},S=function(){var e;return null!=(e=w.current)&&!!e.focus&&(w.current.focus(),E.current=!0,!0)},x=function(e){switch(e.keyCode){case m:C();break;case v:var t=!1;E.current||(t=S()),t?e.preventDefault():C()}},d.useEffect(function(){return c?(window.addEventListener("keydown",x),b&&(0,p.A)(S,3),function(){window.removeEventListener("keydown",x),E.current=!1}):function(){E.current=!1}},[c]);var el=function(){return d.createElement(g,{ref:er,overlay:q,prefixCls:z,arrow:P})},ec=d.cloneElement(U,{className:u()(null==(R=U.props)?void 0:R.className,en&&(void 0!==(O=e.openClassName)?O:"".concat(z,"-open"))),ref:(0,s.f3)(U)?(0,s.K4)(ea,(0,s.A9)(U)):void 0}),eu=F;return eu||-1===X.indexOf("contextMenu")||(eu=["click"]),d.createElement(l.A,(0,o.A)({builtinPlacements:void 0===H?y:H},$,{prefixCls:z,ref:eo,popupClassName:u()(W,(0,r.A)({},"".concat(z,"-show-arrow"),P)),popupStyle:V,action:X,showAction:K,hideAction:eu,popupPlacement:void 0===L?"bottomLeft":L,popupAlign:j,popupTransitionName:D,popupAnimation:T,popupVisible:en,stretch:(I=e.minOverlayWidthMatchTrigger,M=e.alignPoint,"minOverlayWidthMatchTrigger"in e?I:!M)?"minWidth":"",popup:"function"==typeof q?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:B}),ec)})},11359:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(89593),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},18118:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},29353:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(12115),r=n(15982),a=n(36768);let i=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.QO),i=n("empty");switch(t){case"Table":case"List":return o.createElement(a.A,{image:a.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.A,{image:a.A.PRESENTED_IMAGE_SIMPLE,className:"".concat(i,"-small")});case"Table.filter":return null;default:return o.createElement(a.A,null)}}},31776:(e,t,n)=>{n.d(t,{A:()=>c,U:()=>l});var o=n(12115),r=n(48804),a=n(57845),i=n(15982);function l(e){return t=>o.createElement(a.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},o.createElement(e,Object.assign({},t)))}let c=(e,t,n,a,c)=>l(l=>{let{prefixCls:u,style:s}=l,d=o.useRef(null),[f,p]=o.useState(0),[m,v]=o.useState(0),[g,h]=(0,r.A)(!1,{value:l.open}),{getPrefixCls:b}=o.useContext(i.QO),y=b(a||"select",u);o.useEffect(()=>{if(h(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;p(t.offsetHeight+8),v(t.offsetWidth)}),t=setInterval(()=>{var n;let o=c?".".concat(c(y)):".".concat(y,"-dropdown"),r=null==(n=d.current)?void 0:n.querySelector(o);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[y]);let A=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>d.current});return n&&(A=n(A)),t&&Object.assign(A,{[t]:{overflow:{adjustX:!1,adjustY:!1}}}),o.createElement("div",{ref:d,style:{paddingBottom:f,position:"relative",minWidth:m}},o.createElement(e,Object.assign({},A)))})},32013:(e,t,n)=>{n.d(t,{A:()=>e5});var o=n(12115),r=n(29300),a=n.n(r),i=n(79630),l=n(85757),c=n(40419),u=n(27061),s=n(21858),d=n(20235),f=n(86608),p=n(48804),m=n(9587),v=n(49172),g=n(96951),h=n(74686);let b=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,i=e.children,l=e.onMouseDown,c=e.onClick,u="function"==typeof n?n(r):n;return o.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==l||l(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},void 0!==u?u:o.createElement("span",{className:a()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},i))};var y=function(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=o.useMemo(function(){return"object"===(0,f.A)(r)?r.clearIcon:a||void 0},[r,a]);return{allowClear:o.useMemo(function(){return!i&&!!r&&(!!n.length||!!l)&&("combobox"!==c||""!==l)},[r,i,n.length,l,c]),clearIcon:o.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:u},"\xd7")}},A=o.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=o.useRef(null),n=o.useRef(null);return o.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(17233),C=n(40032),S=n(60343);let x=function(e,t,n){var o=(0,u.A)((0,u.A)({},e),n?t:{});return Object.keys(t).forEach(function(n){var r=t[n];"function"==typeof r&&(o[n]=function(){for(var t,o=arguments.length,a=Array(o),i=0;iM&&(a="".concat(i.slice(0,M),"..."))}var l=function(t){t&&t.stopPropagation(),L(e)};return"function"==typeof T?er(o,a,t,r,l):eo(e,a,t,r,l)},renderRest:function(e){if(!l.length)return null;var t="function"==typeof D?D(e):D;return"function"==typeof T?er(void 0,t,!1,!1,void 0,!0):eo({title:t},t,!1)},suffix:ea,itemKey:k,maxCount:O});return o.createElement("span",{className:"".concat(ee,"-wrap")},ei,!l.length&&!et&&o.createElement("span",{className:"".concat(ee,"-placeholder")},m))},T=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,a=e.inputRef,i=e.disabled,l=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,d=e.mode,f=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,y=e.maxLength,A=e.onInputKeyDown,w=e.onInputMouseDown,E=e.onInputChange,S=e.onInputPaste,x=e.onInputCompositionStart,O=e.onInputCompositionEnd,M=e.onInputBlur,R=e.title,N=o.useState(!1),k=(0,s.A)(N,2),z=k[0],D=k[1],T="combobox"===d,j=T||g,L=p[0],H=h||"";T&&b&&!z&&(H=b),o.useEffect(function(){T&&D(!1)},[T,b]);var B=("combobox"===d||!!f||!!g)&&!!H,K=void 0===R?P(L):R,F=o.useMemo(function(){return L?null:o.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:B?{visibility:"hidden"}:void 0},m)},[L,B,m,n]);return o.createElement("span",{className:"".concat(n,"-selection-wrap")},o.createElement("span",{className:"".concat(n,"-selection-search")},o.createElement(I,{ref:a,prefixCls:n,id:r,open:f,inputElement:t,disabled:i,autoFocus:l,autoComplete:c,editable:j,activeDescendantId:u,value:H,onKeyDown:A,onMouseDown:w,onChange:function(e){D(!0),E(e)},onPaste:S,onCompositionStart:x,onCompositionEnd:O,onBlur:M,tabIndex:v,attrs:(0,C.A)(e,!0),maxLength:T?y:void 0})),!T&&L?o.createElement("span",{className:"".concat(n,"-selection-item"),title:K,style:B?{visibility:"hidden"}:void 0},L.label):null,F)};var j=o.forwardRef(function(e,t){var n=(0,o.useRef)(null),r=(0,o.useRef)(!1),a=e.prefixCls,l=e.open,c=e.mode,u=e.showSearch,d=e.tokenWithEnter,f=e.disabled,p=e.prefix,m=e.autoClearSearchValue,v=e.onSearch,g=e.onSearchSubmit,h=e.onToggleOpen,b=e.onInputKeyDown,y=e.onInputBlur,A=e.domRef;o.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var C=w(0),S=(0,s.A)(C,2),x=S[0],O=S[1],I=(0,o.useRef)(null),M=function(e){!1!==v(e,!0,r.current)&&h(!0)},R={inputRef:n,onInputKeyDown:function(e){var t=e.which,o=n.current instanceof HTMLTextAreaElement;!o&&l&&(t===E.A.UP||t===E.A.DOWN)&&e.preventDefault(),b&&b(e),t!==E.A.ENTER||"tags"!==c||r.current||l||null==g||g(e.target.value),o&&!l&&~[E.A.UP,E.A.DOWN,E.A.LEFT,E.A.RIGHT].indexOf(t)||t&&![E.A.ESC,E.A.SHIFT,E.A.BACKSPACE,E.A.TAB,E.A.WIN_KEY,E.A.ALT,E.A.META,E.A.WIN_KEY_RIGHT,E.A.CTRL,E.A.SEMICOLON,E.A.EQUALS,E.A.CAPS_LOCK,E.A.CONTEXT_MENU,E.A.F1,E.A.F2,E.A.F3,E.A.F4,E.A.F5,E.A.F6,E.A.F7,E.A.F8,E.A.F9,E.A.F10,E.A.F11,E.A.F12].includes(t)&&h(!0)},onInputMouseDown:function(){O(!0)},onInputChange:function(e){var t=e.target.value;if(d&&I.current&&/[\r\n]/.test(I.current)){var n=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,I.current)}I.current=null,M(t)},onInputPaste:function(e){var t=e.clipboardData;I.current=(null==t?void 0:t.getData("text"))||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&M(e.target.value)},onInputBlur:y},N="multiple"===c||"tags"===c?o.createElement(D,(0,i.A)({},e,R)):o.createElement(T,(0,i.A)({},e,R));return o.createElement("div",{ref:A,className:"".concat(a,"-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=x();e.target===n.current||t||"combobox"===c&&f||e.preventDefault(),("combobox"===c||u&&t)&&l||(l&&!1!==m&&v("",!0,!1),h())}},p&&o.createElement("div",{className:"".concat(a,"-prefix")},p),N)}),L=n(56980),H=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],B=function(e){var t=+(!0!==e);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"}}},K=o.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),l=e.children,s=e.popupElement,f=e.animation,p=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,y=e.dropdownMatchSelectWidth,A=e.dropdownRender,w=e.dropdownAlign,E=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,O=e.onPopupMouseEnter,I=(0,d.A)(e,H),M="".concat(n,"-dropdown"),R=s;A&&(R=A(s));var N=o.useMemo(function(){return b||B(y)},[b,y]),P=f?"".concat(M,"-").concat(f):p,k="number"==typeof y,z=o.useMemo(function(){return k?null:!1===y?"minWidth":"width"},[y,k]),D=m;k&&(D=(0,u.A)((0,u.A)({},D),{},{width:y}));var T=o.useRef(null);return o.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null==(e=T.current)?void 0:e.popupElement}}}),o.createElement(L.A,(0,i.A)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:N,prefixCls:M,popupTransitionName:P,popup:o.createElement("div",{onMouseEnter:O},R),ref:T,stretch:z,popupAlign:w,popupVisible:r,getPopupContainer:E,popupClassName:a()(v,(0,c.A)({},"".concat(M,"-empty"),C)),popupStyle:D,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)}),F=n(93821);function W(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){return void 0!==e&&!Number.isNaN(e)}function _(e,t){var n=e||{},o=n.label,r=n.value,a=n.options,i=n.groupLabel,l=o||(t?"children":"label");return{label:l,value:r||"value",options:a||"options",groupLabel:i||l}}function G(e){var t=(0,u.A)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,m.Ay)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var X=function(e,t,n){if(!t||!t.length)return null;var o=!1,r=function e(t,n){var r=(0,F.A)(n),a=r[0],i=r.slice(1);if(!a)return[t];var c=t.split(a);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,l.A)(t),(0,l.A)(e(n,i)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?r.slice(0,n):r:null},Y=o.createContext(null);function q(e){var t=e.visible,n=e.values;return t?o.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,f.A)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var U=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],$=function(e){return"tags"===e||"multiple"===e},J=o.forwardRef(function(e,t){var n,r,f,m,E,C,S,x=e.id,O=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,N=e.direction,P=e.omitDomProps,k=e.displayValues,z=e.onDisplayValuesChange,D=e.emptyOptions,T=e.notFoundContent,L=void 0===T?"Not Found":T,H=e.onClear,B=e.mode,F=e.disabled,W=e.loading,_=e.getInputElement,G=e.getRawInputElement,J=e.open,Z=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ea=e.autoClearSearchValue,ei=e.onSearch,el=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.prefix,ed=e.suffixIcon,ef=e.clearIcon,ep=e.OptionList,em=e.animation,ev=e.transitionName,eg=e.dropdownStyle,eh=e.dropdownClassName,eb=e.dropdownMatchSelectWidth,ey=e.dropdownRender,eA=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,eC=e.getPopupContainer,eS=e.showAction,ex=void 0===eS?[]:eS,eO=e.onFocus,eI=e.onBlur,eM=e.onKeyUp,eR=e.onKeyDown,eN=e.onMouseDown,eP=(0,d.A)(e,U),ek=$(B),ez=(void 0!==M?M:ek)||"combobox"===B,eD=(0,u.A)({},eP);Q.forEach(function(e){delete eD[e]}),null==P||P.forEach(function(e){delete eD[e]});var eT=o.useState(!1),ej=(0,s.A)(eT,2),eL=ej[0],eH=ej[1];o.useEffect(function(){eH((0,g.A)())},[]);var eB=o.useRef(null),eK=o.useRef(null),eF=o.useRef(null),eW=o.useRef(null),eV=o.useRef(null),e_=o.useRef(!1),eG=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=o.useState(!1),n=(0,s.A)(t,2),r=n[0],a=n[1],i=o.useRef(null),l=function(){window.clearTimeout(i.current)};return o.useEffect(function(){return l},[]),[r,function(t,n){l(),i.current=window.setTimeout(function(){a(t),n&&n()},e)},l]}(),eX=(0,s.A)(eG,3),eY=eX[0],eq=eX[1],eU=eX[2];o.useImperativeHandle(t,function(){var e,t;return{focus:null==(e=eW.current)?void 0:e.focus,blur:null==(t=eW.current)?void 0:t.blur,scrollTo:function(e){var t;return null==(t=eV.current)?void 0:t.scrollTo(e)},nativeElement:eB.current||eK.current}});var eQ=o.useMemo(function(){if("combobox"!==B)return er;var e,t=null==(e=k[0])?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,k]),e$="combobox"===B&&"function"==typeof _&&_()||null,eJ="function"==typeof G&&G(),eZ=(0,h.xK)(eK,null==eJ||null==(m=eJ.props)?void 0:m.ref),e0=o.useState(!1),e1=(0,s.A)(e0,2),e2=e1[0],e4=e1[1];(0,v.A)(function(){e4(!0)},[]);var e3=(0,p.A)(!1,{defaultValue:Z,value:J}),e6=(0,s.A)(e3,2),e5=e6[0],e8=e6[1],e9=!!e2&&e5,e7=!L&&D;(F||e7&&e9&&"combobox"===B)&&(e9=!1);var te=!e7&&e9,tt=o.useCallback(function(e){var t=void 0!==e?e:!e9;F||(e8(t),e9!==t&&(null==ee||ee(t)))},[F,e9,e8,ee]),tn=o.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),to=o.useContext(Y)||{},tr=to.maxCount,ta=to.rawValues,ti=function(e,t,n){if(!(ek&&V(tr))||!((null==ta?void 0:ta.size)>=tr)){var o=!0,r=e;null==en||en(null);var a=X(e,ec,V(tr)?tr-ta.size:void 0),i=n?null:a;return"combobox"!==B&&i&&(r="",null==el||el(i),tt(!1),o=!1),ei&&eQ!==r&&ei(r,{source:t?"typing":"effect"}),o}};o.useEffect(function(){e9||ek||"combobox"===B||ti("",!1,!1)},[e9]),o.useEffect(function(){e5&&F&&e8(!1),F&&!e_.current&&eq(!1)},[F]);var tl=w(),tc=(0,s.A)(tl,2),tu=tc[0],ts=tc[1],td=o.useRef(!1),tf=o.useRef(!1),tp=[];o.useEffect(function(){return function(){tp.forEach(function(e){return clearTimeout(e)}),tp.splice(0,tp.length)}},[]);var tm=o.useState({}),tv=(0,s.A)(tm,2)[1];eJ&&(E=function(e){tt(e)}),n=function(){var e;return[eB.current,null==(e=eF.current)?void 0:e.getPopupElement()]},r=!!eJ,(f=o.useRef(null)).current={open:te,triggerOpen:tt,customizedTrigger:r},o.useEffect(function(){function e(e){if(null==(t=f.current)||!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 tg=o.useMemo(function(){return(0,u.A)((0,u.A)({},e),{},{notFoundContent:L,open:e9,triggerOpen:te,id:x,showSearch:ez,multiple:ek,toggleOpen:tt})},[e,L,te,e9,x,ez,ek,tt]),th=!!ed||W;th&&(C=o.createElement(b,{className:a()("".concat(O,"-arrow"),(0,c.A)({},"".concat(O,"-arrow-loading"),W)),customizeIcon:ed,customizeIconProps:{loading:W,searchValue:eQ,open:e9,focused:eY,showSearch:ez}}));var tb=y(O,function(){var e;null==H||H(),null==(e=eW.current)||e.focus(),z([],{type:"clear",values:k}),ti("",!1,!1)},k,eu,ef,F,eQ,B),ty=tb.allowClear,tA=tb.clearIcon,tw=o.createElement(ep,{ref:eV}),tE=a()(O,I,(0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(O,"-focused"),eY),"".concat(O,"-multiple"),ek),"".concat(O,"-single"),!ek),"".concat(O,"-allow-clear"),eu),"".concat(O,"-show-arrow"),th),"".concat(O,"-disabled"),F),"".concat(O,"-loading"),W),"".concat(O,"-open"),e9),"".concat(O,"-customize-input"),e$),"".concat(O,"-show-search"),ez)),tC=o.createElement(K,{ref:eF,disabled:F,prefixCls:O,visible:te,popupElement:tw,animation:em,transitionName:ev,dropdownStyle:eg,dropdownClassName:eh,direction:N,dropdownMatchSelectWidth:eb,dropdownRender:ey,dropdownAlign:eA,placement:ew,builtinPlacements:eE,getPopupContainer:eC,empty:D,getTriggerDOMNode:function(e){return eK.current||e},onPopupVisibleChange:E,onPopupMouseEnter:function(){tv({})}},eJ?o.cloneElement(eJ,{ref:eZ}):o.createElement(j,(0,i.A)({},e,{domRef:eK,prefixCls:O,inputElement:e$,ref:eW,id:x,prefix:es,showSearch:ez,autoClearSearchValue:ea,mode:B,activeDescendantId:eo,tagRender:R,values:k,open:e9,onToggleOpen:tt,activeValue:et,searchValue:eQ,onSearch:ti,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:tn,onInputBlur:function(){td.current=!1}})));return S=eJ?tC:o.createElement("div",(0,i.A)({className:tE},eD,{ref:eB,onMouseDown:function(e){var t,n=e.target,o=null==(t=eF.current)?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tp.indexOf(r);-1!==t&&tp.splice(t,1),eU(),eL||o.contains(document.activeElement)||null==(e=eW.current)||e.focus()});tp.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;c-=1){var u=a[c];if(!u.disabled){a.splice(c,1),i=u;break}}i&&z(a,{type:"remove",values:[i]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=S},[p,S,null==N?void 0:N.size]),F=function(e){e.preventDefault()},W=function(e){var t;null==(t=B.current)||t.scrollTo("number"==typeof e?{index:e}:e)},_=o.useCallback(function(e){return"combobox"!==m&&N.has(e)},[m,(0,l.A)(N).toString(),N.size]),G=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=H.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];Q(e);var n={source:t?"keyboard":"mouse"},o=H[e];if(!o)return void O(null,-1,n);O(o.value,e,n)};(0,o.useEffect)(function(){$(!1!==I?G(0):-1)},[H.length,v]);var J=o.useCallback(function(e){return"combobox"===m?String(e).toLowerCase()===v.toLowerCase():N.has(e)},[m,v,(0,l.A)(N).toString(),N.size]);(0,o.useEffect)(function(){var e,t=setTimeout(function(){if(!p&&f&&1===N.size){var e=Array.from(N)[0],t=H.findIndex(function(t){var n=t.data;return v?String(n.value).startsWith(v):n.value===e});-1!==t&&($(t),W(t))}});return f&&(null==(e=B.current)||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,v]);var Z=function(e){void 0!==e&&M(e,{selected:!N.has(e)}),p||g(!1)};if(o.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case E.A.N:case E.A.P:case E.A.UP:case E.A.DOWN:var o=0;if(t===E.A.UP?o=-1:t===E.A.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===E.A.N?o=1:t===E.A.P&&(o=-1)),0!==o){var r=G(U+o,o);W(r),$(r,!0)}break;case E.A.TAB:case E.A.ENTER:var a,i=H[U];!i||null!=i&&null!=(a=i.data)&&a.disabled||K?Z(void 0):Z(i.value),f&&e.preventDefault();break;case E.A.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){W(e)}}}),0===H.length)return o.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(L,"-empty"),onMouseDown:F},h);var ee=Object.keys(P).map(function(e){return P[e]}),ei=function(e){return e.label};function el(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ec=function(e){var t=H[e];if(!t)return null;var n=t.data||{},r=n.value,a=t.group,l=(0,C.A)(n,!0),c=ei(t);return t?o.createElement("div",(0,i.A)({"aria-label":"string"!=typeof c||a?null:c},l,{key:e},el(t,e),{"aria-selected":J(r)}),r):null},eu={role:"listbox",id:"".concat(u,"_list")};return o.createElement(o.Fragment,null,k&&o.createElement("div",(0,i.A)({},eu,{style:{height:0,width:0,overflow:"hidden"}}),ec(U-1),ec(U),ec(U+1)),o.createElement(eo.A,{itemKey:"key",ref:B,data:H,height:D,itemHeight:T,fullHeight:!1,onMouseDown:F,onScroll:y,virtual:k,direction:z,innerProps:k?null:eu},function(e,t){var n=e.group,r=e.groupOption,l=e.data,u=e.label,s=e.value,f=l.key;if(n){var p,m=null!=(p=l.title)?p:ea(u)?u.toString():void 0;return o.createElement("div",{className:a()(L,"".concat(L,"-group"),l.className),title:m},void 0!==u?u:f)}var v=l.disabled,g=l.title,h=(l.children,l.style),y=l.className,A=(0,d.A)(l,er),w=(0,en.A)(A,ee),E=_(s),S=v||!E&&K,x="".concat(L,"-option"),O=a()(L,x,y,(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),U===t&&!S),"".concat(x,"-disabled"),S),"".concat(x,"-selected"),E)),I=ei(e),M=!R||"function"==typeof R||E,N="number"==typeof I?I:I||s,P=ea(N)?N.toString():void 0;return void 0!==g&&(P=g),o.createElement("div",(0,i.A)({},(0,C.A)(w),k?{}:el(e,t),{"aria-selected":J(s),className:O,title:P,onMouseMove:function(){U===t||S||$(t)},onClick:function(){S||Z(s)},style:h}),o.createElement("div",{className:"".concat(x,"-content")},"function"==typeof j?j(e,{index:t}):N),o.isValidElement(R)||E,M&&o.createElement(b,{className:"".concat(L,"-option-state"),customizeIcon:R,customizeIconProps:{value:s,disabled:S,isSelected:E}},E?"✓":null))}))});let el=function(e,t){var n=o.useRef({values:new Map,options:new Map});return[o.useMemo(function(){var o=n.current,r=o.values,a=o.options,i=e.map(function(e){if(void 0===e.label){var t;return(0,u.A)((0,u.A)({},e),{},{label:null==(t=r.get(e.value))?void 0:t.label})}return e}),l=new Map,c=new Map;return i.forEach(function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||a.get(e.value))}),n.current.values=l,n.current.options=c,i},[e,t]),o.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function ec(e,t){return M(e).join("").toUpperCase().includes(t)}var eu=n(71367),es=0,ed=(0,eu.A)(),ef=n(63715),ep=["children","value"],em=["children"];function ev(e){var t=o.useRef();return t.current=e,o.useCallback(function(){return t.current.apply(t,arguments)},[])}var eg=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eh=["inputValue"],eb=o.forwardRef(function(e,t){var n,r,a,m,v,g=e.id,h=e.mode,b=e.prefixCls,y=e.backfill,A=e.fieldNames,w=e.inputValue,E=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,x=void 0===S||S,O=e.onSelect,I=e.onDeselect,R=e.dropdownMatchSelectWidth,N=void 0===R||R,P=e.filterOption,k=e.filterSort,z=e.optionFilterProp,D=e.optionLabelProp,T=e.options,j=e.optionRender,L=e.children,H=e.defaultActiveFirstOption,B=e.menuItemSelectedIcon,K=e.virtual,F=e.direction,V=e.listHeight,X=void 0===V?200:V,q=e.listItemHeight,U=void 0===q?20:q,Q=e.labelRender,Z=e.value,ee=e.defaultValue,et=e.labelInValue,en=e.onChange,eo=e.maxCount,er=(0,d.A)(e,eg),ea=(n=o.useState(),a=(r=(0,s.A)(n,2))[0],m=r[1],o.useEffect(function(){var e;m("rc_select_".concat((ed?(e=es,es+=1):e="TEST_OR_SSR",e)))},[]),g||a),eu=$(h),eb=!!(!T&&L),ey=o.useMemo(function(){return(void 0!==P||"combobox"!==h)&&P},[P,h]),eA=o.useMemo(function(){return _(A,eb)},[JSON.stringify(A),eb]),ew=(0,p.A)("",{value:void 0!==E?E:w,postState:function(e){return e||""}}),eE=(0,s.A)(ew,2),eC=eE[0],eS=eE[1],ex=o.useMemo(function(){var e=T;T||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ef.A)(t).map(function(t,r){if(!o.isValidElement(t)||!t.type)return null;var a,i,l,c,s,f=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,d.A)(m,em);return n||!f?(a=t.key,l=(i=t.props).children,c=i.value,s=(0,d.A)(i,ep),(0,u.A)({key:a,value:void 0!==c?c:a,children:l},s)):(0,u.A)((0,u.A)({key:"__RC_SELECT_GRP__".concat(null===p?r:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(L));var t=new Map,n=new Map,r=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return!function e(o){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i0?e(t.options):t.options}):t})}(eW):eW},[eW,k,eC]),e_=o.useMemo(function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=_(n,!1),i=a.label,l=a.value,c=a.options,u=a.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var a=t[u];void 0===a&&o&&(a=t.label),r.push({key:W(t,r.length),group:!0,data:t,label:a}),e(t[c],!0)}else{var s=t[l];r.push({key:W(t,r.length),groupOption:n,data:t,label:t[i],value:s})}})}(e,!1),r}(eV,{fieldNames:eA,childrenAsData:eb})},[eV,eA,eb]),eG=function(e){var t=eR(e);if(ez(t),en&&(t.length!==ej.length||t.some(function(e,t){var n;return(null==(n=ej[t])?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=et?t:t.map(function(e){return e.value}),o=t.map(function(e){return G(eL(e.value))});en(eu?n:n[0],eu?o:o[0])}},eX=o.useState(null),eY=(0,s.A)(eX,2),eq=eY[0],eU=eY[1],eQ=o.useState(0),e$=(0,s.A)(eQ,2),eJ=e$[0],eZ=e$[1],e0=void 0!==H?H:"combobox"!==h,e1=o.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eZ(t),y&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[y,h]),e2=function(e,t,n){var o=function(){var t,n=eL(e);return[et?{label:null==n?void 0:n[eA.label],value:e,key:null!=(t=null==n?void 0:n.key)?t:e}:e,G(n)]};if(t&&O){var r=o(),a=(0,s.A)(r,2);O(a[0],a[1])}else if(!t&&I&&"clear"!==n){var i=o(),l=(0,s.A)(i,2);I(l[0],l[1])}},e4=ev(function(e,t){var n=!eu||t.selected;eG(n?eu?[].concat((0,l.A)(ej),[e]):[e]:ej.filter(function(t){return t.value!==e})),e2(e,n),"combobox"===h?eU(""):(!$||x)&&(eS(""),eU(""))}),e3=o.useMemo(function(){var e=!1!==K&&!1!==N;return(0,u.A)((0,u.A)({},ex),{},{flattenOptions:e_,onActiveValue:e1,defaultActiveFirstOption:e0,onSelect:e4,menuItemSelectedIcon:B,rawValues:eB,fieldNames:eA,virtual:e,direction:F,listHeight:X,listItemHeight:U,childrenAsData:eb,maxCount:eo,optionRender:j})},[eo,ex,e_,e1,e0,e4,B,eB,eA,K,N,F,X,U,eb,j]);return o.createElement(Y.Provider,{value:e3},o.createElement(J,(0,i.A)({},er,{id:ea,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:eh,mode:h,displayValues:eH,onDisplayValuesChange:function(e,t){eG(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){e2(e.value,!1,n)})},direction:F,searchValue:eC,onSearch:function(e,t){if(eS(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(eG(Array.from(new Set([].concat((0,l.A)(eB),[n])))),e2(n,!0),eS(""));return}"blur"!==t.source&&("combobox"===h&&eG(e),null==C||C(e))},autoClearSearchValue:x,onSearchSplit:function(e){var t=e;"tags"!==h&&(t=e.map(function(e){var t=eI.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.A)(eB),(0,l.A)(t))));eG(n),n.forEach(function(e){e2(e,!0)})},dropdownMatchSelectWidth:N,OptionList:ei,emptyOptions:!e_.length,activeValue:eq,activeDescendantId:"".concat(ea,"_list_").concat(eJ)})))});eb.Option=ee,eb.OptGroup=Z;var ey=n(9130),eA=n(93666),ew=n(31776),eE=n(79007),eC=n(15982),eS=n(29353),ex=n(44494),eO=n(68151),eI=n(9836),eM=n(63568),eR=n(63893),eN=n(96936),eP=n(70042),ek=n(18184),ez=n(67831),eD=n(45431),eT=n(61388),ej=n(53272),eL=n(52770);let eH=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 eB=n(99841);function eK(e,t){let{componentCls:n}=e,o=t?"".concat(n,"-").concat(t):"",r={["".concat(n,"-multiple").concat(o)]:{fontSize:e.fontSize,["".concat(n,"-selector")]:{["".concat(n,"-show-search&")]:{cursor:"text"}},["\n &".concat(n,"-show-arrow ").concat(n,"-selector,\n &").concat(n,"-allow-clear ").concat(n,"-selector\n ")]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[((e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,r="".concat(n,"-selection-overflow"),a=e.multipleSelectItemHeight,i=(e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e;return e.calc(n).sub(t).div(2).sub(o).equal()})(e),l=t?"".concat(n,"-").concat(t):"",c=(e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=e.max(e.calc(n).sub(o).equal(),0),i=e.max(e.calc(a).sub(r).equal(),0);return{basePadding:a,containerPadding:i,itemHeight:(0,eB.zA)(t),itemLineHeight:(0,eB.zA)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}})(e);return{["".concat(n,"-multiple").concat(l)]:Object.assign(Object.assign({},(e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:r,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:s}=e;return{["".concat(t,"-selection-overflow")]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},["".concat(t,"-selection-item")]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:s,borderRadius:o,cursor:"default",transition:"font-size ".concat(r,", line-height ").concat(r,", height ").concat(r),marginInlineEnd:e.calc(s).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),["".concat(t,"-disabled&")]:{color:i,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ek.Nk)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",["> ".concat(n)]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}})(e)),{["".concat(n,"-selector")]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,["".concat(n,"-disabled&")]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"".concat((0,eB.zA)(o)," 0"),lineHeight:(0,eB.zA)(a),visibility:"hidden",content:'"\\a0"'}},["".concat(n,"-selection-item")]:{height:c.itemHeight,lineHeight:(0,eB.zA)(c.itemLineHeight)},["".concat(n,"-selection-wrap")]:{alignSelf:"flex-start","&:after":{lineHeight:(0,eB.zA)(a),marginBlock:o}},["".concat(n,"-prefix")]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},["".concat(r,"-item + ").concat(r,"-item,\n ").concat(n,"-prefix + ").concat(n,"-selection-wrap\n ")]:{["".concat(n,"-selection-search")]:{marginInlineStart:0},["".concat(n,"-selection-placeholder")]:{insetInlineStart:0}},["".concat(r,"-item-suffix")]:{minHeight:c.itemHeight,marginBlock:o},["".concat(n,"-selection-search")]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:(0,eB.zA)(a),transition:"all ".concat(e.motionDurationSlow)},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},["".concat(n,"-selection-placeholder")]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow)}})}})(e,t),r]}function eF(e,t){let{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?"".concat(n,"-").concat(t):"";return{["".concat(n,"-single").concat(i)]:{fontSize:e.fontSize,height:e.controlHeight,["".concat(n,"-selector")]:Object.assign(Object.assign({},(0,ek.dF)(e,!0)),{display:"flex",borderRadius:r,flex:"1 1 auto",["".concat(n,"-selection-wrap:after")]:{lineHeight:(0,eB.zA)(a)},["".concat(n,"-selection-search")]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},["\n ".concat(n,"-selection-item,\n ").concat(n,"-selection-placeholder\n ")]:{display:"block",padding:0,lineHeight:(0,eB.zA)(a),transition:"all ".concat(e.motionDurationSlow,", visibility 0s"),alignSelf:"center"},["".concat(n,"-selection-placeholder")]:{transition:"none",pointerEvents:"none"},[["&:after","".concat(n,"-selection-item:empty:after"),"".concat(n,"-selection-placeholder:empty:after")].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),["\n &".concat(n,"-show-arrow ").concat(n,"-selection-item,\n &").concat(n,"-show-arrow ").concat(n,"-selection-search,\n &").concat(n,"-show-arrow ").concat(n,"-selection-placeholder\n ")]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},["&".concat(n,"-open ").concat(n,"-selection-item")]:{color:e.colorTextPlaceholder},["&:not(".concat(n,"-customize-input)")]:{["".concat(n,"-selector")]:{width:"100%",height:"100%",alignItems:"center",padding:"0 ".concat((0,eB.zA)(o)),["".concat(n,"-selection-search-input")]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:(0,eB.zA)(a)}}},["&".concat(n,"-customize-input")]:{["".concat(n,"-selector")]:{"&:after":{display:"none"},["".concat(n,"-selection-search")]:{position:"static",width:"100%"},["".concat(n,"-selection-placeholder")]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:"0 ".concat((0,eB.zA)(o)),"&:after":{display:"none"}}}}}}}let eW=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(t.borderColor),background:e.selectorBg},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:t.hoverBorderHover},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:t.activeBorderColor,boxShadow:"0 0 0 ".concat((0,eB.zA)(r)," ").concat(t.activeOutlineColor),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},eV=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},eW(e,t))}),e_=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{background:t.bg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),color:t.color},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{background:t.hoverBg},["".concat(n,"-focused& ").concat(n,"-selector")]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},eG=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},e_(e,t))}),eX=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{borderWidth:"".concat((0,eB.zA)(e.lineWidth)," 0"),borderStyle:"".concat(e.lineType," none"),borderColor:"transparent transparent ".concat(t.borderColor," transparent"),background:e.selectorBg,borderRadius:0},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.hoverBorderHover," transparent")},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.activeBorderColor," transparent"),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},eY=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},eX(e,t))}),eq=(0,eD.OF)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,eT.oX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[(e=>{let{componentCls:t}=e;return[{[t]:{["&".concat(t,"-in-form-item")]:{width:"100%"}}},(e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:o,iconCls:r}=e,a={["".concat(n,"-clear")]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},(0,ek.dF)(e)),{position:"relative",display:"inline-flex",cursor:"pointer",["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:Object.assign(Object.assign({},(e=>{let{componentCls:t}=e;return{position:"relative",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),input:{cursor:"pointer"},["".concat(t,"-show-search&")]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},["".concat(t,"-disabled&")]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-selection-search-input")]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}})(e)),["".concat(n,"-selection-item")]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},ek.L9),{["> ".concat(t,"-typography")]:{display:"inline"}}),["".concat(n,"-selection-placeholder")]:Object.assign(Object.assign({},ek.L9),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),["".concat(n,"-arrow")]:Object.assign(Object.assign({},(0,ek.Nk)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:"opacity ".concat(e.motionDurationSlow," ease"),[r]:{verticalAlign:"top",transition:"transform ".concat(e.motionDurationSlow),"> svg":{verticalAlign:"top"},["&:not(".concat(n,"-suffix)")]:{pointerEvents:"auto"}},["".concat(n,"-disabled &")]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),["".concat(n,"-selection-wrap")]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},["".concat(n,"-prefix")]:{flex:"none",marginInlineEnd:e.selectAffixPadding},["".concat(n,"-clear")]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:"color ".concat(e.motionDurationMid," ease, opacity ").concat(e.motionDurationSlow," ease"),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a}),["".concat(n,"-status")]:{"&-error, &-warning, &-success, &-validating":{["&".concat(n,"-has-feedback")]:{["".concat(n,"-clear")]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}}}})(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[eF(e),eF((0,eT.oX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{["".concat(t,"-single").concat(t,"-sm")]:{["&:not(".concat(t,"-customize-input)")]:{["".concat(t,"-selector")]:{padding:"0 ".concat((0,eB.zA)(n))},["&".concat(t,"-show-arrow ").concat(t,"-selection-search")]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},["\n &".concat(t,"-show-arrow ").concat(t,"-selection-item,\n &").concat(t,"-show-arrow ").concat(t,"-selection-placeholder\n ")]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},eF((0,eT.oX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(e=>{let{componentCls:t}=e,n=(0,eT.oX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eT.oX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[eK(e),eK(n,"sm"),{["".concat(t,"-multiple").concat(t,"-sm")]:{["".concat(t,"-selection-placeholder")]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},["".concat(t,"-selection-search")]:{marginInlineStart:2}}},eK(o,"lg")]})(e),(e=>{let{antCls:t,componentCls:n}=e,o="".concat(n,"-item"),r="&".concat(t,"-slide-up-enter").concat(t,"-slide-up-enter-active"),a="&".concat(t,"-slide-up-appear").concat(t,"-slide-up-appear-active"),i="&".concat(t,"-slide-up-leave").concat(t,"-slide-up-leave-active"),l="".concat(n,"-dropdown-placement-"),c="".concat(o,"-option-selected");return[{["".concat(n,"-dropdown")]:Object.assign(Object.assign({},(0,ek.dF)(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,["\n ".concat(r).concat(l,"bottomLeft,\n ").concat(a).concat(l,"bottomLeft\n ")]:{animationName:ej.ox},["\n ".concat(r).concat(l,"topLeft,\n ").concat(a).concat(l,"topLeft,\n ").concat(r).concat(l,"topRight,\n ").concat(a).concat(l,"topRight\n ")]:{animationName:ej.nP},["".concat(i).concat(l,"bottomLeft")]:{animationName:ej.vR},["\n ".concat(i).concat(l,"topLeft,\n ").concat(i).concat(l,"topRight\n ")]:{animationName:ej.YU},"&-hidden":{display:"none"},[o]:Object.assign(Object.assign({},eH(e)),{cursor:"pointer",transition:"background ".concat(e.motionDurationSlow," ease"),borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ek.L9),"&-state":{flex:"none",display:"flex",alignItems:"center"},["&-active:not(".concat(o,"-option-disabled)")]:{backgroundColor:e.optionActiveBg},["&-selected:not(".concat(o,"-option-disabled)")]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,["".concat(o,"-option-state")]:{color:e.colorPrimary}},"&-disabled":{["&".concat(o,"-option-selected")]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},eH(e)),{color:e.colorTextDisabled})}),["".concat(c,":has(+ ").concat(c,")")]:{borderEndStartRadius:0,borderEndEndRadius:0,["& + ".concat(c)]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,ej._j)(e,"slide-up"),(0,ej._j)(e,"slide-down"),(0,eL.Mh)(e,"move-up"),(0,eL.Mh)(e,"move-down")]})(e),{["".concat(t,"-rtl")]:{direction:"rtl"}},(0,ez.G)(e,{borderElCls:"".concat(t,"-selector"),focusElCls:"".concat(t,"-focused")})]})(o),(e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},(e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},eW(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),eV(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),eV(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}))(e)),(e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},e_(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),eG(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),eG(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.colorBgContainer,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}})}))(e)),(e=>({"&-borderless":{["".concat(e.componentCls,"-selector")]:{background:"transparent",border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," transparent")},["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)},["&".concat(e.componentCls,"-status-error")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorError}},["&".concat(e.componentCls,"-status-warning")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorWarning}}}}))(e)),(e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},eX(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),eY(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),eY(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}))(e))}))(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:a,controlHeightLG:i,paddingXXS:l,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h,colorPrimaryHover:b,colorPrimary:y,controlOutline:A}=e,w=2*l,E=2*o,C=Math.min(r-w,r-E),S=Math.min(a-w,a-E),x=Math.min(i-w,i-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:"".concat((r-t*n)/2,"px ").concat(c,"px"),optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:i,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:C,multipleItemHeightSM:S,multipleItemHeightLG:x,multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:A,selectAffixPadding:l}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var eU=n(93084),eQ=n(51754),e$=n(48776),eJ=n(58464),eZ=n(51280),e0=n(44200),e1=n(9184),e2=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 e4="SECRET_COMBOBOX_MODE_DO_NOT_USE",e3=o.forwardRef((e,t)=>{var n,r,i,l,c;let u,{prefixCls:s,bordered:d,className:f,rootClassName:p,getPopupContainer:m,popupClassName:v,dropdownClassName:g,listHeight:h=256,placement:b,listItemHeight:y,size:A,disabled:w,notFoundContent:E,status:C,builtinPlacements:S,dropdownMatchSelectWidth:x,popupMatchSelectWidth:O,direction:I,style:M,allowClear:R,variant:N,dropdownStyle:P,transitionName:k,tagRender:z,maxCount:D,prefix:T,dropdownRender:j,popupRender:L,onDropdownVisibleChange:H,onOpenChange:B,styles:K,classNames:F}=e,W=e2(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix","dropdownRender","popupRender","onDropdownVisibleChange","onOpenChange","styles","classNames"]),{getPopupContainer:V,getPrefixCls:_,renderEmpty:G,direction:X,virtual:Y,popupMatchSelectWidth:q,popupOverflow:U}=o.useContext(eC.QO),{showSearch:Q,style:$,styles:J,className:Z,classNames:ee}=(0,eC.TP)("select"),[,et]=(0,eP.Ay)(),eo=null!=y?y:null==et?void 0:et.controlHeight,er=_("select",s),ea=_(),ei=null!=I?I:X,{compactSize:el,compactItemClassnames:ec}=(0,eN.RQ)(er,ei),[eu,es]=(0,eR.A)("select",N,d),ed=(0,eO.A)(er),[ef,ep,em]=eq(er,ed),ev=o.useMemo(()=>{let{mode:t}=e;if("combobox"!==t)return t===e4?"combobox":t},[e.mode]),eg="multiple"===ev||"tags"===ev,eh=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),ew=null!=(n=null!=O?O:x)?n:q,ek=(null==(r=null==K?void 0:K.popup)?void 0:r.root)||(null==(i=J.popup)?void 0:i.root)||P,ez=function(e){return o.useMemo(()=>{if(e)return function(){for(var t=arguments.length,n=Array(t),r=0;rnull!==t||c||f?o.createElement(o.Fragment,null,!1!==s&&e,c&&d):null,g=null;if(void 0!==t)g=v(t);else if(i)g=v(o.createElement(eZ.A,{spin:!0}));else{let e="".concat(u,"-suffix");g=t=>{let{open:n,showSearch:r}=t;return n&&r?v(o.createElement(e0.A,{className:e})):v(o.createElement(eJ.A,{className:e}))}}let h=null;h=void 0!==r?r:l?o.createElement(eU.A,null):null;return{clearIcon:m,suffixIcon:g,itemIcon:h,removeIcon:void 0!==a?a:o.createElement(e$.A,null)}}(Object.assign(Object.assign({},W),{multiple:eg,hasFeedback:eT,feedbackIcon:eL,showSuffixIcon:eh,prefixCls:er,componentName:"Select"})),eV=(0,en.A)(W,["suffixIcon","itemIcon"]),e_=a()((null==(l=null==F?void 0:F.popup)?void 0:l.root)||(null==(c=null==ee?void 0:ee.popup)?void 0:c.root)||v||g,{["".concat(er,"-dropdown-").concat(ei)]:"rtl"===ei},p,ee.root,null==F?void 0:F.root,em,ed,ep),eG=(0,eI.A)(e=>{var t;return null!=(t=null!=A?A:el)?t:e}),eX=o.useContext(ex.A),eY=a()({["".concat(er,"-lg")]:"large"===eG,["".concat(er,"-sm")]:"small"===eG,["".concat(er,"-rtl")]:"rtl"===ei,["".concat(er,"-").concat(eu)]:es,["".concat(er,"-in-form-item")]:ej},(0,eE.L)(er,eH,eT),ec,Z,f,ee.root,null==F?void 0:F.root,p,em,ed,ep),e3=o.useMemo(()=>void 0!==b?b:"rtl"===ei?"bottomRight":"bottomLeft",[b,ei]),[e6]=(0,ey.YK)("SelectLike",null==ek?void 0:ek.zIndex);return ef(o.createElement(eb,Object.assign({ref:t,virtual:Y,showSearch:Q},eV,{style:Object.assign(Object.assign(Object.assign(Object.assign({},J.root),null==K?void 0:K.root),$),M),dropdownMatchSelectWidth:ew,transitionName:(0,eA.b)(ea,"slide-up",k),builtinPlacements:S||(e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",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]})}})(U),listHeight:h,listItemHeight:eo,mode:ev,prefixCls:er,placement:e3,direction:ei,prefix:T,suffixIcon:eB,menuItemSelectedIcon:eK,removeIcon:eF,allowClear:!0===R?{clearIcon:eW}:R,notFoundContent:u,className:eY,getPopupContainer:m||V,dropdownClassName:e_,disabled:null!=w?w:eX,dropdownStyle:Object.assign(Object.assign({},ek),{zIndex:e6}),maxCount:eg?D:void 0,tagRender:eg?z:void 0,dropdownRender:ez,onDropdownVisibleChange:B||H})))}),e6=(0,ew.A)(e3,"dropdownAlign");e3.SECRET_COMBOBOX_MODE_DO_NOT_USE=e4,e3.Option=ee,e3.OptGroup=Z,e3._InternalPanelDoNotUseOrYouWillBeFired=e6;let e5=e3},35376:(e,t,n)=>{n.d(t,{A:()=>o});let o=e=>({[e.componentCls]:{["".concat(e.antCls,"-motion-collapse-legacy")]:{overflow:"hidden","&-active":{transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}},["".concat(e.antCls,"-motion-collapse")]:{overflow:"hidden",transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}}})},36768:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(12115),r=n(29300),a=n.n(r),i=n(15982),l=n(8530),c=n(60872),u=n(70042),s=n(45431),d=n(61388);let f=(0,s.OF)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e;return(e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:o,fontSize:a,lineHeight:i,textAlign:"center",["".concat(t,"-image")]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-footer")]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-image")]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,["".concat(t,"-image")]:{height:e.emptyImgHeightSM}}}}})((0,d.oX)(e,{emptyImgCls:"".concat(t,"-img"),emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()}))});var p=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=o.createElement(()=>{let[,e]=(0,u.Ay)(),[t]=(0,l.A)("Empty"),n=new c.Y(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.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"}),o.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)"}),o.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"}),o.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"})),o.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"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),v=o.createElement(()=>{let[,e]=(0,u.Ay)(),[t]=(0,l.A)("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:i}=e,{borderColor:s,shadowColor:d,contentColor:f}=(0,o.useMemo)(()=>({borderColor:new c.Y(n).onBackground(i).toHexString(),shadowColor:new c.Y(r).onBackground(i).toHexString(),contentColor:new c.Y(a).onBackground(i).toHexString()}),[n,r,a,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:s},o.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"}),o.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:f}))))},null),g=e=>{var t;let{className:n,rootClassName:r,prefixCls:c,image:u,description:s,children:d,imageStyle:g,style:h,classNames:b,styles:y}=e,A=p(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:w,direction:E,className:C,style:S,classNames:x,styles:O,image:I}=(0,i.TP)("empty"),M=w("empty",c),[R,N,P]=f(M),[k]=(0,l.A)("Empty"),z=void 0!==s?s:null==k?void 0:k.description,D="string"==typeof z?z:"empty",T=null!=(t=null!=u?u:I)?t:m,j=null;return j="string"==typeof T?o.createElement("img",{draggable:!1,alt:D,src:T}):T,R(o.createElement("div",Object.assign({className:a()(N,P,M,C,{["".concat(M,"-normal")]:T===v,["".concat(M,"-rtl")]:"rtl"===E},n,r,x.root,null==b?void 0:b.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},O.root),S),null==y?void 0:y.root),h)},A),o.createElement("div",{className:a()("".concat(M,"-image"),x.image,null==b?void 0:b.image),style:Object.assign(Object.assign(Object.assign({},g),O.image),null==y?void 0:y.image)},j),z&&o.createElement("div",{className:a()("".concat(M,"-description"),x.description,null==b?void 0:b.description),style:Object.assign(Object.assign({},O.description),null==y?void 0:y.description)},z),d&&o.createElement("div",{className:a()("".concat(M,"-footer"),x.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign({},O.footer),null==y?void 0:y.footer)},d)))};g.PRESENTED_IMAGE_DEFAULT=m,g.PRESENTED_IMAGE_SIMPLE=v;let h=g},44200:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(32110),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},48958:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},52770:(e,t,n)=>{n.d(t,{Mh:()=>f});var o=n(99841),r=n(64717);let a=new o.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new o.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new o.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new o.Mo("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new o.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new o.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new o.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new o.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:u,outKeyframes:s}},f=(e,t)=>{let{antCls:n}=e,o="".concat(n,"-").concat(t),{inKeyframes:a,outKeyframes:i}=d[t];return[(0,r.b)(o,a,i,e.motionDurationMid),{["\n ".concat(o,"-enter,\n ").concat(o,"-appear\n ")]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},["".concat(o,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},53272:(e,t,n)=>{n.d(t,{YU:()=>c,_j:()=>f,nP:()=>l,ox:()=>a,vR:()=>i});var o=n(99841),r=n(64717);let a=new o.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),i=new o.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new o.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),c=new o.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u=new o.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),s=new o.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d={"slide-up":{inKeyframes:a,outKeyframes:i},"slide-down":{inKeyframes:l,outKeyframes:c},"slide-left":{inKeyframes:u,outKeyframes:s},"slide-right":{inKeyframes:new o.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),outKeyframes:new o.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}})}},f=(e,t)=>{let{antCls:n}=e,o="".concat(n,"-").concat(t),{inKeyframes:a,outKeyframes:i}=d[t];return[(0,r.b)(o,a,i,e.motionDurationMid),{["\n ".concat(o,"-enter,\n ").concat(o,"-appear\n ")]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},["".concat(o,"-leave")]:{animationTimingFunction:e.motionEaseInQuint}}]}},58464:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(48958),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},60343:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(79630),r=n(27061),a=n(21858),i=n(20235),l=n(12115),c=n(29300),u=n.n(c),s=n(32417),d=n(49172),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,m=l.forwardRef(function(e,t){var n,a=e.prefixCls,c=e.invalidate,d=e.item,m=e.renderItem,v=e.responsive,g=e.responsiveDisabled,h=e.registerSize,b=e.itemKey,y=e.className,A=e.style,w=e.children,E=e.display,C=e.order,S=e.component,x=(0,i.A)(e,f),O=v&&!E;l.useEffect(function(){return function(){h(b,null)}},[]);var I=m&&d!==p?m(d,{index:C}):w;c||(n={opacity:+!O,height:O?0:p,overflowY:O?"hidden":p,order:v?C:p,pointerEvents:O?"none":p,position:O?"absolute":p});var M={};O&&(M["aria-hidden"]=!0);var R=l.createElement(void 0===S?"div":S,(0,o.A)({className:u()(!c&&a,y),style:(0,r.A)((0,r.A)({},n),A)},M,x,{ref:t}),I);return v&&(R=l.createElement(s.A,{onResize:function(e){h(b,e.offsetWidth)},disabled:g},R)),R});m.displayName="Item";var v=n(18885),g=n(47650),h=n(16962);function b(e,t){var n=l.useState(t),o=(0,a.A)(n,2),r=o[0],i=o[1];return[r,(0,v.A)(function(t){e(function(){i(t)})})]}var y=l.createContext(null),A=["component"],w=["className"],E=["className"],C=l.forwardRef(function(e,t){var n=l.useContext(y);if(!n){var r=e.component,a=(0,i.A)(e,A);return l.createElement(void 0===r?"div":r,(0,o.A)({},a,{ref:t}))}var c=n.className,s=(0,i.A)(n,w),d=e.className,f=(0,i.A)(e,E);return l.createElement(y.Provider,{value:null},l.createElement(m,(0,o.A)({ref:t,className:u()(c,d)},s,f)))});C.displayName="RawItem";var S=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],x="responsive",O="invalidate";function I(e){return"+ ".concat(e.length," ...")}var M=l.forwardRef(function(e,t){var n,c=e.prefixCls,f=void 0===c?"rc-overflow":c,p=e.data,v=void 0===p?[]:p,A=e.renderItem,w=e.renderRawItem,E=e.itemKey,C=e.itemWidth,M=void 0===C?10:C,R=e.ssr,N=e.style,P=e.className,k=e.maxCount,z=e.renderRest,D=e.renderRawRest,T=e.suffix,j=e.component,L=e.itemComponent,H=e.onVisibleChange,B=(0,i.A)(e,S),K="full"===R,F=(n=l.useRef(null),function(e){if(!n.current){n.current=[];var t=function(){(0,g.unstable_batchedUpdates)(function(){n.current.forEach(function(e){e()}),n.current=null})};if("undefined"==typeof MessageChannel)(0,h.A)(t);else{var o=new MessageChannel;o.port1.onmessage=function(){return t()},o.port2.postMessage(void 0)}}n.current.push(e)}),W=b(F,null),V=(0,a.A)(W,2),_=V[0],G=V[1],X=_||0,Y=b(F,new Map),q=(0,a.A)(Y,2),U=q[0],Q=q[1],$=b(F,0),J=(0,a.A)($,2),Z=J[0],ee=J[1],et=b(F,0),en=(0,a.A)(et,2),eo=en[0],er=en[1],ea=b(F,0),ei=(0,a.A)(ea,2),el=ei[0],ec=ei[1],eu=(0,l.useState)(null),es=(0,a.A)(eu,2),ed=es[0],ef=es[1],ep=(0,l.useState)(null),em=(0,a.A)(ep,2),ev=em[0],eg=em[1],eh=l.useMemo(function(){return null===ev&&K?Number.MAX_SAFE_INTEGER:ev||0},[ev,_]),eb=(0,l.useState)(!1),ey=(0,a.A)(eb,2),eA=ey[0],ew=ey[1],eE="".concat(f,"-item"),eC=Math.max(Z,eo),eS=k===x,ex=v.length&&eS,eO=k===O,eI=ex||"number"==typeof k&&v.length>k,eM=(0,l.useMemo)(function(){var e=v;return ex?e=null===_&&K?v:v.slice(0,Math.min(v.length,X/M)):"number"==typeof k&&(e=v.slice(0,k)),e},[v,M,_,k,ex]),eR=(0,l.useMemo)(function(){return ex?v.slice(eh+1):v.slice(eM.length)},[v,eM,ex,eh]),eN=(0,l.useCallback)(function(e,t){var n;return"function"==typeof E?E(e):null!=(n=E&&(null==e?void 0:e[E]))?n:t},[E]),eP=(0,l.useCallback)(A||function(e){return e},[A]);function ek(e,t,n){(ev!==e||void 0!==t&&t!==ed)&&(eg(e),n||(ew(eX){ek(o-1,e-r-el+eo);break}}T&&eD(0)+el>X&&ef(null)}},[X,U,eo,el,eN,eM]);var eT=eA&&!!eR.length,ej={};null!==ed&&ex&&(ej={position:"absolute",left:ed,top:0});var eL={prefixCls:eE,responsive:ex,component:L,invalidate:eO},eH=w?function(e,t){var n=eN(e,t);return l.createElement(y.Provider,{key:n,value:(0,r.A)((0,r.A)({},eL),{},{order:t,item:e,itemKey:n,registerSize:ez,display:t<=eh})},w(e,t))}:function(e,t){var n=eN(e,t);return l.createElement(m,(0,o.A)({},eL,{order:t,key:n,item:e,renderItem:eP,itemKey:n,registerSize:ez,display:t<=eh}))},eB={order:eT?eh:Number.MAX_SAFE_INTEGER,className:"".concat(eE,"-rest"),registerSize:function(e,t){er(t),ee(eo)},display:eT},eK=z||I,eF=D?l.createElement(y.Provider,{value:(0,r.A)((0,r.A)({},eL),eB)},D(eR)):l.createElement(m,(0,o.A)({},eL,eB),"function"==typeof eK?eK(eR):eK),eW=l.createElement(void 0===j?"div":j,(0,o.A)({className:u()(!eO&&f,P),style:N,ref:t},B),eM.map(eH),eI?eF:null,T&&l.createElement(m,(0,o.A)({},eL,{responsive:eS,responsiveDisabled:!ex,order:eh,className:"".concat(eE,"-suffix"),registerSize:function(e,t){ec(t)},display:!0,style:ej}),T));return eS?l.createElement(s.A,{onResize:function(e,t){G(t.clientWidth)},disabled:!ex},eW):eW});M.displayName="Overflow",M.Item=C,M.RESPONSIVE=x,M.INVALIDATE=O;let R=M},66846:(e,t,n)=>{n.d(t,{A:()=>D});var o=n(79630),r=n(86608),a=n(27061),i=n(40419),l=n(21858),c=n(20235),u=n(29300),s=n.n(u),d=n(32417),f=n(11719),p=n(49172),m=n(12115),v=n(47650),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,l=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,a.A)((0,a.A)({},b),{},(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-l),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.A,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.A)({style:b,className:s()((0,i.A)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(16962),y=("undefined"==typeof navigator?"undefined":(0,r.A)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);let A=function(e,t,n,o){var r=(0,m.useRef)(!1),a=(0,m.useRef)(null),i=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return i.current.top=e,i.current.bottom=t,i.current.left=n,i.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&i.current.left||t>0&&i.current.right:t<0&&i.current.top||t>0&&i.current.bottom;return n&&o?(clearTimeout(a.current),r.current=!1):(!o||r.current)&&(clearTimeout(a.current),r.current=!0,a.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}};var w=n(30857),E=n(28383),C=function(){function e(){(0,w.A)(this,e),(0,i.A)(this,"maps",void 0),(0,i.A)(this,"id",0),(0,i.A)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,E.A)(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function S(e){var t=parseFloat(e);return isNaN(t)?0:t}var x=14/15;function O(e){return Math.floor(Math.pow(e,.5))}function I(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var M=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,y=e.thumbStyle,A=e.showScrollBar,w=m.useState(!1),E=(0,l.A)(w,2),C=E[0],S=E[1],x=m.useState(null),O=(0,l.A)(x,2),M=O[0],R=O[1],N=m.useState(null),P=(0,l.A)(N,2),k=P[0],z=P[1],D=!o,T=m.useRef(),j=m.useRef(),L=m.useState(A),H=(0,l.A)(L,2),B=H[0],K=H[1],F=m.useRef(),W=function(){!0!==A&&!1!==A&&(clearTimeout(F.current),K(!0),F.current=setTimeout(function(){K(!1)},3e3))},V=c-g||0,_=g-v||0,G=m.useMemo(function(){return 0===r||0===V?0:r/V*_},[r,V,_]),X=m.useRef({top:G,dragging:C,pageY:M,startTop:k});X.current={top:G,dragging:C,pageY:M,startTop:k};var Y=function(e){S(!0),R(I(e,p)),z(X.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=T.current,n=j.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",Y,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",Y)}},[]);var q=m.useRef();q.current=V;var U=m.useRef();U.current=_,m.useEffect(function(){if(C){var e,t=function(t){var n=X.current,o=n.dragging,r=n.pageY,a=n.startTop;b.A.cancel(e);var i=T.current.getBoundingClientRect(),l=g/(p?i.width:i.height);if(o){var c=(I(t,p)-r)*l,u=a;!D&&p?u-=c:u+=c;var s=q.current,d=U.current,m=Math.ceil((d?u/d:0)*s);m=Math.min(m=Math.max(m,0),s),e=(0,b.A)(function(){f(m,p)})}},n=function(){S(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.A.cancel(e)}}},[C]),m.useEffect(function(){return W(),function(){clearTimeout(F.current)}},[r]),m.useImperativeHandle(t,function(){return{delayHidden:W}});var Q="".concat(n,"-scrollbar"),$={position:"absolute",visibility:B?null:"hidden"},J={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return p?(Object.assign($,{height:8,left:0,right:0,bottom:0}),Object.assign(J,(0,i.A)({height:"100%",width:v},D?"left":"right",G))):(Object.assign($,(0,i.A)({width:8,top:0,bottom:0},D?"right":"left",0)),Object.assign(J,{width:"100%",height:v,top:G})),m.createElement("div",{ref:T,className:s()(Q,(0,i.A)((0,i.A)((0,i.A)({},"".concat(Q,"-horizontal"),p),"".concat(Q,"-vertical"),!p),"".concat(Q,"-visible"),B)),style:(0,a.A)((0,a.A)({},$),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:W},m.createElement("div",{ref:j,className:s()("".concat(Q,"-thumb"),(0,i.A)({},"".concat(Q,"-thumb-moving"),C)),style:(0,a.A)((0,a.A)({},J),y),onMouseDown:Y}))});function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],P=[],k={overflowY:"auto",overflowAnchor:"none"},z=m.forwardRef(function(e,t){var n,u,w,E,z,D,T,j,L,H,B,K,F,W,V,_,G,X,Y,q,U,Q,$,J,Z,ee,et,en,eo,er,ea,ei,el,ec,eu,es,ed,ef=e.prefixCls,ep=void 0===ef?"rc-virtual-list":ef,em=e.className,ev=e.height,eg=e.itemHeight,eh=e.fullHeight,eb=e.style,ey=e.data,eA=e.children,ew=e.itemKey,eE=e.virtual,eC=e.direction,eS=e.scrollWidth,ex=e.component,eO=e.onScroll,eI=e.onVirtualScroll,eM=e.onVisibleChange,eR=e.innerProps,eN=e.extraRender,eP=e.styles,ek=e.showScrollBar,ez=void 0===ek?"optional":ek,eD=(0,c.A)(e,N),eT=m.useCallback(function(e){return"function"==typeof ew?ew(e):null==e?void 0:e[ew]},[ew]),ej=function(e,t,n){var o=m.useState(0),r=(0,l.A)(o,2),a=r[0],i=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new C),s=(0,m.useRef)(0);function d(){s.current+=1}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){var e=!1;c.current.forEach(function(t,n){if(t&&t.offsetParent){var o=t.offsetHeight,r=getComputedStyle(t),a=r.marginTop,i=r.marginBottom,l=o+S(a)+S(i);u.current.get(n)!==l&&(u.current.set(n,l),e=!0)}}),e&&i(function(e){return e+1})};if(e)t();else{s.current+=1;var n=s.current;Promise.resolve().then(function(){n===s.current&&t()})}}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var a=e(o),i=c.current.get(a);r?(c.current.set(a,r),f()):c.current.delete(a),!i!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,a]}(eT,null,null),eL=(0,l.A)(ej,4),eH=eL[0],eB=eL[1],eK=eL[2],eF=eL[3],eW=!!(!1!==eE&&ev&&eg),eV=m.useMemo(function(){return Object.values(eK.maps).reduce(function(e,t){return e+t},0)},[eK.id,eK.maps]),e_=eW&&ey&&(Math.max(eg*ey.length,eV)>ev||!!eS),eG="rtl"===eC,eX=s()(ep,(0,i.A)({},"".concat(ep,"-rtl"),eG),em),eY=ey||P,eq=(0,m.useRef)(),eU=(0,m.useRef)(),eQ=(0,m.useRef)(),e$=(0,m.useState)(0),eJ=(0,l.A)(e$,2),eZ=eJ[0],e0=eJ[1],e1=(0,m.useState)(0),e2=(0,l.A)(e1,2),e4=e2[0],e3=e2[1],e6=(0,m.useState)(!1),e5=(0,l.A)(e6,2),e8=e5[0],e9=e5[1],e7=function(){e9(!0)},te=function(){e9(!1)};function tt(e){e0(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(ty.current)||(n=Math.min(n,ty.current)),n=Math.max(n,0));return eq.current.scrollTop=o,o})}var tn=(0,m.useRef)({start:0,end:eY.length}),to=(0,m.useRef)(),tr=(n=m.useState(eY),w=(u=(0,l.A)(n,2))[0],E=u[1],z=m.useState(null),T=(D=(0,l.A)(z,2))[0],j=D[1],m.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=eZ&&void 0===t&&(t=i,n=r),u>eZ+ev&&void 0===o&&(o=i),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ev/eg)),void 0===o&&(o=eY.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eY.length-1),offset:n}},[e_,eW,eZ,eY,eF,ev]),ti=ta.scrollHeight,tl=ta.start,tc=ta.end,tu=ta.offset;tn.current.start=tl,tn.current.end=tc,m.useLayoutEffect(function(){var e=eK.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),o=eY[tl];if(o&&void 0===n&&eT(o)===t){var r=eK.get(t)-eg;tt(function(e){return e+r})}}eK.resetRecord()},[ti]);var ts=m.useState({width:0,height:ev}),td=(0,l.A)(ts,2),tf=td[0],tp=td[1],tm=(0,m.useRef)(),tv=(0,m.useRef)(),tg=m.useMemo(function(){return R(tf.width,eS)},[tf.width,eS]),th=m.useMemo(function(){return R(tf.height,ti)},[tf.height,ti]),tb=ti-ev,ty=(0,m.useRef)(tb);ty.current=tb;var tA=eZ<=0,tw=eZ>=tb,tE=e4<=0,tC=e4>=eS,tS=A(tA,tw,tE,tC),tx=function(){return{x:eG?-e4:e4,y:eZ}},tO=(0,m.useRef)(tx()),tI=(0,f._q)(function(e){if(eI){var t=(0,a.A)((0,a.A)({},tx()),e);(tO.current.x!==t.x||tO.current.y!==t.y)&&(eI(t),tO.current=t)}});function tM(e,t){t?((0,v.flushSync)(function(){e3(e)}),tI()):tt(e)}var tR=function(e){var t=e,n=eS?eS-tf.width:0;return Math.min(t=Math.max(t,0),n)},tN=(0,f._q)(function(e,t){t?((0,v.flushSync)(function(){e3(function(t){return tR(t+(eG?-e:e))})}),tI()):tt(function(t){return t+e})}),tP=(L=!!eS,H=(0,m.useRef)(0),B=(0,m.useRef)(null),K=(0,m.useRef)(null),F=(0,m.useRef)(!1),W=A(tA,tw,tE,tC),V=(0,m.useRef)(null),_=(0,m.useRef)(null),[function(e){if(eW){b.A.cancel(_.current),_.current=(0,b.A)(function(){V.current=null},2);var t,n,o=e.deltaX,r=e.deltaY,a=e.shiftKey,i=o,l=r;("sx"===V.current||!V.current&&a&&r&&!o)&&(i=r,l=0,V.current="sx");var c=Math.abs(i),u=Math.abs(l);if(null===V.current&&(V.current=L&&c>u?"x":"y"),"y"===V.current){t=e,n=l,b.A.cancel(B.current),!W(!1,n)&&(t._virtualHandled||(t._virtualHandled=!0,H.current+=n,K.current=n,y||t.preventDefault(),B.current=(0,b.A)(function(){var e=F.current?10:1;tN(H.current*e,!1),H.current=0})))}else tN(i,!0),y||e.preventDefault()}},function(e){eW&&(F.current=e.detail===K.current)}]),tk=(0,l.A)(tP,2),tz=tk[0],tD=tk[1];G=function(e,t,n,o){return!tS(e,t,n)&&(!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),tz({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},Y=(0,m.useRef)(!1),q=(0,m.useRef)(0),U=(0,m.useRef)(0),Q=(0,m.useRef)(null),$=(0,m.useRef)(null),J=function(e){if(Y.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=q.current-t,r=U.current-n,a=Math.abs(o)>Math.abs(r);a?q.current=t:U.current=n;var i=G(a,a?o:r,!1,e);i&&e.preventDefault(),clearInterval($.current),i&&($.current=setInterval(function(){a?o*=x:r*=x;var e=Math.floor(a?o:r);(!G(a,e,!0)||.1>=Math.abs(e))&&clearInterval($.current)},16))}},Z=function(){Y.current=!1,X()},ee=function(e){X(),1!==e.touches.length||Y.current||(Y.current=!0,q.current=Math.ceil(e.touches[0].pageX),U.current=Math.ceil(e.touches[0].pageY),Q.current=e.target,Q.current.addEventListener("touchmove",J,{passive:!1}),Q.current.addEventListener("touchend",Z,{passive:!0}))},X=function(){Q.current&&(Q.current.removeEventListener("touchmove",J),Q.current.removeEventListener("touchend",Z))},(0,p.A)(function(){return eW&&eq.current.addEventListener("touchstart",ee,{passive:!0}),function(){var e;null==(e=eq.current)||e.removeEventListener("touchstart",ee),X(),clearInterval($.current)}},[eW]),et=function(e){tt(function(t){return t+e})},m.useEffect(function(){var e=eq.current;if(e_&&e){var t,n,o=!1,r=function(){b.A.cancel(t)},a=function e(){r(),t=(0,b.A)(function(){et(n),e()})},i=function(e){!e.target.draggable&&0===e.button&&(e._virtualHandled||(e._virtualHandled=!0,o=!0))},l=function(){o=!1,r()},c=function(t){if(o){var i=I(t,!1),l=e.getBoundingClientRect(),c=l.top,u=l.bottom;i<=c?(n=-O(c-i),a()):i>=u?(n=O(i-u),a()):r()}};return e.addEventListener("mousedown",i),e.ownerDocument.addEventListener("mouseup",l),e.ownerDocument.addEventListener("mousemove",c),function(){e.removeEventListener("mousedown",i),e.ownerDocument.removeEventListener("mouseup",l),e.ownerDocument.removeEventListener("mousemove",c),r()}}},[e_]),(0,p.A)(function(){function e(e){var t=tA&&e.detail<0,n=tw&&e.detail>0;!eW||t||n||e.preventDefault()}var t=eq.current;return t.addEventListener("wheel",tz,{passive:!1}),t.addEventListener("DOMMouseScroll",tD,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",tz),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eW,tA,tw]),(0,p.A)(function(){if(eS){var e=tR(e4);e3(e),tI({x:e})}},[tf.width,eS]);var tT=function(){var e,t;null==(e=tm.current)||e.delayHidden(),null==(t=tv.current)||t.delayHidden()},tj=(en=function(){return eB(!0)},eo=m.useRef(),er=m.useState(null),ei=(ea=(0,l.A)(er,2))[0],el=ea[1],(0,p.A)(function(){if(ei&&ei.times<10){if(!eq.current)return void el(function(e){return(0,a.A)({},e)});en();var e=ei.targetAlign,t=ei.originAlign,n=ei.index,o=ei.offset,r=eq.current.clientHeight,i=!1,l=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eY.length-1,n),m=0;m<=p;m+=1){var v=eT(eY[m]);d=s;var g=eK.get(v);s=f=d+(void 0===g?eg:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var y=eT(eY[b]),A=eK.get(y);if(void 0===A){i=!0;break}if((h-=A)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var w=eq.current.scrollTop;dw+r&&(l="bottom")}null!==c&&tt(c),c!==ei.lastTop&&(i=!0)}i&&el((0,a.A)((0,a.A)({},ei),{},{times:ei.times+1,targetAlign:l,lastTop:c}))}},[ei,eq.current]),function(e){if(null==e)return void tT();if(b.A.cancel(eo.current),"number"==typeof e)tt(e);else if(e&&"object"===(0,r.A)(e)){var t,n=e.align;t="index"in e?e.index:eY.findIndex(function(t){return eT(t)===e.key});var o=e.offset;el({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eQ.current,getScrollInfo:tx,scrollTo:function(e){e&&"object"===(0,r.A)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e3(tR(e.left)),tj(e.top)):tj(e)}}}),(0,p.A)(function(){eM&&eM(eY.slice(tl,tc+1),eY)},[tl,tc,eY]);var tL=(ec=m.useMemo(function(){return[new Map,[]]},[eY,eK.id,eg]),es=(eu=(0,l.A)(ec,2))[0],ed=eu[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=es.get(e),o=es.get(t);if(void 0===n||void 0===o)for(var r=eY.length,a=ed.length;aev&&m.createElement(M,{ref:tm,prefixCls:ep,scrollOffset:eZ,scrollRange:ti,rtl:eG,onScroll:tM,onStartMove:e7,onStopMove:te,spinSize:th,containerSize:tf.height,style:null==eP?void 0:eP.verticalScrollBar,thumbStyle:null==eP?void 0:eP.verticalScrollBarThumb,showScrollBar:ez}),e_&&eS>tf.width&&m.createElement(M,{ref:tv,prefixCls:ep,scrollOffset:e4,scrollRange:eS,rtl:eG,onScroll:tM,onStartMove:e7,onStopMove:te,spinSize:tg,containerSize:tf.width,horizontal:!0,style:null==eP?void 0:eP.horizontalScrollBar,thumbStyle:null==eP?void 0:eP.horizontalScrollBarThumb,showScrollBar:ez}))});z.displayName="List";let D=z},67850:(e,t,n)=>{n.d(t,{A:()=>E});var o=n(12115),r=n(29300),a=n.n(r),i=n(63715),l=n(96249),c=n(15982),u=n(96936),s=n(67831),d=n(45431);let f=(0,d.OF)(["Space","Addon"],e=>[(e=>{let{componentCls:t,borderRadius:n,paddingSM:o,colorBorder:r,paddingXS:a,fontSizeLG:i,fontSizeSM:l,borderRadiusLG:c,borderRadiusSM:u,colorBgContainerDisabled:d,lineWidth:f}=e;return{[t]:[{display:"inline-flex",alignItems:"center",gap:0,paddingInline:o,margin:0,background:d,borderWidth:f,borderStyle:"solid",borderColor:r,borderRadius:n,"&-large":{fontSize:i,borderRadius:c},"&-small":{paddingInline:a,borderRadius:u,fontSize:l},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0}},(0,s.G)(e,{focus:!1})]}})(e)]);var p=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=o.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:l}=e,s=p(e,["className","children","style","prefixCls"]),{getPrefixCls:d,direction:m}=o.useContext(c.QO),v=d("space-addon",l),[g,h,b]=f(v),{compactItemClassnames:y,compactSize:A}=(0,u.RQ)(v,m),w=a()(v,h,y,b,{["".concat(v,"-").concat(A)]:A},n);return g(o.createElement("div",Object.assign({ref:t,className:w,style:i},s),r))}),v=o.createContext({latestIndex:0}),g=v.Provider,h=e=>{let{className:t,index:n,children:r,split:a,style:i}=e,{latestIndex:l}=o.useContext(v);return null==r?null:o.createElement(o.Fragment,null,o.createElement("div",{className:t,style:i},r),n{let t=(0,b.oX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[(e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},["".concat(t,"-item:empty")]:{display:"none"},["".concat(t,"-item > ").concat(n,"-badge-not-a-wrapper:only-child")]:{display:"block"}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}})(t)]},()=>({}),{resetStyle:!1});var A=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 w=o.forwardRef((e,t)=>{var n;let{getPrefixCls:r,direction:u,size:s,className:d,style:f,classNames:p,styles:m}=(0,c.TP)("space"),{size:v=null!=s?s:"small",align:b,className:w,rootClassName:E,children:C,direction:S="horizontal",prefixCls:x,split:O,style:I,wrap:M=!1,classNames:R,styles:N}=e,P=A(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,z]=Array.isArray(v)?v:[v,v],D=(0,l.X)(z),T=(0,l.X)(k),j=(0,l.m)(z),L=(0,l.m)(k),H=(0,i.A)(C,{keepEmpty:!0}),B=void 0===b&&"horizontal"===S?"center":b,K=r("space",x),[F,W,V]=y(K),_=a()(K,d,W,"".concat(K,"-").concat(S),{["".concat(K,"-rtl")]:"rtl"===u,["".concat(K,"-align-").concat(B)]:B,["".concat(K,"-gap-row-").concat(z)]:D,["".concat(K,"-gap-col-").concat(k)]:T},w,E,V),G=a()("".concat(K,"-item"),null!=(n=null==R?void 0:R.item)?n:p.item),X=Object.assign(Object.assign({},m.item),null==N?void 0:N.item),Y=H.map((e,t)=>{let n=(null==e?void 0:e.key)||"".concat(G,"-").concat(t);return o.createElement(h,{className:G,key:n,index:t,split:O,style:X},e)}),q=o.useMemo(()=>({latestIndex:H.reduce((e,t,n)=>null!=t?n:e,0)}),[H]);if(0===H.length)return null;let U={};return M&&(U.flexWrap="wrap"),!T&&L&&(U.columnGap=k),!D&&j&&(U.rowGap=z),F(o.createElement("div",Object.assign({ref:t,className:_,style:Object.assign(Object.assign(Object.assign({},U),f),I)},P),o.createElement(g,{value:q},Y)))});w.Compact=u.Ay,w.Addon=m;let E=w},82724:(e,t,n)=>{n.d(t,{A:()=>w});var o=n(12115),r=n(29300),a=n.n(r),i=n(11261),l=n(74686),c=n(9184),u=n(53014),s=n(79007),d=n(15982),f=n(44494),p=n(68151),m=n(9836),v=n(63568),g=n(63893),h=n(96936),b=n(84311),y=n(30611),A=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 w=(0,o.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:w,size:E,disabled:C,onBlur:S,onFocus:x,suffix:O,allowClear:I,addonAfter:M,addonBefore:R,className:N,style:P,styles:k,rootClassName:z,onChange:D,classNames:T,variant:j,_skipAddonWarning:L}=e,H=A(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant","_skipAddonWarning"]),{getPrefixCls:B,direction:K,allowClear:F,autoComplete:W,className:V,style:_,classNames:G,styles:X}=(0,d.TP)("input"),Y=B("input",n),q=(0,o.useRef)(null),U=(0,p.A)(Y),[Q,$,J]=(0,y.MG)(Y,z),[Z]=(0,y.Ay)(Y,U),{compactSize:ee,compactItemClassnames:et}=(0,h.RQ)(Y,K),en=(0,m.A)(e=>{var t;return null!=(t=null!=E?E:ee)?t:e}),eo=o.useContext(f.A),{status:er,hasFeedback:ea,feedbackIcon:ei}=(0,o.useContext)(v.$W),el=(0,s.v)(er,w),ec=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!ea;(0,o.useRef)(ec);let eu=(0,b.A)(q,!0),es=(ea||O)&&o.createElement(o.Fragment,null,O,ea&&ei),ed=(0,u.A)(null!=I?I:F),[ef,ep]=(0,g.A)("input",j,r);return Q(Z(o.createElement(i.A,Object.assign({ref:(0,l.K4)(t,q),prefixCls:Y,autoComplete:W},H,{disabled:null!=C?C:eo,onBlur:e=>{eu(),null==S||S(e)},onFocus:e=>{eu(),null==x||x(e)},style:Object.assign(Object.assign({},_),P),styles:Object.assign(Object.assign({},X),k),suffix:es,allowClear:ed,className:a()(N,z,J,U,et,V),onChange:e=>{eu(),null==D||D(e)},addonBefore:R&&o.createElement(c.A,{form:!0,space:!0},R),addonAfter:M&&o.createElement(c.A,{form:!0,space:!0},M),classNames:Object.assign(Object.assign(Object.assign({},T),G),{input:a()({["".concat(Y,"-sm")]:"small"===en,["".concat(Y,"-lg")]:"large"===en,["".concat(Y,"-rtl")]:"rtl"===K},null==T?void 0:T.input,G.input,$),variant:a()({["".concat(Y,"-").concat(ef)]:ep},(0,s.L)(Y,el)),affixWrapper:a()({["".concat(Y,"-affix-wrapper-sm")]:"small"===en,["".concat(Y,"-affix-wrapper-lg")]:"large"===en,["".concat(Y,"-affix-wrapper-rtl")]:"rtl"===K},$),wrapper:a()({["".concat(Y,"-group-rtl")]:"rtl"===K},$),groupWrapper:a()({["".concat(Y,"-group-wrapper-sm")]:"small"===en,["".concat(Y,"-group-wrapper-lg")]:"large"===en,["".concat(Y,"-group-wrapper-rtl")]:"rtl"===K,["".concat(Y,"-group-wrapper-").concat(ef)]:ep},(0,s.L)("".concat(Y,"-group-wrapper"),el,ea),$)})}))))})},84311:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(12115);function r(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,o,r;(null==(t=e.current)?void 0:t.input)&&(null==(n=e.current)?void 0:n.input.getAttribute("type"))==="password"&&(null==(o=e.current)?void 0:o.input.hasAttribute("value"))&&(null==(r=e.current)||r.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}},89593:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},91187:(e,t,n)=>{n.d(t,{cG:()=>ez,q7:()=>em,te:()=>ej,Dr:()=>em,g8:()=>eP,Ay:()=>eW,Wj:()=>I});var o=n(79630),r=n(40419),a=n(27061),i=n(85757),l=n(21858),c=n(20235),u=n(29300),s=n.n(u),d=n(60343),f=n(48804),p=n(80227),m=n(9587),v=n(12115),g=n(47650),h=v.createContext(null);function b(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function y(e){return b(v.useContext(h),e)}var A=n(22801),w=["children","locked"],E=v.createContext(null);function C(e){var t=e.children,n=e.locked,o=(0,c.A)(e,w),r=v.useContext(E),i=(0,A.A)(function(){var e;return e=(0,a.A)({},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,p.A)(e[1],t[1],!0))});return v.createElement(E.Provider,{value:i},t)}var S=v.createContext(null);function x(){return v.useContext(S)}var O=v.createContext([]);function I(e){var t=v.useContext(O);return v.useMemo(function(){return void 0!==e?[].concat((0,i.A)(t),[e]):t},[t,e])}var M=v.createContext(null),R=v.createContext({}),N=n(53930);function P(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,N.A)(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 k=n(17233),z=n(16962),D=k.A.LEFT,T=k.A.RIGHT,j=k.A.UP,L=k.A.DOWN,H=k.A.ENTER,B=k.A.ESC,K=k.A.HOME,F=k.A.END,W=[j,L,D,T];function V(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,i.A)(e.querySelectorAll("*")).filter(function(e){return P(e,t)});return P(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function _(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=V(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 G=function(e,t){var n=new Set,o=new Map,r=new Map;return e.forEach(function(e){var a=document.querySelector("[data-menu-id='".concat(b(t,e),"']"));a&&(n.add(a),r.set(a,e),o.set(e,a))}),{elements:n,key2element:o,element2key:r}},X="__RC_UTIL_PATH_SPLIT__",Y=function(e){return e.join(X)},q="rc-menu-more";function U(e){var t=v.useRef(e);t.current=e;var n=v.useCallback(function(){for(var e,n=arguments.length,o=Array(n),r=0;r1&&(S.motionAppear=!1);var x=S.onVisibleChanged;return(S.onVisibleChanged=function(e){return g.current||e||A(!0),null==x?void 0:x(e)},y)?null:v.createElement(C,{mode:c,locked:!g.current},v.createElement(eO.Ay,(0,o.A)({visible:w},S,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var n=e.className,o=e.style;return v.createElement(eg,{id:t,className:n,style:o},i)}))}var eM=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eR=["active"],eN=v.forwardRef(function(e,t){var n=e.style,i=e.className,u=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),m=e.internalPopupClose,g=e.children,h=e.itemIcon,b=e.expandIcon,A=e.popupClassName,w=e.popupOffset,S=e.popupStyle,x=e.onClick,O=e.onMouseEnter,N=e.onMouseLeave,P=e.onTitleClick,k=e.onTitleMouseEnter,z=e.onTitleMouseLeave,D=(0,c.A)(e,eM),T=y(f),j=v.useContext(E),L=j.prefixCls,H=j.mode,B=j.openKeys,K=j.disabled,F=j.overflowDisabled,W=j.activeKey,V=j.selectedKeys,_=j.itemIcon,G=j.expandIcon,X=j.onItemClick,Y=j.onOpenChange,q=j.onActive,Q=v.useContext(R)._internalRenderSubMenuItem,$=v.useContext(M).isSubPathKey,J=I(),Z="".concat(L,"-submenu"),ee=K||p,et=v.useRef(),en=v.useRef(),eo=null!=b?b:G,el=B.includes(f),eu=!F&&el,es=$(V,f),ed=er(f,ee,k,z),ef=ed.active,ep=(0,c.A)(ed,eR),em=v.useState(!1),ev=(0,l.A)(em,2),eh=ev[0],eb=ev[1],ey=function(e){ee||eb(e)},eA=v.useMemo(function(){return ef||"inline"!==H&&(eh||$([W],f))},[H,ef,W,eh,f,$]),ew=ea(J.length),eE=U(function(e){null==x||x(ec(e)),X(e)}),eC=T&&"".concat(T,"-popup"),eS=v.useMemo(function(){return v.createElement(ei,{icon:"horizontal"!==H?eo:void 0,props:(0,a.A)((0,a.A)({},e),{},{isOpen:eu,isSubMenu:!0})},v.createElement("i",{className:"".concat(Z,"-arrow")}))},[H,eo,e,eu,Z]),eO=v.createElement("div",(0,o.A)({role:"menuitem",style:ew,className:"".concat(Z,"-title"),tabIndex:ee?null:-1,ref:et,title:"string"==typeof u?u:null,"data-menu-id":F&&T?null:T,"aria-expanded":eu,"aria-haspopup":!0,"aria-controls":eC,"aria-disabled":ee,onClick:function(e){ee||(null==P||P({key:f,domEvent:e}),"inline"===H&&Y(f,!el))},onFocus:function(){q(f)}},ep),u,eS),eN=v.useRef(H);if("inline"!==H&&J.length>1?eN.current="vertical":eN.current=H,!F){var eP=eN.current;eO=v.createElement(ex,{mode:eP,prefixCls:Z,visible:!m&&eu&&"inline"!==H,popupClassName:A,popupOffset:w,popupStyle:S,popup:v.createElement(C,{mode:"horizontal"===eP?"vertical":eP},v.createElement(eg,{id:eC,ref:en},g)),disabled:ee,onVisibleChange:function(e){"inline"!==H&&Y(f,e)}},eO)}var ek=v.createElement(d.A.Item,(0,o.A)({ref:t,role:"none"},D,{component:"li",style:n,className:s()(Z,"".concat(Z,"-").concat(H),i,(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},"".concat(Z,"-open"),eu),"".concat(Z,"-active"),eA),"".concat(Z,"-selected"),es),"".concat(Z,"-disabled"),ee)),onMouseEnter:function(e){ey(!0),null==O||O({key:f,domEvent:e})},onMouseLeave:function(e){ey(!1),null==N||N({key:f,domEvent:e})}}),eO,!F&&v.createElement(eI,{id:eC,open:eu,keyPath:J},g));return Q&&(ek=Q(ek,e,{selected:es,active:eA,open:eu,disabled:ee})),v.createElement(C,{onItemClick:eE,mode:"horizontal"===H?"vertical":H,itemIcon:null!=h?h:_,expandIcon:eo},ek)});let eP=v.forwardRef(function(e,t){var n,r=e.eventKey,a=e.children,i=I(r),l=eb(a,i),c=x();return v.useEffect(function(){if(c)return c.registerPath(r,i),function(){c.unregisterPath(r,i)}},[i]),n=c?l:v.createElement(eN,(0,o.A)({ref:t},e),l),v.createElement(O.Provider,{value:i},n)});var ek=n(86608);function ez(e){var t=e.className,n=e.style,o=v.useContext(E).prefixCls;return x()?null:v.createElement("li",{role:"separator",className:s()("".concat(o,"-item-divider"),t),style:n})}var eD=["className","title","eventKey","children"],eT=v.forwardRef(function(e,t){var n=e.className,r=e.title,a=(e.eventKey,e.children),i=(0,c.A)(e,eD),l=v.useContext(E).prefixCls,u="".concat(l,"-item-group");return v.createElement("li",(0,o.A)({ref:t,role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:s()(u,n)}),v.createElement("div",{role:"presentation",className:"".concat(u,"-title"),title:"string"==typeof r?r:void 0},r),v.createElement("ul",{role:"group",className:"".concat(u,"-list")},a))});let ej=v.forwardRef(function(e,t){var n=e.eventKey,r=eb(e.children,I(n));return x()?r:v.createElement(eT,(0,o.A)({ref:t},(0,en.A)(e,["warnKey"])),r)});var eL=["label","children","key","type","extra"];function eH(e,t,n,r,i){var l=e,u=(0,a.A)({divider:ez,item:em,group:ej,submenu:eP},r);return t&&(l=function e(t,n,r){var a=n.item,i=n.group,l=n.submenu,u=n.divider;return(t||[]).map(function(t,s){if(t&&"object"===(0,ek.A)(t)){var d=t.label,f=t.children,p=t.key,m=t.type,g=t.extra,h=(0,c.A)(t,eL),b=null!=p?p:"tmp-".concat(s);return f||"group"===m?"group"===m?v.createElement(i,(0,o.A)({key:b},h,{title:d}),e(f,n,r)):v.createElement(l,(0,o.A)({key:b},h,{title:d}),e(f,n,r)):"divider"===m?v.createElement(u,(0,o.A)({key:b},h)):v.createElement(a,(0,o.A)({key:b},h,{extra:g}),d,(!!g||0===g)&&v.createElement("span",{className:"".concat(r,"-item-extra")},g))}return null}).filter(function(e){return e})}(t,u,i)),eb(l,n)}var eB=["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","_internalComponents"],eK=[],eF=v.forwardRef(function(e,t){var n,u,m,b,y,A,w,E,x,O,I,N,P,k,J,Z,ee,et,en,eo,er,ea,ei,el,eu,es,ed=e.prefixCls,ef=void 0===ed?"rc-menu":ed,ep=e.rootClassName,ev=e.style,eg=e.className,eh=e.tabIndex,eb=e.items,ey=e.children,eA=e.direction,ew=e.id,eE=e.mode,eC=void 0===eE?"vertical":eE,eS=e.inlineCollapsed,ex=e.disabled,eO=e.disabledOverflow,eI=e.subMenuOpenDelay,eM=e.subMenuCloseDelay,eR=e.forceSubMenuRender,eN=e.defaultOpenKeys,ek=e.openKeys,ez=e.activeKey,eD=e.defaultActiveFirst,eT=e.selectable,ej=void 0===eT||eT,eL=e.multiple,eF=void 0!==eL&&eL,eW=e.defaultSelectedKeys,eV=e.selectedKeys,e_=e.onSelect,eG=e.onDeselect,eX=e.inlineIndent,eY=e.motion,eq=e.defaultMotions,eU=e.triggerSubMenuAction,eQ=e.builtinPlacements,e$=e.itemIcon,eJ=e.expandIcon,eZ=e.overflowedIndicator,e0=void 0===eZ?"...":eZ,e1=e.overflowedIndicatorPopupClassName,e2=e.getPopupContainer,e4=e.onClick,e3=e.onOpenChange,e6=e.onKeyDown,e5=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e8=e._internalRenderSubMenuItem,e9=e._internalComponents,e7=(0,c.A)(e,eB),te=v.useMemo(function(){return[eH(ey,eb,eK,e9,ef),eH(ey,eb,eK,{},ef)]},[ey,eb,e9]),tt=(0,l.A)(te,2),tn=tt[0],to=tt[1],tr=v.useState(!1),ta=(0,l.A)(tr,2),ti=ta[0],tl=ta[1],tc=v.useRef(),tu=(n=(0,f.A)(ew,{value:ew}),m=(u=(0,l.A)(n,2))[0],b=u[1],v.useEffect(function(){$+=1;var e="".concat(Q,"-").concat($);b("rc-menu-uuid-".concat(e))},[]),m),ts="rtl"===eA,td=(0,f.A)(eN,{value:ek,postState:function(e){return e||eK}}),tf=(0,l.A)(td,2),tp=tf[0],tm=tf[1],tv=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e3||e3(e)}t?(0,g.flushSync)(n):n()},tg=v.useState(tp),th=(0,l.A)(tg,2),tb=th[0],ty=th[1],tA=v.useRef(!1),tw=v.useMemo(function(){return("inline"===eC||"vertical"===eC)&&eS?["vertical",eS]:[eC,!1]},[eC,eS]),tE=(0,l.A)(tw,2),tC=tE[0],tS=tE[1],tx="inline"===tC,tO=v.useState(tC),tI=(0,l.A)(tO,2),tM=tI[0],tR=tI[1],tN=v.useState(tS),tP=(0,l.A)(tN,2),tk=tP[0],tz=tP[1];v.useEffect(function(){tR(tC),tz(tS),tA.current&&(tx?tm(tb):tv(eK))},[tC,tS]);var tD=v.useState(0),tT=(0,l.A)(tD,2),tj=tT[0],tL=tT[1],tH=tj>=tn.length-1||"horizontal"!==tM||eO;v.useEffect(function(){tx&&ty(tp)},[tp]),v.useEffect(function(){return tA.current=!0,function(){tA.current=!1}},[]);var tB=(y=v.useState({}),A=(0,l.A)(y,2)[1],w=(0,v.useRef)(new Map),E=(0,v.useRef)(new Map),x=v.useState([]),I=(O=(0,l.A)(x,2))[0],N=O[1],P=(0,v.useRef)(0),k=(0,v.useRef)(!1),J=function(){k.current||A({})},Z=(0,v.useCallback)(function(e,t){var n=Y(t);E.current.set(n,e),w.current.set(e,n),P.current+=1;var o=P.current;Promise.resolve().then(function(){o===P.current&&J()})},[]),ee=(0,v.useCallback)(function(e,t){var n=Y(t);E.current.delete(n),w.current.delete(e)},[]),et=(0,v.useCallback)(function(e){N(e)},[]),en=(0,v.useCallback)(function(e,t){var n=(w.current.get(e)||"").split(X);return t&&I.includes(n[0])&&n.unshift(q),n},[I]),eo=(0,v.useCallback)(function(e,t){return e.filter(function(e){return void 0!==e}).some(function(e){return en(e,!0).includes(t)})},[en]),er=(0,v.useCallback)(function(e){var t="".concat(w.current.get(e)).concat(X),n=new Set;return(0,i.A)(E.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(E.current.get(e))}),n},[]),v.useEffect(function(){return function(){k.current=!0}},[]),{registerPath:Z,unregisterPath:ee,refreshOverflowKeys:et,isSubPathKey:eo,getKeyPath:en,getKeys:function(){var e=(0,i.A)(w.current.keys());return I.length&&e.push(q),e},getSubPathKeys:er}),tK=tB.registerPath,tF=tB.unregisterPath,tW=tB.refreshOverflowKeys,tV=tB.isSubPathKey,t_=tB.getKeyPath,tG=tB.getKeys,tX=tB.getSubPathKeys,tY=v.useMemo(function(){return{registerPath:tK,unregisterPath:tF}},[tK,tF]),tq=v.useMemo(function(){return{isSubPathKey:tV}},[tV]);v.useEffect(function(){tW(tH?eK:tn.slice(tj+1).map(function(e){return e.key}))},[tj,tH]);var tU=(0,f.A)(ez||eD&&(null==(es=tn[0])?void 0:es.key),{value:ez}),tQ=(0,l.A)(tU,2),t$=tQ[0],tJ=tQ[1],tZ=U(function(e){tJ(e)}),t0=U(function(){tJ(void 0)});(0,v.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,o=G(tG(),tu),r=o.elements,a=o.key2element,i=o.element2key,l=V(tc.current,r),c=null!=t$?t$:l[0]?i.get(l[0]):null==(t=tn.find(function(e){return!e.props.disabled}))?void 0:t.key,u=a.get(c);c&&u&&(null==u||null==(n=u.focus)||n.call(u,e))}}});var t1=(0,f.A)(eW||[],{value:eV,postState:function(e){return Array.isArray(e)?e:null==e?eK:[e]}}),t2=(0,l.A)(t1,2),t4=t2[0],t3=t2[1],t6=function(e){if(ej){var t,n=e.key,o=t4.includes(n);t3(t=eF?o?t4.filter(function(e){return e!==n}):[].concat((0,i.A)(t4),[n]):[n]);var r=(0,a.A)((0,a.A)({},e),{},{selectedKeys:t});o?null==eG||eG(r):null==e_||e_(r)}!eF&&tp.length&&"inline"!==tM&&tv(eK)},t5=U(function(e){null==e4||e4(ec(e)),t6(e)}),t8=U(function(e,t){var n=tp.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tM){var o=tX(e);n=n.filter(function(e){return!o.has(e)})}(0,p.A)(tp,n,!0)||tv(n,!0)}),t9=(ea=function(e,t){var n=null!=t?t:!tp.includes(e);t8(e,n)},ei=v.useRef(),(el=v.useRef()).current=t$,eu=function(){z.A.cancel(ei.current)},v.useEffect(function(){return function(){eu()}},[]),function(e){var t=e.which;if([].concat(W,[H,B,K,F]).includes(t)){var n=tG(),o=G(n,tu),a=o,i=a.elements,l=a.key2element,c=a.element2key,u=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(l.get(t$),i),s=c.get(u),d=function(e,t,n,o){var a,i="prev",l="next",c="children",u="parent";if("inline"===e&&o===H)return{inlineTrigger:!0};var s=(0,r.A)((0,r.A)({},j,i),L,l),d=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},D,n?l:i),T,n?i:l),L,c),H,c),f=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},j,i),L,l),H,c),B,u),D,n?c:u),T,n?u:c);switch(null==(a=({inline:s,horizontal:d,vertical:f,inlineSub:s,horizontalSub:f,verticalSub:f})["".concat(e).concat(t?"":"Sub")])?void 0:a[o]){case i:return{offset:-1,sibling:!0};case l:return{offset:1,sibling:!0};case u:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}(tM,1===t_(s,!0).length,ts,t);if(!d&&t!==K&&t!==F)return;(W.includes(t)||[K,F].includes(t))&&e.preventDefault();var f=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=c.get(e);tJ(o),eu(),ei.current=(0,z.A)(function(){el.current===o&&t.focus()})}};if([K,F].includes(t)||d.sibling||!u){var p=u&&"inline"!==tM?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(u):tc.current,m=V(p,i);f(t===K?m[0]:t===F?m[m.length-1]:_(p,i,u,d.offset))}else if(d.inlineTrigger)ea(s);else if(d.offset>0)ea(s,!0),eu(),ei.current=(0,z.A)(function(){o=G(n,tu);var e=u.getAttribute("aria-controls");f(_(document.getElementById(e),o.elements))},5);else if(d.offset<0){var v=t_(s,!0),g=v[v.length-2],h=l.get(g);ea(g,!1),f(h)}}null==e6||e6(e)});v.useEffect(function(){tl(!0)},[]);var t7=v.useMemo(function(){return{_internalRenderMenuItem:e5,_internalRenderSubMenuItem:e8}},[e5,e8]),ne="horizontal"!==tM||eO?tn:tn.map(function(e,t){return v.createElement(C,{key:e.key,overflowDisabled:t>tj},e)}),nt=v.createElement(d.A,(0,o.A)({id:ew,ref:tc,prefixCls:"".concat(ef,"-overflow"),component:"ul",itemComponent:em,className:s()(ef,"".concat(ef,"-root"),"".concat(ef,"-").concat(tM),eg,(0,r.A)((0,r.A)({},"".concat(ef,"-inline-collapsed"),tk),"".concat(ef,"-rtl"),ts),ep),dir:eA,style:ev,role:"menu",tabIndex:void 0===eh?0:eh,data:ne,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tn.slice(-t):null;return v.createElement(eP,{eventKey:q,title:e0,disabled:tH,internalPopupClose:0===t,popupClassName:e1},n)},maxCount:"horizontal"!==tM||eO?d.A.INVALIDATE:d.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tL(e)},onKeyDown:t9},e7));return v.createElement(R.Provider,{value:t7},v.createElement(h.Provider,{value:tu},v.createElement(C,{prefixCls:ef,rootClassName:ep,mode:tM,openKeys:tp,rtl:ts,disabled:ex,motion:ti?eY:null,defaultMotions:ti?eq:null,activeKey:t$,onActive:tZ,onInactive:t0,selectedKeys:t4,inlineIndent:void 0===eX?24:eX,subMenuOpenDelay:void 0===eI?.1:eI,subMenuCloseDelay:void 0===eM?.1:eM,forceSubMenuRender:eR,builtinPlacements:eQ,triggerSubMenuAction:void 0===eU?"hover":eU,getPopupContainer:e2,itemIcon:e$,expandIcon:eJ,onItemClick:t5,onOpenChange:t8},v.createElement(M.Provider,{value:tq},nt),v.createElement("div",{style:{display:"none"},"aria-hidden":!0},v.createElement(S.Provider,{value:tY},to)))))});eF.Item=em,eF.SubMenu=eP,eF.ItemGroup=ej,eF.Divider=ez;let eW=eF},93084:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(18118),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},96249:(e,t,n)=>{function o(e){return["small","middle","large"].includes(e)}function r(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{X:()=>o,m:()=>r})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1991],{3514:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},10177:(e,t,n)=>{n.d(t,{A:()=>w});var o=n(79630),r=n(40419),a=n(21858),i=n(20235),l=n(56980),c=n(29300),u=n.n(c),s=n(74686),d=n(12115),f=n(17233),p=n(16962),m=f.A.ESC,v=f.A.TAB,g=(0,d.forwardRef)(function(e,t){var n=e.overlay,o=e.arrow,r=e.prefixCls,a=(0,d.useMemo)(function(){return"function"==typeof n?n():n},[n]),i=(0,s.K4)(t,(0,s.A9)(a));return d.createElement(d.Fragment,null,o&&d.createElement("div",{className:"".concat(r,"-arrow")}),d.cloneElement(a,{ref:(0,s.f3)(a)?i:void 0}))}),h={adjustX:1,adjustY:1},b=[0,0];let y={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:b},top:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:b},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:b},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:b},bottom:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:b},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:b}};var A=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];let w=d.forwardRef(function(e,t){var n,c,f,h,b,w,E,C,S,x,O,I,M,R,N=e.arrow,P=void 0!==N&&N,k=e.prefixCls,z=void 0===k?"rc-dropdown":k,D=e.transitionName,T=e.animation,j=e.align,L=e.placement,H=e.placements,B=e.getPopupContainer,K=e.showAction,F=e.hideAction,W=e.overlayClassName,V=e.overlayStyle,_=e.visible,G=e.trigger,X=void 0===G?["hover"]:G,Y=e.autoFocus,q=e.overlay,U=e.children,Q=e.onVisibleChange,$=(0,i.A)(e,A),J=d.useState(),Z=(0,a.A)(J,2),ee=Z[0],et=Z[1],en="visible"in e?_:ee,eo=d.useRef(null),er=d.useRef(null),ea=d.useRef(null);d.useImperativeHandle(t,function(){return eo.current});var ei=function(e){et(e),null==Q||Q(e)};c=(n={visible:en,triggerRef:ea,onVisibleChange:ei,autoFocus:Y,overlayRef:er}).visible,f=n.triggerRef,h=n.onVisibleChange,b=n.autoFocus,w=n.overlayRef,E=d.useRef(!1),C=function(){if(c){var e,t;null==(e=f.current)||null==(t=e.focus)||t.call(e),null==h||h(!1)}},S=function(){var e;return null!=(e=w.current)&&!!e.focus&&(w.current.focus(),E.current=!0,!0)},x=function(e){switch(e.keyCode){case m:C();break;case v:var t=!1;E.current||(t=S()),t?e.preventDefault():C()}},d.useEffect(function(){return c?(window.addEventListener("keydown",x),b&&(0,p.A)(S,3),function(){window.removeEventListener("keydown",x),E.current=!1}):function(){E.current=!1}},[c]);var el=function(){return d.createElement(g,{ref:er,overlay:q,prefixCls:z,arrow:P})},ec=d.cloneElement(U,{className:u()(null==(R=U.props)?void 0:R.className,en&&(void 0!==(O=e.openClassName)?O:"".concat(z,"-open"))),ref:(0,s.f3)(U)?(0,s.K4)(ea,(0,s.A9)(U)):void 0}),eu=F;return eu||-1===X.indexOf("contextMenu")||(eu=["click"]),d.createElement(l.A,(0,o.A)({builtinPlacements:void 0===H?y:H},$,{prefixCls:z,ref:eo,popupClassName:u()(W,(0,r.A)({},"".concat(z,"-show-arrow"),P)),popupStyle:V,action:X,showAction:K,hideAction:eu,popupPlacement:void 0===L?"bottomLeft":L,popupAlign:j,popupTransitionName:D,popupAnimation:T,popupVisible:en,stretch:(I=e.minOverlayWidthMatchTrigger,M=e.alignPoint,"minOverlayWidthMatchTrigger"in e?I:!M)?"minWidth":"",popup:"function"==typeof q?el:el(),onPopupVisibleChange:ei,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:B}),ec)})},11359:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(89593),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},18118:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},29353:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(12115),r=n(15982),a=n(36768);let i=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,o.useContext)(r.QO),i=n("empty");switch(t){case"Table":case"List":return o.createElement(a.A,{image:a.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.A,{image:a.A.PRESENTED_IMAGE_SIMPLE,className:"".concat(i,"-small")});case"Table.filter":return null;default:return o.createElement(a.A,null)}}},31776:(e,t,n)=>{n.d(t,{A:()=>c,U:()=>l});var o=n(12115),r=n(48804),a=n(57845),i=n(15982);function l(e){return t=>o.createElement(a.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},o.createElement(e,Object.assign({},t)))}let c=(e,t,n,a,c)=>l(l=>{let{prefixCls:u,style:s}=l,d=o.useRef(null),[f,p]=o.useState(0),[m,v]=o.useState(0),[g,h]=(0,r.A)(!1,{value:l.open}),{getPrefixCls:b}=o.useContext(i.QO),y=b(a||"select",u);o.useEffect(()=>{if(h(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;p(t.offsetHeight+8),v(t.offsetWidth)}),t=setInterval(()=>{var n;let o=c?".".concat(c(y)):".".concat(y,"-dropdown"),r=null==(n=d.current)?void 0:n.querySelector(o);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[y]);let A=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>d.current});return n&&(A=n(A)),t&&Object.assign(A,{[t]:{overflow:{adjustX:!1,adjustY:!1}}}),o.createElement("div",{ref:d,style:{paddingBottom:f,position:"relative",minWidth:m}},o.createElement(e,Object.assign({},A)))})},32013:(e,t,n)=>{n.d(t,{A:()=>e5});var o=n(12115),r=n(29300),a=n.n(r),i=n(79630),l=n(85757),c=n(40419),u=n(27061),s=n(21858),d=n(20235),f=n(86608),p=n(48804),m=n(9587),v=n(26791),g=n(96951),h=n(74686);let b=function(e){var t=e.className,n=e.customizeIcon,r=e.customizeIconProps,i=e.children,l=e.onMouseDown,c=e.onClick,u="function"==typeof n?n(r):n;return o.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==l||l(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},void 0!==u?u:o.createElement("span",{className:a()(t.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},i))};var y=function(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=o.useMemo(function(){return"object"===(0,f.A)(r)?r.clearIcon:a||void 0},[r,a]);return{allowClear:o.useMemo(function(){return!i&&!!r&&(!!n.length||!!l)&&("combobox"!==c||""!==l)},[r,i,n.length,l,c]),clearIcon:o.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:u},"\xd7")}},A=o.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=o.useRef(null),n=o.useRef(null);return o.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(17233),C=n(40032),S=n(60343);let x=function(e,t,n){var o=(0,u.A)((0,u.A)({},e),n?t:{});return Object.keys(t).forEach(function(n){var r=t[n];"function"==typeof r&&(o[n]=function(){for(var t,o=arguments.length,a=Array(o),i=0;iM&&(a="".concat(i.slice(0,M),"..."))}var l=function(t){t&&t.stopPropagation(),L(e)};return"function"==typeof T?er(o,a,t,r,l):eo(e,a,t,r,l)},renderRest:function(e){if(!l.length)return null;var t="function"==typeof D?D(e):D;return"function"==typeof T?er(void 0,t,!1,!1,void 0,!0):eo({title:t},t,!1)},suffix:ea,itemKey:k,maxCount:O});return o.createElement("span",{className:"".concat(ee,"-wrap")},ei,!l.length&&!et&&o.createElement("span",{className:"".concat(ee,"-placeholder")},m))},T=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,a=e.inputRef,i=e.disabled,l=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,d=e.mode,f=e.open,p=e.values,m=e.placeholder,v=e.tabIndex,g=e.showSearch,h=e.searchValue,b=e.activeValue,y=e.maxLength,A=e.onInputKeyDown,w=e.onInputMouseDown,E=e.onInputChange,S=e.onInputPaste,x=e.onInputCompositionStart,O=e.onInputCompositionEnd,M=e.onInputBlur,R=e.title,N=o.useState(!1),k=(0,s.A)(N,2),z=k[0],D=k[1],T="combobox"===d,j=T||g,L=p[0],H=h||"";T&&b&&!z&&(H=b),o.useEffect(function(){T&&D(!1)},[T,b]);var B=("combobox"===d||!!f||!!g)&&!!H,K=void 0===R?P(L):R,F=o.useMemo(function(){return L?null:o.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:B?{visibility:"hidden"}:void 0},m)},[L,B,m,n]);return o.createElement("span",{className:"".concat(n,"-selection-wrap")},o.createElement("span",{className:"".concat(n,"-selection-search")},o.createElement(I,{ref:a,prefixCls:n,id:r,open:f,inputElement:t,disabled:i,autoFocus:l,autoComplete:c,editable:j,activeDescendantId:u,value:H,onKeyDown:A,onMouseDown:w,onChange:function(e){D(!0),E(e)},onPaste:S,onCompositionStart:x,onCompositionEnd:O,onBlur:M,tabIndex:v,attrs:(0,C.A)(e,!0),maxLength:T?y:void 0})),!T&&L?o.createElement("span",{className:"".concat(n,"-selection-item"),title:K,style:B?{visibility:"hidden"}:void 0},L.label):null,F)};var j=o.forwardRef(function(e,t){var n=(0,o.useRef)(null),r=(0,o.useRef)(!1),a=e.prefixCls,l=e.open,c=e.mode,u=e.showSearch,d=e.tokenWithEnter,f=e.disabled,p=e.prefix,m=e.autoClearSearchValue,v=e.onSearch,g=e.onSearchSubmit,h=e.onToggleOpen,b=e.onInputKeyDown,y=e.onInputBlur,A=e.domRef;o.useImperativeHandle(t,function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}});var C=w(0),S=(0,s.A)(C,2),x=S[0],O=S[1],I=(0,o.useRef)(null),M=function(e){!1!==v(e,!0,r.current)&&h(!0)},R={inputRef:n,onInputKeyDown:function(e){var t=e.which,o=n.current instanceof HTMLTextAreaElement;!o&&l&&(t===E.A.UP||t===E.A.DOWN)&&e.preventDefault(),b&&b(e),t!==E.A.ENTER||"tags"!==c||r.current||l||null==g||g(e.target.value),o&&!l&&~[E.A.UP,E.A.DOWN,E.A.LEFT,E.A.RIGHT].indexOf(t)||t&&![E.A.ESC,E.A.SHIFT,E.A.BACKSPACE,E.A.TAB,E.A.WIN_KEY,E.A.ALT,E.A.META,E.A.WIN_KEY_RIGHT,E.A.CTRL,E.A.SEMICOLON,E.A.EQUALS,E.A.CAPS_LOCK,E.A.CONTEXT_MENU,E.A.F1,E.A.F2,E.A.F3,E.A.F4,E.A.F5,E.A.F6,E.A.F7,E.A.F8,E.A.F9,E.A.F10,E.A.F11,E.A.F12].includes(t)&&h(!0)},onInputMouseDown:function(){O(!0)},onInputChange:function(e){var t=e.target.value;if(d&&I.current&&/[\r\n]/.test(I.current)){var n=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,I.current)}I.current=null,M(t)},onInputPaste:function(e){var t=e.clipboardData;I.current=(null==t?void 0:t.getData("text"))||""},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(e){r.current=!1,"combobox"!==c&&M(e.target.value)},onInputBlur:y},N="multiple"===c||"tags"===c?o.createElement(D,(0,i.A)({},e,R)):o.createElement(T,(0,i.A)({},e,R));return o.createElement("div",{ref:A,className:"".concat(a,"-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=x();e.target===n.current||t||"combobox"===c&&f||e.preventDefault(),("combobox"===c||u&&t)&&l||(l&&!1!==m&&v("",!0,!1),h())}},p&&o.createElement("div",{className:"".concat(a,"-prefix")},p),N)}),L=n(56980),H=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],B=function(e){var t=+(!0!==e);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"}}},K=o.forwardRef(function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),l=e.children,s=e.popupElement,f=e.animation,p=e.transitionName,m=e.dropdownStyle,v=e.dropdownClassName,g=e.direction,h=e.placement,b=e.builtinPlacements,y=e.dropdownMatchSelectWidth,A=e.dropdownRender,w=e.dropdownAlign,E=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,O=e.onPopupMouseEnter,I=(0,d.A)(e,H),M="".concat(n,"-dropdown"),R=s;A&&(R=A(s));var N=o.useMemo(function(){return b||B(y)},[b,y]),P=f?"".concat(M,"-").concat(f):p,k="number"==typeof y,z=o.useMemo(function(){return k?null:!1===y?"minWidth":"width"},[y,k]),D=m;k&&(D=(0,u.A)((0,u.A)({},D),{},{width:y}));var T=o.useRef(null);return o.useImperativeHandle(t,function(){return{getPopupElement:function(){var e;return null==(e=T.current)?void 0:e.popupElement}}}),o.createElement(L.A,(0,i.A)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:N,prefixCls:M,popupTransitionName:P,popup:o.createElement("div",{onMouseEnter:O},R),ref:T,stretch:z,popupAlign:w,popupVisible:r,getPopupContainer:E,popupClassName:a()(v,(0,c.A)({},"".concat(M,"-empty"),C)),popupStyle:D,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)}),F=n(93821);function W(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){return void 0!==e&&!Number.isNaN(e)}function _(e,t){var n=e||{},o=n.label,r=n.value,a=n.options,i=n.groupLabel,l=o||(t?"children":"label");return{label:l,value:r||"value",options:a||"options",groupLabel:i||l}}function G(e){var t=(0,u.A)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,m.Ay)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var X=function(e,t,n){if(!t||!t.length)return null;var o=!1,r=function e(t,n){var r=(0,F.A)(n),a=r[0],i=r.slice(1);if(!a)return[t];var c=t.split(a);return o=o||c.length>1,c.reduce(function(t,n){return[].concat((0,l.A)(t),(0,l.A)(e(n,i)))},[]).filter(Boolean)}(e,t);return o?void 0!==n?r.slice(0,n):r:null},Y=o.createContext(null);function q(e){var t=e.visible,n=e.values;return t?o.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map(function(e){var t=e.label,n=e.value;return["number","string"].includes((0,f.A)(t))?t:n}).join(", ")),n.length>50?", ...":null):null}var U=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],$=function(e){return"tags"===e||"multiple"===e},J=o.forwardRef(function(e,t){var n,r,f,m,E,C,S,x=e.id,O=e.prefixCls,I=e.className,M=e.showSearch,R=e.tagRender,N=e.direction,P=e.omitDomProps,k=e.displayValues,z=e.onDisplayValuesChange,D=e.emptyOptions,T=e.notFoundContent,L=void 0===T?"Not Found":T,H=e.onClear,B=e.mode,F=e.disabled,W=e.loading,_=e.getInputElement,G=e.getRawInputElement,J=e.open,Z=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ea=e.autoClearSearchValue,ei=e.onSearch,el=e.onSearchSplit,ec=e.tokenSeparators,eu=e.allowClear,es=e.prefix,ed=e.suffixIcon,ef=e.clearIcon,ep=e.OptionList,em=e.animation,ev=e.transitionName,eg=e.dropdownStyle,eh=e.dropdownClassName,eb=e.dropdownMatchSelectWidth,ey=e.dropdownRender,eA=e.dropdownAlign,ew=e.placement,eE=e.builtinPlacements,eC=e.getPopupContainer,eS=e.showAction,ex=void 0===eS?[]:eS,eO=e.onFocus,eI=e.onBlur,eM=e.onKeyUp,eR=e.onKeyDown,eN=e.onMouseDown,eP=(0,d.A)(e,U),ek=$(B),ez=(void 0!==M?M:ek)||"combobox"===B,eD=(0,u.A)({},eP);Q.forEach(function(e){delete eD[e]}),null==P||P.forEach(function(e){delete eD[e]});var eT=o.useState(!1),ej=(0,s.A)(eT,2),eL=ej[0],eH=ej[1];o.useEffect(function(){eH((0,g.A)())},[]);var eB=o.useRef(null),eK=o.useRef(null),eF=o.useRef(null),eW=o.useRef(null),eV=o.useRef(null),e_=o.useRef(!1),eG=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=o.useState(!1),n=(0,s.A)(t,2),r=n[0],a=n[1],i=o.useRef(null),l=function(){window.clearTimeout(i.current)};return o.useEffect(function(){return l},[]),[r,function(t,n){l(),i.current=window.setTimeout(function(){a(t),n&&n()},e)},l]}(),eX=(0,s.A)(eG,3),eY=eX[0],eq=eX[1],eU=eX[2];o.useImperativeHandle(t,function(){var e,t;return{focus:null==(e=eW.current)?void 0:e.focus,blur:null==(t=eW.current)?void 0:t.blur,scrollTo:function(e){var t;return null==(t=eV.current)?void 0:t.scrollTo(e)},nativeElement:eB.current||eK.current}});var eQ=o.useMemo(function(){if("combobox"!==B)return er;var e,t=null==(e=k[0])?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,B,k]),e$="combobox"===B&&"function"==typeof _&&_()||null,eJ="function"==typeof G&&G(),eZ=(0,h.xK)(eK,null==eJ||null==(m=eJ.props)?void 0:m.ref),e0=o.useState(!1),e1=(0,s.A)(e0,2),e2=e1[0],e6=e1[1];(0,v.A)(function(){e6(!0)},[]);var e3=(0,p.A)(!1,{defaultValue:Z,value:J}),e4=(0,s.A)(e3,2),e5=e4[0],e8=e4[1],e9=!!e2&&e5,e7=!L&&D;(F||e7&&e9&&"combobox"===B)&&(e9=!1);var te=!e7&&e9,tt=o.useCallback(function(e){var t=void 0!==e?e:!e9;F||(e8(t),e9!==t&&(null==ee||ee(t)))},[F,e9,e8,ee]),tn=o.useMemo(function(){return(ec||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ec]),to=o.useContext(Y)||{},tr=to.maxCount,ta=to.rawValues,ti=function(e,t,n){if(!(ek&&V(tr))||!((null==ta?void 0:ta.size)>=tr)){var o=!0,r=e;null==en||en(null);var a=X(e,ec,V(tr)?tr-ta.size:void 0),i=n?null:a;return"combobox"!==B&&i&&(r="",null==el||el(i),tt(!1),o=!1),ei&&eQ!==r&&ei(r,{source:t?"typing":"effect"}),o}};o.useEffect(function(){e9||ek||"combobox"===B||ti("",!1,!1)},[e9]),o.useEffect(function(){e5&&F&&e8(!1),F&&!e_.current&&eq(!1)},[F]);var tl=w(),tc=(0,s.A)(tl,2),tu=tc[0],ts=tc[1],td=o.useRef(!1),tf=o.useRef(!1),tp=[];o.useEffect(function(){return function(){tp.forEach(function(e){return clearTimeout(e)}),tp.splice(0,tp.length)}},[]);var tm=o.useState({}),tv=(0,s.A)(tm,2)[1];eJ&&(E=function(e){tt(e)}),n=function(){var e;return[eB.current,null==(e=eF.current)?void 0:e.getPopupElement()]},r=!!eJ,(f=o.useRef(null)).current={open:te,triggerOpen:tt,customizedTrigger:r},o.useEffect(function(){function e(e){if(null==(t=f.current)||!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 tg=o.useMemo(function(){return(0,u.A)((0,u.A)({},e),{},{notFoundContent:L,open:e9,triggerOpen:te,id:x,showSearch:ez,multiple:ek,toggleOpen:tt})},[e,L,te,e9,x,ez,ek,tt]),th=!!ed||W;th&&(C=o.createElement(b,{className:a()("".concat(O,"-arrow"),(0,c.A)({},"".concat(O,"-arrow-loading"),W)),customizeIcon:ed,customizeIconProps:{loading:W,searchValue:eQ,open:e9,focused:eY,showSearch:ez}}));var tb=y(O,function(){var e;null==H||H(),null==(e=eW.current)||e.focus(),z([],{type:"clear",values:k}),ti("",!1,!1)},k,eu,ef,F,eQ,B),ty=tb.allowClear,tA=tb.clearIcon,tw=o.createElement(ep,{ref:eV}),tE=a()(O,I,(0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(O,"-focused"),eY),"".concat(O,"-multiple"),ek),"".concat(O,"-single"),!ek),"".concat(O,"-allow-clear"),eu),"".concat(O,"-show-arrow"),th),"".concat(O,"-disabled"),F),"".concat(O,"-loading"),W),"".concat(O,"-open"),e9),"".concat(O,"-customize-input"),e$),"".concat(O,"-show-search"),ez)),tC=o.createElement(K,{ref:eF,disabled:F,prefixCls:O,visible:te,popupElement:tw,animation:em,transitionName:ev,dropdownStyle:eg,dropdownClassName:eh,direction:N,dropdownMatchSelectWidth:eb,dropdownRender:ey,dropdownAlign:eA,placement:ew,builtinPlacements:eE,getPopupContainer:eC,empty:D,getTriggerDOMNode:function(e){return eK.current||e},onPopupVisibleChange:E,onPopupMouseEnter:function(){tv({})}},eJ?o.cloneElement(eJ,{ref:eZ}):o.createElement(j,(0,i.A)({},e,{domRef:eK,prefixCls:O,inputElement:e$,ref:eW,id:x,prefix:es,showSearch:ez,autoClearSearchValue:ea,mode:B,activeDescendantId:eo,tagRender:R,values:k,open:e9,onToggleOpen:tt,activeValue:et,searchValue:eQ,onSearch:ti,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:tn,onInputBlur:function(){td.current=!1}})));return S=eJ?tC:o.createElement("div",(0,i.A)({className:tE},eD,{ref:eB,onMouseDown:function(e){var t,n=e.target,o=null==(t=eF.current)?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tp.indexOf(r);-1!==t&&tp.splice(t,1),eU(),eL||o.contains(document.activeElement)||null==(e=eW.current)||e.focus()});tp.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;c-=1){var u=a[c];if(!u.disabled){a.splice(c,1),i=u;break}}i&&z(a,{type:"remove",values:[i]})}for(var s=arguments.length,d=Array(s>1?s-1:0),f=1;f1?n-1:0),r=1;r=S},[p,S,null==N?void 0:N.size]),F=function(e){e.preventDefault()},W=function(e){var t;null==(t=B.current)||t.scrollTo("number"==typeof e?{index:e}:e)},_=o.useCallback(function(e){return"combobox"!==m&&N.has(e)},[m,(0,l.A)(N).toString(),N.size]),G=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=H.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];Q(e);var n={source:t?"keyboard":"mouse"},o=H[e];if(!o)return void O(null,-1,n);O(o.value,e,n)};(0,o.useEffect)(function(){$(!1!==I?G(0):-1)},[H.length,v]);var J=o.useCallback(function(e){return"combobox"===m?String(e).toLowerCase()===v.toLowerCase():N.has(e)},[m,v,(0,l.A)(N).toString(),N.size]);(0,o.useEffect)(function(){var e,t=setTimeout(function(){if(!p&&f&&1===N.size){var e=Array.from(N)[0],t=H.findIndex(function(t){var n=t.data;return v?String(n.value).startsWith(v):n.value===e});-1!==t&&($(t),W(t))}});return f&&(null==(e=B.current)||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,v]);var Z=function(e){void 0!==e&&M(e,{selected:!N.has(e)}),p||g(!1)};if(o.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case E.A.N:case E.A.P:case E.A.UP:case E.A.DOWN:var o=0;if(t===E.A.UP?o=-1:t===E.A.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===E.A.N?o=1:t===E.A.P&&(o=-1)),0!==o){var r=G(U+o,o);W(r),$(r,!0)}break;case E.A.TAB:case E.A.ENTER:var a,i=H[U];!i||null!=i&&null!=(a=i.data)&&a.disabled||K?Z(void 0):Z(i.value),f&&e.preventDefault();break;case E.A.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){W(e)}}}),0===H.length)return o.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(L,"-empty"),onMouseDown:F},h);var ee=Object.keys(P).map(function(e){return P[e]}),ei=function(e){return e.label};function el(e,t){return{role:e.group?"presentation":"option",id:"".concat(u,"_list_").concat(t)}}var ec=function(e){var t=H[e];if(!t)return null;var n=t.data||{},r=n.value,a=t.group,l=(0,C.A)(n,!0),c=ei(t);return t?o.createElement("div",(0,i.A)({"aria-label":"string"!=typeof c||a?null:c},l,{key:e},el(t,e),{"aria-selected":J(r)}),r):null},eu={role:"listbox",id:"".concat(u,"_list")};return o.createElement(o.Fragment,null,k&&o.createElement("div",(0,i.A)({},eu,{style:{height:0,width:0,overflow:"hidden"}}),ec(U-1),ec(U),ec(U+1)),o.createElement(eo.A,{itemKey:"key",ref:B,data:H,height:D,itemHeight:T,fullHeight:!1,onMouseDown:F,onScroll:y,virtual:k,direction:z,innerProps:k?null:eu},function(e,t){var n=e.group,r=e.groupOption,l=e.data,u=e.label,s=e.value,f=l.key;if(n){var p,m=null!=(p=l.title)?p:ea(u)?u.toString():void 0;return o.createElement("div",{className:a()(L,"".concat(L,"-group"),l.className),title:m},void 0!==u?u:f)}var v=l.disabled,g=l.title,h=(l.children,l.style),y=l.className,A=(0,d.A)(l,er),w=(0,en.A)(A,ee),E=_(s),S=v||!E&&K,x="".concat(L,"-option"),O=a()(L,x,y,(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(x,"-grouped"),r),"".concat(x,"-active"),U===t&&!S),"".concat(x,"-disabled"),S),"".concat(x,"-selected"),E)),I=ei(e),M=!R||"function"==typeof R||E,N="number"==typeof I?I:I||s,P=ea(N)?N.toString():void 0;return void 0!==g&&(P=g),o.createElement("div",(0,i.A)({},(0,C.A)(w),k?{}:el(e,t),{"aria-selected":J(s),className:O,title:P,onMouseMove:function(){U===t||S||$(t)},onClick:function(){S||Z(s)},style:h}),o.createElement("div",{className:"".concat(x,"-content")},"function"==typeof j?j(e,{index:t}):N),o.isValidElement(R)||E,M&&o.createElement(b,{className:"".concat(L,"-option-state"),customizeIcon:R,customizeIconProps:{value:s,disabled:S,isSelected:E}},E?"✓":null))}))});let el=function(e,t){var n=o.useRef({values:new Map,options:new Map});return[o.useMemo(function(){var o=n.current,r=o.values,a=o.options,i=e.map(function(e){if(void 0===e.label){var t;return(0,u.A)((0,u.A)({},e),{},{label:null==(t=r.get(e.value))?void 0:t.label})}return e}),l=new Map,c=new Map;return i.forEach(function(e){l.set(e.value,e),c.set(e.value,t.get(e.value)||a.get(e.value))}),n.current.values=l,n.current.options=c,i},[e,t]),o.useCallback(function(e){return t.get(e)||n.current.options.get(e)},[t])]};function ec(e,t){return M(e).join("").toUpperCase().includes(t)}var eu=n(71367),es=0,ed=(0,eu.A)(),ef=n(63715),ep=["children","value"],em=["children"];function ev(e){var t=o.useRef();return t.current=e,o.useCallback(function(){return t.current.apply(t,arguments)},[])}var eg=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],eh=["inputValue"],eb=o.forwardRef(function(e,t){var n,r,a,m,v,g=e.id,h=e.mode,b=e.prefixCls,y=e.backfill,A=e.fieldNames,w=e.inputValue,E=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,x=void 0===S||S,O=e.onSelect,I=e.onDeselect,R=e.dropdownMatchSelectWidth,N=void 0===R||R,P=e.filterOption,k=e.filterSort,z=e.optionFilterProp,D=e.optionLabelProp,T=e.options,j=e.optionRender,L=e.children,H=e.defaultActiveFirstOption,B=e.menuItemSelectedIcon,K=e.virtual,F=e.direction,V=e.listHeight,X=void 0===V?200:V,q=e.listItemHeight,U=void 0===q?20:q,Q=e.labelRender,Z=e.value,ee=e.defaultValue,et=e.labelInValue,en=e.onChange,eo=e.maxCount,er=(0,d.A)(e,eg),ea=(n=o.useState(),a=(r=(0,s.A)(n,2))[0],m=r[1],o.useEffect(function(){var e;m("rc_select_".concat((ed?(e=es,es+=1):e="TEST_OR_SSR",e)))},[]),g||a),eu=$(h),eb=!!(!T&&L),ey=o.useMemo(function(){return(void 0!==P||"combobox"!==h)&&P},[P,h]),eA=o.useMemo(function(){return _(A,eb)},[JSON.stringify(A),eb]),ew=(0,p.A)("",{value:void 0!==E?E:w,postState:function(e){return e||""}}),eE=(0,s.A)(ew,2),eC=eE[0],eS=eE[1],ex=o.useMemo(function(){var e=T;T||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ef.A)(t).map(function(t,r){if(!o.isValidElement(t)||!t.type)return null;var a,i,l,c,s,f=t.type.isSelectOptGroup,p=t.key,m=t.props,v=m.children,g=(0,d.A)(m,em);return n||!f?(a=t.key,l=(i=t.props).children,c=i.value,s=(0,d.A)(i,ep),(0,u.A)({key:a,value:void 0!==c?c:a,children:l},s)):(0,u.A)((0,u.A)({key:"__RC_SELECT_GRP__".concat(null===p?r:p,"__"),label:p},g),{},{options:e(v)})}).filter(function(e){return e})}(L));var t=new Map,n=new Map,r=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return!function e(o){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i0?e(t.options):t.options}):t})}(eW):eW},[eW,k,eC]),e_=o.useMemo(function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=_(n,!1),i=a.label,l=a.value,c=a.options,u=a.groupLabel;return!function e(t,n){Array.isArray(t)&&t.forEach(function(t){if(!n&&c in t){var a=t[u];void 0===a&&o&&(a=t.label),r.push({key:W(t,r.length),group:!0,data:t,label:a}),e(t[c],!0)}else{var s=t[l];r.push({key:W(t,r.length),groupOption:n,data:t,label:t[i],value:s})}})}(e,!1),r}(eV,{fieldNames:eA,childrenAsData:eb})},[eV,eA,eb]),eG=function(e){var t=eR(e);if(ez(t),en&&(t.length!==ej.length||t.some(function(e,t){var n;return(null==(n=ej[t])?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=et?t:t.map(function(e){return e.value}),o=t.map(function(e){return G(eL(e.value))});en(eu?n:n[0],eu?o:o[0])}},eX=o.useState(null),eY=(0,s.A)(eX,2),eq=eY[0],eU=eY[1],eQ=o.useState(0),e$=(0,s.A)(eQ,2),eJ=e$[0],eZ=e$[1],e0=void 0!==H?H:"combobox"!==h,e1=o.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eZ(t),y&&"combobox"===h&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[y,h]),e2=function(e,t,n){var o=function(){var t,n=eL(e);return[et?{label:null==n?void 0:n[eA.label],value:e,key:null!=(t=null==n?void 0:n.key)?t:e}:e,G(n)]};if(t&&O){var r=o(),a=(0,s.A)(r,2);O(a[0],a[1])}else if(!t&&I&&"clear"!==n){var i=o(),l=(0,s.A)(i,2);I(l[0],l[1])}},e6=ev(function(e,t){var n=!eu||t.selected;eG(n?eu?[].concat((0,l.A)(ej),[e]):[e]:ej.filter(function(t){return t.value!==e})),e2(e,n),"combobox"===h?eU(""):(!$||x)&&(eS(""),eU(""))}),e3=o.useMemo(function(){var e=!1!==K&&!1!==N;return(0,u.A)((0,u.A)({},ex),{},{flattenOptions:e_,onActiveValue:e1,defaultActiveFirstOption:e0,onSelect:e6,menuItemSelectedIcon:B,rawValues:eB,fieldNames:eA,virtual:e,direction:F,listHeight:X,listItemHeight:U,childrenAsData:eb,maxCount:eo,optionRender:j})},[eo,ex,e_,e1,e0,e6,B,eB,eA,K,N,F,X,U,eb,j]);return o.createElement(Y.Provider,{value:e3},o.createElement(J,(0,i.A)({},er,{id:ea,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:eh,mode:h,displayValues:eH,onDisplayValuesChange:function(e,t){eG(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){e2(e.value,!1,n)})},direction:F,searchValue:eC,onSearch:function(e,t){if(eS(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(eG(Array.from(new Set([].concat((0,l.A)(eB),[n])))),e2(n,!0),eS(""));return}"blur"!==t.source&&("combobox"===h&&eG(e),null==C||C(e))},autoClearSearchValue:x,onSearchSplit:function(e){var t=e;"tags"!==h&&(t=e.map(function(e){var t=eI.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.A)(eB),(0,l.A)(t))));eG(n),n.forEach(function(e){e2(e,!0)})},dropdownMatchSelectWidth:N,OptionList:ei,emptyOptions:!e_.length,activeValue:eq,activeDescendantId:"".concat(ea,"_list_").concat(eJ)})))});eb.Option=ee,eb.OptGroup=Z;var ey=n(9130),eA=n(93666),ew=n(31776),eE=n(79007),eC=n(15982),eS=n(29353),ex=n(44494),eO=n(68151),eI=n(9836),eM=n(63568),eR=n(63893),eN=n(96936),eP=n(70042),ek=n(18184),ez=n(67831),eD=n(45431),eT=n(61388),ej=n(53272),eL=n(52770);let eH=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 eB=n(99841);function eK(e,t){let{componentCls:n}=e,o=t?"".concat(n,"-").concat(t):"",r={["".concat(n,"-multiple").concat(o)]:{fontSize:e.fontSize,["".concat(n,"-selector")]:{["".concat(n,"-show-search&")]:{cursor:"text"}},["\n &".concat(n,"-show-arrow ").concat(n,"-selector,\n &").concat(n,"-allow-clear ").concat(n,"-selector\n ")]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[((e,t)=>{let{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,r="".concat(n,"-selection-overflow"),a=e.multipleSelectItemHeight,i=(e=>{let{multipleSelectItemHeight:t,selectHeight:n,lineWidth:o}=e;return e.calc(n).sub(t).div(2).sub(o).equal()})(e),l=t?"".concat(n,"-").concat(t):"",c=(e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=e.max(e.calc(n).sub(o).equal(),0),i=e.max(e.calc(a).sub(r).equal(),0);return{basePadding:a,containerPadding:i,itemHeight:(0,eB.zA)(t),itemLineHeight:(0,eB.zA)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}})(e);return{["".concat(n,"-multiple").concat(l)]:Object.assign(Object.assign({},(e=>{let{componentCls:t,iconCls:n,borderRadiusSM:o,motionDurationSlow:r,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:s}=e;return{["".concat(t,"-selection-overflow")]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},["".concat(t,"-selection-item")]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:s,borderRadius:o,cursor:"default",transition:"font-size ".concat(r,", line-height ").concat(r,", height ").concat(r),marginInlineEnd:e.calc(s).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),["".concat(t,"-disabled&")]:{color:i,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ek.Nk)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",["> ".concat(n)]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}})(e)),{["".concat(n,"-selector")]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,["".concat(n,"-disabled&")]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"".concat((0,eB.zA)(o)," 0"),lineHeight:(0,eB.zA)(a),visibility:"hidden",content:'"\\a0"'}},["".concat(n,"-selection-item")]:{height:c.itemHeight,lineHeight:(0,eB.zA)(c.itemLineHeight)},["".concat(n,"-selection-wrap")]:{alignSelf:"flex-start","&:after":{lineHeight:(0,eB.zA)(a),marginBlock:o}},["".concat(n,"-prefix")]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},["".concat(r,"-item + ").concat(r,"-item,\n ").concat(n,"-prefix + ").concat(n,"-selection-wrap\n ")]:{["".concat(n,"-selection-search")]:{marginInlineStart:0},["".concat(n,"-selection-placeholder")]:{insetInlineStart:0}},["".concat(r,"-item-suffix")]:{minHeight:c.itemHeight,marginBlock:o},["".concat(n,"-selection-search")]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:(0,eB.zA)(a),transition:"all ".concat(e.motionDurationSlow)},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},["".concat(n,"-selection-placeholder")]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:"all ".concat(e.motionDurationSlow)}})}})(e,t),r]}function eF(e,t){let{componentCls:n,inputPaddingHorizontalBase:o,borderRadius:r}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?"".concat(n,"-").concat(t):"";return{["".concat(n,"-single").concat(i)]:{fontSize:e.fontSize,height:e.controlHeight,["".concat(n,"-selector")]:Object.assign(Object.assign({},(0,ek.dF)(e,!0)),{display:"flex",borderRadius:r,flex:"1 1 auto",["".concat(n,"-selection-wrap:after")]:{lineHeight:(0,eB.zA)(a)},["".concat(n,"-selection-search")]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},["\n ".concat(n,"-selection-item,\n ").concat(n,"-selection-placeholder\n ")]:{display:"block",padding:0,lineHeight:(0,eB.zA)(a),transition:"all ".concat(e.motionDurationSlow,", visibility 0s"),alignSelf:"center"},["".concat(n,"-selection-placeholder")]:{transition:"none",pointerEvents:"none"},[["&:after","".concat(n,"-selection-item:empty:after"),"".concat(n,"-selection-placeholder:empty:after")].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),["\n &".concat(n,"-show-arrow ").concat(n,"-selection-item,\n &").concat(n,"-show-arrow ").concat(n,"-selection-search,\n &").concat(n,"-show-arrow ").concat(n,"-selection-placeholder\n ")]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},["&".concat(n,"-open ").concat(n,"-selection-item")]:{color:e.colorTextPlaceholder},["&:not(".concat(n,"-customize-input)")]:{["".concat(n,"-selector")]:{width:"100%",height:"100%",alignItems:"center",padding:"0 ".concat((0,eB.zA)(o)),["".concat(n,"-selection-search-input")]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:(0,eB.zA)(a)}}},["&".concat(n,"-customize-input")]:{["".concat(n,"-selector")]:{"&:after":{display:"none"},["".concat(n,"-selection-search")]:{position:"static",width:"100%"},["".concat(n,"-selection-placeholder")]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:"0 ".concat((0,eB.zA)(o)),"&:after":{display:"none"}}}}}}}let eW=(e,t)=>{let{componentCls:n,antCls:o,controlOutlineWidth:r}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(t.borderColor),background:e.selectorBg},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:t.hoverBorderHover},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:t.activeBorderColor,boxShadow:"0 0 0 ".concat((0,eB.zA)(r)," ").concat(t.activeOutlineColor),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},eV=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},eW(e,t))}),e_=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{background:t.bg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),color:t.color},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{background:t.hoverBg},["".concat(n,"-focused& ").concat(n,"-selector")]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},eG=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},e_(e,t))}),eX=(e,t)=>{let{componentCls:n,antCls:o}=e;return{["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:{borderWidth:"".concat((0,eB.zA)(e.lineWidth)," 0"),borderStyle:"".concat(e.lineType," none"),borderColor:"transparent transparent ".concat(t.borderColor," transparent"),background:e.selectorBg,borderRadius:0},["&:not(".concat(n,"-disabled):not(").concat(n,"-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["&:hover ".concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.hoverBorderHover," transparent")},["".concat(n,"-focused& ").concat(n,"-selector")]:{borderColor:"transparent transparent ".concat(t.activeBorderColor," transparent"),outline:0},["".concat(n,"-prefix")]:{color:t.color}}}},eY=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status)]:Object.assign({},eX(e,t))}),eq=(0,eD.OF)("Select",(e,t)=>{let{rootPrefixCls:n}=t,o=(0,eT.oX)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[(e=>{let{componentCls:t}=e;return[{[t]:{["&".concat(t,"-in-form-item")]:{width:"100%"}}},(e=>{let{antCls:t,componentCls:n,inputPaddingHorizontalBase:o,iconCls:r}=e,a={["".concat(n,"-clear")]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},(0,ek.dF)(e)),{position:"relative",display:"inline-flex",cursor:"pointer",["&:not(".concat(n,"-customize-input) ").concat(n,"-selector")]:Object.assign(Object.assign({},(e=>{let{componentCls:t}=e;return{position:"relative",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),input:{cursor:"pointer"},["".concat(t,"-show-search&")]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},["".concat(t,"-disabled&")]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}})(e)),(e=>{let{componentCls:t}=e;return{["".concat(t,"-selection-search-input")]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}})(e)),["".concat(n,"-selection-item")]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},ek.L9),{["> ".concat(t,"-typography")]:{display:"inline"}}),["".concat(n,"-selection-placeholder")]:Object.assign(Object.assign({},ek.L9),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),["".concat(n,"-arrow")]:Object.assign(Object.assign({},(0,ek.Nk)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:"opacity ".concat(e.motionDurationSlow," ease"),[r]:{verticalAlign:"top",transition:"transform ".concat(e.motionDurationSlow),"> svg":{verticalAlign:"top"},["&:not(".concat(n,"-suffix)")]:{pointerEvents:"auto"}},["".concat(n,"-disabled &")]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),["".concat(n,"-selection-wrap")]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},["".concat(n,"-prefix")]:{flex:"none",marginInlineEnd:e.selectAffixPadding},["".concat(n,"-clear")]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:"color ".concat(e.motionDurationMid," ease, opacity ").concat(e.motionDurationSlow," ease"),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a}),["".concat(n,"-status")]:{"&-error, &-warning, &-success, &-validating":{["&".concat(n,"-has-feedback")]:{["".concat(n,"-clear")]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}}}})(e),function(e){let{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[eF(e),eF((0,eT.oX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{["".concat(t,"-single").concat(t,"-sm")]:{["&:not(".concat(t,"-customize-input)")]:{["".concat(t,"-selector")]:{padding:"0 ".concat((0,eB.zA)(n))},["&".concat(t,"-show-arrow ").concat(t,"-selection-search")]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},["\n &".concat(t,"-show-arrow ").concat(t,"-selection-item,\n &").concat(t,"-show-arrow ").concat(t,"-selection-placeholder\n ")]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},eF((0,eT.oX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}(e),(e=>{let{componentCls:t}=e,n=(0,eT.oX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),o=(0,eT.oX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[eK(e),eK(n,"sm"),{["".concat(t,"-multiple").concat(t,"-sm")]:{["".concat(t,"-selection-placeholder")]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},["".concat(t,"-selection-search")]:{marginInlineStart:2}}},eK(o,"lg")]})(e),(e=>{let{antCls:t,componentCls:n}=e,o="".concat(n,"-item"),r="&".concat(t,"-slide-up-enter").concat(t,"-slide-up-enter-active"),a="&".concat(t,"-slide-up-appear").concat(t,"-slide-up-appear-active"),i="&".concat(t,"-slide-up-leave").concat(t,"-slide-up-leave-active"),l="".concat(n,"-dropdown-placement-"),c="".concat(o,"-option-selected");return[{["".concat(n,"-dropdown")]:Object.assign(Object.assign({},(0,ek.dF)(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,["\n ".concat(r).concat(l,"bottomLeft,\n ").concat(a).concat(l,"bottomLeft\n ")]:{animationName:ej.ox},["\n ".concat(r).concat(l,"topLeft,\n ").concat(a).concat(l,"topLeft,\n ").concat(r).concat(l,"topRight,\n ").concat(a).concat(l,"topRight\n ")]:{animationName:ej.nP},["".concat(i).concat(l,"bottomLeft")]:{animationName:ej.vR},["\n ".concat(i).concat(l,"topLeft,\n ").concat(i).concat(l,"topRight\n ")]:{animationName:ej.YU},"&-hidden":{display:"none"},[o]:Object.assign(Object.assign({},eH(e)),{cursor:"pointer",transition:"background ".concat(e.motionDurationSlow," ease"),borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ek.L9),"&-state":{flex:"none",display:"flex",alignItems:"center"},["&-active:not(".concat(o,"-option-disabled)")]:{backgroundColor:e.optionActiveBg},["&-selected:not(".concat(o,"-option-disabled)")]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,["".concat(o,"-option-state")]:{color:e.colorPrimary}},"&-disabled":{["&".concat(o,"-option-selected")]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},eH(e)),{color:e.colorTextDisabled})}),["".concat(c,":has(+ ").concat(c,")")]:{borderEndStartRadius:0,borderEndEndRadius:0,["& + ".concat(c)]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,ej._j)(e,"slide-up"),(0,ej._j)(e,"slide-down"),(0,eL.Mh)(e,"move-up"),(0,eL.Mh)(e,"move-down")]})(e),{["".concat(t,"-rtl")]:{direction:"rtl"}},(0,ez.G)(e,{borderElCls:"".concat(t,"-selector"),focusElCls:"".concat(t,"-focused")})]})(o),(e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},(e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},eW(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),eV(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),eV(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}))(e)),(e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},e_(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),eG(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),eG(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.colorBgContainer,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}})}))(e)),(e=>({"&-borderless":{["".concat(e.componentCls,"-selector")]:{background:"transparent",border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," transparent")},["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)},["&".concat(e.componentCls,"-status-error")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorError}},["&".concat(e.componentCls,"-status-warning")]:{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-selection-item")]:{color:e.colorWarning}}}}))(e)),(e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},eX(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),eY(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),eY(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{["&".concat(e.componentCls,"-disabled")]:{["&:not(".concat(e.componentCls,"-customize-input) ").concat(e.componentCls,"-selector")]:{color:e.colorTextDisabled}},["&".concat(e.componentCls,"-multiple ").concat(e.componentCls,"-selection-item")]:{background:e.multipleItemBg,border:"".concat((0,eB.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.multipleItemBorderColor)}})}))(e))}))(o)]},e=>{let{fontSize:t,lineHeight:n,lineWidth:o,controlHeight:r,controlHeightSM:a,controlHeightLG:i,paddingXXS:l,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:s,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:h,colorPrimaryHover:b,colorPrimary:y,controlOutline:A}=e,w=2*l,E=2*o,C=Math.min(r-w,r-E),S=Math.min(a-w,a-E),x=Math.min(i-w,i-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:u+50,optionSelectedColor:s,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:"".concat((r-t*n)/2,"px ").concat(c,"px"),optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:m,clearBg:m,singleItemHeightLG:i,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:C,multipleItemHeightSM:S,multipleItemHeightLG:x,multipleSelectorBgDisabled:g,multipleItemColorDisabled:h,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:A,selectAffixPadding:l}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var eU=n(93084),eQ=n(51754),e$=n(48776),eJ=n(58464),eZ=n(51280),e0=n(44200),e1=n(9184),e2=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 e6="SECRET_COMBOBOX_MODE_DO_NOT_USE",e3=o.forwardRef((e,t)=>{var n,r,i,l,c;let u,{prefixCls:s,bordered:d,className:f,rootClassName:p,getPopupContainer:m,popupClassName:v,dropdownClassName:g,listHeight:h=256,placement:b,listItemHeight:y,size:A,disabled:w,notFoundContent:E,status:C,builtinPlacements:S,dropdownMatchSelectWidth:x,popupMatchSelectWidth:O,direction:I,style:M,allowClear:R,variant:N,dropdownStyle:P,transitionName:k,tagRender:z,maxCount:D,prefix:T,dropdownRender:j,popupRender:L,onDropdownVisibleChange:H,onOpenChange:B,styles:K,classNames:F}=e,W=e2(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix","dropdownRender","popupRender","onDropdownVisibleChange","onOpenChange","styles","classNames"]),{getPopupContainer:V,getPrefixCls:_,renderEmpty:G,direction:X,virtual:Y,popupMatchSelectWidth:q,popupOverflow:U}=o.useContext(eC.QO),{showSearch:Q,style:$,styles:J,className:Z,classNames:ee}=(0,eC.TP)("select"),[,et]=(0,eP.Ay)(),eo=null!=y?y:null==et?void 0:et.controlHeight,er=_("select",s),ea=_(),ei=null!=I?I:X,{compactSize:el,compactItemClassnames:ec}=(0,eN.RQ)(er,ei),[eu,es]=(0,eR.A)("select",N,d),ed=(0,eO.A)(er),[ef,ep,em]=eq(er,ed),ev=o.useMemo(()=>{let{mode:t}=e;if("combobox"!==t)return t===e6?"combobox":t},[e.mode]),eg="multiple"===ev||"tags"===ev,eh=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),ew=null!=(n=null!=O?O:x)?n:q,ek=(null==(r=null==K?void 0:K.popup)?void 0:r.root)||(null==(i=J.popup)?void 0:i.root)||P,ez=function(e){return o.useMemo(()=>{if(e)return function(){for(var t=arguments.length,n=Array(t),r=0;rnull!==t||c||f?o.createElement(o.Fragment,null,!1!==s&&e,c&&d):null,g=null;if(void 0!==t)g=v(t);else if(i)g=v(o.createElement(eZ.A,{spin:!0}));else{let e="".concat(u,"-suffix");g=t=>{let{open:n,showSearch:r}=t;return n&&r?v(o.createElement(e0.A,{className:e})):v(o.createElement(eJ.A,{className:e}))}}let h=null;h=void 0!==r?r:l?o.createElement(eU.A,null):null;return{clearIcon:m,suffixIcon:g,itemIcon:h,removeIcon:void 0!==a?a:o.createElement(e$.A,null)}}(Object.assign(Object.assign({},W),{multiple:eg,hasFeedback:eT,feedbackIcon:eL,showSuffixIcon:eh,prefixCls:er,componentName:"Select"})),eV=(0,en.A)(W,["suffixIcon","itemIcon"]),e_=a()((null==(l=null==F?void 0:F.popup)?void 0:l.root)||(null==(c=null==ee?void 0:ee.popup)?void 0:c.root)||v||g,{["".concat(er,"-dropdown-").concat(ei)]:"rtl"===ei},p,ee.root,null==F?void 0:F.root,em,ed,ep),eG=(0,eI.A)(e=>{var t;return null!=(t=null!=A?A:el)?t:e}),eX=o.useContext(ex.A),eY=a()({["".concat(er,"-lg")]:"large"===eG,["".concat(er,"-sm")]:"small"===eG,["".concat(er,"-rtl")]:"rtl"===ei,["".concat(er,"-").concat(eu)]:es,["".concat(er,"-in-form-item")]:ej},(0,eE.L)(er,eH,eT),ec,Z,f,ee.root,null==F?void 0:F.root,p,em,ed,ep),e3=o.useMemo(()=>void 0!==b?b:"rtl"===ei?"bottomRight":"bottomLeft",[b,ei]),[e4]=(0,ey.YK)("SelectLike",null==ek?void 0:ek.zIndex);return ef(o.createElement(eb,Object.assign({ref:t,virtual:Y,showSearch:Q},eV,{style:Object.assign(Object.assign(Object.assign(Object.assign({},J.root),null==K?void 0:K.root),$),M),dropdownMatchSelectWidth:ew,transitionName:(0,eA.b)(ea,"slide-up",k),builtinPlacements:S||(e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",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]})}})(U),listHeight:h,listItemHeight:eo,mode:ev,prefixCls:er,placement:e3,direction:ei,prefix:T,suffixIcon:eB,menuItemSelectedIcon:eK,removeIcon:eF,allowClear:!0===R?{clearIcon:eW}:R,notFoundContent:u,className:eY,getPopupContainer:m||V,dropdownClassName:e_,disabled:null!=w?w:eX,dropdownStyle:Object.assign(Object.assign({},ek),{zIndex:e4}),maxCount:eg?D:void 0,tagRender:eg?z:void 0,dropdownRender:ez,onDropdownVisibleChange:B||H})))}),e4=(0,ew.A)(e3,"dropdownAlign");e3.SECRET_COMBOBOX_MODE_DO_NOT_USE=e6,e3.Option=ee,e3.OptGroup=Z,e3._InternalPanelDoNotUseOrYouWillBeFired=e4;let e5=e3},35376:(e,t,n)=>{n.d(t,{A:()=>o});let o=e=>({[e.componentCls]:{["".concat(e.antCls,"-motion-collapse-legacy")]:{overflow:"hidden","&-active":{transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}},["".concat(e.antCls,"-motion-collapse")]:{overflow:"hidden",transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}}})},36768:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(12115),r=n(29300),a=n.n(r),i=n(15982),l=n(8530),c=n(60872),u=n(70042),s=n(45431),d=n(61388);let f=(0,s.OF)("Empty",e=>{let{componentCls:t,controlHeightLG:n,calc:o}=e;return(e=>{let{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:o,fontSize:a,lineHeight:i,textAlign:"center",["".concat(t,"-image")]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-footer")]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDescription,["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-image")]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDescription,["".concat(t,"-image")]:{height:e.emptyImgHeightSM}}}}})((0,d.oX)(e,{emptyImgCls:"".concat(t,"-img"),emptyImgHeight:o(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:o(n).mul(.875).equal()}))});var p=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=o.createElement(()=>{let[,e]=(0,u.Ay)(),[t]=(0,l.A)("Empty"),n=new c.Y(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.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"}),o.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)"}),o.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"}),o.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"})),o.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"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),v=o.createElement(()=>{let[,e]=(0,u.Ay)(),[t]=(0,l.A)("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:i}=e,{borderColor:s,shadowColor:d,contentColor:f}=(0,o.useMemo)(()=>({borderColor:new c.Y(n).onBackground(i).toHexString(),shadowColor:new c.Y(r).onBackground(i).toHexString(),contentColor:new c.Y(a).onBackground(i).toHexString()}),[n,r,a,i]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(null==t?void 0:t.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:d,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:s},o.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"}),o.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:f}))))},null),g=e=>{var t;let{className:n,rootClassName:r,prefixCls:c,image:u,description:s,children:d,imageStyle:g,style:h,classNames:b,styles:y}=e,A=p(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:w,direction:E,className:C,style:S,classNames:x,styles:O,image:I}=(0,i.TP)("empty"),M=w("empty",c),[R,N,P]=f(M),[k]=(0,l.A)("Empty"),z=void 0!==s?s:null==k?void 0:k.description,D="string"==typeof z?z:"empty",T=null!=(t=null!=u?u:I)?t:m,j=null;return j="string"==typeof T?o.createElement("img",{draggable:!1,alt:D,src:T}):T,R(o.createElement("div",Object.assign({className:a()(N,P,M,C,{["".concat(M,"-normal")]:T===v,["".concat(M,"-rtl")]:"rtl"===E},n,r,x.root,null==b?void 0:b.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},O.root),S),null==y?void 0:y.root),h)},A),o.createElement("div",{className:a()("".concat(M,"-image"),x.image,null==b?void 0:b.image),style:Object.assign(Object.assign(Object.assign({},g),O.image),null==y?void 0:y.image)},j),z&&o.createElement("div",{className:a()("".concat(M,"-description"),x.description,null==b?void 0:b.description),style:Object.assign(Object.assign({},O.description),null==y?void 0:y.description)},z),d&&o.createElement("div",{className:a()("".concat(M,"-footer"),x.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign({},O.footer),null==y?void 0:y.footer)},d)))};g.PRESENTED_IMAGE_DEFAULT=m,g.PRESENTED_IMAGE_SIMPLE=v;let h=g},44200:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(32110),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},48958:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},52770:(e,t,n)=>{n.d(t,{Mh:()=>f});var o=n(99841),r=n(64717);let a=new o.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new o.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new o.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new o.Mo("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new o.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new o.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new o.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new o.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:u,outKeyframes:s}},f=(e,t)=>{let{antCls:n}=e,o="".concat(n,"-").concat(t),{inKeyframes:a,outKeyframes:i}=d[t];return[(0,r.b)(o,a,i,e.motionDurationMid),{["\n ".concat(o,"-enter,\n ").concat(o,"-appear\n ")]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},["".concat(o,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},53272:(e,t,n)=>{n.d(t,{YU:()=>c,_j:()=>f,nP:()=>l,ox:()=>a,vR:()=>i});var o=n(99841),r=n(64717);let a=new o.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),i=new o.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new o.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),c=new o.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u=new o.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),s=new o.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d={"slide-up":{inKeyframes:a,outKeyframes:i},"slide-down":{inKeyframes:l,outKeyframes:c},"slide-left":{inKeyframes:u,outKeyframes:s},"slide-right":{inKeyframes:new o.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),outKeyframes:new o.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}})}},f=(e,t)=>{let{antCls:n}=e,o="".concat(n,"-").concat(t),{inKeyframes:a,outKeyframes:i}=d[t];return[(0,r.b)(o,a,i,e.motionDurationMid),{["\n ".concat(o,"-enter,\n ").concat(o,"-appear\n ")]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},["".concat(o,"-leave")]:{animationTimingFunction:e.motionEaseInQuint}}]}},58464:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(48958),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},60343:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(79630),r=n(27061),a=n(21858),i=n(20235),l=n(12115),c=n(29300),u=n.n(c),s=n(32417),d=n(26791),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,m=l.forwardRef(function(e,t){var n,a=e.prefixCls,c=e.invalidate,d=e.item,m=e.renderItem,v=e.responsive,g=e.responsiveDisabled,h=e.registerSize,b=e.itemKey,y=e.className,A=e.style,w=e.children,E=e.display,C=e.order,S=e.component,x=(0,i.A)(e,f),O=v&&!E;l.useEffect(function(){return function(){h(b,null)}},[]);var I=m&&d!==p?m(d,{index:C}):w;c||(n={opacity:+!O,height:O?0:p,overflowY:O?"hidden":p,order:v?C:p,pointerEvents:O?"none":p,position:O?"absolute":p});var M={};O&&(M["aria-hidden"]=!0);var R=l.createElement(void 0===S?"div":S,(0,o.A)({className:u()(!c&&a,y),style:(0,r.A)((0,r.A)({},n),A)},M,x,{ref:t}),I);return v&&(R=l.createElement(s.A,{onResize:function(e){h(b,e.offsetWidth)},disabled:g},R)),R});m.displayName="Item";var v=n(18885),g=n(47650),h=n(16962);function b(e,t){var n=l.useState(t),o=(0,a.A)(n,2),r=o[0],i=o[1];return[r,(0,v.A)(function(t){e(function(){i(t)})})]}var y=l.createContext(null),A=["component"],w=["className"],E=["className"],C=l.forwardRef(function(e,t){var n=l.useContext(y);if(!n){var r=e.component,a=(0,i.A)(e,A);return l.createElement(void 0===r?"div":r,(0,o.A)({},a,{ref:t}))}var c=n.className,s=(0,i.A)(n,w),d=e.className,f=(0,i.A)(e,E);return l.createElement(y.Provider,{value:null},l.createElement(m,(0,o.A)({ref:t,className:u()(c,d)},s,f)))});C.displayName="RawItem";var S=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],x="responsive",O="invalidate";function I(e){return"+ ".concat(e.length," ...")}var M=l.forwardRef(function(e,t){var n,c=e.prefixCls,f=void 0===c?"rc-overflow":c,p=e.data,v=void 0===p?[]:p,A=e.renderItem,w=e.renderRawItem,E=e.itemKey,C=e.itemWidth,M=void 0===C?10:C,R=e.ssr,N=e.style,P=e.className,k=e.maxCount,z=e.renderRest,D=e.renderRawRest,T=e.suffix,j=e.component,L=e.itemComponent,H=e.onVisibleChange,B=(0,i.A)(e,S),K="full"===R,F=(n=l.useRef(null),function(e){if(!n.current){n.current=[];var t=function(){(0,g.unstable_batchedUpdates)(function(){n.current.forEach(function(e){e()}),n.current=null})};if("undefined"==typeof MessageChannel)(0,h.A)(t);else{var o=new MessageChannel;o.port1.onmessage=function(){return t()},o.port2.postMessage(void 0)}}n.current.push(e)}),W=b(F,null),V=(0,a.A)(W,2),_=V[0],G=V[1],X=_||0,Y=b(F,new Map),q=(0,a.A)(Y,2),U=q[0],Q=q[1],$=b(F,0),J=(0,a.A)($,2),Z=J[0],ee=J[1],et=b(F,0),en=(0,a.A)(et,2),eo=en[0],er=en[1],ea=b(F,0),ei=(0,a.A)(ea,2),el=ei[0],ec=ei[1],eu=(0,l.useState)(null),es=(0,a.A)(eu,2),ed=es[0],ef=es[1],ep=(0,l.useState)(null),em=(0,a.A)(ep,2),ev=em[0],eg=em[1],eh=l.useMemo(function(){return null===ev&&K?Number.MAX_SAFE_INTEGER:ev||0},[ev,_]),eb=(0,l.useState)(!1),ey=(0,a.A)(eb,2),eA=ey[0],ew=ey[1],eE="".concat(f,"-item"),eC=Math.max(Z,eo),eS=k===x,ex=v.length&&eS,eO=k===O,eI=ex||"number"==typeof k&&v.length>k,eM=(0,l.useMemo)(function(){var e=v;return ex?e=null===_&&K?v:v.slice(0,Math.min(v.length,X/M)):"number"==typeof k&&(e=v.slice(0,k)),e},[v,M,_,k,ex]),eR=(0,l.useMemo)(function(){return ex?v.slice(eh+1):v.slice(eM.length)},[v,eM,ex,eh]),eN=(0,l.useCallback)(function(e,t){var n;return"function"==typeof E?E(e):null!=(n=E&&(null==e?void 0:e[E]))?n:t},[E]),eP=(0,l.useCallback)(A||function(e){return e},[A]);function ek(e,t,n){(ev!==e||void 0!==t&&t!==ed)&&(eg(e),n||(ew(eX){ek(o-1,e-r-el+eo);break}}T&&eD(0)+el>X&&ef(null)}},[X,U,eo,el,eN,eM]);var eT=eA&&!!eR.length,ej={};null!==ed&&ex&&(ej={position:"absolute",left:ed,top:0});var eL={prefixCls:eE,responsive:ex,component:L,invalidate:eO},eH=w?function(e,t){var n=eN(e,t);return l.createElement(y.Provider,{key:n,value:(0,r.A)((0,r.A)({},eL),{},{order:t,item:e,itemKey:n,registerSize:ez,display:t<=eh})},w(e,t))}:function(e,t){var n=eN(e,t);return l.createElement(m,(0,o.A)({},eL,{order:t,key:n,item:e,renderItem:eP,itemKey:n,registerSize:ez,display:t<=eh}))},eB={order:eT?eh:Number.MAX_SAFE_INTEGER,className:"".concat(eE,"-rest"),registerSize:function(e,t){er(t),ee(eo)},display:eT},eK=z||I,eF=D?l.createElement(y.Provider,{value:(0,r.A)((0,r.A)({},eL),eB)},D(eR)):l.createElement(m,(0,o.A)({},eL,eB),"function"==typeof eK?eK(eR):eK),eW=l.createElement(void 0===j?"div":j,(0,o.A)({className:u()(!eO&&f,P),style:N,ref:t},B),eM.map(eH),eI?eF:null,T&&l.createElement(m,(0,o.A)({},eL,{responsive:eS,responsiveDisabled:!ex,order:eh,className:"".concat(eE,"-suffix"),registerSize:function(e,t){ec(t)},display:!0,style:ej}),T));return eS?l.createElement(s.A,{onResize:function(e,t){G(t.clientWidth)},disabled:!ex},eW):eW});M.displayName="Overflow",M.Item=C,M.RESPONSIVE=x,M.INVALIDATE=O;let R=M},66846:(e,t,n)=>{n.d(t,{A:()=>D});var o=n(79630),r=n(86608),a=n(27061),i=n(40419),l=n(21858),c=n(20235),u=n(29300),s=n.n(u),d=n(32417),f=n(11719),p=n(26791),m=n(12115),v=n(47650),g=m.forwardRef(function(e,t){var n=e.height,r=e.offsetY,l=e.offsetX,c=e.children,u=e.prefixCls,f=e.onInnerResize,p=e.innerProps,v=e.rtl,g=e.extra,h={},b={display:"flex",flexDirection:"column"};return void 0!==r&&(h={height:n,position:"relative",overflow:"hidden"},b=(0,a.A)((0,a.A)({},b),{},(0,i.A)((0,i.A)((0,i.A)((0,i.A)((0,i.A)({transform:"translateY(".concat(r,"px)")},v?"marginRight":"marginLeft",-l),"position","absolute"),"left",0),"right",0),"top",0))),m.createElement("div",{style:h},m.createElement(d.A,{onResize:function(e){e.offsetHeight&&f&&f()}},m.createElement("div",(0,o.A)({style:b,className:s()((0,i.A)({},"".concat(u,"-holder-inner"),u)),ref:t},p),c,g)))});function h(e){var t=e.children,n=e.setRef,o=m.useCallback(function(e){n(e)},[]);return m.cloneElement(t,{ref:o})}g.displayName="Filler";var b=n(16962),y=("undefined"==typeof navigator?"undefined":(0,r.A)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);let A=function(e,t,n,o){var r=(0,m.useRef)(!1),a=(0,m.useRef)(null),i=(0,m.useRef)({top:e,bottom:t,left:n,right:o});return i.current.top=e,i.current.bottom=t,i.current.left=n,i.current.right=o,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e?t<0&&i.current.left||t>0&&i.current.right:t<0&&i.current.top||t>0&&i.current.bottom;return n&&o?(clearTimeout(a.current),r.current=!1):(!o||r.current)&&(clearTimeout(a.current),r.current=!0,a.current=setTimeout(function(){r.current=!1},50)),!r.current&&o}};var w=n(30857),E=n(28383),C=function(){function e(){(0,w.A)(this,e),(0,i.A)(this,"maps",void 0),(0,i.A)(this,"id",0),(0,i.A)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,E.A)(e,[{key:"set",value:function(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e}();function S(e){var t=parseFloat(e);return isNaN(t)?0:t}var x=14/15;function O(e){return Math.floor(Math.pow(e,.5))}function I(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}var M=m.forwardRef(function(e,t){var n=e.prefixCls,o=e.rtl,r=e.scrollOffset,c=e.scrollRange,u=e.onStartMove,d=e.onStopMove,f=e.onScroll,p=e.horizontal,v=e.spinSize,g=e.containerSize,h=e.style,y=e.thumbStyle,A=e.showScrollBar,w=m.useState(!1),E=(0,l.A)(w,2),C=E[0],S=E[1],x=m.useState(null),O=(0,l.A)(x,2),M=O[0],R=O[1],N=m.useState(null),P=(0,l.A)(N,2),k=P[0],z=P[1],D=!o,T=m.useRef(),j=m.useRef(),L=m.useState(A),H=(0,l.A)(L,2),B=H[0],K=H[1],F=m.useRef(),W=function(){!0!==A&&!1!==A&&(clearTimeout(F.current),K(!0),F.current=setTimeout(function(){K(!1)},3e3))},V=c-g||0,_=g-v||0,G=m.useMemo(function(){return 0===r||0===V?0:r/V*_},[r,V,_]),X=m.useRef({top:G,dragging:C,pageY:M,startTop:k});X.current={top:G,dragging:C,pageY:M,startTop:k};var Y=function(e){S(!0),R(I(e,p)),z(X.current.top),u(),e.stopPropagation(),e.preventDefault()};m.useEffect(function(){var e=function(e){e.preventDefault()},t=T.current,n=j.current;return t.addEventListener("touchstart",e,{passive:!1}),n.addEventListener("touchstart",Y,{passive:!1}),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",Y)}},[]);var q=m.useRef();q.current=V;var U=m.useRef();U.current=_,m.useEffect(function(){if(C){var e,t=function(t){var n=X.current,o=n.dragging,r=n.pageY,a=n.startTop;b.A.cancel(e);var i=T.current.getBoundingClientRect(),l=g/(p?i.width:i.height);if(o){var c=(I(t,p)-r)*l,u=a;!D&&p?u-=c:u+=c;var s=q.current,d=U.current,m=Math.ceil((d?u/d:0)*s);m=Math.min(m=Math.max(m,0),s),e=(0,b.A)(function(){f(m,p)})}},n=function(){S(!1),d()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",n,{passive:!0}),window.addEventListener("touchend",n,{passive:!0}),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),b.A.cancel(e)}}},[C]),m.useEffect(function(){return W(),function(){clearTimeout(F.current)}},[r]),m.useImperativeHandle(t,function(){return{delayHidden:W}});var Q="".concat(n,"-scrollbar"),$={position:"absolute",visibility:B?null:"hidden"},J={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return p?(Object.assign($,{height:8,left:0,right:0,bottom:0}),Object.assign(J,(0,i.A)({height:"100%",width:v},D?"left":"right",G))):(Object.assign($,(0,i.A)({width:8,top:0,bottom:0},D?"right":"left",0)),Object.assign(J,{width:"100%",height:v,top:G})),m.createElement("div",{ref:T,className:s()(Q,(0,i.A)((0,i.A)((0,i.A)({},"".concat(Q,"-horizontal"),p),"".concat(Q,"-vertical"),!p),"".concat(Q,"-visible"),B)),style:(0,a.A)((0,a.A)({},$),h),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:W},m.createElement("div",{ref:j,className:s()("".concat(Q,"-thumb"),(0,i.A)({},"".concat(Q,"-thumb-moving"),C)),style:(0,a.A)((0,a.A)({},J),y),onMouseDown:Y}))});function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),Math.floor(n=Math.max(n,20))}var N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],P=[],k={overflowY:"auto",overflowAnchor:"none"},z=m.forwardRef(function(e,t){var n,u,w,E,z,D,T,j,L,H,B,K,F,W,V,_,G,X,Y,q,U,Q,$,J,Z,ee,et,en,eo,er,ea,ei,el,ec,eu,es,ed,ef=e.prefixCls,ep=void 0===ef?"rc-virtual-list":ef,em=e.className,ev=e.height,eg=e.itemHeight,eh=e.fullHeight,eb=e.style,ey=e.data,eA=e.children,ew=e.itemKey,eE=e.virtual,eC=e.direction,eS=e.scrollWidth,ex=e.component,eO=e.onScroll,eI=e.onVirtualScroll,eM=e.onVisibleChange,eR=e.innerProps,eN=e.extraRender,eP=e.styles,ek=e.showScrollBar,ez=void 0===ek?"optional":ek,eD=(0,c.A)(e,N),eT=m.useCallback(function(e){return"function"==typeof ew?ew(e):null==e?void 0:e[ew]},[ew]),ej=function(e,t,n){var o=m.useState(0),r=(0,l.A)(o,2),a=r[0],i=r[1],c=(0,m.useRef)(new Map),u=(0,m.useRef)(new C),s=(0,m.useRef)(0);function d(){s.current+=1}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];d();var t=function(){var e=!1;c.current.forEach(function(t,n){if(t&&t.offsetParent){var o=t.offsetHeight,r=getComputedStyle(t),a=r.marginTop,i=r.marginBottom,l=o+S(a)+S(i);u.current.get(n)!==l&&(u.current.set(n,l),e=!0)}}),e&&i(function(e){return e+1})};if(e)t();else{s.current+=1;var n=s.current;Promise.resolve().then(function(){n===s.current&&t()})}}return(0,m.useEffect)(function(){return d},[]),[function(o,r){var a=e(o),i=c.current.get(a);r?(c.current.set(a,r),f()):c.current.delete(a),!i!=!r&&(r?null==t||t(o):null==n||n(o))},f,u.current,a]}(eT,null,null),eL=(0,l.A)(ej,4),eH=eL[0],eB=eL[1],eK=eL[2],eF=eL[3],eW=!!(!1!==eE&&ev&&eg),eV=m.useMemo(function(){return Object.values(eK.maps).reduce(function(e,t){return e+t},0)},[eK.id,eK.maps]),e_=eW&&ey&&(Math.max(eg*ey.length,eV)>ev||!!eS),eG="rtl"===eC,eX=s()(ep,(0,i.A)({},"".concat(ep,"-rtl"),eG),em),eY=ey||P,eq=(0,m.useRef)(),eU=(0,m.useRef)(),eQ=(0,m.useRef)(),e$=(0,m.useState)(0),eJ=(0,l.A)(e$,2),eZ=eJ[0],e0=eJ[1],e1=(0,m.useState)(0),e2=(0,l.A)(e1,2),e6=e2[0],e3=e2[1],e4=(0,m.useState)(!1),e5=(0,l.A)(e4,2),e8=e5[0],e9=e5[1],e7=function(){e9(!0)},te=function(){e9(!1)};function tt(e){e0(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(ty.current)||(n=Math.min(n,ty.current)),n=Math.max(n,0));return eq.current.scrollTop=o,o})}var tn=(0,m.useRef)({start:0,end:eY.length}),to=(0,m.useRef)(),tr=(n=m.useState(eY),w=(u=(0,l.A)(n,2))[0],E=u[1],z=m.useState(null),T=(D=(0,l.A)(z,2))[0],j=D[1],m.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=eZ&&void 0===t&&(t=i,n=r),u>eZ+ev&&void 0===o&&(o=i),r=u}return void 0===t&&(t=0,n=0,o=Math.ceil(ev/eg)),void 0===o&&(o=eY.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eY.length-1),offset:n}},[e_,eW,eZ,eY,eF,ev]),ti=ta.scrollHeight,tl=ta.start,tc=ta.end,tu=ta.offset;tn.current.start=tl,tn.current.end=tc,m.useLayoutEffect(function(){var e=eK.getRecord();if(1===e.size){var t=Array.from(e.keys())[0],n=e.get(t),o=eY[tl];if(o&&void 0===n&&eT(o)===t){var r=eK.get(t)-eg;tt(function(e){return e+r})}}eK.resetRecord()},[ti]);var ts=m.useState({width:0,height:ev}),td=(0,l.A)(ts,2),tf=td[0],tp=td[1],tm=(0,m.useRef)(),tv=(0,m.useRef)(),tg=m.useMemo(function(){return R(tf.width,eS)},[tf.width,eS]),th=m.useMemo(function(){return R(tf.height,ti)},[tf.height,ti]),tb=ti-ev,ty=(0,m.useRef)(tb);ty.current=tb;var tA=eZ<=0,tw=eZ>=tb,tE=e6<=0,tC=e6>=eS,tS=A(tA,tw,tE,tC),tx=function(){return{x:eG?-e6:e6,y:eZ}},tO=(0,m.useRef)(tx()),tI=(0,f._q)(function(e){if(eI){var t=(0,a.A)((0,a.A)({},tx()),e);(tO.current.x!==t.x||tO.current.y!==t.y)&&(eI(t),tO.current=t)}});function tM(e,t){t?((0,v.flushSync)(function(){e3(e)}),tI()):tt(e)}var tR=function(e){var t=e,n=eS?eS-tf.width:0;return Math.min(t=Math.max(t,0),n)},tN=(0,f._q)(function(e,t){t?((0,v.flushSync)(function(){e3(function(t){return tR(t+(eG?-e:e))})}),tI()):tt(function(t){return t+e})}),tP=(L=!!eS,H=(0,m.useRef)(0),B=(0,m.useRef)(null),K=(0,m.useRef)(null),F=(0,m.useRef)(!1),W=A(tA,tw,tE,tC),V=(0,m.useRef)(null),_=(0,m.useRef)(null),[function(e){if(eW){b.A.cancel(_.current),_.current=(0,b.A)(function(){V.current=null},2);var t,n,o=e.deltaX,r=e.deltaY,a=e.shiftKey,i=o,l=r;("sx"===V.current||!V.current&&a&&r&&!o)&&(i=r,l=0,V.current="sx");var c=Math.abs(i),u=Math.abs(l);if(null===V.current&&(V.current=L&&c>u?"x":"y"),"y"===V.current){t=e,n=l,b.A.cancel(B.current),!W(!1,n)&&(t._virtualHandled||(t._virtualHandled=!0,H.current+=n,K.current=n,y||t.preventDefault(),B.current=(0,b.A)(function(){var e=F.current?10:1;tN(H.current*e,!1),H.current=0})))}else tN(i,!0),y||e.preventDefault()}},function(e){eW&&(F.current=e.detail===K.current)}]),tk=(0,l.A)(tP,2),tz=tk[0],tD=tk[1];G=function(e,t,n,o){return!tS(e,t,n)&&(!o||!o._virtualHandled)&&(o&&(o._virtualHandled=!0),tz({preventDefault:function(){},deltaX:e?t:0,deltaY:e?0:t}),!0)},Y=(0,m.useRef)(!1),q=(0,m.useRef)(0),U=(0,m.useRef)(0),Q=(0,m.useRef)(null),$=(0,m.useRef)(null),J=function(e){if(Y.current){var t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=q.current-t,r=U.current-n,a=Math.abs(o)>Math.abs(r);a?q.current=t:U.current=n;var i=G(a,a?o:r,!1,e);i&&e.preventDefault(),clearInterval($.current),i&&($.current=setInterval(function(){a?o*=x:r*=x;var e=Math.floor(a?o:r);(!G(a,e,!0)||.1>=Math.abs(e))&&clearInterval($.current)},16))}},Z=function(){Y.current=!1,X()},ee=function(e){X(),1!==e.touches.length||Y.current||(Y.current=!0,q.current=Math.ceil(e.touches[0].pageX),U.current=Math.ceil(e.touches[0].pageY),Q.current=e.target,Q.current.addEventListener("touchmove",J,{passive:!1}),Q.current.addEventListener("touchend",Z,{passive:!0}))},X=function(){Q.current&&(Q.current.removeEventListener("touchmove",J),Q.current.removeEventListener("touchend",Z))},(0,p.A)(function(){return eW&&eq.current.addEventListener("touchstart",ee,{passive:!0}),function(){var e;null==(e=eq.current)||e.removeEventListener("touchstart",ee),X(),clearInterval($.current)}},[eW]),et=function(e){tt(function(t){return t+e})},m.useEffect(function(){var e=eq.current;if(e_&&e){var t,n,o=!1,r=function(){b.A.cancel(t)},a=function e(){r(),t=(0,b.A)(function(){et(n),e()})},i=function(e){!e.target.draggable&&0===e.button&&(e._virtualHandled||(e._virtualHandled=!0,o=!0))},l=function(){o=!1,r()},c=function(t){if(o){var i=I(t,!1),l=e.getBoundingClientRect(),c=l.top,u=l.bottom;i<=c?(n=-O(c-i),a()):i>=u?(n=O(i-u),a()):r()}};return e.addEventListener("mousedown",i),e.ownerDocument.addEventListener("mouseup",l),e.ownerDocument.addEventListener("mousemove",c),function(){e.removeEventListener("mousedown",i),e.ownerDocument.removeEventListener("mouseup",l),e.ownerDocument.removeEventListener("mousemove",c),r()}}},[e_]),(0,p.A)(function(){function e(e){var t=tA&&e.detail<0,n=tw&&e.detail>0;!eW||t||n||e.preventDefault()}var t=eq.current;return t.addEventListener("wheel",tz,{passive:!1}),t.addEventListener("DOMMouseScroll",tD,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),function(){t.removeEventListener("wheel",tz),t.removeEventListener("DOMMouseScroll",tD),t.removeEventListener("MozMousePixelScroll",e)}},[eW,tA,tw]),(0,p.A)(function(){if(eS){var e=tR(e6);e3(e),tI({x:e})}},[tf.width,eS]);var tT=function(){var e,t;null==(e=tm.current)||e.delayHidden(),null==(t=tv.current)||t.delayHidden()},tj=(en=function(){return eB(!0)},eo=m.useRef(),er=m.useState(null),ei=(ea=(0,l.A)(er,2))[0],el=ea[1],(0,p.A)(function(){if(ei&&ei.times<10){if(!eq.current)return void el(function(e){return(0,a.A)({},e)});en();var e=ei.targetAlign,t=ei.originAlign,n=ei.index,o=ei.offset,r=eq.current.clientHeight,i=!1,l=e,c=null;if(r){for(var u=e||t,s=0,d=0,f=0,p=Math.min(eY.length-1,n),m=0;m<=p;m+=1){var v=eT(eY[m]);d=s;var g=eK.get(v);s=f=d+(void 0===g?eg:g)}for(var h="top"===u?o:r-o,b=p;b>=0;b-=1){var y=eT(eY[b]),A=eK.get(y);if(void 0===A){i=!0;break}if((h-=A)<=0)break}switch(u){case"top":c=d-o;break;case"bottom":c=f-r+o;break;default:var w=eq.current.scrollTop;dw+r&&(l="bottom")}null!==c&&tt(c),c!==ei.lastTop&&(i=!0)}i&&el((0,a.A)((0,a.A)({},ei),{},{times:ei.times+1,targetAlign:l,lastTop:c}))}},[ei,eq.current]),function(e){if(null==e)return void tT();if(b.A.cancel(eo.current),"number"==typeof e)tt(e);else if(e&&"object"===(0,r.A)(e)){var t,n=e.align;t="index"in e?e.index:eY.findIndex(function(t){return eT(t)===e.key});var o=e.offset;el({times:0,index:t,offset:void 0===o?0:o,originAlign:n})}});m.useImperativeHandle(t,function(){return{nativeElement:eQ.current,getScrollInfo:tx,scrollTo:function(e){e&&"object"===(0,r.A)(e)&&("left"in e||"top"in e)?(void 0!==e.left&&e3(tR(e.left)),tj(e.top)):tj(e)}}}),(0,p.A)(function(){eM&&eM(eY.slice(tl,tc+1),eY)},[tl,tc,eY]);var tL=(ec=m.useMemo(function(){return[new Map,[]]},[eY,eK.id,eg]),es=(eu=(0,l.A)(ec,2))[0],ed=eu[1],function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=es.get(e),o=es.get(t);if(void 0===n||void 0===o)for(var r=eY.length,a=ed.length;aev&&m.createElement(M,{ref:tm,prefixCls:ep,scrollOffset:eZ,scrollRange:ti,rtl:eG,onScroll:tM,onStartMove:e7,onStopMove:te,spinSize:th,containerSize:tf.height,style:null==eP?void 0:eP.verticalScrollBar,thumbStyle:null==eP?void 0:eP.verticalScrollBarThumb,showScrollBar:ez}),e_&&eS>tf.width&&m.createElement(M,{ref:tv,prefixCls:ep,scrollOffset:e6,scrollRange:eS,rtl:eG,onScroll:tM,onStartMove:e7,onStopMove:te,spinSize:tg,containerSize:tf.width,horizontal:!0,style:null==eP?void 0:eP.horizontalScrollBar,thumbStyle:null==eP?void 0:eP.horizontalScrollBarThumb,showScrollBar:ez}))});z.displayName="List";let D=z},67850:(e,t,n)=>{n.d(t,{A:()=>E});var o=n(12115),r=n(29300),a=n.n(r),i=n(63715),l=n(96249),c=n(15982),u=n(96936),s=n(67831),d=n(45431);let f=(0,d.OF)(["Space","Addon"],e=>[(e=>{let{componentCls:t,borderRadius:n,paddingSM:o,colorBorder:r,paddingXS:a,fontSizeLG:i,fontSizeSM:l,borderRadiusLG:c,borderRadiusSM:u,colorBgContainerDisabled:d,lineWidth:f}=e;return{[t]:[{display:"inline-flex",alignItems:"center",gap:0,paddingInline:o,margin:0,background:d,borderWidth:f,borderStyle:"solid",borderColor:r,borderRadius:n,"&-large":{fontSize:i,borderRadius:c},"&-small":{paddingInline:a,borderRadius:u,fontSize:l},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0}},(0,s.G)(e,{focus:!1})]}})(e)]);var p=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=o.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:l}=e,s=p(e,["className","children","style","prefixCls"]),{getPrefixCls:d,direction:m}=o.useContext(c.QO),v=d("space-addon",l),[g,h,b]=f(v),{compactItemClassnames:y,compactSize:A}=(0,u.RQ)(v,m),w=a()(v,h,y,b,{["".concat(v,"-").concat(A)]:A},n);return g(o.createElement("div",Object.assign({ref:t,className:w,style:i},s),r))}),v=o.createContext({latestIndex:0}),g=v.Provider,h=e=>{let{className:t,index:n,children:r,split:a,style:i}=e,{latestIndex:l}=o.useContext(v);return null==r?null:o.createElement(o.Fragment,null,o.createElement("div",{className:t,style:i},r),n{let t=(0,b.oX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[(e=>{let{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},["".concat(t,"-item:empty")]:{display:"none"},["".concat(t,"-item > ").concat(n,"-badge-not-a-wrapper:only-child")]:{display:"block"}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}})(t)]},()=>({}),{resetStyle:!1});var A=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 w=o.forwardRef((e,t)=>{var n;let{getPrefixCls:r,direction:u,size:s,className:d,style:f,classNames:p,styles:m}=(0,c.TP)("space"),{size:v=null!=s?s:"small",align:b,className:w,rootClassName:E,children:C,direction:S="horizontal",prefixCls:x,split:O,style:I,wrap:M=!1,classNames:R,styles:N}=e,P=A(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,z]=Array.isArray(v)?v:[v,v],D=(0,l.X)(z),T=(0,l.X)(k),j=(0,l.m)(z),L=(0,l.m)(k),H=(0,i.A)(C,{keepEmpty:!0}),B=void 0===b&&"horizontal"===S?"center":b,K=r("space",x),[F,W,V]=y(K),_=a()(K,d,W,"".concat(K,"-").concat(S),{["".concat(K,"-rtl")]:"rtl"===u,["".concat(K,"-align-").concat(B)]:B,["".concat(K,"-gap-row-").concat(z)]:D,["".concat(K,"-gap-col-").concat(k)]:T},w,E,V),G=a()("".concat(K,"-item"),null!=(n=null==R?void 0:R.item)?n:p.item),X=Object.assign(Object.assign({},m.item),null==N?void 0:N.item),Y=H.map((e,t)=>{let n=(null==e?void 0:e.key)||"".concat(G,"-").concat(t);return o.createElement(h,{className:G,key:n,index:t,split:O,style:X},e)}),q=o.useMemo(()=>({latestIndex:H.reduce((e,t,n)=>null!=t?n:e,0)}),[H]);if(0===H.length)return null;let U={};return M&&(U.flexWrap="wrap"),!T&&L&&(U.columnGap=k),!D&&j&&(U.rowGap=z),F(o.createElement("div",Object.assign({ref:t,className:_,style:Object.assign(Object.assign(Object.assign({},U),f),I)},P),o.createElement(g,{value:q},Y)))});w.Compact=u.Ay,w.Addon=m;let E=w},82724:(e,t,n)=>{n.d(t,{A:()=>w});var o=n(12115),r=n(29300),a=n.n(r),i=n(11261),l=n(74686),c=n(9184),u=n(53014),s=n(79007),d=n(15982),f=n(44494),p=n(68151),m=n(9836),v=n(63568),g=n(63893),h=n(96936),b=n(84311),y=n(30611),A=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 w=(0,o.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:w,size:E,disabled:C,onBlur:S,onFocus:x,suffix:O,allowClear:I,addonAfter:M,addonBefore:R,className:N,style:P,styles:k,rootClassName:z,onChange:D,classNames:T,variant:j,_skipAddonWarning:L}=e,H=A(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant","_skipAddonWarning"]),{getPrefixCls:B,direction:K,allowClear:F,autoComplete:W,className:V,style:_,classNames:G,styles:X}=(0,d.TP)("input"),Y=B("input",n),q=(0,o.useRef)(null),U=(0,p.A)(Y),[Q,$,J]=(0,y.MG)(Y,z),[Z]=(0,y.Ay)(Y,U),{compactSize:ee,compactItemClassnames:et}=(0,h.RQ)(Y,K),en=(0,m.A)(e=>{var t;return null!=(t=null!=E?E:ee)?t:e}),eo=o.useContext(f.A),{status:er,hasFeedback:ea,feedbackIcon:ei}=(0,o.useContext)(v.$W),el=(0,s.v)(er,w),ec=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!ea;(0,o.useRef)(ec);let eu=(0,b.A)(q,!0),es=(ea||O)&&o.createElement(o.Fragment,null,O,ea&&ei),ed=(0,u.A)(null!=I?I:F),[ef,ep]=(0,g.A)("input",j,r);return Q(Z(o.createElement(i.A,Object.assign({ref:(0,l.K4)(t,q),prefixCls:Y,autoComplete:W},H,{disabled:null!=C?C:eo,onBlur:e=>{eu(),null==S||S(e)},onFocus:e=>{eu(),null==x||x(e)},style:Object.assign(Object.assign({},_),P),styles:Object.assign(Object.assign({},X),k),suffix:es,allowClear:ed,className:a()(N,z,J,U,et,V),onChange:e=>{eu(),null==D||D(e)},addonBefore:R&&o.createElement(c.A,{form:!0,space:!0},R),addonAfter:M&&o.createElement(c.A,{form:!0,space:!0},M),classNames:Object.assign(Object.assign(Object.assign({},T),G),{input:a()({["".concat(Y,"-sm")]:"small"===en,["".concat(Y,"-lg")]:"large"===en,["".concat(Y,"-rtl")]:"rtl"===K},null==T?void 0:T.input,G.input,$),variant:a()({["".concat(Y,"-").concat(ef)]:ep},(0,s.L)(Y,el)),affixWrapper:a()({["".concat(Y,"-affix-wrapper-sm")]:"small"===en,["".concat(Y,"-affix-wrapper-lg")]:"large"===en,["".concat(Y,"-affix-wrapper-rtl")]:"rtl"===K},$),wrapper:a()({["".concat(Y,"-group-rtl")]:"rtl"===K},$),groupWrapper:a()({["".concat(Y,"-group-wrapper-sm")]:"small"===en,["".concat(Y,"-group-wrapper-lg")]:"large"===en,["".concat(Y,"-group-wrapper-rtl")]:"rtl"===K,["".concat(Y,"-group-wrapper-").concat(ef)]:ep},(0,s.L)("".concat(Y,"-group-wrapper"),el,ea),$)})}))))})},84311:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(12115);function r(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,o,r;(null==(t=e.current)?void 0:t.input)&&(null==(n=e.current)?void 0:n.input.getAttribute("type"))==="password"&&(null==(o=e.current)?void 0:o.input.hasAttribute("value"))&&(null==(r=e.current)||r.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}},89593:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}},91187:(e,t,n)=>{n.d(t,{cG:()=>ez,q7:()=>em,te:()=>ej,Dr:()=>em,g8:()=>eP,Ay:()=>eW,Wj:()=>I});var o=n(79630),r=n(40419),a=n(27061),i=n(85757),l=n(21858),c=n(20235),u=n(29300),s=n.n(u),d=n(60343),f=n(48804),p=n(80227),m=n(9587),v=n(12115),g=n(47650),h=v.createContext(null);function b(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function y(e){return b(v.useContext(h),e)}var A=n(22801),w=["children","locked"],E=v.createContext(null);function C(e){var t=e.children,n=e.locked,o=(0,c.A)(e,w),r=v.useContext(E),i=(0,A.A)(function(){var e;return e=(0,a.A)({},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,p.A)(e[1],t[1],!0))});return v.createElement(E.Provider,{value:i},t)}var S=v.createContext(null);function x(){return v.useContext(S)}var O=v.createContext([]);function I(e){var t=v.useContext(O);return v.useMemo(function(){return void 0!==e?[].concat((0,i.A)(t),[e]):t},[t,e])}var M=v.createContext(null),R=v.createContext({}),N=n(53930);function P(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,N.A)(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 k=n(17233),z=n(16962),D=k.A.LEFT,T=k.A.RIGHT,j=k.A.UP,L=k.A.DOWN,H=k.A.ENTER,B=k.A.ESC,K=k.A.HOME,F=k.A.END,W=[j,L,D,T];function V(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,i.A)(e.querySelectorAll("*")).filter(function(e){return P(e,t)});return P(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function _(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=V(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 G=function(e,t){var n=new Set,o=new Map,r=new Map;return e.forEach(function(e){var a=document.querySelector("[data-menu-id='".concat(b(t,e),"']"));a&&(n.add(a),r.set(a,e),o.set(e,a))}),{elements:n,key2element:o,element2key:r}},X="__RC_UTIL_PATH_SPLIT__",Y=function(e){return e.join(X)},q="rc-menu-more";function U(e){var t=v.useRef(e);t.current=e;var n=v.useCallback(function(){for(var e,n=arguments.length,o=Array(n),r=0;r1&&(S.motionAppear=!1);var x=S.onVisibleChanged;return(S.onVisibleChanged=function(e){return g.current||e||A(!0),null==x?void 0:x(e)},y)?null:v.createElement(C,{mode:c,locked:!g.current},v.createElement(eO.Ay,(0,o.A)({visible:w},S,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var n=e.className,o=e.style;return v.createElement(eg,{id:t,className:n,style:o},i)}))}var eM=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eR=["active"],eN=v.forwardRef(function(e,t){var n=e.style,i=e.className,u=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),m=e.internalPopupClose,g=e.children,h=e.itemIcon,b=e.expandIcon,A=e.popupClassName,w=e.popupOffset,S=e.popupStyle,x=e.onClick,O=e.onMouseEnter,N=e.onMouseLeave,P=e.onTitleClick,k=e.onTitleMouseEnter,z=e.onTitleMouseLeave,D=(0,c.A)(e,eM),T=y(f),j=v.useContext(E),L=j.prefixCls,H=j.mode,B=j.openKeys,K=j.disabled,F=j.overflowDisabled,W=j.activeKey,V=j.selectedKeys,_=j.itemIcon,G=j.expandIcon,X=j.onItemClick,Y=j.onOpenChange,q=j.onActive,Q=v.useContext(R)._internalRenderSubMenuItem,$=v.useContext(M).isSubPathKey,J=I(),Z="".concat(L,"-submenu"),ee=K||p,et=v.useRef(),en=v.useRef(),eo=null!=b?b:G,el=B.includes(f),eu=!F&&el,es=$(V,f),ed=er(f,ee,k,z),ef=ed.active,ep=(0,c.A)(ed,eR),em=v.useState(!1),ev=(0,l.A)(em,2),eh=ev[0],eb=ev[1],ey=function(e){ee||eb(e)},eA=v.useMemo(function(){return ef||"inline"!==H&&(eh||$([W],f))},[H,ef,W,eh,f,$]),ew=ea(J.length),eE=U(function(e){null==x||x(ec(e)),X(e)}),eC=T&&"".concat(T,"-popup"),eS=v.useMemo(function(){return v.createElement(ei,{icon:"horizontal"!==H?eo:void 0,props:(0,a.A)((0,a.A)({},e),{},{isOpen:eu,isSubMenu:!0})},v.createElement("i",{className:"".concat(Z,"-arrow")}))},[H,eo,e,eu,Z]),eO=v.createElement("div",(0,o.A)({role:"menuitem",style:ew,className:"".concat(Z,"-title"),tabIndex:ee?null:-1,ref:et,title:"string"==typeof u?u:null,"data-menu-id":F&&T?null:T,"aria-expanded":eu,"aria-haspopup":!0,"aria-controls":eC,"aria-disabled":ee,onClick:function(e){ee||(null==P||P({key:f,domEvent:e}),"inline"===H&&Y(f,!el))},onFocus:function(){q(f)}},ep),u,eS),eN=v.useRef(H);if("inline"!==H&&J.length>1?eN.current="vertical":eN.current=H,!F){var eP=eN.current;eO=v.createElement(ex,{mode:eP,prefixCls:Z,visible:!m&&eu&&"inline"!==H,popupClassName:A,popupOffset:w,popupStyle:S,popup:v.createElement(C,{mode:"horizontal"===eP?"vertical":eP},v.createElement(eg,{id:eC,ref:en},g)),disabled:ee,onVisibleChange:function(e){"inline"!==H&&Y(f,e)}},eO)}var ek=v.createElement(d.A.Item,(0,o.A)({ref:t,role:"none"},D,{component:"li",style:n,className:s()(Z,"".concat(Z,"-").concat(H),i,(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},"".concat(Z,"-open"),eu),"".concat(Z,"-active"),eA),"".concat(Z,"-selected"),es),"".concat(Z,"-disabled"),ee)),onMouseEnter:function(e){ey(!0),null==O||O({key:f,domEvent:e})},onMouseLeave:function(e){ey(!1),null==N||N({key:f,domEvent:e})}}),eO,!F&&v.createElement(eI,{id:eC,open:eu,keyPath:J},g));return Q&&(ek=Q(ek,e,{selected:es,active:eA,open:eu,disabled:ee})),v.createElement(C,{onItemClick:eE,mode:"horizontal"===H?"vertical":H,itemIcon:null!=h?h:_,expandIcon:eo},ek)});let eP=v.forwardRef(function(e,t){var n,r=e.eventKey,a=e.children,i=I(r),l=eb(a,i),c=x();return v.useEffect(function(){if(c)return c.registerPath(r,i),function(){c.unregisterPath(r,i)}},[i]),n=c?l:v.createElement(eN,(0,o.A)({ref:t},e),l),v.createElement(O.Provider,{value:i},n)});var ek=n(86608);function ez(e){var t=e.className,n=e.style,o=v.useContext(E).prefixCls;return x()?null:v.createElement("li",{role:"separator",className:s()("".concat(o,"-item-divider"),t),style:n})}var eD=["className","title","eventKey","children"],eT=v.forwardRef(function(e,t){var n=e.className,r=e.title,a=(e.eventKey,e.children),i=(0,c.A)(e,eD),l=v.useContext(E).prefixCls,u="".concat(l,"-item-group");return v.createElement("li",(0,o.A)({ref:t,role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:s()(u,n)}),v.createElement("div",{role:"presentation",className:"".concat(u,"-title"),title:"string"==typeof r?r:void 0},r),v.createElement("ul",{role:"group",className:"".concat(u,"-list")},a))});let ej=v.forwardRef(function(e,t){var n=e.eventKey,r=eb(e.children,I(n));return x()?r:v.createElement(eT,(0,o.A)({ref:t},(0,en.A)(e,["warnKey"])),r)});var eL=["label","children","key","type","extra"];function eH(e,t,n,r,i){var l=e,u=(0,a.A)({divider:ez,item:em,group:ej,submenu:eP},r);return t&&(l=function e(t,n,r){var a=n.item,i=n.group,l=n.submenu,u=n.divider;return(t||[]).map(function(t,s){if(t&&"object"===(0,ek.A)(t)){var d=t.label,f=t.children,p=t.key,m=t.type,g=t.extra,h=(0,c.A)(t,eL),b=null!=p?p:"tmp-".concat(s);return f||"group"===m?"group"===m?v.createElement(i,(0,o.A)({key:b},h,{title:d}),e(f,n,r)):v.createElement(l,(0,o.A)({key:b},h,{title:d}),e(f,n,r)):"divider"===m?v.createElement(u,(0,o.A)({key:b},h)):v.createElement(a,(0,o.A)({key:b},h,{extra:g}),d,(!!g||0===g)&&v.createElement("span",{className:"".concat(r,"-item-extra")},g))}return null}).filter(function(e){return e})}(t,u,i)),eb(l,n)}var eB=["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","_internalComponents"],eK=[],eF=v.forwardRef(function(e,t){var n,u,m,b,y,A,w,E,x,O,I,N,P,k,J,Z,ee,et,en,eo,er,ea,ei,el,eu,es,ed=e.prefixCls,ef=void 0===ed?"rc-menu":ed,ep=e.rootClassName,ev=e.style,eg=e.className,eh=e.tabIndex,eb=e.items,ey=e.children,eA=e.direction,ew=e.id,eE=e.mode,eC=void 0===eE?"vertical":eE,eS=e.inlineCollapsed,ex=e.disabled,eO=e.disabledOverflow,eI=e.subMenuOpenDelay,eM=e.subMenuCloseDelay,eR=e.forceSubMenuRender,eN=e.defaultOpenKeys,ek=e.openKeys,ez=e.activeKey,eD=e.defaultActiveFirst,eT=e.selectable,ej=void 0===eT||eT,eL=e.multiple,eF=void 0!==eL&&eL,eW=e.defaultSelectedKeys,eV=e.selectedKeys,e_=e.onSelect,eG=e.onDeselect,eX=e.inlineIndent,eY=e.motion,eq=e.defaultMotions,eU=e.triggerSubMenuAction,eQ=e.builtinPlacements,e$=e.itemIcon,eJ=e.expandIcon,eZ=e.overflowedIndicator,e0=void 0===eZ?"...":eZ,e1=e.overflowedIndicatorPopupClassName,e2=e.getPopupContainer,e6=e.onClick,e3=e.onOpenChange,e4=e.onKeyDown,e5=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),e8=e._internalRenderSubMenuItem,e9=e._internalComponents,e7=(0,c.A)(e,eB),te=v.useMemo(function(){return[eH(ey,eb,eK,e9,ef),eH(ey,eb,eK,{},ef)]},[ey,eb,e9]),tt=(0,l.A)(te,2),tn=tt[0],to=tt[1],tr=v.useState(!1),ta=(0,l.A)(tr,2),ti=ta[0],tl=ta[1],tc=v.useRef(),tu=(n=(0,f.A)(ew,{value:ew}),m=(u=(0,l.A)(n,2))[0],b=u[1],v.useEffect(function(){$+=1;var e="".concat(Q,"-").concat($);b("rc-menu-uuid-".concat(e))},[]),m),ts="rtl"===eA,td=(0,f.A)(eN,{value:ek,postState:function(e){return e||eK}}),tf=(0,l.A)(td,2),tp=tf[0],tm=tf[1],tv=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e3||e3(e)}t?(0,g.flushSync)(n):n()},tg=v.useState(tp),th=(0,l.A)(tg,2),tb=th[0],ty=th[1],tA=v.useRef(!1),tw=v.useMemo(function(){return("inline"===eC||"vertical"===eC)&&eS?["vertical",eS]:[eC,!1]},[eC,eS]),tE=(0,l.A)(tw,2),tC=tE[0],tS=tE[1],tx="inline"===tC,tO=v.useState(tC),tI=(0,l.A)(tO,2),tM=tI[0],tR=tI[1],tN=v.useState(tS),tP=(0,l.A)(tN,2),tk=tP[0],tz=tP[1];v.useEffect(function(){tR(tC),tz(tS),tA.current&&(tx?tm(tb):tv(eK))},[tC,tS]);var tD=v.useState(0),tT=(0,l.A)(tD,2),tj=tT[0],tL=tT[1],tH=tj>=tn.length-1||"horizontal"!==tM||eO;v.useEffect(function(){tx&&ty(tp)},[tp]),v.useEffect(function(){return tA.current=!0,function(){tA.current=!1}},[]);var tB=(y=v.useState({}),A=(0,l.A)(y,2)[1],w=(0,v.useRef)(new Map),E=(0,v.useRef)(new Map),x=v.useState([]),I=(O=(0,l.A)(x,2))[0],N=O[1],P=(0,v.useRef)(0),k=(0,v.useRef)(!1),J=function(){k.current||A({})},Z=(0,v.useCallback)(function(e,t){var n=Y(t);E.current.set(n,e),w.current.set(e,n),P.current+=1;var o=P.current;Promise.resolve().then(function(){o===P.current&&J()})},[]),ee=(0,v.useCallback)(function(e,t){var n=Y(t);E.current.delete(n),w.current.delete(e)},[]),et=(0,v.useCallback)(function(e){N(e)},[]),en=(0,v.useCallback)(function(e,t){var n=(w.current.get(e)||"").split(X);return t&&I.includes(n[0])&&n.unshift(q),n},[I]),eo=(0,v.useCallback)(function(e,t){return e.filter(function(e){return void 0!==e}).some(function(e){return en(e,!0).includes(t)})},[en]),er=(0,v.useCallback)(function(e){var t="".concat(w.current.get(e)).concat(X),n=new Set;return(0,i.A)(E.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(E.current.get(e))}),n},[]),v.useEffect(function(){return function(){k.current=!0}},[]),{registerPath:Z,unregisterPath:ee,refreshOverflowKeys:et,isSubPathKey:eo,getKeyPath:en,getKeys:function(){var e=(0,i.A)(w.current.keys());return I.length&&e.push(q),e},getSubPathKeys:er}),tK=tB.registerPath,tF=tB.unregisterPath,tW=tB.refreshOverflowKeys,tV=tB.isSubPathKey,t_=tB.getKeyPath,tG=tB.getKeys,tX=tB.getSubPathKeys,tY=v.useMemo(function(){return{registerPath:tK,unregisterPath:tF}},[tK,tF]),tq=v.useMemo(function(){return{isSubPathKey:tV}},[tV]);v.useEffect(function(){tW(tH?eK:tn.slice(tj+1).map(function(e){return e.key}))},[tj,tH]);var tU=(0,f.A)(ez||eD&&(null==(es=tn[0])?void 0:es.key),{value:ez}),tQ=(0,l.A)(tU,2),t$=tQ[0],tJ=tQ[1],tZ=U(function(e){tJ(e)}),t0=U(function(){tJ(void 0)});(0,v.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,o=G(tG(),tu),r=o.elements,a=o.key2element,i=o.element2key,l=V(tc.current,r),c=null!=t$?t$:l[0]?i.get(l[0]):null==(t=tn.find(function(e){return!e.props.disabled}))?void 0:t.key,u=a.get(c);c&&u&&(null==u||null==(n=u.focus)||n.call(u,e))}}});var t1=(0,f.A)(eW||[],{value:eV,postState:function(e){return Array.isArray(e)?e:null==e?eK:[e]}}),t2=(0,l.A)(t1,2),t6=t2[0],t3=t2[1],t4=function(e){if(ej){var t,n=e.key,o=t6.includes(n);t3(t=eF?o?t6.filter(function(e){return e!==n}):[].concat((0,i.A)(t6),[n]):[n]);var r=(0,a.A)((0,a.A)({},e),{},{selectedKeys:t});o?null==eG||eG(r):null==e_||e_(r)}!eF&&tp.length&&"inline"!==tM&&tv(eK)},t5=U(function(e){null==e6||e6(ec(e)),t4(e)}),t8=U(function(e,t){var n=tp.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tM){var o=tX(e);n=n.filter(function(e){return!o.has(e)})}(0,p.A)(tp,n,!0)||tv(n,!0)}),t9=(ea=function(e,t){var n=null!=t?t:!tp.includes(e);t8(e,n)},ei=v.useRef(),(el=v.useRef()).current=t$,eu=function(){z.A.cancel(ei.current)},v.useEffect(function(){return function(){eu()}},[]),function(e){var t=e.which;if([].concat(W,[H,B,K,F]).includes(t)){var n=tG(),o=G(n,tu),a=o,i=a.elements,l=a.key2element,c=a.element2key,u=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(l.get(t$),i),s=c.get(u),d=function(e,t,n,o){var a,i="prev",l="next",c="children",u="parent";if("inline"===e&&o===H)return{inlineTrigger:!0};var s=(0,r.A)((0,r.A)({},j,i),L,l),d=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},D,n?l:i),T,n?i:l),L,c),H,c),f=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},j,i),L,l),H,c),B,u),D,n?c:u),T,n?u:c);switch(null==(a=({inline:s,horizontal:d,vertical:f,inlineSub:s,horizontalSub:f,verticalSub:f})["".concat(e).concat(t?"":"Sub")])?void 0:a[o]){case i:return{offset:-1,sibling:!0};case l:return{offset:1,sibling:!0};case u:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}(tM,1===t_(s,!0).length,ts,t);if(!d&&t!==K&&t!==F)return;(W.includes(t)||[K,F].includes(t))&&e.preventDefault();var f=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=c.get(e);tJ(o),eu(),ei.current=(0,z.A)(function(){el.current===o&&t.focus()})}};if([K,F].includes(t)||d.sibling||!u){var p=u&&"inline"!==tM?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(u):tc.current,m=V(p,i);f(t===K?m[0]:t===F?m[m.length-1]:_(p,i,u,d.offset))}else if(d.inlineTrigger)ea(s);else if(d.offset>0)ea(s,!0),eu(),ei.current=(0,z.A)(function(){o=G(n,tu);var e=u.getAttribute("aria-controls");f(_(document.getElementById(e),o.elements))},5);else if(d.offset<0){var v=t_(s,!0),g=v[v.length-2],h=l.get(g);ea(g,!1),f(h)}}null==e4||e4(e)});v.useEffect(function(){tl(!0)},[]);var t7=v.useMemo(function(){return{_internalRenderMenuItem:e5,_internalRenderSubMenuItem:e8}},[e5,e8]),ne="horizontal"!==tM||eO?tn:tn.map(function(e,t){return v.createElement(C,{key:e.key,overflowDisabled:t>tj},e)}),nt=v.createElement(d.A,(0,o.A)({id:ew,ref:tc,prefixCls:"".concat(ef,"-overflow"),component:"ul",itemComponent:em,className:s()(ef,"".concat(ef,"-root"),"".concat(ef,"-").concat(tM),eg,(0,r.A)((0,r.A)({},"".concat(ef,"-inline-collapsed"),tk),"".concat(ef,"-rtl"),ts),ep),dir:eA,style:ev,role:"menu",tabIndex:void 0===eh?0:eh,data:ne,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tn.slice(-t):null;return v.createElement(eP,{eventKey:q,title:e0,disabled:tH,internalPopupClose:0===t,popupClassName:e1},n)},maxCount:"horizontal"!==tM||eO?d.A.INVALIDATE:d.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tL(e)},onKeyDown:t9},e7));return v.createElement(R.Provider,{value:t7},v.createElement(h.Provider,{value:tu},v.createElement(C,{prefixCls:ef,rootClassName:ep,mode:tM,openKeys:tp,rtl:ts,disabled:ex,motion:ti?eY:null,defaultMotions:ti?eq:null,activeKey:t$,onActive:tZ,onInactive:t0,selectedKeys:t6,inlineIndent:void 0===eX?24:eX,subMenuOpenDelay:void 0===eI?.1:eI,subMenuCloseDelay:void 0===eM?.1:eM,forceSubMenuRender:eR,builtinPlacements:eQ,triggerSubMenuAction:void 0===eU?"hover":eU,getPopupContainer:e2,itemIcon:e$,expandIcon:eJ,onItemClick:t5,onOpenChange:t8},v.createElement(M.Provider,{value:tq},nt),v.createElement("div",{style:{display:"none"},"aria-hidden":!0},v.createElement(S.Provider,{value:tY},to)))))});eF.Item=em,eF.SubMenu=eP,eF.ItemGroup=ej,eF.Divider=ez;let eW=eF},93084:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(79630),r=n(12115),a=n(18118),i=n(35030);let l=r.forwardRef(function(e,t){return r.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))})},96249:(e,t,n)=>{function o(e){return["small","middle","large"].includes(e)}function r(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{X:()=>o,m:()=>r})}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/2783-19dd57b4b6b84ee7.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/2783-19dd57b4b6b84ee7.js deleted file mode 100644 index f7f415f3..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/2783-19dd57b4b6b84ee7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2783,5887],{3377:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(32110),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},3711:(e,t,n)=>{var r=n(18028),i=n(65836);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},8365:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},10390:(e,t,n)=>{"use strict";n.d(t,{BN:()=>i,E3:()=>r,xT:()=>c});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=0;l<10;l++)r[48+l]=r[96+l]=String(l);for(var l=1;l<=24;l++)r[l+111]="F"+l;for(var l=65;l<=90;l++)r[l]=String.fromCharCode(l+32),i[l]=String.fromCharCode(l);for(var a in r)i.hasOwnProperty(a)||(i[a]=r[a]);function c(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},10544:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},13993:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(11250),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},14786:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},18610:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(50585),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},32195:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(73603),i=n(60802),o=e=>{var{theme:t,settings:n={},styles:o=[]}=e,s={".cm-gutters":{}},l={};n.background&&(l.backgroundColor=n.background),n.backgroundImage&&(l.backgroundImage=n.backgroundImage),n.foreground&&(l.color=n.foreground),n.fontSize&&(l.fontSize=n.fontSize),(n.background||n.foreground)&&(s["&"]=l),n.fontFamily&&(s["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(s[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(s[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(s[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(s[".cm-content"]={caretColor:n.caret},s[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var a={};n.gutterActiveForeground&&(a.color=n.gutterActiveForeground),n.lineHighlight&&(s[".cm-activeLine"]={backgroundColor:n.lineHighlight},a.backgroundColor=n.lineHighlight),s[".cm-activeLineGutter"]=a,n.selection&&(s["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(s["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var c=r.Lz.theme(s,{dark:"dark"===t}),h=i.cr.define(o);return[c,(0,i.y9)(h)]}},34449:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(15702),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},37152:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(41401),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},44318:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},44407:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},48156:(e,t,n)=>{"use strict";function r(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;tr})},50274:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let 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"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},50715:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(39249),i=n(45964),o=n.n(i),s=n(12115),l=n(56795),a=n(56406),c=n(30114),h=n(4365);let u=function(e,t){h.A&&!(0,c.Tn)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var n,i=(0,l.A)(e),u=null!=(n=null==t?void 0:t.wait)?n:1e3,f=(0,s.useMemo)(function(){return o()(function(){for(var e=[],t=0;t{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},51259:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},51368:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>l});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let l=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();let l=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=l[e];return t}return function(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}(l)}},55887:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var r=n(12115),i=n(29300),o=n.n(i),s=n(26791),l=n(15982),a=n(24848),c=n(35149),h=n(2419),u=n(68151),f=n(70042),d=n(84630),p=n(51754),m=n(48776),g=n(63583),v=n(66383),y=n(51280);function b(e,t){return null===t||!1===t?null:t||r.createElement(m.A,{className:"".concat(e,"-close-icon")})}v.A,d.A,p.A,g.A,y.A;let w={success:d.A,info:v.A,error:p.A,warning:g.A},x=e=>{let{prefixCls:t,icon:n,type:i,message:s,description:l,actions:a,role:c="alert"}=e,h=null;return n?h=r.createElement("span",{className:"".concat(t,"-icon")},n):i&&(h=r.createElement(w[i]||null,{className:o()("".concat(t,"-icon"),"".concat(t,"-icon-").concat(i))})),r.createElement("div",{className:o()({["".concat(t,"-with-icon")]:h}),role:c},h,r.createElement("div",{className:"".concat(t,"-message")},s),l&&r.createElement("div",{className:"".concat(t,"-description")},l),a&&r.createElement("div",{className:"".concat(t,"-actions")},a))};var k=n(99841),A=n(9130),S=n(18184),O=n(61388),C=n(45431);let M=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],I={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},E=(0,C.OF)("Notification",e=>{let t=(e=>{let t=e.paddingMD,n=e.paddingLG;return(0,O.oX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:"".concat((0,k.zA)(e.paddingMD)," ").concat((0,k.zA)(e.paddingContentHorizontalLG)),notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(e.colorPrimaryBorderHover,", ").concat(e.colorPrimary,")")})})(e);return[(e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,s="".concat(t,"-notice"),l=new k.Mo("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,S.dF)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},["".concat(t,"-hook-holder")]:{position:"relative"},["".concat(t,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(t,"-fade-enter, ").concat(t,"-fade-appear")]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(t,"-fade-leave")]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(t,"-fade-leave").concat(t,"-fade-leave-active")]:{animationName:l,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(s,"-actions")]:{float:"left"}}})},{[t]:{["".concat(s,"-wrapper")]:(e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:s,colorSuccess:l,colorInfo:a,colorWarning:c,colorError:h,colorTextHeading:u,notificationBg:f,notificationPadding:d,notificationMarginEdge:p,notificationProgressBg:m,notificationProgressHeight:g,fontSize:v,lineHeight:y,width:b,notificationIconSize:w,colorText:x,colorSuccessBg:A,colorErrorBg:O,colorInfoBg:C,colorWarningBg:M}=e,I="".concat(n,"-notice");return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:f,borderRadius:s,boxShadow:r,[I]:{padding:d,width:b,maxWidth:"calc(100vw - ".concat((0,k.zA)(e.calc(p).mul(2).equal()),")"),lineHeight:y,wordWrap:"break-word",borderRadius:s,overflow:"hidden","&-success":A?{background:A}:{},"&-error":O?{background:O}:{},"&-info":C?{background:C}:{},"&-warning":M?{background:M}:{}},["".concat(I,"-message")]:{color:u,fontSize:i,lineHeight:e.lineHeightLG},["".concat(I,"-description")]:{fontSize:v,color:x,marginTop:e.marginXS},["".concat(I,"-closable ").concat(I,"-message")]:{paddingInlineEnd:e.paddingLG},["".concat(I,"-with-icon ").concat(I,"-message")]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:i},["".concat(I,"-with-icon ").concat(I,"-description")]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:v},["".concat(I,"-icon")]:{position:"absolute",fontSize:w,lineHeight:1,["&-success".concat(t)]:{color:l},["&-info".concat(t)]:{color:a},["&-warning".concat(t)]:{color:c},["&-error".concat(t)]:{color:h}},["".concat(I,"-close")]:Object.assign({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 ".concat(e.motionDurationMid,", color ").concat(e.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,S.K8)(e)),["".concat(I,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,k.zA)(s)," * 2)"),left:{_skip_check_:!0,value:s},right:{_skip_check_:!0,value:s},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:s,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:m},"&::-webkit-progress-value":{borderRadius:s,background:m}},["".concat(I,"-actions")]:{float:"right",marginTop:e.marginSM}}})(e)}}]})(t),(e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i="".concat(t,"-notice"),o=new k.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new k.Mo("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),l=new k.Mo("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),a=new k.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{["&".concat(t,"-top, &").concat(t,"-bottom")]:{marginInline:0,[i]:{marginInline:"auto auto"}},["&".concat(t,"-top")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:s}},["&".concat(t,"-bottom")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:l}},["&".concat(t,"-topRight, &").concat(t,"-bottomRight")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:o}},["&".concat(t,"-topLeft, &").concat(t,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:a}}}}})(t),(e=>{let{componentCls:t}=e;return Object.assign({["".concat(t,"-stack")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(e.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(e=>{let t={};for(let n=1;n ".concat(e.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(e.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(e.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)})(e))},["".concat(t,"-stack:not(").concat(t,"-stack-expanded)")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({},(e=>{let t={};for(let n=1;n ".concat(t,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(e.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},M.map(t=>((e,t)=>{let{componentCls:n}=e;return{["".concat(n,"-").concat(t)]:{["&".concat(n,"-stack > ").concat(n,"-notice-wrapper")]:{[t.startsWith("top")?"top":"bottom"]:0,[I[t]]:{value:0,_skip_check_:!0}}}}})(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))})(t)]},e=>({zIndexPopup:e.zIndexPopupBase+A.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));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 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 L=e=>{let{children:t,prefixCls:n}=e,i=(0,u.A)(n),[s,l,a]=E(n,i);return s(r.createElement(h.ph,{classNames:{list:o()(l,a,i)}},t))},N=(e,t)=>{let{prefixCls:n,key:i}=t;return r.createElement(L,{prefixCls:n,key:i},e)},D=r.forwardRef((e,t)=>{let{top:n,bottom:i,prefixCls:s,getContainer:a,maxCount:c,rtl:u,onAllRemoved:d,stack:p,duration:m,pauseOnHover:g=!0,showProgress:v}=e,{getPrefixCls:y,getPopupContainer:w,notification:x,direction:k}=(0,r.useContext)(l.QO),[,A]=(0,f.Ay)(),S=s||y("notification"),[O,C]=(0,h.hN)({prefixCls:S,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!=i?i:24),className:()=>o()({["".concat(S,"-rtl")]:null!=u?u:"rtl"===k}),motion:()=>({motionName:"".concat(S,"-fade")}),closable:!0,closeIcon:b(S),duration:null!=m?m:4.5,getContainer:()=>(null==a?void 0:a())||(null==w?void 0:w())||document.body,maxCount:c,pauseOnHover:g,showProgress:v,onAllRemoved:d,renderNotifications:N,stack:!1!==p&&{threshold:"object"==typeof p?null==p?void 0:p.threshold:void 0,offset:8,gap:A.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},O),{prefixCls:S,notification:x})),C});var R=n(99209);let B=(0,C.OF)("App",e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o,["&".concat(t,"-rtl")]:{direction:"rtl"}}}},()=>({})),T=e=>{let{prefixCls:t,children:n,className:i,rootClassName:h,message:u,notification:f,style:d,component:p="div"}=e,{direction:m,getPrefixCls:g}=(0,r.useContext)(l.QO),v=g("app",t),[y,w,k]=B(v),A=o()(w,v,i,h,k,{["".concat(v,"-rtl")]:"rtl"===m}),S=(0,r.useContext)(R.B),O=r.useMemo(()=>({message:Object.assign(Object.assign({},S.message),u),notification:Object.assign(Object.assign({},S.notification),f)}),[u,f,S.message,S.notification]),[C,M]=(0,a.A)(O.message),[I,E]=function(e){let t=r.useRef(null);return(0,s.rJ)("Notification"),[r.useMemo(()=>{let n=n=>{var i;if(!t.current)return;let{open:s,prefixCls:l,notification:a}=t.current,c="".concat(l,"-notice"),{message:h,description:u,icon:f,type:d,btn:p,actions:m,className:g,style:v,role:y="alert",closeIcon:w,closable:k}=n,A=P(n,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),S=b(c,void 0!==w?w:void 0!==(null==e?void 0:e.closeIcon)?e.closeIcon:null==a?void 0:a.closeIcon);return s(Object.assign(Object.assign({placement:null!=(i=null==e?void 0:e.placement)?i:"topRight"},A),{content:r.createElement(x,{prefixCls:c,icon:f,type:d,message:h,description:u,actions:null!=m?m:p,role:y}),className:o()(d&&"".concat(c,"-").concat(d),g,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),v),closeIcon:S,closable:null!=k?k:!!S}))},i={open:n,destroy:e=>{var n,r;void 0!==e?null==(n=t.current)||n.close(e):null==(r=t.current)||r.destroy()}};return["success","info","warning","error"].forEach(e=>{i[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),i},[]),r.createElement(D,Object.assign({key:"notification-holder"},e,{ref:t}))]}(O.notification),[L,N]=(0,c.A)(),T=r.useMemo(()=>({message:C,notification:I,modal:L}),[C,I,L]);(0,s.rJ)("App")(!(k&&!1===p),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let z=!1===p?r.Fragment:p;return y(r.createElement(R.A.Provider,{value:T},r.createElement(R.B.Provider,{value:O},r.createElement(z,Object.assign({},!1===p?void 0:{className:A,style:d}),N,M,E,n))))};T.useApp=()=>r.useContext(R.A);let z=T},56875:(e,t,n)=>{"use strict";var r;n.d(t,{PH:()=>d,Qj:()=>r,Z6:()=>c,fI:()=>h,iX:()=>N,rr:()=>L,uY:()=>s});let i=0;class o{constructor(e,t){this.from=e,this.to=t}}class s{constructor(e={}){this.id=i++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=c.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}s.closedBy=new s({deserialize:e=>e.split(" ")}),s.openedBy=new s({deserialize:e=>e.split(" ")}),s.group=new s({deserialize:e=>e.split(" ")}),s.isolate=new s({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),s.contextHash=new s({perNode:!0}),s.lookAhead=new s({perNode:!0}),s.mounted=new s({perNode:!0});class l{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[s.mounted.id]}}let a=Object.create(null);class c{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new c(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(s.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(s.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}c.none=new c("",Object.create(null),0,8);class h{constructor(e){this.types=e;for(let t=0;t=t){let s=new b(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(v(s,t,n,!1))}}return i?S(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,s=e.mode||0,l=(s&r.IncludeAnonymous)>0;for(let e=this.cursor(s|r.IncludeAnonymous);;){let r=!1;if(e.from<=o&&e.to>=i&&(!l&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(l||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:P(c.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new d(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new d(c.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=1024,reused:o=[],minRepeatType:l=r.types.length}=e,a=Array.isArray(n)?new p(n,n.length):n,c=r.types,h=0,u=0;function f(e,t,n,i,o,s,l,a,c){let h=[],u=[];for(;e.length>i;)h.push(e.pop()),u.push(t.pop()+n-o);e.push(g(r.types[l],h,u,s-o,a-s,c)),t.push(o-n)}function g(e,t,n,r,i,o,l){if(o){let e=[s.contextHash,o];l=l?[e].concat(l):[e]}if(i>25){let e=[s.lookAhead,i];l=l?[e].concat(l):[e]}return new d(e,t,n,r,l)}let v=[],y=[];for(;a.pos>0;)!function e(t,n,p,v,y,b){let{id:w,start:x,end:k,size:A}=a,S=u,O=h;if(A<0){if(a.next(),-1==A){let e=o[w];p.push(e),v.push(x-t);return}if(-3==A){h=w;return}if(-4==A){u=w;return}else throw RangeError(`Unrecognized record size: ${A}`)}let C=c[w],M,I,E=x-t;if(k-x<=i&&(I=function(e,t){let n=a.fork(),r=0,o=0,s=0,c=n.end-i,h={size:0,start:0,skip:0};e:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){h.size=r,h.start=o,h.skip=s,s+=4,r+=4,n.next();continue}let a=n.pos-e;if(e<0||a=l),f=n.start;for(n.next();n.pos>a;){if(n.size<0)if(-3==n.size||-4==n.size)u+=4;else break e;else n.id>=l&&(u+=4);n.next()}o=f,r+=e,s+=u}return(t<0||r==e)&&(h.size=r,h.start=o,h.skip=s),h.size>4?h:void 0}(a.pos-n,y))){let e=new Uint16Array(I.size-I.skip),n=a.pos-I.size,i=e.length;for(;a.pos>n;)i=function e(t,n,r){let{id:i,start:o,end:s,size:c}=a;if(a.next(),c>=0&&i4){let i=a.pos-(c-4);for(;a.pos>i;)r=e(t,n,r)}n[--r]=l,n[--r]=s-t,n[--r]=o-t,n[--r]=i}else -3==c?h=i:-4==c&&(u=i);return r}(I.start,e,i);M=new m(e,k-I.start,r),E=I.start-t}else{let t=a.pos-A;a.next();let n=[],o=[],c=w>=l?w:-1,h=0,u=k;for(;a.pos>t;)c>=0&&a.id==c&&a.size>=0?(a.end<=u-i&&(f(n,o,x,h,a.end,u,c,S,O),h=n.length,u=a.end),a.next()):b>2500?function(e,t,n,o){let s=[],l=0,c=-1;for(;a.pos>t;){let{id:e,start:t,end:n,size:r}=a;if(r>4)a.next();else if(c>-1&&t=0;e-=3)t[n++]=s[e],t[n++]=s[e+1]-i,t[n++]=s[e+2]-i,t[n++]=n;n.push(new m(t,s[2]-i,r)),o.push(i-e)}}(x,t,n,o):e(x,t,n,o,c,b+1);if(c>=0&&h>0&&h-1&&h>0){let e=function(e,t){return(n,r,i)=>{let o=0,l=n.length-1,a,c;if(l>=0&&(a=n[l])instanceof d){if(!l&&a.type==e&&a.length==i)return a;(c=a.prop(s.lookAhead))&&(o=r[l]+a.length+c)}return g(e,n,r,i,o,t)}}(C,O);M=P(C,n,o,0,n.length,0,k-x,e,e)}else M=g(C,n,o,k-x,S-k,O)}p.push(M),v.push(E)}(e.start||0,e.bufferStart||0,v,y,-1,0);let b=null!=(t=e.length)?t:v.length?y[0]+v[0].length:0;return new d(c[e.topID],v.reverse(),y.reverse(),b)}(e)}}d.empty=new d(c.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return c.none}toString(){let e=[];for(let t=0;t0)));l=o[l+3]);return s}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let s=e,l=0;s=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function v(e,t,n,i){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?c.length:-1;e!=u;e+=t){let u=c[e],f=h[e]+a.from;if(o&r.EnterBracketed&&u instanceof d&&(null==(s=l.get(u))?void 0:s.overlay)===null&&(f>=n||f+u.length<=n)||g(i,n,f,f+u.length)){if(u instanceof m){if(o&r.ExcludeBuffers)continue;let s=u.findChild(0,u.buffer.length,t,n-f,i);if(s>-1)return new A(new k(a,u,e,f),null,s)}else if(o&r.IncludeAnonymous||!u.type.isAnonymous||M(u)){let s;if(!(o&r.IgnoreMounts)&&(s=l.get(u))&&!s.overlay)return new b(s.tree,f,e,a);let c=new b(u,f,e,a);return o&r.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(t<0?u.children.length-1:0,t,n,i,o)}}}if(o&r.IncludeAnonymous||!a.type.isAnonymous||(e=a.index>=0?a.index+t:t<0?-1:a._parent._tree.children.length,!(a=a._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let i;if(!(n&r.IgnoreOverlays)&&(i=l.get(this._tree))&&i.overlay){let o=e-this.from,s=n&r.EnterBracketed&&i.bracketed;for(let{from:e,to:n}of i.overlay)if((t>0||s?e<=o:e=o:n>o))return new b(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function w(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return o}for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function x(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class k{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class A extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new A(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new A(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new A(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new A(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new d(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function S(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;rn.from||i.to0){if(this.index-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||M(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break e}r=this.stack[--i]}for(let e=n;e=0;i--){if(i<0)return x(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function M(e){return e.children.some(e=>e instanceof m||!e.type.isAnonymous||M(e))}let I=new WeakMap;function E(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=I.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof d)){n=1;break}n+=E(e,r)}I.set(t,n)}return n}function P(e,t,n,r,i,o,s,l,a){let c=0;for(let n=r;n=h)break;p+=t}if(c==i+1){if(p>h){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+l);continue}u.push(n[i])}else{let t=r[c-1]+n[c-1].length-d;u.push(P(e,n,r,i,c,d,t,null,a))}f.push(d+l-o)}}(t,n,r,i,0),(l||a)(u,f,s)}class L{constructor(e,t,n,r,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|2*!!o}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new L(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,o=e.length?e[0]:null;for(let s=0,l=0,a=0;;s++){let c=s=n)for(;o&&o.from=t.from||h<=t.to||a){let e=Math.max(t.from,l)-a,n=Math.min(t.to,h)-a;t=e>=n?null:new L(e,n,t.tree,t.offset+a,s>0,!!c)}if(t&&r.push(t),o.to>h)break;o=inew o(e.from,e.to)):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class D{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new s({perNode:!0})},59964:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},60802:(e,t,n)=>{"use strict";n.d(t,{EI:()=>C,KB:()=>I,Lv:()=>et,SG:()=>ey,WD:()=>D,Xt:()=>S,Zt:()=>eh,_v:()=>M,cr:()=>er,f7:()=>q,jU:()=>ek,mv:()=>d,tp:()=>O,y9:()=>el});var r,i=n(56875),o=n(61245),s=n(73603),l=n(78520),a=n(98929);let c=new i.uY,h=new i.uY;class u{constructor(e,t,n=[],r=""){this.data=e,this.name=r,o.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(o.$t.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[k.of(this),o.$t.languageData.of((e,t,n)=>{let r=f(e,t,n),i=r.type.prop(c);if(!i)return[];let o=e.facet(i),s=r.type.prop(h);if(s){let i=r.resolve(t-r.from,n);for(let t of s)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o})].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(k);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let o=e.prop(i.uY.mounted);if(o){if(o.tree.prop(c)==this.data){if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(o.overlay){let e=n.length;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}for(let n=0;n=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],r,i,o,s,l){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],i.PH.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.PH.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.rr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=v(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:o,viewport:s,skipped:l}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=i.rr.applyChanges(n,t),r=i.PH.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length)for(let t of(l=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);ne.from&&(this.fragments=v(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i.iX{createParse(t,n,r){let o=r[0].from,s=r[r.length-1].to;return{parsedPos:o,advance(){let t=m;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=s,new i.PH(i.Z6.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function v(e,t,n){return i.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class y{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new y(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(k).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new y(n)}}u.state=o.sU.define({create:y.init,update(e,t){for(let e of t.effects)if(e.is(u.setState))return e.value;return t.startState.facet(k)!=t.state.facet(k)?y.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let w="undefined"!=typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=s.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,l=i.context.work(()=>w&&w()||Date.now()>o,r+1e5*!s);this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:u.setState.of(new y(i.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,s.c_)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),k=o.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,x,s.Lz.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),A=o.sj.define(),S=o.sj.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function O(e){let t=e.facet(S);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function C(e,t){let n="",r=e.tabSize,i=e.facet(S)[0];if(" "==i){for(;t>=r;)n+=" ",t-=r;i=" "}for(let e=0;e=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.fromr.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return P(r,e,n)}(e,n,t):null}class I{constructor(e,t={}){this.state=e,this.options=t,this.unit=O(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(null!=r&&r>=n.from&&r<=n.to)if(i&&r==e)return{text:"",from:e};else if(t<0?r-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,o.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let E=new i.uY;function P(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(E);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(i.uY.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>(function(e,t,n,r,i){let o=e.textAfter,s=o.match(/^\s*/)[0].length,l=r&&o.slice(s,s+r.length)==r||i==e.pos+s,a=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),s=null==i||i<=o.from?o.to:Math.min(o.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=s)return null;let e=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}(e):null;return a?l?e.column(a.from):e.column(a.to):e.baseIndent+(l?0:+e.unit)})(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?L:null}(r.node);if(e)return e(N.create(t,n,r))}return 0}function L(){return 0}class N extends I{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new N(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return P(this.context.next,this.base,this.pos)}}function D(){return o.$t.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:s}=e,l=-1,a=[];for(let{head:e}of s.selection.ranges){let t=s.doc.lineAt(e);if(t.from==l)continue;l=t.from;let n=M(s,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=C(s,n);r!=i&&a.push({from:t.from,to:t.from+r.length,insert:i})}return a.length?[e,{changes:a,sequential:!0}]:e})}let R=o.sj.define(),B=new i.uY;function T(e,t,n){for(let r of e.facet(R)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=d(e);if(r.lengthn)continue;if(o&&i.from=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function z(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let j=o.Pe.define({map:z}),_=o.Pe.define({map:z});function F(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let H=o.sU.define({create:()=>s.NZ.none,update(e,t){for(let n of(t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=V(e,t,n)),e=e.map(t.changes),t.effects))if(n.is(j)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(Z),i=r?s.NZ.replace({widget:new Q(r(t.state,n.value))}):Y;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(_)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=V(e,t.selection.main.head)),e},provide:e=>s.Lz.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{et&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function $(e,t,n){var r;let i=null;return null==(r=e.field(H,!1))||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function U(e,t){return e.field(H,!1)?t:t.concat(o.Pe.appendConfig.of(K()))}function W(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return s.Lz.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}let q=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of F(e)){let n=T(e.state,t.from,t.to);if(n)return e.dispatch({effects:U(e.state,[j.of(n),W(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(H,!1))return!1;let t=[];for(let n of F(e)){let r=$(e.state,n.from,n.to);r&&t.push(_.of(r),W(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(H,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(_.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],J={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Z=o.sj.define({combine:e=>(0,o.QR)(e,J)});function K(e){let t=[H,en];return e&&t.push(Z.of(e)),t}function G(e,t){let{state:n}=e,r=n.facet(Z),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=$(e.state,n.from,n.to);r&&e.dispatch({effects:_.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}let Y=s.NZ.replace({widget:new class extends s.xO{toDOM(e){return G(e,null)}}});class Q extends s.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return G(e,this.value)}}let X={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ee extends s.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function et(e={}){let t={...X,...e},n=new ee(t,!0),r=new ee(t,!1),i=s.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(k)!=e.state.facet(k)||e.startState.field(H,!1)!=e.state.field(H,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new o.vB;for(let i of e.viewportLineBlocks){let o=$(e.state,i.from,i.to)?r:T(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:l}=t;return[i,(0,s.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(i))?void 0:t.markers)||o.om.empty},initialSpacer:()=>new ee(t,!1),domEventHandlers:{...l,click:(e,t,n)=>{if(l.click&&l.click(e,t,n))return!0;let r=$(e.state,t.from,t.to);if(r)return e.dispatch({effects:_.of(r)}),!0;let i=T(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:j.of(i)}),!0)}}}),K()]}let en=s.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class er{constructor(e,t){let n;function r(e){let t=a.G.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof u?e=>e.prop(c)==o.data:o?e=>e==o:void 0,this.style=(0,l.az)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new a.G(n):null,this.themeType=t.themeType}static define(e,t){return new er(e,t||{})}}let ei=o.sj.define(),eo=o.sj.define({combine:e=>e.length?[e[0]]:null});function es(e){let t=e.facet(ei);return t.length?t:e.facet(eo)}function el(e,t){let n=[ec],r;return e instanceof er&&(e.module&&n.push(s.Lz.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(eo.of(e)):r?n.push(ei.computeN([s.Lz.darkTheme],t=>t.facet(s.Lz.darkTheme)==("dark"==r)?[e]:[])):n.push(ei.of(e)),n}class ea{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,es(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=d(e.state),n=es(e.state),r=n!=es(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return s.NZ.none;let n=new o.vB;for(let{from:r,to:i}of e.visibleRanges)(0,l.DM)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=s.NZ.mark({class:r})))},r,i);return n.finish()}}let ec=o.Nb.high(s.Z9.fromClass(ea,{decorations:e=>e.decorations})),eh=er.define([{tag:l._A.meta,color:"#404740"},{tag:l._A.link,textDecoration:"underline"},{tag:l._A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l._A.emphasis,fontStyle:"italic"},{tag:l._A.strong,fontWeight:"bold"},{tag:l._A.strikethrough,textDecoration:"line-through"},{tag:l._A.keyword,color:"#708"},{tag:[l._A.atom,l._A.bool,l._A.url,l._A.contentSeparator,l._A.labelName],color:"#219"},{tag:[l._A.literal,l._A.inserted],color:"#164"},{tag:[l._A.string,l._A.deleted],color:"#a11"},{tag:[l._A.regexp,l._A.escape,l._A.special(l._A.string)],color:"#e40"},{tag:l._A.definition(l._A.variableName),color:"#00f"},{tag:l._A.local(l._A.variableName),color:"#30a"},{tag:[l._A.typeName,l._A.namespace],color:"#085"},{tag:l._A.className,color:"#167"},{tag:[l._A.special(l._A.variableName),l._A.macroName],color:"#256"},{tag:l._A.definition(l._A.propertyName),color:"#00c"},{tag:l._A.comment,color:"#940"},{tag:l._A.invalid,color:"#f00"}]),eu=s.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ef="()[]{}",ed=o.sj.define({combine:e=>(0,o.QR)(e,{afterCursor:!0,brackets:ef,maxScanDistance:1e4,renderMatch:eg})}),ep=s.NZ.mark({class:"cm-matchingBracket"}),em=s.NZ.mark({class:"cm-nonmatchingBracket"});function eg(e){let t=[],n=e.matched?ep:em;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let ev=[o.sU.define({create:()=>s.NZ.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(ed);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=ek(t.state,e.head,-1,r)||e.head>0&&ek(t.state,e.head-1,1,r)||r.afterCursor&&(ek(t.state,e.head,1,r)||e.heads.Lz.decorations.from(e)}),eu];function ey(e={}){return[ed.of(e),ev]}let eb=new i.uY;function ew(e,t,n){let r=e.prop(t<0?i.uY.openedBy:i.uY.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function ex(e){let t=e.type.prop(eb);return t?t(e.node):e}function ek(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||ef,s=d(e),l=s.resolveInner(t,n);for(let e=l;e;e=e.parent){let r=ew(e.type,n,o);if(r&&e.from0?t>=i.from&&ti.from&&t<=i.to))return function(e,t,n,r,i,o,s){let l=r.parent,a={from:i.from,to:i.to},c=0,h=null==l?void 0:l.cursor();if(h&&(n<0?h.childBefore(r.from):h.childAfter(r.to)))do if(n<0?h.to<=r.from:h.from>=r.to){if(0==c&&o.indexOf(h.type.name)>-1&&h.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let e=0;!h.next().done&&e<=o;){let o=h.value;n<0&&(e+=o.length);let l=t+e*n;for(let e=n>0?0:o.length-1,t=n>0?o.length:-1;e!=t;e+=n){let t=s.indexOf(o[e]);if(!(t<0)&&r.resolveInner(l+e,1).type==i)if(t%2==0==n>0)u++;else{if(1==u)return{start:c,end:{from:l+e,to:l+e+1},matched:t>>1==a>>1};u--}}n>0&&(e+=o.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,s,l.type,i,o)}let eA=Object.create(null),eS=[i.Z6.none],eO=[],eC=Object.create(null),eM=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eM[e]=function(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||l._A[n];r?"function"==typeof r?t.length?t=t.map(r):eI(n,`Modifier ${n} used at start of tag`):t.length?eI(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eI(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(e=>e.id),s=eC[o];if(s)return s.id;let a=eC[o]=i.Z6.define({id:eS.length,name:r,props:[(0,l.pn)({[r]:n})]});return eS.push(a),a.id}(eA,t);function eI(e,t){eO.indexOf(e)>-1||(eO.push(e),console.warn(t))}s.OP.RTL,s.OP.LTR},61037:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},61245:(e,t,n)=>{"use strict";let r;n.d(t,{YH:()=>ea,Gu:()=>M,VR:()=>I,Je:()=>ev,OF:()=>T,$t:()=>eb,sj:()=>_,iR:()=>C,Nb:()=>Z,om:()=>eC,vB:()=>eM,FB:()=>ex,Pe:()=>eu,sU:()=>W,EY:()=>f,ZX:()=>ef,vS:()=>k,Fh:()=>S,QR:()=>ew,y$:()=>ej,zK:()=>x,kn:()=>e_,MK:()=>A});let i=[],o=[];function s(e){return e>=127462&&e<=127487}function l(e,t,n){if(t==e.length)return t;t&&c(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let r=a(e,t);for(t+=u(r);t>1;if(e=o[r]))return!0;t=r+1}if(t==n)return!1}}(l))t+=u(l),r=l;else if(s(l)){let n=0,r=t-2;for(;r>=0&&s(a(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function a(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return c(r)?(n-55296<<10)+(r-56320)+65536:n}function c(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function u(e){return e<65536?1:2}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;tthis.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=w(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),p.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=w(this,e,t);let n=[];return this.decompose(e,t,n,0),p.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new g(this),i=new g(e);for(let e=t,o=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new g(this,e)}iterRange(e,t=this.length){return new v(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new d(e):p.from(d.split(e,[])):f.empty}}class d extends f{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.text[i],s=r+o.length;if((t?n:s)>=e)return new b(r,s,n,o);r=s+1,n++}}decompose(e,t,n,r){var i;let o=e<=0&&t>=this.length?this:new d((i=this.text,m(i,[""],e,t)),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=m(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new d(t,e.length+o.length));else{let e=t.length>>1;n.push(new d(t.slice(0,e)),new d(t.slice(e)))}}else n.push(o)}replace(e,t,n){var r;if(!(n instanceof d))return super.replace(e,t,n);[e,t]=w(this,e,t);let i=m(this.text,m(n.text,(r=this.text,m(r,[""],0,e))),t),o=this.length+n.length-(t-e);return i.length<=32?new d(i,o):p.from(d.split(i,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=w(this,e,t);let r="";for(let i=0,o=0;i<=t&&oe&&o&&(r+=n),ei&&(r+=s.slice(Math.max(0,e-i),t-i)),i=l+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new d(n,r)),n=[],r=-1);return r>-1&&t.push(new d(n,r)),t}}class p extends f{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.children[i],s=r+o.length,l=n+o.lines-1;if((t?l:s)>=e)return o.lineInner(e,t,n,r);r=s+1,n=l+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i=o){let i=r&(o<=e|2*(l>=t));o>=e&&l<=t&&!i?n.push(s):s.decompose(e-o,t-o,n,i)}o=l+1}}replace(e,t,n){if([e,t]=w(this,e,t),n.lines=i&&t<=s){let l=o.replace(e-i,t-i,n),a=this.lines-o.lines+l.lines;if(l.lines>4&&l.lines>a>>6){let i=this.children.slice();return i[r]=l,new p(i,this.length-(t-e)+n.length)}return super.replace(i,s,l)}i=s+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=w(this,e,t);let r="";for(let i=0,o=0;ie&&i&&(r+=n),eo&&(r+=s.sliceString(e-o,t-o,n)),o=l+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof p))return 0;let n=0,[r,i,o,s]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==s)return n;let l=this.children[r],a=e.children[i];if(l!=a)return n+l.scanIdentical(a,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new d(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,s=[],l=0,a=-1,c=[];function h(){0!=l&&(s.push(1==c.length?c[0]:p.from(c,a)),a=-1,l=c.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof p)for(let n of t.children)e(n);else t.lines>o&&(l>o||!l)?(h(),s.push(t)):t instanceof d&&l&&(n=c[c.length-1])instanceof d&&t.lines+n.lines<=32?(l+=t.lines,a+=t.length+1,c[c.length-1]=new d(n.text.concat(t.text),n.length+1+t.length)):(l+t.lines>r&&h(),l+=t.lines,a+=t.length+1,c.push(t))}(t);return h(),1==s.length?s[0]:new p(s,t)}}function m(e,t,n=0,r=1e9){for(let i=0,o=0,s=!0;o=n&&(a>r&&(l=l.slice(0,r-i)),i0?1:(e instanceof d?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,s=r instanceof d?r.text.length:r.children.length;if(o==(t>0?s:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof d){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof d?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class v{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new g(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class y{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(f.prototype[Symbol.iterator]=function(){return this.iter()},g.prototype[Symbol.iterator]=v.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});class b{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function w(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function x(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?l:function(e,t,n){for(;t>0;){let r=l(e,t-2,n);if(r=55296&&n<56320)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(n-55296<<10)+(r-56320)+65536:n}function A(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function S(e){return e<65536?1:2}let O=/\r\n?|\n/;var C=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(C||(C={}));class M{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return i+(e-r);i+=s}else{if(n!=C.Simple&&a>=e&&(n==C.TrackDel&&re||n==C.TrackBefore&&re))return null;if(a>e||a==e&&t<0&&!s)return e==r||t<0?i:i+l;i+=l}r=a}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n=0&&r<=t&&s>=e)return!(rt)||"cover";r=s}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new M(e)}static create(e){return new M(e)}}class I extends M{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return L(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}mapDesc(e,t=!1){return N(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r=0){t[r]=s,t[r+1]=o;let l=r>>1;for(;n.length0&&P(n,t,i.text),i.forward(e),s+=e}let a=e[o++];for(;s>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],o=0,s=null;function l(e=!1){if(!e&&!r.length)return;os||e<0||s>t)throw RangeError(`Invalid change range ${e} to ${s} (in doc of length ${t})`);let h=c?"string"==typeof c?f.of(c.split(n||O)):c:f.empty,u=h.length;if(e==s&&0==u)return;eo&&E(r,e-o,-1),E(r,s-e,u),P(i,r,h),o=s}}(e),l(!s),s}static empty(e){return new I(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;rt&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==i.length)t.push(i[0],0);else{for(;n.length=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function P(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r>1])),!n&&s!=e.sections.length&&!(e.sections[s+1]<0);)l=e.sections[s++],a=e.sections[s++];t(i,c,o,h,u),i=c,o=h}}}function N(e,t,n,r=!1){let i=[],o=r?[]:null,s=new R(e),l=new R(t);for(let e=-1;;)if(s.done&&l.len||l.done&&s.len)throw Error("Mismatched change set lengths");else if(-1==s.ins&&-1==l.ins){let e=Math.min(s.len,l.len);E(i,e,-1),s.forward(e),l.forward(e)}else if(l.ins>=0&&(s.ins<0||e==s.i||0==s.off&&(l.len=0&&e=0){let t=0,n=s.len;for(;n;)if(-1==l.ins){let e=Math.min(n,l.len);t+=e,n-=e,l.forward(e)}else if(0==l.ins&&l.lent||s.ins>=0&&s.len>t)&&(e||r.length>n),o.forward2(t),s.forward(t)}else E(r,0,s.ins,e),i&&P(i,r,s.text),s.next()}class R{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?f.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?f.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class B{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 0xffffff==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new B(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return T.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return T.range(this.anchor,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,t,n){return new B(e,t,n)}}class T{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(e=>B.fromJSON(e)),e.main)}static single(e,t=e){return new T([T.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;re)|i)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;nr.head?T.range(s,o):T.range(o,s))}}return new T(e,t)}}function z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let j=0;class _{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=j++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new _(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?F:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new H([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new H(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new H(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function F(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class H{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=j++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,s=2==this.type,l=!1,a=!1,c=[];for(let n of this.dependencies)"doc"==n?l=!0:"selection"==n?a=!0:((null!=(t=e[n.id])?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(l&&t.docChanged||a&&(t.docChanged||t.selection)||$(e,c)){let t=n(e);if(s?!V(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let l,a=t.config.address[i];if(null!=a){let i=ee(t,a);if(this.dependencies.every(n=>n instanceof _?t.facet(n)===e.facet(n):!(n instanceof W)||t.field(n,!1)==e.field(n,!1))||(s?V(l=n(e),i,r):r(l=n(e),i)))return e.values[o]=i,0}else l=n(e);return e.values[o]=l,1}}}}function V(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(U).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r=e.facet(U),i=n.facet(U),o;return(o=r.find(e=>e.field==this))&&o!=i.find(e=>e.field==this)?(e.values[t]=o.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,U.of({field:this,create:e})]}get extension(){return this}}let q={lowest:4,low:3,default:2,high:1,highest:0};function J(e){return t=>new K(t,e)}let Z={highest:J(q.highest),high:J(q.high),default:J(q.default),low:J(q.low),lowest:J(q.lowest)};class K{constructor(e,t){this.inner=e,this.prec=t}}class G{of(e){return new Y(this,e)}reconfigure(e){return G.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Y{constructor(e,t){this.compartment=e,this.inner=t}}class Q{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){var r,i,o;let s,l,a=[],c=Object.create(null),h=new Map;for(let n of(r=e,i=t,o=h,s=[[],[],[],[],[]],l=new Map,!function e(t,n){let r=l.get(t);if(null!=r){if(r<=n)return;let e=s[r].indexOf(t);e>-1&&s[r].splice(e,1),t instanceof Y&&o.delete(t.compartment)}if(l.set(t,n),Array.isArray(t))for(let r of t)e(r,n);else if(t instanceof Y){if(o.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=i.get(t.compartment)||t.inner;o.set(t.compartment,r),e(r,n)}else if(t instanceof K)e(t.inner,t.prec);else if(t instanceof W)s[n].push(t),t.provides&&e(t.provides,n);else if(t instanceof H)s[n].push(t),t.facet.extensions&&e(t.facet.extensions,q.default);else{let r=t.extension;if(!r)throw Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(r,n)}}(r,q.default),s.reduce((e,t)=>e.concat(t))))n instanceof W?a.push(n):(c[n.facet.id]||(c[n.facet.id]=[])).push(n);let u=Object.create(null),f=[],d=[];for(let e of a)u[e.id]=d.length<<1,d.push(t=>e.slot(t));let p=null==n?void 0:n.config.facets;for(let e in c){let t=c[e],r=t[0].facet,i=p&&p[e]||[];if(t.every(e=>0==e.type))if(u[r.id]=f.length<<1|1,F(i,t))f.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));f.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(u[e.id]=f.length<<1|1,f.push(e.value)):(u[e.id]=d.length<<1,d.push(t=>e.dynamicSlot(t)));u[r.id]=d.length<<1,d.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),s=e[t.id]>>1;function l(e){let n=[];for(let t=0;te(u)),u,f,c)}}function X(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=_.define(),en=_.define({combine:e=>e.some(e=>e),static:!0}),er=_.define({combine:e=>e.length?e[0]:void 0,static:!0}),ei=_.define(),eo=_.define(),es=_.define(),el=_.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new ec}}class ec{of(e){return new ea(this,e)}}class eh{constructor(e){this.map=e}of(e){return new eu(this,e)}}class eu{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eu(this.type,t)}is(e){return this.type==e}static define(e={}){return new eh(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}eu.reconfigure=eu.define(),eu.appendConfig=eu.define();class ef{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&z(n,t.newLength),i.some(e=>e.type==ef.time)||(this.annotations=i.concat(ef.time.of(Date.now())))}static create(e,t,n,r,i,o){return new ef(e,t,n,r,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var r;let i,o,s;return n?(i=t.changes,o=I.empty(t.changes.length),s=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),s=e.changes.compose(i)),{changes:s,selection:t.selection?t.selection.map(o):null==(r=e.selection)?void 0:r.map(i),effects:eu.mapEffects(e.effects,i).concat(eu.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let r=t.selection,i=eg(t.annotations);return t.userEvent&&(i=i.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof I?t.changes:I.of(t.changes||[],n,e.facet(er)),selection:r&&(r instanceof T?r:T.single(r.anchor,r.head)),effects:eg(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}ef.time=ea.define(),ef.userEvent=ea.define(),ef.addToHistory=ea.define(),ef.remote=ea.define();let em=[];function eg(e){return null==e?em:Array.isArray(e)?e:[e]}var ev=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(ev||(ev={}));let ey=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class eb{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let e=0;e=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=ed(r,ep(t,o,e.changes.newLength),!0))}return r==e?e:ef.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let n=t.startState,r=!0;for(let e of n.facet(ei)){let n=e(t);if(!1===n){r=!1;break}Array.isArray(n)&&(r=!0===r?n:function(e,t){let n=[];for(let r=0,i=0;;){let o,s;if(r=e[r]))o=e[r++],s=e[r++];else{if(!(i=0;r--){let o=i[r](t);t=o instanceof ef?o:Array.isArray(o)&&1==o.length&&o[0]instanceof ef?o[0]:e(n,eg(o),!1)}return t}(o):o)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(G.reconfigure)?(n&&(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(eu.reconfigure)?(n=null,r=t.value):t.is(eu.appendConfig)&&(n=null,r=eg(r).concat(t.value));t=n?e.startState.values.slice():new eb(n=Q.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(en)?e.newSelection:e.newSelection.asSingle();new eb(n,e.newDoc,o,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:T.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=eg(n.effects);for(let n=1;ni.spec.fromJSON(o,e)))}}return eb.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=Q.resolve(e.extensions||[],new Map),n=e.doc instanceof f?e.doc:f.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||O)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return z(r,n.length),t.staticFacet(en)||(r=r.asSingle()),new eb(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(el)}phrase(e,...t){for(let t of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(et))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{if(!/\S/.test(e))return ev.Space;if(function(e){if(r)return r.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ey.test(n)))return!0}return!1}(e))return ev.Word;for(let n=0;n-1)return ev.Word;return ev.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,s=e-n;for(;o>0;){let e=x(t,o,!1);if(i(t.slice(e,o))!=ev.Word)break;o=e}for(;se.length?e[0]:4}),eb.lineSeparator=er,eb.readOnly=el,eb.phrases=_.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),eb.languageData=et,eb.changeFilter=ei,eb.transactionFilter=eo,eb.transactionExtender=es,G.reconfigure=eu.define();class ex{eq(e){return this==e}range(e,t=e){return eA.create(e,t,this)}}function ek(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapMode=C.TrackDel;class eA{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new eA(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eO{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,s=i.length;;){if(o==s)return o;let r=o+s>>1,l=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return l>=0?o:s;l>=0?s=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i(f=t.mapPos(h,a.endSide))||u==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-u||a.endSide-a.startSide)||(o<0&&(o=u),a.point&&(s=Math.max(s,f-u)),n.push(a),r.push(u-o),i.push(f-o))}return{mapped:n.length?new eO(r,i,n,s):null,pos:o}}}class eC{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eC(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let s=new eE(this,null,-1).goto(0),l=0,a=[],c=new eM;for(;s.value||l=0){let e=t[l++];c.addInner(e.from,e.to,e.value)||a.push(e)}else 1==s.rangeIndex&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||is.to||i=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eP.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eP.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),l=eI(o,s,n),a=new eN(o,l,i),c=new eN(s,l,i);n.iterGaps((e,t,n)=>eD(a,e,c,t,n,r)),n.empty&&0==n.length&&eD(a,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=0x3b9ac9ff);let i=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=o.length)return!1;if(!i.length)return!0;let s=eI(i,o),l=new eN(i,s,0).goto(n),a=new eN(o,s,0).goto(n);for(;;){if(l.to!=a.to||!eR(l.active,a.active)||l.point&&(!a.point||!ek(l.point,a.point)))return!1;if(l.to>r)return!0;l.next(),a.next()}}static spans(e,t,n,r,i=-1){let o=new eN(e,null,i).goto(t),s=t,l=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFroms&&(r.span(s,e,o.active,l),l=o.openEnd(e));if(o.to>n)return l+(o.point&&o.to>n?1:0);s=o.to,o.next()}}static of(e,t=!1){let n=new eM;for(let r of e instanceof eA?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(eS);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eC.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eC.empty;r=r.nextLayer)t=new eC(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eM{finishChunk(e){this.chunks.push(new eO(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eM)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eI(e,t,n){let r=new Map;for(let t of e)for(let e=0;e(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new eE(o,t,n,i));return 1==r.length?r[0]:new eP(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eL(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eL(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eL(this.heap,0)}}}function eL(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1=0&&(i=e[r+1],r++),0>n.compare(i))break;e[r]=n,e[t]=i,t=r}}class eN{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eP.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eB(this.active,e),eB(this.activeTo,e),eB(this.activeRank,e),this.minActive=ez(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t0;)t++;eT(this.active,t,n),eT(this.activeTo,t,r),eT(this.activeRank,t,i),e&&eT(e,t,this.cursor.from),this.minActive=ez(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eB(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[t]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eD(e,t,n,r,i,o){e.goto(t),n.goto(r);let s=r+i,l=r,a=r-t,c=!!o.boundChange;for(let t=!1;;){let r=e.to+a-n.to,i=r||e.endSide-n.endSide,h=i<0?e.to+a:n.to,u=Math.min(h,s);if(e.point||n.point?(e.point&&n.point&&ek(e.point,n.point)&&eR(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(l,u,e.point,n.point),t=!1):(t&&o.boundChange(l),u>l&&!eR(e.active,n.active)&&o.compareRange(l,u,e.active,n.active),c&&us)break;l=h,i<=0&&e.next(),i>=0&&n.next()}}function eR(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;n--)e[n+1]=e[n];e[t]=n}function ez(e,t){let n=-1,r=1e9;for(let i=0;i(t[i]-r||e[i].endSide-e[n].endSide)&&(n=i,r=t[i]);return n}function ej(e,t,n=e.length){let r=0;for(let i=0;i=t)return r;if(r==e.length)break;i+=9==e.charCodeAt(r)?n-i%n:1,r=x(e,r)}return!0===r?-1:e.length}},64227:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},64413:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},65095:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},67678:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},71750:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>rs});var r=n(79630),i=n(93495),o=n(12115),s=n(61245),l=n(73603),a=n(60802),c=n(56875);function h(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}let u=h(function(e,t,n=t.selection.ranges){let r=[],i=-1;for(let{from:e,to:o}of n){let n=r.length,s=1e9,l=p(t,e).line;if(l){for(let n=e;n<=o;){let a=t.doc.lineAt(n);if(a.from>i&&(e==o||o>a.from)){i=a.from;let e=/^\s*/.exec(a.text)[0].length,t=e==a.length,n=a.text.slice(e,e+l.length)==l?e:-1;ee.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:o,single:s}of r)(s||!o)&&e.push({from:t.from+i,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null},0),f=h(m,0),d=h((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function p(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let r=n.map(e=>p(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>(function(e,{open:t,close:n},r,i){let o,s,l=e.sliceDoc(r-50,r),a=e.sliceDoc(i,i+50),c=/\s*$/.exec(l)[0].length,h=/^\s*/.exec(a)[0].length,u=l.length-c;if(l.slice(u-t.length,u)==t&&a.slice(h,h+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+h,margin:h&&1}};i-r<=100?o=s=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+50),s=e.sliceDoc(i-50,i));let f=/^\s*/.exec(o)[0].length,d=/\s*$/.exec(s)[0].length,p=s.length-d-n.length;return o.slice(f,f+t.length)==t&&s.slice(p,p+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(o.charAt(f+t.length))},close:{pos:i-d-n.length,margin:+!!/\s/.test(s.charAt(p-1))}}:null})(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t=0,n;t(0,s.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),w=s.sU.define({create:()=>D.empty,update(e,t){let n=t.state.facet(b),r=t.annotation(g);if(r){let i=C.fromTransaction(t,r.selection),o=r.side,s=0==o?e.undone:e.done;return s=i?M(s,s.length,n.minDepth,i):P(s,t.startState.selection),new D(0==o?r.rest:s,0==o?s:r.rest)}let i=t.annotation(v);if(("full"==i||"before"==i)&&(e=e.isolate()),!1===t.annotation(s.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=C.fromTransaction(t),l=t.annotation(s.ZX.time),a=t.annotation(s.ZX.userEvent);return o?e=e.addChanges(o,l,a,n,t):t.selection&&(e=e.addSelection(t.startState.selection,l,a,n.newGroupDelay)),("full"==i||"after"==i)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new D(e.done.map(C.fromJSON),e.undone.map(C.fromJSON))});function x(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(w,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}let k=x(0,!1),A=x(1,!1),S=x(0,!0),O=x(1,!0);class C{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new C(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(n=this.startSelection)?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new C(e.changes&&s.VR.fromJSON(e.changes),[],e.mapped&&s.Gu.fromJSON(e.mapped),e.startSelection&&s.OF.fromJSON(e.startSelection),e.selectionsAfter.map(s.OF.fromJSON))}static fromTransaction(e,t){let n=E;for(let t of e.startState.facet(y)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new C(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,E)}static selection(e){return new C(void 0,E,void 0,void 0,e)}}function M(e,t,n,r){let i=e.slice(t+1>n+20?t-n-1:0,t);return i.push(r),i}function I(e,t){return e.length?t.length?e.concat(t):e:t}let E=[];function P(e,t){if(!e.length)return[C.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),M(e,e.length-1,1e9,n.setSelAfter(r)))}}function L(e,t){if(!e.length)return e;let n=e.length,r=E;for(;n;){let i=function(e,t,n){let r=I(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):E,n);if(!e.changes)return C.selection(r);let i=e.changes.map(t),o=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(o):o;return new C(i,s.Pe.mapEffects(e.effects,t),l,e.startSelection.map(o),r)}(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[C.selection(r)]:E}let N=/^(input\.type|delete)($|\.)/;class D{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new D(this.done,this.undone):this}addChanges(e,t,n,r,i){var o,l;let a,c,h=this.done,u=h[h.length-1];return new D(h=u&&u.changes&&!u.changes.empty&&e.changes&&(!n||N.test(n))&&(!u.selectionsAfter.length&&t-this.prevTimea.push(e,t)),l.iterChangedRanges((e,t,n,r)=>{for(let e=0;e=t&&n<=i&&(c=!0)}}),c))||"input.type.compose"==n)?M(h,h.length-1,r.minDepth,new C(e.changes.compose(u.changes),I(s.Pe.mapEffects(e.effects,u.changes),u.effects),u.mapped,u.startSelection,E)):M(h,h.length,r.minDepth,e),E,t,n)}addSelection(e,t,n,r){var i;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:E;return o.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length)?this:new D(P(this.done,e),this.undone,t,n)}addMapping(e){return new D(L(this.done,e),L(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],o=i.selectionsAfter[0]||t.selection;if(n&&i.selectionsAfter.length){let n,s;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:g.of({side:e,rest:(n=r[r.length-1],(s=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),s),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?E:r.slice(0,r.length-1);return i.mapped&&(n=L(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:g.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}D.empty=new D(E,E);let R=[{key:"Mod-z",run:k,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:A,preventDefault:!0},{linux:"Ctrl-Shift-z",run:A,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:O,preventDefault:!0}];function B(e,t){return s.OF.create(e.ranges.map(t),e.mainIndex)}function T(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let r=B(e.selection,n);return!r.eq(e.selection,!0)&&(t(T(e,r)),!0)}function j(e,t){return s.OF.cursor(t?e.to:e.from)}function _(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):j(n,t))}function F(e){return e.textDirectionAt(e.state.selection.main.head)==l.OP.LTR}let H=e=>_(e,!F(e)),V=e=>_(e,F(e));function $(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):j(n,t))}function U(e,t,n){let r,i,o=(0,a.mv)(e).resolveInner(t.head),l=n?c.uY.closedBy:c.uY.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;!function(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,l)?r=n?t.to:t.from:o=t}return i=o.type.prop(l)&&(r=n?(0,a.jU)(e,o.from,1):(0,a.jU)(e,o.to,-1))&&r.matched?n?r.end.to:r.end.from:n?o.to:o.from,s.OF.cursor(i,n?-1:1)}function W(e,t){return z(e,n=>{if(!n.empty)return j(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;let q=e=>W(e,!1),J=e=>W(e,!0);function Z(e){let t=e.scrollDOM.clientHeightn.empty?e.moveVertically(n,t,r.height):j(n,t));if(o.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a=s.top+r.marginTop,c=s.bottom-r.marginBottom;t&&t.top>a&&t.bottomK(e,!1),Y=e=>K(e,!0);function Q(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=s.OF.cursor(r.from+n))}return i}function X(e,t){let n=B(e.state.selection,e=>{let n=t(e);return s.OF.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return!n.eq(e.state.selection)&&(e.dispatch(T(e.state,n)),!0)}function ee(e,t){return X(e,n=>e.moveByChar(n,t))}let et=e=>ee(e,!F(e)),en=e=>ee(e,F(e));function er(e,t){return X(e,n=>e.moveByGroup(n,t))}function ei(e,t){return X(e,n=>e.moveVertically(n,t))}let eo=e=>ei(e,!1),es=e=>ei(e,!0);function el(e,t){return X(e,n=>e.moveVertically(n,t,Z(e).height))}let ea=e=>el(e,!1),ec=e=>el(e,!0),eh=({state:e,dispatch:t})=>(t(T(e,{anchor:0})),!0),eu=({state:e,dispatch:t})=>(t(T(e,{anchor:e.doc.length})),!0),ef=({state:e,dispatch:t})=>(t(T(e,{anchor:e.selection.main.anchor,head:0})),!0),ed=({state:e,dispatch:t})=>(t(T(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ep(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let o=n.doc.lineAt(r.head);if(t?o.to0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.heado.to){i.some(e=>e.head==r.head)||i.push(r);break}if(r.head==n.head)break;n=r}}return i.length!=r.ranges.length&&(e.dispatch(T(n,s.OF.create(i,i.length-1))),!0)}function em(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:o}=r;if(i==o){let s=t(r);si&&(n="delete.forward",s=eg(e,s,!0)),i=Math.min(i,s),o=Math.max(o,s)}else i=eg(e,i,!1),o=eg(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:s.OF.cursor(i,it(e)))r.between(t,t,(e,r)=>{et&&(t=n?r:e)});return t}let ev=(e,t,n)=>em(e,r=>{let i=r.from,{state:o}=e,l=o.doc.lineAt(i),c,h;if(n&&!t&&i>l.from&&iev(e,!1,!0),eb=e=>ev(e,!0,!1),ew=(e,t)=>em(e,n=>{let r=n.head,{state:i}=e,o=i.doc.lineAt(r),l=i.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let a=(0,s.zK)(o.text,r-o.from,t)+o.from,c=o.text.slice(Math.min(r,a)-o.from,Math.max(r,a)-o.from),h=l(c);if(null!=e&&h!=e)break;(" "!=c||r!=n.head)&&(e=h),r=a}return r}),ex=e=>ew(e,!1);function ek(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(r.empty||r.to!=o.from||(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}function eA(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of ek(e)){if(n?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(n?t.to+1:t.from-1),l=o.length+1;if(n)for(let n of(r.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak}),t.ranges))i.push(s.OF.range(Math.min(e.doc.length,n.anchor+l),Math.min(e.doc.length,n.head+l)));else for(let n of(r.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text}),t.ranges))i.push(s.OF.range(n.anchor-l,n.head-l))}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:s.OF.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function eS(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of ek(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let eO=eM(!1),eC=eM(!0);function eM(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,o=t.doc.lineAt(r),l=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,a.mv)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),o;return r&&i&&r.to<=t&&i.from>=t&&(o=r.type.prop(c.uY.closedBy))&&o.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}(t,r);e&&(r=i=(i<=o.to?o:t.doc.lineAt(i)).to);let h=new a.KB(t,{simulateBreak:r,simulateDoubleBreak:!!l}),u=(0,a._v)(h,r);for(null==u&&(u=(0,s.y$)(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));io.from&&r{let i=[];for(let o=r.from;o<=r.to;){let s=e.doc.lineAt(o);s.number>n&&(r.empty||r.to>s.from)&&(t(s,i,r),n=s.number),o=s.to+1}let o=e.changes(i);return{changes:i,range:s.OF.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}let eE=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eI(e,(t,n)=>{n.push({from:t.from,insert:e.facet(a.Xt)})}),{userEvent:"input.indent"})),!0),eP=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eI(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=(0,s.y$)(r,e.tabSize),o=0,l=(0,a.EI)(e,Math.max(0,i-(0,a.tp)(e)));for(;oz(e,t=>s.OF.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>X(e,t=>s.OF.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>z(e,t=>s.OF.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>X(e,t=>s.OF.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:eb},{key:"Ctrl-h",run:ey},{key:"Ctrl-k",run:e=>em(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:s.EY.of(["",""])},range:s.OF.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:(0,s.zK)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,s.zK)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(i,n))},range:s.OF.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:Y}],eN=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>z(e,t=>U(e.state,t,!F(e))),shift:e=>X(e,t=>U(e.state,t,!F(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>z(e,t=>U(e.state,t,F(e))),shift:e=>X(e,t=>U(e.state,t,F(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>eA(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>eS(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>eA(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>eS(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>ep(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>ep(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=s.OF.create([n.main]):n.main.empty||(r=s.OF.create([s.OF.cursor(n.main.head)])),!!r&&(t(T(e,r)),!0)}},{key:"Mod-Enter",run:eC},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=ek(e).map(({from:t,to:n})=>s.OF.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:s.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=B(e.selection,t=>{let n=(0,a.mv)(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return s.OF.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(T(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eP},{key:"Mod-]",run:eE},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new a.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eI(e,(t,i,o)=>{let s=(0,a._v)(r,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);let l=/^\s*/.exec(t.text)[0],c=(0,a.EI)(e,s);(l!=c||o.from{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(ek(t).map(({from:e,to:n})=>(e>0?e--:n{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>(function(e,t,n){let r=!1,i=B(e.selection,t=>{let i=(0,a.jU)(e,t.head,-1)||(0,a.jU)(e,t.head,1)||t.head>0&&(0,a.jU)(e,t.head-1,1)||t.head{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=p(e.state,n.from);return r.line?u(e):!!r.block&&d(e)}},{key:"Alt-A",run:f},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:H,shift:et,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>$(e,!F(e)),shift:e=>er(e,!F(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>z(e,t=>Q(e,t,!F(e))),shift:e=>X(e,t=>Q(e,t,!F(e))),preventDefault:!0},{key:"ArrowRight",run:V,shift:en,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>$(e,F(e)),shift:e=>er(e,F(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>z(e,t=>Q(e,t,F(e))),shift:e=>X(e,t=>Q(e,t,F(e))),preventDefault:!0},{key:"ArrowUp",run:q,shift:eo,preventDefault:!0},{mac:"Cmd-ArrowUp",run:eh,shift:ef},{mac:"Ctrl-ArrowUp",run:G,shift:ea},{key:"ArrowDown",run:J,shift:es,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eu,shift:ed},{mac:"Ctrl-ArrowDown",run:Y,shift:ec},{key:"PageUp",run:G,shift:ea},{key:"PageDown",run:Y,shift:ec},{key:"Home",run:e=>z(e,t=>Q(e,t,!1)),shift:e=>X(e,t=>Q(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:eh,shift:ef},{key:"End",run:e=>z(e,t=>Q(e,t,!0)),shift:e=>X(e,t=>Q(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eu,shift:ed},{key:"Enter",run:eO,shift:eO},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:ey,shift:ey,preventDefault:!0},{key:"Delete",run:eb,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ex,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>ew(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>em(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>em(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head({mac:e.key,run:e.run,shift:e.shift})))),eD={key:"Tab",run:eE,shift:eP};var eR=n(48156);let eB="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class eT{constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(eB(e)):eB,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,s.vS)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,s.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,s.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n;;e++){let o=r.charCodeAt(e),s=this.match(o,i,this.bufferPos+this.bufferStart);if(e==r.length-1){if(s)return this.value=s,this;break}i==n&&ethis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=e$(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||r.to<=t){let r=new eH(t,e.sliceString(t,n));return eF.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=e$(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=eH.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function e$(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t=56320&&r<57344;)t++;return t}"undefined"!=typeof Symbol&&(e_.prototype[Symbol.iterator]=eV.prototype[Symbol.iterator]=function(){return this});let eU={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},eW=s.sj.define({combine:e=>(0,s.QR)(e,eU,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),eq=l.NZ.mark({class:"cm-selectionMatch"}),eJ=l.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function eZ(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=s.Je.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=s.Je.Word)}let eK=l.Z9.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(eW),{state:n}=e,r=n.selection;if(r.ranges.length>1)return l.NZ.none;let i=r.main,o,a=null;if(i.empty){if(!t.highlightWordAroundCursor)return l.NZ.none;let e=n.wordAt(i.head);if(!e)return l.NZ.none;a=n.charCategorizer(i.head),o=n.sliceDoc(e.from,e.to)}else{let e=i.to-i.from;if(e200)return l.NZ.none;if(t.wholeWords){var c,h,u;if(o=n.sliceDoc(i.from,i.to),!(eZ(a=n.charCategorizer(i.head),n,i.from,i.to)&&(c=a,h=i.from,u=i.to,c(n.sliceDoc(h,h+1))==s.Je.Word&&c(n.sliceDoc(u-1,u))==s.Je.Word)))return l.NZ.none}else if(!(o=n.sliceDoc(i.from,i.to)))return l.NZ.none}let f=[];for(let r of e.visibleRanges){let e=new eT(n.doc,o,r.from,r.to);for(;!e.next().done;){let{from:r,to:o}=e.value;if((!a||eZ(a,n,r,o))&&(i.empty&&r<=i.from&&o>=i.to?f.push(eJ.range(r,o)):(r>=i.to||o<=i.from)&&f.push(eq.range(r,o)),f.length>t.maxMatches))return l.NZ.none}}return l.NZ.set(f)}},{decorations:e=>e.decorations}),eG=l.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),eY=s.sj.define({combine:e=>(0,s.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new tg(e),scrollToMatch:e=>l.Lz.scrollIntoView(e)})});class eQ{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,ej),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new e6(this):new e1(this)}getCursor(e,t=0,n){let r=e.doc?e:s.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?e2(this,r,t,n):e0(this,r,t,n)}}class eX{constructor(e){this.spec=e}}function e0(e,t,n,r){var i,o,l,a;let c;return e.wholeWord&&(l=t.doc,a=t.charCategorizer(t.selection.main.head),c=(e,t,n,r)=>((r>e||r+n.length(!o||!!o(e,n,r,s))&&i(e>=s&&n<=s+r.length?r.slice(e-s,n-s):t.doc.sliceString(e,n),t,e,n)),new eT(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class e1 extends eX{constructor(e){super(e)}nextMatch(e,t,n){let r=e0(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=e0(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=e0(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),r&&(r.from!=t||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=e0(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=e0(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function e2(e,t,n,r){var i,o,l;let a;return e.wholeWord&&(l=t.charCategorizer(t.selection.main.head),a=(e,t,n)=>!n[0].length||(l(e3(n.input,n.index))!=s.Je.Word||l(e4(n.input,n.index))!=s.Je.Word)&&(l(e4(n.input,n.index+n[0].length))!=s.Je.Word||l(e3(n.input,n.index+n[0].length))!=s.Je.Word)),e.test&&(i=e.test,o=a,a=(e,n,r)=>(!o||o(e,n,r))&&i(r[0],t,e,n)),new e_(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:a},n,r)}function e3(e,t){return e.slice((0,s.zK)(e,t,!1),t)}function e4(e,t){return e.slice(t,(0,s.zK)(e,t))}class e6 extends eX{nextMatch(e,t,n){let r=e2(this.spec,e,n,e.doc.length).next();return r.done&&(r=e2(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),o=e2(this.spec,e,i,n),s=null;for(;!o.next().done;)s=o.value;if(s&&(i==t||s.from>i+10))return s;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=e2(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}let e8=s.Pe.define(),e5=s.Pe.define(),e7=s.sU.define({create:e=>new e9(th(e).create(),null),update(e,t){for(let n of t.effects)n.is(e8)?e=new e9(n.value.create(),e.panel):n.is(e5)&&(e=new e9(e.query,n.value?tc:null));return e},provide:e=>l.S7.from(e,e=>e.panel)});class e9{constructor(e,t){this.query=e,this.panel=t}}let te=l.NZ.mark({class:"cm-searchMatch"}),tt=l.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tn=l.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(e7))}update(e){let t=e.state.field(e7);(t!=e.startState.field(e7)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.NZ.none;let{view:n}=this,r=new s.vB;for(let t=0,i=n.visibleRanges,o=i.length;ti[t+1].from-500;)l=i[++t].to;e.highlight(n.state,s,l,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?tt:te)})}return r.finish()}},{decorations:e=>e.decorations});function tr(e){return t=>{let n=t.state.field(e7,!1);return n&&n.query.spec.valid?e(t,n):td(t)}}let ti=tr((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=s.OF.single(r.from,r.to),o=e.state.facet(eY);return e.dispatch({selection:i,effects:[tb(e,r),o.scrollToMatch(i.main,e)],userEvent:"select.search"}),tf(e),!0}),to=tr((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let o=s.OF.single(i.from,i.to),l=e.state.facet(eY);return e.dispatch({selection:o,effects:[tb(e,i),l.scrollToMatch(o.main,e)],userEvent:"select.search"}),tf(e),!0}),ts=tr((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:s.OF.create(n.map(e=>s.OF.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tl=tr((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=t.nextMatch(n,r,r);if(!o)return!1;let a=o,c=[],h,u,f=[];a.from==r&&a.to==i&&(u=n.toText(t.getReplacement(a)),c.push({from:a.from,to:a.to,insert:u}),a=t.nextMatch(n,a.from,a.to),f.push(l.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+".")));let d=e.state.changes(c);return a&&(h=s.OF.single(a.from,a.to).map(d),f.push(tb(e,a)),f.push(n.facet(eY).scrollToMatch(h.main,e))),e.dispatch({changes:d,selection:h,effects:f,userEvent:"input.replace"}),!0}),ta=tr((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:l.Lz.announce.of(r),userEvent:"input.replace.all"}),!0});function tc(e){return e.state.facet(eY).createPanel(e)}function th(e,t){var n,r,i,o,s;let l=e.selection.main,a=l.empty||l.to>l.from+100?"":e.sliceDoc(l.from,l.to);if(t&&!a)return t;let c=e.facet(eY);return new eQ({search:(null!=(n=null==t?void 0:t.literal)?n:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:c.caseSensitive,literal:null!=(i=null==t?void 0:t.literal)?i:c.literal,regexp:null!=(o=null==t?void 0:t.regexp)?o:c.regexp,wholeWord:null!=(s=null==t?void 0:t.wholeWord)?s:c.wholeWord})}function tu(e){let t=(0,l.ld)(e,tc);return t&&t.dom.querySelector("[main-field]")}function tf(e){let t=tu(e);t&&t==e.root.activeElement&&t.select()}let td=e=>{let t=e.state.field(e7,!1);if(t&&t.panel){let n=tu(e);if(n&&n!=e.root.activeElement){let r=th(e.state,t.query.spec);r.valid&&e.dispatch({effects:e8.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[e5.of(!0),t?e8.of(th(e.state,t.query.spec)):s.Pe.appendConfig.of(tx)]});return!0},tp=e=>{let t=e.state.field(e7,!1);if(!t||!t.panel)return!1;let n=(0,l.ld)(e,tc);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:e5.of(!1)}),!0},tm=[{key:"Mod-f",run:td,scope:"editor search-panel"},{key:"F3",run:ti,shift:to,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:ti,shift:to,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:tp,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],l=0;for(let t=new eT(e.doc,e.sliceDoc(r,i));!t.next().done;){if(o.length>1e3)return!1;t.value.from==r&&(l=o.length),o.push(s.OF.range(t.value.from,t.value.to))}return t(e.update({selection:s.OF.create(o,l),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:r,result:i}=(0,l.ui)(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return i.then(n=>{let i=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!i)return void e.dispatch({effects:r});let o=t.doc.lineAt(t.selection.main.head),[,a,c,h,u]=i,f=h?+h.slice(1):0,d=c?+c:o.number;if(c&&u){let e=d/100;a&&(e=e*("-"==a?-1:1)+o.number/t.doc.lines),d=Math.round(t.doc.lines*e)}else c&&a&&(d=d*("-"==a?-1:1)+o.number);let p=t.doc.line(Math.max(1,Math.min(t.doc.lines,d))),m=s.OF.cursor(p.from+Math.max(0,Math.min(f,p.length)));e.dispatch({effects:[r,l.Lz.scrollIntoView(m.from,{y:"center"})],selection:m})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=s.OF.create(n.ranges.map(t=>e.wordAt(t.head)||s.OF.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new eT(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new eT(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(o){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(s.OF.range(i.from,i.to),!1),effects:l.Lz.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class tg{constructor(e){this.view=e;let t=this.query=e.state.field(e7).query.spec;function n(e,t,n){return(0,eR.A)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,eR.A)("input",{value:t.search,placeholder:tv(e,"Find"),"aria-label":tv(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,eR.A)("input",{value:t.replace,placeholder:tv(e,"Replace"),"aria-label":tv(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,eR.A)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,eR.A)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,eR.A)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,eR.A)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>ti(e),[tv(e,"next")]),n("prev",()=>to(e),[tv(e,"previous")]),n("select",()=>ts(e),[tv(e,"all")]),(0,eR.A)("label",null,[this.caseField,tv(e,"match case")]),(0,eR.A)("label",null,[this.reField,tv(e,"regexp")]),(0,eR.A)("label",null,[this.wordField,tv(e,"by word")]),...e.state.readOnly?[]:[(0,eR.A)("br"),this.replaceField,n("replace",()=>tl(e),[tv(e,"replace")]),n("replaceAll",()=>ta(e),[tv(e,"replace all")])],(0,eR.A)("button",{name:"close",onclick:()=>tp(e),"aria-label":tv(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new eQ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:e8.of(e)}))}keydown(e){(0,l.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?to:ti)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tl(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(e8)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(eY).top}}function tv(e,t){return e.state.phrase(t)}let ty=/[\s\.,:;?!]/;function tb(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,o=Math.max(r.from,t-30),s=Math.min(i,n+30),a=e.state.sliceDoc(o,s);if(o!=r.from){for(let e=0;e<30;e++)if(!ty.test(a[e+1])&&ty.test(a[e])){a=a.slice(e);break}}if(s!=i){for(let e=a.length-1;e>a.length-30;e--)if(!ty.test(a[e-1])&&ty.test(a[e])){a=a.slice(0,e);break}}return l.Lz.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${r.number}.`)}let tw=l.Lz.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),tx=[e7,s.Nb.low(tn),tw];class tk{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,a.mv)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(tC(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function tA(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}class tS{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function tO(e){return e.selection.main.from}function tC(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let tM=s.YH.define(),tI=new WeakMap;function tE(e){if(!Array.isArray(e))return e;let t=tI.get(e);return t||tI.set(e,t=function(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}(e)),t}let tP=s.Pe.define(),tL=s.Pe.define();class tN{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(b=(0,s.MK)(c))!=b.toLowerCase()?1:2*(b!=b.toUpperCase());(!r||1==w&&g||0==y&&0!=w)&&(t[u]==c||n[u]==c&&(f=!0)?o[u++]=r:o.length&&(v=!1)),y=w,r+=(0,s.Fh)(c)}return u==a&&0==o[0]&&v?this.result(-100+(f?-200:0),o,e):d==a&&0==p?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):d==a?this.ret(-900-e.length,[p,m]):u==a?this.result(-100+(f?-200:0)+-700+(v?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?(0,s.Fh)((0,s.vS)(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}}class tD{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length(0,s.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:tT,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>tB(e(n),t(n)),optionClass:(e,t)=>n=>tB(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function tB(e,t){return e?t?e+" "+t:e:t}function tT(e,t,n,r,i,o){let s=e.textDirection==l.OP.RTL,a=s,c=!1,h="top",u,f,d=t.left-i.left,p=i.right-t.right,m=r.right-r.left,g=r.bottom-r.top;if(a&&d=g||e>t.top?u=n.bottom-t.top:(h="bottom",u=t.bottom-n.top)}let v=(t.bottom-t.top)/o.offsetHeight,y=(t.right-t.left)/o.offsetWidth;return{style:`${h}: ${u/v}px; max-width: ${f/y}px`,class:"cm-completionInfo-"+(c?s?"left-narrow":"right-narrow":a?"left":"right")}}function tz(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class tj{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:i,selected:o}=r.open,s=e.state.facet(tR);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement("span");i.className="cm-completionLabel";let o=e.displayLabel||e.label,s=0;for(let e=0;es&&i.appendChild(document.createTextNode(o.slice(s,t)));let l=i.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(o.slice(t,n))),l.className="cm-completionMatchedText",s=n}return se.position-t.position).map(e=>e.render)}(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=tz(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(i=/-(\d+)$/.exec(t.id))&&+i[1]{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(tR).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:tL.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:o,disabled:s}=n.open;r.open&&r.open.options==i||(this.range=tz(i.length,o,e.state.facet(tR).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),s!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected=this.range.to)&&(this.range=tz(t.options.length,t.selected,this.view.state.facet(tR).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:i}=r;if(!i)return;let o="string"==typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,l.c_)(this.view.state,e,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let r,i,o,s=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),s=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return s&&(t=this.list,n=s,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height/t.offsetHeight,i.topr.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/o)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom{e.target==r&&e.preventDefault()});let i=null;for(let o=n.from;on.from||0==n.from)&&(i=e,"string"!=typeof a&&a.header?r.appendChild(a.header(a)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let h=this.optionClass(s);for(let e of(h&&(c.className=h),this.optionContent)){let t=e(s,this.view.state,this.view,l);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to=this.options.length?this:new tF(this.options,tU(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let s=function(e,t){let n=[],r=null,i=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},s=t.facet(tR);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new tS(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),l,a=s.filterStrict?new tD(n):new tN(n);for(let t of r.result.options)if(l=a.match(t.label)){let n=t.displayLabel?e?e(t,l.matched):[]:l.matched,s=l.score+(t.boost||0);if(o(new tS(t,r.source,n,s)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(s,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.namet.score-e.score||c(e.completion,t.completion))){let t=e.completion;a&&a.label==t.label&&a.detail==t.detail&&(null==a.type||null==t.type||a.type==t.type)&&a.apply==t.apply&&a.boost==t.boost?t_(e.completion)>t_(a)&&(l[l.length-1]=e):l.push(e),a=e.completion}return l}(e,t);if(!s.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let l=t.facet(tR).selectOnOpen?0:-1;if(r&&r.selected!=l&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;tt.hasResult()?Math.min(e,t.from):e,1e8),create:tX,above:i.aboveCursor},r?r.timestamp:Date.now(),l,!1)}map(e){return new tF(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new tF(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class tH{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new tH(tW,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(tR),r=(n.override||t.languageDataAt("autocomplete",tO(t)).map(tE)).map(t=>(this.active.find(e=>e.source==t)||new tJ(t,+!!this.active.some(e=>0!=e.state))).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,o=e.effects.some(e=>e.is(tK));for(let s of(i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;ne.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new tJ(e.source,0):e)),e.effects))s.is(tG)&&(i=i&&i.setSelected(s.value,this.id));return r==this.active&&i==this.open?this:new tH(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?tV:t$}}let tV={"aria-autocomplete":"list"},t$={};function tU(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let tW=[];function tq(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(tM);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class tJ{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=tq(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new tJ(r.source,0)),4&n&&0==r.state&&(r=new tJ(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(tP))r=new tJ(r.source,1,t.value);else if(t.is(tL))r=new tJ(r.source,0);else if(t.is(tK))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(tO(e.state))}}class tZ extends tJ{constructor(e,t,n,r,i,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=tO(e.state);if(s>o||!r||2&t&&(tO(e.startState)==this.from||se.map(e=>e.map(t))}),tG=s.Pe.define(),tY=s.sU.define({create:()=>tH.start(),update:(e,t)=>e.update(t),provide:e=>[l.DK.from(e,e=>e.tooltip),l.Lz.contentAttributes.from(e,e=>e.attrs)]});function tQ(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(tY).active.find(e=>e.source==t.source);return r instanceof tZ&&("string"==typeof n?e.dispatch({...function(e,t,n,r){let{main:i}=e.selection,o=n-i.from,l=r-i.from;return{...e.changeByRange(a=>{if(a!=i&&n!=r&&e.sliceDoc(a.from+o,a.from+l)!=e.sliceDoc(n,r))return{range:a};let c=e.toText(t);return{changes:{from:a.from+o,to:r==i.from?a.to:a.from+l,insert:c},range:s.OF.cursor(a.from+o+c.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,r.from,r.to),annotations:tM.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}let tX=e=>new tj(e,tY,tQ);function t0(e,t="option"){return n=>{let r=n.state.field(tY,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(e?1:-1):e?0:s-1;return a<0?a="page"==t?0:s-1:a>=s&&(a="page"==t?s-1:0),n.dispatch({effects:tG.of(a)}),!0}}let t1=e=>!!e.state.field(tY,!1)&&(e.dispatch({effects:tP.of(!0)}),!0);class t2{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let t3=l.Z9.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(tY).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(tY),n=e.state.facet(tR);if(!e.selectionSet&&!e.docChanged&&e.startState.field(tY)==t)return;let r=e.transactions.some(e=>{let t=tq(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,l.c_)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(tP)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(tY);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(tR).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=tO(t),r=new tk(t,n,e.explicit,this.view),i=new t2(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:tL.of(null)}),(0,l.c_)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(tR).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(tR),r=this.view.state.field(tY);for(let i=0;ie.source==o.active.source);if(s&&s.isPending)if(null==o.done){let e=new tJ(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(s)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:tK.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(tY,!1);if(t&&t.tooltip&&this.view.state.facet(tR).closeOnBlur){let n=t.open&&(0,l.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:tL.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:tP.of(!1)}),20),this.composing=0}}}),t4="object"==typeof navigator&&/Win/.test(navigator.platform),t6=s.Nb.highest(l.Lz.domEventHandlers({keydown(e,t){let n=t.state.field(tY,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(t4&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&tQ(t,r),!1}})),t8=l.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),t5=l.NZ.widget({widget:new class extends l.xO{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),t7=l.NZ.mark({class:"cm-snippetField"});class t9{constructor(e,t){this.ranges=e,this.active=t,this.deco=l.NZ.set(e.map(e=>(e.from==e.to?t5:t7).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new t9(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let ne=s.Pe.define({map:(e,t)=>e&&e.map(t)}),nt=s.Pe.define(),nn=s.sU.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(ne))return n.value;if(n.is(nt)&&e)return new t9(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>l.Lz.decorations.from(e,e=>e?e.deco:l.NZ.none)});function nr(e){return({state:t,dispatch:n})=>{var r;let i=t.field(nn,!1);if(!i||e<0&&0==i.active)return!1;let o=i.active+e,l=e>0&&!i.ranges.some(t=>t.field==o+e);return n(t.update({selection:(r=i.ranges,s.OF.create(r.filter(e=>e.field==o).map(e=>s.OF.range(e.from,e.to)))),effects:ne.of(l?null:new t9(i.ranges,o)),scrollIntoView:!0})),!0}}let ni=[{key:"Tab",run:nr(1),shift:nr(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(nn,!1)&&(t(e.update({effects:ne.of(null)})),!0)}],no={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ns=s.Pe.define({map(e,t){let n=t.mapPos(e,-1,s.iR.TrackAfter);return null==n?void 0:n}}),nl=new class extends s.FB{};nl.startSide=1,nl.endSide=-1;let na=s.sU.define({create:()=>s.om.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(ns)&&(e=e.update({add:[nl.range(n.value,n.value+1)]}));return e}}),nc="()[]{}<>\xab\xbb\xbb\xab[]{}";function nh(e){for(let t=0;t{if((nf?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,s.Fh)((0,s.vS)(r,0))||t!=i.from||n!=i.to)return!1;let o=function(e,t){let n=nu(e,e.selection.main.head),r=n.brackets||no.brackets;for(let i of r){let o=nh((0,s.vS)(i,0));if(t==i)return o==i?function(e,t,n,r){let i=r.stringPrefixes||no.stringPrefixes,o=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ns.of(r.to+t.length),range:s.OF.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=ng(e.doc,l),h;if(c==t){if(nv(e,l))return{changes:{insert:t+t,from:l},effects:ns.of(l+t.length),range:s.OF.cursor(l+t.length)};else if(nm(e,l)){let r=n&&e.sliceDoc(l,l+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+r.length,insert:r},range:s.OF.cursor(l+r.length)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(h=ny(e,l-2*t.length,i))>-1&&nv(e,h))return{changes:{insert:t+t+t+t,from:l},effects:ns.of(l+t.length),range:s.OF.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=s.Je.Word&&ny(e,l,i)>-1&&!function(e,t,n,r){let i=(0,a.mv)(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.max(e,t.length),0);for(let s=0;s<5;s++){let s=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+l;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let a=i.to==t&&i.parent;if(!a)break;i=a}return!1}(e,l,t,i))return{changes:{insert:t+t,from:l},effects:ns.of(l+t.length),range:s.OF.cursor(l+t.length)};return{range:o=r}});return o?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,r.indexOf(i+i+i)>-1,n):function(e,t,n,r){let i=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ns.of(o.to+t.length),range:s.OF.range(o.anchor+t.length,o.head+t.length)};let l=ng(e.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:t+n,from:o.head},effects:ns.of(o.head+t.length),range:s.OF.cursor(o.head+t.length)}:{range:i=o}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,o,n.before||no.before);if(t==o&&nm(e,e.selection.main.from))return function(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&ng(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:s.OF.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),np=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=nu(e,e.selection.main.head).brackets||no.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return(0,s.Fh)((0,s.vS)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&ng(e.doc,t.head)==nh((0,s.vS)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:s.OF.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function nm(e,t){let n=!1;return e.field(na).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ng(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,s.Fh)((0,s.vS)(n,0)))}function nv(e,t){let n=(0,a.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function ny(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=s.Je.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=s.Je.Word)return n}return -1}let nb=[{key:"Ctrl-Space",run:t1},{mac:"Alt-`",run:t1},{mac:"Alt-i",run:t1},{key:"Escape",run:e=>{let t=e.state.field(tY,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:tL.of(null)}),!0)}},{key:"ArrowDown",run:t0(!0)},{key:"ArrowUp",run:t0(!1)},{key:"PageDown",run:t0(!0,"page")},{key:"PageUp",run:t0(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(tY,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.facet(tR).defaultKeymap?[nb]:[]));class nx{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nk{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(nD).markerFilter;r&&(e=r(e,n));let i=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),o=new s.vB,a=[],c=0,h=n.doc.iter(),u=0,f=n.doc.length;for(let e=0;;){let t,n,r=e==i.length?null:i[e];if(!r&&!a.length)break;if(a.length)t=c,n=a.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if((t=r.from)>f)break;n=r.to,a.push(r),e++}for(;er.from||r.to==t))a.push(r),e++,n=Math.min(r.to,n);else{n=Math.min(r.from,n);break}}n=Math.min(n,f);let s=!1;if(a.some(e=>e.from==t&&(e.to==n||n==f))&&!(s=t==n)&&n-t<10){let e=t-(u+h.value.length);e>0&&(h.next(e),u=t);for(let e=t;;){if(e>=n){s=!0;break}if(!h.lineBreak&&u+h.value.length>e)break;e=u+h.value.length,u+=h.value.length,h.next()}}let d=nV(a);if(s)o.add(t,t,l.NZ.widget({widget:new nz(d),diagnostics:a.slice()}));else{let e=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");o.add(t,n,l.NZ.mark({class:"cm-lintRange cm-lintRange-"+d+e,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>n)}))}if((c=n)==f)break;for(let e=0;e{if(!(t&&0>i.diagnostics.indexOf(t)))if(r){if(0>i.diagnostics.indexOf(r.diagnostic))return!1;r=new nx(r.from,n,r.diagnostic)}else r=new nx(e,n,t||i.diagnostics[0])}),r}function nS(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(nD).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(nO))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}let nO=s.Pe.define(),nC=s.Pe.define(),nM=s.Pe.define(),nI=s.sU.define({create:()=>new nk(l.NZ.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=nA(n,e.selected.diagnostic,i)||nA(n,null,i)}!n.size&&i&&t.state.facet(nD).autoPanel&&(i=null),e=new nk(n,i,r)}for(let n of t.effects)if(n.is(nO)){let r=t.state.facet(nD).autoPanel?n.value.length?n_.open:null:e.panel;e=nk.init(n.value,r,t.state)}else n.is(nC)?e=new nk(e.diagnostics,n.value?n_.open:null,e.selected):n.is(nM)&&(e=new nk(e.diagnostics,e.panel,n.value));return e},provide:e=>[l.S7.from(e,e=>e.panel),l.Lz.decorations.from(e,e=>e.diagnostics)]}),nE=l.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function nP(e,t){return(0,eR.A)("ul",{class:"cm-tooltip-lint"},t.map(t=>nT(e,t,!1)))}let nL=e=>{let t=e.state.field(nI,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nC.of(!1)}),!0)},nN=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(nI,!1);t&&t.panel||e.dispatch({effects:function(e,t){return e.field(nI,!1)?t:t.concat(s.Pe.appendConfig.of(nW))}(e.state,[nC.of(!0)])});let n=(0,l.ld)(e,n_.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(nI,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return(!!r.value||!!(r=t.diagnostics.iter(0)).value&&(r.from!=n.from||r.to!=n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],nD=s.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,s.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:nR,tooltipFilter:nR,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function nR(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function nB(e){let t=[];if(e)n:for(let{name:n}of e){for(let e=0;ee.toLowerCase()==r.toLowerCase())){t.push(r);continue n}}t.push("")}return t}function nT(e,t,n){var r;let i=n?nB(t.actions):[];return(0,eR.A)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,eR.A)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let o=!1,s=r=>{if(r.preventDefault(),o)return;o=!0;let i=nA(e.state.field(nI).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:l}=n,a=i[r]?l.indexOf(i[r]):-1,c=a<0?l:[l.slice(0,a),(0,eR.A)("u",l.slice(a,a+1)),l.slice(a+1)],h=n.markClass?" "+n.markClass:"";return(0,eR.A)("button",{type:"button",class:"cm-diagnosticAction"+h,onclick:s,onmousedown:s,"aria-label":` Action: ${l}${a<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&(0,eR.A)("div",{class:"cm-diagnosticSource"},t.source))}class nz extends l.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,eR.A)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class nj{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=nT(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class n_{constructor(e){this.view=e,this.items=[],this.list=(0,eR.A)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)nL(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],r=nB(n.actions);for(let i=0;i{for(let t=0;tnL(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nI).selected;if(!e)return -1;for(let t=0;t{for(let e of l.diagnostics){if(o.has(e))continue;o.add(e);let s=-1,l;for(let t=n;tn&&(this.items.splice(n,s-n),r=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),i=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++}});n({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.topt.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=nA(this.view.state.field(nI).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nM.of(t)})}static open(e){return new n_(e)}}function nF(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let nH=l.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nF("#d11")},".cm-lintRange-warning":{backgroundImage:nF("orange")},".cm-lintRange-info":{backgroundImage:nF("#999")},".cm-lintRange-hint":{backgroundImage:nF("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function nV(e){let t="hint",n=1;for(let i of e){var r;let e="error"==(r=i.severity)?4:"warning"==r?3:"info"==r?2:1;e>n&&(n=e,t=i.severity)}return t}l.wJ;let n$=s.Pe.define(),nU=s.sU.define({create:()=>null,update:(e,t)=>(e&&t.docChanged&&(e=nS(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(n$)?t.value:e,e)),provide:e=>l.DK.from(e)}),nW=[nI,l.Lz.decorations.compute([nI],e=>{let{selected:t,panel:n}=e.field(nI);return t&&n&&t.from!=t.to?l.NZ.set([nE.range(t.from,t.to)]):l.NZ.none}),(0,l.Ux)(function(e,t,n){let{diagnostics:r}=e.state.field(nI),i,o=-1,s=-1;r.between(t-(n<0),t+ +(n>0),(e,r,{spec:l})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t({dom:nP(e,i)})}:null},{hideOn:nS}),nH],nq=s.sj.define({combine:e=>(0,s.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})});var nJ=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(np)),!1!==e.defaultKeymap&&(n=n.concat(eN)),!1!==e.searchKeymap&&(n=n.concat(tm)),!1!==e.historyKeymap&&(n=n.concat(R)),!1!==e.foldKeymap&&(n=n.concat(a.f7)),!1!==e.completionKeymap&&(n=n.concat(nb)),!1!==e.lintKeymap&&(n=n.concat(nN));var r=[];return!1!==e.lineNumbers&&r.push((0,l.$K)()),!1!==e.highlightActiveLineGutter&&r.push((0,l.Wu)()),!1!==e.highlightSpecialChars&&r.push((0,l.N$)()),!1!==e.history&&r.push(function(e={}){return[w,b.of(e),l.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?k:"historyRedo"==e.inputType?A:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&r.push((0,a.Lv)()),!1!==e.drawSelection&&r.push((0,l.VH)()),!1!==e.dropCursor&&r.push((0,l.A)()),!1!==e.allowMultipleSelections&&r.push(s.$t.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&r.push((0,a.WD)()),!1!==e.syntaxHighlighting&&r.push((0,a.y9)(a.Zt,{fallback:!0})),!1!==e.bracketMatching&&r.push((0,a.SG)()),!1!==e.closeBrackets&&r.push([nd,na]),!1!==e.autocompletion&&r.push(function(e={}){return[t6,tY,tR.of(e),t3,nw,t8]}()),!1!==e.rectangularSelection&&r.push((0,l.D4)()),!1!==t&&r.push((0,l.HJ)()),!1!==e.highlightActiveLine&&r.push((0,l.dz)()),!1!==e.highlightSelectionMatches&&r.push([eG,eK]),e.tabSize&&"number"==typeof e.tabSize&&r.push(a.Xt.of(" ".repeat(e.tabSize))),r.concat([l.w4.of(n.flat())]).filter(Boolean)},nZ=n(78520);let nK="#e06c75",nG="#abb2bf",nY="#7d8799",nQ="#d19a66",nX="#2c313a",n0="#282c34",n1="#353a42",n2="#528bff",n3=l.Lz.theme({"&":{color:nG,backgroundColor:n0},".cm-content":{caretColor:n2},".cm-cursor, .cm-dropCursor":{borderLeftColor:n2},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nG},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:n0,color:nY,border:"none"},".cm-activeLineGutter":{backgroundColor:nX},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n1},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n1,borderBottomColor:n1},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nX,color:nG}}},{dark:!0}),n4=a.cr.define([{tag:nZ._A.keyword,color:"#c678dd"},{tag:[nZ._A.name,nZ._A.deleted,nZ._A.character,nZ._A.propertyName,nZ._A.macroName],color:nK},{tag:[nZ._A.function(nZ._A.variableName),nZ._A.labelName],color:"#61afef"},{tag:[nZ._A.color,nZ._A.constant(nZ._A.name),nZ._A.standard(nZ._A.name)],color:nQ},{tag:[nZ._A.definition(nZ._A.name),nZ._A.separator],color:nG},{tag:[nZ._A.typeName,nZ._A.className,nZ._A.number,nZ._A.changed,nZ._A.annotation,nZ._A.modifier,nZ._A.self,nZ._A.namespace],color:"#e5c07b"},{tag:[nZ._A.operator,nZ._A.operatorKeyword,nZ._A.url,nZ._A.escape,nZ._A.regexp,nZ._A.link,nZ._A.special(nZ._A.string)],color:"#56b6c2"},{tag:[nZ._A.meta,nZ._A.comment],color:nY},{tag:nZ._A.strong,fontWeight:"bold"},{tag:nZ._A.emphasis,fontStyle:"italic"},{tag:nZ._A.strikethrough,textDecoration:"line-through"},{tag:nZ._A.link,color:nY,textDecoration:"underline"},{tag:nZ._A.heading,fontWeight:"bold",color:nK},{tag:[nZ._A.atom,nZ._A.bool,nZ._A.special(nZ._A.variableName)],color:nQ},{tag:[nZ._A.processingInstruction,nZ._A.string,nZ._A.inserted],color:"#98c379"},{tag:nZ._A.invalid,color:"#ffffff"}]),n6=[n3,(0,a.y9)(n4)];var n8=l.Lz.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),n5=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:r=!1,theme:i="light",placeholder:o="",basicSetup:a=!0}=e,c=[];switch(t&&c.unshift(l.w4.of([eD])),a&&("boolean"==typeof a?c.unshift(nJ()):c.unshift(nJ(a))),o&&c.unshift((0,l.qf)(o)),i){case"light":c.push(n8);break;case"dark":c.push(n6);break;case"none":break;default:c.push(i)}return!1===n&&c.push(l.Lz.editable.of(!1)),r&&c.push(s.$t.readOnly.of(!0)),[...c]};class n7{constructor(e,t){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=t,this.timeoutMS=t,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(e=>{try{e()}catch(e){console.error("TimeoutLatch callback error:",e)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class n9{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var re=null,rt=s.YH.define(),rn=[],rr=n(95155),ri=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],ro=(0,o.forwardRef)((e,t)=>{var{className:n,value:a="",selection:c,extensions:h=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:v,minHeight:y,maxHeight:b,width:w,minWidth:x,maxWidth:k,basicSetup:A,placeholder:S,indentWithTab:O,editable:C,readOnly:M,root:I,initialState:E}=e,P=(0,i.A)(e,ri),L=(0,o.useRef)(null),{state:N,view:D,container:R,setContainer:B}=function(e){var{value:t,selection:n,onChange:r,onStatistics:i,onCreateEditor:a,onUpdate:c,extensions:h=rn,autoFocus:u,theme:f="light",height:d=null,minHeight:p=null,maxHeight:m=null,width:g=null,minWidth:v=null,maxWidth:y=null,placeholder:b="",editable:w=!0,readOnly:x=!1,indentWithTab:k=!0,basicSetup:A=!0,root:S,initialState:O}=e,[C,M]=(0,o.useState)(),[I,E]=(0,o.useState)(),[P,L]=(0,o.useState)(),N=(0,o.useState)(()=>({current:null}))[0],D=(0,o.useState)(()=>({current:null}))[0],R=l.Lz.theme({"&":{height:d,minHeight:p,maxHeight:m,width:g,minWidth:v,maxWidth:y},"& .cm-scroller":{height:"100% !important"}}),B=[l.Lz.updateListener.of(e=>{e.docChanged&&"function"==typeof r&&!e.transactions.some(e=>e.annotation(rt))&&(N.current?N.current.reset():(N.current=new n7(()=>{if(D.current){var e=D.current;D.current=null,e()}N.current=null},200),("undefined"==typeof window?new n9:(!re&&(re=new n9),re)).add(N.current)),r(e.state.doc.toString(),e)),i&&i({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)})}),R,...n5({theme:f,editable:w,readOnly:x,placeholder:b,indentWithTab:k,basicSetup:A})];return c&&"function"==typeof c&&B.push(l.Lz.updateListener.of(c)),B=B.concat(h),(0,o.useLayoutEffect)(()=>{if(C&&!P){var e={doc:t,selection:n,extensions:B},r=O?s.$t.fromJSON(O.json,e,O.fields):s.$t.create(e);if(L(r),!I){var i=new l.Lz({state:r,parent:C,root:S});E(i),a&&a(i,r)}}return()=>{I&&(L(void 0),E(void 0))}},[C,P]),(0,o.useEffect)(()=>{e.container&&M(e.container)},[e.container]),(0,o.useEffect)(()=>()=>{I&&(I.destroy(),E(void 0)),N.current&&(N.current.cancel(),N.current=null)},[I]),(0,o.useEffect)(()=>{u&&I&&I.focus()},[u,I]),(0,o.useEffect)(()=>{I&&I.dispatch({effects:s.Pe.reconfigure.of(B)})},[f,h,d,p,m,g,v,y,b,w,x,k,A,r,c]),(0,o.useEffect)(()=>{if(void 0!==t){var e=I?I.state.doc.toString():"";if(I&&t!==e){var n=N.current&&!N.current.isDone,r=()=>{I&&t!==I.state.doc.toString()&&I.dispatch({changes:{from:0,to:I.state.doc.toString().length,insert:t||""},annotations:[rt.of(!0)]})};n?D.current=r:r()}}},[t,I]),{state:P,setState:L,view:I,setView:E,container:C,setContainer:M}}({root:I,value:a,autoFocus:m,theme:g,height:v,minHeight:y,maxHeight:b,width:w,minWidth:x,maxWidth:k,basicSetup:A,placeholder:S,indentWithTab:O,editable:C,readOnly:M,selection:c,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:h,initialState:E});(0,o.useImperativeHandle)(t,()=>({editor:L.current,state:N,view:D}),[L,R,N,D]);var T=(0,o.useCallback)(e=>{L.current=e,B(e)},[B]);if("string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);var z="string"==typeof g?"cm-theme-"+g:"cm-theme";return(0,rr.jsx)("div",(0,r.A)({ref:T,className:""+z+(n?" "+n:"")},P))});ro.displayName="CodeMirror";let rs=ro},75121:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},78520:(e,t,n)=>{"use strict";n.d(t,{DM:()=>f,_A:()=>E,az:()=>u,pn:()=>a});var r=n(56875);let i=0;class o{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof o&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new o("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new l(e);return e=>e.modified.indexOf(t)>-1?e:l.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let s=0;class l{constructor(e){this.name=e,this.instances=[],this.id=s++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var r,i;return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every((e,t)=>e==i[t]))});if(n)return n;let r=[],i=new o(e.name,r,e,t);for(let e of t)e.instances.push(i);let s=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of s)r.push(l.get(t,e));return i}}function a(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],i=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let s=e[t++];if(t==e.length&&"!"==s){i=0;break}if("/"!=s)throw RangeError("Invalid path: "+e);o=e.slice(t)}let s=n.length-1,l=n[s];if(!l)throw RangeError("Invalid path: "+e);let a=new h(r,i,s>0?n.slice(0,s):null);t[l]=a.sort(t[l])}}return c.add(t)}let c=new r.uY({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let o=new h(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});class h{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function f(e,t,n,r=0,i=e.length){let o=new d(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}h.empty=new h([],2,null);class d{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,o){let{type:s,from:l,to:a}=e;if(l>=n||a<=t)return;s.isTop&&(o=this.highlighters.filter(e=>!e.scope||e.scope(s)));let u=i,f=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,d=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(o,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(i+=(i?" ":"")+d)),this.startSpan(Math.max(t,l),u),f.opaque)return;let p=e.tree&&e.tree.prop(r.uY.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+l,1),s=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),c=e.firstChild();for(let h=0,f=l;;h++){let d=h=m)&&e.nextSibling()););if(!d||m>n)break;(f=d.to+l)>t&&(this.highlightRange(r.cursor(),Math.max(t,d.from+l),Math.min(n,f),"",s),this.startSpan(Math.min(n,f),u))}c&&e.parent()}else if(e.firstChild()){p&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}let p=o.define,m=p(),g=p(),v=p(g),y=p(g),b=p(),w=p(b),x=p(b),k=p(),A=p(k),S=p(),O=p(),C=p(),M=p(C),I=p(),E={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:v,tagName:p(v),propertyName:y,attributeName:p(y),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:b,string:w,docString:p(w),character:p(w),attributeValue:p(w),number:x,integer:p(x),float:p(x),bool:p(b),regexp:p(b),escape:p(b),color:p(b),url:p(b),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:O,derefOperator:p(O),arithmeticOperator:p(O),logicOperator:p(O),bitwiseOperator:p(O),compareOperator:p(O),updateOperator:p(O),definitionOperator:p(O),typeOperator:p(O),controlOperator:p(O),punctuation:C,separator:p(C),bracket:M,angleBracket:p(M),squareBracket:p(M),paren:p(M),brace:p(M),content:k,heading:A,heading1:p(A),heading2:p(A),heading3:p(A),heading4:p(A),heading5:p(A),heading6:p(A),contentSeparator:p(k),list:p(k),quote:p(k),emphasis:p(k),strong:p(k),link:p(k),monospace:p(k),strikethrough:p(k),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:I,documentMeta:p(I),annotation:p(I),processingInstruction:p(I),definition:o.defineModifier("definition"),constant:o.defineModifier("constant"),function:o.defineModifier("function"),standard:o.defineModifier("standard"),local:o.defineModifier("local"),special:o.defineModifier("special")};for(let e in E){let t=E[e];t instanceof o&&(t.name=e)}u([{tag:E.link,class:"tok-link"},{tag:E.heading,class:"tok-heading"},{tag:E.emphasis,class:"tok-emphasis"},{tag:E.strong,class:"tok-strong"},{tag:E.keyword,class:"tok-keyword"},{tag:E.atom,class:"tok-atom"},{tag:E.bool,class:"tok-bool"},{tag:E.url,class:"tok-url"},{tag:E.labelName,class:"tok-labelName"},{tag:E.inserted,class:"tok-inserted"},{tag:E.deleted,class:"tok-deleted"},{tag:E.literal,class:"tok-literal"},{tag:E.string,class:"tok-string"},{tag:E.number,class:"tok-number"},{tag:[E.regexp,E.escape,E.special(E.string)],class:"tok-string2"},{tag:E.variableName,class:"tok-variableName"},{tag:E.local(E.variableName),class:"tok-variableName tok-local"},{tag:E.definition(E.variableName),class:"tok-variableName tok-definition"},{tag:E.special(E.variableName),class:"tok-variableName2"},{tag:E.definition(E.propertyName),class:"tok-propertyName tok-definition"},{tag:E.typeName,class:"tok-typeName"},{tag:E.namespace,class:"tok-namespace"},{tag:E.className,class:"tok-className"},{tag:E.macroName,class:"tok-macroName"},{tag:E.propertyName,class:"tok-propertyName"},{tag:E.operator,class:"tok-operator"},{tag:E.comment,class:"tok-comment"},{tag:E.meta,class:"tok-meta"},{tag:E.invalid,class:"tok-invalid"},{tag:E.punctuation,class:"tok-punctuation"}])},81064:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},85875:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115),i=n(24054),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},86253:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(85757),i=n(12115),o=n(29300),s=n.n(o),l=n(17980),a=n(15982),c=n(9800),h=n(63715),u=n(98690),f=n(69793),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 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};function p(e){let{suffixCls:t,tagName:n,displayName:r}=e;return e=>i.forwardRef((r,o)=>i.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:n},r)))}let m=i.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:o,tagName:l}=e,c=d(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:h}=i.useContext(a.QO),u=h("layout",n),[p,m,g]=(0,f.Ay)(u),v=r?"".concat(u,"-").concat(r):u;return p(i.createElement(l,Object.assign({className:s()(n||v,o,m,g),ref:t},c)))}),g=i.forwardRef((e,t)=>{let{direction:n}=i.useContext(a.QO),[o,p]=i.useState([]),{prefixCls:m,className:g,rootClassName:v,children:y,hasSider:b,tagName:w,style:x}=e,k=d(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,l.A)(k,["suffixCls"]),{getPrefixCls:S,className:O,style:C}=(0,a.TP)("layout"),M=S("layout",m),I=function(e,t,n){return"boolean"==typeof n?n:!!e.length||(0,h.A)(t).some(e=>e.type===u.A)}(o,y,b),[E,P,L]=(0,f.Ay)(M),N=s()(M,{["".concat(M,"-has-sider")]:I,["".concat(M,"-rtl")]:"rtl"===n},O,g,v,P,L),D=i.useMemo(()=>({siderHook:{addSider:e=>{p(t=>[].concat((0,r.A)(t),[e]))},removeSider:e=>{p(t=>t.filter(t=>t!==e))}}}),[]);return E(i.createElement(c.M.Provider,{value:D},i.createElement(w,Object.assign({ref:t,className:N,style:Object.assign(Object.assign({},C),x)},A),y)))}),v=p({tagName:"div",displayName:"Layout"})(g),y=p({suffixCls:"header",tagName:"header",displayName:"Header"})(m),b=p({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),w=p({suffixCls:"content",tagName:"main",displayName:"Content"})(m);v.Header=y,v.Footer=b,v.Content=w,v.Sider=u.A,v._InternalSiderContext=u.P;let x=v},91573:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},92197:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},95069:(e,t,n)=>{"use strict";async function r(e,t){let n,r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function i(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{o:()=>s,y:()=>a});var 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 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 s="text/event-stream",l="last-event-id";function a(e,t){var{signal:n,headers:a,onopen:h,onmessage:u,onclose:f,onerror:d,openWhenHidden:p,fetch:m}=t,g=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let v,y=Object.assign({},a);function b(){v.abort(),document.hidden||O()}y.accept||(y.accept=s),p||document.addEventListener("visibilitychange",b);let w=1e3,x=0;function k(){document.removeEventListener("visibilitychange",b),window.clearTimeout(x),v.abort()}null==n||n.addEventListener("abort",()=>{k(),t()});let A=null!=m?m:window.fetch,S=null!=h?h:c;async function O(){var n,s;v=new AbortController;try{let n,o,a,c,h=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:v.signal}));await S(h),await r(h.body,(s=function(e,t,n){let r=i(),o=new TextDecoder;return function(s,l){if(0===s.length)null==n||n(r),r=i();else if(l>0){let n=o.decode(s.subarray(0,l)),i=l+(32===s[l+1]?2:1),a=o.decode(s.subarray(i));switch(n){case"data":r.data=r.data?r.data+"\n"+a:a;break;case"event":r.event=a;break;case"id":e(r.id=a);break;case"retry":let c=parseInt(a,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[l]=e:delete y[l]},e=>{w=e},u),c=!1,function(e){void 0===n?(n=e,o=0,a=-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,r=0;for(;o{"use strict";n.d(t,{G:()=>s});let r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class s{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,i,o,s){let l=[],a=/^@(\w+)\b/.exec(t[0]),c=a&&"keyframes"==a[1];if(a&&null==i)return o.push(t[0]+";");for(let n in i){let s=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),s,o);else if(s&&"object"==typeof s){if(!a)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),s,l,c)}else null!=s&&l.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+s+";")}(l.length||c)&&o.push((n&&!a&&!s?t.map(n):t).join(", ")+" {"+l.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new a(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let l=new Map;class a{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=l.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,l.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t-1&&(this.modules.splice(s,1),i--,s=-1),-1==s){if(this.modules.splice(i++,0,o),n)for(let e=0;et.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(32110),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},3711:(e,t,n)=>{var r=n(18028),i=n(65836);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},8365:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},10390:(e,t,n)=>{"use strict";n.d(t,{BN:()=>i,E3:()=>r,xT:()=>c});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)r[48+a]=r[96+a]=String(a);for(var a=1;a<=24;a++)r[a+111]="F"+a;for(var a=65;a<=90;a++)r[a]=String.fromCharCode(a+32),i[a]=String.fromCharCode(a);for(var l in r)i.hasOwnProperty(l)||(i[l]=r[l]);function c(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},10544:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},13993:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(11250),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},14786:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},18610:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(50585),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},32195:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(73603),i=n(60802),o=e=>{var{theme:t,settings:n={},styles:o=[]}=e,s={".cm-gutters":{}},a={};n.background&&(a.backgroundColor=n.background),n.backgroundImage&&(a.backgroundImage=n.backgroundImage),n.foreground&&(a.color=n.foreground),n.fontSize&&(a.fontSize=n.fontSize),(n.background||n.foreground)&&(s["&"]=a),n.fontFamily&&(s["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(s[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(s[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(s[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(s[".cm-content"]={caretColor:n.caret},s[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(s[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),s[".cm-activeLineGutter"]=l,n.selection&&(s["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(s["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var c=r.Lz.theme(s,{dark:"dark"===t}),h=i.cr.define(o);return[c,(0,i.y9)(h)]}},34449:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(15702),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},37152:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(41401),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},44318:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},44407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},48156:(e,t,n)=>{"use strict";function r(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;tr})},50274:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let 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"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},50715:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(39249),i=n(45964),o=n.n(i),s=n(12115),a=n(56795),l=n(56406),c=n(30114),h=n(4365);let u=function(e,t){h.A&&!(0,c.Tn)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var n,i=(0,a.A)(e),u=null!=(n=null==t?void 0:t.wait)?n:1e3,f=(0,s.useMemo)(function(){return o()(function(){for(var e=[],t=0;t{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},51259:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},51368:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>a});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let a=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();let a=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=a[e];return t}return function(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}(a)}},55887:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var r=n(12115),i=n(29300),o=n.n(i),s=n(49172),a=n(15982),l=n(24848),c=n(35149),h=n(2419),u=n(68151),f=n(70042),d=n(84630),p=n(51754),m=n(48776),g=n(63583),v=n(66383),y=n(51280);function b(e,t){return null===t||!1===t?null:t||r.createElement(m.A,{className:"".concat(e,"-close-icon")})}v.A,d.A,p.A,g.A,y.A;let w={success:d.A,info:v.A,error:p.A,warning:g.A},x=e=>{let{prefixCls:t,icon:n,type:i,message:s,description:a,actions:l,role:c="alert"}=e,h=null;return n?h=r.createElement("span",{className:"".concat(t,"-icon")},n):i&&(h=r.createElement(w[i]||null,{className:o()("".concat(t,"-icon"),"".concat(t,"-icon-").concat(i))})),r.createElement("div",{className:o()({["".concat(t,"-with-icon")]:h}),role:c},h,r.createElement("div",{className:"".concat(t,"-message")},s),a&&r.createElement("div",{className:"".concat(t,"-description")},a),l&&r.createElement("div",{className:"".concat(t,"-actions")},l))};var k=n(99841),A=n(9130),S=n(18184),O=n(61388),C=n(45431);let M=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],I={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},E=(0,C.OF)("Notification",e=>{let t=(e=>{let t=e.paddingMD,n=e.paddingLG;return(0,O.oX)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:"".concat((0,k.zA)(e.paddingMD)," ").concat((0,k.zA)(e.paddingContentHorizontalLG)),notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(e.colorPrimaryBorderHover,", ").concat(e.colorPrimary,")")})})(e);return[(e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,s="".concat(t,"-notice"),a=new k.Mo("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},(0,S.dF)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},["".concat(t,"-hook-holder")]:{position:"relative"},["".concat(t,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(t,"-fade-enter, ").concat(t,"-fade-appear")]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(t,"-fade-leave")]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(t,"-fade-leave").concat(t,"-fade-leave-active")]:{animationName:a,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(s,"-actions")]:{float:"left"}}})},{[t]:{["".concat(s,"-wrapper")]:(e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:s,colorSuccess:a,colorInfo:l,colorWarning:c,colorError:h,colorTextHeading:u,notificationBg:f,notificationPadding:d,notificationMarginEdge:p,notificationProgressBg:m,notificationProgressHeight:g,fontSize:v,lineHeight:y,width:b,notificationIconSize:w,colorText:x,colorSuccessBg:A,colorErrorBg:O,colorInfoBg:C,colorWarningBg:M}=e,I="".concat(n,"-notice");return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:f,borderRadius:s,boxShadow:r,[I]:{padding:d,width:b,maxWidth:"calc(100vw - ".concat((0,k.zA)(e.calc(p).mul(2).equal()),")"),lineHeight:y,wordWrap:"break-word",borderRadius:s,overflow:"hidden","&-success":A?{background:A}:{},"&-error":O?{background:O}:{},"&-info":C?{background:C}:{},"&-warning":M?{background:M}:{}},["".concat(I,"-message")]:{color:u,fontSize:i,lineHeight:e.lineHeightLG},["".concat(I,"-description")]:{fontSize:v,color:x,marginTop:e.marginXS},["".concat(I,"-closable ").concat(I,"-message")]:{paddingInlineEnd:e.paddingLG},["".concat(I,"-with-icon ").concat(I,"-message")]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:i},["".concat(I,"-with-icon ").concat(I,"-description")]:{marginInlineStart:e.calc(e.marginSM).add(w).equal(),fontSize:v},["".concat(I,"-icon")]:{position:"absolute",fontSize:w,lineHeight:1,["&-success".concat(t)]:{color:a},["&-info".concat(t)]:{color:l},["&-warning".concat(t)]:{color:c},["&-error".concat(t)]:{color:h}},["".concat(I,"-close")]:Object.assign({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 ".concat(e.motionDurationMid,", color ").concat(e.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},(0,S.K8)(e)),["".concat(I,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,k.zA)(s)," * 2)"),left:{_skip_check_:!0,value:s},right:{_skip_check_:!0,value:s},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:s,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:m},"&::-webkit-progress-value":{borderRadius:s,background:m}},["".concat(I,"-actions")]:{float:"right",marginTop:e.marginSM}}})(e)}}]})(t),(e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i="".concat(t,"-notice"),o=new k.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),s=new k.Mo("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),a=new k.Mo("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new k.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{["&".concat(t,"-top, &").concat(t,"-bottom")]:{marginInline:0,[i]:{marginInline:"auto auto"}},["&".concat(t,"-top")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:s}},["&".concat(t,"-bottom")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:a}},["&".concat(t,"-topRight, &").concat(t,"-bottomRight")]:{["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:o}},["&".concat(t,"-topLeft, &").concat(t,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(t,"-fade-enter").concat(t,"-fade-enter-active, ").concat(t,"-fade-appear").concat(t,"-fade-appear-active")]:{animationName:l}}}}})(t),(e=>{let{componentCls:t}=e;return Object.assign({["".concat(t,"-stack")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(e.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(e=>{let t={};for(let n=1;n ".concat(e.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(e.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(e.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)})(e))},["".concat(t,"-stack:not(").concat(t,"-stack-expanded)")]:{["& > ".concat(t,"-notice-wrapper")]:Object.assign({},(e=>{let t={};for(let n=1;n ".concat(t,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(e.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},M.map(t=>((e,t)=>{let{componentCls:n}=e;return{["".concat(n,"-").concat(t)]:{["&".concat(n,"-stack > ").concat(n,"-notice-wrapper")]:{[t.startsWith("top")?"top":"bottom"]:0,[I[t]]:{value:0,_skip_check_:!0}}}}})(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))})(t)]},e=>({zIndexPopup:e.zIndexPopupBase+A.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));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 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 L=e=>{let{children:t,prefixCls:n}=e,i=(0,u.A)(n),[s,a,l]=E(n,i);return s(r.createElement(h.ph,{classNames:{list:o()(a,l,i)}},t))},N=(e,t)=>{let{prefixCls:n,key:i}=t;return r.createElement(L,{prefixCls:n,key:i},e)},D=r.forwardRef((e,t)=>{let{top:n,bottom:i,prefixCls:s,getContainer:l,maxCount:c,rtl:u,onAllRemoved:d,stack:p,duration:m,pauseOnHover:g=!0,showProgress:v}=e,{getPrefixCls:y,getPopupContainer:w,notification:x,direction:k}=(0,r.useContext)(a.QO),[,A]=(0,f.Ay)(),S=s||y("notification"),[O,C]=(0,h.hN)({prefixCls:S,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!=i?i:24),className:()=>o()({["".concat(S,"-rtl")]:null!=u?u:"rtl"===k}),motion:()=>({motionName:"".concat(S,"-fade")}),closable:!0,closeIcon:b(S),duration:null!=m?m:4.5,getContainer:()=>(null==l?void 0:l())||(null==w?void 0:w())||document.body,maxCount:c,pauseOnHover:g,showProgress:v,onAllRemoved:d,renderNotifications:N,stack:!1!==p&&{threshold:"object"==typeof p?null==p?void 0:p.threshold:void 0,offset:8,gap:A.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},O),{prefixCls:S,notification:x})),C});var R=n(99209);let B=(0,C.OF)("App",e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o,["&".concat(t,"-rtl")]:{direction:"rtl"}}}},()=>({})),T=e=>{let{prefixCls:t,children:n,className:i,rootClassName:h,message:u,notification:f,style:d,component:p="div"}=e,{direction:m,getPrefixCls:g}=(0,r.useContext)(a.QO),v=g("app",t),[y,w,k]=B(v),A=o()(w,v,i,h,k,{["".concat(v,"-rtl")]:"rtl"===m}),S=(0,r.useContext)(R.B),O=r.useMemo(()=>({message:Object.assign(Object.assign({},S.message),u),notification:Object.assign(Object.assign({},S.notification),f)}),[u,f,S.message,S.notification]),[C,M]=(0,l.A)(O.message),[I,E]=function(e){let t=r.useRef(null);return(0,s.rJ)("Notification"),[r.useMemo(()=>{let n=n=>{var i;if(!t.current)return;let{open:s,prefixCls:a,notification:l}=t.current,c="".concat(a,"-notice"),{message:h,description:u,icon:f,type:d,btn:p,actions:m,className:g,style:v,role:y="alert",closeIcon:w,closable:k}=n,A=P(n,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),S=b(c,void 0!==w?w:void 0!==(null==e?void 0:e.closeIcon)?e.closeIcon:null==l?void 0:l.closeIcon);return s(Object.assign(Object.assign({placement:null!=(i=null==e?void 0:e.placement)?i:"topRight"},A),{content:r.createElement(x,{prefixCls:c,icon:f,type:d,message:h,description:u,actions:null!=m?m:p,role:y}),className:o()(d&&"".concat(c,"-").concat(d),g,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),v),closeIcon:S,closable:null!=k?k:!!S}))},i={open:n,destroy:e=>{var n,r;void 0!==e?null==(n=t.current)||n.close(e):null==(r=t.current)||r.destroy()}};return["success","info","warning","error"].forEach(e=>{i[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),i},[]),r.createElement(D,Object.assign({key:"notification-holder"},e,{ref:t}))]}(O.notification),[L,N]=(0,c.A)(),T=r.useMemo(()=>({message:C,notification:I,modal:L}),[C,I,L]);(0,s.rJ)("App")(!(k&&!1===p),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let z=!1===p?r.Fragment:p;return y(r.createElement(R.A.Provider,{value:T},r.createElement(R.B.Provider,{value:O},r.createElement(z,Object.assign({},!1===p?void 0:{className:A,style:d}),N,M,E,n))))};T.useApp=()=>r.useContext(R.A);let z=T},56875:(e,t,n)=>{"use strict";var r;n.d(t,{PH:()=>d,Qj:()=>r,Z6:()=>c,fI:()=>h,iX:()=>N,rr:()=>L,uY:()=>s});let i=0;class o{constructor(e,t){this.from=e,this.to=t}}class s{constructor(e={}){this.id=i++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=c.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}s.closedBy=new s({deserialize:e=>e.split(" ")}),s.openedBy=new s({deserialize:e=>e.split(" ")}),s.group=new s({deserialize:e=>e.split(" ")}),s.isolate=new s({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),s.contextHash=new s({perNode:!0}),s.lookAhead=new s({perNode:!0}),s.mounted=new s({perNode:!0});class a{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[s.mounted.id]}}let l=Object.create(null);class c{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):l,n=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new c(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(s.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(s.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}c.none=new c("",Object.create(null),0,8);class h{constructor(e){this.types=e;for(let t=0;t=t){let s=new b(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(v(s,t,n,!1))}}return i?S(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,s=e.mode||0,a=(s&r.IncludeAnonymous)>0;for(let e=this.cursor(s|r.IncludeAnonymous);;){let r=!1;if(e.from<=o&&e.to>=i&&(!a&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:P(c.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new d(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new d(c.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=1024,reused:o=[],minRepeatType:a=r.types.length}=e,l=Array.isArray(n)?new p(n,n.length):n,c=r.types,h=0,u=0;function f(e,t,n,i,o,s,a,l,c){let h=[],u=[];for(;e.length>i;)h.push(e.pop()),u.push(t.pop()+n-o);e.push(g(r.types[a],h,u,s-o,l-s,c)),t.push(o-n)}function g(e,t,n,r,i,o,a){if(o){let e=[s.contextHash,o];a=a?[e].concat(a):[e]}if(i>25){let e=[s.lookAhead,i];a=a?[e].concat(a):[e]}return new d(e,t,n,r,a)}let v=[],y=[];for(;l.pos>0;)!function e(t,n,p,v,y,b){let{id:w,start:x,end:k,size:A}=l,S=u,O=h;if(A<0){if(l.next(),-1==A){let e=o[w];p.push(e),v.push(x-t);return}if(-3==A){h=w;return}if(-4==A){u=w;return}else throw RangeError(`Unrecognized record size: ${A}`)}let C=c[w],M,I,E=x-t;if(k-x<=i&&(I=function(e,t){let n=l.fork(),r=0,o=0,s=0,c=n.end-i,h={size:0,start:0,skip:0};e:for(let i=n.pos-e;n.pos>i;){let e=n.size;if(n.id==t&&e>=0){h.size=r,h.start=o,h.skip=s,s+=4,r+=4,n.next();continue}let l=n.pos-e;if(e<0||l=a),f=n.start;for(n.next();n.pos>l;){if(n.size<0)if(-3==n.size||-4==n.size)u+=4;else break e;else n.id>=a&&(u+=4);n.next()}o=f,r+=e,s+=u}return(t<0||r==e)&&(h.size=r,h.start=o,h.skip=s),h.size>4?h:void 0}(l.pos-n,y))){let e=new Uint16Array(I.size-I.skip),n=l.pos-I.size,i=e.length;for(;l.pos>n;)i=function e(t,n,r){let{id:i,start:o,end:s,size:c}=l;if(l.next(),c>=0&&i4){let i=l.pos-(c-4);for(;l.pos>i;)r=e(t,n,r)}n[--r]=a,n[--r]=s-t,n[--r]=o-t,n[--r]=i}else -3==c?h=i:-4==c&&(u=i);return r}(I.start,e,i);M=new m(e,k-I.start,r),E=I.start-t}else{let t=l.pos-A;l.next();let n=[],o=[],c=w>=a?w:-1,h=0,u=k;for(;l.pos>t;)c>=0&&l.id==c&&l.size>=0?(l.end<=u-i&&(f(n,o,x,h,l.end,u,c,S,O),h=n.length,u=l.end),l.next()):b>2500?function(e,t,n,o){let s=[],a=0,c=-1;for(;l.pos>t;){let{id:e,start:t,end:n,size:r}=l;if(r>4)l.next();else if(c>-1&&t=0;e-=3)t[n++]=s[e],t[n++]=s[e+1]-i,t[n++]=s[e+2]-i,t[n++]=n;n.push(new m(t,s[2]-i,r)),o.push(i-e)}}(x,t,n,o):e(x,t,n,o,c,b+1);if(c>=0&&h>0&&h-1&&h>0){let e=function(e,t){return(n,r,i)=>{let o=0,a=n.length-1,l,c;if(a>=0&&(l=n[a])instanceof d){if(!a&&l.type==e&&l.length==i)return l;(c=l.prop(s.lookAhead))&&(o=r[a]+l.length+c)}return g(e,n,r,i,o,t)}}(C,O);M=P(C,n,o,0,n.length,0,k-x,e,e)}else M=g(C,n,o,k-x,S-k,O)}p.push(M),v.push(E)}(e.start||0,e.bufferStart||0,v,y,-1,0);let b=null!=(t=e.length)?t:v.length?y[0]+v[0].length:0;return new d(c[e.topID],v.reverse(),y.reverse(),b)}(e)}}d.empty=new d(c.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return c.none}toString(){let e=[];for(let t=0;t0)));a=o[a+3]);return s}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let s=e,a=0;s=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function v(e,t,n,i){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?c.length:-1;e!=u;e+=t){let u=c[e],f=h[e]+l.from;if(o&r.EnterBracketed&&u instanceof d&&(null==(s=a.get(u))?void 0:s.overlay)===null&&(f>=n||f+u.length<=n)||g(i,n,f,f+u.length)){if(u instanceof m){if(o&r.ExcludeBuffers)continue;let s=u.findChild(0,u.buffer.length,t,n-f,i);if(s>-1)return new A(new k(l,u,e,f),null,s)}else if(o&r.IncludeAnonymous||!u.type.isAnonymous||M(u)){let s;if(!(o&r.IgnoreMounts)&&(s=a.get(u))&&!s.overlay)return new b(s.tree,f,e,l);let c=new b(u,f,e,l);return o&r.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(t<0?u.children.length-1:0,t,n,i,o)}}}if(o&r.IncludeAnonymous||!l.type.isAnonymous||(e=l.index>=0?l.index+t:t<0?-1:l._parent._tree.children.length,!(l=l._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let i;if(!(n&r.IgnoreOverlays)&&(i=a.get(this._tree))&&i.overlay){let o=e-this.from,s=n&r.EnterBracketed&&i.bracketed;for(let{from:e,to:n}of i.overlay)if((t>0||s?e<=o:e=o:n>o))return new b(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function w(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return o}for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function x(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class k{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class A extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new A(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new A(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new A(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new A(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new d(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function S(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;rn.from||i.to0){if(this.index-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||M(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break e}r=this.stack[--i]}for(let e=n;e=0;i--){if(i<0)return x(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function M(e){return e.children.some(e=>e instanceof m||!e.type.isAnonymous||M(e))}let I=new WeakMap;function E(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=I.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof d)){n=1;break}n+=E(e,r)}I.set(t,n)}return n}function P(e,t,n,r,i,o,s,a,l){let c=0;for(let n=r;n=h)break;p+=t}if(c==i+1){if(p>h){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+a);continue}u.push(n[i])}else{let t=r[c-1]+n[c-1].length-d;u.push(P(e,n,r,i,c,d,t,null,l))}f.push(d+a-o)}}(t,n,r,i,0),(a||l)(u,f,s)}class L{constructor(e,t,n,r,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|2*!!o}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new L(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,o=e.length?e[0]:null;for(let s=0,a=0,l=0;;s++){let c=s=n)for(;o&&o.from=t.from||h<=t.to||l){let e=Math.max(t.from,a)-l,n=Math.min(t.to,h)-l;t=e>=n?null:new L(e,n,t.tree,t.offset+l,s>0,!!c)}if(t&&r.push(t),o.to>h)break;o=inew o(e.from,e.to)):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class D{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new s({perNode:!0})},58735:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},59964:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},60802:(e,t,n)=>{"use strict";n.d(t,{EI:()=>C,KB:()=>I,Lv:()=>et,SG:()=>ey,WD:()=>D,Xt:()=>S,Zt:()=>eh,_v:()=>M,cr:()=>er,f7:()=>q,jU:()=>ek,mv:()=>d,tp:()=>O,y9:()=>ea});var r,i=n(56875),o=n(61245),s=n(73603),a=n(78520),l=n(98929);let c=new i.uY,h=new i.uY;class u{constructor(e,t,n=[],r=""){this.data=e,this.name=r,o.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(o.$t.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[k.of(this),o.$t.languageData.of((e,t,n)=>{let r=f(e,t,n),i=r.type.prop(c);if(!i)return[];let o=e.facet(i),s=r.type.prop(h);if(s){let i=r.resolve(t-r.from,n);for(let t of s)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o})].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n).type.prop(c)==this.data}findRegions(e){let t=e.facet(k);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let o=e.prop(i.uY.mounted);if(o){if(o.tree.prop(c)==this.data){if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(o.overlay){let e=n.length;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}for(let n=0;n=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],r,i,o,s,a){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=s,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],i.PH.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.PH.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.rr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=v(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=i.rr.applyChanges(n,t),r=i.PH.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length)for(let t of(a=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);ne.from&&(this.fragments=v(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i.iX{createParse(t,n,r){let o=r[0].from,s=r[r.length-1].to;return{parsedPos:o,advance(){let t=m;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=s,new i.PH(i.Z6.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function v(e,t,n){return i.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class y{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new y(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(k).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new y(n)}}u.state=o.sU.define({create:y.init,update(e,t){for(let e of t.effects)if(e.is(u.setState))return e.value;return t.startState.facet(k)!=t.state.facet(k)?y.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let w="undefined"!=typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=s.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=i.context.work(()=>w&&w()||Date.now()>o,r+1e5*!s);this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:u.setState.of(new y(i.context))})),this.chunkBudget>0&&!(a&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,s.c_)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),k=o.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,x,s.Lz.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]}),A=o.sj.define(),S=o.sj.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function O(e){let t=e.facet(S);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function C(e,t){let n="",r=e.tabSize,i=e.facet(S)[0];if(" "==i){for(;t>=r;)n+=" ",t-=r;i=" "}for(let e=0;e=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.fromr.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return P(r,e,n)}(e,n,t):null}class I{constructor(e,t={}){this.state=e,this.options=t,this.unit=O(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(null!=r&&r>=n.from&&r<=n.to)if(i&&r==e)return{text:"",from:e};else if(t<0?r-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,o.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let E=new i.uY;function P(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(E);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(i.uY.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>(function(e,t,n,r,i){let o=e.textAfter,s=o.match(/^\s*/)[0].length,a=r&&o.slice(s,s+r.length)==r||i==e.pos+s,l=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),s=null==i||i<=o.from?o.to:Math.min(o.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=s)return null;let e=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:+e.unit)})(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?L:null}(r.node);if(e)return e(N.create(t,n,r))}return 0}function L(){return 0}class N extends I{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new N(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return P(this.context.next,this.base,this.pos)}}function D(){return o.$t.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:s}=e,a=-1,l=[];for(let{head:e}of s.selection.ranges){let t=s.doc.lineAt(e);if(t.from==a)continue;a=t.from;let n=M(s,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=C(s,n);r!=i&&l.push({from:t.from,to:t.from+r.length,insert:i})}return l.length?[e,{changes:l,sequential:!0}]:e})}let R=o.sj.define(),B=new i.uY;function T(e,t,n){for(let r of e.facet(R)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=d(e);if(r.lengthn)continue;if(o&&i.from=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function z(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let j=o.Pe.define({map:z}),_=o.Pe.define({map:z});function F(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let H=o.sU.define({create:()=>s.NZ.none,update(e,t){for(let n of(t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=V(e,t,n)),e=e.map(t.changes),t.effects))if(n.is(j)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(Z),i=r?s.NZ.replace({widget:new Q(r(t.state,n.value))}):Y;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(_)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=V(e,t.selection.main.head)),e},provide:e=>s.Lz.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{et&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function $(e,t,n){var r;let i=null;return null==(r=e.field(H,!1))||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function U(e,t){return e.field(H,!1)?t:t.concat(o.Pe.appendConfig.of(K()))}function W(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return s.Lz.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}let q=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of F(e)){let n=T(e.state,t.from,t.to);if(n)return e.dispatch({effects:U(e.state,[j.of(n),W(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(H,!1))return!1;let t=[];for(let n of F(e)){let r=$(e.state,n.from,n.to);r&&t.push(_.of(r),W(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(H,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(_.of({from:e,to:t}))}),e.dispatch({effects:n}),!0}}],J={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Z=o.sj.define({combine:e=>(0,o.QR)(e,J)});function K(e){let t=[H,en];return e&&t.push(Z.of(e)),t}function G(e,t){let{state:n}=e,r=n.facet(Z),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=$(e.state,n.from,n.to);r&&e.dispatch({effects:_.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}let Y=s.NZ.replace({widget:new class extends s.xO{toDOM(e){return G(e,null)}}});class Q extends s.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return G(e,this.value)}}let X={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ee extends s.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function et(e={}){let t={...X,...e},n=new ee(t,!0),r=new ee(t,!1),i=s.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(k)!=e.state.facet(k)||e.startState.field(H,!1)!=e.state.field(H,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new o.vB;for(let i of e.viewportLineBlocks){let o=$(e.state,i.from,i.to)?r:T(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:a}=t;return[i,(0,s.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(i))?void 0:t.markers)||o.om.empty},initialSpacer:()=>new ee(t,!1),domEventHandlers:{...a,click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let r=$(e.state,t.from,t.to);if(r)return e.dispatch({effects:_.of(r)}),!0;let i=T(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:j.of(i)}),!0)}}}),K()]}let en=s.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class er{constructor(e,t){let n;function r(e){let t=l.G.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof u?e=>e.prop(c)==o.data:o?e=>e==o:void 0,this.style=(0,a.az)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new l.G(n):null,this.themeType=t.themeType}static define(e,t){return new er(e,t||{})}}let ei=o.sj.define(),eo=o.sj.define({combine:e=>e.length?[e[0]]:null});function es(e){let t=e.facet(ei);return t.length?t:e.facet(eo)}function ea(e,t){let n=[ec],r;return e instanceof er&&(e.module&&n.push(s.Lz.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(eo.of(e)):r?n.push(ei.computeN([s.Lz.darkTheme],t=>t.facet(s.Lz.darkTheme)==("dark"==r)?[e]:[])):n.push(ei.of(e)),n}class el{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,es(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=d(e.state),n=es(e.state),r=n!=es(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return s.NZ.none;let n=new o.vB;for(let{from:r,to:i}of e.visibleRanges)(0,a.DM)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=s.NZ.mark({class:r})))},r,i);return n.finish()}}let ec=o.Nb.high(s.Z9.fromClass(el,{decorations:e=>e.decorations})),eh=er.define([{tag:a._A.meta,color:"#404740"},{tag:a._A.link,textDecoration:"underline"},{tag:a._A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a._A.emphasis,fontStyle:"italic"},{tag:a._A.strong,fontWeight:"bold"},{tag:a._A.strikethrough,textDecoration:"line-through"},{tag:a._A.keyword,color:"#708"},{tag:[a._A.atom,a._A.bool,a._A.url,a._A.contentSeparator,a._A.labelName],color:"#219"},{tag:[a._A.literal,a._A.inserted],color:"#164"},{tag:[a._A.string,a._A.deleted],color:"#a11"},{tag:[a._A.regexp,a._A.escape,a._A.special(a._A.string)],color:"#e40"},{tag:a._A.definition(a._A.variableName),color:"#00f"},{tag:a._A.local(a._A.variableName),color:"#30a"},{tag:[a._A.typeName,a._A.namespace],color:"#085"},{tag:a._A.className,color:"#167"},{tag:[a._A.special(a._A.variableName),a._A.macroName],color:"#256"},{tag:a._A.definition(a._A.propertyName),color:"#00c"},{tag:a._A.comment,color:"#940"},{tag:a._A.invalid,color:"#f00"}]),eu=s.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ef="()[]{}",ed=o.sj.define({combine:e=>(0,o.QR)(e,{afterCursor:!0,brackets:ef,maxScanDistance:1e4,renderMatch:eg})}),ep=s.NZ.mark({class:"cm-matchingBracket"}),em=s.NZ.mark({class:"cm-nonmatchingBracket"});function eg(e){let t=[],n=e.matched?ep:em;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let ev=[o.sU.define({create:()=>s.NZ.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(ed);for(let e of t.state.selection.ranges){if(!e.empty)continue;let i=ek(t.state,e.head,-1,r)||e.head>0&&ek(t.state,e.head-1,1,r)||r.afterCursor&&(ek(t.state,e.head,1,r)||e.heads.Lz.decorations.from(e)}),eu];function ey(e={}){return[ed.of(e),ev]}let eb=new i.uY;function ew(e,t,n){let r=e.prop(t<0?i.uY.openedBy:i.uY.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function ex(e){let t=e.type.prop(eb);return t?t(e.node):e}function ek(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||ef,s=d(e),a=s.resolveInner(t,n);for(let e=a;e;e=e.parent){let r=ew(e.type,n,o);if(r&&e.from0?t>=i.from&&ti.from&&t<=i.to))return function(e,t,n,r,i,o,s){let a=r.parent,l={from:i.from,to:i.to},c=0,h=null==a?void 0:a.cursor();if(h&&(n<0?h.childBefore(r.from):h.childAfter(r.to)))do if(n<0?h.to<=r.from:h.from>=r.to){if(0==c&&o.indexOf(h.type.name)>-1&&h.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let e=0;!h.next().done&&e<=o;){let o=h.value;n<0&&(e+=o.length);let a=t+e*n;for(let e=n>0?0:o.length-1,t=n>0?o.length:-1;e!=t;e+=n){let t=s.indexOf(o[e]);if(!(t<0)&&r.resolveInner(a+e,1).type==i)if(t%2==0==n>0)u++;else{if(1==u)return{start:c,end:{from:a+e,to:a+e+1},matched:t>>1==l>>1};u--}}n>0&&(e+=o.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,s,a.type,i,o)}let eA=Object.create(null),eS=[i.Z6.none],eO=[],eC=Object.create(null),eM=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eM[e]=function(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||a._A[n];r?"function"==typeof r?t.length?t=t.map(r):eI(n,`Modifier ${n} used at start of tag`):t.length?eI(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eI(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(e=>e.id),s=eC[o];if(s)return s.id;let l=eC[o]=i.Z6.define({id:eS.length,name:r,props:[(0,a.pn)({[r]:n})]});return eS.push(l),l.id}(eA,t);function eI(e,t){eO.indexOf(e)>-1||(eO.push(e),console.warn(t))}s.OP.RTL,s.OP.LTR},61037:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},61245:(e,t,n)=>{"use strict";let r;n.d(t,{YH:()=>el,Gu:()=>M,VR:()=>I,Je:()=>ev,OF:()=>T,$t:()=>eb,sj:()=>_,iR:()=>C,Nb:()=>Z,om:()=>eC,vB:()=>eM,FB:()=>ex,Pe:()=>eu,sU:()=>W,EY:()=>f,ZX:()=>ef,vS:()=>k,Fh:()=>S,QR:()=>ew,y$:()=>ej,zK:()=>x,kn:()=>e_,MK:()=>A});let i=[],o=[];function s(e){return e>=127462&&e<=127487}function a(e,t,n){if(t==e.length)return t;t&&c(e.charCodeAt(t))&&h(e.charCodeAt(t-1))&&t--;let r=l(e,t);for(t+=u(r);t>1;if(e=o[r]))return!0;t=r+1}if(t==n)return!1}}(a))t+=u(a),r=a;else if(s(a)){let n=0,r=t-2;for(;r>=0&&s(l(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function l(e,t){let n=e.charCodeAt(t);if(!h(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return c(r)?(n-55296<<10)+(r-56320)+65536:n}function c(e){return e>=56320&&e<57344}function h(e){return e>=55296&&e<56320}function u(e){return e<65536?1:2}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;tthis.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=w(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),p.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=w(this,e,t);let n=[];return this.decompose(e,t,n,0),p.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new g(this),i=new g(e);for(let e=t,o=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new g(this,e)}iterRange(e,t=this.length){return new v(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new d(e):p.from(d.split(e,[])):f.empty}}class d extends f{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.text[i],s=r+o.length;if((t?n:s)>=e)return new b(r,s,n,o);r=s+1,n++}}decompose(e,t,n,r){var i;let o=e<=0&&t>=this.length?this:new d((i=this.text,m(i,[""],e,t)),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=m(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new d(t,e.length+o.length));else{let e=t.length>>1;n.push(new d(t.slice(0,e)),new d(t.slice(e)))}}else n.push(o)}replace(e,t,n){var r;if(!(n instanceof d))return super.replace(e,t,n);[e,t]=w(this,e,t);let i=m(this.text,m(n.text,(r=this.text,m(r,[""],0,e))),t),o=this.length+n.length-(t-e);return i.length<=32?new d(i,o):p.from(d.split(i,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=w(this,e,t);let r="";for(let i=0,o=0;i<=t&&oe&&o&&(r+=n),ei&&(r+=s.slice(Math.max(0,e-i),t-i)),i=a+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new d(n,r)),n=[],r=-1);return r>-1&&t.push(new d(n,r)),t}}class p extends f{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.children[i],s=r+o.length,a=n+o.lines-1;if((t?a:s)>=e)return o.lineInner(e,t,n,r);r=s+1,n=a+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i=o){let i=r&(o<=e|2*(a>=t));o>=e&&a<=t&&!i?n.push(s):s.decompose(e-o,t-o,n,i)}o=a+1}}replace(e,t,n){if([e,t]=w(this,e,t),n.lines=i&&t<=s){let a=o.replace(e-i,t-i,n),l=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>l>>6){let i=this.children.slice();return i[r]=a,new p(i,this.length-(t-e)+n.length)}return super.replace(i,s,a)}i=s+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=w(this,e,t);let r="";for(let i=0,o=0;ie&&i&&(r+=n),eo&&(r+=s.sliceString(e-o,t-o,n)),o=a+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof p))return 0;let n=0,[r,i,o,s]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==s)return n;let a=this.children[r],l=e.children[i];if(a!=l)return n+a.scanIdentical(l,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new d(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,s=[],a=0,l=-1,c=[];function h(){0!=a&&(s.push(1==c.length?c[0]:p.from(c,l)),l=-1,a=c.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof p)for(let n of t.children)e(n);else t.lines>o&&(a>o||!a)?(h(),s.push(t)):t instanceof d&&a&&(n=c[c.length-1])instanceof d&&t.lines+n.lines<=32?(a+=t.lines,l+=t.length+1,c[c.length-1]=new d(n.text.concat(t.text),n.length+1+t.length)):(a+t.lines>r&&h(),a+=t.lines,l+=t.length+1,c.push(t))}(t);return h(),1==s.length?s[0]:new p(s,t)}}function m(e,t,n=0,r=1e9){for(let i=0,o=0,s=!0;o=n&&(l>r&&(a=a.slice(0,r-i)),i0?1:(e instanceof d?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,s=r instanceof d?r.text.length:r.children.length;if(o==(t>0?s:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof d){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof d?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class v{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new g(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class y{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(f.prototype[Symbol.iterator]=function(){return this.iter()},g.prototype[Symbol.iterator]=v.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});class b{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function w(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function x(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?a:function(e,t,n){for(;t>0;){let r=a(e,t-2,n);if(r=55296&&n<56320)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(n-55296<<10)+(r-56320)+65536:n}function A(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function S(e){return e<65536?1:2}let O=/\r\n?|\n/;var C=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(C||(C={}));class M{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return i+(e-r);i+=s}else{if(n!=C.Simple&&l>=e&&(n==C.TrackDel&&re||n==C.TrackBefore&&re))return null;if(l>e||l==e&&t<0&&!s)return e==r||t<0?i:i+a;i+=a}r=l}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n=0&&r<=t&&s>=e)return!(rt)||"cover";r=s}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new M(e)}static create(e){return new M(e)}}class I extends M{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return L(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}mapDesc(e,t=!1){return N(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r=0){t[r]=s,t[r+1]=o;let a=r>>1;for(;n.length0&&P(n,t,i.text),i.forward(e),s+=e}let l=e[o++];for(;s>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],o=0,s=null;function a(e=!1){if(!e&&!r.length)return;os||e<0||s>t)throw RangeError(`Invalid change range ${e} to ${s} (in doc of length ${t})`);let h=c?"string"==typeof c?f.of(c.split(n||O)):c:f.empty,u=h.length;if(e==s&&0==u)return;eo&&E(r,e-o,-1),E(r,s-e,u),P(i,r,h),o=s}}(e),a(!s),s}static empty(e){return new I(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;rt&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==i.length)t.push(i[0],0);else{for(;n.length=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function P(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r>1])),!n&&s!=e.sections.length&&!(e.sections[s+1]<0);)a=e.sections[s++],l=e.sections[s++];t(i,c,o,h,u),i=c,o=h}}}function N(e,t,n,r=!1){let i=[],o=r?[]:null,s=new R(e),a=new R(t);for(let e=-1;;)if(s.done&&a.len||a.done&&s.len)throw Error("Mismatched change set lengths");else if(-1==s.ins&&-1==a.ins){let e=Math.min(s.len,a.len);E(i,e,-1),s.forward(e),a.forward(e)}else if(a.ins>=0&&(s.ins<0||e==s.i||0==s.off&&(a.len=0&&e=0){let t=0,n=s.len;for(;n;)if(-1==a.ins){let e=Math.min(n,a.len);t+=e,n-=e,a.forward(e)}else if(0==a.ins&&a.lent||s.ins>=0&&s.len>t)&&(e||r.length>n),o.forward2(t),s.forward(t)}else E(r,0,s.ins,e),i&&P(i,r,s.text),s.next()}class R{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?f.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?f.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class B{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 0xffffff==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new B(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return T.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return T.range(this.anchor,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,t,n){return new B(e,t,n)}}class T{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(e=>B.fromJSON(e)),e.main)}static single(e,t=e){return new T([T.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;re)|i)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;nr.head?T.range(s,o):T.range(o,s))}}return new T(e,t)}}function z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let j=0;class _{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=j++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new _(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?F:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new H([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new H(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new H(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function F(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class H{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=j++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,s=2==this.type,a=!1,l=!1,c=[];for(let n of this.dependencies)"doc"==n?a=!0:"selection"==n?l=!0:((null!=(t=e[n.id])?t:1)&1)==0&&c.push(e[n.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||$(e,c)){let t=n(e);if(s?!V(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>{let a,l=t.config.address[i];if(null!=l){let i=ee(t,l);if(this.dependencies.every(n=>n instanceof _?t.facet(n)===e.facet(n):!(n instanceof W)||t.field(n,!1)==e.field(n,!1))||(s?V(a=n(e),i,r):r(a=n(e),i)))return e.values[o]=i,0}else a=n(e);return e.values[o]=a,1}}}}function V(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(U).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r=e.facet(U),i=n.facet(U),o;return(o=r.find(e=>e.field==this))&&o!=i.find(e=>e.field==this)?(e.values[t]=o.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,U.of({field:this,create:e})]}get extension(){return this}}let q={lowest:4,low:3,default:2,high:1,highest:0};function J(e){return t=>new K(t,e)}let Z={highest:J(q.highest),high:J(q.high),default:J(q.default),low:J(q.low),lowest:J(q.lowest)};class K{constructor(e,t){this.inner=e,this.prec=t}}class G{of(e){return new Y(this,e)}reconfigure(e){return G.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Y{constructor(e,t){this.compartment=e,this.inner=t}}class Q{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){var r,i,o;let s,a,l=[],c=Object.create(null),h=new Map;for(let n of(r=e,i=t,o=h,s=[[],[],[],[],[]],a=new Map,!function e(t,n){let r=a.get(t);if(null!=r){if(r<=n)return;let e=s[r].indexOf(t);e>-1&&s[r].splice(e,1),t instanceof Y&&o.delete(t.compartment)}if(a.set(t,n),Array.isArray(t))for(let r of t)e(r,n);else if(t instanceof Y){if(o.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=i.get(t.compartment)||t.inner;o.set(t.compartment,r),e(r,n)}else if(t instanceof K)e(t.inner,t.prec);else if(t instanceof W)s[n].push(t),t.provides&&e(t.provides,n);else if(t instanceof H)s[n].push(t),t.facet.extensions&&e(t.facet.extensions,q.default);else{let r=t.extension;if(!r)throw Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(r,n)}}(r,q.default),s.reduce((e,t)=>e.concat(t))))n instanceof W?l.push(n):(c[n.facet.id]||(c[n.facet.id]=[])).push(n);let u=Object.create(null),f=[],d=[];for(let e of l)u[e.id]=d.length<<1,d.push(t=>e.slot(t));let p=null==n?void 0:n.config.facets;for(let e in c){let t=c[e],r=t[0].facet,i=p&&p[e]||[];if(t.every(e=>0==e.type))if(u[r.id]=f.length<<1|1,F(i,t))f.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));f.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(u[e.id]=f.length<<1|1,f.push(e.value)):(u[e.id]=d.length<<1,d.push(t=>e.dynamicSlot(t)));u[r.id]=d.length<<1,d.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),s=e[t.id]>>1;function a(e){let n=[];for(let t=0;te(u)),u,f,c)}}function X(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=_.define(),en=_.define({combine:e=>e.some(e=>e),static:!0}),er=_.define({combine:e=>e.length?e[0]:void 0,static:!0}),ei=_.define(),eo=_.define(),es=_.define(),ea=_.define({combine:e=>!!e.length&&e[0]});class el{constructor(e,t){this.type=e,this.value=t}static define(){return new ec}}class ec{of(e){return new el(this,e)}}class eh{constructor(e){this.map=e}of(e){return new eu(this,e)}}class eu{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eu(this.type,t)}is(e){return this.type==e}static define(e={}){return new eh(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}eu.reconfigure=eu.define(),eu.appendConfig=eu.define();class ef{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&z(n,t.newLength),i.some(e=>e.type==ef.time)||(this.annotations=i.concat(ef.time.of(Date.now())))}static create(e,t,n,r,i,o){return new ef(e,t,n,r,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var r;let i,o,s;return n?(i=t.changes,o=I.empty(t.changes.length),s=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),s=e.changes.compose(i)),{changes:s,selection:t.selection?t.selection.map(o):null==(r=e.selection)?void 0:r.map(i),effects:eu.mapEffects(e.effects,i).concat(eu.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let r=t.selection,i=eg(t.annotations);return t.userEvent&&(i=i.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof I?t.changes:I.of(t.changes||[],n,e.facet(er)),selection:r&&(r instanceof T?r:T.single(r.anchor,r.head)),effects:eg(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}ef.time=el.define(),ef.userEvent=el.define(),ef.addToHistory=el.define(),ef.remote=el.define();let em=[];function eg(e){return null==e?em:Array.isArray(e)?e:[e]}var ev=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(ev||(ev={}));let ey=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class eb{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let e=0;e=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=ed(r,ep(t,o,e.changes.newLength),!0))}return r==e?e:ef.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let n=t.startState,r=!0;for(let e of n.facet(ei)){let n=e(t);if(!1===n){r=!1;break}Array.isArray(n)&&(r=!0===r?n:function(e,t){let n=[];for(let r=0,i=0;;){let o,s;if(r=e[r]))o=e[r++],s=e[r++];else{if(!(i=0;r--){let o=i[r](t);t=o instanceof ef?o:Array.isArray(o)&&1==o.length&&o[0]instanceof ef?o[0]:e(n,eg(o),!1)}return t}(o):o)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(G.reconfigure)?(n&&(i=new Map,n.compartments.forEach((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(eu.reconfigure)?(n=null,r=t.value):t.is(eu.appendConfig)&&(n=null,r=eg(r).concat(t.value));t=n?e.startState.values.slice():new eb(n=Q.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(en)?e.newSelection:e.newSelection.asSingle();new eb(n,e.newDoc,o,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:T.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=eg(n.effects);for(let n=1;ni.spec.fromJSON(o,e)))}}return eb.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=Q.resolve(e.extensions||[],new Map),n=e.doc instanceof f?e.doc:f.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||O)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return z(r,n.length),t.staticFacet(en)||(r=r.asSingle()),new eb(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(ea)}phrase(e,...t){for(let t of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(et))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{if(!/\S/.test(e))return ev.Space;if(function(e){if(r)return r.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ey.test(n)))return!0}return!1}(e))return ev.Word;for(let n=0;n-1)return ev.Word;return ev.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,s=e-n;for(;o>0;){let e=x(t,o,!1);if(i(t.slice(e,o))!=ev.Word)break;o=e}for(;se.length?e[0]:4}),eb.lineSeparator=er,eb.readOnly=ea,eb.phrases=_.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),eb.languageData=et,eb.changeFilter=ei,eb.transactionFilter=eo,eb.transactionExtender=es,G.reconfigure=eu.define();class ex{eq(e){return this==e}range(e,t=e){return eA.create(e,t,this)}}function ek(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapMode=C.TrackDel;class eA{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new eA(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eO{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,s=i.length;;){if(o==s)return o;let r=o+s>>1,a=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return a>=0?o:s;a>=0?s=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i(f=t.mapPos(h,l.endSide))||u==f&&l.startSide>0&&l.endSide<=0)continue;0>(f-u||l.endSide-l.startSide)||(o<0&&(o=u),l.point&&(s=Math.max(s,f-u)),n.push(l),r.push(u-o),i.push(f-o))}return{mapped:n.length?new eO(r,i,n,s):null,pos:o}}}class eC{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eC(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let s=new eE(this,null,-1).goto(0),a=0,l=[],c=new eM;for(;s.value||a=0){let e=t[a++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==s.rangeIndex&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||is.to||i=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eP.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eP.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),a=eI(o,s,n),l=new eN(o,a,i),c=new eN(s,a,i);n.iterGaps((e,t,n)=>eD(l,e,c,t,n,r)),n.empty&&0==n.length&&eD(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=0x3b9ac9ff);let i=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=o.length)return!1;if(!i.length)return!0;let s=eI(i,o),a=new eN(i,s,0).goto(n),l=new eN(o,s,0).goto(n);for(;;){if(a.to!=l.to||!eR(a.active,l.active)||a.point&&(!l.point||!ek(a.point,l.point)))return!1;if(a.to>r)return!0;a.next(),l.next()}}static spans(e,t,n,r,i=-1){let o=new eN(e,null,i).goto(t),s=t,a=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFroms&&(r.span(s,e,o.active,a),a=o.openEnd(e));if(o.to>n)return a+(o.point&&o.to>n?1:0);s=o.to,o.next()}}static of(e,t=!1){let n=new eM;for(let r of e instanceof eA?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(eS);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eC.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eC.empty;r=r.nextLayer)t=new eC(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eM{finishChunk(e){this.chunks.push(new eO(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eM)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eI(e,t,n){let r=new Map;for(let t of e)for(let e=0;e(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new eE(o,t,n,i));return 1==r.length?r[0]:new eP(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eL(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eL(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eL(this.heap,0)}}}function eL(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1=0&&(i=e[r+1],r++),0>n.compare(i))break;e[r]=n,e[t]=i,t=r}}class eN{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eP.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eB(this.active,e),eB(this.activeTo,e),eB(this.activeRank,e),this.minActive=ez(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t0;)t++;eT(this.active,t,n),eT(this.activeTo,t,r),eT(this.activeRank,t,i),e&&eT(e,t,this.cursor.from),this.minActive=ez(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eB(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[t]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eD(e,t,n,r,i,o){e.goto(t),n.goto(r);let s=r+i,a=r,l=r-t,c=!!o.boundChange;for(let t=!1;;){let r=e.to+l-n.to,i=r||e.endSide-n.endSide,h=i<0?e.to+l:n.to,u=Math.min(h,s);if(e.point||n.point?(e.point&&n.point&&ek(e.point,n.point)&&eR(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(a,u,e.point,n.point),t=!1):(t&&o.boundChange(a),u>a&&!eR(e.active,n.active)&&o.compareRange(a,u,e.active,n.active),c&&us)break;a=h,i<=0&&e.next(),i>=0&&n.next()}}function eR(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;n--)e[n+1]=e[n];e[t]=n}function ez(e,t){let n=-1,r=1e9;for(let i=0;i(t[i]-r||e[i].endSide-e[n].endSide)&&(n=i,r=t[i]);return n}function ej(e,t,n=e.length){let r=0;for(let i=0;i=t)return r;if(r==e.length)break;i+=9==e.charCodeAt(r)?n-i%n:1,r=x(e,r)}return!0===r?-1:e.length}},64227:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},64413:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},65095:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},67678:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},71750:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>rs});var r=n(79630),i=n(93495),o=n(12115),s=n(61245),a=n(73603),l=n(60802),c=n(56875);function h(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}let u=h(function(e,t,n=t.selection.ranges){let r=[],i=-1;for(let{from:e,to:o}of n){let n=r.length,s=1e9,a=p(t,e).line;if(a){for(let n=e;n<=o;){let l=t.doc.lineAt(n);if(l.from>i&&(e==o||o>l.from)){i=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,n=l.text.slice(e,e+a.length)==a?e:-1;ee.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:o,single:s}of r)(s||!o)&&e.push({from:t.from+i,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null},0),f=h(m,0),d=h((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function p(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let r=n.map(e=>p(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>(function(e,{open:t,close:n},r,i){let o,s,a=e.sliceDoc(r-50,r),l=e.sliceDoc(i,i+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,u=a.length-c;if(a.slice(u-t.length,u)==t&&l.slice(h,h+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+h,margin:h&&1}};i-r<=100?o=s=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+50),s=e.sliceDoc(i-50,i));let f=/^\s*/.exec(o)[0].length,d=/\s*$/.exec(s)[0].length,p=s.length-d-n.length;return o.slice(f,f+t.length)==t&&s.slice(p,p+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(o.charAt(f+t.length))},close:{pos:i-d-n.length,margin:+!!/\s/.test(s.charAt(p-1))}}:null})(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t=0,n;t(0,s.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),w=s.sU.define({create:()=>D.empty,update(e,t){let n=t.state.facet(b),r=t.annotation(g);if(r){let i=C.fromTransaction(t,r.selection),o=r.side,s=0==o?e.undone:e.done;return s=i?M(s,s.length,n.minDepth,i):P(s,t.startState.selection),new D(0==o?r.rest:s,0==o?s:r.rest)}let i=t.annotation(v);if(("full"==i||"before"==i)&&(e=e.isolate()),!1===t.annotation(s.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=C.fromTransaction(t),a=t.annotation(s.ZX.time),l=t.annotation(s.ZX.userEvent);return o?e=e.addChanges(o,a,l,n,t):t.selection&&(e=e.addSelection(t.startState.selection,a,l,n.newGroupDelay)),("full"==i||"after"==i)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new D(e.done.map(C.fromJSON),e.undone.map(C.fromJSON))});function x(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(w,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}let k=x(0,!1),A=x(1,!1),S=x(0,!0),O=x(1,!0);class C{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new C(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(n=this.startSelection)?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new C(e.changes&&s.VR.fromJSON(e.changes),[],e.mapped&&s.Gu.fromJSON(e.mapped),e.startSelection&&s.OF.fromJSON(e.startSelection),e.selectionsAfter.map(s.OF.fromJSON))}static fromTransaction(e,t){let n=E;for(let t of e.startState.facet(y)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new C(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,E)}static selection(e){return new C(void 0,E,void 0,void 0,e)}}function M(e,t,n,r){let i=e.slice(t+1>n+20?t-n-1:0,t);return i.push(r),i}function I(e,t){return e.length?t.length?e.concat(t):e:t}let E=[];function P(e,t){if(!e.length)return[C.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),M(e,e.length-1,1e9,n.setSelAfter(r)))}}function L(e,t){if(!e.length)return e;let n=e.length,r=E;for(;n;){let i=function(e,t,n){let r=I(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):E,n);if(!e.changes)return C.selection(r);let i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new C(i,s.Pe.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[C.selection(r)]:E}let N=/^(input\.type|delete)($|\.)/;class D{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new D(this.done,this.undone):this}addChanges(e,t,n,r,i){var o,a;let l,c,h=this.done,u=h[h.length-1];return new D(h=u&&u.changes&&!u.changes.empty&&e.changes&&(!n||N.test(n))&&(!u.selectionsAfter.length&&t-this.prevTimel.push(e,t)),a.iterChangedRanges((e,t,n,r)=>{for(let e=0;e=t&&n<=i&&(c=!0)}}),c))||"input.type.compose"==n)?M(h,h.length-1,r.minDepth,new C(e.changes.compose(u.changes),I(s.Pe.mapEffects(e.effects,u.changes),u.effects),u.mapped,u.startSelection,E)):M(h,h.length,r.minDepth,e),E,t,n)}addSelection(e,t,n,r){var i;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:E;return o.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length)?this:new D(P(this.done,e),this.undone,t,n)}addMapping(e){return new D(L(this.done,e),L(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],o=i.selectionsAfter[0]||t.selection;if(n&&i.selectionsAfter.length){let n,s;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:g.of({side:e,rest:(n=r[r.length-1],(s=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),s),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?E:r.slice(0,r.length-1);return i.mapped&&(n=L(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:g.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}D.empty=new D(E,E);let R=[{key:"Mod-z",run:k,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:A,preventDefault:!0},{linux:"Ctrl-Shift-z",run:A,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:O,preventDefault:!0}];function B(e,t){return s.OF.create(e.ranges.map(t),e.mainIndex)}function T(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let r=B(e.selection,n);return!r.eq(e.selection,!0)&&(t(T(e,r)),!0)}function j(e,t){return s.OF.cursor(t?e.to:e.from)}function _(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):j(n,t))}function F(e){return e.textDirectionAt(e.state.selection.main.head)==a.OP.LTR}let H=e=>_(e,!F(e)),V=e=>_(e,F(e));function $(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):j(n,t))}function U(e,t,n){let r,i,o=(0,l.mv)(e).resolveInner(t.head),a=n?c.uY.closedBy:c.uY.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;!function(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,a)?r=n?t.to:t.from:o=t}return i=o.type.prop(a)&&(r=n?(0,l.jU)(e,o.from,1):(0,l.jU)(e,o.to,-1))&&r.matched?n?r.end.to:r.end.from:n?o.to:o.from,s.OF.cursor(i,n?-1:1)}function W(e,t){return z(e,n=>{if(!n.empty)return j(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;let q=e=>W(e,!1),J=e=>W(e,!0);function Z(e){let t=e.scrollDOM.clientHeightn.empty?e.moveVertically(n,t,r.height):j(n,t));if(o.eq(i.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(i.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),l=s.top+r.marginTop,c=s.bottom-r.marginBottom;t&&t.top>l&&t.bottomK(e,!1),Y=e=>K(e,!0);function Q(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=s.OF.cursor(r.from+n))}return i}function X(e,t){let n=B(e.state.selection,e=>{let n=t(e);return s.OF.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return!n.eq(e.state.selection)&&(e.dispatch(T(e.state,n)),!0)}function ee(e,t){return X(e,n=>e.moveByChar(n,t))}let et=e=>ee(e,!F(e)),en=e=>ee(e,F(e));function er(e,t){return X(e,n=>e.moveByGroup(n,t))}function ei(e,t){return X(e,n=>e.moveVertically(n,t))}let eo=e=>ei(e,!1),es=e=>ei(e,!0);function ea(e,t){return X(e,n=>e.moveVertically(n,t,Z(e).height))}let el=e=>ea(e,!1),ec=e=>ea(e,!0),eh=({state:e,dispatch:t})=>(t(T(e,{anchor:0})),!0),eu=({state:e,dispatch:t})=>(t(T(e,{anchor:e.doc.length})),!0),ef=({state:e,dispatch:t})=>(t(T(e,{anchor:e.selection.main.anchor,head:0})),!0),ed=({state:e,dispatch:t})=>(t(T(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ep(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let o=n.doc.lineAt(r.head);if(t?o.to0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.heado.to){i.some(e=>e.head==r.head)||i.push(r);break}if(r.head==n.head)break;n=r}}return i.length!=r.ranges.length&&(e.dispatch(T(n,s.OF.create(i,i.length-1))),!0)}function em(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:o}=r;if(i==o){let s=t(r);si&&(n="delete.forward",s=eg(e,s,!0)),i=Math.min(i,s),o=Math.max(o,s)}else i=eg(e,i,!1),o=eg(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:s.OF.cursor(i,it(e)))r.between(t,t,(e,r)=>{et&&(t=n?r:e)});return t}let ev=(e,t,n)=>em(e,r=>{let i=r.from,{state:o}=e,a=o.doc.lineAt(i),c,h;if(n&&!t&&i>a.from&&iev(e,!1,!0),eb=e=>ev(e,!0,!1),ew=(e,t)=>em(e,n=>{let r=n.head,{state:i}=e,o=i.doc.lineAt(r),a=i.charCategorizer(r);for(let e=null;;){if(r==(t?o.to:o.from)){r==n.head&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let l=(0,s.zK)(o.text,r-o.from,t)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),h=a(c);if(null!=e&&h!=e)break;(" "!=c||r!=n.head)&&(e=h),r=l}return r}),ex=e=>ew(e,!1);function ek(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(r.empty||r.to!=o.from||(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}function eA(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of ek(e)){if(n?t.to==e.doc.length:0==t.from)continue;let o=e.doc.lineAt(n?t.to+1:t.from-1),a=o.length+1;if(n)for(let n of(r.push({from:t.to,to:o.to},{from:t.from,insert:o.text+e.lineBreak}),t.ranges))i.push(s.OF.range(Math.min(e.doc.length,n.anchor+a),Math.min(e.doc.length,n.head+a)));else for(let n of(r.push({from:o.from,to:t.from},{from:t.to,insert:e.lineBreak+o.text}),t.ranges))i.push(s.OF.range(n.anchor-a,n.head-a))}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:s.OF.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function eS(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of ek(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let eO=eM(!1),eC=eM(!0);function eM(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,o=t.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,l.mv)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),o;return r&&i&&r.to<=t&&i.from>=t&&(o=r.type.prop(c.uY.closedBy))&&o.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}(t,r);e&&(r=i=(i<=o.to?o:t.doc.lineAt(i)).to);let h=new l.KB(t,{simulateBreak:r,simulateDoubleBreak:!!a}),u=(0,l._v)(h,r);for(null==u&&(u=(0,s.y$)(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize));io.from&&r{let i=[];for(let o=r.from;o<=r.to;){let s=e.doc.lineAt(o);s.number>n&&(r.empty||r.to>s.from)&&(t(s,i,r),n=s.number),o=s.to+1}let o=e.changes(i);return{changes:i,range:s.OF.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}let eE=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eI(e,(t,n)=>{n.push({from:t.from,insert:e.facet(l.Xt)})}),{userEvent:"input.indent"})),!0),eP=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eI(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=(0,s.y$)(r,e.tabSize),o=0,a=(0,l.EI)(e,Math.max(0,i-(0,l.tp)(e)));for(;oz(e,t=>s.OF.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>X(e,t=>s.OF.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>z(e,t=>s.OF.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>X(e,t=>s.OF.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:eb},{key:"Ctrl-h",run:ey},{key:"Ctrl-k",run:e=>em(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:s.EY.of(["",""])},range:s.OF.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:(0,s.zK)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,s.zK)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:e.doc.slice(n,o).append(e.doc.slice(i,n))},range:s.OF.cursor(o)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:Y}],eN=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>z(e,t=>U(e.state,t,!F(e))),shift:e=>X(e,t=>U(e.state,t,!F(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>z(e,t=>U(e.state,t,F(e))),shift:e=>X(e,t=>U(e.state,t,F(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>eA(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>eS(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>eA(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>eS(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>ep(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>ep(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=s.OF.create([n.main]):n.main.empty||(r=s.OF.create([s.OF.cursor(n.main.head)])),!!r&&(t(T(e,r)),!0)}},{key:"Mod-Enter",run:eC},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=ek(e).map(({from:t,to:n})=>s.OF.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:s.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=B(e.selection,t=>{let n=(0,l.mv)(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return s.OF.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(T(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eP},{key:"Mod-]",run:eE},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new l.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eI(e,(t,i,o)=>{let s=(0,l._v)(r,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.EI)(e,s);(a!=c||o.from{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(ek(t).map(({from:e,to:n})=>(e>0?e--:n{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>(function(e,t,n){let r=!1,i=B(e.selection,t=>{let i=(0,l.jU)(e,t.head,-1)||(0,l.jU)(e,t.head,1)||t.head>0&&(0,l.jU)(e,t.head-1,1)||t.head{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=p(e.state,n.from);return r.line?u(e):!!r.block&&d(e)}},{key:"Alt-A",run:f},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:H,shift:et,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>$(e,!F(e)),shift:e=>er(e,!F(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>z(e,t=>Q(e,t,!F(e))),shift:e=>X(e,t=>Q(e,t,!F(e))),preventDefault:!0},{key:"ArrowRight",run:V,shift:en,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>$(e,F(e)),shift:e=>er(e,F(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>z(e,t=>Q(e,t,F(e))),shift:e=>X(e,t=>Q(e,t,F(e))),preventDefault:!0},{key:"ArrowUp",run:q,shift:eo,preventDefault:!0},{mac:"Cmd-ArrowUp",run:eh,shift:ef},{mac:"Ctrl-ArrowUp",run:G,shift:el},{key:"ArrowDown",run:J,shift:es,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eu,shift:ed},{mac:"Ctrl-ArrowDown",run:Y,shift:ec},{key:"PageUp",run:G,shift:el},{key:"PageDown",run:Y,shift:ec},{key:"Home",run:e=>z(e,t=>Q(e,t,!1)),shift:e=>X(e,t=>Q(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:eh,shift:ef},{key:"End",run:e=>z(e,t=>Q(e,t,!0)),shift:e=>X(e,t=>Q(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eu,shift:ed},{key:"Enter",run:eO,shift:eO},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:ey,shift:ey,preventDefault:!0},{key:"Delete",run:eb,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ex,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>ew(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>em(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>em(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head({mac:e.key,run:e.run,shift:e.shift})))),eD={key:"Tab",run:eE,shift:eP};var eR=n(48156);let eB="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class eT{constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(eB(e)):eB,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,s.vS)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,s.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,s.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n;;e++){let o=r.charCodeAt(e),s=this.match(o,i,this.bufferPos+this.bufferStart);if(e==r.length-1){if(s)return this.value=s,this;break}i==n&&ethis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=e$(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||r.to<=t){let r=new eH(t,e.sliceString(t,n));return eF.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=e$(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=eH.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function e$(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t=56320&&r<57344;)t++;return t}"undefined"!=typeof Symbol&&(e_.prototype[Symbol.iterator]=eV.prototype[Symbol.iterator]=function(){return this});let eU={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},eW=s.sj.define({combine:e=>(0,s.QR)(e,eU,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),eq=a.NZ.mark({class:"cm-selectionMatch"}),eJ=a.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function eZ(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=s.Je.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=s.Je.Word)}let eK=a.Z9.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(eW),{state:n}=e,r=n.selection;if(r.ranges.length>1)return a.NZ.none;let i=r.main,o,l=null;if(i.empty){if(!t.highlightWordAroundCursor)return a.NZ.none;let e=n.wordAt(i.head);if(!e)return a.NZ.none;l=n.charCategorizer(i.head),o=n.sliceDoc(e.from,e.to)}else{let e=i.to-i.from;if(e200)return a.NZ.none;if(t.wholeWords){var c,h,u;if(o=n.sliceDoc(i.from,i.to),!(eZ(l=n.charCategorizer(i.head),n,i.from,i.to)&&(c=l,h=i.from,u=i.to,c(n.sliceDoc(h,h+1))==s.Je.Word&&c(n.sliceDoc(u-1,u))==s.Je.Word)))return a.NZ.none}else if(!(o=n.sliceDoc(i.from,i.to)))return a.NZ.none}let f=[];for(let r of e.visibleRanges){let e=new eT(n.doc,o,r.from,r.to);for(;!e.next().done;){let{from:r,to:o}=e.value;if((!l||eZ(l,n,r,o))&&(i.empty&&r<=i.from&&o>=i.to?f.push(eJ.range(r,o)):(r>=i.to||o<=i.from)&&f.push(eq.range(r,o)),f.length>t.maxMatches))return a.NZ.none}}return a.NZ.set(f)}},{decorations:e=>e.decorations}),eG=a.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),eY=s.sj.define({combine:e=>(0,s.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new tg(e),scrollToMatch:e=>a.Lz.scrollIntoView(e)})});class eQ{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,ej),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new e6(this):new e1(this)}getCursor(e,t=0,n){let r=e.doc?e:s.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?e2(this,r,t,n):e0(this,r,t,n)}}class eX{constructor(e){this.spec=e}}function e0(e,t,n,r){var i,o,a,l;let c;return e.wholeWord&&(a=t.doc,l=t.charCategorizer(t.selection.main.head),c=(e,t,n,r)=>((r>e||r+n.length(!o||!!o(e,n,r,s))&&i(e>=s&&n<=s+r.length?r.slice(e-s,n-s):t.doc.sliceString(e,n),t,e,n)),new eT(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class e1 extends eX{constructor(e){super(e)}nextMatch(e,t,n){let r=e0(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=e0(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=e0(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),r&&(r.from!=t||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=e0(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=e0(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function e2(e,t,n,r){var i,o,a;let l;return e.wholeWord&&(a=t.charCategorizer(t.selection.main.head),l=(e,t,n)=>!n[0].length||(a(e3(n.input,n.index))!=s.Je.Word||a(e4(n.input,n.index))!=s.Je.Word)&&(a(e4(n.input,n.index+n[0].length))!=s.Je.Word||a(e3(n.input,n.index+n[0].length))!=s.Je.Word)),e.test&&(i=e.test,o=l,l=(e,n,r)=>(!o||o(e,n,r))&&i(r[0],t,e,n)),new e_(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:l},n,r)}function e3(e,t){return e.slice((0,s.zK)(e,t,!1),t)}function e4(e,t){return e.slice(t,(0,s.zK)(e,t))}class e6 extends eX{nextMatch(e,t,n){let r=e2(this.spec,e,n,e.doc.length).next();return r.done&&(r=e2(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),o=e2(this.spec,e,i,n),s=null;for(;!o.next().done;)s=o.value;if(s&&(i==t||s.from>i+10))return s;if(i==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=e2(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}let e8=s.Pe.define(),e5=s.Pe.define(),e7=s.sU.define({create:e=>new e9(th(e).create(),null),update(e,t){for(let n of t.effects)n.is(e8)?e=new e9(n.value.create(),e.panel):n.is(e5)&&(e=new e9(e.query,n.value?tc:null));return e},provide:e=>a.S7.from(e,e=>e.panel)});class e9{constructor(e,t){this.query=e,this.panel=t}}let te=a.NZ.mark({class:"cm-searchMatch"}),tt=a.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tn=a.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(e7))}update(e){let t=e.state.field(e7);(t!=e.startState.field(e7)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.NZ.none;let{view:n}=this,r=new s.vB;for(let t=0,i=n.visibleRanges,o=i.length;ti[t+1].from-500;)a=i[++t].to;e.highlight(n.state,s,a,(e,t)=>{let i=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);r.add(e,t,i?tt:te)})}return r.finish()}},{decorations:e=>e.decorations});function tr(e){return t=>{let n=t.state.field(e7,!1);return n&&n.query.spec.valid?e(t,n):td(t)}}let ti=tr((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=s.OF.single(r.from,r.to),o=e.state.facet(eY);return e.dispatch({selection:i,effects:[tb(e,r),o.scrollToMatch(i.main,e)],userEvent:"select.search"}),tf(e),!0}),to=tr((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let o=s.OF.single(i.from,i.to),a=e.state.facet(eY);return e.dispatch({selection:o,effects:[tb(e,i),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),tf(e),!0}),ts=tr((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:s.OF.create(n.map(e=>s.OF.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),ta=tr((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=t.nextMatch(n,r,r);if(!o)return!1;let l=o,c=[],h,u,f=[];l.from==r&&l.to==i&&(u=n.toText(t.getReplacement(l)),c.push({from:l.from,to:l.to,insert:u}),l=t.nextMatch(n,l.from,l.to),f.push(a.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+".")));let d=e.state.changes(c);return l&&(h=s.OF.single(l.from,l.to).map(d),f.push(tb(e,l)),f.push(n.facet(eY).scrollToMatch(h.main,e))),e.dispatch({changes:d,selection:h,effects:f,userEvent:"input.replace"}),!0}),tl=tr((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.Lz.announce.of(r),userEvent:"input.replace.all"}),!0});function tc(e){return e.state.facet(eY).createPanel(e)}function th(e,t){var n,r,i,o,s;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let c=e.facet(eY);return new eQ({search:(null!=(n=null==t?void 0:t.literal)?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:c.caseSensitive,literal:null!=(i=null==t?void 0:t.literal)?i:c.literal,regexp:null!=(o=null==t?void 0:t.regexp)?o:c.regexp,wholeWord:null!=(s=null==t?void 0:t.wholeWord)?s:c.wholeWord})}function tu(e){let t=(0,a.ld)(e,tc);return t&&t.dom.querySelector("[main-field]")}function tf(e){let t=tu(e);t&&t==e.root.activeElement&&t.select()}let td=e=>{let t=e.state.field(e7,!1);if(t&&t.panel){let n=tu(e);if(n&&n!=e.root.activeElement){let r=th(e.state,t.query.spec);r.valid&&e.dispatch({effects:e8.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[e5.of(!0),t?e8.of(th(e.state,t.query.spec)):s.Pe.appendConfig.of(tx)]});return!0},tp=e=>{let t=e.state.field(e7,!1);if(!t||!t.panel)return!1;let n=(0,a.ld)(e,tc);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:e5.of(!1)}),!0},tm=[{key:"Mod-f",run:td,scope:"editor search-panel"},{key:"F3",run:ti,shift:to,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:ti,shift:to,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:tp,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],a=0;for(let t=new eT(e.doc,e.sliceDoc(r,i));!t.next().done;){if(o.length>1e3)return!1;t.value.from==r&&(a=o.length),o.push(s.OF.range(t.value.from,t.value.to))}return t(e.update({selection:s.OF.create(o,a),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:r,result:i}=(0,a.ui)(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return i.then(n=>{let i=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!i)return void e.dispatch({effects:r});let o=t.doc.lineAt(t.selection.main.head),[,l,c,h,u]=i,f=h?+h.slice(1):0,d=c?+c:o.number;if(c&&u){let e=d/100;l&&(e=e*("-"==l?-1:1)+o.number/t.doc.lines),d=Math.round(t.doc.lines*e)}else c&&l&&(d=d*("-"==l?-1:1)+o.number);let p=t.doc.line(Math.max(1,Math.min(t.doc.lines,d))),m=s.OF.cursor(p.from+Math.max(0,Math.min(f,p.length)));e.dispatch({effects:[r,a.Lz.scrollIntoView(m.from,{y:"center"})],selection:m})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=s.OF.create(n.ranges.map(t=>e.wordAt(t.head)||s.OF.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=r))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new eT(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new eT(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(o){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(s.OF.range(i.from,i.to),!1),effects:a.Lz.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class tg{constructor(e){this.view=e;let t=this.query=e.state.field(e7).query.spec;function n(e,t,n){return(0,eR.A)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,eR.A)("input",{value:t.search,placeholder:tv(e,"Find"),"aria-label":tv(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,eR.A)("input",{value:t.replace,placeholder:tv(e,"Replace"),"aria-label":tv(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,eR.A)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,eR.A)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,eR.A)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,eR.A)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>ti(e),[tv(e,"next")]),n("prev",()=>to(e),[tv(e,"previous")]),n("select",()=>ts(e),[tv(e,"all")]),(0,eR.A)("label",null,[this.caseField,tv(e,"match case")]),(0,eR.A)("label",null,[this.reField,tv(e,"regexp")]),(0,eR.A)("label",null,[this.wordField,tv(e,"by word")]),...e.state.readOnly?[]:[(0,eR.A)("br"),this.replaceField,n("replace",()=>ta(e),[tv(e,"replace")]),n("replaceAll",()=>tl(e),[tv(e,"replace all")])],(0,eR.A)("button",{name:"close",onclick:()=>tp(e),"aria-label":tv(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new eQ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:e8.of(e)}))}keydown(e){(0,a.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?to:ti)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),ta(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(e8)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(eY).top}}function tv(e,t){return e.state.phrase(t)}let ty=/[\s\.,:;?!]/;function tb(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,o=Math.max(r.from,t-30),s=Math.min(i,n+30),l=e.state.sliceDoc(o,s);if(o!=r.from){for(let e=0;e<30;e++)if(!ty.test(l[e+1])&&ty.test(l[e])){l=l.slice(e);break}}if(s!=i){for(let e=l.length-1;e>l.length-30;e--)if(!ty.test(l[e-1])&&ty.test(l[e])){l=l.slice(0,e);break}}return a.Lz.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${r.number}.`)}let tw=a.Lz.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),tx=[e7,s.Nb.low(tn),tw];class tk{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,l.mv)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(tC(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function tA(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}class tS{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function tO(e){return e.selection.main.from}function tC(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let tM=s.YH.define(),tI=new WeakMap;function tE(e){if(!Array.isArray(e))return e;let t=tI.get(e);return t||tI.set(e,t=function(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}(e)),t}let tP=s.Pe.define(),tL=s.Pe.define();class tN{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t=48&&c<=57||c>=97&&c<=122?2:+(c>=65&&c<=90):(b=(0,s.MK)(c))!=b.toLowerCase()?1:2*(b!=b.toUpperCase());(!r||1==w&&g||0==y&&0!=w)&&(t[u]==c||n[u]==c&&(f=!0)?o[u++]=r:o.length&&(v=!1)),y=w,r+=(0,s.Fh)(c)}return u==l&&0==o[0]&&v?this.result(-100+(f?-200:0),o,e):d==l&&0==p?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):d==l?this.ret(-900-e.length,[p,m]):u==l?this.result(-100+(f?-200:0)+-700+(v?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[],i=0;for(let e of t){let t=e+(this.astral?(0,s.Fh)((0,s.vS)(n,e)):1);i&&r[i-1]==e?r[i-1]=t:(r[i++]=e,r[i++]=t)}return this.ret(e-n.length,r)}}class tD{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length(0,s.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:tT,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>tB(e(n),t(n)),optionClass:(e,t)=>n=>tB(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function tB(e,t){return e?t?e+" "+t:e:t}function tT(e,t,n,r,i,o){let s=e.textDirection==a.OP.RTL,l=s,c=!1,h="top",u,f,d=t.left-i.left,p=i.right-t.right,m=r.right-r.left,g=r.bottom-r.top;if(l&&d=g||e>t.top?u=n.bottom-t.top:(h="bottom",u=t.bottom-n.top)}let v=(t.bottom-t.top)/o.offsetHeight,y=(t.right-t.left)/o.offsetWidth;return{style:`${h}: ${u/v}px; max-width: ${f/y}px`,class:"cm-completionInfo-"+(c?s?"left-narrow":"right-narrow":l?"left":"right")}}function tz(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class tj{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:i,selected:o}=r.open,s=e.state.facet(tR);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement("span");i.className="cm-completionLabel";let o=e.displayLabel||e.label,s=0;for(let e=0;es&&i.appendChild(document.createTextNode(o.slice(s,t)));let a=i.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(o.slice(t,n))),a.className="cm-completionMatchedText",s=n}return se.position-t.position).map(e=>e.render)}(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=tz(i.length,o,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(i=/-(\d+)$/.exec(t.id))&&+i[1]{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(tR).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:tL.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:o,disabled:s}=n.open;r.open&&r.open.options==i||(this.range=tz(i.length,o,e.state.facet(tR).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),s!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected=this.range.to)&&(this.range=tz(t.options.length,t.selected,this.view.state.facet(tR).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();let{completion:r}=t.options[t.selected],{info:i}=r;if(!i)return;let o="string"==typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,a.c_)(this.view.state,e,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let r,i,o,s=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),s=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return s&&(t=this.list,n=s,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height/t.offsetHeight,i.topr.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/o)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom{e.target==r&&e.preventDefault()});let i=null;for(let o=n.from;on.from||0==n.from)&&(i=e,"string"!=typeof l&&l.header?r.appendChild(l.header(l)):r.appendChild(document.createElement("completion-section")).textContent=e)}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let h=this.optionClass(s);for(let e of(h&&(c.className=h),this.optionContent)){let t=e(s,this.view.state,this.view,a);t&&c.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to=this.options.length?this:new tF(this.options,tU(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let s=function(e,t){let n=[],r=null,i=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},s=t.facet(tR);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new tS(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),a,l=s.filterStrict?new tD(n):new tN(n);for(let t of r.result.options)if(a=l.match(t.label)){let n=t.displayLabel?e?e(t,a.matched):[]:a.matched,s=a.score+(t.boost||0);if(o(new tS(t,r.source,n,s)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(s,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.namet.score-e.score||c(e.completion,t.completion))){let t=e.completion;l&&l.label==t.label&&l.detail==t.detail&&(null==l.type||null==t.type||l.type==t.type)&&l.apply==t.apply&&l.boost==t.boost?t_(e.completion)>t_(l)&&(a[a.length-1]=e):a.push(e),l=e.completion}return a}(e,t);if(!s.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let a=t.facet(tR).selectOnOpen?0:-1;if(r&&r.selected!=a&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;tt.hasResult()?Math.min(e,t.from):e,1e8),create:tX,above:i.aboveCursor},r?r.timestamp:Date.now(),a,!1)}map(e){return new tF(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new tF(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class tH{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new tH(tW,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(tR),r=(n.override||t.languageDataAt("autocomplete",tO(t)).map(tE)).map(t=>(this.active.find(e=>e.source==t)||new tJ(t,+!!this.active.some(e=>0!=e.state))).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,o=e.effects.some(e=>e.is(tK));for(let s of(i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;ne.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new tJ(e.source,0):e)),e.effects))s.is(tG)&&(i=i&&i.setSelected(s.value,this.id));return r==this.active&&i==this.open?this:new tH(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?tV:t$}}let tV={"aria-autocomplete":"list"},t$={};function tU(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let tW=[];function tq(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(tM);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class tJ{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=tq(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new tJ(r.source,0)),4&n&&0==r.state&&(r=new tJ(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(tP))r=new tJ(r.source,1,t.value);else if(t.is(tL))r=new tJ(r.source,0);else if(t.is(tK))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(tO(e.state))}}class tZ extends tJ{constructor(e,t,n,r,i,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=tO(e.state);if(s>o||!r||2&t&&(tO(e.startState)==this.from||se.map(e=>e.map(t))}),tG=s.Pe.define(),tY=s.sU.define({create:()=>tH.start(),update:(e,t)=>e.update(t),provide:e=>[a.DK.from(e,e=>e.tooltip),a.Lz.contentAttributes.from(e,e=>e.attrs)]});function tQ(e,t){let n=t.completion.apply||t.completion.label,r=e.state.field(tY).active.find(e=>e.source==t.source);return r instanceof tZ&&("string"==typeof n?e.dispatch({...function(e,t,n,r){let{main:i}=e.selection,o=n-i.from,a=r-i.from;return{...e.changeByRange(l=>{if(l!=i&&n!=r&&e.sliceDoc(l.from+o,l.from+a)!=e.sliceDoc(n,r))return{range:l};let c=e.toText(t);return{changes:{from:l.from+o,to:r==i.from?l.to:l.from+a,insert:c},range:s.OF.cursor(l.from+o+c.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,r.from,r.to),annotations:tM.of(t.completion)}):n(e,t.completion,r.from,r.to),!0)}let tX=e=>new tj(e,tY,tQ);function t0(e,t="option"){return n=>{let r=n.state.field(tY,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(e?1:-1):e?0:s-1;return l<0?l="page"==t?0:s-1:l>=s&&(l="page"==t?s-1:0),n.dispatch({effects:tG.of(l)}),!0}}let t1=e=>!!e.state.field(tY,!1)&&(e.dispatch({effects:tP.of(!0)}),!0);class t2{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let t3=a.Z9.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(tY).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(tY),n=e.state.facet(tR);if(!e.selectionSet&&!e.docChanged&&e.startState.field(tY)==t)return;let r=e.transactions.some(e=>{let t=tq(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,a.c_)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(tP)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),i):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(tY);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(tR).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=tO(t),r=new tk(t,n,e.explicit,this.view),i=new t2(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:tL.of(null)}),(0,a.c_)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(tR).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(tR),r=this.view.state.field(tY);for(let i=0;ie.source==o.active.source);if(s&&s.isPending)if(null==o.done){let e=new tJ(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(s)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:tK.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(tY,!1);if(t&&t.tooltip&&this.view.state.facet(tR).closeOnBlur){let n=t.open&&(0,a.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:tL.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:tP.of(!1)}),20),this.composing=0}}}),t4="object"==typeof navigator&&/Win/.test(navigator.platform),t6=s.Nb.highest(a.Lz.domEventHandlers({keydown(e,t){let n=t.state.field(tY,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(t4&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&tQ(t,r),!1}})),t8=a.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),t5=a.NZ.widget({widget:new class extends a.xO{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),t7=a.NZ.mark({class:"cm-snippetField"});class t9{constructor(e,t){this.ranges=e,this.active=t,this.deco=a.NZ.set(e.map(e=>(e.from==e.to?t5:t7).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new t9(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let ne=s.Pe.define({map:(e,t)=>e&&e.map(t)}),nt=s.Pe.define(),nn=s.sU.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(ne))return n.value;if(n.is(nt)&&e)return new t9(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>a.Lz.decorations.from(e,e=>e?e.deco:a.NZ.none)});function nr(e){return({state:t,dispatch:n})=>{var r;let i=t.field(nn,!1);if(!i||e<0&&0==i.active)return!1;let o=i.active+e,a=e>0&&!i.ranges.some(t=>t.field==o+e);return n(t.update({selection:(r=i.ranges,s.OF.create(r.filter(e=>e.field==o).map(e=>s.OF.range(e.from,e.to)))),effects:ne.of(a?null:new t9(i.ranges,o)),scrollIntoView:!0})),!0}}let ni=[{key:"Tab",run:nr(1),shift:nr(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(nn,!1)&&(t(e.update({effects:ne.of(null)})),!0)}],no={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ns=s.Pe.define({map(e,t){let n=t.mapPos(e,-1,s.iR.TrackAfter);return null==n?void 0:n}}),na=new class extends s.FB{};na.startSide=1,na.endSide=-1;let nl=s.sU.define({create:()=>s.om.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(ns)&&(e=e.update({add:[na.range(n.value,n.value+1)]}));return e}}),nc="()[]{}<>\xab\xbb\xbb\xab[]{}";function nh(e){for(let t=0;t{if((nf?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,s.Fh)((0,s.vS)(r,0))||t!=i.from||n!=i.to)return!1;let o=function(e,t){let n=nu(e,e.selection.main.head),r=n.brackets||no.brackets;for(let i of r){let o=nh((0,s.vS)(i,0));if(t==i)return o==i?function(e,t,n,r){let i=r.stringPrefixes||no.stringPrefixes,o=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ns.of(r.to+t.length),range:s.OF.range(r.anchor+t.length,r.head+t.length)};let a=r.head,c=ng(e.doc,a),h;if(c==t){if(nv(e,a))return{changes:{insert:t+t,from:a},effects:ns.of(a+t.length),range:s.OF.cursor(a+t.length)};else if(nm(e,a)){let r=n&&e.sliceDoc(a,a+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:a,to:a+r.length,insert:r},range:s.OF.cursor(a+r.length)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(h=ny(e,a-2*t.length,i))>-1&&nv(e,h))return{changes:{insert:t+t+t+t,from:a},effects:ns.of(a+t.length),range:s.OF.cursor(a+t.length)};else if(e.charCategorizer(a)(c)!=s.Je.Word&&ny(e,a,i)>-1&&!function(e,t,n,r){let i=(0,l.mv)(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.max(e,t.length),0);for(let s=0;s<5;s++){let s=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),a=s.indexOf(n);if(!a||a>-1&&r.indexOf(s.slice(0,a))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+a;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=i.to==t&&i.parent;if(!l)break;i=l}return!1}(e,a,t,i))return{changes:{insert:t+t,from:a},effects:ns.of(a+t.length),range:s.OF.cursor(a+t.length)};return{range:o=r}});return o?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,r.indexOf(i+i+i)>-1,n):function(e,t,n,r){let i=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ns.of(o.to+t.length),range:s.OF.range(o.anchor+t.length,o.head+t.length)};let a=ng(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:ns.of(o.head+t.length),range:s.OF.cursor(o.head+t.length)}:{range:i=o}});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,i,o,n.before||no.before);if(t==o&&nm(e,e.selection.main.from))return function(e,t,n){let r=null,i=e.changeByRange(t=>t.empty&&ng(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:s.OF.cursor(t.head+n.length)}:r={range:t});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),np=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=nu(e,e.selection.main.head).brackets||no.brackets,r=null,i=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return(0,s.Fh)((0,s.vS)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&ng(e.doc,t.head)==nh((0,s.vS)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:s.OF.cursor(t.head-i.length)}}return{range:r=t}});return r||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function nm(e,t){let n=!1;return e.field(nl).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ng(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,s.Fh)((0,s.vS)(n,0)))}function nv(e,t){let n=(0,l.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function ny(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=s.Je.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=s.Je.Word)return n}return -1}let nb=[{key:"Ctrl-Space",run:t1},{mac:"Alt-`",run:t1},{mac:"Alt-i",run:t1},{key:"Escape",run:e=>{let t=e.state.field(tY,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:tL.of(null)}),!0)}},{key:"ArrowDown",run:t0(!0)},{key:"ArrowUp",run:t0(!1)},{key:"PageDown",run:t0(!0,"page")},{key:"PageUp",run:t0(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(tY,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.facet(tR).defaultKeymap?[nb]:[]));class nx{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nk{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let r=n.facet(nD).markerFilter;r&&(e=r(e,n));let i=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),o=new s.vB,l=[],c=0,h=n.doc.iter(),u=0,f=n.doc.length;for(let e=0;;){let t,n,r=e==i.length?null:i[e];if(!r&&!l.length)break;if(l.length)t=c,n=l.reduce((e,t)=>Math.min(e,t.to),r&&r.from>t?r.from:1e8);else{if((t=r.from)>f)break;n=r.to,l.push(r),e++}for(;er.from||r.to==t))l.push(r),e++,n=Math.min(r.to,n);else{n=Math.min(r.from,n);break}}n=Math.min(n,f);let s=!1;if(l.some(e=>e.from==t&&(e.to==n||n==f))&&!(s=t==n)&&n-t<10){let e=t-(u+h.value.length);e>0&&(h.next(e),u=t);for(let e=t;;){if(e>=n){s=!0;break}if(!h.lineBreak&&u+h.value.length>e)break;e=u+h.value.length,u+=h.value.length,h.next()}}let d=nV(l);if(s)o.add(t,t,a.NZ.widget({widget:new nz(d),diagnostics:l.slice()}));else{let e=l.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");o.add(t,n,a.NZ.mark({class:"cm-lintRange cm-lintRange-"+d+e,diagnostics:l.slice(),inclusiveEnd:l.some(e=>e.to>n)}))}if((c=n)==f)break;for(let e=0;e{if(!(t&&0>i.diagnostics.indexOf(t)))if(r){if(0>i.diagnostics.indexOf(r.diagnostic))return!1;r=new nx(r.from,n,r.diagnostic)}else r=new nx(e,n,t||i.diagnostics[0])}),r}function nS(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(nD).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(nO))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}let nO=s.Pe.define(),nC=s.Pe.define(),nM=s.Pe.define(),nI=s.sU.define({create:()=>new nk(a.NZ.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=nA(n,e.selected.diagnostic,i)||nA(n,null,i)}!n.size&&i&&t.state.facet(nD).autoPanel&&(i=null),e=new nk(n,i,r)}for(let n of t.effects)if(n.is(nO)){let r=t.state.facet(nD).autoPanel?n.value.length?n_.open:null:e.panel;e=nk.init(n.value,r,t.state)}else n.is(nC)?e=new nk(e.diagnostics,n.value?n_.open:null,e.selected):n.is(nM)&&(e=new nk(e.diagnostics,e.panel,n.value));return e},provide:e=>[a.S7.from(e,e=>e.panel),a.Lz.decorations.from(e,e=>e.diagnostics)]}),nE=a.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function nP(e,t){return(0,eR.A)("ul",{class:"cm-tooltip-lint"},t.map(t=>nT(e,t,!1)))}let nL=e=>{let t=e.state.field(nI,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nC.of(!1)}),!0)},nN=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(nI,!1);t&&t.panel||e.dispatch({effects:function(e,t){return e.field(nI,!1)?t:t.concat(s.Pe.appendConfig.of(nW))}(e.state,[nC.of(!0)])});let n=(0,a.ld)(e,n_.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(nI,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return(!!r.value||!!(r=t.diagnostics.iter(0)).value&&(r.from!=n.from||r.to!=n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],nD=s.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,s.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:nR,tooltipFilter:nR,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function nR(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function nB(e){let t=[];if(e)n:for(let{name:n}of e){for(let e=0;ee.toLowerCase()==r.toLowerCase())){t.push(r);continue n}}t.push("")}return t}function nT(e,t,n){var r;let i=n?nB(t.actions):[];return(0,eR.A)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,eR.A)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let o=!1,s=r=>{if(r.preventDefault(),o)return;o=!0;let i=nA(e.state.field(nI).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:a}=n,l=i[r]?a.indexOf(i[r]):-1,c=l<0?a:[a.slice(0,l),(0,eR.A)("u",a.slice(l,l+1)),a.slice(l+1)],h=n.markClass?" "+n.markClass:"";return(0,eR.A)("button",{type:"button",class:"cm-diagnosticAction"+h,onclick:s,onmousedown:s,"aria-label":` Action: ${a}${l<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&(0,eR.A)("div",{class:"cm-diagnosticSource"},t.source))}class nz extends a.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,eR.A)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class nj{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=nT(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class n_{constructor(e){this.view=e,this.items=[],this.list=(0,eR.A)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)nL(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],r=nB(n.actions);for(let i=0;i{for(let t=0;tnL(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nI).selected;if(!e)return -1;for(let t=0;t{for(let e of a.diagnostics){if(o.has(e))continue;o.add(e);let s=-1,a;for(let t=n;tn&&(this.items.splice(n,s-n),r=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),i=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}});n({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.topt.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=nA(this.view.state.field(nI).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nM.of(t)})}static open(e){return new n_(e)}}function nF(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let nH=a.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nF("#d11")},".cm-lintRange-warning":{backgroundImage:nF("orange")},".cm-lintRange-info":{backgroundImage:nF("#999")},".cm-lintRange-hint":{backgroundImage:nF("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function nV(e){let t="hint",n=1;for(let i of e){var r;let e="error"==(r=i.severity)?4:"warning"==r?3:"info"==r?2:1;e>n&&(n=e,t=i.severity)}return t}a.wJ;let n$=s.Pe.define(),nU=s.sU.define({create:()=>null,update:(e,t)=>(e&&t.docChanged&&(e=nS(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(n$)?t.value:e,e)),provide:e=>a.DK.from(e)}),nW=[nI,a.Lz.decorations.compute([nI],e=>{let{selected:t,panel:n}=e.field(nI);return t&&n&&t.from!=t.to?a.NZ.set([nE.range(t.from,t.to)]):a.NZ.none}),(0,a.Ux)(function(e,t,n){let{diagnostics:r}=e.state.field(nI),i,o=-1,s=-1;r.between(t-(n<0),t+ +(n>0),(e,r,{spec:a})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t({dom:nP(e,i)})}:null},{hideOn:nS}),nH],nq=s.sj.define({combine:e=>(0,s.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})});var nJ=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(np)),!1!==e.defaultKeymap&&(n=n.concat(eN)),!1!==e.searchKeymap&&(n=n.concat(tm)),!1!==e.historyKeymap&&(n=n.concat(R)),!1!==e.foldKeymap&&(n=n.concat(l.f7)),!1!==e.completionKeymap&&(n=n.concat(nb)),!1!==e.lintKeymap&&(n=n.concat(nN));var r=[];return!1!==e.lineNumbers&&r.push((0,a.$K)()),!1!==e.highlightActiveLineGutter&&r.push((0,a.Wu)()),!1!==e.highlightSpecialChars&&r.push((0,a.N$)()),!1!==e.history&&r.push(function(e={}){return[w,b.of(e),a.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?k:"historyRedo"==e.inputType?A:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&r.push((0,l.Lv)()),!1!==e.drawSelection&&r.push((0,a.VH)()),!1!==e.dropCursor&&r.push((0,a.A)()),!1!==e.allowMultipleSelections&&r.push(s.$t.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&r.push((0,l.WD)()),!1!==e.syntaxHighlighting&&r.push((0,l.y9)(l.Zt,{fallback:!0})),!1!==e.bracketMatching&&r.push((0,l.SG)()),!1!==e.closeBrackets&&r.push([nd,nl]),!1!==e.autocompletion&&r.push(function(e={}){return[t6,tY,tR.of(e),t3,nw,t8]}()),!1!==e.rectangularSelection&&r.push((0,a.D4)()),!1!==t&&r.push((0,a.HJ)()),!1!==e.highlightActiveLine&&r.push((0,a.dz)()),!1!==e.highlightSelectionMatches&&r.push([eG,eK]),e.tabSize&&"number"==typeof e.tabSize&&r.push(l.Xt.of(" ".repeat(e.tabSize))),r.concat([a.w4.of(n.flat())]).filter(Boolean)},nZ=n(78520);let nK="#e06c75",nG="#abb2bf",nY="#7d8799",nQ="#d19a66",nX="#2c313a",n0="#282c34",n1="#353a42",n2="#528bff",n3=a.Lz.theme({"&":{color:nG,backgroundColor:n0},".cm-content":{caretColor:n2},".cm-cursor, .cm-dropCursor":{borderLeftColor:n2},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nG},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:n0,color:nY,border:"none"},".cm-activeLineGutter":{backgroundColor:nX},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n1},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n1,borderBottomColor:n1},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nX,color:nG}}},{dark:!0}),n4=l.cr.define([{tag:nZ._A.keyword,color:"#c678dd"},{tag:[nZ._A.name,nZ._A.deleted,nZ._A.character,nZ._A.propertyName,nZ._A.macroName],color:nK},{tag:[nZ._A.function(nZ._A.variableName),nZ._A.labelName],color:"#61afef"},{tag:[nZ._A.color,nZ._A.constant(nZ._A.name),nZ._A.standard(nZ._A.name)],color:nQ},{tag:[nZ._A.definition(nZ._A.name),nZ._A.separator],color:nG},{tag:[nZ._A.typeName,nZ._A.className,nZ._A.number,nZ._A.changed,nZ._A.annotation,nZ._A.modifier,nZ._A.self,nZ._A.namespace],color:"#e5c07b"},{tag:[nZ._A.operator,nZ._A.operatorKeyword,nZ._A.url,nZ._A.escape,nZ._A.regexp,nZ._A.link,nZ._A.special(nZ._A.string)],color:"#56b6c2"},{tag:[nZ._A.meta,nZ._A.comment],color:nY},{tag:nZ._A.strong,fontWeight:"bold"},{tag:nZ._A.emphasis,fontStyle:"italic"},{tag:nZ._A.strikethrough,textDecoration:"line-through"},{tag:nZ._A.link,color:nY,textDecoration:"underline"},{tag:nZ._A.heading,fontWeight:"bold",color:nK},{tag:[nZ._A.atom,nZ._A.bool,nZ._A.special(nZ._A.variableName)],color:nQ},{tag:[nZ._A.processingInstruction,nZ._A.string,nZ._A.inserted],color:"#98c379"},{tag:nZ._A.invalid,color:"#ffffff"}]),n6=[n3,(0,l.y9)(n4)];var n8=a.Lz.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),n5=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:n=!0,readOnly:r=!1,theme:i="light",placeholder:o="",basicSetup:l=!0}=e,c=[];switch(t&&c.unshift(a.w4.of([eD])),l&&("boolean"==typeof l?c.unshift(nJ()):c.unshift(nJ(l))),o&&c.unshift((0,a.qf)(o)),i){case"light":c.push(n8);break;case"dark":c.push(n6);break;case"none":break;default:c.push(i)}return!1===n&&c.push(a.Lz.editable.of(!1)),r&&c.push(s.$t.readOnly.of(!0)),[...c]};class n7{constructor(e,t){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=t,this.timeoutMS=t,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(e=>{try{e()}catch(e){console.error("TimeoutLatch callback error:",e)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class n9{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),0===this.latches.size&&this.stop()}start(){null===this.interval&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){null!==this.interval&&(clearInterval(this.interval),this.interval=null)}}var re=null,rt=s.YH.define(),rn=[],rr=n(95155),ri=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],ro=(0,o.forwardRef)((e,t)=>{var{className:n,value:l="",selection:c,extensions:h=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:v,minHeight:y,maxHeight:b,width:w,minWidth:x,maxWidth:k,basicSetup:A,placeholder:S,indentWithTab:O,editable:C,readOnly:M,root:I,initialState:E}=e,P=(0,i.A)(e,ri),L=(0,o.useRef)(null),{state:N,view:D,container:R,setContainer:B}=function(e){var{value:t,selection:n,onChange:r,onStatistics:i,onCreateEditor:l,onUpdate:c,extensions:h=rn,autoFocus:u,theme:f="light",height:d=null,minHeight:p=null,maxHeight:m=null,width:g=null,minWidth:v=null,maxWidth:y=null,placeholder:b="",editable:w=!0,readOnly:x=!1,indentWithTab:k=!0,basicSetup:A=!0,root:S,initialState:O}=e,[C,M]=(0,o.useState)(),[I,E]=(0,o.useState)(),[P,L]=(0,o.useState)(),N=(0,o.useState)(()=>({current:null}))[0],D=(0,o.useState)(()=>({current:null}))[0],R=a.Lz.theme({"&":{height:d,minHeight:p,maxHeight:m,width:g,minWidth:v,maxWidth:y},"& .cm-scroller":{height:"100% !important"}}),B=[a.Lz.updateListener.of(e=>{e.docChanged&&"function"==typeof r&&!e.transactions.some(e=>e.annotation(rt))&&(N.current?N.current.reset():(N.current=new n7(()=>{if(D.current){var e=D.current;D.current=null,e()}N.current=null},200),("undefined"==typeof window?new n9:(!re&&(re=new n9),re)).add(N.current)),r(e.state.doc.toString(),e)),i&&i({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)})}),R,...n5({theme:f,editable:w,readOnly:x,placeholder:b,indentWithTab:k,basicSetup:A})];return c&&"function"==typeof c&&B.push(a.Lz.updateListener.of(c)),B=B.concat(h),(0,o.useLayoutEffect)(()=>{if(C&&!P){var e={doc:t,selection:n,extensions:B},r=O?s.$t.fromJSON(O.json,e,O.fields):s.$t.create(e);if(L(r),!I){var i=new a.Lz({state:r,parent:C,root:S});E(i),l&&l(i,r)}}return()=>{I&&(L(void 0),E(void 0))}},[C,P]),(0,o.useEffect)(()=>{e.container&&M(e.container)},[e.container]),(0,o.useEffect)(()=>()=>{I&&(I.destroy(),E(void 0)),N.current&&(N.current.cancel(),N.current=null)},[I]),(0,o.useEffect)(()=>{u&&I&&I.focus()},[u,I]),(0,o.useEffect)(()=>{I&&I.dispatch({effects:s.Pe.reconfigure.of(B)})},[f,h,d,p,m,g,v,y,b,w,x,k,A,r,c]),(0,o.useEffect)(()=>{if(void 0!==t){var e=I?I.state.doc.toString():"";if(I&&t!==e){var n=N.current&&!N.current.isDone,r=()=>{I&&t!==I.state.doc.toString()&&I.dispatch({changes:{from:0,to:I.state.doc.toString().length,insert:t||""},annotations:[rt.of(!0)]})};n?D.current=r:r()}}},[t,I]),{state:P,setState:L,view:I,setView:E,container:C,setContainer:M}}({root:I,value:l,autoFocus:m,theme:g,height:v,minHeight:y,maxHeight:b,width:w,minWidth:x,maxWidth:k,basicSetup:A,placeholder:S,indentWithTab:O,editable:C,readOnly:M,selection:c,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:h,initialState:E});(0,o.useImperativeHandle)(t,()=>({editor:L.current,state:N,view:D}),[L,R,N,D]);var T=(0,o.useCallback)(e=>{L.current=e,B(e)},[B]);if("string"!=typeof l)throw Error("value must be typeof string but got "+typeof l);var z="string"==typeof g?"cm-theme-"+g:"cm-theme";return(0,rr.jsx)("div",(0,r.A)({ref:T,className:""+z+(n?" "+n:"")},P))});ro.displayName="CodeMirror";let rs=ro},75121:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z"}}]},name:"arrow-up",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},78520:(e,t,n)=>{"use strict";n.d(t,{DM:()=>f,_A:()=>E,az:()=>u,pn:()=>l});var r=n(56875);let i=0;class o{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof o&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new o("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new a(e);return e=>e.modified.indexOf(t)>-1?e:a.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let s=0;class a{constructor(e){this.name=e,this.instances=[],this.id=s++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var r,i;return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every((e,t)=>e==i[t]))});if(n)return n;let r=[],i=new o(e.name,r,e,t);for(let e of t)e.instances.push(i);let s=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of s)r.push(a.get(t,e));return i}}function l(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],i=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let s=e[t++];if(t==e.length&&"!"==s){i=0;break}if("/"!=s)throw RangeError("Invalid path: "+e);o=e.slice(t)}let s=n.length-1,a=n[s];if(!a)throw RangeError("Invalid path: "+e);let l=new h(r,i,s>0?n.slice(0,s):null);t[a]=l.sort(t[a])}}return c.add(t)}let c=new r.uY({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let o=new h(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});class h{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function f(e,t,n,r=0,i=e.length){let o=new d(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}h.empty=new h([],2,null);class d{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,o){let{type:s,from:a,to:l}=e;if(a>=n||l<=t)return;s.isTop&&(o=this.highlighters.filter(e=>!e.scope||e.scope(s)));let u=i,f=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,d=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(o,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(i+=(i?" ":"")+d)),this.startSpan(Math.max(t,a),u),f.opaque)return;let p=e.tree&&e.tree.prop(r.uY.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+a,1),s=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),c=e.firstChild();for(let h=0,f=a;;h++){let d=h=m)&&e.nextSibling()););if(!d||m>n)break;(f=d.to+a)>t&&(this.highlightRange(r.cursor(),Math.max(t,d.from+a),Math.min(n,f),"",s),this.startSpan(Math.min(n,f),u))}c&&e.parent()}else if(e.firstChild()){p&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}let p=o.define,m=p(),g=p(),v=p(g),y=p(g),b=p(),w=p(b),x=p(b),k=p(),A=p(k),S=p(),O=p(),C=p(),M=p(C),I=p(),E={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:v,tagName:p(v),propertyName:y,attributeName:p(y),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:b,string:w,docString:p(w),character:p(w),attributeValue:p(w),number:x,integer:p(x),float:p(x),bool:p(b),regexp:p(b),escape:p(b),color:p(b),url:p(b),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:O,derefOperator:p(O),arithmeticOperator:p(O),logicOperator:p(O),bitwiseOperator:p(O),compareOperator:p(O),updateOperator:p(O),definitionOperator:p(O),typeOperator:p(O),controlOperator:p(O),punctuation:C,separator:p(C),bracket:M,angleBracket:p(M),squareBracket:p(M),paren:p(M),brace:p(M),content:k,heading:A,heading1:p(A),heading2:p(A),heading3:p(A),heading4:p(A),heading5:p(A),heading6:p(A),contentSeparator:p(k),list:p(k),quote:p(k),emphasis:p(k),strong:p(k),link:p(k),monospace:p(k),strikethrough:p(k),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:I,documentMeta:p(I),annotation:p(I),processingInstruction:p(I),definition:o.defineModifier("definition"),constant:o.defineModifier("constant"),function:o.defineModifier("function"),standard:o.defineModifier("standard"),local:o.defineModifier("local"),special:o.defineModifier("special")};for(let e in E){let t=E[e];t instanceof o&&(t.name=e)}u([{tag:E.link,class:"tok-link"},{tag:E.heading,class:"tok-heading"},{tag:E.emphasis,class:"tok-emphasis"},{tag:E.strong,class:"tok-strong"},{tag:E.keyword,class:"tok-keyword"},{tag:E.atom,class:"tok-atom"},{tag:E.bool,class:"tok-bool"},{tag:E.url,class:"tok-url"},{tag:E.labelName,class:"tok-labelName"},{tag:E.inserted,class:"tok-inserted"},{tag:E.deleted,class:"tok-deleted"},{tag:E.literal,class:"tok-literal"},{tag:E.string,class:"tok-string"},{tag:E.number,class:"tok-number"},{tag:[E.regexp,E.escape,E.special(E.string)],class:"tok-string2"},{tag:E.variableName,class:"tok-variableName"},{tag:E.local(E.variableName),class:"tok-variableName tok-local"},{tag:E.definition(E.variableName),class:"tok-variableName tok-definition"},{tag:E.special(E.variableName),class:"tok-variableName2"},{tag:E.definition(E.propertyName),class:"tok-propertyName tok-definition"},{tag:E.typeName,class:"tok-typeName"},{tag:E.namespace,class:"tok-namespace"},{tag:E.className,class:"tok-className"},{tag:E.macroName,class:"tok-macroName"},{tag:E.propertyName,class:"tok-propertyName"},{tag:E.operator,class:"tok-operator"},{tag:E.comment,class:"tok-comment"},{tag:E.meta,class:"tok-meta"},{tag:E.invalid,class:"tok-invalid"},{tag:E.punctuation,class:"tok-punctuation"}])},81064:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},85875:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115),i=n(24054),o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i.A})))},86253:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(85757),i=n(12115),o=n(29300),s=n.n(o),a=n(17980),l=n(15982),c=n(9800),h=n(63715),u=n(98690),f=n(69793),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 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};function p(e){let{suffixCls:t,tagName:n,displayName:r}=e;return e=>i.forwardRef((r,o)=>i.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:n},r)))}let m=i.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:o,tagName:a}=e,c=d(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:h}=i.useContext(l.QO),u=h("layout",n),[p,m,g]=(0,f.Ay)(u),v=r?"".concat(u,"-").concat(r):u;return p(i.createElement(a,Object.assign({className:s()(n||v,o,m,g),ref:t},c)))}),g=i.forwardRef((e,t)=>{let{direction:n}=i.useContext(l.QO),[o,p]=i.useState([]),{prefixCls:m,className:g,rootClassName:v,children:y,hasSider:b,tagName:w,style:x}=e,k=d(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,a.A)(k,["suffixCls"]),{getPrefixCls:S,className:O,style:C}=(0,l.TP)("layout"),M=S("layout",m),I=function(e,t,n){return"boolean"==typeof n?n:!!e.length||(0,h.A)(t).some(e=>e.type===u.A)}(o,y,b),[E,P,L]=(0,f.Ay)(M),N=s()(M,{["".concat(M,"-has-sider")]:I,["".concat(M,"-rtl")]:"rtl"===n},O,g,v,P,L),D=i.useMemo(()=>({siderHook:{addSider:e=>{p(t=>[].concat((0,r.A)(t),[e]))},removeSider:e=>{p(t=>t.filter(t=>t!==e))}}}),[]);return E(i.createElement(c.M.Provider,{value:D},i.createElement(w,Object.assign({ref:t,className:N,style:Object.assign(Object.assign({},C),x)},A),y)))}),v=p({tagName:"div",displayName:"Layout"})(g),y=p({suffixCls:"header",tagName:"header",displayName:"Header"})(m),b=p({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),w=p({suffixCls:"content",tagName:"main",displayName:"Content"})(m);v.Header=y,v.Footer=b,v.Content=w,v.Sider=u.A,v._InternalSiderContext=u.P;let x=v},91573:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},92197:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"};var o=n(75659);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(o.A,s({},e,{ref:t,icon:i})))},95069:(e,t,n)=>{"use strict";async function r(e,t){let n,r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function i(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{o:()=>s,y:()=>l});var 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 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 s="text/event-stream",a="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:h,onmessage:u,onclose:f,onerror:d,openWhenHidden:p,fetch:m}=t,g=o(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,o)=>{let v,y=Object.assign({},l);function b(){v.abort(),document.hidden||O()}y.accept||(y.accept=s),p||document.addEventListener("visibilitychange",b);let w=1e3,x=0;function k(){document.removeEventListener("visibilitychange",b),window.clearTimeout(x),v.abort()}null==n||n.addEventListener("abort",()=>{k(),t()});let A=null!=m?m:window.fetch,S=null!=h?h:c;async function O(){var n,s;v=new AbortController;try{let n,o,l,c,h=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:v.signal}));await S(h),await r(h.body,(s=function(e,t,n){let r=i(),o=new TextDecoder;return function(s,a){if(0===s.length)null==n||n(r),r=i();else if(a>0){let n=o.decode(s.subarray(0,a)),i=a+(32===s[a+1]?2:1),l=o.decode(s.subarray(i));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[a]=e:delete y[a]},e=>{w=e},u),c=!1,function(e){void 0===n?(n=e,o=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,r=0;for(;o{"use strict";n.d(t,{G:()=>s});let r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class s{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,i,o,s){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==i)return o.push(t[0]+";");for(let n in i){let s=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),s,o);else if(s&&"object"==typeof s){if(!l)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),s,a,c)}else null!=s&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+s+";")}(a.length||c)&&o.push((n&&!l&&!s?t.map(n):t).join(", ")+" {"+a.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new l(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class l{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=a.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,a.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t-1&&(this.modules.splice(s,1),i--,s=-1),-1==s){if(this.modules.splice(i++,0,o),n)for(let e=0;et.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t{n.d(e,{A:()=>i});var a=n(12115),o=n(32110),c=n(75659);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;ea.createElement(c.A,r({},t,{ref:e,icon:o.A})))},6124:(t,e,n)=>{n.d(e,{A:()=>x});var a=n(12115),o=n(29300),c=n.n(o),r=n(17980),i=n(15982),l=n(9836),s=n(70802),d=n(23512),p=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let u=t=>{var{prefixCls:e,className:n,hoverable:o=!0}=t,r=p(t,["prefixCls","className","hoverable"]);let{getPrefixCls:l}=a.useContext(i.QO),s=l("card",e),d=c()("".concat(s,"-grid"),n,{["".concat(s,"-grid-hoverable")]:o});return a.createElement("div",Object.assign({},r,{className:d}))};var g=n(99841),m=n(18184),b=n(45431),f=n(61388);let h=(0,b.OF)("Card",t=>{let e=(0,f.oX)(t,{cardShadow:t.boxShadowCard,cardHeadPadding:t.padding,cardPaddingBase:t.paddingLG,cardActionsIconSize:t.fontSize});return[(t=>{let{componentCls:e,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:o,boxShadowTertiary:c,bodyPadding:r,extraColor:i}=t;return{[e]:Object.assign(Object.assign({},(0,m.dF)(t)),{position:"relative",background:t.colorBgContainer,borderRadius:t.borderRadiusLG,["&:not(".concat(e,"-bordered)")]:{boxShadow:c},["".concat(e,"-head")]:(t=>{let{antCls:e,componentCls:n,headerHeight:a,headerPadding:o,tabsMarginBottom:c}=t;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:"0 ".concat((0,g.zA)(o)),color:t.colorTextHeading,fontWeight:t.fontWeightStrong,fontSize:t.headerFontSize,background:t.headerBg,borderBottom:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorderSecondary),borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0")},(0,m.t6)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},m.L9),{["\n > ".concat(n,"-typography,\n > ").concat(n,"-typography-edit-content\n ")]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),["".concat(e,"-tabs-top")]:{clear:"both",marginBottom:c,color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,"&-bar":{borderBottom:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorderSecondary)}}})})(t),["".concat(e,"-extra")]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:t.fontSize},["".concat(e,"-body")]:{padding:r,borderRadius:"0 0 ".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG))},["".concat(e,"-grid")]:(t=>{let{cardPaddingBase:e,colorBorderSecondary:n,cardShadow:a,lineWidth:o}=t;return{width:"33.33%",padding:e,border:0,borderRadius:0,boxShadow:"\n ".concat((0,g.zA)(o)," 0 0 0 ").concat(n,",\n 0 ").concat((0,g.zA)(o)," 0 0 ").concat(n,",\n ").concat((0,g.zA)(o)," ").concat((0,g.zA)(o)," 0 0 ").concat(n,",\n ").concat((0,g.zA)(o)," 0 0 0 ").concat(n," inset,\n 0 ").concat((0,g.zA)(o)," 0 0 ").concat(n," inset;\n "),transition:"all ".concat(t.motionDurationMid),"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(t),["".concat(e,"-cover")]:{"> *":{display:"block",width:"100%",borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0")}},["".concat(e,"-actions")]:(t=>{let{componentCls:e,iconCls:n,actionsLiMargin:a,cardActionsIconSize:o,colorBorderSecondary:c,actionsBg:r}=t;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:r,borderTop:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c),display:"flex",borderRadius:"0 0 ".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG))},(0,m.t6)()),{"& > li":{margin:a,color:t.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:t.calc(t.cardActionsIconSize).mul(2).equal(),fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer","&:hover":{color:t.colorPrimary,transition:"color ".concat(t.motionDurationMid)},["a:not(".concat(e,"-btn), > ").concat(n)]:{display:"inline-block",width:"100%",color:t.colorIcon,lineHeight:(0,g.zA)(t.fontHeight),transition:"color ".concat(t.motionDurationMid),"&:hover":{color:t.colorPrimary}},["> ".concat(n)]:{fontSize:o,lineHeight:(0,g.zA)(t.calc(o).mul(t.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c)}}})})(t),["".concat(e,"-meta")]:(t=>Object.assign(Object.assign({margin:"".concat((0,g.zA)(t.calc(t.marginXXS).mul(-1).equal())," 0"),display:"flex"},(0,m.t6)()),{"&-avatar":{paddingInlineEnd:t.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:t.marginXS}},"&-title":Object.assign({color:t.colorTextHeading,fontWeight:t.fontWeightStrong,fontSize:t.fontSizeLG},m.L9),"&-description":{color:t.colorTextDescription}}))(t)}),["".concat(e,"-bordered")]:{border:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(o),["".concat(e,"-cover")]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},["".concat(e,"-hoverable")]:{cursor:"pointer",transition:"box-shadow ".concat(t.motionDurationMid,", border-color ").concat(t.motionDurationMid),"&:hover":{borderColor:"transparent",boxShadow:n}},["".concat(e,"-contain-grid")]:{borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0 "),["".concat(e,"-body")]:{display:"flex",flexWrap:"wrap"},["&:not(".concat(e,"-loading) ").concat(e,"-body")]:{marginBlockStart:t.calc(t.lineWidth).mul(-1).equal(),marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),padding:0}},["".concat(e,"-contain-tabs")]:{["> div".concat(e,"-head")]:{minHeight:0,["".concat(e,"-head-title, ").concat(e,"-extra")]:{paddingTop:a}}},["".concat(e,"-type-inner")]:(t=>{let{componentCls:e,colorFillAlter:n,headerPadding:a,bodyPadding:o}=t;return{["".concat(e,"-head")]:{padding:"0 ".concat((0,g.zA)(a)),background:n,"&-title":{fontSize:t.fontSize}},["".concat(e,"-body")]:{padding:"".concat((0,g.zA)(t.padding)," ").concat((0,g.zA)(o))}}})(t),["".concat(e,"-loading")]:(t=>{let{componentCls:e}=t;return{overflow:"hidden",["".concat(e,"-body")]:{userSelect:"none"}}})(t),["".concat(e,"-rtl")]:{direction:"rtl"}}})(e),(t=>{let{componentCls:e,bodyPaddingSM:n,headerPaddingSM:a,headerHeightSM:o,headerFontSizeSM:c}=t;return{["".concat(e,"-small")]:{["> ".concat(e,"-head")]:{minHeight:o,padding:"0 ".concat((0,g.zA)(a)),fontSize:c,["> ".concat(e,"-head-wrapper")]:{["> ".concat(e,"-extra")]:{fontSize:t.fontSize}}},["> ".concat(e,"-body")]:{padding:n}},["".concat(e,"-small").concat(e,"-contain-tabs")]:{["> ".concat(e,"-head")]:{["".concat(e,"-head-title, ").concat(e,"-extra")]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(e)]},t=>{var e,n;return{headerBg:"transparent",headerFontSize:t.fontSizeLG,headerFontSizeSM:t.fontSize,headerHeight:t.fontSizeLG*t.lineHeightLG+2*t.padding,headerHeightSM:t.fontSize*t.lineHeight+2*t.paddingXS,actionsBg:t.colorBgContainer,actionsLiMargin:"".concat(t.paddingSM,"px 0"),tabsMarginBottom:-t.padding-t.lineWidth,extraColor:t.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:null!=(e=t.bodyPadding)?e:t.paddingLG,headerPadding:null!=(n=t.headerPadding)?n:t.paddingLG}});var v=n(63893),y=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let O=t=>{let{actionClasses:e,actions:n=[],actionStyle:o}=t;return a.createElement("ul",{className:e,style:o},n.map((t,e)=>a.createElement("li",{style:{width:"".concat(100/n.length,"%")},key:"action-".concat(e)},a.createElement("span",null,t))))},S=a.forwardRef((t,e)=>{let n,{prefixCls:o,className:p,rootClassName:g,style:m,extra:b,headStyle:f={},bodyStyle:S={},title:j,loading:x,bordered:k,variant:z,size:w,type:A,cover:E,actions:C,tabList:N,children:I,activeTabKey:P,defaultActiveTabKey:R,tabBarExtraContent:B,hoverable:M,tabProps:L={},classNames:H,styles:T}=t,_=y(t,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:G,direction:F,card:D}=a.useContext(i.QO),[X]=(0,v.A)("card",z,k),W=t=>{var e;return c()(null==(e=null==D?void 0:D.classNames)?void 0:e[t],null==H?void 0:H[t])},q=t=>{var e;return Object.assign(Object.assign({},null==(e=null==D?void 0:D.styles)?void 0:e[t]),null==T?void 0:T[t])},Q=a.useMemo(()=>{let t=!1;return a.Children.forEach(I,e=>{(null==e?void 0:e.type)===u&&(t=!0)}),t},[I]),K=G("card",o),[V,J,U]=h(K),Y=a.createElement(s.A,{loading:!0,active:!0,paragraph:{rows:4},title:!1},I),Z=void 0!==P,$=Object.assign(Object.assign({},L),{[Z?"activeKey":"defaultActiveKey"]:Z?P:R,tabBarExtraContent:B}),tt=(0,l.A)(w),te=tt&&"default"!==tt?tt:"large",tn=N?a.createElement(d.A,Object.assign({size:te},$,{className:"".concat(K,"-head-tabs"),onChange:e=>{var n;null==(n=t.onTabChange)||n.call(t,e)},items:N.map(t=>{var{tab:e}=t;return Object.assign({label:e},y(t,["tab"]))})})):null;if(j||b||tn){let t=c()("".concat(K,"-head"),W("header")),e=c()("".concat(K,"-head-title"),W("title")),o=c()("".concat(K,"-extra"),W("extra")),r=Object.assign(Object.assign({},f),q("header"));n=a.createElement("div",{className:t,style:r},a.createElement("div",{className:"".concat(K,"-head-wrapper")},j&&a.createElement("div",{className:e,style:q("title")},j),b&&a.createElement("div",{className:o,style:q("extra")},b)),tn)}let ta=c()("".concat(K,"-cover"),W("cover")),to=E?a.createElement("div",{className:ta,style:q("cover")},E):null,tc=c()("".concat(K,"-body"),W("body")),tr=Object.assign(Object.assign({},S),q("body")),ti=a.createElement("div",{className:tc,style:tr},x?Y:I),tl=c()("".concat(K,"-actions"),W("actions")),ts=(null==C?void 0:C.length)?a.createElement(O,{actionClasses:tl,actionStyle:q("actions"),actions:C}):null,td=(0,r.A)(_,["onTabChange"]),tp=c()(K,null==D?void 0:D.className,{["".concat(K,"-loading")]:x,["".concat(K,"-bordered")]:"borderless"!==X,["".concat(K,"-hoverable")]:M,["".concat(K,"-contain-grid")]:Q,["".concat(K,"-contain-tabs")]:null==N?void 0:N.length,["".concat(K,"-").concat(tt)]:tt,["".concat(K,"-type-").concat(A)]:!!A,["".concat(K,"-rtl")]:"rtl"===F},p,g,J,U),tu=Object.assign(Object.assign({},null==D?void 0:D.style),m);return V(a.createElement("div",Object.assign({ref:e},td,{className:tp,style:tu}),n,to,ti,ts))});var j=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};S.Grid=u,S.Meta=t=>{let{prefixCls:e,className:n,avatar:o,title:r,description:l}=t,s=j(t,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=a.useContext(i.QO),p=d("card",e),u=c()("".concat(p,"-meta"),n),g=o?a.createElement("div",{className:"".concat(p,"-meta-avatar")},o):null,m=r?a.createElement("div",{className:"".concat(p,"-meta-title")},r):null,b=l?a.createElement("div",{className:"".concat(p,"-meta-description")},l):null,f=m||b?a.createElement("div",{className:"".concat(p,"-meta-detail")},m,b):null;return a.createElement("div",Object.assign({},s,{className:u}),g,f)};let x=S},19593:(t,e,n)=>{n.d(e,{A:()=>A});var a=n(12115),o=n(29300),c=n.n(o),r=n(63715),i=n(40032),l=n(80163),s=n(15982),d=n(58464),p=n(18497);let u=t=>{let{children:e}=t,{getPrefixCls:n}=a.useContext(s.QO),o=n("breadcrumb");return a.createElement("li",{className:"".concat(o,"-separator"),"aria-hidden":"true"},""===e?e:e||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var g=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};function m(t,e,n,o){if(null==n)return null;let{className:r,onClick:l}=e,s=g(e,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.A)(s,{data:!0,aria:!0})),{onClick:l});return void 0!==o?a.createElement("a",Object.assign({},d,{className:c()("".concat(t,"-link"),r),href:o}),n):a.createElement("span",Object.assign({},d,{className:c()("".concat(t,"-link"),r)}),n)}var b=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let f=t=>{let{prefixCls:e,separator:n="/",children:o,menu:c,overlay:r,dropdownProps:i,href:l}=t,s=(t=>{if(c||r){let n=Object.assign({},i);if(c){let t=c||{},{items:e}=t;n.menu=Object.assign(Object.assign({},b(t,["items"])),{items:null==e?void 0:e.map((t,e)=>{var{key:n,title:o,label:c,path:r}=t,i=b(t,["key","title","label","path"]);let s=null!=c?c:o;return r&&(s=a.createElement("a",{href:"".concat(l).concat(r)},s)),Object.assign(Object.assign({},i),{key:null!=n?n:e,label:s})})})}else r&&(n.overlay=r);return a.createElement(p.A,Object.assign({placement:"bottom"},n),a.createElement("span",{className:"".concat(e,"-overlay-link")},t,a.createElement(d.A,null)))}return t})(o);return null!=s?a.createElement(a.Fragment,null,a.createElement("li",{className:"".concat(e,"-item")},s),n&&a.createElement(u,null,n)):null},h=t=>{let{prefixCls:e,children:n,href:o}=t,c=b(t,["prefixCls","children","href"]),{getPrefixCls:r}=a.useContext(s.QO),i=r("breadcrumb",e);return a.createElement(f,Object.assign({},c,{prefixCls:i}),m(i,c,n,o))};h.__ANT_BREADCRUMB_ITEM=!0;var v=n(99841),y=n(18184),O=n(45431),S=n(61388);let j=(0,O.OF)("Breadcrumb",t=>(t=>{let{componentCls:e,iconCls:n,calc:a}=t;return{[e]:Object.assign(Object.assign({},(0,y.dF)(t)),{color:t.itemColor,fontSize:t.fontSize,[n]:{fontSize:t.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},["".concat(e,"-item a")]:Object.assign({color:t.linkColor,transition:"color ".concat(t.motionDurationMid),padding:"0 ".concat((0,v.zA)(t.paddingXXS)),borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",marginInline:a(t.marginXXS).mul(-1).equal(),"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover}},(0,y.K8)(t)),["".concat(e,"-item:last-child")]:{color:t.lastItemColor},["".concat(e,"-separator")]:{marginInline:t.separatorMargin,color:t.separatorColor},["".concat(e,"-link")]:{["\n > ".concat(n," + span,\n > ").concat(n," + a\n ")]:{marginInlineStart:t.marginXXS}},["".concat(e,"-overlay-link")]:{borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",padding:"0 ".concat((0,v.zA)(t.paddingXXS)),marginInline:a(t.marginXXS).mul(-1).equal(),["> ".concat(n)]:{marginInlineStart:t.marginXXS,fontSize:t.fontSizeIcon},"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover,a:{color:t.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},["&".concat(t.componentCls,"-rtl")]:{direction:"rtl"}})}})((0,S.oX)(t,{})),t=>({itemColor:t.colorTextDescription,lastItemColor:t.colorText,iconFontSize:t.fontSize,linkColor:t.colorTextDescription,linkHoverColor:t.colorText,separatorColor:t.colorTextDescription,separatorMargin:t.marginXS}));var x=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};function k(t){let{breadcrumbName:e,children:n}=t,a=Object.assign({title:e},x(t,["breadcrumbName","children"]));return n&&(a.menu={items:n.map(t=>{var{breadcrumbName:e}=t;return Object.assign(Object.assign({},x(t,["breadcrumbName"])),{title:e})})}),a}var z=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let w=t=>{let e,{prefixCls:n,separator:o="/",style:d,className:p,rootClassName:g,routes:b,items:h,children:v,itemRender:y,params:O={}}=t,S=z(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:w,breadcrumb:A}=a.useContext(s.QO),E=x("breadcrumb",n),[C,N,I]=j(E),P=function(t,e){return(0,a.useMemo)(()=>t||(e?e.map(k):null),[t,e])}(h,b),R=function(t,e){return(n,a,o,c,r)=>{if(e)return e(n,a,o,c);let i=function(t,e){if(void 0===t.title||null===t.title)return null;let n=Object.keys(e).join("|");return"object"==typeof t.title?t.title:String(t.title).replace(RegExp(":(".concat(n,")"),"g"),(t,n)=>e[n]||t)}(n,a);return m(t,n,i,r)}}(E,y);if(P&&P.length>0){let t=[],n=h||b;e=P.map((e,c)=>{let{path:r,key:l,type:s,menu:d,overlay:p,onClick:g,className:m,separator:b,dropdownProps:h}=e,v=((t,e)=>{if(void 0===e)return e;let n=(e||"").replace(/^\//,"");return Object.keys(t).forEach(e=>{n=n.replace(":".concat(e),t[e])}),n})(O,r);void 0!==v&&t.push(v);let y=null!=l?l:c;if("separator"===s)return a.createElement(u,{key:y},b);let S={},j=c===P.length-1;d?S.menu=d:p&&(S.overlay=p);let{href:x}=e;return t.length&&void 0!==v&&(x="#/".concat(t.join("/"))),a.createElement(f,Object.assign({key:y},S,(0,i.A)(e,{data:!0,aria:!0}),{className:m,dropdownProps:h,href:x,separator:j?"":o,onClick:g,prefixCls:E}),R(e,O,n,t,x))})}else if(v){let t=(0,r.A)(v).length;e=(0,r.A)(v).map((e,n)=>{if(!e)return e;let a=n===t-1;return(0,l.Ob)(e,{separator:a?"":o,key:n})})}let B=c()(E,null==A?void 0:A.className,{["".concat(E,"-rtl")]:"rtl"===w},p,g,N,I),M=Object.assign(Object.assign({},null==A?void 0:A.style),d);return C(a.createElement("nav",Object.assign({className:B,style:M},S),a.createElement("ol",null,e)))};w.Item=h,w.Separator=u;let A=w},55887:(t,e,n)=>{n.d(e,{A:()=>H});var a=n(12115),o=n(29300),c=n.n(o),r=n(26791),i=n(15982),l=n(24848),s=n(35149),d=n(2419),p=n(68151),u=n(70042),g=n(84630),m=n(51754),b=n(48776),f=n(63583),h=n(66383),v=n(51280);function y(t,e){return null===e||!1===e?null:e||a.createElement(b.A,{className:"".concat(t,"-close-icon")})}h.A,g.A,m.A,f.A,v.A;let O={success:g.A,info:h.A,error:m.A,warning:f.A},S=t=>{let{prefixCls:e,icon:n,type:o,message:r,description:i,actions:l,role:s="alert"}=t,d=null;return n?d=a.createElement("span",{className:"".concat(e,"-icon")},n):o&&(d=a.createElement(O[o]||null,{className:c()("".concat(e,"-icon"),"".concat(e,"-icon-").concat(o))})),a.createElement("div",{className:c()({["".concat(e,"-with-icon")]:d}),role:s},d,a.createElement("div",{className:"".concat(e,"-message")},r),i&&a.createElement("div",{className:"".concat(e,"-description")},i),l&&a.createElement("div",{className:"".concat(e,"-actions")},l))};var j=n(99841),x=n(9130),k=n(18184),z=n(61388),w=n(45431);let A=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},C=(0,w.OF)("Notification",t=>{let e=(t=>{let e=t.paddingMD,n=t.paddingLG;return(0,z.oX)(t,{notificationBg:t.colorBgElevated,notificationPaddingVertical:e,notificationPaddingHorizontal:n,notificationIconSize:t.calc(t.fontSizeLG).mul(t.lineHeightLG).equal(),notificationCloseButtonSize:t.calc(t.controlHeightLG).mul(.55).equal(),notificationMarginBottom:t.margin,notificationPadding:"".concat((0,j.zA)(t.paddingMD)," ").concat((0,j.zA)(t.paddingContentHorizontalLG)),notificationMarginEdge:t.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(t.colorPrimaryBorderHover,", ").concat(t.colorPrimary,")")})})(t);return[(t=>{let{componentCls:e,notificationMarginBottom:n,notificationMarginEdge:a,motionDurationMid:o,motionEaseInOut:c}=t,r="".concat(e,"-notice"),i=new j.Mo("antNotificationFadeOut",{"0%":{maxHeight:t.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[e]:Object.assign(Object.assign({},(0,k.dF)(t)),{position:"fixed",zIndex:t.zIndexPopup,marginRight:{value:a,_skip_check_:!0},["".concat(e,"-hook-holder")]:{position:"relative"},["".concat(e,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(e,"-fade-enter, ").concat(e,"-fade-appear")]:{animationDuration:t.motionDurationMid,animationTimingFunction:c,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(e,"-fade-leave")]:{animationTimingFunction:c,animationFillMode:"both",animationDuration:o,animationPlayState:"paused"},["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(e,"-fade-leave").concat(e,"-fade-leave-active")]:{animationName:i,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(r,"-actions")]:{float:"left"}}})},{[e]:{["".concat(r,"-wrapper")]:(t=>{let{iconCls:e,componentCls:n,boxShadow:a,fontSizeLG:o,notificationMarginBottom:c,borderRadiusLG:r,colorSuccess:i,colorInfo:l,colorWarning:s,colorError:d,colorTextHeading:p,notificationBg:u,notificationPadding:g,notificationMarginEdge:m,notificationProgressBg:b,notificationProgressHeight:f,fontSize:h,lineHeight:v,width:y,notificationIconSize:O,colorText:S,colorSuccessBg:x,colorErrorBg:z,colorInfoBg:w,colorWarningBg:A}=t,E="".concat(n,"-notice");return{position:"relative",marginBottom:c,marginInlineStart:"auto",background:u,borderRadius:r,boxShadow:a,[E]:{padding:g,width:y,maxWidth:"calc(100vw - ".concat((0,j.zA)(t.calc(m).mul(2).equal()),")"),lineHeight:v,wordWrap:"break-word",borderRadius:r,overflow:"hidden","&-success":x?{background:x}:{},"&-error":z?{background:z}:{},"&-info":w?{background:w}:{},"&-warning":A?{background:A}:{}},["".concat(E,"-message")]:{color:p,fontSize:o,lineHeight:t.lineHeightLG},["".concat(E,"-description")]:{fontSize:h,color:S,marginTop:t.marginXS},["".concat(E,"-closable ").concat(E,"-message")]:{paddingInlineEnd:t.paddingLG},["".concat(E,"-with-icon ").concat(E,"-message")]:{marginInlineStart:t.calc(t.marginSM).add(O).equal(),fontSize:o},["".concat(E,"-with-icon ").concat(E,"-description")]:{marginInlineStart:t.calc(t.marginSM).add(O).equal(),fontSize:h},["".concat(E,"-icon")]:{position:"absolute",fontSize:O,lineHeight:1,["&-success".concat(e)]:{color:i},["&-info".concat(e)]:{color:l},["&-warning".concat(e)]:{color:s},["&-error".concat(e)]:{color:d}},["".concat(E,"-close")]:Object.assign({position:"absolute",top:t.notificationPaddingVertical,insetInlineEnd:t.notificationPaddingHorizontal,color:t.colorIcon,outline:"none",width:t.notificationCloseButtonSize,height:t.notificationCloseButtonSize,borderRadius:t.borderRadiusSM,transition:"background-color ".concat(t.motionDurationMid,", color ").concat(t.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:t.colorIconHover,backgroundColor:t.colorBgTextHover},"&:active":{backgroundColor:t.colorBgTextActive}},(0,k.K8)(t)),["".concat(E,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,j.zA)(r)," * 2)"),left:{_skip_check_:!0,value:r},right:{_skip_check_:!0,value:r},bottom:0,blockSize:f,border:0,"&, &::-webkit-progress-bar":{borderRadius:r,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:b},"&::-webkit-progress-value":{borderRadius:r,background:b}},["".concat(E,"-actions")]:{float:"right",marginTop:t.marginSM}}})(t)}}]})(e),(t=>{let{componentCls:e,notificationMarginEdge:n,animationMaxHeight:a}=t,o="".concat(e,"-notice"),c=new j.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),r=new j.Mo("antNotificationTopFadeIn",{"0%":{top:-a,opacity:0},"100%":{top:0,opacity:1}}),i=new j.Mo("antNotificationBottomFadeIn",{"0%":{bottom:t.calc(a).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new j.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[e]:{["&".concat(e,"-top, &").concat(e,"-bottom")]:{marginInline:0,[o]:{marginInline:"auto auto"}},["&".concat(e,"-top")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:r}},["&".concat(e,"-bottom")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:i}},["&".concat(e,"-topRight, &").concat(e,"-bottomRight")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:c}},["&".concat(e,"-topLeft, &").concat(e,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[o]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:l}}}}})(e),(t=>{let{componentCls:e}=t;return Object.assign({["".concat(e,"-stack")]:{["& > ".concat(e,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(t.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(t=>{let e={};for(let n=1;n ".concat(t.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(t.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(t.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},e)})(t))},["".concat(e,"-stack:not(").concat(e,"-stack-expanded)")]:{["& > ".concat(e,"-notice-wrapper")]:Object.assign({},(t=>{let e={};for(let n=1;n ".concat(e,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(t.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:t.margin,width:"100%",insetInline:0,bottom:t.calc(t.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},A.map(e=>((t,e)=>{let{componentCls:n}=t;return{["".concat(n,"-").concat(e)]:{["&".concat(n,"-stack > ").concat(n,"-notice-wrapper")]:{[e.startsWith("top")?"top":"bottom"]:0,[E[e]]:{value:0,_skip_check_:!0}}}}})(t,e)).reduce((t,e)=>Object.assign(Object.assign({},t),e),{}))})(e)]},t=>({zIndexPopup:t.zIndexPopupBase+x.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));var N=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let I=t=>{let{children:e,prefixCls:n}=t,o=(0,p.A)(n),[r,i,l]=C(n,o);return r(a.createElement(d.ph,{classNames:{list:c()(i,l,o)}},e))},P=(t,e)=>{let{prefixCls:n,key:o}=e;return a.createElement(I,{prefixCls:n,key:o},t)},R=a.forwardRef((t,e)=>{let{top:n,bottom:o,prefixCls:r,getContainer:l,maxCount:s,rtl:p,onAllRemoved:g,stack:m,duration:b,pauseOnHover:f=!0,showProgress:h}=t,{getPrefixCls:v,getPopupContainer:O,notification:S,direction:j}=(0,a.useContext)(i.QO),[,x]=(0,u.Ay)(),k=r||v("notification"),[z,w]=(0,d.hN)({prefixCls:k,style:t=>(function(t,e,n){let a;switch(t){case"top":a={left:"50%",transform:"translateX(-50%)",right:"auto",top:e,bottom:"auto"};break;case"topLeft":a={left:0,top:e,bottom:"auto"};break;case"topRight":a={right:0,top:e,bottom:"auto"};break;case"bottom":a={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":a={left:0,top:"auto",bottom:n};break;default:a={right:0,top:"auto",bottom:n}}return a})(t,null!=n?n:24,null!=o?o:24),className:()=>c()({["".concat(k,"-rtl")]:null!=p?p:"rtl"===j}),motion:()=>({motionName:"".concat(k,"-fade")}),closable:!0,closeIcon:y(k),duration:null!=b?b:4.5,getContainer:()=>(null==l?void 0:l())||(null==O?void 0:O())||document.body,maxCount:s,pauseOnHover:f,showProgress:h,onAllRemoved:g,renderNotifications:P,stack:!1!==m&&{threshold:"object"==typeof m?null==m?void 0:m.threshold:void 0,offset:8,gap:x.margin}});return a.useImperativeHandle(e,()=>Object.assign(Object.assign({},z),{prefixCls:k,notification:S})),w});var B=n(99209);let M=(0,w.OF)("App",t=>{let{componentCls:e,colorText:n,fontSize:a,lineHeight:o,fontFamily:c}=t;return{[e]:{color:n,fontSize:a,lineHeight:o,fontFamily:c,["&".concat(e,"-rtl")]:{direction:"rtl"}}}},()=>({})),L=t=>{let{prefixCls:e,children:n,className:o,rootClassName:d,message:p,notification:u,style:g,component:m="div"}=t,{direction:b,getPrefixCls:f}=(0,a.useContext)(i.QO),h=f("app",e),[v,O,j]=M(h),x=c()(O,h,o,d,j,{["".concat(h,"-rtl")]:"rtl"===b}),k=(0,a.useContext)(B.B),z=a.useMemo(()=>({message:Object.assign(Object.assign({},k.message),p),notification:Object.assign(Object.assign({},k.notification),u)}),[p,u,k.message,k.notification]),[w,A]=(0,l.A)(z.message),[E,C]=function(t){let e=a.useRef(null);return(0,r.rJ)("Notification"),[a.useMemo(()=>{let n=n=>{var o;if(!e.current)return;let{open:r,prefixCls:i,notification:l}=e.current,s="".concat(i,"-notice"),{message:d,description:p,icon:u,type:g,btn:m,actions:b,className:f,style:h,role:v="alert",closeIcon:O,closable:j}=n,x=N(n,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),k=y(s,void 0!==O?O:void 0!==(null==t?void 0:t.closeIcon)?t.closeIcon:null==l?void 0:l.closeIcon);return r(Object.assign(Object.assign({placement:null!=(o=null==t?void 0:t.placement)?o:"topRight"},x),{content:a.createElement(S,{prefixCls:s,icon:u,type:g,message:d,description:p,actions:null!=b?b:m,role:v}),className:c()(g&&"".concat(s,"-").concat(g),f,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),h),closeIcon:k,closable:null!=j?j:!!k}))},o={open:n,destroy:t=>{var n,a;void 0!==t?null==(n=e.current)||n.close(t):null==(a=e.current)||a.destroy()}};return["success","info","warning","error"].forEach(t=>{o[t]=e=>n(Object.assign(Object.assign({},e),{type:t}))}),o},[]),a.createElement(R,Object.assign({key:"notification-holder"},t,{ref:e}))]}(z.notification),[I,P]=(0,s.A)(),L=a.useMemo(()=>({message:w,notification:E,modal:I}),[w,E,I]);(0,r.rJ)("App")(!(j&&!1===m),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let H=!1===m?a.Fragment:m;return v(a.createElement(B.A.Provider,{value:L},a.createElement(B.B.Provider,{value:z},a.createElement(H,Object.assign({},!1===m?void 0:{className:x,style:g}),P,A,C,n))))};L.useApp=()=>a.useContext(B.A);let H=L},58206:(t,e,n)=>{n.d(e,{A:()=>i});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"};var c=n(75659);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;ea.createElement(c.A,r({},t,{ref:e,icon:o})))},98527:(t,e,n)=>{n.d(e,{A:()=>a});let a={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"}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[329,5887,6124],{3377:(t,e,n)=>{n.d(e,{A:()=>i});var a=n(12115),o=n(32110),c=n(75659);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;ea.createElement(c.A,r({},t,{ref:e,icon:o.A})))},6124:(t,e,n)=>{n.d(e,{A:()=>x});var a=n(12115),o=n(29300),c=n.n(o),r=n(17980),i=n(15982),l=n(9836),s=n(70802),d=n(23512),p=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let u=t=>{var{prefixCls:e,className:n,hoverable:o=!0}=t,r=p(t,["prefixCls","className","hoverable"]);let{getPrefixCls:l}=a.useContext(i.QO),s=l("card",e),d=c()("".concat(s,"-grid"),n,{["".concat(s,"-grid-hoverable")]:o});return a.createElement("div",Object.assign({},r,{className:d}))};var g=n(99841),m=n(18184),b=n(45431),f=n(61388);let h=(0,b.OF)("Card",t=>{let e=(0,f.oX)(t,{cardShadow:t.boxShadowCard,cardHeadPadding:t.padding,cardPaddingBase:t.paddingLG,cardActionsIconSize:t.fontSize});return[(t=>{let{componentCls:e,cardShadow:n,cardHeadPadding:a,colorBorderSecondary:o,boxShadowTertiary:c,bodyPadding:r,extraColor:i}=t;return{[e]:Object.assign(Object.assign({},(0,m.dF)(t)),{position:"relative",background:t.colorBgContainer,borderRadius:t.borderRadiusLG,["&:not(".concat(e,"-bordered)")]:{boxShadow:c},["".concat(e,"-head")]:(t=>{let{antCls:e,componentCls:n,headerHeight:a,headerPadding:o,tabsMarginBottom:c}=t;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:"0 ".concat((0,g.zA)(o)),color:t.colorTextHeading,fontWeight:t.fontWeightStrong,fontSize:t.headerFontSize,background:t.headerBg,borderBottom:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorderSecondary),borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0")},(0,m.t6)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},m.L9),{["\n > ".concat(n,"-typography,\n > ").concat(n,"-typography-edit-content\n ")]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),["".concat(e,"-tabs-top")]:{clear:"both",marginBottom:c,color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,"&-bar":{borderBottom:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorderSecondary)}}})})(t),["".concat(e,"-extra")]:{marginInlineStart:"auto",color:i,fontWeight:"normal",fontSize:t.fontSize},["".concat(e,"-body")]:{padding:r,borderRadius:"0 0 ".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG))},["".concat(e,"-grid")]:(t=>{let{cardPaddingBase:e,colorBorderSecondary:n,cardShadow:a,lineWidth:o}=t;return{width:"33.33%",padding:e,border:0,borderRadius:0,boxShadow:"\n ".concat((0,g.zA)(o)," 0 0 0 ").concat(n,",\n 0 ").concat((0,g.zA)(o)," 0 0 ").concat(n,",\n ").concat((0,g.zA)(o)," ").concat((0,g.zA)(o)," 0 0 ").concat(n,",\n ").concat((0,g.zA)(o)," 0 0 0 ").concat(n," inset,\n 0 ").concat((0,g.zA)(o)," 0 0 ").concat(n," inset;\n "),transition:"all ".concat(t.motionDurationMid),"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(t),["".concat(e,"-cover")]:{"> *":{display:"block",width:"100%",borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0")}},["".concat(e,"-actions")]:(t=>{let{componentCls:e,iconCls:n,actionsLiMargin:a,cardActionsIconSize:o,colorBorderSecondary:c,actionsBg:r}=t;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:r,borderTop:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c),display:"flex",borderRadius:"0 0 ".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG))},(0,m.t6)()),{"& > li":{margin:a,color:t.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:t.calc(t.cardActionsIconSize).mul(2).equal(),fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer","&:hover":{color:t.colorPrimary,transition:"color ".concat(t.motionDurationMid)},["a:not(".concat(e,"-btn), > ").concat(n)]:{display:"inline-block",width:"100%",color:t.colorIcon,lineHeight:(0,g.zA)(t.fontHeight),transition:"color ".concat(t.motionDurationMid),"&:hover":{color:t.colorPrimary}},["> ".concat(n)]:{fontSize:o,lineHeight:(0,g.zA)(t.calc(o).mul(t.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c)}}})})(t),["".concat(e,"-meta")]:(t=>Object.assign(Object.assign({margin:"".concat((0,g.zA)(t.calc(t.marginXXS).mul(-1).equal())," 0"),display:"flex"},(0,m.t6)()),{"&-avatar":{paddingInlineEnd:t.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:t.marginXS}},"&-title":Object.assign({color:t.colorTextHeading,fontWeight:t.fontWeightStrong,fontSize:t.fontSizeLG},m.L9),"&-description":{color:t.colorTextDescription}}))(t)}),["".concat(e,"-bordered")]:{border:"".concat((0,g.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(o),["".concat(e,"-cover")]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},["".concat(e,"-hoverable")]:{cursor:"pointer",transition:"box-shadow ".concat(t.motionDurationMid,", border-color ").concat(t.motionDurationMid),"&:hover":{borderColor:"transparent",boxShadow:n}},["".concat(e,"-contain-grid")]:{borderRadius:"".concat((0,g.zA)(t.borderRadiusLG)," ").concat((0,g.zA)(t.borderRadiusLG)," 0 0 "),["".concat(e,"-body")]:{display:"flex",flexWrap:"wrap"},["&:not(".concat(e,"-loading) ").concat(e,"-body")]:{marginBlockStart:t.calc(t.lineWidth).mul(-1).equal(),marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),padding:0}},["".concat(e,"-contain-tabs")]:{["> div".concat(e,"-head")]:{minHeight:0,["".concat(e,"-head-title, ").concat(e,"-extra")]:{paddingTop:a}}},["".concat(e,"-type-inner")]:(t=>{let{componentCls:e,colorFillAlter:n,headerPadding:a,bodyPadding:o}=t;return{["".concat(e,"-head")]:{padding:"0 ".concat((0,g.zA)(a)),background:n,"&-title":{fontSize:t.fontSize}},["".concat(e,"-body")]:{padding:"".concat((0,g.zA)(t.padding)," ").concat((0,g.zA)(o))}}})(t),["".concat(e,"-loading")]:(t=>{let{componentCls:e}=t;return{overflow:"hidden",["".concat(e,"-body")]:{userSelect:"none"}}})(t),["".concat(e,"-rtl")]:{direction:"rtl"}}})(e),(t=>{let{componentCls:e,bodyPaddingSM:n,headerPaddingSM:a,headerHeightSM:o,headerFontSizeSM:c}=t;return{["".concat(e,"-small")]:{["> ".concat(e,"-head")]:{minHeight:o,padding:"0 ".concat((0,g.zA)(a)),fontSize:c,["> ".concat(e,"-head-wrapper")]:{["> ".concat(e,"-extra")]:{fontSize:t.fontSize}}},["> ".concat(e,"-body")]:{padding:n}},["".concat(e,"-small").concat(e,"-contain-tabs")]:{["> ".concat(e,"-head")]:{["".concat(e,"-head-title, ").concat(e,"-extra")]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(e)]},t=>{var e,n;return{headerBg:"transparent",headerFontSize:t.fontSizeLG,headerFontSizeSM:t.fontSize,headerHeight:t.fontSizeLG*t.lineHeightLG+2*t.padding,headerHeightSM:t.fontSize*t.lineHeight+2*t.paddingXS,actionsBg:t.colorBgContainer,actionsLiMargin:"".concat(t.paddingSM,"px 0"),tabsMarginBottom:-t.padding-t.lineWidth,extraColor:t.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:null!=(e=t.bodyPadding)?e:t.paddingLG,headerPadding:null!=(n=t.headerPadding)?n:t.paddingLG}});var v=n(63893),y=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let O=t=>{let{actionClasses:e,actions:n=[],actionStyle:o}=t;return a.createElement("ul",{className:e,style:o},n.map((t,e)=>a.createElement("li",{style:{width:"".concat(100/n.length,"%")},key:"action-".concat(e)},a.createElement("span",null,t))))},S=a.forwardRef((t,e)=>{let n,{prefixCls:o,className:p,rootClassName:g,style:m,extra:b,headStyle:f={},bodyStyle:S={},title:j,loading:x,bordered:k,variant:z,size:w,type:A,cover:E,actions:C,tabList:N,children:I,activeTabKey:P,defaultActiveTabKey:R,tabBarExtraContent:B,hoverable:M,tabProps:L={},classNames:H,styles:T}=t,_=y(t,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:G,direction:F,card:D}=a.useContext(i.QO),[X]=(0,v.A)("card",z,k),W=t=>{var e;return c()(null==(e=null==D?void 0:D.classNames)?void 0:e[t],null==H?void 0:H[t])},q=t=>{var e;return Object.assign(Object.assign({},null==(e=null==D?void 0:D.styles)?void 0:e[t]),null==T?void 0:T[t])},Q=a.useMemo(()=>{let t=!1;return a.Children.forEach(I,e=>{(null==e?void 0:e.type)===u&&(t=!0)}),t},[I]),K=G("card",o),[V,J,U]=h(K),Y=a.createElement(s.A,{loading:!0,active:!0,paragraph:{rows:4},title:!1},I),Z=void 0!==P,$=Object.assign(Object.assign({},L),{[Z?"activeKey":"defaultActiveKey"]:Z?P:R,tabBarExtraContent:B}),tt=(0,l.A)(w),te=tt&&"default"!==tt?tt:"large",tn=N?a.createElement(d.A,Object.assign({size:te},$,{className:"".concat(K,"-head-tabs"),onChange:e=>{var n;null==(n=t.onTabChange)||n.call(t,e)},items:N.map(t=>{var{tab:e}=t;return Object.assign({label:e},y(t,["tab"]))})})):null;if(j||b||tn){let t=c()("".concat(K,"-head"),W("header")),e=c()("".concat(K,"-head-title"),W("title")),o=c()("".concat(K,"-extra"),W("extra")),r=Object.assign(Object.assign({},f),q("header"));n=a.createElement("div",{className:t,style:r},a.createElement("div",{className:"".concat(K,"-head-wrapper")},j&&a.createElement("div",{className:e,style:q("title")},j),b&&a.createElement("div",{className:o,style:q("extra")},b)),tn)}let ta=c()("".concat(K,"-cover"),W("cover")),to=E?a.createElement("div",{className:ta,style:q("cover")},E):null,tc=c()("".concat(K,"-body"),W("body")),tr=Object.assign(Object.assign({},S),q("body")),ti=a.createElement("div",{className:tc,style:tr},x?Y:I),tl=c()("".concat(K,"-actions"),W("actions")),ts=(null==C?void 0:C.length)?a.createElement(O,{actionClasses:tl,actionStyle:q("actions"),actions:C}):null,td=(0,r.A)(_,["onTabChange"]),tp=c()(K,null==D?void 0:D.className,{["".concat(K,"-loading")]:x,["".concat(K,"-bordered")]:"borderless"!==X,["".concat(K,"-hoverable")]:M,["".concat(K,"-contain-grid")]:Q,["".concat(K,"-contain-tabs")]:null==N?void 0:N.length,["".concat(K,"-").concat(tt)]:tt,["".concat(K,"-type-").concat(A)]:!!A,["".concat(K,"-rtl")]:"rtl"===F},p,g,J,U),tu=Object.assign(Object.assign({},null==D?void 0:D.style),m);return V(a.createElement("div",Object.assign({ref:e},td,{className:tp,style:tu}),n,to,ti,ts))});var j=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};S.Grid=u,S.Meta=t=>{let{prefixCls:e,className:n,avatar:o,title:r,description:l}=t,s=j(t,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=a.useContext(i.QO),p=d("card",e),u=c()("".concat(p,"-meta"),n),g=o?a.createElement("div",{className:"".concat(p,"-meta-avatar")},o):null,m=r?a.createElement("div",{className:"".concat(p,"-meta-title")},r):null,b=l?a.createElement("div",{className:"".concat(p,"-meta-description")},l):null,f=m||b?a.createElement("div",{className:"".concat(p,"-meta-detail")},m,b):null;return a.createElement("div",Object.assign({},s,{className:u}),g,f)};let x=S},19593:(t,e,n)=>{n.d(e,{A:()=>A});var a=n(12115),o=n(29300),c=n.n(o),r=n(63715),i=n(40032),l=n(80163),s=n(15982),d=n(58464),p=n(18497);let u=t=>{let{children:e}=t,{getPrefixCls:n}=a.useContext(s.QO),o=n("breadcrumb");return a.createElement("li",{className:"".concat(o,"-separator"),"aria-hidden":"true"},""===e?e:e||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var g=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};function m(t,e,n,o){if(null==n)return null;let{className:r,onClick:l}=e,s=g(e,["className","onClick"]),d=Object.assign(Object.assign({},(0,i.A)(s,{data:!0,aria:!0})),{onClick:l});return void 0!==o?a.createElement("a",Object.assign({},d,{className:c()("".concat(t,"-link"),r),href:o}),n):a.createElement("span",Object.assign({},d,{className:c()("".concat(t,"-link"),r)}),n)}var b=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let f=t=>{let{prefixCls:e,separator:n="/",children:o,menu:c,overlay:r,dropdownProps:i,href:l}=t,s=(t=>{if(c||r){let n=Object.assign({},i);if(c){let t=c||{},{items:e}=t;n.menu=Object.assign(Object.assign({},b(t,["items"])),{items:null==e?void 0:e.map((t,e)=>{var{key:n,title:o,label:c,path:r}=t,i=b(t,["key","title","label","path"]);let s=null!=c?c:o;return r&&(s=a.createElement("a",{href:"".concat(l).concat(r)},s)),Object.assign(Object.assign({},i),{key:null!=n?n:e,label:s})})})}else r&&(n.overlay=r);return a.createElement(p.A,Object.assign({placement:"bottom"},n),a.createElement("span",{className:"".concat(e,"-overlay-link")},t,a.createElement(d.A,null)))}return t})(o);return null!=s?a.createElement(a.Fragment,null,a.createElement("li",{className:"".concat(e,"-item")},s),n&&a.createElement(u,null,n)):null},h=t=>{let{prefixCls:e,children:n,href:o}=t,c=b(t,["prefixCls","children","href"]),{getPrefixCls:r}=a.useContext(s.QO),i=r("breadcrumb",e);return a.createElement(f,Object.assign({},c,{prefixCls:i}),m(i,c,n,o))};h.__ANT_BREADCRUMB_ITEM=!0;var v=n(99841),y=n(18184),O=n(45431),S=n(61388);let j=(0,O.OF)("Breadcrumb",t=>(t=>{let{componentCls:e,iconCls:n,calc:a}=t;return{[e]:Object.assign(Object.assign({},(0,y.dF)(t)),{color:t.itemColor,fontSize:t.fontSize,[n]:{fontSize:t.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},["".concat(e,"-item a")]:Object.assign({color:t.linkColor,transition:"color ".concat(t.motionDurationMid),padding:"0 ".concat((0,v.zA)(t.paddingXXS)),borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",marginInline:a(t.marginXXS).mul(-1).equal(),"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover}},(0,y.K8)(t)),["".concat(e,"-item:last-child")]:{color:t.lastItemColor},["".concat(e,"-separator")]:{marginInline:t.separatorMargin,color:t.separatorColor},["".concat(e,"-link")]:{["\n > ".concat(n," + span,\n > ").concat(n," + a\n ")]:{marginInlineStart:t.marginXXS}},["".concat(e,"-overlay-link")]:{borderRadius:t.borderRadiusSM,height:t.fontHeight,display:"inline-block",padding:"0 ".concat((0,v.zA)(t.paddingXXS)),marginInline:a(t.marginXXS).mul(-1).equal(),["> ".concat(n)]:{marginInlineStart:t.marginXXS,fontSize:t.fontSizeIcon},"&:hover":{color:t.linkHoverColor,backgroundColor:t.colorBgTextHover,a:{color:t.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},["&".concat(t.componentCls,"-rtl")]:{direction:"rtl"}})}})((0,S.oX)(t,{})),t=>({itemColor:t.colorTextDescription,lastItemColor:t.colorText,iconFontSize:t.fontSize,linkColor:t.colorTextDescription,linkHoverColor:t.colorText,separatorColor:t.colorTextDescription,separatorMargin:t.marginXS}));var x=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};function k(t){let{breadcrumbName:e,children:n}=t,a=Object.assign({title:e},x(t,["breadcrumbName","children"]));return n&&(a.menu={items:n.map(t=>{var{breadcrumbName:e}=t;return Object.assign(Object.assign({},x(t,["breadcrumbName"])),{title:e})})}),a}var z=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let w=t=>{let e,{prefixCls:n,separator:o="/",style:d,className:p,rootClassName:g,routes:b,items:h,children:v,itemRender:y,params:O={}}=t,S=z(t,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:x,direction:w,breadcrumb:A}=a.useContext(s.QO),E=x("breadcrumb",n),[C,N,I]=j(E),P=function(t,e){return(0,a.useMemo)(()=>t||(e?e.map(k):null),[t,e])}(h,b),R=function(t,e){return(n,a,o,c,r)=>{if(e)return e(n,a,o,c);let i=function(t,e){if(void 0===t.title||null===t.title)return null;let n=Object.keys(e).join("|");return"object"==typeof t.title?t.title:String(t.title).replace(RegExp(":(".concat(n,")"),"g"),(t,n)=>e[n]||t)}(n,a);return m(t,n,i,r)}}(E,y);if(P&&P.length>0){let t=[],n=h||b;e=P.map((e,c)=>{let{path:r,key:l,type:s,menu:d,overlay:p,onClick:g,className:m,separator:b,dropdownProps:h}=e,v=((t,e)=>{if(void 0===e)return e;let n=(e||"").replace(/^\//,"");return Object.keys(t).forEach(e=>{n=n.replace(":".concat(e),t[e])}),n})(O,r);void 0!==v&&t.push(v);let y=null!=l?l:c;if("separator"===s)return a.createElement(u,{key:y},b);let S={},j=c===P.length-1;d?S.menu=d:p&&(S.overlay=p);let{href:x}=e;return t.length&&void 0!==v&&(x="#/".concat(t.join("/"))),a.createElement(f,Object.assign({key:y},S,(0,i.A)(e,{data:!0,aria:!0}),{className:m,dropdownProps:h,href:x,separator:j?"":o,onClick:g,prefixCls:E}),R(e,O,n,t,x))})}else if(v){let t=(0,r.A)(v).length;e=(0,r.A)(v).map((e,n)=>{if(!e)return e;let a=n===t-1;return(0,l.Ob)(e,{separator:a?"":o,key:n})})}let B=c()(E,null==A?void 0:A.className,{["".concat(E,"-rtl")]:"rtl"===w},p,g,N,I),M=Object.assign(Object.assign({},null==A?void 0:A.style),d);return C(a.createElement("nav",Object.assign({className:B,style:M},S),a.createElement("ol",null,e)))};w.Item=h,w.Separator=u;let A=w},55887:(t,e,n)=>{n.d(e,{A:()=>H});var a=n(12115),o=n(29300),c=n.n(o),r=n(49172),i=n(15982),l=n(24848),s=n(35149),d=n(2419),p=n(68151),u=n(70042),g=n(84630),m=n(51754),b=n(48776),f=n(63583),h=n(66383),v=n(51280);function y(t,e){return null===e||!1===e?null:e||a.createElement(b.A,{className:"".concat(t,"-close-icon")})}h.A,g.A,m.A,f.A,v.A;let O={success:g.A,info:h.A,error:m.A,warning:f.A},S=t=>{let{prefixCls:e,icon:n,type:o,message:r,description:i,actions:l,role:s="alert"}=t,d=null;return n?d=a.createElement("span",{className:"".concat(e,"-icon")},n):o&&(d=a.createElement(O[o]||null,{className:c()("".concat(e,"-icon"),"".concat(e,"-icon-").concat(o))})),a.createElement("div",{className:c()({["".concat(e,"-with-icon")]:d}),role:s},d,a.createElement("div",{className:"".concat(e,"-message")},r),i&&a.createElement("div",{className:"".concat(e,"-description")},i),l&&a.createElement("div",{className:"".concat(e,"-actions")},l))};var j=n(99841),x=n(9130),k=n(18184),z=n(61388),w=n(45431);let A=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},C=(0,w.OF)("Notification",t=>{let e=(t=>{let e=t.paddingMD,n=t.paddingLG;return(0,z.oX)(t,{notificationBg:t.colorBgElevated,notificationPaddingVertical:e,notificationPaddingHorizontal:n,notificationIconSize:t.calc(t.fontSizeLG).mul(t.lineHeightLG).equal(),notificationCloseButtonSize:t.calc(t.controlHeightLG).mul(.55).equal(),notificationMarginBottom:t.margin,notificationPadding:"".concat((0,j.zA)(t.paddingMD)," ").concat((0,j.zA)(t.paddingContentHorizontalLG)),notificationMarginEdge:t.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(t.colorPrimaryBorderHover,", ").concat(t.colorPrimary,")")})})(t);return[(t=>{let{componentCls:e,notificationMarginBottom:n,notificationMarginEdge:a,motionDurationMid:o,motionEaseInOut:c}=t,r="".concat(e,"-notice"),i=new j.Mo("antNotificationFadeOut",{"0%":{maxHeight:t.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[e]:Object.assign(Object.assign({},(0,k.dF)(t)),{position:"fixed",zIndex:t.zIndexPopup,marginRight:{value:a,_skip_check_:!0},["".concat(e,"-hook-holder")]:{position:"relative"},["".concat(e,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(e,"-fade-enter, ").concat(e,"-fade-appear")]:{animationDuration:t.motionDurationMid,animationTimingFunction:c,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(e,"-fade-leave")]:{animationTimingFunction:c,animationFillMode:"both",animationDuration:o,animationPlayState:"paused"},["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(e,"-fade-leave").concat(e,"-fade-leave-active")]:{animationName:i,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(r,"-actions")]:{float:"left"}}})},{[e]:{["".concat(r,"-wrapper")]:(t=>{let{iconCls:e,componentCls:n,boxShadow:a,fontSizeLG:o,notificationMarginBottom:c,borderRadiusLG:r,colorSuccess:i,colorInfo:l,colorWarning:s,colorError:d,colorTextHeading:p,notificationBg:u,notificationPadding:g,notificationMarginEdge:m,notificationProgressBg:b,notificationProgressHeight:f,fontSize:h,lineHeight:v,width:y,notificationIconSize:O,colorText:S,colorSuccessBg:x,colorErrorBg:z,colorInfoBg:w,colorWarningBg:A}=t,E="".concat(n,"-notice");return{position:"relative",marginBottom:c,marginInlineStart:"auto",background:u,borderRadius:r,boxShadow:a,[E]:{padding:g,width:y,maxWidth:"calc(100vw - ".concat((0,j.zA)(t.calc(m).mul(2).equal()),")"),lineHeight:v,wordWrap:"break-word",borderRadius:r,overflow:"hidden","&-success":x?{background:x}:{},"&-error":z?{background:z}:{},"&-info":w?{background:w}:{},"&-warning":A?{background:A}:{}},["".concat(E,"-message")]:{color:p,fontSize:o,lineHeight:t.lineHeightLG},["".concat(E,"-description")]:{fontSize:h,color:S,marginTop:t.marginXS},["".concat(E,"-closable ").concat(E,"-message")]:{paddingInlineEnd:t.paddingLG},["".concat(E,"-with-icon ").concat(E,"-message")]:{marginInlineStart:t.calc(t.marginSM).add(O).equal(),fontSize:o},["".concat(E,"-with-icon ").concat(E,"-description")]:{marginInlineStart:t.calc(t.marginSM).add(O).equal(),fontSize:h},["".concat(E,"-icon")]:{position:"absolute",fontSize:O,lineHeight:1,["&-success".concat(e)]:{color:i},["&-info".concat(e)]:{color:l},["&-warning".concat(e)]:{color:s},["&-error".concat(e)]:{color:d}},["".concat(E,"-close")]:Object.assign({position:"absolute",top:t.notificationPaddingVertical,insetInlineEnd:t.notificationPaddingHorizontal,color:t.colorIcon,outline:"none",width:t.notificationCloseButtonSize,height:t.notificationCloseButtonSize,borderRadius:t.borderRadiusSM,transition:"background-color ".concat(t.motionDurationMid,", color ").concat(t.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:t.colorIconHover,backgroundColor:t.colorBgTextHover},"&:active":{backgroundColor:t.colorBgTextActive}},(0,k.K8)(t)),["".concat(E,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,j.zA)(r)," * 2)"),left:{_skip_check_:!0,value:r},right:{_skip_check_:!0,value:r},bottom:0,blockSize:f,border:0,"&, &::-webkit-progress-bar":{borderRadius:r,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:b},"&::-webkit-progress-value":{borderRadius:r,background:b}},["".concat(E,"-actions")]:{float:"right",marginTop:t.marginSM}}})(t)}}]})(e),(t=>{let{componentCls:e,notificationMarginEdge:n,animationMaxHeight:a}=t,o="".concat(e,"-notice"),c=new j.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),r=new j.Mo("antNotificationTopFadeIn",{"0%":{top:-a,opacity:0},"100%":{top:0,opacity:1}}),i=new j.Mo("antNotificationBottomFadeIn",{"0%":{bottom:t.calc(a).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new j.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[e]:{["&".concat(e,"-top, &").concat(e,"-bottom")]:{marginInline:0,[o]:{marginInline:"auto auto"}},["&".concat(e,"-top")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:r}},["&".concat(e,"-bottom")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:i}},["&".concat(e,"-topRight, &").concat(e,"-bottomRight")]:{["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:c}},["&".concat(e,"-topLeft, &").concat(e,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[o]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(e,"-fade-enter").concat(e,"-fade-enter-active, ").concat(e,"-fade-appear").concat(e,"-fade-appear-active")]:{animationName:l}}}}})(e),(t=>{let{componentCls:e}=t;return Object.assign({["".concat(e,"-stack")]:{["& > ".concat(e,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(t.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(t=>{let e={};for(let n=1;n ".concat(t.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(t.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(t.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},e)})(t))},["".concat(e,"-stack:not(").concat(e,"-stack-expanded)")]:{["& > ".concat(e,"-notice-wrapper")]:Object.assign({},(t=>{let e={};for(let n=1;n ".concat(e,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(t.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:t.margin,width:"100%",insetInline:0,bottom:t.calc(t.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},A.map(e=>((t,e)=>{let{componentCls:n}=t;return{["".concat(n,"-").concat(e)]:{["&".concat(n,"-stack > ").concat(n,"-notice-wrapper")]:{[e.startsWith("top")?"top":"bottom"]:0,[E[e]]:{value:0,_skip_check_:!0}}}}})(t,e)).reduce((t,e)=>Object.assign(Object.assign({},t),e),{}))})(e)]},t=>({zIndexPopup:t.zIndexPopupBase+x.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));var N=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let I=t=>{let{children:e,prefixCls:n}=t,o=(0,p.A)(n),[r,i,l]=C(n,o);return r(a.createElement(d.ph,{classNames:{list:c()(i,l,o)}},e))},P=(t,e)=>{let{prefixCls:n,key:o}=e;return a.createElement(I,{prefixCls:n,key:o},t)},R=a.forwardRef((t,e)=>{let{top:n,bottom:o,prefixCls:r,getContainer:l,maxCount:s,rtl:p,onAllRemoved:g,stack:m,duration:b,pauseOnHover:f=!0,showProgress:h}=t,{getPrefixCls:v,getPopupContainer:O,notification:S,direction:j}=(0,a.useContext)(i.QO),[,x]=(0,u.Ay)(),k=r||v("notification"),[z,w]=(0,d.hN)({prefixCls:k,style:t=>(function(t,e,n){let a;switch(t){case"top":a={left:"50%",transform:"translateX(-50%)",right:"auto",top:e,bottom:"auto"};break;case"topLeft":a={left:0,top:e,bottom:"auto"};break;case"topRight":a={right:0,top:e,bottom:"auto"};break;case"bottom":a={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":a={left:0,top:"auto",bottom:n};break;default:a={right:0,top:"auto",bottom:n}}return a})(t,null!=n?n:24,null!=o?o:24),className:()=>c()({["".concat(k,"-rtl")]:null!=p?p:"rtl"===j}),motion:()=>({motionName:"".concat(k,"-fade")}),closable:!0,closeIcon:y(k),duration:null!=b?b:4.5,getContainer:()=>(null==l?void 0:l())||(null==O?void 0:O())||document.body,maxCount:s,pauseOnHover:f,showProgress:h,onAllRemoved:g,renderNotifications:P,stack:!1!==m&&{threshold:"object"==typeof m?null==m?void 0:m.threshold:void 0,offset:8,gap:x.margin}});return a.useImperativeHandle(e,()=>Object.assign(Object.assign({},z),{prefixCls:k,notification:S})),w});var B=n(99209);let M=(0,w.OF)("App",t=>{let{componentCls:e,colorText:n,fontSize:a,lineHeight:o,fontFamily:c}=t;return{[e]:{color:n,fontSize:a,lineHeight:o,fontFamily:c,["&".concat(e,"-rtl")]:{direction:"rtl"}}}},()=>({})),L=t=>{let{prefixCls:e,children:n,className:o,rootClassName:d,message:p,notification:u,style:g,component:m="div"}=t,{direction:b,getPrefixCls:f}=(0,a.useContext)(i.QO),h=f("app",e),[v,O,j]=M(h),x=c()(O,h,o,d,j,{["".concat(h,"-rtl")]:"rtl"===b}),k=(0,a.useContext)(B.B),z=a.useMemo(()=>({message:Object.assign(Object.assign({},k.message),p),notification:Object.assign(Object.assign({},k.notification),u)}),[p,u,k.message,k.notification]),[w,A]=(0,l.A)(z.message),[E,C]=function(t){let e=a.useRef(null);return(0,r.rJ)("Notification"),[a.useMemo(()=>{let n=n=>{var o;if(!e.current)return;let{open:r,prefixCls:i,notification:l}=e.current,s="".concat(i,"-notice"),{message:d,description:p,icon:u,type:g,btn:m,actions:b,className:f,style:h,role:v="alert",closeIcon:O,closable:j}=n,x=N(n,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),k=y(s,void 0!==O?O:void 0!==(null==t?void 0:t.closeIcon)?t.closeIcon:null==l?void 0:l.closeIcon);return r(Object.assign(Object.assign({placement:null!=(o=null==t?void 0:t.placement)?o:"topRight"},x),{content:a.createElement(S,{prefixCls:s,icon:u,type:g,message:d,description:p,actions:null!=b?b:m,role:v}),className:c()(g&&"".concat(s,"-").concat(g),f,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),h),closeIcon:k,closable:null!=j?j:!!k}))},o={open:n,destroy:t=>{var n,a;void 0!==t?null==(n=e.current)||n.close(t):null==(a=e.current)||a.destroy()}};return["success","info","warning","error"].forEach(t=>{o[t]=e=>n(Object.assign(Object.assign({},e),{type:t}))}),o},[]),a.createElement(R,Object.assign({key:"notification-holder"},t,{ref:e}))]}(z.notification),[I,P]=(0,s.A)(),L=a.useMemo(()=>({message:w,notification:E,modal:I}),[w,E,I]);(0,r.rJ)("App")(!(j&&!1===m),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let H=!1===m?a.Fragment:m;return v(a.createElement(B.A.Provider,{value:L},a.createElement(B.B.Provider,{value:z},a.createElement(H,Object.assign({},!1===m?void 0:{className:x,style:g}),P,A,C,n))))};L.useApp=()=>a.useContext(B.A);let H=L},58206:(t,e,n)=>{n.d(e,{A:()=>i});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"};var c=n(75659);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;ea.createElement(c.A,r({},t,{ref:e,icon:o})))},98527:(t,e,n)=>{n.d(e,{A:()=>a});let a={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"}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-08e927c3f1d1bfa4.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-3be66765b0421732.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-08e927c3f1d1bfa4.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-3be66765b0421732.js index 3320742c..8f128354 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-08e927c3f1d1bfa4.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3320-3be66765b0421732.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3320],{2419:(e,n,t)=>{t.d(n,{$T:()=>g,ph:()=>A,hN:()=>w});var o=t(85757),c=t(21858),a=t(20235),r=t(12115),l=t(27061),i=t(47650),s=t(79630),u=t(40419),f=t(29300),m=t.n(f),p=t(82870),d=t(86608),v=t(17233),y=t(40032);let g=r.forwardRef(function(e,n){var t=e.prefixCls,o=e.style,a=e.className,l=e.duration,i=void 0===l?4.5:l,f=e.showProgress,p=e.pauseOnHover,g=void 0===p||p,h=e.eventKey,A=e.content,E=e.closable,b=e.closeIcon,k=void 0===b?"x":b,N=e.props,x=e.onClick,C=e.onNoticeClose,O=e.times,j=e.hovering,w=r.useState(!1),M=(0,c.A)(w,2),S=M[0],P=M[1],I=r.useState(0),R=(0,c.A)(I,2),H=R[0],F=R[1],T=r.useState(0),D=(0,c.A)(T,2),L=D[0],z=D[1],W=j||S,_=i>0&&f,B=function(){C(h)};r.useEffect(function(){if(!W&&i>0){var e=Date.now()-L,n=setTimeout(function(){B()},1e3*i-L);return function(){g&&clearTimeout(n),z(Date.now()-e)}}},[i,W,O]),r.useEffect(function(){if(!W&&_&&(g||0===L)){var e,n=performance.now();return!function t(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var o=Math.min((e+L-n)/(1e3*i),1);F(100*o),o<1&&t()})}(),function(){g&&cancelAnimationFrame(e)}}},[i,L,W,_,O]);var K=r.useMemo(function(){return"object"===(0,d.A)(E)&&null!==E?E:E?{closeIcon:k}:{}},[E,k]),X=(0,y.A)(K,!0),q=100-(!H||H<0?0:H>100?100:H),Q="".concat(t,"-notice");return r.createElement("div",(0,s.A)({},N,{ref:n,className:m()(Q,a,(0,u.A)({},"".concat(Q,"-closable"),E)),style:o,onMouseEnter:function(e){var n;P(!0),null==N||null==(n=N.onMouseEnter)||n.call(N,e)},onMouseLeave:function(e){var n;P(!1),null==N||null==(n=N.onMouseLeave)||n.call(N,e)},onClick:x}),r.createElement("div",{className:"".concat(Q,"-content")},A),E&&r.createElement("a",(0,s.A)({tabIndex:0,className:"".concat(Q,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===v.A.ENTER)&&B()},"aria-label":"Close"},X,{onClick:function(e){e.preventDefault(),e.stopPropagation(),B()}}),K.closeIcon),_&&r.createElement("progress",{className:"".concat(Q,"-progress"),max:"100",value:q},q+"%"))});var h=r.createContext({});let A=function(e){var n=e.children,t=e.classNames;return r.createElement(h.Provider,{value:{classNames:t}},n)},E=function(e){var n,t,o,c={offset:8,threshold:3,gap:16};return e&&"object"===(0,d.A)(e)&&(c.offset=null!=(n=e.offset)?n:8,c.threshold=null!=(t=e.threshold)?t:3,c.gap=null!=(o=e.gap)?o:16),[!!e,c]};var b=["className","style","classNames","styles"];let k=function(e){var n=e.configList,t=e.placement,i=e.prefixCls,f=e.className,d=e.style,v=e.motion,y=e.onAllNoticeRemoved,A=e.onNoticeClose,k=e.stack,N=(0,r.useContext)(h).classNames,x=(0,r.useRef)({}),C=(0,r.useState)(null),O=(0,c.A)(C,2),j=O[0],w=O[1],M=(0,r.useState)([]),S=(0,c.A)(M,2),P=S[0],I=S[1],R=n.map(function(e){return{config:e,key:String(e.key)}}),H=E(k),F=(0,c.A)(H,2),T=F[0],D=F[1],L=D.offset,z=D.threshold,W=D.gap,_=T&&(P.length>0||R.length<=z),B="function"==typeof v?v(t):v;return(0,r.useEffect)(function(){T&&P.length>1&&I(function(e){return e.filter(function(e){return R.some(function(n){return e===n.key})})})},[P,R,T]),(0,r.useEffect)(function(){var e,n;T&&x.current[null==(e=R[R.length-1])?void 0:e.key]&&w(x.current[null==(n=R[R.length-1])?void 0:n.key])},[R,T]),r.createElement(p.aF,(0,s.A)({key:t,className:m()(i,"".concat(i,"-").concat(t),null==N?void 0:N.list,f,(0,u.A)((0,u.A)({},"".concat(i,"-stack"),!!T),"".concat(i,"-stack-expanded"),_)),style:d,keys:R,motionAppear:!0},B,{onAllRemoved:function(){y(t)}}),function(e,n){var c=e.config,u=e.className,f=e.style,p=e.index,d=c.key,v=c.times,y=String(d),h=c.className,E=c.style,k=c.classNames,C=c.styles,O=(0,a.A)(c,b),w=R.findIndex(function(e){return e.key===y}),M={};if(T){var S=R.length-1-(w>-1?w:p-1),H="top"===t||"bottom"===t?"-50%":"0";if(S>0){M.height=_?null==(F=x.current[y])?void 0:F.offsetHeight:null==j?void 0:j.offsetHeight;for(var F,D,z,B,K=0,X=0;X-1?x.current[y]=e:delete x.current[y]},prefixCls:i,classNames:k,styles:C,className:m()(h,null==N?void 0:N.notice),style:E,times:v,key:d,eventKey:d,onNoticeClose:A,hovering:T&&P.length>0})))})};var N=r.forwardRef(function(e,n){var t=e.prefixCls,a=void 0===t?"rc-notification":t,s=e.container,u=e.motion,f=e.maxCount,m=e.className,p=e.style,d=e.onAllRemoved,v=e.stack,y=e.renderNotifications,g=r.useState([]),h=(0,c.A)(g,2),A=h[0],E=h[1],b=function(e){var n,t=A.find(function(n){return n.key===e});null==t||null==(n=t.onClose)||n.call(t),E(function(n){return n.filter(function(n){return n.key!==e})})};r.useImperativeHandle(n,function(){return{open:function(e){E(function(n){var t,c=(0,o.A)(n),a=c.findIndex(function(n){return n.key===e.key}),r=(0,l.A)({},e);return a>=0?(r.times=((null==(t=n[a])?void 0:t.times)||0)+1,c[a]=r):(r.times=0,c.push(r)),f>0&&c.length>f&&(c=c.slice(-f)),c})},close:function(e){b(e)},destroy:function(){E([])}}});var N=r.useState({}),x=(0,c.A)(N,2),C=x[0],O=x[1];r.useEffect(function(){var e={};A.forEach(function(n){var t=n.placement,o=void 0===t?"topRight":t;o&&(e[o]=e[o]||[],e[o].push(n))}),Object.keys(C).forEach(function(n){e[n]=e[n]||[]}),O(e)},[A]);var j=function(e){O(function(n){var t=(0,l.A)({},n);return(t[e]||[]).length||delete t[e],t})},w=r.useRef(!1);if(r.useEffect(function(){Object.keys(C).length>0?w.current=!0:w.current&&(null==d||d(),w.current=!1)},[C]),!s)return null;var M=Object.keys(C);return(0,i.createPortal)(r.createElement(r.Fragment,null,M.map(function(e){var n=C[e],t=r.createElement(k,{key:e,configList:n,placement:e,prefixCls:a,className:null==m?void 0:m(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:b,onAllNoticeRemoved:j,stack:v});return y?y(t,{prefixCls:a,key:e}):t})),s)}),x=t(11719),C=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],O=function(){return document.body},j=0;function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getContainer,t=void 0===n?O:n,l=e.motion,i=e.prefixCls,s=e.maxCount,u=e.className,f=e.style,m=e.onAllRemoved,p=e.stack,d=e.renderNotifications,v=(0,a.A)(e,C),y=r.useState(),g=(0,c.A)(y,2),h=g[0],A=g[1],E=r.useRef(),b=r.createElement(N,{container:h,ref:E,prefixCls:i,motion:l,maxCount:s,className:u,style:f,onAllRemoved:m,stack:p,renderNotifications:d}),k=r.useState([]),w=(0,c.A)(k,2),M=w[0],S=w[1],P=(0,x._q)(function(e){var n=function(){for(var e={},n=arguments.length,t=Array(n),o=0;o{t.d(n,{A:()=>i});var o=t(99841),c=t(9130),a=t(18184),r=t(45431),l=t(61388);let i=(0,r.OF)("Message",e=>(e=>{let{componentCls:n,iconCls:t,boxShadow:c,colorText:r,colorSuccess:l,colorError:i,colorWarning:s,colorInfo:u,fontSizeLG:f,motionEaseInOutCirc:m,motionDurationSlow:p,marginXS:d,paddingXS:v,borderRadiusLG:y,zIndexPopup:g,contentPadding:h,contentBg:A}=e,E="".concat(n,"-notice"),b=new o.Mo("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:v,transform:"translateY(0)",opacity:1}}),k=new o.Mo("MessageMoveOut",{"0%":{maxHeight:e.height,padding:v,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),N={padding:v,textAlign:"center",["".concat(n,"-custom-content")]:{display:"flex",alignItems:"center"},["".concat(n,"-custom-content > ").concat(t)]:{marginInlineEnd:d,fontSize:f},["".concat(E,"-content")]:{display:"inline-block",padding:h,background:A,borderRadius:y,boxShadow:c,pointerEvents:"all"},["".concat(n,"-success > ").concat(t)]:{color:l},["".concat(n,"-error > ").concat(t)]:{color:i},["".concat(n,"-warning > ").concat(t)]:{color:s},["".concat(n,"-info > ").concat(t,",\n ").concat(n,"-loading > ").concat(t)]:{color:u}};return[{[n]:Object.assign(Object.assign({},(0,a.dF)(e)),{color:r,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:g,["".concat(n,"-move-up")]:{animationFillMode:"forwards"},["\n ".concat(n,"-move-up-appear,\n ").concat(n,"-move-up-enter\n ")]:{animationName:b,animationDuration:p,animationPlayState:"paused",animationTimingFunction:m},["\n ".concat(n,"-move-up-appear").concat(n,"-move-up-appear-active,\n ").concat(n,"-move-up-enter").concat(n,"-move-up-enter-active\n ")]:{animationPlayState:"running"},["".concat(n,"-move-up-leave")]:{animationName:k,animationDuration:p,animationPlayState:"paused",animationTimingFunction:m},["".concat(n,"-move-up-leave").concat(n,"-move-up-leave-active")]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[n]:{["".concat(E,"-wrapper")]:Object.assign({},N)}},{["".concat(n,"-notice-pure-panel")]:Object.assign(Object.assign({},N),{padding:0,textAlign:"start"})}]})((0,l.oX)(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+c.jH+10,contentBg:e.colorBgElevated,contentPadding:"".concat((e.controlHeightLG-e.fontSize*e.lineHeight)/2,"px ").concat(e.paddingSM,"px")}))},16622:(e,n,t)=>{t.d(n,{Ay:()=>h,Mb:()=>g});var o=t(12115),c=t(84630),a=t(51754),r=t(63583),l=t(66383),i=t(51280),s=t(29300),u=t.n(s),f=t(2419),m=t(15982),p=t(68151),d=t(6504),v=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 c=0,o=Object.getOwnPropertySymbols(e);cn.indexOf(o[c])&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]]);return t};let y={info:o.createElement(l.A,null),success:o.createElement(c.A,null),error:o.createElement(a.A,null),warning:o.createElement(r.A,null),loading:o.createElement(i.A,null)},g=e=>{let{prefixCls:n,type:t,icon:c,children:a}=e;return o.createElement("div",{className:u()("".concat(n,"-custom-content"),"".concat(n,"-").concat(t))},c||y[t],o.createElement("span",null,a))},h=e=>{let{prefixCls:n,className:t,type:c,icon:a,content:r}=e,l=v(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:i}=o.useContext(m.QO),s=n||i("message"),y=(0,p.A)(s),[h,A,E]=(0,d.A)(s,y);return h(o.createElement(f.$T,Object.assign({},l,{prefixCls:s,className:u()(t,A,"".concat(s,"-notice-pure-panel"),E,y),eventKey:"pure",duration:null,content:o.createElement(g,{prefixCls:s,type:c,icon:a},r)})))}},24848:(e,n,t)=>{t.d(n,{A:()=>E,y:()=>A});var o=t(12115),c=t(48776),a=t(29300),r=t.n(a),l=t(2419),i=t(26791),s=t(15982),u=t(68151),f=t(16622),m=t(6504),p=t(31390),d=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 c=0,o=Object.getOwnPropertySymbols(e);cn.indexOf(o[c])&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]]);return t};let v=e=>{let{children:n,prefixCls:t}=e,c=(0,u.A)(t),[a,i,s]=(0,m.A)(t,c);return a(o.createElement(l.ph,{classNames:{list:r()(i,s,c)}},n))},y=(e,n)=>{let{prefixCls:t,key:c}=n;return o.createElement(v,{prefixCls:t,key:c},e)},g=o.forwardRef((e,n)=>{let{top:t,prefixCls:a,getContainer:i,maxCount:u,duration:f=3,rtl:m,transitionName:d,onAllRemoved:v}=e,{getPrefixCls:g,getPopupContainer:h,message:A,direction:E}=o.useContext(s.QO),b=a||g("message"),k=o.createElement("span",{className:"".concat(b,"-close-x")},o.createElement(c.A,{className:"".concat(b,"-close-icon")})),[N,x]=(0,l.hN)({prefixCls:b,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=t?t:8}),className:()=>r()({["".concat(b,"-rtl")]:null!=m?m:"rtl"===E}),motion:()=>(0,p.V)(b,d),closable:!1,closeIcon:k,duration:f,getContainer:()=>(null==i?void 0:i())||(null==h?void 0:h())||document.body,maxCount:u,onAllRemoved:v,renderNotifications:y});return o.useImperativeHandle(n,()=>Object.assign(Object.assign({},N),{prefixCls:b,message:A})),x}),h=0;function A(e){let n=o.useRef(null);return(0,i.rJ)("Message"),[o.useMemo(()=>{let e=e=>{var t;null==(t=n.current)||t.close(e)},t=t=>{if(!n.current){let e=()=>{};return e.then=()=>{},e}let{open:c,prefixCls:a,message:l}=n.current,i="".concat(a,"-notice"),{content:s,icon:u,type:m,key:v,className:y,style:g,onClose:A}=t,E=d(t,["content","icon","type","key","className","style","onClose"]),b=v;return null==b&&(h+=1,b="antd-message-".concat(h)),(0,p.E)(n=>(c(Object.assign(Object.assign({},E),{key:b,content:o.createElement(f.Mb,{prefixCls:a,type:m,icon:u},s),placement:"top",className:r()(m&&"".concat(i,"-").concat(m),y,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),g),onClose:()=>{null==A||A(),n()}})),()=>{e(b)}))},c={open:t,destroy:t=>{var o;void 0!==t?e(t):null==(o=n.current)||o.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{c[e]=(n,o,c)=>{let a,r,l;return a=n&&"object"==typeof n&&"content"in n?n:{content:n},"function"==typeof o?l=o:(r=o,l=c),t(Object.assign(Object.assign({onClose:l,duration:r},a),{type:e}))}}),c},[]),o.createElement(g,Object.assign({key:"message-holder"},e,{ref:n}))]}function E(e){return A(e)}},31390:(e,n,t)=>{function o(e,n){return{motionName:null!=n?n:"".concat(e,"-move-up")}}function c(e){let n,t=new Promise(t=>{n=e(()=>{t(!0)})}),o=()=>{null==n||n()};return o.then=(e,n)=>t.then(e,n),o.promise=t,o}t.d(n,{E:()=>c,V:()=>o})},99209:(e,n,t)=>{t.d(n,{A:()=>a,B:()=>c});var o=t(12115);let c=o.createContext({}),a=o.createContext({message:{},notification:{},modal:{}})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3320],{2419:(e,n,t)=>{t.d(n,{$T:()=>g,ph:()=>A,hN:()=>w});var o=t(85757),c=t(21858),a=t(20235),r=t(12115),l=t(27061),i=t(47650),s=t(79630),u=t(40419),f=t(29300),m=t.n(f),p=t(82870),d=t(86608),v=t(17233),y=t(40032);let g=r.forwardRef(function(e,n){var t=e.prefixCls,o=e.style,a=e.className,l=e.duration,i=void 0===l?4.5:l,f=e.showProgress,p=e.pauseOnHover,g=void 0===p||p,h=e.eventKey,A=e.content,E=e.closable,b=e.closeIcon,k=void 0===b?"x":b,N=e.props,x=e.onClick,C=e.onNoticeClose,O=e.times,j=e.hovering,w=r.useState(!1),M=(0,c.A)(w,2),S=M[0],P=M[1],I=r.useState(0),R=(0,c.A)(I,2),H=R[0],F=R[1],T=r.useState(0),D=(0,c.A)(T,2),L=D[0],z=D[1],W=j||S,_=i>0&&f,B=function(){C(h)};r.useEffect(function(){if(!W&&i>0){var e=Date.now()-L,n=setTimeout(function(){B()},1e3*i-L);return function(){g&&clearTimeout(n),z(Date.now()-e)}}},[i,W,O]),r.useEffect(function(){if(!W&&_&&(g||0===L)){var e,n=performance.now();return!function t(){cancelAnimationFrame(e),e=requestAnimationFrame(function(e){var o=Math.min((e+L-n)/(1e3*i),1);F(100*o),o<1&&t()})}(),function(){g&&cancelAnimationFrame(e)}}},[i,L,W,_,O]);var K=r.useMemo(function(){return"object"===(0,d.A)(E)&&null!==E?E:E?{closeIcon:k}:{}},[E,k]),X=(0,y.A)(K,!0),q=100-(!H||H<0?0:H>100?100:H),Q="".concat(t,"-notice");return r.createElement("div",(0,s.A)({},N,{ref:n,className:m()(Q,a,(0,u.A)({},"".concat(Q,"-closable"),E)),style:o,onMouseEnter:function(e){var n;P(!0),null==N||null==(n=N.onMouseEnter)||n.call(N,e)},onMouseLeave:function(e){var n;P(!1),null==N||null==(n=N.onMouseLeave)||n.call(N,e)},onClick:x}),r.createElement("div",{className:"".concat(Q,"-content")},A),E&&r.createElement("a",(0,s.A)({tabIndex:0,className:"".concat(Q,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===v.A.ENTER)&&B()},"aria-label":"Close"},X,{onClick:function(e){e.preventDefault(),e.stopPropagation(),B()}}),K.closeIcon),_&&r.createElement("progress",{className:"".concat(Q,"-progress"),max:"100",value:q},q+"%"))});var h=r.createContext({});let A=function(e){var n=e.children,t=e.classNames;return r.createElement(h.Provider,{value:{classNames:t}},n)},E=function(e){var n,t,o,c={offset:8,threshold:3,gap:16};return e&&"object"===(0,d.A)(e)&&(c.offset=null!=(n=e.offset)?n:8,c.threshold=null!=(t=e.threshold)?t:3,c.gap=null!=(o=e.gap)?o:16),[!!e,c]};var b=["className","style","classNames","styles"];let k=function(e){var n=e.configList,t=e.placement,i=e.prefixCls,f=e.className,d=e.style,v=e.motion,y=e.onAllNoticeRemoved,A=e.onNoticeClose,k=e.stack,N=(0,r.useContext)(h).classNames,x=(0,r.useRef)({}),C=(0,r.useState)(null),O=(0,c.A)(C,2),j=O[0],w=O[1],M=(0,r.useState)([]),S=(0,c.A)(M,2),P=S[0],I=S[1],R=n.map(function(e){return{config:e,key:String(e.key)}}),H=E(k),F=(0,c.A)(H,2),T=F[0],D=F[1],L=D.offset,z=D.threshold,W=D.gap,_=T&&(P.length>0||R.length<=z),B="function"==typeof v?v(t):v;return(0,r.useEffect)(function(){T&&P.length>1&&I(function(e){return e.filter(function(e){return R.some(function(n){return e===n.key})})})},[P,R,T]),(0,r.useEffect)(function(){var e,n;T&&x.current[null==(e=R[R.length-1])?void 0:e.key]&&w(x.current[null==(n=R[R.length-1])?void 0:n.key])},[R,T]),r.createElement(p.aF,(0,s.A)({key:t,className:m()(i,"".concat(i,"-").concat(t),null==N?void 0:N.list,f,(0,u.A)((0,u.A)({},"".concat(i,"-stack"),!!T),"".concat(i,"-stack-expanded"),_)),style:d,keys:R,motionAppear:!0},B,{onAllRemoved:function(){y(t)}}),function(e,n){var c=e.config,u=e.className,f=e.style,p=e.index,d=c.key,v=c.times,y=String(d),h=c.className,E=c.style,k=c.classNames,C=c.styles,O=(0,a.A)(c,b),w=R.findIndex(function(e){return e.key===y}),M={};if(T){var S=R.length-1-(w>-1?w:p-1),H="top"===t||"bottom"===t?"-50%":"0";if(S>0){M.height=_?null==(F=x.current[y])?void 0:F.offsetHeight:null==j?void 0:j.offsetHeight;for(var F,D,z,B,K=0,X=0;X-1?x.current[y]=e:delete x.current[y]},prefixCls:i,classNames:k,styles:C,className:m()(h,null==N?void 0:N.notice),style:E,times:v,key:d,eventKey:d,onNoticeClose:A,hovering:T&&P.length>0})))})};var N=r.forwardRef(function(e,n){var t=e.prefixCls,a=void 0===t?"rc-notification":t,s=e.container,u=e.motion,f=e.maxCount,m=e.className,p=e.style,d=e.onAllRemoved,v=e.stack,y=e.renderNotifications,g=r.useState([]),h=(0,c.A)(g,2),A=h[0],E=h[1],b=function(e){var n,t=A.find(function(n){return n.key===e});null==t||null==(n=t.onClose)||n.call(t),E(function(n){return n.filter(function(n){return n.key!==e})})};r.useImperativeHandle(n,function(){return{open:function(e){E(function(n){var t,c=(0,o.A)(n),a=c.findIndex(function(n){return n.key===e.key}),r=(0,l.A)({},e);return a>=0?(r.times=((null==(t=n[a])?void 0:t.times)||0)+1,c[a]=r):(r.times=0,c.push(r)),f>0&&c.length>f&&(c=c.slice(-f)),c})},close:function(e){b(e)},destroy:function(){E([])}}});var N=r.useState({}),x=(0,c.A)(N,2),C=x[0],O=x[1];r.useEffect(function(){var e={};A.forEach(function(n){var t=n.placement,o=void 0===t?"topRight":t;o&&(e[o]=e[o]||[],e[o].push(n))}),Object.keys(C).forEach(function(n){e[n]=e[n]||[]}),O(e)},[A]);var j=function(e){O(function(n){var t=(0,l.A)({},n);return(t[e]||[]).length||delete t[e],t})},w=r.useRef(!1);if(r.useEffect(function(){Object.keys(C).length>0?w.current=!0:w.current&&(null==d||d(),w.current=!1)},[C]),!s)return null;var M=Object.keys(C);return(0,i.createPortal)(r.createElement(r.Fragment,null,M.map(function(e){var n=C[e],t=r.createElement(k,{key:e,configList:n,placement:e,prefixCls:a,className:null==m?void 0:m(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:b,onAllNoticeRemoved:j,stack:v});return y?y(t,{prefixCls:a,key:e}):t})),s)}),x=t(11719),C=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],O=function(){return document.body},j=0;function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getContainer,t=void 0===n?O:n,l=e.motion,i=e.prefixCls,s=e.maxCount,u=e.className,f=e.style,m=e.onAllRemoved,p=e.stack,d=e.renderNotifications,v=(0,a.A)(e,C),y=r.useState(),g=(0,c.A)(y,2),h=g[0],A=g[1],E=r.useRef(),b=r.createElement(N,{container:h,ref:E,prefixCls:i,motion:l,maxCount:s,className:u,style:f,onAllRemoved:m,stack:p,renderNotifications:d}),k=r.useState([]),w=(0,c.A)(k,2),M=w[0],S=w[1],P=(0,x._q)(function(e){var n=function(){for(var e={},n=arguments.length,t=Array(n),o=0;o{t.d(n,{A:()=>i});var o=t(99841),c=t(9130),a=t(18184),r=t(45431),l=t(61388);let i=(0,r.OF)("Message",e=>(e=>{let{componentCls:n,iconCls:t,boxShadow:c,colorText:r,colorSuccess:l,colorError:i,colorWarning:s,colorInfo:u,fontSizeLG:f,motionEaseInOutCirc:m,motionDurationSlow:p,marginXS:d,paddingXS:v,borderRadiusLG:y,zIndexPopup:g,contentPadding:h,contentBg:A}=e,E="".concat(n,"-notice"),b=new o.Mo("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:v,transform:"translateY(0)",opacity:1}}),k=new o.Mo("MessageMoveOut",{"0%":{maxHeight:e.height,padding:v,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),N={padding:v,textAlign:"center",["".concat(n,"-custom-content")]:{display:"flex",alignItems:"center"},["".concat(n,"-custom-content > ").concat(t)]:{marginInlineEnd:d,fontSize:f},["".concat(E,"-content")]:{display:"inline-block",padding:h,background:A,borderRadius:y,boxShadow:c,pointerEvents:"all"},["".concat(n,"-success > ").concat(t)]:{color:l},["".concat(n,"-error > ").concat(t)]:{color:i},["".concat(n,"-warning > ").concat(t)]:{color:s},["".concat(n,"-info > ").concat(t,",\n ").concat(n,"-loading > ").concat(t)]:{color:u}};return[{[n]:Object.assign(Object.assign({},(0,a.dF)(e)),{color:r,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:g,["".concat(n,"-move-up")]:{animationFillMode:"forwards"},["\n ".concat(n,"-move-up-appear,\n ").concat(n,"-move-up-enter\n ")]:{animationName:b,animationDuration:p,animationPlayState:"paused",animationTimingFunction:m},["\n ".concat(n,"-move-up-appear").concat(n,"-move-up-appear-active,\n ").concat(n,"-move-up-enter").concat(n,"-move-up-enter-active\n ")]:{animationPlayState:"running"},["".concat(n,"-move-up-leave")]:{animationName:k,animationDuration:p,animationPlayState:"paused",animationTimingFunction:m},["".concat(n,"-move-up-leave").concat(n,"-move-up-leave-active")]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[n]:{["".concat(E,"-wrapper")]:Object.assign({},N)}},{["".concat(n,"-notice-pure-panel")]:Object.assign(Object.assign({},N),{padding:0,textAlign:"start"})}]})((0,l.oX)(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+c.jH+10,contentBg:e.colorBgElevated,contentPadding:"".concat((e.controlHeightLG-e.fontSize*e.lineHeight)/2,"px ").concat(e.paddingSM,"px")}))},16622:(e,n,t)=>{t.d(n,{Ay:()=>h,Mb:()=>g});var o=t(12115),c=t(84630),a=t(51754),r=t(63583),l=t(66383),i=t(51280),s=t(29300),u=t.n(s),f=t(2419),m=t(15982),p=t(68151),d=t(6504),v=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 c=0,o=Object.getOwnPropertySymbols(e);cn.indexOf(o[c])&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]]);return t};let y={info:o.createElement(l.A,null),success:o.createElement(c.A,null),error:o.createElement(a.A,null),warning:o.createElement(r.A,null),loading:o.createElement(i.A,null)},g=e=>{let{prefixCls:n,type:t,icon:c,children:a}=e;return o.createElement("div",{className:u()("".concat(n,"-custom-content"),"".concat(n,"-").concat(t))},c||y[t],o.createElement("span",null,a))},h=e=>{let{prefixCls:n,className:t,type:c,icon:a,content:r}=e,l=v(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:i}=o.useContext(m.QO),s=n||i("message"),y=(0,p.A)(s),[h,A,E]=(0,d.A)(s,y);return h(o.createElement(f.$T,Object.assign({},l,{prefixCls:s,className:u()(t,A,"".concat(s,"-notice-pure-panel"),E,y),eventKey:"pure",duration:null,content:o.createElement(g,{prefixCls:s,type:c,icon:a},r)})))}},24848:(e,n,t)=>{t.d(n,{A:()=>E,y:()=>A});var o=t(12115),c=t(48776),a=t(29300),r=t.n(a),l=t(2419),i=t(49172),s=t(15982),u=t(68151),f=t(16622),m=t(6504),p=t(31390),d=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 c=0,o=Object.getOwnPropertySymbols(e);cn.indexOf(o[c])&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]]);return t};let v=e=>{let{children:n,prefixCls:t}=e,c=(0,u.A)(t),[a,i,s]=(0,m.A)(t,c);return a(o.createElement(l.ph,{classNames:{list:r()(i,s,c)}},n))},y=(e,n)=>{let{prefixCls:t,key:c}=n;return o.createElement(v,{prefixCls:t,key:c},e)},g=o.forwardRef((e,n)=>{let{top:t,prefixCls:a,getContainer:i,maxCount:u,duration:f=3,rtl:m,transitionName:d,onAllRemoved:v}=e,{getPrefixCls:g,getPopupContainer:h,message:A,direction:E}=o.useContext(s.QO),b=a||g("message"),k=o.createElement("span",{className:"".concat(b,"-close-x")},o.createElement(c.A,{className:"".concat(b,"-close-icon")})),[N,x]=(0,l.hN)({prefixCls:b,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=t?t:8}),className:()=>r()({["".concat(b,"-rtl")]:null!=m?m:"rtl"===E}),motion:()=>(0,p.V)(b,d),closable:!1,closeIcon:k,duration:f,getContainer:()=>(null==i?void 0:i())||(null==h?void 0:h())||document.body,maxCount:u,onAllRemoved:v,renderNotifications:y});return o.useImperativeHandle(n,()=>Object.assign(Object.assign({},N),{prefixCls:b,message:A})),x}),h=0;function A(e){let n=o.useRef(null);return(0,i.rJ)("Message"),[o.useMemo(()=>{let e=e=>{var t;null==(t=n.current)||t.close(e)},t=t=>{if(!n.current){let e=()=>{};return e.then=()=>{},e}let{open:c,prefixCls:a,message:l}=n.current,i="".concat(a,"-notice"),{content:s,icon:u,type:m,key:v,className:y,style:g,onClose:A}=t,E=d(t,["content","icon","type","key","className","style","onClose"]),b=v;return null==b&&(h+=1,b="antd-message-".concat(h)),(0,p.E)(n=>(c(Object.assign(Object.assign({},E),{key:b,content:o.createElement(f.Mb,{prefixCls:a,type:m,icon:u},s),placement:"top",className:r()(m&&"".concat(i,"-").concat(m),y,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),g),onClose:()=>{null==A||A(),n()}})),()=>{e(b)}))},c={open:t,destroy:t=>{var o;void 0!==t?e(t):null==(o=n.current)||o.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{c[e]=(n,o,c)=>{let a,r,l;return a=n&&"object"==typeof n&&"content"in n?n:{content:n},"function"==typeof o?l=o:(r=o,l=c),t(Object.assign(Object.assign({onClose:l,duration:r},a),{type:e}))}}),c},[]),o.createElement(g,Object.assign({key:"message-holder"},e,{ref:n}))]}function E(e){return A(e)}},31390:(e,n,t)=>{function o(e,n){return{motionName:null!=n?n:"".concat(e,"-move-up")}}function c(e){let n,t=new Promise(t=>{n=e(()=>{t(!0)})}),o=()=>{null==n||n()};return o.then=(e,n)=>t.then(e,n),o.promise=t,o}t.d(n,{E:()=>c,V:()=>o})},99209:(e,n,t)=>{t.d(n,{A:()=>a,B:()=>c});var o=t(12115);let c=o.createContext({}),a=o.createContext({message:{},notification:{},modal:{}})}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-32e1cb1eabd7acd8.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-dd39572430888be7.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-32e1cb1eabd7acd8.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-dd39572430888be7.js index 27bef0e4..66e7e45b 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-32e1cb1eabd7acd8.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3512-dd39572430888be7.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3512],{23512:(t,e,n)=>{n.d(e,{A:()=>th});var a=n(12115),o=n(48776),c=n(11359),r=n(79630),i=n(3514),l=n(35030),d=a.forwardRef(function(t,e){return a.createElement(l.A,(0,r.A)({},t,{ref:e,icon:i.A}))}),s=n(29300),u=n.n(s),f=n(40419),v=n(27061),b=n(21858),p=n(86608),m=n(20235),h=n(48804),g=n(96951);let k=(0,a.createContext)(null);var y=n(85757),A=n(32417),w=n(18885),_=n(74686),x=n(16962);let S=function(t){var e=t.activeTabOffset,n=t.horizontal,o=t.rtl,c=t.indicator,r=void 0===c?{}:c,i=r.size,l=r.align,d=void 0===l?"center":l,s=(0,a.useState)(),u=(0,b.A)(s,2),f=u[0],v=u[1],p=(0,a.useRef)(),m=a.useCallback(function(t){return"function"==typeof i?i(t):"number"==typeof i?i:t},[i]);function h(){x.A.cancel(p.current)}return(0,a.useEffect)(function(){var t={};if(e)if(n){t.width=m(e.width);var a=o?"right":"left";"start"===d&&(t[a]=e[a]),"center"===d&&(t[a]=e[a]+e.width/2,t.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(t[a]=e[a]+e.width,t.transform="translateX(-100%)")}else t.height=m(e.height),"start"===d&&(t.top=e.top),"center"===d&&(t.top=e.top+e.height/2,t.transform="translateY(-50%)"),"end"===d&&(t.top=e.top+e.height,t.transform="translateY(-100%)");return h(),p.current=(0,x.A)(function(){f&&t&&Object.keys(t).every(function(e){var n=t[e],a=f[e];return"number"==typeof n&&"number"==typeof a?Math.round(n)===Math.round(a):n===a})||v(t)}),h},[JSON.stringify(e),n,o,d,m]),{style:f}};var E={width:0,height:0,left:0,top:0};function C(t,e){var n=a.useRef(t),o=a.useState({}),c=(0,b.A)(o,2)[1];return[n.current,function(t){var a="function"==typeof t?t(n.current):t;a!==n.current&&e(a,n.current),n.current=a,c({})}]}var z=n(49172);function R(t){var e=(0,a.useState)(0),n=(0,b.A)(e,2),o=n[0],c=n[1],r=(0,a.useRef)(0),i=(0,a.useRef)();return i.current=t,(0,z.o)(function(){var t;null==(t=i.current)||t.call(i)},[o]),function(){r.current===o&&(r.current+=1,c(r.current))}}var P={width:0,height:0,left:0,top:0,right:0};function T(t){var e;return t instanceof Map?(e={},t.forEach(function(t,n){e[n]=t})):e=t,JSON.stringify(e)}function I(t){return String(t).replace(/"/g,"TABS_DQ")}function M(t,e,n,a){return!!n&&!a&&!1!==t&&(void 0!==t||!1!==e&&null!==e)}var L=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.editable,c=t.locale,r=t.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:e,type:"button",className:"".concat(n,"-nav-add"),style:r,"aria-label":(null==c?void 0:c.addAriaLabel)||"Add tab",onClick:function(t){o.onEdit("add",{event:t})}},o.addIcon||"+"):null}),O=a.forwardRef(function(t,e){var n,o=t.position,c=t.prefixCls,r=t.extra;if(!r)return null;var i={};return"object"!==(0,p.A)(r)||a.isValidElement(r)?i.right=r:i=r,"right"===o&&(n=i.right),"left"===o&&(n=i.left),n?a.createElement("div",{className:"".concat(c,"-extra-content"),ref:e},n):null}),D=n(10177),B=n(91187),N=n(17233),j=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.id,c=t.tabs,i=t.locale,l=t.mobile,d=t.more,s=void 0===d?{}:d,v=t.style,p=t.className,m=t.editable,h=t.tabBarGutter,g=t.rtl,k=t.removeAriaLabel,y=t.onTabClick,A=t.getPopupContainer,w=t.popupClassName,_=(0,a.useState)(!1),x=(0,b.A)(_,2),S=x[0],E=x[1],C=(0,a.useState)(null),z=(0,b.A)(C,2),R=z[0],P=z[1],T=s.icon,I="".concat(o,"-more-popup"),O="".concat(n,"-dropdown"),j=null!==R?"".concat(I,"-").concat(R):null,H=null==i?void 0:i.dropdownAriaLabel,G=a.createElement(B.Ay,{onClick:function(t){y(t.key,t.domEvent),E(!1)},prefixCls:"".concat(O,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[R],"aria-label":void 0!==H?H:"expanded dropdown"},c.map(function(t){var e=t.closable,n=t.disabled,c=t.closeIcon,r=t.key,i=t.label,l=M(e,c,m,n);return a.createElement(B.Dr,{key:r,id:"".concat(I,"-").concat(r),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(r),disabled:n},a.createElement("span",null,i),l&&a.createElement("button",{type:"button","aria-label":k||"remove",tabIndex:0,className:"".concat(O,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),t.preventDefault(),t.stopPropagation(),m.onEdit("remove",{key:r,event:t})}},c||m.removeIcon||"\xd7"))}));function W(t){for(var e=c.filter(function(t){return!t.disabled}),n=e.findIndex(function(t){return t.key===R})||0,a=e.length,o=0;oMath.abs(i-n)?[i,l,d-e.left,s-e.top]:[n,a,c,o]},X=function(t){var e=t.current||{},n=e.offsetWidth,a=void 0===n?0:n,o=e.offsetHeight;if(t.current){var c=t.current.getBoundingClientRect(),r=c.width,i=c.height;if(1>Math.abs(r-a))return[r,i]}return[a,void 0===o?0:o]},K=function(t,e){return t[+!e]},F=a.forwardRef(function(t,e){var n,o,c,i,l,d,s,p,m,h,g,x,z,D,B,N,j,F,q,V,Y,U,J,Q,Z,$,tt,te,tn,ta,to,tc,tr,ti,tl,td,ts,tu,tf,tv=t.className,tb=t.style,tp=t.id,tm=t.animated,th=t.activeKey,tg=t.rtl,tk=t.extra,ty=t.editable,tA=t.locale,tw=t.tabPosition,t_=t.tabBarGutter,tx=t.children,tS=t.onTabClick,tE=t.onTabScroll,tC=t.indicator,tz=a.useContext(k),tR=tz.prefixCls,tP=tz.tabs,tT=(0,a.useRef)(null),tI=(0,a.useRef)(null),tM=(0,a.useRef)(null),tL=(0,a.useRef)(null),tO=(0,a.useRef)(null),tD=(0,a.useRef)(null),tB=(0,a.useRef)(null),tN="top"===tw||"bottom"===tw,tj=C(0,function(t,e){tN&&tE&&tE({direction:t>e?"left":"right"})}),tH=(0,b.A)(tj,2),tG=tH[0],tW=tH[1],tX=C(0,function(t,e){!tN&&tE&&tE({direction:t>e?"top":"bottom"})}),tK=(0,b.A)(tX,2),tF=tK[0],tq=tK[1],tV=(0,a.useState)([0,0]),tY=(0,b.A)(tV,2),tU=tY[0],tJ=tY[1],tQ=(0,a.useState)([0,0]),tZ=(0,b.A)(tQ,2),t$=tZ[0],t0=tZ[1],t1=(0,a.useState)([0,0]),t2=(0,b.A)(t1,2),t8=t2[0],t5=t2[1],t9=(0,a.useState)([0,0]),t3=(0,b.A)(t9,2),t6=t3[0],t7=t3[1],t4=(n=new Map,o=(0,a.useRef)([]),c=(0,a.useState)({}),i=(0,b.A)(c,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),d=R(function(){var t=l.current;o.current.forEach(function(e){t=e(t)}),o.current=[],l.current=t,i({})}),[l.current,function(t){o.current.push(t),d()}]),et=(0,b.A)(t4,2),ee=et[0],en=et[1],ea=(s=t$[0],(0,a.useMemo)(function(){for(var t=new Map,e=ee.get(null==(o=tP[0])?void 0:o.key)||E,n=e.left+e.width,a=0;aef?ef:t}tN&&tg?(eu=0,ef=Math.max(0,ec-ed)):(eu=Math.min(0,ed-ec),ef=0);var eb=(0,a.useRef)(null),ep=(0,a.useState)(),em=(0,b.A)(ep,2),eh=em[0],eg=em[1];function ek(){eg(Date.now())}function ey(){eb.current&&clearTimeout(eb.current)}p=function(t,e){function n(t,e){t(function(t){return ev(t+e)})}return!!el&&(tN?n(tW,t):n(tq,e),ey(),ek(),!0)},m=(0,a.useState)(),g=(h=(0,b.A)(m,2))[0],x=h[1],z=(0,a.useState)(0),B=(D=(0,b.A)(z,2))[0],N=D[1],j=(0,a.useState)(0),q=(F=(0,b.A)(j,2))[0],V=F[1],Y=(0,a.useState)(),J=(U=(0,b.A)(Y,2))[0],Q=U[1],Z=(0,a.useRef)(),$=(0,a.useRef)(),(tt=(0,a.useRef)(null)).current={onTouchStart:function(t){var e=t.touches[0];x({x:e.screenX,y:e.screenY}),window.clearInterval(Z.current)},onTouchMove:function(t){if(g){var e=t.touches[0],n=e.screenX,a=e.screenY;x({x:n,y:a});var o=n-g.x,c=a-g.y;p(o,c);var r=Date.now();N(r),V(r-B),Q({x:o,y:c})}},onTouchEnd:function(){if(g&&(x(null),Q(null),J)){var t=J.x/q,e=J.y/q;if(!(.1>Math.max(Math.abs(t),Math.abs(e)))){var n=t,a=e;Z.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a))return void window.clearInterval(Z.current);n*=.9046104802746175,a*=.9046104802746175,p(20*n,20*a)},20)}}},onWheel:function(t){var e=t.deltaX,n=t.deltaY,a=0,o=Math.abs(e),c=Math.abs(n);o===c?a="x"===$.current?e:n:o>c?(a=e,$.current="x"):(a=n,$.current="y"),p(-a,-a)&&t.preventDefault()}},a.useEffect(function(){function t(t){tt.current.onTouchMove(t)}function e(t){tt.current.onTouchEnd(t)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",e,{passive:!0}),tL.current.addEventListener("touchstart",function(t){tt.current.onTouchStart(t)},{passive:!0}),tL.current.addEventListener("wheel",function(t){tt.current.onWheel(t)},{passive:!1}),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",e)}},[]),(0,a.useEffect)(function(){return ey(),eh&&(eb.current=setTimeout(function(){eg(0)},100)),ey},[eh]);var eA=(te=tN?tG:tF,tr=(tn=(0,v.A)((0,v.A)({},t),{},{tabs:tP})).tabs,ti=tn.tabPosition,tl=tn.rtl,["top","bottom"].includes(ti)?(ta="width",to=tl?"right":"left",tc=Math.abs(te)):(ta="height",to="top",tc=-te),(0,a.useMemo)(function(){if(!tr.length)return[0,0];for(var t=tr.length,e=t,n=0;nMath.floor(tc+ed)){e=n-1;break}}for(var o=0,c=t-1;c>=0;c-=1)if((ea.get(tr[c].key)||P)[to]e?[0,-1]:[o,e]},[ea,ed,ec,er,ei,tc,ti,tr.map(function(t){return t.key}).join("_"),tl])),ew=(0,b.A)(eA,2),e_=ew[0],ex=ew[1],eS=(0,w.A)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:th,e=ea.get(t)||{width:0,height:0,left:0,right:0,top:0};if(tN){var n=tG;tg?e.righttG+ed&&(n=e.right+e.width-ed):e.left<-tG?n=-e.left:e.left+e.width>-tG+ed&&(n=-(e.left+e.width-ed)),tq(0),tW(ev(n))}else{var a=tF;e.top<-tF?a=-e.top:e.top+e.height>-tF+ed&&(a=-(e.top+e.height-ed)),tW(0),tq(ev(a))}}),eE=(0,a.useState)(),eC=(0,b.A)(eE,2),ez=eC[0],eR=eC[1],eP=(0,a.useState)(!1),eT=(0,b.A)(eP,2),eI=eT[0],eM=eT[1],eL=tP.filter(function(t){return!t.disabled}).map(function(t){return t.key}),eO=function(t){var e=eL.indexOf(ez||th),n=eL.length;eR(eL[(e+t+n)%n])},eD=function(t,e){var n=eL.indexOf(t),a=tP.find(function(e){return e.key===t});M(null==a?void 0:a.closable,null==a?void 0:a.closeIcon,ty,null==a?void 0:a.disabled)&&(e.preventDefault(),e.stopPropagation(),ty.onEdit("remove",{key:t,event:e}),n===eL.length-1?eO(-1):eO(1))},eB=function(t,e){eM(!0),1===e.button&&eD(t,e)},eN=function(t){var e=t.code,n=tg&&tN,a=eL[0],o=eL[eL.length-1];switch(e){case"ArrowLeft":tN&&eO(n?1:-1);break;case"ArrowRight":tN&&eO(n?-1:1);break;case"ArrowUp":t.preventDefault(),tN||eO(-1);break;case"ArrowDown":t.preventDefault(),tN||eO(1);break;case"Home":t.preventDefault(),eR(a);break;case"End":t.preventDefault(),eR(o);break;case"Enter":case"Space":t.preventDefault(),tS(null!=ez?ez:th,t);break;case"Backspace":case"Delete":eD(ez,t)}},ej={};tN?ej[tg?"marginRight":"marginLeft"]=t_:ej.marginTop=t_;var eH=tP.map(function(t,e){var n=t.key;return a.createElement(G,{id:tp,prefixCls:tR,key:n,tab:t,style:0===e?void 0:ej,closable:t.closable,editable:ty,active:n===th,focus:n===ez,renderWrapper:tx,removeAriaLabel:null==tA?void 0:tA.removeAriaLabel,tabCount:eL.length,currentPosition:e+1,onClick:function(t){tS(n,t)},onKeyDown:eN,onFocus:function(){eI||eR(n),eS(n),ek(),tL.current&&(tg||(tL.current.scrollLeft=0),tL.current.scrollTop=0)},onBlur:function(){eR(void 0)},onMouseDown:function(t){return eB(n,t)},onMouseUp:function(){eM(!1)}})}),eG=function(){return en(function(){var t,e=new Map,n=null==(t=tO.current)?void 0:t.getBoundingClientRect();return tP.forEach(function(t){var a,o=t.key,c=null==(a=tO.current)?void 0:a.querySelector('[data-node-key="'.concat(I(o),'"]'));if(c){var r=W(c,n),i=(0,b.A)(r,4),l=i[0],d=i[1],s=i[2],u=i[3];e.set(o,{width:l,height:d,left:s,top:u})}}),e})};(0,a.useEffect)(function(){eG()},[tP.map(function(t){return t.key}).join("_")]);var eW=R(function(){var t=X(tT),e=X(tI),n=X(tM);tJ([t[0]-e[0]-n[0],t[1]-e[1]-n[1]]);var a=X(tB);t5(a),t7(X(tD));var o=X(tO);t0([o[0]-a[0],o[1]-a[1]]),eG()}),eX=tP.slice(0,e_),eK=tP.slice(ex+1),eF=[].concat((0,y.A)(eX),(0,y.A)(eK)),eq=ea.get(th),eV=S({activeTabOffset:eq,horizontal:tN,indicator:tC,rtl:tg}).style;(0,a.useEffect)(function(){eS()},[th,eu,ef,T(eq),T(ea),tN]),(0,a.useEffect)(function(){eW()},[tg]);var eY=!!eF.length,eU="".concat(tR,"-nav-wrap");return tN?tg?(ts=tG>0,td=tG!==ef):(td=tG<0,ts=tG!==eu):(tu=tF<0,tf=tF!==eu),a.createElement(A.A,{onResize:eW},a.createElement("div",{ref:(0,_.xK)(e,tT),role:"tablist","aria-orientation":tN?"horizontal":"vertical",className:u()("".concat(tR,"-nav"),tv),style:tb,onKeyDown:function(){ek()}},a.createElement(O,{ref:tI,position:"left",extra:tk,prefixCls:tR}),a.createElement(A.A,{onResize:eW},a.createElement("div",{className:u()(eU,(0,f.A)((0,f.A)((0,f.A)((0,f.A)({},"".concat(eU,"-ping-left"),td),"".concat(eU,"-ping-right"),ts),"".concat(eU,"-ping-top"),tu),"".concat(eU,"-ping-bottom"),tf)),ref:tL},a.createElement(A.A,{onResize:eW},a.createElement("div",{ref:tO,className:"".concat(tR,"-nav-list"),style:{transform:"translate(".concat(tG,"px, ").concat(tF,"px)"),transition:eh?"none":void 0}},eH,a.createElement(L,{ref:tB,prefixCls:tR,locale:tA,editable:ty,style:(0,v.A)((0,v.A)({},0===eH.length?void 0:ej),{},{visibility:eY?"hidden":null})}),a.createElement("div",{className:u()("".concat(tR,"-ink-bar"),(0,f.A)({},"".concat(tR,"-ink-bar-animated"),tm.inkBar)),style:eV}))))),a.createElement(H,(0,r.A)({},t,{removeAriaLabel:null==tA?void 0:tA.removeAriaLabel,ref:tD,prefixCls:tR,tabs:eF,className:!eY&&es,tabMoving:!!eh})),a.createElement(O,{ref:tM,position:"right",extra:tk,prefixCls:tR})))}),q=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.className,c=t.style,r=t.id,i=t.active,l=t.tabKey,d=t.children;return a.createElement("div",{id:r&&"".concat(r,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":r&&"".concat(r,"-tab-").concat(l),"aria-hidden":!i,style:c,className:u()(n,i&&"".concat(n,"-active"),o),ref:e},d)}),V=["renderTabBar"],Y=["label","key"];let U=function(t){var e=t.renderTabBar,n=(0,m.A)(t,V),o=a.useContext(k).tabs;return e?e((0,v.A)((0,v.A)({},n),{},{panes:o.map(function(t){var e=t.label,n=t.key,o=(0,m.A)(t,Y);return a.createElement(q,(0,r.A)({tab:e,key:n,tabKey:n},o))})}),F):a.createElement(F,n)};var J=n(82870),Q=["key","forceRender","style","className","destroyInactiveTabPane"];let Z=function(t){var e=t.id,n=t.activeKey,o=t.animated,c=t.tabPosition,i=t.destroyInactiveTabPane,l=a.useContext(k),d=l.prefixCls,s=l.tabs,b=o.tabPane,p="".concat(d,"-tabpane");return a.createElement("div",{className:u()("".concat(d,"-content-holder"))},a.createElement("div",{className:u()("".concat(d,"-content"),"".concat(d,"-content-").concat(c),(0,f.A)({},"".concat(d,"-content-animated"),b))},s.map(function(t){var c=t.key,l=t.forceRender,d=t.style,s=t.className,f=t.destroyInactiveTabPane,h=(0,m.A)(t,Q),g=c===n;return a.createElement(J.Ay,(0,r.A)({key:c,visible:g,forceRender:l,removeOnLeave:!!(i||f),leavedClassName:"".concat(p,"-hidden")},o.tabPaneMotion),function(t,n){var o=t.style,i=t.className;return a.createElement(q,(0,r.A)({},h,{prefixCls:p,id:e,tabKey:c,animated:b,active:g,style:(0,v.A)((0,v.A)({},d),o),className:u()(s,i),ref:n}))})})))};n(9587);var $=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],tt=0,te=a.forwardRef(function(t,e){var n=t.id,o=t.prefixCls,c=void 0===o?"rc-tabs":o,i=t.className,l=t.items,d=t.direction,s=t.activeKey,y=t.defaultActiveKey,A=t.editable,w=t.animated,_=t.tabPosition,x=void 0===_?"top":_,S=t.tabBarGutter,E=t.tabBarStyle,C=t.tabBarExtraContent,z=t.locale,R=t.more,P=t.destroyInactiveTabPane,T=t.renderTabBar,I=t.onChange,M=t.onTabClick,L=t.onTabScroll,O=t.getPopupContainer,D=t.popupClassName,B=t.indicator,N=(0,m.A)(t,$),j=a.useMemo(function(){return(l||[]).filter(function(t){return t&&"object"===(0,p.A)(t)&&"key"in t})},[l]),H="rtl"===d,G=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:(0,v.A)({inkBar:!0},"object"===(0,p.A)(e)?e:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(w),W=(0,a.useState)(!1),X=(0,b.A)(W,2),K=X[0],F=X[1];(0,a.useEffect)(function(){F((0,g.A)())},[]);var q=(0,h.A)(function(){var t;return null==(t=j[0])?void 0:t.key},{value:s,defaultValue:y}),V=(0,b.A)(q,2),Y=V[0],J=V[1],Q=(0,a.useState)(function(){return j.findIndex(function(t){return t.key===Y})}),te=(0,b.A)(Q,2),tn=te[0],ta=te[1];(0,a.useEffect)(function(){var t,e=j.findIndex(function(t){return t.key===Y});-1===e&&(e=Math.max(0,Math.min(tn,j.length-1)),J(null==(t=j[e])?void 0:t.key)),ta(e)},[j.map(function(t){return t.key}).join("_"),Y,tn]);var to=(0,h.A)(null,{value:n}),tc=(0,b.A)(to,2),tr=tc[0],ti=tc[1];(0,a.useEffect)(function(){n||(ti("rc-tabs-".concat(tt)),tt+=1)},[]);var tl={id:tr,activeKey:Y,animated:G,tabPosition:x,rtl:H,mobile:K},td=(0,v.A)((0,v.A)({},tl),{},{editable:A,locale:z,more:R,tabBarGutter:S,onTabClick:function(t,e){null==M||M(t,e);var n=t!==Y;J(t),n&&(null==I||I(t))},onTabScroll:L,extra:C,style:E,panes:null,getPopupContainer:O,popupClassName:D,indicator:B});return a.createElement(k.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,r.A)({ref:e,id:n,className:u()(c,"".concat(c,"-").concat(x),(0,f.A)((0,f.A)((0,f.A)({},"".concat(c,"-mobile"),K),"".concat(c,"-editable"),A),"".concat(c,"-rtl"),H),i)},N),a.createElement(U,(0,r.A)({},td,{renderTabBar:T})),a.createElement(Z,(0,r.A)({destroyInactiveTabPane:P},tl,{animated:G}))))}),tn=n(15982),ta=n(68151),to=n(9836),tc=n(93666);let tr={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ti=n(63715),tl=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n},td=n(99841),ts=n(18184),tu=n(45431),tf=n(61388),tv=n(53272);let tb=(0,tu.OF)("Tabs",t=>{let e=(0,tf.oX)(t,{tabsCardPadding:t.cardPadding,dropdownEdgeChildVerticalPadding:t.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:"0 0 0 ".concat((0,td.zA)(t.horizontalItemGutter)),tabsHorizontalItemMarginRTL:"0 0 0 ".concat((0,td.zA)(t.horizontalItemGutter))});return[(t=>{let{componentCls:e,cardPaddingSM:n,cardPaddingLG:a,cardHeightSM:o,cardHeightLG:c,horizontalItemPaddingSM:r,horizontalItemPaddingLG:i}=t;return{[e]:{"&-small":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:r,fontSize:t.titleFontSizeSM}}},"&-large":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:i,fontSize:t.titleFontSizeLG,lineHeight:t.lineHeightLG}}}},["".concat(e,"-card")]:{["&".concat(e,"-small")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:n},["".concat(e,"-nav-add")]:{minWidth:o,minHeight:o}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius))}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius)," 0 0")}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius)," 0")}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,td.zA)(t.borderRadius)," 0 0 ").concat((0,td.zA)(t.borderRadius))}}}},["&".concat(e,"-large")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:a},["".concat(e,"-nav-add")]:{minWidth:c,minHeight:c}}}}}})(e),(t=>{let{componentCls:e,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:c}=t;return{["".concat(e,"-rtl")]:{direction:"rtl",["".concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:{_skip_check_:!0,value:n},["".concat(e,"-tab:last-of-type")]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,td.zA)(t.marginSM)}},["".concat(e,"-tab-remove")]:{marginRight:{_skip_check_:!0,value:(0,td.zA)(t.marginXS)},marginLeft:{_skip_check_:!0,value:(0,td.zA)(c(t.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav")]:{order:1},["> ".concat(e,"-content-holder")]:{order:0}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav")]:{order:0},["> ".concat(e,"-content-holder")]:{order:1}},["&".concat(e,"-card").concat(e,"-top, &").concat(e,"-card").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},["".concat(e,"-dropdown-rtl")]:{direction:"rtl"},["".concat(e,"-menu-item")]:{["".concat(e,"-dropdown-rtl")]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(e),(t=>{let{componentCls:e,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:c,verticalItemMargin:r,calc:i}=t;return{["".concat(e,"-top, ").concat(e,"-bottom")]:{flexDirection:"column",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(a),content:"''"},["".concat(e,"-ink-bar")]:{height:t.lineWidthBold,"&-animated":{transition:"width ".concat(t.motionDurationSlow,", left ").concat(t.motionDurationSlow,",\n right ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-wrap")]:{"&::before, &::after":{top:0,bottom:0,width:t.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowRight},["&".concat(e,"-nav-wrap-ping-left::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-right::after")]:{opacity:1}}}},["".concat(e,"-top")]:{["> ".concat(e,"-nav,\n > div > ").concat(e,"-nav")]:{"&::before":{bottom:0},["".concat(e,"-ink-bar")]:{bottom:0}}},["".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},["".concat(e,"-ink-bar")]:{top:0}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0}},["".concat(e,"-left, ").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{flexDirection:"column",minWidth:i(t.controlHeight).mul(1.25).equal(),["".concat(e,"-tab")]:{padding:c,textAlign:"center"},["".concat(e,"-tab + ").concat(e,"-tab")]:{margin:r},["".concat(e,"-nav-wrap")]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:t.controlHeight},"&::before":{top:0,boxShadow:t.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:t.boxShadowTabsOverflowBottom},["&".concat(e,"-nav-wrap-ping-top::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-bottom::after")]:{opacity:1}},["".concat(e,"-ink-bar")]:{width:t.lineWidthBold,"&-animated":{transition:"height ".concat(t.motionDurationSlow,", top ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-list, ").concat(e,"-nav-operations")]:{flex:"1 0 auto",flexDirection:"column"}}},["".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-ink-bar")]:{right:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{marginLeft:{_skip_check_:!0,value:(0,td.zA)(i(t.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingLeft:{_skip_check_:!0,value:t.paddingLG}}}},["".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,["".concat(e,"-ink-bar")]:{left:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0,marginRight:{_skip_check_:!0,value:i(t.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingRight:{_skip_check_:!0,value:t.paddingLG}}}}}})(e),(t=>{let{componentCls:e,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=t;return{["".concat(e,"-dropdown")]:Object.assign(Object.assign({},(0,ts.dF)(t)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:t.zIndexPopup,display:"block","&-hidden":{display:"none"},["".concat(e,"-dropdown-menu")]:{maxHeight:t.tabsDropdownHeight,margin:0,padding:"".concat((0,td.zA)(a)," 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:t.colorBgContainer,backgroundClip:"padding-box",borderRadius:t.borderRadiusLG,outline:"none",boxShadow:t.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ts.L9),{display:"flex",alignItems:"center",minWidth:t.tabsDropdownWidth,margin:0,padding:"".concat((0,td.zA)(t.paddingXXS)," ").concat((0,td.zA)(t.paddingSM)),color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:t.marginSM},color:t.colorIcon,fontSize:t.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:t.controlItemBgHover},"&-disabled":{"&, &:hover":{color:t.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(e),(t=>{let{componentCls:e,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:c,itemSelectedColor:r}=t;return{["".concat(e,"-card")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:0,padding:n,background:a,border:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c),transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut)},["".concat(e,"-tab-active")]:{color:r,background:t.colorBgContainer},["".concat(e,"-tab-focus:has(").concat(e,"-tab-btn:focus-visible)")]:(0,ts.jk)(t,-3),["& ".concat(e,"-tab").concat(e,"-tab-focus ").concat(e,"-tab-btn:focus-visible")]:{outline:"none"},["".concat(e,"-ink-bar")]:{visibility:"hidden"}},["&".concat(e,"-top, &").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginLeft:{_skip_check_:!0,value:(0,td.zA)(o)}}}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0 0")},["".concat(e,"-tab-active")]:{borderBottomColor:t.colorBgContainer}}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG))},["".concat(e,"-tab-active")]:{borderTopColor:t.colorBgContainer}}},["&".concat(e,"-left, &").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginTop:(0,td.zA)(o)}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,td.zA)(t.borderRadiusLG)," 0 0 ").concat((0,td.zA)(t.borderRadiusLG))}},["".concat(e,"-tab-active")]:{borderRightColor:{_skip_check_:!0,value:t.colorBgContainer}}}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0")}},["".concat(e,"-tab-active")]:{borderLeftColor:{_skip_check_:!0,value:t.colorBgContainer}}}}}}})(e),(t=>{let{componentCls:e,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:c,itemActiveColor:r,colorBorderSecondary:i}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ts.dF)(t)),{display:"flex",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{position:"relative",display:"flex",flex:"none",alignItems:"center",["".concat(e,"-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 ".concat(t.motionDurationSlow),content:"''",pointerEvents:"none"}},["".concat(e,"-nav-list")]:{position:"relative",display:"flex",transition:"opacity ".concat(t.motionDurationSlow)},["".concat(e,"-nav-operations")]:{display:"flex",alignSelf:"stretch"},["".concat(e,"-nav-operations-hidden")]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},["".concat(e,"-nav-more")]:{position:"relative",padding:n,background:"transparent",border:0,color:t.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:t.calc(t.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},["".concat(e,"-nav-add")]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},background:"transparent",border:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(i),borderRadius:"".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0 0"),outline:"none",cursor:"pointer",color:t.colorText,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),"&:hover":{color:c},"&:active, &:focus:not(:focus-visible)":{color:r}},(0,ts.K8)(t,-3))},["".concat(e,"-extra-content")]:{flex:"none"},["".concat(e,"-ink-bar")]:{position:"absolute",background:t.inkBarColor,pointerEvents:"none"}}),(t=>{let{componentCls:e,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:c,horizontalItemPadding:r,itemSelectedColor:i,itemColor:l}=t,d="".concat(e,"-tab");return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:r,fontSize:t.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:"all ".concat(t.motionDurationSlow),["".concat(d,"-icon:not(:last-child)")]:{marginInlineEnd:t.marginSM}},"&-remove":Object.assign({flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:t.calc(t.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:t.marginXS},color:t.colorIcon,fontSize:t.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"&:hover":{color:t.colorTextHeading}},(0,ts.K8)(t)),"&:hover":{color:a},["&".concat(d,"-active ").concat(d,"-btn")]:{color:i,textShadow:t.tabsActiveTextShadow},["&".concat(d,"-focus ").concat(d,"-btn:focus-visible")]:(0,ts.jk)(t),["&".concat(d,"-disabled")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(d,"-disabled ").concat(d,"-btn, &").concat(d,"-disabled ").concat(e,"-remove")]:{"&:focus, &:active":{color:t.colorTextDisabled}},["& ".concat(d,"-remove ").concat(o)]:{margin:0,verticalAlign:"middle"},["".concat(o,":not(:last-child)")]:{marginRight:{_skip_check_:!0,value:t.marginSM}}},["".concat(d," + ").concat(d)]:{margin:{_skip_check_:!0,value:c}}}})(t)),{["".concat(e,"-content")]:{position:"relative",width:"100%"},["".concat(e,"-content-holder")]:{flex:"auto",minWidth:0,minHeight:0},["".concat(e,"-tabpane")]:Object.assign(Object.assign({},(0,ts.K8)(t)),{"&-hidden":{display:"none"}})}),["".concat(e,"-centered")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-nav-wrap")]:{["&:not([class*='".concat(e,"-nav-wrap-ping']) > ").concat(e,"-nav-list")]:{margin:"auto"}}}}}})(e),(t=>{let{componentCls:e,motionDurationSlow:n}=t;return[{[e]:{["".concat(e,"-switch")]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:"opacity ".concat(n)}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity ".concat(n)}}}}},[(0,tv._j)(t,"slide-up"),(0,tv._j)(t,"slide-down")]]})(e)]},t=>{let{cardHeight:e,cardHeightSM:n,cardHeightLG:a,controlHeight:o,controlHeightLG:c}=t,r=e||c,i=n||o,l=a||c+8;return{zIndexPopup:t.zIndexPopupBase+50,cardBg:t.colorFillAlter,cardHeight:r,cardHeightSM:i,cardHeightLG:l,cardPadding:"".concat((r-t.fontHeight)/2-t.lineWidth,"px ").concat(t.padding,"px"),cardPaddingSM:"".concat((i-t.fontHeight)/2-t.lineWidth,"px ").concat(t.paddingXS,"px"),cardPaddingLG:"".concat((l-t.fontHeightLG)/2-t.lineWidth,"px ").concat(t.padding,"px"),titleFontSize:t.fontSize,titleFontSizeLG:t.fontSizeLG,titleFontSizeSM:t.fontSize,inkBarColor:t.colorPrimary,horizontalMargin:"0 0 ".concat(t.margin,"px 0"),horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:"".concat(t.paddingSM,"px 0"),horizontalItemPaddingSM:"".concat(t.paddingXS,"px 0"),horizontalItemPaddingLG:"".concat(t.padding,"px 0"),verticalItemPadding:"".concat(t.paddingXS,"px ").concat(t.paddingLG,"px"),verticalItemMargin:"".concat(t.margin,"px 0 0 0"),itemColor:t.colorText,itemSelectedColor:t.colorPrimary,itemHoverColor:t.colorPrimaryHover,itemActiveColor:t.colorPrimaryActive,cardGutter:t.marginXXS/2}});var tp=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let tm=a.forwardRef((t,e)=>{var n,r,i,l,s,f,v,b,p,m,h;let g,{type:k,className:y,rootClassName:A,size:w,onEdit:_,hideAdd:x,centered:S,addIcon:E,removeIcon:C,moreIcon:z,more:R,popupClassName:P,children:T,items:I,animated:M,style:L,indicatorSize:O,indicator:D,destroyInactiveTabPane:B,destroyOnHidden:N}=t,j=tp(t,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator","destroyInactiveTabPane","destroyOnHidden"]),{prefixCls:H}=j,{direction:G,tabs:W,getPrefixCls:X,getPopupContainer:K}=a.useContext(tn.QO),F=X("tabs",H),q=(0,ta.A)(F),[V,Y,U]=tb(F,q),J=a.useRef(null);a.useImperativeHandle(e,()=>({nativeElement:J.current})),"editable-card"===k&&(g={onEdit:(t,e)=>{let{key:n,event:a}=e;null==_||_("add"===t?a:n,t)},removeIcon:null!=(n=null!=C?C:null==W?void 0:W.removeIcon)?n:a.createElement(o.A,null),addIcon:(null!=E?E:null==W?void 0:W.addIcon)||a.createElement(d,null),showAdd:!0!==x});let Q=X(),Z=(0,to.A)(w),$=function(t,e){return t?t.map(t=>{var e;let n=null!=(e=t.destroyOnHidden)?e:t.destroyInactiveTabPane;return Object.assign(Object.assign({},t),{destroyInactiveTabPane:n})}):(0,ti.A)(e).map(t=>{if(a.isValidElement(t)){let{key:e,props:n}=t,a=n||{},{tab:o}=a,c=tl(a,["tab"]);return Object.assign(Object.assign({key:String(e)},c),{label:o})}return null}).filter(t=>t)}(I,T),tt=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(e=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(e.tabPaneMotion=Object.assign(Object.assign({},tr),{motionName:(0,tc.b)(t,"switch")})),e}(F,M),td=Object.assign(Object.assign({},null==W?void 0:W.style),L),ts={align:null!=(r=null==D?void 0:D.align)?r:null==(i=null==W?void 0:W.indicator)?void 0:i.align,size:null!=(v=null!=(s=null!=(l=null==D?void 0:D.size)?l:O)?s:null==(f=null==W?void 0:W.indicator)?void 0:f.size)?v:null==W?void 0:W.indicatorSize};return V(a.createElement(te,Object.assign({ref:J,direction:G,getPopupContainer:K},j,{items:$,className:u()({["".concat(F,"-").concat(Z)]:Z,["".concat(F,"-card")]:["card","editable-card"].includes(k),["".concat(F,"-editable-card")]:"editable-card"===k,["".concat(F,"-centered")]:S},null==W?void 0:W.className,y,A,Y,U,q),popupClassName:u()(P,Y,U,q),style:td,editable:g,more:Object.assign({icon:null!=(h=null!=(m=null!=(p=null==(b=null==W?void 0:W.more)?void 0:b.icon)?p:null==W?void 0:W.moreIcon)?m:z)?h:a.createElement(c.A,null),transitionName:"".concat(Q,"-slide-up")},R),prefixCls:F,animated:tt,indicator:ts,destroyInactiveTabPane:null!=N?N:B})))});tm.TabPane=()=>null;let th=tm}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3512],{23512:(t,e,n)=>{n.d(e,{A:()=>th});var a=n(12115),o=n(48776),c=n(11359),r=n(79630),i=n(3514),l=n(35030),d=a.forwardRef(function(t,e){return a.createElement(l.A,(0,r.A)({},t,{ref:e,icon:i.A}))}),s=n(29300),u=n.n(s),f=n(40419),v=n(27061),b=n(21858),p=n(86608),m=n(20235),h=n(48804),g=n(96951);let k=(0,a.createContext)(null);var y=n(85757),A=n(32417),w=n(18885),_=n(74686),x=n(16962);let S=function(t){var e=t.activeTabOffset,n=t.horizontal,o=t.rtl,c=t.indicator,r=void 0===c?{}:c,i=r.size,l=r.align,d=void 0===l?"center":l,s=(0,a.useState)(),u=(0,b.A)(s,2),f=u[0],v=u[1],p=(0,a.useRef)(),m=a.useCallback(function(t){return"function"==typeof i?i(t):"number"==typeof i?i:t},[i]);function h(){x.A.cancel(p.current)}return(0,a.useEffect)(function(){var t={};if(e)if(n){t.width=m(e.width);var a=o?"right":"left";"start"===d&&(t[a]=e[a]),"center"===d&&(t[a]=e[a]+e.width/2,t.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===d&&(t[a]=e[a]+e.width,t.transform="translateX(-100%)")}else t.height=m(e.height),"start"===d&&(t.top=e.top),"center"===d&&(t.top=e.top+e.height/2,t.transform="translateY(-50%)"),"end"===d&&(t.top=e.top+e.height,t.transform="translateY(-100%)");return h(),p.current=(0,x.A)(function(){f&&t&&Object.keys(t).every(function(e){var n=t[e],a=f[e];return"number"==typeof n&&"number"==typeof a?Math.round(n)===Math.round(a):n===a})||v(t)}),h},[JSON.stringify(e),n,o,d,m]),{style:f}};var E={width:0,height:0,left:0,top:0};function C(t,e){var n=a.useRef(t),o=a.useState({}),c=(0,b.A)(o,2)[1];return[n.current,function(t){var a="function"==typeof t?t(n.current):t;a!==n.current&&e(a,n.current),n.current=a,c({})}]}var z=n(26791);function R(t){var e=(0,a.useState)(0),n=(0,b.A)(e,2),o=n[0],c=n[1],r=(0,a.useRef)(0),i=(0,a.useRef)();return i.current=t,(0,z.o)(function(){var t;null==(t=i.current)||t.call(i)},[o]),function(){r.current===o&&(r.current+=1,c(r.current))}}var P={width:0,height:0,left:0,top:0,right:0};function T(t){var e;return t instanceof Map?(e={},t.forEach(function(t,n){e[n]=t})):e=t,JSON.stringify(e)}function I(t){return String(t).replace(/"/g,"TABS_DQ")}function M(t,e,n,a){return!!n&&!a&&!1!==t&&(void 0!==t||!1!==e&&null!==e)}var L=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.editable,c=t.locale,r=t.style;return o&&!1!==o.showAdd?a.createElement("button",{ref:e,type:"button",className:"".concat(n,"-nav-add"),style:r,"aria-label":(null==c?void 0:c.addAriaLabel)||"Add tab",onClick:function(t){o.onEdit("add",{event:t})}},o.addIcon||"+"):null}),O=a.forwardRef(function(t,e){var n,o=t.position,c=t.prefixCls,r=t.extra;if(!r)return null;var i={};return"object"!==(0,p.A)(r)||a.isValidElement(r)?i.right=r:i=r,"right"===o&&(n=i.right),"left"===o&&(n=i.left),n?a.createElement("div",{className:"".concat(c,"-extra-content"),ref:e},n):null}),D=n(10177),B=n(91187),N=n(17233),j=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.id,c=t.tabs,i=t.locale,l=t.mobile,d=t.more,s=void 0===d?{}:d,v=t.style,p=t.className,m=t.editable,h=t.tabBarGutter,g=t.rtl,k=t.removeAriaLabel,y=t.onTabClick,A=t.getPopupContainer,w=t.popupClassName,_=(0,a.useState)(!1),x=(0,b.A)(_,2),S=x[0],E=x[1],C=(0,a.useState)(null),z=(0,b.A)(C,2),R=z[0],P=z[1],T=s.icon,I="".concat(o,"-more-popup"),O="".concat(n,"-dropdown"),j=null!==R?"".concat(I,"-").concat(R):null,H=null==i?void 0:i.dropdownAriaLabel,G=a.createElement(B.Ay,{onClick:function(t){y(t.key,t.domEvent),E(!1)},prefixCls:"".concat(O,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":j,selectedKeys:[R],"aria-label":void 0!==H?H:"expanded dropdown"},c.map(function(t){var e=t.closable,n=t.disabled,c=t.closeIcon,r=t.key,i=t.label,l=M(e,c,m,n);return a.createElement(B.Dr,{key:r,id:"".concat(I,"-").concat(r),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(r),disabled:n},a.createElement("span",null,i),l&&a.createElement("button",{type:"button","aria-label":k||"remove",tabIndex:0,className:"".concat(O,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),t.preventDefault(),t.stopPropagation(),m.onEdit("remove",{key:r,event:t})}},c||m.removeIcon||"\xd7"))}));function W(t){for(var e=c.filter(function(t){return!t.disabled}),n=e.findIndex(function(t){return t.key===R})||0,a=e.length,o=0;oMath.abs(i-n)?[i,l,d-e.left,s-e.top]:[n,a,c,o]},X=function(t){var e=t.current||{},n=e.offsetWidth,a=void 0===n?0:n,o=e.offsetHeight;if(t.current){var c=t.current.getBoundingClientRect(),r=c.width,i=c.height;if(1>Math.abs(r-a))return[r,i]}return[a,void 0===o?0:o]},K=function(t,e){return t[+!e]},F=a.forwardRef(function(t,e){var n,o,c,i,l,d,s,p,m,h,g,x,z,D,B,N,j,F,q,V,Y,U,J,Q,Z,$,tt,te,tn,ta,to,tc,tr,ti,tl,td,ts,tu,tf,tv=t.className,tb=t.style,tp=t.id,tm=t.animated,th=t.activeKey,tg=t.rtl,tk=t.extra,ty=t.editable,tA=t.locale,tw=t.tabPosition,t_=t.tabBarGutter,tx=t.children,tS=t.onTabClick,tE=t.onTabScroll,tC=t.indicator,tz=a.useContext(k),tR=tz.prefixCls,tP=tz.tabs,tT=(0,a.useRef)(null),tI=(0,a.useRef)(null),tM=(0,a.useRef)(null),tL=(0,a.useRef)(null),tO=(0,a.useRef)(null),tD=(0,a.useRef)(null),tB=(0,a.useRef)(null),tN="top"===tw||"bottom"===tw,tj=C(0,function(t,e){tN&&tE&&tE({direction:t>e?"left":"right"})}),tH=(0,b.A)(tj,2),tG=tH[0],tW=tH[1],tX=C(0,function(t,e){!tN&&tE&&tE({direction:t>e?"top":"bottom"})}),tK=(0,b.A)(tX,2),tF=tK[0],tq=tK[1],tV=(0,a.useState)([0,0]),tY=(0,b.A)(tV,2),tU=tY[0],tJ=tY[1],tQ=(0,a.useState)([0,0]),tZ=(0,b.A)(tQ,2),t$=tZ[0],t0=tZ[1],t1=(0,a.useState)([0,0]),t2=(0,b.A)(t1,2),t8=t2[0],t5=t2[1],t9=(0,a.useState)([0,0]),t3=(0,b.A)(t9,2),t6=t3[0],t7=t3[1],t4=(n=new Map,o=(0,a.useRef)([]),c=(0,a.useState)({}),i=(0,b.A)(c,2)[1],l=(0,a.useRef)("function"==typeof n?n():n),d=R(function(){var t=l.current;o.current.forEach(function(e){t=e(t)}),o.current=[],l.current=t,i({})}),[l.current,function(t){o.current.push(t),d()}]),et=(0,b.A)(t4,2),ee=et[0],en=et[1],ea=(s=t$[0],(0,a.useMemo)(function(){for(var t=new Map,e=ee.get(null==(o=tP[0])?void 0:o.key)||E,n=e.left+e.width,a=0;aef?ef:t}tN&&tg?(eu=0,ef=Math.max(0,ec-ed)):(eu=Math.min(0,ed-ec),ef=0);var eb=(0,a.useRef)(null),ep=(0,a.useState)(),em=(0,b.A)(ep,2),eh=em[0],eg=em[1];function ek(){eg(Date.now())}function ey(){eb.current&&clearTimeout(eb.current)}p=function(t,e){function n(t,e){t(function(t){return ev(t+e)})}return!!el&&(tN?n(tW,t):n(tq,e),ey(),ek(),!0)},m=(0,a.useState)(),g=(h=(0,b.A)(m,2))[0],x=h[1],z=(0,a.useState)(0),B=(D=(0,b.A)(z,2))[0],N=D[1],j=(0,a.useState)(0),q=(F=(0,b.A)(j,2))[0],V=F[1],Y=(0,a.useState)(),J=(U=(0,b.A)(Y,2))[0],Q=U[1],Z=(0,a.useRef)(),$=(0,a.useRef)(),(tt=(0,a.useRef)(null)).current={onTouchStart:function(t){var e=t.touches[0];x({x:e.screenX,y:e.screenY}),window.clearInterval(Z.current)},onTouchMove:function(t){if(g){var e=t.touches[0],n=e.screenX,a=e.screenY;x({x:n,y:a});var o=n-g.x,c=a-g.y;p(o,c);var r=Date.now();N(r),V(r-B),Q({x:o,y:c})}},onTouchEnd:function(){if(g&&(x(null),Q(null),J)){var t=J.x/q,e=J.y/q;if(!(.1>Math.max(Math.abs(t),Math.abs(e)))){var n=t,a=e;Z.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a))return void window.clearInterval(Z.current);n*=.9046104802746175,a*=.9046104802746175,p(20*n,20*a)},20)}}},onWheel:function(t){var e=t.deltaX,n=t.deltaY,a=0,o=Math.abs(e),c=Math.abs(n);o===c?a="x"===$.current?e:n:o>c?(a=e,$.current="x"):(a=n,$.current="y"),p(-a,-a)&&t.preventDefault()}},a.useEffect(function(){function t(t){tt.current.onTouchMove(t)}function e(t){tt.current.onTouchEnd(t)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",e,{passive:!0}),tL.current.addEventListener("touchstart",function(t){tt.current.onTouchStart(t)},{passive:!0}),tL.current.addEventListener("wheel",function(t){tt.current.onWheel(t)},{passive:!1}),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",e)}},[]),(0,a.useEffect)(function(){return ey(),eh&&(eb.current=setTimeout(function(){eg(0)},100)),ey},[eh]);var eA=(te=tN?tG:tF,tr=(tn=(0,v.A)((0,v.A)({},t),{},{tabs:tP})).tabs,ti=tn.tabPosition,tl=tn.rtl,["top","bottom"].includes(ti)?(ta="width",to=tl?"right":"left",tc=Math.abs(te)):(ta="height",to="top",tc=-te),(0,a.useMemo)(function(){if(!tr.length)return[0,0];for(var t=tr.length,e=t,n=0;nMath.floor(tc+ed)){e=n-1;break}}for(var o=0,c=t-1;c>=0;c-=1)if((ea.get(tr[c].key)||P)[to]e?[0,-1]:[o,e]},[ea,ed,ec,er,ei,tc,ti,tr.map(function(t){return t.key}).join("_"),tl])),ew=(0,b.A)(eA,2),e_=ew[0],ex=ew[1],eS=(0,w.A)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:th,e=ea.get(t)||{width:0,height:0,left:0,right:0,top:0};if(tN){var n=tG;tg?e.righttG+ed&&(n=e.right+e.width-ed):e.left<-tG?n=-e.left:e.left+e.width>-tG+ed&&(n=-(e.left+e.width-ed)),tq(0),tW(ev(n))}else{var a=tF;e.top<-tF?a=-e.top:e.top+e.height>-tF+ed&&(a=-(e.top+e.height-ed)),tW(0),tq(ev(a))}}),eE=(0,a.useState)(),eC=(0,b.A)(eE,2),ez=eC[0],eR=eC[1],eP=(0,a.useState)(!1),eT=(0,b.A)(eP,2),eI=eT[0],eM=eT[1],eL=tP.filter(function(t){return!t.disabled}).map(function(t){return t.key}),eO=function(t){var e=eL.indexOf(ez||th),n=eL.length;eR(eL[(e+t+n)%n])},eD=function(t,e){var n=eL.indexOf(t),a=tP.find(function(e){return e.key===t});M(null==a?void 0:a.closable,null==a?void 0:a.closeIcon,ty,null==a?void 0:a.disabled)&&(e.preventDefault(),e.stopPropagation(),ty.onEdit("remove",{key:t,event:e}),n===eL.length-1?eO(-1):eO(1))},eB=function(t,e){eM(!0),1===e.button&&eD(t,e)},eN=function(t){var e=t.code,n=tg&&tN,a=eL[0],o=eL[eL.length-1];switch(e){case"ArrowLeft":tN&&eO(n?1:-1);break;case"ArrowRight":tN&&eO(n?-1:1);break;case"ArrowUp":t.preventDefault(),tN||eO(-1);break;case"ArrowDown":t.preventDefault(),tN||eO(1);break;case"Home":t.preventDefault(),eR(a);break;case"End":t.preventDefault(),eR(o);break;case"Enter":case"Space":t.preventDefault(),tS(null!=ez?ez:th,t);break;case"Backspace":case"Delete":eD(ez,t)}},ej={};tN?ej[tg?"marginRight":"marginLeft"]=t_:ej.marginTop=t_;var eH=tP.map(function(t,e){var n=t.key;return a.createElement(G,{id:tp,prefixCls:tR,key:n,tab:t,style:0===e?void 0:ej,closable:t.closable,editable:ty,active:n===th,focus:n===ez,renderWrapper:tx,removeAriaLabel:null==tA?void 0:tA.removeAriaLabel,tabCount:eL.length,currentPosition:e+1,onClick:function(t){tS(n,t)},onKeyDown:eN,onFocus:function(){eI||eR(n),eS(n),ek(),tL.current&&(tg||(tL.current.scrollLeft=0),tL.current.scrollTop=0)},onBlur:function(){eR(void 0)},onMouseDown:function(t){return eB(n,t)},onMouseUp:function(){eM(!1)}})}),eG=function(){return en(function(){var t,e=new Map,n=null==(t=tO.current)?void 0:t.getBoundingClientRect();return tP.forEach(function(t){var a,o=t.key,c=null==(a=tO.current)?void 0:a.querySelector('[data-node-key="'.concat(I(o),'"]'));if(c){var r=W(c,n),i=(0,b.A)(r,4),l=i[0],d=i[1],s=i[2],u=i[3];e.set(o,{width:l,height:d,left:s,top:u})}}),e})};(0,a.useEffect)(function(){eG()},[tP.map(function(t){return t.key}).join("_")]);var eW=R(function(){var t=X(tT),e=X(tI),n=X(tM);tJ([t[0]-e[0]-n[0],t[1]-e[1]-n[1]]);var a=X(tB);t5(a),t7(X(tD));var o=X(tO);t0([o[0]-a[0],o[1]-a[1]]),eG()}),eX=tP.slice(0,e_),eK=tP.slice(ex+1),eF=[].concat((0,y.A)(eX),(0,y.A)(eK)),eq=ea.get(th),eV=S({activeTabOffset:eq,horizontal:tN,indicator:tC,rtl:tg}).style;(0,a.useEffect)(function(){eS()},[th,eu,ef,T(eq),T(ea),tN]),(0,a.useEffect)(function(){eW()},[tg]);var eY=!!eF.length,eU="".concat(tR,"-nav-wrap");return tN?tg?(ts=tG>0,td=tG!==ef):(td=tG<0,ts=tG!==eu):(tu=tF<0,tf=tF!==eu),a.createElement(A.A,{onResize:eW},a.createElement("div",{ref:(0,_.xK)(e,tT),role:"tablist","aria-orientation":tN?"horizontal":"vertical",className:u()("".concat(tR,"-nav"),tv),style:tb,onKeyDown:function(){ek()}},a.createElement(O,{ref:tI,position:"left",extra:tk,prefixCls:tR}),a.createElement(A.A,{onResize:eW},a.createElement("div",{className:u()(eU,(0,f.A)((0,f.A)((0,f.A)((0,f.A)({},"".concat(eU,"-ping-left"),td),"".concat(eU,"-ping-right"),ts),"".concat(eU,"-ping-top"),tu),"".concat(eU,"-ping-bottom"),tf)),ref:tL},a.createElement(A.A,{onResize:eW},a.createElement("div",{ref:tO,className:"".concat(tR,"-nav-list"),style:{transform:"translate(".concat(tG,"px, ").concat(tF,"px)"),transition:eh?"none":void 0}},eH,a.createElement(L,{ref:tB,prefixCls:tR,locale:tA,editable:ty,style:(0,v.A)((0,v.A)({},0===eH.length?void 0:ej),{},{visibility:eY?"hidden":null})}),a.createElement("div",{className:u()("".concat(tR,"-ink-bar"),(0,f.A)({},"".concat(tR,"-ink-bar-animated"),tm.inkBar)),style:eV}))))),a.createElement(H,(0,r.A)({},t,{removeAriaLabel:null==tA?void 0:tA.removeAriaLabel,ref:tD,prefixCls:tR,tabs:eF,className:!eY&&es,tabMoving:!!eh})),a.createElement(O,{ref:tM,position:"right",extra:tk,prefixCls:tR})))}),q=a.forwardRef(function(t,e){var n=t.prefixCls,o=t.className,c=t.style,r=t.id,i=t.active,l=t.tabKey,d=t.children;return a.createElement("div",{id:r&&"".concat(r,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":r&&"".concat(r,"-tab-").concat(l),"aria-hidden":!i,style:c,className:u()(n,i&&"".concat(n,"-active"),o),ref:e},d)}),V=["renderTabBar"],Y=["label","key"];let U=function(t){var e=t.renderTabBar,n=(0,m.A)(t,V),o=a.useContext(k).tabs;return e?e((0,v.A)((0,v.A)({},n),{},{panes:o.map(function(t){var e=t.label,n=t.key,o=(0,m.A)(t,Y);return a.createElement(q,(0,r.A)({tab:e,key:n,tabKey:n},o))})}),F):a.createElement(F,n)};var J=n(82870),Q=["key","forceRender","style","className","destroyInactiveTabPane"];let Z=function(t){var e=t.id,n=t.activeKey,o=t.animated,c=t.tabPosition,i=t.destroyInactiveTabPane,l=a.useContext(k),d=l.prefixCls,s=l.tabs,b=o.tabPane,p="".concat(d,"-tabpane");return a.createElement("div",{className:u()("".concat(d,"-content-holder"))},a.createElement("div",{className:u()("".concat(d,"-content"),"".concat(d,"-content-").concat(c),(0,f.A)({},"".concat(d,"-content-animated"),b))},s.map(function(t){var c=t.key,l=t.forceRender,d=t.style,s=t.className,f=t.destroyInactiveTabPane,h=(0,m.A)(t,Q),g=c===n;return a.createElement(J.Ay,(0,r.A)({key:c,visible:g,forceRender:l,removeOnLeave:!!(i||f),leavedClassName:"".concat(p,"-hidden")},o.tabPaneMotion),function(t,n){var o=t.style,i=t.className;return a.createElement(q,(0,r.A)({},h,{prefixCls:p,id:e,tabKey:c,animated:b,active:g,style:(0,v.A)((0,v.A)({},d),o),className:u()(s,i),ref:n}))})})))};n(9587);var $=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],tt=0,te=a.forwardRef(function(t,e){var n=t.id,o=t.prefixCls,c=void 0===o?"rc-tabs":o,i=t.className,l=t.items,d=t.direction,s=t.activeKey,y=t.defaultActiveKey,A=t.editable,w=t.animated,_=t.tabPosition,x=void 0===_?"top":_,S=t.tabBarGutter,E=t.tabBarStyle,C=t.tabBarExtraContent,z=t.locale,R=t.more,P=t.destroyInactiveTabPane,T=t.renderTabBar,I=t.onChange,M=t.onTabClick,L=t.onTabScroll,O=t.getPopupContainer,D=t.popupClassName,B=t.indicator,N=(0,m.A)(t,$),j=a.useMemo(function(){return(l||[]).filter(function(t){return t&&"object"===(0,p.A)(t)&&"key"in t})},[l]),H="rtl"===d,G=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:(0,v.A)({inkBar:!0},"object"===(0,p.A)(e)?e:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(w),W=(0,a.useState)(!1),X=(0,b.A)(W,2),K=X[0],F=X[1];(0,a.useEffect)(function(){F((0,g.A)())},[]);var q=(0,h.A)(function(){var t;return null==(t=j[0])?void 0:t.key},{value:s,defaultValue:y}),V=(0,b.A)(q,2),Y=V[0],J=V[1],Q=(0,a.useState)(function(){return j.findIndex(function(t){return t.key===Y})}),te=(0,b.A)(Q,2),tn=te[0],ta=te[1];(0,a.useEffect)(function(){var t,e=j.findIndex(function(t){return t.key===Y});-1===e&&(e=Math.max(0,Math.min(tn,j.length-1)),J(null==(t=j[e])?void 0:t.key)),ta(e)},[j.map(function(t){return t.key}).join("_"),Y,tn]);var to=(0,h.A)(null,{value:n}),tc=(0,b.A)(to,2),tr=tc[0],ti=tc[1];(0,a.useEffect)(function(){n||(ti("rc-tabs-".concat(tt)),tt+=1)},[]);var tl={id:tr,activeKey:Y,animated:G,tabPosition:x,rtl:H,mobile:K},td=(0,v.A)((0,v.A)({},tl),{},{editable:A,locale:z,more:R,tabBarGutter:S,onTabClick:function(t,e){null==M||M(t,e);var n=t!==Y;J(t),n&&(null==I||I(t))},onTabScroll:L,extra:C,style:E,panes:null,getPopupContainer:O,popupClassName:D,indicator:B});return a.createElement(k.Provider,{value:{tabs:j,prefixCls:c}},a.createElement("div",(0,r.A)({ref:e,id:n,className:u()(c,"".concat(c,"-").concat(x),(0,f.A)((0,f.A)((0,f.A)({},"".concat(c,"-mobile"),K),"".concat(c,"-editable"),A),"".concat(c,"-rtl"),H),i)},N),a.createElement(U,(0,r.A)({},td,{renderTabBar:T})),a.createElement(Z,(0,r.A)({destroyInactiveTabPane:P},tl,{animated:G}))))}),tn=n(15982),ta=n(68151),to=n(9836),tc=n(93666);let tr={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ti=n(63715),tl=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n},td=n(99841),ts=n(18184),tu=n(45431),tf=n(61388),tv=n(53272);let tb=(0,tu.OF)("Tabs",t=>{let e=(0,tf.oX)(t,{tabsCardPadding:t.cardPadding,dropdownEdgeChildVerticalPadding:t.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:"0 0 0 ".concat((0,td.zA)(t.horizontalItemGutter)),tabsHorizontalItemMarginRTL:"0 0 0 ".concat((0,td.zA)(t.horizontalItemGutter))});return[(t=>{let{componentCls:e,cardPaddingSM:n,cardPaddingLG:a,cardHeightSM:o,cardHeightLG:c,horizontalItemPaddingSM:r,horizontalItemPaddingLG:i}=t;return{[e]:{"&-small":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:r,fontSize:t.titleFontSizeSM}}},"&-large":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:i,fontSize:t.titleFontSizeLG,lineHeight:t.lineHeightLG}}}},["".concat(e,"-card")]:{["&".concat(e,"-small")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:n},["".concat(e,"-nav-add")]:{minWidth:o,minHeight:o}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius))}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius)," 0 0")}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,td.zA)(t.borderRadius)," ").concat((0,td.zA)(t.borderRadius)," 0")}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,td.zA)(t.borderRadius)," 0 0 ").concat((0,td.zA)(t.borderRadius))}}}},["&".concat(e,"-large")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:a},["".concat(e,"-nav-add")]:{minWidth:c,minHeight:c}}}}}})(e),(t=>{let{componentCls:e,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:o,calc:c}=t;return{["".concat(e,"-rtl")]:{direction:"rtl",["".concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:{_skip_check_:!0,value:n},["".concat(e,"-tab:last-of-type")]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,td.zA)(t.marginSM)}},["".concat(e,"-tab-remove")]:{marginRight:{_skip_check_:!0,value:(0,td.zA)(t.marginXS)},marginLeft:{_skip_check_:!0,value:(0,td.zA)(c(t.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav")]:{order:1},["> ".concat(e,"-content-holder")]:{order:0}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav")]:{order:0},["> ".concat(e,"-content-holder")]:{order:1}},["&".concat(e,"-card").concat(e,"-top, &").concat(e,"-card").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},["".concat(e,"-dropdown-rtl")]:{direction:"rtl"},["".concat(e,"-menu-item")]:{["".concat(e,"-dropdown-rtl")]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(e),(t=>{let{componentCls:e,margin:n,colorBorderSecondary:a,horizontalMargin:o,verticalItemPadding:c,verticalItemMargin:r,calc:i}=t;return{["".concat(e,"-top, ").concat(e,"-bottom")]:{flexDirection:"column",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(a),content:"''"},["".concat(e,"-ink-bar")]:{height:t.lineWidthBold,"&-animated":{transition:"width ".concat(t.motionDurationSlow,", left ").concat(t.motionDurationSlow,",\n right ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-wrap")]:{"&::before, &::after":{top:0,bottom:0,width:t.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowRight},["&".concat(e,"-nav-wrap-ping-left::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-right::after")]:{opacity:1}}}},["".concat(e,"-top")]:{["> ".concat(e,"-nav,\n > div > ").concat(e,"-nav")]:{"&::before":{bottom:0},["".concat(e,"-ink-bar")]:{bottom:0}}},["".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},["".concat(e,"-ink-bar")]:{top:0}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0}},["".concat(e,"-left, ").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{flexDirection:"column",minWidth:i(t.controlHeight).mul(1.25).equal(),["".concat(e,"-tab")]:{padding:c,textAlign:"center"},["".concat(e,"-tab + ").concat(e,"-tab")]:{margin:r},["".concat(e,"-nav-wrap")]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:t.controlHeight},"&::before":{top:0,boxShadow:t.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:t.boxShadowTabsOverflowBottom},["&".concat(e,"-nav-wrap-ping-top::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-bottom::after")]:{opacity:1}},["".concat(e,"-ink-bar")]:{width:t.lineWidthBold,"&-animated":{transition:"height ".concat(t.motionDurationSlow,", top ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-list, ").concat(e,"-nav-operations")]:{flex:"1 0 auto",flexDirection:"column"}}},["".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-ink-bar")]:{right:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{marginLeft:{_skip_check_:!0,value:(0,td.zA)(i(t.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingLeft:{_skip_check_:!0,value:t.paddingLG}}}},["".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,["".concat(e,"-ink-bar")]:{left:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0,marginRight:{_skip_check_:!0,value:i(t.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingRight:{_skip_check_:!0,value:t.paddingLG}}}}}})(e),(t=>{let{componentCls:e,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=t;return{["".concat(e,"-dropdown")]:Object.assign(Object.assign({},(0,ts.dF)(t)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:t.zIndexPopup,display:"block","&-hidden":{display:"none"},["".concat(e,"-dropdown-menu")]:{maxHeight:t.tabsDropdownHeight,margin:0,padding:"".concat((0,td.zA)(a)," 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:t.colorBgContainer,backgroundClip:"padding-box",borderRadius:t.borderRadiusLG,outline:"none",boxShadow:t.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ts.L9),{display:"flex",alignItems:"center",minWidth:t.tabsDropdownWidth,margin:0,padding:"".concat((0,td.zA)(t.paddingXXS)," ").concat((0,td.zA)(t.paddingSM)),color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:t.marginSM},color:t.colorIcon,fontSize:t.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:t.controlItemBgHover},"&-disabled":{"&, &:hover":{color:t.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(e),(t=>{let{componentCls:e,tabsCardPadding:n,cardBg:a,cardGutter:o,colorBorderSecondary:c,itemSelectedColor:r}=t;return{["".concat(e,"-card")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:0,padding:n,background:a,border:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(c),transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut)},["".concat(e,"-tab-active")]:{color:r,background:t.colorBgContainer},["".concat(e,"-tab-focus:has(").concat(e,"-tab-btn:focus-visible)")]:(0,ts.jk)(t,-3),["& ".concat(e,"-tab").concat(e,"-tab-focus ").concat(e,"-tab-btn:focus-visible")]:{outline:"none"},["".concat(e,"-ink-bar")]:{visibility:"hidden"}},["&".concat(e,"-top, &").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginLeft:{_skip_check_:!0,value:(0,td.zA)(o)}}}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0 0")},["".concat(e,"-tab-active")]:{borderBottomColor:t.colorBgContainer}}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"0 0 ".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG))},["".concat(e,"-tab-active")]:{borderTopColor:t.colorBgContainer}}},["&".concat(e,"-left, &").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginTop:(0,td.zA)(o)}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat((0,td.zA)(t.borderRadiusLG)," 0 0 ").concat((0,td.zA)(t.borderRadiusLG))}},["".concat(e,"-tab-active")]:{borderRightColor:{_skip_check_:!0,value:t.colorBgContainer}}}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0")}},["".concat(e,"-tab-active")]:{borderLeftColor:{_skip_check_:!0,value:t.colorBgContainer}}}}}}})(e),(t=>{let{componentCls:e,tabsCardPadding:n,cardHeight:a,cardGutter:o,itemHoverColor:c,itemActiveColor:r,colorBorderSecondary:i}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ts.dF)(t)),{display:"flex",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{position:"relative",display:"flex",flex:"none",alignItems:"center",["".concat(e,"-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 ".concat(t.motionDurationSlow),content:"''",pointerEvents:"none"}},["".concat(e,"-nav-list")]:{position:"relative",display:"flex",transition:"opacity ".concat(t.motionDurationSlow)},["".concat(e,"-nav-operations")]:{display:"flex",alignSelf:"stretch"},["".concat(e,"-nav-operations-hidden")]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},["".concat(e,"-nav-more")]:{position:"relative",padding:n,background:"transparent",border:0,color:t.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:t.calc(t.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},["".concat(e,"-nav-add")]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:o},background:"transparent",border:"".concat((0,td.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(i),borderRadius:"".concat((0,td.zA)(t.borderRadiusLG)," ").concat((0,td.zA)(t.borderRadiusLG)," 0 0"),outline:"none",cursor:"pointer",color:t.colorText,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),"&:hover":{color:c},"&:active, &:focus:not(:focus-visible)":{color:r}},(0,ts.K8)(t,-3))},["".concat(e,"-extra-content")]:{flex:"none"},["".concat(e,"-ink-bar")]:{position:"absolute",background:t.inkBarColor,pointerEvents:"none"}}),(t=>{let{componentCls:e,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:c,horizontalItemPadding:r,itemSelectedColor:i,itemColor:l}=t,d="".concat(e,"-tab");return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:r,fontSize:t.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:"all ".concat(t.motionDurationSlow),["".concat(d,"-icon:not(:last-child)")]:{marginInlineEnd:t.marginSM}},"&-remove":Object.assign({flex:"none",lineHeight:1,marginRight:{_skip_check_:!0,value:t.calc(t.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:t.marginXS},color:t.colorIcon,fontSize:t.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"&:hover":{color:t.colorTextHeading}},(0,ts.K8)(t)),"&:hover":{color:a},["&".concat(d,"-active ").concat(d,"-btn")]:{color:i,textShadow:t.tabsActiveTextShadow},["&".concat(d,"-focus ").concat(d,"-btn:focus-visible")]:(0,ts.jk)(t),["&".concat(d,"-disabled")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(d,"-disabled ").concat(d,"-btn, &").concat(d,"-disabled ").concat(e,"-remove")]:{"&:focus, &:active":{color:t.colorTextDisabled}},["& ".concat(d,"-remove ").concat(o)]:{margin:0,verticalAlign:"middle"},["".concat(o,":not(:last-child)")]:{marginRight:{_skip_check_:!0,value:t.marginSM}}},["".concat(d," + ").concat(d)]:{margin:{_skip_check_:!0,value:c}}}})(t)),{["".concat(e,"-content")]:{position:"relative",width:"100%"},["".concat(e,"-content-holder")]:{flex:"auto",minWidth:0,minHeight:0},["".concat(e,"-tabpane")]:Object.assign(Object.assign({},(0,ts.K8)(t)),{"&-hidden":{display:"none"}})}),["".concat(e,"-centered")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-nav-wrap")]:{["&:not([class*='".concat(e,"-nav-wrap-ping']) > ").concat(e,"-nav-list")]:{margin:"auto"}}}}}})(e),(t=>{let{componentCls:e,motionDurationSlow:n}=t;return[{[e]:{["".concat(e,"-switch")]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:"opacity ".concat(n)}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity ".concat(n)}}}}},[(0,tv._j)(t,"slide-up"),(0,tv._j)(t,"slide-down")]]})(e)]},t=>{let{cardHeight:e,cardHeightSM:n,cardHeightLG:a,controlHeight:o,controlHeightLG:c}=t,r=e||c,i=n||o,l=a||c+8;return{zIndexPopup:t.zIndexPopupBase+50,cardBg:t.colorFillAlter,cardHeight:r,cardHeightSM:i,cardHeightLG:l,cardPadding:"".concat((r-t.fontHeight)/2-t.lineWidth,"px ").concat(t.padding,"px"),cardPaddingSM:"".concat((i-t.fontHeight)/2-t.lineWidth,"px ").concat(t.paddingXS,"px"),cardPaddingLG:"".concat((l-t.fontHeightLG)/2-t.lineWidth,"px ").concat(t.padding,"px"),titleFontSize:t.fontSize,titleFontSizeLG:t.fontSizeLG,titleFontSizeSM:t.fontSize,inkBarColor:t.colorPrimary,horizontalMargin:"0 0 ".concat(t.margin,"px 0"),horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:"".concat(t.paddingSM,"px 0"),horizontalItemPaddingSM:"".concat(t.paddingXS,"px 0"),horizontalItemPaddingLG:"".concat(t.padding,"px 0"),verticalItemPadding:"".concat(t.paddingXS,"px ").concat(t.paddingLG,"px"),verticalItemMargin:"".concat(t.margin,"px 0 0 0"),itemColor:t.colorText,itemSelectedColor:t.colorPrimary,itemHoverColor:t.colorPrimaryHover,itemActiveColor:t.colorPrimaryActive,cardGutter:t.marginXXS/2}});var tp=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);oe.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};let tm=a.forwardRef((t,e)=>{var n,r,i,l,s,f,v,b,p,m,h;let g,{type:k,className:y,rootClassName:A,size:w,onEdit:_,hideAdd:x,centered:S,addIcon:E,removeIcon:C,moreIcon:z,more:R,popupClassName:P,children:T,items:I,animated:M,style:L,indicatorSize:O,indicator:D,destroyInactiveTabPane:B,destroyOnHidden:N}=t,j=tp(t,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator","destroyInactiveTabPane","destroyOnHidden"]),{prefixCls:H}=j,{direction:G,tabs:W,getPrefixCls:X,getPopupContainer:K}=a.useContext(tn.QO),F=X("tabs",H),q=(0,ta.A)(F),[V,Y,U]=tb(F,q),J=a.useRef(null);a.useImperativeHandle(e,()=>({nativeElement:J.current})),"editable-card"===k&&(g={onEdit:(t,e)=>{let{key:n,event:a}=e;null==_||_("add"===t?a:n,t)},removeIcon:null!=(n=null!=C?C:null==W?void 0:W.removeIcon)?n:a.createElement(o.A,null),addIcon:(null!=E?E:null==W?void 0:W.addIcon)||a.createElement(d,null),showAdd:!0!==x});let Q=X(),Z=(0,to.A)(w),$=function(t,e){return t?t.map(t=>{var e;let n=null!=(e=t.destroyOnHidden)?e:t.destroyInactiveTabPane;return Object.assign(Object.assign({},t),{destroyInactiveTabPane:n})}):(0,ti.A)(e).map(t=>{if(a.isValidElement(t)){let{key:e,props:n}=t,a=n||{},{tab:o}=a,c=tl(a,["tab"]);return Object.assign(Object.assign({key:String(e)},c),{label:o})}return null}).filter(t=>t)}(I,T),tt=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(e=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(e.tabPaneMotion=Object.assign(Object.assign({},tr),{motionName:(0,tc.b)(t,"switch")})),e}(F,M),td=Object.assign(Object.assign({},null==W?void 0:W.style),L),ts={align:null!=(r=null==D?void 0:D.align)?r:null==(i=null==W?void 0:W.indicator)?void 0:i.align,size:null!=(v=null!=(s=null!=(l=null==D?void 0:D.size)?l:O)?s:null==(f=null==W?void 0:W.indicator)?void 0:f.size)?v:null==W?void 0:W.indicatorSize};return V(a.createElement(te,Object.assign({ref:J,direction:G,getPopupContainer:K},j,{items:$,className:u()({["".concat(F,"-").concat(Z)]:Z,["".concat(F,"-card")]:["card","editable-card"].includes(k),["".concat(F,"-editable-card")]:"editable-card"===k,["".concat(F,"-centered")]:S},null==W?void 0:W.className,y,A,Y,U,q),popupClassName:u()(P,Y,U,q),style:td,editable:g,more:Object.assign({icon:null!=(h=null!=(m=null!=(p=null==(b=null==W?void 0:W.more)?void 0:b.icon)?p:null==W?void 0:W.moreIcon)?m:z)?h:a.createElement(c.A,null),transitionName:"".concat(Q,"-slide-up")},R),prefixCls:F,animated:tt,indicator:ts,destroyInactiveTabPane:null!=N?N:B})))});tm.TabPane=()=>null;let th=tm}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-77d90170ec3795f8.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-7b54882aecda9681.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-77d90170ec3795f8.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-7b54882aecda9681.js index 787ae89d..dfd9f22d 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-77d90170ec3795f8.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4984-7b54882aecda9681.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4984],{128:(e,t,n)=>{"use strict";function r(e,t){return Object.entries(e).reduce((n,[r,i])=>(n[r]=t(i,r,e),n),{})}function i(e){return e.map((e,t)=>t)}function a(e){return e[0]}function o(e){return e[e.length-1]}function s(e){return Array.from(new Set(e))}function l(e,t){let n=[[],[]];return e.forEach(e=>{n[+!t(e)].push(e)}),n}function c(e){if(1===e.length)return[e];let t=[];for(let n=1;n<=e.length;n++)t.push(...function e(t,n=t.length){if(1===n)return t.map(e=>[e]);let r=[];for(let i=0;i{r.push([t[i],...e])});return r}(e,n));return t}n.d(t,{Am:()=>s,Ku:()=>a,Qr:()=>l,g1:()=>o,kg:()=>c,qh:()=>i,s8:()=>r})},190: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=[]},322: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=[]},497:e=>{"use strict";function t(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},600: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=[]},640:(e,t,n)=>{"use strict";var r=n(99684);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState;if(!t)throw Error("Missing required dependency: reporter.");return{makeDetectable:function(a,o,s){s||(s=o,o=a,a=null),(a=a||{}).debug,r.isIE(8)?s(o):function(o,s){var l,c,u=(l=["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"],c=e.important?" !important; ":"; ",(l.join(c)+c).trim()),d=!1,h=window.getComputedStyle(o),p=o.offsetWidth,f=o.offsetHeight;function g(){function e(){if("static"===h.position){o.style.setProperty("position","relative",a.important?"important":"");var e=function(e,t,n,r){var i=n[r];"auto"!==i&&"0"!==i.replace(/[^-\d\.]/g,"")&&(e.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style.setProperty(r,"0",a.important?"important":""))};e(t,o,h,"top"),e(t,o,h,"right"),e(t,o,h,"bottom"),e(t,o,h,"left")}}""!==h.position&&(e(h),d=!0);var n=document.createElement("object");n.style.cssText=u,n.tabIndex=-1,n.type="text/html",n.setAttribute("aria-hidden","true"),n.onload=function(){d||e(),!function e(t,n){if(!t.contentDocument){var r=i(t);r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),r.checkForObjectDocumentTimeoutId=setTimeout(function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)},100);return}n(t.contentDocument)}(this,function(e){s(o)})},r.isIE()||(n.data="about:blank"),i(o)&&(o.appendChild(n),i(o).object=n,r.isIE()&&(n.data="about:blank"))}i(o).startSize={width:p,height:f},n?n.add(g):g()}(o,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))i(e).object={proxy:n},e.attachEvent("onresize",n);else{var a=i(e).object;if(!a)throw Error("Element is not detectable by this strategy.");a.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(i(e)){var t=i(e).object;t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),i(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(e).checkForObjectDocumentTimeoutId),delete i(e).object)}}}}},641:(e,t,n)=>{"use strict";var r=n(95441),i=n(8747),a=n(93403),o="data";e.exports=function(e,t){var n,h,p,f=r(t),g=t,m=a;return f in e.normal?e.property[e.normal[f]]:(f.length>4&&f.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(p=(h=t).slice(4),t=l.test(p)?h:("-"!==(p=p.replace(c,u)).charAt(0)&&(p="-"+p),o+p)),m=i),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},801:(e,t,n)=>{var r=n(85855),i=n(23633);e.exports=function(e){return i(r(e).toLowerCase())}},894:(e,t,n)=>{"use strict";n.d(t,{DQ:()=>l,MF:()=>a,i5:()=>o,vO:()=>s});var r=n(14837),i=n(79135);function a(e,t,n={},o=!1){if((0,i.K$)(e)||Array.isArray(e)&&o)return e;let s=(0,i.Uq)(e,t);return(0,r.A)(n,s)}function o(e,t={}){return(0,i.K$)(e)||Array.isArray(e)||!s(e)?e:(0,r.A)(t,e)}function s(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function l(e,t){return"object"==typeof e?(0,i.Uq)(e,t):e}},987:(e,t,n)=>{"use strict";var r=n(15110);function i(e){e.register(r),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=i,i.displayName="arduino",i.aliases=["ino"]},1002:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONTINUE:()=>o,EXIT:()=>s,SKIP:()=>l,visit:()=>u});let r=function(e){var t,n;if(null==e)return a;if("string"==typeof e){return t=e,i(function(e){return e&&e.type===t})}if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return p;function p(){var h;let p,f,g,m=[];if((!t||a(r,u,d[d.length-1]||null))&&(m=Array.isArray(h=n(r,d))?h:"number"==typeof h?[o,h]:[h])[0]===s)return m;if(r.children&&m[0]!==l)for(f=(i?r.children.length:-1)+c,g=d.concat(r);f>-1&&f{"use strict";function r(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}function i(e,t,n,i){return t&&r(e,t),n&&r(e,n),i&&r(e,i),e}n.d(t,{A:()=>i})},1083:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},1110:e=>{e.exports=function(e){e.installMethod("negate",function(){var t=this.rgb();return new e.RGB(1-t._red,1-t._green,1-t._blue,this._alpha)})}},1250: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=[]},1370:e=>{"use strict";function t(e){var t,n,r,i,a,o;r={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}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return RegExp("(^|\\s)(?:"+e.map(i).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){r[e].pattern=a(o[e])}),r.combinators.pattern=a(["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=r}e.exports=t,t.displayName="factor",t.aliases=[]},1381:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="glsl",i.aliases=[]},1442:e=>{e.exports=function(e,t,n,r){for(var i=n-1,a=e.length;++i{"use strict";function r(e,t){return null==e||null==t?NaN:et?1:e>=t?0:NaN}n.d(t,{A:()=>r})},2018:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(88491);let i=(e,t,n,i)=>{let a,o,s=e,l=t;if(s===l&&n>0)return[s];let c=(0,r.l)(s,l,n);if(0===c||!Number.isFinite(c))return[];if(c>0){s=Math.ceil(s/c),o=Array(a=Math.ceil((l=Math.floor(l/c))-s+1));for(let e=0;e{if(!(null==t?void 0:t.length))return e;let n=Array.from(new Set([...e,...t.flatMap(e=>[e.start,e.end])])).sort((e,t)=>e-t).filter(e=>!t.some(({start:t,end:n})=>e>t&&e{"use strict";function r(e){var t=document.createElement("div");t.innerHTML=e;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}n.d(t,{l:()=>r})},2323:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(49603);function i(e){return(0,r.f)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},2423:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,TN:()=>l,z:()=>c,i8:()=>u});class r extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(n),e.delete(r)),n}(this,e))}}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}var o=n(70032);function s(e,...t){return d(e,o.A,o.A,t)}function l(e,...t){return d(e,Array.from,o.A,t)}function c(e,t,...n){return d(e,o.A,t,n)}function u(e,t,...n){return d(e,Array.from,t,n)}function d(e,t,n,i){return function e(a,o){if(o>=i.length)return n(a);let s=new r,l=i[o++],c=-1;for(let e of a){let t=l(e,++c,a),n=s.get(t);n?n.push(e):s.set(t,[e])}for(let[t,n]of s)s.set(t,e(n,o));return t(s)}(e,0)}},2455:(e,t,n)=>{"use strict";var r=n(89136),i=n(57859),a=n(71266),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,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:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,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:d,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:u,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}})},2638:(e,t,n)=>{"use strict";function r(e){a(e,!0)}function i(e){a(e,!1)}function a(e,t){var n=t?"visible":"hidden";!function e(t,n){n(t),t.children&&t.children.forEach(function(t){t&&e(t,n)})}(e,function(e){e.attr("visibility",n)})}n.d(t,{jD:()=>i,WU:()=>r,XD:()=>a})},2679: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=[]},2774: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=[]},2948:(e,t,n)=>{"use strict";function r(e,t,n,r,i){for(var a,o=e.children,s=-1,l=o.length,c=e.value&&(r-t)/e.value;++sr})},3021:(e,t,n)=>{"use strict";n.d(t,{W:()=>p});var r=n(50636),i=n(59222),a=n(20430),o=n(65158),s=n(14133),l=n(10569),c=n(96474),u=n(46032),d=n(51750);let h=(e,t,n,r)=>(Math.min(e.length,t.length)>2?(e,t,n)=>{let r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),c=e[0]>e[r],u=c?[...e].reverse():e,d=c?[...t].reverse():t;for(let e=0;e{let n=(0,l.h)(e,t,1,r)-1,o=i[n],c=a[n];return(0,s.Z)(c,o)(t)}}:(e,t,n)=>{let r,i,[a,l]=e,[c,u]=t;return at?e:t;return e=>Math.min(Math.max(n,e),r)}(r[0],r[a-1]):i.A}composeOutput(e,t){let{domain:n,range:r,round:i,interpolate:a}=this.options,o=h(n.map(e),r,a,i);this.output=(0,s.Z)(o,t,e)}composeInput(e,t,n){let{domain:r,range:i}=this.options,a=h(i,r.map(e),c.P7);this.input=(0,s.Z)(t,n,a)}}},3329:e=>{function t(e,t){if(0!==e.length){n(e[0],t);for(var r=1;r=Math.abs(s)?n-l+s:s-l+n,n=l}n+r>=0!=!!t&&e.reverse()}e.exports=function e(n,r){var i,a=n&&n.type;if("FeatureCollection"===a)for(i=0;i{"use strict";n.d(t,{A:()=>i});var r=n(7006);let i=function(e){return(0,r.A)(e)?"":e.toString()}},3706: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=[]},3795:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(12115),i=n(29300),a=n.n(i),o=n(79630),s=n(21858),l=n(20235),c=n(40419),u=n(27061),d=n(86608),h=n(48804),p=n(17980),f=n(74686),g=n(82870),m=n(49172),b=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},y=function(e){return void 0!==e?"".concat(e,"px"):void 0};function v(e){var t=e.prefixCls,n=e.containerRef,i=e.value,o=e.getValueIndex,l=e.motionName,c=e.onMotionStart,d=e.onMotionEnd,h=e.direction,p=e.vertical,v=void 0!==p&&p,E=r.useRef(null),_=r.useState(i),x=(0,s.A)(_,2),A=x[0],S=x[1],w=function(e){var r,i=o(e),a=null==(r=n.current)?void 0:r.querySelectorAll(".".concat(t,"-item"))[i];return(null==a?void 0:a.offsetParent)&&a},O=r.useState(null),C=(0,s.A)(O,2),k=C[0],M=C[1],L=r.useState(null),I=(0,s.A)(L,2),N=I[0],R=I[1];(0,m.A)(function(){if(A!==i){var e=w(A),t=w(i),n=b(e,v),r=b(t,v);S(i),M(n),R(r),e&&t?c():d()}},[i]);var P=r.useMemo(function(){if(v){var e;return y(null!=(e=null==k?void 0:k.top)?e:0)}return"rtl"===h?y(-(null==k?void 0:k.right)):y(null==k?void 0:k.left)},[v,h,k]),D=r.useMemo(function(){if(v){var e;return y(null!=(e=null==N?void 0:N.top)?e:0)}return"rtl"===h?y(-(null==N?void 0:N.right)):y(null==N?void 0:N.left)},[v,h,N]);return k&&N?r.createElement(g.Ay,{visible:!0,motionName:l,motionAppear:!0,onAppearStart:function(){return v?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return v?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){M(null),R(null),d()}},function(e,n){var i=e.className,o=e.style,s=(0,u.A)((0,u.A)({},o),{},{"--thumb-start-left":P,"--thumb-start-width":y(null==k?void 0:k.width),"--thumb-active-left":D,"--thumb-active-width":y(null==N?void 0:N.width),"--thumb-start-top":P,"--thumb-start-height":y(null==k?void 0:k.height),"--thumb-active-top":D,"--thumb-active-height":y(null==N?void 0:N.height)}),l={ref:(0,f.K4)(E,n),style:s,className:a()("".concat(t,"-thumb"),i)};return r.createElement("div",l)}):null}var E=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"],_=function(e){var t=e.prefixCls,n=e.className,i=e.disabled,o=e.checked,s=e.label,l=e.title,u=e.value,d=e.name,h=e.onChange,p=e.onFocus,f=e.onBlur,g=e.onKeyDown,m=e.onKeyUp,b=e.onMouseDown;return r.createElement("label",{className:a()(n,(0,c.A)({},"".concat(t,"-item-disabled"),i)),onMouseDown:b},r.createElement("input",{name:d,className:"".concat(t,"-item-input"),type:"radio",disabled:i,checked:o,onChange:function(e){i||h(e,u)},onFocus:p,onBlur:f,onKeyDown:g,onKeyUp:m}),r.createElement("div",{className:"".concat(t,"-item-label"),title:l,"aria-selected":o},s))},x=r.forwardRef(function(e,t){var n,i,g=e.prefixCls,m=void 0===g?"rc-segmented":g,b=e.direction,y=e.vertical,x=e.options,A=void 0===x?[]:x,S=e.disabled,w=e.defaultValue,O=e.value,C=e.name,k=e.onChange,M=e.className,L=e.motionName,I=(0,l.A)(e,E),N=r.useRef(null),R=r.useMemo(function(){return(0,f.K4)(N,t)},[N,t]),P=r.useMemo(function(){return A.map(function(e){if("object"===(0,d.A)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.A)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}(e);return(0,u.A)((0,u.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[A]),D=(0,h.A)(null==(n=P[0])?void 0:n.value,{value:O,defaultValue:w}),j=(0,s.A)(D,2),B=j[0],F=j[1],z=r.useState(!1),U=(0,s.A)(z,2),H=U[0],G=U[1],$=function(e,t){F(t),null==k||k(t)},W=(0,p.A)(I,["children"]),V=r.useState(!1),q=(0,s.A)(V,2),Y=q[0],Z=q[1],X=r.useState(!1),K=(0,s.A)(X,2),Q=K[0],J=K[1],ee=function(){J(!0)},et=function(){J(!1)},en=function(){Z(!1)},er=function(e){"Tab"===e.key&&Z(!0)},ei=function(e){var t=P.findIndex(function(e){return e.value===B}),n=P.length,r=P[(t+e+n)%n];r&&(F(r.value),null==k||k(r.value))},ea=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":ei(-1);break;case"ArrowRight":case"ArrowDown":ei(1)}};return r.createElement("div",(0,o.A)({role:"radiogroup","aria-label":"segmented control",tabIndex:S?void 0:0},W,{className:a()(m,(i={},(0,c.A)(i,"".concat(m,"-rtl"),"rtl"===b),(0,c.A)(i,"".concat(m,"-disabled"),S),(0,c.A)(i,"".concat(m,"-vertical"),y),i),void 0===M?"":M),ref:R}),r.createElement("div",{className:"".concat(m,"-group")},r.createElement(v,{vertical:y,prefixCls:m,value:B,containerRef:N,motionName:"".concat(m,"-").concat(void 0===L?"thumb-motion":L),direction:b,getValueIndex:function(e){return P.findIndex(function(t){return t.value===e})},onMotionStart:function(){G(!0)},onMotionEnd:function(){G(!1)}}),P.map(function(e){var t;return r.createElement(_,(0,o.A)({},e,{name:C,key:e.value,prefixCls:m,className:a()(e.className,"".concat(m,"-item"),(t={},(0,c.A)(t,"".concat(m,"-item-selected"),e.value===B&&!H),(0,c.A)(t,"".concat(m,"-item-focused"),Q&&Y&&e.value===B),t)),checked:e.value===B,onChange:$,onFocus:ee,onBlur:et,onKeyDown:ea,onKeyUp:er,onMouseDown:en,disabled:!!S||!!e.disabled}))})))}),A=n(32934),S=n(15982),w=n(9836),O=n(99841),C=n(18184),k=n(45431),M=n(61388);function L(e,t){return{["".concat(e,", ").concat(e,":hover, ").concat(e,":focus")]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function I(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let N=Object.assign({overflow:"hidden"},C.L9),R=(0,k.OF)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return(e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)}),(0,C.K8)(e)),{["".concat(t,"-group")]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},["&".concat(t,"-rtl")]:{direction:"rtl"},["&".concat(t,"-vertical")]:{["".concat(t,"-group")]:{flexDirection:"column"},["".concat(t,"-thumb")]:{width:"100%",height:0,padding:"0 ".concat((0,O.zA)(e.paddingXXS))}},["&".concat(t,"-block")]:{display:"flex"},["&".concat(t,"-block ").concat(t,"-item")]:{flex:1,minWidth:0},["".concat(t,"-item")]:{position:"relative",textAlign:"center",cursor:"pointer",transition:"color ".concat(e.motionDurationMid),borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},I(e)),{color:e.itemSelectedColor}),"&-focused":(0,C.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:"opacity ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),pointerEvents:"none"},["&:not(".concat(t,"-item-selected):not(").concat(t,"-item-disabled)")]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,O.zA)(n),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontal))},N),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},["".concat(t,"-thumb")]:Object.assign(Object.assign({},I(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:"".concat((0,O.zA)(e.paddingXXS)," 0"),borderRadius:e.borderRadiusSM,["& ~ ".concat(t,"-item:not(").concat(t,"-item-selected):not(").concat(t,"-item-disabled)::after")]:{backgroundColor:"transparent"}}),["&".concat(t,"-lg")]:{borderRadius:e.borderRadiusLG,["".concat(t,"-item-label")]:{minHeight:r,lineHeight:(0,O.zA)(r),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontal)),fontSize:e.fontSizeLG},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadius}},["&".concat(t,"-sm")]:{borderRadius:e.borderRadiusSM,["".concat(t,"-item-label")]:{minHeight:i,lineHeight:(0,O.zA)(i),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontalSM))},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadiusXS}}}),L("&-disabled ".concat(t,"-item"),e)),L("".concat(t,"-item-disabled"),e)),{["".concat(t,"-thumb-motion-appear-active")]:{transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", width ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),willChange:"transform, width"},["&".concat(t,"-shape-round")]:{borderRadius:9999,["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:9999}}})}})((0,M.oX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:i,colorFill:a,lineWidthBold:o,colorBgLayout:s}=e;return{trackPadding:o,trackBg:s,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:i,itemActiveBg:a,itemSelectedColor:n}});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 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 D=r.forwardRef((e,t)=>{let n=(0,A.A)(),{prefixCls:i,className:o,rootClassName:s,block:l,options:c=[],size:u="middle",style:d,vertical:h,shape:p="default",name:f=n}=e,g=P(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:m,direction:b,className:y,style:v}=(0,S.TP)("segmented"),E=m("segmented",i),[_,O,C]=R(E),k=(0,w.A)(u),M=r.useMemo(()=>c.map(e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},P(e,["icon","label"])),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(E,"-item-icon")},t),n&&r.createElement("span",null,n))})}return e}),[c,E]),L=a()(o,s,y,{["".concat(E,"-block")]:l,["".concat(E,"-sm")]:"small"===k,["".concat(E,"-lg")]:"large"===k,["".concat(E,"-vertical")]:h,["".concat(E,"-shape-").concat(p)]:"round"===p},O,C),I=Object.assign(Object.assign({},v),d);return _(r.createElement(x,Object.assign({},g,{name:f,className:L,style:I,options:M,ref:t,prefixCls:E,direction:b,vertical:h})))})},3990: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=[]},4278:e=>{e.exports=function(e){e.installMethod("mix",function(t,n){t=e(t).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-t._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,s=this.rgb();return new e.RGB(s._red*a+t._red*o,s._green*a+t._green*o,s._blue*a+t._blue*o,s._alpha*n+t._alpha*(1-n))})}},4292:(e,t,n)=>{"use strict";n.d(t,{D9:()=>A,GW:()=>m,Jt:()=>E,K1:()=>y,PR:()=>S,R2:()=>v,bD:()=>w,hq:()=>f,lM:()=>_,py:()=>g,rb:()=>p,sd:()=>x,zE:()=>b});var r=n(14837),i=n(42338),a=n(59829),o=n(128),s=n(79135),l=n(894),c=n(38414),u=n(52777),d=n(65192),h=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 p=Symbol("CALLBACK_ITEM");function f(e,t,n){let{encode:r={},scale:i={},transform:a=[]}=t;return[e,Object.assign(Object.assign({},h(t,["encode","scale","transform"])),{encode:r,scale:i,transform:a})]}function g(e,t,n){var r,a,l,u;return r=this,a=void 0,l=void 0,u=function*(){let{library:e}=n,{data:r}=t,[a]=(0,c.t)("data",e),l=function(e){if((0,i.A)(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};let{type:t="inline"}=e;return Object.assign(Object.assign({},h(e,["type"])),{type:t})}(r),{transform:u=[]}=l,d=[h(l,["transform"]),...u].map(e=>a(e,n)),p=yield(0,s.N0)(d)(r),f=!r||Array.isArray(r)||Array.isArray(p)?p:{value:p};return[Array.isArray(p)?(0,o.qh)(p):[],Object.assign(Object.assign({},t),{data:f})]},new(l||(l=Promise))(function(e,t){function n(e){try{o(u.next(e))}catch(e){t(e)}}function i(e){try{o(u.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):((r=t.value)instanceof l?r:new l(function(e){e(r)})).then(n,i)}o((u=u.apply(r,a||[])).next())})}function m(e,t,n){let{encode:r}=t;if(!r)return[e,t];let i={};for(let[e,t]of Object.entries(r))if(Array.isArray(t))for(let n=0;n{var t,n,r,a;return!function(e){if("object"!=typeof e||e instanceof Date||null===e)return!1;let{type:t}=e;return(0,s.sw)(t)}(e)?{type:(t=i,"function"==typeof(n=e)?"transform":"string"==typeof n&&(r=t,a=n,Array.isArray(r)&&r.some(e=>void 0!==e[a]))?"field":"constant"),value:e}:e});return[e,Object.assign(Object.assign({},t),{encode:a})]}function y(e,t,n){let{encode:r}=t;if(!r)return[e,t];let i=(0,o.s8)(r,(e,t)=>{let{type:n}=e;return"constant"!==n||(0,d.E)(t)?e:Object.assign(Object.assign({},e),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:i})]}function v(e,t,n){let{encode:r,data:i}=t;if(!r)return[e,t];let{library:a}=n,s=(0,u.O)(a),l=(0,o.s8)(r,e=>s(i,e));return[e,Object.assign(Object.assign({},t),{encode:l})]}function E(e,t,n){let{tooltip:r={}}=t;return(0,s.K$)(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:(0,s.L_)(r)&&(0,l.vO)(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function _(e,t,n){let{data:r,encode:i,tooltip:o={}}=t;if((0,s.K$)(o))return[e,t];let l=t=>{if(!t)return t;if("string"==typeof t)return e.map(e=>({name:t,value:r[e][t]}));if((0,s.L_)(t)){let{field:n,channel:o,color:s,name:l=n,valueFormatter:c=e=>e}=t,u="string"==typeof c?(0,a.GP)(c):c,d=o&&i[o],h=d&&i[o].field,p=l||h||o,f=[];for(let t of e){let e=n?r[t][n]:d?i[o].value[t]:null;f[t]={name:p,color:s,value:u(e)}}return f}if("function"==typeof t){let n=[];for(let a of e){let e=t(r[a],a,r,i);(0,s.L_)(e)?n[a]=Object.assign(Object.assign({},e),{[p]:!0}):n[a]={value:e}}return n}return t},{title:c,items:u=[]}=o,d=h(o,["title","items"]),f=Object.assign({title:l(c),items:Array.isArray(u)?u.map(l):[]},d);return[e,Object.assign(Object.assign({},t),{tooltip:f})]}function x(e,t,n){let{encode:r}=t,i=h(t,["encode"]);if(!r)return[e,t];let a=Object.entries(r),o=a.filter(([,e])=>{let{value:t}=e;return Array.isArray(t[0])}).flatMap(([t,n])=>{let r=[[t,Array(e.length).fill(void 0)]],{value:i}=n,a=h(n,["value"]);for(let n=0;n[e,Object.assign({type:"column",value:t},a)])}),s=Object.fromEntries([...a,...o]);return[e,Object.assign(Object.assign({},i),{encode:s})]}function A(e,t,n){let{axis:i={},legend:a={},slider:o={},scrollbar:s={}}=t,l=(e,t)=>{if("boolean"==typeof e)return e?{}:null;let n=e[t];return void 0===n||n?n:null},c="object"==typeof i?Array.from(new Set(["x","y","z",...Object.keys(i)])):["x","y","z"];return(0,r.A)(t,{scale:Object.assign(Object.assign({},Object.fromEntries(c.map(e=>{let t=l(s,e);return[e,Object.assign({guide:l(i,e),slider:l(o,e),scrollbar:t},t&&{ratio:void 0===t.ratio?.5:t.ratio})]}))),{color:{guide:l(a,"color")},size:{guide:l(a,"size")},shape:{guide:l(a,"shape")},opacity:{guide:l(a,"opacity")}})}),[e,t]}function S(e,t,n){let{animate:i}=t;return i||void 0===i||(0,r.A)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}function w(e,t,n){var i,a;return(0,r.A)(t,{scale:{series:Object.assign({key:`DEFAULT_${t.type}_SERIES_KEY`},null!=(a=null==(i=null==t?void 0:t.scale)?void 0:i.series)?a:{})}}),[e,t]}},4670:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("desaturate",function(e){return this.saturation(isNaN(e)?-.1:-e,!0)})}},4684:(e,t,n)=>{"use strict";n.d(t,{A6:()=>d,B8:()=>u,C:()=>p,S8:()=>m,fA:()=>h,hZ:()=>f,lK:()=>g,lw:()=>c,vt:()=>s,x8:()=>l});var r=n(31142),i=n(14288),a=n(64664),o=n(99845);function s(){var e=new r.tb(4);return r.tb!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function l(e,t,n){var r=Math.sin(n*=.5);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function c(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+o*s+i*c-a*l,e[1]=i*u+o*l+a*s-r*c,e[2]=a*u+o*c+r*l-i*s,e[3]=o*u-r*s-i*l-a*c,e}function u(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return e[0]=-n*s,e[1]=-r*s,e[2]=-i*s,e[3]=a*s,e}function d(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.bw,o=Math.PI/360;t*=o,i*=o;var s=Math.sin(t),l=Math.cos(t),c=Math.sin(n*=o),u=Math.cos(n),d=Math.sin(i),h=Math.cos(i);switch(a){case"xyz":e[0]=s*u*h+l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h-s*c*d;break;case"xzy":e[0]=s*u*h-l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h+s*c*d;break;case"yxz":e[0]=s*u*h+l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h+s*c*d;break;case"yzx":e[0]=s*u*h+l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h-s*c*d;break;case"zxy":e[0]=s*u*h-l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h-s*c*d;break;case"zyx":e[0]=s*u*h-l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h+s*c*d;break;default:throw Error("Unknown angle order "+a)}return e}o.o8;var h=o.fA,p=o.C,f=o.hZ;o.WQ;var g=c;o.hs,o.Om,o.Cc,o.Bw,o.m3;var m=o.S8;o.t2,a.vt(),a.fA(1,0,0),a.fA(0,1,0),s(),s(),i.vt()},4841:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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 r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=i,i.displayName="liquid",i.aliases=[]},4986:e=>{e.exports=function(e){e.installMethod("clearer",function(e){return this.alpha(isNaN(e)?-.1:-e,!0)})}},5485:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5522:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,o){if(a===o)return!0;if(a&&o&&"object"==typeof a&&"object"==typeof o){var s,l,c,u;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(!e(a[l],o[l]))return!1;return!0}if(n&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;for(u=a.entries();!(l=u.next()).done;)if(!e(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(a[l]!==o[l])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof o.valueOf)return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof o.toString)return a.toString()===o.toString();if((s=(c=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(t&&a instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!a.$$typeof)&&!e(a[c[l]],o[c[l]]))return!1;return!0}return a!=a&&o!=o}(e,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},5738:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3693);let i=function(e){var t=(0,r.A)(e);return t.charAt(0).toLowerCase()+t.substring(1)}},6641:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7006),i=n(81472);function a(e){return(0,r.A)(e)?0:(0,i.A)(e)?e.length:Object.keys(e).length}},6723:(e,t,n)=>{"use strict";var r=n(32027),i=n(95994);function a(e){var t;e.register(r),e.register(i),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=a,a.displayName="phpdoc",a.aliases=[]},7283:()=>{window._iconfont_svg_string_3580659='',function(e){try{var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var r,i,a,o,s,l=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(e){console&&console.log(e)}}r=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3580659,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?l(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),r()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=r,o=e.document,s=!1,function e(){try{o.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}c()}(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,c())})}function c(){s||(s=!0,a())}}catch(e){}}(window)},7390:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},7594: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"]},7610:(e,t)=>{t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),a-=c}return(p?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<>1,h=5960464477539062e-23*(23===i),p=r?0:a-1,f=r?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&s,p+=f,s/=256,i-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=256,c-=8);e[n+p-f]|=128*g}},7709:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="objectivec",i.aliases=["objc"]},8095:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(i,a)},t),o&&e.apply(i,a)}}},8351: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"]},8707:(e,t,n)=>{"use strict";n.d(t,{$A:()=>h,Ew:()=>a,Jp:()=>y,Om:()=>m,T7:()=>b,XC:()=>S,ZF:()=>x,bJ:()=>g,dW:()=>_,hv:()=>v,io:()=>p,n1:()=>r,n8:()=>d,nR:()=>l,tY:()=>f,vI:()=>u,vQ:()=>c,vh:()=>E,x6:()=>A,zX:()=>s,zk:()=>o,zx:()=>i});var r=function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]]},i=r,a=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},o=function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},s=function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},l=function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]},c=function(e,t,n){var r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]},u=function(e,t,n){var r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]},d=function(e,t,n){return[["M",e,t+n],["L",e,t-n]]},h=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]]},p=function(e,t,n){return[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]]},f=function(e,t,n){return[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]]},g=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},m=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},b=m,y=function(e,t,n){return[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]]},v=function(e,t,n){return[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]]},E=function(e,t,n){return[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]]},_=function(e,t,n){return[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]]};function x(e,t){return[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]]}var A=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t],["L",e-n,t+n],["Z"]]},S=function(e,t,n){var r=.2*n,i=.7*n;return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"],["M",e-i,t],["L",e-r,t],["M",e+r,t],["L",e+i,t],["M",e,t-i],["L",e,t-r],["M",e,t+r],["L",e,t+i]]}},8747:(e,t,n)=>{"use strict";var r=n(93403),i=n(89136);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function s(e,t,n,s){var l,c,u,d,h,p,f=-1;for(l=this,(c=s)&&(l.space=c),r.call(this,e,t);++f{"use strict";function r(e){var t=e.canvas,n=e.touches,r=e.offsetX,i=e.offsetY;if(t)return[t.x,t.y];if(n){var a=n[0];return[a.clientX,a.clientY]}return r&&i?[r,i]:[0,0]}function i(e){var t=e.nativeEvent,n=e.touches,r=e.clientX,i=e.clientY;if(t)return[t.clientX,t.clientY];if(n){var a=n[0];return[a.clientX,a.clientY]}return"number"==typeof r&&"number"==typeof i?[r,i]:[0,0]}n.d(t,{n:()=>r,t:()=>i})},8828:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},8936:e=>{var t=[],n=function(e){return void 0===e},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(e){if(Array.isArray(e)){if("string"==typeof e[0]&&"function"==typeof o[e[0]])return new o[e[0]](e.slice(1,e.length));else if(4===e.length)return new o.RGB(e[0]/255,e[1]/255,e[2]/255,e[3]/255)}else if("string"==typeof e){var t=e.toLowerCase();o.namedColors[t]&&(e="#"+o.namedColors[t]),"transparent"===t&&(e="rgba(0,0,0,0)");var r=e.match(a);if(r){var s=r[1].toUpperCase(),l=n(r[8])?r[8]:parseFloat(r[8]),c="H"===s[0],u=r[3]?100:c?360:255,d=r[5]||c?100:255,h=r[7]||c?100:255;if(n(o[s]))throw Error("color."+s+" is not installed.");return new o[s](parseFloat(r[2])/u,parseFloat(r[4])/d,parseFloat(r[6])/h,l)}e.length<6&&(e=e.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var p=e.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(p)return new o.RGB(parseInt(p[1],16)/255,parseInt(p[2],16)/255,parseInt(p[3],16)/255);if(o.CMYK){var f=e.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(f)return new o.CMYK(parseFloat(f[1])/100,parseFloat(f[2])/100,parseFloat(f[3])/100,parseFloat(f[4])/100)}}else if("object"==typeof e&&e.isColor)return e;return!1}o.namedColors={},o.installColorSpace=function(e,r,i){o[e]=function(t){var n=Array.isArray(t)?t:arguments;r.forEach(function(t,i){var a=n[i];if("alpha"===t)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+e+"]: Invalid color: ("+r.join(",")+")");"hue"===t?this._hue=a<0?a-Math.floor(a):a%1:this["_"+t]=a<0?0:a>1?1:a}},this)},o[e].propertyNames=r;var a=o[e].prototype;for(var s in["valueOf","hex","hexa","css","cssa"].forEach(function(t){a[t]=a[t]||("RGB"===e?a.hex:function(){return this.rgb()[t]()})}),a.isColor=!0,a.equals=function(t,i){n(i)&&(i=1e-10),t=t[e.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[e].concat(r.map(function(e){return this["_"+e]},this))},i)if(i.hasOwnProperty(s)){var l=s.match(/^from(.*)$/);l?o[l[1].toUpperCase()].prototype[e.toLowerCase()]=i[s]:a[s]=i[s]}function c(e,t){var n={};for(var r in n[t.toLowerCase()]=function(){return this.rgb()[t.toLowerCase()]()},o[t].propertyNames.forEach(function(e){var r="black"===e?"k":e.charAt(0);n[e]=n[r]=function(n,r){return this[t.toLowerCase()]()[e](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[e].prototype[r]&&(o[e].prototype[r]=n[r])}return a[e.toLowerCase()]=function(){return this},a.toString=function(){return"["+e+" "+r.map(function(e){return this["_"+e]},this).join(", ")+"]"},r.forEach(function(e){var t="black"===e?"k":e.charAt(0);a[e]=a[t]=function(t,n){return void 0===t?this["_"+e]:new this.constructor(n?r.map(function(n){return this["_"+n]+(e===n?t:0)},this):r.map(function(n){return e===n?t:this["_"+n]},this))}}),t.forEach(function(t){c(e,t),c(t,e)}),t.push(e),o},o.pluginList=[],o.use=function(e){return -1===o.pluginList.indexOf(e)&&(this.pluginList.push(e),e(o)),o},o.installMethod=function(e,n){return t.forEach(function(t){o[t].prototype[e]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var e=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-e.length)+e},hexa:function(){var e=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-e.length)+e+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),e.exports=o},9052:e=>{"use strict";function t(e){var t,n,r,i,a;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=RegExp((r="(?:[^\\\\-]|"+(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+")")+"-"+r),a={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:i,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":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|{"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=[]},9519:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{e.exports=function(e){e.use(n(49900)),e.installMethod("lighten",function(e){return this.lightness(isNaN(e)?.1:e,!0)})}},9614:(e,t,n)=>{"use strict";e.exports=i;var r=n(7610);function i(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var a="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");function o(e){return e.type===i.Bytes?e.readVarint()+e.pos:e.pos+1}function s(e,t,n){return n?0x100000000*t+(e>>>0):(t>>>0)*0x100000000+(e>>>0)}function l(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=0xfffffff?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=e;i--)n.buf[i+r]=n.buf[i]}function c(e,t){for(var n=0;n>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function E(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos>3,a=this.pos;this.type=7&r,e(i,t,this),this.pos===a&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=y(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=E(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=y(this.buf,this.pos)+0x100000000*y(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=y(this.buf,this.pos)+0x100000000*E(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return(t=127&(n=r[this.pos++]),n<128||(t|=(127&(n=r[this.pos++]))<<7,n<128||(t|=(127&(n=r[this.pos++]))<<14,n<128||(t|=(127&(n=r[this.pos++]))<<21,n<128))))?t:function(e,t,n){var r,i,a=n.buf;if(r=(112&(i=a[n.pos++]))>>4,i<128||(r|=(127&(i=a[n.pos++]))<<3,i<128)||(r|=(127&(i=a[n.pos++]))<<10,i<128)||(r|=(127&(i=a[n.pos++]))<<17,i<128)||(r|=(127&(i=a[n.pos++]))<<24,i<128)||(r|=(1&(i=a[n.pos++]))<<31,i<128))return s(e,r,t);throw Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this)},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?-((e+1)/2):e/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var e,t,n,r=this.readVarint()+this.pos,i=this.pos;return(this.pos=r,r-i>=12&&a)?(e=this.buf,t=i,n=r,a.decode(e.subarray(t,n))):function(e,t,n){for(var r="",i=t;i239?4:l>223?3:l>191?2:1;if(i+u>n)break;1===u?l<128&&(c=l):2===u?(192&(a=e[i+1]))==128&&(c=(31&l)<<6|63&a)<=127&&(c=null):3===u?(a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&((c=(15&l)<<12|(63&a)<<6|63&o)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&((c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),i+=u}return r}(this.buf,i,r)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==i.Bytes)return e.push(this.readVarint(t));var n=o(this);for(e=e||[];this.pos127;);else if(t===i.Bytes)this.pos=this.readVarint()+this.pos;else if(t===i.Fixed32)this.pos+=4;else if(t===i.Fixed64)this.pos+=8;else throw Error("Unimplemented type: "+t)},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t0xfffffff||e<0)return void function(e,t){var n,r,i,a,o;if(e>=0?(n=e%0x100000000|0,r=e/0x100000000|0):(n=~(-e%0x100000000),r=~(-e/0x100000000),0xffffffff^n?n=n+1|0:(n=0,r=r+1|0)),e>=0xffffffffffffffff||e<-0xffffffffffffffff)throw Error("Given varint doesn't fit into 10 bytes");t.realloc(10),i=n,a=0,(o=t).buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos]=127&i,function(e,t){var n=(7&e)<<4;if(t.buf[t.pos++]|=n|128*!!(e>>>=3),e&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e)&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e))t.buf[t.pos++]=127&e|128*!!(e>>>=7),e&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e&&(t.buf[t.pos++]=127&e))}(r,t)}(e,this);if(this.realloc(4),this.buf[this.pos++]=127&e|128*(e>127),!(e<=127))this.buf[this.pos++]=127&(e>>>=7)|128*(e>127),!(e<=127)&&(this.buf[this.pos++]=127&(e>>>=7)|128*(e>127),e<=127||(this.buf[this.pos++]=e>>>7&127))},writeSVarint:function(e){this.writeVarint(e<0?-(2*e)-1:2*e)},writeBoolean:function(e){this.writeVarint(!!e)},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,i,a=0;a55295&&r<57344)if(i)if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,i=r;continue}else r=i-55296<<10|r-56320|65536,i=null;else{r>56319||a+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):i=r;continue}else i&&(e[n++]=239,e[n++]=191,e[n++]=189,i=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&l(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n=128&&l(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,i.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,c,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,u,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,b,t)},writeBytesField:function(e,t){this.writeTag(e,i.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,i.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,i.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,i.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,!!t)}}},9681:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(94988),i=n(81472),a=n(69138),o=function(e,t){if(e===t)return!0;if(!e||!t||(0,a.A)(e)||(0,a.A)(t))return!1;if((0,i.A)(e)||(0,i.A)(t)){if(e.length!==t.length)return!1;for(var n=!0,s=0;s{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{A:()=>r}),Array.prototype.slice},9949:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(39566),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},9999:e=>{e.exports=function(){for(var e={},n=0;n{"use strict";function r(e,t,n,r,i){let a=n||0,o=r||e.length,s=i||(e=>e);for(;at?o=n:a=n+1}return a}n.d(t,{h:()=>r})},10574:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(t,{A:()=>r})},10857: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=[]},10992:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81472);function i(e){if((0,r.A)(e))return e[e.length-1]}},10998: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=[]},11156:(e,t,n)=>{"use strict";function r(e,t){class n extends e{constructor(e){super(Object.assign(Object.assign({},e),{lib:t}))}}return n}n.d(t,{X:()=>r})},11236:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.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 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z"}}]},name:"file-zip",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},11330:(e,t,n)=>{"use strict";n.d(t,{$P:()=>d,Et:()=>o,Fq:()=>l,Gv:()=>p,JC:()=>s,Kg:()=>a,Lm:()=>h,Oq:()=>u,cy:()=>f,dI:()=>g,gD:()=>i,u_:()=>c});var r=n(95483);function i(e){return null==e||""===e||Number.isNaN(e)||"null"===e}function a(e){return"string"==typeof e}function o(e){return"number"==typeof e}function s(e){if(a(e)){var t=!1,n=e;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;r{"use strict";var r=n(42093);function i(e){var t,n;e.register(r),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=i,i.displayName="soy",i.aliases=[]},11711:(e,t,n)=>{var r=n(18028),i=n(12792);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):0}},11716:(e,t,n)=>{"use strict";function r(e,t,n){var r=e[0],i=e[1];return[r+(t[0]-r)*n,i+(t[1]-i)*n]}n.d(t,{l:()=>r})},11921: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=[]},12002:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r={gridGroup:"grid-group",mainGroup:"main-group",lineGroup:"line-group",tickGroup:"tick-group",labelGroup:"label-group",titleGroup:"title-group",grid:"grid",line:"line",lineFirst:"line-first",lineSecond:"line-second",tick:"tick",tickItem:"tick-item",label:"label",labelItem:"label-item",title:"title"}},12106:(e,t,n)=>{"use strict";var r=n(78179);function i(e){var t;e.register(r),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=i,i.displayName="json5",i.aliases=[]},12143:(e,t,n)=>{"use strict";var r=n(84095),i=n(60146);e.exports=function(e){return r(e)||i(e)}},12144: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"]},12569:(e,t,n)=>{"use strict";var r=n(32027);function i(e){e.register(r),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=i,i.displayName="phpExtras",i.aliases=[]},12687:(e,t,n)=>{"use strict";var r=n(89136),i=n(57859),a=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:a,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:s,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},12792:e=>{e.exports=function(e,t){for(var n,r=-1,i=e.length;++r{"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"],r=0;r{"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=[]},13259:e=>{"use strict";function t(e,t,u){u=u||2;var d,f,m,b,y,v,E,_=t&&t.length,x=_?t[0]*u:e.length,A=n(e,0,x,u,!0),S=[];if(!A||A.next===A.prev)return S;if(_&&(A=function(e,t,a,l){var c,u,d,f,g,m=[];for(c=0,u=t.length;c=a.next.y&&a.next.y!==a.y){var d=a.x+(c-a.y)*(a.next.x-a.x)/(a.next.y-a.y);if(d<=l&&d>u&&(u=d,i=a.x=a.x&&a.x>=g&&l!==a.x&&o(ci.x||a.x===i.x&&(n=i,r=a,0>s(n.prev,n,r.prev)&&0>s(r.next,n,n.next))))&&(i=a,b=p)),a=a.next}while(a!==f);return i}(e,t);if(!n)return t;var i=p(n,e);return r(i,i.next),r(n,n.next)}(m[c],a);return a}(e,t,A,u)),e.length>80*u){d=m=e[0],f=b=e[1];for(var w=u;wm&&(m=y),v>b&&(b=v);E=0!==(E=Math.max(m-d,b-f))?32767/E:0}return function e(t,n,i,u,d,f,m){if(t){!m&&f&&function(e,t,n,r){var i=e;do 0===i.z&&(i.z=a(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,n,r,i,a,o,s,l,c=1;do{for(n=e,e=null,a=null,o=0;n;){for(o++,r=n,s=0,t=0;t0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=r}a.nextZ=null,c*=2}while(o>1)}(i)}(t,u,d,f);for(var b,y,v=t;t.prev!==t.next;){if(b=t.prev,y=t.next,f?function(e,t,n,r){var i=e.prev,l=e.next;if(s(i,e,l)>=0)return!1;for(var c=i.x,u=e.x,d=l.x,h=i.y,p=e.y,f=l.y,g=cu?c>d?c:d:u>d?u:d,y=h>p?h>f?h:f:p>f?p:f,v=a(g,m,t,n,r),E=a(b,y,t,n,r),_=e.prevZ,x=e.nextZ;_&&_.z>=v&&x&&x.z<=E;){if(_.x>=g&&_.x<=b&&_.y>=m&&_.y<=y&&_!==i&&_!==l&&o(c,h,u,p,d,f,_.x,_.y)&&s(_.prev,_,_.next)>=0||(_=_.prevZ,x.x>=g&&x.x<=b&&x.y>=m&&x.y<=y&&x!==i&&x!==l&&o(c,h,u,p,d,f,x.x,x.y)&&s(x.prev,x,x.next)>=0))return!1;x=x.nextZ}for(;_&&_.z>=v;){if(_.x>=g&&_.x<=b&&_.y>=m&&_.y<=y&&_!==i&&_!==l&&o(c,h,u,p,d,f,_.x,_.y)&&s(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;x&&x.z<=E;){if(x.x>=g&&x.x<=b&&x.y>=m&&x.y<=y&&x!==i&&x!==l&&o(c,h,u,p,d,f,x.x,x.y)&&s(x.prev,x,x.next)>=0)return!1;x=x.nextZ}return!0}(t,u,d,f):function(e){var t=e.prev,n=e.next;if(s(t,e,n)>=0)return!1;for(var r=t.x,i=e.x,a=n.x,l=t.y,c=e.y,u=n.y,d=ri?r>a?r:a:i>a?i:a,f=l>c?l>u?l:u:c>u?c:u,g=n.next;g!==t;){if(g.x>=d&&g.x<=p&&g.y>=h&&g.y<=f&&o(r,l,i,c,a,u,g.x,g.y)&&s(g.prev,g,g.next)>=0)return!1;g=g.next}return!0}(t)){n.push(b.i/i|0),n.push(t.i/i|0),n.push(y.i/i|0),g(t),t=y.next,v=y.next;continue}if((t=y)===v){m?1===m?e(t=function(e,t,n){var i=e;do{var a=i.prev,o=i.next.next;!l(a,o)&&c(a,i,i.next,o)&&h(a,o)&&h(o,a)&&(t.push(a.i/n|0),t.push(i.i/n|0),t.push(o.i/n|0),g(i),g(i.next),i=e=o),i=i.next}while(i!==e);return r(i)}(r(t),n,i),n,i,u,d,f,2):2===m&&function(t,n,i,a,o,u){var d=t;do{for(var f,g,m=d.next.next;m!==d.prev;){if(d.i!==m.i&&(f=d,g=m,f.next.i!==g.i&&f.prev.i!==g.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&c(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(f,g)&&(h(f,g)&&h(g,f)&&function(e,t){var n=e,r=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do n.y>a!=n.next.y>a&&n.next.y!==n.y&&i<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;while(n!==e);return r}(f,g)&&(s(f.prev,f,g.prev)||s(f,g.prev,g))||l(f,g)&&s(f.prev,f,f.next)>0&&s(g.prev,g,g.next)>0))){var b=p(d,m);d=r(d,d.next),b=r(b,b.next),e(d,n,i,a,o,u,0),e(b,n,i,a,o,u,0);return}m=m.next}d=d.next}while(d!==t)}(t,n,i,u,d,f):e(r(t),n,i,u,d,f,1);break}}}}(A,S,u,d,f,E,0),S}function n(e,t,n,r,i){var a,o;if(i===b(e,t,n,r)>0)for(a=t;a=t;a-=r)o=f(a,e[a],e[a+1],o);return o&&l(o,o.next)&&(g(o),o=o.next),o}function r(e,t){if(!e)return e;t||(t=e);var n,r=e;do if(n=!1,!r.steiner&&(l(r,r.next)||0===s(r.prev,r,r.next))){if(g(r),(r=t=r.prev)===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function i(e,t){return e.x-t.x}function a(e,t,n,r,i){return(e=((e=((e=((e=((e=(e-n)*i|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)|(t=((t=((t=((t=((t=(t-r)*i|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)<<1}function o(e,t,n,r,i,a,o,s){return(i-o)*(t-s)>=(e-o)*(a-s)&&(e-o)*(r-s)>=(n-o)*(t-s)&&(n-o)*(a-s)>=(i-o)*(r-s)}function s(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function l(e,t){return e.x===t.x&&e.y===t.y}function c(e,t,n,r){var i=d(s(e,t,n)),a=d(s(e,t,r)),o=d(s(n,r,e)),l=d(s(n,r,t));return!!(i!==a&&o!==l||0===i&&u(e,n,t)||0===a&&u(e,r,t)||0===o&&u(n,e,r)||0===l&&u(n,t,r))}function u(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function d(e){return e>0?1:e<0?-1:0}function h(e,t){return 0>s(e.prev,e,e.next)?s(e,t,e.next)>=0&&s(e,e.prev,t)>=0:0>s(e,t,e.prev)||0>s(e,e.next,t)}function p(e,t){var n=new m(e.i,e.x,e.y),r=new m(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,a.next=r,r.prev=a,r}function f(e,t,n,r){var i=new m(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function g(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function m(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(e,t,n,r){for(var i=0,a=t,o=n-r;a0&&(r+=e[i-1].length,n.holes.push(r))}return n}},13290:e=>{e.exports=function(e){return!!e&&"string"!=typeof e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},13314:(e,t,n)=>{"use strict";var r=n(20414),i=a(Error);function a(e){return t.displayName=e.displayName||e.name,t;function t(t){return t&&(t=r.apply(null,arguments)),new e(t)}}e.exports=i,i.eval=a(EvalError),i.range=a(RangeError),i.reference=a(ReferenceError),i.syntax=a(SyntaxError),i.type=a(TypeError),i.uri=a(URIError),i.create=a},13395: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=[]},13630:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},13663:(e,t,n)=>{"use strict";var r=n(67912);function i(e,t,n){if(3===e){var i=new r(n,n.readVarint()+n.pos);i.length&&(t[i.name]=i)}}e.exports=function(e,t){this.layers=e.readFields(i,{},t)}},13721:e=>{"use strict";function t(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},13908:(e,t,n)=>{var r=n(40566);e.exports=function(e){return r(e)&&e!=+e}},14007:(e,t,n)=>{"use strict";n.d(t,{LC:()=>s,Qg:()=>a,n1:()=>o});var r=n(14837),i=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};function a(e){return(t,...n)=>(0,r.A)({},e(t,...n),t)}function o(e){return(t,...n)=>(0,r.A)({},t,e(t,...n))}function s(e,t){if(!e)return t;if(Array.isArray(e))return e;if(!(e instanceof Date)&&"object"==typeof e){let{value:n=t}=e;return Object.assign(Object.assign({},i(e,["value"])),{value:n})}return e}},14133:(e,t,n)=>{"use strict";function r(e,...t){return t.reduce((e,t)=>n=>e(t(n)),e)}n.d(t,{Z:()=>r})},14154:e=>{"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var i={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/},a=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:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},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=a.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.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=[]},14163: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=[]},14229:(e,t,n)=>{var r=n(84342),i=n(85855),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(a,r).replace(o,"")}},14288:(e,t,n)=>{"use strict";n.d(t,{fA:()=>o,vt:()=>i,z0:()=>a});var r=n(31142);function i(){var e=new r.tb(9);return r.tb!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function o(e,t,n,i,a,o,s,l,c){var u=new r.tb(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=i,u[4]=a,u[5]=o,u[6]=s,u[7]=l,u[8]=c,u}},14353:(e,t,n)=>{"use strict";function r(e){let{transformations:t}=e.getOptions();return t.map(([e])=>e).filter(e=>"transpose"===e).length%2!=0}function i(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function a(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function o(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function s(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function l(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function c(e){return s(e)&&i(e)}function u(e){return o(e)||i(e)}function d(e){return i(e)&&r(e)}function h(e){if(u(e)){let[t,n]=e.getSize(),r=e.getOptions().transformations.find(e=>"polar"===e[0]);if(r)return Math.max(t,n)/2*r[4]}return 0}function p(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function f(e,t=!0){let{transformations:n}=e.getOptions(),[,r,i]=n.find(e=>"polar"===e[0]);return t?[180*r/Math.PI,180*i/Math.PI]:[r,i]}function g(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}n.d(t,{$4:()=>o,AO:()=>a,K7:()=>s,T_:()=>c,XV:()=>f,YL:()=>u,Zf:()=>d,ey:()=>l,jN:()=>g,kH:()=>r,nJ:()=>h,pz:()=>i,qZ:()=>p})},14379:(e,t,n)=>{"use strict";n.d(t,{UB:()=>a,cK:()=>o,sI:()=>s});var r=n(39249),i=n(25832);function a(e,t,n){var r=Math.round((e-n)/t);return n+r*t}function o(e,t,n,i){void 0===i&&(i=4);var a,o=(0,r.zs)(e,2),s=o[0],l=o[1],c=(0,r.zs)(t,2),u=c[0],d=c[1],h=(0,r.zs)(n,2),p=h[0],f=h[1],g=(0,r.zs)([u,d],2),m=g[0],b=g[1],y=b-m;return(m>b&&(m=(a=(0,r.zs)([b,m],2))[0],b=a[1]),y>l-s)?[s,l]:ml?f===l&&p===m?[m,l]:[l-y,l]:[m,b]}function s(e,t,n){return void 0===e&&(e="horizontal"),"horizontal"===e?t:n}i.p.registerSymbol("hiddenHandle",function(e,t,n){var r=1.4*n;return[["M",e-n,t-r],["L",e+n,t-r],["L",e+n,t+r],["L",e-n,t+r],["Z"]]}),i.p.registerSymbol("verticalHandle",function(e,t,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",e,t],["L",o,t+i],["L",e+r,t+i],["L",e+r,t-i],["L",o,t-i],["Z"],["M",o,t+a],["L",e+r-2,t+a],["M",o,t-a],["L",e+r-2,t-a]]}),i.p.registerSymbol("horizontalHandle",function(e,t,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",e,t],["L",e-i,o],["L",e-i,t+r],["L",e+i,t+r],["L",e+i,o],["Z"],["M",e-a,o],["L",e-a,t+r-2],["M",e+a,o],["L",e+a,t+r-2]]})},14438:(e,t,n)=>{"use strict";n.d(t,{W:()=>u});var r=n(10992),i=n(50636),a=n(59222),o=n(3021),s=n(96474),l=n(2018),c=n(51750);class u extends o.W{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:s.Hx,tickMethod:l.O,tickCount:5}}removeUnsortedValues(e,t,n){let r=-1/0;return t.reduce((e,i,a)=>{if(0===a)return e;let o=r>0?r:i;return r>0&&(n?i>r:i{e.splice(n,1),t.splice(n,1)}),{breaksDomain:e,breaksRange:t}}transformDomain(e){let t=.03,{domain:n=[],range:i=[1,0],breaks:a=[],tickCount:o=5,nice:s}=e,[u,d]=[Math.min(...n),Math.max(...n)],h=u,p=d;if(s&&a.length<2){let e=this.chooseNice()(u,d,o);h=e[0],p=e[e.length-1]}let f=Math.min(h,u),g=Math.max(p,d),m=a.filter(({end:e})=>ee.start-t.start),b=(0,l.O)(f,g,o,m);if((0,r.A)(b)v,A=b.map(e=>{let t=(e-f)/E;return x?y-t*_:y+t*_}),[S,w]=[.2,.8];return m.forEach(({start:e,end:n,gap:r=t,compress:i="middle"})=>{let a=b.indexOf(e),o=b.indexOf(n),s=(A[a]+A[o])/2;"start"===i&&(s=A[a]),"end"===i&&(s=A[o]);let l=r*_/2,c=x?s+l:s-l,u=x?s-l:s+l;cw&&(c-=u-w,u=w),c>w&&(u-=c-w,c=w),ue[...s]}}chooseTransforms(){return[a.A,a.A]}clone(){return new u(this.options)}}},14731:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},14742:(e,t,n)=>{"use strict";function r(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}function i(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}n.d(t,{k:()=>i,x:()=>r})},14808:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},14816: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=[]},15099: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=[]},15110:(e,t,n)=>{"use strict";var r=n(67526);function i(e){var t,n;e.register(r),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=i,i.displayName="cpp",i.aliases=[]},15207:(e,t,n)=>{"use strict";var r=Math.log(2),i=e.exports,a=n(28145);function o(e){return 1-Math.abs(e)}e.exports.getUnifiedMinMax=function(e,t){return i.getUnifiedMinMaxMulti([e],t)},e.exports.getUnifiedMinMaxMulti=function(e,t){t=t||{};var n=!1,r=!1,i=a.isNumber(t.width)?t.width:2,o=a.isNumber(t.size)?t.size:50,s=a.isNumber(t.min)?t.min:(n=!0,a.findMinMulti(e)),l=a.isNumber(t.max)?t.max:(r=!0,a.findMaxMulti(e)),c=(l-s)/(o-1);return n&&(s-=2*i*c),r&&(l+=2*i*c),{min:s,max:l}},e.exports.create=function(e,t){if(t=t||{},!e||0===e.length)return[];var n=a.isNumber(t.size)?t.size:50,r=a.isNumber(t.width)?t.width:2,s=i.getUnifiedMinMax(e,{size:n,width:r,min:t.min,max:t.max}),l=s.min,c=s.max-l,u=c/(n-1);if(0===c)return[{x:l,y:1}];for(var d=[],h=0;h=d.length)){var n=Math.max(t-r,0),i=Math.min(t+r,d.length-1),o=n-(t-r),s=t+r-i,c=f/(f-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(m+=c*(o-1)*g);var h=Math.max(0,t-r+1);a.inside(0,d.length-1,h)&&(d[h].y+=c*g),a.inside(0,d.length-1,t+1)&&(d[t+1].y-=2*c*g),a.inside(0,d.length-1,i+1)&&(d[i+1].y+=c*g)}});var b=m,y=0,v=0;return d.forEach(function(e){y+=e.y,e.y=b+=y,v+=b}),v>0&&d.forEach(function(e){e.y/=v}),d},e.exports.getExpectedValueFromPdf=function(e){if(e&&0!==e.length){var t=0;return e.forEach(function(e){t+=e.x*e.y}),t}},e.exports.getXWithLeftTailArea=function(e,t){if(e&&0!==e.length){for(var n=0,r=0,i=0;i=t));i++);return e[r].x}},e.exports.getPerplexity=function(e){if(e&&0!==e.length){var t=0;return e.forEach(function(e){var n=Math.log(e.y);isFinite(n)&&(t+=e.y*n)}),Math.pow(2,t=-t/r)}}},15581:(e,t,n)=>{"use strict";function r(e,t){let n=0;if(void 0===t)for(let t of e)(t*=1)&&(n+=t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}n.d(t,{A:()=>r})},15584: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=[]},15764:(e,t,n)=>{"use strict";n.d(t,{C:()=>m});var r=n(39249),i=n(86372),a=n(73534),o=n(37022),s=n(87287),l=n(74673),c=n(68058),u=n(96816),d=n(79535),h=n(66911),p=n(2638),f={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(e){return e.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},g=(0,o.x)({background:"background",labelGroup:"label-group",label:"label"},"indicator"),m=function(e){function t(t){var n=e.call(this,t,f)||this;return n.point=[0,0],n.group=n.appendChild(new i.YJ({})),n.isMutationObserved=!0,n}return(0,r.C6)(t,e),t.prototype.renderBackground=function(){if(this.label){var e=this.attributes,t=e.position,n=e.padding,i=(0,r.zs)((0,s.i)(n),4),a=i[0],o=i[1],d=i[2],h=i[3],p=this.label.node().getLocalBounds(),f=p.min,m=p.max,b=new l.E(f[0]-h,f[1]-a,m[0]+o-f[0]+h,m[1]+d-f[1]+a),y=this.getPath(t,b),v=(0,c.iA)(this.attributes,"background");this.background=(0,u.Lt)(this.group).maybeAppendByClassName(g.background,"path").styles((0,r.Cl)((0,r.Cl)({},v),{d:y})),this.group.appendChild(this.label.node())}},t.prototype.renderLabel=function(){var e=this.attributes,t=e.formatter,n=e.labelText,i=(0,c.iA)(this.attributes,"label"),a=(0,r.zs)((0,c.u0)(i),2),o=a[0],s=a[1],l=(o.text,(0,r.Tt)(o,["text"]));this.label=(0,u.Lt)(this.group).maybeAppendByClassName(g.labelGroup,"g").styles(s),n&&this.label.maybeAppendByClassName(g.label,function(){return(0,d.z)(t(n))}).style("text",t(n).toString()).selectAll("text").styles(l)},t.prototype.adjustLayout=function(){var e=(0,r.zs)(this.point,2),t=e[0],n=e[1],i=this.attributes,a=i.x,o=i.y;this.group.attr("transform","translate(".concat(a-t,", ").concat(o-n,")"))},t.prototype.getPath=function(e,t){var n=this.attributes.radius,i=t.x,a=t.y,o=t.width,s=t.height,l=[["M",i+n,a],["L",i+o-n,a],["A",n,n,0,0,1,i+o,a+n],["L",i+o,a+s-n],["A",n,n,0,0,1,i+o-n,a+s],["L",i+n,a+s],["A",n,n,0,0,1,i,a+s-n],["L",i,a+n],["A",n,n,0,0,1,i+n,a],["Z"]],c={top:4,right:6,bottom:0,left:2}[e],u=this.createCorner([l[c].slice(-2),l[c+1].slice(-2)]);return l.splice.apply(l,(0,r.fX)([c+1,1],(0,r.zs)(u),!1)),l[0][0]="M",l},t.prototype.createCorner=function(e,t){void 0===t&&(t=10);var n=h.$b.apply(void 0,(0,r.fX)([],(0,r.zs)(e),!1)),i=(0,r.zs)(e,2),a=(0,r.zs)(i[0],2),o=a[0],s=a[1],l=(0,r.zs)(i[1],2),c=l[0],u=l[1],d=(0,r.zs)(n?[c-o,[o,c]]:[u-s,[s,u]],2),p=d[0],f=(0,r.zs)(d[1],2),g=f[0],m=f[1],b=p/2,y=p/Math.abs(p)*t,v=y/2,E=y*Math.sqrt(3)/2*.8,_=(0,r.zs)([g,g+b-v,g+b,g+b+v,m],5),x=_[0],A=_[1],S=_[2],w=_[3],O=_[4];return n?(this.point=[S,s-E],[["L",x,s],["L",A,s],["L",S,s-E],["L",w,s],["L",O,s]]):(this.point=[o+E,S],[["L",o,x],["L",o,A],["L",o+E,S],["L",o,w],["L",o,O]])},t.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?(0,p.jD)(this):(0,p.WU)(this)},t.prototype.bindEvents=function(){this.label.on(i.jX.BOUNDS_CHANGED,this.renderBackground)},t.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},t}(a.u)},15951:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},16131:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="ejs",i.aliases=["eta"]},16301:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(54573);function i(){return{type:"break"}}function a(){return function(e){(0,r.T)(e,[/\r?\n|\r/g,i])}}},16913: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"}')},17033:(e,t,n)=>{"use strict";function r(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}n.d(t,{D:()=>r})},17218: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=[]},17333:(e,t,n)=>{"use strict";var r=n(64073),i=n(95994);function a(e){var t,n,a;e.register(r),e.register(i),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,a=/(?:\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+"(?:"+a+")"),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=a,a.displayName="javadoc",a.aliases=[]},17556:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=new Map;function i(e,t,n){return void 0===n&&(n=128),function(){for(var i=[],a=0;ai&&(r=n,o(1),++t),n[e]=a}function o(e){t=0,n=Object.create(null),e||(r=Object.create(null))}return o(),{clear:o,has:function(e){return void 0!==n[e]||void 0!==r[e]},get:function(e){var t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set:function(e,t){void 0!==n[e]?n[e]=t:a(e,t)}}}(n));var s=r.get(e);if(s.has(o))return s.get(o);var l=e.apply(this,i);return s.set(o,l),l}}},17656:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1002),a=r(n(80553));t.default=function(e){var t=(void 0===e?{}:e).theme,n=void 0===t?"default":t;return function(e){var t=[];if((0,i.visit)(e,{type:"code",lang:"mermaid"},function(e,n,r){t.push([e.value,n,r])}),!t.length)return e;var r=t.map(function(e){var t=e[0],r="mermaid"+Math.random().toString(36).slice(2);a.default.initialize({theme:n});var i=document.createElement("div");return i.innerHTML='
'.concat(a.default.render(r,t),"
"),i.innerHTML});t.forEach(function(e,t){var n=e[1],i=e[2],a=r[t];i.children.splice(n,1,{type:"html",value:a})})}}},17855:e=>{var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+t+"]",a="(?:\ud83c[\udde6-\uddff]){2}",o="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c="(?:\\u200d(?:"+[i,a,o].join("|")+")"+l+s+")*",u=RegExp(r+"(?="+r+")|"+("(?:"+[i+n+"?",n,a,o,"["+t+"]"].join("|"))+")"+(l+s+c),"g");e.exports=function(e){return e.match(u)||[]}},17968:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="twig",i.aliases=[]},18287: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},r={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:r},{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:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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 i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o{"use strict";function t(e){var t,n,r;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/],r={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":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.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":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},18520:e=>{"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n{"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=[]},18619: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=[]},18909: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=[]},18961:(e,t,n)=>{"use strict";n.d(t,{Fm:()=>a,Nw:()=>i,Wy:()=>r,r3:()=>o});let r="g2-";function i(e){return`.${r}${e}`}let a=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]],o=["lineX","lineY","rangeX","rangeY","range","connector"]},18995:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,o=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(o,n)?o[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},19132: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=[]},19361:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(90510).A},19665:e=>{"use strict";function t(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\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=[]},19705: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=[]},19988: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=[]},20114: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=[]},20167:e=>{"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},20350:(e,t,n)=>{var r=n(65836);e.exports=function(e){return e&&e.length?r(e):[]}},20414:e=>{!function(){var t;function n(e){for(var t,n,r,i,a=1,o=[].slice.call(arguments),s=0,l=e.length,c="",u=!1,d=!1,h=function(){return o[a++]};s0?parseInt(n):null}(),t){case"b":c+=parseInt(h(),10).toString(2);break;case"c":"string"==typeof(n=h())||n instanceof String?c+=n:c+=String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(h(),10);break;case"f":r=String(parseFloat(h()).toFixed(i||6)),c+=d?r:r.replace(/^0/,"");break;case"j":c+=JSON.stringify(h());break;case"o":c+="0"+parseInt(h(),10).toString(8);break;case"s":c+=h();break;case"x":c+="0x"+parseInt(h(),10).toString(16);break;case"X":c+="0x"+parseInt(h(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?u=!0:c+=t;return c}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})}()},20430:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(14837);class i{transformBreaks(e){return e}constructor(e){var t;this.options=(0,r.A)({},this.getDefaultOptions()),this.update((null==(t=null==e?void 0:e.breaks)?void 0:t.length)?this.transformBreaks(e):e)}getOptions(){return this.options}update(e={}){let t=e.breaks?this.transformBreaks(e):e;this.options=(0,r.A)({},this.options,t),this.rescale(t)}rescale(e){}}},20582:e=>{"use strict";function t(e){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-])(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)|<(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)>)(?![\\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=[]},20858: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=[]},21008:(e,t,n)=>{"use strict";function r(e){var t=e.slice(1).map(function(t,n,r){return n?r[n-1].slice(-2).concat(t.slice(1)):e[0].slice(1).concat(t.slice(1))}).map(function(e){return e.map(function(t,n){return e[e.length-n-2*(1-n%2)]})}).reverse();return[["M"].concat(t[0].slice(0,2))].concat(t.map(function(e){return["C"].concat(e.slice(2))}))}n.d(t,{s:()=>r})},21154: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=[]},21447:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(78743),i=n(12115),a=n(34093),o=n(28820),s=n(38397),l=n(95155),c=n(71965),u=n(96705),d=n(54514),h=n(88428),p=n(36174);let f=[],g={allowDangerousHtml:!0},m=/^(https?|ircs?|mailto|xmpp)$/i,b=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function y(e){let t=function(e){let t=e.rehypePlugins||f,n=e.remarkPlugins||f,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...g}:g;return(0,d.l)().use(c.A).use(n).use(u.A,r).use(t)}(e),n=function(e){let t=e.children||"",n=new p.T;return"string"==typeof t?n.value=t:(0,a.HB)("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,c=t.disallowedElements,u=t.skipHtml,d=t.unwrapDisallowed,p=t.urlTransform||v;for(let e of b)Object.hasOwn(t,e.from)&&(0,a.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see for more info)");return n&&c&&(0,a.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),(0,h.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return u?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in s.$)if(Object.hasOwn(s.$,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=s.$[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=p(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!c&&c.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return d&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),(0,o.H)(e,{Fragment:l.Fragment,components:i,ignoreInvalidStyle:!0,jsx:l.jsx,jsxs:l.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function v(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||m.test(e.slice(0,t))?e:""}var E=n(87264),_=n(53168),x=i.createContext(null),A=["children","components","rehypePlugins","remarkPlugins","eventSubs"];function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,A),c=(0,i.useMemo)(function(){return new r.A},[]),u=(0,i.useMemo)(function(){return{eventBus:c}},[c]);return(0,i.useEffect)(function(){if(s){for(var e=Object.keys(s),t=0;t{"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=[]},21741:(e,t,n)=>{"use strict";let r;n.r(t),n.d(t,{AJAXError:()=>ep,AttributeType:()=>ol,BKDRHash:()=>nN,BaiduMap:()=>bV,BaseLayer:()=>hG,BaseMapService:()=>bP,BaseMapWrapper:()=>gG,BaseModel:()=>hQ,BasePostProcessingPass:()=>aK,BlendType:()=>on,ButtonControl:()=>l1,CameraUniform:()=>a6,CanvasLayer:()=>h6,CanvasUpdateType:()=>h3,CityBuildingLayer:()=>pU,Control:()=>l0,CoordinateSystem:()=>a7,CoordinateUniform:()=>a9,DOM:()=>h,Earth:()=>bK,EarthLayer:()=>gy,ExportImage:()=>l7,FrequencyController:()=>t6,Fullscreen:()=>ci,GaodeMap:()=>vv,GaodeMapV1:()=>vE,GaodeMapV2:()=>v_,GeoLocate:()=>ca,GeometryLayer:()=>pq,GoogleMap:()=>b8,HeatmapLayer:()=>p1,IDebugLog:()=>oe,ILayerStage:()=>oa,ImageLayer:()=>p5,InteractionEvent:()=>ot,LRUCache:()=>nY,LayerPopup:()=>gH,LayerSwitch:()=>cs,LineLayer:()=>fu,LinearDir:()=>h0,LoadTileDataStatus:()=>n6,Logo:()=>cl,Map:()=>ye,MapLibre:()=>vi,MapServiceEvent:()=>oc,MapTheme:()=>cd,Mapbox:()=>ys,Marker:()=>lK,MarkerLayer:()=>lJ,MaskLayer:()=>f7,MaskOperation:()=>oi,MouseLocation:()=>ch,PassType:()=>aV,PointLayer:()=>fR,PolygonLayer:()=>fH,PopperControl:()=>l5,Popup:()=>gz,PositionType:()=>a8,RasterLayer:()=>fZ,RasterTileType:()=>sT,Satistics:()=>p,Scale:()=>cp,ScaleTypes:()=>oo,Scene:()=>Eq,SceneConifg:()=>en,SceneEventList:()=>sw,SelectControl:()=>l6,SizeUnitType:()=>h2,Source:()=>lX,SourceTile:()=>rs,StencilType:()=>or,StyleScaleType:()=>os,Swipe:()=>gB,TMap:()=>vl,TencentMap:()=>vy,TextureBlend:()=>h1,TextureUsage:()=>oH,TileDebugLayer:()=>gu,TileLayer:()=>gc,TilesetManager:()=>ry,UpdateTileStrategy:()=>n4,Viewport:()=>bS,WindLayer:()=>gj,Zoom:()=>gF,aProjectFlat:()=>ng,amap2Project:()=>nb,amap2UnProject:()=>ny,anchorTranslate:()=>eC,anchorType:()=>eO,applyAnchorClass:()=>ek,bBoxToBounds:()=>nA,bindAll:()=>t4,boundsContains:()=>nx,calAngle:()=>nO,calDistance:()=>nw,calculateCentroid:()=>nM,calculatePointsCenterAndRadius:()=>nL,createLayerContainer:()=>sS,createSceneContainer:()=>sA,decodePickingColor:()=>eN,defaultValue:()=>rA,djb2hash:()=>nR,encodePickingColor:()=>eR,expandUrl:()=>rE,extent:()=>nl,flow:()=>nk,formatImage:()=>eT,fp64LowPart:()=>na,generateCatRamp:()=>ej,generateColorRamp:()=>eP,generateCustomRamp:()=>eF,generateLinearRamp:()=>eD,generateQuantizeRamp:()=>eB,getAngle:()=>nC,getArrayBuffer:()=>ey,getBBoxFromPoints:()=>nI,getData:()=>eE,getDefaultDomain:()=>eU,getImage:()=>ew,getJSON:()=>eb,getProtocolAction:()=>eh,getReferrer:()=>t0,getTileIndices:()=>ra,getTileWarpXY:()=>ro,getURLFromTemplate:()=>r_,getWMTSURLFromTemplate:()=>rx,gl:()=>aq,globalConfigService:()=>s_,guid:()=>nP,isAndroid:()=>t3,isColor:()=>eL,isImageBitmap:()=>tQ,isNumber:()=>ni,isPC:()=>t5,isURLTemplate:()=>rv,isWorker:()=>tJ,isiOS:()=>t2,latitude:()=>np,lineAtOffset:()=>nV,lineAtOffsetAsyc:()=>nq,lineStyleType:()=>hJ,lngLatInExtent:()=>ns,lngLatToMeters:()=>nu,lnglatDistance:()=>nv,lodashUtil:()=>tx,longitude:()=>nh,makeXMLHttpRequestPromise:()=>eg,metersToLngLat:()=>nd,normalize:()=>nS,osmLonLat2TileXY:()=>rn,osmTileXY2LonLat:()=>rr,packCircleVertex:()=>a4,padBounds:()=>n_,postData:()=>ev,project:()=>nE,removeDuplicateUniforms:()=>a1,rgb2arr:()=>eI,sameOrigin:()=>e_,tileToBounds:()=>ri,tranfrormCoord:()=>nc,unProjectFlat:()=>nm,validateLngLat:()=>nf,version:()=>EY});var i,a,o,s,l,c,u,d,h={};n.r(h),n.d(h,{DPR:()=>tU,addClass:()=>tk,addStyle:()=>tH,appendElementType:()=>tX,clearChildren:()=>tY,create:()=>tO,css2Style:()=>tW,empty:()=>tP,findParentElement:()=>tK,getClass:()=>tR,getContainer:()=>tS,getDiffRect:()=>tV,getStyleList:()=>tG,getViewPortScale:()=>tz,hasClass:()=>tL,printCanvas:()=>tF,remove:()=>tC,removeClass:()=>tM,removeStyle:()=>t$,setChecked:()=>tq,setClass:()=>tI,setTransform:()=>tj,setUnDraggable:()=>tZ,splitWords:()=>tT,toggleClass:()=>tN,triggerResize:()=>tB,trim:()=>tw});var p={};n.r(p),n.d(p,{getColumn:()=>n1,getSatByColumn:()=>n2,max:()=>nZ,mean:()=>nQ,min:()=>nX,mode:()=>nJ,statMap:()=>n0,sum:()=>nK});var f=n(49509);function g(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){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){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function y(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i=0&&e.length%1==0},e.exports=t.default}(x,x.exports);var A={},S={exports:{}},w={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t.pop();return e.call(this,t,r)}},e.exports=t.default}(w,w.exports);var O={};Object.defineProperty(O,"__esModule",{value:!0}),O.fallback=L,O.wrap=I;var C=O.hasQueueMicrotask="function"==typeof queueMicrotask&&queueMicrotask,k=O.hasSetImmediate="function"==typeof setImmediate&&setImmediate,M=O.hasNextTick="object"==typeof f&&"function"==typeof f.nextTick;function L(e){setTimeout(e,0)}function I(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return e(function(){return t.apply(void 0,n)})}}O.default=I(C?queueMicrotask:k?setImmediate:M?f.nextTick:L),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.isAsync)(e)?function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t.pop();return a(e.apply(this,t),r)}:(0,n.default)(function(t,n){var r;try{r=e.apply(this,t)}catch(e){return n(e)}if(r&&"function"==typeof r.then)return a(r,n);n(null,r)})};var n=i(w.exports),r=i(O);function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return e.then(function(e){o(t,null,e)},function(e){o(t,e&&e.message?e:Error(e))})}function o(e,t,n){try{e(t,n)}catch(e){(0,r.default)(function(e){throw e},e)}}e.exports=t.default}(S,S.exports),Object.defineProperty(A,"__esModule",{value:!0}),A.isAsyncIterable=A.isAsyncGenerator=A.isAsync=void 0;var N=function(e){return e&&e.__esModule?e:{default:e}}(S.exports);function R(e){return"AsyncFunction"===e[Symbol.toStringTag]}A.default=function(e){if("function"!=typeof e)throw Error("expected a function");return R(e)?(0,N.default)(e):e},A.isAsync=R,A.isAsyncGenerator=function(e){return"AsyncGenerator"===e[Symbol.toStringTag]},A.isAsyncIterable=function(e){return"function"==typeof e[Symbol.asyncIterator]};var P={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(void 0===t&&(t=e.length),!t)throw Error("arity is undefined");return function(){for(var n=this,r=[],i=arguments.length;i--;)r[i]=arguments[i];return"function"==typeof r[t-1]?e.apply(this,r):new Promise(function(i,a){r[t-1]=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(e)return a(e);i(t.length>1?t:t[0])},e.apply(n,r)})}},e.exports=t.default}(P,P.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=i(x.exports),r=i(A);function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i(P.exports).default)(function(e,t,i){var a=(0,n.default)(t)?[]:{};e(t,function(e,t,n){(0,r.default)(e)(function(e){for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];r.length<2&&(r=r[0]),a[t]=r,n(e)})},function(e){return i(e,a)})},3),e.exports=t.default}(_,_.exports);var D={exports:{}},j={exports:{}},B={exports:{}},F={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(null!==e){var r=e;e=null,r.apply(this,t)}}return Object.assign(t,e),t},e.exports=t.default}(F,F.exports);var z={exports:{}},U={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()},e.exports=t.default}(U,U.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e))return t=-1,i=e.length,function(){return++t=t||s||a||(s=!0,e.next().then(function(e){var t=e.value,r=e.done;if(!o&&!a){if(s=!1,r){a=!0,l<=0&&i(null);return}l++,n(t,c,d),c++,u()}}).catch(h))}function d(e,t){if(l-=1,!o){if(e)return h(e);if(!1===e){a=!0,o=!0;return}if(t===r.default||a&&l<=0)return a=!0,i(null);u()}}function h(e){o||(s=!1,a=!0,i(e))}u()};var n,r=(n=$.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(G,G.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=s(F.exports),r=s(z.exports),i=s(H.exports),a=s(G.exports),o=s($.exports);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t,s,l){if(l=(0,n.default)(l),e<=0)throw RangeError("concurrency limit cannot be less than 1");if(!t)return l(null);if((0,A.isAsyncGenerator)(t))return(0,a.default)(t,e,s,l);if((0,A.isAsyncIterable)(t))return(0,a.default)(t[Symbol.asyncIterator](),e,s,l);var c=(0,r.default)(t),u=!1,d=!1,h=0,p=!1;function f(e,t){if(!d)if(h-=1,e)u=!0,l(e);else if(!1===e)u=!0,d=!0;else{if(t===o.default||u&&h<=0)return u=!0,l(null);p||g()}}function g(){for(p=!0;h0;)r[i]=arguments[i+1];if(!1!==n){if(n||a===e.length)return t.apply(void 0,[n].concat(r));o(r)}}o([])}),e.exports=t.default}(X,X.exports);var K=v(X.exports);!function(){function e(){this.tasks=[]}e.prototype.call=function(){return K(this.tasks)},e.prototype.tap=function(e,t){0===this.tasks.length?this.tasks.push(function(e){var n=t();e(!!n&&null,n)}):this.tasks.push(function(n,r){r(!!t.apply(void 0,y([],b(n),!1))&&null,e)})}}();var Q=function(){function e(){this.tasks=[]}return e.prototype.call=function(){return W(this.tasks)},e.prototype.tap=function(e,t){this.tasks.push(function(n){n(t(),e)})},e}(),J=function(){function e(){this.args=[],this.tasks=[]}return e.prototype.promise=function(){for(var e=arguments,t=[],n=0;nt in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eu=(e,t)=>{for(var n in t||(t={}))es.call(t,n)&&ec(e,n,t[n]);if(eo)for(var n of eo(t))el.call(t,n)&&ec(e,n,t[n]);return e},ed=(e,t)=>ei(e,ea(t)),eh=e=>en.REGISTERED_PROTOCOLS[e.substring(0,e.indexOf("://"))],ep=class extends Error{constructor(e,t,n,r){super(`AJAXError: ${t} (${e}): ${n}`),this.status=e,this.statusText=t,this.url=n,this.body=r}};function ef(e,t){let n=new XMLHttpRequest,r=Array.isArray(e.url)?e.url[0]:e.url;for(let t in n.open(e.method||"GET",r,!0),"arrayBuffer"===e.type&&(n.responseType="arraybuffer"),e.headers)e.headers.hasOwnProperty(t)&&n.setRequestHeader(t,e.headers[t]);return"json"===e.type&&(n.responseType="text",n.setRequestHeader("Accept","application/json")),n.withCredentials="include"===e.credentials,n.onerror=()=>{t(Error(n.statusText))},n.onload=()=>{if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){let r=n.response;if("json"===e.type)try{r=JSON.parse(n.response)}catch(e){return t(e)}t(null,r,n.getResponseHeader("Cache-Control"),n.getResponseHeader("Expires"),n)}else{let e=new Blob([n.response],{type:n.getResponseHeader("Content-Type")});t(new ep(n.status,n.statusText,r.toString(),e))}},n.cancel=n.abort,n.send(e.body),n}function eg(e){return new Promise((t,n)=>{ef(e,(e,r,i,a,o)=>{e?n({err:e,data:null,xhr:o}):t({err:null,data:r,cacheControl:i,expires:a,xhr:o})})})}function em(e,t){return ef(e,t)}var eb=(e,t)=>(eh(e.url)||em)(ed(eu({},e),{type:"json"}),t),ey=(e,t)=>(eh(e.url)||em)(ed(eu({},e),{type:"arrayBuffer"}),t),ev=(e,t)=>ef(ed(eu({},e),{method:"POST"}),t),eE=(e,t)=>ef(ed(eu({},e),{method:"GET"}),t);function e_(e){let t=window.document.createElement("a");return t.href=e,t.protocol===window.document.location.protocol&&t.host===window.document.location.host}var ex="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function eA(e,t){let n=new window.Image,r=window.URL||window.webkitURL;n.crossOrigin="anonymous",n.onload=()=>{t(null,n),r.revokeObjectURL(n.src),n.onload=null,window.requestAnimationFrame(()=>{n.src=ex})},n.onerror=()=>t(Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));let i=new Blob([new Uint8Array(e)],{type:"image/png"});n.src=e.byteLength?r.createObjectURL(i):ex}function eS(e,t){createImageBitmap(new Blob([new Uint8Array(e)],{type:"image/png"})).then(e=>{t(null,e)}).catch(e=>{t(Error(`Could not load image because of ${e.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}var ew=(e,t,n)=>{let r=(e,r)=>{if(e)t(e);else if(r){let e="function"==typeof createImageBitmap,i=n?n(r):r;e?eS(i,t):eA(i,t)}};return"json"===e.type?eb(e,r):ey(e,r)},eT=(e,t)=>{"function"==typeof createImageBitmap?eS(e,t):eA(e,t)},eO=(e=>(e.CENTER="center",e.TOP="top",e["TOP-LEFT"]="top-left",e["TOP-RIGHT"]="top-right",e.BOTTOM="bottom",e["BOTTOM-LEFT"]="bottom-left",e["BOTTOM-RIGHT"]="bottom-right",e.LEFT="left",e.RIGHT="right",e))(eO||{}),eC={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function ek(e,t,n){let r=e.classList;for(let e in eC)eC.hasOwnProperty(e)&&r.remove(`l7-${n}-anchor-${e}`);r.add(`l7-${n}-anchor-${t}`)}var eM=n(61341);function eL(e){return"string"==typeof e&&!!eM.Ay(e)}function eI(e){let t=eM.Ay(e),n=[0,0,0,0];return null!=t&&(n[0]=t.r/255,n[1]=t.g/255,n[2]=t.b/255,n[3]=t.opacity),n}function eN(e){let t=e&&e[0],n=e&&e[1];return t+256*n+65536*(e&&e[2])-1}function eR(e){return[e+1&255,e+1>>8&255,e+1>>8>>8&255]}function eP(e){let t=window.document.createElement("canvas"),n=t.getContext("2d");t.width=256,t.height=1;let r=null,i=n.createLinearGradient(0,0,256,1),a=e.positions[0],o=e.positions[e.positions.length-1];for(let t=0;t{let i=eI(e.colors[n]);r.data[4*t+0]=255*i[0],r.data[4*t+1]=255*i[1],r.data[4*t+2]=255*i[2],r.data[4*t+3]=255*i[3]}),t=null,n=null,r}function eB(e){let t=window.document.createElement("canvas"),n=t.getContext("2d");n.globalAlpha=1,t.width=256,t.height=1;let r=256/e.colors.length;for(let t=0;t{e.classList.remove(t)}):tI(e,tw((" "+tR(e)+" ").replace(" "+t+" "," ")))}function tL(e,t){if(void 0!==e.classList)return e.classList.contains(t);let n=tR(e);return n.length>0&&RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function tI(e,t){e instanceof HTMLElement?e.className=t:e.className.baseVal=t}function tN(e,t,n){void 0===n?tL(e,t)?tM(e,t):tk(e,t):n?tk(e,t):tM(e,t)}function tR(e){return e instanceof SVGElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function tP(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}var tD=function(e){var t;let n=null==(t=null==document?void 0:document.documentElement)?void 0:t.style;if(!n)return e[0];for(let t in e)if(e[t]&&e[t]in n)return e[t];return e[0]}(["transform","WebkitTransform"]);function tj(e,t){e.style[tD]=t}function tB(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{let e=window.document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}}function tF(e){console.log("%c\n",["padding: "+(e.height/2-8)+"px "+e.width/2+"px;","line-height: "+e.height+"px;","background-image: url("+e.toDataURL()+");"].join(""))}function tz(){var e;let t=window.document.querySelector('meta[name="viewport"]');if(!t)return 1;let n=(null==(e=t.content)?void 0:e.split(",")).find(e=>{let[t]=e.split("=");return"initial-scale"===t});return n?+n.split("=")[1]:1}var tU=1>tz()?1:window.devicePixelRatio;function tH(e,t){e.setAttribute("style",`${e.style.cssText}${t}`)}function tG(e){return e.split(";").map(e=>e.trim()).filter(e=>e)}function t$(e,t){var n;let r=tA(tG(null!=(n=e.getAttribute("style"))?n:""),...tG(t));e.setAttribute("style",r.join(";"))}function tW(e){return Object.entries(e).map(([e,t])=>`${e}: ${t}`).join(";")}function tV(e,t){return{left:e.left-t.left,top:e.top-t.top,right:t.left+t.width-e.left-e.width,bottom:t.top+t.height-e.top-e.height}}function tq(e,t){e.checked=t,t?e.setAttribute("checked","true"):e.removeAttribute("checked")}function tY(e){e.innerHTML=""}function tZ(e){e.setAttribute("draggable","false")}function tX(e,t){if("string"==typeof t){let n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.append(n.firstChild)}else Array.isArray(t)?e.append(...t):e.append(t)}function tK(e,t){var n;let r=Array.isArray(t)?t:[t],i=e;for(;i instanceof Element&&i!==window.document.body;){if(r.find(e=>null==i?void 0:i.matches(e)))return i;i=null!=(n=null==i?void 0:i.parentElement)?n:null}}function tQ(e){return"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap}function tJ(){return"function"==typeof importScripts}var t0=tJ()?()=>self.worker&&self.worker.referrer:()=>("blob:"===window.location.protocol?window.parent:window).location.href,t1=null==navigator?void 0:navigator.userAgent,t2=!!t1.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),t3=t1.indexOf("Android")>-1||t1.indexOf("Adr")>-1;function t5(){let e=!0;for(let t of["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"])if(t1.indexOf(t)>0){e=!1;break}return e}function t4(e,t){e.forEach(e=>{t[e]&&(t[e]=t[e].bind(t))})}var t6=class{constructor(e=16){this.duration=16,this.timestamp=new Date().getTime(),this.duration=e}run(e){let t=new Date().getTime(),n=t-this.timestamp;this.timestamp=t,n>=this.duration&&e()}},t8={centimeters:0x25f96350,centimetres:0x25f96350,degrees:6371008.8/111325,feet:20902260.511392,inches:250826616.45599997,kilometers:6371.0088,kilometres:6371.0088,meters:6371008.8,metres:6371008.8,miles:3958.761333810546,millimeters:0x17bbde120,millimetres:0x17bbde120,nauticalmiles:6371008.8/1852,radians:1,yards:6967335.223679999};function t7(e,t,n){void 0===n&&(n={});var r={type:"Feature"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function t9(e,t,n){void 0===n&&(n={});for(var r=0;re[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]n&&e.lng<=i&&e.lat>r&&e.lat<=a}function nl(e){let t=[1/0,1/0,-1/0,-1/0];return e.forEach(e=>{let{coordinates:n}=e;!function e(t,n){return Array.isArray(n[0])?n.forEach(n=>{e(t,n)}):(t[0]>n[0]&&(t[0]=n[0]),t[1]>n[1]&&(t[1]=n[1]),t[2]e(t,n)):n(t)}(e,t)}function nu(e,t=!0,n={enable:!0,decimal:1}){let r=(e=nf(e,t))[0],i=e[1],a=r*no/180,o=Math.log(Math.tan((90+i)*Math.PI/360))/(Math.PI/180);return o=o*no/180,n.enable&&(a=Number(a.toFixed(n.decimal)),o=Number(o.toFixed(n.decimal))),3===e.length?[a,o,e[2]]:[a,o]}function nd(e,t=6){let n=e[0],r=e[1],i=n/no*180,a=r/no*180;return a=180/Math.PI*(2*Math.atan(Math.exp(a*Math.PI/180))-Math.PI/2),null!=t&&(i=Number(i.toFixed(t)),a=Number(a.toFixed(t))),3===e.length?[i,a,e[2]]:[i,a]}function nh(e){if(null==e)throw Error("lng is required");return(e>180||e<-180)&&((e%=360)>180&&(e=-360+e),e<-180&&(e=360+e),0===e&&(e=0)),e}function np(e){if(null==e)throw Error("lat is required");return(e>90||e<-90)&&((e%=180)>90&&(e=-180+e),e<-90&&(e=180+e),0===e&&(e=0)),e}function nf(e,t){if(!1===t)return e;let n=nh(e[0]),r=np(e[1]);return r>85&&(r=85),r<-85&&(r=-85),3===e.length?[n,r,e[2]]:[n,r]}function ng(e){let t=Math.max(Math.min(85.0511287798,e[1]),-85.0511287798),n=Math.PI/180,r=e[0]*n,i=t*n;i=Math.log(Math.tan(Math.PI/4+i/2));let a=-.5/Math.PI;return n=.5,[Math.floor(r=0x10000000*(.5/Math.PI*r+.5)),Math.floor(i=0x10000000*(a*i+n))]}function nm(e){let t=-.5/Math.PI,n=.5,[r,i]=e;r=(r/0x10000000-.5)/(.5/Math.PI);let a=(i=(Math.atan(Math.pow(Math.E,i=(i/0x10000000-n)/t))-Math.PI/4)*2)/(n=Math.PI/180);return[r/n,a]}function nb(e,t){let n=Math.PI/180;return t=Math.max(Math.min(85.0511287798,t),-85.0511287798),e*=n,t*=n,[6378137*e,6378137*(t=Math.log(Math.tan(Math.PI/4+t/2)))]}function ny(e,t){let n=Math.PI/180,r=2*(Math.atan(Math.exp(t/6378137))-Math.PI/4)/n;return[e/6378137/n,r]}function nv(e,t,n){let r=nt(t[1]-e[1]),i=nt(t[0]-e[0]),a=Math.pow(Math.sin(r/2),2)+Math.pow(Math.sin(i/2),2)*Math.cos(nt(e[1]))*Math.cos(nt(t[1]));var o=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)),s="meters";void 0===s&&(s="kilometers");var l=t8[s];if(!l)throw Error(s+" units is invalid");return o*l}function nE(e){let t=Math.PI/180,n=Math.sin(Math.max(Math.min(85.0511287798,e[1]),-85.0511287798)*t);return[6378137*e[0]*t,6378137*Math.log((1+n)/(1-n))/2]}function n_(e,t){let n=Math.abs(e[1][1]-e[0][1])*t,r=Math.abs(e[1][0]-e[0][0])*t;return[[e[0][0]-r,e[0][1]-n],[e[1][0]+r,e[1][1]+n]]}function nx(e,t){return e[0][0]<=t[0][0]&&e[0][1]<=t[0][1]&&e[1][0]>=t[1][0]&&e[1][1]>=t[1][1]}function nA(e){return[[e[0],e[1]],[e[2],e[3]]]}function nS(e){let t=nw(e,[0,0]);return[e[0]/t,e[1]/t]}function nw(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function nT(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function nO(e,t){return 180*Math.acos((e[0]*t[0]+e[1]*t[1])/(nT(e)*nT(t)))/Math.PI}function nC(e,t){if(t[0]>0)if(t[1]>0)return 90-180*Math.atan(t[1]/t[0])/Math.PI;else return 90+180*Math.atan(-t[1]/t[0])/Math.PI;return t[1]<0?180+(90-180*Math.atan(t[1]/t[0])/Math.PI):270+180*Math.atan(-(t[1]/t[0]))/Math.PI}function nk(e,t=100){if(!e||e.length<2)return;let n=[0,1],r=0,i=[];for(let t=0;t0){let e=i[t-1].rotation;e-l>360-e+l&&(l+=360)}i.push({start:a,end:o,dis:s,rotation:l,duration:0})}return i.map(e=>{e.duration=t*(e.dis/r)}),i}function nM(e){if(ni(e[0]))return e;if(ni(e[0][0]))throw Error("当前数据不支持标注");if(ni(e[0][0][0])){let t=0,n=0,r=0;return e.forEach(e=>{e.forEach(e=>{t+=e[0],n+=e[1],r++})}),[t/r,n/r,0]}throw Error("当前数据不支持标注")}function nL(e){let t=e[0],n=e[1],r=e[0],i=e[1],a=0,o=0,s=0;for(let l=0;ln&&(t=Math.floor(t/137)),t=131*t+e.charCodeAt(r);return t}function nR(e){e=e.toString();let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function nP(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function nD(e,t,n,r,i=30,a){let o=n;return(a&&(o=Math.round(n*(i-1))/(i-1)),r)?nB(e,t,o,r):nB(e,t,o,.314)}function nj(e,t){let n=1-t;return(e[0]*n+e[1]*t)*n+(e[1]*n+e[2]*t)*t}function nB(e,t,n,r){let i=function(e,t,n){var r;let i=[t[0]-e[0],t[1]-e[1]],a=(r=[0,0],Math.sqrt(Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2))),o=Math.atan2(i[1],i[0]),s=a/2/Math.cos(n),l=o+n;return[s*Math.cos(l)+e[0],s*Math.sin(l)+e[1]]}(e,t,r),a=[e[0],i[0],t[0]],o=[e[1],i[1],t[1]];return[nj(a,n),nj(o,n),0]}function nF(e,t,n,r,i=30,a){let o=n;return a&&(o=Math.round(29*n)/29),function(e,t,n){let r=[nt(e[0]),nt(e[1])],i=[nt(t[0]),nt(t[1])],a=function(e,t){let n=[e[0]-t[0],e[1]-t[1]],r=[Math.sin(n[0]/2),Math.sin(n[1]/2)],i=r[1]*r[1]+Math.cos(e[1])*Math.cos(t[1])*r[0]*r[0];return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))}(r,i);if(.001>Math.abs(a-Math.PI))return[(1-n)*r[0]+n*i[0],(1-n)*r[1]+n*i[1]];let o=Math.sin((1-n)*a)/Math.sin(a),s=Math.sin(n*a)/Math.sin(a),l=[Math.sin(r[0]),Math.sin(r[1])],c=[Math.cos(r[0]),Math.cos(r[1])],u=[Math.sin(i[0]),Math.sin(i[1])],d=[Math.cos(i[0]),Math.cos(i[1])],h=o*c[1]*c[0]+s*d[1]*d[0],p=o*c[1]*l[0]+s*d[1]*u[0],f=o*l[1]+s*u[1];return[ne(Math.atan2(p,h)),ne(Math.atan2(f,Math.sqrt(h*h+p*p)))]}(e,t,o)}var nz=Object.defineProperty,nU=Object.getOwnPropertySymbols,nH=Object.prototype.hasOwnProperty,nG=Object.prototype.propertyIsEnumerable,n$=(e,t,n)=>t in e?nz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nW=(e,t)=>{for(var n in t||(t={}))nH.call(t,n)&&n$(e,n,t[n]);if(nU)for(var n of nU(t))nG.call(t,n)&&n$(e,n,t[n]);return e};function nV(e,t){let{featureId:n}=t,r=e.data.dataArray;return"number"==typeof n&&(r=r.filter(({id:e})=>e===n)),r.map(e=>{let n=function(e,t){let n,{offset:r,shape:i,thetaOffset:a,segmentNumber:o=30,autoFit:s=!0}=t,{coordinates:l}=e;if("line"===i)return function(e,t){var n,r,i,a,o;let s,l,c=0,u=[];for(let t=0;td){let t=e.p1,n=(i=e.p2,a=t,o=(d-e.lastTotalDistance)/e.distance,[i[0]*o+a[0]*(1-o),i[1]*o+a[1]*(1-o)]);s=n[0],l=n[1];break}return{lng:s,lat:l,height:0}}(l,r);let c=l[0],u=l[1],d="string"==typeof a?e[a]||0:a;switch(i){case"arc":default:n=nD;break;case"greatcircle":n=nF}let[h,p,f]=n(c,u,r,d,o,s);return{lng:h,lat:p,height:f}}(e,t);return nW(nW({},e),n)})}function nq(e,t){return new Promise(n=>{e.inited?n(nV(e,t)):e.once("update",()=>{n(nV(e,t))})})}var nY=class{constructor(e=50,t){this.limit=e,this.destroy=t||this.defaultDestroy,this.order=[],this.clear()}clear(){this.order.forEach(e=>{this.delete(e)}),this.cache={},this.order=[]}get(e){let t=this.cache[e];return t&&(this.deleteOrder(e),this.appendOrder(e)),t}set(e,t){this.cache[e]?this.delete(e):Object.keys(this.cache).length===this.limit&&this.delete(this.order[0]),this.cache[e]=t,this.appendOrder(e)}delete(e){let t=this.cache[e];t&&(this.deleteCache(e),this.deleteOrder(e),this.destroy(t,e))}deleteCache(e){delete this.cache[e]}deleteOrder(e){let t=this.order.findIndex(t=>t===e);t>=0&&this.order.splice(t,1)}appendOrder(e){this.order.push(e)}defaultDestroy(e,t){return null}};function nZ(e){if(0===e.length)throw Error("max requires at least one data point");let t=e[0];for(let n=1;nt&&(t=e[n]);return+t}function nX(e){if(0===e.length)throw Error("min requires at least one data point");let t=e[0];for(let n=1;nr&&(r=i,n=t),i=1,t=e[a]):i++;return+n}var n0={min:nX,max:nZ,mean:nQ,sum:nK,mode:nJ};function n1(e,t){return e.map(e=>e[t])}function n2(e,t){return n0[e](t)}var n3=n(82661),n5=n.n(n3),n4=(e=>(e.Realtime="realtime",e.Overlap="overlap",e.Replace="replace",e))(n4||{}),n6=(e=>(e.Loading="Loading",e.Loaded="Loaded",e.Failure="Failure",e.Cancelled="Cancelled",e))(n6||{});function n8(e){for(;e;){if(e.isLoaded)return e.properties.state|=2,!0;e=e.parent}return!1}function n7(e){e.children.forEach(e=>{e.isLoaded?e.properties.state|=2:n7(e)})}var n9=[-1/0,-1/0,1/0,1/0],re={[n4.Realtime]:function(e){e.forEach(e=>{e.isCurrent&&(e.isVisible=e.isLoaded)})},[n4.Overlap]:function(e){e.forEach(e=>{e.properties.state=0}),e.forEach(e=>{e.isCurrent&&!n8(e)&&n7(e)}),e.forEach(e=>{e.isVisible=!!(2&e.properties.state)})},[n4.Replace]:function(e){e.forEach(e=>{e.properties.state=0}),e.forEach(e=>{e.isCurrent&&n8(e)}),e.slice().sort((e,t)=>e.z-t.z).forEach(e=>{e.isVisible=!!(2&e.properties.state),e.children.length&&(e.isVisible||1&e.properties.state)?e.children.forEach(e=>{e.properties.state=1}):e.isCurrent&&n7(e)})}},rt=()=>{};function rn(e,t,n){return[Math.floor((e+180)/360*Math.pow(2,n)),Math.floor((1-Math.log(Math.tan(t*Math.PI/180)+1/Math.cos(t*Math.PI/180))/Math.PI)/2*Math.pow(2,n))]}function rr(e,t,n){let r=e/Math.pow(2,n)*360-180,i=Math.PI-2*Math.PI*t/Math.pow(2,n);return[r,180/Math.PI*Math.atan(.5*(Math.exp(i)-Math.exp(-i)))]}var ri=(e,t,n)=>{let[r,i]=rr(e,t,n),[a,o]=rr(e+1,t+1,n);return[r,o,a,i]};function ra({zoom:e,latLonBounds:t,maxZoom:n=1/0,minZoom:r=0,zoomOffset:i=0,extent:a=n9}){let o=Math.ceil(e)+i;if(Number.isFinite(r)&&on&&(o=n);let[s,l,c,u]=t,d=[Math.max(s,a[0]),Math.max(l,a[1]),Math.min(c,a[2]),Math.min(u,a[3])],h=[],[p,f]=rn(d[0],d[1],o),[g,m]=rn(d[2],d[3],o);for(let e=p;e<=g;e++)for(let t=m;t<=f;t++)h.push({x:e,y:t,z:o});let b=(g+p)/2,y=(f+m)/2,v=(e,t)=>Math.abs(e-b)+Math.abs(t-y);return h.sort((e,t)=>v(e.x,e.y)-v(t.x,t.y)),h}var ro=(e,t,n,r=!0)=>{let i=Math.pow(2,n),a=e;return r&&(a<0?a+=i:a>i-1&&(a%=i)),{warpX:a,warpY:t}},rs=class extends n3.EventEmitter{constructor(e){super(),this.tileSize=256,this.isVisible=!1,this.isCurrent=!1,this.isVisibleChange=!1,this.loadedLayers=0,this.isLayerLoaded=!1,this.isLoad=!1,this.isChildLoad=!1,this.parent=null,this.children=[],this.data=null,this.properties={},this.loadDataId=0;let{x:t,y:n,z:r,tileSize:i,warp:a=!0}=e;this.x=t,this.y=n,this.z=r,this.warp=a||!0,this.tileSize=i}get isLoading(){return this.loadStatus===n6.Loading}get isLoaded(){return this.loadStatus===n6.Loaded}get isFailure(){return this.loadStatus===n6.Failure}setTileLayerLoaded(){this.isLayerLoaded=!0}get isCancelled(){return this.loadStatus===n6.Cancelled}get isDone(){return[n6.Loaded,n6.Cancelled,n6.Failure].includes(this.loadStatus)}get bounds(){return ri(this.x,this.y,this.z)}get bboxPolygon(){let[e,t,n,r]=this.bounds;return function(e,t){void 0===t&&(t={});var n=Number(e[0]),r=Number(e[1]),i=Number(e[2]),a=Number(e[3]);if(6===e.length)throw Error("@turf/bbox-polygon does not support BBox with 6 positions");var o=[n,r],s=[n,a],l=[i,a];return t9([[o,[i,r],l,s,o]],t.properties,{bbox:e,id:t.id})}(this.bounds,{properties:{key:this.key,id:this.key,bbox:this.bounds,center:[(n-e)/2,(r-t)/2],meta:` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4984],{128:(e,t,n)=>{"use strict";function r(e,t){return Object.entries(e).reduce((n,[r,i])=>(n[r]=t(i,r,e),n),{})}function i(e){return e.map((e,t)=>t)}function a(e){return e[0]}function o(e){return e[e.length-1]}function s(e){return Array.from(new Set(e))}function l(e,t){let n=[[],[]];return e.forEach(e=>{n[+!t(e)].push(e)}),n}function c(e){if(1===e.length)return[e];let t=[];for(let n=1;n<=e.length;n++)t.push(...function e(t,n=t.length){if(1===n)return t.map(e=>[e]);let r=[];for(let i=0;i{r.push([t[i],...e])});return r}(e,n));return t}n.d(t,{Am:()=>s,Ku:()=>a,Qr:()=>l,g1:()=>o,kg:()=>c,qh:()=>i,s8:()=>r})},190: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=[]},322: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=[]},497:e=>{"use strict";function t(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},600: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=[]},640:(e,t,n)=>{"use strict";var r=n(99684);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,i=e.stateHandler.getState;if(!t)throw Error("Missing required dependency: reporter.");return{makeDetectable:function(a,o,s){s||(s=o,o=a,a=null),(a=a||{}).debug,r.isIE(8)?s(o):function(o,s){var l,c,u=(l=["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"],c=e.important?" !important; ":"; ",(l.join(c)+c).trim()),d=!1,h=window.getComputedStyle(o),p=o.offsetWidth,f=o.offsetHeight;function g(){function e(){if("static"===h.position){o.style.setProperty("position","relative",a.important?"important":"");var e=function(e,t,n,r){var i=n[r];"auto"!==i&&"0"!==i.replace(/[^-\d\.]/g,"")&&(e.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style.setProperty(r,"0",a.important?"important":""))};e(t,o,h,"top"),e(t,o,h,"right"),e(t,o,h,"bottom"),e(t,o,h,"left")}}""!==h.position&&(e(h),d=!0);var n=document.createElement("object");n.style.cssText=u,n.tabIndex=-1,n.type="text/html",n.setAttribute("aria-hidden","true"),n.onload=function(){d||e(),!function e(t,n){if(!t.contentDocument){var r=i(t);r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),r.checkForObjectDocumentTimeoutId=setTimeout(function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)},100);return}n(t.contentDocument)}(this,function(e){s(o)})},r.isIE()||(n.data="about:blank"),i(o)&&(o.appendChild(n),i(o).object=n,r.isIE()&&(n.data="about:blank"))}i(o).startSize={width:p,height:f},n?n.add(g):g()}(o,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))i(e).object={proxy:n},e.attachEvent("onresize",n);else{var a=i(e).object;if(!a)throw Error("Element is not detectable by this strategy.");a.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(i(e)){var t=i(e).object;t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),i(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(i(e).checkForObjectDocumentTimeoutId),delete i(e).object)}}}}},641:(e,t,n)=>{"use strict";var r=n(95441),i=n(8747),a=n(93403),o="data";e.exports=function(e,t){var n,h,p,f=r(t),g=t,m=a;return f in e.normal?e.property[e.normal[f]]:(f.length>4&&f.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(p=(h=t).slice(4),t=l.test(p)?h:("-"!==(p=p.replace(c,u)).charAt(0)&&(p="-"+p),o+p)),m=i),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},801:(e,t,n)=>{var r=n(85855),i=n(23633);e.exports=function(e){return i(r(e).toLowerCase())}},894:(e,t,n)=>{"use strict";n.d(t,{DQ:()=>l,MF:()=>a,i5:()=>o,vO:()=>s});var r=n(14837),i=n(79135);function a(e,t,n={},o=!1){if((0,i.K$)(e)||Array.isArray(e)&&o)return e;let s=(0,i.Uq)(e,t);return(0,r.A)(n,s)}function o(e,t={}){return(0,i.K$)(e)||Array.isArray(e)||!s(e)?e:(0,r.A)(t,e)}function s(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function l(e,t){return"object"==typeof e?(0,i.Uq)(e,t):e}},987:(e,t,n)=>{"use strict";var r=n(15110);function i(e){e.register(r),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=i,i.displayName="arduino",i.aliases=["ino"]},1002:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CONTINUE:()=>o,EXIT:()=>s,SKIP:()=>l,visit:()=>u});let r=function(e){var t,n;if(null==e)return a;if("string"==typeof e){return t=e,i(function(e){return e&&e.type===t})}if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return p;function p(){var h;let p,f,g,m=[];if((!t||a(r,u,d[d.length-1]||null))&&(m=Array.isArray(h=n(r,d))?h:"number"==typeof h?[o,h]:[h])[0]===s)return m;if(r.children&&m[0]!==l)for(f=(i?r.children.length:-1)+c,g=d.concat(r);f>-1&&f{"use strict";function r(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}function i(e,t,n,i){return t&&r(e,t),n&&r(e,n),i&&r(e,i),e}n.d(t,{A:()=>i})},1083:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},1110:e=>{e.exports=function(e){e.installMethod("negate",function(){var t=this.rgb();return new e.RGB(1-t._red,1-t._green,1-t._blue,this._alpha)})}},1250: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=[]},1370:e=>{"use strict";function t(e){var t,n,r,i,a,o;r={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}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return RegExp("(^|\\s)(?:"+e.map(i).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){r[e].pattern=a(o[e])}),r.combinators.pattern=a(["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=r}e.exports=t,t.displayName="factor",t.aliases=[]},1381:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="glsl",i.aliases=[]},1442:e=>{e.exports=function(e,t,n,r){for(var i=n-1,a=e.length;++i{"use strict";function r(e,t){return null==e||null==t?NaN:et?1:e>=t?0:NaN}n.d(t,{A:()=>r})},2018:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(88491);let i=(e,t,n,i)=>{let a,o,s=e,l=t;if(s===l&&n>0)return[s];let c=(0,r.l)(s,l,n);if(0===c||!Number.isFinite(c))return[];if(c>0){s=Math.ceil(s/c),o=Array(a=Math.ceil((l=Math.floor(l/c))-s+1));for(let e=0;e{if(!(null==t?void 0:t.length))return e;let n=Array.from(new Set([...e,...t.flatMap(e=>[e.start,e.end])])).sort((e,t)=>e-t).filter(e=>!t.some(({start:t,end:n})=>e>t&&e{"use strict";function r(e){var t=document.createElement("div");t.innerHTML=e;var n=t.childNodes[0];return n&&t.contains(n)&&t.removeChild(n),n}n.d(t,{l:()=>r})},2323:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(49603);function i(e){return(0,r.f)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},2423:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,TN:()=>l,z:()=>c,i8:()=>u});class r extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(n),e.delete(r)),n}(this,e))}}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}var o=n(70032);function s(e,...t){return d(e,o.A,o.A,t)}function l(e,...t){return d(e,Array.from,o.A,t)}function c(e,t,...n){return d(e,o.A,t,n)}function u(e,t,...n){return d(e,Array.from,t,n)}function d(e,t,n,i){return function e(a,o){if(o>=i.length)return n(a);let s=new r,l=i[o++],c=-1;for(let e of a){let t=l(e,++c,a),n=s.get(t);n?n.push(e):s.set(t,[e])}for(let[t,n]of s)s.set(t,e(n,o));return t(s)}(e,0)}},2455:(e,t,n)=>{"use strict";var r=n(89136),i=n(57859),a=n(71266),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,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:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,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:d,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:u,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}})},2638:(e,t,n)=>{"use strict";function r(e){a(e,!0)}function i(e){a(e,!1)}function a(e,t){var n=t?"visible":"hidden";!function e(t,n){n(t),t.children&&t.children.forEach(function(t){t&&e(t,n)})}(e,function(e){e.attr("visibility",n)})}n.d(t,{jD:()=>i,WU:()=>r,XD:()=>a})},2679: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=[]},2774: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=[]},2948:(e,t,n)=>{"use strict";function r(e,t,n,r,i){for(var a,o=e.children,s=-1,l=o.length,c=e.value&&(r-t)/e.value;++sr})},3021:(e,t,n)=>{"use strict";n.d(t,{W:()=>p});var r=n(50636),i=n(59222),a=n(20430),o=n(65158),s=n(14133),l=n(10569),c=n(96474),u=n(46032),d=n(51750);let h=(e,t,n,r)=>(Math.min(e.length,t.length)>2?(e,t,n)=>{let r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),c=e[0]>e[r],u=c?[...e].reverse():e,d=c?[...t].reverse():t;for(let e=0;e{let n=(0,l.h)(e,t,1,r)-1,o=i[n],c=a[n];return(0,s.Z)(c,o)(t)}}:(e,t,n)=>{let r,i,[a,l]=e,[c,u]=t;return at?e:t;return e=>Math.min(Math.max(n,e),r)}(r[0],r[a-1]):i.A}composeOutput(e,t){let{domain:n,range:r,round:i,interpolate:a}=this.options,o=h(n.map(e),r,a,i);this.output=(0,s.Z)(o,t,e)}composeInput(e,t,n){let{domain:r,range:i}=this.options,a=h(i,r.map(e),c.P7);this.input=(0,s.Z)(t,n,a)}}},3329:e=>{function t(e,t){if(0!==e.length){n(e[0],t);for(var r=1;r=Math.abs(s)?n-l+s:s-l+n,n=l}n+r>=0!=!!t&&e.reverse()}e.exports=function e(n,r){var i,a=n&&n.type;if("FeatureCollection"===a)for(i=0;i{"use strict";n.d(t,{A:()=>i});var r=n(7006);let i=function(e){return(0,r.A)(e)?"":e.toString()}},3706: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=[]},3795:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(12115),i=n(29300),a=n.n(i),o=n(79630),s=n(21858),l=n(20235),c=n(40419),u=n(27061),d=n(86608),h=n(48804),p=n(17980),f=n(74686),g=n(82870),m=n(26791),b=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},y=function(e){return void 0!==e?"".concat(e,"px"):void 0};function v(e){var t=e.prefixCls,n=e.containerRef,i=e.value,o=e.getValueIndex,l=e.motionName,c=e.onMotionStart,d=e.onMotionEnd,h=e.direction,p=e.vertical,v=void 0!==p&&p,E=r.useRef(null),_=r.useState(i),x=(0,s.A)(_,2),A=x[0],S=x[1],w=function(e){var r,i=o(e),a=null==(r=n.current)?void 0:r.querySelectorAll(".".concat(t,"-item"))[i];return(null==a?void 0:a.offsetParent)&&a},O=r.useState(null),C=(0,s.A)(O,2),k=C[0],M=C[1],L=r.useState(null),I=(0,s.A)(L,2),N=I[0],R=I[1];(0,m.A)(function(){if(A!==i){var e=w(A),t=w(i),n=b(e,v),r=b(t,v);S(i),M(n),R(r),e&&t?c():d()}},[i]);var P=r.useMemo(function(){if(v){var e;return y(null!=(e=null==k?void 0:k.top)?e:0)}return"rtl"===h?y(-(null==k?void 0:k.right)):y(null==k?void 0:k.left)},[v,h,k]),D=r.useMemo(function(){if(v){var e;return y(null!=(e=null==N?void 0:N.top)?e:0)}return"rtl"===h?y(-(null==N?void 0:N.right)):y(null==N?void 0:N.left)},[v,h,N]);return k&&N?r.createElement(g.Ay,{visible:!0,motionName:l,motionAppear:!0,onAppearStart:function(){return v?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return v?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){M(null),R(null),d()}},function(e,n){var i=e.className,o=e.style,s=(0,u.A)((0,u.A)({},o),{},{"--thumb-start-left":P,"--thumb-start-width":y(null==k?void 0:k.width),"--thumb-active-left":D,"--thumb-active-width":y(null==N?void 0:N.width),"--thumb-start-top":P,"--thumb-start-height":y(null==k?void 0:k.height),"--thumb-active-top":D,"--thumb-active-height":y(null==N?void 0:N.height)}),l={ref:(0,f.K4)(E,n),style:s,className:a()("".concat(t,"-thumb"),i)};return r.createElement("div",l)}):null}var E=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"],_=function(e){var t=e.prefixCls,n=e.className,i=e.disabled,o=e.checked,s=e.label,l=e.title,u=e.value,d=e.name,h=e.onChange,p=e.onFocus,f=e.onBlur,g=e.onKeyDown,m=e.onKeyUp,b=e.onMouseDown;return r.createElement("label",{className:a()(n,(0,c.A)({},"".concat(t,"-item-disabled"),i)),onMouseDown:b},r.createElement("input",{name:d,className:"".concat(t,"-item-input"),type:"radio",disabled:i,checked:o,onChange:function(e){i||h(e,u)},onFocus:p,onBlur:f,onKeyDown:g,onKeyUp:m}),r.createElement("div",{className:"".concat(t,"-item-label"),title:l,"aria-selected":o},s))},x=r.forwardRef(function(e,t){var n,i,g=e.prefixCls,m=void 0===g?"rc-segmented":g,b=e.direction,y=e.vertical,x=e.options,A=void 0===x?[]:x,S=e.disabled,w=e.defaultValue,O=e.value,C=e.name,k=e.onChange,M=e.className,L=e.motionName,I=(0,l.A)(e,E),N=r.useRef(null),R=r.useMemo(function(){return(0,f.K4)(N,t)},[N,t]),P=r.useMemo(function(){return A.map(function(e){if("object"===(0,d.A)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.A)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}(e);return(0,u.A)((0,u.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[A]),D=(0,h.A)(null==(n=P[0])?void 0:n.value,{value:O,defaultValue:w}),j=(0,s.A)(D,2),B=j[0],F=j[1],z=r.useState(!1),U=(0,s.A)(z,2),H=U[0],G=U[1],$=function(e,t){F(t),null==k||k(t)},W=(0,p.A)(I,["children"]),V=r.useState(!1),q=(0,s.A)(V,2),Y=q[0],Z=q[1],X=r.useState(!1),K=(0,s.A)(X,2),Q=K[0],J=K[1],ee=function(){J(!0)},et=function(){J(!1)},en=function(){Z(!1)},er=function(e){"Tab"===e.key&&Z(!0)},ei=function(e){var t=P.findIndex(function(e){return e.value===B}),n=P.length,r=P[(t+e+n)%n];r&&(F(r.value),null==k||k(r.value))},ea=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":ei(-1);break;case"ArrowRight":case"ArrowDown":ei(1)}};return r.createElement("div",(0,o.A)({role:"radiogroup","aria-label":"segmented control",tabIndex:S?void 0:0},W,{className:a()(m,(i={},(0,c.A)(i,"".concat(m,"-rtl"),"rtl"===b),(0,c.A)(i,"".concat(m,"-disabled"),S),(0,c.A)(i,"".concat(m,"-vertical"),y),i),void 0===M?"":M),ref:R}),r.createElement("div",{className:"".concat(m,"-group")},r.createElement(v,{vertical:y,prefixCls:m,value:B,containerRef:N,motionName:"".concat(m,"-").concat(void 0===L?"thumb-motion":L),direction:b,getValueIndex:function(e){return P.findIndex(function(t){return t.value===e})},onMotionStart:function(){G(!0)},onMotionEnd:function(){G(!1)}}),P.map(function(e){var t;return r.createElement(_,(0,o.A)({},e,{name:C,key:e.value,prefixCls:m,className:a()(e.className,"".concat(m,"-item"),(t={},(0,c.A)(t,"".concat(m,"-item-selected"),e.value===B&&!H),(0,c.A)(t,"".concat(m,"-item-focused"),Q&&Y&&e.value===B),t)),checked:e.value===B,onChange:$,onFocus:ee,onBlur:et,onKeyDown:ea,onKeyUp:er,onMouseDown:en,disabled:!!S||!!e.disabled}))})))}),A=n(32934),S=n(15982),w=n(9836),O=n(99841),C=n(18184),k=n(45431),M=n(61388);function L(e,t){return{["".concat(e,", ").concat(e,":hover, ").concat(e,":focus")]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function I(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let N=Object.assign({overflow:"hidden"},C.L9),R=(0,k.OF)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return(e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)}),(0,C.K8)(e)),{["".concat(t,"-group")]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},["&".concat(t,"-rtl")]:{direction:"rtl"},["&".concat(t,"-vertical")]:{["".concat(t,"-group")]:{flexDirection:"column"},["".concat(t,"-thumb")]:{width:"100%",height:0,padding:"0 ".concat((0,O.zA)(e.paddingXXS))}},["&".concat(t,"-block")]:{display:"flex"},["&".concat(t,"-block ").concat(t,"-item")]:{flex:1,minWidth:0},["".concat(t,"-item")]:{position:"relative",textAlign:"center",cursor:"pointer",transition:"color ".concat(e.motionDurationMid),borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},I(e)),{color:e.itemSelectedColor}),"&-focused":(0,C.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:"opacity ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),pointerEvents:"none"},["&:not(".concat(t,"-item-selected):not(").concat(t,"-item-disabled)")]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,O.zA)(n),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontal))},N),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},["".concat(t,"-thumb")]:Object.assign(Object.assign({},I(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:"".concat((0,O.zA)(e.paddingXXS)," 0"),borderRadius:e.borderRadiusSM,["& ~ ".concat(t,"-item:not(").concat(t,"-item-selected):not(").concat(t,"-item-disabled)::after")]:{backgroundColor:"transparent"}}),["&".concat(t,"-lg")]:{borderRadius:e.borderRadiusLG,["".concat(t,"-item-label")]:{minHeight:r,lineHeight:(0,O.zA)(r),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontal)),fontSize:e.fontSizeLG},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadius}},["&".concat(t,"-sm")]:{borderRadius:e.borderRadiusSM,["".concat(t,"-item-label")]:{minHeight:i,lineHeight:(0,O.zA)(i),padding:"0 ".concat((0,O.zA)(e.segmentedPaddingHorizontalSM))},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadiusXS}}}),L("&-disabled ".concat(t,"-item"),e)),L("".concat(t,"-item-disabled"),e)),{["".concat(t,"-thumb-motion-appear-active")]:{transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", width ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),willChange:"transform, width"},["&".concat(t,"-shape-round")]:{borderRadius:9999,["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:9999}}})}})((0,M.oX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:i,colorFill:a,lineWidthBold:o,colorBgLayout:s}=e;return{trackPadding:o,trackBg:s,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:i,itemActiveBg:a,itemSelectedColor:n}});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 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 D=r.forwardRef((e,t)=>{let n=(0,A.A)(),{prefixCls:i,className:o,rootClassName:s,block:l,options:c=[],size:u="middle",style:d,vertical:h,shape:p="default",name:f=n}=e,g=P(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:m,direction:b,className:y,style:v}=(0,S.TP)("segmented"),E=m("segmented",i),[_,O,C]=R(E),k=(0,w.A)(u),M=r.useMemo(()=>c.map(e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},P(e,["icon","label"])),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(E,"-item-icon")},t),n&&r.createElement("span",null,n))})}return e}),[c,E]),L=a()(o,s,y,{["".concat(E,"-block")]:l,["".concat(E,"-sm")]:"small"===k,["".concat(E,"-lg")]:"large"===k,["".concat(E,"-vertical")]:h,["".concat(E,"-shape-").concat(p)]:"round"===p},O,C),I=Object.assign(Object.assign({},v),d);return _(r.createElement(x,Object.assign({},g,{name:f,className:L,style:I,options:M,ref:t,prefixCls:E,direction:b,vertical:h})))})},3990: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=[]},4278:e=>{e.exports=function(e){e.installMethod("mix",function(t,n){t=e(t).rgb();var r=2*(n=1-(isNaN(n)?.5:n))-1,i=this._alpha-t._alpha,a=((r*i==-1?r:(r+i)/(1+r*i))+1)/2,o=1-a,s=this.rgb();return new e.RGB(s._red*a+t._red*o,s._green*a+t._green*o,s._blue*a+t._blue*o,s._alpha*n+t._alpha*(1-n))})}},4292:(e,t,n)=>{"use strict";n.d(t,{D9:()=>A,GW:()=>m,Jt:()=>E,K1:()=>y,PR:()=>S,R2:()=>v,bD:()=>w,hq:()=>f,lM:()=>_,py:()=>g,rb:()=>p,sd:()=>x,zE:()=>b});var r=n(14837),i=n(42338),a=n(59829),o=n(128),s=n(79135),l=n(894),c=n(38414),u=n(52777),d=n(65192),h=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 p=Symbol("CALLBACK_ITEM");function f(e,t,n){let{encode:r={},scale:i={},transform:a=[]}=t;return[e,Object.assign(Object.assign({},h(t,["encode","scale","transform"])),{encode:r,scale:i,transform:a})]}function g(e,t,n){var r,a,l,u;return r=this,a=void 0,l=void 0,u=function*(){let{library:e}=n,{data:r}=t,[a]=(0,c.t)("data",e),l=function(e){if((0,i.A)(e))return{type:"inline",value:e};if(!e)return{type:"inline",value:null};if(Array.isArray(e))return{type:"inline",value:e};let{type:t="inline"}=e;return Object.assign(Object.assign({},h(e,["type"])),{type:t})}(r),{transform:u=[]}=l,d=[h(l,["transform"]),...u].map(e=>a(e,n)),p=yield(0,s.N0)(d)(r),f=!r||Array.isArray(r)||Array.isArray(p)?p:{value:p};return[Array.isArray(p)?(0,o.qh)(p):[],Object.assign(Object.assign({},t),{data:f})]},new(l||(l=Promise))(function(e,t){function n(e){try{o(u.next(e))}catch(e){t(e)}}function i(e){try{o(u.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):((r=t.value)instanceof l?r:new l(function(e){e(r)})).then(n,i)}o((u=u.apply(r,a||[])).next())})}function m(e,t,n){let{encode:r}=t;if(!r)return[e,t];let i={};for(let[e,t]of Object.entries(r))if(Array.isArray(t))for(let n=0;n{var t,n,r,a;return!function(e){if("object"!=typeof e||e instanceof Date||null===e)return!1;let{type:t}=e;return(0,s.sw)(t)}(e)?{type:(t=i,"function"==typeof(n=e)?"transform":"string"==typeof n&&(r=t,a=n,Array.isArray(r)&&r.some(e=>void 0!==e[a]))?"field":"constant"),value:e}:e});return[e,Object.assign(Object.assign({},t),{encode:a})]}function y(e,t,n){let{encode:r}=t;if(!r)return[e,t];let i=(0,o.s8)(r,(e,t)=>{let{type:n}=e;return"constant"!==n||(0,d.E)(t)?e:Object.assign(Object.assign({},e),{constant:!0})});return[e,Object.assign(Object.assign({},t),{encode:i})]}function v(e,t,n){let{encode:r,data:i}=t;if(!r)return[e,t];let{library:a}=n,s=(0,u.O)(a),l=(0,o.s8)(r,e=>s(i,e));return[e,Object.assign(Object.assign({},t),{encode:l})]}function E(e,t,n){let{tooltip:r={}}=t;return(0,s.K$)(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:(0,s.L_)(r)&&(0,l.vO)(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function _(e,t,n){let{data:r,encode:i,tooltip:o={}}=t;if((0,s.K$)(o))return[e,t];let l=t=>{if(!t)return t;if("string"==typeof t)return e.map(e=>({name:t,value:r[e][t]}));if((0,s.L_)(t)){let{field:n,channel:o,color:s,name:l=n,valueFormatter:c=e=>e}=t,u="string"==typeof c?(0,a.GP)(c):c,d=o&&i[o],h=d&&i[o].field,p=l||h||o,f=[];for(let t of e){let e=n?r[t][n]:d?i[o].value[t]:null;f[t]={name:p,color:s,value:u(e)}}return f}if("function"==typeof t){let n=[];for(let a of e){let e=t(r[a],a,r,i);(0,s.L_)(e)?n[a]=Object.assign(Object.assign({},e),{[p]:!0}):n[a]={value:e}}return n}return t},{title:c,items:u=[]}=o,d=h(o,["title","items"]),f=Object.assign({title:l(c),items:Array.isArray(u)?u.map(l):[]},d);return[e,Object.assign(Object.assign({},t),{tooltip:f})]}function x(e,t,n){let{encode:r}=t,i=h(t,["encode"]);if(!r)return[e,t];let a=Object.entries(r),o=a.filter(([,e])=>{let{value:t}=e;return Array.isArray(t[0])}).flatMap(([t,n])=>{let r=[[t,Array(e.length).fill(void 0)]],{value:i}=n,a=h(n,["value"]);for(let n=0;n[e,Object.assign({type:"column",value:t},a)])}),s=Object.fromEntries([...a,...o]);return[e,Object.assign(Object.assign({},i),{encode:s})]}function A(e,t,n){let{axis:i={},legend:a={},slider:o={},scrollbar:s={}}=t,l=(e,t)=>{if("boolean"==typeof e)return e?{}:null;let n=e[t];return void 0===n||n?n:null},c="object"==typeof i?Array.from(new Set(["x","y","z",...Object.keys(i)])):["x","y","z"];return(0,r.A)(t,{scale:Object.assign(Object.assign({},Object.fromEntries(c.map(e=>{let t=l(s,e);return[e,Object.assign({guide:l(i,e),slider:l(o,e),scrollbar:t},t&&{ratio:void 0===t.ratio?.5:t.ratio})]}))),{color:{guide:l(a,"color")},size:{guide:l(a,"size")},shape:{guide:l(a,"shape")},opacity:{guide:l(a,"opacity")}})}),[e,t]}function S(e,t,n){let{animate:i}=t;return i||void 0===i||(0,r.A)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}function w(e,t,n){var i,a;return(0,r.A)(t,{scale:{series:Object.assign({key:`DEFAULT_${t.type}_SERIES_KEY`},null!=(a=null==(i=null==t?void 0:t.scale)?void 0:i.series)?a:{})}}),[e,t]}},4670:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("desaturate",function(e){return this.saturation(isNaN(e)?-.1:-e,!0)})}},4684:(e,t,n)=>{"use strict";n.d(t,{A6:()=>d,B8:()=>u,C:()=>p,S8:()=>m,fA:()=>h,hZ:()=>f,lK:()=>g,lw:()=>c,vt:()=>s,x8:()=>l});var r=n(31142),i=n(14288),a=n(64664),o=n(99845);function s(){var e=new r.tb(4);return r.tb!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function l(e,t,n){var r=Math.sin(n*=.5);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function c(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+o*s+i*c-a*l,e[1]=i*u+o*l+a*s-r*c,e[2]=a*u+o*c+r*l-i*s,e[3]=o*u-r*s-i*l-a*c,e}function u(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return e[0]=-n*s,e[1]=-r*s,e[2]=-i*s,e[3]=a*s,e}function d(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.bw,o=Math.PI/360;t*=o,i*=o;var s=Math.sin(t),l=Math.cos(t),c=Math.sin(n*=o),u=Math.cos(n),d=Math.sin(i),h=Math.cos(i);switch(a){case"xyz":e[0]=s*u*h+l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h-s*c*d;break;case"xzy":e[0]=s*u*h-l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h+s*c*d;break;case"yxz":e[0]=s*u*h+l*c*d,e[1]=l*c*h-s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h+s*c*d;break;case"yzx":e[0]=s*u*h+l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h-s*c*d;break;case"zxy":e[0]=s*u*h-l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d+s*c*h,e[3]=l*u*h-s*c*d;break;case"zyx":e[0]=s*u*h-l*c*d,e[1]=l*c*h+s*u*d,e[2]=l*u*d-s*c*h,e[3]=l*u*h+s*c*d;break;default:throw Error("Unknown angle order "+a)}return e}o.o8;var h=o.fA,p=o.C,f=o.hZ;o.WQ;var g=c;o.hs,o.Om,o.Cc,o.Bw,o.m3;var m=o.S8;o.t2,a.vt(),a.fA(1,0,0),a.fA(0,1,0),s(),s(),i.vt()},4841:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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 r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=i,i.displayName="liquid",i.aliases=[]},4986:e=>{e.exports=function(e){e.installMethod("clearer",function(e){return this.alpha(isNaN(e)?-.1:-e,!0)})}},5485:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5522:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,o){if(a===o)return!0;if(a&&o&&"object"==typeof a&&"object"==typeof o){var s,l,c,u;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(!e(a[l],o[l]))return!1;return!0}if(n&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;for(u=a.entries();!(l=u.next()).done;)if(!e(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(a[l]!==o[l])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof o.valueOf)return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof o.toString)return a.toString()===o.toString();if((s=(c=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(t&&a instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!a.$$typeof)&&!e(a[c[l]],o[c[l]]))return!1;return!0}return a!=a&&o!=o}(e,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},5738:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3693);let i=function(e){var t=(0,r.A)(e);return t.charAt(0).toLowerCase()+t.substring(1)}},6641:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7006),i=n(81472);function a(e){return(0,r.A)(e)?0:(0,i.A)(e)?e.length:Object.keys(e).length}},6723:(e,t,n)=>{"use strict";var r=n(32027),i=n(95994);function a(e){var t;e.register(r),e.register(i),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=a,a.displayName="phpdoc",a.aliases=[]},7283:()=>{window._iconfont_svg_string_3580659='',function(e){try{var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var r,i,a,o,s,l=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(e){console&&console.log(e)}}r=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3580659,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?l(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),r()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=r,o=e.document,s=!1,function e(){try{o.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}c()}(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,c())})}function c(){s||(s=!0,a())}}catch(e){}}(window)},7390:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},7594: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"]},7610:(e,t)=>{t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),a-=c}return(p?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<>1,h=5960464477539062e-23*(23===i),p=r?0:a-1,f=r?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+p]=255&s,p+=f,s/=256,i-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=256,c-=8);e[n+p-f]|=128*g}},7709:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="objectivec",i.aliases=["objc"]},8095:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r;return function(){var i=this,a=arguments,o=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(i,a)},t),o&&e.apply(i,a)}}},8351: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"]},8707:(e,t,n)=>{"use strict";n.d(t,{$A:()=>h,Ew:()=>a,Jp:()=>y,Om:()=>m,T7:()=>b,XC:()=>S,ZF:()=>x,bJ:()=>g,dW:()=>_,hv:()=>v,io:()=>p,n1:()=>r,n8:()=>d,nR:()=>l,tY:()=>f,vI:()=>u,vQ:()=>c,vh:()=>E,x6:()=>A,zX:()=>s,zk:()=>o,zx:()=>i});var r=function(e,t,n){return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]]},i=r,a=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]]},o=function(e,t,n){return[["M",e-n,t],["L",e,t-n],["L",e+n,t],["L",e,t+n],["Z"]]},s=function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]},l=function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]},c=function(e,t,n){var r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]},u=function(e,t,n){var r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]},d=function(e,t,n){return[["M",e,t+n],["L",e,t-n]]},h=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]]},p=function(e,t,n){return[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]]},f=function(e,t,n){return[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]]},g=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},m=function(e,t,n){return[["M",e-n,t],["L",e+n,t]]},b=m,y=function(e,t,n){return[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]]},v=function(e,t,n){return[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]]},E=function(e,t,n){return[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]]},_=function(e,t,n){return[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]]};function x(e,t){return[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]]}var A=function(e,t,n){return[["M",e-n,t-n],["L",e+n,t],["L",e-n,t+n],["Z"]]},S=function(e,t,n){var r=.2*n,i=.7*n;return[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"],["M",e-i,t],["L",e-r,t],["M",e+r,t],["L",e+i,t],["M",e,t-i],["L",e,t-r],["M",e,t+r],["L",e,t+i]]}},8747:(e,t,n)=>{"use strict";var r=n(93403),i=n(89136);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function s(e,t,n,s){var l,c,u,d,h,p,f=-1;for(l=this,(c=s)&&(l.space=c),r.call(this,e,t);++f{"use strict";function r(e){var t=e.canvas,n=e.touches,r=e.offsetX,i=e.offsetY;if(t)return[t.x,t.y];if(n){var a=n[0];return[a.clientX,a.clientY]}return r&&i?[r,i]:[0,0]}function i(e){var t=e.nativeEvent,n=e.touches,r=e.clientX,i=e.clientY;if(t)return[t.clientX,t.clientY];if(n){var a=n[0];return[a.clientX,a.clientY]}return"number"==typeof r&&"number"==typeof i?[r,i]:[0,0]}n.d(t,{n:()=>r,t:()=>i})},8828:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},8936:e=>{var t=[],n=function(e){return void 0===e},r=/\s*(\.\d+|\d+(?:\.\d+)?)(%)?\s*/,i=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,a=RegExp("^(rgb|hsl|hsv)a?\\("+r.source+","+r.source+","+r.source+"(?:,"+/\s*(\.\d+|\d+(?:\.\d+)?)\s*/.source+")?\\)$","i");function o(e){if(Array.isArray(e)){if("string"==typeof e[0]&&"function"==typeof o[e[0]])return new o[e[0]](e.slice(1,e.length));else if(4===e.length)return new o.RGB(e[0]/255,e[1]/255,e[2]/255,e[3]/255)}else if("string"==typeof e){var t=e.toLowerCase();o.namedColors[t]&&(e="#"+o.namedColors[t]),"transparent"===t&&(e="rgba(0,0,0,0)");var r=e.match(a);if(r){var s=r[1].toUpperCase(),l=n(r[8])?r[8]:parseFloat(r[8]),c="H"===s[0],u=r[3]?100:c?360:255,d=r[5]||c?100:255,h=r[7]||c?100:255;if(n(o[s]))throw Error("color."+s+" is not installed.");return new o[s](parseFloat(r[2])/u,parseFloat(r[4])/d,parseFloat(r[6])/h,l)}e.length<6&&(e=e.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i,"$1$1$2$2$3$3"));var p=e.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])$/i);if(p)return new o.RGB(parseInt(p[1],16)/255,parseInt(p[2],16)/255,parseInt(p[3],16)/255);if(o.CMYK){var f=e.match(RegExp("^cmyk\\("+i.source+","+i.source+","+i.source+","+i.source+"\\)$","i"));if(f)return new o.CMYK(parseFloat(f[1])/100,parseFloat(f[2])/100,parseFloat(f[3])/100,parseFloat(f[4])/100)}}else if("object"==typeof e&&e.isColor)return e;return!1}o.namedColors={},o.installColorSpace=function(e,r,i){o[e]=function(t){var n=Array.isArray(t)?t:arguments;r.forEach(function(t,i){var a=n[i];if("alpha"===t)this._alpha=isNaN(a)||a>1?1:a<0?0:a;else{if(isNaN(a))throw Error("["+e+"]: Invalid color: ("+r.join(",")+")");"hue"===t?this._hue=a<0?a-Math.floor(a):a%1:this["_"+t]=a<0?0:a>1?1:a}},this)},o[e].propertyNames=r;var a=o[e].prototype;for(var s in["valueOf","hex","hexa","css","cssa"].forEach(function(t){a[t]=a[t]||("RGB"===e?a.hex:function(){return this.rgb()[t]()})}),a.isColor=!0,a.equals=function(t,i){n(i)&&(i=1e-10),t=t[e.toLowerCase()]();for(var a=0;ai)return!1;return!0},a.toJSON=function(){return[e].concat(r.map(function(e){return this["_"+e]},this))},i)if(i.hasOwnProperty(s)){var l=s.match(/^from(.*)$/);l?o[l[1].toUpperCase()].prototype[e.toLowerCase()]=i[s]:a[s]=i[s]}function c(e,t){var n={};for(var r in n[t.toLowerCase()]=function(){return this.rgb()[t.toLowerCase()]()},o[t].propertyNames.forEach(function(e){var r="black"===e?"k":e.charAt(0);n[e]=n[r]=function(n,r){return this[t.toLowerCase()]()[e](n,r)}}),n)n.hasOwnProperty(r)&&void 0===o[e].prototype[r]&&(o[e].prototype[r]=n[r])}return a[e.toLowerCase()]=function(){return this},a.toString=function(){return"["+e+" "+r.map(function(e){return this["_"+e]},this).join(", ")+"]"},r.forEach(function(e){var t="black"===e?"k":e.charAt(0);a[e]=a[t]=function(t,n){return void 0===t?this["_"+e]:new this.constructor(n?r.map(function(n){return this["_"+n]+(e===n?t:0)},this):r.map(function(n){return e===n?t:this["_"+n]},this))}}),t.forEach(function(t){c(e,t),c(t,e)}),t.push(e),o},o.pluginList=[],o.use=function(e){return -1===o.pluginList.indexOf(e)&&(this.pluginList.push(e),e(o)),o},o.installMethod=function(e,n){return t.forEach(function(t){o[t].prototype[e]=n}),this},o.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var e=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-e.length)+e},hexa:function(){var e=Math.round(255*this._alpha).toString(16);return"#"+"00".substr(0,2-e.length)+e+this.hex().substr(1,6)},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),e.exports=o},9052:e=>{"use strict";function t(e){var t,n,r,i,a;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=RegExp((r="(?:[^\\\\-]|"+(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+")")+"-"+r),a={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:i,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":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|{"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=[]},9519:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{e.exports=function(e){e.use(n(49900)),e.installMethod("lighten",function(e){return this.lightness(isNaN(e)?.1:e,!0)})}},9614:(e,t,n)=>{"use strict";e.exports=i;var r=n(7610);function i(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var a="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");function o(e){return e.type===i.Bytes?e.readVarint()+e.pos:e.pos+1}function s(e,t,n){return n?0x100000000*t+(e>>>0):(t>>>0)*0x100000000+(e>>>0)}function l(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=0xfffffff?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=e;i--)n.buf[i+r]=n.buf[i]}function c(e,t){for(var n=0;n>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function E(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos>3,a=this.pos;this.type=7&r,e(i,t,this),this.pos===a&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=y(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=E(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=y(this.buf,this.pos)+0x100000000*y(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=y(this.buf,this.pos)+0x100000000*E(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return(t=127&(n=r[this.pos++]),n<128||(t|=(127&(n=r[this.pos++]))<<7,n<128||(t|=(127&(n=r[this.pos++]))<<14,n<128||(t|=(127&(n=r[this.pos++]))<<21,n<128))))?t:function(e,t,n){var r,i,a=n.buf;if(r=(112&(i=a[n.pos++]))>>4,i<128||(r|=(127&(i=a[n.pos++]))<<3,i<128)||(r|=(127&(i=a[n.pos++]))<<10,i<128)||(r|=(127&(i=a[n.pos++]))<<17,i<128)||(r|=(127&(i=a[n.pos++]))<<24,i<128)||(r|=(1&(i=a[n.pos++]))<<31,i<128))return s(e,r,t);throw Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this)},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?-((e+1)/2):e/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var e,t,n,r=this.readVarint()+this.pos,i=this.pos;return(this.pos=r,r-i>=12&&a)?(e=this.buf,t=i,n=r,a.decode(e.subarray(t,n))):function(e,t,n){for(var r="",i=t;i239?4:l>223?3:l>191?2:1;if(i+u>n)break;1===u?l<128&&(c=l):2===u?(192&(a=e[i+1]))==128&&(c=(31&l)<<6|63&a)<=127&&(c=null):3===u?(a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&((c=(15&l)<<12|(63&a)<<6|63&o)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&((c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),i+=u}return r}(this.buf,i,r)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==i.Bytes)return e.push(this.readVarint(t));var n=o(this);for(e=e||[];this.pos127;);else if(t===i.Bytes)this.pos=this.readVarint()+this.pos;else if(t===i.Fixed32)this.pos+=4;else if(t===i.Fixed64)this.pos+=8;else throw Error("Unimplemented type: "+t)},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t0xfffffff||e<0)return void function(e,t){var n,r,i,a,o;if(e>=0?(n=e%0x100000000|0,r=e/0x100000000|0):(n=~(-e%0x100000000),r=~(-e/0x100000000),0xffffffff^n?n=n+1|0:(n=0,r=r+1|0)),e>=0xffffffffffffffff||e<-0xffffffffffffffff)throw Error("Given varint doesn't fit into 10 bytes");t.realloc(10),i=n,a=0,(o=t).buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos++]=127&i|128,i>>>=7,o.buf[o.pos]=127&i,function(e,t){var n=(7&e)<<4;if(t.buf[t.pos++]|=n|128*!!(e>>>=3),e&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e)&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e))t.buf[t.pos++]=127&e|128*!!(e>>>=7),e&&(t.buf[t.pos++]=127&e|128*!!(e>>>=7),e&&(t.buf[t.pos++]=127&e))}(r,t)}(e,this);if(this.realloc(4),this.buf[this.pos++]=127&e|128*(e>127),!(e<=127))this.buf[this.pos++]=127&(e>>>=7)|128*(e>127),!(e<=127)&&(this.buf[this.pos++]=127&(e>>>=7)|128*(e>127),e<=127||(this.buf[this.pos++]=e>>>7&127))},writeSVarint:function(e){this.writeVarint(e<0?-(2*e)-1:2*e)},writeBoolean:function(e){this.writeVarint(!!e)},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,i,a=0;a55295&&r<57344)if(i)if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,i=r;continue}else r=i-55296<<10|r-56320|65536,i=null;else{r>56319||a+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):i=r;continue}else i&&(e[n++]=239,e[n++]=191,e[n++]=189,i=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&l(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n=128&&l(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,i.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,c,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,u,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,b,t)},writeBytesField:function(e,t){this.writeTag(e,i.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,i.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,i.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,i.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,!!t)}}},9681:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(94988),i=n(81472),a=n(69138),o=function(e,t){if(e===t)return!0;if(!e||!t||(0,a.A)(e)||(0,a.A)(t))return!1;if((0,i.A)(e)||(0,i.A)(t)){if(e.length!==t.length)return!1;for(var n=!0,s=0;s{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{A:()=>r}),Array.prototype.slice},9949:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(39566),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},9999:e=>{e.exports=function(){for(var e={},n=0;n{"use strict";function r(e,t,n,r,i){let a=n||0,o=r||e.length,s=i||(e=>e);for(;at?o=n:a=n+1}return a}n.d(t,{h:()=>r})},10574:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(t,{A:()=>r})},10857: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=[]},10992:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81472);function i(e){if((0,r.A)(e))return e[e.length-1]}},10998: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=[]},11156:(e,t,n)=>{"use strict";function r(e,t){class n extends e{constructor(e){super(Object.assign(Object.assign({},e),{lib:t}))}}return n}n.d(t,{X:()=>r})},11236:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.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 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z"}}]},name:"file-zip",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},11330:(e,t,n)=>{"use strict";n.d(t,{$P:()=>d,Et:()=>o,Fq:()=>l,Gv:()=>p,JC:()=>s,Kg:()=>a,Lm:()=>h,Oq:()=>u,cy:()=>f,dI:()=>g,gD:()=>i,u_:()=>c});var r=n(95483);function i(e){return null==e||""===e||Number.isNaN(e)||"null"===e}function a(e){return"string"==typeof e}function o(e){return"number"==typeof e}function s(e){if(a(e)){var t=!1,n=e;/^[+-]/.test(n)&&(n=n.slice(1));for(var r=0;r{"use strict";var r=n(42093);function i(e){var t,n;e.register(r),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=i,i.displayName="soy",i.aliases=[]},11711:(e,t,n)=>{var r=n(18028),i=n(12792);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):0}},11716:(e,t,n)=>{"use strict";function r(e,t,n){var r=e[0],i=e[1];return[r+(t[0]-r)*n,i+(t[1]-i)*n]}n.d(t,{l:()=>r})},11921: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=[]},12002:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r={gridGroup:"grid-group",mainGroup:"main-group",lineGroup:"line-group",tickGroup:"tick-group",labelGroup:"label-group",titleGroup:"title-group",grid:"grid",line:"line",lineFirst:"line-first",lineSecond:"line-second",tick:"tick",tickItem:"tick-item",label:"label",labelItem:"label-item",title:"title"}},12106:(e,t,n)=>{"use strict";var r=n(78179);function i(e){var t;e.register(r),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=i,i.displayName="json5",i.aliases=[]},12143:(e,t,n)=>{"use strict";var r=n(84095),i=n(60146);e.exports=function(e){return r(e)||i(e)}},12144: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"]},12569:(e,t,n)=>{"use strict";var r=n(32027);function i(e){e.register(r),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=i,i.displayName="phpExtras",i.aliases=[]},12687:(e,t,n)=>{"use strict";var r=n(89136),i=n(57859),a=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:a,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:s,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},12792:e=>{e.exports=function(e,t){for(var n,r=-1,i=e.length;++r{"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"],r=0;r{"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=[]},13259:e=>{"use strict";function t(e,t,u){u=u||2;var d,f,m,b,y,v,E,_=t&&t.length,x=_?t[0]*u:e.length,A=n(e,0,x,u,!0),S=[];if(!A||A.next===A.prev)return S;if(_&&(A=function(e,t,a,l){var c,u,d,f,g,m=[];for(c=0,u=t.length;c=a.next.y&&a.next.y!==a.y){var d=a.x+(c-a.y)*(a.next.x-a.x)/(a.next.y-a.y);if(d<=l&&d>u&&(u=d,i=a.x=a.x&&a.x>=g&&l!==a.x&&o(ci.x||a.x===i.x&&(n=i,r=a,0>s(n.prev,n,r.prev)&&0>s(r.next,n,n.next))))&&(i=a,b=p)),a=a.next}while(a!==f);return i}(e,t);if(!n)return t;var i=p(n,e);return r(i,i.next),r(n,n.next)}(m[c],a);return a}(e,t,A,u)),e.length>80*u){d=m=e[0],f=b=e[1];for(var w=u;wm&&(m=y),v>b&&(b=v);E=0!==(E=Math.max(m-d,b-f))?32767/E:0}return function e(t,n,i,u,d,f,m){if(t){!m&&f&&function(e,t,n,r){var i=e;do 0===i.z&&(i.z=a(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){var t,n,r,i,a,o,s,l,c=1;do{for(n=e,e=null,a=null,o=0;n;){for(o++,r=n,s=0,t=0;t0||l>0&&r;)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=r}a.nextZ=null,c*=2}while(o>1)}(i)}(t,u,d,f);for(var b,y,v=t;t.prev!==t.next;){if(b=t.prev,y=t.next,f?function(e,t,n,r){var i=e.prev,l=e.next;if(s(i,e,l)>=0)return!1;for(var c=i.x,u=e.x,d=l.x,h=i.y,p=e.y,f=l.y,g=cu?c>d?c:d:u>d?u:d,y=h>p?h>f?h:f:p>f?p:f,v=a(g,m,t,n,r),E=a(b,y,t,n,r),_=e.prevZ,x=e.nextZ;_&&_.z>=v&&x&&x.z<=E;){if(_.x>=g&&_.x<=b&&_.y>=m&&_.y<=y&&_!==i&&_!==l&&o(c,h,u,p,d,f,_.x,_.y)&&s(_.prev,_,_.next)>=0||(_=_.prevZ,x.x>=g&&x.x<=b&&x.y>=m&&x.y<=y&&x!==i&&x!==l&&o(c,h,u,p,d,f,x.x,x.y)&&s(x.prev,x,x.next)>=0))return!1;x=x.nextZ}for(;_&&_.z>=v;){if(_.x>=g&&_.x<=b&&_.y>=m&&_.y<=y&&_!==i&&_!==l&&o(c,h,u,p,d,f,_.x,_.y)&&s(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;x&&x.z<=E;){if(x.x>=g&&x.x<=b&&x.y>=m&&x.y<=y&&x!==i&&x!==l&&o(c,h,u,p,d,f,x.x,x.y)&&s(x.prev,x,x.next)>=0)return!1;x=x.nextZ}return!0}(t,u,d,f):function(e){var t=e.prev,n=e.next;if(s(t,e,n)>=0)return!1;for(var r=t.x,i=e.x,a=n.x,l=t.y,c=e.y,u=n.y,d=ri?r>a?r:a:i>a?i:a,f=l>c?l>u?l:u:c>u?c:u,g=n.next;g!==t;){if(g.x>=d&&g.x<=p&&g.y>=h&&g.y<=f&&o(r,l,i,c,a,u,g.x,g.y)&&s(g.prev,g,g.next)>=0)return!1;g=g.next}return!0}(t)){n.push(b.i/i|0),n.push(t.i/i|0),n.push(y.i/i|0),g(t),t=y.next,v=y.next;continue}if((t=y)===v){m?1===m?e(t=function(e,t,n){var i=e;do{var a=i.prev,o=i.next.next;!l(a,o)&&c(a,i,i.next,o)&&h(a,o)&&h(o,a)&&(t.push(a.i/n|0),t.push(i.i/n|0),t.push(o.i/n|0),g(i),g(i.next),i=e=o),i=i.next}while(i!==e);return r(i)}(r(t),n,i),n,i,u,d,f,2):2===m&&function(t,n,i,a,o,u){var d=t;do{for(var f,g,m=d.next.next;m!==d.prev;){if(d.i!==m.i&&(f=d,g=m,f.next.i!==g.i&&f.prev.i!==g.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&c(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(f,g)&&(h(f,g)&&h(g,f)&&function(e,t){var n=e,r=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do n.y>a!=n.next.y>a&&n.next.y!==n.y&&i<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next;while(n!==e);return r}(f,g)&&(s(f.prev,f,g.prev)||s(f,g.prev,g))||l(f,g)&&s(f.prev,f,f.next)>0&&s(g.prev,g,g.next)>0))){var b=p(d,m);d=r(d,d.next),b=r(b,b.next),e(d,n,i,a,o,u,0),e(b,n,i,a,o,u,0);return}m=m.next}d=d.next}while(d!==t)}(t,n,i,u,d,f):e(r(t),n,i,u,d,f,1);break}}}}(A,S,u,d,f,E,0),S}function n(e,t,n,r,i){var a,o;if(i===b(e,t,n,r)>0)for(a=t;a=t;a-=r)o=f(a,e[a],e[a+1],o);return o&&l(o,o.next)&&(g(o),o=o.next),o}function r(e,t){if(!e)return e;t||(t=e);var n,r=e;do if(n=!1,!r.steiner&&(l(r,r.next)||0===s(r.prev,r,r.next))){if(g(r),(r=t=r.prev)===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function i(e,t){return e.x-t.x}function a(e,t,n,r,i){return(e=((e=((e=((e=((e=(e-n)*i|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)|(t=((t=((t=((t=((t=(t-r)*i|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)<<1}function o(e,t,n,r,i,a,o,s){return(i-o)*(t-s)>=(e-o)*(a-s)&&(e-o)*(r-s)>=(n-o)*(t-s)&&(n-o)*(a-s)>=(i-o)*(r-s)}function s(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function l(e,t){return e.x===t.x&&e.y===t.y}function c(e,t,n,r){var i=d(s(e,t,n)),a=d(s(e,t,r)),o=d(s(n,r,e)),l=d(s(n,r,t));return!!(i!==a&&o!==l||0===i&&u(e,n,t)||0===a&&u(e,r,t)||0===o&&u(n,e,r)||0===l&&u(n,t,r))}function u(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function d(e){return e>0?1:e<0?-1:0}function h(e,t){return 0>s(e.prev,e,e.next)?s(e,t,e.next)>=0&&s(e,e.prev,t)>=0:0>s(e,t,e.prev)||0>s(e,e.next,t)}function p(e,t){var n=new m(e.i,e.x,e.y),r=new m(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,a.next=r,r.prev=a,r}function f(e,t,n,r){var i=new m(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function g(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function m(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(e,t,n,r){for(var i=0,a=t,o=n-r;a0&&(r+=e[i-1].length,n.holes.push(r))}return n}},13290:e=>{e.exports=function(e){return!!e&&"string"!=typeof e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},13314:(e,t,n)=>{"use strict";var r=n(20414),i=a(Error);function a(e){return t.displayName=e.displayName||e.name,t;function t(t){return t&&(t=r.apply(null,arguments)),new e(t)}}e.exports=i,i.eval=a(EvalError),i.range=a(RangeError),i.reference=a(ReferenceError),i.syntax=a(SyntaxError),i.type=a(TypeError),i.uri=a(URIError),i.create=a},13395: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=[]},13630:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 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:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},13663:(e,t,n)=>{"use strict";var r=n(67912);function i(e,t,n){if(3===e){var i=new r(n,n.readVarint()+n.pos);i.length&&(t[i.name]=i)}}e.exports=function(e,t){this.layers=e.readFields(i,{},t)}},13721:e=>{"use strict";function t(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},13908:(e,t,n)=>{var r=n(40566);e.exports=function(e){return r(e)&&e!=+e}},14007:(e,t,n)=>{"use strict";n.d(t,{LC:()=>s,Qg:()=>a,n1:()=>o});var r=n(14837),i=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};function a(e){return(t,...n)=>(0,r.A)({},e(t,...n),t)}function o(e){return(t,...n)=>(0,r.A)({},t,e(t,...n))}function s(e,t){if(!e)return t;if(Array.isArray(e))return e;if(!(e instanceof Date)&&"object"==typeof e){let{value:n=t}=e;return Object.assign(Object.assign({},i(e,["value"])),{value:n})}return e}},14133:(e,t,n)=>{"use strict";function r(e,...t){return t.reduce((e,t)=>n=>e(t(n)),e)}n.d(t,{Z:()=>r})},14154:e=>{"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var i={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/},a=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:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},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=a.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.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=[]},14163: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=[]},14229:(e,t,n)=>{var r=n(84342),i=n(85855),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(a,r).replace(o,"")}},14288:(e,t,n)=>{"use strict";n.d(t,{fA:()=>o,vt:()=>i,z0:()=>a});var r=n(31142);function i(){var e=new r.tb(9);return r.tb!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function o(e,t,n,i,a,o,s,l,c){var u=new r.tb(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=i,u[4]=a,u[5]=o,u[6]=s,u[7]=l,u[8]=c,u}},14353:(e,t,n)=>{"use strict";function r(e){let{transformations:t}=e.getOptions();return t.map(([e])=>e).filter(e=>"transpose"===e).length%2!=0}function i(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function a(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function o(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function s(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function l(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function c(e){return s(e)&&i(e)}function u(e){return o(e)||i(e)}function d(e){return i(e)&&r(e)}function h(e){if(u(e)){let[t,n]=e.getSize(),r=e.getOptions().transformations.find(e=>"polar"===e[0]);if(r)return Math.max(t,n)/2*r[4]}return 0}function p(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function f(e,t=!0){let{transformations:n}=e.getOptions(),[,r,i]=n.find(e=>"polar"===e[0]);return t?[180*r/Math.PI,180*i/Math.PI]:[r,i]}function g(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}n.d(t,{$4:()=>o,AO:()=>a,K7:()=>s,T_:()=>c,XV:()=>f,YL:()=>u,Zf:()=>d,ey:()=>l,jN:()=>g,kH:()=>r,nJ:()=>h,pz:()=>i,qZ:()=>p})},14379:(e,t,n)=>{"use strict";n.d(t,{UB:()=>a,cK:()=>o,sI:()=>s});var r=n(39249),i=n(25832);function a(e,t,n){var r=Math.round((e-n)/t);return n+r*t}function o(e,t,n,i){void 0===i&&(i=4);var a,o=(0,r.zs)(e,2),s=o[0],l=o[1],c=(0,r.zs)(t,2),u=c[0],d=c[1],h=(0,r.zs)(n,2),p=h[0],f=h[1],g=(0,r.zs)([u,d],2),m=g[0],b=g[1],y=b-m;return(m>b&&(m=(a=(0,r.zs)([b,m],2))[0],b=a[1]),y>l-s)?[s,l]:ml?f===l&&p===m?[m,l]:[l-y,l]:[m,b]}function s(e,t,n){return void 0===e&&(e="horizontal"),"horizontal"===e?t:n}i.p.registerSymbol("hiddenHandle",function(e,t,n){var r=1.4*n;return[["M",e-n,t-r],["L",e+n,t-r],["L",e+n,t+r],["L",e-n,t+r],["Z"]]}),i.p.registerSymbol("verticalHandle",function(e,t,n){var r=1.4*n,i=n/2,a=n/6,o=e+.4*r;return[["M",e,t],["L",o,t+i],["L",e+r,t+i],["L",e+r,t-i],["L",o,t-i],["Z"],["M",o,t+a],["L",e+r-2,t+a],["M",o,t-a],["L",e+r-2,t-a]]}),i.p.registerSymbol("horizontalHandle",function(e,t,n){var r=1.4*n,i=n/2,a=n/6,o=t+.4*r;return[["M",e,t],["L",e-i,o],["L",e-i,t+r],["L",e+i,t+r],["L",e+i,o],["Z"],["M",e-a,o],["L",e-a,t+r-2],["M",e+a,o],["L",e+a,t+r-2]]})},14438:(e,t,n)=>{"use strict";n.d(t,{W:()=>u});var r=n(10992),i=n(50636),a=n(59222),o=n(3021),s=n(96474),l=n(2018),c=n(51750);class u extends o.W{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:s.Hx,tickMethod:l.O,tickCount:5}}removeUnsortedValues(e,t,n){let r=-1/0;return t.reduce((e,i,a)=>{if(0===a)return e;let o=r>0?r:i;return r>0&&(n?i>r:i{e.splice(n,1),t.splice(n,1)}),{breaksDomain:e,breaksRange:t}}transformDomain(e){let t=.03,{domain:n=[],range:i=[1,0],breaks:a=[],tickCount:o=5,nice:s}=e,[u,d]=[Math.min(...n),Math.max(...n)],h=u,p=d;if(s&&a.length<2){let e=this.chooseNice()(u,d,o);h=e[0],p=e[e.length-1]}let f=Math.min(h,u),g=Math.max(p,d),m=a.filter(({end:e})=>ee.start-t.start),b=(0,l.O)(f,g,o,m);if((0,r.A)(b)v,A=b.map(e=>{let t=(e-f)/E;return x?y-t*_:y+t*_}),[S,w]=[.2,.8];return m.forEach(({start:e,end:n,gap:r=t,compress:i="middle"})=>{let a=b.indexOf(e),o=b.indexOf(n),s=(A[a]+A[o])/2;"start"===i&&(s=A[a]),"end"===i&&(s=A[o]);let l=r*_/2,c=x?s+l:s-l,u=x?s-l:s+l;cw&&(c-=u-w,u=w),c>w&&(u-=c-w,c=w),ue[...s]}}chooseTransforms(){return[a.A,a.A]}clone(){return new u(this.options)}}},14731:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},14742:(e,t,n)=>{"use strict";function r(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}function i(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}n.d(t,{k:()=>i,x:()=>r})},14808:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},14816: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=[]},15099: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=[]},15110:(e,t,n)=>{"use strict";var r=n(67526);function i(e){var t,n;e.register(r),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=i,i.displayName="cpp",i.aliases=[]},15207:(e,t,n)=>{"use strict";var r=Math.log(2),i=e.exports,a=n(28145);function o(e){return 1-Math.abs(e)}e.exports.getUnifiedMinMax=function(e,t){return i.getUnifiedMinMaxMulti([e],t)},e.exports.getUnifiedMinMaxMulti=function(e,t){t=t||{};var n=!1,r=!1,i=a.isNumber(t.width)?t.width:2,o=a.isNumber(t.size)?t.size:50,s=a.isNumber(t.min)?t.min:(n=!0,a.findMinMulti(e)),l=a.isNumber(t.max)?t.max:(r=!0,a.findMaxMulti(e)),c=(l-s)/(o-1);return n&&(s-=2*i*c),r&&(l+=2*i*c),{min:s,max:l}},e.exports.create=function(e,t){if(t=t||{},!e||0===e.length)return[];var n=a.isNumber(t.size)?t.size:50,r=a.isNumber(t.width)?t.width:2,s=i.getUnifiedMinMax(e,{size:n,width:r,min:t.min,max:t.max}),l=s.min,c=s.max-l,u=c/(n-1);if(0===c)return[{x:l,y:1}];for(var d=[],h=0;h=d.length)){var n=Math.max(t-r,0),i=Math.min(t+r,d.length-1),o=n-(t-r),s=t+r-i,c=f/(f-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(m+=c*(o-1)*g);var h=Math.max(0,t-r+1);a.inside(0,d.length-1,h)&&(d[h].y+=c*g),a.inside(0,d.length-1,t+1)&&(d[t+1].y-=2*c*g),a.inside(0,d.length-1,i+1)&&(d[i+1].y+=c*g)}});var b=m,y=0,v=0;return d.forEach(function(e){y+=e.y,e.y=b+=y,v+=b}),v>0&&d.forEach(function(e){e.y/=v}),d},e.exports.getExpectedValueFromPdf=function(e){if(e&&0!==e.length){var t=0;return e.forEach(function(e){t+=e.x*e.y}),t}},e.exports.getXWithLeftTailArea=function(e,t){if(e&&0!==e.length){for(var n=0,r=0,i=0;i=t));i++);return e[r].x}},e.exports.getPerplexity=function(e){if(e&&0!==e.length){var t=0;return e.forEach(function(e){var n=Math.log(e.y);isFinite(n)&&(t+=e.y*n)}),Math.pow(2,t=-t/r)}}},15581:(e,t,n)=>{"use strict";function r(e,t){let n=0;if(void 0===t)for(let t of e)(t*=1)&&(n+=t);else{let r=-1;for(let i of e)(i=+t(i,++r,e))&&(n+=i)}return n}n.d(t,{A:()=>r})},15584: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=[]},15764:(e,t,n)=>{"use strict";n.d(t,{C:()=>m});var r=n(39249),i=n(86372),a=n(73534),o=n(37022),s=n(87287),l=n(74673),c=n(68058),u=n(96816),d=n(79535),h=n(66911),p=n(2638),f={backgroundFill:"#262626",backgroundLineCap:"round",backgroundLineWidth:1,backgroundStroke:"#333",backgroundZIndex:-1,formatter:function(e){return e.toString()},labelFill:"#fff",labelFontSize:12,labelTextBaseline:"middle",padding:[2,4],position:"right",radius:0,zIndex:999},g=(0,o.x)({background:"background",labelGroup:"label-group",label:"label"},"indicator"),m=function(e){function t(t){var n=e.call(this,t,f)||this;return n.point=[0,0],n.group=n.appendChild(new i.YJ({})),n.isMutationObserved=!0,n}return(0,r.C6)(t,e),t.prototype.renderBackground=function(){if(this.label){var e=this.attributes,t=e.position,n=e.padding,i=(0,r.zs)((0,s.i)(n),4),a=i[0],o=i[1],d=i[2],h=i[3],p=this.label.node().getLocalBounds(),f=p.min,m=p.max,b=new l.E(f[0]-h,f[1]-a,m[0]+o-f[0]+h,m[1]+d-f[1]+a),y=this.getPath(t,b),v=(0,c.iA)(this.attributes,"background");this.background=(0,u.Lt)(this.group).maybeAppendByClassName(g.background,"path").styles((0,r.Cl)((0,r.Cl)({},v),{d:y})),this.group.appendChild(this.label.node())}},t.prototype.renderLabel=function(){var e=this.attributes,t=e.formatter,n=e.labelText,i=(0,c.iA)(this.attributes,"label"),a=(0,r.zs)((0,c.u0)(i),2),o=a[0],s=a[1],l=(o.text,(0,r.Tt)(o,["text"]));this.label=(0,u.Lt)(this.group).maybeAppendByClassName(g.labelGroup,"g").styles(s),n&&this.label.maybeAppendByClassName(g.label,function(){return(0,d.z)(t(n))}).style("text",t(n).toString()).selectAll("text").styles(l)},t.prototype.adjustLayout=function(){var e=(0,r.zs)(this.point,2),t=e[0],n=e[1],i=this.attributes,a=i.x,o=i.y;this.group.attr("transform","translate(".concat(a-t,", ").concat(o-n,")"))},t.prototype.getPath=function(e,t){var n=this.attributes.radius,i=t.x,a=t.y,o=t.width,s=t.height,l=[["M",i+n,a],["L",i+o-n,a],["A",n,n,0,0,1,i+o,a+n],["L",i+o,a+s-n],["A",n,n,0,0,1,i+o-n,a+s],["L",i+n,a+s],["A",n,n,0,0,1,i,a+s-n],["L",i,a+n],["A",n,n,0,0,1,i+n,a],["Z"]],c={top:4,right:6,bottom:0,left:2}[e],u=this.createCorner([l[c].slice(-2),l[c+1].slice(-2)]);return l.splice.apply(l,(0,r.fX)([c+1,1],(0,r.zs)(u),!1)),l[0][0]="M",l},t.prototype.createCorner=function(e,t){void 0===t&&(t=10);var n=h.$b.apply(void 0,(0,r.fX)([],(0,r.zs)(e),!1)),i=(0,r.zs)(e,2),a=(0,r.zs)(i[0],2),o=a[0],s=a[1],l=(0,r.zs)(i[1],2),c=l[0],u=l[1],d=(0,r.zs)(n?[c-o,[o,c]]:[u-s,[s,u]],2),p=d[0],f=(0,r.zs)(d[1],2),g=f[0],m=f[1],b=p/2,y=p/Math.abs(p)*t,v=y/2,E=y*Math.sqrt(3)/2*.8,_=(0,r.zs)([g,g+b-v,g+b,g+b+v,m],5),x=_[0],A=_[1],S=_[2],w=_[3],O=_[4];return n?(this.point=[S,s-E],[["L",x,s],["L",A,s],["L",S,s-E],["L",w,s],["L",O,s]]):(this.point=[o+E,S],[["L",o,x],["L",o,A],["L",o+E,S],["L",o,w],["L",o,O]])},t.prototype.applyVisibility=function(){"hidden"===this.attributes.visibility?(0,p.jD)(this):(0,p.WU)(this)},t.prototype.bindEvents=function(){this.label.on(i.jX.BOUNDS_CHANGED,this.renderBackground)},t.prototype.render=function(){this.renderLabel(),this.renderBackground(),this.adjustLayout(),this.applyVisibility()},t}(a.u)},15951:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},16131:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="ejs",i.aliases=["eta"]},16301:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(54573);function i(){return{type:"break"}}function a(){return function(e){(0,r.T)(e,[/\r?\n|\r/g,i])}}},16913: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"}')},17033:(e,t,n)=>{"use strict";function r(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}n.d(t,{D:()=>r})},17218: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=[]},17333:(e,t,n)=>{"use strict";var r=n(64073),i=n(95994);function a(e){var t,n,a;e.register(r),e.register(i),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,a=/(?:\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+"(?:"+a+")"),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=a,a.displayName="javadoc",a.aliases=[]},17556:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=new Map;function i(e,t,n){return void 0===n&&(n=128),function(){for(var i=[],a=0;ai&&(r=n,o(1),++t),n[e]=a}function o(e){t=0,n=Object.create(null),e||(r=Object.create(null))}return o(),{clear:o,has:function(e){return void 0!==n[e]||void 0!==r[e]},get:function(e){var t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set:function(e,t){void 0!==n[e]?n[e]=t:a(e,t)}}}(n));var s=r.get(e);if(s.has(o))return s.get(o);var l=e.apply(this,i);return s.set(o,l),l}}},17656:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1002),a=r(n(80553));t.default=function(e){var t=(void 0===e?{}:e).theme,n=void 0===t?"default":t;return function(e){var t=[];if((0,i.visit)(e,{type:"code",lang:"mermaid"},function(e,n,r){t.push([e.value,n,r])}),!t.length)return e;var r=t.map(function(e){var t=e[0],r="mermaid"+Math.random().toString(36).slice(2);a.default.initialize({theme:n});var i=document.createElement("div");return i.innerHTML='
'.concat(a.default.render(r,t),"
"),i.innerHTML});t.forEach(function(e,t){var n=e[1],i=e[2],a=r[t];i.children.splice(n,1,{type:"html",value:a})})}}},17855:e=>{var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+t+"]",a="(?:\ud83c[\udde6-\uddff]){2}",o="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c="(?:\\u200d(?:"+[i,a,o].join("|")+")"+l+s+")*",u=RegExp(r+"(?="+r+")|"+("(?:"+[i+n+"?",n,a,o,"["+t+"]"].join("|"))+")"+(l+s+c),"g");e.exports=function(e){return e.match(u)||[]}},17968:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="twig",i.aliases=[]},18287: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},r={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:r},{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:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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 i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o{"use strict";function t(e){var t,n,r;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/],r={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":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.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":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},18520:e=>{"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n{"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=[]},18619: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=[]},18909: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=[]},18961:(e,t,n)=>{"use strict";n.d(t,{Fm:()=>a,Nw:()=>i,Wy:()=>r,r3:()=>o});let r="g2-";function i(e){return`.${r}${e}`}let a=[["legendCategory",[[["color","discrete"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["shape","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","discrete"]],[["color","discrete"],["opacity","discrete"],["size","constant"]],[["color","discrete"],["opacity","constant"],["shape","discrete"]],[["color","discrete"],["opacity","constant"],["size","constant"]],[["color","discrete"],["shape","constant"],["size","constant"]],[["color","discrete"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["opacity","constant"],["shape","constant"]],[["color","constant"],["shape","discrete"],["size","constant"]],[["color","constant"],["opacity","discrete"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["size","constant"]],[["color","constant"],["opacity","constant"],["shape","discrete"]],[["color","constant"],["opacity","discrete"],["shape","constant"]],[["color","discrete"],["shape","discrete"]],[["color","discrete"],["size","constant"]],[["color","discrete"],["opacity","discrete"]],[["color","discrete"],["opacity","constant"]],[["color","discrete"],["shape","constant"]],[["color","constant"],["shape","discrete"]],[["color","constant"],["size","constant"]],[["color","constant"],["opacity","discrete"]],[["color","discrete"]]]],["legendContinuousSize",[[["color","continuous"],["opacity","continuous"],["size","continuous"]],[["color","constant"],["opacity","continuous"],["size","continuous"]],[["color","continuous"],["size","continuous"]],[["color","constant"],["size","continuous"]],[["size","continuous"],["opacity","continuous"]],[["size","continuous"]]]],["legendContinuousBlockSize",[[["color","distribution"],["opacity","distribution"],["size","distribution"]],[["color","distribution"],["size","distribution"]]]],["legendContinuousBlock",[[["color","distribution"],["opacity","continuous"]],[["color","distribution"]]]],["legendContinuous",[[["color","continuous"],["opacity","continuous"]],[["color","continuous"]],[["opacity","continuous"]]]]],o=["lineX","lineY","rangeX","rangeY","range","connector"]},18995:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,o=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(o,n)?o[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},19132: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=[]},19361:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(90510).A},19665:e=>{"use strict";function t(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\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=[]},19705: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=[]},19988: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=[]},20114: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=[]},20167:e=>{"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},20350:(e,t,n)=>{var r=n(65836);e.exports=function(e){return e&&e.length?r(e):[]}},20414:e=>{!function(){var t;function n(e){for(var t,n,r,i,a=1,o=[].slice.call(arguments),s=0,l=e.length,c="",u=!1,d=!1,h=function(){return o[a++]};s0?parseInt(n):null}(),t){case"b":c+=parseInt(h(),10).toString(2);break;case"c":"string"==typeof(n=h())||n instanceof String?c+=n:c+=String.fromCharCode(parseInt(n,10));break;case"d":c+=parseInt(h(),10);break;case"f":r=String(parseFloat(h()).toFixed(i||6)),c+=d?r:r.replace(/^0/,"");break;case"j":c+=JSON.stringify(h());break;case"o":c+="0"+parseInt(h(),10).toString(8);break;case"s":c+=h();break;case"x":c+="0x"+parseInt(h(),10).toString(16);break;case"X":c+="0x"+parseInt(h(),10).toString(16).toUpperCase();break;default:c+=t}else"%"===t?u=!0:c+=t;return c}(t=e.exports=n).format=n,t.vsprintf=function(e,t){return n.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(n.apply(null,arguments))})}()},20430:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(14837);class i{transformBreaks(e){return e}constructor(e){var t;this.options=(0,r.A)({},this.getDefaultOptions()),this.update((null==(t=null==e?void 0:e.breaks)?void 0:t.length)?this.transformBreaks(e):e)}getOptions(){return this.options}update(e={}){let t=e.breaks?this.transformBreaks(e):e;this.options=(0,r.A)({},this.options,t),this.rescale(t)}rescale(e){}}},20582:e=>{"use strict";function t(e){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-])(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)|<(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)>)(?![\\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=[]},20858: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=[]},21008:(e,t,n)=>{"use strict";function r(e){var t=e.slice(1).map(function(t,n,r){return n?r[n-1].slice(-2).concat(t.slice(1)):e[0].slice(1).concat(t.slice(1))}).map(function(e){return e.map(function(t,n){return e[e.length-n-2*(1-n%2)]})}).reverse();return[["M"].concat(t[0].slice(0,2))].concat(t.map(function(e){return["C"].concat(e.slice(2))}))}n.d(t,{s:()=>r})},21154: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=[]},21447:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(78743),i=n(12115),a=n(34093),o=n(28820),s=n(38397),l=n(95155),c=n(71965),u=n(96705),d=n(54514),h=n(88428),p=n(36174);let f=[],g={allowDangerousHtml:!0},m=/^(https?|ircs?|mailto|xmpp)$/i,b=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function y(e){let t=function(e){let t=e.rehypePlugins||f,n=e.remarkPlugins||f,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...g}:g;return(0,d.l)().use(c.A).use(n).use(u.A,r).use(t)}(e),n=function(e){let t=e.children||"",n=new p.T;return"string"==typeof t?n.value=t:(0,a.HB)("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,c=t.disallowedElements,u=t.skipHtml,d=t.unwrapDisallowed,p=t.urlTransform||v;for(let e of b)Object.hasOwn(t,e.from)&&(0,a.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see for more info)");return n&&c&&(0,a.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),(0,h.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return u?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in s.$)if(Object.hasOwn(s.$,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=s.$[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=p(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!c&&c.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return d&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),(0,o.H)(e,{Fragment:l.Fragment,components:i,ignoreInvalidStyle:!0,jsx:l.jsx,jsxs:l.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function v(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||m.test(e.slice(0,t))?e:""}var E=n(87264),_=n(53168),x=i.createContext(null),A=["children","components","rehypePlugins","remarkPlugins","eventSubs"];function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,A),c=(0,i.useMemo)(function(){return new r.A},[]),u=(0,i.useMemo)(function(){return{eventBus:c}},[c]);return(0,i.useEffect)(function(){if(s){for(var e=Object.keys(s),t=0;t{"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=[]},21741:(e,t,n)=>{"use strict";let r;n.r(t),n.d(t,{AJAXError:()=>ep,AttributeType:()=>ol,BKDRHash:()=>nN,BaiduMap:()=>bV,BaseLayer:()=>hG,BaseMapService:()=>bP,BaseMapWrapper:()=>gG,BaseModel:()=>hQ,BasePostProcessingPass:()=>aK,BlendType:()=>on,ButtonControl:()=>l1,CameraUniform:()=>a6,CanvasLayer:()=>h6,CanvasUpdateType:()=>h3,CityBuildingLayer:()=>pU,Control:()=>l0,CoordinateSystem:()=>a7,CoordinateUniform:()=>a9,DOM:()=>h,Earth:()=>bK,EarthLayer:()=>gy,ExportImage:()=>l7,FrequencyController:()=>t6,Fullscreen:()=>ci,GaodeMap:()=>vv,GaodeMapV1:()=>vE,GaodeMapV2:()=>v_,GeoLocate:()=>ca,GeometryLayer:()=>pq,GoogleMap:()=>b8,HeatmapLayer:()=>p1,IDebugLog:()=>oe,ILayerStage:()=>oa,ImageLayer:()=>p5,InteractionEvent:()=>ot,LRUCache:()=>nY,LayerPopup:()=>gH,LayerSwitch:()=>cs,LineLayer:()=>fu,LinearDir:()=>h0,LoadTileDataStatus:()=>n6,Logo:()=>cl,Map:()=>ye,MapLibre:()=>vi,MapServiceEvent:()=>oc,MapTheme:()=>cd,Mapbox:()=>ys,Marker:()=>lK,MarkerLayer:()=>lJ,MaskLayer:()=>f7,MaskOperation:()=>oi,MouseLocation:()=>ch,PassType:()=>aV,PointLayer:()=>fR,PolygonLayer:()=>fH,PopperControl:()=>l5,Popup:()=>gz,PositionType:()=>a8,RasterLayer:()=>fZ,RasterTileType:()=>sT,Satistics:()=>p,Scale:()=>cp,ScaleTypes:()=>oo,Scene:()=>Eq,SceneConifg:()=>en,SceneEventList:()=>sw,SelectControl:()=>l6,SizeUnitType:()=>h2,Source:()=>lX,SourceTile:()=>rs,StencilType:()=>or,StyleScaleType:()=>os,Swipe:()=>gB,TMap:()=>vl,TencentMap:()=>vy,TextureBlend:()=>h1,TextureUsage:()=>oH,TileDebugLayer:()=>gu,TileLayer:()=>gc,TilesetManager:()=>ry,UpdateTileStrategy:()=>n4,Viewport:()=>bS,WindLayer:()=>gj,Zoom:()=>gF,aProjectFlat:()=>ng,amap2Project:()=>nb,amap2UnProject:()=>ny,anchorTranslate:()=>eC,anchorType:()=>eO,applyAnchorClass:()=>ek,bBoxToBounds:()=>nA,bindAll:()=>t4,boundsContains:()=>nx,calAngle:()=>nO,calDistance:()=>nw,calculateCentroid:()=>nM,calculatePointsCenterAndRadius:()=>nL,createLayerContainer:()=>sS,createSceneContainer:()=>sA,decodePickingColor:()=>eN,defaultValue:()=>rA,djb2hash:()=>nR,encodePickingColor:()=>eR,expandUrl:()=>rE,extent:()=>nl,flow:()=>nk,formatImage:()=>eT,fp64LowPart:()=>na,generateCatRamp:()=>ej,generateColorRamp:()=>eP,generateCustomRamp:()=>eF,generateLinearRamp:()=>eD,generateQuantizeRamp:()=>eB,getAngle:()=>nC,getArrayBuffer:()=>ey,getBBoxFromPoints:()=>nI,getData:()=>eE,getDefaultDomain:()=>eU,getImage:()=>ew,getJSON:()=>eb,getProtocolAction:()=>eh,getReferrer:()=>t0,getTileIndices:()=>ra,getTileWarpXY:()=>ro,getURLFromTemplate:()=>r_,getWMTSURLFromTemplate:()=>rx,gl:()=>aq,globalConfigService:()=>s_,guid:()=>nP,isAndroid:()=>t3,isColor:()=>eL,isImageBitmap:()=>tQ,isNumber:()=>ni,isPC:()=>t5,isURLTemplate:()=>rv,isWorker:()=>tJ,isiOS:()=>t2,latitude:()=>np,lineAtOffset:()=>nV,lineAtOffsetAsyc:()=>nq,lineStyleType:()=>hJ,lngLatInExtent:()=>ns,lngLatToMeters:()=>nu,lnglatDistance:()=>nv,lodashUtil:()=>tx,longitude:()=>nh,makeXMLHttpRequestPromise:()=>eg,metersToLngLat:()=>nd,normalize:()=>nS,osmLonLat2TileXY:()=>rn,osmTileXY2LonLat:()=>rr,packCircleVertex:()=>a4,padBounds:()=>n_,postData:()=>ev,project:()=>nE,removeDuplicateUniforms:()=>a1,rgb2arr:()=>eI,sameOrigin:()=>e_,tileToBounds:()=>ri,tranfrormCoord:()=>nc,unProjectFlat:()=>nm,validateLngLat:()=>nf,version:()=>EY});var i,a,o,s,l,c,u,d,h={};n.r(h),n.d(h,{DPR:()=>tU,addClass:()=>tk,addStyle:()=>tH,appendElementType:()=>tX,clearChildren:()=>tY,create:()=>tO,css2Style:()=>tW,empty:()=>tP,findParentElement:()=>tK,getClass:()=>tR,getContainer:()=>tS,getDiffRect:()=>tV,getStyleList:()=>tG,getViewPortScale:()=>tz,hasClass:()=>tL,printCanvas:()=>tF,remove:()=>tC,removeClass:()=>tM,removeStyle:()=>t$,setChecked:()=>tq,setClass:()=>tI,setTransform:()=>tj,setUnDraggable:()=>tZ,splitWords:()=>tT,toggleClass:()=>tN,triggerResize:()=>tB,trim:()=>tw});var p={};n.r(p),n.d(p,{getColumn:()=>n1,getSatByColumn:()=>n2,max:()=>nZ,mean:()=>nQ,min:()=>nX,mode:()=>nJ,statMap:()=>n0,sum:()=>nK});var f=n(49509);function g(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){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){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function y(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i=0&&e.length%1==0},e.exports=t.default}(x,x.exports);var A={},S={exports:{}},w={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t.pop();return e.call(this,t,r)}},e.exports=t.default}(w,w.exports);var O={};Object.defineProperty(O,"__esModule",{value:!0}),O.fallback=L,O.wrap=I;var C=O.hasQueueMicrotask="function"==typeof queueMicrotask&&queueMicrotask,k=O.hasSetImmediate="function"==typeof setImmediate&&setImmediate,M=O.hasNextTick="object"==typeof f&&"function"==typeof f.nextTick;function L(e){setTimeout(e,0)}function I(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return e(function(){return t.apply(void 0,n)})}}O.default=I(C?queueMicrotask:k?setImmediate:M?f.nextTick:L),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.isAsync)(e)?function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t.pop();return a(e.apply(this,t),r)}:(0,n.default)(function(t,n){var r;try{r=e.apply(this,t)}catch(e){return n(e)}if(r&&"function"==typeof r.then)return a(r,n);n(null,r)})};var n=i(w.exports),r=i(O);function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return e.then(function(e){o(t,null,e)},function(e){o(t,e&&e.message?e:Error(e))})}function o(e,t,n){try{e(t,n)}catch(e){(0,r.default)(function(e){throw e},e)}}e.exports=t.default}(S,S.exports),Object.defineProperty(A,"__esModule",{value:!0}),A.isAsyncIterable=A.isAsyncGenerator=A.isAsync=void 0;var N=function(e){return e&&e.__esModule?e:{default:e}}(S.exports);function R(e){return"AsyncFunction"===e[Symbol.toStringTag]}A.default=function(e){if("function"!=typeof e)throw Error("expected a function");return R(e)?(0,N.default)(e):e},A.isAsync=R,A.isAsyncGenerator=function(e){return"AsyncGenerator"===e[Symbol.toStringTag]},A.isAsyncIterable=function(e){return"function"==typeof e[Symbol.asyncIterator]};var P={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(void 0===t&&(t=e.length),!t)throw Error("arity is undefined");return function(){for(var n=this,r=[],i=arguments.length;i--;)r[i]=arguments[i];return"function"==typeof r[t-1]?e.apply(this,r):new Promise(function(i,a){r[t-1]=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(e)return a(e);i(t.length>1?t:t[0])},e.apply(n,r)})}},e.exports=t.default}(P,P.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=i(x.exports),r=i(A);function i(e){return e&&e.__esModule?e:{default:e}}t.default=(0,i(P.exports).default)(function(e,t,i){var a=(0,n.default)(t)?[]:{};e(t,function(e,t,n){(0,r.default)(e)(function(e){for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];r.length<2&&(r=r[0]),a[t]=r,n(e)})},function(e){return i(e,a)})},3),e.exports=t.default}(_,_.exports);var D={exports:{}},j={exports:{}},B={exports:{}},F={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(null!==e){var r=e;e=null,r.apply(this,t)}}return Object.assign(t,e),t},e.exports=t.default}(F,F.exports);var z={exports:{}},U={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()},e.exports=t.default}(U,U.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e))return t=-1,i=e.length,function(){return++t=t||s||a||(s=!0,e.next().then(function(e){var t=e.value,r=e.done;if(!o&&!a){if(s=!1,r){a=!0,l<=0&&i(null);return}l++,n(t,c,d),c++,u()}}).catch(h))}function d(e,t){if(l-=1,!o){if(e)return h(e);if(!1===e){a=!0,o=!0;return}if(t===r.default||a&&l<=0)return a=!0,i(null);u()}}function h(e){o||(s=!1,a=!0,i(e))}u()};var n,r=(n=$.exports)&&n.__esModule?n:{default:n};e.exports=t.default}(G,G.exports),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=s(F.exports),r=s(z.exports),i=s(H.exports),a=s(G.exports),o=s($.exports);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t,s,l){if(l=(0,n.default)(l),e<=0)throw RangeError("concurrency limit cannot be less than 1");if(!t)return l(null);if((0,A.isAsyncGenerator)(t))return(0,a.default)(t,e,s,l);if((0,A.isAsyncIterable)(t))return(0,a.default)(t[Symbol.asyncIterator](),e,s,l);var c=(0,r.default)(t),u=!1,d=!1,h=0,p=!1;function f(e,t){if(!d)if(h-=1,e)u=!0,l(e);else if(!1===e)u=!0,d=!0;else{if(t===o.default||u&&h<=0)return u=!0,l(null);p||g()}}function g(){for(p=!0;h0;)r[i]=arguments[i+1];if(!1!==n){if(n||a===e.length)return t.apply(void 0,[n].concat(r));o(r)}}o([])}),e.exports=t.default}(X,X.exports);var K=v(X.exports);!function(){function e(){this.tasks=[]}e.prototype.call=function(){return K(this.tasks)},e.prototype.tap=function(e,t){0===this.tasks.length?this.tasks.push(function(e){var n=t();e(!!n&&null,n)}):this.tasks.push(function(n,r){r(!!t.apply(void 0,y([],b(n),!1))&&null,e)})}}();var Q=function(){function e(){this.tasks=[]}return e.prototype.call=function(){return W(this.tasks)},e.prototype.tap=function(e,t){this.tasks.push(function(n){n(t(),e)})},e}(),J=function(){function e(){this.args=[],this.tasks=[]}return e.prototype.promise=function(){for(var e=arguments,t=[],n=0;nt in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eu=(e,t)=>{for(var n in t||(t={}))es.call(t,n)&&ec(e,n,t[n]);if(eo)for(var n of eo(t))el.call(t,n)&&ec(e,n,t[n]);return e},ed=(e,t)=>ei(e,ea(t)),eh=e=>en.REGISTERED_PROTOCOLS[e.substring(0,e.indexOf("://"))],ep=class extends Error{constructor(e,t,n,r){super(`AJAXError: ${t} (${e}): ${n}`),this.status=e,this.statusText=t,this.url=n,this.body=r}};function ef(e,t){let n=new XMLHttpRequest,r=Array.isArray(e.url)?e.url[0]:e.url;for(let t in n.open(e.method||"GET",r,!0),"arrayBuffer"===e.type&&(n.responseType="arraybuffer"),e.headers)e.headers.hasOwnProperty(t)&&n.setRequestHeader(t,e.headers[t]);return"json"===e.type&&(n.responseType="text",n.setRequestHeader("Accept","application/json")),n.withCredentials="include"===e.credentials,n.onerror=()=>{t(Error(n.statusText))},n.onload=()=>{if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){let r=n.response;if("json"===e.type)try{r=JSON.parse(n.response)}catch(e){return t(e)}t(null,r,n.getResponseHeader("Cache-Control"),n.getResponseHeader("Expires"),n)}else{let e=new Blob([n.response],{type:n.getResponseHeader("Content-Type")});t(new ep(n.status,n.statusText,r.toString(),e))}},n.cancel=n.abort,n.send(e.body),n}function eg(e){return new Promise((t,n)=>{ef(e,(e,r,i,a,o)=>{e?n({err:e,data:null,xhr:o}):t({err:null,data:r,cacheControl:i,expires:a,xhr:o})})})}function em(e,t){return ef(e,t)}var eb=(e,t)=>(eh(e.url)||em)(ed(eu({},e),{type:"json"}),t),ey=(e,t)=>(eh(e.url)||em)(ed(eu({},e),{type:"arrayBuffer"}),t),ev=(e,t)=>ef(ed(eu({},e),{method:"POST"}),t),eE=(e,t)=>ef(ed(eu({},e),{method:"GET"}),t);function e_(e){let t=window.document.createElement("a");return t.href=e,t.protocol===window.document.location.protocol&&t.host===window.document.location.host}var ex="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function eA(e,t){let n=new window.Image,r=window.URL||window.webkitURL;n.crossOrigin="anonymous",n.onload=()=>{t(null,n),r.revokeObjectURL(n.src),n.onload=null,window.requestAnimationFrame(()=>{n.src=ex})},n.onerror=()=>t(Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));let i=new Blob([new Uint8Array(e)],{type:"image/png"});n.src=e.byteLength?r.createObjectURL(i):ex}function eS(e,t){createImageBitmap(new Blob([new Uint8Array(e)],{type:"image/png"})).then(e=>{t(null,e)}).catch(e=>{t(Error(`Could not load image because of ${e.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}var ew=(e,t,n)=>{let r=(e,r)=>{if(e)t(e);else if(r){let e="function"==typeof createImageBitmap,i=n?n(r):r;e?eS(i,t):eA(i,t)}};return"json"===e.type?eb(e,r):ey(e,r)},eT=(e,t)=>{"function"==typeof createImageBitmap?eS(e,t):eA(e,t)},eO=(e=>(e.CENTER="center",e.TOP="top",e["TOP-LEFT"]="top-left",e["TOP-RIGHT"]="top-right",e.BOTTOM="bottom",e["BOTTOM-LEFT"]="bottom-left",e["BOTTOM-RIGHT"]="bottom-right",e.LEFT="left",e.RIGHT="right",e))(eO||{}),eC={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function ek(e,t,n){let r=e.classList;for(let e in eC)eC.hasOwnProperty(e)&&r.remove(`l7-${n}-anchor-${e}`);r.add(`l7-${n}-anchor-${t}`)}var eM=n(61341);function eL(e){return"string"==typeof e&&!!eM.Ay(e)}function eI(e){let t=eM.Ay(e),n=[0,0,0,0];return null!=t&&(n[0]=t.r/255,n[1]=t.g/255,n[2]=t.b/255,n[3]=t.opacity),n}function eN(e){let t=e&&e[0],n=e&&e[1];return t+256*n+65536*(e&&e[2])-1}function eR(e){return[e+1&255,e+1>>8&255,e+1>>8>>8&255]}function eP(e){let t=window.document.createElement("canvas"),n=t.getContext("2d");t.width=256,t.height=1;let r=null,i=n.createLinearGradient(0,0,256,1),a=e.positions[0],o=e.positions[e.positions.length-1];for(let t=0;t{let i=eI(e.colors[n]);r.data[4*t+0]=255*i[0],r.data[4*t+1]=255*i[1],r.data[4*t+2]=255*i[2],r.data[4*t+3]=255*i[3]}),t=null,n=null,r}function eB(e){let t=window.document.createElement("canvas"),n=t.getContext("2d");n.globalAlpha=1,t.width=256,t.height=1;let r=256/e.colors.length;for(let t=0;t{e.classList.remove(t)}):tI(e,tw((" "+tR(e)+" ").replace(" "+t+" "," ")))}function tL(e,t){if(void 0!==e.classList)return e.classList.contains(t);let n=tR(e);return n.length>0&&RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function tI(e,t){e instanceof HTMLElement?e.className=t:e.className.baseVal=t}function tN(e,t,n){void 0===n?tL(e,t)?tM(e,t):tk(e,t):n?tk(e,t):tM(e,t)}function tR(e){return e instanceof SVGElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function tP(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}var tD=function(e){var t;let n=null==(t=null==document?void 0:document.documentElement)?void 0:t.style;if(!n)return e[0];for(let t in e)if(e[t]&&e[t]in n)return e[t];return e[0]}(["transform","WebkitTransform"]);function tj(e,t){e.style[tD]=t}function tB(){if("function"==typeof Event)window.dispatchEvent(new Event("resize"));else{let e=window.document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}}function tF(e){console.log("%c\n",["padding: "+(e.height/2-8)+"px "+e.width/2+"px;","line-height: "+e.height+"px;","background-image: url("+e.toDataURL()+");"].join(""))}function tz(){var e;let t=window.document.querySelector('meta[name="viewport"]');if(!t)return 1;let n=(null==(e=t.content)?void 0:e.split(",")).find(e=>{let[t]=e.split("=");return"initial-scale"===t});return n?+n.split("=")[1]:1}var tU=1>tz()?1:window.devicePixelRatio;function tH(e,t){e.setAttribute("style",`${e.style.cssText}${t}`)}function tG(e){return e.split(";").map(e=>e.trim()).filter(e=>e)}function t$(e,t){var n;let r=tA(tG(null!=(n=e.getAttribute("style"))?n:""),...tG(t));e.setAttribute("style",r.join(";"))}function tW(e){return Object.entries(e).map(([e,t])=>`${e}: ${t}`).join(";")}function tV(e,t){return{left:e.left-t.left,top:e.top-t.top,right:t.left+t.width-e.left-e.width,bottom:t.top+t.height-e.top-e.height}}function tq(e,t){e.checked=t,t?e.setAttribute("checked","true"):e.removeAttribute("checked")}function tY(e){e.innerHTML=""}function tZ(e){e.setAttribute("draggable","false")}function tX(e,t){if("string"==typeof t){let n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.append(n.firstChild)}else Array.isArray(t)?e.append(...t):e.append(t)}function tK(e,t){var n;let r=Array.isArray(t)?t:[t],i=e;for(;i instanceof Element&&i!==window.document.body;){if(r.find(e=>null==i?void 0:i.matches(e)))return i;i=null!=(n=null==i?void 0:i.parentElement)?n:null}}function tQ(e){return"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap}function tJ(){return"function"==typeof importScripts}var t0=tJ()?()=>self.worker&&self.worker.referrer:()=>("blob:"===window.location.protocol?window.parent:window).location.href,t1=null==navigator?void 0:navigator.userAgent,t2=!!t1.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),t3=t1.indexOf("Android")>-1||t1.indexOf("Adr")>-1;function t5(){let e=!0;for(let t of["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"])if(t1.indexOf(t)>0){e=!1;break}return e}function t4(e,t){e.forEach(e=>{t[e]&&(t[e]=t[e].bind(t))})}var t6=class{constructor(e=16){this.duration=16,this.timestamp=new Date().getTime(),this.duration=e}run(e){let t=new Date().getTime(),n=t-this.timestamp;this.timestamp=t,n>=this.duration&&e()}},t8={centimeters:0x25f96350,centimetres:0x25f96350,degrees:6371008.8/111325,feet:20902260.511392,inches:250826616.45599997,kilometers:6371.0088,kilometres:6371.0088,meters:6371008.8,metres:6371008.8,miles:3958.761333810546,millimeters:0x17bbde120,millimetres:0x17bbde120,nauticalmiles:6371008.8/1852,radians:1,yards:6967335.223679999};function t7(e,t,n){void 0===n&&(n={});var r={type:"Feature"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function t9(e,t,n){void 0===n&&(n={});for(var r=0;re[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]n&&e.lng<=i&&e.lat>r&&e.lat<=a}function nl(e){let t=[1/0,1/0,-1/0,-1/0];return e.forEach(e=>{let{coordinates:n}=e;!function e(t,n){return Array.isArray(n[0])?n.forEach(n=>{e(t,n)}):(t[0]>n[0]&&(t[0]=n[0]),t[1]>n[1]&&(t[1]=n[1]),t[2]e(t,n)):n(t)}(e,t)}function nu(e,t=!0,n={enable:!0,decimal:1}){let r=(e=nf(e,t))[0],i=e[1],a=r*no/180,o=Math.log(Math.tan((90+i)*Math.PI/360))/(Math.PI/180);return o=o*no/180,n.enable&&(a=Number(a.toFixed(n.decimal)),o=Number(o.toFixed(n.decimal))),3===e.length?[a,o,e[2]]:[a,o]}function nd(e,t=6){let n=e[0],r=e[1],i=n/no*180,a=r/no*180;return a=180/Math.PI*(2*Math.atan(Math.exp(a*Math.PI/180))-Math.PI/2),null!=t&&(i=Number(i.toFixed(t)),a=Number(a.toFixed(t))),3===e.length?[i,a,e[2]]:[i,a]}function nh(e){if(null==e)throw Error("lng is required");return(e>180||e<-180)&&((e%=360)>180&&(e=-360+e),e<-180&&(e=360+e),0===e&&(e=0)),e}function np(e){if(null==e)throw Error("lat is required");return(e>90||e<-90)&&((e%=180)>90&&(e=-180+e),e<-90&&(e=180+e),0===e&&(e=0)),e}function nf(e,t){if(!1===t)return e;let n=nh(e[0]),r=np(e[1]);return r>85&&(r=85),r<-85&&(r=-85),3===e.length?[n,r,e[2]]:[n,r]}function ng(e){let t=Math.max(Math.min(85.0511287798,e[1]),-85.0511287798),n=Math.PI/180,r=e[0]*n,i=t*n;i=Math.log(Math.tan(Math.PI/4+i/2));let a=-.5/Math.PI;return n=.5,[Math.floor(r=0x10000000*(.5/Math.PI*r+.5)),Math.floor(i=0x10000000*(a*i+n))]}function nm(e){let t=-.5/Math.PI,n=.5,[r,i]=e;r=(r/0x10000000-.5)/(.5/Math.PI);let a=(i=(Math.atan(Math.pow(Math.E,i=(i/0x10000000-n)/t))-Math.PI/4)*2)/(n=Math.PI/180);return[r/n,a]}function nb(e,t){let n=Math.PI/180;return t=Math.max(Math.min(85.0511287798,t),-85.0511287798),e*=n,t*=n,[6378137*e,6378137*(t=Math.log(Math.tan(Math.PI/4+t/2)))]}function ny(e,t){let n=Math.PI/180,r=2*(Math.atan(Math.exp(t/6378137))-Math.PI/4)/n;return[e/6378137/n,r]}function nv(e,t,n){let r=nt(t[1]-e[1]),i=nt(t[0]-e[0]),a=Math.pow(Math.sin(r/2),2)+Math.pow(Math.sin(i/2),2)*Math.cos(nt(e[1]))*Math.cos(nt(t[1]));var o=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)),s="meters";void 0===s&&(s="kilometers");var l=t8[s];if(!l)throw Error(s+" units is invalid");return o*l}function nE(e){let t=Math.PI/180,n=Math.sin(Math.max(Math.min(85.0511287798,e[1]),-85.0511287798)*t);return[6378137*e[0]*t,6378137*Math.log((1+n)/(1-n))/2]}function n_(e,t){let n=Math.abs(e[1][1]-e[0][1])*t,r=Math.abs(e[1][0]-e[0][0])*t;return[[e[0][0]-r,e[0][1]-n],[e[1][0]+r,e[1][1]+n]]}function nx(e,t){return e[0][0]<=t[0][0]&&e[0][1]<=t[0][1]&&e[1][0]>=t[1][0]&&e[1][1]>=t[1][1]}function nA(e){return[[e[0],e[1]],[e[2],e[3]]]}function nS(e){let t=nw(e,[0,0]);return[e[0]/t,e[1]/t]}function nw(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function nT(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function nO(e,t){return 180*Math.acos((e[0]*t[0]+e[1]*t[1])/(nT(e)*nT(t)))/Math.PI}function nC(e,t){if(t[0]>0)if(t[1]>0)return 90-180*Math.atan(t[1]/t[0])/Math.PI;else return 90+180*Math.atan(-t[1]/t[0])/Math.PI;return t[1]<0?180+(90-180*Math.atan(t[1]/t[0])/Math.PI):270+180*Math.atan(-(t[1]/t[0]))/Math.PI}function nk(e,t=100){if(!e||e.length<2)return;let n=[0,1],r=0,i=[];for(let t=0;t0){let e=i[t-1].rotation;e-l>360-e+l&&(l+=360)}i.push({start:a,end:o,dis:s,rotation:l,duration:0})}return i.map(e=>{e.duration=t*(e.dis/r)}),i}function nM(e){if(ni(e[0]))return e;if(ni(e[0][0]))throw Error("当前数据不支持标注");if(ni(e[0][0][0])){let t=0,n=0,r=0;return e.forEach(e=>{e.forEach(e=>{t+=e[0],n+=e[1],r++})}),[t/r,n/r,0]}throw Error("当前数据不支持标注")}function nL(e){let t=e[0],n=e[1],r=e[0],i=e[1],a=0,o=0,s=0;for(let l=0;ln&&(t=Math.floor(t/137)),t=131*t+e.charCodeAt(r);return t}function nR(e){e=e.toString();let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}function nP(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function nD(e,t,n,r,i=30,a){let o=n;return(a&&(o=Math.round(n*(i-1))/(i-1)),r)?nB(e,t,o,r):nB(e,t,o,.314)}function nj(e,t){let n=1-t;return(e[0]*n+e[1]*t)*n+(e[1]*n+e[2]*t)*t}function nB(e,t,n,r){let i=function(e,t,n){var r;let i=[t[0]-e[0],t[1]-e[1]],a=(r=[0,0],Math.sqrt(Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2))),o=Math.atan2(i[1],i[0]),s=a/2/Math.cos(n),l=o+n;return[s*Math.cos(l)+e[0],s*Math.sin(l)+e[1]]}(e,t,r),a=[e[0],i[0],t[0]],o=[e[1],i[1],t[1]];return[nj(a,n),nj(o,n),0]}function nF(e,t,n,r,i=30,a){let o=n;return a&&(o=Math.round(29*n)/29),function(e,t,n){let r=[nt(e[0]),nt(e[1])],i=[nt(t[0]),nt(t[1])],a=function(e,t){let n=[e[0]-t[0],e[1]-t[1]],r=[Math.sin(n[0]/2),Math.sin(n[1]/2)],i=r[1]*r[1]+Math.cos(e[1])*Math.cos(t[1])*r[0]*r[0];return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))}(r,i);if(.001>Math.abs(a-Math.PI))return[(1-n)*r[0]+n*i[0],(1-n)*r[1]+n*i[1]];let o=Math.sin((1-n)*a)/Math.sin(a),s=Math.sin(n*a)/Math.sin(a),l=[Math.sin(r[0]),Math.sin(r[1])],c=[Math.cos(r[0]),Math.cos(r[1])],u=[Math.sin(i[0]),Math.sin(i[1])],d=[Math.cos(i[0]),Math.cos(i[1])],h=o*c[1]*c[0]+s*d[1]*d[0],p=o*c[1]*l[0]+s*d[1]*u[0],f=o*l[1]+s*u[1];return[ne(Math.atan2(p,h)),ne(Math.atan2(f,Math.sqrt(h*h+p*p)))]}(e,t,o)}var nz=Object.defineProperty,nU=Object.getOwnPropertySymbols,nH=Object.prototype.hasOwnProperty,nG=Object.prototype.propertyIsEnumerable,n$=(e,t,n)=>t in e?nz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nW=(e,t)=>{for(var n in t||(t={}))nH.call(t,n)&&n$(e,n,t[n]);if(nU)for(var n of nU(t))nG.call(t,n)&&n$(e,n,t[n]);return e};function nV(e,t){let{featureId:n}=t,r=e.data.dataArray;return"number"==typeof n&&(r=r.filter(({id:e})=>e===n)),r.map(e=>{let n=function(e,t){let n,{offset:r,shape:i,thetaOffset:a,segmentNumber:o=30,autoFit:s=!0}=t,{coordinates:l}=e;if("line"===i)return function(e,t){var n,r,i,a,o;let s,l,c=0,u=[];for(let t=0;td){let t=e.p1,n=(i=e.p2,a=t,o=(d-e.lastTotalDistance)/e.distance,[i[0]*o+a[0]*(1-o),i[1]*o+a[1]*(1-o)]);s=n[0],l=n[1];break}return{lng:s,lat:l,height:0}}(l,r);let c=l[0],u=l[1],d="string"==typeof a?e[a]||0:a;switch(i){case"arc":default:n=nD;break;case"greatcircle":n=nF}let[h,p,f]=n(c,u,r,d,o,s);return{lng:h,lat:p,height:f}}(e,t);return nW(nW({},e),n)})}function nq(e,t){return new Promise(n=>{e.inited?n(nV(e,t)):e.once("update",()=>{n(nV(e,t))})})}var nY=class{constructor(e=50,t){this.limit=e,this.destroy=t||this.defaultDestroy,this.order=[],this.clear()}clear(){this.order.forEach(e=>{this.delete(e)}),this.cache={},this.order=[]}get(e){let t=this.cache[e];return t&&(this.deleteOrder(e),this.appendOrder(e)),t}set(e,t){this.cache[e]?this.delete(e):Object.keys(this.cache).length===this.limit&&this.delete(this.order[0]),this.cache[e]=t,this.appendOrder(e)}delete(e){let t=this.cache[e];t&&(this.deleteCache(e),this.deleteOrder(e),this.destroy(t,e))}deleteCache(e){delete this.cache[e]}deleteOrder(e){let t=this.order.findIndex(t=>t===e);t>=0&&this.order.splice(t,1)}appendOrder(e){this.order.push(e)}defaultDestroy(e,t){return null}};function nZ(e){if(0===e.length)throw Error("max requires at least one data point");let t=e[0];for(let n=1;nt&&(t=e[n]);return+t}function nX(e){if(0===e.length)throw Error("min requires at least one data point");let t=e[0];for(let n=1;nr&&(r=i,n=t),i=1,t=e[a]):i++;return+n}var n0={min:nX,max:nZ,mean:nQ,sum:nK,mode:nJ};function n1(e,t){return e.map(e=>e[t])}function n2(e,t){return n0[e](t)}var n3=n(82661),n5=n.n(n3),n4=(e=>(e.Realtime="realtime",e.Overlap="overlap",e.Replace="replace",e))(n4||{}),n6=(e=>(e.Loading="Loading",e.Loaded="Loaded",e.Failure="Failure",e.Cancelled="Cancelled",e))(n6||{});function n8(e){for(;e;){if(e.isLoaded)return e.properties.state|=2,!0;e=e.parent}return!1}function n7(e){e.children.forEach(e=>{e.isLoaded?e.properties.state|=2:n7(e)})}var n9=[-1/0,-1/0,1/0,1/0],re={[n4.Realtime]:function(e){e.forEach(e=>{e.isCurrent&&(e.isVisible=e.isLoaded)})},[n4.Overlap]:function(e){e.forEach(e=>{e.properties.state=0}),e.forEach(e=>{e.isCurrent&&!n8(e)&&n7(e)}),e.forEach(e=>{e.isVisible=!!(2&e.properties.state)})},[n4.Replace]:function(e){e.forEach(e=>{e.properties.state=0}),e.forEach(e=>{e.isCurrent&&n8(e)}),e.slice().sort((e,t)=>e.z-t.z).forEach(e=>{e.isVisible=!!(2&e.properties.state),e.children.length&&(e.isVisible||1&e.properties.state)?e.children.forEach(e=>{e.properties.state=1}):e.isCurrent&&n7(e)})}},rt=()=>{};function rn(e,t,n){return[Math.floor((e+180)/360*Math.pow(2,n)),Math.floor((1-Math.log(Math.tan(t*Math.PI/180)+1/Math.cos(t*Math.PI/180))/Math.PI)/2*Math.pow(2,n))]}function rr(e,t,n){let r=e/Math.pow(2,n)*360-180,i=Math.PI-2*Math.PI*t/Math.pow(2,n);return[r,180/Math.PI*Math.atan(.5*(Math.exp(i)-Math.exp(-i)))]}var ri=(e,t,n)=>{let[r,i]=rr(e,t,n),[a,o]=rr(e+1,t+1,n);return[r,o,a,i]};function ra({zoom:e,latLonBounds:t,maxZoom:n=1/0,minZoom:r=0,zoomOffset:i=0,extent:a=n9}){let o=Math.ceil(e)+i;if(Number.isFinite(r)&&on&&(o=n);let[s,l,c,u]=t,d=[Math.max(s,a[0]),Math.max(l,a[1]),Math.min(c,a[2]),Math.min(u,a[3])],h=[],[p,f]=rn(d[0],d[1],o),[g,m]=rn(d[2],d[3],o);for(let e=p;e<=g;e++)for(let t=m;t<=f;t++)h.push({x:e,y:t,z:o});let b=(g+p)/2,y=(f+m)/2,v=(e,t)=>Math.abs(e-b)+Math.abs(t-y);return h.sort((e,t)=>v(e.x,e.y)-v(t.x,t.y)),h}var ro=(e,t,n,r=!0)=>{let i=Math.pow(2,n),a=e;return r&&(a<0?a+=i:a>i-1&&(a%=i)),{warpX:a,warpY:t}},rs=class extends n3.EventEmitter{constructor(e){super(),this.tileSize=256,this.isVisible=!1,this.isCurrent=!1,this.isVisibleChange=!1,this.loadedLayers=0,this.isLayerLoaded=!1,this.isLoad=!1,this.isChildLoad=!1,this.parent=null,this.children=[],this.data=null,this.properties={},this.loadDataId=0;let{x:t,y:n,z:r,tileSize:i,warp:a=!0}=e;this.x=t,this.y=n,this.z=r,this.warp=a||!0,this.tileSize=i}get isLoading(){return this.loadStatus===n6.Loading}get isLoaded(){return this.loadStatus===n6.Loaded}get isFailure(){return this.loadStatus===n6.Failure}setTileLayerLoaded(){this.isLayerLoaded=!0}get isCancelled(){return this.loadStatus===n6.Cancelled}get isDone(){return[n6.Loaded,n6.Cancelled,n6.Failure].includes(this.loadStatus)}get bounds(){return ri(this.x,this.y,this.z)}get bboxPolygon(){let[e,t,n,r]=this.bounds;return function(e,t){void 0===t&&(t={});var n=Number(e[0]),r=Number(e[1]),i=Number(e[2]),a=Number(e[3]);if(6===e.length)throw Error("@turf/bbox-polygon does not support BBox with 6 positions");var o=[n,r],s=[n,a],l=[i,a];return t9([[o,[i,r],l,s,o]],t.properties,{bbox:e,id:t.id})}(this.bounds,{properties:{key:this.key,id:this.key,bbox:this.bounds,center:[(n-e)/2,(r-t)/2],meta:` ${this.key} `}})}get key(){return`${this.x}_${this.y}_${this.z}`}layerLoad(){this.loadedLayers++,this.emit("layerLoaded")}loadData(e){let t,n,r;return t=this,n=arguments,r=function*({getData:e,onLoad:t,onError:n}){let r;this.loadDataId++;let i=this.loadDataId;this.isLoading&&this.abortLoad(),this.abortController=new AbortController,this.loadStatus=n6.Loading;let a=null;try{let{x:t,y:n,z:r,bounds:i,tileSize:o,warp:s}=this,{warpX:l,warpY:c}=ro(t,n,r,s),{signal:u}=this.abortController;a=yield e({x:l,y:c,z:r,bounds:i,tileSize:o,signal:u,warp:s},this)}catch(e){r=e}if(i===this.loadDataId&&(!this.isCancelled||a)){if(r||!a){this.loadStatus=n6.Failure,n(r,this);return}this.loadStatus=n6.Loaded,this.data=a,t(this)}},new Promise((e,i)=>{var a=e=>{try{s(r.next(e))}catch(e){i(e)}},o=e=>{try{s(r.throw(e))}catch(e){i(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(a,o);s((r=r.apply(t,n)).next())})}reloadData(e){this.isLoading&&this.abortLoad(),this.loadData(e)}abortLoad(){this.isLoaded||this.isCancelled||(this.loadStatus=n6.Cancelled,this.abortController.abort(),this.xhrCancel&&this.xhrCancel())}},rl=Object.defineProperty,rc=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,rd=Object.getOwnPropertySymbols,rh=Object.prototype.hasOwnProperty,rp=Object.prototype.propertyIsEnumerable,rf=(e,t,n)=>t in e?rl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rg=(e,t)=>{for(var n in t||(t={}))rh.call(t,n)&&rf(e,n,t[n]);if(rd)for(var n of rd(t))rp.call(t,n)&&rf(e,n,t[n]);return e},{throttle:rm}=tx,rb=(e=>(e.TilesLoadStart="tiles-load-start",e.TileLoaded="tile-loaded",e.TileError="tile-error",e.TileUnload="tile-unload",e.TileUpdate="tile-update",e.TilesLoadFinished="tiles-load-finished",e))(rb||{}),ry=class extends n5(){constructor(e){super(),this.currentTiles=[],this.cacheTiles=new Map,this.throttleUpdate=rm((e,t)=>{this.update(e,t)},16),this.onTileLoad=e=>{this.emit("tile-loaded",e),this.updateTileVisible(),this.loadFinished()},this.onTileError=(e,t)=>{this.emit("tile-error",{error:e,tile:t}),this.updateTileVisible(),this.loadFinished()},this.onTileUnload=e=>{this.emit("tile-unload",e),this.loadFinished()},this.options={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0,extent:n9,getTileData:rt,warp:!0,updateStrategy:n4.Replace},this.updateOptions(e)}get isLoaded(){return this.currentTiles.every(e=>e.isDone)}get tiles(){return Array.from(this.cacheTiles.values()).sort((e,t)=>e.z-t.z)}updateOptions(e){let t=void 0===e.minZoom?this.options.minZoom:Math.ceil(e.minZoom),n=void 0===e.maxZoom?this.options.maxZoom:Math.floor(e.maxZoom);this.options=rc(rg(rg({},this.options),e),ru({minZoom:t,maxZoom:n}))}update(e,t){var n,r;let i=Math.max(0,Math.ceil(e));if(this.lastViewStates&&this.lastViewStates.zoom===i&&(n=this.lastViewStates.latLonBoundsBuffer,r=t,nx(nA(n),nA(r))))return;let a=((e,t)=>{let n=n_(nA(e),t);return[Math.max(n[0][0],-900),Math.max(n[0][1],-85.0511287798065),Math.min(n[1][0],900),Math.min(n[1][1],85.0511287798065)]})(t,.2);this.lastViewStates={zoom:i,latLonBounds:t,latLonBoundsBuffer:a},this.currentZoom=i;let o=!1,s=this.getTileIndices(i,a).filter(e=>this.options.warp||e.x>=0&&e.x{let r=this.getTile(e,t,n);return r?((null==r?void 0:r.isFailure)||(null==r?void 0:r.isCancelled))&&r.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}):(r=this.createTile(e,t,n),o=!0),r}),o&&this.resizeCacheTiles(),this.updateTileVisible(),this.pruneRequests()}reloadAll(){for(let[e,t]of this.cacheTiles){if(!this.currentTiles.includes(t)){this.cacheTiles.delete(e),this.onTileUnload(t);return}this.onTileUnload(t),t.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError})}}reloadTileById(e,t,n){let r=this.cacheTiles.get(`${t},${n},${e}`);r&&(this.onTileUnload(r),r.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}))}reloadTileByLnglat(e,t,n){let r=this.getTileByLngLat(e,t,n);r&&this.reloadTileById(r.z,r.x,r.y)}reloadTileByExtent(e,t){this.getTileIndices(t,e).forEach(e=>{this.reloadTileById(e.z,e.x,e.y)})}pruneRequests(){let e=[];for(let t of this.cacheTiles.values())!t.isLoading||t.isCurrent||t.isVisible||e.push(t);for(;e.length>0;)e.shift().abortLoad()}getTileByLngLat(e,t,n){let{zoomOffset:r}=this.options,i=Math.ceil(n)+r,a=rn(e,t,i);return this.tiles.filter(e=>e.key===`${a[0]}_${a[1]}_${i}`)[0]}getTileExtent(e,t){return this.getTileIndices(t,e)}getTileByZXY(e,t,n){return this.tiles.filter(r=>r.key===`${t}_${n}_${e}`)[0]}clear(){for(let e of this.cacheTiles.values())e.isLoading?e.abortLoad():this.onTileUnload(e);this.lastViewStates=void 0,this.cacheTiles.clear(),this.currentTiles=[]}destroy(){this.clear(),this.removeAllListeners()}updateTileVisible(){let e=this.options.updateStrategy,t=new Map;for(let e of this.cacheTiles.values())t.set(e.key,e.isVisible),e.isCurrent=!1,e.isVisible=!1;for(let e of this.currentTiles)e.isCurrent=!0,e.isVisible=!0;let n=Array.from(this.cacheTiles.values());"function"==typeof e?e(n):re[e](n);let r=!1;Array.from(this.cacheTiles.values()).forEach(e=>{e.isVisible!==t.get(e.key)?(e.isVisibleChange=!0,r=!0):e.isVisibleChange=!1}),r&&this.emit("tile-update")}getTileIndices(e,t){let{tileSize:n,extent:r,zoomOffset:i}=this.options;return ra({maxZoom:Math.floor(this.options.maxZoom),minZoom:Math.ceil(this.options.minZoom),zoomOffset:i,tileSize:n,zoom:e,latLonBounds:t,extent:r})}getTileId(e,t,n){return`${e},${t},${n}`}loadFinished(){let e=!this.currentTiles.some(e=>!e.isDone);return e&&this.emit("tiles-load-finished"),e}getTile(e,t,n){let r=this.getTileId(e,t,n);return this.cacheTiles.get(r)}createTile(e,t,n){let r=this.getTileId(e,t,n),i=new rs({x:e,y:t,z:n,tileSize:this.options.tileSize,warp:this.options.warp});return this.cacheTiles.set(r,i),i.loadData({getData:this.options.getTileData,onLoad:this.onTileLoad,onError:this.onTileError}),i}resizeCacheTiles(){let e=5*this.currentTiles.length;if(this.cacheTiles.size>e){for(let[t,n]of this.cacheTiles)if(n.isVisible||this.currentTiles.includes(n)||(this.cacheTiles.delete(t),this.onTileUnload(n)),this.cacheTiles.size<=e)break}this.rebuildTileTree()}rebuildTileTree(){for(let e of this.cacheTiles.values())e.parent=null,e.children.length=0;for(let e of this.cacheTiles.values()){let t=this.getNearestAncestor(e.x,e.y,e.z);e.parent=t,(null==t?void 0:t.children)&&t.children.push(e)}}getNearestAncestor(e,t,n){for(;n>this.options.minZoom;){e=Math.floor(e/2),t=Math.floor(t/2),n-=1;let r=this.getTile(e,t,n);if(r)return r}return null}};function rv(e){return/(?=.*{box})(?=.*{z})(?=.*{x})(?=.*({y}|{-y}))/.test(e)}function rE(e){let t=[],n=/\{([a-z])-([a-z])\}/.exec(e);if(n){let r,i=n[1].charCodeAt(0),a=n[2].charCodeAt(0);for(r=i;r<=a;++r)t.push(e.replace(n[0],String.fromCharCode(r)));return t}if(n=/\{(\d+)-(\d+)\}/.exec(e)){let r=parseInt(n[2],10);for(let i=parseInt(n[1],10);i<=r;i++)t.push(e.replace(n[0],i.toString()));return t}return t.push(e),t}function r_(e,t){if(!e||!e.length)throw Error("url is not allowed to be empty");let{x:n,y:r,z:i}=t,a=rE(e),o=Math.abs(n+r)%a.length;return(eh(a[o])?`${a[o]}/{z}/{x}/{y}`:a[o]).replace(/\{x\}/g,n.toString()).replace(/\{y\}/g,r.toString()).replace(/\{z\}/g,i.toString()).replace(/\{bbox\}/g,ri(n,r,i).join(",")).replace(/\{-y\}/g,(Math.pow(2,i)-r-1).toString())}function rx(e,t){let{x:n,y:r,z:i,layer:a,version:o="1.0.0",style:s="default",format:l,service:c="WMTS",tileMatrixset:u}=t,d=rE(e),h=Math.abs(n+r)%d.length;return`${d[h]}&SERVICE=${c}&REQUEST=GetTile&VERSION=${o}&LAYER=${a}&STYLE=${s}&TILEMATRIXSET=${u}&FORMAT=${l}&TILECOL=${n}&TILEROW=${r}&TILEMATRIX=${i}`}function rA(e,t){return null==e?t:e}var rS={},rw={},rT=e=>rw[e],rO=(e,t)=>{rw[e]=t},rC=(e,t)=>{rS[e]=t},rk=n(85077),rM=n.n(rk),rL=Object.defineProperty,rI=Object.getOwnPropertySymbols,rN=Object.prototype.hasOwnProperty,rR=Object.prototype.propertyIsEnumerable,rP=(e,t,n)=>t in e?rL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rD=(e,t)=>{for(var n in t||(t={}))rN.call(t,n)&&rP(e,n,t[n]);if(rI)for(var n of rI(t))rR.call(t,n)&&rP(e,n,t[n]);return e};function rj(e,t){let{radius:n=40,maxZoom:r=18,minZoom:i=0,zoom:a=2}=t;if(e.pointIndex){let t=e.pointIndex.getClusters(e.extent,Math.floor(a));return e.dataArray=t.map((e,t)=>rD({coordinates:e.geometry.coordinates,_id:t+1},e.properties)),e}let o=new(rM())({radius:n,minZoom:i,maxZoom:r}),s={features:[]};return s.features=e.dataArray.map(e=>({type:"Feature",geometry:{type:"Point",coordinates:e.coordinates},properties:rD({},e)})),o.load(s.features),o}function rB(e){let t;if(0===e.length)return 0;let n=e[0],r=0;for(let i=1;i=Math.abs(e[i])?r+=n-t+e[i]:r+=e[i]-t+n,n=t;return n+ +r}var rF={min:function(e){if(0===e.length)throw Error("min requires at least one data point");let t=e[0];for(let n=1;nt&&(t=e[n]);return t},mean:function(e){if(0===e.length)throw Error("mean requires at least one data point");return rB(e)/e.length},sum:rB},rz=n(3329),rU=n.n(rz);function rH(e){return!!Array.isArray(e)&&(0===e.length||"number"==typeof e[0])||!1}function rG(e){let t=Object.isFrozen(e)?tx.cloneDeep(e):e;return rU()(t,!0),t}function r$(e,t){return e||[[t[0],t[3]],[t[2],t[3]],[t[2],t[1]],[t[0],t[1]]]}var rW=Object.defineProperty,rV=Object.getOwnPropertySymbols,rq=Object.prototype.hasOwnProperty,rY=Object.prototype.propertyIsEnumerable,rZ=(e,t,n)=>t in e?rW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rX=(e,t)=>{for(var n in t||(t={}))rq.call(t,n)&&rZ(e,n,t[n]);if(rV)for(var n of rV(t))rY.call(t,n)&&rZ(e,n,t[n]);return e},rK=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),{cloneDeep:rQ,isFunction:rJ,isString:r0,mergeWith:r1}=tx;function r2(e,t){if(Array.isArray(t))return t}var r3=class extends n3.EventEmitter{constructor(e,t){super(),this.type="source",this.isTile=!1,this.inited=!1,this.hooks={init:new V},this.parser={type:"geojson"},this.transforms=[],this.cluster=!1,this.clusterOptions={enable:!1,radius:40,maxZoom:20,zoom:-99,method:"count"},this.invalidExtent=!1,this.dataArrayChanged=!1,this.cfg={autoRender:!0},this.originData=e,this.initCfg(t),this.init().then(()=>{this.inited=!0,this.emit("update",{type:"inited"})})}getSourceCfg(){return this.cfg}getClusters(e){return this.clusterIndex.getClusters(this.caculClusterExtent(2),e)}getClustersLeaves(e){return this.clusterIndex.getLeaves(e,1/0)}getParserType(){return this.parser.type}updateClusterData(e){let{method:t="sum",field:n}=this.clusterOptions,r=this.clusterIndex.getClusters(this.caculClusterExtent(2),Math.floor(e));this.clusterOptions.zoom=e,r.forEach(e=>{e.id||(e.properties.point_count=1)}),(n||rJ(t))&&(r=r.map(e=>{let r=e.id;if(r){let i,a=this.clusterIndex.getLeaves(r,1/0).map(e=>e.properties);if(r0(t)&&n){let e=a.map(e=>+e[n]);i=rF[t](e)}rJ(t)&&(i=t(a)),e.properties.stat=i}else e.properties.point_count=1;return e})),this.data=rT("geojson")({type:"FeatureCollection",features:r}),this.executeTrans()}getFeatureById(e){let{type:t="geojson",geometry:n}=this.parser;if("geojson"!==t||this.cluster)if("json"===t&&n)return this.data.dataArray.find(t=>t._id===e);else return et._id===e)),t}}updateFeaturePropertiesById(e,t){this.data.dataArray=this.data.dataArray.map(n=>n._id===e?rX(rX({},n),t):n),this.dataArrayChanged=!0,this.emit("update",{type:"update"})}getFeatureId(e,t){let n=this.data.dataArray.find(n=>n[e]===t);return null==n?void 0:n._id}setData(e,t){this.originData=e,this.dataArrayChanged=!1,this.initCfg(t),this.init().then(()=>{this.emit("update",{type:"update"})})}reloadAllTile(){var e;null==(e=this.tileset)||e.reloadAll()}reloadTilebyId(e,t,n){var r;null==(r=this.tileset)||r.reloadTileById(e,t,n)}reloadTileByLnglat(e,t,n){var r;null==(r=this.tileset)||r.reloadTileByLnglat(e,t,n)}getTileExtent(e,t){var n;return null==(n=this.tileset)?void 0:n.getTileExtent(e,t)}getTileByZXY(e,t,n){var r;return null==(r=this.tileset)?void 0:r.getTileByZXY(e,t,n)}reloadTileByExtent(e,t){var n;null==(n=this.tileset)||n.reloadTileByExtent(e,t)}destroy(){var e;this.removeAllListeners(),this.originData=null,this.clusterIndex=null,this.data=null,null==(e=this.tileset)||e.destroy()}processData(){return rK(this,null,function*(){return new Promise((e,t)=>{try{this.excuteParser(),this.initCluster(),this.executeTrans(),e({})}catch(e){t(e)}})})}initCfg(e){this.cfg=r1(this.cfg,e,r2);let t=this.cfg;t&&(t.parser&&(this.parser=t.parser),t.transforms&&(this.transforms=t.transforms),this.cluster=t.cluster||!1,t.clusterOptions&&(this.cluster=!0,this.clusterOptions=rX(rX({},this.clusterOptions),t.clusterOptions)))}init(){return rK(this,null,function*(){this.inited=!1,yield this.processData(),this.inited=!0})}excuteParser(){let e=this.parser,t=rT(e.type||"geojson");this.data=t(this.originData,e),this.tileset=this.initTileset(),e.cancelExtent||(this.extent=nl(this.data.dataArray),this.setCenter(this.extent),this.invalidExtent=this.extent[0]===this.extent[2]||this.extent[1]===this.extent[3])}setCenter(e){this.center=[(e[0]+e[2])/2,(e[1]+e[3])/2],(isNaN(this.center[0])||isNaN(this.center[1]))&&(this.center=[108.92361111111111,34.54083333333333])}initTileset(){let{tilesetOptions:e}=this.data;return e?(this.isTile=!0,this.tileset)?(this.tileset.updateOptions(e),this.tileset):new ry(rX({},e)):void 0}executeTrans(){this.transforms.forEach(e=>{let{type:t}=e,n=(0,rS[t])(this.data,e);Object.assign(this.data,n)})}initCluster(){if(!this.cluster)return;let e=this.clusterOptions||{};this.clusterIndex=rj(this.data,e)}caculClusterExtent(e){let t=[[-1/0,-1/0],[1/0,1/0]];return this.invalidExtent||(t=n_(nA(this.extent),e)),t[0].concat(t[1])}},r5={},r4={};function r6(e){return Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'}).join(",")+"}")}function r8(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}function r7(e,t){var n=e+"",r=n.length;return r=a?l=!0:10===(r=e.charCodeAt(o++))?c=!0:13===r&&(c=!0,10===e.charCodeAt(o)&&++o),e.slice(i+1,t-1).replace(/""/g,'"')}for(;o9999?"+"+r7(s,6):r7(s,4))+"-"+r7(n.getUTCMonth()+1,2)+"-"+r7(n.getUTCDate(),2)+(o?"T"+r7(r,2)+":"+r7(i,2)+":"+r7(a,2)+"."+r7(o,3)+"Z":a?"T"+r7(r,2)+":"+r7(i,2)+":"+r7(a,2)+"Z":i||r?"T"+r7(r,2)+":"+r7(i,2)+"Z":"")):t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,i,a=r(e,function(e,r){var a;if(n)return n(e,r-1);i=e,n=t?(a=r6(e),function(n,r){return t(a(n),r,e)}):r6(e)});return a.columns=i||[],a},parseRows:r,format:function(t,n){return null==n&&(n=r8(t)),[n.map(o).join(e)].concat(i(t,n)).join("\n")},formatBody:function(e,t){return null==t&&(t=r8(e)),i(e,t).join("\n")},formatRows:function(e){return e.map(a).join("\n")},formatRow:a,formatValue:o}}(","),ie=r9.parse;function it(e){if(Array.isArray(e))return e;if("Feature"===e.type){if(null!==e.geometry)return e.geometry.coordinates}else if(e.coordinates)return e.coordinates;throw Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function ir(e){return"Feature"===e.type?e.geometry:e}r9.parseRows,r9.format,r9.formatBody,r9.formatRows,r9.formatRow,r9.formatValue;var ii=Object.defineProperty,ia=Object.defineProperties,io=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable,iu=(e,t,n)=>t in e?ii(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,id=(e,t)=>{for(var n in t||(t={}))il.call(t,n)&&iu(e,n,t[n]);if(is)for(var n of is(t))ic.call(t,n)&&iu(e,n,t[n]);return e},ih=(e,t)=>ia(e,io(t));function ip(e,t){let{x:n,y:r,x1:i,y1:a,coordinates:o,geometry:s}=t,l=[];if(!Array.isArray(e))return{dataArray:[]};if(s)return e.filter(e=>e[s]&&e[s].type&&e[s].coordinates&&e[s].coordinates.length>0).forEach((e,t)=>{nn(rG(e[s]),n=>{let r=it(n),i=ih(id({},e),{_id:t,coordinates:r});l.push(i)})}),{dataArray:l};for(let t=0;tt in e?ig(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function ix(e,t,n,r){var i={id:void 0===e?null:e,type:t,geometry:n,tags:r,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,n=e.type;if("Point"===n||"MultiPoint"===n||"LineString"===n)iA(e,t);else if("Polygon"===n||"MultiLineString"===n)for(var r=0;r0&&(r?o+=(i*c-l*a)/2:o+=Math.sqrt(Math.pow(l-i,2)+Math.pow(c-a,2))),i=l,a=c}var u=t.length-3;t[2]=1,function e(t,n,r,i){for(var a,o=i,s=r-n>>1,l=r-n,c=t[n],u=t[n+1],d=t[r],h=t[r+1],p=n+3;p1?(n=i,r=a):l>0&&(n+=o*l,r+=s*l)}return(o=e-n)*o+(s=t-r)*s}(t[p],t[p+1],c,u,d,h);if(f>o)a=p,o=f;else if(f===o){var g=Math.abs(p-s);gi&&(a-n>3&&e(t,n,a,i),t[a+2]=o,r-a>3&&e(t,a,r,i))}(t,0,u,n),t[u+2]=1,t.size=Math.abs(o),t.start=0,t.end=t.size}function iO(e,t,n,r){for(var i=0;i1?1:n}function ik(e,t,n,r,i,a,o,s){if(n/=t,r/=t,a>=n&&o=r)return null;for(var l=[],c=0;c=n&&f=r)){var g=[];if("Point"===h||"MultiPoint"===h){for(var m=d,b=g,y=n,v=r,E=i,_=0;_=y&&x<=v&&(b.push(m[_]),b.push(m[_+1]),b.push(m[_+2]))}}else if("LineString"===h)iM(d,g,n,r,i,!1,s.lineMetrics);else if("MultiLineString"===h)iI(d,g,n,r,i,!1);else if("Polygon"===h)iI(d,g,n,r,i,!0);else if("MultiPolygon"===h)for(var A=0;An&&(l=u(c,p,f,m,b,n),o&&(c.start=d+s*l)):y>r?v=n&&(l=u(c,p,f,m,b,n),E=!0),v>r&&y<=r&&(l=u(c,p,f,m,b,r),E=!0),!a&&E&&(o&&(c.end=d+s*l),t.push(c),c=iL(e)),o&&(d+=s)}var _=e.length-3;p=e[_],f=e[_+1],g=e[_+2],(y=0===i?p:f)>=n&&y<=r&&iN(c,p,f,g),_=c.length-3,a&&_>=3&&(c[_]!==c[0]||c[_+1]!==c[1])&&iN(c,c[0],c[1],c[2]),c.length&&t.push(c)}function iL(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function iI(e,t,n,r,i,a){for(var o=0;o0&&t.size<(i?o:r)){n.numPoints+=t.length/3;return}for(var s=[],l=0;lo)&&(n.numSimplified++,s.push(t[l]),s.push(t[l+1])),n.numPoints++;i&&function(e,t){for(var n=0,r=0,i=e.length,a=i-2;r0===t)for(r=0,i=e.length;r24)throw Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw Error("promoteId and generateId cannot be used together.");var c=function(e,t){var n=[];if("FeatureCollection"===e.type)for(var r=0;r1&&console.time("creation"),h=this.tiles[d]=function(e,t,n,r,i){for(var a=t===i.maxZoom?0:i.tolerance/((1<o.maxX&&(o.maxX=u),d>o.maxY&&(o.maxY=d)}return o}(e,t,n,r,l),this.tileCoords.push({z:t,x:n,y:r}),c)){c>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,n,r,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var p="z"+t;this.stats[p]=(this.stats[p]||0)+1,this.total++}if(h.source=e,i){if(t===l.maxZoom||t===i)continue;var f=1<1&&console.time("clipping");var g,m,b,y,v,E,_=.5*l.buffer/l.extent,x=.5-_,A=.5+_,S=1+_;g=m=b=y=null,v=ik(e,u,n-_,n+A,0,h.minX,h.maxX,l),E=ik(e,u,n+x,n+S,0,h.minX,h.maxX,l),e=null,v&&(g=ik(v,u,r-_,r+A,1,h.minY,h.maxY,l),m=ik(v,u,r+x,r+S,1,h.minY,h.maxY,l),v=null),E&&(b=ik(E,u,r-_,r+A,1,h.minY,h.maxY,l),y=ik(E,u,r+x,r+S,1,h.minY,h.maxY,l),E=null),c>1&&console.timeEnd("clipping"),s.push(g||[],t+1,2*n,2*r),s.push(m||[],t+1,2*n,2*r+1),s.push(b||[],t+1,2*n+1,2*r),s.push(y||[],t+1,2*n+1,2*r+1)}}},iU.prototype.getTile=function(e,t,n){var r=this.options,i=r.extent,a=r.debug;if(e<0||e>24)return null;var o=1<1&&console.log("drilling down to z%d-%d-%d",e,t,n);for(var l,c=e,u=t,d=n;!l&&c>0;)c--,u=Math.floor(u/2),d=Math.floor(d/2),l=this.tiles[iH(c,u,d)];return l&&l.source?(a>1&&console.log("found parent tile z%d-%d-%d",c,u,d),a>1&&console.time("drilling down"),this.splitTile(l.source,c,u,d,e,t,n),a>1&&console.timeEnd("drilling down"),this.tiles[s]?iB(this.tiles[s],i):null):null};var iG=class{constructor(e,t,n,r){this.vectorLayerCache={},this.x=t,this.y=n,this.z=r,this.vectorTile=e}getTileData(e){return e&&this.vectorTile.layers[e]?this.vectorLayerCache[e]?this.vectorLayerCache[e]:this.vectorTile.layers[e].features:[]}getFeatureById(){throw Error("Method not implemented.")}},i$=Object.defineProperty,iW=Object.defineProperties,iV=Object.getOwnPropertyDescriptors,iq=Object.getOwnPropertySymbols,iY=Object.prototype.hasOwnProperty,iZ=Object.prototype.propertyIsEnumerable,iX=(e,t,n)=>t in e?i$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iK=(e,t)=>{for(var n in t||(t={}))iY.call(t,n)&&iX(e,n,t[n]);if(iq)for(var n of iq(t))iZ.call(t,n)&&iX(e,n,t[n]);return e},iQ={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0},iJ=["Unknown","Point","LineString","Polygon"],i0=Object.defineProperty,i1=Object.defineProperties,i2=Object.getOwnPropertyDescriptors,i3=Object.getOwnPropertySymbols,i5=Object.prototype.hasOwnProperty,i4=Object.prototype.propertyIsEnumerable,i6=(e,t,n)=>t in e?i0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i8=(e,t)=>{for(var n in t||(t={}))i5.call(t,n)&&i6(e,n,t[n]);if(i3)for(var n of i3(t))i4.call(t,n)&&i6(e,n,t[n]);return e},i7=(e,t)=>i1(e,i2(t)),i9=Object.defineProperty,ae=Object.defineProperties,at=Object.getOwnPropertyDescriptors,an=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,aa=(e,t,n)=>t in e?i9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ao=(e,t)=>{for(var n in t||(t={}))ar.call(t,n)&&aa(e,n,t[n]);if(an)for(var n of an(t))ai.call(t,n)&&aa(e,n,t[n]);return e},as=(e,t)=>ae(e,at(t)),al=n(83440),ac=n(9614),au=n.n(ac),ad=Object.defineProperty,ah=Object.defineProperties,ap=Object.getOwnPropertyDescriptors,af=Object.getOwnPropertySymbols,ag=Object.prototype.hasOwnProperty,am=Object.prototype.propertyIsEnumerable,ab=(e,t,n)=>t in e?ad(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ay=(e,t)=>{for(var n in t||(t={}))ag.call(t,n)&&ab(e,n,t[n]);if(af)for(var n of af(t))am.call(t,n)&&ab(e,n,t[n]);return e},av=(e,t)=>ah(e,ap(t)),aE=class{constructor(e,t,n,r){this.vectorLayerCache={},this.x=t,this.y=n,this.z=r,this.vectorTile=new al.VectorTile(new(au())(e))}getTileData(e){if(!e||!this.vectorTile.layers[e])return[];if(this.vectorLayerCache[e])return this.vectorLayerCache[e];let t=this.vectorTile.layers[e];if(Array.isArray(t.features))return this.vectorLayerCache[e]=t.features,t.features;let n=[];for(let e=0;et in e?a_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aC=(e,t)=>{for(var n in t||(t={}))aw.call(t,n)&&aO(e,n,t[n]);if(aS)for(var n of aS(t))aT.call(t,n)&&aO(e,n,t[n]);return e},ak=(e,t)=>ax(e,aA(t)),aM={tileSize:256,minZoom:0,maxZoom:1/0,zoomOffset:0,warp:!0};function aL(e,t){let{width:n,height:r}=t[0],i=t.map(e=>e.rasterData),a=n*r,o=[],s=JSON.stringify(e);for(let e=0;e{if(Array.isArray(i)&&i.length>0)if("band"===i[0])try{t[a]=n[i[1]][r]}catch(e){console.warn("Raster Data err!"),t[a]=0}else e(i,n,r)})}(t,i,e);if("number"==typeof n)o.push(n);else{let e=function e(t){let n=function(e){let[t,n=-1,r=-1]=e;return void 0===t?(console.warn("Express err!"),["+",0,0]):[t.replace(/\s+/g,""),n,r]}(t),r=n[0],i=n[1],a=n[2];Array.isArray(i)&&(i=e(t[1])),Array.isArray(a)&&(a=e(t[2]));var o=i,s=a;switch(r){case"+":return o+s;case"-":return o-s;case"*":return o*s;case"/":return o/s;case"%":return o%s;case"^":return Math.pow(o,s);case"abs":return Math.abs(o);case"floor":return Math.floor(o);case"round":return Math.round(o);case"ceil":return Math.ceil(o);case"sin":return Math.sin(o);case"cos":return Math.cos(o);case"atan":return -1===s?Math.atan(o):Math.atan2(o,s);case"min":return Math.min(o,s);case"max":return Math.max(o,s);case"log10":return Math.log(o);case"log2":return Math.log2(o);default:return console.warn("Calculate symbol err! Return default 0"),0}}(t);o.push(e)}}return o}var aI={nd:{type:"operation",expression:["/",["-",["band",1],["band",0]],["+",["band",1],["band",0]]]},rgb:{type:"function",method:function(e,t){let n=e[0].rasterData,r=e[1].rasterData,i=e[2].rasterData,a=[],[o,s]=(null==t?void 0:t.countCut)||[2,98],l=(null==t?void 0:t.RMinMax)||aN(n,o,s),c=(null==t?void 0:t.GMinMax)||aN(r,o,s),u=(null==t?void 0:t.BMinMax)||aN(i,o,s);for(let e=0;ee-t),i=r.length;return[r[Math.ceil(i*t/100)],r[Math.ceil(i*n/100)]]}var aR=Object.defineProperty,aP=Object.defineProperties,aD=Object.getOwnPropertyDescriptors,aj=Object.getOwnPropertySymbols,aB=Object.prototype.hasOwnProperty,aF=Object.prototype.propertyIsEnumerable,az=(e,t,n)=>t in e?aR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aU=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())});function aH(e,t,n){return aU(this,null,function*(){let r;if(0===e.length)return{rasterData:[0],width:1,heigh:1};let i=yield Promise.all(e.map(({data:e,bands:n=[0]})=>t(e,n))),a=[];i.forEach(e=>{Array.isArray(e)?a.push(...e):a.push(e)});let{width:o,height:s}=a[0];switch(typeof n){case"function":r=n(a);break;case"object":r=Array.isArray(n)?{rasterData:aL(n,a)}:function(e,t){let n=aI[e.type];if("function"===n.type)return n.method(t,null==e?void 0:e.options);if("operation"===n.type)if("rgb"!==e.type)return{rasterData:aL(n.expression,t)};else{var r=n.expression,i=t;void 0===r.r&&console.warn("Channel R lost in Operation! Use band[0] to fill!"),void 0===r.g&&console.warn("Channel G lost in Operation! Use band[0] to fill!"),void 0===r.b&&console.warn("Channel B lost in Operation! Use band[0] to fill!");let e=aL(r.r||["band",0],i);return[e,aL(r.g||["band",0],i),aL(r.b||["band",0],i)]}}(n,a);break;default:r={rasterData:a[0].rasterData}}return aP(((e,t)=>{for(var n in t||(t={}))aB.call(t,n)&&az(e,n,t[n]);if(aj)for(var n of aj(t))aF.call(t,n)&&az(e,n,t[n]);return e})({},r),aD({width:o,height:s}))})}function aG(e,t,n,r){return aU(this,null,function*(){r(null,{data:yield aH(e,t,n)})})}var a$=n(27061),aW=n(40419);let aV=function(e){return e.Normal="normal",e.PostProcessing="post-processing",e}({}),aq=function(e){return e[e.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",e[e.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",e[e.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",e[e.POINTS=0]="POINTS",e[e.LINES=1]="LINES",e[e.LINE_LOOP=2]="LINE_LOOP",e[e.LINE_STRIP=3]="LINE_STRIP",e[e.TRIANGLES=4]="TRIANGLES",e[e.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",e[e.TRIANGLE_FAN=6]="TRIANGLE_FAN",e[e.ZERO=0]="ZERO",e[e.ONE=1]="ONE",e[e.SRC_COLOR=768]="SRC_COLOR",e[e.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",e[e.SRC_ALPHA=770]="SRC_ALPHA",e[e.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",e[e.DST_ALPHA=772]="DST_ALPHA",e[e.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",e[e.DST_COLOR=774]="DST_COLOR",e[e.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",e[e.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e[e.FUNC_ADD=32774]="FUNC_ADD",e[e.BLEND_EQUATION=32777]="BLEND_EQUATION",e[e.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",e[e.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",e[e.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",e[e.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",e[e.MAX_EXT=32776]="MAX_EXT",e[e.MIN_EXT=32775]="MIN_EXT",e[e.BLEND_DST_RGB=32968]="BLEND_DST_RGB",e[e.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",e[e.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",e[e.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",e[e.CONSTANT_COLOR=32769]="CONSTANT_COLOR",e[e.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",e[e.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",e[e.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",e[e.BLEND_COLOR=32773]="BLEND_COLOR",e[e.ARRAY_BUFFER=34962]="ARRAY_BUFFER",e[e.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",e[e.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",e[e.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",e[e.STREAM_DRAW=35040]="STREAM_DRAW",e[e.STATIC_DRAW=35044]="STATIC_DRAW",e[e.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",e[e.BUFFER_SIZE=34660]="BUFFER_SIZE",e[e.BUFFER_USAGE=34661]="BUFFER_USAGE",e[e.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",e[e.FRONT=1028]="FRONT",e[e.BACK=1029]="BACK",e[e.FRONT_AND_BACK=1032]="FRONT_AND_BACK",e[e.CULL_FACE=2884]="CULL_FACE",e[e.BLEND=3042]="BLEND",e[e.DITHER=3024]="DITHER",e[e.STENCIL_TEST=2960]="STENCIL_TEST",e[e.DEPTH_TEST=2929]="DEPTH_TEST",e[e.SCISSOR_TEST=3089]="SCISSOR_TEST",e[e.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",e[e.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",e[e.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",e[e.NO_ERROR=0]="NO_ERROR",e[e.INVALID_ENUM=1280]="INVALID_ENUM",e[e.INVALID_VALUE=1281]="INVALID_VALUE",e[e.INVALID_OPERATION=1282]="INVALID_OPERATION",e[e.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",e[e.CW=2304]="CW",e[e.CCW=2305]="CCW",e[e.LINE_WIDTH=2849]="LINE_WIDTH",e[e.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",e[e.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",e[e.CULL_FACE_MODE=2885]="CULL_FACE_MODE",e[e.FRONT_FACE=2886]="FRONT_FACE",e[e.DEPTH_RANGE=2928]="DEPTH_RANGE",e[e.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",e[e.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",e[e.DEPTH_FUNC=2932]="DEPTH_FUNC",e[e.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",e[e.STENCIL_FUNC=2962]="STENCIL_FUNC",e[e.STENCIL_FAIL=2964]="STENCIL_FAIL",e[e.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",e[e.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",e[e.STENCIL_REF=2967]="STENCIL_REF",e[e.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",e[e.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",e[e.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",e[e.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",e[e.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",e[e.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",e[e.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",e[e.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",e[e.VIEWPORT=2978]="VIEWPORT",e[e.SCISSOR_BOX=3088]="SCISSOR_BOX",e[e.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",e[e.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",e[e.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",e[e.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",e[e.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",e[e.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",e[e.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",e[e.RED_BITS=3410]="RED_BITS",e[e.GREEN_BITS=3411]="GREEN_BITS",e[e.BLUE_BITS=3412]="BLUE_BITS",e[e.ALPHA_BITS=3413]="ALPHA_BITS",e[e.DEPTH_BITS=3414]="DEPTH_BITS",e[e.STENCIL_BITS=3415]="STENCIL_BITS",e[e.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",e[e.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",e[e.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",e[e.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",e[e.SAMPLES=32937]="SAMPLES",e[e.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",e[e.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",e[e.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",e[e.DONT_CARE=4352]="DONT_CARE",e[e.FASTEST=4353]="FASTEST",e[e.NICEST=4354]="NICEST",e[e.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",e[e.BYTE=5120]="BYTE",e[e.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",e[e.SHORT=5122]="SHORT",e[e.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",e[e.INT=5124]="INT",e[e.UNSIGNED_INT=5125]="UNSIGNED_INT",e[e.FLOAT=5126]="FLOAT",e[e.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",e[e.ALPHA=6406]="ALPHA",e[e.RGB=6407]="RGB",e[e.RGBA=6408]="RGBA",e[e.LUMINANCE=6409]="LUMINANCE",e[e.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",e[e.RED=6403]="RED",e[e.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",e[e.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",e[e.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",e[e.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",e[e.VERTEX_SHADER=35633]="VERTEX_SHADER",e[e.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",e[e.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",e[e.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",e[e.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",e[e.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",e[e.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",e[e.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",e[e.SHADER_TYPE=35663]="SHADER_TYPE",e[e.DELETE_STATUS=35712]="DELETE_STATUS",e[e.LINK_STATUS=35714]="LINK_STATUS",e[e.VALIDATE_STATUS=35715]="VALIDATE_STATUS",e[e.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",e[e.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",e[e.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",e[e.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",e[e.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",e[e.NEVER=512]="NEVER",e[e.LESS=513]="LESS",e[e.EQUAL=514]="EQUAL",e[e.LEQUAL=515]="LEQUAL",e[e.GREATER=516]="GREATER",e[e.NOTEQUAL=517]="NOTEQUAL",e[e.GEQUAL=518]="GEQUAL",e[e.ALWAYS=519]="ALWAYS",e[e.KEEP=7680]="KEEP",e[e.REPLACE=7681]="REPLACE",e[e.INCR=7682]="INCR",e[e.DECR=7683]="DECR",e[e.INVERT=5386]="INVERT",e[e.INCR_WRAP=34055]="INCR_WRAP",e[e.DECR_WRAP=34056]="DECR_WRAP",e[e.VENDOR=7936]="VENDOR",e[e.RENDERER=7937]="RENDERER",e[e.VERSION=7938]="VERSION",e[e.NEAREST=9728]="NEAREST",e[e.LINEAR=9729]="LINEAR",e[e.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",e[e.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",e[e.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",e[e.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",e[e.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",e[e.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",e[e.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",e[e.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",e[e.TEXTURE_2D=3553]="TEXTURE_2D",e[e.TEXTURE=5890]="TEXTURE",e[e.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",e[e.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",e[e.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",e[e.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",e[e.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",e[e.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",e[e.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",e[e.TEXTURE0=33984]="TEXTURE0",e[e.TEXTURE1=33985]="TEXTURE1",e[e.TEXTURE2=33986]="TEXTURE2",e[e.TEXTURE3=33987]="TEXTURE3",e[e.TEXTURE4=33988]="TEXTURE4",e[e.TEXTURE5=33989]="TEXTURE5",e[e.TEXTURE6=33990]="TEXTURE6",e[e.TEXTURE7=33991]="TEXTURE7",e[e.TEXTURE8=33992]="TEXTURE8",e[e.TEXTURE9=33993]="TEXTURE9",e[e.TEXTURE10=33994]="TEXTURE10",e[e.TEXTURE11=33995]="TEXTURE11",e[e.TEXTURE12=33996]="TEXTURE12",e[e.TEXTURE13=33997]="TEXTURE13",e[e.TEXTURE14=33998]="TEXTURE14",e[e.TEXTURE15=33999]="TEXTURE15",e[e.TEXTURE16=34e3]="TEXTURE16",e[e.TEXTURE17=34001]="TEXTURE17",e[e.TEXTURE18=34002]="TEXTURE18",e[e.TEXTURE19=34003]="TEXTURE19",e[e.TEXTURE20=34004]="TEXTURE20",e[e.TEXTURE21=34005]="TEXTURE21",e[e.TEXTURE22=34006]="TEXTURE22",e[e.TEXTURE23=34007]="TEXTURE23",e[e.TEXTURE24=34008]="TEXTURE24",e[e.TEXTURE25=34009]="TEXTURE25",e[e.TEXTURE26=34010]="TEXTURE26",e[e.TEXTURE27=34011]="TEXTURE27",e[e.TEXTURE28=34012]="TEXTURE28",e[e.TEXTURE29=34013]="TEXTURE29",e[e.TEXTURE30=34014]="TEXTURE30",e[e.TEXTURE31=34015]="TEXTURE31",e[e.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",e[e.REPEAT=10497]="REPEAT",e[e.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",e[e.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",e[e.FLOAT_VEC2=35664]="FLOAT_VEC2",e[e.FLOAT_VEC3=35665]="FLOAT_VEC3",e[e.FLOAT_VEC4=35666]="FLOAT_VEC4",e[e.INT_VEC2=35667]="INT_VEC2",e[e.INT_VEC3=35668]="INT_VEC3",e[e.INT_VEC4=35669]="INT_VEC4",e[e.BOOL=35670]="BOOL",e[e.BOOL_VEC2=35671]="BOOL_VEC2",e[e.BOOL_VEC3=35672]="BOOL_VEC3",e[e.BOOL_VEC4=35673]="BOOL_VEC4",e[e.FLOAT_MAT2=35674]="FLOAT_MAT2",e[e.FLOAT_MAT3=35675]="FLOAT_MAT3",e[e.FLOAT_MAT4=35676]="FLOAT_MAT4",e[e.SAMPLER_2D=35678]="SAMPLER_2D",e[e.SAMPLER_CUBE=35680]="SAMPLER_CUBE",e[e.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",e[e.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",e[e.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",e[e.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",e[e.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",e[e.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",e[e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",e[e.COMPILE_STATUS=35713]="COMPILE_STATUS",e[e.LOW_FLOAT=36336]="LOW_FLOAT",e[e.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",e[e.HIGH_FLOAT=36338]="HIGH_FLOAT",e[e.LOW_INT=36339]="LOW_INT",e[e.MEDIUM_INT=36340]="MEDIUM_INT",e[e.HIGH_INT=36341]="HIGH_INT",e[e.FRAMEBUFFER=36160]="FRAMEBUFFER",e[e.RENDERBUFFER=36161]="RENDERBUFFER",e[e.RGBA4=32854]="RGBA4",e[e.RGB5_A1=32855]="RGB5_A1",e[e.RGB565=36194]="RGB565",e[e.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",e[e.STENCIL_INDEX=6401]="STENCIL_INDEX",e[e.STENCIL_INDEX8=36168]="STENCIL_INDEX8",e[e.DEPTH_STENCIL=34041]="DEPTH_STENCIL",e[e.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",e[e.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",e[e.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",e[e.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",e[e.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",e[e.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",e[e.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",e[e.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",e[e.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",e[e.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",e[e.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",e[e.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",e[e.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",e[e.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",e[e.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",e[e.NONE=0]="NONE",e[e.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",e[e.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",e[e.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",e[e.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",e[e.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",e[e.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",e[e.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",e[e.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",e[e.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",e[e.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",e[e.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",e[e.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",e[e.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",e}({}),{camelCase:aY,isNil:aZ,upperFirst:aX}=tx;class aK{constructor(){(0,aW.A)(this,"shaderModuleService",void 0),(0,aW.A)(this,"rendererService",void 0),(0,aW.A)(this,"config",void 0),(0,aW.A)(this,"quad","attribute vec2 a_Position;\n\nvarying vec2 v_UV;\n\nvoid main() {\n v_UV = 0.5 * (a_Position + 1.0);\n gl_Position = vec4(a_Position, 0.0, 1.0);\n}\n"),(0,aW.A)(this,"enabled",!0),(0,aW.A)(this,"renderToScreen",!1),(0,aW.A)(this,"model",void 0),(0,aW.A)(this,"name",void 0),(0,aW.A)(this,"optionsToUpdate",{})}getName(){return this.name}setName(e){this.name=e}getType(){return aV.PostProcessing}init(e,t){this.config=t,this.rendererService=e.getContainer().rendererService,this.shaderModuleService=e.getContainer().shaderModuleService;let{createAttribute:n,createBuffer:r,createModel:i}=this.rendererService,{vs:a,fs:o,uniforms:s}=this.setupShaders();this.model=i({vs:a,fs:o,attributes:{a_Position:n({buffer:r({data:[-4,-4,4,-4,0,4],type:aq.FLOAT}),size:2})},uniforms:(0,a$.A)((0,a$.A)({u_Texture:null},s),this.config&&this.convertOptionsToUniforms(this.config)),depth:{enable:!1},count:3,blend:{enable:"copy"===this.getName()}})}render(e,t){let n=e.multiPassRenderer.getPostProcessor(),{useFramebuffer:r,getViewportSize:i,clear:a}=this.rendererService,{width:o,height:s}=i();r(this.renderToScreen?null:n.getWriteFBO(),()=>{a({framebuffer:n.getWriteFBO(),color:[0,0,0,0],depth:1,stencil:0});let e=(0,a$.A)({u_BloomFinal:0,u_Texture:n.getReadFBO(),u_ViewportSize:[o,s]},this.convertOptionsToUniforms(this.optionsToUpdate));t&&(e.u_BloomFinal=1,e.u_Texture2=t),this.model.draw({uniforms:e})})}isEnabled(){return this.enabled}setEnabled(e){this.enabled=e}setRenderToScreen(e){this.renderToScreen=e}updateOptions(e){this.optionsToUpdate=(0,a$.A)((0,a$.A)({},this.optionsToUpdate),e)}setupShaders(){throw Error("Method not implemented.")}convertOptionsToUniforms(e){let t={};return Object.keys(e).forEach(n=>{aZ(e[n])||(t[`u_${aX(aY(n))}`]=e[n])}),t}}let aQ=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\s\S]*?);/g;function aJ(e,t=!1){let n={};return{content:e=e.replace(aQ,(e,r,i)=>{let a=i.split(":"),o=a[0].trim(),s="";switch(a.length>1&&(s=a[1].trim()),r){case"bool":s="true"===s;break;case"float":case"int":s=Number(s);break;case"vec2":case"vec3":case"vec4":case"ivec2":case"ivec3":case"ivec4":case"mat2":case"mat3":case"mat4":s=s?s.replace("[","").replace("]","").split(",").reduce((e,t)=>(e.push(Number(t.trim())),e),[]):Array(function(e){let t=0;switch(e){case"vec2":case"ivec2":t=2;break;case"vec3":case"ivec3":t=3;break;case"vec4":case"ivec4":case"mat2":t=4;break;case"mat3":t=9;break;case"mat4":t=16}return t}(r)).fill(0)}return n[o]=s,`${t?"uniform ":""}${r} ${o}; `}),uniforms:n}}function a0(e){let{content:t,uniforms:n}=aJ(e,!0);return{content:t=t.replace(/(\s*uniform\s*.*\s*){((?:\s*.*\s*)*?)};/g,(e,t,r)=>{let{content:i,uniforms:a}=aJ(r=r.trim().replace(/^.*$/gm,e=>`uniform ${e}`));return Object.assign(n,a),`${t}{ @@ -1473,7 +1473,7 @@ layout(std140) uniform AttributeUniforms { /* inlined: ${c} */ ${u} `):s+=o[0]}return s+e.slice(l)}let a=_f(e,t||location.href);return await i(a,t||location.href,0)}var _b=/url\((["']?)([^"')]+)\1\)/g,_y=/@font-face[^{}]*\{[^}]*\}/g;function _v(e){if(!e)return[];let t=[];for(let n of e.split(",").map(e=>e.trim()).filter(Boolean)){let e=n.match(/^U\+([0-9A-Fa-f?]+)(?:-([0-9A-Fa-f?]+))?$/);if(!e)continue;let r=e[1],i=e[2],a=e=>e.includes("?")?[parseInt(e.replace(/\?/g,"0"),16),parseInt(e.replace(/\?/g,"F"),16)]:parseInt(e,16);if(i){let e=a(r),n=a(i),o=Array.isArray(e)?e[0]:e,s=Array.isArray(n)?n[1]:n;t.push([Math.min(o,s),Math.max(o,s)])}else{let e=a(r);Array.isArray(e)?t.push([e[0],e[1]]):t.push([e,e])}}return t}function _E(e,t){if(!t.length||!e||0===e.size)return!0;for(let n of e)for(let[e,r]of t)if(n>=e&&n<=r)return!0;return!1}function __(e,t){let n=[];if(!e)return n;for(let r of e.matchAll(_b)){let e=(r[2]||"").trim();if(!(!e||e.startsWith("data:"))){if(!/^https?:/i.test(e))try{e=new URL(e,t||location.href).href}catch{}n.push(e)}}return n}async function _x(e,t,n=""){let r=e;for(let i of e.matchAll(_b)){let e=EB(i[0]);if(!e)continue;let a=e;if(!a.startsWith("http")&&!a.startsWith("data:"))try{a=new URL(a,t||location.href).href}catch{}if(!_l(a)){if(Ej.resource?.has(a)){Ej.font?.add(a),r=r.replace(i[0],`url(${Ej.resource.get(a)})`);continue}if(!Ej.font?.has(a))try{let e=await E$(a,{as:"dataURL",useProxy:n,silent:!0});if(e.ok&&"string"==typeof e.data){let t=e.data;Ej.resource?.set(a,t),Ej.font?.add(a),r=r.replace(i[0],`url(${t})`)}}catch{console.warn("[snapDOM] Failed to fetch font resource:",a)}}}return r}function _A(e={}){let t=new Set((e.families||[]).map(e=>String(e).toLowerCase())),n=new Set((e.domains||[]).map(e=>String(e).toLowerCase())),r=new Set((e.subsets||[]).map(e=>String(e).toLowerCase()));return(e,i)=>{if(t.size&&t.has(e.family.toLowerCase()))return!0;if(n.size)for(let t of e.srcUrls)try{if(n.has(new URL(t).host.toLowerCase()))return!0}catch{}if(r.size){let e=function(e){if(!e.length)return null;let t=(t,n)=>e.some(([e,r])=>!(rn)),n=t(0,255)||t(305,305),r=t(256,591)||t(7680,7935),i=t(880,1023),a=t(1024,1279);return t(7840,7929)||t(258,259)||t(416,417)||t(431,432)?"vietnamese":a?"cyrillic":i?"greek":r?"latin-ext":n?"latin":null}(i);if(e&&r.has(e))return!0}return!1}}async function _S(e,t,n,r){let i;try{i=e.cssRules||[]}catch{return}let a=(e,t)=>{try{return new URL(e,t||location.href).href}catch{return e}};for(let e of i){if(e.type===CSSRule.IMPORT_RULE&&e.styleSheet){let i=e.href?a(e.href,t):t;if(r.depth>=4){console.warn(`[snapDOM] CSSOM import depth exceeded (4) at ${i}`);continue}if(i&&r.visitedSheets.has(i)){console.warn(`[snapDOM] Skipping circular CSSOM import: ${i}`);continue}i&&r.visitedSheets.add(i);let o={...r,depth:(r.depth||0)+1};await _S(e.styleSheet,i,n,o);continue}if(e.type===CSSRule.FONT_FACE_RULE){let i=_d((e.style.getPropertyValue("font-family")||"").trim());if(!i||_l(i))continue;let a=(e.style.getPropertyValue("font-weight")||"400").trim(),o=(e.style.getPropertyValue("font-style")||"normal").trim(),s=(e.style.getPropertyValue("font-stretch")||"100%").trim(),l=(e.style.getPropertyValue("src")||"").trim(),c=(e.style.getPropertyValue("unicode-range")||"").trim();if(!r.faceMatchesRequired(i,o,a,s))continue;let u=_v(c);if(!_E(r.usedCodepoints,u))continue;let d={family:i,weightSpec:a,styleSpec:o,stretchSpec:s,unicodeRange:c,srcRaw:l,srcUrls:__(l,t||location.href),href:t||location.href};if(r.simpleExcluder&&r.simpleExcluder(d,u))continue;if(/url\(/i.test(l)){let e=await _x(l,t||location.href,r.useProxy);await n(`@font-face{font-family:${i};src:${e};font-style:${o};font-weight:${a};font-stretch:${s};${c?`unicode-range:${c};`:""}}`)}else await n(`@font-face{font-family:${i};src:${l};font-style:${o};font-weight:${a};font-stretch:${s};${c?`unicode-range:${c};`:""}}`)}}}async function _w({required:e,usedCodepoints:t,exclude:n,localFonts:r=[],useProxy:i=""}={}){e instanceof Set||(e=new Set),t instanceof Set||(t=new Set);let a=new Map;for(let t of e){let[e,n,r,i]=String(t).split("__");if(!e)continue;let o=a.get(e)||[];o.push({w:parseInt(n,10),s:r,st:parseInt(i,10)}),a.set(e,o)}function o(e,t,n,r){if(!a.has(e))return!1;let i=a.get(e),o=function(e){let t=String(e||"400").trim(),n=t.match(/^(\d{2,3})\s+(\d{2,3})$/);if(n){let e=_h(n[1]),t=_h(n[2]);return{min:Math.min(e,t),max:Math.max(e,t)}}let r=_h(t);return{min:r,max:r}}(n),s=function(e){let t=String(e||"normal").trim().toLowerCase();return"italic"===t?{kind:"italic"}:t.startsWith("oblique")?{kind:"oblique"}:{kind:"normal"}}(t),l=function(e){let t=String(e||"100%").trim(),n=t.match(/(\d+(?:\.\d+)?)\s*%\s+(\d+(?:\.\d+)?)\s*%/);if(n){let e=parseFloat(n[1]),t=parseFloat(n[2]);return{min:Math.min(e,t),max:Math.max(e,t)}}let r=t.match(/(\d+(?:\.\d+)?)\s*%/),i=r?parseFloat(r[1]):100;return{min:i,max:i}}(r),c=o.min!==o.max,u=o.min,d=e=>"normal"===s.kind&&"normal"===e||"normal"!==s.kind&&("italic"===e||"oblique"===e),h=!1;for(let e of i){let t=c?e.w>=o.min&&e.w<=o.max:e.w===u,n=d(_p(e.s)),r=e.st>=l.min&&e.st<=l.max;if(t&&n&&r){h=!0;break}}if(h)return!0;if(!c)for(let e of i){let t=d(_p(e.s)),n=e.st>=l.min&&e.st<=l.max;if(300>=Math.abs(u-e.w)&&t&&n)return!0}return!1}let s=_A(n),l=function(e,t,n,r){let i=Array.from(e||[]).sort().join("|"),a=t?JSON.stringify({families:(t.families||[]).map(e=>String(e).toLowerCase()).sort(),domains:(t.domains||[]).map(e=>String(e).toLowerCase()).sort(),subsets:(t.subsets||[]).map(e=>String(e).toLowerCase()).sort()}):"",o=(n||[]).map(e=>`${(e.family||"").toLowerCase()}::${e.weight||"normal"}::${e.style||"normal"}::${e.src||""}`).sort().join("|");return`fonts-embed-css::req=${i}::ex=${a}::lf=${o}::px=${r||""}`}(e,n,r,i);if(Ej.resource?.has(l))return Ej.resource.get(l);let c=function(e){let t=new Set;for(let n of e||[]){let e=String(n).split("__")[0]?.trim();e&&t.add(e)}return t}(e),u=[];for(let e of document.querySelectorAll("style"))for(let t of(e.textContent||"").matchAll(_g)){let e=(t[2]||t[4]||"").trim();!(!e||_l(e))&&(document.querySelector(`link[rel="stylesheet"][href="${e}"]`)||u.push(e))}u.length&&await Promise.all(u.map(e=>new Promise(t=>{if(document.querySelector(`link[rel="stylesheet"][href="${e}"]`))return t(null);let n=document.createElement("link");n.rel="stylesheet",n.href=e,n.setAttribute("data-snapdom","injected-import"),n.onload=()=>t(n),n.onerror=()=>t(null),document.head.appendChild(n)})));let d="",h=Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter(e=>!!e.href);for(let e of h)try{if(_l(e.href))continue;let r="",a=!1;try{a=new URL(e.href,location.href).origin===location.origin}catch{}if(!a&&!function(e,t){if(!e)return!1;try{let n=new URL(e,location.href);if(n.origin===location.origin)return!0;let r=n.host.toLowerCase();if(["fonts.googleapis.com","fonts.gstatic.com","use.typekit.net","p.typekit.net","kit.fontawesome.com","use.fontawesome.com"].some(e=>r.endsWith(e)))return!0;let i=(n.pathname+n.search).toLowerCase();if(/\bfont(s)?\b/.test(i)||/\.woff2?(\b|$)/.test(i))return!0;for(let e of t){let t=e.toLowerCase().replace(/\s+/g,"+"),n=e.toLowerCase().replace(/\s+/g,"-");if(i.includes(t)||i.includes(n))return!0}return!1}catch{return!1}}(e.href,c))continue;if(a){let t=Array.from(document.styleSheets).find(t=>t.href===e.href);if(t)try{let e=t.cssRules||[];r=Array.from(e).map(e=>e.cssText).join("")}catch{}}if(!r&&(r=(await E$(e.href,{as:"text",useProxy:i})).data,_l(e.href)))continue;r=await _m(r,e.href,i);let l="";for(let a of r.match(_y)||[]){let r=(a.match(/font-family:\s*([^;]+);/i)?.[1]||"").trim(),c=_d(r);if(!c||_l(c))continue;let u=(a.match(/font-weight:\s*([^;]+);/i)?.[1]||"400").trim(),d=(a.match(/font-style:\s*([^;]+);/i)?.[1]||"normal").trim(),h=(a.match(/font-stretch:\s*([^;]+);/i)?.[1]||"100%").trim(),p=(a.match(/unicode-range:\s*([^;]+);/i)?.[1]||"").trim(),f=(a.match(/src\s*:\s*([^;]+);/i)?.[1]||"").trim(),g=__(f,e.href);if(!o(c,d,u,h))continue;let m=_v(p);if(!_E(t,m))continue;let b={family:c,weightSpec:u,styleSpec:d,stretchSpec:h,unicodeRange:p,srcRaw:f,srcUrls:g,href:e.href};if(n&&s(b,m))continue;let y=/url\(/i.test(f)?await _x(a,e.href,i):a;l+=y}l.trim()&&(d+=l)}catch{console.warn("[snapDOM] Failed to process stylesheet:",e.href)}let p={requiredIndex:a,usedCodepoints:t,faceMatchesRequired:o,simpleExcluder:n?_A(n):null,useProxy:i,visitedSheets:new Set,depth:0};for(let e of document.styleSheets)if(!(e.href&&h.some(t=>t.href===e.href)))try{let t=e.href||location.href;t&&p.visitedSheets.add(t),await _S(e,t,async e=>{d+=e},p)}catch{}try{for(let e of document.fonts||[]){if(!e||!e.family||"loaded"!==e.status||!e._snapdomSrc)continue;let t=String(e.family).replace(/^['"]+|['"]+$/g,"");if(_l(t)||!a.has(t)||n?.families&&n.families.some(e=>String(e).toLowerCase()===t.toLowerCase()))continue;let r=e._snapdomSrc;if(!String(r).startsWith("data:")){if(Ej.resource?.has(e._snapdomSrc))r=Ej.resource.get(e._snapdomSrc),Ej.font?.add(e._snapdomSrc);else if(!Ej.font?.has(e._snapdomSrc))try{let t=await E$(e._snapdomSrc,{as:"dataURL",useProxy:i,silent:!0});if(!t.ok||"string"!=typeof t.data)continue;r=t.data,Ej.resource?.set(e._snapdomSrc,r),Ej.font?.add(e._snapdomSrc)}catch{console.warn("[snapDOM] Failed to fetch dynamic font src:",e._snapdomSrc);continue}}d+=`@font-face{font-family:'${t}';src:url(${r});font-style:${e.style||"normal"};font-weight:${e.weight||"normal"};}`}}catch{}for(let e of r){if(!e||"object"!=typeof e)continue;let t=String(e.family||"").replace(/^['"]+|['"]+$/g,"");if(!t||_l(t)||!a.has(t)||n?.families&&n.families.some(e=>String(e).toLowerCase()===t.toLowerCase()))continue;let r=null!=e.weight?String(e.weight):"normal",o=null!=e.style?String(e.style):"normal",s=null!=e.stretchPct?`${e.stretchPct}%`:"100%",l=String(e.src||""),c=l;if(!c.startsWith("data:")){if(Ej.resource?.has(l))c=Ej.resource.get(l),Ej.font?.add(l);else if(!Ej.font?.has(l))try{let e=await E$(l,{as:"dataURL",useProxy:i,silent:!0});if(!e.ok||"string"!=typeof e.data)continue;c=e.data,Ej.resource?.set(l,c),Ej.font?.add(l)}catch{console.warn("[snapDOM] Failed to fetch localFonts src:",l);continue}}d+=`@font-face{font-family:'${t}';src:url(${c});font-style:${o};font-weight:${r};font-stretch:${s};}`}return d&&(d=function(e){if(!e)return e;let t=/@font-face[^{}]*\{[^}]*\}/gi,n=new Set,r=[];for(let i of e.match(t)||[]){let e=_d(i.match(/font-family:\s*([^;]+);/i)?.[1]||""),t=(i.match(/font-weight:\s*([^;]+);/i)?.[1]||"400").trim(),a=(i.match(/font-style:\s*([^;]+);/i)?.[1]||"normal").trim(),o=(i.match(/font-stretch:\s*([^;]+);/i)?.[1]||"100%").trim(),s=(i.match(/unicode-range:\s*([^;]+);/i)?.[1]||"").trim(),l=(i.match(/src\s*:\s*([^;]+);/i)?.[1]||"").trim(),c=__(l,location.href),u=c.length?c.map(e=>String(e).toLowerCase()).sort().join("|"):l.toLowerCase(),d=[String(e||"").toLowerCase(),t,a,o,s.toLowerCase(),u].join("|");n.has(d)||(n.add(d),r.push(i))}if(0===r.length)return e;let i=0;return e.replace(t,()=>r[i++]||"")}(d),Ej.resource?.set(l,d)),d}async function _T(e,t=2){try{await document.fonts.ready}catch{}let n=Array.from(e||[]).filter(Boolean);if(0===n.length)return;let r=()=>{let e=document.createElement("div");for(let t of(e.style.cssText="position:absolute!important;left:-9999px!important;top:0!important;opacity:0!important;pointer-events:none!important;contain:layout size style;",n)){let n=document.createElement("span");n.textContent="AaBbGg1234\xc1\xc9\xcd\xd3\xda\xe7\xf1—∞",n.style.fontFamily=`"${t}"`,n.style.fontWeight="700",n.style.fontStyle="italic",n.style.fontSize="32px",n.style.lineHeight="1",n.style.whiteSpace="nowrap",n.style.margin="0",n.style.padding="0",e.appendChild(n)}document.body.appendChild(e),e.offsetWidth,document.body.removeChild(e)};for(let e=0;erequestAnimationFrame(()=>requestAnimationFrame(e)))}function _O(e,t=!1){let n="",r=Math.max(1,e);for(;r>0;)n=String.fromCharCode(97+--r%26)+n,r=Math.floor(r/26);return t?n.toUpperCase():n}function _C(e,t=!0){let n=Math.max(1,Math.min(3999,e)),r="";for(let[e,t]of[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]])for(;n>=e;)r+=t,n-=e;return t?r:r.toLowerCase()}function _k(e,t){switch((t||"decimal").toLowerCase()){case"decimal":default:return String(Math.max(0,e));case"decimal-leading-zero":return(e<10?"0":"")+String(Math.max(0,e));case"lower-alpha":return _O(e,!1);case"upper-alpha":return _O(e,!0);case"lower-roman":return _C(e,!1);case"upper-roman":return _C(e,!0)}}var _M=null,_L=new WeakMap;function _I(e,t){let n=e.parentElement,r=n?_L.get(n):null;return r?{get(e,n){let i=t.get(e,n),a=r.get(n);return"number"==typeof a?Math.max(i,a):i},getStack(e,n){let i=t.getStack(e,n);if(!i.length)return i;let a=r.get(n);if("number"==typeof a){let e=i.slice();return e[e.length-1]=Math.max(e[e.length-1],a),e}return i}}:t}function _N(e,t,n){let r=new Map;function i(e){let t=[];if(!e||"none"===e)return t;for(let n of String(e).split(",")){let e=n.trim().split(/\s+/),r=e[0],i=Number.isFinite(Number(e[1]))?Number(e[1]):void 0;r&&t.push({name:r,num:i})}return t}let a=i(t?.counterReset),o=i(t?.counterIncrement);function s(t){if(r.has(t))return r.get(t).slice();let i=n.getStack(e,t);i=i.length?i.slice():[];let s=a.find(e=>e.name===t);if(s){let e=Number.isFinite(s.num)?s.num:0;i=i.length?[...i,e]:[e]}let l=o.find(e=>e.name===t);if(l){let e=Number.isFinite(l.num)?l.num:1;0===i.length&&(i=[0]),i[i.length-1]+=e}return r.set(t,i.slice()),i}return{get(e,t){let n=s(t);return n.length?n[n.length-1]:0},getStack:(e,t)=>s(t),__incs:o}}async function _R(e,t,n,r){if(!(e instanceof Element)||!(t instanceof Element))return;if(!_M)try{_M=function(e){let t=new WeakMap,n=e instanceof Document?e.documentElement:e,r=e=>{let t=0,n=e?.parentElement;if(!n)return 0;for(let r of n.children){if(r===e)break;"LI"===r.tagName&&t++}return t},i=(e,n,a)=>{let o=((e,t,n)=>{let i,a,o=(e=>{let t=new Map;for(let[n,r]of e)t.set(n,r.slice());return t})(e);try{i=n.style?.counterReset||getComputedStyle(n).counterReset}catch{}if(i&&"none"!==i)for(let e of i.split(",")){let n=e.trim().split(/\s+/),r=n[0],i=Number.isFinite(Number(n[1]))?Number(n[1]):0;if(!r)continue;let a=t.get(r);if(a&&a.length){let e=a.slice();e.push(i),o.set(r,e)}else o.set(r,[i])}try{a=n.style?.counterIncrement||getComputedStyle(n).counterIncrement}catch{}if(a&&"none"!==a)for(let e of a.split(",")){let t=e.trim().split(/\s+/),n=t[0],r=Number.isFinite(Number(t[1]))?Number(t[1]):1;if(!n)continue;let i=o.get(n)||[];0===i.length&&i.push(0),i[i.length-1]+=r,o.set(n,i)}try{let e=getComputedStyle(n);if("list-item"===e.display&&n&&"LI"===n.tagName){let e=n.parentElement,t=1;if(e&&"OL"===e.tagName){let i=e.getAttribute("start"),a=Number.isFinite(Number(i))?Number(i):1,o=r(n),s=n.getAttribute("value");t=Number.isFinite(Number(s))?Number(s):a+o}else t=1+r(n);let i=o.get("list-item")||[];0===i.length&&i.push(0),i[i.length-1]=t,o.set("list-item",i)}}catch{}return o})(a,n,e);t.set(e,o);let s=o;for(let t of e.children)s=i(t,o,s);return o},a=new Map;return i(n,a,a),{get(e,n){let r=t.get(e)?.get(n);return r&&r.length?r[r.length-1]:0},getStack(e,n){let r=t.get(e)?.get(n);return r?r.slice():[]}}}(e.ownerDocument||document)}catch{}for(let i of["::before","::after","::first-letter"])try{let a=E0(e,i);if(!a||"function"!=typeof a[Symbol.iterator]||"none"===a.content&&"none"===a.backgroundImage&&"transparent"===a.backgroundColor&&("none"===a.borderStyle||0===parseFloat(a.borderWidth))&&(!a.transform||"none"===a.transform)&&"inline"===a.display)continue;if("::first-letter"===i){let r=getComputedStyle(e);if(a.color===r.color&&a.fontSize===r.fontSize&&a.fontWeight===r.fontWeight)continue;let i=Array.from(t.childNodes).find(e=>e.nodeType===Node.TEXT_NODE&&e.textContent?.trim().length>0);if(!i)continue;let o=i.textContent,s=o.match(/^([^\p{L}\p{N}\s]*[\p{L}\p{N}](?:['’])?)/u),l=s?.[0],c=o.slice(l?.length||0);if(!l||/[\uD800-\uDFFF]/.test(l))continue;let u=document.createElement("span");u.textContent=l,u.dataset.snapdomPseudo="::first-letter";let d=E1(a),h=EJ(d,"span");n.styleMap.set(u,h);let p=document.createTextNode(c);t.replaceChild(p,i),t.insertBefore(u,p);continue}let o=a.content,{text:s,incs:l}=function(e,t,n){let r;try{r=getComputedStyle(e,t)}catch{}let i=r?.content;if(!i||"none"===i||"normal"===i)return{text:"",incs:[]};let a=_I(e,n),o=_N(e,r,a);return{text:function(e){let t;if(!e)return"";let n=[],r=/"([^"]*)"/g;for(;t=r.exec(e);)n.push(t[1]);return n.length?n.join(""):(e||"").replace(/"([^"]*)"/g,"$1")}(/\bcounter\s*\(|\bcounters\s*\(/.test(i||"")?function(e,t,n){if(!e||"none"===e)return e;try{return(e.replace(/\b(counter|counters)\s*\(([^)]+)\)/g,(e,r,i)=>{let a=String(i).split(",").map(e=>e.trim());if("counter"===r){let e=a[0]?.replace(/^["']|["']$/g,""),r=(a[1]||"decimal").toLowerCase(),i=n.get(t,e);return _k(i,r)}{let e=a[0]?.replace(/^["']|["']$/g,""),r=a[1]?.replace(/^["']|["']$/g,"")??"",i=(a[2]||"decimal").toLowerCase(),o=n.getStack(t,e);return o.length?o.map(e=>_k(e,i)).join(r):""}})||"").replace(/"([^"]*)"/g,"$1")}catch{return"- "}}(i,e,o):i),incs:o.__incs||[]}}(e,i,_M),c=a.backgroundImage,u=a.backgroundColor,d=a.fontFamily,h=parseInt(a.fontSize)||32,p=parseInt(a.fontWeight)||!1,f=a.color||"#000",g=a.borderStyle,m=parseFloat(a.borderWidth),b=a.transform,y=_l(d),v="none"!==o&&""!==s,E=c&&"none"!==c,_=u&&"transparent"!==u&&"rgba(0, 0, 0, 0)"!==u,x=g&&"none"!==g&&m>0,A=b&&"none"!==b;if(!(v||E||_||x||A)){if(l&&l.length&&e.parentElement){let t=_L.get(e.parentElement)||new Map;for(let{name:n}of l){if(!n)continue;let r=_I(e,_M),a=_N(e,getComputedStyle(e,i),r).get(e,n);t.set(n,a)}_L.set(e.parentElement,t)}continue}let S=document.createElement("span");S.dataset.snapdomPseudo=i,S.style.verticalAlign="middle",S.style.pointerEvents="none";let w=E1(a),O=EJ(w,"span");if(n.styleMap.set(S,O),y&&s&&1===s.length){let{dataUrl:e,width:n,height:r}=await _c(s,d,p,h,f),i=document.createElement("img");i.src=e,i.style=`height:${h}px;width:${n/r*h}px;object-fit:contain;`,S.appendChild(i),t.dataset.snapdomHasIcon="true"}else if(s&&s.startsWith("url(")){let t=EB(s);if(t?.trim())try{let e=document.createElement("img");e.src=(await E$(EF(t),{as:"dataURL",useProxy:r.useProxy})).data,e.style=`width:${h}px;height:auto;object-fit:contain;`,S.appendChild(e)}catch(t){console.error(`[snapdom] Error in pseudo ${i} for`,e,t)}}else!y&&v&&(S.textContent=s);if(S.style.background="none","mask"in S.style&&(S.style.mask="none"),E)try{let e=E2(c),t=await Promise.all(e.map(EV));S.style.backgroundImage=t.join(", ")}catch(e){console.warn(`[snapdom] Failed to inline background-image for ${i}`,e)}_&&(S.style.backgroundColor=u);let C=S.childNodes.length>0||S.textContent?.trim()!==""||E||_||x||A;if(l&&l.length&&e.parentElement){let t=_L.get(e.parentElement)||new Map,n=_I(e,_M),r=_N(e,getComputedStyle(e,i),n);for(let{name:n}of l){if(!n)continue;let i=r.get(e,n);t.set(n,i)}_L.set(e.parentElement,t)}if(!C)continue;"::before"===i?t.insertBefore(S,t.firstChild):t.appendChild(S)}catch(t){console.warn(`[snapdom] Failed to capture ${i} for`,e,t)}let i=Array.from(e.children),a=Array.from(t.children).filter(e=>!e.dataset.snapdomPseudo);for(let e=0;e0,s="none"===i||0===parseFloat(a);o&&s&&(e.style.border=`${r} solid transparent`)}(e);try{!function(e){if(!e)return;let t=new Set;if(e.querySelectorAll("use").forEach(e=>{let n=e.getAttribute("xlink:href")||e.getAttribute("href");n&&n.startsWith("#")&&t.add(n.slice(1))}),!t.size)return;let n=Array.from(document.querySelectorAll("svg > symbol, svg > defs")),r=n.filter(e=>"symbol"===e.tagName.toLowerCase()),i=n.filter(e=>"defs"===e.tagName.toLowerCase()),a=e.querySelector("svg.inline-defs-container");a||((a=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("aria-hidden","true"),a.setAttribute("style","position: absolute; width: 0; height: 0; overflow: hidden;"),a.classList.add("inline-defs-container"),e.insertBefore(a,e.firstChild));let o=new Set;e.querySelectorAll("symbol[id], defs > *[id]").forEach(e=>{o.add(e.id)}),t.forEach(e=>{if(o.has(e))return;let t=r.find(t=>t.id===e);if(t){a.appendChild(t.cloneNode(!0)),o.add(e);return}for(let t of i){let n=t.querySelector(`#${CSS.escape(e)}`);if(n){let t=a.querySelector("defs");t||(t=document.createElementNS("http://www.w3.org/2000/svg","defs"),a.appendChild(t)),t.appendChild(n.cloneNode(!0)),o.add(e);break}}})}(e)}catch(e){console.warn("inlineExternal defs or symbol failed:",e)}try{n=await _a(e,r,t,e)}catch(e){throw console.warn("deepClone failed:",e),e}try{await _R(e,n,r,t)}catch(e){console.warn("inlinePseudoElements failed:",e)}await _H(n);try{for(let e of n.querySelectorAll("style[data-sd]"))a+=e.textContent||"",e.remove()}catch{}let o=function(e){let t=Array.from(new Set(e.values())).filter(Boolean).sort(),n=new Map,r=1;for(let e of t)n.set(e,`c${r++}`);return n}(r.styleMap);for(let[e,t]of(i=a+(i=Array.from(o.entries()).map(([e,t])=>`.${t}{${e}}`).join("")),r.styleMap.entries())){if("STYLE"===e.tagName)continue;if(e.getRootNode&&e.getRootNode()instanceof ShadowRoot){e.setAttribute("style",t.replace(/;/g,"; "));continue}let n=o.get(t);n&&e.classList.add(n);let r=e.style?.backgroundImage,i=e.dataset?.snapdomHasIcon;r&&"none"!==r&&(e.style.backgroundImage=r),i&&(e.style.verticalAlign="middle",e.style.display="inline")}for(let[e,t]of r.nodeMap.entries()){let n=t.scrollLeft,r=t.scrollTop;if((n||r)&&e instanceof HTMLElement){e.style.overflow="hidden",e.style.scrollbarWidth="none",e.style.msOverflowStyle="none";let t=document.createElement("div");for(t.style.transform=`translate(${-n}px, ${-r}px)`,t.style.willChange="transform",t.style.display="inline-block",t.style.width="100%";e.firstChild;)t.appendChild(e.firstChild);e.appendChild(t)}}if(!function(e,t){if(!e||!t)return;let n=e.scrollTop||0;if(!n)return;"static"===getComputedStyle(t).position&&(t.style.position="relative");let r=e.getBoundingClientRect(),i=e.clientHeight,a="data-snap-ph",o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);for(;o.nextNode();){let s=o.currentNode,l=getComputedStyle(s),c=l.position;if("sticky"!==c&&"-webkit-sticky"!==c)continue;let u=_P(l.top),d=_P(l.bottom);if(null==u&&null==d)continue;let h=function(e,t,n){let r=e;for(let e=0;e0&&g>0)||!Number.isFinite(m))continue;let b=null!=u?u+n:n+(i-g-d);if(!Number.isFinite(b))continue;let y=Number.parseInt(l.zIndex,10),v=Number.isFinite(y),E=v?Math.max(y,1)+1:2,_=v?y-1:0,x=h.cloneNode(!1);x.setAttribute(a,"1"),x.style.position="sticky",x.style.left=`${m}px`,x.style.top=`${b}px`,x.style.width=`${f}px`,x.style.height=`${g}px`,x.style.visibility="hidden",x.style.zIndex=String(_),x.style.overflow="hidden",x.style.background="transparent",x.style.boxShadow="none",x.style.filter="none",h.parentElement?.insertBefore(x,h),h.style.position="absolute",h.style.left=`${m}px`,h.style.top=`${b}px`,h.style.bottom="auto",h.style.zIndex=String(E),h.style.pointerEvents="none"}}(e,n instanceof HTMLElement&&n.firstElementChild instanceof HTMLElement?n.firstElementChild:n),e===r.nodeMap.get(n)){let t=r.styleCache.get(e)||window.getComputedStyle(e);r.styleCache.set(e,t);let i=function(e){if(!e||"none"===e)return"";let t=e.replace(/translate[XY]?\([^)]*\)/g,"");return(t=(t=t.replace(/matrix\(([^)]+)\)/g,(e,t)=>{let n=t.split(",").map(e=>e.trim());return 6!==n.length?`matrix(${t})`:(n[4]="0",n[5]="0",`matrix(${n.join(", ")})`)})).replace(/matrix3d\(([^)]+)\)/g,(e,t)=>{let n=t.split(",").map(e=>e.trim());return 16!==n.length?`matrix3d(${t})`:(n[12]="0",n[13]="0",`matrix3d(${n.join(", ")})`)})).trim().replace(/\s{2,}/g," ")}(t.transform);n.style.margin="0",n.style.top="auto",n.style.left="auto",n.style.right="auto",n.style.bottom="auto",n.style.animation="none",n.style.transition="none",n.style.willChange="auto",n.style.float="none",n.style.clear="none",n.style.transform=i||""}for(let[e,t]of r.nodeMap.entries())"PRE"===t.tagName&&(e.style.marginTop="0",e.style.marginBlockStart="0");return{clone:n,classCSS:i,styleCache:r.styleCache}}var _j=new Map;async function _B(e){if(Ej.resource?.has(e))return Ej.resource.get(e);if(_j.has(e))return _j.get(e);let t=(async()=>{let t=await E$(e,{as:"dataURL",silent:!0});if(!t.ok||"string"!=typeof t.data)throw Error(`[snapDOM] Failed to read blob URL: ${e}`);return Ej.resource?.set(e,t.data),t.data})();_j.set(e,t);try{let n=await t;return _j.set(e,n),n}catch(t){throw _j.delete(e),t}}var _F=/\bblob:[^)"'\s]+/g;async function _z(e){if(!e||-1===e.indexOf("blob:"))return e;let t=Array.from(new Set(e.match(_F)||[]));if(0===t.length)return e;let n=e;for(let e of t)try{let t=await _B(e);n=n.split(e).join(t)}catch{}return n}function _U(e){return"string"==typeof e&&e.startsWith("blob:")}async function _H(e){if(e){for(let t of e.querySelectorAll?e.querySelectorAll("img"):[])try{let e=t.getAttribute("src")||t.currentSrc||"";if(_U(e)){let n=await _B(e);t.setAttribute("src",n)}let n=t.getAttribute("srcset");if(n&&n.includes("blob:")){let e=(n||"").split(",").map(e=>e.trim()).filter(Boolean).map(e=>{let t=e.match(/^(\S+)(\s+.+)?$/);return t?{url:t[1],desc:t[2]||""}:null}).filter(Boolean),r=!1;for(let t of e)if(_U(t.url))try{t.url=await _B(t.url),r=!0}catch{}r&&t.setAttribute("srcset",e.map(e=>e.desc?`${e.url} ${e.desc.trim()}`:e.url).join(", "))}}catch{}for(let t of e.querySelectorAll?e.querySelectorAll("image"):[])try{let e="http://www.w3.org/1999/xlink",n=t.getAttribute("href")||t.getAttributeNS?.(e,"href");if(_U(n)){let r=await _B(n);t.setAttribute("href",r),t.removeAttributeNS?.(e,"href")}}catch{}for(let t of e.querySelectorAll?e.querySelectorAll("[style*='blob:']"):[])try{let e=t.getAttribute("style");if(e&&e.includes("blob:")){let n=await _z(e);t.setAttribute("style",n)}}catch{}for(let t of e.querySelectorAll?e.querySelectorAll("style"):[])try{let e=t.textContent||"";e.includes("blob:")&&(t.textContent=await _z(e))}catch{}for(let t of["poster"])for(let n of e.querySelectorAll?e.querySelectorAll(`[${t}^='blob:']`):[])try{let e=n.getAttribute(t);_U(e)&&n.setAttribute(t,await _B(e))}catch{}}}async function _G(e,t={}){let n=Array.from(e.querySelectorAll("img")),r=async e=>{if(!e.getAttribute("src")){let t=e.currentSrc||e.src||"";t&&e.setAttribute("src",t)}e.removeAttribute("srcset"),e.removeAttribute("sizes");let n=e.src||"";if(!n)return;let r=await E$(n,{as:"dataURL",useProxy:t.useProxy});if(r.ok&&"string"==typeof r.data&&r.data.startsWith("data:")){e.src=r.data,e.width||(e.width=e.naturalWidth||100),e.height||(e.height=e.naturalHeight||100);return}let{fallbackURL:i}=t||{};if(i)try{let r=parseInt(e.dataset?.snapdomWidth||"",10)||0,a=parseInt(e.dataset?.snapdomHeight||"",10)||0,o=parseInt(e.getAttribute("width")||"",10)||0,s=parseInt(e.getAttribute("height")||"",10)||0,l=parseFloat(e.style?.width||"")||0,c=parseFloat(e.style?.height||"")||0,u=r||l||o||e.width||void 0,d=a||c||s||e.height||void 0,h="function"==typeof i?await i({width:u,height:d,src:n,element:e}):i;if(h){e.src=(await E$(h,{as:"dataURL",useProxy:t.useProxy})).data,!e.width&&u&&(e.width=u),!e.height&&d&&(e.height=d),e.width||(e.width=e.naturalWidth||100),e.height||(e.height=e.naturalHeight||100);return}}catch{}let a=e.width||e.naturalWidth||100,o=e.height||e.naturalHeight||100;if(!1!==t.placeholders){let t=document.createElement("div");t.style.cssText=`width:${a}px;height:${o}px;background:#ccc;display:inline-block;text-align:center;line-height:${o}px;color:#666;font-size:12px;overflow:hidden`,t.textContent="img",e.replaceWith(t)}else{let t=document.createElement("div");t.style.cssText=`display:inline-block;width:${a}px;height:${o}px;visibility:hidden;`,e.replaceWith(t)}};for(let e=0;e{let e=l.getPropertyValue("border-image"),t=l.getPropertyValue("border-image-source");return e&&"none"!==e||t&&"none"!==t})();for(let e of a){let n=l.getPropertyValue(e);if(!n||"none"===n)continue;let i=E2(n),a=await Promise.all(i.map(e=>EV(e,r)));a.some(e=>e&&"none"!==e&&!/^url\(undefined/.test(e))&&t.style.setProperty(e,a.join(", "))}for(let e of o){let n=l.getPropertyValue(e);n&&"initial"!==n&&t.style.setProperty(e,n)}if(c)for(let e of s){let n=l.getPropertyValue(e);n&&"initial"!==n&&t.style.setProperty(e,n)}let u=Array.from(e.children),d=Array.from(t.children);for(let e=0;e{};let r=function(e){let t=getComputedStyle(e),n=t.getPropertyValue("-webkit-line-clamp")||t.getPropertyValue("line-clamp"),r=parseInt(n=(n||"").trim(),10);return Number.isFinite(r)&&r>0?r:0}(e);if(r<=0||!(!((t=e).childElementCount>0)&&Array.from(t.childNodes).some(e=>e.nodeType===Node.TEXT_NODE)))return()=>{};let i=getComputedStyle(e),a=Math.round(function(e){let t=(e.lineHeight||"").trim(),n=parseFloat(e.fontSize)||16;return t&&"normal"!==t?t.endsWith("px")?parseFloat(t):/^\d+(\.\d+)?$/.test(t)?Math.round(parseFloat(t)*n):t.endsWith("%")?Math.round(parseFloat(t)/100*n):Math.round(1.2*n):Math.round(1.2*n)}(i)*r+((parseFloat((n=i).paddingTop)||0)+(parseFloat(n.paddingBottom)||0))),o=e.textContent??"";if(e.scrollHeight<=a+.5)return()=>{};let s=0,l=o.length,c=-1;for(;s<=l;){let t=s+l>>1;e.textContent=o.slice(0,t)+"…",e.scrollHeight<=a+.5?(c=t,s=t+1):l=t-1}return e.textContent=(c>=0?o.slice(0,c):"")+"…",()=>{e.textContent=o}}(e);try{({clone:n,classCSS:r,styleCache:i}=await _D(e,t)),l&&n&&(h=function(e,t){if(!e||!t||!t.style)return null;let n=getComputedStyle(e);try{t.style.transformOrigin="0 0"}catch{}try{"translate"in t.style&&(t.style.translate="none"),"rotate"in t.style&&(t.style.rotate="none")}catch{}let r=n.transform||"none";if(!r||"none"===r)try{let n=_q(e);if(1===n.a&&0===n.b&&0===n.c&&1===n.d)return t.style.transform="none",{a:1,b:0,c:0,d:1}}catch{}let i=r.match(/^matrix\(\s*([^)]+)\)$/i);if(i){let e=i[1].split(",").map(e=>parseFloat(e.trim()));if(6===e.length&&e.every(Number.isFinite)){let[n,r,i,a]=e,o=Math.sqrt(n*n+r*r)||0,s=0,l=0,c=0,u=0,d=0,h=0;o>0&&(c=(s=n/o)*i+(l=r/o)*a,(h=Math.sqrt((u=i-s*c)*u+(d=a-l*c)*d)||0)>0?c/=h:c=0);let p=c*h,f=h;try{t.style.transform=`matrix(${o}, 0, ${p}, ${f}, 0, 0)`}catch{}return{a:o,b:0,c:p,d:f}}}try{let e=String(r).trim();return t.style.transform=e+" translate(0px, 0px) rotate(0deg)",null}catch{return null}}(e,n)),c&&n&&function(e,t){if(!e||!t||!t.style)return;let n=getComputedStyle(e);try{t.style.boxShadow="none"}catch{}try{t.style.textShadow="none"}catch{}try{t.style.outline="none"}catch{}let r=(n.filter||"").replace(/\bblur\([^()]*\)\s*/gi,"").replace(/\bdrop-shadow\([^()]*\)\s*/gi,"").trim().replace(/\s+/g," ");try{t.style.filter=r.length?r:"none"}catch{}}(e,n)}finally{p()}await new Promise(e=>{E3(async()=>{await _G(n,t),e()},{fast:s})}),await new Promise(r=>{E3(async()=>{await _$(e,n,i,t),r()},{fast:s})}),t.embedFonts&&await new Promise(n=>{E3(async()=>{let r=function(e){let t=new Set;if(!e)return t;let n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null),r=e=>{let n,r,i,a=_d(e.fontFamily);a&&t.add((n=e.fontWeight,r=e.fontStyle,i=e.fontStretch,`${a}__${_h(n)}__${_p(r)}__${function(e){let t=String(e??"100%").match(/(\d+(?:\.\d+)?)\s*%/);return t?Math.max(50,Math.min(200,parseFloat(t[1]))):100}(i)}`))};r(getComputedStyle(e));let i=getComputedStyle(e,"::before");i&&i.content&&"none"!==i.content&&r(i);let a=getComputedStyle(e,"::after");for(a&&a.content&&"none"!==a.content&&r(a);n.nextNode();){let e=n.currentNode;r(getComputedStyle(e));let t=getComputedStyle(e,"::before");t&&t.content&&"none"!==t.content&&r(t);let i=getComputedStyle(e,"::after");i&&i.content&&"none"!==i.content&&r(i)}return t}(e),i=function(e){let t=new Set,n=e=>{if(e)for(let n of e)t.add(n.codePointAt(0))},r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null);for(;r.nextNode();){let e=r.currentNode;if(e.nodeType===Node.TEXT_NODE)n(e.nodeValue||"");else if(e.nodeType===Node.ELEMENT_NODE)for(let r of["::before","::after"]){let i=getComputedStyle(e,r),a=i?.getPropertyValue("content");if(a&&"none"!==a)if(/^"/.test(a)||/^'/.test(a))n(a.slice(1,-1));else{let e=a.match(/\\[0-9A-Fa-f]{1,6}/g);if(e)for(let n of e)try{t.add(parseInt(n.slice(1),16))}catch{}}}}return t}(e);if(E5()){let e=new Set(Array.from(r).map(e=>String(e).split("__")[0]).filter(Boolean));await _T(e,1)}u=await _w({required:r,usedCodepoints:i,preCached:!1,exclude:t.excludeFonts,useProxy:t.useProxy}),n()},{fast:s})});let f=(function(e){let t=new Set;return e.nodeType!==Node.ELEMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?[]:(e.tagName&&t.add(e.tagName.toLowerCase()),"function"==typeof e.querySelectorAll&&e.querySelectorAll("*").forEach(e=>t.add(e.tagName.toLowerCase())),Array.from(t))})(n).sort(),g=f.join(",");Ej.baseStyle.has(g)?d=Ej.baseStyle.get(g):await new Promise(e=>{E3(()=>{d=function(e){let t=new Map;for(let n of e){let e=Ej.defaultStyle.get(n);if(!e)continue;let r=Object.entries(e).map(([e,t])=>`${e}:${t};`).sort().join("");r&&(t.has(r)||t.set(r,[]),t.get(r).push(n))}let n="";for(let[e,r]of t.entries())n+=`${r.join(",")} { ${e} } -`;return n}(f),Ej.baseStyle.set(g,d),e()},{fast:s})}),await new Promise(i=>{E3(()=>{let s=getComputedStyle(e),p=e.getBoundingClientRect(),f=Math.max(1,Math.ceil(e.offsetWidth||parseFloat(s.width)||p.width||1)),g=Math.max(1,Math.ceil(e.offsetHeight||parseFloat(s.height)||p.height||1)),m=(e,t=NaN)=>{let n="string"==typeof e?parseFloat(e):e;return Number.isFinite(n)?n:t},b=m(t.width),y=m(t.height),v=f,E=g,_=Number.isFinite(b),x=Number.isFinite(y),A=g>0?f/g:1;_&&x?(v=Math.max(1,Math.ceil(b)),E=Math.max(1,Math.ceil(y))):_?E=Math.max(1,Math.ceil((v=Math.max(1,Math.ceil(b)))/(A||1))):x?v=Math.max(1,Math.ceil((E=Math.max(1,Math.ceil(y)))*(A||1))):(v=f,E=g);let S=0,w=0,O=f,C=g;if(l&&h&&Number.isFinite(h.a)){let e=_V(f,g,{a:h.a,b:h.b||0,c:h.c||0,d:h.d||1,e:0,f:0},0,0);S=e.minX,w=e.minY,O=e.maxX,C=e.maxY}else if(!l&&function(e){let t=getComputedStyle(e),n=t.transform||"none";if("none"!==n&&!/^matrix\(\s*1\s*,\s*0\s*,\s*0\s*,\s*1\s*,\s*0\s*,\s*0\s*\)$/i.test(n))return!0;let r=t.rotate&&"none"!==t.rotate&&"0deg"!==t.rotate,i=t.scale&&"none"!==t.scale&&"1"!==t.scale,a=t.translate&&"none"!==t.translate&&"0px 0px"!==t.translate;return!!(r||i||a)}(e)){let t=s.transform&&"none"!==s.transform?s.transform:"",n=function(e){let t={rotate:"0deg",scale:null,translate:null},n="function"==typeof e.computedStyleMap?e.computedStyleMap():null;if(n){let r=e=>{try{if("function"==typeof n.has&&!n.has(e)||"function"!=typeof n.get)return null;return n.get(e)}catch{return null}},i=r("rotate");if(i)if(i.angle){let e=i.angle;t.rotate="rad"===e.unit?180*e.value/Math.PI+"deg":e.value+e.unit}else i.unit?t.rotate="rad"===i.unit?180*i.value/Math.PI+"deg":i.value+i.unit:t.rotate=String(i);else{let n=getComputedStyle(e);t.rotate=n.rotate&&"none"!==n.rotate?n.rotate:"0deg"}let a=r("scale");if(a){let e="x"in a&&a.x?.value!=null?a.x.value:Array.isArray(a)?a[0]?.value:Number(a)||1,n="y"in a&&a.y?.value!=null?a.y.value:Array.isArray(a)?a[1]?.value:e;t.scale=`${e} ${n}`}else{let n=getComputedStyle(e);t.scale=n.scale&&"none"!==n.scale?n.scale:null}let o=r("translate");if(o){let e="x"in o&&"value"in o.x?o.x.value:Array.isArray(o)?o[0]?.value:0,n="y"in o&&"value"in o.y?o.y.value:Array.isArray(o)?o[1]?.value:0,r="x"in o&&o.x?.unit?o.x.unit:"px",i="y"in o&&o.y?.unit?o.y.unit:"px";t.translate=`${e}${r} ${n}${i}`}else{let n=getComputedStyle(e);t.translate=n.translate&&"none"!==n.translate?n.translate:null}return t}let r=getComputedStyle(e);return t.rotate=r.rotate&&"none"!==r.rotate?r.rotate:"0deg",t.scale=r.scale&&"none"!==r.scale?r.scale:null,t.translate=r.translate&&"none"!==r.translate?r.translate:null,t}(e),r=function(e){let t=function(){if(_Y)return _Y;let e=document.createElement("div");return e.id="snapdom-measure-slot",e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"absolute",left:"-99999px",top:"0px",width:"0px",height:"0px",overflow:"hidden",opacity:"0",pointerEvents:"none",contain:"size layout style"}),document.documentElement.appendChild(e),_Y=e,e}(),n=document.createElement("div");n.style.transformOrigin="0 0",e.baseTransform&&(n.style.transform=e.baseTransform),e.rotate&&(n.style.rotate=e.rotate),e.scale&&(n.style.scale=e.scale),e.translate&&(n.style.translate=e.translate),t.appendChild(n);let r=_q(n);return t.removeChild(n),r}({baseTransform:t,rotate:n.rotate||"0deg",scale:n.scale,translate:n.translate}),{ox:i,oy:a}=function(e,t,n){let r=(e.transformOrigin||"0 0").trim().split(/\s+/),[i,a]=[r[0]||"0",r[1]||"0"],o=(e,t)=>{let n=e.toLowerCase();return"left"===n||"top"===n?0:"center"===n?t/2:"right"===n||"bottom"===n?t:n.endsWith("px")?parseFloat(n)||0:n.endsWith("%")?(parseFloat(n)||0)*t/100:/^-?\d+(\.\d+)?$/.test(n)&&parseFloat(n)||0};return{ox:o(i,t),oy:o(a,n)}}(s,f,g),o=_V(f,g,r.is2D?r:new DOMMatrix(r.toString()),i,a);S=o.minX,w=o.minY,O=o.maxX,C=o.maxY}let k=function(e){let t=e.boxShadow||"";if(!t||"none"===t)return{top:0,right:0,bottom:0,left:0};let n=t.split(/\),(?=(?:[^()]*\([^()]*\))*[^()]*$)/).map(e=>e.trim()),r=0,i=0,a=0,o=0;for(let e of n){let t=e.match(/-?\d+(\.\d+)?px/g)?.map(e=>parseFloat(e))||[];if(t.length<2)continue;let[n,s,l=0,c=0]=t,u=Math.abs(n)+l+c,d=Math.abs(s)+l+c;i=Math.max(i,u+Math.max(n,0)),o=Math.max(o,u+Math.max(-n,0)),a=Math.max(a,d+Math.max(s,0)),r=Math.max(r,d+Math.max(-s,0))}return{top:Math.ceil(r),right:Math.ceil(i),bottom:Math.ceil(a),left:Math.ceil(o)}}(s),M=function(e){let t=(e.filter||"").match(/blur\(\s*([0-9.]+)px\s*\)/),n=t?Math.ceil(parseFloat(t[1])||0):0;return{top:n,right:n,bottom:n,left:n}}(s),L=function(e){if("none"===(e.outlineStyle||"none"))return{top:0,right:0,bottom:0,left:0};let t=Math.ceil(parseFloat(e.outlineWidth||"0")||0);return{top:t,right:t,bottom:t,left:t}}(s),I=function(e){let t=`${e.filter||""} ${e.webkitFilter||""}`.trim();if(!t||"none"===t)return{bleed:{top:0,right:0,bottom:0,left:0},has:!1};let n=t.match(/drop-shadow\((?:[^()]|\([^()]*\))*\)/gi)||[],r=0,i=0,a=0,o=0,s=!1;for(let e of n){s=!0;let[t=0,n=0,l=0]=e.match(/-?\d+(?:\.\d+)?px/gi)?.map(e=>parseFloat(e))||[],c=Math.abs(t)+l,u=Math.abs(n)+l;i=Math.max(i,c+Math.max(t,0)),o=Math.max(o,c+Math.max(-t,0)),a=Math.max(a,u+Math.max(n,0)),r=Math.max(r,u+Math.max(-n,0))}return{bleed:{top:Math.ceil(r),right:Math.ceil(i),bottom:Math.ceil(a),left:Math.ceil(o)},has:s}}(s),N=c?{top:0,right:0,bottom:0,left:0}:{top:k.top+M.top+L.top+I.bleed.top,right:k.right+M.right+L.right+I.bleed.right,bottom:k.bottom+M.bottom+L.bottom+I.bleed.bottom,left:k.left+M.left+L.left+I.bleed.left};S-=N.left,w-=N.top,O+=N.right,C+=N.bottom;let R=Math.max(1,Math.ceil(O-S)),P=Math.max(1,Math.ceil(C-w)),D=Math.max(1,Math.round(R*(_||x?v/f:1))),j=Math.max(1,Math.round(P*(x||_?E/g:1))),B="http://www.w3.org/2000/svg",F=+!!E5()+ +!!l,z=document.createElementNS(B,"foreignObject"),U=Math.floor(S),H=Math.floor(w);z.setAttribute("x",String(-(U-F))),z.setAttribute("y",String(-(H-F))),z.setAttribute("width",String(Math.ceil(f+2*F))),z.setAttribute("height",String(Math.ceil(g+2*F))),z.style.overflow="visible";let G=document.createElement("style");G.textContent=d+u+"svg{overflow:visible;} foreignObject{overflow:visible;}"+r,z.appendChild(G);let $=document.createElement("div");$.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),$.style.width=`${f}px`,$.style.height=`${g}px`,$.style.overflow="visible",n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),$.appendChild(n),z.appendChild($);let W=new XMLSerializer().serializeToString(z),V=R+2*F,q=P+2*F,Y=_||x;t.meta={w0:f,h0:g,vbW:V,vbH:q,targetW:v,targetH:E};let Z=E5()&&Y?V:D+2*F,X=E5()&&Y?q:j+2*F;o=``+W+"",a=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(o)}`,i()},{fast:s})});let m=document.getElementById("snapdom-sandbox");return m&&"absolute"===m.style.position&&m.remove(),a}function _V(e,t,n,r,i){let a=n.a,o=n.b,s=n.c,l=n.d,c=n.e||0,u=n.f||0;function d(e,t){let n=e-r,d=t-i,h=a*n+s*d,p=o*n+l*d;return[h+=r+c,p+=i+u]}let h=[d(0,0),d(e,0),d(0,t),d(e,t)],p=1/0,f=1/0,g=-1/0,m=-1/0;for(let[e,t]of h)eg&&(g=e),t>m&&(m=t);return{minX:p,minY:f,maxX:g,maxY:m,width:g-p,height:m-f}}function _q(e){let t=getComputedStyle(e).transform;if(!t||"none"===t)return new DOMMatrix;try{return new DOMMatrix(t)}catch{return new WebKitCSSMatrix(t)}}var _Y=null;function _Z(e){let t=function(e){let t=[],n="",r=0;for(let i=0;ie.trim()).filter(Boolean)}(e),n=null,r=null,i=null,a=[];for(let e of t){let t=e.indexOf(":");if(t<0)continue;let o=e.slice(0,t).trim().toLowerCase(),s=e.slice(t+1).trim();"box-shadow"===o?i=s:"filter"===o?n=s:"-webkit-filter"===o?r=s:a.push([o,s])}if(i){let e=function(e){let t=[],n="",r=0;for(let i=0;i`${e}:${t}`).join(";")}async function _X(e,t){let n,r,{width:i,height:a,scale:o=1,dpr:s=1,meta:l={}}=t;e=function(e){var t;if(!E5()||!("string"==typeof e&&/^data:image\/svg\+xml/i.test(e)))return e;try{return t=(function(e){let t=e.indexOf(",");return t>=0?decodeURIComponent(e.slice(t+1)):""})(e).replace(/]*>([\s\S]*?)<\/style>/gi,(e,t)=>e.replace(t,t.replace(/([^{}]+)\{([^}]*)\}/g,(e,t,n)=>`${t}{${_Z(n)}}`))).replace(/style=(['"])([\s\S]*?)\1/gi,(e,t,n)=>`style=${t}${_Z(n)}${t}`),`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`}catch{return e}}(e);let c=new Image;c.loading="eager",c.decoding="sync",c.crossOrigin="anonymous",c.src=e,await c.decode();let u=c.naturalWidth,d=c.naturalHeight,h=Number.isFinite(l.w0)?l.w0:u,p=Number.isFinite(l.h0)?l.h0:d,f=Number.isFinite(i),g=Number.isFinite(a);if(f&&g)n=Math.max(1,i),r=Math.max(1,a);else if(f){let e=i/Math.max(1,h);n=i,r=Math.round(p*e)}else if(g){let e=a/Math.max(1,p);r=a,n=Math.round(h*e)}else n=u,r=d;n=Math.round(n*o),r=Math.round(r*o);let m=document.createElement("canvas");m.width=Math.ceil(n*s),m.height=Math.ceil(r*s),m.style.width=`${n}px`,m.style.height=`${r}px`;let b=m.getContext("2d");return 1!==s&&b.scale(s,s),b.drawImage(c,0,0,n,r),m}async function _K(e,t){let n=await _X(e,t),r=t.backgroundColor?EW(n,t.backgroundColor):n,i=new Image;return i.src=r.toDataURL(`image/${t.format}`,t.quality),await i.decode(),i.style.width=`${r.width/t.dpr}px`,i.style.height=`${r.height/t.dpr}px`,i}async function _Q(e,t){let{scale:n=1,width:r,height:i,meta:a={}}=t,o=Number.isFinite(r),s=Number.isFinite(i),l=Number.isFinite(n)&&1!==n||o||s;if(E5()&&l)return await _K(e,{...t,format:"png",quality:1,meta:a});let c=new Image;if(c.decoding="sync",c.loading="eager",c.src=e,await c.decode(),o&&s)c.style.width=`${r}px`,c.style.height=`${i}px`;else if(o){let e=Number.isFinite(a.w0)?a.w0:c.naturalWidth,t=Number.isFinite(a.h0)?a.h0:c.naturalHeight,n=r/Math.max(1,e);c.style.width=`${r}px`,c.style.height=`${Math.round(t*n)}px`}else if(s){let e=Number.isFinite(a.w0)?a.w0:c.naturalWidth,t=i/Math.max(1,Number.isFinite(a.h0)?a.h0:c.naturalHeight);c.style.height=`${i}px`,c.style.width=`${Math.round(e*t)}px`}else{let t=Math.round(c.naturalWidth*n),r=Math.round(c.naturalHeight*n);if(c.style.width=`${t}px`,c.style.height=`${r}px`,"string"==typeof e&&e.startsWith("data:image/svg+xml"))try{let n=decodeURIComponent(e.split(",")[1]).replace(/width="[^"]*"/,`width="${t}"`).replace(/height="[^"]*"/,`height="${r}"`);c.src=e=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(n)}`}catch{}}return c}async function _J(e,t){let n=t.type;if("svg"===n)return new Blob([decodeURIComponent(e.split(",")[1])],{type:"image/svg+xml"});let r=await _X(e,t),i=t.backgroundColor?EW(r,t.backgroundColor):r;return new Promise(e=>i.toBlob(t=>e(t),`image/${n}`,t.quality))}async function _0(e,t){if(t.dpr=1,"svg"===t.format){let n=await _J(e,{...t,type:"svg"}),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=t.filename,i.click(),URL.revokeObjectURL(r);return}let n=await _X(e,t),r=t.backgroundColor?EW(n,t.backgroundColor):n,i=document.createElement("a");i.href=r.toDataURL(`image/${t.format}`,t.quality),i.download=t.filename,i.click()}var _1=Symbol("snapdom.internal"),_2=!1;async function _3(e,t){if(!e)throw Error("Element cannot be null or undefined");let n=function(e={}){let t=e.format??"png",n=function(e){if("string"==typeof e){let t=e.toLowerCase().trim();if("disabled"===t||"full"===t||"auto"===t||"soft"===t)return t}return"soft"}(e.cache);return{debug:e.debug??!1,fast:e.fast??!0,scale:e.scale??1,exclude:e.exclude??[],excludeMode:e.excludeMode??"hide",filter:e.filter??null,filterMode:e.filterMode??"hide",placeholders:!1!==e.placeholders,embedFonts:e.embedFonts??!1,iconFonts:Array.isArray(e.iconFonts)?e.iconFonts:e.iconFonts?[e.iconFonts]:[],localFonts:Array.isArray(e.localFonts)?e.localFonts:[],excludeFonts:e.excludeFonts??void 0,fallbackURL:e.fallbackURL??void 0,cache:n,useProxy:"string"==typeof e.useProxy?e.useProxy:"",width:e.width??null,height:e.height??null,format:t,type:e.type??"svg",quality:e.quality??.92,dpr:e.dpr??(window.devicePixelRatio||1),backgroundColor:e.backgroundColor??(["jpg","jpeg","webp"].includes(t)?"#ffffff":null),filename:e.filename??"snapDOM",straighten:e.straighten??!1,noShadows:e.noShadows??!1}}(t);if(E5()&&(!0===n.embedFonts||function(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);for(;t.nextNode();){let e=getComputedStyle(t.currentNode),n=e.backgroundImage&&"none"!==e.backgroundImage,r=e.maskImage&&"none"!==e.maskImage||e.webkitMaskImage&&"none"!==e.webkitMaskImage;if(n||r)return!0}return!1}(e)))for(let n=0;n<3;n++)try{await _5(e,t),console.log("Iteraci\xf3n n\xfamero:",n),_2=!1}catch{}return n.iconFonts&&n.iconFonts.length>0&&function(e){for(let t of Array.isArray(e)?e:[e])t instanceof RegExp?_s.push(t):"string"==typeof t?_s.push(RegExp(t,"i")):console.warn("[snapdom] Ignored invalid iconFont value:",t)}(n.iconFonts),n.snap||(n.snap={toPng:(e,t)=>_3.toPng(e,t),toSvg:(e,t)=>_3.toSvg(e,t)}),_3.capture(e,n,_1)}async function _5(e,t){let n;if(_2)return;let r={...t,fast:!0,embedFonts:!0,scale:.2};try{n=await _W(e,r)}catch{return}await new Promise(e=>{let t=new Image;t.decoding="sync",t.loading="eager",t.style.position="fixed",t.style.left=0,t.style.top=0,t.style.width="10px",t.style.height="10px",t.style.opacity="0.01",t.style.transform="translateZ(10px)",t.style.willChange="transform,opacity;",t.src=n;let r=async()=>{await new Promise(e=>setTimeout(e,100)),t&&t.parentNode&&t.parentNode.removeChild(t),_2=!0,e()};document.body.appendChild(t),r()})}_3.capture=async(e,t,n)=>{if(n!==_1)throw Error("[snapdom.capture] is internal. Use snapdom(...) instead.");let r=await _W(e,t),i=e=>({...t,...e||{}}),a=e=>t=>{let n=i({...t||{},format:e}),a="jpeg"===e||"jpg"===e,o=null==n.backgroundColor||"transparent"===n.backgroundColor;return a&&o&&(n.backgroundColor="#ffffff"),_K(r,n)};return{url:r,toRaw:()=>r,toImg:e=>_Q(r,i(e)),toSvg:e=>_Q(r,i(e)),toCanvas:e=>_X(r,i(e)),toBlob:e=>_J(r,i(e)),toPng:a("png"),toJpg:a("jpeg"),toWebp:a("webp"),download:e=>_0(r,i(e))}},_3.toRaw=(e,t)=>_3(e,t).then(e=>e.toRaw()),_3.toImg=(e,t)=>_3(e,t).then(e=>e.toImg()),_3.toSvg=(e,t)=>_3(e,t).then(e=>e.toSvg()),_3.toCanvas=(e,t)=>_3(e,t).then(e=>e.toCanvas()),_3.toBlob=(e,t)=>_3(e,t).then(e=>e.toBlob()),_3.toPng=(e,t)=>_3(e,{...t,format:"png"}).then(e=>e.toPng()),_3.toJpg=(e,t)=>_3(e,{...t,format:"jpeg"}).then(e=>e.toJpg()),_3.toWebp=(e,t)=>_3(e,{...t,format:"webp"}).then(e=>e.toWebp()),_3.download=(e,t)=>_3(e,t).then(e=>e.download());var _4=n(45964),_6=n(32417),_8=n(36203),_7=n(85830),_9=n(75137),xe=(0,_7.A)(_9,{});xe.registerLanguage=_9.registerLanguage;var xt=n(67877);let xn=n.n(xt)(),xr={hljs:{display:"block",overflowX:"auto",padding:"0.5em",backgroundColor:"#f4f4f4",color:"black"},"hljs-subst":{color:"black"},"hljs-string":{color:"#050"},"hljs-title":{color:"navy",fontWeight:"bold"},"hljs-symbol":{color:"#050"},"hljs-bullet":{color:"#050"},"hljs-attribute":{color:"#050"},"hljs-addition":{color:"#050"},"hljs-variable":{color:"#050"},"hljs-template-tag":{color:"#050"},"hljs-template-variable":{color:"#050"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-number":{color:"#800"},"hljs-regexp":{color:"#800"},"hljs-literal":{color:"#800"},"hljs-type":{color:"#800"},"hljs-link":{color:"#800"},"hljs-deletion":{color:"#00e"},"hljs-meta":{color:"#00e"},"hljs-keyword":{fontWeight:"bold",color:"navy"},"hljs-selector-tag":{fontWeight:"bold",color:"navy"},"hljs-doctag":{fontWeight:"bold",color:"navy"},"hljs-section":{fontWeight:"bold",color:"navy"},"hljs-built_in":{fontWeight:"bold",color:"navy"},"hljs-tag":{fontWeight:"bold",color:"navy"},"hljs-name":{fontWeight:"bold",color:"navy"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var xi=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5503",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M768 682.666667V170.666667a85.333333 85.333333 0 0 0-85.333333-85.333334H170.666667a85.333333 85.333333 0 0 0-85.333334 85.333334v512a85.333333 85.333333 0 0 0 85.333334 85.333333h512a85.333333 85.333333 0 0 0 85.333333-85.333333zM170.666667 170.666667h512v512H170.666667z m682.666666 85.333333v512a85.333333 85.333333 0 0 1-85.333333 85.333333H256a85.333333 85.333333 0 0 0 85.333333 85.333334h426.666667a170.666667 170.666667 0 0 0 170.666667-170.666667V341.333333a85.333333 85.333333 0 0 0-85.333334-85.333333z","p-id":"5504"}))},xa=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5664",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M889.5 852.7l-220-219.9c45-53.4 72.1-122.3 72.1-197.5 0-169.4-137.8-307.3-307.3-307.3S127.1 265.8 127.1 435.3s137.8 307.3 307.3 307.3c76.1 0 145.7-27.8 199.4-73.8l219.8 219.8c4.9 5 11.4 7.4 17.9 7.4s13-2.5 17.9-7.4c10-9.9 10-26 0.1-35.9zM434.4 691.8c-141.4 0-256.5-115.1-256.5-256.5 0-141.5 115.1-256.5 256.5-256.5s256.5 115.1 256.5 256.5-115.1 256.5-256.5 256.5z",fill:"#231815","p-id":"5665"}),B.createElement("path",{d:"M555 418.3h-99.8v-99.8c0-14-11.4-25.4-25.4-25.4s-25.4 11.4-25.4 25.4v99.8h-99.8c-14 0-25.4 11.4-25.4 25.4s11.4 25.4 25.4 25.4h99.8v99.8c0 14 11.4 25.4 25.4 25.4s25.4-11.4 25.4-25.4v-99.8H555c14 0 25.4-11.4 25.4-25.4S569 418.3 555 418.3z",fill:"#231815","p-id":"5666"}))},xo=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5826",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M889.5 852.7l-220-219.9c45-53.4 72.1-122.3 72.1-197.5 0-169.4-137.8-307.3-307.3-307.3S127.1 265.8 127.1 435.3s137.8 307.3 307.3 307.3c76.1 0 145.7-27.8 199.4-73.8l219.8 219.8c4.9 5 11.4 7.4 17.9 7.4s13-2.5 17.9-7.4c10-9.9 10-26 0.1-35.9zM434.4 691.8c-141.4 0-256.5-115.1-256.5-256.5 0-141.5 115.1-256.5 256.5-256.5s256.5 115.1 256.5 256.5-115.1 256.5-256.5 256.5z",fill:"#231815","p-id":"5827"}),B.createElement("path",{d:"M555 418.3H304.7c-14 0-25.4 11.4-25.4 25.4s11.4 25.4 25.4 25.4H555c14 0 25.4-11.4 25.4-25.4S569 418.3 555 418.3z",fill:"#231815","p-id":"5828"}))},xs=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5988",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M380.416 822.144c-10.432 0-20.864-3.968-28.8-11.968L75.968 534.592c-15.936-15.936-15.936-41.664 0-57.6 15.872-15.872 41.664-15.872 57.536 0L380.416 723.84l510.08-510.016c15.872-15.936 41.664-15.936 57.536 0 15.936 15.936 15.936 41.664 0 57.6L409.216 810.24c-7.936 7.936-18.368 11.904-28.8 11.904z",fill:"","p-id":"5989"}))},xl=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5988",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M512 165.93q13.645 0 23.31 9.666t9.665 23.31V580.77L653.37 472.103q9.517-9.517 23.434-9.517 14.164 0 23.558 9.394t9.393 23.557q0 13.917-9.517 23.434L535.434 683.774q-9.517 9.517-23.434 9.517t-23.434-9.517L323.763 518.971q-9.517-10.036-9.517-23.434 0-13.645 9.665-23.31t23.31-9.665q13.917 0 23.434 9.516L479.05 580.744V198.881q0-13.645 9.665-23.31t23.31-9.665z m329.582 461.435q13.645 0 23.31 9.665t9.665 23.31v131.828q0 41.207-28.575 69.782-29.095 29.095-69.536 29.095H248.32q-40.416 0-70.03-28.848-28.847-29.613-28.847-70.03V660.34q0-13.645 9.665-23.31t23.31-9.665 23.31 9.665 9.666 23.31v131.828q0 13.645 9.665 23.31t23.31 9.665h528.127q13.398 0 22.791-9.665t9.393-23.31V660.34q0-13.645 9.666-23.31t23.31-9.665z","p-id":"1178",fill:"#494949"}))},xc=n(79630),xu=n(89450),xd=n(21858),xh=n(40419),xp=n(20235);let xf=Math.round;function xg(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let xm=(e,t,n)=>0===n?e:e/100;function xb(e,t){let n=t||255;return e>n?n:e<0?0:e}class xy{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=xf(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),n=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),n=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=this._c(e),r=t/100,i=e=>(n[e]-this[e])*r+this[e],a={r:xf(i("r")),g:xf(i("g")),b:xf(i("b")),a:xf(100*i("a"))/100};return this._c(a)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>xf((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=xf(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=xf(100*this.getSaturation()),n=xf(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(n,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(n,"%)")}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=xb(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl(e){let{h:t,s:n,l:r,a:i}=e;if(this._h=t%360,this._s=n,this._l=r,this.a="number"==typeof i?i:1,n<=0){let e=xf(255*r);this.r=e,this.g=e,this.b=e}let a=0,o=0,s=0,l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(a=c,o=u):l>=1&&l<2?(a=u,o=c):l>=2&&l<3?(o=c,s=u):l>=3&&l<4?(o=u,s=c):l>=4&&l<5?(a=u,s=c):l>=5&&l<6&&(a=c,s=u);let d=r-c/2;this.r=xf((a+d)*255),this.g=xf((o+d)*255),this.b=xf((s+d)*255)}fromHsv(e){let{h:t,s:n,v:r,a:i}=e;this._h=t%360,this._s=n,this._v=r,this.a="number"==typeof i?i:1;let a=xf(255*r);if(this.r=a,this.g=a,this.b=a,n<=0)return;let o=t/60,s=Math.floor(o),l=o-s,c=xf(r*(1-n)*255),u=xf(r*(1-n*l)*255),d=xf(r*(1-n*(1-l))*255);switch(s){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){let t=xg(e,xm);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=xg(e,xm);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=xg(e,(e,t)=>t.includes("%")?xf(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,xh.A)(this,"isValid",!0),(0,xh.A)(this,"r",0),(0,xh.A)(this,"g",0),(0,xh.A)(this,"b",0),(0,xh.A)(this,"a",1),(0,xh.A)(this,"_h",void 0),(0,xh.A)(this,"_s",void 0),(0,xh.A)(this,"_l",void 0),(0,xh.A)(this,"_v",void 0),(0,xh.A)(this,"_max",void 0),(0,xh.A)(this,"_min",void 0),(0,xh.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof xy)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=xb(e.r),this.g=xb(e.g),this.b=xb(e.b),this.a="number"==typeof e.a?xb(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}var xv=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function xE(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 x_(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),Math.round(100*r)/100)}function xx(e,t,n){return Math.round(100*Math.max(0,Math.min(1,n?e.v+.05*t:e.v-.15*t)))/100}var xA=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];xA.primary=xA[5];var xS=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];xS.primary=xS[5];var xw=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];xw.primary=xw[5];var xT=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];xT.primary=xT[5];var xO=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];xO.primary=xO[5];var xC=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];xC.primary=xC[5];var xk=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];xk.primary=xk[5];var xM=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];xM.primary=xM[5];var xL=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];xL.primary=xL[5];var xI=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];xI.primary=xI[5];var xN=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];xN.primary=xN[5];var xR=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];xR.primary=xR[5];var xP=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];xP.primary=xP[5];var xD=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];xD.primary=xD[5];var xj=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];xj.primary=xj[5];var xB=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];xB.primary=xB[5];var xF=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];xF.primary=xF[5];var xz=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];xz.primary=xz[5];var xU=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];xU.primary=xU[5];var xH=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];xH.primary=xH[5];var xG=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];xG.primary=xG[5];var x$=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];x$.primary=x$[5];var xW=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];xW.primary=xW[5];var xV=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];xV.primary=xV[5];var xq=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];xq.primary=xq[5];var xY=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];xY.primary=xY[5];var xZ=(0,B.createContext)({}),xX=n(27061),xK=n(86608),xQ=n(85440),xJ=n(48680),x0=n(9587);function x1(e){return"object"===(0,xK.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,xK.A)(e.icon)||"function"==typeof e.icon)}function x2(){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 x3(e){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new xy(e),i=r.toHsv(),a=5;a>0;a-=1){var o=new xy({h:xE(i,a,!0),s:x_(i,a,!0),v:xx(i,a,!0)});n.push(o)}n.push(r);for(var s=1;s<=4;s+=1){var l=new xy({h:xE(i,s),s:x_(i,s),v:xx(i,s)});n.push(l)}return"dark"===t.theme?xv.map(function(e){var r=e.index,i=e.amount;return new xy(t.backgroundColor||"#141414").mix(n[r],i).toHexString()}):n.map(function(e){return e.toHexString()})}(e)[0]}function x5(e){return e?Array.isArray(e)?e:[e]:[]}var x4=function(e){var t=(0,B.useContext)(xZ),n=t.csp,r=t.prefixCls,i=t.layer,a="\n.anticon {\n display: inline-flex;\n align-items: center;\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&&(a=a.replace(/anticon/g,r)),i&&(a="@layer ".concat(i," {\n").concat(a,"\n}")),(0,B.useEffect)(function(){var t=e.current,r=(0,xJ.j)(t);(0,xQ.BD)(a,"@ant-design-icons",{prepend:!i,csp:n,attachTo:r})},[])},x6=["icon","className","onClick","style","primaryColor","secondaryColor"],x8={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},x7=function(e){var t,n,r=e.icon,i=e.className,a=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=(0,xp.A)(e,x6),u=B.useRef(),d=x8;if(s&&(d={primaryColor:s,secondaryColor:l||x3(s)}),x4(u),t=x1(r),n="icon should be icon definiton, but got ".concat(r),(0,x0.Ay)(t,"[@ant-design/icons] ".concat(n)),!x1(r))return null;var h=r;return h&&"function"==typeof h.icon&&(h=(0,xX.A)((0,xX.A)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,r){return r?B.createElement(t.tag,(0,xX.A)((0,xX.A)({key:n},x2(t.attrs)),r),(t.children||[]).map(function(r,i){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(i))})):B.createElement(t.tag,(0,xX.A)({key:n},x2(t.attrs)),(t.children||[]).map(function(r,i){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(i))}))}(h.icon,"svg-".concat(h.name),(0,xX.A)((0,xX.A)({className:i,onClick:a,style:o,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function x9(e){var t=x5(e),n=(0,xd.A)(t,2),r=n[0],i=n[1];return x7.setTwoToneColors({primaryColor:r,secondaryColor:i})}x7.displayName="IconReact",x7.getTwoToneColors=function(){return(0,xX.A)({},x8)},x7.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x8.primaryColor=t,x8.secondaryColor=n||x3(t),x8.calculated=!!n};var Ae=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];x9(xL.primary);var At=B.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,a=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=(0,xp.A)(e,Ae),u=B.useContext(xZ),d=u.prefixCls,h=void 0===d?"anticon":d,p=u.rootClassName,f=vy()(p,h,(0,xh.A)((0,xh.A)({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!i||"loading"===r.name),n),g=o;void 0===g&&s&&(g=-1);var m=x5(l),b=(0,xd.A)(m,2),y=b[0],v=b[1];return B.createElement("span",(0,xc.A)({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:f}),B.createElement(x7,{icon:r,primaryColor:y,secondaryColor:v,style:a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0}))});At.displayName="AntdIcon",At.getTwoToneColor=function(){var e=x7.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},At.setTwoToneColor=x9;var An=B.forwardRef(function(e,t){return B.createElement(At,(0,xc.A)({},e,{ref:t,icon:xu.A}))}),Ar=fq.Ay.div.withConfig({displayName:"StyledLoading",componentId:"gpt-vis-c7ef__sc-4x7w8p-0"})(["display:flex;align-items:center;justify-content:center;flex-direction:column;height:300px;background-image:linear-gradient(135deg,#e3f3ff 0%,#f1eeff 100%);color:rgba(0,0,0,88%);&-icon{margin-bottom:6px;}"]);let Ai=function(e){var t=e.text;return B.createElement(Ar,{className:"gpt-vis-loading"},B.createElement("div",{className:"gpt-vis-loading-icon"},B.createElement(An,{style:{fontSize:"24px",color:"rgb(56, 177, 246)"}})),B.createElement("p",null,t))};var Aa=fq.Ay.div.withConfig({displayName:"StyledGPTVis",componentId:"gpt-vis-c7ef__sc-2dc7ka-0"})(["min-width:300px;max-width:100%;height:",";overflow:hidden;position:relative;padding:16px;"],function(e){return"table"===e.type?"auto":"300px"}),Ao=fq.Ay.button.withConfig({displayName:"TextButton",componentId:"gpt-vis-c7ef__sc-2dc7ka-1"})(["border:none;box-shadow:none;background:transparent;color:#494949;height:26px;padding:0 8px;font-size:12px;transition:all 0.2s cubic-bezier(0.645,0.045,0.355,1);transform:scale(1);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;outline:none;font-family:inherit;&:hover,&:focus{color:#666;background:#e8e8e8;transform:scale(1.02);}&:active{background:#e8e8e8;transform:scale(0.98);}.anticon{font-size:12px;}&:disabled{cursor:not-allowed;opacity:0.6;&:hover,&:focus,&:active{background:transparent;transform:scale(1);}}"]),As=fq.Ay.div.withConfig({displayName:"ChartWrapper",componentId:"gpt-vis-c7ef__sc-2dc7ka-2"})(["width:100%;height:100%;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}h5{font-size:12px;font-weight:400;color:#666;height:150px;display:flex;align-items:center;justify-content:center;}& > *{max-width:100%;max-height:100%;}"]),Al=fq.Ay.div.withConfig({displayName:"TabContainer",componentId:"gpt-vis-c7ef__sc-2dc7ka-3"})(["border-radius:8px;overflow:hidden;"]),Ac=fq.Ay.div.withConfig({displayName:"TabHeader",componentId:"gpt-vis-c7ef__sc-2dc7ka-4"})(["display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;padding:6px 14px 6px 6px;gap:2px;position:relative;z-index:10;"]),Au=fq.Ay.div.withConfig({displayName:"TabLeftGroup",componentId:"gpt-vis-c7ef__sc-2dc7ka-5"})(["display:flex;gap:2px;"]),Ad=fq.Ay.div.withConfig({displayName:"TabRightGroup",componentId:"gpt-vis-c7ef__sc-2dc7ka-6"})(["display:flex;gap:4px;align-items:center;"]),Ah=fq.Ay.div.withConfig({displayName:"TabContent",componentId:"gpt-vis-c7ef__sc-2dc7ka-7"})(["background:#fff;overflow:hidden;position:relative;background:#fafafa;"]),Ap=fq.Ay.div.withConfig({displayName:"ErrorMessage",componentId:"gpt-vis-c7ef__sc-2dc7ka-8"})(["padding:16px;height:150px;font-size:12px;color:#666;border-radius:4px;display:flex;align-items:center;justify-content:center;"]),Af=(0,fq.DU)(["pre:has(.gpt-vis){overflow:hidden;}"]),Ag=fq.Ay.button.withConfig({displayName:"StyledTabButton",componentId:"gpt-vis-c7ef__sc-2dc7ka-9"})(["border:none;box-shadow:none;background:",";color:#494949;border-radius:8px;height:26px;width:52px;font-size:12px;transition:all 0.2s cubic-bezier(0.645,0.045,0.355,1);transform:scale(1);cursor:pointer;outline:none;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;"," &:hover,&:focus{background:",";color:#494949;box-shadow:",";transform:scale(1.02);}&:active{background:",";transform:scale(0.96);box-shadow:",";transition:all 0.1s cubic-bezier(0.645,0.045,0.355,1);}"],function(e){return e.active?"#fff":"transparent"},function(e){return e.active&&"\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);\n "},function(e){return e.active?"#fff":"#f0f0f0"},function(e){return e.active?"0 2px 6px rgba(0, 0, 0, 0.12)":"0 1px 3px rgba(0, 0, 0, 0.06)"},function(e){return e.active?"#fff":"#e8e8e8"},function(e){return e.active?"0 1px 2px rgba(0, 0, 0, 0.1)":"0 1px 2px rgba(0, 0, 0, 0.04)"}),Am=fq.Ay.div.withConfig({displayName:"Divider",componentId:"gpt-vis-c7ef__sc-2dc7ka-10"})(["width:1px;height:16px;background-color:#d9d9d9;margin:0 8px;flex-shrink:0;"]);function Ab(e){return(Ab="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ay(){Ay=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(t,n,r,a){var o,s,l,c,u=Object.create((n&&n.prototype instanceof m?n:m).prototype);return i(u,"_invoke",{value:(o=t,s=r,l=new C(a||[]),c=h,function(t,n){if(c===p)throw Error("Generator is already running");if(c===f){if("throw"===t)throw n;return{value:e,done:!0}}for(l.method=t,l.arg=n;;){var r=l.delegate;if(r){var i=function t(n,r){var i=r.method,a=n.iterator[i];if(a===e)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),g;var o=d(a,n.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var s=o.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,g)}(r,l);if(i){if(i===g)continue;return i}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(c===h)throw c=f,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);c=p;var a=d(o,s,l);if("normal"===a.type){if(c=l.done?f:"suspendedYield",a.arg===g)continue;return{value:a.arg,done:l.done}}"throw"===a.type&&(c=f,l.method="throw",l.arg=a.arg)}})}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",p="executing",f="completed",g={};function m(){}function b(){}function y(){}var v={};c(v,o,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(k([])));_&&_!==n&&r.call(_,o)&&(v=_);var x=y.prototype=m.prototype=Object.create(v);function A(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){var n;i(this,"_invoke",{value:function(i,a){function o(){return new t(function(n,o){!function n(i,a,o,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Ab(u)&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,o,s)},function(e){n("throw",e,o,s)}):t.resolve(u).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,s)})}s(l.arg)}(i,a,n,o)})}return n=n?n.then(o,o):o()}})}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Av(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,i)}var AE=function(){var e,t=(e=Ay().mark(function e(t){return Ay().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,function(e,{target:t=document.body}={}){if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.all="unset",n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.width="2em",n.style.height="2em",n.style.padding="0",n.style.border="none",n.style.outline="none",n.style.boxShadow="none",n.style.background="transparent",n.style.fontSize="12pt",n.style.whiteSpace="pre";let i=document.getSelection(),a=i.rangeCount>0&&i.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let o=!1;try{o=document.execCommand("copy")}catch{}return n.remove(),a&&(i.removeAllRanges(),i.addRange(a)),r&&r.focus(),o}(JSON.stringify(t,null,2))){e.next=5;break}throw Error("复制失败");case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.error("复制失败:",e.t0),e.t0;case 11:case"end":return e.stop()}},e,null,[[0,7]])}),function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Av(a,r,i,o,s,"next",e)}function s(e){Av(a,r,i,o,s,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}();function A_(e){return(A_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ax=["type"];function AA(){return(AA=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Aw(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,i)}function AT(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Aw(a,r,i,o,s,"next",e)}function s(e){Aw(a,r,i,o,s,"throw",e)}o(void 0)})}}function AO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AC(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(U,Ax),$=o[H];if(l&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",r),!$){var W="".concat(D.unsupportedChart,': "').concat(H,'"');return d?d({error:Error(W),content:a}):B.createElement("div",null,W)}var V=function(e){var t=e.error;return(!k&&(M(!0),g&&p&&z("code")),u)?u({error:t,content:a}):B.createElement("div",null,B.createElement(Ap,null,D.renderError))},q=(t=AT(AS().mark(function e(){return AS().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,AE(r);case 3:N(!0),A.current&&clearTimeout(A.current),A.current=setTimeout(function(){N(!1)},1e3),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error("Copy failed:",e.t0);case 11:case"end":return e.stop()}},e,null,[[0,8]])})),function(){return t.apply(this,arguments)}),Y=(n=AT(AS().mark(function e(){var t;return AS().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!P.current){e.next=7;break}return e.next=4,_3(P.current,{scale:2});case 4:return t=e.sent,e.next=7,t.download({format:"png",filename:"chart-".concat(H,"-").concat(Date.now())});case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Download image failed:",e.t0);case 12:case"end":return e.stop()}},e,null,[[0,9]])})),function(){return n.apply(this,arguments)}),Z=AL.includes(H),X=(0,B.useMemo)(function(){var e,t=_4(function(){var e,t,n,r=R.current,i=P.current;if(r&&i&&i instanceof HTMLElement)try{Z?(null==(e=r.resize)||e.call(r),null==(t=r.autoFit)||t.call(r)):null==(n=r.changeSize)||n.call(r)}catch(e){console.error("Failed to resize chart:",e)}},150);return null==(e=t.cancel)||e.call(t),t},[Z]);return p?B.createElement(Al,{style:i},B.createElement(Ac,null,B.createElement(Au,null,b&&B.createElement(Ag,{active:"chart"===F,onClick:function(){return z("chart")}},D.chartTab),g&&B.createElement(Ag,{active:"code"===F,onClick:function(){return z("code")}},D.codeTab)),B.createElement(Ad,null,"chart"===F?B.createElement(B.Fragment,null,Z&&B.createElement(B.Fragment,null,B.createElement(Ao,{onClick:function(){if(R.current&&"function"==typeof R.current.zoomTo){var e=Math.max((R.current.getZoom()||1)/1.15,.1);R.current.zoomTo(e)}},style:{width:"24px",height:"24px",padding:0}},B.createElement(xo,{size:18})),B.createElement(Ao,{onClick:function(){if(R.current&&"function"==typeof R.current.zoomTo){var e=Math.min(1.15*(R.current.getZoom()||1),1.5);R.current.zoomTo(e)}},style:{width:"24px",height:"24px",padding:0}},B.createElement(xa,{size:18})),B.createElement(Am,null)),B.createElement(Ao,{onClick:Y},B.createElement(xl,{size:16}),D.download)):B.createElement(B.Fragment,null,B.createElement(Ao,{onClick:q},I?B.createElement(xs,null):B.createElement(xi,null),I?D.copied:D.copy)))),B.createElement(Ah,null,"chart"===F?B.createElement(_8.tH,{FallbackComponent:V,onError:function(e,t){console.error("GPT-Vis Render error:",e),!k&&(M(!0),g&&z("code")),l&&console.error("GPT-Vis Render error info:",t)}},B.createElement(Aa,{className:"gpt-vis",type:H},B.createElement(Af,null),B.createElement(_6.A,{onResize:X},B.createElement(As,{ref:P},B.createElement($,AA({},G,{onReady:function(e){R.current=e}})))))):B.createElement("div",{style:{maxHeight:500,overflow:"auto"}},B.createElement(xe,{language:"json",style:xr,showLineNumbers:!1,wrapLines:!0,customStyle:{background:"transparent",padding:"16px",margin:0,fontSize:"12px",lineHeight:"1"}},JSON.stringify(r,null,2)||a)))):B.createElement(Aa,{className:"gpt-vis",style:i},B.createElement(Af,null),B.createElement(_6.A,{onResize:X},B.createElement(As,{ref:P},B.createElement(_8.tH,{FallbackComponent:V,onError:function(e,t){console.error("GPT-Vis Render error:",e),l&&console.error("GPT-Vis Render error info:",t)}},B.createElement($,AA({},G,{onReady:function(e){R.current=e}}))))))});function AR(e){return(AR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var AP=["children","className","node"];function AD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Aj(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,AP));return B.createElement("code",AB({},r,{className:void 0===n?"":n}),t)},Az=function(e){return function(t){var n,r=t.children,i=t.className,a=void 0===i?"":i,o=String(r).trim(),s=a.includes("language-vis-chart"),l=e.components,c=e.languageRenderers,u=e.defaultRenderer,d=e.debug,h=e.loadingTimeout,p=e.style,f=e.errorRender,g=e.componentErrorRender,m=e.showTabs,b=e.showCodeTab,y=e.showChartTab,v=e.defaultTab,E=e.textLabels,_=e.locale;if(s)return B.createElement(AN,{style:p,content:o,components:l,debug:d,loadingTimeout:void 0===h?5e3:h,errorRender:f,componentErrorRender:g,showTabs:m,showCodeTab:b,showChartTab:y,defaultTab:v,textLabels:E,locale:_});var x=(null==(n=a.match(/language-(.*)/))?void 0:n[1])||"",A=c&&c[x];return A?B.createElement(A,t):u?B.createElement(u,t):B.createElement(AF,t)}},AU=function(e){return Az(Aj(Aj({},e),{},{components:Aj(Aj({},ED),j(e,"components",{}))}))}},36862:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(20430),i=n(46032),a=n(10569);class o extends r.C{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!(0,i.f)(e))return this.options.unknown;let t=(0,a.h)(this.thresholds,e,0,this.n);return this.options.range[t]}invert(e){let{range:t}=this.options,n=t.indexOf(e),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new o(this.options)}rescale(){let{domain:e,range:t}=this.options;this.n=Math.min(e.length,t.length-1),this.thresholds=e}}},36939: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=[]},37022:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(39249),i=function(e,t){var n=function(e){return"".concat(t,"-").concat(e)},i=Object.fromEntries(Object.entries(e).map(function(e){var t=(0,r.zs)(e,2),i=t[0],a=n(t[1]);return[i,{name:a,class:".".concat(a),id:"#".concat(a),toString:function(){return a}}]}));return Object.assign(i,{prefix:n}),i}},37186:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));x+=_.value.length,_=_.next){var A,S=_.value;if(n.length>t.length)return;if(!(S instanceof a)){var w=1;if(b){if(!(A=o(E,x,t,m))||A.index>=t.length)break;var O=A.index,C=A.index+A[0].length,k=x;for(k+=_.value.length;O>=k;)k+=(_=_.next).value.length;if(k-=_.value.length,x=k,_.value instanceof a)continue;for(var M=_;M!==n.tail&&(ku.reach&&(u.reach=R);var P=_.prev;if(I&&(P=l(n,P,I),x+=I.length),function(e,t,n){for(var r=t.next,i=0;i1){var D={cause:d+","+p,reach:R};e(t,n,r,_.prev,x,D),u&&D.reach>u.reach&&(u.reach=D.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=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}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 r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var a={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(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+""},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()},!1)),i;var c=i.util.currentScript();function u(){i.manual||i.highlightAll()}if(c&&(i.filename=c.src,c.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},37703:(e,t,n)=>{"use strict";var r=n(68093);function i(e,t,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=e,this._geometry=-1,this._keys=r,this._values=i,e.readFields(a,this,t)}function a(e,t,n){1==e?t.id=n.readVarint():2==e?function(e,t){for(var n=e.readVarint()+e.pos;e.pos>3}if(a--,1===i||2===i)o+=e.readSVarint(),s+=e.readSVarint(),1===i&&(t&&l.push(t),t=[]),t.push(new r(o,s));else if(7===i)t&&t.push(t[0].clone());else throw Error("unknown command "+i)}return t&&l.push(t),l},i.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,n=1,r=0,i=0,a=0,o=1/0,s=-1/0,l=1/0,c=-1/0;e.pos>3}if(r--,1===n||2===n)i+=e.readSVarint(),a+=e.readSVarint(),is&&(s=i),ac&&(c=a);else if(7!==n)throw Error("unknown command "+n)}return[o,l,s,c]},i.prototype.toGeoJSON=function(e,t,n){var r,a,o=this.extent*Math.pow(2,n),s=this.extent*e,l=this.extent*t,c=this.loadGeometry(),u=i.types[this.type];function d(e){for(var t=0;t{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},37929:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r{"use strict";var r=n(97883);function i(e){e.register(r),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=i,i.displayName="idris",i.aliases=["idr"]},38088:(e,t,n)=>{"use strict";var r=n(43671),i=n(93565)(r,"div");i.displayName="html",e.exports=i},38310:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(39249),i=n(51459),a=n(50636),o=function(e,t,n,s){void 0===n&&(n=0),void 0===s&&(s=5),Object.entries(t).forEach(function(l){var c=(0,r.zs)(l,2),u=c[0],d=c[1];Object.prototype.hasOwnProperty.call(t,u)&&(d?(0,i.A)(d)?((0,i.A)(e[u])||(e[u]={}),n{"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=[]},38414:(e,t,n)=>{"use strict";n.d(t,{l:()=>eu,t:()=>ec});var r={};n.r(r),n.d(r,{area:()=>O,bottom:()=>R,bottomLeft:()=>R,bottomRight:()=>R,inside:()=>R,left:()=>R,outside:()=>B,right:()=>R,spider:()=>$,surround:()=>V,top:()=>R,topLeft:()=>R,topRight:()=>R});var i=n(79135),a=n(14353),o=n(73916),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 l=e=>{let{important:t={}}=e,n=s(e,["important"]);return r=>{let{theme:i,coordinate:s,scales:l}=r;return(0,o.xs)(Object.assign(Object.assign(Object.assign({},n),function(e){let t=e%(2*Math.PI);return t===Math.PI/2?{titleTransform:"translate(0, 50%)"}:t>-Math.PI/2&&tMath.PI/2&&t<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(e.orientation)),{important:Object.assign(Object.assign({},function(e,t,n,r){let{radar:i}=e,[o]=r,s=o.getOptions().name,[l,c]=(0,a.XV)(n),{axisRadar:u={}}=t;return Object.assign(Object.assign({},u),{grid:"position"===s,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((e,t)=>(c-l)/i.count*t)})}(e,i,s,l)),t)}))(r)}};l.props=Object.assign(Object.assign({},o.xs.props),{defaultPosition:"center"});var c=n(22808);let u=e=>(...t)=>(0,c.L)(Object.assign({},{block:!0},e))(...t);u.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var d=n(83277);let h=e=>t=>{let{scales:n}=t,r=(0,d._K)(n,"size");return(0,c.L)(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};h.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let p=e=>h(Object.assign({},{block:!0},e));p.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var f=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 g=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:d,insetTop:h,insetRight:p,insetBottom:g,margin:m,marginLeft:b,marginBottom:y,marginTop:v,marginRight:E,data:_,coordinate:x,theme:A,component:S,interaction:w,x:O,y:C,z:k,key:M,frame:L,labelTransform:I,parentKey:N,clip:R,viewStyle:P,title:D}=t,j=f(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:O,y:C,z:k,key:M,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:s,inset:u,insetLeft:d,insetTop:h,insetRight:p,insetBottom:g,paddingBottom:l,theme:A,coordinate:x,component:S,interaction:w,frame:L,labelTransform:I,margin:m,marginLeft:b,marginBottom:y,marginTop:v,marginRight:E,parentKey:N,clip:R,style:P},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},j),{key:`${M}-0`,data:_}),e&&{title:D})]})]};g.props={};var m=n(14837),b=n(14007),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};let v=()=>e=>{let{children:t}=e,n=y(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:s={},transform:l=[],slider:c={}}=n,u=y(n,["data","scale","axis","legend","encode","transform","slider"]),d=t.map(e=>{var{data:t,scale:n={},axis:u={},legend:d={},encode:h={},transform:p=[],slider:f={}}=e,g=y(e,["data","scale","axis","legend","encode","transform","slider"]);return Object.assign({data:(0,b.LC)(t,r),scale:(0,m.A)({},i,n),encode:(0,m.A)({},s,h),transform:[...l,...p],axis:!!u&&!!a&&(0,m.A)({},a,u),legend:!!d&&!!o&&(0,m.A)({},o,d),slider:(0,m.A)({},c,f)},g)});return[Object.assign(Object.assign({},u),{marks:d,type:"standardView",slider:c})]};v.props={};var E=n(63975),_=n(30360),x=n(14742),A=n(78385),S=n(67432),w=n(63956);function O(e,t,n,r){let i=t.length/2,a=t.slice(0,i),o=t.slice(i),s=(0,S.A)(a,(e,t)=>Math.abs(e[1]-o[t][1])),l=e=>[a[e][0],(a[e][1]+o[e][1])/2],c=l(s=Math.max(Math.min(s,i-2),1)),u=l(s-1),d=l(s+1),h=(0,w.g7)((0,w.jb)(d,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${h})`,textAlign:"center",textBaseline:"middle"}}function C(e,t,n,r){let{bounds:a}=n,[[o,s],[l,c]]=a,u=l-o,d=c-s,h=e=>{let{x:t,y:r}=e,a=(0,i.P)(n.x,u),l=(0,i.P)(n.y,d);return Object.assign(Object.assign({},e),{x:(a||t)+o,y:(l||r)+s})};return h("left"===e?{x:0,y:d/2,textAlign:"start",textBaseline:"middle"}:"right"===e?{x:u,y:d/2,textAlign:"end",textBaseline:"middle"}:"top"===e?{x:u/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===e?{x:u/2,y:d,textAlign:"center",textBaseline:"bottom"}:"top-left"===e?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===e?{x:u,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===e?{x:0,y:d,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===e?{x:u,y:d,textAlign:"end",textBaseline:"bottom"}:{x:u/2,y:d/2,textAlign:"center",textBaseline:"middle"})}function k(e,t,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),{innerRadius:c,outerRadius:u,startAngle:d,endAngle:h}=(0,_.Iq)(r,t,[i,a]),p="inside"===e?(d+h)/2:h,f=L(p,o,s);return Object.assign(Object.assign({},(()=>{let[n,r]=t,[i,a]="inside"===e?M(l,p,c+(u-c)*.5):(0,w.jz)(n,r);return{x:i,y:a}})()),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:f})}function M(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function L(e,t,n){if(!t)return 0;let r=n?0:0>Math.sin(e)?90:-90;return e/Math.PI*180+r}function I(e){return void 0===e?null:e}function N(e,t,n,r){let{bounds:i}=n,[a]=i;return{x:I(a[0]),y:I(a[1])}}function R(e,t,n,r){let{bounds:i}=n;return 1===i.length?N(e,t,n,r):((0,a.AO)(r)?k:(0,a.YL)(r)?function(e,t,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=(0,_.Iq)(r,t,[i,a]),{startAngle:d,endAngle:h}=u,p=r.getCenter(),f=(d+h)/2,g=L(f,o,s),{innerRadius:m,outerRadius:b}=u,[y,v]=M(p,f,m+(b-m)*l+c);return Object.assign({x:y,y:v},{textAlign:"center",textBaseline:"middle",rotate:g})}:C)(e,t,n,r)}function P(e,t,n){let{innerRadius:r,outerRadius:i}=(0,_.Iq)(n,e,[t.y,t.y1]);return r+(i-r)}function D(e,t,n){let{startAngle:r,endAngle:i}=(0,_.Iq)(n,e,[t.y,t.y1]);return(r+i)/2}function j(e,t,n,r){let{autoRotate:i,rotateToAlignArc:o,offset:s=0,connector:l=!0,connectorLength:c=s,connectorLength2:u=0,connectorDistance:d=0}=n,h=r.getCenter(),p=D(t,n,r),f=Math.sin(p)>0?1:-1,g=L(p,i,o),m={textAlign:f>0||(0,a.AO)(r)?"start":"end",textBaseline:"middle",rotate:g},b=P(t,n,r),[[y,v],[E,_],[x,A]]=function(e,t,n,r,i){let[a,o]=M(e,t,n),[s,l]=M(e,t,r);return[[a,o],[s,l],[s+(Math.sin(t)>0?1:-1)*i,l]]}(h,p,b,b+(l?c:s),l?u:0),S=l?d*f:0,w=x+S;return Object.assign(Object.assign({x0:y,y0:v,x:x+S,y:A},m),{connector:l,connectorPoints:[[E-w,_-A],[x-w,A-A]]})}function B(e,t,n,r){let{bounds:i}=n;return 1===i.length?N(e,t,n,r):((0,a.AO)(r)?k:(0,a.YL)(r)?j:C)(e,t,n,r)}var F=n(52922);function z(e,t={}){let{labelHeight:n=14,height:r}=t,i=(0,F.Ay)(e,e=>e.y),a=i.length,o=Array(a);for(let e=0;e0;e--){let t=o[e],n=o[e-1];if(n.y1>t.y){s=!0,n.labels.push(...t.labels),o.splice(e,1),n.y1+=t.y1-t.y;let i=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),i),n.y=n.y1-i}}}let l=0;for(let e of o){let{y:t,labels:r}=e,a=t-n;for(let e of r){let t=i[l++],r=a+n-e;t.connectorPoints[0][1]-=r,t.y=a+n,a+=n}}}function U(e,t){let n=(0,F.Ay)(e,e=>e.y),{height:r,labelHeight:i=14}=t,a=Math.ceil(r/i);if(n.length<=a)return z(n,t);let o=[];for(let e=0;et.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 G=new WeakMap;function $(e,t,n,r,i,o){if(!(0,a.YL)(r))return{};if(G.has(t))return G.get(t);let s=o.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:i,connectorDistance:a}=t,o=H(j("outside",e,t,n),[]),s=n.getCenter(),l=P(e,t,n),c=Math.sin(D(e,t,n))>0?1:-1,u=s[0]+(l+r+i+ +a)*c,{x:d}=o,h=u-d;return o.x+=h,o.connectorPoints[0][0]-=h,o})(e,n,r)),{width:l,height:c}=r.getOptions(),u=s.filter(e=>e.xe.x>=l/2),h=Object.assign(Object.assign({},i),{height:c});return U(u,h),U(d,h),s.forEach((e,t)=>G.set(o[t],e)),G.get(t)}var 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 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};function V(e,t,n,r){if(!(0,a.YL)(r))return{};let{connectorLength:i,connectorLength2:o,connectorDistance:s}=n,l=W(j("outside",t,n,r),[]),{x0:c,y0:u}=l,d=r.getCenter(),h=(0,a.nJ)(r),p=(0,w.Ib)([c-d[0],u-d[1]]),f=Math.sin(p)>0?1:-1,[g,m]=M(d,p,h+i);return l.x=g+(o+s)*f,l.y=m,l}var q=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)=>{let{coordinate:n,theme:i}=t,{render:o}=e;return(t,s,l,c)=>{let{text:u,x:d,y:h,transform:p="",transformOrigin:f,className:g=""}=s,m=q(s,["text","x","y","transform","transformOrigin","className"]),b=function(e,t,n,i,o,s){let{position:l}=t,{render:c}=o,u=void 0!==l?l:(0,a.YL)(n)?"inside":(0,a.kH)(n)?"right":"top",d=i[c?"htmlLabel":"inside"===u?"innerLabel":"label"],h=Object.assign({},d,t),p=r[(0,x.x)(u)];if(!p)throw Error(`Unknown position: ${u}`);return Object.assign(Object.assign({},d),p(u,e,h,n,o,s))}(t,s,n,i,e,c),{rotate:y=0,transform:v=""}=b,S=q(b,["rotate","transform"]);return(0,E.c)(new A.n).call(_.AV,S).style("text",`${u}`).style("className",`${g} g2-label`).style("innerHTML",o?o(u,s.datum,s.index):void 0).style("labelTransform",`${v} rotate(${+y}) ${p}`.trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(_.AV,m).node()}};Y.props={defaultMarker:"point"};var Z=n(86372),X=n(63880),K=n(73220),Q=n(69644),J=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},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};let et={fill:"#fff",stroke:"#aaa",lineDash:"4 3",lineWidth:.5,fillOpacity:1,strokeOpacity:1},en=(e,t,n,r,i,a)=>{let o=[],s=[],l=r-1;for(let r=1;r{let{context:n,selection:r,view:i}=t,a=r.select(`.${Q.Lr}`).node(),{document:o}=n.canvas,{scale:s}=i,l=new Map;return e=>{let{key:t,start:r,end:i,gap:c=.03,vertices:u=50,lineWidth:d=.5,verticeOffset:h=3}=e,p=ee(e,["key","start","end","gap","vertices","lineWidth","verticeOffset"]),f=o.createElement("g",{id:`break-group-${t}`,className:Q.tF}),g=(0,X.A)(s,"x.sortedDomain",[]),{range:b,domain:y}=s.y.getOptions(),v=y.indexOf(r),E=y.indexOf(i),{width:_,height:x}=a.getBBox();if(-1===v||-1===E||!g.length)return f;let A=b[0]>b[1],S=b[v]*x,w=b[E]*x,O="",C="";for(let[e,{y:t,isLower:n}]of[{y:w,isLower:!1},{y:S,isLower:!0}].entries()){let r=A?d:-d,[i,a]=en(t,_-0,h,u,n,r);0===e?(O=`M 0,${t} L ${i.join(" L ")} `,C=`M ${0-d},${t+r} L ${a.join(" L ")} `):(O+=`L ${_-0},${t} L ${[...i].reverse().join(" L ")} L 0,${t} Z`,C+=`L ${_-0+d+2},${t-r} L ${[...a].reverse().join(" L ")} L ${0-d},${t-r} Z`)}let k=Object.assign(Object.assign({},et),p);try{let e=new Z.wA({style:Object.assign(Object.assign({},k),{d:O})}),o=new Z.wA({style:Object.assign(Object.assign({},k),{d:C,lineWidth:0,cursor:"pointer"})});o.addEventListener("click",e=>J(void 0,void 0,void 0,function*(){e.stopPropagation(),2===e.detail&&(yield J(void 0,void 0,void 0,function*(){let{update:e,setState:a}=n.externals;a("options",e=>{let{marks:n}=e;if(!n||!n.length)return e;let a=n.map(e=>{let t=(0,X.A)(e,"scale.y.breaks",[]),n=t.filter(e=>e.start!==r&&e.end!==i&&!e.collapsed);return t.forEach(e=>{e.start===r&&e.end===i&&(e.collapsed=!0)}),console.log("breaks group:",t,n),(0,m.A)({},e,{scale:{y:{breaks:n}}})});return l.set(t,{start:r,end:i}),Object.assign(Object.assign({},e),{marks:a})}),yield e()}))})),f.appendChild(e),f.appendChild(o),a.addEventListener("click",e=>J(void 0,void 0,void 0,function*(){2===e.detail&&(yield J(void 0,void 0,void 0,function*(){if(!l.size)return;let{update:e,setState:t}=n.externals;t("options",e=>{let{marks:t}=e,n=t.map(e=>{let t=(0,X.A)(e,"scale.y.breaks",[]);return(0,K.A)(e,"scale.y.breaks",t.map(e=>Object.assign(Object.assign({},e),{collapsed:!1}))),e});return l.clear(),Object.assign(Object.assign({},e),{marks:n})}),yield e()}))})),a.appendChild(f)}catch(e){console.error("Failed to create break path:",e)}return f}};er.props={};var ei=n(77229),ea=n(26489);function eo(e,t,n,r=e=>!0){return a=>{if(!r(a))return;n.emit(`plot:${e}`,a);let{target:o}=a;if(!o)return;let{className:s}=o;if("plot"===s)return;let l=(0,ea.B3)(o,e=>"element"===e.className),c=(0,ea.B3)(o,e=>"component"===e.className),u=(0,ea.B3)(o,e=>"label"===e.className),d=l||c||u;if(!d)return;let{className:h,markType:p}=d,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===h?(f.data={data:(0,i.qu)(d,t)},n.emit(`element:${e}`,f),n.emit(`${p}:${e}`,f)):"label"===h?(f.data={data:d.attributes.datum},n.emit(`label:${e}`,f),s.split(/\s+/).filter(Boolean).forEach(t=>{n.emit(`${t}:${e}`,f)})):(n.emit(`component:${e}`,f),s.split(/\s+/).filter(Boolean).forEach(t=>{n.emit(`${t}:${e}`,f)}))}}function es(){return(e,t,n)=>{let{container:r,view:i}=e,a=eo(ei.x.CLICK,i,n,e=>1===e.detail),o=eo(ei.x.DBLCLICK,i,n,e=>2===e.detail),s=eo(ei.x.POINTER_TAP,i,n),l=eo(ei.x.POINTER_DOWN,i,n),c=eo(ei.x.POINTER_UP,i,n),u=eo(ei.x.POINTER_OVER,i,n),d=eo(ei.x.POINTER_OUT,i,n),h=eo(ei.x.POINTER_MOVE,i,n),p=eo(ei.x.POINTER_ENTER,i,n),f=eo(ei.x.POINTER_LEAVE,i,n),g=eo(ei.x.POINTER_UPOUTSIDE,i,n),m=eo(ei.x.DRAG_START,i,n),b=eo(ei.x.DRAG,i,n),y=eo(ei.x.DRAG_END,i,n),v=eo(ei.x.DRAG_ENTER,i,n),E=eo(ei.x.DRAG_LEAVE,i,n),_=eo(ei.x.DRAG_OVER,i,n),x=eo(ei.x.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",s),r.addEventListener("pointerdown",l),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",d),r.addEventListener("pointermove",h),r.addEventListener("pointerenter",p),r.addEventListener("pointerleave",f),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",v),r.addEventListener("dragleave",E),r.addEventListener("dragover",_),r.addEventListener("drop",x),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",s),r.removeEventListener("pointerdown",l),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",d),r.removeEventListener("pointermove",h),r.removeEventListener("pointerenter",p),r.removeEventListener("pointerleave",f),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",v),r.removeEventListener("dragleave",E),r.removeEventListener("dragover",_),r.removeEventListener("drop",x)}}}es.props={reapplyWhenUpdate:!0};var 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 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};function ec(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":l,"component.axisLinear":o.xs,"component.axisArc":o.C5,"component.legendContinuousBlock":u,"component.legendContinuousBlockSize":p,"component.legendContinuousSize":h,"interaction.event":es,"composition.mark":g,"composition.view":v,"shape.label.label":Y,"shape.break":er}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||(0,i.z3)(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=el(e,["type"]);n||(0,i.z3)("Plot type is required!");let o=r(n);return null==o?void 0:o(a,t)},r]}function eu(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||(0,i.z3)("Cannot find library document")}},38756: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=[]},38798: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=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),a={pattern:RegExp(i),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(i),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":a,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":a,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:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},a.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=[]},38980: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=[]},38999: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=[]},39001:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1736);function i(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function a(e){let t,n,a;function s(e,r,i=0,a=e.length){if(i>>1;0>n(e[t],r)?i=t+1:a=t}while(i(0,r.A)(e(t),n),a=(t,n)=>e(t)-n):(t=e===r.A||e===i?e:o,n=e,a=e),{left:s,center:function(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i},right:function(e,r,i=0,a=e.length){if(i>>1;0>=n(e[t],r)?i=t+1:a=t}while(i{e.exports=function(e){return null===e}},39174:(e,t,n)=>{"use strict";var r=n(86466);function i(e){e.register(r),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=i,i.displayName="aspnet",i.aliases=[]},39480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,X:()=>r});let r=(e={})=>{let t=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e);return Object.assign(Object.assign({},t),function(e,t){return e%=2*Math.PI,t%=2*Math.PI,e<0&&(e=2*Math.PI+e),t<0&&(t=2*Math.PI+t),e>=t&&(t+=2*Math.PI),{startAngle:e,endAngle:t}}(t.startAngle,t.endAngle))},i=e=>{let{startAngle:t,endAngle:n,innerRadius:i,outerRadius:a}=r(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,i,a]]};i.props={}},39566:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"}},40172:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="bison",i.aliases=[]},40370: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=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&h(c,"variable-input")}}}}function u(e,r){r=r||0;for(var i=0;i{"use strict";n.d(t,{W:()=>w});var r=n(59222),i=n(51927);function a(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}function o(e,...t){return t.reduce((e,t)=>n=>e(t(n)),e)}var s=n(72919),l=n.n(s);function c(e,t,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function u(e){let t=l().get(e);if(!t)return null;let{model:n,value:r}=t;return"rgb"===n?r:"hsl"===n?function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=e[3];if(0===n)return[255*r,255*r,255*r,i];let a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,s=c(o,a,t+1/3);return[255*s,255*c(o,a,t),255*c(o,a,t-1/3),i]}(r):null}let d=(e,t)=>n=>e*(1-n)+t*n,h=(e,t)=>"number"==typeof e&&"number"==typeof t?d(e,t):"string"==typeof e&&"string"==typeof t?((e,t)=>{let n=u(e),r=u(t);return null===n||null===r?n?()=>e:()=>t:e=>{let t=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];t[i]=a*(1-e)+o*e}let[i,a,o,s]=t;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${s})`}})(e,t):()=>e,p=(e,t)=>{let n=d(e,t);return e=>Math.round(n(e))};var f=n(53461),g=n(24254);function m(e){return!(0,f.A)(e)&&!(0,g.A)(e)&&!Number.isNaN(e)}let b=Math.sqrt(50),y=Math.sqrt(10),v=Math.sqrt(2);function E(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=b?10:a>=y?5:a>=v?2:1)*10**i:-(10**-i)/(a>=b?10:a>=y?5:a>=v?2:1)}let _=(e,t,n=5)=>{let r,i=[e,t],a=0,o=i.length-1,s=i[a],l=i[o];return l0?r=E(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=E(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[a]=Math.floor(s/r)*r,i[o]=Math.ceil(l/r)*r):r<0&&(i[a]=Math.ceil(s*r)/r,i[o]=Math.floor(l*r)/r),i},x=(e,t,n,r)=>(Math.min(e.length,t.length)>2?(e,t,n)=>{let r=Math.min(e.length,t.length)-1,i=Array(r),s=Array(r),l=e[0]>e[r],c=l?[...e].reverse():e,u=l?[...t].reverse():t;for(let e=0;e{let n=function(e,t,n,r,i){let a=1,o=r||e.length,s=e=>e;for(;at?o=n:a=n+1}return a}(e,t,0,r)-1,a=i[n];return o(s[n],a)(t)}}:(e,t,n)=>{let r,i,[s,l]=e,[c,u]=t;return st?e:t;return e=>Math.min(Math.max(n,e),r)}(i[0],i[a-1]):r.A}composeOutput(e,t){let{domain:n,range:r,round:i,interpolate:a}=this.options,s=x(n.map(e),r,a,i);this.output=o(s,t,e)}composeInput(e,t,n){let{domain:r,range:i}=this.options,a=x(i,r.map(e),d);this.input=o(t,n,a)}}let S=(e,t,n)=>{let r,i,a=e,o=t;if(a===o&&n>0)return[a];let s=E(a,o,n);if(0===s||!Number.isFinite(s))return[];if(s>0){a=Math.ceil(a/s),i=Array(r=Math.ceil((o=Math.floor(o/s))-a+1));for(let e=0;e{var r=n(98233),i=n(48611);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},40605: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=[]},40638:(e,t,n)=>{"use strict";function r(e,t,n){return Math.max(t,Math.min(e,n))}function i(e,t=10){return"number"!=typeof e||1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}n.d(t,{A:()=>i,q:()=>r})},40764:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(n){var r=e[n];"object"!=typeof r||Object.isFrozen(r)||t(r)}),e}t.default=t;class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}class a{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!e.kind)return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){e.kind&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class o{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{o._collapse(e)}))}}class s extends o{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){let n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return!0}}function l(e){return e?"string"==typeof e?e:e.source:null}let c=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,u="[a-zA-Z]\\w*",d="[a-zA-Z_]\\w*",h="\\b\\d+(\\.\\d+)?",p="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",f="\\b(0b[01]+)",g={begin:"\\\\[\\s\\S]",relevance:0},m={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},b=function(e,t,n={}){let r=i({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(m),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},y=b("//","$"),v=b("/\\*","\\*/"),E=b("#","$"),_={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[g,{begin:/\[/,end:/\]/,relevance:0,contains:[g]}]}]};var x=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:u,UNDERSCORE_IDENT_RE:d,NUMBER_RE:h,C_NUMBER_RE:p,BINARY_NUMBER_RE:f,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>l(e)).join("")}(t,/.*\b/,e.binary,/\b.*/)),i({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:g,APOS_STRING_MODE:{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[g]},QUOTE_STRING_MODE:{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[g]},PHRASAL_WORDS_MODE:m,COMMENT:b,C_LINE_COMMENT_MODE:y,C_BLOCK_COMMENT_MODE:v,HASH_COMMENT_MODE:E,NUMBER_MODE:{className:"number",begin:h,relevance:0},C_NUMBER_MODE:{className:"number",begin:p,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:f,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:h+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:_,TITLE_MODE:{className:"title",begin:u,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:d,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+d,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function A(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function S(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=A,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function w(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map(e=>l(e)).join("|")+")"}(...e.illegal))}function O(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function C(e,t){void 0===e.relevance&&(e.relevance=1)}let k=["of","and","for","in","not","or","if","then","parent","list","value"],M={"after:highlightElement":({el:e,result:t,text:n})=>{let i=I(e);if(!i.length)return;let a=document.createElement("div");a.innerHTML=t.value,t.value=function(e,t,n){let i=0,a="",o=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function c(e){a+=""}function u(e){("start"===e.event?l:c)(e.node)}for(;e.length||t.length;){let t=s();if(a+=r(n.substring(i,t[0].offset)),i=t[0].offset,t===e){o.reverse().forEach(c);do u(t.splice(0,1)[0]),t=s();while(t===e&&t.length&&t[0].offset===i);o.reverse().forEach(l)}else"start"===t[0].event?o.push(t[0].node):o.pop(),u(t.splice(0,1)[0])}return a+r(n.substr(i))}(i,I(a),n)}};function L(e){return e.nodeName.toLowerCase()}function I(e){let t=[];return!function e(n,r){for(let i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),L(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(e,0),t}let N={},R=e=>{console.error(e)},P=(e,...t)=>{console.log(`WARN: ${e}`,...t)},D=(e,t)=>{N[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),N[`${e}/${t}`]=!0)},j=Symbol("nomatch");e.exports=function(e){let a=Object.create(null),o=Object.create(null),u=[],d=!0,h=/(^(<[^>]+>|\t|)+|\n)/gm,p="Could not find the language '{}', did you forget to load/include a language module?",f={disableAutodetect:!0,name:"Plain text",contains:[]},g={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:s};function m(e){return g.noHighlightRe.test(e)}function b(e,t,n,r){let i="",a="";"object"==typeof t?(i=e,n=t.ignoreIllegals,a=t.language,r=void 0):(D("10.7.0","highlight(lang, code, ...args) has been deprecated."),D("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,i=t);let o={code:i,language:a};z("before:highlight",o);let s=o.result?o.result:y(o.language,o.code,n,r);return s.code=o.code,z("after:highlight",s),s}function y(e,t,o,s){function h(){null!=A.subLanguage?function(){if(""===P)return;let e=null;if("string"==typeof A.subLanguage){if(!a[A.subLanguage])return L.addText(P);e=y(A.subLanguage,P,!0,M[A.subLanguage]),M[A.subLanguage]=e.top}else e=v(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(D+=e.relevance),L.addSublanguage(e.emitter,e.language)}():function(){if(!A.keywords)return L.addText(P);let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n="";for(;t;){n+=P.substring(e,t.index);let r=function(e,t){let n=E.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}(A,t);if(r){let[e,i]=r;if(L.addText(n),n="",D+=i,e.startsWith("_"))n+=t[0];else{let n=E.classNameAliases[e]||e;L.addKeyword(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substr(e),L.addText(n)}(),P=""}function f(e){return e.className&&L.openNode(E.classNameAliases[e.className]||e.className),A=Object.create(e,{parent:{value:A}})}let m={};function b(r,i){let a=i&&i[0];if(P+=r,null==a)return h(),0;if("begin"===m.type&&"end"===i.type&&m.index===i.index&&""===a){if(P+=t.slice(i.index,i.index+1),!d){let t=Error("0 width match regex");throw t.languageName=e,t.badRule=m.rule,t}return 1}if(m=i,"begin"===i.type){let e=i[0],t=i.rule,r=new n(t);for(let n of[t.__beforeBegin,t["on:begin"]])if(n&&(n(i,r),r.isMatchIgnored))return 0===A.matcher.regexIndex?(P+=e[0],1):(z=!0,0);return t&&t.endSameAsBegin&&(t.endRe=RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),t.skip?P+=e:(t.excludeBegin&&(P+=e),h(),t.returnBegin||t.excludeBegin||(P=e)),f(t),t.returnBegin?0:e.length}if("illegal"!==i.type||o){if("end"===i.type){let e=function(e){let r=e[0],i=t.substr(e.index),a=function e(t,r,i){let a=function(e,t){let n=e&&e.exec(t);return n&&0===n.index}(t.endRe,i);if(a){if(t["on:end"]){let e=new n(t);t["on:end"](r,e),e.isMatchIgnored&&(a=!1)}if(a){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,i)}(A,e,i);if(!a)return j;let o=A;o.skip?P+=r:(o.returnEnd||o.excludeEnd||(P+=r),h(),o.excludeEnd&&(P=r));do A.className&&L.closeNode(),A.skip||A.subLanguage||(D+=A.relevance),A=A.parent;while(A!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),f(a.starts)),o.returnEnd?0:r.length}(i);if(e!==j)return e}}else{let e=Error('Illegal lexeme "'+a+'" for mode "'+(A.className||"")+'"');throw e.mode=A,e}if("illegal"===i.type&&""===a)return 1;if(F>1e5&&F>3*i.index)throw Error("potential infinite loop, way more iterations than matches");return P+=a,a.length}let E=N(e);if(!E)throw R(p.replace("{}",e)),Error('Unknown language: "'+e+'"');let _=function(e,{plugins:t}){function n(t,n){return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=RegExp(e.toString()+"|").exec("").length-1+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=n(function(e,t="|"){let n=0;return e.map(e=>{let t=n+=1,r=l(e),i="";for(;r.length>0;){let e=c.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i}).map(e=>`(${e})`).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new r;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function t(r,o){if(r.isCompiled)return r;[O].forEach(e=>e(r,o)),e.compilerExtensions.forEach(e=>e(r,o)),r.__beforeBegin=null,[S,w,C].forEach(e=>e(r,o)),r.isCompiled=!0;let s=null;if("object"==typeof r.keywords&&(s=r.keywords.$pattern,delete r.keywords.$pattern),r.keywords&&(r.keywords=function e(t,n,r="keyword"){let i={};return"string"==typeof t?a(r,t.split(" ")):Array.isArray(t)?a(r,t):Object.keys(t).forEach(function(r){Object.assign(i,e(t[r],n,r))}),i;function a(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,r,a;let o=t.split("|");i[o[0]]=[e,(n=o[0],(r=o[1])?Number(r):+(a=n,!k.includes(a.toLowerCase())))]})}}(r.keywords,e.case_insensitive)),r.lexemes&&s)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||r.lexemes||/\w+/,r.keywordPatternRe=n(s,!0),o&&(r.begin||(r.begin=/\B|\b/),r.beginRe=n(r.begin),r.endSameAsBegin&&(r.end=r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(r.endRe=n(r.end)),r.terminatorEnd=l(r.end)||"",r.endsWithParent&&o.terminatorEnd&&(r.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(r.illegalRe=n(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map(function(e){var t;return((t="self"===e?r:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return i(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?i(t):t:i(t,{starts:t.starts?i(t.starts):null})})),r.contains.forEach(function(e){t(e,r)}),r.starts&&t(r.starts,o),r.matcher=function(e){let t=new a;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(r),r}(e)}(E,{plugins:u}),x="",A=s||_,M={},L=new g.__emitter(g),I=[];for(let e=A;e!==E;e=e.parent)e.className&&I.unshift(e.className);I.forEach(e=>L.openNode(e));let P="",D=0,B=0,F=0,z=!1;try{for(A.matcher.considerAll();;){F++,z?z=!1:A.matcher.considerAll(),A.matcher.lastIndex=B;let e=A.matcher.exec(t);if(!e)break;let n=t.substring(B,e.index),r=b(n,e);B=e.index+r}return b(t.substr(B)),L.closeAllNodes(),L.finalize(),x=L.toHTML(),{relevance:Math.floor(D),value:x,language:e,illegal:!1,emitter:L,top:A}}catch(n){if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n.message,context:t.slice(B-100,B+100),mode:n.mode},sofar:x,relevance:0,value:r(t),emitter:L};if(d)return{illegal:!1,relevance:0,value:r(t),emitter:L,language:e,top:A,errorRaised:n};throw n}}function v(e,t){t=t||g.languages||Object.keys(a);let n=function(e){let t={relevance:0,emitter:new g.__emitter(g),value:r(e),illegal:!1,top:f};return t.emitter.addText(e),t}(e),i=t.filter(N).filter(F).map(t=>y(t,e,!1));i.unshift(n);let[o,s]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;else if(N(t.language).supersetOf===e.language)return -1}return 0});return o.second_best=s,o}let E=/^(<[^>]+>|\t)+/gm;function _(e){let t=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=g.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(P(p.replace("{}",n[1])),P("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>m(e)||N(e))}(e);if(m(t))return;z("before:highlightElement",{el:e,language:t});let n=e.textContent,r=t?b(n,{language:t,ignoreIllegals:!0}):v(n);z("after:highlightElement",{el:e,result:r,text:n}),e.innerHTML=r.value;var i=r.language;let a=t?o[t]:i;e.classList.add("hljs"),a&&e.classList.add(a),e.result={language:r.language,re:r.relevance,relavance:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance})}let A=()=>{A.called||(A.called=!0,D("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(_))},L=!1;function I(){if("loading"===document.readyState){L=!0;return}document.querySelectorAll("pre code").forEach(_)}function N(e){return a[e=(e||"").toLowerCase()]||a[o[e]]}function B(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{o[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function z(e,t){u.forEach(function(n){n[e]&&n[e](t)})}for(let n in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){L&&I()},!1),Object.assign(e,{highlight:b,highlightAuto:v,highlightAll:I,fixMarkup:function(e){var t;return D("10.2.0","fixMarkup will be removed entirely in v11.0"),D("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,g.tabReplace||g.useBR?t.replace(h,e=>"\n"===e?g.useBR?"
":e:g.tabReplace?e.replace(/\t/g,g.tabReplace):e):t},highlightElement:_,highlightBlock:function(e){return D("10.7.0","highlightBlock will be removed entirely in v12.0"),D("10.7.0","Please use highlightElement now."),_(e)},configure:function(e){e.useBR&&(D("10.3.0","'useBR' will be removed entirely in v11.0"),D("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),g=i(g,e)},initHighlighting:A,initHighlightingOnLoad:function(){D("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),L=!0},registerLanguage:function(t,n){let r=null;try{r=n(e)}catch(e){if(R("Language definition for '{}' could not be registered.".replace("{}",t)),d)R(e);else throw e;r=f}r.name||(r.name=t),a[t]=r,r.rawDefinition=n.bind(null,e),r.aliases&&B(r.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete a[e],Object.keys(o)))o[t]===e&&delete o[t]},listLanguages:function(){return Object.keys(a)},getLanguage:N,registerAliases:B,requireLanguage:function(e){D("10.4.0","requireLanguage will be removed entirely in v11."),D("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let t=N(e);if(t)return t;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:F,inherit:i,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),u.push(e)},vuePlugin:function(e){let t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,r(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){var e;return!this.language||!!((e=this.autodetect)||""===e)},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}(e).VuePlugin}),e.debugMode=function(){d=!1},e.safeMode=function(){d=!0},e.versionString="10.7.3",x)"object"==typeof x[n]&&t(x[n]);return Object.assign(e,x),e.addPlugin({"before:highlightElement":({el:e})=>{g.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:e})=>{g.useBR&&(e.value=e.value.replace(/\n/g,"
"))}}),e.addPlugin(M),e.addPlugin({"after:highlightElement":({result:e})=>{g.tabReplace&&(e.value=e.value.replace(E,e=>e.replace(/\t/g,g.tabReplace)))}}),e}({})},40827:(e,t,n)=>{"use strict";n.d(t,{DU:()=>eZ,AH:()=>eW,Ay:()=>eq,I4:()=>eq});var r=n(39249),i=n(12115),a=n(38194),o=n(4697),s=n(68448),l=n(83855);function c(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.LU:e.return=function e(t,n,r){switch((0,o.tW)(t,n)){case 5103:return a.j+"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 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return a.j+t+t;case 4855:return a.j+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return a.vd+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.j+t+a.vd+t+a.MS+t+t;case 5936:switch((0,o.wN)(t,n+11)){case 114:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return a.j+t+a.MS+t+t;case 6165:return a.j+t+a.MS+"flex-"+t+t;case 5187:return a.j+t+(0,o.HC)(t,/(\w+).+(:[^]+)/,a.j+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.j+t+a.MS+"flex-item-"+(0,o.HC)(t,/flex-|-self/g,"")+((0,o.YW)(t,/flex-|baseline/)?"":a.MS+"grid-row-"+(0,o.HC)(t,/flex-|-self/g,""))+t;case 4675:return a.j+t+a.MS+"flex-line-pack"+(0,o.HC)(t,/align-content|flex-|-self/g,"")+t;case 5548:return a.j+t+a.MS+(0,o.HC)(t,"shrink","negative")+t;case 5292:return a.j+t+a.MS+(0,o.HC)(t,"basis","preferred-size")+t;case 6060:return a.j+"box-"+(0,o.HC)(t,"-grow","")+a.j+t+a.MS+(0,o.HC)(t,"grow","positive")+t;case 4554:return a.j+(0,o.HC)(t,/([^-])(transform)/g,"$1"+a.j+"$2")+t;case 6187:return(0,o.HC)((0,o.HC)((0,o.HC)(t,/(zoom-|grab)/,a.j+"$1"),/(image-set)/,a.j+"$1"),t,"")+t;case 5495:case 3959:return(0,o.HC)(t,/(image-set\([^]*)/,a.j+"$1$`$1");case 4968:return(0,o.HC)((0,o.HC)(t,/(.+:)(flex-)?(.*)/,a.j+"box-pack:$3"+a.MS+"flex-pack:$3"),/space-between/,"justify")+a.j+t+t;case 4200:if(!(0,o.YW)(t,/flex-|baseline/))return a.MS+"grid-column-align"+(0,o.c1)(t,n)+t;break;case 2592:case 3360:return a.MS+(0,o.HC)(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,(0,o.YW)(e.props,/grid-\w+-end/)}))return~(0,o.K5)(t+(r=r[n].value),"span",0)?t:a.MS+(0,o.HC)(t,"-start","")+t+a.MS+"grid-row-span:"+(~(0,o.K5)(r,"span",0)?(0,o.YW)(r,/\d+/):(0,o.YW)(r,/\d+/)-(0,o.YW)(t,/\d+/))+";";return a.MS+(0,o.HC)(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return(0,o.YW)(e.props,/grid-\w+-start/)})?t:a.MS+(0,o.HC)((0,o.HC)(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return(0,o.HC)(t,/(.+)-inline(.+)/,a.j+"$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,o.b2)(t)-1-n>6)switch((0,o.wN)(t,n+1)){case 109:if(45!==(0,o.wN)(t,n+4))break;case 102:return(0,o.HC)(t,/(.+:)(.+)-([^]+)/,"$1"+a.j+"$2-$3$1"+a.vd+(108==(0,o.wN)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,o.K5)(t,"stretch",0)?e((0,o.HC)(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return(0,o.HC)(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,l){return a.MS+n+":"+r+l+(i?a.MS+n+"-span:"+(o?s:s-r)+l:"")+t});case 4949:if(121===(0,o.wN)(t,n+6))return(0,o.HC)(t,":",":"+a.j)+t;break;case 6444:switch((0,o.wN)(t,45===(0,o.wN)(t,14)?18:11)){case 120:return(0,o.HC)(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a.j+(45===(0,o.wN)(t,14)?"inline-":"")+"box$3$1"+a.j+"$2$3$1"+a.MS+"$2box$3")+t;case 100:return(0,o.HC)(t,":",":"+a.MS)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,o.HC)(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case a.Sv:return(0,l.l)([(0,s.C)(e,{value:(0,o.HC)(e.value,"@","@"+a.j)})],r);case a.XZ:if(e.length)return(0,o.kg)(n=e.props,function(t){switch((0,o.YW)(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(read-\w+)/,":"+a.vd+"$1")]})),(0,s.yY)((0,s.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(n,r)});break;case"::placeholder":(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.j+"input-$1")]})),(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.vd+"$1")]})),(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,a.MS+"input-$1")]})),(0,s.yY)((0,s.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(n,r)})}return""})}}var u=n(28296),d=n(39864),h=n(49509),p=void 0!==h&&void 0!==h.env&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",f="active",g="data-styled-version",m="6.3.8",b="/*!sc*/\n",y="undefined"!=typeof window&&"undefined"!=typeof document,v=void 0===i.createContext,E=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&"false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY),_={},x=Object.freeze([]),A=Object.freeze({});function S(e,t,n){return void 0===n&&(n=A),e.theme!==n.theme&&e.theme||t||n.theme}var w=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,C=/(^-|-$)/g;function k(e){return e.replace(O,"-").replace(C,"")}var M=/(a)(d)/gi,L=function(e){return String.fromCharCode(e+(e>25?39:97))};function I(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=L(t%52)+n;return(L(t%52)+n).replace(M,"$1-$2")}var N,R=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},P=function(e){return R(5381,e)};function D(e){return"string"==typeof e}var j="function"==typeof Symbol&&Symbol.for,B=j?Symbol.for("react.memo"):60115,F=j?Symbol.for("react.forward_ref"):60112,z={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},U={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G=((N={})[F]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},N[B]=H,N);function $(e){return("type"in e&&e.type.$$typeof)===B?H:"$$typeof"in e?G[e.$$typeof]:z}var W=Object.defineProperty,V=Object.getOwnPropertyNames,q=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,X=Object.prototype;function K(e){return"function"==typeof e}function Q(e){return"object"==typeof e&&"styledComponentId"in e}function J(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ee(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var ei=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw er(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,a=r;a=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),n+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(b)}}(r);return n})}return e.registerId=function(e){return el(e)},e.prototype.rehydrate=function(){!this.server&&y&&ef(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e((0,r.Cl)((0,r.Cl)({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new ei(e.isServer?new ey(n):t?new em(n):new eb(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(el(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(el(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(el(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),ex=/&/g;function eA(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,a=0;a0?".".concat(t):e},g=p.slice();g.push(function(e){e.type===a.XZ&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ex,n).replace(r,f))}),d.prefix&&g.push(c),g.push(l.A);var m=function(e,i,a,s){void 0===i&&(i=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var c,h,p,f=function(e){if(!eA(e))return e;for(var t=e.length,n="",r=0,i=0,a=0,o=!1,s=0;s=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))o=1,i++;else if(o>0)41===s?o--:40===s&&o++,i++;else if(47===s&&i+1r&&n.push(e.substring(r,i));i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var eR=function(e){return null==e||!1===e||""===e},eP=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!eR(i)&&(Array.isArray(i)&&i.isCss||K(i)?t.push("".concat(eN(n),":"),i,";"):et(i)?t.push.apply(t,(0,r.fX)((0,r.fX)(["".concat(n," {")],eP(i),!1),["}"],!1)):t.push("".concat(eN(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in d.A||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function eD(e,t,n,r){if(eR(e))return[];if(Q(e))return[".".concat(e.styledComponentId)];if(K(e))return!K(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:eD(e(t),t,n,r);return e instanceof eI?n?(e.inject(n,r),[e.getName(r)]):[e]:et(e)?eP(e):Array.isArray(e)?Array.prototype.concat.apply(x,e.map(function(e){return eD(e,t,n,r)})):[e.toString()]}function ej(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,a)){var o=n(i,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,o)}r=J(r,a),this.staticRulesId=a}else{for(var s=R(this.baseHash,n.hash),l="",c=0;c>>0);if(!t.hasNameForId(this.componentId,h)){var p=n(l,".".concat(h),void 0,this.componentId);t.insertRules(this.componentId,h,p)}r=J(r,h)}}return{className:r,css:"undefined"==typeof window?t.getTag().getGroup(el(this.componentId)):""}},e}(),ez=v?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:i.createContext(void 0);ez.Consumer;var eU={};function eH(e,t,n){var a,o,s,l,c=Q(e),u=!D(e),d=t.attrs,h=void 0===d?x:d,p=t.componentId,f=void 0===p?(a=t.displayName,o=t.parentComponentId,eU[s="string"!=typeof a?"sc":k(a)]=(eU[s]||0)+1,l="".concat(s,"-").concat(I(P(m+s+eU[s])>>>0)),o?"".concat(o,"-").concat(l):l):p,g=t.displayName,b=void 0===g?D(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):g,y=t.displayName&&t.componentId?"".concat(k(t.displayName),"-").concat(t.componentId):t.componentId||f,E=c&&e.attrs?e.attrs.concat(h).filter(Boolean):h,_=t.shouldForwardProp;if(c&&e.shouldForwardProp){var O=e.shouldForwardProp;if(t.shouldForwardProp){var C=t.shouldForwardProp;_=function(e,t){return O(e,t)&&C(e,t)}}else _=O}var M=new eF(n,y,c?e.componentStyle:void 0);function L(e,t){return function(e,t,n){var a,o=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,h=v?void 0:i.useContext(ez),p=eM(),f=e.shouldForwardProp||p.shouldForwardProp,g=S(t,h,l)||A,m=function(e,t,n){for(var i,a=(0,r.Cl)((0,r.Cl)({},t),{className:void 0,theme:n}),o=0;o2&&e_.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))},e}();function eZ(e){for(var t=[],n=1;n>>0)),s=new eY(a,o),l=new WeakMap,c=function(e){var t=eM(),n=v?void 0:i.useContext(ez),a=l.get(t.styleSheet);if(void 0===a&&(a=t.styleSheet.allocateGSInstance(o),l.set(t.styleSheet,a)),"undefined"!=typeof window&&t.styleSheet.server||function(e,t,n,i,a){if(s.isStatic)s.renderStyles(e,_,n,a);else{var o=(0,r.Cl)((0,r.Cl)({},t),{theme:S(t,i,c.defaultProps)});s.renderStyles(e,o,n,a)}}(a,e,t.styleSheet,n,t.stylis),!v){var u=i.useRef(!0);i.useLayoutEffect(function(){return u.current=!1,function(){u.current=!0,queueMicrotask(function(){u.current&&(s.removeStyles(a,t.styleSheet),"undefined"!=typeof document&&document.querySelectorAll('style[data-styled-global="'.concat(o,'"]')).forEach(function(e){return e.remove()}))})}},[a,t.styleSheet])}if(v){var d=o+a,h="undefined"==typeof window?t.styleSheet.getTag().getGroup(el(d)):"";if(h){var p="".concat(o,"-").concat(a);return i.createElement("style",{key:p,"data-styled-global":o,precedence:"styled-components",href:p,children:h})}}return null};return i.memo(c)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=ee([r&&'nonce="'.concat(r,'"'),"".concat(p,'="true"'),"".concat(g,'="').concat(m,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw er(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw er(2);var t,a=e.instance.toString();if(!a)return[];var o=((t={})[p]="",t[g]=m,t.dangerouslySetInnerHTML={__html:a},t),s=n.nc;return s&&(o.nonce=s),[i.createElement("style",(0,r.Cl)({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new e_({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw er(2);return i.createElement(eL,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw er(3)}}()},40881: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}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),a={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return i}).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:[a,{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:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},40897:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,lG:()=>a,uN:()=>o});var r=n(7390);function i(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?i(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(e)?t:e)}function o(e){return 1==(e*=1)?s:function(t,n){var i,a,o;return n-t?(i=t,a=n,i=Math.pow(i,o=e),a=Math.pow(a,o)-i,o=1/o,function(e){return Math.pow(i+e*a,o)}):(0,r.A)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?i(e,n):(0,r.A)(isNaN(e)?t:e)}},41126: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=[]},41334:e=>{"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return i}),t)}i=a(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\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:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.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=[],r=0;r0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(i);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.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=[]},41362:function(e){"use strict";e.exports=function(){function e(e){var t,o,s=[];return e.AMapUI&&s.push((t=e.AMapUI,new Promise(function(e,o){var s=[];if(t.plugins)for(var l=0;l{"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=[]},41458:(e,t,n)=>{"use strict";function r(e,t){let n,r=-1,i=-1;if(void 0===t)for(let t of e)++i,null!=t&&(n>t||void 0===n&&t>=t)&&(n=t,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}n.d(t,{A:()=>r})},41463: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=[]},41472: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=[]},41553:(e,t,n)=>{"use strict";var r=n(13290),i=Array.prototype.concat,a=Array.prototype.slice,o=e.exports=function(e){for(var t=[],n=0,o=e.length;n{e.exports=function(e){e.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},41930:(e,t,n)=>{"use strict";n.d(t,{aS:()=>s,mU:()=>l});var r=n(14837),i=n(86372),a=n(37022),o=n(12002),s={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new i.wA({style:{d:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};(0,r.A)({},s,{style:{type:"arc"}}),(0,r.A)({},s,{style:{}});var l=(0,a.x)({mainGroup:o.n.mainGroup,gridGroup:o.n.gridGroup,grid:o.n.grid,lineGroup:o.n.lineGroup,line:o.n.line,tickGroup:o.n.tickGroup,tick:o.n.tick,tickItem:o.n.tickItem,labelGroup:o.n.labelGroup,label:o.n.label,labelItem:o.n.labelItem,titleGroup:o.n.titleGroup,title:o.n.title,lineFirst:o.n.lineFirst,lineSecond:o.n.lineSecond},"axis")},42003: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=[]},42021: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=[]},42093:e=>{"use strict";function t(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,function(e){if("function"==typeof a&&!a(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(r,s));)++s;return o[s]=e,i}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[i],d=n.tokenStack[u],h="string"==typeof c?c:c.content,p=t(r,u),f=h.indexOf(p);if(f>-1){++i;var g=h.substring(0,f),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=h.substring(f+p.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},42104:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(80628),i=n(95155);let a=(0,r.A)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"CheckOutlined")},42235: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"],r={},i=0,a=n.length;i",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",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},42267:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(85522);function i(){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.A)(e)););return e}(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}}).apply(null,arguments)}function a(e,t,n,a){var o=i((0,r.A)(1&a?e.prototype:e),t,n);return 2&a&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},42288:(e,t,n)=>{"use strict";var r=n(41334),i=n(7594);function a(e){var t,n;e.register(r),e.register(i),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=a,a.displayName="tsx",a.aliases=[]},42305: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=[]},42408:(e,t,n)=>{e.exports=function(e){e.use(n(52956)),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var t=function(e){var t=Math.pow(e,3);return t>.008856?t:(e-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new e.XYZ(95.047*t(r),100*t(n),108.883*t(i),this._alpha)}})}},42749:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},42752:(e,t,n)=>{"use strict";var r=n(13395);function i(e){e.register(r),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=i,i.displayName="sparql",i.aliases=["rq"]},42773:(e,t,n)=>{var r=n(71939);e.exports=n(31814)(function(e,t,n,i){r(e,t,n,i)})},42847:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("rotate",function(e){return this.hue((e||0)/360,!0)})}},43068: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=[]},43106:(e,t,n)=>{"use strict";var r=n(31411),i=n(33488).e,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(e){return Math.round(255*e)},s=function(e){return function(t,n){var s=r(t);if(!s)return n?{R:0,G:0,B:0}:"#000000";var l=new i({R:o(s.red()||0),G:o(s.green()||0),B:o(s.blue()||0)},a[e].type,a[e].anomalize);return(l.R=l.R||0,l.G=l.G||0,l.B=l.B||0,n)?(delete l.X,delete l.Y,delete l.Z,l):new r.RGB(l.R%256/255,l.G%256/255,l.B%256/255,1).hex()}};for(var l in a)t[l]=s(l)},43189: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 r(e,r){var i={};for(var a in i["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)i[a]=r[a];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={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:r("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:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:i,property:o}),keywords:r("Keywords",{"keyword-name":a,documentation:i,property:o}),tasks:r("Tasks",{"task-name":a,documentation:i,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},43671:(e,t,n)=>{"use strict";var r=n(86985),i=n(65142);e.exports=r([n(26176),i,n(96308),n(12687),n(2455)])},43730:e=>{"use strict";function t(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 r(e){e=e.split(" ");for(var t={},r=0,i=e.length;r{"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"]},43839: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=[]},43918: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=[]},43938:(e,t)=>{"use strict";t.q=function(e){for(var t,n=[],r=String(e||""),i=r.indexOf(","),a=0,o=!1;!o;)-1===i&&(i=r.length,o=!0),((t=r.slice(a,i).trim())||!o)&&n.push(t),a=i+1,i=r.indexOf(",",a);return n}},43948:e=>{"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var i=e.get(n);t[i]||(t[i]=[]),t[i].push(r)},removeListener:function(e,t){for(var r=n(e),i=0,a=r.length;i{"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 r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \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("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),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,r=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"]},44187: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"]},44188:(e,t,n)=>{"use strict";n.d(t,{_:()=>e_});var r=n(39249),i=n(52691),a=n(73534),o=n(32481),s=n(96816),l=n(41930),c=n(56775),u=n(75403);function d(e){return e*Math.PI/180}function h(e){return Number((180*e/Math.PI).toPrecision(5))}var p=n(68058),f=n(58985);function g(e,t){return e.style.opacity||(e.style.opacity=1),(0,i.kY)(e,{opacity:0},t)}var m=n(37022),b=["$el","cx","cy","d","dx","dy","fill","fillOpacity","filter","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","height","img","increasedLineWidthForHitTesting","innerHTML","isBillboard","billboardRotation","isSizeAttenuation","isClosed","isOverflowing","leading","letterSpacing","lineDash","lineHeight","lineWidth","markerEnd","markerEndOffset","markerMid","markerStart","markerStartOffset","maxLines","metrics","miterLimit","offsetX","offsetY","opacity","path","points","r","radius","rx","ry","shadowColor","src","stroke","strokeOpacity","text","textAlign","textBaseline","textDecorationColor","textDecorationLine","textDecorationStyle","textOverflow","textPath","textPathSide","textPathStartOffset","transform","transformOrigin","visibility","width","wordWrap","wordWrapWidth","x","x1","x2","y","y1","y2","z1","z2","zIndex"];function y(e){var t={};for(var n in e)b.includes(n)&&(t[n]=e[n]);return t}var v=(0,m.x)({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function E(e){return e.reduce(function(e,t,n){return e.push((0,r.fX)([0===n?"M":"L"],(0,r.zs)(t),!1)),e},[])}function _(e,t,n){if("surround"===t.type){var i=t.connect,a=t.center;if("line"===(void 0===i?"line":i))return E(e);if(!a)return[];var o=(0,u.Io)(e[0],a),s=+!n;return e.reduce(function(e,t,n){return 0===n?e.push((0,r.fX)(["M"],(0,r.zs)(t),!1)):e.push((0,r.fX)(["A",o,o,0,0,s],(0,r.zs)(t),!1)),e},[])}return E(e)}var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t){e.type,e.center,e.areaFill,e.closed;var n,a,o,l,c,d=(0,r.Tt)(e,["type","center","areaFill","closed"]),h=(a=void 0===(n=e.data)?[]:n,e.closed?a.map(function(e){var t=e.points,n=(0,r.zs)(t,1)[0];return(0,r.Cl)((0,r.Cl)({},e),{points:(0,r.fX)((0,r.fX)([],(0,r.zs)(t),!1),[n],!1)})}):a),p=(0,s.Lt)(t).maybeAppendByClassName(v.lineGroup,"g"),m=(0,s.Lt)(t).maybeAppendByClassName(v.regionGroup,"g"),b=(o=e.animate,l=e.isBillboard,c=h.map(function(t,n){return{id:t.id||"grid-line-".concat(n),d:_(t.points,e)}}),p.selectAll(v.line.class).data(c,function(e){return e.id}).join(function(e){return e.append("path").each(function(e,t){var n=(0,f.n)(y((0,r.Cl)({d:e.d},d)),[e,t,c]);this.attr((0,r.Cl)({class:v.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:l},n))})},function(e){return e.transition(function(e,t){var n=(0,f.n)(y((0,r.Cl)({d:e.d},d)),[e,t,c]);return(0,i.kY)(this,n,o.update)})},function(e){return e.transition(function(){var e=this,t=g(this,o.exit);return(0,i.D5)(t,function(){return e.remove()}),t})}).transitions()),E=function(e,t,n){var a=n.animate,o=n.connect,s=n.areaFill;if(t.length<2||!s||!o)return[];for(var l=Array.isArray(s)?s:[s,"transparent"],c=[],d=0;d180),",").concat(e>t?0:1,",").concat(v,",").concat(E)}function U(e){var t=(0,r.zs)(e,2),n=(0,r.zs)(t[0],2),i=n[0],a=n[1],o=(0,r.zs)(t[1],2);return{x1:i,y1:a,x2:o[0],y2:o[1]}}function H(e){var t=e.type,n=e.gridCenter;return"linear"===t?n:n||e.center}function G(e,t,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&e===t||!!i&&e===n||e>t&&e0,v=i-c,E=a-u,_=p*E-f*v;if(_<0===y)return!1;var x=g*E-m*v;return x<0!==y&&_>b!==y&&x>b!==y}(t,e)})}(s,d))return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return!1}(p.firstChild,f.firstChild,(0,K.i)(n)):0)?(s.add(l),s.add(f)):l=f}}catch(e){i={error:e}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return Array.from(s)}function er(e,t){return(void 0===t&&(t={}),(0,X.A)(e))?0:"number"==typeof e?e:Math.floor((0,q.WI)(e,t))}var ei=function(e){return void 0!==e&&null!=e&&!Number.isNaN(e)},ea=n(66911),eo={parity:function(e,t){var n=t.seq,r=void 0===n?2:n;return e.filter(function(e,t){return!(t%r)||((0,W.jD)(e),!1)})}},es=new Map([["hide",function(e,t,n,i){var a,o,s=e.length,l=t.keepHeader,c=t.keepTail;if(!(s<=1)&&(2!==s||!l||!c)){var u=eo.parity,d=function(e){return e.forEach(i.show),e},h=2,p=e.slice(),f=e.slice(),g=Math.min.apply(Math,(0,r.fX)([1],(0,r.zs)(e.map(function(e){return e.getBBox().width})),!1));if("linear"===n.type&&(B(n)||F(n))){var m=(0,ea.p4)(e[0]).left,b=Math.abs((0,ea.p4)(e[s-1]).right-m)||1;h=Math.max(Math.floor(s*g/b),h)}for(l&&(a=p.splice(0,1)[0]),c&&(o=p.splice(-1,1)[0],p.reverse()),d(p);hg+f;E-=f){var _=v(E);if("object"==typeof _)return _.value}}}],["wrap",function(e,t,n,i,a){var o,s,l,c=t.maxLines,u=void 0===c?3:c,d=t.recoverWhenFailed,h=t.margin,p=void 0===h?[0,0,0,0]:h,g=(0,f.n)(null!=(l=t.wordWrapWidth)?l:50,[a]),m=e.map(function(e){return e.attr("maxLines")||1}),b=Math.min.apply(Math,(0,r.fX)([],(0,r.zs)(m),!1)),y=function(){return en(e,n,p).length<1},v=(o=n.type,s=n.labelDirection,"linear"===o&&B(n)?"negative"===s?"bottom":"top":"middle"),E=function(t){return e.forEach(function(e,n){var r=Array.isArray(t)?t[n]:t;i.wrap(e,g,r,v)})};if(!(b>u)){if("linear"===n.type&&B(n)){if(E(u),y())return}else for(var _=b;_<=u;_++)if(E(_),y())return;(void 0===d||d)&&E(m)}}]]);function el(e){for(var t=e;t<0;)t+=360;return Math.round(t%360)}function ec(e,t){var n=(0,r.zs)(e,2),i=n[0],a=n[1],o=(0,r.zs)(t,2),s=o[0],l=o[1],c=(0,r.zs)([i*s+a*l,i*l-a*s],2),u=c[0];return Math.atan2(c[1],u)}function eu(e,t,n){var r=n.type,i=n.labelAlign,a=N(e,n),o=el(t),s=el(h(ec([1,0],a))),l="center",c="middle";return"linear"===r?[90,270].includes(s)&&0===o?(l="center",c=1===a[1]?"top":"bottom"):!(s%180)&&[90,270].includes(o)?l="center":0===s?G(o,0,90,!1,!0)?l="start":(G(o,0,90)||G(o,270,360))&&(l="start"):90===s?G(o,0,90,!1,!0)?l="start":(G(o,90,180)||G(o,270,360))&&(l="end"):270===s?G(o,0,90,!1,!0)?l="end":(G(o,90,180)||G(o,270,360))&&(l="start"):180===s&&(90===o?l="start":(G(o,0,90)||G(o,270,360))&&(l="end")):"parallel"===i?c=G(s,0,180,!0)?"top":"bottom":"horizontal"===i?G(s,90,270,!1)?l="end":(G(s,270,360,!1)||G(s,0,90))&&(l="start"):"perpendicular"===i&&(l=G(s,90,270)?"end":"start"),{textAlign:l,textBaseline:c}}function ed(e,t,n){var i=n.showTick,a=n.tickLength,o=n.tickDirection,s=n.labelDirection,l=n.labelSpacing,c=t.indexOf(e),d=(0,f.n)(l,[e,c,t]),h=(0,r.zs)([N(e.value,n),function(){for(var e=[],t=0;t=1))||null==o||o(n,i,e,r,t)})}function eg(e,t,n,i,a){var o,u,d,g,m,b=n.indexOf(t),y=a.labelRender,v=a.classNamePrefix,E=(0,s.Lt)(e).append(y?(o=a.labelRender,u=((0,A.A)(a,"endPos.0",400)-(0,A.A)(a,"startPos.0",0))/n.length,g=$(d=(0,c.A)(o)?(0,f.n)(o,[t,b,n,N(t.value,a)]):t.label||"")||30,function(){return(0,S.E)(d,{width:u,height:g})}):(m=a.labelFormatter,(0,c.A)(m)?function(){return(0,S.z)((0,f.n)(m,[t,b,n,N(t.value,a)]))}:function(){return(0,S.z)(t.label||"")})).attr("className",l.mU.labelItem.name).node();P((0,s.Lt)(E),l.mU.labelItem,D.n.labelItem,v);var _=(0,r.zs)((0,p.u0)(C(i,[t,b,n])),2),x=_[0],w=_[1],O=w.transform,k=(0,r.Tt)(w,["transform"]);Y(E,O);var M=function(e,t,n){var r,i,a=n.labelAlign;if(null==(i=t.style.transform)?void 0:i.includes("rotate"))return t.getLocalEulerAngles();var o=0,s=N(e.value,n),l=L(e.value,n);return"horizontal"===a?0:(G(r=(h(o="perpendicular"===a?ec([1,0],s):ec([l[0]<0?-1:1,0],l))+360)%180,-90,90)||(r+=180),r)}(t,E,a);if(E.getLocalEulerAngles()||E.setLocalEulerAngles(M),ep(E,(0,r.Cl)((0,r.Cl)({},eu(t.value,M,a)),x)),"html"===E.nodeName){var I=E.getBBox(),R=E.style.x||0;E.attr("x",R-I.width/2)}return e.attr(k),E}function em(e,t){return I(e,t.tickDirection,t)}function eb(e,t,n,a,o,u){var d,h,g,m,b,y,v,E,_,x,A,S,w,O,k,M,L,I,N,R,B,F,z,U=(d=(0,s.Lt)(this),h=a.tickFormatter,g=a.classNamePrefix,m=em(e.value,a),b="line",(0,c.A)(h)&&(b=function(){return(0,f.n)(h,[e,t,n,m])}),P(y=d.append(b).attr("className",l.mU.tickItem.name),l.mU.tickItem,D.n.tickItem,g),y);v=em(e.value,a),L=(E=a.tickLength,A=(0,r.zs)((_=(0,f.n)(E,[e,t,n]),[[0,0],[(x=(0,r.zs)(v,2))[0]*_,x[1]*_]]),2),w=(S=(0,r.zs)(A[0],2))[0],O=S[1],M={x1:w,x2:(k=(0,r.zs)(A[1],2))[0],y1:O,y2:k[1]}).x1,I=M.x2,N=M.y1,R=M.y2,F=(B=(0,r.zs)((0,p.u0)(C(o,[e,t,n,v])),2))[0],z=B[1],"line"===U.node().nodeName&&U.styles((0,r.Cl)({x1:L,x2:I,y1:N,y2:R},F)),this.attr(z),U.styles(F);var H=(0,r.zs)(j(e.value,a),2),G=H[0],$=H[1];return(0,i.kY)(this,{transform:"translate(".concat(G,", ").concat($,")")},u)}var ey=n(24611);function ev(e,t,n,a,o){var c=(0,p.iA)(a,"title"),d=(0,r.zs)((0,p.u0)(c),2),h=d[0],f=d[1],g=f.transform,m=f.transformOrigin,b=(0,r.Tt)(f,["transform","transformOrigin"]);t.styles(b);var y=g||function(e,t,n){var r=2*e.getGeometryBounds().halfExtents[1];if("vertical"===t){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(e.node(),h.direction,h.position);e.styles((0,r.Cl)((0,r.Cl)({},h),{transformOrigin:m})),Y(e.node(),y);var v=function(e,t,n){var i=n.titlePosition,a=void 0===i?"lb":i,o=n.titleSpacing,s=(0,ey.r)(a),l=e.node().getLocalBounds(),c=(0,r.zs)(l.min,2),d=c[0],h=c[1],p=(0,r.zs)(l.halfExtents,2),f=p[0],g=p[1],m=(0,r.zs)(t.node().getLocalBounds().halfExtents,2),b=m[0],y=m[1],v=(0,r.zs)([d+f,h+g],2),E=v[0],_=v[1],x=(0,r.zs)((0,K.i)(o),4),A=x[0],S=x[1],w=x[2],O=x[3];if(["start","end"].includes(a)&&"linear"===n.type){var C=n.startPos,k=n.endPos,M=(0,r.zs)("start"===a?[C,k]:[k,C],2),L=M[0],I=M[1],N=(0,u.S8)([-I[0]+L[0],-I[1]+L[1]]),R=(0,r.zs)((0,u.hs)(N,A),2),P=R[0],D=R[1];return{x:L[0]+P,y:L[1]+D}}return s.includes("t")&&(_-=g+y+A),s.includes("r")&&(E+=f+b+S),s.includes("l")&&(E-=f+b+O),s.includes("b")&&(_+=g+y+w),{x:E,y:_}}((0,s.Lt)(n._offscreen||n.querySelector(l.mU.mainGroup.class)),t,a),E=v.x,_=v.y;return(0,i.kY)(t.node(),{transform:"translate(".concat(E,", ").concat(_,")")},o)}function eE(e,t,n,a){var c=e.showLine,u=e.showTick,d=e.showLabel,h=e.classNamePrefix,f=t.maybeAppendByClassName(l.mU.lineGroup,"g");P(f,l.mU.lineGroup,D.n.lineGroup,h);var m=(0,o.V)(c,f,function(t){return function(e,t,n){var a,o,s,c,u,d,h,f=t.type,g=(0,p.iA)(t,"line");return"linear"===f?h=function(e,t,n,a){var o,s,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w=t.showTrunc,O=t.startPos,C=t.endPos,k=t.truncRange,M=t.lineExtension,L=t.classNamePrefix,I=(0,r.zs)([O,C],2),N=(0,r.zs)(I[0],2),P=N[0],j=N[1],B=(0,r.zs)(I[1],2),F=B[0],z=B[1],H=(0,r.zs)(M?(void 0===(o=M)&&(o=[0,0]),s=(0,r.zs)([O,C,o],3),u=(c=(0,r.zs)(s[0],2))[0],d=c[1],p=(h=(0,r.zs)(s[1],2))[0],f=h[1],m=(g=(0,r.zs)(s[2],2))[0],b=g[1],_=Math.sqrt(Math.pow(v=(y=(0,r.zs)([p-u,f-d],2))[0],2)+Math.pow(E=y[1],2)),[(A=(x=(0,r.zs)([-m/_,b/_],2))[0])*v,A*E,(S=x[1])*v,S*E]):[,,,,].fill(0),4),G=H[0],$=H[1],W=H[2],V=H[3],q=function(t){return e.selectAll(l.mU.line.class).data(t,function(e,t){return t}).join(function(e){var t=e.append("line").styles(n).transition(function(e){return(0,i.kY)(this,U(e.line),!1)});return t.attr("className",function(e){if(!L)return"".concat(l.mU.line.name," ").concat(e.className);var t=R(l.mU.line.name,D.n.line,L);if(e.className===l.mU.lineFirst.name){var n=R(l.mU.lineFirst.name,D.n.lineFirst,L);return"".concat(t," ").concat(n)}if(e.className===l.mU.lineSecond.name){var n=R(l.mU.lineSecond.name,D.n.lineSecond,L);return"".concat(t," ").concat(n)}return t}),t},function(e){return e.styles(n).transition(function(e){var t=e.line;return(0,i.kY)(this,U(t),a.update)})},function(e){return e.remove()}).transitions()};if(!w||!k)return q([{line:[[P+G,j+$],[F+W,z+V]],className:l.mU.line.name}]);var Y=(0,r.zs)(k,2),Z=Y[0],X=Y[1],K=F-P,Q=z-j,J=(0,r.zs)([P+K*Z,j+Q*Z],2),ee=J[0],et=J[1],en=(0,r.zs)([P+K*X,j+Q*X],2),er=en[0],ei=en[1],ea=q([{line:[[P+G,j+$],[ee,et]],className:l.mU.lineFirst.name},{line:[[er,ei],[F+W,z+V]],className:l.mU.lineSecond.name}]);return t.truncRange,t.truncShape,t.lineExtension,ea}(e,t,O(g,"arrow"),n):(a=O(g,"arrow"),o=t.startAngle,s=t.endAngle,c=t.center,u=t.radius,d=t.classNamePrefix,h=e.selectAll(l.mU.line.class).data([{d:z.apply(void 0,(0,r.fX)((0,r.fX)([o,s],(0,r.zs)(c),!1),[u],!1))}],function(e,t){return t}).join(function(e){var n=e.append("path").attr("className",l.mU.line.name).styles(t).styles({d:function(e){return e.d}});return P(n,l.mU.line,D.n.line,d),n},function(e){return e.transition(function(){var e,t,i,a,l,d=this,h=function(e,t,n,i){if(!i)return e.attr("__keyframe_data__",n),null;var a=i.duration,o=function e(t,n){var i,a,o,s,l,c;return"number"==typeof t&&"number"==typeof n?function(e){return t*(1-e)+n*e}:Array.isArray(t)&&Array.isArray(n)?(i=n?n.length:0,a=t?Math.min(i,t.length):0,function(r){var o=Array(a),s=Array(i),l=0;for(l=0;lE[0])||!(t{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},44963:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,Q:()=>l});var r=n(39249),i=n(86372),a=n(2638),o=function(e){function t(){for(var t=[],n=0;n{var r=n(36707);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},45046: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"]},45352: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"]},45379:e=>{"use strict";function t(e){var t,n,r,i;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},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"}},r.interpolation.inside.content.inside=i}e.exports=t,t.displayName="jq",t.aliases=[]},45420: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":"Ÿ"}')},45552: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=[]},45752: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=[]},46032:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var r=n(53461),i=n(24254);function a(e){return!(0,r.A)(e)&&!(0,i.A)(e)&&!Number.isNaN(e)}},46242:e=>{"use strict";function t(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.exports=t,t.displayName="coq",t.aliases=[]},46272: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"]},46930:e=>{e.exports=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var t,n,r,i=this._hue,a=this._saturation,o=this._value,s=Math.min(5,Math.floor(6*i)),l=6*i-s,c=o*(1-a),u=o*(1-l*a),d=o*(1-(1-l)*a);switch(s){case 0:t=o,n=d,r=c;break;case 1:t=u,n=o,r=c;break;case 2:t=c,n=o,r=d;break;case 3:t=c,n=u,r=o;break;case 4:t=d,n=c,r=o;break;case 5:t=o,n=c,r=u}return new e.RGB(t,n,r,this._alpha)},hsl:function(){var t,n=(2-this._saturation)*this._value,r=this._saturation*this._value,i=n<=1?n:2-n;return t=i<1e-9?0:r/i,new e.HSL(this._hue,t,n/2,this._alpha)},fromRgb:function(){var t,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i);if(0===o)t=0;else switch(a){case n:t=(r-i)/o/6+ +(r{"use strict";function t(e){var t;t="(?:"+["$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("^(['\"])?"+t+"(?:\\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=[]},47113:e=>{"use strict";function t(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}e.exports=t,t.displayName="csp",t.aliases=[]},47463:e=>{"use strict";function t(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}e.exports=t,t.displayName="asm6502",t.aliases=[]},47548:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(19663),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},47562:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(83955),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},47876: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=[]},47887:(e,t,n)=>{"use strict";var r="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},i=function(){var e="Prism"in r,t=e?r.Prism:void 0;return function(){e?r.Prism=t:delete r.Prism,e=void 0,t=void 0}}();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=n(59235),o=n(30321),s=n(37186),l=n(70153),c=n(75088),u=n(74465),d=n(34698);i();var h={}.hasOwnProperty;function p(){}p.prototype=s;var f=new p;function g(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,r=s.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(h.call(f.languages,t))n=f.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},f.register=g,f.alias=function(e,t){var n,r,i,a,o=f.languages,s=e;for(n in t&&((s={})[e]=t),s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a{"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=[]},48312:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},48372:(e,t,n)=>{"use strict";var r=n(97883);function i(e){e.register(r),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=i,i.displayName="purescript",i.aliases=["purs"]},48505:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},48532: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"]},48624:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(69047);function i(e,t,n,i,a,o,s,l,c,u){var d,h=u.bbox,p=void 0===h||h,f=u.length,g=void 0===f||f,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,v=e,E=t,_=0,x=[v,E,0],A=[v,E],S={x:0,y:0},w=[{x:v,y:E}];y&&c<=0&&(S={x:v,y:E});for(var O=0;O<=b;O+=1){if(v=(d=function(e,t,n,r,i,a,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*i+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*a+Math.pow(l,3)*s}}(e,t,n,i,a,o,s,l,O/b)).x,E=d.y,p&&w.push({x:v,y:E}),g&&(_+=(0,r.F)(A,[v,E])),A=[v,E],y&&_>=c&&c>x[2]){var C=(_-c)/(_-x[2]);S={x:A[0]*(1-C)+x[0]*C,y:A[1]*(1-C)+x[1]*C}}x=[v,E,_]}return y&&c>=_&&(S={x:s,y:l}),{length:_,point:S,min:{x:Math.min.apply(null,w.map(function(e){return e.x})),y:Math.min.apply(null,w.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}},48659:(e,t,n)=>{var r=n(37929);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},48698: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=[]},48875:(e,t,n)=>{"use strict";function r(e,t,n){return n?"".concat(e," ").concat(n,"legend-").concat(t):e}n.d(t,{X:()=>r})},48956: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=[]},49577: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=[]},49603:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(33313);function i(e){return(0,r.N)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},49900:(e,t,n)=>{e.exports=function(e){e.use(n(46930)),e.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var t,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return t=n+r<1e-9?0:2*r/(n+r),new e.HSV(this._hue,t,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},49929:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(20083),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},50107:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,Cc:()=>p,Om:()=>h,Re:()=>c,S8:()=>d,WQ:()=>l,fA:()=>a,hZ:()=>s,jb:()=>g,t2:()=>f,vt:()=>i,ze:()=>u});var r=n(31142);function i(){var e=new r.tb(2);return r.tb!=Float32Array&&(e[0]=0,e[1]=0),e}function a(e,t){var n=new r.tb(2);return n[0]=e,n[1]=t,n}function o(e,t){return e[0]=t[0],e[1]=t[1],e}function s(e,t,n){return e[0]=t,e[1]=n,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function u(e,t){return e[0]=-t[0],e[1]=-t[1],e}function d(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e}function h(e,t){return e[0]*t[0]+e[1]*t[1]}function p(e,t,n,r){var i=t[0],a=t[1];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e}function f(e,t){return e[0]===t[0]&&e[1]===t[1]}var g=c;i()},50312:(e,t,n)=>{"use strict";var r=n(30313),i=n(42093);function a(e){e.register(r),e.register(i),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=a,a.displayName="erb",a.aliases=[]},50315: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=[]},50407:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={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 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"}}]},name:"file-markdown",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},50459:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},50478:(e,t,n)=>{"use strict";var r=n(70750);function i(e){e.register(r);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 i=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/};i["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=i,e.languages.ly=i}e.exports=i,i.displayName="lilypond",i.aliases=[]},50502: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=function(e){return e.split("")}},50979:()=>{},51033:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,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=i,i.displayName="handlebars",i.aliases=["hbs"]},51749:e=>{"use strict";function t(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.exports=t,t.displayName="toml",t.aliases=[]},51750:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(88491);let i=(e,t,n=5)=>{let i,a=[e,t],o=0,s=a.length-1,l=a[o],c=a[s];return c0?(l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i,i=(0,r.l)(l,c,n)):i<0&&(l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i,i=(0,r.l)(l,c,n)),i>0?(a[o]=Math.floor(l/i)*i,a[s]=Math.ceil(c/i)*i):i<0&&(a[o]=Math.ceil(l*i)/i,a[s]=Math.floor(c*i)/i),a}},51927:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(14837);class i{constructor(e){this.options=(0,r.A)({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=(0,r.A)({},this.options,e),this.rescale(e)}rescale(e){}}},52199:(e,t,n)=>{var r=n(91569),i=n(77969),a=n(86030),o=n(39608);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return r(o(n)?a(n):[n],i(t,1))}},52229:e=>{e.exports=function(e){e.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new e.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var t=this._red,n=this._green,r=this._blue,i=1-t,a=1-n,o=1-r,s=1;return t||n||r?(s=Math.min(i,Math.min(a,o)),i=(i-s)/(1-s),a=(a-s)/(1-s),o=(o-s)/(1-s)):s=1,new e.CMYK(i,a,o,s,this._alpha)}})}},52238:(e,t,n)=>{"use strict";var r=n(56373),i=n(86466);function a(e){e.register(r),e.register(i),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=a,a.displayName="t4Cs",a.aliases=[]},52276: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=[]},52657:e=>{"use strict";function t(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,r=[[/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,[r],"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.exports=t,t.displayName="avisynth",t.aliases=["avs"]},52691:(e,t,n)=>{"use strict";n.d(t,{CB:()=>l,D5:()=>s,R7:()=>o,i0:()=>u,kY:()=>h,tp:()=>d});var r=n(39249),i=n(7006),a=n(2638);function o(e){if(!e)return{enter:!1,update:!1,exit:!1};var t=["enter","update","exit"],n=Object.fromEntries(Object.entries(e).filter(function(e){var n=(0,r.zs)(e,1)[0];return!t.includes(n)}));return Object.fromEntries(t.map(function(t){return"boolean"!=typeof e&&"enter"in e&&"update"in e&&"exit"in e?!1===e[t]?[t,!1]:[t,(0,r.Cl)((0,r.Cl)({},e[t]),n)]:[t,n]}))}function s(e,t){e?e.finished.then(t):t()}function l(e,t){0===e.length?t():Promise.all(e.map(function(e){return null==e?void 0:e.finished})).then(t)}function c(e,t){"update"in e?e.update(t):e.attr(t)}function u(e,t,n){return 0===t.length?null:n?e.animate(t,n):(c(e,{style:t.slice(-1)[0]}),null)}function d(e,t,n,i){if(void 0===i&&(i="destroy"),"text"===e.nodeName&&"text"===t.nodeName&&e.attributes.text===t.attributes.text&&1)return e.remove(),[null];var o=function(){"destroy"===i?e.destroy():"hide"===i&&(0,a.jD)(e),t.isVisible()&&(0,a.WU)(t)};if(!n)return o(),[null];var l=n.duration,c=void 0===l?0:l,u=n.delay,d=void 0===u?0:u,h=Math.ceil(c/2),p=c/4,f=(0,r.zs)(e.getGeometryBounds().center,2),g=f[0],m=f[1],b=(0,r.zs)(t.getGeometryBounds().center,2),y=b[0],v=b[1],E=(0,r.zs)([(g+y)/2-g,(m+v)/2-m],2),_=E[0],x=E[1],A=e.style.opacity,S=t.style.opacity,w=e.style.transform||"",O=t.style.transform||"",C=e.animate([{opacity:void 0===A?1:A,transform:"translate(0, 0) ".concat(w)},{opacity:0,transform:"translate(".concat(_,", ").concat(x,") ").concat(w)}],(0,r.Cl)((0,r.Cl)({fill:"both"},n),{duration:d+h+p})),k=t.animate([{opacity:0,transform:"translate(".concat(-_,", ").concat(-x,") ").concat(O),offset:.01},{opacity:void 0===S?1:S,transform:"translate(0, 0) ".concat(O)}],(0,r.Cl)((0,r.Cl)({fill:"both"},n),{duration:h+p,delay:d+h-p}));return s(k,o),[C,k]}function h(e,t,n){var a={},o={};return(Object.entries(t).forEach(function(t){var n=(0,r.zs)(t,2),s=n[0],l=n[1];if(!(0,i.A)(l)){var c=e.style[s]||e.parsedStyle[s]||0;c!==l&&(a[s]=c,o[s]=l)}}),n)?u(e,[a,o],(0,r.Cl)({fill:"both"},n)):(c(e,o),null)}},52777:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,W:()=>c});var r=n(2423),i=n(79135),a=n(38414),o=n(4292),s=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},l=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};function c(e,t,n){return s(this,void 0,void 0,function*(){let[c,u]=yield function(e,t,n){return s(this,void 0,void 0,function*(){let{library:r}=n,[i]=(0,a.t)("transform",r),{preInference:s=[],postInference:l=[]}=t,{transform:c=[]}=e,u=[o.hq,o.py,o.GW,o.zE,o.K1,o.R2,o.sd,o.PR,o.D9,o.Jt,o.bD,...s.map(i),...c.map(i),...l.map(i),o.lM],d=[],h=e;for(let e of u)[d,h]=yield e(d,h,n);return[d,h]})}(e,t,n),{encode:d,scale:h,data:p,tooltip:f,key:g}=u;if(!1===Array.isArray(p))return null;let{channels:m}=t,b=(0,r.i8)(Object.entries(d).filter(([,e])=>(0,i.sw)(e)),e=>e.map(([e,t])=>Object.assign({name:e},t)),([e])=>{var t;let n=null==(t=/([^\d]+)\d*$/.exec(e))?void 0:t[1],r=m.find(e=>e.name===n);return(null==r?void 0:r.independent)?e:n}),y=m.filter(e=>{let{name:t,required:n}=e;if(b.find(([e])=>e===t))return!0;if(n)throw Error(`Missing encoding for channel: ${t}.`);return!1}).flatMap(e=>{let{name:t,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:o}=e;return b.filter(([e])=>e.startsWith(t)).map(([e,t],s)=>{let c=t.some(e=>e.visual),u=t.some(e=>e.constant),d=h[e]||{},{independent:p=!1,key:f=r||e,type:m=u?"constant":c?"identity":n}=d,b=l(d,["independent","key","type"]),y="constant"===m;return{name:e,values:t,scaleKey:p||y?Symbol("independent"):f,scale:Object.assign(Object.assign({type:m,markKey:g,range:y?void 0:i},b),{quantitative:a,ordinal:o})}})});return[u,Object.assign(Object.assign({},t),{index:c,channels:y,tooltip:f})]})}function u(e){let[t]=(0,a.t)("encode",e);return(e,n)=>void 0===n||void 0===e?null:Object.assign(Object.assign({},n),{type:"column",value:t(n)(e),field:function(e){let{type:t,value:n}=e;return"field"===t&&"string"==typeof n?n:null}(n)})}},52922:(e,t,n)=>{"use strict";n.d(t,{o2:()=>o,JC:()=>a,Ay:()=>i});var r=n(1736);function i(e,...t){if("function"!=typeof e[Symbol.iterator])throw TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&2!==n.length||t.length>1){var r;let i=Uint32Array.from(e,(e,t)=>t);return t.length>1?(t=t.map(t=>e.map(t)),i.sort((e,n)=>{for(let r of t){let t=o(r[e],r[n]);if(t)return t}})):(n=e.map(n),i.sort((e,t)=>o(n[e],n[t]))),r=e,Array.from(i,e=>r[e])}return e.sort(a(n))}function a(e=r.A){if(e===r.A)return o;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,n)=>{let r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function o(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et))}},52956:e=>{e.exports=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var t=function(e){return e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92},n=t(this._red),r=t(this._green),i=t(this._blue);return new e.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var t=this._x,n=this._y,r=this._z,i=function(e){return e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e};return new e.RGB(i(3.2404542*t+-1.5371385*n+-.4985314*r),i(-.969266*t+1.8760108*n+.041556*r),i(.0556434*t+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var t=function(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29},n=t(this._x/95.047),r=t(this._y/100),i=t(this._z/108.883);return new e.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},53023: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=[]},53168:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>eI});var i=n(34093),a=n(12556),o=n(54573);let s="phrasing",l=["autolink","link","image","label"];function c(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function u(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function h(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function p(e){this.config.exit.autolinkEmail.call(this,e)}function f(e){this.exit(e)}function g(e){(0,o.T)(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,m],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,b]],{ignore:["link","linkReference"]})}function m(e,t,n,i,a){let o="";if(!y(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),a=r(e,"("),o=r(e,")");for(;-1!==i&&a>o;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),o++;return[e,n]}(n+i);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function b(e,t,n,r){return!(!y(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function y(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.Ny)(n)||(0,a.es)(n))&&(!t||47!==n)}var v=n(33386);function E(){this.buffer()}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function x(){this.buffer()}function A(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,v.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function w(e){this.exit(e)}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,v.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function C(e){this.exit(e)}function k(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]")}function M(e,t,n){return 0===t?e:L(e,t,n)}function L(e,t,n){return(n?"":" ")+e}k.peek=function(){return"["};let I=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function N(e){this.enter({type:"delete",children:[]},e)}function R(e){this.exit(e)}function P(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function D(e){return e.length}function j(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}P.peek=function(){return"~"};var B=n(23768);function F(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function z(e){this.exit(e),this.data.inTable=void 0}function U(e){this.enter({type:"tableRow",children:[]},e)}function H(e){this.exit(e)}function G(e){this.enter({type:"tableCell",children:[]},e)}function $(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,W));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function W(e,t){return"|"===t?t:e}function V(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function q(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++a0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}ei[43]=er,ei[45]=er,ei[46]=er,ei[95]=er,ei[72]=[er,en],ei[104]=[er,en],ei[87]=[er,et],ei[119]=[er,et];var ed=n(95333),eh=n(94581);let ep={tokenize:function(e,t,n){let r=this;return(0,eh.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ef(e,t,n){let r,i=this,a=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let s=(0,v.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function eg(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function em(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,a.Ee)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.Ee)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eb(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.B)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return(0,a.Ee)(t)||(i=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eh.N)(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function ey(e,t,n){return e.check(ed.B,t,e.attempt(ep,t,n))}function ev(e){e.exit("gfmFootnoteDefinition")}var eE=n(11603),e_=n(49535),ex=n(91877);class eA{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function eS(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?v:l;return a===v&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),c(n)}function c(t){return null===t?n(t):(0,a.HP)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):(0,a.On)(t)?(0,eh.N)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.On)(t))?(0,eh.N)(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,a.On)(t)?(0,eh.N)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,a.HP)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,a.On)(t)?(0,eh.N)(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return p(i);if(null===i||(0,a.HP)(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function v(t){return e.enter("tableRow"),E(t)}function E(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),E):null===n||(0,a.HP)(n)?(e.exit("tableRow"),t(n)):(0,a.On)(n)?(0,eh.N)(e,E,"whitespace")(n):(e.enter("data"),_(n))}function _(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),E(t)):(e.consume(t),92===t?x:_)}function x(t){return 92===t||124===t?(e.consume(t),_):_(t)}}function ew(e,t){let n,r,i,a=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new eA;for(;++an[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},eC(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function eO(e,t,n,r,i){let a=[],o=eC(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function eC(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let ek={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,a.HP)(r)?t(r):(0,a.On)(r)?e.check({tokenize:eM},t,n)(r):n(r)}}};function eM(e,t,n){return(0,eh.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eL={};function eI(e){let t,n=e||eL,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push((0,Z.y)([{text:ei},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eb,continuation:{tokenize:ey},exit:ev}},text:{91:{name:"gfmFootnoteCall",tokenize:em},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ef,resolveTo:eg}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,a=this.events,o=0;return function(s){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function a(s){let l=(0,e_.S)(i);if(126===s)return o>1?r(s):(e.consume(s),o++,a);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,e_.S)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n0&&(a.shift(4),o+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?L:M))),s(),o},footnoteReference:k},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:I}],handlers:{delete:P}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=B.p.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("table");for(;++ic&&(c=e[u].length);++al[a])&&(l[a]=e)}t.push(o)}o[u]=t,s[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++hl[h]&&(l[h]=i),f[h]=i),p[h]=o}o.splice(1,0,p),s.splice(1,0,f),u=-1;let g=[];for(;++ut?1:er(t,n.left.key)){var l=n.left;if(n.left=l.right,l.right=n,null===(n=l).left)break}o.left=n,o=n,n=n.left}else if(s>0){if(null===n.right)break;if(r(t,n.right.key)>0){var l=n.right;if(n.right=l.left,l.left=n,null===(n=l).right)break}a.right=n,a=n,n=n.right}else break}return a.right=n.left,o.left=n.right,n.left=i.right,n.right=i.left,n}function i(t,r,i,a){var o=new e(t,r);if(null===i)return o.left=o.right=null,o;i=n(t,i,a);var s=a(t,i.key);return s<0?(o.left=i.left,o.right=i,i.left=null):s>=0&&(o.right=i.right,o.left=i,i.right=null),o}function a(e,t,r){var i=null,a=null;if(t){t=n(e,t,r);var o=r(t.key,e);0===o?(i=t.left,a=t.right):o<0?(a=t.right,t.right=null,i=t):(i=t.left,t.left=null,a=t)}return{left:i,right:a}}var o=function(){function r(e){void 0===e&&(e=t),this._root=null,this._size=0,this._comparator=e}return r.prototype.insert=function(e,t){return this._size++,this._root=i(e,t,this._root,this._comparator)},r.prototype.add=function(t,r){var i=new e(t,r);null===this._root&&(i.left=i.right=null,this._size++,this._root=i);var a=this._comparator,o=n(t,this._root,a),s=a(t,o.key);return 0===s?this._root=o:(s<0?(i.left=o.left,i.right=o,o.left=null):s>0&&(i.right=o.right,i.left=o,o.right=null),this._size++,this._root=i),this._root},r.prototype.remove=function(e){this._root=this._remove(e,this._root,this._comparator)},r.prototype._remove=function(e,t,r){var i;return null===t?null:(t=n(e,t,r),0===r(e,t.key))?(null===t.left?i=t.right:(i=n(e,t.left,r)).right=t.right,this._size--,i):t},r.prototype.pop=function(){var e=this._root;if(e){for(;e.left;)e=e.left;return this._root=n(e.key,this._root,this._comparator),this._root=this._remove(e.key,this._root,this._comparator),{key:e.key,data:e.data}}return null},r.prototype.findStatic=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(0===r)return t;t=r<0?t.left:t.right}return null},r.prototype.find=function(e){return this._root&&(this._root=n(e,this._root,this._comparator),0!==this._comparator(e,this._root.key))?null:this._root},r.prototype.contains=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(0===r)return!0;t=r<0?t.left:t.right}return!1},r.prototype.forEach=function(e,t){for(var n=this._root,r=[],i=!1;!i;)null!==n?(r.push(n),n=n.left):0!==r.length?(n=r.pop(),e.call(t,n),n=n.right):i=!0;return this},r.prototype.range=function(e,t,n,r){for(var i=[],a=this._comparator,o=this._root;0!==i.length||o;)if(o)i.push(o),o=o.left;else{if(a((o=i.pop()).key,t)>0)break;if(a(o.key,e)>=0&&n.call(r,o))return this;o=o.right}return this},r.prototype.keys=function(){var e=[];return this.forEach(function(t){var n=t.key;return e.push(n)}),e},r.prototype.values=function(){var e=[];return this.forEach(function(t){var n=t.data;return e.push(n)}),e},r.prototype.min=function(){return this._root?this.minNode(this._root).key:null},r.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},r.prototype.minNode=function(e){if(void 0===e&&(e=this._root),e)for(;e.left;)e=e.left;return e},r.prototype.maxNode=function(e){if(void 0===e&&(e=this._root),e)for(;e.right;)e=e.right;return e},r.prototype.at=function(e){for(var t=this._root,n=!1,r=0,i=[];!n;)if(t)i.push(t),t=t.left;else if(i.length>0){if(t=i.pop(),r===e)return t;r++,t=t.right}else n=!0;return null},r.prototype.next=function(e){var t=this._root,n=null;if(e.right){for(n=e.right;n.left;)n=n.left;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(0===i)break;i<0?(n=t,t=t.left):t=t.right}return n},r.prototype.prev=function(e){var t=this._root,n=null;if(null!==e.left){for(n=e.left;n.right;)n=n.right;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(0===i)break;i<0?t=t.left:(n=t,t=t.right)}return n},r.prototype.clear=function(){return this._root=null,this._size=0,this},r.prototype.toList=function(){return function(t){for(var n=t,r=[],i=!1,a=new e(null,null),o=a;!i;)n?(r.push(n),n=n.left):r.length>0?n=(n=o=o.next=r.pop()).right:i=!0;return o.next=null,a.next}(this._root)},r.prototype.load=function(t,n,r){void 0===n&&(n=[]),void 0===r&&(r=!1);var i=t.length,a=this._comparator;if(r&&function e(t,n,r,i,a){if(!(r>=i)){for(var o=t[r+i>>1],s=r-1,l=i+1;;){do s++;while(0>a(t[s],o));do l--;while(a(t[l],o)>0);if(s>=l)break;var c=t[s];t[s]=t[l],t[l]=c,c=n[s],n[s]=n[l],n[l]=c}e(t,n,r,l,a),e(t,n,l+1,i,a)}}(t,n,0,i-1,a),null===this._root)this._root=function t(n,r,i,a){var o=a-i;if(o>0){var s=i+Math.floor(o/2),l=new e(n[s],r[s]);return l.left=t(n,r,i,s),l.right=t(n,r,s+1,a),l}return null}(t,n,0,i),this._size=i;else{var o=function(t,n,r){for(var i=new e(null,null),a=i,o=t,s=n;null!==o&&null!==s;)0>r(o.key,s.key)?(a.next=o,o=o.next):(a.next=s,s=s.next),a=a.next;return null!==o?a.next=o:null!==s&&(a.next=s),i.next}(this.toList(),function(t,n){for(var r=new e(null,null),i=r,a=0;a0){var a=n+Math.floor(i/2),o=e(t,n,a),s=t.head;return s.left=o,t.head=t.head.next,s.right=e(t,a+1,r),s}return null}({head:o},0,i)}return this},r.prototype.isEmpty=function(){return null===this._root},Object.defineProperty(r.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),r.prototype.toString=function(e){void 0===e&&(e=function(e){return String(e.key)});var t=[];return!function e(t,n,r,i,a){if(t){i(""+n+(r?"└── ":"├── ")+a(t)+"\n");var o=n+(r?" ":"│ ");t.left&&e(t.left,o,!1,i,a),t.right&&e(t.right,o,!0,i,a)}}(this._root,"",!0,function(e){return t.push(e)},e),t.join("")},r.prototype.update=function(e,t,r){var o,s,l=this._comparator,c=a(e,this._root,l),u=c.left,d=c.right;0>l(e,t)?d=i(t,r,d,l):u=i(t,r,u,l),this._root=(o=u,null===(s=d)?o:(null===o||((s=n(o.key,s,l)).left=o),s))},r.prototype.split=function(e){return a(e,this._root,this._comparator)},r.prototype[Symbol.iterator]=function(){var e,t,n;return function(e,t){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){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]e.ll.x<=t.x&&t.x<=e.ur.x&&e.ll.y<=t.y&&t.y<=e.ur.y,l=(e,t)=>{if(t.ur.x{if(-cc==u>-c?(a=c,c=t[++d]):(a=u,u=r[++h]);let p=0;if(dc==u>-c?(o=c+a,s=a-(o-c),c=t[++d]):(o=u+a,s=a-(o-u),u=r[++h]),a=o,0!==s&&(i[p++]=s);dc==u>-c?(l=(o=a+c)-a,s=a-(o-l)+(c-l),c=t[++d]):(l=(o=a+u)-a,s=a-(o-l)+(u-l),u=r[++h]),a=o,0!==s&&(i[p++]=s);for(;de.x*t.y-e.y*t.x,C=(e,t)=>e.x*t.x+e.y*t.y,k=(e,t,n)=>{let r=function(e,t,n,r,i,a){let o=(t-a)*(n-i),s=(e-i)*(r-a),l=o-s,c=Math.abs(o+s);return Math.abs(l)>=y*c?l:-function(e,t,n,r,i,a,o){let s,l,c,u,d,h,p,f,b,y,O,C,k,M,L,I,N,R,P=e-i,D=n-i,j=t-a,B=r-a;M=P*B,p=(h=0x8000001*P)-(h-P),f=P-p,b=(h=0x8000001*B)-(h-B),L=f*(y=B-b)-(M-p*b-f*b-p*y),I=j*D,p=(h=0x8000001*j)-(h-j),f=j-p,b=(h=0x8000001*D)-(h-D),O=L-(N=f*(y=D-b)-(I-p*b-f*b-p*y)),d=L-O,_[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,_[1]=k-(O+d)+(d-I),d=(R=C+O)-C,_[2]=C-(R-d)+(O-d),_[3]=R;let F=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,_),z=v*o;if(F>=z||-F>=z||(d=e-P,s=e-(P+d)+(d-i),d=n-D,c=n-(D+d)+(d-i),d=t-j,l=t-(j+d)+(d-a),d=r-B,u=r-(B+d)+(d-a),0===s&&0===l&&0===c&&0===u)||(z=E*o+g*Math.abs(F),(F+=P*u+B*s-(j*c+D*l))>=z||-F>=z))return F;M=s*B,p=(h=0x8000001*s)-(h-s),f=s-p,b=(h=0x8000001*B)-(h-B),L=f*(y=B-b)-(M-p*b-f*b-p*y),I=l*D,p=(h=0x8000001*l)-(h-l),f=l-p,b=(h=0x8000001*D)-(h-D),O=L-(N=f*(y=D-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let U=m(4,_,4,w,x);M=P*u,p=(h=0x8000001*P)-(h-P),f=P-p,b=(h=0x8000001*u)-(h-u),L=f*(y=u-b)-(M-p*b-f*b-p*y),I=j*c,p=(h=0x8000001*j)-(h-j),f=j-p,b=(h=0x8000001*c)-(h-c),O=L-(N=f*(y=c-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let H=m(U,x,4,w,A);M=s*u,p=(h=0x8000001*s)-(h-s),f=s-p,b=(h=0x8000001*u)-(h-u),L=f*(y=u-b)-(M-p*b-f*b-p*y),I=l*c,p=(h=0x8000001*l)-(h-l),f=l-p,b=(h=0x8000001*c)-(h-c),O=L-(N=f*(y=c-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let G=m(H,A,4,w,S);return S[G-1]}(e,t,n,r,i,a,c)}(e.x,e.y,t.x,t.y,n.x,n.y);return r>0?-1:+(r<0)},M=e=>Math.sqrt(C(e,e)),L=(e,t,n)=>0===t.y?null:{x:e.x+t.x/t.y*(n-e.y),y:n},I=(e,t,n)=>0===t.x?null:{x:n,y:e.y+t.y/t.x*(n-e.x)};class N{static compare(e,t){let n=N.comparePoints(e.point,t.point);return 0!==n?n:(e.point!==t.point&&e.link(t),e.isLeft!==t.isLeft)?e.isLeft?1:-1:P.compare(e.segment,t.segment)}static comparePoints(e,t){return e.xt.x?1:e.yt.y)}constructor(e,t){void 0===e.events?e.events=[this]:e.events.push(this),this.point=e,this.isLeft=t}link(e){if(e.point===this.point)throw Error("Tried to link already linked events");let t=e.point.events;for(let e=0,n=t.length;e{let r=n.otherSE;t.set(n,{sine:((e,t,n)=>{let r={x:t.x-e.x,y:t.y-e.y},i={x:n.x-e.x,y:n.y-e.y};return O(i,r)/M(i)/M(r)})(this.point,e.point,r.point),cosine:((e,t,n)=>{let r={x:t.x-e.x,y:t.y-e.y},i={x:n.x-e.x,y:n.y-e.y};return C(i,r)/M(i)/M(r)})(this.point,e.point,r.point)})};return(e,r)=>{t.has(e)||n(e),t.has(r)||n(r);let{sine:i,cosine:a}=t.get(e),{sine:o,cosine:s}=t.get(r);return i>=0&&o>=0?as?-1:0:i<0&&o<0?as):oi)}}}let R=0;class P{static compare(e,t){let n=e.leftSE.point.x,r=t.leftSE.point.x,i=e.rightSE.point.x,a=t.rightSE.point.x;if(ao&&s>l)return -1;let n=e.comparePoint(t.leftSE.point);if(n<0)return 1;if(n>0)return -1;let r=t.comparePoint(e.rightSE.point);return 0!==r?r:-1}if(n>r){if(os&&o>c)return 1;let n=t.comparePoint(e.leftSE.point);if(0!==n)return n;let r=e.comparePoint(t.rightSE.point);return r<0?1:r>0?-1:1}if(os)return 1;if(ia){let n=e.comparePoint(t.rightSE.point);if(n<0)return 1;if(n>0)return -1}if(i!==a){let e=l-o,t=i-n,u=c-s,d=a-r;if(e>t&&ud)return -1}return i>a?1:ic?1:e.idt.id)}constructor(e,t,n,r){this.id=++R,this.leftSE=e,e.segment=this,e.otherSE=t,this.rightSE=t,t.segment=this,t.otherSE=e,this.rings=n,this.windings=r}static fromRing(e,t,n){let r,i,a,o=N.comparePoints(e,t);if(o<0)r=e,i=t,a=1;else if(o>0)r=t,i=e,a=-1;else throw Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);return new P(new N(r,!0),new N(i,!1),[n],[a])}replaceRightSE(e){this.rightSE=e,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){let e=this.leftSE.point.y,t=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:et?e:t}}}vector(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}isAnEndpoint(e){return e.x===this.leftSE.point.x&&e.y===this.leftSE.point.y||e.x===this.rightSE.point.x&&e.y===this.rightSE.point.y}comparePoint(e){if(this.isAnEndpoint(e))return 0;let t=this.leftSE.point,n=this.rightSE.point,r=this.vector();if(t.x===n.x)return e.x===t.x?0:e.x{if(0===t.x)return I(n,r,e.x);if(0===r.x)return I(e,t,n.x);if(0===t.y)return L(n,r,e.y);if(0===r.y)return L(e,t,n.y);let i=O(t,r);if(0==i)return null;let a={x:n.x-e.x,y:n.y-e.y},o=O(a,t)/i,s=O(a,r)/i,l=e.x+s*t.x,c=n.x+o*r.x,u=e.y+s*t.y;return{x:(l+c)/2,y:(u+(n.y+o*r.y))/2}})(i,this.vector(),o,e.vector());return null!==g&&s(r,g)?f.round(g.x,g.y):null}split(e){let t=[],n=void 0!==e.events,r=new N(e,!0),i=new N(e,!1),a=this.rightSE;this.replaceRightSE(i),t.push(i),t.push(r);let o=new P(r,a,this.rings.slice(),this.windings.slice());return N.comparePoints(o.leftSE.point,o.rightSE.point)>0&&o.swapEvents(),N.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),n&&(r.checkForConsuming(),i.checkForConsuming()),t}swapEvents(){let e=this.rightSE;this.rightSE=this.leftSE,this.leftSE=e,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let e=0,t=this.windings.length;e0){let e=t;t=n,n=e}if(t.prev===n){let e=t;t=n,n=e}for(let e=0,r=n.rings.length;e1===e.length&&e[0].isSubject;this._isInResult=n(e)!==n(t);break}default:throw Error(`Unrecognized operation type found ${V.type}`)}return this._isInResult}}class D{constructor(e,t,n){if(!Array.isArray(e)||0===e.length||(this.poly=t,this.isExterior=n,this.segments=[],"number"!=typeof e[0][0]||"number"!=typeof e[0][1]))throw Error("Input geometry is not a valid Polygon or MultiPolygon");let r=f.round(e[0][0],e[0][1]);this.bbox={ll:{x:r.x,y:r.y},ur:{x:r.x,y:r.y}};let i=r;for(let t=1,n=e.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.x),n.y>this.bbox.ur.y&&(this.bbox.ur.y=n.y),i=n)}(r.x!==i.x||r.y!==i.y)&&this.segments.push(P.fromRing(i,r,this))}getSweepEvents(){let e=[];for(let t=0,n=this.segments.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.bbox.ur.x),n.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=n.bbox.ur.y),this.interiorRings.push(n)}this.multiPoly=t}getSweepEvents(){let e=this.exteriorRing.getSweepEvents();for(let t=0,n=this.interiorRings.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.bbox.ur.x),n.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=n.bbox.ur.y),this.polys.push(n)}this.isSubject=t}getSweepEvents(){let e=[];for(let t=0,n=this.polys.length;t0&&(e=n)}let t=e.segment.prevInResult(),n=t?t.prevInResult():null;for(;;){if(!t)return null;if(!n)return t.ringOut;if(n.ringOut!==t.ringOut)if(n.ringOut.enclosingRing()!==t.ringOut)return t.ringOut;else return t.ringOut.enclosingRing();n=(t=n.prevInResult())?t.prevInResult():null}}}class z{constructor(e){this.exteriorRing=e,e.poly=this,this.interiorRings=[]}addInterior(e){this.interiorRings.push(e),e.poly=this}getGeom(){let e=[this.exteriorRing.getGeom()];if(null===e[0])return null;for(let t=0,n=this.interiorRings.length;t1&&void 0!==arguments[1]?arguments[1]:P.compare;this.queue=e,this.tree=new o(t),this.segments=[]}process(e){let t,n,r=e.segment,i=[];if(e.consumedBy)return e.isLeft?this.queue.remove(e.otherSE):this.tree.remove(r),i;let a=e.isLeft?this.tree.add(r):this.tree.find(r);if(!a)throw Error(`Unable to find segment #${r.id} [${r.leftSE.point.x}, ${r.leftSE.point.y}] -> [${r.rightSE.point.x}, ${r.rightSE.point.y}] in SweepLine tree.`);let o=a,s=a;for(;void 0===t;)null===(o=this.tree.prev(o))?t=null:void 0===o.key.consumedBy&&(t=o.key);for(;void 0===n;)null===(s=this.tree.next(s))?n=null:void 0===s.key.consumedBy&&(n=s.key);if(e.isLeft){let a=null;if(t){let e=t.getIntersection(r);if(null!==e&&(r.isAnEndpoint(e)||(a=e),!t.isAnEndpoint(e))){let n=this._splitSafely(t,e);for(let e=0,t=n.length;e=N.comparePoints(a,o)?a:o,this.queue.remove(r.rightSE),i.push(r.rightSE);let t=r.split(e);for(let e=0,n=t.length;e0?(this.tree.remove(r),i.push(e)):(this.segments.push(r),r.prev=t)}else{if(t&&n){let e=t.getIntersection(n);if(null!==e){if(!t.isAnEndpoint(e)){let n=this._splitSafely(t,e);for(let e=0,t=n.length;eG)throw Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).")}let a=new H(i),s=i.size,c=i.pop();for(;c;){let e=c.key;if(i.size===s){let t=e.segment;throw Error(`Unable to pop() ${e.isLeft?"left":"right"} SweepEvent [${e.point.x}, ${e.point.y}] from segment #${t.id} [${t.leftSE.point.x}, ${t.leftSE.point.y}] -> [${t.rightSE.point.x}, ${t.rightSE.point.y}] from queue.`)}if(i.size>G)throw Error("Infinite loop when passing sweep line over endpoints (queue size too big).");if(a.segments.length>$)throw Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");let t=a.process(e);for(let e=0,n=t.length;e1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r{"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=[]},53461:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return void 0===e}},53506:e=>{"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",i=/(?:[^\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}),a=/"(?:[^"\\\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 r}).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 r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+i+"|"+a+")"})),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(a),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"]},53709: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=[]},53867:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(89450),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},53951:e=>{"use strict";function t(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.exports=t,t.displayName="rust",t.aliases=[]},54010:(e,t,n)=>{"use strict";n.d(t,{J:()=>nq});var r=n(39249),i={line_chart:{id:"line_chart",name:"Line Chart",alias:["Lines"],family:["LineCharts"],def:"A line chart uses lines with segments to show changes in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},step_line_chart:{id:"step_line_chart",name:"Step Line Chart",alias:["Step Lines"],family:["LineCharts"],def:"A step line chart is a line chart in which points of each line are connected by horizontal and vertical line segments, looking like steps of a staircase.",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},area_chart:{id:"area_chart",name:"Area Chart",alias:[],family:["AreaCharts"],def:"An area chart uses series of line segments with overlapped areas to show the change in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_area_chart:{id:"stacked_area_chart",name:"Stacked Area Chart",alias:[],family:["AreaCharts"],def:"A stacked area chart uses layered line segments with different styles of padding regions to display how multiple sets of data change in the same ordinal dimension, and the endpoint heights of the segments on the same dimension tick are accumulated by value.",purpose:["Composition","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},percent_stacked_area_chart:{id:"percent_stacked_area_chart",name:"Percent Stacked Area Chart",alias:["Percent Stacked Area","% Stacked Area","100% Stacked Area"],family:["AreaCharts"],def:"A percent stacked area chart is an extented stacked area chart in which the height of the endpoints of the line segment on the same dimension tick is the accumulated proportion of the ratio, which is 100% of the total.",purpose:["Comparison","Composition","Proportion","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},column_chart:{id:"column_chart",name:"Column Chart",alias:["Columns"],family:["ColumnCharts"],def:"A column chart uses series of columns to display the value of the dimension. The horizontal axis shows the classification dimension and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},grouped_column_chart:{id:"grouped_column_chart",name:"Grouped Column Chart",alias:["Grouped Column"],family:["ColumnCharts"],def:"A grouped column chart uses columns of different colors to form a group to display the values of dimensions. The horizontal axis indicates the grouping of categories, the color indicates the categories, and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_column_chart:{id:"stacked_column_chart",name:"Stacked Column Chart",alias:["Stacked Column"],family:["ColumnCharts"],def:"A stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_column_chart:{id:"percent_stacked_column_chart",name:"Percent Stacked Column Chart",alias:["Percent Stacked Column","% Stacked Column","100% Stacked Column"],family:["ColumnCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},range_column_chart:{id:"range_column_chart",name:"Range Column Chart",alias:[],family:["ColumnCharts"],def:"A column chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Length"],recRate:"Recommended"},waterfall_chart:{id:"waterfall_chart",name:"Waterfall Chart",alias:["Flying Bricks Chart","Mario Chart","Bridge Chart","Cascade Chart"],family:["ColumnCharts"],def:"A waterfall chart is used to portray how an initial value is affected by a series of intermediate positive or negative values",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal","Time","Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},histogram:{id:"histogram",name:"Histogram",alias:[],family:["ColumnCharts"],def:"A histogram is an accurate representation of the distribution of numerical data.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},bar_chart:{id:"bar_chart",name:"Bar Chart",alias:["Bars"],family:["BarCharts"],def:"A bar chart uses series of bars to display the value of the dimension. The vertical axis shows the classification dimension and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},stacked_bar_chart:{id:"stacked_bar_chart",name:"Stacked Bar Chart",alias:["Stacked Bar"],family:["BarCharts"],def:"A stacked bar chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_bar_chart:{id:"percent_stacked_bar_chart",name:"Percent Stacked Bar Chart",alias:["Percent Stacked Bar","% Stacked Bar","100% Stacked Bar"],family:["BarCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},grouped_bar_chart:{id:"grouped_bar_chart",name:"Grouped Bar Chart",alias:["Grouped Bar"],family:["BarCharts"],def:"A grouped bar chart uses bars of different colors to form a group to display the values of the dimensions. The vertical axis indicates the grouping of categories, the color indicates the categories, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},range_bar_chart:{id:"range_bar_chart",name:"Range Bar Chart",alias:[],family:["BarCharts"],def:"A bar chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Length"],recRate:"Recommended"},radial_bar_chart:{id:"radial_bar_chart",name:"Radial Bar Chart",alias:["Radial Column Chart"],family:["BarCharts"],def:"A bar chart that is plotted in the polar coordinate system. The axis along radius shows the classification dimension and the angle shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color"],recRate:"Recommended"},bullet_chart:{id:"bullet_chart",name:"Bullet Chart",alias:[],family:["BarCharts"],def:"A bullet graph is a variation of a bar graph developed by Stephen Few. Seemingly inspired by the traditional thermometer charts and progress bars found in many dashboards, the bullet graph serves as a replacement for dashboard gauges and meters.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Position","Color"],recRate:"Recommended"},pie_chart:{id:"pie_chart",name:"Pie Chart",alias:["Circle Chart","Pie"],family:["PieCharts"],def:"A pie chart is a chart that the classification and proportion of data are represented by the color and arc length (angle, area) of the sector.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Area","Color"],recRate:"Use with Caution"},donut_chart:{id:"donut_chart",name:"Donut Chart",alias:["Donut","Doughnut","Doughnut Chart","Ring Chart"],family:["PieCharts"],def:"A donut chart is a variation on a Pie chart except it has a round hole in the center which makes it look like a donut.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["ArcLength"],recRate:"Recommended"},nested_pie_chart:{id:"nested_pie_chart",name:"Nested Pie Chart",alias:["Nested Circle Chart","Nested Pie","Nested Donut Chart"],family:["PieCharts"],def:"A nested pie chart is a chart that contains several donut charts, where all the donut charts share the same center in position.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]}],channel:["Angle","Area","Color","Position"],recRate:"Use with Caution"},rose_chart:{id:"rose_chart",name:"Rose Chart",alias:["Nightingale Chart","Polar Area Chart","Coxcomb Chart"],family:["PieCharts"],def:"Nightingale Rose Chart is a peculiar combination of the Radar Chart and Stacked Column Chart types of data visualization.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color","Length"],recRate:"Use with Caution"},scatter_plot:{id:"scatter_plot",name:"Scatter Plot",alias:["Scatter Chart","Scatterplot"],family:["ScatterCharts"],def:"A scatter plot is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for series of data.",purpose:["Comparison","Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},bubble_chart:{id:"bubble_chart",name:"Bubble Chart",alias:["Bubble Chart"],family:["ScatterCharts"],def:"A bubble chart is a type of chart that displays four dimensions of data with x, y positions, circle size and circle color.",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position","Size"],recRate:"Recommended"},non_ribbon_chord_diagram:{id:"non_ribbon_chord_diagram",name:"Non-Ribbon Chord Diagram",alias:[],family:["GeneralGraph"],def:"A stripped-down version of a Chord Diagram, with only the connection lines showing. This provides more emphasis on the connections within the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},arc_diagram:{id:"arc_diagram",name:"Arc Diagram",alias:[],family:["GeneralGraph"],def:"A graph where the edges are represented as arcs.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},chord_diagram:{id:"chord_diagram",name:"Chord Diagram",alias:[],family:["GeneralGraph"],def:"A graphical method of displaying the inter-relationships between data in a matrix. The data are arranged radially around a circle with the relationships between the data points typically drawn as arcs connecting the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},treemap:{id:"treemap",name:"Treemap",alias:[],family:["TreeGraph"],def:"A visual representation of a data tree with nodes. Each node is displayed as a rectangle, sized and colored according to values that you assign.",purpose:["Composition","Comparison","Hierarchy"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Area"],recRate:"Recommended"},sankey_diagram:{id:"sankey_diagram",name:"Sankey Diagram",alias:[],family:["GeneralGraph"],def:"A graph shows the flows with weights between objects.",purpose:["Flow","Trend","Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},funnel_chart:{id:"funnel_chart",name:"Funnel Chart",alias:[],family:["FunnelCharts"],def:"A funnel chart is often used to represent stages in a sales process and show the amount of potential revenue for each stage.",purpose:["Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},mirror_funnel_chart:{id:"mirror_funnel_chart",name:"Mirror Funnel Chart",alias:["Contrast Funnel Chart"],family:["FunnelCharts"],def:"A mirror funnel chart is a funnel chart divided into two series by a central axis.",purpose:["Comparison","Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length","Direction"],recRate:"Recommended"},box_plot:{id:"box_plot",name:"Box Plot",alias:["Box and Whisker Plot","boxplot"],family:["BarCharts"],def:"A box plot is often used to graphically depict groups of numerical data through their quartiles. Box plots may also have lines extending from the boxes indicating variability outside the upper and lower quartiles. Outliers may be plotted as individual points.",purpose:["Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},heatmap:{id:"heatmap",name:"Heatmap",alias:[],family:["HeatmapCharts"],def:"A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},density_heatmap:{id:"density_heatmap",name:"Density Heatmap",alias:["Heatmap"],family:["HeatmapCharts"],def:"A density heatmap is a heatmap for representing the density of dots.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]}],channel:["Color","Position","Area"],recRate:"Recommended"},radar_chart:{id:"radar_chart",name:"Radar Chart",alias:["Web Chart","Spider Chart","Star Chart","Cobweb Chart","Irregular Polygon","Kiviat diagram"],family:["RadarCharts"],def:"A radar chart maps series of data volume of multiple dimensions onto the axes. Starting at the same center point, usually ending at the edge of the circle, connecting the same set of points using lines.",purpose:["Comparison"],coord:["Radar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},wordcloud:{id:"wordcloud",name:"Word Cloud",alias:["Wordle","Tag Cloud","Text Cloud"],family:["Others"],def:"A word cloud is a collection, or cluster, of words depicted in different sizes, colors, and shapes, which takes a piece of text as input. Typically, the font size in the word cloud is encoded as the word frequency in the input text.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Diagram"],shape:["Scatter"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal"]},{minQty:0,maxQty:1,fieldConditions:["Interval"]}],channel:["Size","Position","Color"],recRate:"Recommended"},candlestick_chart:{id:"candlestick_chart",name:"Candlestick Chart",alias:["Japanese Candlestick Chart)"],family:["BarCharts"],def:"A candlestick chart is a specific version of box plot, which is a style of financial chart used to describe price movements of a security, derivative, or currency.",purpose:["Trend","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},compact_box_tree:{id:"compact_box_tree",name:"CompactBox Tree",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the nodes with same depth on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},dendrogram:{id:"dendrogram",name:"Dendrogram",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the leaves on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},indented_tree:{id:"indented_tree",name:"Indented Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout where the hierarchy of tree is represented by the horizontal indentation, and each element will occupy one row/column. It is commonly used to represent the file directory structure.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_tree:{id:"radial_tree",name:"Radial Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which places the root at the center, and the branches around the root radially.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},flow_diagram:{id:"flow_diagram",name:"Flow Diagram",alias:["Dagre Graph Layout","Dagre","Flow Chart"],family:["GeneralGraph"],def:"Directed flow graph.",purpose:["Relation","Flow"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fruchterman_layout_graph:{id:"fruchterman_layout_graph",name:"Fruchterman Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},force_directed_layout_graph:{id:"force_directed_layout_graph",name:"Force Directed Graph Layout",alias:[],family:["GeneralGraph"],def:"The classical force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fa2_layout_graph:{id:"fa2_layout_graph",name:"Force Atlas 2 Graph Layout",alias:["FA2 Layout"],family:["GeneralGraph"],def:"A type of force directed graph layout algorithm. It focuses more on the degree of the node when calculating the force than the classical force-directed algorithm .",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},mds_layout_graph:{id:"mds_layout_graph",name:"Multi-Dimensional Scaling Layout",alias:["MDS Layout"],family:["GeneralGraph"],def:"A type of dimension reduction algorithm that could be used for calculating graph layout. MDS (Multidimensional scaling) is used for project high dimensional data onto low dimensional space.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},circular_layout_graph:{id:"circular_layout_graph",name:"Circular Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes on a circle.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},spiral_layout_graph:{id:"spiral_layout_graph",name:"Spiral Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes along a spiral line.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_layout_graph:{id:"radial_layout_graph",name:"Radial Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which places a focus node on the center and the others on the concentrics centered at the focus node according to the shortest path length to the it.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},concentric_layout_graph:{id:"concentric_layout_graph",name:"Concentric Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges the nodes on concentrics.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},grid_layout_graph:{id:"grid_layout_graph",name:"Grid Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout arranges the nodes on grids.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"}};function a(e,t){return t.every(function(t){return e.includes(t)})}var o=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"],s=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function l(e,t){return t.some(function(t){return e.includes(t)})}function c(e,t){return e.distinctt.distinct?-1:0}var u={"bar-series-qty":.5,"data-check":1,"data-field-qty":1,"diff-pie-sector":.5,"landscape-or-portrait":.3,"limit-series":1,"line-field-time-ordinal":1,"no-redundant-field":1,"nominal-enum-combinatorial":1,"purpose-check":1,"series-qty-limit":.8},d=function(e,t,n,i,a,o){var s=1;return Object.values(n).filter(function(n){var o,s,l,c=(null==(o=n.option)?void 0:o.weight)||u[n.id]||1,d=null==(s=n.option)?void 0:s.extra;return n.type===i&&n.trigger((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},a),{weight:c}),d),{chartType:e,chartWIKI:t}))&&!(null==(l=n.option)?void 0:l.off)}).forEach(function(n){var l,c,d=(null==(l=n.option)?void 0:l.weight)||u[n.id]||1,h=null==(c=n.option)?void 0:c.extra,p=n.validator((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},a),{weight:d}),h),{chartType:e,chartWIKI:t})),f=d*p;s*=f,o.push({phase:"ADVISE",ruleId:n.id,score:f,base:p,weight:d,ruleType:i})}),s},h=["pie_chart","donut_chart"],p=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function f(e){var t=e.chartType,n=e.dataProps,r=e.preferences;return!!(n&&t&&r&&r.canvasLayout)}var g=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],m=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function b(e){return e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])})}var y=["pie_chart","donut_chart","radar_chart","rose_chart"],v=n(40054);function E(e){return"number"==typeof e}function _(e){return"string"==typeof e||"boolean"==typeof e}function x(e){return e instanceof Date}function A(e){var t=e.encode,n=e.data,i=e.scale,a=(0,v.mapValues)(t,function(e,t){return{field:e,type:function(e,t,n){if(void 0!==n)switch(n){case"linear":case"log":case"pow":case"sqrt":case"qunatile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(n,"."))}var r=function(e,t){return"function"==typeof t?e.map(t):"string"==typeof t&&e.some(function(e){return void 0!==e[t]})?e.map(function(e){return e[t]}):e.map(function(){return t})}(e,t);if(r.some(E))return"quantitative";if(r.some(_))return"categorical";if(r.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof r[0]))}(n,e,null==i?void 0:i[t].type)}});return(0,r.Cl)((0,r.Cl)({},e),{encode:a})}var S=["line_chart"];(0,r.fX)((0,r.fX)([],(0,r.zs)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.zs)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var w={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){t=1;var a=i[r].dataPres||[];a.forEach(function(e){!function(e,t){var n=t.map(function(e){return e.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(t){t&&l(t,e.fieldConditions)&&(r+=1)}),r>=e.minQty&&(r<=e.maxQty||"*"===e.maxQty))return!0}return!1}(e,n)&&(t=0)}),n.map(function(e){return e.levelOfMeasurements}).forEach(function(e){var n=!1;a.forEach(function(t){e&&l(e,t.fieldConditions)&&(n=!0)}),n||(t=0)})}return t}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){t=1;var a=(i[r].dataPres||[]).map(function(e){return e.minQty}).reduce(function(e,t){return e+t});n.length&&n.length>=a&&(t=1)}return t}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(e){return"*"===e.maxQty?99:e.maxQty}).reduce(function(e,t){return e+t});n.length&&n.length<=a&&(t=1)}return t}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(e){var t=0,n=e.chartType,r=e.purpose,i=e.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(t=1),t):t=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(e){var t=e.chartType;return o.includes(t)},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n&&r){var i=n.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(t=20/o)}return t<.1?.1:t}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(e){var t=e.chartType;return h.includes(t)},validator:function(e){var t=1,n=e.dataProps;if(n){var r=n.find(function(e){return a(e.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(e){return e*i}).reduce(function(e,t){return e*t}),s=r.rawData.length,l=Math.pow(1/s,s);t=Math.abs(l-Math.abs(o))/l*2}}return t<.1?.1:t}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(e){return p.includes(e.chartType)&&f(e)},validator:function(e){var t=1,n=e.chartType,r=e.preferences;return f(e)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?t=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(t=5)),t}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(e){return e.dataProps.filter(function(e){return l(e.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n){var i=n.filter(function(e){return l(e.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(t=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?t=5:"heatmap"===r&&(t=1))}}return t}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(e){var t=e.chartType;return g.includes(t)},validator:function(e){var t=1,n=e.dataProps;return n&&n.find(function(e){return l(e.levelOfMeasurements,["Ordinal","Time"])})&&(t=5),t}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(e){var t=e.chartType,n=e.dataProps;return m.includes(t)&&b(n).length>=2},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n){var i=b(n);if(i.length>=2){var a=i.sort(c),o=a[0],s=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(t=5),o.count&&o.distinct&&s.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(t=5)}}return t}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(e){var t=e.chartType;return y.includes(t)},validator:function(e){var t=1,n=e.dataProps,r=e.chartType,i=e.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),s=o&&o.count?o.count:0;s>=2&&s<=i&&(t=5+2/s)}return t}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(e){var t=e.chartType;return S.includes(t)},optimizer:function(e,t){var n,r=A(t).encode;if(r&&(null==(n=r.y)?void 0:n.type)==="quantitative"){var i=e.find(function(e){var t;return e.name===(null==(t=r.y)?void 0:t.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(e){var t=e.chartType;return s.includes(t)},optimizer:function(e,t){var n,r,i=t.scale;if(!i)return{};var a=null==(n=i.x)?void 0:n.domainMin,o=null==(r=i.y)?void 0:r.domainMin;if(a||o){var s=JSON.parse(JSON.stringify(i));return a&&(s.x.domainMin=0),o&&(s.y.domainMin=0),{scale:s}}return{}}}},O=Object.keys(w),C=function(e){var t={};return e.forEach(function(e){Object.keys(w).includes(e)&&(t[e]=w[e])}),t},k=function(e){if(!e)return C(O);var t=C(O);if(e.exclude&&e.exclude.forEach(function(e){Object.keys(t).includes(e)&&delete t[e]}),e.include){var n=e.include;Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]})}var i=(0,r.Cl)((0,r.Cl)({},t),e.custom),a=e.options;return a&&Object.keys(a).forEach(function(e){if(Object.keys(i).includes(e)){var t=a[e];i[e]=(0,r.Cl)((0,r.Cl)({},i[e]),{option:t})}}),i},M=n(78732),L=function(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e)){t=[];for(var t,n=0,r=e.length;nU(H(t,e),n),P=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let t=0;t<=3;t++)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]=R(e[t],0,255)):3===t&&(e[t]=R(e[t],0,1));return e},D={};for(let e of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])D[`[object ${e}]`]=e.toLowerCase();function j(e){return D[Object.prototype.toString.call(e)]||"object"}let B=(e,t=null)=>e.length>=3?Array.prototype.slice.call(e):"object"==j(e[0])&&t?t.split("").filter(t=>void 0!==e[0][t]).map(t=>e[0][t]):e[0],F=e=>{if(e.length<2)return null;let t=e.length-1;return"string"==j(e[t])?e[t].toLowerCase():null},{PI:z,min:U,max:H}=Math,G=2*z,$=z/3,W=z/180,V=180/z,q={format:{},autodetect:[]};class Y{constructor(...e){if("object"===j(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];let t=F(e),n=!1;if(!t){for(let r of(n=!0,q.sorted||(q.autodetect=q.autodetect.sort((e,t)=>t.p-e.p),q.sorted=!0),q.autodetect))if(t=r.test(...e))break}if(q.format[t]){let r=q.format[t].apply(null,n?e:e.slice(0,-1));this._rgb=P(r)}else throw Error("unknown format: "+e);3===this._rgb.length&&this._rgb.push(1)}toString(){return"function"==j(this.hex)?this.hex():`[${this._rgb.join(",")}]`}}let Z=(...e)=>new Z.Color(...e);Z.Color=Y,Z.version="2.6.0";let{max:X}=Math;Y.prototype.cmyk=function(){return((...e)=>{let[t,n,r]=B(e,"rgb"),i=1-X(t/=255,X(n/=255,r/=255)),a=i<1?1/(1-i):0;return[(1-t-i)*a,(1-n-i)*a,(1-r-i)*a,i]})(this._rgb)},Z.cmyk=(...e)=>new Y(...e,"cmyk"),q.format.cmyk=(...e)=>{let[t,n,r,i]=e=B(e,"cmyk"),a=e.length>4?e[4]:1;return 1===i?[0,0,0,a]:[t>=1?0:255*(1-t)*(1-i),n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),a]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"cmyk"))&&4===e.length)return"cmyk"}});let K=e=>Math.round(100*e)/100,Q=(...e)=>{let t,n,[r,i,a]=e=B(e,"rgba"),o=U(r/=255,i/=255,a/=255),s=H(r,i,a),l=(s+o)/2;return(s===o?(t=0,n=NaN):t=l<.5?(s-o)/(s+o):(s-o)/(2-s-o),r==s?n=(i-a)/(s-o):i==s?n=2+(a-r)/(s-o):a==s&&(n=4+(r-i)/(s-o)),(n*=60)<0&&(n+=360),e.length>3&&void 0!==e[3])?[n,t,l,e[3]]:[n,t,l]},{round:J}=Math,{round:ee}=Math,et=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsl");if(0===a)t=n=r=255*o;else{let e=[0,0,0],s=[0,0,0],l=o<.5?o*(1+a):o+a-o*a,c=2*o-l,u=i/360;e[0]=u+1/3,e[1]=u,e[2]=u-1/3;for(let t=0;t<3;t++)e[t]<0&&(e[t]+=1),e[t]>1&&(e[t]-=1),6*e[t]<1?s[t]=c+(l-c)*6*e[t]:2*e[t]<1?s[t]=l:3*e[t]<2?s[t]=c+(l-c)*(2/3-e[t])*6:s[t]=c;[t,n,r]=[ee(255*s[0]),ee(255*s[1]),ee(255*s[2])]}return e.length>3?[t,n,r,e[3]]:[t,n,r,1]},en=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,er=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,ei=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ea=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,eo=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,es=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:el}=Math,ec=e=>{let t;if(e=e.toLowerCase().trim(),q.format.named)try{return q.format.named(e)}catch(e){}if(t=e.match(en)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=+e[t];return e[3]=1,e}if(t=e.match(er)){let e=t.slice(1,5);for(let t=0;t<4;t++)e[t]=+e[t];return e}if(t=e.match(ei)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=el(2.55*e[t]);return e[3]=1,e}if(t=e.match(ea)){let e=t.slice(1,5);for(let t=0;t<3;t++)e[t]=el(2.55*e[t]);return e[3]=+e[3],e}if(t=e.match(eo)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=et(e);return n[3]=1,n}if(t=e.match(es)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=et(e);return n[3]=+t[4],n}};ec.test=e=>en.test(e)||er.test(e)||ei.test(e)||ea.test(e)||eo.test(e)||es.test(e),Y.prototype.css=function(e){return((...e)=>{let t=B(e,"rgba"),n=F(e)||"rgb";return"hsl"==n.substr(0,3)?((...e)=>{let t=B(e,"hsla"),n=F(e)||"lsa";return t[0]=K(t[0]||0),t[1]=K(100*t[1])+"%",t[2]=K(100*t[2])+"%","hsla"===n||t.length>3&&t[3]<1?(t[3]=t.length>3?t[3]:1,n="hsla"):t.length=3,`${n}(${t.join(",")})`})(Q(t),n):(t[0]=J(t[0]),t[1]=J(t[1]),t[2]=J(t[2]),("rgba"===n||t.length>3&&t[3]<1)&&(t[3]=t.length>3?t[3]:1,n="rgba"),`${n}(${t.slice(0,"rgb"===n?3:4).join(",")})`)})(this._rgb,e)},Z.css=(...e)=>new Y(...e,"css"),q.format.css=ec,q.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&ec.test(e))return"css"}}),q.format.gl=(...e)=>{let t=B(e,"rgba");return t[0]*=255,t[1]*=255,t[2]*=255,t},Z.gl=(...e)=>new Y(...e,"gl"),Y.prototype.gl=function(){let e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};let{floor:eu}=Math;Y.prototype.hcg=function(){return((...e)=>{let t,[n,r,i]=B(e,"rgb"),a=U(n,r,i),o=H(n,r,i),s=o-a;return 0===s?t=NaN:(n===o&&(t=(r-i)/s),r===o&&(t=2+(i-n)/s),i===o&&(t=4+(n-r)/s),(t*=60)<0&&(t+=360)),[t,100*s/255,a/(255-s)*100]})(this._rgb)},Z.hcg=(...e)=>new Y(...e,"hcg"),q.format.hcg=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hcg");o*=255;let s=255*a;if(0===a)t=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360);let e=eu(i/=60),l=i-e,c=o*(1-a),u=c+s*(1-l),d=c+s*l,h=c+s;switch(e){case 0:[t,n,r]=[h,d,c];break;case 1:[t,n,r]=[u,h,c];break;case 2:[t,n,r]=[c,h,d];break;case 3:[t,n,r]=[c,u,h];break;case 4:[t,n,r]=[d,c,h];break;case 5:[t,n,r]=[h,c,u]}}return[t,n,r,e.length>3?e[3]:1]},q.autodetect.push({p:1,test:(...e)=>{if("array"===j(e=B(e,"hcg"))&&3===e.length)return"hcg"}});let ed=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,eh=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,ep=e=>{if(e.match(ed)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(eh)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16),n=Math.round((255&t)/255*100)/100;return[t>>24&255,t>>16&255,t>>8&255,n]}throw Error(`unknown hex color: ${e}`)},{round:ef}=Math,eg=(...e)=>{let[t,n,r,i]=B(e,"rgba"),a=F(e)||"auto";void 0===i&&(i=1),"auto"===a&&(a=i<1?"rgba":"rgb"),t=ef(t);let o="000000"+(t<<16|(n=ef(n))<<8|(r=ef(r))).toString(16);o=o.substr(o.length-6);let s="0"+ef(255*i).toString(16);switch(s=s.substr(s.length-2),a.toLowerCase()){case"rgba":return`#${o}${s}`;case"argb":return`#${s}${o}`;default:return`#${o}`}};Y.prototype.hex=function(e){return eg(this._rgb,e)},Z.hex=(...e)=>new Y(...e,"hex"),q.format.hex=ep,q.autodetect.push({p:4,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});let{cos:em}=Math,{min:eb,sqrt:ey,acos:ev}=Math;Y.prototype.hsi=function(){return((...e)=>{let t,[n,r,i]=B(e,"rgb"),a=eb(n/=255,r/=255,i/=255),o=(n+r+i)/3,s=o>0?1-a/o:0;return 0===s?t=NaN:(t=ev(t=(n-r+(n-i))/2/ey((n-r)*(n-r)+(n-i)*(r-i))),i>r&&(t=G-t),t/=G),[360*t,s,o]})(this._rgb)},Z.hsi=(...e)=>new Y(...e,"hsi"),q.format.hsi=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsi");return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?n=1-((r=(1-a)/3)+(t=(1+a*em(G*i)/em($-G*i))/3)):i<2/3?(i-=1/3,r=1-((t=(1-a)/3)+(n=(1+a*em(G*i)/em($-G*i))/3))):(i-=2/3,t=1-((n=(1-a)/3)+(r=(1+a*em(G*i)/em($-G*i))/3))),t=R(o*t*3),[255*t,255*(n=R(o*n*3)),255*(r=R(o*r*3)),e.length>3?e[3]:1]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsi"))&&3===e.length)return"hsi"}}),Y.prototype.hsl=function(){return Q(this._rgb)},Z.hsl=(...e)=>new Y(...e,"hsl"),q.format.hsl=et,q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsl"))&&3===e.length)return"hsl"}});let{floor:eE}=Math,{min:e_,max:ex}=Math;Y.prototype.hsv=function(){return((...e)=>{let t,n,[r,i,a]=e=B(e,"rgb"),o=e_(r,i,a),s=ex(r,i,a),l=s-o;return 0===s?(t=NaN,n=0):(n=l/s,r===s&&(t=(i-a)/l),i===s&&(t=2+(a-r)/l),a===s&&(t=4+(r-i)/l),(t*=60)<0&&(t+=360)),[t,n,s/255]})(this._rgb)},Z.hsv=(...e)=>new Y(...e,"hsv"),q.format.hsv=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsv");if(o*=255,0===a)t=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360);let e=eE(i/=60),s=i-e,l=o*(1-a),c=o*(1-a*s),u=o*(1-a*(1-s));switch(e){case 0:[t,n,r]=[o,u,l];break;case 1:[t,n,r]=[c,o,l];break;case 2:[t,n,r]=[l,o,u];break;case 3:[t,n,r]=[l,c,o];break;case 4:[t,n,r]=[u,l,o];break;case 5:[t,n,r]=[o,l,c]}}return[t,n,r,e.length>3?e[3]:1]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsv"))&&3===e.length)return"hsv"}});let eA={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},{pow:eS}=Math,ew=e=>255*(e<=.00304?12.92*e:1.055*eS(e,1/2.4)-.055),eT=e=>e>eA.t1?e*e*e:eA.t2*(e-eA.t0),eO=(...e)=>{let t,n,r,i,[a,o,s]=e=B(e,"lab");return n=(a+16)/116,t=isNaN(o)?n:n+o/500,r=isNaN(s)?n:n-s/200,n=eA.Yn*eT(n),i=ew(3.2404542*(t=eA.Xn*eT(t))-1.5371385*n-.4985314*(r=eA.Zn*eT(r))),[i,ew(-.969266*t+1.8760108*n+.041556*r),ew(.0556434*t-.2040259*n+1.0572252*r),e.length>3?e[3]:1]},{pow:eC}=Math,ek=e=>(e/=255)<=.04045?e/12.92:eC((e+.055)/1.055,2.4),eM=e=>e>eA.t3?eC(e,1/3):e/eA.t2+eA.t0,eL=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=((e,t,n)=>{e=ek(e);let r=eM((.4124564*e+.3575761*(t=ek(t))+.1804375*(n=ek(n)))/eA.Xn);return[r,eM((.2126729*e+.7151522*t+.072175*n)/eA.Yn),eM((.0193339*e+.119192*t+.9503041*n)/eA.Zn)]})(t,n,r),s=116*a-16;return[s<0?0:s,500*(i-a),200*(a-o)]};Y.prototype.lab=function(){return eL(this._rgb)},Z.lab=(...e)=>new Y(...e,"lab"),q.format.lab=eO,q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"lab"))&&3===e.length)return"lab"}});let{sin:eI,cos:eN}=Math,eR=(...e)=>{let[t,n,r]=B(e,"lch");return isNaN(r)&&(r=0),[t,eN(r*=W)*n,eI(r)*n]},eP=(...e)=>{let[t,n,r]=e=B(e,"lch"),[i,a,o]=eR(t,n,r),[s,l,c]=eO(i,a,o);return[s,l,c,e.length>3?e[3]:1]},{sqrt:eD,atan2:ej,round:eB}=Math,eF=(...e)=>{let[t,n,r]=B(e,"lab"),i=eD(n*n+r*r),a=(ej(r,n)*V+360)%360;return 0===eB(1e4*i)&&(a=NaN),[t,i,a]},ez=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=eL(t,n,r);return eF(i,a,o)};Y.prototype.lch=function(){return ez(this._rgb)},Y.prototype.hcl=function(){return ez(this._rgb).reverse()},Z.lch=(...e)=>new Y(...e,"lch"),Z.hcl=(...e)=>new Y(...e,"hcl"),q.format.lch=eP,q.format.hcl=(...e)=>eP(...B(e,"hcl").reverse()),["lch","hcl"].forEach(e=>q.autodetect.push({p:2,test:(...t)=>{if("array"===j(t=B(t,e))&&3===t.length)return e}}));let eU={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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"};Y.prototype.name=function(){let e=eg(this._rgb,"rgb");for(let t of Object.keys(eU))if(eU[t]===e)return t.toLowerCase();return e},q.format.named=e=>{if(eU[e=e.toLowerCase()])return ep(eU[e]);throw Error("unknown color name: "+e)},q.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&eU[e.toLowerCase()])return"named"}}),Y.prototype.num=function(){return((...e)=>{let[t,n,r]=B(e,"rgb");return(t<<16)+(n<<8)+r})(this._rgb)},Z.num=(...e)=>new Y(...e,"num"),q.format.num=e=>{if("number"==j(e)&&e>=0&&e<=0xffffff)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},q.autodetect.push({p:5,test:(...e)=>{if(1===e.length&&"number"===j(e[0])&&e[0]>=0&&e[0]<=0xffffff)return"num"}});let{round:eH}=Math;Y.prototype.rgb=function(e=!0){return!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(eH)},Y.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((t,n)=>n<3?!1===e?t:eH(t):t)},Z.rgb=(...e)=>new Y(...e,"rgb"),q.format.rgb=(...e)=>{let t=B(e,"rgba");return void 0===t[3]&&(t[3]=1),t},q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"rgba"))&&(3===e.length||4===e.length&&"number"==j(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});let{log:eG}=Math,e$=e=>{let t,n,r,i=e/100;return i<66?(t=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*eG(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*eG(r)):(t=351.97690566805693+.114206453784165*(t=i-55)-40.25366309332127*eG(t),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*eG(n),r=255),[t,n,r,1]},{round:eW}=Math;Y.prototype.temp=Y.prototype.kelvin=Y.prototype.temperature=function(){return((...e)=>{let t,n=B(e,"rgb"),r=n[0],i=n[2],a=1e3,o=4e4;for(;o-a>.4;){let e=e$(t=(o+a)*.5);e[2]/e[0]>=i/r?o=t:a=t}return eW(t)})(this._rgb)},Z.temp=Z.kelvin=Z.temperature=(...e)=>new Y(...e,"temp"),q.format.temp=q.format.kelvin=q.format.temperature=e$;let{pow:eV,sign:eq}=Math,eY=(...e)=>{let[t,n,r]=e=B(e,"lab"),i=eV(t+.3963377774*n+.2158037573*r,3),a=eV(t-.1055613458*n-.0638541728*r,3),o=eV(t-.0894841775*n-1.291485548*r,3);return[255*eZ(4.0767416621*i-3.3077115913*a+.2309699292*o),255*eZ(-1.2684380046*i+2.6097574011*a-.3413193965*o),255*eZ(-.0041960863*i-.7034186147*a+1.707614701*o),e.length>3?e[3]:1]};function eZ(e){let t=Math.abs(e);return t>.0031308?(eq(e)||1)*(1.055*eV(t,1/2.4)-.055):12.92*e}let{cbrt:eX,pow:eK,sign:eQ}=Math,eJ=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=[e0(t/255),e0(n/255),e0(r/255)],s=eX(.4122214708*i+.5363325363*a+.0514459929*o),l=eX(.2119034982*i+.6806995451*a+.1073969566*o),c=eX(.0883024619*i+.2817188376*a+.6299787005*o);return[.2104542553*s+.793617785*l-.0040720468*c,1.9779984951*s-2.428592205*l+.4505937099*c,.0259040371*s+.7827717662*l-.808675766*c]};function e0(e){let t=Math.abs(e);return t<.04045?e/12.92:(eQ(e)||1)*eK((t+.055)/1.055,2.4)}Y.prototype.oklab=function(){return eJ(this._rgb)},Z.oklab=(...e)=>new Y(...e,"oklab"),q.format.oklab=eY,q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"oklab"))&&3===e.length)return"oklab"}}),Y.prototype.oklch=function(){return((...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=eJ(t,n,r);return eF(i,a,o)})(this._rgb)},Z.oklch=(...e)=>new Y(...e,"oklch"),q.format.oklch=(...e)=>{let[t,n,r]=e=B(e,"lch"),[i,a,o]=eR(t,n,r),[s,l,c]=eY(i,a,o);return[s,l,c,e.length>3?e[3]:1]},q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"oklch"))&&3===e.length)return"oklch"}}),Y.prototype.alpha=function(e,t=!1){return void 0!==e&&"number"===j(e)?t?(this._rgb[3]=e,this):new Y([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},Y.prototype.clipped=function(){return this._rgb._clipped||!1},Y.prototype.darken=function(e=1){let t=this.lab();return t[0]-=eA.Kn*e,new Y(t,"lab").alpha(this.alpha(),!0)},Y.prototype.brighten=function(e=1){return this.darken(-e)},Y.prototype.darker=Y.prototype.darken,Y.prototype.brighter=Y.prototype.brighten,Y.prototype.get=function(e){let[t,n]=e.split("."),r=this[t]();if(!n)return r;{let e=t.indexOf(n)-2*("ok"===t.substr(0,2));if(e>-1)return r[e];throw Error(`unknown channel ${n} in mode ${t}`)}};let{pow:e1}=Math;Y.prototype.luminance=function(e,t="rgb"){if(void 0!==e&&"number"===j(e)){if(0===e)return new Y([0,0,0,this._rgb[3]],"rgb");if(1===e)return new Y([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),r=20,i=(n,a)=>{let o=n.interpolate(a,.5,t),s=o.luminance();return!(1e-7>Math.abs(e-s))&&r--?s>e?i(n,o):i(o,a):o},a=(n>e?i(new Y([0,0,0]),this):i(this,new Y([255,255,255]))).rgb();return new Y([...a,this._rgb[3]])}return e2(...this._rgb.slice(0,3))};let e2=(e,t,n)=>(e=e3(e),.2126*e+.7152*(t=e3(t))+.0722*(n=e3(n))),e3=e=>(e/=255)<=.03928?e/12.92:e1((e+.055)/1.055,2.4),e5={},e4=(e,t,n=.5,...r)=>{let i=r[0]||"lrgb";if(e5[i]||r.length||(i=Object.keys(e5)[0]),!e5[i])throw Error(`interpolation mode ${i} is not defined`);return"object"!==j(e)&&(e=new Y(e)),"object"!==j(t)&&(t=new Y(t)),e5[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};Y.prototype.mix=Y.prototype.interpolate=function(e,t=.5,...n){return e4(this,e,t,...n)},Y.prototype.premultiply=function(e=!1){let t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new Y([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},Y.prototype.saturate=function(e=1){let t=this.lch();return t[1]+=eA.Kn*e,t[1]<0&&(t[1]=0),new Y(t,"lch").alpha(this.alpha(),!0)},Y.prototype.desaturate=function(e=1){return this.saturate(-e)},Y.prototype.set=function(e,t,n=!1){let[r,i]=e.split("."),a=this[r]();if(!i)return a;{let e=r.indexOf(i)-2*("ok"===r.substr(0,2));if(e>-1){if("string"==j(t))switch(t.charAt(0)){case"+":case"-":a[e]+=+t;break;case"*":a[e]*=t.substr(1);break;case"/":a[e]/=t.substr(1);break;default:a[e]=+t}else if("number"===j(t))a[e]=t;else throw Error("unsupported value for Color.set");let i=new Y(a,r);if(n)return this._rgb=i._rgb,this;return i}throw Error(`unknown channel ${i} in mode ${r}`)}},Y.prototype.tint=function(e=.5,...t){return e4(this,"white",e,...t)},Y.prototype.shade=function(e=.5,...t){return e4(this,"black",e,...t)},e5.rgb=(e,t,n)=>{let r=e._rgb,i=t._rgb;return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};let{sqrt:e6,pow:e8}=Math;e5.lrgb=(e,t,n)=>{let[r,i,a]=e._rgb,[o,s,l]=t._rgb;return new Y(e6(e8(r,2)*(1-n)+e8(o,2)*n),e6(e8(i,2)*(1-n)+e8(s,2)*n),e6(e8(a,2)*(1-n)+e8(l,2)*n),"rgb")},e5.lab=(e,t,n)=>{let r=e.lab(),i=t.lab();return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};let e7=(e,t,n,r)=>{let i,a,o,s,l,c,u,d,h,p,f,g;return"hsl"===r?(i=e.hsl(),a=t.hsl()):"hsv"===r?(i=e.hsv(),a=t.hsv()):"hcg"===r?(i=e.hcg(),a=t.hcg()):"hsi"===r?(i=e.hsi(),a=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",i=e.hcl(),a=t.hcl()):"oklch"===r&&(i=e.oklch().reverse(),a=t.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&([o,l,u]=i,[s,c,d]=a),isNaN(o)||isNaN(s)?isNaN(o)?isNaN(s)?p=NaN:(p=s,(1==u||0==u)&&"hsv"!=r&&(h=c)):(p=o,(1==d||0==d)&&"hsv"!=r&&(h=l)):(g=s>o&&s-o>180?s-(o+360):s180?s+360-o:s-o,p=o+n*g),void 0===h&&(h=l+n*(c-l)),f=u+n*(d-u),"oklch"===r?new Y([f,h,p],r):new Y([p,h,f],r)},e9=(e,t,n)=>e7(e,t,n,"lch");e5.lch=e9,e5.hcl=e9,e5.num=(e,t,n)=>{let r=e.num();return new Y(r+n*(t.num()-r),"num")},e5.hcg=(e,t,n)=>e7(e,t,n,"hcg"),e5.hsi=(e,t,n)=>e7(e,t,n,"hsi"),e5.hsl=(e,t,n)=>e7(e,t,n,"hsl"),e5.hsv=(e,t,n)=>e7(e,t,n,"hsv"),e5.oklab=(e,t,n)=>{let r=e.oklab(),i=t.oklab();return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},e5.oklch=(e,t,n)=>e7(e,t,n,"oklch");let{pow:te,sqrt:tt,PI:tn,cos:tr,sin:ti,atan2:ta}=Math,{pow:to}=Math;function ts(e){let t="rgb",n=Z("#ccc"),r=0,i=[0,1],a=[],o=[0,0],s=!1,l=[],c=!1,u=0,d=1,h=!1,p={},f=!0,g=1,m=function(e){if("string"===j(e=e||["#fff","#000"])&&Z.brewer&&Z.brewer[e.toLowerCase()]&&(e=Z.brewer[e.toLowerCase()]),"array"===j(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(let t=0;t=s[n];)n++;return n-1}return 0},y=e=>e,v=e=>e,E=function(e,r){let i,c;if(null==r&&(r=!1),isNaN(e)||null===e)return n;c=r?e:s&&s.length>2?b(e)/(s.length-2):d!==u?(e-u)/(d-u):1,c=v(c),r||(c=y(c)),1!==g&&(c=to(c,g));let h=Math.floor(1e4*(c=R(c=o[0]+c*(1-o[0]-o[1]),0,1)));if(f&&p[h])i=p[h];else{if("array"===j(l))for(let e=0;e=n&&e===a.length-1){i=l[e];break}if(c>n&&cp={};m(e);let x=function(e){let t=Z(E(e));return c&&t[c]?t[c]():t};return x.classes=function(e){if(null!=e){if("array"===j(e))s=e,i=[e[0],e[e.length-1]];else{let t=Z.analyze(i);s=0===e?[t.min,t.max]:Z.limits(t,"e",e)}return x}return s},x.domain=function(e){if(!arguments.length)return i;u=e[0],d=e[e.length-1],a=[];let t=l.length;if(e.length===t&&u!==d)for(let t of Array.from(e))a.push((t-u)/(d-u));else{for(let e=0;e2){let t=e.map((t,n)=>n/(e.length-1)),n=e.map(e=>(e-u)/(d-u));n.every((e,n)=>t[n]===e)||(v=e=>{if(e<=0||e>=1)return e;let r=0;for(;e>=n[r+1];)r++;let i=(e-n[r])/(n[r+1]-n[r]);return t[r]+i*(t[r+1]-t[r])})}}return i=[u,d],x},x.mode=function(e){return arguments.length?(t=e,_(),x):t},x.range=function(e,t){return m(e,t),x},x.out=function(e){return c=e,x},x.spread=function(e){return arguments.length?(r=e,x):r},x.correctLightness=function(e){return null==e&&(e=!0),h=e,_(),y=h?function(e){let t=E(0,!0).lab()[0],n=E(1,!0).lab()[0],r=t>n,i=E(e,!0).lab()[0],a=t+(n-t)*e,o=i-a,s=0,l=1,c=20;for(;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(s=e,e+=(l-e)*.5):(l=e,e+=(s-e)*.5),o=(i=E(e,!0).lab()[0])-a;return e}:e=>e,x},x.padding=function(e){return null!=e?("number"===j(e)&&(e=[e,e]),o=e,x):o},x.colors=function(t,n){arguments.length<2&&(n="hex");let r=[];if(0==arguments.length)r=l.slice(0);else if(1===t)r=[x(.5)];else if(t>1){let e=i[0],n=i[1]-e;r=(function(e,t,n){let r=[],i=0a;i?t++:t--)r.push(t);return r})(0,t,!1).map(r=>x(e+r/(t-1)*n))}else{e=[];let t=[];if(s&&s.length>2)for(let e=1,n=s.length,r=1<=n;r?en;r?e++:e--)t.push((s[e-1]+s[e])*.5);else t=i;r=t.map(e=>x(e))}return Z[n]&&(r=r.map(e=>e[n]())),r},x.cache=function(e){return null!=e?(f=e,x):f},x.gamma=function(e){return null!=e?(g=e,x):g},x.nodata=function(e){return null!=e?(n=Z(e),x):n},x}let tl=function(e){let t=[1,1];for(let n=1;nnew Y(e))).length)[n,r]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>n[t]+e*(r[t]-n[t])),"lab")};else if(3===e.length)[n,r,i]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>(1-e)*(1-e)*n[t]+2*(1-e)*e*r[t]+e*e*i[t]),"lab")};else if(4===e.length){let a;[n,r,i,a]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>(1-e)*(1-e)*(1-e)*n[t]+3*(1-e)*(1-e)*e*r[t]+3*(1-e)*e*e*i[t]+e*e*e*a[t]),"lab")}}else if(e.length>=5){let n,r,i;n=e.map(e=>e.lab()),r=tl(i=e.length-1),t=function(e){let t=1-e;return new Y([0,1,2].map(a=>n.reduce((n,o,s)=>n+r[s]*t**(i-s)*e**s*o[a],0)),"lab")}}else throw RangeError("No point in running bezier with only one color.");return t},tu=(e,t,n)=>{if(!tu[n])throw Error("unknown blend mode "+n);return tu[n](e,t)},td=e=>(t,n)=>{let r=Z(n).rgb(),i=Z(t).rgb();return Z.rgb(e(r,i))},th=e=>(t,n)=>{let r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r};tu.normal=td(th(e=>e)),tu.multiply=td(th((e,t)=>e*t/255)),tu.screen=td(th((e,t)=>255*(1-(1-e/255)*(1-t/255)))),tu.overlay=td(th((e,t)=>t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255)))),tu.darken=td(th((e,t)=>e>t?t:e)),tu.lighten=td(th((e,t)=>e>t?e:t)),tu.dodge=td(th((e,t)=>255===e||(e=t/255*255/(1-e/255))>255?255:e)),tu.burn=td(th((e,t)=>255*(1-(1-t/255)/(e/255))));let{pow:tp,sin:tf,cos:tg}=Math,{floor:tm,random:tb}=Math,{log:ty,pow:tv,floor:tE,abs:t_}=Math;function tx(e,t=null){let n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===j(e)&&(e=Object.values(e)),e.forEach(e=>{t&&"object"===j(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,en.max&&(n.max=e),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(e,t)=>tA(n,e,t),n}function tA(e,t="equal",n=7){"array"==j(e)&&(e=tx(e));let{min:r,max:i}=e,a=e.values.sort((e,t)=>e-t);if(1===n)return[r,i];let o=[];if("c"===t.substr(0,1)&&(o.push(r),o.push(i)),"e"===t.substr(0,1)){o.push(r);for(let e=1;e 0");let e=Math.LOG10E*ty(r),t=Math.LOG10E*ty(i);o.push(r);for(let r=1;r200&&(c=!1)}let h={};for(let e=0;ee-t),o.push(p[0]);for(let e=1;e{let r=e.length;n||(n=Array.from(Array(r)).map(()=>1));let i=r/n.reduce(function(e,t){return e+t});if(n.forEach((e,t)=>{n[t]*=i}),e=e.map(e=>new Y(e)),"lrgb"===t)return((e,t)=>{let n=e.length,r=[0,0,0,0];for(let i=0;i.9999999&&(r[3]=1),new Y(P(r))})(e,n);let a=e.shift(),o=a.get(t),s=[],l=0,c=0;for(let e=0;e{let i=e.get(t);u+=e.alpha()*n[r+1];for(let e=0;e=360;)t-=360;o[e]=t}else o[e]=o[e]/s[e];return u/=r,new Y(o,t).alpha(u>.99999?1:u,!0)},bezier:e=>{let t=tc(e);return t.scale=()=>ts(t),t},blend:tu,cubehelix:function(e=300,t=-1.5,n=1,r=1,i=[0,1]){let a=0,o;"array"===j(i)?o=i[1]-i[0]:(o=0,i=[i,i]);let s=function(s){let l=G*((e+120)/360+t*s),c=tp(i[0]+o*s,r),u=(0!==a?n[0]+s*a:n)*c*(1-c)/2,d=tg(l),h=tf(l);return Z(P([255*(c+u*(-.14861*d+1.78277*h)),255*(c+u*(-.29227*d-.90649*h)),255*(c+1.97294*d*u),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?r:(r=e,s)},s.hue=function(e){return null==e?n:("array"===j(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,s)},s.lightness=function(e){return null==e?i:("array"===j(e)?(i=e,o=e[1]-e[0]):(i=[e,e],o=0),s)},s.scale=()=>Z.scale(s),s.hue(n),s},mix:e4,interpolate:e4,random:()=>{let e="#";for(let t=0;t<6;t++)e+="0123456789abcdef".charAt(tm(16*tb()));return new Y(e,"hex")},scale:ts,analyze:tx,contrast:(e,t)=>{e=new Y(e),t=new Y(t);let n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},deltaE:function(e,t,n=1,r=1,i=1){var a=function(e){return 360*e/(2*tN)},o=function(e){return 2*tN*e/360};e=new Y(e),t=new Y(t);let[s,l,c]=Array.from(e.lab()),[u,d,h]=Array.from(t.lab()),p=(s+u)/2,f=(tS(tw(l,2)+tw(c,2))+tS(tw(d,2)+tw(h,2)))/2,g=.5*(1-tS(tw(f,7)/(tw(f,7)+tw(25,7)))),m=l*(1+g),b=d*(1+g),y=tS(tw(m,2)+tw(c,2)),v=tS(tw(b,2)+tw(h,2)),E=(y+v)/2,_=a(tC(c,m)),x=a(tC(h,b)),A=_>=0?_:_+360,S=x>=0?x:x+360,w=tk(A-S)>180?(A+S+360)/2:(A+S)/2,O=1-.17*tM(o(w-30))+.24*tM(o(2*w))+.32*tM(o(3*w+6))-.2*tM(o(4*w-63)),C=S-A;C=180>=tk(C)?C:S<=A?C+360:C-360,C=2*tS(y*v)*tL(o(C)/2);let k=v-y,M=1+.015*tw(p-50,2)/tS(20+tw(p-50,2)),L=1+.045*E,I=1+.015*E*O,N=30*tI(-tw((w-275)/25,2)),R=-(2*tS(tw(E,7)/(tw(E,7)+tw(25,7))))*tL(2*o(N));return tO(0,tT(100,tS(tw((u-s)/(n*M),2)+tw(k/(r*L),2)+tw(C/(i*I),2)+k/(r*L)*R*(C/(i*I)))))},distance:function(e,t,n="lab"){e=new Y(e),t=new Y(t);let r=e.get(n),i=t.get(n),a=0;for(let e in r){let t=(r[e]||0)-(i[e]||0);a+=t*t}return Math.sqrt(a)},limits:tA,valid:(...e)=>{try{return new Y(...e),!0}catch(e){return!1}},scales:{cool:()=>ts([Z.hsl(180,1,.9),Z.hsl(250,.7,.4)]),hot:()=>ts(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},input:q,colors:eU,brewer:tR});let tD={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},tj=e=>{let{value:t}=e;return Z.valid(t)?Z(t):Z("#000")},tB=(e,t=e.model)=>{let n=tj(e);return n?n[t]():[0,0,0]},tF=(e,t=4===e.length?"rgba":"rgb")=>{let n={};if(1===e.length){let[r]=e;for(let e=0;ee*t/255,t$=(e,t)=>e+t-e*t/255,tW=(e,t)=>e<128?tG(2*e,t):t$(2*e-255,t),tV={normal:e=>e,darken:(e,t)=>Math.min(e,t),multiply:tG,colorBurn:(e,t)=>0===e?0:Math.max(0,255*(1-(255-t)/e)),lighten:(e,t)=>Math.max(e,t),screen:t$,colorDodge:(e,t)=>255===e?255:Math.min(255,t/(255-e)*255),overlay:(e,t)=>tW(t,e),softLight:(e,t)=>{if(e<128)return t-(1-2*e/255)*t*(1-t/255);let n=t<64?t/255*(t/255*(t/255*16-12)+4):Math.sqrt(t/255);return t+255*(2*e/255-1)*(n-t/255)},hardLight:tW,difference:(e,t)=>Math.abs(e-t),exclusion:(e,t)=>e+t-2*e*t/255,linearBurn:(e,t)=>Math.max(e+t-255,0),linearDodge:(e,t)=>Math.min(255,e+t),linearLight:(e,t)=>Math.max(t+2*e-255,0),vividLight:(e,t)=>e<128?255*(1-(1-t/255)/(2*e/255)):t/2/(255-e)*255,pinLight:(e,t)=>e<128?Math.min(t,2*e):Math.max(t,2*e-255)},tq=e=>.3*e[0]+.58*e[1]+.11*e[2],tY=(e,t)=>{let n=t-tq(e);return(e=>{let t=tq(e),n=Math.min(...e),r=Math.max(...e),i=[...e];return n<0&&(i=i.map(e=>t+(e-t)*t/(t-n))),r>255&&(i=i.map(e=>t+(e-t)*(255-t)/(r-t))),i})(e.map(e=>e+n))},tZ=e=>Math.max(...e)-Math.min(...e),tX=(e,t)=>{let n=e.map((e,t)=>({value:e,index:t}));n.sort((e,t)=>e.value-t.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...e];return o[a]>o[r]?(o[i]=(o[i]-o[r])*t/(o[a]-o[r]),o[a]=t):(o[i]=0,o[a]=0),o[r]=0,o},tK={hue:(e,t)=>tY(tX(e,tZ(t)),tq(t)),saturation:(e,t)=>tY(tX(t,tZ(e)),tq(t)),color:(e,t)=>tY(e,tq(t)),luminosity:(e,t)=>tY(t,tq(e))},tQ=(e,t,n="normal")=>{let r,[i,a,o,s]=tB(e,"rgba"),[l,c,u,d]=tB(t,"rgba"),h=[i,a,o],p=[l,c,u];if(N.includes(n)){let e=tV[n];r=h.map((t,n)=>Math.floor(e(t,p[n])))}else r=tK[n](h,p);let f=s+d*(1-s),g=Math.round((s*(1-d)*i+s*d*r[0]+(1-s)*d*l)/f),m=Math.round((s*(1-d)*a+s*d*r[1]+(1-s)*d*c)/f),b=Math.round((s*(1-d)*o+s*d*r[2]+(1-s)*d*u)/f);return 1===f?{model:"rgb",value:{r:g,g:m,b}}:{model:"rgba",value:{r:g,g:m,b,a:f}}},tJ=(e,t)=>{let n=(e+t)%360;return n<0?n+=360:n>=360&&(n-=360),n},t0=(e=1,t=0)=>{let n=Math.min(e,t);return n+Math.random()*(Math.max(e,t)-n)},t1=(e=1,t=0)=>{let n=Math.ceil(Math.min(e,t));return Math.floor(n+Math.random()*(Math.floor(Math.max(e,t))-n+1))},t2=e=>{if(e&&"object"==typeof e){if(Array.isArray(e))return e.map(e=>t2(e));let t={};return Object.keys(e).forEach(n=>{t[n]=t2(e[n])}),t}return e};function t3(e){return Math.PI/180*e}var t5=n(43106),t4=n.n(t5);let t6=(e,t="normal")=>"grayscale"===t?(e=>{let t=tz(e),[,,,n=1]=tB(e,"rgba");return tU(t,n)})(e):((e,t="normal")=>{if("normal"===t)return{...e};let n=tP(e);return tH(t4()[t](n))})(e,t),t8=(e,t,n=[t1(5,10),t1(90,95)])=>{let[r,i,a]=tB(e,"lab"),o=r<=15?r:n[0],s=((r>=85?r:n[1])-o)/(t-1),l=Math.ceil((r-o)/s);return s=0===l?s:(r-o)/l,Array(t).fill(0).map((e,t)=>tF([s*t+o,i,a],"lab"))},t7=e=>{let{count:t,color:n,tendency:r}=e,i=t8(n,t);return{name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()}},t9={model:"rgb",value:{r:0,g:0,b:0}},ne={model:"rgb",value:{r:255,g:255,b:255}},nt=(e,t,n="lab")=>Z.distance(tj(e),tj(t),n),nn=(e,t)=>{let n=180/Math.PI*Math.atan2(e,t);return n>=0?n:n+360},nr=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},ni=e=>{let[t,n,r]=tB(e);return .2126*nr(t)+.7152*nr(n)+.0722*nr(r)},na=(e,t,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=I}=n,a=tQ(e,i),o=tQ(t,i);switch(r){case"CIEDE2000":return((e,t)=>{let n,[r,i,a]=tB(e,"lab"),[o,s,l]=tB(t,"lab"),c=(Math.sqrt(i**2+a**2)+Math.sqrt(s**2+l**2))/2,u=.5*(1-Math.sqrt(c**7/(c**7+0x16bcc41e9))),d=(1+u)*i,h=(1+u)*s,p=Math.sqrt(d**2+a**2),f=Math.sqrt(h**2+l**2),g=nn(a,d),m=nn(l,h),b=f-p,y=2*Math.sqrt(p*f)*Math.sin(t3(180>=Math.abs(m-g)?m-g:m-g<-180?m-g+360:m-g-360)/2),v=(r+o)/2,E=(p+f)/2,_=1-.17*Math.cos(t3((n=180>=Math.abs(g-m)?(g+m)/2:Math.abs(g-m)>180&&g+m<360?(g+m+360)/2:(g+m-360)/2)-30))+.24*Math.cos(t3(2*n))+.32*Math.cos(t3(3*n+6))-.2*Math.cos(t3(4*n-63)),x=1+.045*E,A=1+.015*E*_;return Math.sqrt(((o-r)/((1+.015*(v-50)**2/Math.sqrt(20+(v-50)**2))*1))**2+(b/x)**2+(y/A)**2+b/x*(-2*Math.sqrt(E**7/(E**7+0x16bcc41e9))*Math.sin(t3(60*Math.exp(-(((n-275)/25)**2)))))*(y/A))})(a,o);case"euclidean":return nt(a,o,n.colorModel);case"contrastRatio":return((e,t)=>{let n=ni(e),r=ni(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)})(a,o);default:return nt(a,o)}},no=[.8,1.2],ns={rouletteWheel:e=>{let t=e.reduce((e,t)=>e+t),n=0,r=t0(t),i=0;for(let t=0;t{let t=-1,n=0;for(let r=0;r<3;r+=1){let i=t1(e.length-1);e[i]>n&&(t=r,n=e[i])}return t}},nl=(e,t="tournament")=>ns[t](e),nc=(e,t)=>{let n=t2(e),r=t2(t);for(let i=1;i{let i=t2(e),a=t[t1(t.length-1)],o=t1(e[0].length-1),s=i[a][o]*t0(...no),l=[15,240];"grayscale"!==n&&(l=tD[r][r.split("")[o]]);let[c,u]=l;return su&&(s=u),i[a][o]=s,i},nd=(e,t,n,r,i,a)=>{let o;o="grayscale"===n?e.map(([e])=>tU(e)):e.map(e=>t6(tF(e,r),n));let s=1/0;for(let e=0;e{if(Math.round(nd(e,t,n,i,a,o))>r)return e;let s=Array(e.length).fill(0).map((e,t)=>t).filter((e,n)=>!t[n]),l=Array(50).fill(0).map(()=>nu(e,s,n,i)),c=l.map(e=>nd(e,t,n,i,a,o)),u=Math.max(...c),d=l[c.findIndex(e=>e===u)],h=1;for(;h<100&&Math.round(u)t0()?nc(t,r):[t,r];a=a.map(e=>.1>t0()?nu(e,s,n,i):e),e.push(...a)}let r=Math.max(...c=(l=e).map(e=>nd(e,t,n,i,a,o)));u=r,d=l[c.findIndex(e=>e===r)],h+=1}return d},np={euclidean:30,CIEDE2000:20,contrastRatio:4.5},nf={euclidean:291.48,CIEDE2000:100,contrastRatio:21},ng=(e,t={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:s=I}=t,l=i;l||(l=np[o]),"grayscale"===r&&(l=Math.min(l,nf[o]/e.colors.length));let c=t2(e);if("matrix"!==c.type&&"continuous-scale"!==c.type)if("grayscale"===r){let e=nh(c.colors.map(e=>[tz(e)]),n,r,l,a,o,s);c.colors.forEach((t,n)=>Object.assign(t,function(e,t){let n,[,r,i]=tB(t,"lab"),[,,,a=1]=tB(t,"rgba"),o=100*e,s=Math.round(o),l=tz(tF([s,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(l/255*100)&&c>0;)o>l/255*100?s+=1:s-=1,c-=1,l=tz(tF([s,r,i],"lab"));if(Math.round(o)tB(e,a)),n,r,l,a,o,s);c.colors.forEach((t,n)=>{Object.assign(t,tF(e[n],a))})}return c},nm=[.3,.9],nb=[.5,1],ny=(e,t,n,r=[])=>{let[i]=tB(e,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(t=>t&&t.model===e.model&&t.value===e.value);return{newColors:Array(n).fill(0).map((n,s)=>{let l=r[s];return l?(a[s]=!0,l):o?(o=!1,a[s]=!0,e):tF([tJ(i,t*s),t0(...nm),t0(...nb)],"hsv")}),locked:a}};function nv(){let e=t1(255);return tF([e,t1(255),t1(255)],"rgb")}let nE=e=>{let{count:t,colors:n}=e,r=[];return ng({name:"random",semantic:null,type:"categorical",colors:Array(t).fill(0).map((e,t)=>{let i=n[t];return i?(r[t]=!0,i):nv()})},{locked:r})},n_=["monochromatic"],nx={monochromatic:t7,analogous:e=>{let{count:t,color:n,tendency:r}=e,[i,a,o]=tB(n,"hsv"),s=Math.floor(t/2),l=60/(t-1);i>=60&&i<=240&&(l=-l);let c=(a-.1)/3/(t-s-1),u=(o-.4)/3/s,d=Array(t).fill(0).map((e,t)=>tF([tJ(i,l*(t-s)),t<=s?Math.min(a+c*(s-t),1):a+3*c*(s-t),t<=s?o-3*u*(s-t):Math.min(o-u*(s-t),1)],"hsv"));return{name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?d:d.reverse()}},achromatic:e=>{let{tendency:t}=e;return{...t7({...e,color:"tint"===t?t9:ne}),name:"achromatic"}},complementary:e=>{let{count:t,color:n}=e,[r,i,a]=tB(n,"hsv"),o=tF([tJ(r,180),i,a],"hsv"),s=t1(80,90),l=t1(15,25),c=Math.floor(t/2),u=t8(n,c,[l,s]),d=t8(o,c,[l,s]).reverse();return{name:"complementary",semantic:null,type:"discrete-scale",colors:t%2==1?[...u,tF([(tJ(r,180)+r)/2,t0(.05,.1),t0(.9,.95)],"hsv"),...d]:[...u,...d]}},"split-complementary":e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,180,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,120,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,90,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,360/t,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},customized:nE},nA=(e="monochromatic",t={})=>{let n=((e,t)=>{let{count:n=8,tendency:r="tint"}=t,{colors:i=[],color:a}=t;return a||(a=i.find(e=>!!e&&!!e.model&&!!e.value)||nv()),n_.includes(e)&&(i=[]),{color:a,colors:i,count:n,tendency:r}})(e,t);try{return nx[e](n)}catch(e){return nE(n)}};n(88274);var nS={}.toString,nw=function(e,t){return nS.call(e)==="[object ".concat(t,"]")},nT=function(e){if("object"!=typeof e||null===e||!nw(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};let nO=function(e){for(var t=[],n=1;nt.distinct)return -1}return 0};function nN(e){return[e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),e.find(function(e){return a(e.levelOfMeasurements,["Interval"])})]}function nR(e){return[e.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])})]}function nP(e){var t=e.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),n=e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])});return[t,e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),n]}function nD(e){var t=e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI),n=t[0],r=t[1];return[e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),n,r]}function nj(e){var t,n,i,o,s,l,c=e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI);return(0,nk.hS)(null==(i=c[1])?void 0:i.rawData,null==(o=c[0])?void 0:o.rawData)?(l=(t=(0,r.zs)(c,2))[0],s=t[1]):(s=(n=(0,r.zs)(c,2))[0],l=n[1]),[s,e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),l]}var nB=["monochromatic","analogous"],nF=["polychromatic","split-complementary","triadic","tetradic"];function nz(e,t,n){var i=e.data,o=e.dataProps,s=e.smartColor,c=e.options,u=e.colorOptions,h=e.fields;try{var p,f,g,m,b,y,v,E=L(i),_=(p=(h?new M.A(E,{columns:h}):new M.A(E)).info(),o?p.map(function(e){var t=o.find(function(t){return t.name===e.name});return(0,r.Cl)((0,r.Cl)({},e),t)}):p);return f=h?E.map(function(e){return Object.keys(e).forEach(function(t){h.includes(t)||delete e[t]}),e}):E,g=(null==c?void 0:c.refine)!==void 0&&c.refine,m=null==c?void 0:c.theme,b=(null==c?void 0:c.requireSpec)===void 0||c.requireSpec,y=Object.keys(t),v=[],{advices:y.map(function(e){var i,o=function(e,t,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,s=[],l={dataProps:n,chartType:e,purpose:a,preferences:o},c=d(e,t,r,"HARD",l,s);if(0===c)return{chartType:e,score:0,log:s};var u=d(e,t,r,"SOFT",l,s);return{chartType:e,score:c*u,log:s}}(e,t,_,n,c);v.push(o);var h=o.score;if(h<=0)return{type:e,spec:null,score:h};var p=function(e,t,n,i){var o,s,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w,O,C,k,M,L,I,N,R,P,D,j,B,F,z,U,H,G,$,W,V,q,Y,Z,X,K,Q;if(!nC.includes(e)&&i)return i.toSpec?i.toSpec(t,n):null;switch(e){case"pie_chart":return s=(o=(0,r.zs)(nN(n),2))[0],(c=o[1])&&s?{type:"interval",data:t,encode:{color:s.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return d=(u=(0,r.zs)(nN(n),2))[0],(h=u[1])&&d?{type:"interval",data:t,encode:{color:d.name,y:h.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(e,t){var n=(0,r.zs)(nR(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"line",data:e,encode:{x:i.name,y:a.name}};return o&&(s.encode.color=o.name),s}(t,n);case"step_line_chart":return function(e,t){var n=(0,r.zs)(nR(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"line",data:e,encode:{x:i.name,y:a.name,shape:"hvh"}};return o&&(s.encode.color=o.name),s}(t,n);case"area_chart":return p=n.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),f=n.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),p&&f?{type:"area",data:t,encode:{x:p.name,y:f.name}}:null;case"stacked_area_chart":return m=(g=(0,r.zs)(nP(n),3))[0],b=g[1],y=g[2],m&&b&&y?{type:"area",data:t,encode:{x:m.name,y:b.name,color:y.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return E=(v=(0,r.zs)(nP(n),3))[0],_=v[1],x=v[2],E&&_&&x?{type:"area",data:t,encode:{x:E.name,y:_.name,color:x.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(e,t){var n=(0,r.zs)(nD(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"interval",data:e,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(s.encode.color=o.name,s.transform=[{type:"stackY"}]),s}(t,n);case"grouped_bar_chart":return S=(A=(0,r.zs)(nD(n),3))[0],w=A[1],O=A[2],S&&w&&O?{type:"interval",data:t,encode:{x:w.name,y:S.name,color:O.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return k=(C=(0,r.zs)(nD(n),3))[0],M=C[1],L=C[2],k&&M&&L?{type:"interval",data:t,encode:{x:M.name,y:k.name,color:L.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return N=(I=(0,r.zs)(nD(n),3))[0],R=I[1],P=I[2],N&&R&&P?{type:"interval",data:t,encode:{x:R.name,y:N.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(e,t){var n=t.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI),r=n[0],i=n[1],o=t.find(function(e){return a(e.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var s={type:"interval",data:e,encode:{x:r.name,y:o.name}};return i&&(s.encode.color=i.name,s.transform=[{type:"stackY"}]),s}(t,n);case"grouped_column_chart":return j=(D=(0,r.zs)(nj(n),3))[0],B=D[1],F=D[2],j&&B&&F?{type:"interval",data:t,encode:{x:j.name,y:B.name,color:F.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return U=(z=(0,r.zs)(nj(n),3))[0],H=z[1],G=z[2],U&&H&&G?{type:"interval",data:t,encode:{x:U.name,y:H.name,color:G.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return W=($=(0,r.zs)(nj(n),3))[0],V=$[1],q=$[2],W&&V&&q?{type:"interval",data:t,encode:{x:W.name,y:V.name,color:q.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(e,t){var n=t.filter(function(e){return a(e.levelOfMeasurements,["Interval"])}).sort(nI),r=n[0],i=n[1],o=t.find(function(e){return a(e.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var s={type:"point",data:e,encode:{x:r.name,y:i.name}};return o&&(s.encode.color=o.name),s}(t,n);case"bubble_chart":return function(e,t){for(var n=t.filter(function(e){return a(e.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(e){for(var t=function(t){var a=(0,nM.nc)(n[e].rawData,n[t].rawData);Math.abs(a)>i.corr&&(i.x=n[e],i.y=n[t],i.corr=a,i.size=n[(0,r.fX)([],(0,r.zs)(Array(n.length).keys()),!1).find(function(n){return n!==e&&n!==t})||0])},a=e+1;a0&&(!b||e.spec)}).sort(function(e,t){return e.scoret.score?-1:0}),log:v}}catch(e){return console.error("error: ",e),{advices:[],log:[]}}}var nU=function(e){var t,n=e.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=e.transform,i=null==(t=null==n?void 0:n.transform)?void 0:t.some(function(e){return"transpose"===e.type}),a=null==r?void 0:r.some(function(e){return"normalizeY"===e.type}),o=null==r?void 0:r.some(function(e){return"stackY"===e.type}),s=null==r?void 0:r.some(function(e){return"dodgeX"===e.type});return i?s?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":s?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},nH=function(e){var t=e.transform,n=null==t?void 0:t.some(function(e){return"stackY"===e.type}),r=null==t?void 0:t.some(function(e){return"normalizeY"===e.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},nG=function(e){var t=e.encode;return t.shape&&"hvh"===t.shape?"step_line_chart":"line_chart"},n$=function(e){var t;switch(e.type){case"area":t=nH(e);break;case"interval":t=nU(e);break;case"line":t=nG(e);break;case"point":t=e.encode.size?"bubble_chart":"scatter_plot";break;case"rect":t="histogram";break;case"cell":t="heatmap";break;default:t=""}return t};function nW(e,t,n,i,a,o,s){Object.values(e).filter(function(e){var i,a,s=e.option||{},l=s.weight,c=s.extra;return i=e.type,("DESIGN"===t?"DESIGN"===i:"DESIGN"!==i)&&!(null==(a=e.option)?void 0:a.off)&&e.trigger((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},n),{weight:l}),c),{chartWIKI:o}))}).forEach(function(e){var l,c=e.type,u=e.id,d=e.docs;if("DESIGN"===t){var h=e.optimizer(n.dataProps,s);l=+(0===Object.keys(h).length),a.push({type:c,id:u,score:l,fix:h,docs:d})}else{var p=e.option||{},f=p.weight,g=p.extra;l=e.validator((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},n),{weight:f}),g),{chartWIKI:o})),a.push({type:c,id:u,score:l,docs:d})}i.push({phase:"LINT",ruleId:u,score:l,base:l,weight:1,ruleType:c})})}function nV(e,t,n){var r=e.spec,i=e.options,a=e.dataProps,o=null==i?void 0:i.purpose,s=null==i?void 0:i.preferences,l=n$(r),c=[],u=[];if(!r||!l)return{lints:c,log:u};if(!a||!a.length){try{a=new M.A(r.data).info()}catch(e){return console.error("error: ",e),{lints:c,log:u}}}var d={dataProps:a,chartType:l,purpose:o,preferences:s};return nW(t,"notDESIGN",d,u,c,n),nW(t,"DESIGN",d,u,c,n,r),{lints:c=c.filter(function(e){return e.score<1}),log:u}}var nq=function(){function e(e){var t,n,a,o,s;void 0===e&&(e={}),this.ckb=(t=e.ckbCfg,n=JSON.parse(JSON.stringify(i)),t?(a=t.exclude,o=t.include,s=t.custom,a&&a.forEach(function(e){Object.keys(n).includes(e)&&delete n[e]}),o&&Object.keys(n).forEach(function(e){o.includes(e)||delete n[e]}),(0,r.Cl)((0,r.Cl)({},n),s)):n),this.ruleBase=k(e.ruleCfg)}return e.prototype.advise=function(e){return nz(e,this.ckb,this.ruleBase).advices},e.prototype.adviseWithLog=function(e){return nz(e,this.ckb,this.ruleBase)},e.prototype.lint=function(e){return nV(e,this.ruleBase,this.ckb).lints},e.prototype.lintWithLog=function(e){return nV(e,this.ruleBase,this.ckb)},e}()},54573:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(1922),i=n(17915);function a(e,t,n){let a=(0,i.C)((n||{}).ignore||[]),o=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:s}:void 0),!1===s?r.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(a{"use strict";n.d(t,{F:()=>p});var r=n(39249),i=n(2323),a=n(58872),o=n(49603),s=n(33313),l=n(76646);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.k[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.k[n]))),l.k[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var h=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function p(e){if((0,i.D)(e))return[].concat(e);for(var t=function(e){if((0,o.f)(e))return[].concat(e);var t=function(e){if((0,s.N)(e))return[].concat(e);var t=new h(e);for(d(t);t.index0;s-=1){if((32|i)==97&&(3===s||4===s)?!function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'.concat(n[t],'", expecting 0 or 1 at index ').concat(t)}(e):!function(e){var t,n=e.max,r=e.pathValue,i=e.index,a=i,o=!1,s=!1,l=!1,c=!1;if(a>=n){e.err="[path-util]: Invalid path value at index ".concat(a,', "pathValue" is missing param');return}if((43===(t=r.charCodeAt(a))||45===t)&&(a+=1,t=r.charCodeAt(a)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index ".concat(a,', "').concat(r[a],'" is not a number');return}if(46!==t){if(o=48===t,a+=1,t=r.charCodeAt(a),o&&a=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,i=0,a=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],i=n,a=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=i,r=a;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(i=n,a=r)}return t})}(e),n=(0,r.Cl)({},a.M),p=0;p{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.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-pdf",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},54685:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(83894)},54699: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=[]},54719: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=[]},55501:(e,t,n)=>{"use strict";var r=n(64073);function i(e){e.register(r),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=i,i.displayName="scala",i.aliases=[]},55715:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(50636);let i=function(e){if((0,r.A)(e))return e.reduce(function(e,t){return Math.min(e,t)},e[0])}},55964: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=[]},56070: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=[]},56373:e=>{"use strict";function t(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 r=e.languages[n],i="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("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}e.exports=t,t.displayName="t4Templating",t.aliases=[]},56613: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=[]},56622:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>u,_v:()=>l,l6:()=>c,mU:()=>d});var r=n(38310),i=n(68058),a=n(37022),o=n(77568),s={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},l=(0,r.E)({},s,{}),c=(0,r.E)({},s,(0,i.dQ)(o.E,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),u=.01,d=(0,a.x)({title:"title",html:"html",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend")},56747: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=[]},56807:e=>{"use strict";(e.exports={}).getOption=function(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}},56917:(e,t,n)=>{var r=n(98233),i=n(48611);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==r(e)}},57076:e=>{"use strict";function t(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],a=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in l&&function t(n){for(var o=0,l=n.length;o=h.length)return;var o=n[a];if("string"==typeof o||"string"==typeof o.content){var l=h[c],d="string"==typeof o?o:o.content,p=d.indexOf(l);if(-1!==p){++c;var f=d.substring(0,p),g=function(t){var n={};n["interpolation-punctuation"]=i;var a=e.tokenize(t,n);if(3===a.length){var o=[1,1];o.push.apply(o,s(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,o)}return new e.Token("interpolation",a,r.alias,t)}(u[l]),m=d.substring(p+l.length),b=[];if(f&&b.push(f),b.push(g),m){var y=[m];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[a,1].concat(b)),a+=b.length-1):o.content=b}}else{var v=o.content;Array.isArray(v)?t(v):t([v])}}}(d),new e.Token(o,d,"language-"+o,t)}(h,g,f)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},57143:(e,t,n)=>{"use strict";var r=n(70750);function i(e){e.register(r),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=i,i.displayName="racket",i.aliases=["rkt"]},57250:(e,t,n)=>{e.exports=function(e){e.use(n(89234)),e.installMethod("contrast",function(e){var t=this.luminance(),n=e.luminance();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)})}},57254: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=[]},57309:e=>{"use strict";function t(e){var t,n;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"},t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],a=0;a0&&i[i.length-1].tagName===t(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(i.length>0)||"punctuation"!==o.type||"{"!==o.content||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:"comment"!==o.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof o)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(o);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=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.exports=t,t.displayName="xquery",t.aliases=[]},57626:(e,t,n)=>{"use strict";function r(e,t){let n,r;if(void 0===t)for(let t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r=a&&(n=r=a):(n>a&&(n=a),rr})},57859:(e,t,n)=>{"use strict";var r=n(95441),i=n(8828),a=n(8747);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},h={};for(t in c)n=new a(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,h[r(t)]=t,h[r(n.attribute)]=t;return new i(d,h,o)}},57966: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=[]},58425: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=[]},58452: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=[]},58468:(e,t,n)=>{var r=n(53516);e.exports=function(e,t,n,i){return r(e,function(e,r,a){t(i,e,n(e),a)}),i}},58857:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>l,wA:()=>s});let r=Math.PI,i=2*r,a=i-1e-6;function o(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return o;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t1e-6)if(Math.abs(d*l-c*u)>1e-6&&a){let p=n-o,f=i-s,g=l*l+c*c,m=Math.sqrt(g),b=Math.sqrt(h),y=a*Math.tan((r-Math.acos((g+h-(p*p+f*f))/(2*m*b)))/2),v=y/b,E=y/m;Math.abs(v-1)>1e-6&&this._append`L${e+v*u},${t+v*d}`,this._append`A${a},${a},0,0,${+(d*p>u*f)},${this._x1=e+E*l},${this._y1=t+E*c}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,o,s,l){if(e*=1,t*=1,n*=1,l=!!l,n<0)throw Error(`negative radius: ${n}`);let c=n*Math.cos(o),u=n*Math.sin(o),d=e+c,h=t+u,p=1^l,f=l?o-s:s-o;null===this._x1?this._append`M${d},${h}`:(Math.abs(this._x1-d)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${d},${h}`,n&&(f<0&&(f=f%i+i),f>a?this._append`A${n},${n},0,1,${p},${e-c},${t-u}A${n},${n},0,1,${p},${this._x1=d},${this._y1=h}`:f>1e-6&&this._append`A${n},${n},0,${+(f>=r)},${p},${this._x1=e+n*Math.cos(s)},${this._y1=t+n*Math.sin(s)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n*=1}v${+r}h${-n}Z`}toString(){return this._}}function l(){return new s}l.prototype=s.prototype},58872:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},58891: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=[]},58985:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(39249),i=n(56775);function a(e,t){return(0,i.A)(e)?e.apply(void 0,(0,r.fX)([],(0,r.zs)(t),!1)):e}},59132:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},59222:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return e}},59235:(e,t,n)=>{"use strict";e.exports=n(38088)},59728:(e,t,n)=>{"use strict";function r(e){var t,n,r,i=e||1;function a(e,a){++t>i&&(r=n,o(1),++t),n[e]=a}function o(e){t=0,n=Object.create(null),e||(r=Object.create(null))}return o(),{clear:o,has:function(e){return void 0!==n[e]||void 0!==r[e]},get:function(e){var t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set:function(e,t){void 0!==n[e]?n[e]=t:a(e,t)}}}function i(e,t=(...e)=>`${e[0]}`,n=16){let a=r(n);return(...n)=>{let r=t(...n),i=a.get(r);return a.has(r)?a.get(r):(i=e(...n),a.set(r,i),i)}}n.d(t,{g:()=>i}),r(3)},59829:(e,t,n)=>{"use strict";function r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.d(t,{GP:()=>o});var i,a,o,s=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(e){var t;if(!(t=s.exec(e)))throw Error("invalid format: "+e);return new c({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function c(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function u(e,t){var n=r(e,t);if(!n)return e+"";var i=n[0],a=n[1];return a<0?"0."+Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+Array(a-i.length+2).join("0")}l.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let d={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>u(100*e,t),r:u,s:function(e,t){var n=r(e,t);if(!n)return e+"";var a=n[0],o=n[1],s=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=a.length;return s===l?a:s>l?a+Array(s-l+1).join("0"):s>0?a.slice(0,s)+"."+a.slice(s):"0."+Array(1-s).join("0")+r(e,Math.max(0,t+s-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function h(e){return e}var p=Array.prototype.map,f=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(a=function(e){var t,n,a,o=void 0===e.grouping||void 0===e.thousands?h:(t=p.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),s=void 0===e.currency?"":e.currency[0]+"",c=void 0===e.currency?"":e.currency[1]+"",u=void 0===e.decimal?".":e.decimal+"",g=void 0===e.numerals?h:(a=p.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return a[+e]})}),m=void 0===e.percent?"%":e.percent+"",b=void 0===e.minus?"−":e.minus+"",y=void 0===e.nan?"NaN":e.nan+"";function v(e){var t=(e=l(e)).fill,n=e.align,r=e.sign,a=e.symbol,h=e.zero,p=e.width,v=e.comma,E=e.precision,_=e.trim,x=e.type;"n"===x?(v=!0,x="g"):d[x]||(void 0===E&&(E=12),_=!0,x="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var A="$"===a?s:"#"===a&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",S="$"===a?c:/[%p]/.test(x)?m:"",w=d[x],O=/[defgprs%]/.test(x);function C(e){var a,s,l,c=A,d=S;if("c"===x)d=w(e)+d,e="";else{var m=(e*=1)<0||1/e<0;if(e=isNaN(e)?y:w(Math.abs(e),E),_&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0==+e&&"+"!==r&&(m=!1),c=(m?"("===r?r:b:"-"===r||"("===r?"":r)+c,d=("s"===x?f[8+i/3]:"")+d+(m&&"("===r?")":""),O){for(a=-1,s=e.length;++a(l=e.charCodeAt(a))||l>57){d=(46===l?u+e.slice(a+1):e.slice(a))+d,e=e.slice(0,a);break}}}v&&!h&&(e=o(e,1/0));var C=c.length+e.length+d.length,k=C>1)+c+e+d+k.slice(C);break;default:e=k+c+e+d}return g(e)}return E=void 0===E?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E)),C.toString=function(){return e+""},C}return{format:v,formatPrefix:function(e,t){var n,i=v(((e=l(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(((n=r(Math.abs(n=t)))?n[1]:NaN)/3))),o=Math.pow(10,-a),s=f[8+a/3];return function(e){return i(o*e)+s}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a.formatPrefix},59882:e=>{e.exports=function(e){return null==e}},59947:(e,t,n)=>{"use strict";function r(e){this._context=e}function i(e){return new r(e)}n.d(t,{A:()=>i}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},60066:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81472);let i=function(e,t){if(!(0,r.A)(e))return e;for(var n=[],i=0;i{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},60245:(e,t,n)=>{var r=n(51911);e.exports=function(e,t){return r(e,t)}},60363:(e,t,n)=>{var r=n(28897);e.exports=n(98105)(function(e,t,n){r(e,n,t)})},60569: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=[]},60579: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"]},60733: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 r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,a="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?: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(a+"(?: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(a+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(a+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,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=[]},60924:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},60993:e=>{"use strict";function t(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\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=[]},61260:(e,t,n)=>{"use strict";n.d(t,{$:()=>z});var r=Uint8Array,i=Uint16Array,a=Int32Array,o=new r([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),s=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<>1|(21845&m)<<1;b=(61680&(b=(52428&b)>>2|(13107&b)<<2))>>4|(3855&b)<<4,g[m]=((65280&b)>>8|(255&b)<<8)>>1}for(var y=function(e,t,n){for(var r,a=e.length,o=0,s=new i(t);o>c]=u}else for(o=0,r=new i(a);o>15-e[o]);return r},v=new r(288),m=0;m<144;++m)v[m]=8;for(var m=144;m<256;++m)v[m]=9;for(var m=256;m<280;++m)v[m]=7;for(var m=280;m<288;++m)v[m]=8;for(var E=new r(32),m=0;m<32;++m)E[m]=5;var _=y(v,9,0),x=y(E,5,0),A=function(e){return(e+7)/8|0},S=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},w=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},O=function(e,t){for(var n=[],a=0;af&&(f=s[a].s);var g=new i(f+1),m=C(n[h-1],g,0);if(m>t){var a=0,b=0,y=m-t,v=1<t)b+=v-(1<>=y;b>0;){var _=s[a].s;g[_]=0&&b;--a){var x=s[a].s;g[x]==t&&(--g[x],++b)}m=t}return{t:new r(g),l:m}},C=function(e,t,n){return -1==e.s?Math.max(C(e.l,t,n+1),C(e.r,t,n+1)):t[e.s]=n},k=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,a=e[0],o=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==a&&l!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(a),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(a);o=1,a=e[l]}return{c:n.subarray(0,r),n:t}},M=function(e,t){for(var n=0,r=0;r>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a4&&!V[l[Y-1]];--Y);var Z=p+5<<3,X=M(a,v)+M(c,E)+u,K=M(a,I)+M(c,P)+u+14+3*Y+M(G,V)+2*G[16]+3*G[17]+7*G[18];if(h>=0&&Z<=X&&Z<=K)return L(t,f,e.subarray(h,h+p));if(S(t,f,1+(K15&&(S(t,f,et[$]>>5&127),f+=et[$]>>12)}}else g=_,m=v,b=x,A=E;for(var $=0;$255){var en=er>>18&31;w(t,f,g[en+257]),f+=m[en+257],en>7&&(S(t,f,er>>23&31),f+=o[en]);var ei=31&er;w(t,f,b[ei]),f+=A[ei],ei>3&&(w(t,f,er>>5&8191),f+=s[ei])}else w(t,f,g[er]),f+=m[er]}return w(t,f,g[256]),f+m[256]},N=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),R=new r(0),P=function(e,t,n,l,c,u){var d,p,g=u.z||e.length,m=new r(l+g+5*(1+Math.ceil(g/7e3))+c),b=m.subarray(l,m.length-c),y=u.l,v=7&(u.r||0);if(t){v&&(b[0]=u.r>>3);for(var E=N[t-1],_=E>>13,x=8191&E,S=(1<7e3||z>24576)&&(V>423||!y)){v=I(e,b,0,R,P,D,B,z,H,F-H,v),z=j=B=0,H=F;for(var q=0;q<286;++q)P[q]=0;for(var q=0;q<30;++q)D[q]=0}var Y=2,Z=0,X=x,K=$-W&32767;if(V>2&&G==M(F-K))for(var Q=Math.min(_,V)-1,J=Math.min(32767,F),ee=Math.min(258,V);K<=J&&--X&&$!=W;){if(e[F+Y]==e[F+Y-K]){for(var et=0;etY){if(Y=et,Z=K,et>Q)break;for(var en=Math.min(K,et-2),er=0,q=0;qer&&(er=eo,W=ei)}}}W=w[$=W],K+=$-W&32767}if(Z){R[z++]=0x10000000|h[Y]<<18|f[Z];var es=31&h[Y],el=31&f[Z];B+=o[es]+s[el],++P[257+es],++D[el],U=F+Y,++j}else R[z++]=e[F],++P[e[F]]}}for(F=Math.max(F,U);F=g&&(b[v/8|0]=y,ec=g),v=L(b,v+1,e.subarray(F,ec))}u.i=g}return d=0,p=l+A(v)+c,(null==d||d<0)&&(d=0),(null==p||p>m.length)&&(p=m.length),new r(m.subarray(d,p))},D=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,a=0|n.length,o=0;o!=a;){for(var s=Math.min(o+2655,a);o>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},j=function(e,t,n,i,a){if(!a&&(a={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),s=new r(o.length+e.length);s.set(o),s.set(e,o.length),e=s,a.w=o.length}return P(e,null==t.level?6:t.level,null==t.mem?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,i,a)},B=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},F=function(e,t){var n=t.level;if(e[0]=120,e[1]=(0==n?0:n<6?1:9==n?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=D();r.p(t.dictionary),B(e,2,r.d())}};function z(e,t){t||(t={});var n=D();n.p(e);var r=j(e,t,t.dictionary?6:2,4);return F(r,t),B(r,r.length-4,n.d()),r}var U="undefined"!=typeof TextDecoder&&new TextDecoder;try{U.decode(R,{stream:!0})}catch(e){}"function"==typeof queueMicrotask&&queueMicrotask},61341:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>E,Gw:()=>w,Q1:()=>i,Qh:()=>S,Uw:()=>o,b:()=>A,ef:()=>a});var r=n(71609);function i(){}var a=.7,o=1.4285714285714286,s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,d=RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=RegExp("^rgb\\("+[c,c,c]+"\\)$"),p=RegExp("^rgba\\("+[s,s,s,l]+"\\)$"),f=RegExp("^rgba\\("+[c,c,c,l]+"\\)$"),g=RegExp("^hsl\\("+[l,c,c]+"\\)$"),m=RegExp("^hsla\\("+[l,c,c,l]+"\\)$"),b={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function y(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function E(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=u.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?_(t):3===n?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new w(t[1],t[2],t[3],1):(t=h.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?x(t[1],t[2],t[3],t[4]):(t=f.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?M(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?M(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?_(b[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function _(e){return new w(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new w(e,t,n,r)}function A(e){return(e instanceof i||(e=E(e)),e)?new w((e=e.rgb()).r,e.g,e.b,e.opacity):new w}function S(e,t,n,r){return 1==arguments.length?A(e):new w(e,t,n,null==r?1:r)}function w(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function O(){return"#"+k(this.r)+k(this.g)+k(this.b)}function C(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function k(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function M(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,n,r)}function L(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=E(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-a,c=(o+a)/2;return l?(s=t===o?(n-r)/l+(n0&&c<1?0:s,new I(s,l,c,e.opacity)}function I(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function N(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}(0,r.A)(i,E,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return L(this).formatHsl()},formatRgb:v,toString:v}),(0,r.A)(w,S,(0,r.X)(i,{brighter:function(e){return e=null==e?o:Math.pow(o,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},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:O,formatHex:O,formatRgb:C,toString:C})),(0,r.A)(I,function(e,t,n,r){return 1==arguments.length?L(e):new I(e,t,n,null==r?1:r)},(0,r.X)(i,{brighter:function(e){return e=null==e?o:Math.pow(o,e),new I(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new w(N(e>=240?e-240:e+120,i,r),N(e,i,r),N(e<120?e+240:e-120,i,r),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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},61482: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=[]},61567: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 r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},61728: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=[]},62167: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=[]},62190:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.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-ppt",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},62474:(e,t,n)=>{"use strict";function r(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}}n.d(t,{U:()=>function e(t,n,i,a,o,s,l,c,u,d){var h,p,f,g,m,b=t,y=n,v=i,E=a,_=c,x=u,A=120*Math.PI/180,S=Math.PI/180*(+o||0),w=[];if(d)p=d[0],f=d[1],g=d[2],m=d[3];else{b=(h=r(b,y,-S)).x,y=h.y,_=(h=r(_,x,-S)).x,x=h.y;var O=(b-_)/2,C=(y-x)/2,k=O*O/(v*v)+C*C/(E*E);k>1&&(v*=k=Math.sqrt(k),E*=k);var M=v*v,L=E*E,I=(s===l?-1:1)*Math.sqrt(Math.abs((M*L-M*C*C-L*O*O)/(M*C*C+L*O*O)));g=I*v*C/E+(b+_)/2,m=-(I*E)*O/v+(y+x)/2,p=Math.asin(((y-m)/E*1e9|0)/1e9),f=Math.asin(((x-m)/E*1e9|0)/1e9),p=bf&&(p-=2*Math.PI),!l&&f>p&&(f-=2*Math.PI)}var N=f-p;if(Math.abs(N)>A){var R=f,P=_,D=x;w=e(_=g+v*Math.cos(f=p+A*(l&&f>p?1:-1)),x=m+E*Math.sin(f),v,E,o,0,l,P,D,[f,R,g,m])}N=f-p;var j=Math.cos(p),B=Math.cos(f),F=Math.tan(N/4),z=4/3*v*F,U=4/3*E*F,H=[b,y],G=[b+z*Math.sin(p),y-U*j],$=[_+z*Math.sin(f),x-U*B],W=[_,x];if(G[0]=2*H[0]-G[0],G[1]=2*H[1]-G[1],d)return G.concat($,W,w);w=G.concat($,W,w);for(var V=[],q=0,Y=w.length;q{"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=[]},62787:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(39249),i=n(83853);function a(e,t,n){return(0,i.s)(e,t,(0,r.Cl)((0,r.Cl)({},n),{bbox:!1,length:!0})).point}},62840: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=[]},62962:(e,t,n)=>{var r=n(48659),i=n(65531),a=n(75145),o=n(85855);e.exports=function(e){return function(t){var n=i(t=o(t))?a(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},63006:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(9519)},63073: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=[]},63757:(e,t,n)=>{"use strict";function r(e){return"&#x"+e.toString(16).toUpperCase()+";"}n.d(t,{T:()=>r})},63880:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(69138);let i=function(e,t,n){for(var i=0,a=(0,r.A)(t)?t.split("."):t;e&&i{"use strict";function r([e,t],[n,r]){return[e-n,t-r]}function i([e,t],[n,r]){return[e+n,t+r]}function a([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function o([e,t]){return Math.atan2(t,e)}function s([e,t]){return o([e,t])+Math.PI/2}function l(e,t){let n=o(e),r=o(t);return ns,WQ:()=>i,d3:()=>c,g7:()=>o,jb:()=>r,jz:()=>u,s5:()=>l,xg:()=>a})},63975:(e,t,n)=>{"use strict";n.d(t,{L:()=>s,c:()=>o});var r=n(86372),i=n(2423),a=n(79135);function o(e){return new s([e],null,e,e.ownerDocument)}class s{constructor(e=null,t=null,n=null,r=null,i=[null,null,null,null,null],a=[],o=[]){this._elements=Array.from(e),this._data=t,this._parent=n,this._document=r,this._enter=i[0],this._update=i[1],this._exit=i[2],this._merge=i[3],this._split=i[4],this._transitions=a,this._facetElements=o}selectAll(e){return new s("string"==typeof e?this._parent.querySelectorAll(e):e,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new s(this._elements,null,this._parent,this._document,void 0,void 0,t)}select(e){let t="string"==typeof e?this._parent.querySelectorAll(e)[0]||null:e;return new s([t],null,t,this._document)}append(e){let t="function"==typeof e?e:()=>this.createElement(e),n=[];if(null!==this._data){for(let e=0;ee,n=()=>null){let r=[],a=[],o=new Set(this._elements),l=[],c=new Set,u=new Map(this._elements.map((e,n)=>[t(e.__data__,n),e])),d=new Map(this._facetElements.map((e,n)=>[t(e.__data__,n),e])),h=(0,i.Ay)(this._elements,e=>n(e.__data__));for(let i=0;ie,t=e=>e,n=e=>e.remove(),r=e=>e,i=e=>e.remove()){let a=e(this._enter),o=t(this._update),s=n(this._exit),l=r(this._merge),c=i(this._split);return o.merge(a).merge(s).merge(l).merge(c)}remove(){for(let e=0;ee.finished)).then(()=>{let t=this._elements[e];t.__removed__&&t.remove()});else{let t=this._elements[e];t.__removed__&&t.remove()}}return new s([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let t=0;tt:t;return this.each(function(r,i,a){void 0!==t&&(a[e]=n(r,i,a))})}style(e,t){let n="function"!=typeof t?()=>t:t;return this.each(function(r,i,a){void 0!==t&&(a.style[e]=n(r,i,a))})}transition(e){let t="function"!=typeof e?()=>e:e,{_transitions:n}=this;return this.each(function(e,r,i){n[r]=t(e,r,i)})}on(e,t){return this.each(function(n,r,i){i.addEventListener(e,t)}),this}call(e,...t){return e(this,...t),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}}s.registry={g:r.YJ,rect:r.rw,circle:r.jl,path:r.wA,text:r.EY,ellipse:r.Pp,image:r._V,line:r.N1,polygon:r.tS,polyline:r.Ro,html:r.g3}},64073:e=>{"use strict";function t(e){var t,n,r;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/,r={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":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.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":r,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=[]},64317:(e,t,n)=>{"use strict";function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}n.d(t,{m:()=>r})},64384:e=>{var t="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="['’]",s="["+a+"]",l="["+r+"]",c="[^"+t+a+"\\d+"+n+r+i+"]",u="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",h="["+i+"]",p="(?:"+l+"|"+c+")",f="(?:"+h+"|"+c+")",g="(?:"+o+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+o+"(?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",y="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+t+"]",u,d].join("|")+")"+y+b+")*",E="(?:"+["["+n+"]",u,d].join("|")+")"+(y+b+v),_=RegExp([h+"?"+l+"+"+g+"(?="+[s,h,"$"].join("|")+")",f+"+"+m+"(?="+[s,h+p,"$"].join("|")+")",h+"?"+p+"+"+g,h+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",E].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},64541:e=>{"use strict";function t(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=n,this.p2y=r}e.exports=t,t.prototype={sampleCurveX:function(e){return((this.ax*e+this.bx)*e+this.cx)*e},sampleCurveY:function(e){return((this.ay*e+this.by)*e+this.cy)*e},sampleCurveDerivativeX:function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},solveCurveX:function(e,t){if(void 0===t&&(t=1e-6),e<0)return 0;if(e>1)return 1;for(var n=e,r=0;r<8;r++){var i=this.sampleCurveX(n)-e;if(Math.abs(i)Math.abs(a))break;n-=i/a}var o=0,s=1;for(r=0,n=e;r<20&&!(Math.abs((i=this.sampleCurveX(n))-e)i?o=n:s=n,n=(s-o)*.5+o;return n},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}}},64659:(e,t,n)=>{"use strict";function r(e,t="utf8"){return new TextDecoder(t).decode(e)}n.d(t,{D4:()=>R});let i=new TextEncoder,a=(()=>{let e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),o={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class s{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);let r=t.offset?t.offset>>>0:0,i=e.byteLength-r,a=r;(ArrayBuffer.isView(e)||e instanceof s)&&(e.byteLength!==e.buffer.byteLength&&(a=e.byteOffset+r),e=e.buffer),n?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=e,this.length=i,this.byteLength=i,this.byteOffset=a,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,a,i),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let e=this._marks.pop();if(void 0===e)throw Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){let t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){let n=o[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+n);if(this.littleEndian===a&&"uint8"!==t&&"int8"!==t){let e=new Uint8Array(this.buffer.slice(r,r+n));e.reverse();let i=new o[t](e.buffer);return this.offset+=n,i.reverse(),i}let s=new o[t](i);return this.offset+=n,s}readInt16(){let e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){let e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){let e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){let e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){let e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){let e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){let e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){let e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;nthis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}var l,c=n(39959);let u=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=0xedb88320^t>>>1:t>>>=1;u[e]=t}function d(e,t,n){let r=e.readUint32(),i=(0xffffffff^function(e,t,n){let r=0xffffffff;for(let e=0;e>>8;return r}(0,new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t))>>>0;if(i!==r)throw Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${i}`)}function h(e,t,n){for(let r=0;r>1)&255}else{for(;a>1)&255;for(;a>1)&255}}function m(e,t,n,r,i){let a=0;if(0===n.length){for(;a>8&255}return e}}let _=Uint8Array.of(137,80,78,71,13,10,26,10);function x(e){if(!function(e){if(e.length<_.length)return!1;for(let t=0;t<_.length;t++)if(e[t]!==_[t])return!1;return!0}(e.readBytes(_.length)))throw Error("wrong PNG signature")}let A=new TextDecoder("latin1"),S=/^[\u0000-\u00FF]*$/;function w(e){for(e.mark();0!==e.readByte(););let t=e.offset;e.reset();let n=A.decode(e.readBytes(t-e.offset-1));e.skip(1);if(function(e){if(!S.test(e))throw Error("invalid latin1 text")}(n),0===n.length||n.length>79)throw Error("keyword length must be between 1 and 79");return n}let O={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},C={UNKNOWN:-1,DEFLATE:0},k={UNKNOWN:-1,ADAPTIVE:0},M={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},L={NONE:0,BACKGROUND:1,PREVIOUS:2},I={SOURCE:0,OVER:1};class N extends s{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);let{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new c.EL,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=C.UNKNOWN,this._filterMethod=k.UNKNOWN,this._interlaceMethod=M.UNKNOWN,this._colorType=O.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(x(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(x(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){let n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":!function(e,t,n){var r,i;let a=w(t);e[a]=(r=t,i=n-a.length-1,A.decode(r.readBytes(i)))}(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?d(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){let n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?d(this,e+4,t):this.skip(4)}decodeIHDR(){let e,t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw Error(`invalid bit depth: ${e}`);return e}(this.readUint8());let n=this.readUint8();switch(this._colorType=n,n){case O.GREYSCALE:e=1;break;case O.TRUECOLOUR:e=3;break;case O.INDEXED_COLOUR:e=1;break;case O.GREYSCALE_ALPHA:e=2;break;case O.TRUECOLOUR_ALPHA:e=4;break;case O.UNKNOWN:default:throw Error(`Unknown color type: ${n}`)}if(this._png.channels=e,this._compressionMethod=this.readUint8(),this._compressionMethod!==C.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);let t=e/3;this._hasPalette=!0;let n=[];this._palette=n;for(let e=0;ethis._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;tthis._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case I.SOURCE:for(let n=0;n=n)&&!(o>=r))for(let e=0;e>8&255}return e}}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:L.NONE,blendOp:I.SOURCE,data:e}),this._inflator=new c.EL,this._writingDataChunks=!1}}function R(e,t){return new N(e,t).decode()}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"}(l||(l={}))},64664:(e,t,n)=>{"use strict";n.d(t,{$A:()=>v,Bw:()=>o,C:()=>l,Cc:()=>E,Il:()=>k,Om:()=>y,Re:()=>d,S8:()=>b,T9:()=>f,WQ:()=>u,Z0:()=>_,aI:()=>w,ei:()=>x,fA:()=>s,g7:()=>S,gL:()=>A,hZ:()=>c,hs:()=>g,jb:()=>O,jk:()=>p,lw:()=>h,o8:()=>a,vt:()=>i,xg:()=>C,ze:()=>m});var r=n(31142);function i(){var e=new r.tb(3);return r.tb!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function a(e){var t=new r.tb(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(e){var t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t,n){var i=new r.tb(3);return i[0]=e,i[1]=t,i[2]=n,i}function l(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function c(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function d(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function h(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function f(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function m(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){var n=t[0],r=t[1],i=t[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),e[0]=t[0]*a,e[1]=t[1]*a,e[2]=t[2]*a,e}function y(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function v(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[0],s=n[1],l=n[2];return e[0]=i*l-a*s,e[1]=a*o-r*l,e[2]=r*s-i*o,e}function E(e,t,n,r){var i=t[0],a=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e[2]=o+r*(n[2]-o),e}function _(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,e[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,e[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,e[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,e}function x(e,t,n){var r=t[0],i=t[1],a=t[2];return e[0]=r*n[0]+i*n[3]+a*n[6],e[1]=r*n[1]+i*n[4]+a*n[7],e[2]=r*n[2]+i*n[5]+a*n[8],e}function A(e,t,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=t[0],l=t[1],c=t[2],u=i*c-a*l,d=a*s-r*c,h=r*l-i*s;return u+=u,d+=d,h+=h,e[0]=s+o*u+i*h-a*d,e[1]=l+o*d+a*u-r*h,e[2]=c+o*h+r*d-i*u,e}function S(e,t){var n=e[0],r=e[1],i=e[2],a=t[0],o=t[1],s=t[2],l=Math.sqrt((n*n+r*r+i*i)*(a*a+o*o+s*s));return Math.acos(Math.min(Math.max(l&&y(e,t)/l,-1),1))}function w(e,t){var n=e[0],i=e[1],a=e[2],o=t[0],s=t[1],l=t[2];return Math.abs(n-o)<=r.p8*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-s)<=r.p8*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-l)<=r.p8*Math.max(1,Math.abs(a),Math.abs(l))}var O=d,C=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)},k=o;i()},65142:(e,t,n)=>{"use strict";e.exports=n(57859)({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},65158:(e,t,n)=>{"use strict";function r(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}n.d(t,{c:()=>r})},65188:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(80628),i=n(95155);let a=(0,r.A)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"CloseOutlined")},65192:(e,t,n)=>{"use strict";n.d(t,{vM:()=>e5,qB:()=>e8,QY:()=>e6,q8:()=>e4,Zp:()=>e3,E:()=>tu,l_:()=>td,HR:()=>e9,qX:()=>e7});var r={};n.r(r),n.d(r,{interpolateBlues:()=>ep,interpolateBrBG:()=>S,interpolateBuGn:()=>G,interpolateBuPu:()=>W,interpolateCividis:()=>eS,interpolateCool:()=>ej,interpolateCubehelixDefault:()=>eP,interpolateGnBu:()=>q,interpolateGreens:()=>eg,interpolateGreys:()=>eb,interpolateInferno:()=>eY,interpolateMagma:()=>eq,interpolateOrRd:()=>Z,interpolateOranges:()=>eA,interpolatePRGn:()=>O,interpolatePiYG:()=>k,interpolatePlasma:()=>eZ,interpolatePuBu:()=>J,interpolatePuBuGn:()=>K,interpolatePuOr:()=>L,interpolatePuRd:()=>et,interpolatePurples:()=>ev,interpolateRainbow:()=>eF,interpolateRdBu:()=>N,interpolateRdGy:()=>P,interpolateRdPu:()=>er,interpolateRdYlBu:()=>j,interpolateRdYlGn:()=>F,interpolateReds:()=>e_,interpolateSinebow:()=>eG,interpolateSpectral:()=>U,interpolateTurbo:()=>e$,interpolateViridis:()=>eV,interpolateWarm:()=>eD,interpolateYlGn:()=>es,interpolateYlGnBu:()=>ea,interpolateYlOrBr:()=>ec,interpolateYlOrRd:()=>ed,schemeAccent:()=>d,schemeBlues:()=>eh,schemeBrBG:()=>A,schemeBuGn:()=>H,schemeBuPu:()=>$,schemeCategory10:()=>u,schemeDark2:()=>h,schemeGnBu:()=>V,schemeGreens:()=>ef,schemeGreys:()=>em,schemeObservable10:()=>p,schemeOrRd:()=>Y,schemeOranges:()=>ex,schemePRGn:()=>w,schemePaired:()=>f,schemePastel1:()=>g,schemePastel2:()=>m,schemePiYG:()=>C,schemePuBu:()=>Q,schemePuBuGn:()=>X,schemePuOr:()=>M,schemePuRd:()=>ee,schemePurples:()=>ey,schemeRdBu:()=>I,schemeRdGy:()=>R,schemeRdPu:()=>en,schemeRdYlBu:()=>D,schemeRdYlGn:()=>B,schemeReds:()=>eE,schemeSet1:()=>b,schemeSet2:()=>y,schemeSet3:()=>v,schemeSpectral:()=>z,schemeTableau10:()=>E,schemeYlGn:()=>eo,schemeYlGnBu:()=>ei,schemeYlOrBr:()=>el,schemeYlOrRd:()=>eu});var i=n(14438),a=n(96474),o=n(2423),s=n(81036),l=n(57626);function c(e){for(var t=e.length/6|0,n=Array(t),r=0;r(0,_.Ik)(e[e.length-1]);var A=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(c);let S=x(A);var w=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(c);let O=x(w);var C=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(c);let k=x(C);var M=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(c);let L=x(M);var I=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(c);let N=x(I);var R=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(c);let P=x(R);var D=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(c);let j=x(D);var B=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(c);let F=x(B);var z=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(c);let U=x(z);var H=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(c);let G=x(H);var $=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(c);let W=x($);var V=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(c);let q=x(V);var Y=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(c);let Z=x(Y);var X=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(c);let K=x(X);var Q=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(c);let J=x(Q);var ee=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(c);let et=x(ee);var en=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(c);let er=x(en);var ei=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(c);let ea=x(ei);var eo=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(c);let es=x(eo);var el=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(c);let ec=x(el);var eu=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(c);let ed=x(eu);var eh=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(c);let ep=x(eh);var ef=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(c);let eg=x(ef);var em=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(c);let eb=x(em);var ey=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(c);let ev=x(ey);var eE=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(c);let e_=x(eE);var ex=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(c);let eA=x(ex);function eS(e){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(e=Math.max(0,Math.min(1,e)))*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"}var ew=n(71609),eT=n(61341),eO=Math.PI/180,eC=180/Math.PI,ek=-1.78277*.29227-.1347134789;function eM(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof eL)return new eL(e.h,e.s,e.l,e.opacity);e instanceof eT.Gw||(e=(0,eT.b)(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(ek*r+-1.7884503806*t-3.5172982438*n)/(ek+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),s=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),l=s?Math.atan2(o,a)*eC-120:NaN;return new eL(l<0?l+360:l,s,i,e.opacity)}(e):new eL(e,t,n,null==r?1:r)}function eL(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,ew.A)(eL,eM,(0,ew.X)(eT.Q1,{brighter:function(e){return e=null==e?eT.Uw:Math.pow(eT.Uw,e),new eL(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?eT.ef:Math.pow(eT.ef,e),new eL(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*eO,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new eT.Gw(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(-.29227*r+-.90649*i)),255*(t+1.97294*r*n),this.opacity)}}));var eI=n(40897);function eN(e){return function t(n){function r(t,r){var i=e((t=eM(t)).h,(r=eM(r)).h),a=(0,eI.Ay)(t.s,r.s),o=(0,eI.Ay)(t.l,r.l),s=(0,eI.Ay)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(Math.pow(e,n)),t.opacity=s(e),t+""}}return n*=1,r.gamma=t,r}(1)}eN(eI.lG);var eR=eN(eI.Ay);let eP=eR(eM(300,.5,0),eM(-240,.5,1));var eD=eR(eM(-100,.75,.35),eM(80,1.5,.8)),ej=eR(eM(260,.75,.35),eM(80,1.5,.8)),eB=eM();function eF(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return eB.h=360*e-100,eB.s=1.5-1.5*t,eB.l=.8-.9*t,eB+""}var ez=(0,eT.Qh)(),eU=Math.PI/3,eH=2*Math.PI/3;function eG(e){var t;return ez.r=255*(t=Math.sin(e=(.5-e)*Math.PI))*t,ez.g=255*(t=Math.sin(e+eU))*t,ez.b=255*(t=Math.sin(e+eH))*t,ez+""}function e$(e){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(e=Math.max(0,Math.min(1,e)))*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"}function eW(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}let eV=eW(c("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var eq=eW(c("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),eY=eW(c("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),eZ=eW(c("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),eX=n(14837),eK=n(83369),eQ=n(22911),eJ=n(128),e0=n(79135),e1=n(99186),e2=n(38414);function e3(e,t,n,o,s,l){let{guide:c={}}=n,u=function(e,t,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:s}=n;if(void 0!==r)return r;return tc(t,e0.L_)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?ti(e,s):void 0!==i?ts([i])?ti(e,s):tl(t)?"time":ta(e,a,o):ts(t)?ti(e,s):tl(t)?"time":ta(e,a,o)}(e,t,n);if("string"!=typeof u)return n;let d=function(e,t,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return to(function(e,t){let{zero:n=!1}=t,r=1/0,i=-1/0;for(let t of e)for(let e of t)(0,e0.sw)(e)&&(r=Math.min(r,+e),i=Math.max(i,+e));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return to(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)(0,e0.sw)(e)&&(t=Math.min(t,+e),n=Math.max(n,+e));return t===1/0?[]:[t<0?-n:t,n]}(n),r);default:return[]}}(u,0,t,n),h=function(e,t,n){let{ratio:r}=n;return null==r?t:tt({type:e})?function(e,t,n){let r=e.map(Number),a=new i.W({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return"time"===n?e.map(e=>new Date(a.map(e))):e.map(e=>a.map(e))}(t,r,e):tn({type:e})?function(e,t){let n=Math.round(e.length*t);return e.slice(0,n)}(t,r):t}(u,d,n);return Object.assign(Object.assign(Object.assign({},n),function(e,t,n,i,o){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":var s=i;let{interpolate:l=a.Hx,nice:c=!1,tickCount:u=5}=s;return Object.assign(Object.assign({},s),{interpolate:l,nice:c,tickCount:u});case"band":case"point":return function(e,t,n,r){var i,a,o;if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let s=(i=e,a=t,o=n,"enterDelay"===a||"enterDuration"===a||"size"===a?0:"band"===i?.1*!(0,e1.Zf)(o):.5*("point"===i)),{paddingInner:l=s,paddingOuter:c=s}=r;return Object.assign(Object.assign({},r),{paddingInner:l,paddingOuter:c,padding:s,unknown:NaN})}(e,t,o,i);case"sequential":var d=i;let{palette:h="ylGnBu",offset:p}=d,f=(0,eQ.A)(h),g=r[`interpolate${f}`];if(!g)throw Error(`Unknown palette: ${f}`);return{interpolator:p?e=>g(p(e)):g};default:return i}}(u,e,0,n,o)),{domain:h,range:function(e,t,n,r,i,a,o){let{range:s}=r;if("string"==typeof s)return s.split("-");if(void 0!==s)return s;let{rangeMin:l,rangeMax:c}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{var u,d;let[e,s]=(u=t,d=tr(n,r,i,a,o),"enterDelay"===u?[0,1e3]:"enterDuration"==u?[300,1e3]:u.startsWith("y")||u.startsWith("position")?[1,0]:"color"===u?[(0,eJ.Ku)(d),(0,eJ.g1)(d)]:"opacity"===u?[0,1]:"size"===u?[1,10]:[0,1]);return[null!=l?l:e,null!=c?c:s]}case"band":case"point":{let e=5*("size"===t),n="size"===t?10:1;return[null!=l?l:e,null!=c?c:n]}case"ordinal":return tr(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(u,e,t,n,h,s,l),expectedDomain:d,guide:c,name:e,type:u})}function e5(e,t){let n={};for(let r of e){let{values:e,name:i}=r,a=t[i];for(let t of e){let{name:e,value:r}=t;n[e]=r.map(e=>a.map(e))}}return n}function e4(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels);(0,o.i8)(n,e=>e.map(e=>t.get(e.scale.uid)),e=>e.name).filter(([,e])=>e.some(e=>"function"==typeof e.getOptions().groupTransform)&&e.every(e=>e.getTicks)).map(e=>e[1]).forEach(e=>{(0,e.map(e=>e.getOptions().groupTransform)[0])(e)})}function e6(e,t){var n;let{components:r=[]}=t,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(e.flatMap(e=>e.channels.map(e=>e.scale)))),o=new Map(a.map(e=>[e.name,e]));for(let e of r)for(let t of function(e){let{channels:t=[],type:n,scale:r={}}=e,i=["shape","color","opacity","size"];return 0!==t.length?t:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(e=>i.includes(e)):[]}(e)){let r=o.get(t),s=(null==(n=e.scale)?void 0:n[t])||{},{independent:l=!1}=s;if(r&&!l){let{guide:t}=r,n="boolean"==typeof t?{}:t;r.guide=(0,eX.A)({},n,e),Object.assign(r,s)}else{let n=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:t,guide:(0,eK.A)(e,i)});a.push(n)}}return a}function e8(e,t){let n=Object.keys(e);for(let r of Object.values(t)){let{name:t}=r.getOptions();if(t in e){let i=n.filter(e=>e.startsWith(t)).map(e=>+(e.replace(t,"")||0)),a=(0,s.A)(i)+1,o=`${t}${a}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function e7(e,t){let n,r,[i]=(0,e2.t)("scale",t),{relations:a}=e,[o]=a&&Array.isArray(a)?[e=>{var t;n=e.map.bind(e),r=null==(t=e.invert)?void 0:t.bind(e);let i=a.filter(([e])=>"function"==typeof e),o=a.filter(([e])=>"function"!=typeof e),s=new Map(o);if(e.map=e=>{for(let[t,n]of i)if(t(e))return n;return s.has(e)?s.get(e):n(e)},!r)return e;let l=new Map(o.map(([e,t])=>[t,e])),c=new Map(i.map(([e,t])=>[t,e]));return e.invert=e=>c.has(e)?e:l.has(e)?l.get(e):r(e),e},e=>(null!==n&&(e.map=n),null!==r&&(e.invert=r),e)]:[e0.D_,e0.D_];return o(i(e))}function e9(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));te(t,"x"),te(t,"y")}function te(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),i=n.every(tt)?(0,l.A)(r):n.every(tn)?Array.from(new Set(r)):null;if(null!==i)for(let e of n)e.domain=i}function tt(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function tn(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function tr(e,t,n,i,a){let[o]=(0,e2.t)("palette",a),{category10:s,category20:l}=i,c=(0,eJ.Am)(n).length<=s.length?s:l,{palette:u=c,offset:d}=t;if(Array.isArray(u))return u;try{return o({type:u})}catch(t){let e=function(e,t,n=e=>e){if(!e)return null;let i=(0,eQ.A)(e),a=r[`scheme${i}`],o=r[`interpolate${i}`];if(!a&&!o)return null;if(a){if(!a.some(Array.isArray))return a;let e=a[t.length];if(e)return e}return t.map((e,r)=>o(n(r/t.length)))}(u,n,d);if(e)return e;throw Error(`Unknown Component: ${u} `)}}function ti(e,t){var n;return t||((n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||n.startsWith("size")?"point":"ordinal")}function ta(e,t,n){return n||("color"!==e||t?"linear":"sequential")}function to(e,t){if(0===e.length)return e;let{domainMin:n,domainMax:r}=t,[i,a]=e;return[null!=n?n:i,null!=r?r:a]}function ts(e){return tc(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function tl(e){return tc(e,e=>e instanceof Date)}function tc(e,t){for(let n of e)if(n.some(t))return!0;return!1}function tu(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||"enterDelay"===e||"enterDuration"===e||"updateDelay"===e||"updateDuration"===e||"exitDelay"===e||"exitDuration"===e}function td(e){if(!e||!e.type)return!1;if("function"==typeof e.type)return!0;let{type:t,domain:n,range:r,interpolator:i}=e,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&a&&o||["sequential"].includes(t)&&a&&(o||i)||["constant","identity"].includes(t)&&o)}},65232:(e,t,n)=>{"use strict";n.d(t,{WU:()=>l,gd:()=>a,jD:()=>s});var r=n(75185);let i={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function a(e,t){let n;return(0,r.o)(e,e=>{var r;return"g"!==e.tagName&&(null==(r=e.style)?void 0:r[t])!==void 0&&(n=e.style[t],!0)}),null!=n?n:i[t]}function o(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>o(e,t,n,r))}function s(e){o(e,"visibility","hidden",!0)}function l(e){o(e,"visibility","visible",!0)}},65253:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z",fill:t}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z",fill:e}}]}},name:"clock-circle",theme:"twotone"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},65933:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(27061),i=n(30857),a=n(28383),o=n(78096),s=n(38289),l=n(39996),c=n(42115),u=n(94251),d=n(69047),h=function(){function e(t){(0,i.A)(this,e),this.dragndropPluginOptions=t}return(0,a.A)(e,[{key:"apply",value:function(t){var n=this,r=t.renderingService,i=t.renderingContext.root.ownerDocument,a=i.defaultView,o=function(e){var t=e.target,r=t===i,o=r&&n.dragndropPluginOptions.isDocumentDraggable?i:t.closest&&t.closest("[draggable=true]");if(o){var s,l=!1,h=e.timeStamp,p=[e.clientX,e.clientY],f=null,g=[e.clientX,e.clientY],m=(s=(0,u.A)((0,c.A)().mark(function e(a){var s,u,m,b,y,v;return(0,c.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l){e.next=2;break}if(s=a.timeStamp-h,u=(0,d.F)([a.clientX,a.clientY],p),!(s<=n.dragndropPluginOptions.dragstartTimeThreshold||u<=n.dragndropPluginOptions.dragstartDistanceThreshold)){e.next=1;break}return e.abrupt("return");case 1:a.type="dragstart",o.dispatchEvent(a),l=!0;case 2:if(a.type="drag",a.dx=a.clientX-g[0],a.dy=a.clientY-g[1],o.dispatchEvent(a),g=[a.clientX,a.clientY],r){e.next=4;break}return m="pointer"===n.dragndropPluginOptions.overlap?[a.canvasX,a.canvasY]:t.getBounds().center,e.next=3,i.elementsFromPoint(m[0],m[1]);case 3:v=(null==(y=(b=e.sent)[b.indexOf(t)+1])?void 0:y.closest("[droppable=true]"))||(n.dragndropPluginOptions.isDocumentDroppable?i:null),f!==v&&(f&&(a.type="dragleave",a.target=f,f.dispatchEvent(a)),v&&(a.type="dragenter",a.target=v,v.dispatchEvent(a)),(f=v)&&(a.type="dragover",a.target=f,f.dispatchEvent(a)));case 4:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)});a.addEventListener("pointermove",m);var b=function(e){if(l){e.detail={preventClick:!0};var t=e.clone();f&&(t.type="drop",t.target=f,f.dispatchEvent(t)),t.type="dragend",o.dispatchEvent(t),l=!1}a.removeEventListener("pointermove",m)};t.addEventListener("pointerup",b,{once:!0}),t.addEventListener("pointerupoutside",b,{once:!0})}};r.hooks.init.tap(e.tag,function(){a.addEventListener("pointerdown",o)}),r.hooks.destroy.tap(e.tag,function(){a.removeEventListener("pointerdown",o)})}}])}();h.tag="Dragndrop";var p=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)(this,t),(e=(0,o.A)(this,t)).name="dragndrop",e.options=n,e}return(0,s.A)(t,e),(0,a.A)(t,[{key:"init",value:function(){this.addRenderingPlugin(new h((0,r.A)({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))}},{key:"destroy",value:function(){this.removeAllRenderingPlugins()}},{key:"setOptions",value:function(e){Object.assign(this.plugins[0].dragndropPluginOptions,e)}}])}(l.V1)},66032: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=[]},66393:(e,t,n)=>{"use strict";n.d(t,{v:()=>tl});var r,i,a=n(86372),o=n(86815),s=n(65933),l=n(8095),c=n(63880),u=n(78743),d=n(2423),h=n(14837),p=n(63975),f=n(77229);let g={abs:Math.abs,ceil:Math.ceil,floor:Math.floor,max:Math.max,min:Math.min,round:Math.round,sqrt:Math.sqrt,pow:Math.pow};class m extends Error{constructor(e,t,n){super(e),this.position=t,this.token=n,this.name="ExpressionError"}}!function(e){e[e.STRING=0]="STRING",e[e.NUMBER=1]="NUMBER",e[e.BOOLEAN=2]="BOOLEAN",e[e.NULL=3]="NULL",e[e.IDENTIFIER=4]="IDENTIFIER",e[e.OPERATOR=5]="OPERATOR",e[e.FUNCTION=6]="FUNCTION",e[e.DOT=7]="DOT",e[e.BRACKET_LEFT=8]="BRACKET_LEFT",e[e.BRACKET_RIGHT=9]="BRACKET_RIGHT",e[e.PAREN_LEFT=10]="PAREN_LEFT",e[e.PAREN_RIGHT=11]="PAREN_RIGHT",e[e.COMMA=12]="COMMA",e[e.QUESTION=13]="QUESTION",e[e.COLON=14]="COLON",e[e.DOLLAR=15]="DOLLAR"}(r||(r={}));let b=new Set([32,9,10,13]),y=new Set([43,45,42,47,37,33,38,124,61,60,62]),v=new Map([["true",r.BOOLEAN],["false",r.BOOLEAN],["null",r.NULL]]),E=new Map([["===",!0],["!==",!0],["<=",!0],[">=",!0],["&&",!0],["||",!0],["+",!0],["-",!0],["*",!0],["/",!0],["%",!0],["!",!0],["<",!0],[">",!0]]),_=new Map([[46,r.DOT],[91,r.BRACKET_LEFT],[93,r.BRACKET_RIGHT],[40,r.PAREN_LEFT],[41,r.PAREN_RIGHT],[44,r.COMMA],[63,r.QUESTION],[58,r.COLON],[36,r.DOLLAR]]),x=new Map;for(let[e,t]of _.entries())x.set(e,{type:t,value:String.fromCharCode(e)});function A(e){return e>=48&&e<=57}function S(e){return e>=97&&e<=122||e>=65&&e<=90||95===e}!function(e){e[e.Program=0]="Program",e[e.Literal=1]="Literal",e[e.Identifier=2]="Identifier",e[e.MemberExpression=3]="MemberExpression",e[e.CallExpression=4]="CallExpression",e[e.BinaryExpression=5]="BinaryExpression",e[e.UnaryExpression=6]="UnaryExpression",e[e.ConditionalExpression=7]="ConditionalExpression"}(i||(i={}));let w=new Map([["||",2],["&&",3],["===",4],["!==",4],[">",5],[">=",5],["<",5],["<=",5],["+",6],["-",6],["*",7],["/",7],["%",7],["!",8]]),O={type:i.Literal,value:null},C={type:i.Literal,value:!0},k={type:i.Literal,value:!1};var M=n(7006),L=n(57608),I=function(e){return e};let N=function(e,t){void 0===t&&(t=I);var n={};return(0,L.A)(e)&&!(0,M.A)(e)&&Object.keys(e).forEach(function(r){n[r]=t(e[r],r)}),n};var R=n(59728);let P=["style","encode","labels","children"],D=(0,R.g)(e=>{let t=function(e){let t=(e=>{let t=0,n=e.length,a=()=>t>=n?null:e[t],o=()=>e[t++],s=e=>{let t=a();return null!==t&&t.type===e},l=e=>e.type===r.OPERATOR?w.get(e.value)||-1:e.type===r.DOT||e.type===r.BRACKET_LEFT?9:e.type===r.QUESTION?1:-1,c=e=>{let n,l;if(o().type===r.DOT){if(!s(r.IDENTIFIER)){let e=a();throw new m("Expected property name",t,e?e.value:"")}let e=o();n={type:i.Identifier,name:e.value},l=!1}else{if(n=d(0),!s(r.BRACKET_RIGHT)){let e=a();throw new m("Expected closing bracket",t,e?e.value:"")}o(),l=!0}return{type:i.MemberExpression,object:e,property:n,computed:l}},u=()=>{let e=a();if(!e)throw new m("Unexpected end of input",t,"");if(e.type===r.OPERATOR&&("!"===e.value||"-"===e.value)){o();let t=u();return{type:i.UnaryExpression,operator:e.value,argument:t,prefix:!0}}switch(e.type){case r.NUMBER:return o(),{type:i.Literal,value:Number(e.value)};case r.STRING:return o(),{type:i.Literal,value:e.value};case r.BOOLEAN:return o(),"true"===e.value?C:k;case r.NULL:return o(),O;case r.IDENTIFIER:return o(),{type:i.Identifier,name:e.value};case r.FUNCTION:return(()=>{let e=o(),n=[];if(!s(r.PAREN_LEFT)){let e=a();throw new m("Expected opening parenthesis after function name",t,e?e.value:"")}for(o();;){if(s(r.PAREN_RIGHT)){o();break}if(!a()){let e=a();throw new m("Expected closing parenthesis",t,e?e.value:"")}if(n.length>0){if(!s(r.COMMA)){let e=a();throw new m("Expected comma between function arguments",t,e?e.value:"")}o()}let e=d(0);n.push(e)}return{type:i.CallExpression,callee:{type:i.Identifier,name:e.value},arguments:n}})();case r.PAREN_LEFT:{o();let e=d(0);if(!s(r.PAREN_RIGHT)){let e=a();throw new m("Expected closing parenthesis",t,e?e.value:"")}return o(),e}default:throw new m(`Unexpected token: ${e.type}`,t,e.value)}},d=(h=0)=>{let p=u();for(;t")}o();let n=d(0);p={type:i.ConditionalExpression,test:p,consequent:e,alternate:n}}}return p},h=d();return{type:i.Program,body:h}})((e=>{let t=e.length,n=Array(Math.ceil(t/3)),i=0,a=0;for(;a({context:e,functions:t}))({},g);return (e={})=>((e,t,n)=>{let r=t;n&&(r={...t,context:{...t.context,...n}});let a=e=>{switch(e.type){case i.Literal:return e.value;case i.Identifier:var t=e;if(!(t.name in r.context))throw new m(`Undefined variable: ${t.name}`);return r.context[t.name];case i.MemberExpression:var n=e;let o=a(n.object);if(null==o)throw new m("Cannot access property of null or undefined");return o[n.computed?a(n.property):n.property.name];case i.CallExpression:var s=e;let l=r.functions[s.callee.name];if(!l)throw new m(`Undefined function: ${s.callee.name}`);return l(...s.arguments.map(e=>a(e)));case i.BinaryExpression:var c=e;if("&&"===c.operator){let e=a(c.left);return e?a(c.right):e}if("||"===c.operator)return a(c.left)||a(c.right);let u=a(c.left),d=a(c.right);switch(c.operator){case"+":return u+d;case"-":return u-d;case"*":return u*d;case"/":return u/d;case"%":return u%d;case"===":return u===d;case"!==":return u!==d;case">":return u>d;case">=":return u>=d;case"<":return u{let n=Array.from({length:e.length},(e,t)=>String.fromCharCode(97+t)),r=Object.fromEntries(e.map((e,t)=>[n[t],e]));return t(Object.assign(Object.assign({},r),{global:Object.assign({},r)}))}},e=>e,128);var j=n(50636),B=n(22911),F=n(59829),z=n(128),U=n(79135),H=n(9681),G=n(15581),$=n(81036),W=n(39480),V=n(97819),q=n(40638),Y=n(18961),Z=n(99186),X=n(38414),K=n(65192);let Q={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},J={threshold:"threshold",quantize:"quantize",quantile:"quantile"},ee={ordinal:"ordinal",band:"band",point:"point"},et={constant:"constant"};var en=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};function er(e,t,n,r,i){let[a]=(0,X.t)("component",r),{scaleInstances:o,scale:s,bbox:l}=e;return a(en(e,["scaleInstances","scale","bbox"]))({coordinate:t,library:r,markState:i,scales:o,theme:n,value:{bbox:l,library:r},scale:s})}function ei(e,t){let n=["left","right","bottom","top"];return(0,d.TN)(e,({type:e,position:t,group:r})=>n.includes(t)?void 0===r?e.startsWith("legend")?`legend-${t}`:Symbol("independent"):"independent"===r?Symbol("independent"):r:Symbol("independent")).flatMap(([,e])=>{if(1===e.length)return e[0];if(void 0!==t){let n=e.filter(e=>void 0!==e.length).map(e=>e.length),r=(0,G.A)(n);if(r>t)return e.forEach(e=>e.group=Symbol("independent")),e;let i=(t-r)/(e.length-n.length);e.forEach(e=>{void 0===e.length&&(e.length=i)})}let n=(0,$.A)(e,e=>e.size),r=(0,$.A)(e,e=>e.order),i=(0,$.A)(e,e=>e.crossPadding);return{type:"group",size:n,order:r,position:e[0].position,children:e,crossPadding:i}})}function ea(e){let t=(0,Z.T)(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=(0,W.X)(e);return[n,r]}let n=(0,Z.T)(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=(0,V.u)(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function eo(e,t,n,r,i,a){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?function(e,t,n,r,i,a){var o,s;e.transform=e.transform||[{type:"hide"}];let l="left"===r||"right"===r,c=eu(e,r,i),{tickLength:u=0,labelSpacing:d=0,titleSpacing:h=0,labelAutoRotate:p}=c,f=en(c,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),g=es(e,a),m=el(f,g),b=u;"function"==typeof e.tickLength&&(b=Math.max(...((null==(o=g.getTicks)?void 0:o.call(g))||g.getOptions().domain).map((t,n,r)=>e.tickLength(t,n,r)),0));let y=b+d;if(m&&m.length){let r=(0,$.A)(m,e=>e.width),i=(0,$.A)(m,e=>e.height);if(l)e.size=r+y;else{let{tickFilter:a,labelTransform:o}=e;(function(e,t,n,r,i){if((0,G.A)(t,e=>e.width)>n)return!0;let a=e.clone();a.update({range:[0,n]});let o=ed(e,i),s=o.map(e=>a.map(e)+(a.getBandWidth?a.getBandWidth(e)/2:0)),l=o.map((e,t)=>t),c=-r[0],u=n+r[1],d=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;eu)return!0;let i=s[e+1];if(i){let[n]=d(i,t[e+1]);if(r>n)return!0}}return!1})(g,m,t,n,a)&&!o&&!1!==p&&null!==p?(e.labelTransform="rotate(90)",e.size=r+y):(e.labelTransform=null!=(s=e.labelTransform)?s:"rotate(0)",e.size=i+y)}}else e.size=b;let v=ec(f);v&&(l?e.size+=h+v.width:e.size+=h+v.height)}:o.startsWith("group")?function(e,t,n,r,i,a){let{children:o}=e,s=(0,$.A)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>eo(e,t,n,r,i,a));let l=(0,$.A)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}:o.startsWith("legendContinuous")?function(e,t,n,r,i,a){let o=(()=>{let{legendContinuous:t}=i;return(0,h.A)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=en(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,{size:d}=(0,U.Uq)(c,"ribbon"),{size:p}=(0,U.Uq)(c,"handleIcon");e.size=Math.max(d,2.4*p);let f=el(c,es(e,a));if(f){let t=u?"width":"height",n=(0,$.A)(f,e=>e[t]);e.size+=n+s}let g=ec(c);g&&(u?e.size=Math.max(e.size,g.width):e.size+=l+g.height)}:"legendCategory"===o?function(e,t,n,r,i,a){let o=(()=>{let{legendCategory:t}=i,{title:n}=e,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,h.A)({title:r},t,Object.assign(Object.assign({},e),{title:a}))})(),{focus:s,itemSpacing:l,focusMarkerSize:c,itemMarkerSize:u,titleSpacing:d,rowPadding:p,colPadding:f,maxCols:g=1/0,maxRows:m=1/0}=o,b=en(o,["focus","itemSpacing","focusMarkerSize","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:y,length:v}=e,E=e=>Math.min(e,m),_=e=>Math.min(e,g),x="left"===r||"right"===r,A=void 0===v?t+(x?0:n[0]+n[1]):v,S=es(e,a),{render:w}=e;if(w&&"undefined"!=typeof document){let t=S.getOptions().domain,{labelFormatter:n}=b,r=w(t.map((e,t)=>({id:e,index:t,label:n?"string"==typeof n?(0,F.GP)(n)(e):n(e):`${e}`,value:e,color:S.map(e)})),b),i=document.createElement("div"),{width:a,height:o}=e,s={position:"absolute",visibility:"hidden",top:"-9999px"};a?s.width=`${a}px`:x||(s.width=`${A}px`),o?s.height=`${o}px`:x&&(s.height=`${A}px`),Object.assign(i.style,s),"string"==typeof r?i.innerHTML=r:r instanceof HTMLElement&&i.appendChild(r),document.body.appendChild(i);let l=i.getBoundingClientRect();document.body.removeChild(i),e.size=x?l.width:l.height;return}let O=ec(b),C=el(b,S,"itemLabel"),k=void 0!==b.itemValueText?el(b,S,"itemValue"):null,M=Math.max(C[0].height,u,...(null==k?void 0:k[0])?[k[0].height]:[])+p,L=(e,t=0)=>{let n=u+e+l[0]+t;return(null==k?void 0:k[0])&&(n+=k[0].width+l[1]),s&&(n+=c+l[2]),n};if(x)(()=>{let t=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,s=O?O.height:0,l=A-s;for(let{width:e}of C)t=Math.max(t,L(e,f)),n+M>l?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=M):(n+=M,i++);r<=1&&(a=i,o=n),e.size=t*_(r),e.length=o+s,(0,h.A)(e,{cols:_(r),gridRow:a})})();else if("number"==typeof y){let t=Math.ceil(C.length/y),n=(0,$.A)(C,e=>L(e.width))*y;e.size=M*E(t)-p,e.length=Math.min(n,A)}else{let t=1,n=0,r=-1/0;for(let{width:e}of C){let i=L(e,f);n+i>A?(r=Math.max(r,n),n=i,t++):n+=i}1===t&&(r=n),e.size=M*E(t)-p,e.length=r}O&&(x?e.size=Math.max(e.size,O.width):e.size+=d+O.height)}:o.startsWith("slider")?function(e,t,n,r,i,a){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=i;return(0,h.A)({},t,e)})();e.size=Math.max(o,2.4*s)}:"title"===o?function(e,t,n,r,i,a){let o=(0,h.A)({},i.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=en(o,["title","subtitle","spacing"]);if(s&&(e.size=eh(s,(0,U.Uq)(u,"title")).height),l){let t=eh(l,(0,U.Uq)(u,"subtitle"));e.size+=c+t.height}}:o.startsWith("scrollbar")?function(e,t,n,r,i,a){let{trackSize:o=6}=(0,h.A)({},i.scrollbar,e);e.size=o}:()=>{})(e,t,n,r,i,a)}function es(e,t){let[n]=(0,X.t)("scale",t),{scales:r,tickCount:i,tickMethod:a}=e,o=r.find(e=>"constant"!==e.type&&"identity"!==e.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function el(e,t,n="label"){let{labelFormatter:r,tickFilter:i,label:a=!0}=e,o=en(e,["labelFormatter","tickFilter","label"]);if(!a)return null;let s=function(e,t,n){let r=ed(e,n).map(e=>"number"==typeof e?(0,q.A)(e):e),i=t?"string"==typeof t?(0,F.GP)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return r.map(i)}(t,r,i),l=(0,U.Uq)(o,n),c=s.map((e,t)=>Object.fromEntries(Object.entries(l).map(([n,r])=>[n,"function"==typeof r?r(e,t):r]))),u=s.map((e,t)=>eh(e,c[t]));return c.some(e=>e.transform)||(e.indexBBox=new Map(s.map((e,t)=>t).map(e=>[e,[s[e],u[e]]]))),u}function ec(e){let{title:t}=e,n=en(e,["title"]);if(!1===t||null==t)return null;let r=(0,U.Uq)(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(t)?t.join(","):t;return"string"!=typeof o?null:eh(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}))}function eu(e,t,n){let{title:r}=e,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${(0,U.ND)(t)}`]:s}=n;return(0,h.A)({title:i},o,s,Object.assign(Object.assign({},e),{title:a}))}function ed(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function eh(e,t){var n;let r=(n=e)instanceof a.q9?n:new a.EY({style:{text:`${n}`}}),{filter:i}=t,o=en(t,["filter"]);return r.attr(Object.assign(Object.assign({},o),{visibility:"none"})),r.getBBox()}var ep=n(69644),ef=n(10574),eg=n(1736),em=n(70701),eb=n(81472),ey=n(10992),ev=n(14353),eE=n(14742);function e_(e,t,n,r,i,a,o){let s=(0,d.Ay)(e,e=>e.position),{padding:l=a.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:h=l,paddingTop:p=l}=i,f={paddingBottom:h,paddingLeft:c,paddingTop:p,paddingRight:u};for(let e of r){let r=`padding${(0,U.ND)((0,eE.x)(e))}`,i=s.get(e)||[],l=f[r],c=e=>{void 0===e.size&&(e.size=e.defaultSize)},u=e=>{"group"===e.type?(e.children.forEach(c),e.size=(0,$.A)(e.children,e=>e.size)):e.size=e.defaultSize},d=r=>{r.size||("auto"!==l?u(r):(eo(r,t,n,e,a,o),c(r)))},h=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},p="bottom"===e||"top"===e,g=(0,ef.A)(i,e=>e.order),m=i.filter(e=>e.type.startsWith("axis")&&e.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof l)i.forEach(c),i.forEach(h);else if(0===i.length)f[r]=0;else{let e=ei(i,p?t+n[0]+n[1]:t);e.forEach(d);let a=e.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=a}}return f}function ex({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:i,paddingBottom:a,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:f,insetTop:g}){let m=n+o,b=i+s,y=r+c,v=a+l,E=e-o-c,_=[m+p,b+g,d-p-f,u-g-h,"center",null,null];return{top:[m,0,d,b,"vertical",!0,eg.A,o,E],right:[e-y,b,y,u,"horizontal",!1,eg.A],bottom:[m,t-v,d,v,"vertical",!1,eg.A,o,E],left:[0,b,m,u,"horizontal",!0,eg.A],"top-left":[m,0,d,b,"vertical",!0,eg.A],"top-right":[m,0,d,b,"vertical",!0,eg.A],"bottom-left":[m,t-v,d,v,"vertical",!1,eg.A],"bottom-right":[m,t-v,d,v,"vertical",!1,eg.A],center:_,inner:_,outer:_}}var eA=n(52777),eS=n(4292),ew=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},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 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};function eO(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function eC(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,r=function(e){let{coordinate:t={},interaction:n={},style:r={},marks:i}=e,a=eT(e,["coordinate","interaction","style","marks"]),o=i.map(e=>e.coordinate||{}),s=i.map(e=>e.interaction||{}),l=i.map(e=>e.viewStyle||{}),c=[...o,t].reduceRight((e,t)=>(0,h.A)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,h.A)(e,t),{}),d=[...l,r].reduce((e,t)=>(0,h.A)(e,t),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:d})}((yield function(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,[r,i]=(0,X.t)("mark",n),a=new Set(Object.keys(n).map(e=>{var t;return null==(t=/component\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:d}=function(e){let{height:t,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:s=r,margin:l=16,marginLeft:c=l,marginRight:u=l,marginTop:d=l,marginBottom:h=l,inset:p=0,insetLeft:f=p,insetRight:g=p,insetTop:m=p,insetBottom:b=p}=e,y=e=>"auto"===e?20:e;return{width:n-y(i)-y(a)-c-u-f-g,height:t-y(o)-y(s)-d-h-m-b}}(e),h={options:e,width:u,height:d};for(;c.length;){let[e]=c.splice(0,1),n=yield eF(e,t),{type:o=(0,U.z3)("G2Mark type is required."),key:u}=n;if(a.has(o))l.push(n);else{let{props:e={}}=i(o),{composite:t=!0}=e;if(t){let{data:e}=n,t=Object.assign(Object.assign({},n),{data:e?Array.isArray(e)?e:e.value:e}),i=yield r(t,h),a=Array.isArray(i)?i:[i];c.unshift(...a.map((e,t)=>Object.assign(Object.assign({},e),{key:`${u}-${t}`})))}else s.push(n)}}return Object.assign(Object.assign({},e),{marks:s,components:l})})}(e,t)));e.interaction=r.interaction,e.coordinate=r.coordinate,e.marks=[...r.marks,...r.components];let i=(0,Z.dM)(r,n);return eL((yield ek(i,t)),i,n)})}function ek(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,[r]=(0,X.t)("theme",n),[,i]=(0,X.t)("mark",n),{theme:a,marks:o,coordinates:s=[]}=e,l=r(ej(a)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=i(n),a=yield(0,eA.W)(e,r,t);if(a){let[e,t]=a;c.set(e,t)}}for(let e of(0,d.Ay)(Array.from(c.values()).flatMap(e=>e.channels),({scaleKey:e})=>e).values()){let t=e.reduce((e,{scale:t})=>(0,h.A)(e,t),{}),{scaleKey:r}=e[0],{values:i}=e[0],a=Array.from(new Set(i.map(e=>e.field).filter(U.sw))),o=(0,h.A)({guide:{title:0===a.length?void 0:a},field:a[0]},t),{name:c}=e[0],u=e.flatMap(({values:e})=>e.map(e=>e.value)),d=Object.assign(Object.assign({},(0,K.Zp)(c,u,o,s,l,n)),{uid:Symbol("scale"),key:r});e.forEach(e=>e.scale=d)}return c})}function eM(e,t,n,r){let i=e.theme,a="string"==typeof t&&i[t]||{};return r((0,h.A)(a,Object.assign({type:t},n)))}function eL(e,t,n){var r;let[i]=(0,X.t)("mark",n),[a]=(0,X.t)("theme",n),[o]=(0,X.t)("labelTransform",n),{key:s,frame:l=!1,theme:u,clip:p,style:f={},labelTransform:g=[]}=t,m=a(ej(u)),b=Array.from(e.values()),y=(function(e,t,n){let{coordinates:r=[],title:i}=t,[,a]=(0,X.t)("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=(0,X.t)("component",n),{coordinates:i}=e;function a(e,t,n,a){let o=function(e,t,n=[]){return"x"===e?(0,Z.kH)(n)?`${t}Y`:`${t}X`:"y"===e?(0,Z.kH)(n)?`${t}X`:`${t}Y`:null}(t,e,i);if(!a||!o)return;let{props:s}=r(o),{defaultPosition:l,defaultSize:c,defaultOrder:u,defaultCrossPadding:[d]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:d},a),{scales:[n]})}return t.filter(e=>e.slider||e.scrollbar).flatMap(e=>{let{slider:t,scrollbar:n,name:r}=e;return[a("slider",r,e,t),a("scrollbar",r,e,n)]}).filter(e=>!!e)}(t,e,n);if(s.push(...l),i){let{props:e}=a("title"),{defaultPosition:t,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:l}=e;s.push(Object.assign({type:"title",position:t,orientation:n,order:r,crossPadding:l[0],defaultSize:o},"string"==typeof i?{title:i}:i))}return(function(e,t){let n=e.filter(e=>(0,K.l_)(e));return[...function(e,t){let n=["shape","size","color","opacity"],r=e.filter(({type:e,name:t})=>"string"==typeof e&&n.includes(t)&&("constant"!==e||"size"!==t)),i=r.filter(({type:e})=>"constant"===e),a=r.filter(({type:e})=>"constant"!==e),o=new Map((0,d.TN)(a,e=>e.field?e.field:Symbol("independent")).map(([e,t])=>[e,[...t,...i]]).filter(([,e])=>e.some(e=>"constant"!==e.type)));if(0===o.size)return[];let s=e=>e.sort(([e],[t])=>e.localeCompare(t));return Array.from(o).map(([,e])=>{let t=(0,z.kg)(e).sort((e,t)=>t.length-e.length).map(e=>({combination:e,option:e.map(e=>[e.name,function(e){let{type:t}=e;return"string"!=typeof t?null:t in Q?"continuous":t in ee?"discrete":t in J?"distribution":t in et?"constant":null}(e)])}));for(let{option:e,combination:n}of t)if(!e.every(e=>"constant"===e[1])&&e.every(e=>"discrete"===e[1]||"constant"===e[1]))return["legendCategory",n];for(let[e,n]of Y.Fm)for(let{option:r,combination:i}of t)if(n.some(e=>(0,H.A)(s(e),s(r))))return[e,i];return null}).filter(U.sw)}(n,0),...n.map(e=>{let{name:n}=e;if((0,Z.$4)(t)||(0,Z.Zf)(t)||(0,Z.kH)(t)&&((0,Z.pz)(t)||(0,Z.AO)(t)))return null;if(n.startsWith("x"))return(0,Z.pz)(t)?["axisArc",[e]]:(0,Z.AO)(t)?["axisLinear",[e]]:[(0,Z.kH)(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return(0,Z.pz)(t)?["axisLinear",[e]]:(0,Z.AO)(t)?["axisArc",[e]]:[(0,Z.kH)(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if((0,Z.T_)(t))return["axisRadar",[e]];if(!(0,Z.pz)(t))return["axisY",[e]]}return null}).filter(U.sw)]})(o,r).forEach(([e,t])=>{let{props:n}=a(e),{defaultPosition:i,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:d,defaultLength:p,defaultPadding:f=[0,0],defaultCrossPadding:g=[0,0]}=n,{guide:m,field:b}=(0,h.A)({},...t);for(let n of Array.isArray(m)?m:[m]){let[a,h]=function(e,t,n,r,i,a,o){let[s]=ea(o),l=[r.position||t,null!=s?s:n];return"string"==typeof e&&e.startsWith("axis")?function(e,t,n,r,i){let{name:a}=n[0];if("axisRadar"===e){let e=r.filter(e=>e.name.startsWith("position")),t=function(e){let t=/position(\d*)/g.exec(e);return t?+t[1]:null}(a);if(null===t)return[null,null];let[n,o]=ea(i);return["center",(o-n)/((0,Z.T_)(i)?e.length:e.length-1)*t+n]}if("axisY"===e&&(0,Z.K7)(i))return(0,Z.kH)(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=ea(i);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:(0,Z.pz)(i)||(0,Z.AO)(i)?["center",null]:"axisX"===e&&(0,Z.OX)(i)||"axisX"===e&&(0,Z.Lj)(i)?["top",null]:t}(e,l,i,a,o):"string"==typeof e&&e.startsWith("legend")&&(0,Z.pz)(o)&&"center"===r.position?["center","vertical"]:l}(e,i,c,n,t,o,r);if(!a&&!h)continue;let m="left"===a||"right"===a,y=m?f[1]:f[0],v=m?g[1]:g[0],{size:E,order:_=d,length:x=p,padding:A=y,crossPadding:S=v}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:x,position:a,plane:l,orientation:h,padding:A,order:_,crossPadding:S,size:E,type:e,scales:t}))}}),s})(function(e,t,n){var r;for(let[t]of n.entries())if("cell"===t.type)return e.filter(e=>"shape"!==e.name);if(1!==t.length||e.some(e=>"shape"===e.name))return e;let{defaultShape:i}=t[0];if(!["point","line","rect","hollow"].includes(i))return e;let a=(null==(r=e.find(e=>"color"===e.name))?void 0:r.field)||null;return[...e,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from((0,K.QY)(b,t)),b,e),t,n).map(e=>{let t=(0,h.A)(e,e.style);return delete t.style,t}),v=function(e,t,n,r){var i,a,o,s;let{width:l,height:u,depth:d,x:h=0,y:p=0,z:f=0,inset:g=null!=(i=n.inset)?i:0,insetLeft:m=g,insetTop:b=g,insetBottom:y=g,insetRight:v=g,margin:E=null!=(a=n.margin)?a:0,marginLeft:_=E,marginBottom:x=E,marginTop:A=E,marginRight:S=E,padding:w=n.padding,paddingBottom:O=w,paddingLeft:C=w,paddingRight:k=w,paddingTop:M=w}=function(e,t,n,r){let{coordinates:i}=t;if(!(0,Z.pz)(i)&&!(0,Z.AO)(i))return t;let a=e.filter(e=>"string"==typeof e.type&&e.type.startsWith("axis"));if(0===a.length)return t;let o=a.map(e=>{let t="axisArc"===e.type?"arc":"linear";return eu(e,t,n)}),s=(0,$.A)(o,e=>{var t;return null!=(t=e.labelSpacing)?t:0}),l=a.flatMap((e,t)=>el(o[t],es(e,r))).filter(U.sw),c=(0,$.A)(l,e=>e.height)+s,u=a.flatMap((e,t)=>ec(o[t])).filter(e=>null!==e),d=0===u.length?0:(0,$.A)(u,e=>e.height),{inset:h=c,insetLeft:p=h,insetBottom:f=h,insetTop:g=h+d,insetRight:m=h}=t;return Object.assign(Object.assign({},t),{insetLeft:p,insetBottom:f,insetTop:g,insetRight:m})}(e,t,n,r),L=16===_&&"auto"===C,I=16===S&&"auto"===k,N=(0,c.A)(t,"coordinates",[]).some(e=>"transpose"===e.type),R=e.find(({type:e})=>"axisX"===e),{size:P,labelTransform:D}=R||{},j=1/4,B=(e,n,r,i,a)=>{let{marks:o}=t;if(0===o.length||e-i-a-e*j>0)return[i,a];let s=e*(1-j);return["auto"===n?s*i/(i+a):i,"auto"===r?s*a/(i+a):a]},F=e=>"auto"===e?20:null!=e?e:20,z=F(M),H=F(O),{paddingLeft:G,paddingRight:W}=e_(e,u-z-H,[z+A,H+x],["left","right"],t,n,r),V=l-_-S,[q,Y]=B(V,C,k,G,W),X=V-q-Y,{paddingTop:K,paddingBottom:Q}=e_(e,X,[q+_,Y+S],["bottom","top"],t,n,r),J=u-x-A,[ee,et]=B(J,O,M,Q,K),en=J-ee-et;if(P&&!N&&!D){let{fontSize:e=12,fontFamily:t="sans-serif",scales:n=[]}=R,r=null!=(s=null==(o=null==n?void 0:n[0])?void 0:o.domain)?s:[];if(!r.length)return;let i=(n,r,i,a)=>{let o=(0,em.WI)(r,{fontSize:e,fontFamily:t}),s=o/2-i-a;s>0&&(X-=s,"left"===n?q+=o/2-i:Y+=o/2-i)};L&&i("left",function(e){if((0,eb.A)(e))return e[0]}(r),_,q),I&&i("right",(0,ey.A)(r),S,Y)}return{width:l,height:u,depth:d,insetLeft:m,insetTop:b,insetBottom:y,insetRight:v,innerWidth:X,innerHeight:en,paddingLeft:q,paddingRight:Y,paddingTop:et,paddingBottom:ee,marginLeft:_,marginBottom:x,marginTop:A,marginRight:S,x:h,y:p,z:f}}(y,t,m,n),E=(0,Z.Zb)(v,t,n),_=l?(0,h.A)({mainLineWidth:1,mainStroke:"#000"},f):f;!function(e,t,n){let r=(0,d.Ay)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:f,innerWidth:g,insetBottom:m,insetLeft:b,insetRight:y,insetTop:v,height:E,width:_,depth:x}=n,A={xy:ex({width:_,height:E,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:f,innerWidth:g,insetBottom:m,insetLeft:b,insetRight:y,insetTop:v}),yz:ex({width:x,height:E,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:E,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:ex({width:_,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:_,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,i]=e.split("-"),a=A[r][i],[o,s]=(0,z.Qr)(n,e=>"string"==typeof e.type&&!!("center"===i||e.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(e,t,n,r){let[i,a]=(0,z.Qr)(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){var i,a,o,s;"center"===r?(0,ev.T_)(t)?function(e,t,n,r){let[i,a,o,s]=n;for(let t of e)t.bbox={x:i,y:a,width:o,height:s},t.radar={index:e.indexOf(t),count:e.length}}(e,0,n,0):(0,ev.pz)(t)?function(e,t,n){let[r,i,a,o]=n;for(let t of e)t.bbox={x:r,y:i,width:a,height:o}}(e,0,n):(0,ev.K7)(t)&&(i=e,a=t,o=n,"horizontal"===(s=e[0].orientation)?function(e,t,n){let[r,i,a]=n,o=Array(e.length).fill(0),s=t.map(o).filter((e,t)=>t%2==1).map(e=>e+i);for(let t=0;tt%2==0).map(e=>e+r);for(let t=0;tnull==c?void 0:c(e.order,t.order));let _=e=>"title"===e||"group"===e||e.startsWith("legend"),x=(e,t,n)=>void 0===n?t:_(e)?n:t,A=(e,t,n)=>void 0===n?t:_(e)?n:t;for(let t=0,n=l?f+y:f;t"group"===e.type)){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((e,t)=>{var n;return(null==(n=t.layout)?void 0:n.justifyContent)||e},"flex-start"),o=n.map((e,t)=>{let{length:r=i,padding:a=0}=e;return r+(t===n.length-1?0:a)}),s=r-(0,G.A)(o),l="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[g]+l;t"axisX"===e),A=y.find(({type:e})=>"axisY"===e),S=y.find(({type:e})=>"axisZ"===e);x&&A&&S&&(x.plane="xy",A.plane="xy",S.plane="yz",S.origin=[x.bbox.x,x.bbox.y,0],S.eulerAngles=[0,-90,0],S.bbox.x=x.bbox.x,S.bbox.y=x.bbox.y,y.push(Object.assign(Object.assign({},x),{plane:"xz",showLabel:!1,showTitle:!1,origin:[x.bbox.x,x.bbox.y,0],eulerAngles:[-90,0,0]})),y.push(Object.assign(Object.assign({},A),{plane:"yz",showLabel:!1,showTitle:!1,origin:[A.bbox.x+A.bbox.width,A.bbox.y,0],eulerAngles:[0,-90,0]})),y.push(Object.assign(Object.assign({},S),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})));let w=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,(0,K.qX)(e,n)])}));(0,K.q8)(e,w);let O={};for(let e of y){let{scales:t=[]}=e,i=[];for(let e of t){let{name:t,uid:a}=e,o=null!=(r=w.get(a))?r:(0,K.qX)(e,n);i.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:O.x})),(0,K.qB)(O,{[t]:o})}e.scaleInstances=i}let C=[],k=new Map;for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:a,key:o,data:l}=t;k.set(o,l);let{index:c,channels:u,tooltip:d}=n,h=Object.fromEntries(u.map(({name:e,scale:t})=>[e,t])),p=(0,z.s8)(h,({uid:e})=>w.get(e));(0,K.qB)(O,p);let f=(0,K.vM)(u,p),[g,m,b]=function([e,t,n]){if(n)return[e,t,n];let r=[],i=[];for(let n=0;n(0,U.sw)(e)&&(0,U.sw)(t))&&(r.push(a),i.push(o))}return[r,i]}(i(t)(c,p,f,E)),y=r||g.length,_=a?a(m,y,v):[],x=e=>{var t,n;return null==(n=null==(t=d.title)?void 0:t[e])?void 0:n.value},A=e=>d.items.map(t=>t[e]),S=g.map((e,t)=>{let n=Object.assign({points:m[t],transform:_[t],index:e,markKey:o,viewKey:s,data:l[e]},d&&{title:x(e),items:A(e)});for(let[r,i]of Object.entries(f))n[r]=i[e],b&&(n[`series${(0,B.A)(r)}`]=b[t].map(e=>i[e]));return b&&(n.seriesIndex=b[t]),b&&d&&(n.seriesItems=b[t].map(e=>A(e)),n.seriesTitle=b[t].map(e=>x(e))),n});n.data=S,n.index=g;let M=null==e?void 0:e(S,p,v);C.push(...M||[])}return[{layout:v,theme:m,coordinate:E,markState:e,key:s,clip:p,scale:O,style:_,components:y,data:k,options:t,labelTransform:(0,U.Zz)(g.map(o))},C]}function eI(e,t,n,r){return ew(this,void 0,void 0,function*(){let{library:i}=r,{components:a,theme:o,layout:s,markState:l,coordinate:u,key:f,style:g,clip:m,scale:b}=e,{x:y,y:v,width:E,height:_}=s,x=eT(s,["x","y","width","height"]),A=["view","plot","main","content"],S=A.map((e,t)=>t),w=A.map(e=>(0,U.MT)(Object.assign({},o.view,g),e)),O=["a","margin","padding","inset"].map(e=>(0,U.Uq)(x,e)),C=e=>e.style("x",e=>N[e].x).style("y",e=>N[e].y).style("width",e=>N[e].width).style("height",e=>N[e].height).each(function(e,t,n){var r=(0,p.c)(n),i=w[e];for(let[e,t]of Object.entries(i))r.style(e,t)}),k=0,M=0,L=E,I=_,N=S.map(e=>{let{left:t=0,top:n=0,bottom:r=0,right:i=0}=O[e];return k+=t,M+=n,L-=t+i,I-=n+r,{x:k,y:M,width:L,height:I}});t.selectAll(eG(ep.lh)).data(S.filter(e=>(0,U.sw)(w[e])),e=>A[e]).join(e=>e.append("rect").attr("className",ep.lh).style("zIndex",-2).call(C),e=>e.call(C),e=>e.remove());let R=function(e){let t=-1/0,n=1/0;for(let[r,i]of e){let{animate:e={}}=r,{data:a}=i,{enter:o={},update:s={},exit:l={}}=e,{type:c,duration:u=300,delay:d=0}=s,{type:h,duration:p=300,delay:f=0}=o,{type:g,duration:m=300,delay:b=0}=l;for(let e of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=d,enterType:o=h,enterDuration:s=p,enterDelay:l=f,exitDuration:y=m,exitDelay:v=b,exitType:E=g}=e;(void 0===r||r)&&(t=Math.max(t,i+a),n=Math.min(n,a)),(void 0===E||E)&&(t=Math.max(t,y+v),n=Math.min(n,v)),(void 0===o||o)&&(t=Math.max(t,s+l),n=Math.min(n,l))}}return t===-1/0?null:[n,t-n]}(l),P=!!R&&{duration:R[1]};for(let[,e]of(0,d.TN)(a,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let D=t.selectAll(eG(ep.b)).data(a,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",ep.b).append(e=>er((0,h.A)({animate:P,scale:b},e),u,o,i,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let{attributes:a}=er((0,h.A)({animate:P,scale:b},e),u,o,i,l),[s]=n.childNodes;return s.update(a,!1)})).transitions();n.push(...D.flat().filter(U.sw));let j=t.selectAll(eG(ep.Lr)).data([s],()=>f).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",ep.Lr).call(ez).call(eH,Array.from(l.keys())).call(e$,m),e=>e.call(eH,Array.from(l.keys())).call(ez).call(e$,m)).transitions();for(let[a,o]of(n.push(...j.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=a,d=t.select(`#${l}`),h=function(e,t,n,r){let{library:i}=r,[a]=(0,X.t)("shape",i),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,d=(0,z.s8)(s,e=>e.value),h=c.map(e=>e.points),{theme:p,coordinate:f}=n,{type:g,style:m={}}=e,b=Object.assign(Object.assign({},r),{document:(0,X.l)(r),coordinate:f,theme:p});return t=>{let{shape:n=l}=m,{shape:r=n,points:i,seriesIndex:s,index:c}=t,f=Object.assign(Object.assign({},eT(t,["shape","points","seriesIndex","index"])),{index:c}),y=s?s.map(e=>o[e]):o[c],v=s||c,E=(0,z.s8)(m,e=>eN(e,y,v,o,{channel:d}));return(u[r]?u[r](E,b):a(Object.assign(Object.assign({},E),{type:eU(e,r)}),b))(i,f,eR(p,g,r,l),h)}}(a,o,e,r),f=eP("enter",a,o,e,i),g=eP("update",a,o,e,i),m=eP("exit",a,o,e,i),b=function(e,t,n,r){let i=e.node().parentElement;return i&&"function"==typeof i.findAll?i.findAll(e=>void 0!==e.style.facet&&e.style.facet===n&&e!==t.node()).flatMap(e=>e.getElementsByClassName(r)):[]}(t,d,c,"element"),y=d.selectAll(eG(ep.su)).selectFacetAll(b).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(h).attr("className",ep.su).attr("markType",u).transition(function(e,t,n){return f(e,[n])}),e=>e.call(e=>{let t=e.parent(),n=(0,U.Kr)(e=>{let[t,n]=e.getBounds().min;return[t,n]});e.transition(function(e,r,i){!function(e,t,n){if(!e.__facet__)return;let r=e.parentNode.parentNode,i=t.parentNode,[a,o]=n(r),[s,l]=n(i),c=`translate(${a-s}, ${o-l})`;(0,U.FX)(e,c),t.append(e)}(i,t,n);let a=h(e,r),o=g(e,[i],[a]);return(null==o?void 0:o.length)||(i.nodeName===a.nodeName&&"g"!==a.nodeName?(0,U.ts)(i,a):(i.parentNode.replaceChild(a,i),a.className=ep.su,a.markType=u,a.__data__=i.__data__)),o}).each(function(e,t,n){n.__removed__&&(n.__removed__=!1)}).attr("markType",u).attr("className",ep.su)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return m(e,[n])}).remove(),e=>e.append(h).attr("className",ep.su).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,i=g(e,r,[n]);return new p.L(r,null,n.parentNode).transition(i).remove(),i}),e=>e.transition(function(e,t,n){let r=new p.L([],n.__toData__,n.parentNode).append(h).attr("className",ep.su).attr("markType",u).nodes();return g(e,[n],r)}).remove()).transitions();n.push(...y.flat())}(function(e,t,n,r,i){let[a]=(0,X.t)("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(eG(ep.kU)).node(),c=new Map,u=new Map,h=Array.from(o.entries()).flatMap(([n,a])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,i){let[a]=(0,X.t)("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),d=(0,z.s8)(s,e=>e.value),{theme:h,coordinate:p}=n,f=Object.assign(Object.assign({},i),{document:(0,X.l)(i),theme:h,coordinate:p});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:i=e=>`${e}`,transform:s,style:l,render:p,selector:g,element:m}=e,b=eT(e,["formatter","transform","style","render","selector","element"]),y=(0,z.s8)(Object.assign(Object.assign({},b),l),e=>eN(e,r,t,o,{channel:d,element:m})),{shape:v=c,text:E}=y,_=eT(y,["shape","text"]),x="string"==typeof i?(0,F.GP)(i):i,A=Object.assign(Object.assign({},_),{text:x(E,r,t,o),datum:r});return a(Object.assign({type:`label.${v}`,render:p},_),f)(n,A,eR(h,"label",v,"label"),u)}}(n,a,e,r,i),d=t.select(`#${s}`).selectAll(eG(ep.su)).nodes().filter(e=>{var t;return!e.__removed__&&!((null==(t=e.style)?void 0:t.visibility)==="hidden"||e.children&&e.children.some(e=>{var t;return(null==(t=e.style)?void 0:t.visibility)==="hidden"}))});return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=eT(e,["transform"]);return d.flatMap(n=>{let i=function(e,t,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:s}=n.__data__,l=function(e){let t=e.cloneNode(!0),n=e.getAnimations();t.style.visibility="hidden",n.forEach(e=>{let n=e.effect.getKeyframes();t.attr(n[n.length-1])}),e.parentNode.appendChild(t);let r=t.getLocalBounds();t.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${o}-${t}`,bounds:l,index:s,points:a,dependentElement:n})];let c=function(e){let{selector:t}=e;if(!t)return null;if("function"==typeof t)return t;if("first"===t)return e=>[e[0]];if("last"===t)return e=>[e[e.length-1]];throw Error(`Unknown selector: ${t}`)}(e),u=r.map((r,o)=>Object.assign(Object.assign({},e),{key:`${i[o]}-${t}`,bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,t,n);return i.forEach(t=>{c.set(t,e=>l(Object.assign(Object.assign({},e),{element:n}))),u.set(t,e)}),i})})}),f=(0,p.c)(l).selectAll(eG(ep.Ar)).data(h,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",ep.Ar),e=>e.each(function(e,t,n){let r=c.get(e)(e);(0,U.ts)(n,r)}),e=>e.remove()).nodes(),g=(0,d.Ay)(f,e=>u.get(e.__data__)),{coordinate:m,layout:b}=e,y={canvas:i.canvas,coordinate:m,layout:b};for(let[e,t]of g){let{transform:n=[]}=e;(0,U.Zz)(n.map(a))(t,y)}s&&s(f,y)})(e,t,0,i,r),function(e,t,n,r){let i=e.scale,a=(0,c.A)(i,"y.options.breaks",[]),{document:o}=r.canvas;if([ep.Vx,ep.tF].forEach(e=>{o.getElementsByClassName(e).forEach(e=>{e.remove()})}),!a.length)return;let s=t.select(eG(ep.Lr)).node(),[l]=(0,X.t)("shape",n),u=new Map;a.forEach((n,i)=>{u.set(n,l({type:"break"},{view:e,selection:t,context:r}))}),(0,p.c)(s).selectAll(eG(ep.Vx)).data(a,e=>e.key).join(e=>e.append((e,t)=>u.get(e)(e,t)).attr("className",ep.Vx),e=>e.each(function(e,t,n){let r=u.get(e)(e,t);(0,U.ts)(n,r)}),e=>e.remove()).nodes()}(e,t,i,r)})}function eN(e,t,n,r,i){return"function"==typeof e?e(t,n,r,i):"string"!=typeof e?e:(0,U.L_)(t)&&void 0!==t[e]?t[e]:e}function eR(e,t,n,r){if("string"!=typeof t)return;let{color:i}=e,a=e[t]||{};return Object.assign({color:i},a[n]||a[r])}function eP(e,t,n,r,i){var a,o;let[,s]=(0,X.t)("shape",i),[l]=(0,X.t)("animation",i),{defaultShape:c,shape:u}=n,{theme:d,coordinate:p}=r,f=(0,B.A)(e),g=`default${f}Animation`,{[g]:m}=(null==(a=u[c])?void 0:a.props)||s(eU(t,c)).props,{[e]:b={}}=d,y=(null==(o=t.animate)?void 0:o[e])||{},v={coordinate:p};return(t,n,r)=>{let{[`${e}Type`]:i,[`${e}Delay`]:a,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:i||m},y);if(!c.type)return null;let u=l(c,v)(n,r,(0,h.A)(b,{delay:a,duration:o,easing:s}));return(Array.isArray(u)?u:[u]).filter(Boolean)}}function eD(e){return e.finished.then(()=>{e.cancel()}),e}function ej(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e;return Object.assign(Object.assign({},eT(e,["type"])),{type:t})}function eB(e){let{interaction:t={}}=e;return Object.entries((0,h.A)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function eF(e,t){return ew(this,void 0,void 0,function*(){let{data:n}=e,r=eT(e,["data"]);if(void 0==n)return e;let[,{data:i}]=yield(0,eS.py)([],{data:n},t);return Object.assign({data:i},r)})}function ez(e){e.style("transform",e=>`translate(${e.paddingLeft+e.marginLeft}, ${e.paddingTop+e.marginTop})`).style("width",e=>e.innerWidth).style("height",e=>e.innerHeight)}function eU(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function eH(e,t){let n=e=>void 0!==e.class?`${e.class}`:"";0!==e.nodes().length&&(e.selectAll(eG(ep.zz)).data(t,e=>e.key).join(e=>e.append("g").attr("className",ep.zz).attr("id",e=>e.key).style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!=(t=e.zIndex)?t:0}),e=>e.style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!=(t=e.zIndex)?t:0}),e=>e.remove()),e.select(eG(ep.kU)).node()||e.append("g").attr("className",ep.kU).style("zIndex",0))}function eG(...e){return e.map(e=>`.${e}`).join("")}function e$(e,t){e.node()&&e.style("clipPath",e=>{if(!t)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:o,innerWidth:s,innerHeight:l}=e;return new a.rw({style:{x:r+i,y:n+o,width:s,height:l}})})}function eW(e){let{style:t,scale:n,type:r}=e,i={},a=(0,c.A)(t,"columnWidthRatio");return a&&"interval"===r&&(i.x=Object.assign(Object.assign({},null==n?void 0:n.x),{padding:1-a})),Object.assign(Object.assign({},e),{scale:Object.assign(Object.assign({},n),i)})}var eV=n(73220);function eq(e){let{axis:t}=e,n=(0,c.A)(t,"y.breaks");return n&&(0,eV.A)(e,"scale.y.breaks",n.map(e=>Object.assign(Object.assign({key:`break-${e.start}-${e.end}`},e),{gap:(e=>{if(!e||"string"!=typeof e)return e;let t=e.endsWith("%")?parseFloat(e.slice(0,-1))/100:parseFloat(e);if(isNaN(t)||t<0||t>1)throw Error(`Invalid gap value: ${e}. It should be between 0 and 1.`);return t})(e.gap)}))),e}function eY(e,t={},n=!1,r=!0){let{canvas:i,emitter:a}=t;i&&(function(e){let t=e.getRoot().querySelectorAll(`.${ep.ZH}`);null==t||t.forEach(e=>{let{nameInteraction:t=new Map}=e;(null==t?void 0:t.size)>0&&Array.from(null==t?void 0:t.values()).forEach(e=>{null==e||e.destroy()})})}(i),n?i.destroy():i.destroyChildren()),r&&a.off()}var eZ=n(23823),eX=n(26489),eK=n(42338);let eQ=e=>e?parseInt(e):0;function eJ(e,t){let n=[e];for(;n.length;){let e=n.shift();for(let r of(t&&t(e),e.children||[]))n.push(r)}}class e0{constructor(e={},t){this.parentNode=null,this.children=[],this.index=0,this.type=t,this.value=e}map(e=e=>e){let t=e(this.value);return this.value=t,this}attr(e,t){return 1==arguments.length?this.value[e]:this.map(n=>(n[e]=t,n))}append(e){let t=new e({});return t.children=[],this.push(t),t}push(e){return e.parentNode=this,e.index=this.children.length,this.children.push(e),this}remove(){let e=this.parentNode;if(e){let{children:t}=e,n=t.findIndex(e=>e===this);t.splice(n,1)}return this}getNodeByKey(e){let t=null;return eJ(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return eJ(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return eJ(this,n=>{t||e===n.type&&(t=n)}),t}call(e,...t){return e(this.map(),...t),this}getRoot(){let e=this;for(;e&&e.parentNode;)e=e.parentNode;return e}}var e1=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 e2=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],e3="__remove__",e5="__callback__";function e4(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function e6(e,t){let{width:n,height:r,autoFit:i,depth:a=0}=e,o=640,s=480;if(i){let{width:e,height:n}=function(e){let t=getComputedStyle(e),n=e.clientWidth||eQ(t.width),r=e.clientHeight||eQ(t.height);return{width:n-(eQ(t.paddingLeft)+eQ(t.paddingRight)),height:r-(eQ(t.paddingTop)+eQ(t.paddingBottom))}}(t);o=e||o,s=n||s}return o=n||o,s=r||s,{width:Math.max((0,eK.A)(o)?o:1,1),height:Math.max((0,eK.A)(s)?s:1,1),depth:a}}var e8=n(65232);function e7(e){return t=>{for(let[n,r]of Object.entries(e)){let{type:e}=r;"value"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){return 0==arguments.length?this.attr(n):this.attr(n,e)}}(t,n,r):"array"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(n);if(Array.isArray(e))return this.attr(n,e);let t=[...this.attr(n)||[],e];return this.attr(n,t)}}(t,n,r):"object"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e,t){if(0==arguments.length)return this.attr(n);if(1==arguments.length&&"string"!=typeof e)return this.attr(n,e);let r=this.attr(n)||{};return r[e]=1==arguments.length||t,this.attr(n,r)}}(t,n,r):"node"===e?function(e,t,{ctor:n}){e.prototype[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}(t,n,r):"container"===e?function(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}(t,n,r):"mix"===e&&function(e,t,n){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(t);if(Array.isArray(e))return this.attr(t,{items:e});if((0,U.L_)(e)&&(void 0!==e.title||void 0!==e.items)||null===e||!1===e)return this.attr(t,e);let n=this.attr(t)||{},{items:r=[]}=n;return r.push(e),n.items=r,this.attr(t,n)}}(t,n,0)}return t}}function e9(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let te={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},tt=Object.assign(Object.assign({},te),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),tn=Object.assign(Object.assign({},te),{labelTransform:{type:"array"}}),tr=class extends e0{changeData(e){var t;let n=this.getRoot();if(n)return this.attr("data",e),(null==(t=this.children)?void 0:t.length)&&this.children.forEach(t=>{t.attr("data",e)}),null==n?void 0:n.render()}getView(){let{views:e}=this.getRoot().getContext();if(null==e?void 0:e.length)return e.find(e=>e.key===this._key)}getScale(){var e;return null==(e=this.getView())?void 0:e.scale}getScaleByChannel(e){let t=this.getScale();if(t)return t[e]}getCoordinate(){var e;return null==(e=this.getView())?void 0:e.coordinate}getTheme(){var e;return null==(e=this.getView())?void 0:e.theme}getGroup(){let e=this._key;if(e)return this.getRoot().getContext().canvas.getRoot().getElementById(e)}show(){let e=this.getGroup();e&&(e.isVisible()||(0,e8.WU)(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&(0,e8.jD)(e)}};tr=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([e7(tn)],tr);let ti=class extends e0{changeData(e){let t=this.getRoot();if(t)return this.attr("data",e),null==t?void 0:t.render()}getMark(){var e;let t=null==(e=this.getRoot())?void 0:e.getView();if(!t)return;let{markState:n}=t,r=Array.from(n.keys()).find(e=>e.key===this.attr("key"));return n.get(r)}getScale(){var e;let t=null==(e=this.getRoot())?void 0:e.getView();if(t)return null==t?void 0:t.scale}getScaleByChannel(e){var t,n;let r=null==(t=this.getRoot())?void 0:t.getView();if(r)return null==(n=null==r?void 0:r.scale)?void 0:n[e]}getGroup(){let e=this.attr("key");if(e)return this.getRoot().getContext().canvas.getRoot().getElementById(e)}};ti=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([e7(tt)],ti);var ta=n(23067),to=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},ts=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};class tl extends tr{constructor(e){let{container:t,canvas:n,renderer:r,plugins:i,lib:a,createCanvas:s}=e;super(ts(e,["container","canvas","renderer","plugins","lib","createCanvas"]),"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailingClear=null,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=(0,l.A)(()=>{this.forceFit()},300),this._renderer=r||new o.A4,this._plugins=i||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[e3]=!0,e}return"string"==typeof e?document.getElementById(e):e}(t),this._emitter=new u.A,this._context={library:Object.assign(Object.assign({},a),ta.Y),emitter:this._emitter,canvas:n,createCanvas:s},this._create()}render(){let e,t;if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let n=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var i;let l=function e(t,n=!0){if(Array.isArray(t))return t.map((r,i)=>e(t[i],n));if("object"==typeof t&&t)return N(t,(t,r)=>n&&P.includes(r)?e(t,"children"===r):n?t:e(t,!1));if("string"==typeof t){let e=t.trim();if(e.startsWith("{")&&e.endsWith("}"))return D(e.slice(1,-1))}return t}(e),{width:c=640,height:d=480,depth:g=0}=l,m=function(e){let t=(0,h.A)({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),i=[t];for(;i.length;){let e=i.shift();if(void 0===e.key){let t=n.get(e),i=r.get(e);e.key=null===t?"0":`${t.key}-${i}`}let{children:t=[]}=e;if(Array.isArray(t))for(let a=0;ae.reduce((e,t)=>t(e),t)})(eW,eq)(n));return r.children&&Array.isArray(r.children)&&(r.children=r.children.map(t=>e(t))),r}(l)),{canvas:b=function(e,t){let n=new o.A4;return n.registerPlugin(new s.k),new a.Hl({width:e,height:t,container:document.createElement("div"),renderer:n})}(c,d),emitter:y=new u.A,library:v}=t;t.canvas=b,t.emitter=y,t.externals={};let{width:E,height:_}=b.getConfig();(E!==c||_!==d)&&b.resize(c,d),y.emit(f.x.BEFORE_RENDER);let x=(0,p.c)(b.document.documentElement);return b.ready.then(()=>(function e(t,n,r){return ew(this,void 0,void 0,function*(){var i;let{library:a}=r,[o]=(0,X.t)("composition",a),[s]=(0,X.t)("interaction",a),l=new Set(Object.keys(a).map(e=>{var t;return null==(t=/mark\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),c=new Set(Object.keys(a).map(e=>{var t;return null==(t=/component\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),h=e=>"standardView"===u(e),g=e=>h(e)?[e]:o({type:u(e),static:(e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)})(e)})(e),m=[],b=new Map,y=new Map,v=[t],E=[];for(;v.length;){let e=v.shift();if(h(e)){let t=y.get(e),[n,i]=t?eL(t,e,a):yield eC(e,r);b.set(n,e),m.push(n);let o=i.flatMap(g).map(e=>(0,Z.dM)(e,a));if(v.push(...o),o.every(h)){let e=yield Promise.all(o.map(e=>ek(e,r)));(0,K.HR)(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",ep.ZH).attr("id",e=>e.key).call(eO).each(function(e,t,n){eI(e,(0,p.c)(n),A,r),_.set(e,n)}),e=>e.call(eO).each(function(e,t,n){eI(e,(0,p.c)(n),A,r),x.set(e,n)}),e=>e.each(function(e,t,n){for(let e of n.nameInteraction.values())e.destroy()}).remove());let S=(t,n,i)=>Array.from(t.entries()).map(([a,o])=>{let s=i||new Map,l=(e,t=e=>e)=>s.set(e,t),c=b.get(a),u=function(t,n,r){let{library:i}=r,a=function(e){let[,t]=(0,X.t)("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(i),o=eB(n).map(a).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,i,a)=>ew(this,void 0,void 0,function*(){let[s,l]=yield eC(n,r);for(let e of(eI(s,t,[],r),o.filter(e=>e!==i)))!function(e,t,n,r,i){var a;let{library:o}=i,[s]=(0,X.t)("interaction",o),l=t.node().nameInteraction,c=eB(n).find(([t])=>t===e),u=l.get(e);if(!u||(null==(a=u.destroy)||a.call(u),!c[1]))return;let d=eM(r,e,c[1],s)({options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},[],i.emitter);l.set(e,{destroy:d})}(e,t,n,s,r);for(let n of l)e(n,t,r);return a(),{options:n,view:s}})}((0,p.c)(o),c,r),d={view:a,container:o,options:c,setState:l,update:(e,r)=>ew(this,void 0,void 0,function*(){let i=(0,U.Zz)(Array.from(s.values()))(c);return yield u(i,e,()=>{(0,j.A)(r)&&n(t,r,s)})})};return r.externals.update=d.update,r.externals.setState=l,d}),w=(e=x,t,n)=>{var i;let a=S(e,w,n);for(let e of a){let{options:n,container:o}=e,l=o.nameInteraction,c=eB(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null==(i=c.destroy)||i.call(c)),o){let n=eM(e.view,t,o,s)(e,a,r.emitter);l.set(t,{destroy:n})}}}},O=S(_,w);for(let e of O){let{options:t}=e,n=new Map;for(let i of(e.container.nameInteraction=n,eB(t))){let[t,a]=i;if(a){let i=eM(e.view,t,a,s)(e,O,r.emitter);n.set(t,{destroy:i})}}}w();let{width:C,height:k}=t,M=[];for(let t of E){let i=new Promise(i=>ew(this,void 0,void 0,function*(){for(let i of t){let t=Object.assign({width:C,height:k},i);yield e(t,n,r)}i()}));M.push(i)}return r.views=m,null==(i=r.animations)||i.forEach(e=>null==e?void 0:e.cancel()),r.animations=A,r.emitter.emit(f.x.AFTER_PAINT),Promise.all([...A.filter(U.sw).map(eD).map(e=>e.finished),...M])})})(Object.assign(Object.assign({},m),{width:c,height:d,depth:g}),x,t)).then(()=>{if(g){let[e,t]=b.document.documentElement.getPosition();b.document.documentElement.setPosition(e,t,-g/2)}b.requestAnimationFrame(()=>{b.requestAnimationFrame(()=>{y.emit(f.x.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(i=b.getConfig().container)?document.getElementById(i):i})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[r,i,l]=[new Promise((n,r)=>{t=n,e=r}),t,e];return n.then(i).then(()=>{if(this._trailingClear){let e=this.options();this._trailingClear(),this._trailing&&this.options(e)}}).catch(l).then(()=>{this._trailingClear=null,this._renderTrailing()}),r}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of e2)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,e4(t));n.length;){let e=n.pop(),t=r.get(e),{children:i=[]}=e;for(let e of i)if(e.type===e5)t.children=e.value;else{let i=e4(e),{children:a=[]}=t;a.push(i),n.push(e),r.set(e,i),t.children=a}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),!function(e,t,n,r,i){let a=function(e,t,n,r,i){let{type:a}=e,{type:o=n||a}=t;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of e2)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of e2)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,i),o=[[null,e,a]];for(;o.length;){let[e,t,n]=o.shift();if(t)if(n){let{type:e,children:r}=n,i=e1(n,["type","children"]);t.type===e||void 0===e?(0,U.Eg)(t.value,i):"string"==typeof e&&(t.type=e,t.value=i);let{children:a}=n,{children:s}=t;if(Array.isArray(a)&&Array.isArray(s)){let e=Math.max(a.length,s.length);for(let n=0;n{this.clear(e)},this._reset();return}let t=this.options();this.emit(f.x.BEFORE_CLEAR),this._reset(),eY(t,this._context,!1,e),this.emit(f.x.AFTER_CLEAR)}destroy(){let e=this.options();this.emit(f.x.BEFORE_DESTROY),this._unbindAutoFit(),this._reset(),eY(e,this._context,!0),this._container[e3]&&function(e){let t=e.parentNode;t&&t.removeChild(e)}(this._container),this.emit(f.x.AFTER_DESTROY)}forceFit(){this.options.autoFit=!0;let{width:e,height:t}=e6(this.options(),this._container);if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(f.x.BEFORE_CHANGE_SIZE);let n=this.render();return n.then(()=>{this.emit(f.x.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(f.x.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(f.x.AFTER_CHANGE_SIZE)}),n}getDataByXY(e,t={}){let{shared:n=!1,series:r,facet:i=!1,startX:a=0,startY:o=0}=t,{canvas:s,views:l}=this._context,{document:u}=s,{x:h,y:p}=e,{coordinate:f,scale:g,markState:m,data:b,key:y}=l[0],v=u.getElementsByClassName(ep.su),E=n?e=>e.__data__.x:e=>e,_=(0,d.Ay)(v,E),x=u.getElementsByClassName(ep.ZH)[0],A=(0,eX.dp)(x),S=e=>Array.from(e.values()).some(e=>{var t,n;return(null==(t=e.interaction)?void 0:t.seriesTooltip)||(null==(n=e.channels)?void 0:n.some(e=>"series"===e.name&&void 0!==e.values))}),w=(0,eZ.kD)(r,S(m)),O=e=>(0,c.A)(e,"__data__.data",null);try{if(w&&S(m)&&!i){let{selectedData:e}=(0,eZ.pi)({root:A,event:{offsetX:h,offsetY:p},elements:v,coordinate:f,scale:g,startX:a,startY:o}),t=b.get(`${y}-0`);return e.map(({index:e})=>t[e])}let e=(0,eZ.uF)({root:A,event:{offsetX:h,offsetY:p},elements:v,coordinate:f,scale:g,shared:n});if((0,U.D6)(e))return(0,U.qu)(e,b.get(y));let t=E(e),r=_.get(t);return r?r.map(O):[]}catch(t){let e=s.document.elementFromPointSync(h,p);return e?O(e):[]}}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends ti{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends tr{constructor(){super({},t)}};return[t,n=to([e7(e9(this._marks))],n)]})),Object.values(this._compositions)))e7(e9(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:i}=e6(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:i})}_createCanvas(){var e,t;let{width:n,height:r}=e6(this.options(),this._container);this._plugins.push(new s.k),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new a.Hl({container:this._container,width:n,height:r,renderer:this._renderer});let i=null==(t=null==(e=this._context.canvas)?void 0:e.getContextService())?void 0:t.getDomElement();i&&(i.style.display="block")}_addToTrailing(){var e;return null==(e=this._trailingResolve)||e.call(this,this),this._trailing=!0,new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t})}_bindAutoFit(){let{autoFit:e}=this.options();if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}}},66697: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"]},66786:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(12115),i=n(29300),a=n.n(i),o=n(15982),s=n(68151),l=n(99841),c=n(18184),u=n(45431),d=n(61388);let h=(0,u.OF)("Timeline",e=>(e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,c.dF)(e)),{margin:0,padding:0,listStyle:"none",["".concat(t,"-item")]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:"calc(100% - ".concat((0,l.zA)(e.itemHeadSize),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," ").concat(e.lineType," ").concat(e.tailColor)},"&-pending":{["".concat(t,"-item-head")]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},["".concat(t,"-item-tail")]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:"".concat((0,l.zA)(e.dotBorderWidth)," ").concat(e.lineType," transparent"),borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{["> ".concat(t,"-item-tail")]:{display:"none"},["> ".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},["&".concat(t,"-alternate,\n &").concat(t,"-right,\n &").concat(t,"-label")]:{["".concat(t,"-item")]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{["".concat(t,"-item-content")]:{insetInlineStart:"calc(50% - ".concat((0,l.zA)(e.marginXXS),")"),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"start"}},"&-right":{["".concat(t,"-item-content")]:{width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),margin:0,textAlign:"end"}}}},["&".concat(t,"-right")]:{["".concat(t,"-item-right")]:{["".concat(t,"-item-tail,\n ").concat(t,"-item-head,\n ").concat(t,"-item-head-custom")]:{insetInlineStart:"calc(100% - ".concat((0,l.zA)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal()),")")},["".concat(t,"-item-content")]:{width:"calc(100% - ".concat((0,l.zA)(n(e.itemHeadSize).add(e.marginXS).equal()),")")}}},["&".concat(t,"-pending\n ").concat(t,"-item-last\n ").concat(t,"-item-tail")]:{display:"block",height:"calc(100% - ".concat((0,l.zA)(e.margin),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," dotted ").concat(e.tailColor)},["&".concat(t,"-reverse\n ").concat(t,"-item-last\n ").concat(t,"-item-tail")]:{display:"none"},["&".concat(t,"-reverse ").concat(t,"-item-pending")]:{["".concat(t,"-item-tail")]:{insetBlockStart:e.margin,display:"block",height:"calc(100% - ".concat((0,l.zA)(e.margin),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," dotted ").concat(e.tailColor)},["".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},["&".concat(t,"-label")]:{["".concat(t,"-item-label")]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"end"},["".concat(t,"-item-right")]:{["".concat(t,"-item-label")]:{insetInlineStart:"calc(50% + ".concat((0,l.zA)(e.marginSM),")"),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"start"}}},"&-rtl":{direction:"rtl",["".concat(t,"-item-head-custom")]:{transform:"translate(50%, -50%)"}}})}})((0,d.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2})),e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding}));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 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 f=e=>{var{prefixCls:t,className:n,color:i="blue",dot:s,pending:l=!1,position:c,label:u,children:d}=e,h=p(e,["prefixCls","className","color","dot","pending","position","label","children"]);let{getPrefixCls:f}=r.useContext(o.QO),g=f("timeline",t),m=a()("".concat(g,"-item"),{["".concat(g,"-item-pending")]:l},n),b=/blue|red|green|gray/.test(i||"")?void 0:i,y=a()("".concat(g,"-item-head"),{["".concat(g,"-item-head-custom")]:!!s,["".concat(g,"-item-head-").concat(i)]:!b});return r.createElement("li",Object.assign({},h,{className:m}),u&&r.createElement("div",{className:"".concat(g,"-item-label")},u),r.createElement("div",{className:"".concat(g,"-item-tail")}),r.createElement("div",{className:y,style:{borderColor:b,color:b}},s),r.createElement("div",{className:"".concat(g,"-item-content")},d))};var g=n(85757),m=n(51280),b=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=>{var{prefixCls:t,className:n,pending:i=!1,children:o,items:s,rootClassName:l,reverse:c=!1,direction:u,hashId:d,pendingDot:h,mode:p=""}=e,y=b(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);let v=(0,g.A)(s||[]),E="boolean"==typeof i?null:i;i&&v.push({pending:!!i,dot:h||r.createElement(m.A,null),children:E}),c&&v.reverse();let _=v.length,x="".concat(t,"-item-last"),A=v.filter(e=>!!e).map((e,n)=>{var o;let s=n===_-2?x:"",l=n===_-1?x:"",{className:u}=e,d=b(e,["className"]);return r.createElement(f,Object.assign({},d,{className:a()([u,!c&&i?s:l,((e,n)=>"alternate"===p?"right"===e?"".concat(t,"-item-right"):"left"===e||n%2==0?"".concat(t,"-item-left"):"".concat(t,"-item-right"):"left"===p?"".concat(t,"-item-left"):"right"===p||"right"===e?"".concat(t,"-item-right"):"")(null!=(o=null==e?void 0:e.position)?o:"",n)]),key:(null==e?void 0:e.key)||n}))}),S=v.some(e=>!!(null==e?void 0:e.label)),w=a()(t,{["".concat(t,"-pending")]:!!i,["".concat(t,"-reverse")]:!!c,["".concat(t,"-").concat(p)]:!!p&&!S,["".concat(t,"-label")]:S,["".concat(t,"-rtl")]:"rtl"===u},n,l,d);return r.createElement("ol",Object.assign({},y,{className:w}),A)};var v=n(63715),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 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=>{let{getPrefixCls:t,direction:n,timeline:i}=r.useContext(o.QO),{prefixCls:l,children:c,items:u,className:d,style:p}=e,f=E(e,["prefixCls","children","items","className","style"]),g=t("timeline",l),m=(0,s.A)(g),[b,_,x]=h(g,m),A=function(e,t){return e&&Array.isArray(e)?e:(0,v.A)(t).map(e=>{var t,n;return Object.assign({children:null!=(n=null==(t=null==e?void 0:e.props)?void 0:t.children)?n:""},e.props)})}(u,c);return b(r.createElement(y,Object.assign({},f,{className:a()(null==i?void 0:i.className,d,x,m),style:Object.assign(Object.assign({},null==i?void 0:i.style),p),prefixCls:g,direction:n,items:A,hashId:_})))};_.Item=f;let x=_},66902: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=[]},66911:(e,t,n)=>{"use strict";n.d(t,{$b:()=>a,p4:()=>i,ts:()=>o});var r=n(39249);function i(e){var t=e.getLocalBounds(),n=t.min,i=t.max,a=(0,r.zs)([n,i],2),o=(0,r.zs)(a[0],2),s=o[0],l=o[1],c=(0,r.zs)(a[1],2),u=c[0],d=c[1];return{x:s,y:l,width:u-s,height:d-l,left:s,bottom:d,top:l,right:u}}function a(e,t){var n=(0,r.zs)(e,2),i=n[0],a=n[1],o=(0,r.zs)(t,2),s=o[0],l=o[1];return i!==s&&a===l}function o(e,t){var n,i,a=t.attributes;try{for(var o=(0,r.Ju)(Object.entries(a)),s=o.next();!s.done;s=o.next()){var l=(0,r.zs)(s.value,2),c=l[0],u=l[1];"id"!==c&&"className"!==c&&e.attr(c,u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}},67060: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=[]},67088:e=>{e.exports=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i{"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=[]},67432:(e,t,n)=>{"use strict";function r(e,t){let n,r=-1,i=-1;if(void 0===t)for(let t of e)++i,null!=t&&(n=t)&&(n=t,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n=a)&&(n=a,r=i);return r}n.d(t,{A:()=>r})},67440: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=[]},67526: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=[]},67622: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=[]},67679:(e,t,n)=>{"use strict";n.d(t,{U:()=>g,h:()=>b});var r=n(39249),i=n(73534),a=n(37022),o=n(24611),s=n(87287),l=n(74673),c=n(68058),u=n(32481),d=n(96816),h=n(48875),p=n(34742),f=(0,a.x)({text:"text"},"title");function g(e,t){var n=e.attributes,i=n.position,a=n.spacing,c=n.inset,u=n.text,d=e.getBBox(),h=t.getBBox(),p=(0,o.r)(i),f=(0,r.zs)((0,s.i)(u?a:0),4),g=f[0],m=f[1],b=f[2],y=f[3],v=(0,r.zs)((0,s.i)(c),4),E=v[0],_=v[1],x=v[2],A=v[3],S=(0,r.zs)([y+m,g+b],2),w=S[0],O=S[1],C=(0,r.zs)([A+_,E+x],2),k=C[0],M=C[1];if("l"===p[0])return new l.E(d.x,d.y,h.width+d.width+w+k,Math.max(h.height+M,d.height));if("t"===p[0])return new l.E(d.x,d.y,Math.max(h.width+k,d.width),h.height+d.height+O+M);var L=(0,r.zs)([t.attributes.width||h.width,t.attributes.height||h.height],2),I=L[0],N=L[1];return new l.E(h.x,h.y,I+d.width+w+k,N+d.height+O+M)}function m(e,t){var n=Object.entries(t).reduce(function(t,n){var i=(0,r.zs)(n,2),a=i[0],o=i[1];return e.node().attr(a)||(t[a]=o),t},{});e.styles(n)}var b=function(e){function t(t){return e.call(this,t,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,r.C6)(t,e),t.prototype.getAvailableSpace=function(){var e=this.attributes,t=e.width,n=e.height,i=e.position,a=e.spacing,c=e.inset,u=this.querySelector(f.text.class);if(!u)return new l.E(0,0,+t,+n);var d=u.getBBox(),h=d.width,p=d.height,g=(0,r.zs)((0,s.i)(a),4),m=g[0],b=g[1],y=g[2],v=g[3],E=(0,r.zs)([0,0,+t,+n],4),_=E[0],x=E[1],A=E[2],S=E[3],w=(0,o.r)(i);if(w.includes("i"))return new l.E(_,x,A,S);w.forEach(function(e,i){var a,o;"t"===e&&(x=(a=(0,r.zs)(0===i?[p+y,n-p-y]:[0,+n],2))[0],S=a[1]),"r"===e&&(A=(0,r.zs)([t-h-v],1)[0]),"b"===e&&(S=(0,r.zs)([n-p-m],1)[0]),"l"===e&&(_=(o=(0,r.zs)(0===i?[h+b,t-h-b]:[0,+t],2))[0],A=o[1])});var O=(0,r.zs)((0,s.i)(c),4),C=O[0],k=O[1],M=O[2],L=O[3],I=(0,r.zs)([L+k,C+M],2),N=I[0],R=I[1];return new l.E(_+L,x+C,A-N,S-R)},t.prototype.getBBox=function(){return this.title?this.title.getBBox():new l.E(0,0,0,0)},t.prototype.render=function(e,t){var n,i,a,s,l,g,b,y,v,E,_,x,A,S,w,O,C=this;e.width,e.height,e.position,e.spacing;var k=e.classNamePrefix,M=(0,r.Tt)(e,["width","height","position","spacing","classNamePrefix"]),L=(0,r.zs)((0,c.u0)(M),1)[0],I=(l=e.width,g=e.height,b=e.position,v=(y=(0,r.zs)([l/2,g/2],2))[0],E=y[1],x=(_=(0,r.zs)([+v,+E,"center","middle"],4))[0],A=_[1],S=_[2],w=_[3],(O=(0,o.r)(b)).includes("l")&&(x=(n=(0,r.zs)([0,"start"],2))[0],S=n[1]),O.includes("r")&&(x=(i=(0,r.zs)([+l,"end"],2))[0],S=i[1]),O.includes("t")&&(A=(a=(0,r.zs)([0,"top"],2))[0],w=a[1]),O.includes("b")&&(A=(s=(0,r.zs)([+g,"bottom"],2))[0],w=s[1]),{x:x,y:A,textAlign:S,textBaseline:w}),N=I.x,R=I.y,P=I.textAlign,D=I.textBaseline;(0,u.V)(!!M.text,(0,d.Lt)(t),function(e){var t=(0,h.X)(f.text.name,p.n.title,k);C.title=e.maybeAppendByClassName(f.text,"text").attr("className",t).styles(L).call(m,{x:N,y:R,textAlign:P,textBaseline:D}).node()})},t}(i.u)},67809: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:/[=!*/%+\-^&|]=|>>?=?|<{"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=[]},67877:e=>{e.exports=function(e){let t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},a={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},o={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return r.push(a,o),n.forEach(function(e){r.push(e)}),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}},67912:(e,t,n)=>{"use strict";var r=n(37703);function i(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(a,this,t),this.length=this._features.length}function a(e,t,n){15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){for(var t=null,n=e.readVarint()+e.pos;e.pos>3;t=1===r?e.readString():2===r?e.readFloat():3===r?e.readDouble():4===r?e.readVarint64():5===r?e.readVarint():6===r?e.readSVarint():7===r?e.readBoolean():null}return t}(n))}e.exports=i,i.prototype.feature=function(e){if(e<0||e>=this._features.length)throw Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new r(this._pbf,t,this.extent,this._keys,this._values)}},67922:(e,t,n)=>{"use strict";var r=n(60569),i=n(42093);function a(e){e.register(r),e.register(i),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=a,a.displayName="etlua",a.aliases=[]},67998:(e,t,n)=>{"use strict";function r({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):n}function i(e){return"object"==typeof e?e.valueOf():e}n.d(t,{w:()=>s});class a extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=i,null!==e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(r({map:this.map,initKey:this.initKey},e))}has(e){return super.has(r({map:this.map,initKey:this.initKey},e))}set(e,t){return super.set(function({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}({map:this.map,initKey:this.initKey},e),t)}delete(e){return super.delete(function({map:e,initKey:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}({map:this.map,initKey:this.initKey},e))}}var o=n(73628);class s extends o.w{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:o.o,flex:[]}}constructor(e){super(e)}clone(){return new s(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:e,paddingInner:t}=this.options;return e>0?e:t}getPaddingOuter(){let{padding:e,paddingOuter:t}=this.options;return e>0?e:t}rescale(){super.rescale();let{align:e,domain:t,range:n,round:r,flex:i}=this.options,{adjustedRange:o,valueBandWidth:s,valueStep:l}=function(e){var t;let n,r,{domain:i}=e,o=i.length;if(0===o)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(null==(t=e.flex)?void 0:t.length)return function(e){let{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:o,round:s,align:l}=e,c=t.length,u=function(e,t){let n=t-e.length;return n>0?[...e,...Array(n).fill(1)]:n<0?e.slice(0,t):e}(o,c),[d,h]=n,p=h-d,f=p/(2/c*r+1-1/c*i),g=f*i/c,m=f-c*g,b=function(e){let t=e.reduce((e,t)=>Math.min(e,t),1/0);return t===1/0?[]:e.map(e=>e/t)}(u),y=m/b.reduce((e,t)=>e+t),v=new a(t.map((e,t)=>{let n=b[t]*y;return[e,s?Math.floor(n):n]})),E=new a(t.map((e,t)=>{let n=b[t]*y+g;return[e,s?Math.floor(n):n]})),_=Array.from(E.values()).reduce((e,t)=>e+t),x=d+(p-(_-_/c*i))*l,A=s?Math.round(x):x,S=Array(c);for(let e=0;eh+t*n);return{valueStep:n,valueBandWidth:r,adjustedRange:f}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=l,this.valueBandWidth=s,this.adjustedRange=o}}},68058:(e,t,n)=>{"use strict";n.d(t,{xb:()=>o,u0:()=>u,iA:()=>l,dQ:()=>c});var r=n(39249);function i(e){return e.toString().charAt(0).toUpperCase()+e.toString().slice(1)}function a(e,t,n){void 0===n&&(n=!0);var r,i=t||(null==(r=e.match(/^([a-z][a-z0-9]+)/))?void 0:r[0])||"",a=e.replace(new RegExp("^(".concat(i,")")),"");return n?a.toString().charAt(0).toLowerCase()+a.toString().slice(1):a}function o(e,t){Object.entries(t).forEach(function(t){var n=(0,r.zs)(t,2),i=n[0],a=n[1];(0,r.fX)([e],(0,r.zs)(e.querySelectorAll(i)),!1).filter(function(e){return e.matches(i)}).forEach(function(e){e&&(e.style.cssText+=Object.entries(a).reduce(function(e,t){return"".concat(e).concat(t.join(":"),";")},""))})})}var s=function(e,t){if(!(null==e?void 0:e.startsWith(t)))return!1;var n=e[t.length];return n>="A"&&n<="Z"};function l(e,t,n){void 0===n&&(n=!1);var o={};return Object.entries(e).forEach(function(e){var l=(0,r.zs)(e,2),c=l[0],u=l[1];if("className"===c||"class"===c);else if(s(c,"show")&&s(a(c,"show"),t)!==n)c==="".concat("show").concat(i(t))?o[c]=u:o[c.replace(new RegExp(i(t)),"")]=u;else if(!s(c,"show")&&s(c,t)!==n){var d=a(c,t);"filter"===d&&"function"==typeof u||(o[d]=u)}}),o}function c(e,t){return Object.entries(e).reduce(function(e,n){var a=(0,r.zs)(n,2),o=a[0],s=a[1];return o.startsWith("show")?e["show".concat(t).concat(o.slice(4))]=s:e["".concat(t).concat(i(o))]=s,e},{})}function u(e,t){void 0===t&&(t=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},a={};return Object.entries(e).forEach(function(e){var o=(0,r.zs)(e,2),s=o[0],l=o[1];t.includes(s)||(-1!==n.indexOf(s)?a[s]=l:i[s]=l)}),[i,a]}},68093:e=>{"use strict";function t(e,t){this.x=e,this.y=t}e.exports=t,t.prototype={clone:function(){return new t(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[0]*this.x+e[1]*this.y,n=e[2]*this.x+e[3]*this.y;return this.x=t,this.y=n,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=t*this.x-n*this.y,i=n*this.x+t*this.y;return this.x=r,this.y=i,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),i=t.x+n*(this.x-t.x)-r*(this.y-t.y),a=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=i,this.y=a,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},t.convert=function(e){return e instanceof t?e:Array.isArray(e)?new t(e[0],e[1]):e}},69047:(e,t,n)=>{"use strict";function r(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}n.d(t,{F:()=>r})},69054: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"]},69389:e=>{"use strict";function t(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.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 r}),"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 r}),"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.exports=t,t.displayName="qml",t.aliases=[]},69515:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(69047);function i(e,t){var n,i,a=e.length-1,o=[],s=0,l=(i=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,a){var o=r+a;return 0===a||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=i),e[o])})}));return l.forEach(function(n,i){e.slice(1).forEach(function(n,o){s+=(0,r.F)(e[(i+o)%a].slice(-2),t[o%a].slice(-2))}),o[i]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},69644:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>c,Lr:()=>s,Vx:()=>d,ZH:()=>o,b:()=>l,kU:()=>i,lh:()=>u,su:()=>a,tF:()=>h,zz:()=>r});let r="main-layer",i="label-layer",a="element",o="view",s="plot",l="component",c="label",u="area",d="axis-breaks",h="axis-breaks-group"},70032:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{A:()=>r})},70153: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 r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),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"]},70302:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},70625:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(70701);function i(e,t,n){void 0===n&&(n="..."),(0,r.XD)(e,{wordWrap:!0,wordWrapWidth:t,maxLines:1,textOverflow:n})}},70667:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("darken",function(e){return this.lightness(isNaN(e)?-.1:-e,!0)})}},70701:(e,t,n)=>{"use strict";n.d(t,{WI:()=>o,XD:()=>c,b6:()=>l,c8:()=>s});var r,i,a=n(86372),o=(0,n(17556).A)(function(e,t){var n=t.fontSize,o=t.fontFamily,s=t.fontWeight,l=t.fontStyle,c=t.fontVariant;return i?i(e,n):(r||(r=a.fA.offscreenCanvasCreator.getOrCreateContext(void 0)),r.font=[l,c,s,"".concat(n,"px"),o].join(" "),r.measureText(e).width)},function(e,t){return[e,Object.values(t||s(e)).join()].join("")},4096),s=function(e){var t=e.style.fontFamily||"sans-serif",n=e.style.fontWeight||"normal",r=e.style.fontStyle||"normal",i=e.style.fontVariant,a=e.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:t,fontWeight:n,fontStyle:r,fontVariant:i}};function l(e){return"text"===e.nodeName?e:"g"===e.nodeName&&1===e.children.length&&"text"===e.children[0].nodeName?e.children[0]:null}function c(e,t){var n=l(e);n&&n.attr(t)}},70750: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=[]},71123:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,s:()=>h});var r=n(83846),i=n(55548);let a=/[#.]/g;var o=n(7887),s=n(59739),l=n(14947);function c(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,s,...c){let d;if(null==n)d={type:"root",children:[]},c.unshift(s);else{let h=(d=function(e,t){let n,r,i=e||"",o={},s=0;for(;s{"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=[]},71210:(e,t,n)=>{var r=n(25820),i=n(36815);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=i(n))==n?n:0),void 0!==t&&(t=(t=i(t))==t?t:0),r(i(e),t,n)}},71266:(e,t,n)=>{"use strict";var r=n(14731);e.exports=function(e,t){return r(e,t.toLowerCase())}},71273: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=[]},71602:(e,t,n)=>{"use strict";function r(e,t){return i(e,t.inConstruct,!0)&&!i(e,t.notInConstruct,!1)}function i(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++rr})},71609:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.d(t,{A:()=>r,X:()=>i})},71752: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=[]},71966:(e,t,n)=>{"use strict";var r=n(67526);function i(e){var t;e.register(r),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=i,i.displayName="opencl",i.aliases=[]},72072: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=[]},72077:(e,t,n)=>{"use strict";var r=n(30313);function i(e){e.register(r),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=i,i.displayName="crystal",i.aliases=[]},72564: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=[]},72679:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(39249),i=n(86372),a=n(44963),o=function(e){function t(t){void 0===t&&(t={});var n=t.style,i=(0,r.Tt)(t,["style"]);return e.call(this,(0,r.Cl)({style:(0,r.Cl)({text:"",fill:"black",fontFamily:"sans-serif",fontSize:16,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1,textAlign:"start",textBaseline:"middle"},n)},i))||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=(0,a.$)(this)),this._offscreen},enumerable:!1,configurable:!0}),t.prototype.disconnectedCallback=function(){var e;null==(e=this._offscreen)||e.destroy()},t}(i.EY)},72804:(e,t,n)=>{"use strict";function r(e){return e[0]}function i(e){return e[1]}n.d(t,{x:()=>r,y:()=>i})},72919:(e,t,n)=>{var r=n(5485),i=n(41553),a=Object.hasOwnProperty,o=Object.create(null);for(var s in r)a.call(r,s)&&(o[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,o=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=t[2],t=t[1];n<3;n++){var s=2*n;o[n]=parseInt(t.slice(s,s+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(t=t[1])[3];n<3;n++)o[n]=parseInt(t[n]+t[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(t[n+1],0);t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:a.call(r,t[1])?((o=r[t[1]])[3]=1,o):null;for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return o[e.slice(0,3)]}},73071: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=[]},73086:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},73220:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(57608),i=n(69138),a=n(42338);let o=function(e,t,n){var o=e,s=(0,i.A)(t)?t.split("."):t;return s.forEach(function(e,t){t{"use strict";n.d(t,{Ay:()=>o,Ik:()=>l});var r=n(61341);function i(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}var a=n(40897);let o=function e(t){var n=(0,a.uN)(t);function i(e,t){var i=n((e=(0,r.Qh)(e)).r,(t=(0,r.Qh)(t)).r),o=n(e.g,t.g),s=n(e.b,t.b),l=(0,a.Ay)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=l(t),e+""}}return i.gamma=e,i}(1);function s(e){return function(t){var n,i,a=t.length,o=Array(a),s=Array(a),l=Array(a);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],s=r>0?e[r-1]:2*a-o,l=r{"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},73534:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(39249),i=n(86372),a=n(2638),o=n(38310),s=n(44963);function l(){(0,a.XD)(this,"hidden"!==this.attributes.visibility)}var c=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this,(0,o.E)({},{style:n},t))||this;return r.initialized=!1,r._defaultOptions=n,r}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=(0,s.$)(this)),this._offscreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultOptions",{get:function(){return this._defaultOptions},enumerable:!1,configurable:!0}),t.prototype.connectedCallback=function(){this.render(this.attributes,this),this.bindEvents(this.attributes,this),this.initialized=!0},t.prototype.disconnectedCallback=function(){var e;null==(e=this._offscreen)||e.destroy()},t.prototype.attributeChangedCallback=function(e){"visibility"===e&&l.call(this)},t.prototype.update=function(e,t){var n;return this.attr((0,o.E)({},this.attributes,e||{})),null==(n=this.render)?void 0:n.call(this,this.attributes,this,t)},t.prototype.clear=function(){this.removeChildren()},t.prototype.bindEvents=function(e,t){},t.prototype.getSubShapeStyle=function(e){return e.x,e.y,e.transform,e.transformOrigin,e.class,e.className,e.zIndex,(0,r.Tt)(e,["x","y","transform","transformOrigin","class","className","zIndex"])},t}(i.K9)},73623: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=[]},73628:(e,t,n)=>{"use strict";n.d(t,{o:()=>i,w:()=>l});var r=n(20430);let i=Symbol("defaultUnknown");function a(e,t,n){for(let r=0;r`${e}`:"object"==typeof e?e=>JSON.stringify(e):e=>e}class l extends r.C{getDefaultOptions(){return{domain:[],range:[],unknown:i}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&a(this.domainIndexMap,this.getDomain(),this.domainKey),o({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&a(this.rangeIndexMap,this.getRange(),this.rangeKey),o({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){let[t]=this.options.domain,[n]=this.options.range;if(this.domainKey=s(t),this.rangeKey=s(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new l(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:e,compare:t}=this.options;return this.sortedDomain=t?[...e].sort(t):e,this.sortedDomain}}},73736:function(e,t){(function(e){"use strict";function t(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0n=>e(t(n)),e)}function S(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}R=new f(3),f!=Float32Array&&(R[0]=0,R[1]=0,R[2]=0),R=new f(4),f!=Float32Array&&(R[0]=0,R[1]=0,R[2]=0,R[3]=0);let w=Math.sqrt(50),O=Math.sqrt(10),C=Math.sqrt(2);function k(e,t,n){return e=Math.floor(Math.log(t=(t-e)/Math.max(0,n))/Math.LN10),n=t/10**e,0<=e?(n>=w?10:n>=O?5:n>=C?2:1)*10**e:-(10**-e)/(n>=w?10:n>=O?5:n>=C?2:1)}let M=(e,t,n=5)=>{let r=0,i=(e=[e,t]).length-1,a=e[r],o=e[i],s;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},n.prototype.initRange=function(){var t=this.options.interpolator;this.options.range=e(t)},n.prototype.composeOutput=function(e,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=t(r.map(e)),a=a?e=>s(e=i(e),"Number")?Math.round(e):e:i;this.output=A(a,r,n,e)},n.prototype.invert=void 0}}var N,R={exports:{}},P={exports:{}},D=Array.prototype.concat,j=Array.prototype.slice,B=P.exports=function(e){for(var t=[],n=0,r=e.length;nn=>e*(1-n)+t*n,X=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return Z(e,t);if("string"!=typeof e||"string"!=typeof t)return()=>e;{let n=Y(e),r=Y(t);return null===n||null===r?n?()=>e:()=>t:e=>{var t=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];t[o]=i*(1-e)+a*e}var[o,s,l,c]=t;return`rgba(${Math.round(o)}, ${Math.round(s)}, ${Math.round(l)}, ${c})`}}},K=(e,t)=>{let n=Z(e,t);return e=>Math.round(n(e))};function Q({map:e,initKey:t},n){return t=t(n),e.has(t)?e.get(t):n}function J(e){return"object"==typeof e?e.valueOf():e}class ee extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=J,null!==e)for(var[t,n]of e)this.set(t,n)}get(e){return super.get(Q({map:this.map,initKey:this.initKey},e))}has(e){return super.has(Q({map:this.map,initKey:this.initKey},e))}set(e,t){var n,r;return super.set(([{map:e,initKey:n},r]=[{map:this.map,initKey:this.initKey},e],n=n(r),e.has(n)?e.get(n):(e.set(n,r),r)),t)}delete(e){var t,n;return super.delete(([{map:e,initKey:t},n]=[{map:this.map,initKey:this.initKey},e],t=t(n),e.has(t)&&(n=e.get(t),e.delete(t)),n))}}class et{constructor(e){this.options=d({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=d({},this.options,e),this.rescale(e)}rescale(e){}}let en=Symbol("defaultUnknown");function er(e,t,n){for(let r=0;r""+e:"object"==typeof e?e=>JSON.stringify(e):e=>e}class eo extends et{getDefaultOptions(){return{domain:[],range:[],unknown:en}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&er(this.domainIndexMap,this.getDomain(),this.domainKey),ei({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&er(this.rangeIndexMap,this.getRange(),this.rangeKey),ei({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){var[t]=this.options.domain,[n]=this.options.range;this.domainKey=ea(t),this.rangeKey=ea(n),this.rangeIndexMap?(e&&!e.range||this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new eo(this.options)}getRange(){return this.options.range}getDomain(){var e,t;return this.sortedDomain||({domain:e,compare:t}=this.options,this.sortedDomain=t?[...e].sort(t):e),this.sortedDomain}}class es extends eo{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:en,flex:[]}}constructor(e){super(e)}clone(){return new es(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:e,paddingInner:t}=this.options;return 0e/t)}(c),f=d/p.reduce((e,t)=>e+t);var c=new ee(t.map((e,t)=>(t=p[t]*f,[e,o?Math.floor(t):t]))),g=new ee(t.map((e,t)=>(t=p[t]*f+h,[e,o?Math.floor(t):t]))),d=Array.from(g.values()).reduce((e,t)=>e+t),e=e+(u-(d-d/l*i))*s;let m=o?Math.round(e):e;var b=Array(l);for(let e=0;el+t*o),{valueStep:o,valueBandWidth:s,adjustedRange:e}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=e}}let el=(e,t,n)=>{let r,i,a=e,o=t;if(a===o&&0(2{let r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r);var o=e[0]>e[r],s=o?[...e].reverse():e,l=o?[...t].reverse():t;for(let e=0;e{var n=function(e,t,n,r,i){let a=1,o=r||e.length;for(var s=e=>e;at?o=l:a=l+1}return a}(e,t,0,r)-1,o=i[n];return A(a[n],o)(t)}}:(e,t,n)=>{let r;var[e,i]=e,[t,a]=t;return A(eMath.min(Math.max(r,e),i)}return h}composeOutput(e,t){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=ec(n.map(e),r,a,i);this.output=A(n,t,e)}composeInput(e,t,n){var{domain:r,range:i}=this.options,i=ec(i,r.map(e),Z);this.input=A(t,n,i)}}class ed extends eu{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:X,tickMethod:el,tickCount:5}}chooseTransforms(){return[h,h]}clone(){return new ed(this.options)}}class eh extends es{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:en,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new eh(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}function ep(e,t){for(var n=[],r=0,i=e.length;r{var[e,t]=e;return A(Z(0,1),S(e,t))})],em);let eb=a=class extends ed{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:h,tickMethod:el,tickCount:5}}constructor(e){super(e)}clone(){return new a(this.options)}};function ey(e,t,r,i,a){var o=new ed({range:[t,t+i]}),s=new ed({range:[r,r+a]});return{transform:function(e){var e=n(e,2),t=e[0],e=e[1];return[o.map(t),s.map(e)]},untransform:function(e){var e=n(e,2),t=e[0],e=e[1];return[o.invert(t),s.invert(e)]}}}function ev(e,t,r,i,a){return(0,n(e,1)[0])(t,r,i,a)}function eE(e,t,r,i,a){return n(e,1)[0]}function e_(e,t,r,i,a){var o=(e=n(e,4))[0],s=e[1],l=e[2],e=e[3],c=new ed({range:[l,e]}),u=new ed({range:[o,s]}),d=1<(l=a/i)?1:l,h=1{let[t,n,r]=e,i=A(Z(0,.5),S(t,n)),a=A(Z(.5,1),S(n,r));return e=>(t>r?e{"use strict";var r=n(56373),i=n(76148);function a(e){e.register(r),e.register(i),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=a,a.displayName="t4Vb",a.aliases=[]},73916:(e,t,n)=>{"use strict";n.d(t,{C5:()=>_,bs:()=>m,xs:()=>E});var r=n(44188),i=n(14438),a=n(14837),o=n(83369),s=n(22911),l=n(57626),c=n(59829),u=n(14353),d=n(40638),h=n(79135),p=n(83277),f=n(18961),g=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};function m(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function b(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function y(e,t,n,r,a,o,s,c){var h;(void 0!==n||void 0!==o)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),o&&{tickMethod:o}));let p=function(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;let[r,i]=(0,l.A)(t,e=>+e),{tickCount:a}=e.getOptions();return n(r,i,a)}(e,t,o),f=a?p.filter(a):p,g=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),m=r||(null==(h=e.getFormatter)?void 0:h.call(e))||g,b=function(e,t){if((0,u.pz)(t))return e=>e;let{innerWidth:n,innerHeight:r,insetTop:a,insetBottom:o,insetLeft:s,insetRight:l}=t.getOptions(),[c,d,h]="left"===e||"right"===e?[a,o,r]:[s,l,n],p=new i.W({domain:[0,1],range:[c/h,1-d/h]});return e=>p.map(e)}(s,c),y=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!(0,u.ey)(t))return a;let o=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=o[0];return new i.W({domain:[0,n],range:[0,1]}).map(e)}if("left"===e){let e=o[1];return new i.W({domain:[0,r],range:[0,1]}).map(e)}return a}}(s,c),v=e=>["left","right"].includes(e);return(0,u.pz)(c)||(0,u.kH)(c)?f.map((t,n,r)=>{var i,a;let o=(null==(i=e.getBandWidth)?void 0:i.call(e,t))/2||0,l=b(e.map(t)+o);return{value:(0,u.AO)(c)&&"center"===s||(0,u.kH)(c)&&(null==(a=e.getTicks)?void 0:a.call(e))&&["top","bottom","center","outer"].includes(s)||(0,u.kH)(c)&&v(s)?1-l:l,label:g(m((0,d.A)(t),n,r)),id:String(n)}}):f.map((t,n,r)=>{var i;let a=(null==(i=e.getBandWidth)?void 0:i.call(e,t))/2||0,o=y(b(e.map(t)+a));return{value:v(s)?1-o:o,label:g(m((0,d.A)(t),n,r)),id:String(n)}})}let v=e=>t=>{let{labelFormatter:n,labelFilter:r=()=>!0}=t;return i=>{var a;let{scales:[o]}=i,s=(null==(a=o.getTicks)?void 0:a.call(o))||o.getOptions().domain,l="string"==typeof n?(0,c.GP)(n):n;return e(Object.assign(Object.assign({},t),{labelFormatter:l,labelFilter:(e,t,n)=>r(s[t],t,s),scale:o}))(i)}},E=v(e=>{let{direction:t="left",important:n={},labelFormatter:i,order:a,orientation:o,actualPosition:l,position:c,size:d,style:m={},title:v,tickCount:E,tickFilter:_,tickMethod:x,tickLength:A,transform:S,indexBBox:w}=e,O=g(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","tickLength","transform","indexBBox"]);return({scales:a,value:g,coordinate:C,theme:k})=>{let{bbox:M}=g,[L]=a,{domain:I,xScale:N}=L.getOptions(),R=Object.assign(Object.assign(Object.assign({},function(e,t,n,r,i,a){let o=function(e,t,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n[`axis${(0,h.ND)(i)}`]:n.axisLinear,c=e.getOptions().name;return Object.assign({},o,l,n[`axis${(0,s.A)(c)}`]||{})}(e,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:4*("center"!==r),titleSpacing:10*!!(0,p.fk)(a),tick:"center"!==r&&void 0}):o}(L,0,k,t,c,o)),m),O),P=function(e,t,n="xy"){let[r,i,a]=b(t);return"xy"===n?e.includes("bottom")||e.includes("top")?i:r:"xz"===n?e.includes("bottom")||e.includes("top")?a:r:e.includes("bottom")||e.includes("top")?i:a}(l||c,C,e.plane),D=function(e,t,n,r,i){let{x:a,y:o,width:s,height:l}=n;if("bottom"===e)return{startPos:[a,o],endPos:[a+s,o]};if("left"===e)return{startPos:[a+s,o+l],endPos:[a+s,o]};if("right"===e)return{startPos:[a,o+l],endPos:[a,o]};if("top"===e)return{startPos:[a,o+l],endPos:[a+s,o+l]};if("center"===e){if("vertical"===t)return{startPos:[a,o],endPos:[a,o+l]};else if("horizontal"===t)return{startPos:[a,o],endPos:[a+s,o]};else if("number"==typeof t){let[e,n]=r.getCenter(),[c,d]=(0,u.qZ)(r),[h,p]=(0,u.XV)(r),f=Math.min(s,l)/2,{insetLeft:g,insetTop:m}=r.getOptions(),b=c*f,y=d*f,[v,E]=[e+a-g,n+o-m],[_,x]=[Math.cos(t),Math.sin(t)],A=(0,u.pz)(r)&&i?(()=>{let{domain:e}=i.getOptions();return e.length})():3;return{startPos:[v+y*_,E+y*x],endPos:[v+b*_,E+b*x],gridClosed:1e-6>Math.abs(p-h-360),gridCenter:[v,E],gridControlAngles:Array(A).fill(0).map((e,t,n)=>(p-h)/A*t)}}}return{}}(c,o,M,C,N),j=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(C),B=y(L,I,E,i,_,x,c,C),F=w?B.map((e,t)=>{let n=w.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):B,z=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},R),{type:"linear",data:F,crossSize:d,titleText:(0,p.ki)(v),labelOverlap:function(e=[],t){if(e.length>0)return e;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=t,o=[],s=(e,t)=>{t&&o.push(Object.assign(Object.assign({},e),t))};return s({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),s({type:"ellipsis",minLength:20},i),s({type:"hide"},r),s({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(S,R),grid:function(e,t,n){return!((0,u.Zf)(t)||(0,u.K7)(t))&&(void 0===e?!!n.getTicks:e)}(R.grid,C,L),gridLength:P,line:!0,indexBBox:w,classNamePrefix:f.Wy}),void 0!==A?{tickLength:A}:null),R.line?null:{lineOpacity:0}),D),j),n);return z.labelOverlap.find(e=>"hide"===e.type)&&(z.crossSize=!1),new r._({className:"axis",style:(0,p.y$)(z)})}}),_=v(e=>{let{order:t,size:n,position:i,orientation:s,labelFormatter:l,tickFilter:c,tickCount:d,tickMethod:h,tickLength:m,important:v={},style:E={},indexBBox:_,title:x,grid:A=!1}=e,S=g(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","tickLength","important","style","indexBBox","title","grid"]);return({scales:[e],value:t,coordinate:n,theme:s})=>{let{bbox:g}=t,{domain:E}=e.getOptions(),w=y(e,E,d,l,c,h,i,n),O=_?w.map((e,t)=>{let n=_.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):w,[C,k]=(0,u.qZ)(n),M=function(e,t,n,r,i){let{x:a,y:o,width:s,height:l}=t,c=[a+s/2,o+l/2],d=Math.min(s,l)/2,[h,p]=(0,u.XV)(i),[f,g]=b(i),m={center:c,radius:d,startAngle:h,endAngle:p,gridLength:Math.min(f,g)/2*(r-n)};if("inner"===e){let{insetLeft:e,insetTop:t}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(i,g,C,k,n),{axis:L,axisArc:I={}}=s,N=(0,p.y$)((0,a.A)({},L,I,M,Object.assign(Object.assign(Object.assign({type:"arc",data:O,titleText:(0,p.ki)(x),grid:A,classNamePrefix:f.Wy},void 0!==m?{tickLength:m}:null),S),v)));return new r._({style:(0,o.A)(N,["transform"])})}});E.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},_.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]}},73992: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"]},74016:(e,t,n)=>{"use strict";n.d(t,{Am:()=>a,hS:()=>l,vA:()=>s,y1:()=>o});var r=n(39249),i=n(11330);function a(e){return Array.from(new Set(e))}function o(e){return(0,r.fX)([],(0,r.zs)(Array(e).keys()),!1)}function s(e,t){if(!e)throw Error(t)}function l(e,t){if(!(0,i.cy)(e)||0===e.length||!(0,i.cy)(t)||0===t.length||e.length!==t.length)return!1;for(var n={},r=0;r{"use strict";n.d(t,{A:()=>o});var r=n(39997),i=n(50636),a=n(51459);let o=function(e,t,n){if(!(0,i.A)(e)&&!(0,a.A)(e))return e;var o=n;return(0,r.A)(e,function(e,n){o=t(o,e,n)}),o}},74447:(e,t,n)=>{"use strict";var r=n(15110);function i(e){e.register(r),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=i,i.displayName="chaiscript",i.aliases=[]},74465: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=[]},74566:e=>{"use strict";function t(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},74608:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},74673:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var r=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=e,this.y=t,this.width=n,this.height=r}return Object.defineProperty(e.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},e.prototype.isPointIn=function(e,t){return e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom},e}()},74947:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(62623).A},75088: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=[]},75137:(e,t,n)=>{"use strict";var r=n(40764),i=n(13314);t.highlight=o,t.highlightAuto=function(e,t){var n,s,l,c,u=t||{},d=u.subset||r.listLanguages(),h=u.prefix,p=d.length,f=-1;if(null==h&&(h=a),"string"!=typeof e)throw i("Expected `string` for value, got `%s`",e);for(s={relevance:0,language:null,value:[]},n={relevance:0,language:null,value:[]};++fs.relevance&&(s=l),l.relevance>n.relevance&&(s=n,n=l));return s.language&&(n.secondBest=s),n},t.registerLanguage=function(e,t){r.registerLanguage(e,t)},t.listLanguages=function(){return r.listLanguages()},t.registerAlias=function(e,t){var n,i=e;for(n in t&&((i={})[e]=t),i)r.registerAliases(i[n],{languageName:n})},s.prototype.addText=function(e){var t,n,r=this.stack;""!==e&&((n=(t=r[r.length-1]).children[t.children.length-1])&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e}))},s.prototype.addKeyword=function(e,t){this.openNode(t),this.addText(e),this.closeNode()},s.prototype.addSublanguage=function(e,t){var n=this.stack,r=n[n.length-1],i=e.rootNode.children;r.children=r.children.concat(t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i)},s.prototype.openNode=function(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(i),t.push(i)},s.prototype.closeNode=function(){this.stack.pop()},s.prototype.closeAllNodes=l,s.prototype.finalize=l,s.prototype.toHTML=function(){return""};var a="hljs-";function o(e,t,n){var o,l=r.configure({}),c=(n||{}).prefix;if("string"!=typeof e)throw i("Expected `string` for name, got `%s`",e);if(!r.getLanguage(e))throw i("Unknown language: `%s` is not registered",e);if("string"!=typeof t)throw i("Expected `string` for value, got `%s`",t);if(null==c&&(c=a),r.configure({__emitter:s,classPrefix:c}),o=r.highlight(t,{language:e,ignoreIllegals:!0}),r.configure(l||{}),o.errorRaised)throw o.errorRaised;return{relevance:o.relevance,language:o.language,value:o.emitter.rootNode.children}}function s(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function l(){}},75145:(e,t,n)=>{var r=n(50851),i=n(65531),a=n(17855);e.exports=function(e){return i(e)?a(e):r(e)}},75185:(e,t,n)=>{"use strict";n.d(t,{o:()=>function e(t,n){if(n(t))return!0;if("g"===t.tagName){let{childNodes:r=[]}=t;for(let t of r)if(e(t,n))return!0}return!1}})},75224:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(9819),i=n(85654),a=n(59947),o=n(78785),s=n(72804);function l(e,t){var n=(0,i.A)(!0),l=null,c=a.A,u=null,d=(0,o.i)(h);function h(i){var a,o,s,h=(i=(0,r.A)(i)).length,p=!1;for(null==l&&(u=c(s=d())),a=0;a<=h;++a)!(a{"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"]},75403:(e,t,n)=>{"use strict";function r(e,t){return[e[0]*t,e[1]*t]}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function a(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1])]}function s(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1])]}function l(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function c(e){if(0===e[0]&&0===e[1])return[0,0];var t=Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2));return[e[0]/t,e[1]/t]}function u(e,t){return t?[e[1],-e[0]]:[-e[1],e[0]]}n.d(t,{Io:()=>l,S8:()=>c,T9:()=>s,Vd:()=>u,WQ:()=>i,hs:()=>r,jb:()=>a,jk:()=>o})},75583: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=[]},75751:(e,t,n)=>{var r=n(23997);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},75825: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=[]},75866:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(79630),i=n(29300),a=n.n(i),o=n(12115),s=n(28562);let l=o.createContext({}),c={classNames:{},styles:{},className:"",style:{}};var u=n(57845);let d=function(){let{getPrefixCls:e,direction:t,csp:n,iconPrefixCls:r,theme:i}=o.useContext(u.Ay.ConfigContext);return{theme:i,getPrefixCls:e,direction:t,csp:n,iconPrefixCls:r}};var h=n(49172);function p(e){return"string"==typeof e}let f=({prefixCls:e})=>o.createElement("span",{className:`${e}-dot`},o.createElement("i",{className:`${e}-dot-item`,key:"item-1"}),o.createElement("i",{className:`${e}-dot-item`,key:"item-2"}),o.createElement("i",{className:`${e}-dot-item`,key:"item-3"}));var g=n(99841),m=n(61388),b=n(70445),y=n(70042),v=n(73383);let E=(0,g.an)(b.A.defaultAlgorithm),_={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},x=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:i,...a}=t,o={...r,override:i};return o=(0,v.A)(o),a&&Object.entries(a).forEach(([e,t])=>{let{theme:n,...r}=t,i=r;n&&(i=x({...o,...r},{override:r},n)),o[e]=i}),o},{genStyleHooks:A,genComponentStyleHook:S,genSubStyleComponent:w}=(0,m.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=d();return{iconPrefixCls:t,rootPrefixCls:e()}},useToken:()=>{let[e,t,n,r,i]=function(){let{token:e,hashed:t,theme:n=E,override:r,cssVar:i}=o.useContext(b.A._internalContext),[a,s,l]=(0,g.hV)(n,[b.A.defaultSeed,e],{salt:`1.6.1-${t||""}`,override:r,getComputedToken:x,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:y.Is,ignore:y.Xe,preserve:_}});return[n,l,t?s:"",a,i]}();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{let{csp:e}=d();return e??{}},layer:{name:"antdx",dependencies:["antd"]}}),O=new g.Mo("loadingMove",{"0%":{transform:"translateY(0)"},"10%":{transform:"translateY(4px)"},"20%":{transform:"translateY(0)"},"30%":{transform:"translateY(-4px)"},"40%":{transform:"translateY(0)"}}),C=new g.Mo("cursorBlink",{"0%":{opacity:1},"50%":{opacity:0},"100%":{opacity:1}}),k=A("Bubble",e=>{let t=(0,m.oX)(e,{});return[(e=>{let{componentCls:t,fontSize:n,lineHeight:r,paddingSM:i,colorText:a,calc:o}=e;return{[t]:{display:"flex",columnGap:i,[`&${t}-end`]:{justifyContent:"end",flexDirection:"row-reverse",[`& ${t}-content-wrapper`]:{alignItems:"flex-end"}},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-typing ${t}-content:last-child::after`]:{content:'"|"',fontWeight:900,userSelect:"none",opacity:1,marginInlineStart:"0.1em",animationName:C,animationDuration:"0.8s",animationIterationCount:"infinite",animationTimingFunction:"linear"},[`& ${t}-avatar`]:{display:"inline-flex",justifyContent:"center",alignSelf:"flex-start"},[`& ${t}-header, & ${t}-footer`]:{fontSize:n,lineHeight:r,color:e.colorText},[`& ${t}-header`]:{marginBottom:e.paddingXXS},[`& ${t}-footer`]:{marginTop:i},[`& ${t}-content-wrapper`]:{flex:"auto",display:"flex",flexDirection:"column",alignItems:"flex-start",minWidth:0,maxWidth:"100%"},[`& ${t}-content`]:{position:"relative",boxSizing:"border-box",minWidth:0,maxWidth:"100%",color:a,fontSize:e.fontSize,lineHeight:e.lineHeight,minHeight:o(i).mul(2).add(o(r).mul(n)).equal(),wordBreak:"break-word",[`& ${t}-dot`]:{position:"relative",height:"100%",display:"flex",alignItems:"center",columnGap:e.marginXS,padding:`0 ${(0,g.zA)(e.paddingXXS)}`,"&-item":{backgroundColor:e.colorPrimary,borderRadius:"100%",width:4,height:4,animationName:O,animationDuration:"2s",animationIterationCount:"infinite",animationTimingFunction:"linear","&:nth-child(1)":{animationDelay:"0s"},"&:nth-child(2)":{animationDelay:"0.2s"},"&:nth-child(3)":{animationDelay:"0.4s"}}}}}}})(t),(e=>{let{componentCls:t,padding:n}=e;return{[`${t}-list`]:{display:"flex",flexDirection:"column",gap:n,overflowY:"auto","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`}}}})(t),(e=>{let{componentCls:t,paddingSM:n,padding:r}=e;return{[t]:{[`${t}-content`]:{"&-filled,&-outlined,&-shadow":{padding:`${(0,g.zA)(n)} ${(0,g.zA)(r)}`,borderRadius:e.borderRadiusLG},"&-filled":{backgroundColor:e.colorFillContent},"&-outlined":{border:`1px solid ${e.colorBorderSecondary}`},"&-shadow":{boxShadow:e.boxShadowTertiary}}}}})(t),(e=>{let{componentCls:t,fontSize:n,lineHeight:r,paddingSM:i,padding:a,calc:o}=e,s=o(n).mul(r).div(2).add(i).equal(),l=`${t}-content`;return{[t]:{[l]:{"&-round":{borderRadius:{_skip_check_:!0,value:s},paddingInline:o(a).mul(1.25).equal()}},[`&-start ${l}-corner`]:{borderStartStartRadius:e.borderRadiusXS},[`&-end ${l}-corner`]:{borderStartEndRadius:e.borderRadiusXS}}}})(t)]},()=>({})),M=o.createContext({}),L=o.forwardRef((e,t)=>{let n,{prefixCls:i,className:u,rootClassName:g,style:m,classNames:b={},styles:y={},avatar:v,placement:E="start",loading:_=!1,loadingRender:x,typing:A,content:S="",messageRender:w,variant:O="filled",shape:C,onTypingComplete:L,header:I,footer:N,_key:R,...P}=e,{onUpdate:D}=o.useContext(M),j=o.useRef(null);o.useImperativeHandle(t,()=>({nativeElement:j.current}));let{direction:B,getPrefixCls:F}=d(),z=F("bubble",i),U=(e=>{let t=o.useContext(l);return o.useMemo(()=>({...c,...t[e]}),[t[e]])})("bubble"),[H,G,$,W]=function(e){return o.useMemo(()=>{if(!e)return[!1,0,0,null];let t={step:1,interval:50,suffix:null};return"object"==typeof e&&(t={...t,...e}),[!0,t.step,t.interval,t.suffix]},[e])}(A),[V,q]=((e,t,n,r)=>{let i=o.useRef(""),[a,s]=o.useState(1),l=t&&p(e);return(0,h.A)(()=>{if(!l&&p(e))s(e.length);else if(p(e)&&p(i.current)&&0!==e.indexOf(i.current)){if(!e||!i.current)return void s(1);let t=function(e,t){let n=0,r=Math.min(e.length,t.length);for(;n{if(l&&a{s(e=>e+n)},r);return()=>{clearTimeout(e)}}},[a,t,e]),[l?e.slice(0,a):e,l&&a{D?.()},[V]);let Y=o.useRef(!1);o.useEffect(()=>{q||_?Y.current=!1:Y.current||(Y.current=!0,L?.())},[q,_]);let[Z,X,K]=k(z),Q=a()(z,g,U.className,u,X,K,`${z}-${E}`,{[`${z}-rtl`]:"rtl"===B,[`${z}-typing`]:q&&!_&&!w&&!W}),J=o.useMemo(()=>o.isValidElement(v)?v:o.createElement(s.A,v),[v]),ee=o.useMemo(()=>w?w(V):V,[V,w]),et=e=>"function"==typeof e?e(V,{key:R}):e;n=_?x?x():o.createElement(f,{prefixCls:z}):o.createElement(o.Fragment,null,ee,q&&W);let en=o.createElement("div",{style:{...U.styles.content,...y.content},className:a()(`${z}-content`,`${z}-content-${O}`,C&&`${z}-content-${C}`,U.classNames.content,b.content)},n);return(I||N)&&(en=o.createElement("div",{className:`${z}-content-wrapper`},I&&o.createElement("div",{className:a()(`${z}-header`,U.classNames.header,b.header),style:{...U.styles.header,...y.header}},et(I)),en,N&&o.createElement("div",{className:a()(`${z}-footer`,U.classNames.footer,b.footer),style:{...U.styles.footer,...y.footer}},et(N)))),Z(o.createElement("div",(0,r.A)({style:{...U.style,...m},className:Q},P,{ref:j}),v&&o.createElement("div",{style:{...U.styles.avatar,...y.avatar},className:a()(`${z}-avatar`,U.classNames.avatar,b.avatar)},J),en))});var I=n(11719),N=n(40032);let R=o.memo(o.forwardRef(({_key:e,...t},n)=>o.createElement(L,(0,r.A)({},t,{_key:e,ref:t=>{t?n.current[e]=t:delete n.current?.[e]}}))));L.List=o.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:i,className:s,items:l,autoScroll:c=!0,roles:u,onScroll:h,...p}=e,f=(0,N.A)(p,{attr:!0,aria:!0}),g=o.useRef(null),m=o.useRef({}),{getPrefixCls:b}=d(),y=b("bubble",n),v=`${y}-list`,[E,_,x]=k(y),[A,S]=o.useState(!1);o.useEffect(()=>(S(!0),()=>{S(!1)}),[]);let w=function(e,t){let n=o.useCallback((e,n)=>"function"==typeof t?t(e,n):t&&t[e.role]||{},[t]);return o.useMemo(()=>(e||[]).map((e,t)=>{let r=e.key??`preset_${t}`;return{...n(e,t),...e,key:r}}),[e,n])}(l,u),[O,C]=o.useState(!0),[L,P]=o.useState(0);o.useEffect(()=>{c&&g.current&&O&&g.current.scrollTo({top:g.current.scrollHeight})},[L]),o.useEffect(()=>{if(c){let e=w[w.length-2]?.key,t=m.current[e];if(t){let{nativeElement:e}=t,{top:n,bottom:r}=e.getBoundingClientRect(),{top:i,bottom:a}=g.current.getBoundingClientRect();ni&&(P(e=>e+1),C(!0))}}},[w.length]),o.useImperativeHandle(t,()=>({nativeElement:g.current,scrollTo:({key:e,offset:t,behavior:n="smooth",block:r})=>{if("number"==typeof t)g.current.scrollTo({top:t,behavior:n});else if(void 0!==e){let t=m.current[e];t&&(C(w.findIndex(t=>t.key===e)===w.length-1),t.nativeElement.scrollIntoView({behavior:n,block:r}))}}}));let D=(0,I._q)(()=>{c&&P(e=>e+1)}),j=o.useMemo(()=>({onUpdate:D}),[]);return E(o.createElement(M.Provider,{value:j},o.createElement("div",(0,r.A)({},f,{className:a()(v,i,s,_,x,{[`${v}-reach-end`]:O}),ref:g,onScroll:e=>{let t=e.target;C(t.scrollHeight-Math.abs(t.scrollTop)-t.clientHeight<=1),h?.(e)}}),w.map(({key:e,...t})=>o.createElement(R,(0,r.A)({},t,{key:e,_key:e,ref:m,typing:!!A&&t.typing}))))))});let P=L},75997:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(86372);function i(e){let t="function"==typeof e?e:e.render;return class extends r.K9{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}},76148:(e,t,n)=>{"use strict";var r=n(19665);function i(e){e.register(r),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=i,i.displayName="vbnet",i.aliases=[]},76160:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,WD:()=>c,ah:()=>l});var r=n(1736),i=n(39001),a=n(32511);let o=(0,i.A)(r.A),s=o.right,l=o.left,c=(0,i.A)(a.A).center,u=s},76594: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=[]},76637:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>Z,adjoint:()=>h,clone:()=>a,copy:()=>o,create:()=>i,decompose:()=>N,determinant:()=>p,equals:()=>ee,exactEquals:()=>J,frob:()=>Y,fromQuat:()=>D,fromQuat2:()=>k,fromRotation:()=>A,fromRotationTranslation:()=>C,fromRotationTranslationScale:()=>R,fromRotationTranslationScaleOrigin:()=>P,fromScaling:()=>x,fromTranslation:()=>_,fromValues:()=>s,fromXRotation:()=>S,fromYRotation:()=>w,fromZRotation:()=>O,frustum:()=>j,getRotation:()=>I,getScaling:()=>L,getTranslation:()=>M,identity:()=>c,invert:()=>d,lookAt:()=>W,mul:()=>et,multiply:()=>f,multiplyScalar:()=>K,multiplyScalarAndAdd:()=>Q,ortho:()=>G,orthoNO:()=>H,orthoZO:()=>$,perspective:()=>F,perspectiveFromFieldOfView:()=>U,perspectiveNO:()=>B,perspectiveZO:()=>z,rotate:()=>b,rotateX:()=>y,rotateY:()=>v,rotateZ:()=>E,scale:()=>m,set:()=>l,str:()=>q,sub:()=>en,subtract:()=>X,targetTo:()=>V,translate:()=>g,transpose:()=>u});var r=n(31142);function i(){var e=new r.tb(16);return r.tb!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function a(e){var t=new r.tb(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function s(e,t,n,i,a,o,s,l,c,u,d,h,p,f,g,m){var b=new r.tb(16);return b[0]=e,b[1]=t,b[2]=n,b[3]=i,b[4]=a,b[5]=o,b[6]=s,b[7]=l,b[8]=c,b[9]=u,b[10]=d,b[11]=h,b[12]=p,b[13]=f,b[14]=g,b[15]=m,b}function l(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,g,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=a,e[5]=o,e[6]=s,e[7]=l,e[8]=c,e[9]=u,e[10]=d,e[11]=h,e[12]=p,e[13]=f,e[14]=g,e[15]=m,e}function c(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function u(e,t){if(e===t){var n=t[1],r=t[2],i=t[3],a=t[6],o=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function d(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],p=t[11],f=t[12],g=t[13],m=t[14],b=t[15],y=n*s-r*o,v=n*l-i*o,E=n*c-a*o,_=r*l-i*s,x=r*c-a*s,A=i*c-a*l,S=u*g-d*f,w=u*m-h*f,O=u*b-p*f,C=d*m-h*g,k=d*b-p*g,M=h*b-p*m,L=y*M-v*k+E*C+_*O-x*w+A*S;return L?(L=1/L,e[0]=(s*M-l*k+c*C)*L,e[1]=(i*k-r*M-a*C)*L,e[2]=(g*A-m*x+b*_)*L,e[3]=(h*x-d*A-p*_)*L,e[4]=(l*O-o*M-c*w)*L,e[5]=(n*M-i*O+a*w)*L,e[6]=(m*E-f*A-b*v)*L,e[7]=(u*A-h*E+p*v)*L,e[8]=(o*k-s*O+c*S)*L,e[9]=(r*O-n*k-a*S)*L,e[10]=(f*x-g*E+b*y)*L,e[11]=(d*E-u*x-p*y)*L,e[12]=(s*w-o*C-l*S)*L,e[13]=(n*C-r*w+i*S)*L,e[14]=(g*v-f*_-m*y)*L,e[15]=(u*_-d*v+h*y)*L,e):null}function h(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],p=t[11],f=t[12],g=t[13],m=t[14],b=t[15],y=n*s-r*o,v=n*l-i*o,E=n*c-a*o,_=r*l-i*s,x=r*c-a*s,A=i*c-a*l,S=u*g-d*f,w=u*m-h*f,O=u*b-p*f,C=d*m-h*g,k=d*b-p*g,M=h*b-p*m;return e[0]=s*M-l*k+c*C,e[1]=i*k-r*M-a*C,e[2]=g*A-m*x+b*_,e[3]=h*x-d*A-p*_,e[4]=l*O-o*M-c*w,e[5]=n*M-i*O+a*w,e[6]=m*E-f*A-b*v,e[7]=u*A-h*E+p*v,e[8]=o*k-s*O+c*S,e[9]=r*O-n*k-a*S,e[10]=f*x-g*E+b*y,e[11]=d*E-u*x-p*y,e[12]=s*w-o*C-l*S,e[13]=n*C-r*w+i*S,e[14]=g*v-f*_-m*y,e[15]=u*_-d*v+h*y,e}function p(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],d=e[10],h=e[11],p=e[12],f=e[13],g=e[14],m=e[15],b=t*o-n*a,y=t*s-r*a,v=n*s-r*o,E=c*f-u*p,_=c*g-d*p,x=u*g-d*f;return l*(t*x-n*_+r*E)-i*(a*x-o*_+s*E)+m*(c*v-u*y+d*b)-h*(p*v-f*y+g*b)}function f(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],p=t[10],f=t[11],g=t[12],m=t[13],b=t[14],y=t[15],v=n[0],E=n[1],_=n[2],x=n[3];return e[0]=v*r+E*s+_*d+x*g,e[1]=v*i+E*l+_*h+x*m,e[2]=v*a+E*c+_*p+x*b,e[3]=v*o+E*u+_*f+x*y,v=n[4],E=n[5],_=n[6],x=n[7],e[4]=v*r+E*s+_*d+x*g,e[5]=v*i+E*l+_*h+x*m,e[6]=v*a+E*c+_*p+x*b,e[7]=v*o+E*u+_*f+x*y,v=n[8],E=n[9],_=n[10],x=n[11],e[8]=v*r+E*s+_*d+x*g,e[9]=v*i+E*l+_*h+x*m,e[10]=v*a+E*c+_*p+x*b,e[11]=v*o+E*u+_*f+x*y,v=n[12],E=n[13],_=n[14],x=n[15],e[12]=v*r+E*s+_*d+x*g,e[13]=v*i+E*l+_*h+x*m,e[14]=v*a+E*c+_*p+x*b,e[15]=v*o+E*u+_*f+x*y,e}function g(e,t,n){var r,i,a,o,s,l,c,u,d,h,p,f,g=n[0],m=n[1],b=n[2];return t===e?(e[12]=t[0]*g+t[4]*m+t[8]*b+t[12],e[13]=t[1]*g+t[5]*m+t[9]*b+t[13],e[14]=t[2]*g+t[6]*m+t[10]*b+t[14],e[15]=t[3]*g+t[7]*m+t[11]*b+t[15]):(r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],p=t[10],f=t[11],e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e[6]=c,e[7]=u,e[8]=d,e[9]=h,e[10]=p,e[11]=f,e[12]=r*g+s*m+d*b+t[12],e[13]=i*g+l*m+h*b+t[13],e[14]=a*g+c*m+p*b+t[14],e[15]=o*g+u*m+f*b+t[15]),e}function m(e,t,n){var r=n[0],i=n[1],a=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function b(e,t,n,i){var a,o,s,l,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w,O,C,k,M=i[0],L=i[1],I=i[2],N=Math.sqrt(M*M+L*L+I*I);return N0?(n[0]=(l*s+d*i+c*o-u*a)*2/h,n[1]=(c*s+d*a+u*i-l*o)*2/h,n[2]=(u*s+d*o+l*a-c*i)*2/h):(n[0]=(l*s+d*i+c*o-u*a)*2,n[1]=(c*s+d*a+u*i-l*o)*2,n[2]=(u*s+d*o+l*a-c*i)*2),C(e,t,n),e}function M(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function L(e,t){var n=t[0],r=t[1],i=t[2],a=t[4],o=t[5],s=t[6],l=t[8],c=t[9],u=t[10];return e[0]=Math.sqrt(n*n+r*r+i*i),e[1]=Math.sqrt(a*a+o*o+s*s),e[2]=Math.sqrt(l*l+c*c+u*u),e}function I(e,t){var n=new r.tb(3);L(n,t);var i=1/n[0],a=1/n[1],o=1/n[2],s=t[0]*i,l=t[1]*a,c=t[2]*o,u=t[4]*i,d=t[5]*a,h=t[6]*o,p=t[8]*i,f=t[9]*a,g=t[10]*o,m=s+d+g,b=0;return m>0?(b=2*Math.sqrt(m+1),e[3]=.25*b,e[0]=(h-f)/b,e[1]=(p-c)/b,e[2]=(l-u)/b):s>d&&s>g?(b=2*Math.sqrt(1+s-d-g),e[3]=(h-f)/b,e[0]=.25*b,e[1]=(l+u)/b,e[2]=(p+c)/b):d>g?(b=2*Math.sqrt(1+d-s-g),e[3]=(p-c)/b,e[0]=(l+u)/b,e[1]=.25*b,e[2]=(h+f)/b):(b=2*Math.sqrt(1+g-s-d),e[3]=(l-u)/b,e[0]=(p+c)/b,e[1]=(h+f)/b,e[2]=.25*b),e}function N(e,t,n,r){t[0]=r[12],t[1]=r[13],t[2]=r[14];var i=r[0],a=r[1],o=r[2],s=r[4],l=r[5],c=r[6],u=r[8],d=r[9],h=r[10];n[0]=Math.sqrt(i*i+a*a+o*o),n[1]=Math.sqrt(s*s+l*l+c*c),n[2]=Math.sqrt(u*u+d*d+h*h);var p=1/n[0],f=1/n[1],g=1/n[2],m=i*p,b=a*f,y=o*g,v=s*p,E=l*f,_=c*g,x=u*p,A=d*f,S=h*g,w=m+E+S,O=0;return w>0?(O=2*Math.sqrt(w+1),e[3]=.25*O,e[0]=(_-A)/O,e[1]=(x-y)/O,e[2]=(b-v)/O):m>E&&m>S?(O=2*Math.sqrt(1+m-E-S),e[3]=(_-A)/O,e[0]=.25*O,e[1]=(b+v)/O,e[2]=(x+y)/O):E>S?(O=2*Math.sqrt(1+E-m-S),e[3]=(x-y)/O,e[0]=(b+v)/O,e[1]=.25*O,e[2]=(_+A)/O):(O=2*Math.sqrt(1+S-m-E),e[3]=(b-v)/O,e[0]=(x+y)/O,e[1]=(_+A)/O,e[2]=.25*O),e}function R(e,t,n,r){var i=t[0],a=t[1],o=t[2],s=t[3],l=i+i,c=a+a,u=o+o,d=i*l,h=i*c,p=i*u,f=a*c,g=a*u,m=o*u,b=s*l,y=s*c,v=s*u,E=r[0],_=r[1],x=r[2];return e[0]=(1-(f+m))*E,e[1]=(h+v)*E,e[2]=(p-y)*E,e[3]=0,e[4]=(h-v)*_,e[5]=(1-(d+m))*_,e[6]=(g+b)*_,e[7]=0,e[8]=(p+y)*x,e[9]=(g-b)*x,e[10]=(1-(d+f))*x,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function P(e,t,n,r,i){var a=t[0],o=t[1],s=t[2],l=t[3],c=a+a,u=o+o,d=s+s,h=a*c,p=a*u,f=a*d,g=o*u,m=o*d,b=s*d,y=l*c,v=l*u,E=l*d,_=r[0],x=r[1],A=r[2],S=i[0],w=i[1],O=i[2],C=(1-(g+b))*_,k=(p+E)*_,M=(f-v)*_,L=(p-E)*x,I=(1-(h+b))*x,N=(m+y)*x,R=(f+v)*A,P=(m-y)*A,D=(1-(h+g))*A;return e[0]=C,e[1]=k,e[2]=M,e[3]=0,e[4]=L,e[5]=I,e[6]=N,e[7]=0,e[8]=R,e[9]=P,e[10]=D,e[11]=0,e[12]=n[0]+S-(C*S+L*w+R*O),e[13]=n[1]+w-(k*S+I*w+P*O),e[14]=n[2]+O-(M*S+N*w+D*O),e[15]=1,e}function D(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n+n,s=r+r,l=i+i,c=n*o,u=r*o,d=r*s,h=i*o,p=i*s,f=i*l,g=a*o,m=a*s,b=a*l;return e[0]=1-d-f,e[1]=u+b,e[2]=h-m,e[3]=0,e[4]=u-b,e[5]=1-c-f,e[6]=p+g,e[7]=0,e[8]=h+m,e[9]=p-g,e[10]=1-c-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function j(e,t,n,r,i,a,o){var s=1/(n-t),l=1/(i-r),c=1/(a-o);return e[0]=2*a*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*a*l,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(i+r)*l,e[10]=(o+a)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*c,e[15]=0,e}function B(e,t,n,r,i){var a=1/Math.tan(t/2);if(e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0){var o=1/(r-i);e[10]=(i+r)*o,e[14]=2*i*r*o}else e[10]=-1,e[14]=-2*r;return e}var F=B;function z(e,t,n,r,i){var a=1/Math.tan(t/2);if(e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0){var o=1/(r-i);e[10]=i*o,e[14]=i*r*o}else e[10]=-1,e[14]=-r;return e}function U(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),s=Math.tan(t.rightDegrees*Math.PI/180),l=2/(o+s),c=2/(i+a);return e[0]=l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-((o-s)*l*.5),e[9]=(i-a)*c*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function H(e,t,n,r,i,a,o){var s=1/(t-n),l=1/(r-i),c=1/(a-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=(o+a)*c,e[15]=1,e}var G=H;function $(e,t,n,r,i,a,o){var s=1/(t-n),l=1/(r-i),c=1/(a-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=c,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=a*c,e[15]=1,e}function W(e,t,n,i){var a,o,s,l,u,d,h,p,f,g,m=t[0],b=t[1],y=t[2],v=i[0],E=i[1],_=i[2],x=n[0],A=n[1],S=n[2];return Math.abs(m-x)0&&(u*=p=1/Math.sqrt(p),d*=p,h*=p);var f=l*h-c*d,g=c*u-s*h,m=s*d-l*u;return(p=f*f+g*g+m*m)>0&&(f*=p=1/Math.sqrt(p),g*=p,m*=p),e[0]=f,e[1]=g,e[2]=m,e[3]=0,e[4]=d*m-h*g,e[5]=h*f-u*m,e[6]=u*g-d*f,e[7]=0,e[8]=u,e[9]=d,e[10]=h,e[11]=0,e[12]=i,e[13]=a,e[14]=o,e[15]=1,e}function q(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function Y(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]+e[3]*e[3]+e[4]*e[4]+e[5]*e[5]+e[6]*e[6]+e[7]*e[7]+e[8]*e[8]+e[9]*e[9]+e[10]*e[10]+e[11]*e[11]+e[12]*e[12]+e[13]*e[13]+e[14]*e[14]+e[15]*e[15])}function Z(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function X(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function K(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Q(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function J(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function ee(e,t){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=e[9],p=e[10],f=e[11],g=e[12],m=e[13],b=e[14],y=e[15],v=t[0],E=t[1],_=t[2],x=t[3],A=t[4],S=t[5],w=t[6],O=t[7],C=t[8],k=t[9],M=t[10],L=t[11],I=t[12],N=t[13],R=t[14],P=t[15];return Math.abs(n-v)<=r.p8*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(i-E)<=r.p8*Math.max(1,Math.abs(i),Math.abs(E))&&Math.abs(a-_)<=r.p8*Math.max(1,Math.abs(a),Math.abs(_))&&Math.abs(o-x)<=r.p8*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(s-A)<=r.p8*Math.max(1,Math.abs(s),Math.abs(A))&&Math.abs(l-S)<=r.p8*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(c-w)<=r.p8*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(u-O)<=r.p8*Math.max(1,Math.abs(u),Math.abs(O))&&Math.abs(d-C)<=r.p8*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(h-k)<=r.p8*Math.max(1,Math.abs(h),Math.abs(k))&&Math.abs(p-M)<=r.p8*Math.max(1,Math.abs(p),Math.abs(M))&&Math.abs(f-L)<=r.p8*Math.max(1,Math.abs(f),Math.abs(L))&&Math.abs(g-I)<=r.p8*Math.max(1,Math.abs(g),Math.abs(I))&&Math.abs(m-N)<=r.p8*Math.max(1,Math.abs(m),Math.abs(N))&&Math.abs(b-R)<=r.p8*Math.max(1,Math.abs(b),Math.abs(R))&&Math.abs(y-P)<=r.p8*Math.max(1,Math.abs(y),Math.abs(P))}var et=f,en=X},76646:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},76722:(e,t,n)=>{"use strict";n.d(t,{Hx:()=>a,Md:()=>o,Ui:()=>i,mU:()=>s});var r=n(37022),i={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},a={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},o={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},s=(0,r.x)({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider")},76896: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=[]},77229:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});let r={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"}},77350: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 r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,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=[]},77536: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=[]},77568:(e,t,n)=>{"use strict";n.d(t,{E:()=>f,h:()=>g});var r=n(39249),i=n(73534),a=n(37022),o=n(96816),s=n(32481),l=n(68058),c=n(25832),u=n(14379),d=n(48875),h=n(34742),p=(0,a.x)({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),f={showLabel:!0,formatter:function(e){return e.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},g=function(e){function t(t){return e.call(this,t,f)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t){var n=(0,o.Lt)(t).maybeAppendByClassName(p.markerGroup,"g");this.renderMarker(n);var r=(0,o.Lt)(t).maybeAppendByClassName(p.labelGroup,"g");this.renderLabel(r)},t.prototype.renderMarker=function(e){var t=this,n=this.attributes,i=n.orientation,a=n.classNamePrefix,o=n.markerSymbol,f=void 0===o?(0,u.sI)(i,"horizontalHandle","verticalHandle"):o;(0,s.V)(!!f,e,function(e){var n=(0,l.iA)(t.attributes,"marker"),i=(0,r.Cl)({symbol:f},n),o=(0,d.X)(p.marker.name,h.n.handleMarker,a);if(t.marker=e.maybeAppendByClassName(p.marker,function(){return new c.p({style:i,className:o})}).update(i),a){var s=t.marker.node().querySelector(".marker");if(s){var u=(s.getAttribute("class")||"").split(" ")[0],g=(0,d.X)(u,h.n.handleMarker,a);s.setAttribute("class",g)}}})},t.prototype.renderLabel=function(e){var t=this,n=this.attributes,i=n.showLabel,a=n.orientation,o=n.spacing,c=void 0===o?0:o,f=n.formatter,g=n.classNamePrefix;(0,s.V)(i,e,function(e){var n,i=(0,l.iA)(t.attributes,"label"),o=i.text,s=(0,r.Tt)(i,["text"]),m=(null==(n=e.select(p.marker.class))?void 0:n.node().getBBox())||{},b=m.width,y=m.height,v=(0,r.zs)((0,u.sI)(a,[0,(void 0===y?0:y)+c,"center","top"],[(void 0===b?0:b)+c,0,"start","middle"]),4),E=v[0],_=v[1],x=v[2],A=v[3],S=(0,d.X)(p.label.name,h.n.handleLabel,g);e.maybeAppendByClassName(p.label,"text").attr("className",S).styles((0,r.Cl)((0,r.Cl)({},s),{x:E,y:_,text:f(o).toString(),textAlign:x,textBaseline:A}))})},t}(i.u)},77680: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,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero 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".trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,a=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},s=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[s]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[a]),lookbehind:!0,inside:o},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[a]),lookbehind:!0,inside:o}],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,[s]),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"]},78115: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"]},78179: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"]},78385:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(42338),i=n(25832),a=n(75224),o=n(75997),s=n(30360),l=n(79135),c=n(63975),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 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 d=(0,o.n)(e=>{let t,n=e.attributes,{className:o,class:d,transform:h,rotate:p,labelTransform:f,labelTransformOrigin:g,x:m,y:b,x0:y=m,y0:v=b,text:E,background:_,connector:x,startMarker:A,endMarker:S,coordCenter:w,innerHTML:O}=n,C=u(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(e.style.transform=`translate(${m}, ${b})`,[m,b,y,v].some(e=>!(0,r.A)(e)))return void e.children.forEach(e=>e.remove());let k=(0,l.Uq)(C,"background"),{padding:M}=k,L=u(k,["padding"]),I=(0,l.Uq)(C,"connector"),{points:N=[]}=I,R=u(I,["points"]);t=O?(0,c.c)(e).maybeAppend("html","html",o).style("zIndex",0).style("innerHTML",O).call(s.AV,Object.assign({transform:f,transformOrigin:g},C)).node():(0,c.c)(e).maybeAppend("text","text").style("zIndex",0).style("text",E).call(s.AV,Object.assign({textBaseline:"middle",transform:f,transformOrigin:g},C)).node();let P=(0,c.c)(e).maybeAppend("background","rect").style("zIndex",-1).call(s.AV,function(e,t=[]){let[n=0,r=0,i=n,a=r]=t,o=e.parentNode,s=o.getEulerAngles();o.setEulerAngles(0);let{min:l,halfExtents:c}=e.getLocalBounds(),[u,d]=l,[h,p]=c;return o.setEulerAngles(s),{x:u-a,y:d-n,width:2*h+a+r,height:2*p+n+i}}(t,M)).call(s.AV,_?L:{}).node(),D=+y(0,a.A)()(e);if(!t[0]&&!t[1])return s([function(e){let{min:[t,n],max:[r,i]}=e.getLocalBounds(),a=0,o=0;return t>0&&(a=t),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(e),t]);if(!n.length)return s([[0,0],t]);let[l,c]=n,u=[...c],d=[...l];if(c[0]!==l[0]){let e=i?-4:4;u[1]=c[1],o&&!i&&(u[0]=Math.max(l[0],c[0]-e),c[1]l[1]?d[1]=u[1]:(d[1]=l[1],d[0]=Math.max(d[0],u[0]-e))),!o&&i&&(u[0]=Math.min(l[0],c[0]-e),c[1]>l[1]?d[1]=u[1]:(d[1]=l[1],d[0]=Math.min(d[0],u[0]-e))),o&&i&&(u[0]=Math.min(l[0],c[0]-e),c[1]{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="tt2",i.aliases=[]},78450:(e,t,n)=>{"use strict";n.d(t,{Io:()=>o,M7:()=>h,Sy:()=>b,Wp:()=>m,bU:()=>u,d9:()=>E,iP:()=>d,kF:()=>l,oe:()=>g,tT:()=>_});var r=n(85757),i=n(32819),a=n(50107);function o(e,t,n,r){var i=e-n,a=t-r;return Math.sqrt(i*i+a*a)}function s(e,t){var n=Math.min.apply(Math,(0,r.A)(e)),i=Math.min.apply(Math,(0,r.A)(t));return{x:n,y:i,width:Math.max.apply(Math,(0,r.A)(e))-n,height:Math.max.apply(Math,(0,r.A)(t))-i}}function l(e,t,n,r,i,a,o){for(var s=Math.atan(-r/n*Math.tan(i)),l=1/0,c=-1/0,u=[a,o],d=-(2*Math.PI);d<=2*Math.PI;d+=Math.PI){var h=s+d;ac&&(c=g)}for(var m=Math.atan(r/(n*Math.tan(i))),b=1/0,y=-1/0,v=[a,o],E=-(2*Math.PI);E<=2*Math.PI;E+=Math.PI){var _=m+E;ay&&(y=S)}return{x:l,y:b,width:c-l,height:y-b}}function c(e,t,n,i,a,s){var l=-1,c=1/0,u=[n,i],d=20;s&&s>200&&(d=s/10);for(var h=1/d,p=h/10,f=0;f<=d;f++){var g=f*h,m=[a.apply(void 0,(0,r.A)(e.concat([g]))),a.apply(void 0,(0,r.A)(t.concat([g])))],b=o(u[0],u[1],m[0],m[1]);b=0&&A=0&&a<=1&&d.push(a);else{var h=c*c-4*l*u;(0,i.A)(h,0)?d.push(-c/(2*l)):h>0&&(a=(-c+(s=Math.sqrt(h)))/(2*l),o=(-c-s)/(2*l),a>=0&&a<=1&&d.push(a),o>=0&&o<=1&&d.push(o))}return d}function g(e,t,n,r,i,a,o,l){for(var c=[e,o],u=[t,l],d=f(e,n,i,o),h=f(t,r,a,l),g=0;g=0?[a]:[]}function E(e,t,n,r,i,a){var o=v(e,n,i)[0],l=v(t,r,a)[0],c=[e,i],u=[t,a];return void 0!==o&&c.push(y(e,n,i,o)),void 0!==l&&u.push(y(t,r,a,l)),s(c,u)}function _(e,t,n,r,i,a,s,l){var u=c([e,n,i],[t,r,a],s,l,y);return o(u.x,u.y,s,l)}},78687: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=[]},78732:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(39249),i=n(32847),a=n(11330),o=n(95483),s=function(e){var t,n,i=(void 0===(t=e)&&(t=!0),["".concat(o.UX),"".concat(o.UX).concat(o.Qo).concat(t?"":"?","W").concat(o.V8,"(").concat(o.Qo).concat(t?"":"?").concat(o.DJ,")?"),"".concat(o.Lp).concat(o.Qo).concat(t?"":"?").concat(o.d_).concat(o.Qo).concat(t?"":"?").concat(o.UX),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Lp).concat(o.Qo).concat(t?"":"?").concat(o.d_),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Lp),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Wt)]),a=(void 0===(n=e)&&(n=!0),["".concat(o.dp,":").concat(n?"":"?").concat(o.pY,":").concat(n?"":"?").concat(o.Z2,"([.,]").concat(o.oG,")?").concat(o.e$,"?"),"".concat(o.dp,":").concat(n?"":"?").concat(o.pY,"?").concat(o.e$)]),s=(0,r.fX)((0,r.fX)([],(0,r.zs)(i),!1),(0,r.zs)(a),!1);return i.forEach(function(e){a.forEach(function(t){s.push("".concat(e,"[T\\s]").concat(t))})}),s.map(function(e){return new RegExp("^".concat(e,"$"))})};function l(e,t){if((0,a.Kg)(e)){for(var n=s(t),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(e){return[e]})),(0,a.cy)(v)){var E=(0,c.y1)(v.length);m.generateDataAndColDataFromArray(!1,t,E,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(E,null==n?void 0:n.columns)}if((0,a.Gv)(v)){for(var _=[],b=0;b=0&&g>=0||m.length>0,"The rowLoc is not found in the indexes."),f>=0&&g>=0&&(O=this.data.slice(f,g),C=this.indexes.slice(f,g)),m.length>0)for(var o=0;o=0&&y>=0){for(var o=0;o0){for(var k=[],M=O.slice(),o=0;o=0&&p>=0||f.length>0,"The colLoc is illegal"),(0,a.Fq)(n)&&(0,c.y1)(this.columns.length).includes(n)&&(g=n,m=n+1),(0,a.cy)(n))for(var o=0;o=0&&p>=0||f.length>0,"The rowLoc is not found in the indexes.");var S=[],w=[];if(h>=0&&p>=0)S=this.data.slice(h,p),w=this.indexes.slice(h,p);else if(f.length>0)for(var o=0;o=0&&m>=0||b.length>0,"The colLoc is not found in the columns index."),g>=0&&m>=0){for(var o=0;o0){for(var O=[],C=S.slice(),o=0;o1){var A={},S=b;v.forEach(function(t){"date"===t?(A.date=e(S.filter(function(e){return l(e)}),n),S=S.filter(function(e){return!l(e)})):"integer"===t?(A.integer=e(S.filter(function(e){return(0,a.u_)(e)&&!l(e)}),n),S=S.filter(function(e){return!(0,a.u_)(e)})):"float"===t?(A.float=e(S.filter(function(e){return(0,a.Oq)(e)&&!l(e)}),n),S=S.filter(function(e){return!(0,a.Oq)(e)})):"string"===t&&(A.string=e(S.filter(function(e){return"string"===d(e,n)})),S=S.filter(function(e){return"string"!==d(e,n)}))}),x.meta=A}2===x.distinct&&"date"!==x.recommendation&&(g.length>=100?x.recommendation="boolean":(0,a.Lm)(_,!0)&&(x.recommendation="boolean")),"string"===f&&Object.assign(x,(o=(r=b.map(function(e){return"".concat(e)})).map(function(e){return e.length}),{maxLength:(0,i.T9)(o),minLength:(0,i.jk)(o),meanLength:(0,i.i2)(o),containsChar:r.some(function(e){return/[A-z]/.test(e)}),containsDigit:r.some(function(e){return/[0-9]/.test(e)}),containsSpace:r.some(function(e){return/\s/.test(e)})})),("integer"===f||"float"===f)&&Object.assign(x,(s=b.map(function(e){return+e}),{minimum:(0,i.jk)(s),maximum:(0,i.T9)(s),mean:(0,i.i2)(s),percentile5:(0,i.YV)(s,5),percentile25:(0,i.YV)(s,25),percentile50:(0,i.YV)(s,50),percentile75:(0,i.YV)(s,75),percentile95:(0,i.YV)(s,95),sum:(0,i.cz)(s),variance:(0,i.GV)(s),standardDeviation:(0,i.Fx)(s),zeros:s.filter(function(e){return 0===e}).length})),"date"===f&&Object.assign(x,(h="integer"===x.type,p=b.map(function(e){if(h){var t="".concat(e);if(8===t.length)return new Date("".concat(t.substring(0,4),"/").concat(t.substring(4,2),"/").concat(t.substring(6,2))).getTime()}return new Date(e).getTime()}),{minimum:b[(0,i.z9)(p)],maximum:b[(0,i.P2)(p)]}));var w=[];return"boolean"!==x.recommendation&&("string"!==x.recommendation||u(x))||w.push("Nominal"),u(x)&&w.push("Ordinal"),("integer"===x.recommendation||"float"===x.recommendation)&&w.push("Interval"),"integer"===x.recommendation&&w.push("Discrete"),"float"===x.recommendation&&w.push("Continuous"),"date"===x.recommendation&&w.push("Time"),x.levelOfMeasurements=w,x}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return t},t.prototype.toString=function(){for(var e=this,t=Array(this.columns.length+1).fill(0),n=0;nt[0]&&(t[0]=r)}for(var n=0;nt[n+1]&&(t[n+1]=r)}for(var n=0;nt[n+1]&&(t[n+1]=r)}return"".concat(g(t[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==e.columns.length?g(t[r+1]-b(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(t[0]-b(n))).concat(null==(i=e.data[r])?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==e.columns.length?g(t[r+1]-b(n)):"")}).join("")).concat(r!==e.indexes.length?"\n":"")}).join(""))},t}(v)},78785:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(58857);function i(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new r.wA(t)}},79121:(e,t,n)=>{"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function i(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=o)):void 0===t&&(t=a);for(var n,r,i,s,u,d=new c(e),h=[d];n=h.pop();)if((i=t(n.data))&&(u=(i=Array.from(i)).length))for(n.children=i,s=u-1;s>=0;--s)h.push(r=i[s]=new c(i[s])),r.parent=n,r.depth=n.depth+1;return d.eachBefore(l)}function a(e){return e.children}function o(e){return Array.isArray(e)?e[1]:null}function s(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function l(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function c(e){this.data=e,this.depth=this.height=0,this.parent=null}n.d(t,{bP:()=>c,lW:()=>l,Ay:()=>i}),c.prototype=i.prototype={constructor:c,count:function(){return this.eachAfter(r)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){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;r=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return i(this).eachBefore(s)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n{"use strict";n.d(t,{D6:()=>s,D_:()=>u,Eg:()=>function e(t,n,r=5,a=0){if(!(a>=r)){for(let o of Object.keys(n)){let s=n[o];(0,i.A)(s)&&(0,i.A)(t[o])?e(t[o],s,r,a+1):t[o]=s}return t}},FX:()=>y,K$:()=>w,Kr:()=>b,L_:()=>S,MT:()=>E,N0:()=>h,ND:()=>p,P:()=>A,Uq:()=>v,YT:()=>_,Zz:()=>d,c6:()=>c,qu:()=>l,rA:()=>x,sw:()=>m,ts:()=>g,z3:()=>f});var r=n(5738),i=n(51459),a=n(67998),o=n(24223);function s(e){let{markType:t,nodeName:n}=e;return"heatmap"===t&&"image"===n}function l(e,t){let n=null!=t?t:function(e){var t;let n=e;for(;n;){if((null==(t=n.attributes)?void 0:t.class)==="view")return n;n=n.parentNode}return null}(e).__data__,{markKey:r,index:i,seriesIndex:a,normalized:o={x:0}}=e.__data__,{markState:l}=n,c=Array.from(l.keys()).find(e=>e.key===r);if(c)return a?a.map(e=>c.data[e]):s(e)?c.data[Math.round(c.data.length*o.x)]:c.data[i]}function c(e,t){let{color:n,facet:r=!1}=e,{color:i,series:s}=t,l=function(e,t){var n,r,i,a;let o=null!=(n=t.markKey)?n:null==(i=null==(r=t.element)?void 0:r.__data__)?void 0:i.markKey,s=Object.keys(e).find(t=>{if(t.startsWith("series")){let n=e[t].getOptions();return"series"===n.name&&n.markKey===o}});return null!=(a=e[s])?a:e.series}(e,t),c=e=>e&&e.invert&&!(e instanceof a.w)&&!(e instanceof o.h);if(c(l))return l.clone().invert(s);if(s&&l instanceof a.w&&l.invert(s)!==i&&!r)return l.invert(s);if(c(n)){let e=n.invert(i);return Array.isArray(e)?null:e}return null}function u(e){return e}function d(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),u)}function h(e){return e.reduce((e,t)=>n=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){return t((yield e(n)))},new(a||(a=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof a?r:new a(function(e){e(r)})).then(n,s)}l((o=o.apply(r,i||[])).next())})},u)}function p(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function f(e=""){throw Error(e)}function g(e,t){let{attributes:n}=t,r=new Set(["id","className"]);for(let[t,i]of Object.entries(n))r.has(t)||e.attr(t,i)}function m(e){return null!=e&&!Number.isNaN(e)}function b(e){let t=new Map;return n=>{if(t.has(n))return t.get(n);let r=e(n);return t.set(n,r),r}}function y(e,t){let{transform:n}=e.style;e.style.transform=`${"none"===n||void 0===n?"":n} ${t}`.trimStart()}function v(e,t){return E(e,t)||{}}function E(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[(0,r.A)(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function _(e,t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.find(t=>e.startsWith(t))))}function x(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function A(e,t){if(void 0===e)return null;if("number"==typeof e)return e;let n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function S(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function w(e){return null===e||!1===e}},79302:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',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:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',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:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},79430:(e,t,n)=>{"use strict";n.d(t,{p:()=>function e(t,n,r,i){if(void 0===i&&(i=0),i>50)return console.warn("Maximum recursion depth reached in equalizeSegments"),[t,n];var o=a(t),s=a(n),l=o.length,c=s.length,u=o.filter(function(e){return e.l}).length,d=s.filter(function(e){return e.l}).length,h=o.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/u||0,p=s.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/d||0,f=r||Math.max(l,c),g=[h,p],m=[f-l,f-c],b=0,y=[o,s].map(function(e,t){return e.l===f?e.map(function(e){return e.s}):e.map(function(e,n){return b=n&&m[t]&&e.l>=g[t],m[t]-=!!b,b?e.ss:[e.s]}).flat()});return y[0].length===y[1].length?y:e(y[0],y[1],f,i+1)}});var r=n(11716),i=n(48624);function a(e){return e.map(function(e,t,n){var a,o,s,l,c,u,d,h,p,f,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,i.y)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===a&&(a=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.l)(o,s,a),d=(0,r.l)(s,l,a),h=(0,r.l)(l,c,a),p=(0,r.l)(u,d,a),f=(0,r.l)(d,h,a),g=(0,r.l)(p,f,a),[["C"].concat(u,p,g),["C"].concat(f,h,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},79535:(e,t,n)=>{"use strict";n.d(t,{E:()=>c,z:()=>l});var r=n(39249),i=n(69138),a=n(42338),o=n(72679),s=n(86372);function l(e){return"function"==typeof e?e():(0,i.A)(e)||(0,a.A)(e)?new o.E({style:{text:String(e)}}):e}function c(e,t){return"function"==typeof e?e():(0,i.A)(e)||(0,a.A)(e)?new s.g3({style:(0,r.Cl)((0,r.Cl)({pointerEvents:"auto"},t),{innerHTML:e})}):e}},79848: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=[]},81036:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n=i)&&(n=i)}return n}n.d(t,{A:()=>r})},81077:e=>{"use strict";e.exports=function(e,n){for(var r,i,a,o=e||"",s=n||"div",l={},c=0;c{"use strict";n.d(t,{A:()=>Z});var r=n(39249),i=n(86372),a=n(31563),o=n(52691),s=n(73534),l=n(72679),c=n(68058),u=n(8798),d=n(87287),h=n(96816),p=n(32481),f=n(26515),g=n(40456);function m({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):n}function b(e){return"object"==typeof e?e.valueOf():e}class y extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=b,null!==e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(m({map:this.map,initKey:this.initKey},e))}has(e){return super.has(m({map:this.map,initKey:this.initKey},e))}set(e,t){return super.set(function({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}({map:this.map,initKey:this.initKey},e),t)}delete(e){return super.delete(function({map:e,initKey:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}({map:this.map,initKey:this.initKey},e))}}var v=n(51927);let E=Symbol("defaultUnknown");function _(e,t,n){for(let r=0;r`${e}`:"object"==typeof e?e=>JSON.stringify(e):e=>e}class S extends v.C{getDefaultOptions(){return{domain:[],range:[],unknown:E}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&_(this.domainIndexMap,this.getDomain(),this.domainKey),x({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&_(this.rangeIndexMap,this.getRange(),this.rangeKey),x({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){let[t]=this.options.domain,[n]=this.options.range;if(this.domainKey=A(t),this.rangeKey=A(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new S(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:e,compare:t}=this.options;return this.sortedDomain=t?[...e].sort(t):e,this.sortedDomain}}class w extends S{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:E,flex:[]}}constructor(e){super(e)}clone(){return new w(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:e,paddingInner:t}=this.options;return e>0?e:t}getPaddingOuter(){let{padding:e,paddingOuter:t}=this.options;return e>0?e:t}rescale(){super.rescale();let{align:e,domain:t,range:n,round:r,flex:i}=this.options,{adjustedRange:a,valueBandWidth:o,valueStep:s}=function(e){var t;let n,r,{domain:i}=e,a=i.length;if(0===a)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(null==(t=e.flex)?void 0:t.length)return function(e){let{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:s}=e,l=t.length,c=function(e,t){let n=t-e.length;return n>0?[...e,...Array(n).fill(1)]:n<0?e.slice(0,t):e}(a,l),[u,d]=n,h=d-u,p=h/(2/l*r+1-1/l*i),f=p*i/l,g=p-l*f,m=function(e){let t=Math.min(...e);return e.map(e=>e/t)}(c),b=g/m.reduce((e,t)=>e+t),v=new y(t.map((e,t)=>{let n=m[t]*b;return[e,o?Math.floor(n):n]})),E=new y(t.map((e,t)=>{let n=m[t]*b+f;return[e,o?Math.floor(n):n]})),_=Array.from(E.values()).reduce((e,t)=>e+t),x=u+(h-(_-_/l*i))*s,A=o?Math.round(x):x,S=Array(l);for(let e=0;ed+t*n);return{valueStep:n,valueBandWidth:r,adjustedRange:p}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=s,this.valueBandWidth=o,this.adjustedRange=a}}var O=n(84501),C=n(42338),k=n(50636),M=n(56775),L=n(14837),I=n(38310),N=function(e){function t(t){var n=this,a=t.style,o=(0,r.Tt)(t,["style"]);return(n=e.call(this,(0,L.A)({},{type:"column"},(0,r.Cl)({style:a},o)))||this).columnsGroup=new i.YJ({name:"columns"}),n.appendChild(n.columnsGroup),n.render(),n}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.attributes,t=e.columns,n=e.x,r=e.y;this.columnsGroup.style.transform="translate(".concat(n,", ").concat(r,")"),(0,h.Lt)(this.columnsGroup).selectAll(".column").data(t.flat()).join(function(e){return e.append("rect").attr("className","column").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.attr(e)})},function(e){return e.remove()})},t.prototype.update=function(e){this.attr((0,I.E)({},this.attributes,e)),this.render()},t.prototype.clear=function(){this.removeChildren()},t}(i.q9),R=function(e){function t(t){var n=this,a=t.style,o=(0,r.Tt)(t,["style"]);return(n=e.call(this,(0,L.A)({},{type:"lines"},(0,r.Cl)({style:a},o)))||this).linesGroup=n.appendChild(new i.YJ),n.areasGroup=n.appendChild(new i.YJ),n.render(),n}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.attributes,t=e.lines,n=e.areas,r=e.x,i=e.y;this.style.transform="translate(".concat(r,", ").concat(i,")"),t&&this.renderLines(t),n&&this.renderAreas(n)},t.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},t.prototype.update=function(e){this.attr((0,I.E)({},this.attributes,e)),this.render()},t.prototype.renderLines=function(e){(0,h.Lt)(this.linesGroup).selectAll(".line").data(e).join(function(e){return e.append("path").attr("className","line").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.attr(e)})},function(e){return e.remove()})},t.prototype.renderAreas=function(e){(0,h.Lt)(this.linesGroup).selectAll(".area").data(e).join(function(e){return e.append("path").attr("className","area").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.style(e)})},function(e){return e.remove()})},t}(i.q9),P=n(9681),D=n(75403);function j(e,t){void 0===t&&(t=!1);var n=t?e.length-1:0,i=e.map(function(e,t){return(0,r.fX)([t===n?"M":"L"],(0,r.zs)(e),!1)});return t?i.reverse():i}function B(e,t){if(void 0===t&&(t=!1),e.length<=2)return j(e);for(var n=[],i=e.length,a=0;ar&&(n=a,r=o)}return n}};function $(e){return 0===e.length?[0,0]:[(0,z.A)(U(e,function(e){return(0,z.A)(e)||0})),(0,H.A)(G(e,function(e){return(0,H.A)(e)||0}))]}function W(e){for(var t=(0,O.A)(e),n=t[0].length,i=(0,r.zs)([Array(n).fill(0),Array(n).fill(0)],2),a=i[0],o=i[1],s=0;s=0?(l[c]+=a[c],a[c]=l[c]):(l[c]+=o[c],o[c]=l[c]);return t}var V=function(e){function t(t){return e.call(this,t,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"rawData",{get:function(){var e=this.attributes.data;if(!e||(null==e?void 0:e.length)===0)return[[]];var t=(0,O.A)(e);return(0,C.A)(t[0])?[t]:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.attributes.isStack?W(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseline",{get:function(){var e=this.scales.y,t=(0,r.zs)(e.getOptions().domain||[0,0],2),n=t[0],i=t[1];return i<0?e.map(i):e.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerShape",{get:function(){var e=this.attributes;return{width:e.width,height:e.height}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linesStyle",{get:function(){var e=this,t=this.attributes,n=t.type,i=t.isStack,o=t.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var s=(0,c.iA)(this.attributes,"area"),l=(0,c.iA)(this.attributes,"line"),u=this.containerShape.width,d=this.data;if(0===d[0].length)return{lines:[],areas:[]};var h=this.scales,p=(b=(g={type:"line",x:h.x,y:h.y}).x,y=g.y,E=(v=(0,r.zs)(y.getOptions().range||[0,0],2))[0],(_=v[1])>E&&(_=(m=(0,r.zs)([E,_],2))[0],E=m[1]),d.map(function(e){return e.map(function(e,t){return[b.map(t),(0,a.A)(y.map(e),_,E)]})})),f=[];if(s){var g,m,b,y,v,E,_,x=this.baseline;f=i?o?function(e,t,n){for(var i=[],a=e.length-1;a>=0;a-=1){var o=e[a],s=B(o),l=void 0;if(0===a)l=F(s,t,n);else{var c=B(e[a-1],!0),u=o[0];c[0][0]="L",l=(0,r.fX)((0,r.fX)((0,r.fX)([],(0,r.zs)(s),!1),(0,r.zs)(c),!1),[(0,r.fX)(["M"],(0,r.zs)(u),!1),["Z"]],!1)}i.push(l)}return i}(p,u,x):function(e,t,n){for(var i=[],a=e.length-1;a>=0;a-=1){var o=j(e[a]),s=void 0;if(0===a)s=F(o,t,n);else{var l=j(e[a-1],!0);l[0][0]="L",s=(0,r.fX)((0,r.fX)((0,r.fX)([],(0,r.zs)(o),!1),(0,r.zs)(l),!1),[["Z"]],!1)}i.push(s)}return i}(p,u,x):p.map(function(e){return F(o?B(e):j(e),u,x)})}return{lines:p.map(function(t,n){return(0,r.Cl)({stroke:e.getColor(n),d:o?B(t):j(t)},l)}),areas:f.map(function(t,n){return(0,r.Cl)({d:t,fill:e.getColor(n)},s)})}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsStyle",{get:function(){var e=this,t=(0,c.iA)(this.attributes,"column"),n=this.attributes,i=n.isStack,a=n.type,o=n.scale;if("column"!==a)throw Error("columnsStyle can only be used in column type");var s=this.containerShape.height,l=this.rawData;if(!l)return{columns:[]};i&&(l=W(l));var u=this.createScales(l),d=u.x,h=u.y,p=(0,r.zs)($(l),2),f=p[0],m=p[1],b=new g.W({domain:[0,m-(f>0?0:f)],range:[0,s*o]}),y=d.getBandWidth(),v=this.rawData;return{columns:l.map(function(n,a){return n.map(function(n,o){var s=y/l.length;return(0,r.Cl)((0,r.Cl)({fill:e.getColor(a)},t),i?{x:d.map(o),y:h.map(n),width:y,height:b.map(v[a][o])}:{x:d.map(o)+s*a,y:n>=0?h.map(n):h.map(0),width:s,height:b.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),t.prototype.render=function(e,t){(0,h.hN)(t,".container","rect").attr("className","container").node();var n=e.type,i=e.x,a=e.y,o="spark".concat(n),s=(0,r.Cl)({x:i,y:a},"line"===n?this.linesStyle:this.columnsStyle);(0,h.Lt)(t).selectAll(".spark").data([n]).join(function(e){return e.append(function(e){return"line"===e?new R({className:o,style:s}):new N({className:o,style:s})}).attr("className","spark ".concat(o))},function(e){return e.update(s)},function(e){return e.remove()})},t.prototype.getColor=function(e){var t=this.attributes.color;return(0,k.A)(t)?t[e%t.length]:(0,M.A)(t)?t.call(null,e):t},t.prototype.createScales=function(e){var t,n,i=this.attributes,a=i.type,o=i.scale,s=i.range,l=void 0===s?[]:s,c=i.spacing,u=this.containerShape,d=u.width,h=u.height,p=(0,r.zs)($(e),2),f=p[0],m=p[1],b=new g.W({domain:[null!=(t=l[0])?t:f,null!=(n=l[1])?n:m],range:[h,h*(1-o)]});return"line"===a?{type:a,x:new g.W({domain:[0,e[0].length-1],range:[0,d]}),y:b}:{type:a,x:new w({domain:e[0].map(function(e,t){return t}),range:[0,d],paddingInner:c,paddingOuter:c/2,align:.5}),y:b}},t.tag="sparkline",t}(s.u),q=n(76722),Y=n(96312),Z=function(e){function t(t){var n=e.call(this,t,(0,r.Cl)((0,r.Cl)((0,r.Cl)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(e){return e.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},(0,c.dQ)(q.Md,"handle")),(0,c.dQ)(q.Ui,"handleIcon")),(0,c.dQ)(q.Hx,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(e){return function(t){t.stopPropagation(),n.target=e,n.prevPos=n.getOrientVal((0,u.t)(t));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),s=o.x,l=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+s,+l])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(e){var t=n.attributes,r=t.slidable,i=t.brushable,a=t.type;e.stopPropagation();var o=n.getOrientVal((0,u.t)(e)),s=o-n.prevPos;if(s){var l=n.getRatio(s);switch(n.target){case"start":r&&n.setValuesOffset(l);break;case"end":r&&n.setValuesOffset(0,l);break;case"selection":r&&n.setValuesOffset(l,l);break;case"track":if(!i)return;n.selectionWidth+=l,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(e){var t=n.attributes,r=t.onChange,a=t.type,o="range"===a?e:e[1],s="range"===a?n.getValues():n.getValues()[1],l=new i.up("valuechange",{detail:{oldValue:o,value:s}});n.dispatchEvent(l),null==r||r(s)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"values",{get:function(){return this.attributes.values},set:function(e){this.attributes.values=this.clampValues(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var e=(0,c.iA)(this.attributes,"sparkline");return(0,r.Cl)((0,r.Cl)({zIndex:0},this.availableSpace),e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var e=this.attributes,t=e.trackLength,n=e.trackSize,i=(0,r.zs)(this.getOrientVal([[t,n],[n,t]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var e=this.attributes,t=(e.x,e.y,e.padding),n=(0,r.zs)((0,d.i)(t),4),i=n[0],a=n[1],o=n[2],s=n[3],l=this.shape;return{x:s,y:i,width:l.width-(s+a),height:l.height-(i+o)}},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.values},t.prototype.setValues=function(e,t){void 0===e&&(e=[0,0]),void 0===t&&(t=!1),this.attributes.values=e;var n=!1!==t&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},t.prototype.updateSelectionArea=function(e){var t=this.calcSelectionArea();this.foregroundGroup.selectAll(q.mU.selection.class).each(function(n,r){(0,o.kY)(this,t[r],e)})},t.prototype.updateHandlesPosition=function(e){this.attributes.showHandle&&(this.startHandle&&(0,o.kY)(this.startHandle,this.getHandleStyle("start"),e),this.endHandle&&(0,o.kY)(this.endHandle,this.getHandleStyle("end"),e))},t.prototype.innerSetValues=function(e,t){void 0===e&&(e=[0,0]),void 0===t&&(t=!1);var n=this.values,r=this.clampValues(e);this.attributes.values=r,this.setValues(r),t&&this.onValueChange(n)},t.prototype.renderTrack=function(e){var t=this.attributes,n=t.x,i=t.y,a=(0,c.iA)(this.attributes,"track");this.trackShape=(0,h.Lt)(e).maybeAppendByClassName(q.mU.track,"rect").styles((0,r.Cl)((0,r.Cl)({x:n,y:i},this.shape),a))},t.prototype.renderBrushArea=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.brushable;this.brushArea=(0,h.Lt)(e).maybeAppendByClassName(q.mU.brushArea,"rect").styles((0,r.Cl)({x:n,y:i,fill:"transparent",cursor:a?"crosshair":"default"},this.shape))},t.prototype.renderSparkline=function(e){var t=this,n=this.attributes,i=n.x,a=n.y,o=n.orientation,s=(0,h.Lt)(e).maybeAppendByClassName(q.mU.sparklineGroup,"g");(0,p.V)("horizontal"===o,s,function(e){var n=(0,r.Cl)((0,r.Cl)({},t.sparklineStyle),{x:i,y:a});e.maybeAppendByClassName(q.mU.sparkline,function(){return new V({style:n})}).update(n)})},t.prototype.renderHandles=function(){var e,t=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null==(e=this.foregroundGroup)||e.selectAll(q.mU.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(e){return{type:e}}),function(e){return e.type}).join(function(e){return e.append(function(e){var n=e.type;return new Y.h({style:t.getHandleStyle(n)})}).each(function(e){var t=e.type;this.attr("class","".concat(q.mU.handle.name," ").concat(t,"-handle")),a["".concat(t,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(t))})},function(e){return e.each(function(e){var t=e.type;this.update(a.getHandleStyle(t))})},function(e){return e.each(function(e){var t=e.type;a["".concat(t,"Handle")]=void 0}).remove()})},t.prototype.renderSelection=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.type,o=t.selectionType;this.foregroundGroup=(0,h.Lt)(e).maybeAppendByClassName(q.mU.foreground,"g");var s=(0,c.iA)(this.attributes,"selection"),l=function(e){return e.style("visibility",function(e){return e.show?"visible":"hidden"}).style("cursor",function(e){return"select"===o?"grab":"invert"===o?"crosshair":"default"}).styles((0,r.Cl)((0,r.Cl)({},s),{transform:"translate(".concat(n,", ").concat(i,")")}))},u=this;this.foregroundGroup.selectAll(q.mU.selection.class).data("value"===a?[]:this.calcSelectionArea().map(function(e,t){return{style:(0,r.Cl)({},e),index:t,show:"select"===o?1===t:1!==t}}),function(e){return e.index}).join(function(e){return e.append("rect").attr("className",q.mU.selection.name).call(l).each(function(e,t){var n=this;1===t?(u.selectionShape=(0,h.Lt)(this),this.on("pointerdown",function(e){n.attr("cursor","grabbing"),u.onDragStart("selection")(e)}),u.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),u.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),u.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",u.onDragStart("track"))})},function(e){return e.call(l)},function(e){return e.remove()}),this.updateSelectionArea(!1),this.renderHandles()},t.prototype.render=function(e,t){this.renderTrack(t),this.renderSparkline(t),this.renderBrushArea(t),this.renderSelection(t)},t.prototype.clampValues=function(e,t){void 0===t&&(t=4);var n,i=(0,r.zs)(this.range,2),o=i[0],s=i[1],l=(0,r.zs)(this.getValues().map(function(e){return(0,f.QX)(e,t)}),2),c=l[0],u=l[1],d=Array.isArray(e)?e:[c,null!=e?e:u],h=(0,r.zs)((d||[c,u]).map(function(e){return(0,f.QX)(e,t)}),2),p=h[0],g=h[1];if("value"===this.attributes.type)return[0,(0,a.A)(g,o,s)];p>g&&(p=(n=(0,r.zs)([g,p],2))[0],g=n[1]);var m=g-p;return m>s-o?[o,s]:ps?u===s&&c===p?[p,s]:[s-m,s]:[p,g]},t.prototype.calcSelectionArea=function(e){var t=(0,r.zs)(this.clampValues(e),2),n=t[0],i=t[1],a=this.availableSpace,o=a.x,s=a.y,l=a.width,c=a.height;return this.getOrientVal([[{y:s,height:c,x:o,width:n*l},{y:s,height:c,x:n*l+o,width:(i-n)*l},{y:s,height:c,x:i*l,width:(1-i)*l}],[{x:o,width:l,y:s,height:n*c},{x:o,width:l,y:n*c+s,height:(i-n)*c},{x:o,width:l,y:i*c,height:(1-i)*c}]])},t.prototype.calcHandlePosition=function(e){var t=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,a=n.y,o=n.width,s=n.height,l=(0,r.zs)(this.clampValues(),2),c=l[0],u=l[1],d=("start"===e?c:u)*this.getOrientVal([o,s])+("start"===e?-t:t);return{x:i+this.getOrientVal([d,o/2]),y:a+this.getOrientVal([s/2,d])}},t.prototype.inferTextStyle=function(e){return"horizontal"===this.attributes.orientation?{}:"start"===e?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===e?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},t.prototype.calcHandleText=function(e){var t,n=this.attributes,i=n.type,a=n.orientation,o=n.formatter,s=n.autoFitLabel,u=(0,c.iA)(this.attributes,"handle"),d=(0,c.iA)(u,"label"),h=u.spacing,p=this.getHandleSize(),f=this.clampValues(),g=o("start"===e?f[0]:f[1]),m=new l.E({style:(0,r.Cl)((0,r.Cl)((0,r.Cl)({},d),this.inferTextStyle(e)),{text:g})}),b=m.getBBox(),y=b.width,v=b.height;if(m.destroy(),!s){if("value"===i)return{text:g,x:0,y:-v-h};var E=h+p+("horizontal"===a?y/2:0);return(t={text:g})["horizontal"===a?"x":"y"]="start"===e?-E:E,t}var _=0,x=0,A=this.availableSpace,S=A.width,w=A.height,O=this.calcSelectionArea()[1],C=O.x,k=O.y,M=O.width,L=O.height,I=h+p;if("horizontal"===a){var N=I+y/2;_="start"===e?C-I-y>0?-N:N:S-C-M-I>y?N:-N}else{var R=v+I;x="start"===e?k-p>v?-R:I:w-(k+L)-p>v?R:-I}return{x:_,y:x,text:g}},t.prototype.getHandleLabelStyle=function(e){var t=(0,c.iA)(this.attributes,"handleLabel");return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},t),this.calcHandleText(e)),this.inferTextStyle(e))},t.prototype.getHandleIconStyle=function(){var e=this.attributes.handleIconShape,t=(0,c.iA)(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,r.Cl)({cursor:n,shape:e,size:i},t)},t.prototype.getHandleStyle=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.showLabel,o=t.showLabelOnInteraction,s=t.orientation,l=this.calcHandlePosition(e),u=l.x,d=l.y,h=this.calcHandleText(e),p=a;return!a&&o&&(p=!!this.target),(0,r.Cl)((0,r.Cl)((0,r.Cl)({},(0,c.dQ)(this.getHandleIconStyle(),"icon")),(0,c.dQ)((0,r.Cl)((0,r.Cl)({},this.getHandleLabelStyle(e)),h),"label")),{transform:"translate(".concat(u+n,", ").concat(d+i,")"),orientation:s,showLabel:p,type:e,zIndex:3})},t.prototype.getHandleSize=function(){var e=this.attributes,t=e.handleIconSize,n=e.width,r=e.height;return t||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},t.prototype.getOrientVal=function(e){var t=(0,r.zs)(e,2),n=t[0],i=t[1];return"horizontal"===this.attributes.orientation?n:i},t.prototype.setValuesOffset=function(e,t){void 0===t&&(t=0);var n=this.attributes.type,i=(0,r.zs)(this.getValues(),2),a=[i[0]+("range"===n?e:0),i[1]+t].sort();this.innerSetValues(a,!0)},t.prototype.getRatio=function(e){var t=this.availableSpace,n=t.width,r=t.height;return e/this.getOrientVal([n,r])},t.prototype.dispatchCustomEvent=function(e,t,n){var r=this;e.on(t,function(e){e.stopPropagation(),r.dispatchEvent(new i.up(n,{detail:e}))})},t.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var e=this.brushArea;this.dispatchCustomEvent(e,"click","trackClick"),this.dispatchCustomEvent(e,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(e,"pointerleave","trackMouseleave"),e.on("pointerdown",this.onDragStart("track"))},t.prototype.onScroll=function(e){if(this.attributes.scrollable){var t=e.deltaX,n=e.deltaY,r=this.getRatio(n||t);this.setValuesOffset(r,r)}},t.tag="slider",t}(s.u)},81357:(e,t,n)=>{"use strict";function r(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}n.d(t,{A:()=>r})},81472:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)}},81512:e=>{"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},81576:e=>{"use strict";function t(e,t,n,r,i,a){this.fontSize=e||24,this.buffer=void 0===t?3:t,this.cutoff=r||.25,this.fontFamily=i||"sans-serif",this.fontWeight=a||"normal",this.radius=n||8;var o=this.size=this.fontSize+2*this.buffer,s=o+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=o,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textAlign="left",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(s*s),this.gridInner=new Float64Array(s*s),this.f=new Float64Array(s),this.z=new Float64Array(s+1),this.v=new Uint16Array(s),this.useMetrics=void 0!==this.ctx.measureText("A").actualBoundingBoxLeft,this.middle=Math.round(o/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function n(e,t,n,i,a,o){for(var s=0;s-1);a[++l]=s,o[l]=c,o[l+1]=1e20}for(s=0,l=0;s{e.exports=function(e){e.installMethod("isDark",function(){var e=this.rgb();return(255*e._red*299+255*e._green*587+255*e._blue*114)/1e3<128})}},82164:e=>{"use strict";function t(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\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)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\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:/[\[\]*+\-\/%<>=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},82559: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=[]},82661:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(21419),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},82769:(e,t,n)=>{"use strict";n.d(t,{A:()=>eE});var r=n(90333);let i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),l=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();var c="[0-9](_*[0-9])*",u=`\\.(${c})`,d="[0-9a-fA-F](_*[0-9a-fA-F])*",h={className:"number",variants:[{begin:`(\\b(${c})((${u})|\\.)?|(${u}))[eE][+-]?(${c})[fFdD]?\\b`},{begin:`\\b(${c})((${u})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${u})[fFdD]?\\b`},{begin:`\\b(${c})[fFdD]\\b`},{begin:`\\b0[xX]((${d})\\.?|(${d})?\\.(${d}))[pP][+-]?(${c})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${d})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let p="[A-Za-z$_][0-9A-Za-z$_]*",f=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],g=["true","false","null","undefined","NaN","Infinity"],m=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],b=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],y=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],v=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],E=[].concat(y,m,b);var _="[0-9](_*[0-9])*",x=`\\.(${_})`,A="[0-9a-fA-F](_*[0-9a-fA-F])*",S={className:"number",variants:[{begin:`(\\b(${_})((${x})|\\.)?|(${x}))[eE][+-]?(${_})[fFdD]?\\b`},{begin:`\\b(${_})((${x})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${x})[fFdD]?\\b`},{begin:`\\b(${_})[fFdD]\\b`},{begin:`\\b0[xX]((${A})\\.?|(${A})?\\.(${A}))[pP][+-]?(${_})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${A})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let w=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],O=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),C=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),k=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),M=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),L=C.concat(k).sort().reverse(),I=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],N=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),R=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),P=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),D=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function j(e){return e?"string"==typeof e?e:e.source:null}function B(e){return F("(?=",e,")")}function F(...e){return e.map(e=>j(e)).join("")}function z(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>j(e)).join("|")+")"}let U=e=>F(/\b/,e,/\w$/.test(e)?/\b/:/\B/),H=["Protocol","Type"].map(U),G=["init","self"].map(U),$=["Any","Self"],W=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],V=["false","nil","true"],q=["assignment","associativity","higherThan","left","lowerThan","none","right"],Y=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Z=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],X=z(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),K=z(X,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Q=F(X,K,"*"),J=z(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),ee=z(J,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),et=F(J,ee,"*"),en=F(/[A-Z]/,ee,"*"),er=["attached","autoclosure",F(/convention\(/,z("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",F(/objc\(/,et,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ei=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],ea="[A-Za-z$_][0-9A-Za-z$_]*",eo=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],es=["true","false","null","undefined","NaN","Infinity"],el=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ec=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],eu=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ed=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],eh=[].concat(eu,el,ec),ep={arduino:function(e){let t=function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:f.concat([{begin:/\(/,end:/\)/,keywords:h,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),n=t.keywords;return n.type=[...n.type,"boolean","byte","word","String"],n.literal=[...n.literal,"DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"],n.built_in=[...n.built_in,"KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],n._hints=["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],t.name="Arduino",t.aliases=["ino"],t.supersetOf="cpp",t},bash:function(e){let t=e.regex,n={};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},{begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]}]});let r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,r]};r.contains.push(o);let s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,s,i,a,{match:/(\/[a-z._-]+)+/},o,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:h}}},cpp:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:f.concat([{begin:/\(/,end:/\)/,keywords:h,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){let t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=e.inherit(i,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});o.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},css:function(e){let t=e.regex,n={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+o.join("|")+")"},{begin:":(:)?("+s.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+l.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b"}]}},diff:function(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},go:function(e){let t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"e(t,n,r-1))}("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},a={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h,a]}},javascript:function(e){var t;let n=e.regex,r=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,a={$pattern:p,keyword:f,literal:g,built_in:E,"variable.language":v},o="[0-9](_?[0-9])*",s=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},_={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},A={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},S=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,_,x,{match:/\$\d+/},c];u.contains=S.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(S)});let w=[].concat(A,u.contains),O=w.concat([{begin:/(\s*)\(/,end:/\)/,keywords:a,contains:["self"].concat(w)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},k={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,n.concat(p,"(",n.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},M={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...m,...b]}},L={match:n.concat(/\b/,(t=[...y,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),p,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},I={begin:n.concat(/\./,n.lookahead(n.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:M},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,_,x,A,{match:/\$\d+/},c,M,{scope:"attr",match:p+n.lookahead(":"),relevance:0},R,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[A,e.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r,"on:begin":(e,t)=>{let n,r=e[0].length+e.index,i=e.input[r];if("<"===i||","===i)return void t.ignoreMatch();">"!==i||((e,{after:t})=>{let n="/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[c,e.C_LINE_COMMENT_MODE,l],relevance:0},e.C_LINE_COMMENT_MODE,l,o,s,a,e.C_NUMBER_MODE]},l]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},o,s]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},S]}},less:function(e){let t={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},n="[\\w-]+",r="("+n+"|@\\{"+n+"\\})",i=[],a=[],o=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},s=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:O.join(" ")};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o("'"),o('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,{begin:"\\(",end:"\\)",contains:a,keywords:l,relevance:0},s("variable","@@?"+n,10),s("variable","@\\{"+n+"\\}"),s("built_in","~?`[^`]*?`"),{className:"attribute",begin:n+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let c=a.concat({begin:/\{/,end:/\}/,contains:i}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},d={begin:r+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,s("keyword","all\\b"),s("variable","@\\{"+n+"\\}"),{begin:"\\b("+w.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,s("selector-tag",r,0),s("selector-id","#"+r),s("selector-class","\\."+r,0),s("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+C.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+k.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:c},{begin:"!important"},t.FUNCTION_DISPATCH]},p={begin:n+":(:)?"+`(${L.join("|")})`,returnBegin:!0,contains:[h]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:a,relevance:0}},{className:"variable",variants:[{begin:"@"+n+"\\s*:",relevance:15},{begin:"@"+n}],starts:{end:"[;}]",returnEnd:!0,contains:c}},p,d,h,u,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}},lua:function(e){let t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},r={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},i={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},a={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(i,{contains:[]}),s=e.inherit(a,{contains:[]});i.contains.push(s),a.contains.push(o);let l=[n,r];[i,a,o,s].forEach(e=>{e.contains=e.contains.concat(l)});let c={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:l=l.concat(i,a)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:l}]}]};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[c,n,{className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i,a,{className:"quote",begin:"^>\\s+",contains:l,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},r,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}},objectivec:function(e){let t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},perl:function(e){let t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot class close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl field fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map method mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},c=[e.BACKSLASH_ESCAPE,i,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,r,i="\\1")=>{let a="\\1"===i?i:t.concat(i,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,n)},h=(e,r,i)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,n),p=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(...u,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}},php:function(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h="[ \n]",p={scope:"string",variants:[c,l,u,d]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},g=["false","null","true"],m=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],y={keyword:m,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:b},v=e=>e.map(e=>e.replace(/\|\d+$/,"")),E={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",v(b).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},_=t.concat(r,"\\b(?!\\()"),x={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),_],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),_],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},A={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[A,o,x,e.C_BLOCK_COMMENT_MODE,p,f,E]},w={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",v(m).join("\\b|"),"|",v(b).join("\\b|"),"\\b)"),r,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(w);let O=[A,x,e.C_BLOCK_COMMENT_MODE,p,f,E],C={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...O]},...O,{scope:"meta",variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[C,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},o,w,x,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",C,o,x,e.C_BLOCK_COMMENT_MODE,p,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,f]}},"php-template":function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},python:function(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",a,h,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,h,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,h,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,f,l]}]}},"python-repl":function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}},r:function(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},f=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=f,p.contains=f;let g=[{begin:/^\s*=>/,starts:{end:"$",contains:f}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:a,contains:f}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(g).concat(l).concat(f)}},rust:function(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",s=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:s},illegal:""},a]}},scss:function(e){let t={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},n="@[a-z-]+",r={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+I.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+R.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+P.join("|")+")"},r,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+D.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,r,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:n,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:N.join(" ")},contains:[{begin:n,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},r,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){let t=e.regex,n=e.COMMENT("--","$"),r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!r.includes(e)),a={match:t.concat(/\b/,t.either(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};function o(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,"\\s+"))),/\b/)}let s={scope:"keyword",match:o(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?`${e}|0`:e)}(i,{when:e=>e.length<3}),literal:["true","false","unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:o(["double precision","large object","with timezone","without timezone"])},s,a,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,z(...H,...G)],className:{2:"keyword"}},a={match:F(/\./,z(...W)),relevance:0},o=W.filter(e=>"string"==typeof e).concat(["_|0"]),s={variants:[{className:"keyword",match:z(...W.filter(e=>"string"!=typeof e).concat($).map(U),...G)}]},l={$pattern:z(/\b\w+/,/#\w+/),keyword:o.concat(Y),literal:V},c=[i,a,s],u=[{match:F(/\./,z(...Z)),relevance:0},{className:"built_in",match:F(/\b/,z(...Z),/(?=\()/)}],d={match:/->/,relevance:0},h=[d,{className:"operator",relevance:0,variants:[{match:Q},{match:`\\.(\\.|${K})+`}]}],p="([0-9]_*)+",f="([0-9a-fA-F]_*)+",g={className:"number",relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},m=(e="")=>({className:"subst",variants:[{match:F(/\\/,e,/[0\\tnr"']/)},{match:F(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(e="")=>({className:"subst",label:"interpol",begin:F(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:F(e,/"""/),end:F(/"""/,e),contains:[m(e),((e="")=>({className:"subst",match:F(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}))(e),b(e)]}),v=(e="")=>({begin:F(e,/"/),end:F(/"/,e),contains:[m(e),b(e)]}),E={className:"string",variants:[y(),y("#"),y("##"),y("###"),v(),v("#"),v("##"),v("###")]},_=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x=e=>{let t=F(e,/\//),n=F(/\//,e);return{begin:t,end:n,contains:[..._,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},A={scope:"regexp",variants:[x("###"),x("##"),x("#"),{begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:_}]},S={match:F(/`/,et,/`/)},w=[S,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${ee}+`}],O=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ei,contains:[...h,g,E]}]}},{scope:"keyword",match:F(/@/,z(...er),B(z(/\(/,/\s+/)))},{scope:"meta",match:F(/@/,et)}],C={match:B(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:F(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ee,"+")},{className:"type",match:en,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:F(/\s+&\s+/,B(en)),relevance:0}]},k={begin://,keywords:l,contains:[...r,...c,...O,d,C]};C.contains.push(k);let M={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:F(et,/\s*:/),keywords:"_|0",relevance:0},...r,A,...c,...u,...h,g,E,...w,...O,C]},L={begin://,keywords:"repeat each",contains:[...r,C]},I={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:z(B(F(et,/\s*:/)),B(F(et,/\s+/,et,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:et}]},...r,...c,...h,g,E,...O,C,M],endsParent:!0,illegal:/["']/},N={match:[/(func|macro)/,/\s+/,z(S.match,et,Q)],className:{1:"keyword",3:"title.function"},contains:[L,I,t],illegal:[/\[/,/%/]},R={begin:[/precedencegroup/,/\s+/,en],className:{1:"keyword",3:"title"},contains:[C],keywords:[...q,...V],end:/}/},P={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,et,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[L,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:en},...c],relevance:0}]};for(let e of E.variants){let t=e.contains.find(e=>"interpol"===e.label);t.keywords=l;let n=[...c,...u,...h,g,E,...w];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:l,contains:[...r,N,{match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[L,I,t],illegal:/\[|%/},{match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},P,{match:[/operator/,/\s+/,Q],className:{1:"keyword",3:"title"}},R,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},A,...c,...u,...h,g,E,...w,...O,C,M]}},typescript:function(e){let t=e.regex,n=function(e){var t;let n=e.regex,r=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,a={$pattern:ea,keyword:eo,literal:es,built_in:eh,"variable.language":ed},o="[0-9](_?[0-9])*",s=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},f={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:ea+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},m=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,p,f,{match:/\$\d+/},c];u.contains=m.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(m)});let b=[].concat(g,u.contains),y=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:a,contains:["self"].concat(b)}]),v={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y},E={variants:[{match:[/class/,/\s+/,ea,/\s+/,/extends/,/\s+/,n.concat(ea,"(",n.concat(/\./,ea),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,ea],scope:{1:"keyword",3:"title.class"}}]},_={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...el,...ec]}},x={match:n.concat(/\b/,(t=[...eu,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),ea,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},A={begin:n.concat(/\./,n.lookahead(n.concat(ea,/(?![0-9A-Za-z$_(])/))),end:ea,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},S="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",w={match:[/const|var|let/,/\s+/,ea,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(S)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:_},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,p,f,g,{match:/\$\d+/},c,_,{scope:"attr",match:ea+n.lookahead(":"),relevance:0},w,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:S,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r,"on:begin":(e,t)=>{let n,r=e[0].length+e.index,i=e.input[r];if("<"===i||","===i)return void t.ignoreMatch();">"!==i||((e,{after:t})=>{let n="{let r=e.contains.findIndex(e=>e.label===t);if(-1===r)throw Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(n.keywords,o),n.exports.PARAMS_CONTAINS.push(s);let c=n.contains.find(e=>"attr"===e.scope),u=Object.assign({},c,{match:t.concat(ea,t.lookahead(/\s*\?:/))});return n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,c,u]),n.contains=n.contains.concat([s,i,a,u]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(e=>"func.def"===e.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n},vbnet:function(e){let t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(i,a),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}},wasm:function(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\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/}]}},xml:function(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,s,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,s,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},yaml:function(e){let t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(r,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o=[{className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},{className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},r],s=[...o];return s.pop(),s.push(i),a.contains=s,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:o}}};var ef=n(34093),eg=n(85144);let em={};class eb{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(".").map(function(e,n){return n?e+"_".repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}var ey=n(88428);let ev={};function eE(e){let t=e||ev,n=t.aliases,i=t.detect||!1,a=t.languages||ep,o=t.plainText,s=t.prefix,l=t.subset,c="hljs",u=function(e){let t=eg.newInstance();return e&&i(e),{highlight:n,highlightAuto:function(e,i){let a;(0,ef.ok)("string"==typeof e,"expected `string` as `value`");let o=(i||em).subset||r(),s=-1,l=0;for(;++sl&&(l=c.data.relevance,a=c)}return a||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:r,register:i,registerAlias:function(e,n){if("string"==typeof e)(0,ef.ok)(void 0!==n),t.registerAliases("string"==typeof n?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},registered:function(e){return!!t.getLanguage(e)}};function n(e,n,r){(0,ef.ok)("string"==typeof e,"expected `string` as `name`"),(0,ef.ok)("string"==typeof n,"expected `string` as `value`");let i=r||em,a="string"==typeof i.prefix?i.prefix:"hljs-";if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:eb,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,l=s.data;return l.language=o.language,l.relevance=o.relevance,s}function r(){return t.listLanguages()}function i(e,n){if("string"==typeof e)(0,ef.ok)(void 0!==n,"expected `grammar`"),t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(a);if(n&&u.registerAlias(n),s){let e=s.indexOf("-");c=-1===e?s:s.slice(0,e)}return function(e,t){(0,ey.YR)(e,"element",function(e,n,a){let d;if("code"!==e.tagName||!a||"element"!==a.type||"pre"!==a.tagName)return;let h=function(e){let t,n=e.properties.className,r=-1;if(Array.isArray(n)){for(;++r0&&(e.children=d.children)})}}},83091: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"]},83277:(e,t,n)=>{"use strict";n.d(t,{EC:()=>E,qX:()=>_,y$:()=>C,a0:()=>m,Ow:()=>O,GA:()=>v,bM:()=>w,$b:()=>A,fk:()=>S,hN:()=>b,_K:()=>x,ki:()=>y});var r=n(86372),i=n(39249),a=n(74673);function o(e){for(var t=1/0,n=1/0,r=-1/0,o=-1/0,s=0;sr&&(r=f),g>o&&(o=g)}return new a.E(t,n,r-t,o-n)}var s=function(e,t,n){var r=e.width,s=e.height,l=n.flexDirection,c=void 0===l?"row":l,u=(n.flexWrap,n.justifyContent),d=void 0===u?"flex-start":u,h=(n.alignContent,n.alignItems),p=void 0===h?"flex-start":h,f="row"===c,g="row"===c||"column"===c,m=f?g?[1,0]:[-1,0]:g?[0,1]:[0,-1],b=(0,i.zs)([0,0],2),y=b[0],v=b[1],E=t.map(function(e){var t,n=e.width,r=e.height,o=(0,i.zs)([y,v],2),s=o[0],l=o[1];return y=(t=(0,i.zs)([y+n*m[0],v+r*m[1]],2))[0],v=t[1],new a.E(s,l,n,r)}),_=o(E),x={"flex-start":0,"flex-end":f?r-_.width:s-_.height,center:f?(r-_.width)/2:(s-_.height)/2},A=E.map(function(e){var t=e.x,n=e.y,r=a.E.fromRect(e);return r.x=f?t+x[d]:t,r.y=f?n:n+x[d],r});o(A);var S=function(e){var t=(0,i.zs)(f?["height",s]:["width",r],2),n=t[0],a=t[1];switch(p){case"flex-start":default:return 0;case"flex-end":return a-e[n];case"center":return a/2-e[n]/2}};return A.map(function(e){var t=e.x,n=e.y,r=a.E.fromRect(e);return r.x=f?t:t+S(r),r.y=f?n+S(r):n,r}).map(function(t){var n,r,i=a.E.fromRect(t);return i.x+=null!=(n=e.x)?n:0,i.y+=null!=(r=e.y)?r:0,i})},l=function(e,t,n){return[]};let c=function(e,t,n){if(0===t.length)return[];var r={flex:s,grid:l},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,e,t,n))||[]};var u=n(87287),d=function(e){function t(t){var n=e.call(this,t)||this;n.layoutEvents=[r.jX.BOUNDS_CHANGED,r.jX.INSERTED,r.jX.REMOVED],n.$margin=(0,u.i)(0),n.$padding=(0,u.i)(0);var i=t.style||{},a=i.margin,o=i.padding;return n.margin=void 0===a?0:a,n.padding=void 0===o?0:o,n.isMutationObserved=!0,n.bindEvents(),n}return(0,i.C6)(t,e),Object.defineProperty(t.prototype,"margin",{get:function(){return this.$margin},set:function(e){this.$margin=(0,u.i)(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.$padding},set:function(e){this.$padding=(0,u.i)(e)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var e=this.attributes,t=e.x,n=e.y,r=e.width,o=e.height,s=(0,i.zs)(this.$margin,4),l=s[0],c=s[1],u=s[2],d=s[3];return new a.E((void 0===t?0:t)-d,(void 0===n?0:n)-l,r+d+c,o+l+u)},t.prototype.appendChild=function(t,n){return t.isMutationObserved=!0,e.prototype.appendChild.call(this,t,n),t},t.prototype.getAvailableSpace=function(){var e=this.attributes,t=e.width,n=e.height,r=(0,i.zs)(this.$padding,4),o=r[0],s=r[1],l=r[2],c=r[3],u=(0,i.zs)(this.$margin,4),d=u[0],h=u[3];return new a.E(c+h,o+d,t-c-s,n-o-l)},t.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(e){return!e.isConnected}))try{var e=this.attributes,t=e.x,n=e.y;this.style.transform="translate(".concat(t,", ").concat(n,")");var r=c(this.getAvailableSpace(),this.children.map(function(e){return e.getBBox()}),this.attributes);this.children.forEach(function(e,t){var n=r[t],i=n.x,a=n.y;e.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(e){}},t.prototype.bindEvents=function(){var e=this;this.layoutEvents.forEach(function(t){e.addEventListener(t,function(t){t.target&&(t.target.isMutationObserved=!0,e.layout())})})},t.prototype.attributeChangedCallback=function(e,t,n){"margin"===e?this.margin=n:"padding"===e&&(this.padding=n),this.layout()},t}(r.YJ),h=n(14837),p=n(22911),f=n(63975),g=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};function m(e){return class extends r.K9{constructor(t){super(t),this.descriptor=e}connectedCallback(){var e,t;null==(t=(e=this.descriptor).render)||t.call(e,this.attributes,this)}update(e={}){var t,n;this.attr((0,h.A)({},this.attributes,e)),null==(n=(t=this.descriptor).render)||n.call(t,this.attributes,this)}}}function b(e,t,n){return e.querySelector(t)?(0,f.c)(e).select(t):(0,f.c)(e).append(n)}function y(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function v(e,t){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return e in a&&([n,r,i]=a[e]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},t)}class E extends d{get child(){var e;return null==(e=this.children)?void 0:e[0]}update(e){var t;let{subOptions:n}=e;null==(t=this.child)||t.update(n),this.attr(e)}}class _ extends E{update(e){var t;let{subOptions:n}=e;null==(t=this.child)||t.update(n),this.attr(e)}}function x(e,t){var n;return null==(n=e.filter(e=>e.getOptions().name===t))?void 0:n[0]}function A(e){return"horizontal"===e||0===e}function S(e){return"vertical"===e||e===-Math.PI/2}function w(e,t,n){let{bbox:r}=e,{position:i="top",size:a,length:o}=t,s=["top","bottom","center"].includes(i),[l,c]=s?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:d}=n.props,h=a||u||l,p=o||d||c,[f,g]=s?[p,h]:[h,p];return{orientation:s?"horizontal":"vertical",width:f,height:g,size:h,length:p}}function O(e){return e.find(e=>e.getOptions().domain.length>0).getOptions().domain}function C(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=g(e,["style"]),i={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?i[`show${(0,p.A)(e)}`]=n:i[e]=n}),Object.assign(Object.assign({},i),n)}},83360:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r=n(39249),i=n(58872),a=n(54637),o=n(2323),s=n(62474),l=n(11716),c=function(e,t,n,i){var a=(0,l.l)([e,t],[n,i],.5);return(0,r.fX)((0,r.fX)([],a,!0),[n,i,n,i],!1)};function u(e,t){if(void 0===t&&(t=!1),(0,o.D)(e)&&e.every(function(e){var t=e[0];return"MC".includes(t)})){var n,l,u=[].concat(e);return t?[u,[]]:u}for(var d=(0,a.F)(e),h=(0,r.Cl)({},i.M),p=[],f="",g=d.length,m=[],b=0;b7){d[v].shift();for(var E=d[v],_=v;E.length;)p[v]="A",d.splice(_+=1,0,["C"].concat(E.splice(0,6)));d.splice(v,1)}g=d.length,"Z"===f&&m.push(b),l=(n=d[b]).length,h.x1=+n[l-2],h.y1=+n[l-1],h.x2=+n[l-4]||h.x1,h.y2=+n[l-3]||h.y1}return t?[d,m]:d}},83369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74054);let i=function(e,t){return(0,r.A)(e,function(e,n,r){return t.includes(r)||(e[r]=n),e},{})}},83440:(e,t,n)=>{e.exports.VectorTile=n(13663),n(37703),n(67912)},83531: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"]},83853:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(54637),i=n(11716),a=n(69047);function o(e,t,n,r,o){var s=(0,a.F)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o)if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,i.l)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,i=t.x,a=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(n*a-r*i<0?-1:1)*Math.acos((n*i+r*a)/o)}var l=n(48624);function c(e,t,n){for(var i,c,u,d,h,p,f,g,m,b=(0,r.F)(e),y="number"==typeof t,v=[],E=0,_=0,x=0,A=0,S=[],w=[],O=0,C={x:0,y:0},k=C,M=C,L=C,I=0,N=0,R=b.length;N1&&(b*=g(A),y*=g(A));var S=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(x.y,2)-Math.pow(y,2)*Math.pow(x.x,2))/(Math.pow(b,2)*Math.pow(x.y,2)+Math.pow(y,2)*Math.pow(x.x,2)),w=(a!==l?1:-1)*g(S=S<0?0:S),O={x:w*(b*x.y/y),y:w*(-(y*x.x)/b)},C={x:f(v)*O.x-p(v)*O.y+(e+c)/2,y:p(v)*O.x+f(v)*O.y+(t+u)/2},k={x:(x.x-O.x)/b,y:(x.y-O.y)/y},M=s({x:1,y:0},k),L=s(k,{x:(-x.x-O.x)/b,y:(-x.y-O.y)/y});!l&&L>0?L-=2*m:l&&L<0&&(L+=2*m);var I=M+(L%=2*m)*d,N=b*f(I),R=y*p(I);return{x:f(v)*N-p(v)*R+C.x,y:p(v)*N+f(v)*R+C.y}}(e,t,n,r,i,l,c,u,d,M/E)).x,A=f.y,m&&k.push({x:x,y:A}),y&&(S+=(0,a.F)(O,[x,A])),O=[x,A],_&&S>=h&&h>w[2]){var L=(S-h)/(S-w[2]);C={x:O[0]*(1-L)+w[0]*L,y:O[1]*(1-L)+w[1]*L}}w=[x,A,S]}return _&&h>=S&&(C={x:u,y:d}),{length:S,point:C,min:{x:Math.min.apply(null,k.map(function(e){return e.x})),y:Math.min.apply(null,k.map(function(e){return e.y}))},max:{x:Math.max.apply(null,k.map(function(e){return e.x})),y:Math.max.apply(null,k.map(function(e){return e.y}))}}}(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],(t||0)-I,n||{})).length,C=c.min,k=c.max,M=c.point):"C"===g?(O=(u=(0,l.y)(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],(t||0)-I,n||{})).length,C=u.min,k=u.max,M=u.point):"Q"===g?(O=(d=function(e,t,n,r,i,o,s,l){var c,u=l.bbox,d=void 0===u||u,h=l.length,p=void 0===h||h,f=l.sampleSize,g=void 0===f?10:f,m="number"==typeof s,b=e,y=t,v=0,E=[b,y,0],_=[b,y],x={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(x={x:b,y:y});for(var S=0;S<=g;S+=1){if(b=(c=function(e,t,n,r,i,a,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*i,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*a}}(e,t,n,r,i,o,S/g)).x,y=c.y,d&&A.push({x:b,y:y}),p&&(v+=(0,a.F)(_,[b,y])),_=[b,y],m&&v>=s&&s>E[2]){var w=(v-s)/(v-E[2]);x={x:_[0]*(1-w)+E[0]*w,y:_[1]*(1-w)+E[1]*w}}E=[b,y,v]}return m&&s>=v&&(x={x:i,y:o}),{length:v,point:x,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(v[0],v[1],v[2],v[3],v[4],v[5],(t||0)-I,n||{})).length,C=d.min,k=d.max,M=d.point):"Z"===g&&(O=(h=o((v=[E,_,x,A])[0],v[1],v[2],v[3],(t||0)-I)).length,C=h.min,k=h.max,M=h.point),y&&I=t&&(L=M),w.push(k),S.push(C),I+=O,E=(p="Z"!==g?m.slice(-2):[x,A])[0],_=p[1];return y&&t>=I&&(L={x:E,y:_}),{length:I,point:L,min:{x:Math.min.apply(null,S.map(function(e){return e.x})),y:Math.min.apply(null,S.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}},83894:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{"use strict";n.d(t,{B8:()=>o,JH:()=>u,Ow:()=>s,Wm:()=>l,rr:()=>d,wl:()=>a});var r=n(76160),i=n(52922);function a(e){return!!e.getBandWidth}function o(e,t,n){var i;if(!a(e))return e.invert(t);let{adjustedRange:o}=e;if(o.includes(t))return e.invert(t);let{domain:s}=e.getOptions(),l=e.getStep(),c=n?o:o.map(e=>e+l),u=(i=(0,r.ah)(c,t)+(n?-1:0),Math.min(s.length-1,Math.max(0,i)));return s[u]}function s(e,t,n){if(!t)return e.getOptions().domain;if(!a(e)){let r=(0,i.Ay)(t);if(!n)return r;let[a]=r,{range:o}=e.getOptions(),[s,l]=o,c=e.invert(e.map(a)+(s>l?-1:1)*n);return[a,c]}let{domain:r}=e.getOptions(),o=t[0],s=r.indexOf(o);if(n){let e=s+Math.round(r.length*n);return r.slice(s,e)}let l=t[t.length-1],c=r.indexOf(l);return r.slice(s,c+1)}function l(e,t,n,r,i,a){let{x:l,y:c}=i,u=(e,t)=>{let[n,r]=a.invert(e);return[o(l,n,t),o(c,r,t)]},d=u([e,t],!0),h=u([n,r],!1);return[s(l,[d[0],h[0]]),s(c,[d[1],h[1]])]}function c(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}let u=(e,t)=>{var n,r;let[i,a]=e,o=(null==(r=null==(n=t.getOptions)?void 0:n.call(t))?void 0:r.domain)||[],s=o.indexOf(i),l=o.indexOf(a);if(-1===s||-1===l)return[t.map(i),t.map(a)];let c=o.length;return c<=1?[0,1]:[s/(c-1),l/(c-1)]};function d(e,t,n){let{x:r,y:i}=t,[a,o]=e,s=c(a,r),l=c(o,i),u=[s[0],l[0]],d=[s[1],l[1]],[h,p]=n.map(u),[f,g]=n.map(d);return[h,p,f,g]}},84095:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},84214:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="hlsl",i.aliases=[]},84342:(e,t,n)=>{e.exports=n(48505)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},85077:function(e){e.exports=function(){"use strict";function e(e,n,r,i){t(e,r,i),t(n,2*r,2*i),t(n,2*r+1,2*i+1)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t,n,r){var i=e-n,a=t-r;return i*i+a*a}var r,i=function(e){return e[0]},a=function(e){return e[1]},o=function(t,n,r,o,s){void 0===n&&(n=i),void 0===r&&(r=a),void 0===o&&(o=64),void 0===s&&(s=Float64Array),this.nodeSize=o,this.points=t;for(var l=t.length<65536?Uint16Array:Uint32Array,c=this.ids=new l(t.length),u=this.coords=new s(2*t.length),d=0;d>1;(function t(n,r,i,a,o,s){for(;o>a;){if(o-a>600){var l=o-a+1,c=i-a+1,u=Math.log(l),d=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),p=Math.max(a,Math.floor(i-c*d/l+h)),f=Math.min(o,Math.floor(i+(l-c)*d/l+h));t(n,r,i,p,f,s)}var g=r[2*i+s],m=a,b=o;for(e(n,r,a,i),r[2*o+s]>g&&e(n,r,a,o);mg;)b--}r[2*a+s]===g?e(n,r,a,b):e(n,r,++b,o),b<=i&&(a=b+1),i<=b&&(o=b-1)}})(n,r,l,a,o,s%2),t(n,r,i,a,l-1,s+1),t(n,r,i,l+1,o,s+1)}}(c,u,o,0,c.length-1,0)};o.prototype.range=function(e,t,n,r){return function(e,t,n,r,i,a,o){for(var s,l,c=[0,e.length-1,0],u=[];c.length;){var d=c.pop(),h=c.pop(),p=c.pop();if(h-p<=o){for(var f=p;f<=h;f++)s=t[2*f],l=t[2*f+1],s>=n&&s<=i&&l>=r&&l<=a&&u.push(e[f]);continue}var g=Math.floor((p+h)/2);s=t[2*g],l=t[2*g+1],s>=n&&s<=i&&l>=r&&l<=a&&u.push(e[g]);var m=(d+1)%2;(0===d?n<=s:r<=l)&&(c.push(p),c.push(g-1),c.push(m)),(0===d?i>=s:a>=l)&&(c.push(g+1),c.push(h),c.push(m))}return u}(this.ids,this.coords,e,t,n,r,this.nodeSize)},o.prototype.within=function(e,t,r){return function(e,t,r,i,a,o){for(var s=[0,e.length-1,0],l=[],c=a*a;s.length;){var u=s.pop(),d=s.pop(),h=s.pop();if(d-h<=o){for(var p=h;p<=d;p++)n(t[2*p],t[2*p+1],r,i)<=c&&l.push(e[p]);continue}var f=Math.floor((h+d)/2),g=t[2*f],m=t[2*f+1];n(g,m,r,i)<=c&&l.push(e[f]);var b=(u+1)%2;(0===u?r-a<=g:i-a<=m)&&(s.push(h),s.push(f-1),s.push(b)),(0===u?r+a>=g:i+a>=m)&&(s.push(f+1),s.push(d),s.push(b))}return l}(this.ids,this.coords,e,t,r,this.nodeSize)};var s={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},l=Math.fround||(r=new Float32Array(1),function(e){return r[0]=+e,r[0]}),c=function(e){this.options=f(Object.create(s),e),this.trees=Array(this.options.maxZoom+1)};function u(e){return{type:"Feature",id:e.id,properties:d(e),geometry:{type:"Point",coordinates:[(e.x-.5)*360,360*Math.atan(Math.exp((180-360*e.y)*Math.PI/180))/Math.PI-90]}}}function d(e){var t=e.numPoints,n=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return f(f({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function h(e){return e/360+.5}function p(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function f(e,t){for(var n in t)e[n]=t[n];return e}function g(e){return e.x}function m(e){return e.y}return c.prototype.load=function(e){var t=this.options,n=t.log,r=t.minZoom,i=t.maxZoom,a=t.nodeSize;n&&console.time("total time");var s="prepare "+e.length+" points";n&&console.time(s),this.points=e;for(var c=[],u=0;u=r;d--){var f=+Date.now();c=this._cluster(c,d),this.trees[d]=new o(c,g,m,a,Float32Array),n&&console.log("z%d: %d clusters in %dms",d,c.length,Date.now()-f)}return n&&console.timeEnd("total time"),this},c.prototype.getClusters=function(e,t){var n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){var o=this.getClusters([n,r,180,a],t),s=this.getClusters([-180,r,i,a],t);return o.concat(s)}for(var l=this.trees[this._limitZoom(t)],c=l.range(h(n),p(a),h(i),p(r)),d=[],f=0;ft&&(g+=y.numPoints||1)}if(g>f&&g>=s){for(var v,E,_,x,A,S=d.x*f,w=d.y*f,O=o&&f>1?this._map(d,!0):null,C=(u<<5)+(t+1)+this.points.length,k=0;k1)for(var N=0;N>5},c.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},c.prototype._map=function(e,t){if(e.numPoints)return t?f({},e.properties):e.properties;var n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?f({},r):r},c}()},85121:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(66454),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},85144:e=>{class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function r(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}class i{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!e.scope)return;let t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){e.scope&&(this.buffer+="
")}value(){return this.buffer}span(e){this.buffer+=``}}let a=(e={})=>{let t={children:[]};return Object.assign(t,e),t};class o{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=a({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{o._collapse(e)}))}}class s extends o{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new i(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(e){return e?"string"==typeof e?e:e.source:null}function c(e){return h("(?=",e,")")}function u(e){return h("(?:",e,")*")}function d(e){return h("(?:",e,")?")}function h(...e){return e.map(e=>l(e)).join("")}function p(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>l(e)).join("|")+")"}function f(e){return RegExp(e.toString()+"|").exec("").length-1}let g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let n=0;return e.map(e=>{let t=n+=1,r=l(e),i="";for(;r.length>0;){let e=g.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i}).map(e=>`(${e})`).join(t)}let b="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",v="\\b\\d+(\\.\\d+)?",E="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",_="\\b(0b[01]+)",x={begin:"\\\\[\\s\\S]",relevance:0},A=function(e,t,n={}){let i=r({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let a=p("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:h(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},S=A("//","$"),w=A("/\\*","\\*/"),O=A("#","$");var C=Object.freeze({__proto__:null,APOS_STRING_MODE:{scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[x]},BACKSLASH_ESCAPE:x,BINARY_NUMBER_MODE:{scope:"number",begin:_,relevance:0},BINARY_NUMBER_RE:_,COMMENT:A,C_BLOCK_COMMENT_MODE:w,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:{scope:"number",begin:E,relevance:0},C_NUMBER_RE:E,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:O,IDENT_RE:b,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+y,relevance:0},NUMBER_MODE:{scope:"number",begin:v,relevance:0},NUMBER_RE:v,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:{scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[x]},REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[x,{begin:/\[/,end:/\]/,relevance:0,contains:[x]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),r({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:b,relevance:0},UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:{scope:"title",begin:y,relevance:0}});function k(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function M(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function L(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=k,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function I(e,t){Array.isArray(e.illegal)&&(e.illegal=p(...e.illegal))}function N(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function R(e,t){void 0===e.relevance&&(e.relevance=1)}let P=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=h(n.beforeMatch,c(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},D=["of","and","for","in","not","or","if","then","parent","list","value"],j={},B=e=>{console.error(e)},F=(e,...t)=>{console.log(`WARN: ${e}`,...t)},z=(e,t)=>{j[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),j[`${e}/${t}`]=!0)},U=Error();function H(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=f(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function G(e){if(e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw B("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),U;if("object"!=typeof e.beginScope||null===e.beginScope)throw B("beginScope must be object"),U;H(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw B("skip, excludeEnd, returnEnd not compatible with endScope: {}"),U;if("object"!=typeof e.endScope||null===e.endScope)throw B("endScope must be object"),U;H(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}class $ extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}let W=Symbol("nomatch"),V=function(e){let i=Object.create(null),a=Object.create(null),o=[],g=!0,b="Could not find the language '{}', did you forget to load/include a language module?",y={disableAutodetect:!0,name:"Plain text",contains:[]},v={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:s};function E(e){return v.noHighlightRe.test(e)}function _(e,t,n){let r="",i="";"object"==typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(z("10.7.0","highlight(lang, code, ...args) has been deprecated."),z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);let a={code:r,language:i};H("before:highlight",a);let o=a.result?a.result:x(a.language,a.code,n);return o.code=a.code,H("after:highlight",o),o}function x(e,a,o,s){let c=Object.create(null);function u(){if(!C.keywords)return void F.addText(U);let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(U),n="";for(;t;){n+=U.substring(e,t.index);let r=S.case_insensitive?t[0].toLowerCase():t[0],i=C.keywords[r];if(i){let[e,a]=i;if(F.addText(n),n="",c[r]=(c[r]||0)+1,c[r]<=7&&(H+=a),e.startsWith("_"))n+=t[0];else{let n=S.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(U)}n+=U.substring(e),F.addText(n)}function d(){null!=C.subLanguage?function(){if(""===U)return;let e=null;if("string"==typeof C.subLanguage){if(!i[C.subLanguage])return F.addText(U);e=x(C.subLanguage,U,!0,j[C.subLanguage]),j[C.subLanguage]=e._top}else e=A(U,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(H+=e.relevance),F.__addSublanguage(e._emitter,e.language)}():u(),U=""}function h(e,t){""!==e&&(F.startScope(t),F.addText(e),F.endScope())}function p(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=S.classNameAliases[e[n]]||e[n],i=t[n];r?h(i,r):(U=i,u(),U=""),n++}}function y(e,t){return e.scope&&"string"==typeof e.scope&&F.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h(U,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),U=""):e.beginScope._multi&&(p(e.beginScope,t),U="")),C=Object.create(e,{parent:{value:C}})}let E={};function _(n,r){let i=r&&r[0];if(U+=n,null==i)return d(),0;if("begin"===E.type&&"end"===r.type&&E.index===r.index&&""===i){if(U+=a.slice(r.index,r.index+1),!g){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=E.rule,t}return 1}if(E=r,"begin"===r.type){let e=r[0],n=r.rule,i=new t(n);for(let t of[n.__beforeBegin,n["on:begin"]])if(t&&(t(r,i),i.isMatchIgnored))return 0===C.matcher.regexIndex?(U+=e[0],1):(q=!0,0);return n.skip?U+=e:(n.excludeBegin&&(U+=e),d(),n.returnBegin||n.excludeBegin||(U=e)),y(n,r),n.returnBegin?0:e.length}if("illegal"!==r.type||o){if("end"===r.type){let e=function(e){let n=e[0],r=a.substring(e.index),i=function e(n,r,i){let a=function(e,t){let n=e&&e.exec(t);return n&&0===n.index}(n.endRe,i);if(a){if(n["on:end"]){let e=new t(n);n["on:end"](r,e),e.isMatchIgnored&&(a=!1)}if(a){for(;n.endsParent&&n.parent;)n=n.parent;return n}}if(n.endsWithParent)return e(n.parent,r,i)}(C,e,r);if(!i)return W;let o=C;C.endScope&&C.endScope._wrap?(d(),h(n,C.endScope._wrap)):C.endScope&&C.endScope._multi?(d(),p(C.endScope,e)):o.skip?U+=n:(o.returnEnd||o.excludeEnd||(U+=n),d(),o.excludeEnd&&(U=n));do C.scope&&F.closeNode(),C.skip||C.subLanguage||(H+=C.relevance),C=C.parent;while(C!==i.parent);return i.starts&&y(i.starts,e),o.returnEnd?0:n.length}(r);if(e!==W)return e}}else{let e=Error('Illegal lexeme "'+i+'" for mode "'+(C.scope||"")+'"');throw e.mode=C,e}if("illegal"===r.type&&""===i)return U+="\n",1;if(V>1e5&&V>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return U+=i,i.length}let S=k(e);if(!S)throw B(b.replace("{}",e)),Error('Unknown language: "'+e+'"');let w=function(e){function t(t,n){return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=f(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(m(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=r(e.classNameAliases||{}),function n(a,o){if(a.isCompiled)return a;[M,N,G,P].forEach(e=>e(a,o)),e.compilerExtensions.forEach(e=>e(a,o)),a.__beforeBegin=null,[L,I,R].forEach(e=>e(a,o)),a.isCompiled=!0;let s=null;return"object"==typeof a.keywords&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),s=a.keywords.$pattern,delete a.keywords.$pattern),s=s||/\w+/,a.keywords&&(a.keywords=function e(t,n,r="keyword"){let i=Object.create(null);return"string"==typeof t?a(r,t.split(" ")):Array.isArray(t)?a(r,t):Object.keys(t).forEach(function(r){Object.assign(i,e(t[r],n,r))}),i;function a(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,r,a;let o=t.split("|");i[o[0]]=[e,(n=o[0],(r=o[1])?Number(r):+(a=n,!D.includes(a.toLowerCase())))]})}}(a.keywords,e.case_insensitive)),a.keywordPatternRe=t(s,!0),o&&(a.begin||(a.begin=/\B|\b/),a.beginRe=t(a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(a.endRe=t(a.end)),a.terminatorEnd=l(a.end)||"",a.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(a.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(e){var t;return((t="self"===e?a:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return r(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?r(t):t:r(t,{starts:t.starts?r(t.starts):null})})),a.contains.forEach(function(e){n(e,a)}),a.starts&&n(a.starts,o),a.matcher=function(e){let t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}(S),O="",C=s||w,j={},F=new v.__emitter(v),z=[];for(let e=C;e!==S;e=e.parent)e.scope&&z.unshift(e.scope);z.forEach(e=>F.openNode(e));let U="",H=0,$=0,V=0,q=!1;try{if(S.__emitTokens)S.__emitTokens(a,F);else{for(C.matcher.considerAll();;){V++,q?q=!1:C.matcher.considerAll(),C.matcher.lastIndex=$;let e=C.matcher.exec(a);if(!e)break;let t=a.substring($,e.index),n=_(t,e);$=e.index+n}_(a.substring($))}return F.finalize(),O=F.toHTML(),{language:e,value:O,relevance:H,illegal:!1,_emitter:F,_top:C}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:n(a),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:$,context:a.slice($-100,$+100),mode:t.mode,resultSoFar:O},_emitter:F};if(g)return{language:e,value:n(a),illegal:!1,relevance:0,errorRaised:t,_emitter:F,_top:C};throw t}}function A(e,t){t=t||v.languages||Object.keys(i);let r=function(e){let t={value:n(e),illegal:!1,relevance:0,_top:y,_emitter:new v.__emitter(v)};return t._emitter.addText(e),t}(e),a=t.filter(k).filter(U).map(t=>x(t,e,!1));a.unshift(r);let[o,s]=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;else if(k(t.language).supersetOf===e.language)return -1}return 0});return o.secondBest=s,o}function S(e){let t=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=v.languageDetectRe.exec(t);if(n){let t=k(n[1]);return t||(F(b.replace("{}",n[1])),F("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>E(e)||k(e))}(e);if(E(t))return;if(H("before:highlightElement",{el:e,language:t}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(v.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),v.throwUnescapedHTML))throw new $("One of your code blocks includes unescaped HTML.",e.innerHTML);let n=e.textContent,r=t?_(n,{language:t,ignoreIllegals:!0}):A(n);e.innerHTML=r.value,e.dataset.highlighted="yes";var i=r.language;let o=t&&a[t]||i;e.classList.add("hljs"),e.classList.add(`language-${o}`),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),H("after:highlightElement",{el:e,result:r,text:n})}let w=!1;function O(){if("loading"===document.readyState){w||window.addEventListener("DOMContentLoaded",function(){O()},!1),w=!0;return}document.querySelectorAll(v.cssSelector).forEach(S)}function k(e){return i[e=(e||"").toLowerCase()]||i[a[e]]}function j(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{a[e.toLowerCase()]=t})}function U(e){let t=k(e);return t&&!t.disableAutodetect}function H(e,t){o.forEach(function(n){n[e]&&n[e](t)})}for(let t in Object.assign(e,{highlight:_,highlightAuto:A,highlightAll:O,highlightElement:S,highlightBlock:function(e){return z("10.7.0","highlightBlock will be removed entirely in v12.0"),z("10.7.0","Please use highlightElement now."),S(e)},configure:function(e){v=r(v,e)},initHighlighting:()=>{O(),z("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){O(),z("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let r=null;try{r=n(e)}catch(e){if(B("Language definition for '{}' could not be registered.".replace("{}",t)),g)B(e);else throw e;r=y}r.name||(r.name=t),i[t]=r,r.rawDefinition=n.bind(null,e),r.aliases&&j(r.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete i[e],Object.keys(a)))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(i)},getLanguage:k,registerAliases:j,autoDetection:U,inherit:r,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),o.push(e)},removePlugin:function(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){g=!1},e.safeMode=function(){g=!0},e.versionString="11.11.1",e.regex={concat:h,lookahead:c,either:p,optional:d,anyNumberOfTimes:u},C)"object"==typeof C[t]&&function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(n=>{let r=t[n],i=typeof r;"object"!==i&&"function"!==i||Object.isFrozen(r)||e(r)}),t}(C[t]);return Object.assign(e,C),e},q=V({});q.newInstance=()=>V({}),e.exports=q,q.HighlightJS=q,q.default=q},85187:(e,t,n)=>{"use strict";function r(e,t,n){void 0===n&&(n=!1);var r=e.getBBox(),i=t/Math.max(r.width,r.height);return n&&(e.style.transform="scale(".concat(i,")")),i}n.d(t,{g:()=>r})},85189:(e,t,n)=>{"use strict";n.d(t,{A:()=>q});var r=n(12115),i=n(29300),a=n.n(i),o=n(27061),s=n(21858),l=n(24756),c=n(49172),u=r.createContext(null),d=r.createContext({}),h=n(40419),p=n(79630),f=n(82870),g=n(17233),m=n(40032),b=n(20235),y=n(74686),v=["prefixCls","className","containerRef"];let E=function(e){var t=e.prefixCls,n=e.className,i=e.containerRef,o=(0,b.A)(e,v),s=r.useContext(d).panel,l=(0,y.xK)(s,i);return r.createElement("div",(0,p.A)({className:a()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.A)(e,{aria:!0}),{"aria-modal":"true"},o))};var _=n(9587);function x(e){return"string"==typeof e&&String(Number(e))===e?((0,_.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},S=r.forwardRef(function(e,t){var n,i,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,v=e.push,_=e.forceRender,S=e.autoFocus,w=e.keyboard,O=e.classNames,C=e.rootClassName,k=e.rootStyle,M=e.zIndex,L=e.className,I=e.id,N=e.style,R=e.motion,P=e.width,D=e.height,j=e.children,B=e.mask,F=e.maskClosable,z=e.maskMotion,U=e.maskClassName,H=e.maskStyle,G=e.afterOpenChange,$=e.onClose,W=e.onMouseEnter,V=e.onMouseOver,q=e.onMouseLeave,Y=e.onClick,Z=e.onKeyDown,X=e.onKeyUp,K=e.styles,Q=e.drawerRender,J=r.useRef(),ee=r.useRef(),et=r.useRef();r.useImperativeHandle(t,function(){return J.current}),r.useEffect(function(){if(d&&S){var e;null==(e=J.current)||e.focus({preventScroll:!0})}},[d]);var en=r.useState(!1),er=(0,s.A)(en,2),ei=er[0],ea=er[1],eo=r.useContext(u),es=null!=(n=null!=(i=null==(l="boolean"==typeof v?v?{}:{distance:0}:v||{})?void 0:l.distance)?i:null==eo?void 0:eo.pushDistance)?n:180,el=r.useMemo(function(){return{pushDistance:es,push:function(){ea(!0)},pull:function(){ea(!1)}}},[es]);r.useEffect(function(){var e,t;d?null==eo||null==(e=eo.push)||e.call(eo):null==eo||null==(t=eo.pull)||t.call(eo)},[d]),r.useEffect(function(){return function(){var e;null==eo||null==(e=eo.pull)||e.call(eo)}},[]);var ec=r.createElement(f.Ay,(0,p.A)({key:"mask"},z,{visible:B&&d}),function(e,t){var n=e.className,i=e.style;return r.createElement("div",{className:a()("".concat(c,"-mask"),n,null==O?void 0:O.mask,U),style:(0,o.A)((0,o.A)((0,o.A)({},i),H),null==K?void 0:K.mask),onClick:F&&d?$:void 0,ref:t})}),eu="function"==typeof R?R(b):R,ed={};if(ei&&es)switch(b){case"top":ed.transform="translateY(".concat(es,"px)");break;case"bottom":ed.transform="translateY(".concat(-es,"px)");break;case"left":ed.transform="translateX(".concat(es,"px)");break;default:ed.transform="translateX(".concat(-es,"px)")}"left"===b||"right"===b?ed.width=x(P):ed.height=x(D);var eh={onMouseEnter:W,onMouseOver:V,onMouseLeave:q,onClick:Y,onKeyDown:Z,onKeyUp:X},ep=r.createElement(f.Ay,(0,p.A)({key:"panel"},eu,{visible:d,forceRender:_,onVisibleChanged:function(e){null==G||G(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var i=t.className,s=t.style,l=r.createElement(E,(0,p.A)({id:I,containerRef:n,prefixCls:c,className:a()(L,null==O?void 0:O.content),style:(0,o.A)((0,o.A)({},N),null==K?void 0:K.content)},(0,m.A)(e,{aria:!0}),eh),j);return r.createElement("div",(0,p.A)({className:a()("".concat(c,"-content-wrapper"),null==O?void 0:O.wrapper,i),style:(0,o.A)((0,o.A)((0,o.A)({},ed),s),null==K?void 0:K.wrapper)},(0,m.A)(e,{data:!0})),Q?Q(l):l)}),ef=(0,o.A)({},k);return M&&(ef.zIndex=M),r.createElement(u.Provider,{value:el},r.createElement("div",{className:a()(c,"".concat(c,"-").concat(b),C,(0,h.A)((0,h.A)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:J,onKeyDown:function(e){var t,n,r=e.keyCode,i=e.shiftKey;switch(r){case g.A.TAB:r===g.A.TAB&&(i||document.activeElement!==et.current?i&&document.activeElement===ee.current&&(null==(n=et.current)||n.focus({preventScroll:!0})):null==(t=ee.current)||t.focus({preventScroll:!0}));break;case g.A.ESC:$&&w&&(e.stopPropagation(),$(e))}}},ec,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:et,style:A,"aria-hidden":"true","data-sentinel":"end"})))});let w=function(e){var t=e.open,n=e.prefixCls,i=e.placement,a=e.autoFocus,u=e.keyboard,h=e.width,p=e.mask,f=void 0===p||p,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,v=e.destroyOnClose,E=e.onMouseEnter,_=e.onMouseOver,x=e.onMouseLeave,A=e.onClick,w=e.onKeyDown,O=e.onKeyUp,C=e.panelRef,k=r.useState(!1),M=(0,s.A)(k,2),L=M[0],I=M[1],N=r.useState(!1),R=(0,s.A)(N,2),P=R[0],D=R[1];(0,c.A)(function(){D(!0)},[]);var j=!!P&&void 0!==t&&t,B=r.useRef(),F=r.useRef();(0,c.A)(function(){j&&(F.current=document.activeElement)},[j]);var z=r.useMemo(function(){return{panel:C}},[C]);if(!b&&!L&&!j&&v)return null;var U=(0,o.A)((0,o.A)({},e),{},{open:j,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===i?"right":i,autoFocus:void 0===a||a,keyboard:void 0===u||u,width:void 0===h?378:h,mask:f,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;I(e),null==y||y(e),e||!F.current||null!=(t=B.current)&&t.contains(F.current)||null==(n=F.current)||n.focus({preventScroll:!0})},ref:B},{onMouseEnter:E,onMouseOver:_,onMouseLeave:x,onClick:A,onKeyDown:w,onKeyUp:O});return r.createElement(d.Provider,{value:z},r.createElement(l.A,{open:j||b||L,autoDestroy:!1,getContainer:m,autoLock:f&&(j||L)},r.createElement(S,U)))};var O=n(32934),C=n(9184),k=n(9130),M=n(93666),L=n(6833),I=n(15982),N=n(2732),R=n(50497),P=n(70802);let D=e=>{var t,n;let i,{prefixCls:o,ariaId:s,title:l,footer:c,extra:u,closable:d,loading:h,onClose:p,headerStyle:f,bodyStyle:g,footerStyle:m,children:b,classNames:y,styles:v}=e,E=(0,I.TP)("drawer");i=!1===d?void 0:void 0===d||!0===d?"start":(null==d?void 0:d.placement)==="end"?"end":"start";let _=r.useCallback(e=>r.createElement("button",{type:"button",onClick:p,className:a()("".concat(o,"-close"),{["".concat(o,"-close-").concat(i)]:"end"===i})},e),[p,o,i]),[x,A]=(0,R.$)((0,R.d)(e),(0,R.d)(E),{closable:!0,closeIconRender:_});return r.createElement(r.Fragment,null,(()=>{var e,t;return l||x?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=E.styles)?void 0:e.header),f),null==v?void 0:v.header),className:a()("".concat(o,"-header"),{["".concat(o,"-header-close-only")]:x&&!l&&!u},null==(t=E.classNames)?void 0:t.header,null==y?void 0:y.header)},r.createElement("div",{className:"".concat(o,"-header-title")},"start"===i&&A,l&&r.createElement("div",{className:"".concat(o,"-title"),id:s},l)),u&&r.createElement("div",{className:"".concat(o,"-extra")},u),"end"===i&&A):null})(),r.createElement("div",{className:a()("".concat(o,"-body"),null==y?void 0:y.body,null==(t=E.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=E.styles)?void 0:n.body),g),null==v?void 0:v.body)},h?r.createElement(P.A,{active:!0,title:!1,paragraph:{rows:5},className:"".concat(o,"-body-skeleton")}):b),(()=>{var e,t;return c?r.createElement("div",{className:a()("".concat(o,"-footer"),null==(e=E.classNames)?void 0:e.footer,null==y?void 0:y.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=E.styles)?void 0:t.footer),m),null==v?void 0:v.footer)},c):null})())};var j=n(99841),B=n(18184),F=n(45431),z=n(61388);let U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(t)}}},U({opacity:e},{opacity:1})),G=(0,F.OF)("Drawer",e=>{let t=(0,z.oX)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:h,lineWidth:p,lineType:f,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:v,colorBgTextActive:E,colorText:_,fontWeightStrong:x,footerPaddingBlock:A,footerPaddingInline:S,calc:w}=e,O="".concat(n,"-content-wrapper");return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:_,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",["&".concat(n,"-left")]:{boxShadow:e.boxShadowDrawerLeft},["&".concat(n,"-right")]:{boxShadow:e.boxShadowDrawerRight},["&".concat(n,"-top")]:{boxShadow:e.boxShadowDrawerUp},["&".concat(n,"-bottom")]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},["".concat(n,"-mask")]:{position:"absolute",inset:0,zIndex:r,background:i,pointerEvents:"auto"},[O]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:"all ".concat(o),"&-hidden":{display:"none"}},["&-left > ".concat(O)]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > ".concat(O)]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > ".concat(O)]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > ".concat(O)]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},["".concat(n,"-content")]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},["".concat(n,"-header")]:{display:"flex",flex:0,alignItems:"center",padding:"".concat((0,j.zA)(c)," ").concat((0,j.zA)(u)),fontSize:d,lineHeight:h,borderBottom:"".concat((0,j.zA)(p)," ").concat(f," ").concat(g),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},["".concat(n,"-extra")]:{flex:"none"},["".concat(n,"-close")]:Object.assign({display:"inline-flex",width:w(d).add(l).equal(),height:w(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:b,fontWeight:x,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all ".concat(s),textRendering:"auto",["&".concat(n,"-close-end")]:{marginInlineStart:m},["&:not(".concat(n,"-close-end)")]:{marginInlineEnd:m},"&:hover":{color:y,backgroundColor:v,textDecoration:"none"},"&:active":{backgroundColor:E}},(0,B.K8)(e)),["".concat(n,"-title")]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:h},["".concat(n,"-body")]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",["".concat(n,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},["".concat(n,"-footer")]:{flexShrink:0,padding:"".concat((0,j.zA)(A)," ").concat((0,j.zA)(S)),borderTop:"".concat((0,j.zA)(p)," ").concat(f," ").concat(g)},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{["".concat(t,"-mask-motion")]:H(0,n),["".concat(t,"-panel-motion")]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-".concat(t)]:[H(.7,n),U({transform:(e=>{let t="100%";return({left:"translateX(-".concat(t,")"),right:"translateX(".concat(t,")"),top:"translateY(-".concat(t,")"),bottom:"translateY(".concat(t,")")})[e]})(t)},{transform:"none"})]}),{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var $=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 W={distance:180},V=e=>{let{rootClassName:t,width:n,height:i,size:o="default",mask:s=!0,push:l=W,open:c,afterOpenChange:u,onClose:d,prefixCls:h,getContainer:p,panelRef:f=null,style:g,className:m,"aria-labelledby":b,visible:v,afterVisibleChange:E,maskStyle:_,drawerStyle:x,contentWrapperStyle:A,destroyOnClose:S,destroyOnHidden:R}=e,P=$(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),j=(0,O.A)(),B=P.title?j:void 0,{getPopupContainer:F,getPrefixCls:z,direction:U,className:H,style:V,classNames:q,styles:Y}=(0,I.TP)("drawer"),Z=z("drawer",h),[X,K,Q]=G(Z),J=void 0===p&&F?()=>F(document.body):p,ee=a()({"no-mask":!s,["".concat(Z,"-rtl")]:"rtl"===U},t,K,Q),et=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),en=r.useMemo(()=>null!=i?i:"large"===o?736:378,[i,o]),er={motionName:(0,M.b)(Z,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ei=(0,N.f)(),ea=(0,y.K4)(f,ei),[eo,es]=(0,k.YK)("Drawer",P.zIndex),{classNames:el={},styles:ec={}}=P;return X(r.createElement(C.A,{form:!0,space:!0},r.createElement(L.A.Provider,{value:es},r.createElement(w,Object.assign({prefixCls:Z,onClose:d,maskMotion:er,motion:e=>({motionName:(0,M.b)(Z,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},P,{classNames:{mask:a()(el.mask,q.mask),content:a()(el.content,q.content),wrapper:a()(el.wrapper,q.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ec.mask),_),Y.mask),content:Object.assign(Object.assign(Object.assign({},ec.content),x),Y.content),wrapper:Object.assign(Object.assign(Object.assign({},ec.wrapper),A),Y.wrapper)},open:null!=c?c:v,mask:s,push:l,width:et,height:en,style:Object.assign(Object.assign({},V),g),className:a()(H,m),rootClassName:ee,getContainer:J,afterOpenChange:null!=u?u:E,panelRef:ea,zIndex:eo,"aria-labelledby":null!=b?b:B,destroyOnClose:null!=R?R:S}),r.createElement(D,Object.assign({prefixCls:Z},P,{ariaId:B,onClose:d}))))))};V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:i,placement:o="right"}=e,s=$(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.QO),c=l("drawer",t),[u,d,h]=G(c),p=a()(c,"".concat(c,"-pure"),"".concat(c,"-").concat(o),d,h,i);return u(r.createElement("div",{className:p,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};let q=V},85237: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=[]},85654:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},85796: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=[]},85829: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=[]},85830:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(20235),i=n(85757),a=n(40419),o=n(12115),s=n(79630);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t1&&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)}(d.className,Object.assign({},d.style,void 0===i?{}:i),r)})}else m=c(c({},d),{},{className:d.className.join(" ")});var _=b(n.children);return o.createElement(p,(0,s.A)({key:l},m),_)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(t)})})}function E(e){return e&&void 0!==e.highlightAuto}function _(e,t){return function(n){var a,s,l=n.language,c=n.children,u=n.style,h=void 0===u?t:u,_=n.customStyle,x=void 0===_?{}:_,A=n.codeTagProps,S=void 0===A?{className:l?"language-".concat(l):void 0,style:p(p({},h['code[class*="language-"]']),h['code[class*="language-'.concat(l,'"]')])}:A,w=n.useInlineStyles,O=void 0===w||w,C=n.showLineNumbers,k=void 0!==C&&C,M=n.showInlineLineNumbers,L=void 0===M||M,I=n.startingLineNumber,N=void 0===I?1:I,R=n.lineNumberContainerStyle,P=n.lineNumberStyle,D=void 0===P?{}:P,j=n.wrapLines,B=n.wrapLongLines,F=void 0!==B&&B,z=n.lineProps,U=n.renderer,H=n.PreTag,G=void 0===H?"pre":H,$=n.CodeTag,W=void 0===$?"code":$,V=n.code,q=void 0===V?(Array.isArray(c)?c[0]:c)||"":V,Y=n.astGenerator,Z=(0,r.A)(n,d);Y=Y||e;var X=k?o.createElement(g,{containerStyle:R,codeStyle:S.style||{},numberStyle:D,startingLineNumber:N,codeString:q}):null,K=h.hljs||h['pre[class*="language-"]']||{backgroundColor:"#fff"},Q=E(Y)?"hljs":"prismjs",J=O?Object.assign({},Z,{style:Object.assign({},K,x)}):Object.assign({},Z,{className:Z.className?"".concat(Q," ").concat(Z.className):Q,style:Object.assign({},x)});if(F?S.style=p({whiteSpace:"pre-wrap"},S.style):S.style=p({whiteSpace:"pre"},S.style),!Y)return o.createElement(G,J,X,o.createElement(W,S,q));(void 0===j&&U||F)&&(j=!0),U=U||v;var ee=[{type:"text",value:q}],et=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(E(t)){var a=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:i,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(e){return{value:i}}}({astGenerator:Y,language:l,code:q,defaultCodeValue:ee});null===et.language&&(et.value=ee);var en=N+(null!=(a=null==(s=q.match(/\n/g))?void 0:s.length)?a:0),er=function(e,t,n,r,a,o,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return y({children:e,lineNumber:i,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:c,wrapLines:t})}(e,i,o):function(e,t){if(r&&t&&a){var n=b(l,t,s);e.unshift(m(t,n))}return e}(e,i)}for(;g{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r,i,a,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,o=e.apply(i,a),r||(i=a=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return i=this,a=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,o=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(r),s=0,r=i=a=null},c}},86372:(e,t,n)=>{"use strict";n.d(t,{F5:()=>r.F5,Ks:()=>r.Ks,Hl:()=>r.Hl,N3:()=>r.N3,jl:()=>r.jl,K9:()=>r.K9,up:()=>r.up,q9:()=>r.q9,yo:()=>r.yo,jX:()=>r.jX,Pp:()=>r.Pp,Aj:()=>r.Aj,YJ:()=>r.YJ,g3:()=>r.g3,_V:()=>r._V,N1:()=>r.N1,wA:()=>r.wA,tS:()=>r.tS,Ro:()=>r.Ro,NZ:()=>r.NZ,rw:()=>r.rw,yp:()=>r.yp,EY:()=>r.EY,O5:()=>r.O5,H0:()=>r.H0,KJ:()=>r.KJ,fA:()=>r.fA});var r=n(39996),i=n(30857),a=n(28383),o=n(78096),s=n(38289),l=n(69138),c=n(42338),u=n(4684),d=n(76637),h=n(64664),p=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),a=0;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===r.Aq.ORBITING||this.type===r.Aq.EXPLORING?this._getPosition():this.type===r.Aq.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,r.Q_)(e,t,0),i=h.o8(this.position);return h.WQ(i,i,h.hs(h.vt(),this.right,n[0])),h.WQ(i,i,h.hs(h.vt(),this.up,n[1])),this._setPosition(i),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=h.o8(this.position),i=e*this.dollyingStep;return i=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=i*t[0],n[1]+=i*t[1],n[2]+=i*t[2],this._setPosition(n),this.type===r.Aq.ORBITING||this.type===r.Aq.EXPLORING?this._getDistance():this.type===r.Aq.TRACKING&&h.WQ(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,i,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.position,l=void 0===s?this.position:s,c=o.focalPoint,u=void 0===c?this.focalPoint:c,p=o.roll,f=o.zoom,g=new r.fA.CameraContribution;g.setType(this.type,void 0),g.setPosition(l[0],null!=(t=l[1])?t:this.position[1],null!=(n=l[2])?n:this.position[2]),g.setFocalPoint(u[0],null!=(i=u[1])?i:this.focalPoint[1],null!=(a=u[2])?a:this.focalPoint[2]),g.setRoll(null!=p?p:this.roll),g.setZoom(null!=f?f:this.zoom);var m={name:e,matrix:d.clone(g.getWorldTransform()),right:h.o8(g.right),up:h.o8(g.up),forward:h.o8(g.forward),position:h.o8(g.getPosition()),focalPoint:h.o8(g.getFocalPoint()),distanceVector:h.o8(g.getDistanceVector()),distance:g.getDistance(),dollyingStep:g.getDollyingStep(),azimuth:g.getAzimuth(),elevation:g.getElevation(),roll:g.getRoll(),relAzimuth:g.relAzimuth,relElevation:g.relElevation,relRoll:g.relRoll,zoom:g.getZoom()};return this.landmarks.push(m),m}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,l.A)(e)?this.landmarks.find(function(t){return t.name===e}):e;if(i){var a,o=(0,c.A)(n)?{duration:n}:n,s=o.easing,u=o.duration,d=void 0===u?100:u,p=o.easingFunction,f=o.onfinish,g=void 0===f?void 0:f,m=o.onframe,b=void 0===m?void 0:m;this.cancelLandmarkAnimation();var y=i.position,v=i.focalPoint,E=i.zoom,_=i.roll,x=(void 0===p?void 0:p)||r.fA.EasingFunction(void 0===s?"linear":s),A=function(){t.setFocalPoint(v),t.setPosition(y),t.setRoll(_),t.setZoom(E),t.computeMatrix(),t.triggerUpdate(),null==g||g()};if(0===d)return A();var S=function(e){void 0===a&&(a=e);var n=e-a;if(n>=d)return void A();var r=x(n/d),i=h.vt(),o=h.vt(),s=1,l=0;if(h.Cc(i,t.focalPoint,v,r),h.Cc(o,t.position,y,r),l=t.roll*(1-r)+_*r,s=t.zoom*(1-r)+E*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),h.xg(i,v)+h.xg(o,y)<=.01&&void 0===E&&void 0===_)return A();t.computeMatrix(),t.triggerUpdate(),n0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){if(null!=(e=this.effect.target)&&e.destroyed)return this.readyPromise=void 0,this.finishedPromise=void 0,!1;var e,t=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==t&&("idle"===n?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===n&&(this.readyPromise=void 0)),this.finishedPromise&&n!==t&&("idle"===n?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===n?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new y(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null==(e=this.effect)?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){!this._idle&&!this._paused&&(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(r.eg)}},{key:"addEventListener",value:function(e,t,n){throw Error(r.eg)}},{key:"removeEventListener",value:function(e,t,n){throw Error(r.eg)}},{key:"dispatchEvent",value:function(e){throw Error(r.eg)}},{key:"commitStyles",value:function(){throw Error(r.eg)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!=(e=this.effect)&&e.update(-1)):this._inEffect=!!(null!=(t=this.effect)&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new y(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new y(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),_="function"==typeof Float32Array,x=function(e,t){return 1-3*t+3*e},A=function(e,t){return 3*t-6*e},S=function(e){return 3*e},w=function(e,t,n){return((x(t,n)*e+A(t,n))*e+S(t))*e},O=function(e,t,n){return 3*x(t,n)*e*e+2*A(t,n)*e+S(t)},C=function(e,t,n,r,i){var a,o,s=0;do(a=w(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o;while(Math.abs(a)>1e-7&&++s<10);return o},k=function(e,t,n,r){for(var i=0;i<4;++i){var a=O(t,n,r);if(0===a)break;var o=w(t,n,r)-e;t-=o/a}return t},M=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var i=_?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=w(.1*a,e,n);var o=function(t){for(var r=0,a=1;10!==a&&i[a]<=t;++a)r+=.1;var o=r+(t-i[--a])/(i[a+1]-i[a])*.1,s=O(o,e,n);return s>=.001?k(t,o,e,n):0===s?o:C(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:w(o(e),t,r)}},L=function(e){return Math.pow(e,2)},I=function(e){return Math.pow(e,3)},N=function(e){return Math.pow(e,4)},R=function(e){return Math.pow(e,5)},P=function(e){return Math.pow(e,6)},D=function(e){return 1-Math.cos(e*Math.PI/2)},j=function(e){return 1-Math.sqrt(1-e*e)},B=function(e){return e*e*(3*e-2)},F=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,2),r=n[0],i=n[1],a=(0,m.A)(Number(void 0===r?1:r),1,10),o=(0,m.A)(Number(void 0===i?.5:i),.1,2);return 0===e||1===e?e:-a*Math.pow(2,10*(e-1))*Math.sin(2*Math.PI*(e-1-o/(2*Math.PI)*Math.asin(1/a))/o)},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,g.A)(t,4),i=r[0],a=void 0===i?1:i,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;a=(0,m.A)(a,.1,1e3),s=(0,m.A)(s,.1,1e3),c=(0,m.A)(c,.1,1e3),d=(0,m.A)(d,.1,1e3);var h=Math.sqrt(s/a),p=c/(2*Math.sqrt(s*a)),f=p<1?h*Math.sqrt(1-p*p):0,b=p<1?(p*h+-d)/f:-d+h,y=n?n*e/1e3:e;return(y=p<1?Math.exp(-y*p*h)*(+Math.cos(f*y)+b*Math.sin(f*y)):(1+b*y)*Math.exp(-y*h),0===e||1===e)?e:1-y},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,2),r=n[0],i=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)((0,m.A)(e,0,1)*i)/i},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,4);return M(n[0],n[1],n[2],n[3])(e)},$=M(.42,0,1,1),W=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},V=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},q=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},Y={steps:H,"step-start":function(e){return H(e,[1,"start"])},"step-end":function(e){return H(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":G,ease:function(e){return G(e,[.25,.1,.25,1])},in:$,out:W($),"in-out":V($),"out-in":q($),"in-quad":L,"out-quad":W(L),"in-out-quad":V(L),"out-in-quad":q(L),"in-cubic":I,"out-cubic":W(I),"in-out-cubic":V(I),"out-in-cubic":q(I),"in-quart":N,"out-quart":W(N),"in-out-quart":V(N),"out-in-quart":q(N),"in-quint":R,"out-quint":W(R),"in-out-quint":V(R),"out-in-quint":q(R),"in-expo":P,"out-expo":W(P),"in-out-expo":V(P),"out-in-expo":q(P),"in-sine":D,"out-sine":W(D),"in-out-sine":V(D),"out-in-sine":q(D),"in-circ":j,"out-circ":W(j),"in-out-circ":V(j),"out-in-circ":q(j),"in-back":B,"out-back":W(B),"in-out-back":V(B),"out-in-back":q(B),"in-bounce":F,"out-bounce":W(F),"in-out-bounce":V(F),"out-in-bounce":q(F),"in-elastic":z,"out-elastic":W(z),"in-out-elastic":V(z),"out-in-elastic":q(z),spring:U,"spring-in":U,"spring-out":W(U),"spring-in-out":V(U),"spring-out-in":q(U)},Z=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},X=function(e){return e};function K(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var Q="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",J=new RegExp("cubic-bezier\\(".concat(Q,",").concat(Q,",").concat(Q,",").concat(Q,"\\)")),ee=/steps\(\s*(\d+)\s*\)/,et=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function en(e){var t=J.exec(e);if(t)return M.apply(void 0,(0,f.A)(t.slice(1).map(Number)));var n=ee.exec(e);if(n)return K(Number(n[1]),0);var r=et.exec(e);return r?K(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):Y[Z(e)]||Y.linear}function er(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var ei=function(e,t,n){return function(r){var i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var i=t.length,a=n.length,o=Math.max(i,a),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));n[r]=i}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,i=-1/0,a=0;a=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!=(e=n[r-1].offset)?e:1),r>1&&(n[0].computedOffset=Number(null!=(t=n[0].offset)?t:0));for(var i=0,a=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),d=function(e,t,n,r,i){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-i;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,u,n.delay);if(null===d)return null;var h="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=i=n.iterationStart,0===h?1!==u&&(a+=r):a+=d/h,a),f=(o=n.iterationStart,s=n.iterations,0==(l=p===1/0?o%1:p%1)&&2===u&&0!==s&&(0!==d||0===h)&&(l=1),l),g=(c=n.iterations,2===u&&c===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,g,f);return n.currentIteration=g,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=eo(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function eu(e,t){return Number(e.id)-Number(t.id)}var ed=(0,a.A)(function e(t){var n=this;(0,i.A)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],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,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="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*{)",s="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 l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(a),u=RegExp(l(i+" "+a+" "+o+" "+s)),d=l(a+" "+o+" "+s),h=l(i+" "+a+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),f=r(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,f,y]),_=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[_,b,y]),A={keyword:u,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,w=/"(?:\\.|[^\\"\r\n])*"/.source,O=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:A},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:A},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:A},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,h,g]),inside:A}],keyword:u,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,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:A},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,b]),inside:A,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:A,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:A}}},"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,[c,m,g,x,u.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:A},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=w+"|"+S,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),M=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[k]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,I=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,M]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,I]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[M]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,R=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[k]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]),D=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[D,N]);function B(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),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,[P]),lookbehind:!0,greedy:!0,inside:B(P,R)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:B(j,D)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},86512:(e,t,n)=>{e.exports=n(21087)(n(75751))},86815:(e,t,n)=>{"use strict";n.d(t,{A4:()=>eN});var r=n(28383),i=n(30857),a=n(78096),o=n(38289),s=n(39996),l=n(40419),c=n(21858),u=n(31563);function d(e,t){var n=t.cx,r=t.cy,i=t.r;e.arc(void 0===n?0:n,void 0===r?0:r,i,0,2*Math.PI,!1)}function h(e,t){var n=t.cx,r=void 0===n?0:n,i=t.cy,a=void 0===i?0:i,o=t.rx,s=t.ry;e.ellipse?e.ellipse(r,a,o,s,0,0,2*Math.PI,!1):(e.save(),e.scale(o>s?1:o/s,o>s?s/o:1),e.arc(r,a,o>s?o:s,0,2*Math.PI))}function p(e,t){var n=t.x1,r=t.y1,i=t.x2,a=t.y2,o=t.markerStart,l=t.markerEnd,c=t.markerStartOffset,u=t.markerEndOffset,d=0,h=0,p=0,f=0,g=0;o&&(0,s.y5)(o)&&c&&(d=Math.cos(g=Math.atan2(a-r,i-n))*(c||0),h=Math.sin(g)*(c||0)),l&&(0,s.y5)(l)&&u&&(p=Math.cos(g=Math.atan2(r-a,n-i))*(u||0),f=Math.sin(g)*(u||0)),e.moveTo(n+d,r+h),e.lineTo(i+p,a+f)}function f(e,t){var n,r=t.markerStart,i=t.markerEnd,a=t.markerStartOffset,o=t.markerEndOffset,l=t.d,u=l.absolutePath,d=l.segments,h=0,p=0,f=0,g=0,m=0;if(r&&(0,s.y5)(r)&&a){var b=r.parentNode.getStartTangent(),y=(0,c.A)(b,2),v=y[0],E=y[1];n=v[0]-E[0],h=Math.cos(m=Math.atan2(v[1]-E[1],n))*(a||0),p=Math.sin(m)*(a||0)}if(i&&(0,s.y5)(i)&&o){var _=i.parentNode.getEndTangent(),x=(0,c.A)(_,2),A=x[0],S=x[1];n=A[0]-S[0],f=Math.cos(m=Math.atan2(A[1]-S[1],n))*(o||0),g=Math.sin(m)*(o||0)}for(var w=0;w$?G:$,X=G>$?1:G/$,K=G>$?$/G:1;e.translate(U,H),e.rotate(q),e.scale(X,K),e.arc(0,0,Z,W,V,!!(1-Y)),e.scale(1/X,1/K),e.rotate(-q),e.translate(-U,-H)}L&&e.lineTo(O[6]+f,O[7]+g);break;case"Z":e.closePath()}}}function g(e,t){var n,r=t.markerStart,i=t.markerEnd,a=t.markerStartOffset,o=t.markerEndOffset,l=t.points.points,c=l.length,u=l[0][0],d=l[0][1],h=l[c-1][0],p=l[c-1][1],f=0,g=0,m=0,b=0,y=0;r&&(0,s.y5)(r)&&a&&(n=l[1][0]-l[0][0],f=Math.cos(y=Math.atan2(l[1][1]-l[0][1],n))*(a||0),g=Math.sin(y)*(a||0)),i&&(0,s.y5)(i)&&o&&(n=l[c-1][0]-l[0][0],m=Math.cos(y=Math.atan2(l[c-1][1]-l[0][1],n))*(o||0),b=Math.sin(y)*(o||0)),e.moveTo(u+(f||m),d+(g||b));for(var v=1;v0?1:-1,h=l>0?1:-1,p=d+h===0,f=o.map(function(e){return(0,u.A)(e,0,Math.min(Math.abs(s)/2,Math.abs(l)/2))}),g=(0,c.A)(f,4),m=g[0],b=g[1],y=g[2],v=g[3];e.moveTo(d*m+r,a),e.lineTo(s-d*b+r,a),0!==b&&e.arc(s-d*b+r,h*b+a,b,-h*Math.PI/2,d>0?0:Math.PI,p),e.lineTo(s+r,l-h*y+a),0!==y&&e.arc(s-d*y+r,l-h*y+a,y,d>0?0:Math.PI,h>0?Math.PI/2:1.5*Math.PI,p),e.lineTo(d*v+r,l+a),0!==v&&e.arc(d*v+r,l-h*v+a,v,h>0?Math.PI/2:-Math.PI/2,d>0?Math.PI:0,p),e.lineTo(r,h*m+a),0!==m&&e.arc(d*m+r,h*m+a,m,d>0?Math.PI:0,h>0?1.5*Math.PI:Math.PI/2,p)}else e.rect(r,a,s,l)}var y=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o=o-f&&g<=o+f}function R(e,t,n){var r,i,a,o,l,u,d=e.parsedStyle,h=d.cx,p=void 0===h?0:h,f=d.cy,g=void 0===f?0:f,m=d.rx,b=d.ry,y=d.fill,v=d.stroke,E=d.lineWidth,_=d.increasedLineWidthForHitTesting,x=d.pointerEvents,A=t.x,S=t.y,w=(0,s.Hh)(void 0===x?"auto":x,y,v),O=(0,c.A)(w,2),C=O[0],k=O[1],M=((void 0===E?1:E)+(void 0===_?0:_))/2,L=(A-p)*(A-p),I=(S-g)*(S-g);return C&&k||n?1>=L/((r=m+M)*r)+I/((i=b+M)*i):C?1>=L/(m*m)+I/(b*b):!!k&&L/((a=m-M)*a)+I/((o=b-M)*o)>=1&&1>=L/((l=m+M)*l)+I/((u=b+M)*u)}function P(e,t,n,r,i,a){return i>=e&&i<=e+n&&a>=t&&a<=t+r}function D(e,t,n,r,i,a,o,s){var l=(Math.atan2(s-t,o-e)+2*Math.PI)%(2*Math.PI),c={x:e+n*Math.cos(l),y:t+n*Math.sin(l)};return(0,S.Io)(c.x,c.y,o,s)<=a/2}function j(e,t,n,r,i,a,o){var s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r),d=i/2;return!!(a>=s-d&&a<=l+d&&o>=c-d&&o<=u+d)&&(0,S.M7)(e,t,n,r,a,o)<=i/2}function B(e,t,n,r,i){var a=e.length;if(a<2)return!1;for(var o=0;oMath.abs(e)?0:e<0?-1:1}function z(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var a=0;a0!=F(l[1]-n)>0&&0>F(t-(n-s[1])*(s[0]-l[0])/(s[1]-l[1])-s[0])&&(r=!r)}return r}function U(e,t,n){for(var r=!1,i=0;i=i.min[0]&&t.y>=i.min[1]&&t.x<=i.max[0]&&t.y<=i.max[1]}I.tag="CanvasPicker";var Z=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:e.api;e.rafId&&(t.cancelAnimationFrame(e.rafId),e.rafId=null)}},{key:"executeTask",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.api;en.length<=0&&er.length<=0||(er.forEach(function(e){return e()}),er=en.splice(0,e.TASK_NUM_PER_FRAME),e.rafId=t.requestAnimationFrame(function(){e.executeTask(t)}))}},{key:"sliceImage",value:function(t,n,r,i){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.api,s=t.naturalWidth||t.width,l=t.naturalHeight||t.height,c=n-a,u=r-a,d=Math.ceil(s/c),h=Math.ceil(l/u),p={tileSize:[n,r],gridSize:[h,d],tiles:Array(h).fill(null).map(function(){return Array(d).fill(null)})},f=function(e){for(var a=function(a){en.push(function(){var d=a*c,h=e*u,f=[Math.min(n,s-d),Math.min(r,l-h)],g=f[0],m=f[1],b=o.createCanvas();b.width=n,b.height=r,b.getContext("2d").drawImage(t,d,h,g,m,0,0,g,m),p.tiles[e][a]={x:d,y:h,tileX:a,tileY:e,data:b},i()})},h=0;hc&&g/h>u,t&&("function"==typeof t.resetTransform?t.resetTransform():t.setTransform(1,0,0,1,0,0),r.clearFullScreen&&r.clearRect(t,0,0,i*n,o*n,a.background))},y=function(e,t){for(var i=[e];i.length>0;){var a,o=i.pop();o.isVisible()&&!o.isCulled()&&(h?r.renderDisplayObjectOptimized(o,t,r.context,K(r,eu)[eu],n):r.renderDisplayObject(o,t,r.context,K(r,eu)[eu],n));for(var s=(null==(a=o.sortable)||null==(a=a.sorted)?void 0:a.length)>0?o.sortable.sorted:o.childNodes,l=s.length-1;l>=0;l--)i.push(s[l])}};l.hooks.endFrame.tap(e.tag,function(){if(b(),0===c.root.childNodes.length){r.clearFullScreenLastFrame=!0;return}h=a.renderer.getConfig().enableRenderingOptimization,K(r,eu)[eu]={restoreStack:[],prevObject:null,currentContext:K(r,eu)[eu].currentContext},K(r,eu)[eu].currentContext.clear(),r.clearFullScreenLastFrame=!1;var e=p.getContext(),t=p.getDPR();if(A.fromScaling(r.dprMatrix,[t,t,1]),A.multiply(r.vpMatrix,r.dprMatrix,o.getOrthoMatrix()),r.clearFullScreen)h?(e.save(),y(c.root,e),e.restore()):y(c.root,e),r.removedRBushNodeAABBs=[];else{var i=r.safeMergeAABB.apply(r,[r.mergeDirtyAABBs(r.renderQueue)].concat((0,X.A)(r.removedRBushNodeAABBs.map(function(e){var t=e.minX,n=e.minY,r=e.maxX,i=e.maxY,a=new s.F5;return a.setMinMax([t,n,0],[r,i,0]),a}))));if(r.removedRBushNodeAABBs=[],s.F5.isEmpty(i)){r.renderQueue=[];return}var l=r.convertAABB2Rect(i),u=l.x,d=l.y,g=l.width,m=l.height,v=x.Z0(r.vec3a,[u,d,0],r.vpMatrix),E=x.Z0(r.vec3b,[u+g,d,0],r.vpMatrix),_=x.Z0(r.vec3c,[u,d+m,0],r.vpMatrix),S=x.Z0(r.vec3d,[u+g,d+m,0],r.vpMatrix),w=Math.min(v[0],E[0],S[0],_[0]),O=Math.min(v[1],E[1],S[1],_[1]),C=Math.max(v[0],E[0],S[0],_[0]),k=Math.max(v[1],E[1],S[1],_[1]),M=Math.floor(w),L=Math.floor(O),I=Math.ceil(C-w),N=Math.ceil(k-O);e.save(),r.clearRect(e,M,L,I,N,a.background),e.beginPath(),e.rect(M,L,I,N),e.clip(),e.setTransform(r.vpMatrix[0],r.vpMatrix[1],r.vpMatrix[4],r.vpMatrix[5],r.vpMatrix[12],r.vpMatrix[13]),a.renderer.getConfig().enableDirtyRectangleRenderingDebug&&f.dispatchEvent(new s.up(s.N3.DIRTY_RECTANGLE,{dirtyRect:{x:M,y:L,width:I,height:N}})),r.searchDirtyObjects(i).sort(function(e,t){return e.sortable.renderOrder-t.sortable.renderOrder}).forEach(function(t){t&&t.isVisible()&&!t.isCulled()&&r.renderDisplayObject(t,e,r.context,K(r,eu)[eu],n)}),e.restore(),r.renderQueue.forEach(function(e){r.saveDirtyAABB(e)}),r.renderQueue=[]}K(r,eu)[eu].restoreStack.forEach(function(){e.restore()}),K(r,eu)[eu].restoreStack=[]}),l.hooks.render.tap(e.tag,function(e){r.clearFullScreen||r.renderQueue.push(e)})}},{key:"clearRect",value:function(e,t,n,r,i,a){e.clearRect(t,n,r,i),a&&(e.fillStyle=a,e.fillRect(t,n,r,i))}},{key:"renderDisplayObjectOptimized",value:function(e,t,n,r,i){var a=e.nodeName,o=!1,l=this.context.styleRendererFactory[a],c=this.pathGeneratorFactory[a],u=e.parsedStyle.clipPath;if(u){r.prevObject&&A.exactEquals(u.getWorldTransform(),r.prevObject.getWorldTransform())||(this.applyWorldTransform(t,u),r.prevObject=null);var d=this.pathGeneratorFactory[u.nodeName];d&&(t.save(),o=!0,t.beginPath(),d(t,u.parsedStyle),t.closePath(),t.clip())}if(l){r.prevObject&&A.exactEquals(e.getWorldTransform(),r.prevObject.getWorldTransform())||this.applyWorldTransform(t,e);var h=!r.prevObject;if(!h){var p=r.prevObject.nodeName;h=a===s.yp.TEXT?p!==s.yp.TEXT:a===s.yp.IMAGE?p!==s.yp.IMAGE:p===s.yp.TEXT||p===s.yp.IMAGE}l.applyStyleToContext(t,e,h,r),r.prevObject=e}c&&(t.beginPath(),c(t,e.parsedStyle),a!==s.yp.LINE&&a!==s.yp.PATH&&a!==s.yp.POLYLINE&&t.closePath()),l&&l.drawToContext(t,e,K(this,eu)[eu],this,i),o&&t.restore(),e.dirty(!1)}},{key:"renderDisplayObject",value:function(e,t,n,r,i){var a=e.nodeName,o=r.restoreStack[r.restoreStack.length-1];o&&!(e.compareDocumentPosition(o)&s.bP.DOCUMENT_POSITION_CONTAINS)&&(t.restore(),r.restoreStack.pop());var l=this.context.styleRendererFactory[a],c=this.pathGeneratorFactory[a],u=e.parsedStyle.clipPath;if(u){this.applyWorldTransform(t,u);var d=this.pathGeneratorFactory[u.nodeName];d&&(t.save(),r.restoreStack.push(e),t.beginPath(),d(t,u.parsedStyle),t.closePath(),t.clip())}l&&(this.applyWorldTransform(t,e),t.save(),this.applyAttributesToContext(t,e)),c&&(t.beginPath(),c(t,e.parsedStyle),a!==s.yp.LINE&&a!==s.yp.PATH&&a!==s.yp.POLYLINE&&t.closePath()),l&&(l.render(t,e.parsedStyle,e,n,this,i),t.restore()),e.dirty(!1)}},{key:"applyAttributesToContext",value:function(e,t){var n=t.parsedStyle,r=n.stroke,i=n.fill,a=n.opacity,o=n.lineDash,s=n.lineDashOffset;o&&e.setLineDash(o),(0,J.A)(s)||(e.lineDashOffset=s),(0,J.A)(a)||(e.globalAlpha*=a),(0,J.A)(r)||Array.isArray(r)||r.isNone||(e.strokeStyle=t.attributes.stroke),(0,J.A)(i)||Array.isArray(i)||i.isNone||(e.fillStyle=t.attributes.fill)}},{key:"convertAABB2Rect",value:function(e){var t=e.getMin(),n=e.getMax(),r=Math.floor(t[0]),i=Math.floor(t[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}}},{key:"mergeDirtyAABBs",value:function(e){var t=new s.F5;return e.forEach(function(e){var n=e.getRenderBounds();t.add(n);var r=e.renderable.dirtyRenderBounds;r&&t.add(r)}),t}},{key:"searchDirtyObjects",value:function(e){var t=e.getMin(),n=(0,c.A)(t,2),r=n[0],i=n[1],a=e.getMax(),o=(0,c.A)(a,2),s=o[0],l=o[1];return this.rBush.search({minX:r,minY:i,maxX:s,maxY:l}).map(function(e){return e.displayObject})}},{key:"saveDirtyAABB",value:function(e){var t=e.renderable;t.dirtyRenderBounds||(t.dirtyRenderBounds=new s.F5);var n=e.getRenderBounds();n&&t.dirtyRenderBounds.update(n.center,n.halfExtents)}},{key:"applyWorldTransform",value:function(e,t,n){n?(A.copy(this.tmpMat4,t.getLocalTransform()),A.multiply(this.tmpMat4,n,this.tmpMat4)):A.copy(this.tmpMat4,t.getWorldTransform()),A.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4),e.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])}},{key:"safeMergeAABB",value:function(){for(var e=new s.F5,t=arguments.length,n=Array(t),r=0;r0,w=(null==o?void 0:o.alpha)===0,O=!!(_&&_.length),C=!(0,J.A)(v)&&E>0,k=n.nodeName,M="inner"===y,L=S&&C&&(k===s.yp.PATH||k===s.yp.LINE||k===s.yp.POLYLINE||w||M);A&&(e.globalAlpha=u*(void 0===d?1:d),L||eE(n,e,C),e_(e,n,o,l,r,i,a,this.imagePool),L||this.clearShadowAndFilter(e,O,C)),S&&(e.globalAlpha=u*(void 0===p?1:p),e.lineWidth=g,(0,J.A)(x)||(e.miterLimit=x),(0,J.A)(m)||(e.lineCap=m),(0,J.A)(b)||(e.lineJoin=b),L&&(M&&(e.globalCompositeOperation="source-atop"),eE(n,e,!0),M&&(ex(e,n,h,r,i,a,this.imagePool),e.globalCompositeOperation=em.globalCompositeOperation,this.clearShadowAndFilter(e,O,!0))),ex(e,n,h,r,i,a,this.imagePool))}},{key:"clearShadowAndFilter",value:function(e,t,n){if(n&&(e.shadowColor="transparent",e.shadowBlur=0),t){var r=e.filter;!(0,J.A)(r)&&r.indexOf("drop-shadow")>-1&&(e.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}}}])}((0,r.A)(function e(t){(0,i.A)(this,e),this.imagePool=t},[{key:"applyAttributesToContext",value:function(e,t){}},{key:"render",value:function(e,t,n,r,i,a){}},{key:"applyCommonStyleToContext",value:function(e,t,n,r){var i=n?eb:r.prevObject.parsedStyle,a=t.parsedStyle;(n||a.opacity!==i.opacity)&&ey(e,"globalAlpha",(0,J.A)(a.opacity)?em.globalAlpha:a.opacity,r.currentContext),(n||a.blend!==i.blend)&&ey(e,"globalCompositeOperation",(0,J.A)(a.blend)?em.globalCompositeOperation:a.blend,r.currentContext)}},{key:"applyStrokeFillStyleToContext",value:function(e,t,n,r){var i=n?eb:r.prevObject.parsedStyle,a=t.parsedStyle,o=a.lineWidth,s=void 0===o?em.lineWidth:o,l=a.fill&&!a.fill.isNone;if(a.stroke&&!a.stroke.isNone&&s>0){(n||t.attributes.stroke!==r.prevObject.attributes.stroke)&&ey(e,"strokeStyle",(0,J.A)(a.stroke)||Array.isArray(a.stroke)||a.stroke.isNone?em.strokeStyle:t.attributes.stroke,r.currentContext),(n||a.lineWidth!==i.lineWidth)&&ey(e,"lineWidth",(0,J.A)(a.lineWidth)?em.lineWidth:a.lineWidth,r.currentContext),(n||a.lineDash!==i.lineDash)&&ey(e,"lineDash",a.lineDash||em.lineDash,r.currentContext),(n||a.lineDashOffset!==i.lineDashOffset)&&ey(e,"lineDashOffset",(0,J.A)(a.lineDashOffset)?em.lineDashOffset:a.lineDashOffset,r.currentContext);for(var c=0;c4&&void 0!==arguments[4]&&arguments[4];if(t){ey(e,"shadowColor",em.shadowColor,r.currentContext);for(var a=0;a-1&&ey(e,"filter",s.replace(/drop-shadow\([^)]*\)/,"").trim()||em.filter,r.currentContext)}else ey(e,"filter",em.filter,r.currentContext)}},{key:"fillToContext",value:function(e,t,n,r,i){var a=this,o=t.parsedStyle,l=o.fill,c=o.fillRule,u=null;if(Array.isArray(l)&&l.length>0)l.forEach(function(r){var i=ey(e,"fillStyle",ep(r,t,e,a.imagePool),n.currentContext);u=null!=u?u:i,c?e.fill(c):e.fill()});else{if((0,s.Pt)(l)){var d=eh(l,t,e,t.ownerDocument.defaultView.context,r,i,this.imagePool);d&&(e.fillStyle=d,u=!0)}c?e.fill(c):e.fill()}null!==u&&ey(e,"fillStyle",u,n.currentContext)}},{key:"strokeToContext",value:function(e,t,n,r,i){var a=this,o=t.parsedStyle.stroke,l=null;if(Array.isArray(o)&&o.length>0)o.forEach(function(r){var i=ey(e,"strokeStyle",ep(r,t,e,a.imagePool),n.currentContext);l=null!=l?l:i,e.stroke()});else{if((0,s.Pt)(o)){var c=eh(o,t,e,t.ownerDocument.defaultView.context,r,i,this.imagePool);if(c){var u=ey(e,"strokeStyle",c,n.currentContext);l=null!=l?l:u}}e.stroke()}null!==l&&ey(e,"strokeStyle",l,n.currentContext)}},{key:"drawToContext",value:function(e,t,n,r,i){var a,o=t.nodeName,l=t.parsedStyle,c=l.opacity,u=void 0===c?em.globalAlpha:c,d=l.fillOpacity,h=void 0===d?em.fillOpacity:d,p=l.strokeOpacity,f=void 0===p?em.strokeOpacity:p,g=l.lineWidth,m=void 0===g?em.lineWidth:g,b=l.fill&&!l.fill.isNone,y=l.stroke&&!l.stroke.isNone&&m>0;if(b||y){var v=!(0,J.A)(l.shadowColor)&&l.shadowBlur>0,E="inner"===l.shadowType,_=(null==(a=l.fill)?void 0:a.alpha)===0,x=!!(l.filter&&l.filter.length),A=v&&y&&(o===s.yp.PATH||o===s.yp.LINE||o===s.yp.POLYLINE||_||E),S=null;if(b&&(A||this.applyShadowAndFilterStyleToContext(e,t,v,n),S=ey(e,"globalAlpha",u*h,n.currentContext),this.fillToContext(e,t,n,r,i),A||this.clearShadowAndFilterStyleForContext(e,v,x,n)),y){var w=!1,O=ey(e,"globalAlpha",u*f,n.currentContext);if(S=b?S:O,A&&(this.applyShadowAndFilterStyleToContext(e,t,v,n),w=!0,E)){var C=e.globalCompositeOperation;e.globalCompositeOperation="source-atop",this.strokeToContext(e,t,n,r,i),e.globalCompositeOperation=C,this.clearShadowAndFilterStyleForContext(e,v,x,n,!0)}this.strokeToContext(e,t,n,r,i),w&&this.clearShadowAndFilterStyleForContext(e,v,x,n)}null!==S&&ey(e,"globalAlpha",S,n.currentContext)}}}]));function eE(e,t,n){var r=e.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,s=r.shadowOffsetX,l=r.shadowOffsetY;i&&i.length&&(t.filter=e.style.filter),n&&(t.shadowColor=a.toString(),t.shadowBlur=o||0,t.shadowOffsetX=s||0,t.shadowOffsetY=l||0)}function e_(e,t,n,r,i,a,o,l){var c=arguments.length>8&&void 0!==arguments[8]&&arguments[8];Array.isArray(n)?n.forEach(function(n){e.fillStyle=ep(n,t,e,l),c||(r?e.fill(r):e.fill())}):((0,s.Pt)(n)&&(e.fillStyle=eh(n,t,e,i,a,o,l)),c||(r?e.fill(r):e.fill()))}function ex(e,t,n,r,i,a,o){var l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];Array.isArray(n)?n.forEach(function(n){e.strokeStyle=ep(n,t,e,o),l||e.stroke()}):((0,s.Pt)(n)&&(e.strokeStyle=eh(n,t,e,r,i,a,o)),l||e.stroke())}var eA=function(e){function t(){return(0,i.A)(this,t),(0,a.A)(this,t,arguments)}return(0,o.A)(t,e),(0,r.A)(t,[{key:"renderDownSampled",value:function(e,t,n,r){var i=r.src,a=r.imageCache;if(!a.downSampled)return void this.imagePool.createDownSampledImage(i,n).then(function(){n.ownerDocument&&(n.dirty(),n.ownerDocument.defaultView.context.renderingService.dirtify())}).catch(function(e){console.error(e)});e.drawImage(a.downSampled,Math.floor(r.drawRect[0]),Math.floor(r.drawRect[1]),Math.ceil(r.drawRect[2]),Math.ceil(r.drawRect[3]))}},{key:"renderTile",value:function(e,t,n,r){var i=r.src,a=r.imageCache,o=r.imageRect,s=r.drawRect,l=a.size,c=e.getTransform(),u=c.a,d=c.b,h=c.c,p=c.d,f=c.e,g=c.f;if(e.resetTransform(),!(null!=a&&a.gridSize))return void this.imagePool.createImageTiles(i,[],function(){n.ownerDocument&&(n.dirty(),n.ownerDocument.defaultView.context.renderingService.dirtify())},n).catch(function(e){console.error(e)});for(var m=[l[0]/o[2],l[1]/o[3]],b=[a.tileSize[0]/m[0],a.tileSize[1]/m[1]],y=[Math.floor((s[0]-o[0])/b[0]),Math.ceil((s[0]+s[2]-o[0])/b[0])],v=y[0],E=y[1],_=[Math.floor((s[1]-o[1])/b[1]),Math.ceil((s[1]+s[3]-o[1])/b[1])],x=_[0],A=_[1],S=x;S<=A;S++)for(var w=v;w<=E;w++){var O=a.tiles[S][w];if(O){var C=[Math.floor(o[0]+O.tileX*b[0]),Math.floor(o[1]+O.tileY*b[1]),Math.ceil(b[0]),Math.ceil(b[1])];e.drawImage(O.data,C[0],C[1],C[2],C[3])}}e.setTransform(u,d,h,p,f,g)}},{key:"render",value:function(e,n,r){var i=n.x,a=void 0===i?0:i,o=n.y,s=void 0===o?0:o,l=n.width,u=n.height,d=n.src,h=n.shadowColor,p=n.shadowBlur,f=this.imagePool.getImageSync(d,r),g=null==f?void 0:f.img,m=l,b=u;if(g){m||(m=g.width),b||(b=g.height),eE(r,e,!(0,J.A)(h)&&p>0);try{var y,v,E,_,S,w,O,C,k,M,L,I,N,R,P,D,j,B,F,z,U=r.ownerDocument.defaultView.getContextService().getDomElement(),H=U.width,G=U.height,$=e.getTransform(),W=$.a,V=$.b,q=$.c,Y=$.d,Z=$.e,X=$.f,K=A.fromValues(W,q,0,0,V,Y,0,0,0,0,1,0,Z,X,0,1),Q=(y=[a,s,m,b],v=x.Z0(x.vt(),[y[0],y[1],0],K),E=x.Z0(x.vt(),[y[0]+y[2],y[1],0],K),_=x.Z0(x.vt(),[y[0],y[1]+y[3],0],K),S=x.Z0(x.vt(),[y[0]+y[2],y[1]+y[3],0],K),[Math.min(v[0],E[0],_[0],S[0]),Math.min(v[1],E[1],_[1],S[1]),Math.max(v[0],E[0],_[0],S[0])-Math.min(v[0],E[0],_[0],S[0]),Math.max(v[1],E[1],_[1],S[1])-Math.min(v[1],E[1],_[1],S[1])]),ee=(w=[0,0,H,G],C=(O=(0,c.A)(w,4))[0],k=O[1],M=O[2],L=O[3],N=(I=(0,c.A)(Q,4))[0],R=I[1],P=I[2],D=I[3],j=Math.max(C,N),B=Math.max(k,R),F=Math.min(C+M,N+P),z=Math.min(k+L,R+D),F<=j||z<=B?null:[j,B,F-j,z-B]);if(!ee)return;if(!r.ownerDocument.defaultView.getConfig().enableLargeImageOptimization)return void t.renderFull(e,n,r,{image:g,drawRect:[a,s,m,b]});if(Q[2]/f.size[0]<(f.downSamplingRate||.5))return void this.renderDownSampled(e,n,r,{src:d,imageCache:f,drawRect:[a,s,m,b]});if(!eo.isSupportTile)return void t.renderFull(e,n,r,{image:g,drawRect:[a,s,m,b]});this.renderTile(e,n,r,{src:d,imageCache:f,imageRect:Q,drawRect:ee})}catch(e){}}}},{key:"drawToContext",value:function(e,t,n,r,i){this.render(e,t.parsedStyle,t)}}],[{key:"renderFull",value:function(e,t,n,r){e.drawImage(r.image,Math.floor(r.drawRect[0]),Math.floor(r.drawRect[1]),Math.ceil(r.drawRect[2]),Math.ceil(r.drawRect[3]))}}])}(ev),eS=function(e){function t(){return(0,i.A)(this,t),(0,a.A)(this,t,arguments)}return(0,o.A)(t,e),(0,r.A)(t,[{key:"render",value:function(e,t,n,r,i,a){n.getBounds();var o=t.lineWidth,s=void 0===o?1:o,l=t.textAlign,c=void 0===l?"start":l,u=t.textBaseline,d=void 0===u?"alphabetic":u,h=t.lineJoin,p=t.miterLimit,f=void 0===p?10:p,g=t.letterSpacing,m=void 0===g?0:g,b=t.stroke,y=t.fill,v=t.fillRule,E=t.fillOpacity,_=void 0===E?1:E,x=t.strokeOpacity,A=void 0===x?1:x,S=t.opacity,w=void 0===S?1:S,O=t.metrics,C=t.x,k=t.y,M=t.dx,L=t.dy,I=t.shadowColor,N=t.shadowBlur,R=O.font,P=O.lines,D=O.height,j=O.lineHeight,B=O.lineMetrics;e.font=R,e.lineWidth=s,e.textAlign="middle"===c?"center":c;var F=d;"alphabetic"===F&&(F="bottom"),e.lineJoin=void 0===h?"miter":h,(0,J.A)(f)||(e.miterLimit=f);var z=void 0===k?0:k;"middle"===d?z+=-D/2-j/2:"bottom"===d||"alphabetic"===d||"ideographic"===d?z+=-D:("top"===d||"hanging"===d)&&(z+=-j);var U=(void 0===C?0:C)+(M||0);z+=L||0,1===P.length&&("bottom"===F?(F="middle",z-=.5*D):"top"===F&&(F="middle",z+=.5*D)),e.textBaseline=F,eE(n,e,!(0,J.A)(I)&&N>0);for(var H=0;H0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)(this,t),(e=(0,a.A)(this,t)).name="canvas-renderer",e.options=n,e}return(0,o.A)(t,e),(0,r.A)(t,[{key:"init",value:function(){var e,t=(0,O.A)({dirtyObjectNumThreshold:500,dirtyObjectRatioThreshold:.8},this.options),n=this.context.imagePool,r=new ev(n),i=(e={},(0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)(e,s.yp.CIRCLE,r),s.yp.ELLIPSE,r),s.yp.RECT,r),s.yp.IMAGE,new eA(n)),s.yp.TEXT,new eS(n)),s.yp.LINE,r),s.yp.POLYLINE,r),s.yp.POLYGON,r),s.yp.PATH,r),s.yp.GROUP,void 0),(0,l.A)((0,l.A)((0,l.A)(e,s.yp.HTML,void 0),s.yp.MESH,void 0),s.yp.FRAGMENT,void 0));this.context.defaultStyleRendererFactory=i,this.context.styleRendererFactory=i,this.addRenderingPlugin(new ed(t))}},{key:"destroy",value:function(){this.removeAllRenderingPlugins(),delete this.context.defaultStyleRendererFactory,delete this.context.styleRendererFactory}}])}(s.V1),eT=function(){function e(){(0,i.A)(this,e)}return(0,r.A)(e,[{key:"apply",value:function(t,n){var r=this,i=t.renderingService,a=t.renderingContext,o=t.config;this.context=t;var s=a.root.ownerDocument.defaultView,l=function(e){i.hooks.pointerMove.call(e)},c=function(e){i.hooks.pointerUp.call(e)},u=function(e){i.hooks.pointerDown.call(e)},d=function(e){i.hooks.pointerOver.call(e)},h=function(e){i.hooks.pointerOut.call(e)},p=function(e){i.hooks.pointerCancel.call(e)},f=function(e){i.hooks.pointerWheel.call(e)},g=function(e){i.hooks.click.call(e)},m=function(e){n.globalThis.document.addEventListener("pointermove",l,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("pointerleave",h,!0),e.addEventListener("pointerover",d,!0),n.globalThis.addEventListener("pointerup",c,!0),n.globalThis.addEventListener("pointercancel",p,!0)},b=function(e){e.addEventListener("touchstart",u,!0),e.addEventListener("touchend",c,!0),e.addEventListener("touchmove",l,!0),e.addEventListener("touchcancel",p,!0)},y=function(e){n.globalThis.document.addEventListener("mousemove",l,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("mouseout",h,!0),e.addEventListener("mouseover",d,!0),n.globalThis.addEventListener("mouseup",c,!0)},v=function(e){n.globalThis.document.removeEventListener("pointermove",l,!0),e.removeEventListener("pointerdown",u,!0),e.removeEventListener("pointerleave",h,!0),e.removeEventListener("pointerover",d,!0),n.globalThis.removeEventListener("pointerup",c,!0),n.globalThis.removeEventListener("pointercancel",p,!0)},E=function(e){e.removeEventListener("touchstart",u,!0),e.removeEventListener("touchend",c,!0),e.removeEventListener("touchmove",l,!0),e.removeEventListener("touchcancel",p,!0)},_=function(e){n.globalThis.document.removeEventListener("mousemove",l,!0),e.removeEventListener("mousedown",u,!0),e.removeEventListener("mouseout",h,!0),e.removeEventListener("mouseover",d,!0),n.globalThis.removeEventListener("mouseup",c,!0)};i.hooks.init.tap(e.tag,function(){var e=r.context.contextService.getDomElement();n.globalThis.navigator.msPointerEnabled?(e.style.msContentZooming="none",e.style.msTouchAction="none"):s.supportsPointerEvents&&(e.style.touchAction="none"),s.supportsPointerEvents?m(e):y(e),s.supportsTouchEvents&&b(e),o.useNativeClickEvent&&e.addEventListener("click",g,!0),e.addEventListener("wheel",f,{passive:!0,capture:!0})}),i.hooks.destroy.tap(e.tag,function(){var e=r.context.contextService.getDomElement();n.globalThis.navigator.msPointerEnabled?(e.style.msContentZooming="",e.style.msTouchAction=""):s.supportsPointerEvents&&(e.style.touchAction=""),s.supportsPointerEvents?v(e):_(e),s.supportsTouchEvents&&E(e),o.useNativeClickEvent&&e.removeEventListener("click",g,!0),e.removeEventListener("wheel",f,!0)})}}])}();eT.tag="DOMInteraction";var eO=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:[0,0,0];return"matrix(".concat([e[0],e[1],e[4],e[5],e[12]+t[0],e[13]+t[1]].join(","),")")}},{key:"apply",value:function(t,n){var r=this,i=t.camera,a=t.renderingContext,o=t.renderingService;this.context=t;var l=a.root.ownerDocument.defaultView,c=l.context.eventService.nativeHTMLMap,u=function(e,t){t.style.transform=r.joinTransformMatrix(e.getWorldTransform(),e.getOrigin())},d=function(e){var t=e.target;if(t.nodeName===s.yp.HTML){r.$camera||(r.$camera=r.createCamera(i));var n=r.getOrCreateEl(t);r.$camera.appendChild(n),Object.keys(t.attributes).forEach(function(e){r.updateAttribute(e,t)}),u(t,n),c.set(n,t)}},h=function(e){var t=e.target;if(t.nodeName===s.yp.HTML&&r.$camera){var n=r.getOrCreateEl(t);n&&(n.remove(),c.delete(n))}},p=function(e){var t=e.target;if(t.nodeName===s.yp.HTML){var n=e.attrName;r.updateAttribute(n,t)}},f=function(e){var t=e.target;(t.nodeName===s.yp.FRAGMENT?t.childNodes:[t]).forEach(function(e){if(e.nodeName===s.yp.HTML){var t=r.getOrCreateEl(e);u(e,t)}})},g=function(){if(r.$camera){var e=r.context.config,t=e.width,n=e.height;r.$camera.parentElement.style.width="".concat(t||0,"px"),r.$camera.parentElement.style.height="".concat(n||0,"px")}};o.hooks.init.tap(e.tag,function(){l.addEventListener(s.N3.RESIZE,g),l.addEventListener(s.jX.MOUNTED,d),l.addEventListener(s.jX.UNMOUNTED,h),l.addEventListener(s.jX.ATTR_MODIFIED,p),l.addEventListener(s.jX.BOUNDS_CHANGED,f)}),o.hooks.endFrame.tap(e.tag,function(){r.$camera&&a.renderReasons.has(s.po.CAMERA_CHANGED)&&(r.$camera.style.transform=r.joinTransformMatrix(i.getOrthoMatrix()))}),o.hooks.destroy.tap(e.tag,function(){r.$camera&&r.$camera.remove(),l.removeEventListener(s.N3.RESIZE,g),l.removeEventListener(s.jX.MOUNTED,d),l.removeEventListener(s.jX.UNMOUNTED,h),l.removeEventListener(s.jX.ATTR_MODIFIED,p),l.removeEventListener(s.jX.BOUNDS_CHANGED,f)})}},{key:"createCamera",value:function(e){var t=this.context.config,n=t.document,r=t.width,i=t.height,a=this.context.contextService.getDomElement(),o=a.parentNode;if(o){var s="g-canvas-camera",l=o.querySelector("#".concat(s));if(!l){var c=(n||document).createElement("div");c.style.overflow="hidden",c.style.pointerEvents="none",c.style.position="absolute",c.style.left="0px",c.style.top="0px",c.style.width="".concat(r||0,"px"),c.style.height="".concat(i||0,"px");var u=(n||document).createElement("div");l=u,u.id=s,u.style.position="absolute",u.style.left="".concat(a.offsetLeft||0,"px"),u.style.top="".concat(a.offsetTop||0,"px"),u.style.transformOrigin="left top",u.style.transform=this.joinTransformMatrix(e.getOrthoMatrix()),u.style.pointerEvents="none",u.style.width="100%",u.style.height="100%",c.appendChild(u),o.appendChild(c)}return l}return null}},{key:"getOrCreateEl",value:function(e){var t=this.context.config.document,n=this.displayObjectHTMLElementMap.get(e);return n||(n=(t||document).createElement("div"),e.parsedStyle.$el=n,this.displayObjectHTMLElementMap.set(e,n),e.id&&(n.id=e.id),e.name&&n.setAttribute("name",e.name),e.className&&(n.className=e.className),n.style.position="absolute",n.style["will-change"]="transform",n.style.transform=this.joinTransformMatrix(e.getWorldTransform(),e.getOrigin())),n}},{key:"updateAttribute",value:function(e,t){var n=this.getOrCreateEl(t);switch(e){case"innerHTML":var r=t.parsedStyle.innerHTML;(0,ee.A)(r)?n.innerHTML=r:(n.innerHTML="",n.appendChild(r));break;case"x":n.style.left="".concat(t.parsedStyle.x,"px");break;case"y":n.style.top="".concat(t.parsedStyle.y,"px");break;case"transformOrigin":var i=t.parsedStyle.transformOrigin;n.style["transform-origin"]="".concat(i[0].buildCSSText(null,null,"")," ").concat(i[1].buildCSSText(null,null,""));break;case"width":var a=t.parsedStyle.width;n.style.width=(0,eC.A)(a)?"".concat(a,"px"):a.toString();break;case"height":var o=t.parsedStyle.height;n.style.height=(0,eC.A)(o)?"".concat(o,"px"):o.toString();break;case"zIndex":var l=t.parsedStyle.zIndex;n.style["z-index"]="".concat(l);break;case"visibility":var c=t.parsedStyle.visibility;n.style.visibility=c;break;case"pointerEvents":var u=t.parsedStyle.pointerEvents;n.style.pointerEvents=void 0===u?"auto":u;break;case"opacity":var d=t.parsedStyle.opacity;n.style.opacity="".concat(d);break;case"fill":var h=t.parsedStyle.fill,p="";(0,s.b8)(h)?p=h.isNone?"transparent":t.getAttribute("fill"):Array.isArray(h)?p=t.getAttribute("fill"):(0,s.Pt)(h),n.style.background=p;break;case"stroke":var f=t.parsedStyle.stroke,g="";(0,s.b8)(f)?g=f.isNone?"transparent":t.getAttribute("stroke"):Array.isArray(f)?g=t.getAttribute("stroke"):(0,s.Pt)(f),n.style["border-color"]=g,n.style["border-style"]="solid";break;case"lineWidth":var m=t.parsedStyle.lineWidth;n.style["border-width"]="".concat(m||0,"px");break;case"lineDash":n.style["border-style"]="dashed";break;case"filter":var b=t.style.filter;n.style.filter=b;break;default:(0,J.A)(t.style[e])||""===t.style[e]||(n.style[e]=t.style[e])}}}])}();ek.tag="HTMLRendering";var eM=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==i[0]?i[0]:{}).type,r=t.encoderOptions,e.abrupt("return",this.context.canvas.toDataURL(n,r));case 1:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})}])}(),eI=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o{"use strict";n.d(t,{Lr:()=>r.Lr,Lt:()=>l.c,X$:()=>o.X,kz:()=>i.k,vY:()=>a.v,x_:()=>s.x});var r=n(69644),i=n(23067),a=n(66393),o=n(11156),s=n(77229),l=n(63975)},86985:(e,t,n)=>{"use strict";var r=n(9999),i=n(8828);e.exports=function(e){for(var t,n,a=e.length,o=[],s=[],l=-1;++l{"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=[]},87264:(e,t,n)=>{"use strict";n.d(t,{A:()=>nc});var r,i,a,o,s,l,c,u,d,h,p,f,g,m,b,y={};n.r(y),n.d(y,{boolean:()=>z,booleanish:()=>U,commaOrSpaceSeparated:()=>V,commaSeparated:()=>W,number:()=>G,overloadedBoolean:()=>H,spaceSeparated:()=>$});var v=n(66945),E=n(34093),_=n(71123),x=n(83846),A=n(7887);function S(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=S(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),i=r.toPoint(0),a=r.toPoint(t.length);(0,E.ok)(i,"expected `start`"),(0,E.ok)(a,"expected `end`"),n.position={start:i,end:a}}return n}case"#documentType":return L(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},L(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===w.t.svg?x.JW:x.qy;let r=-1,i={};for(;++r"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),J=K({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ee(e,t){return t in e?e[t]:t}function et(e,t){return ee(e,t.toLowerCase())}let en=K({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:et,properties:{xmlns:null,xmlnsXLink:null}}),er=K({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:U,ariaAutoComplete:null,ariaBusy:U,ariaChecked:U,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:$,ariaCurrent:null,ariaDescribedBy:$,ariaDetails:null,ariaDisabled:U,ariaDropEffect:$,ariaErrorMessage:null,ariaExpanded:U,ariaFlowTo:$,ariaGrabbed:U,ariaHasPopup:null,ariaHidden:U,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$,ariaLevel:G,ariaLive:null,ariaModal:U,ariaMultiLine:U,ariaMultiSelectable:U,ariaOrientation:null,ariaOwns:$,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:U,ariaReadOnly:U,ariaRelevant:null,ariaRequired:U,ariaRoleDescription:$,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:U,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),ei=K({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:et,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:W,acceptCharset:$,accessKey:$,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:$,autoFocus:z,autoPlay:z,blocking:$,capture:null,charSet:null,checked:z,cite:null,className:$,cols:G,colSpan:null,content:null,contentEditable:U,controls:z,controlsList:$,coords:G|W,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:H,draggable:U,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:$,height:G,hidden:z,high:G,href:null,hrefLang:null,htmlFor:$,httpEquiv:$,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:$,itemRef:$,itemScope:z,itemType:$,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:z,optimum:G,pattern:null,ping:$,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:$,required:z,reversed:z,rows:G,rowSpan:G,sandbox:$,scope:null,scoped:z,seamless:z,selected:z,shadowRootClonable:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:U,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:U,width:G,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:U,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:G,security:null,unselectable:null}}),ea=K({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:ee,properties:{about:V,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:$,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:W,g2:W,glyphName:W,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:V,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:G,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:V,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:V,rev:V,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:V,requiredFeatures:V,requiredFonts:V,requiredFormats:V,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:V,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:V,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:V,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),eo=D([J,Q,en,er,ei],"html"),es=D([J,Q,en,er,ea],"svg"),el=/^data[-\w.:]+$/i,ec=/-[a-z]/g,eu=/[A-Z]/g;function ed(e){return"-"+e.toLowerCase()}function eh(e){return e.charAt(1).toUpperCase()}var ep=n(14947),ef=n(18995);let eg={}.hasOwnProperty,em=(0,ef.A)("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=eb(e.children,n,t),ey(e,n),n},element:function(e,t){let n,r=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(r=es);let i=[];if(e.properties){for(n in e.properties)if("children"!==n&&eg.call(e.properties,n)){let t=function(e,t,n){let r=function(e,t){let n=j(t),r=t,i=B;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&el.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ec,eh);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ec.test(e)){let n=e.replace(eu,ed);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=Z}return new i(r,t)}(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,R.A)(n):(0,ep.A)(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=w.t[r.space]}return i}(r,n,e.properties[n]);t&&i.push(t)}}let a=r.space;(0,E.ok)(a);let o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:w.t[a],childNodes:[],parentNode:null};return o.childNodes=eb(e.children,o,r),ey(e,o),"template"===e.tagName&&e.content&&(o.content=function(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=eb(e.children,n,t),ey(e,n),n}(e.content,r)),o},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return ey(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return ey(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ey(e,t),t}}});function eb(e,t,n){let r=-1,i=[];if(e)for(;++r=55296&&e<=57343}function eA(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eS(e){return e>=64976&&e<=65007||eE.has(e)}!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(i||(i={}));class ew{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,r.EOF;return this._err(i.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let n=this.html.charCodeAt(t);return n===r.CARRIAGE_RETURN?r.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let e=this.html.charCodeAt(this.pos);return e===r.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,r.LINE_FEED):e===r.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ex(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===r.LINE_FEED||e===r.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eA(e)?this._err(i.controlCharacterInInputStream):eS(e)&&this._err(i.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(a||(a={}));let eO=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),eC=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function ek(e){return e>=o.ZERO&&e<=o.NINE}String.fromCodePoint,!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(o||(o={})),!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(s||(s={})),!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(l||(l={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(c||(c={}));class eM{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=l.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=c.Strict}startEntity(e){this.decodeMode=e,this.state=l.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case l.EntityStart:if(e.charCodeAt(t)===o.NUM)return this.state=l.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=l.NamedEntity,this.stateNamedEntity(e,t);case l.NumericStart:return this.stateNumericStart(e,t);case l.NumericDecimal:return this.stateNumericDecimal(e,t);case l.NumericHex:return this.stateNumericHex(e,t);case l.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===o.LOWER_X?(this.state=l.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=l.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t=o.UPPER_A)||!(r<=o.UPPER_F))&&(!(r>=o.LOWER_A)||!(r<=o.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t=55296&&r<=57343||r>1114111?65533:null!=(i=eC.get(r))?i:r,this.consumed),this.errors&&(e!==o.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&s.VALUE_LENGTH)>>14;for(;t>7,a=t&s.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,l=o+i-1;for(;o<=l;){let t=o+l>>>1,n=e[t];if(nr))return e[t+i];l=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===c.Attribute&&(0===i||function(e){var t;return e===o.EQUALS||(t=e)>=o.UPPER_A&&t<=o.UPPER_Z||t>=o.LOWER_A&&t<=o.LOWER_Z||ek(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&s.VALUE_LENGTH)>>14)){if(a===o.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==c.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&s.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~s.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case l.NamedEntity:return 0!==this.result&&(this.decodeMode!==c.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case l.NumericDecimal:return this.emitNumericEntity(0,2);case l.NumericHex:return this.emitNumericEntity(0,3);case l.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case l.EntityStart:return 0}}}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(u||(u={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(d||(d={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(h||(h={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(p||(p={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(f||(f={}));let eL=new Map([[p.A,f.A],[p.ADDRESS,f.ADDRESS],[p.ANNOTATION_XML,f.ANNOTATION_XML],[p.APPLET,f.APPLET],[p.AREA,f.AREA],[p.ARTICLE,f.ARTICLE],[p.ASIDE,f.ASIDE],[p.B,f.B],[p.BASE,f.BASE],[p.BASEFONT,f.BASEFONT],[p.BGSOUND,f.BGSOUND],[p.BIG,f.BIG],[p.BLOCKQUOTE,f.BLOCKQUOTE],[p.BODY,f.BODY],[p.BR,f.BR],[p.BUTTON,f.BUTTON],[p.CAPTION,f.CAPTION],[p.CENTER,f.CENTER],[p.CODE,f.CODE],[p.COL,f.COL],[p.COLGROUP,f.COLGROUP],[p.DD,f.DD],[p.DESC,f.DESC],[p.DETAILS,f.DETAILS],[p.DIALOG,f.DIALOG],[p.DIR,f.DIR],[p.DIV,f.DIV],[p.DL,f.DL],[p.DT,f.DT],[p.EM,f.EM],[p.EMBED,f.EMBED],[p.FIELDSET,f.FIELDSET],[p.FIGCAPTION,f.FIGCAPTION],[p.FIGURE,f.FIGURE],[p.FONT,f.FONT],[p.FOOTER,f.FOOTER],[p.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[p.FORM,f.FORM],[p.FRAME,f.FRAME],[p.FRAMESET,f.FRAMESET],[p.H1,f.H1],[p.H2,f.H2],[p.H3,f.H3],[p.H4,f.H4],[p.H5,f.H5],[p.H6,f.H6],[p.HEAD,f.HEAD],[p.HEADER,f.HEADER],[p.HGROUP,f.HGROUP],[p.HR,f.HR],[p.HTML,f.HTML],[p.I,f.I],[p.IMG,f.IMG],[p.IMAGE,f.IMAGE],[p.INPUT,f.INPUT],[p.IFRAME,f.IFRAME],[p.KEYGEN,f.KEYGEN],[p.LABEL,f.LABEL],[p.LI,f.LI],[p.LINK,f.LINK],[p.LISTING,f.LISTING],[p.MAIN,f.MAIN],[p.MALIGNMARK,f.MALIGNMARK],[p.MARQUEE,f.MARQUEE],[p.MATH,f.MATH],[p.MENU,f.MENU],[p.META,f.META],[p.MGLYPH,f.MGLYPH],[p.MI,f.MI],[p.MO,f.MO],[p.MN,f.MN],[p.MS,f.MS],[p.MTEXT,f.MTEXT],[p.NAV,f.NAV],[p.NOBR,f.NOBR],[p.NOFRAMES,f.NOFRAMES],[p.NOEMBED,f.NOEMBED],[p.NOSCRIPT,f.NOSCRIPT],[p.OBJECT,f.OBJECT],[p.OL,f.OL],[p.OPTGROUP,f.OPTGROUP],[p.OPTION,f.OPTION],[p.P,f.P],[p.PARAM,f.PARAM],[p.PLAINTEXT,f.PLAINTEXT],[p.PRE,f.PRE],[p.RB,f.RB],[p.RP,f.RP],[p.RT,f.RT],[p.RTC,f.RTC],[p.RUBY,f.RUBY],[p.S,f.S],[p.SCRIPT,f.SCRIPT],[p.SEARCH,f.SEARCH],[p.SECTION,f.SECTION],[p.SELECT,f.SELECT],[p.SOURCE,f.SOURCE],[p.SMALL,f.SMALL],[p.SPAN,f.SPAN],[p.STRIKE,f.STRIKE],[p.STRONG,f.STRONG],[p.STYLE,f.STYLE],[p.SUB,f.SUB],[p.SUMMARY,f.SUMMARY],[p.SUP,f.SUP],[p.TABLE,f.TABLE],[p.TBODY,f.TBODY],[p.TEMPLATE,f.TEMPLATE],[p.TEXTAREA,f.TEXTAREA],[p.TFOOT,f.TFOOT],[p.TD,f.TD],[p.TH,f.TH],[p.THEAD,f.THEAD],[p.TITLE,f.TITLE],[p.TR,f.TR],[p.TRACK,f.TRACK],[p.TT,f.TT],[p.U,f.U],[p.UL,f.UL],[p.SVG,f.SVG],[p.VAR,f.VAR],[p.WBR,f.WBR],[p.XMP,f.XMP]]);function eI(e){var t;return null!=(t=eL.get(e))?t:f.UNKNOWN}let eN=f,eR={[u.HTML]:new Set([eN.ADDRESS,eN.APPLET,eN.AREA,eN.ARTICLE,eN.ASIDE,eN.BASE,eN.BASEFONT,eN.BGSOUND,eN.BLOCKQUOTE,eN.BODY,eN.BR,eN.BUTTON,eN.CAPTION,eN.CENTER,eN.COL,eN.COLGROUP,eN.DD,eN.DETAILS,eN.DIR,eN.DIV,eN.DL,eN.DT,eN.EMBED,eN.FIELDSET,eN.FIGCAPTION,eN.FIGURE,eN.FOOTER,eN.FORM,eN.FRAME,eN.FRAMESET,eN.H1,eN.H2,eN.H3,eN.H4,eN.H5,eN.H6,eN.HEAD,eN.HEADER,eN.HGROUP,eN.HR,eN.HTML,eN.IFRAME,eN.IMG,eN.INPUT,eN.LI,eN.LINK,eN.LISTING,eN.MAIN,eN.MARQUEE,eN.MENU,eN.META,eN.NAV,eN.NOEMBED,eN.NOFRAMES,eN.NOSCRIPT,eN.OBJECT,eN.OL,eN.P,eN.PARAM,eN.PLAINTEXT,eN.PRE,eN.SCRIPT,eN.SECTION,eN.SELECT,eN.SOURCE,eN.STYLE,eN.SUMMARY,eN.TABLE,eN.TBODY,eN.TD,eN.TEMPLATE,eN.TEXTAREA,eN.TFOOT,eN.TH,eN.THEAD,eN.TITLE,eN.TR,eN.TRACK,eN.UL,eN.WBR,eN.XMP]),[u.MATHML]:new Set([eN.MI,eN.MO,eN.MN,eN.MS,eN.MTEXT,eN.ANNOTATION_XML]),[u.SVG]:new Set([eN.TITLE,eN.FOREIGN_OBJECT,eN.DESC]),[u.XLINK]:new Set,[u.XML]:new Set,[u.XMLNS]:new Set},eP=new Set([eN.H1,eN.H2,eN.H3,eN.H4,eN.H5,eN.H6]);p.STYLE,p.SCRIPT,p.XMP,p.IFRAME,p.NOEMBED,p.NOFRAMES,p.PLAINTEXT,function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(g||(g={}));let eD={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function ej(e){return e>=r.LATIN_CAPITAL_A&&e<=r.LATIN_CAPITAL_Z}function eB(e){return e>=r.LATIN_SMALL_A&&e<=r.LATIN_SMALL_Z||ej(e)}function eF(e){return eB(e)||e>=r.DIGIT_0&&e<=r.DIGIT_9}function ez(e){return e===r.SPACE||e===r.LINE_FEED||e===r.TABULATION||e===r.FORM_FEED}function eU(e){return ez(e)||e===r.SOLIDUS||e===r.GREATER_THAN_SIGN}class eH{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ew(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new eM(eO,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(i.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(i.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===r.NULL)return i.nullCharacterReference;if(e>1114111)return i.characterReferenceOutsideUnicodeRange;if(ex(e))return i.surrogateCharacterReference;if(eS(e))return i.noncharacterCharacterReference;if(eA(e)||e===r.CARRIAGE_RETURN)return i.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null==(r=(n=this.handler).onParseError)||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(i.endTagWithAttributes),e.selfClosing&&this._err(i.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case a.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case a.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case a.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:a.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=ez(e)?a.WHITESPACE_CHARACTER:e===r.NULL?a.NULL_CHARACTER:a.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(a.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?c.Attribute:c.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:this._stateData(e);break;case g.RCDATA:this._stateRcdata(e);break;case g.RAWTEXT:this._stateRawtext(e);break;case g.SCRIPT_DATA:this._stateScriptData(e);break;case g.PLAINTEXT:this._statePlaintext(e);break;case g.TAG_OPEN:this._stateTagOpen(e);break;case g.END_TAG_OPEN:this._stateEndTagOpen(e);break;case g.TAG_NAME:this._stateTagName(e);break;case g.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case g.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case g.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case g.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case g.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case g.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case g.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case g.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case g.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case g.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case g.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case g.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case g.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case g.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case g.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case g.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case g.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case g.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case g.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case g.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case g.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case g.BOGUS_COMMENT:this._stateBogusComment(e);break;case g.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case g.COMMENT_START:this._stateCommentStart(e);break;case g.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case g.COMMENT:this._stateComment(e);break;case g.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case g.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case g.COMMENT_END:this._stateCommentEnd(e);break;case g.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case g.DOCTYPE:this._stateDoctype(e);break;case g.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case g.DOCTYPE_NAME:this._stateDoctypeName(e);break;case g.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case g.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case g.CDATA_SECTION:this._stateCdataSection(e);break;case g.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case g.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case g.CHARACTER_REFERENCE:this._stateCharacterReference();break;case g.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.TAG_OPEN;break;case r.AMPERSAND:this._startCharacterReference();break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitCodePoint(e);break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case r.AMPERSAND:this._startCharacterReference();break;case r.LESS_THAN_SIGN:this.state=g.RCDATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.RAWTEXT_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eB(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.EXCLAMATION_MARK:this.state=g.MARKUP_DECLARATION_OPEN;break;case r.SOLIDUS:this.state=g.END_TAG_OPEN;break;case r.QUESTION_MARK:this._err(i.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(i.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eB(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.GREATER_THAN_SIGN:this._err(i.missingEndTagName),this.state=g.DATA;break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===r.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eB(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eB(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===r.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(e_.SCRIPT,!1)&&eU(this.preprocessor.peek(e_.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==u.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eQ,u.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eK,u.HTML)}clearBackToTableRowContext(){this.clearBackTo(eX,u.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===f.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===f.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case u.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case u.SVG:if(eZ.has(r))return!1;break;case u.MATHML:if(eY.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,eW)}hasInListItemScope(e){return this.hasInDynamicScope(e,eV)}hasInButtonScope(e){return this.hasInDynamicScope(e,eq)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case u.HTML:if(eP.has(t))return!0;if(eW.has(t))return!1;break;case u.SVG:if(eZ.has(t))return!1;break;case u.MATHML:if(eY.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===u.HTML)switch(this.tagIDs[t]){case e:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===u.HTML)switch(this.tagIDs[e]){case f.TBODY:case f.THEAD:case f.TFOOT:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===u.HTML)switch(this.tagIDs[t]){case e:return!0;case f.OPTION:case f.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eG.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&e$.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&e$.has(this.currentTagId);)this.pop()}}!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(m||(m={}));let e1={type:m.Marker};class e2{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),i=0;for(let e=0;er.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(e1)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:m.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:m.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(e1);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===m.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===m.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===m.Element&&t.element===e)}}let e3={createDocument:()=>({nodeName:"#document",mode:h.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):e3.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(e3.isTextNode(n)){n.value+=t;return}}e3.appendChild(e,e3.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&e3.isTextNode(r)?r.value+=t:e3.insertBefore(e,e3.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},e5="html",e4=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e6=[...e4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],e8=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e7=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e9=[...e7,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function te(e,t){return t.some(t=>e.startsWith(t))}let tt={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},tn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:u.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:u.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:u.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:u.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:u.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:u.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:u.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:u.XML}],["xml:space",{prefix:"xml",name:"space",namespace:u.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:u.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:u.XMLNS}]]),ti=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ta=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function to(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===u.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,u.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=eD.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===p.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===u.HTML)switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:this.tokenizer.state=eD.RCDATA;break;case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:this.tokenizer.state=eD.RAWTEXT;break;case f.SCRIPT:this.tokenizer.state=eD.SCRIPT_DATA;break;case f.PLAINTEXT:this.tokenizer.state=eD.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,u.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,u.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(p.HTML,u.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,f.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===a.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==f.SVG||this.treeAdapter.getTagName(t)!==p.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==u.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===f.MGLYPH||e.tagID===f.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,u.HTML)))}_processToken(e){switch(e.type){case a.CHARACTER:this.onCharacter(e);break;case a.NULL_CHARACTER:this.onNullCharacter(e);break;case a.COMMENT:this.onComment(e);break;case a.DOCTYPE:this.onDoctype(e);break;case a.START_TAG:this._processStartTag(e);break;case a.END_TAG:this.onEndTag(e);break;case a.EOF:this.onEof(e);break;case a.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===u.HTML)&&function(e,t,n){if(t===u.MATHML&&e===f.ANNOTATION_XML){for(let e=0;ee.type===m.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case f.TR:this.insertionMode=b.IN_ROW;return;case f.TBODY:case f.THEAD:case f.TFOOT:this.insertionMode=b.IN_TABLE_BODY;return;case f.CAPTION:this.insertionMode=b.IN_CAPTION;return;case f.COLGROUP:this.insertionMode=b.IN_COLUMN_GROUP;return;case f.TABLE:this.insertionMode=b.IN_TABLE;return;case f.BODY:this.insertionMode=b.IN_BODY;return;case f.FRAMESET:this.insertionMode=b.IN_FRAMESET;return;case f.SELECT:return void this._resetInsertionModeForSelect(e);case f.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case f.HTML:this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD;return;case f.TD:case f.TH:if(e>0){this.insertionMode=b.IN_CELL;return}break;case f.HEAD:if(e>0){this.insertionMode=b.IN_HEAD;return}}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===f.TEMPLATE)break;if(e===f.TABLE){this.insertionMode=b.IN_SELECT_IN_TABLE;return}}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(e){return tu.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case f.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===u.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case f.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return eR[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:tT(this,e);break;case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_TABLE_TEXT:tz(this,e);break;case b.IN_COLUMN_GROUP:t$(this,e);break;case b.AFTER_BODY:tJ(this,e);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.TEXT:this._insertCharacters(e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_COLUMN_GROUP:t$(this,e);break;case b.AFTER_BODY:tJ(this,e);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void tf(this,e);switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:tf(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?h.QUIRKS:function(e){if(e.name!==e5)return h.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return h.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),e8.has(n))return h.QUIRKS;let e=null===t?e6:e4;if(te(n,e))return h.QUIRKS;if(te(n,e=null===t?e7:e9))return h.LIMITED_QUIRKS}return h.NO_QUIRKS}(t);(t.name!==e5||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,i.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=b.BEFORE_HTML}(this,e);break;case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:this._err(e,i.misplacedDoctype);break;case b.IN_TABLE_TEXT:tU(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,i.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID;return t===f.FONT&&e.attrs.some(({name:e})=>e===d.COLOR||e===d.SIZE||e===d.FACE)||ta.has(t)}(t))t1(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===u.MATHML)to(t);else if(r===u.SVG){let e=ti.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=eI(t.tagName)),ts(t)}tl(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:t=this,(n=e).tagID===f.HTML?(t._insertElement(n,u.HTML),t.insertionMode=b.BEFORE_HEAD):tb(t,n);break;case b.BEFORE_HEAD:var t,n,r,a,o,s,l=this,c=e;switch(c.tagID){case f.HTML:tL(l,c);break;case f.HEAD:l._insertElement(c,u.HTML),l.headElement=l.openElements.current,l.insertionMode=b.IN_HEAD;break;default:ty(l,c)}break;case b.IN_HEAD:tv(this,e);break;case b.IN_HEAD_NO_SCRIPT:var d=this,h=e;switch(h.tagID){case f.HTML:tL(d,h);break;case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:tv(d,h);break;case f.NOSCRIPT:d._err(h,i.nestedNoscriptInHead);break;default:tx(d,h)}break;case b.AFTER_HEAD:var p=this,g=e;switch(g.tagID){case f.HTML:tL(p,g);break;case f.BODY:p._insertElement(g,u.HTML),p.framesetOk=!1,p.insertionMode=b.IN_BODY;break;case f.FRAMESET:p._insertElement(g,u.HTML),p.insertionMode=b.IN_FRAMESET;break;case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:p._err(g,i.abandonedHeadElementChild),p.openElements.push(p.headElement,f.HEAD),tv(p,g),p.openElements.remove(p.headElement);break;case f.HEAD:p._err(g,i.misplacedStartTagForHeadElement);break;default:tA(p,g)}break;case b.IN_BODY:tL(this,e);break;case b.IN_TABLE:tD(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_CAPTION:var m=this,y=e;let v=y.tagID;tH.has(v)?m.openElements.hasInTableScope(f.CAPTION)&&(m.openElements.generateImpliedEndTags(),m.openElements.popUntilTagNamePopped(f.CAPTION),m.activeFormattingElements.clearToLastMarker(),m.insertionMode=b.IN_TABLE,tD(m,y)):tL(m,y);break;case b.IN_COLUMN_GROUP:tG(this,e);break;case b.IN_TABLE_BODY:tW(this,e);break;case b.IN_ROW:tq(this,e);break;case b.IN_CELL:var E=this,_=e;let x=_.tagID;tH.has(x)?(E.openElements.hasInTableScope(f.TD)||E.openElements.hasInTableScope(f.TH))&&(E._closeTableCell(),tq(E,_)):tL(E,_);break;case b.IN_SELECT:tZ(this,e);break;case b.IN_SELECT_IN_TABLE:var A=this,S=e;let w=S.tagID;w===f.CAPTION||w===f.TABLE||w===f.TBODY||w===f.TFOOT||w===f.THEAD||w===f.TR||w===f.TD||w===f.TH?(A.openElements.popUntilTagNamePopped(f.SELECT),A._resetInsertionMode(),A._processStartTag(S)):tZ(A,S);break;case b.IN_TEMPLATE:var O=this,C=e;switch(C.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:tv(O,C);break;case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:O.tmplInsertionModeStack[0]=b.IN_TABLE,O.insertionMode=b.IN_TABLE,tD(O,C);break;case f.COL:O.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,O.insertionMode=b.IN_COLUMN_GROUP,tG(O,C);break;case f.TR:O.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,O.insertionMode=b.IN_TABLE_BODY,tW(O,C);break;case f.TD:case f.TH:O.tmplInsertionModeStack[0]=b.IN_ROW,O.insertionMode=b.IN_ROW,tq(O,C);break;default:O.tmplInsertionModeStack[0]=b.IN_BODY,O.insertionMode=b.IN_BODY,tL(O,C)}break;case b.AFTER_BODY:r=this,(a=e).tagID===f.HTML?tL(r,a):tJ(r,a);break;case b.IN_FRAMESET:var k=this,M=e;switch(M.tagID){case f.HTML:tL(k,M);break;case f.FRAMESET:k._insertElement(M,u.HTML);break;case f.FRAME:k._appendElement(M,u.HTML),M.ackSelfClosing=!0;break;case f.NOFRAMES:tv(k,M)}break;case b.AFTER_FRAMESET:var L=this,I=e;switch(I.tagID){case f.HTML:tL(L,I);break;case f.NOFRAMES:tv(L,I)}break;case b.AFTER_AFTER_BODY:o=this,(s=e).tagID===f.HTML?tL(o,s):t0(o,s);break;case b.AFTER_AFTER_FRAMESET:var N=this,R=e;switch(R.tagID){case f.HTML:tL(N,R);break;case f.NOFRAMES:tv(N,R)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===f.P||t.tagID===f.BR){t1(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===u.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:var t,n,r,a,o,s,l=this,c=e;let u=c.tagID;(u===f.HTML||u===f.HEAD||u===f.BODY||u===f.BR)&&tb(l,c);break;case b.BEFORE_HEAD:var d=this,h=e;let p=h.tagID;p===f.HEAD||p===f.BODY||p===f.HTML||p===f.BR?ty(d,h):d._err(h,i.endTagWithoutMatchingOpenElement);break;case b.IN_HEAD:var g=this,m=e;switch(m.tagID){case f.HEAD:g.openElements.pop(),g.insertionMode=b.AFTER_HEAD;break;case f.BODY:case f.BR:case f.HTML:t_(g,m);break;case f.TEMPLATE:tE(g,m);break;default:g._err(m,i.endTagWithoutMatchingOpenElement)}break;case b.IN_HEAD_NO_SCRIPT:var y=this,v=e;switch(v.tagID){case f.NOSCRIPT:y.openElements.pop(),y.insertionMode=b.IN_HEAD;break;case f.BR:tx(y,v);break;default:y._err(v,i.endTagWithoutMatchingOpenElement)}break;case b.AFTER_HEAD:var E=this,_=e;switch(_.tagID){case f.BODY:case f.HTML:case f.BR:tA(E,_);break;case f.TEMPLATE:tE(E,_);break;default:E._err(_,i.endTagWithoutMatchingOpenElement)}break;case b.IN_BODY:tN(this,e);break;case b.TEXT:t=this,e.tagID===f.SCRIPT&&(null==(n=t.scriptHandler)||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode;break;case b.IN_TABLE:tj(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_CAPTION:var x=this,A=e;let S=A.tagID;switch(S){case f.CAPTION:case f.TABLE:x.openElements.hasInTableScope(f.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(f.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=b.IN_TABLE,S===f.TABLE&&tj(x,A));break;case f.BODY:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:tN(x,A)}break;case b.IN_COLUMN_GROUP:var w=this,O=e;switch(O.tagID){case f.COLGROUP:w.openElements.currentTagId===f.COLGROUP&&(w.openElements.pop(),w.insertionMode=b.IN_TABLE);break;case f.TEMPLATE:tE(w,O);break;case f.COL:break;default:t$(w,O)}break;case b.IN_TABLE_BODY:tV(this,e);break;case b.IN_ROW:tY(this,e);break;case b.IN_CELL:var C=this,k=e;let M=k.tagID;switch(M){case f.TD:case f.TH:C.openElements.hasInTableScope(M)&&(C.openElements.generateImpliedEndTags(),C.openElements.popUntilTagNamePopped(M),C.activeFormattingElements.clearToLastMarker(),C.insertionMode=b.IN_ROW);break;case f.TABLE:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:C.openElements.hasInTableScope(M)&&(C._closeTableCell(),tY(C,k));break;case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:break;default:tN(C,k)}break;case b.IN_SELECT:tX(this,e);break;case b.IN_SELECT_IN_TABLE:var L=this,I=e;let N=I.tagID;N===f.CAPTION||N===f.TABLE||N===f.TBODY||N===f.TFOOT||N===f.THEAD||N===f.TR||N===f.TD||N===f.TH?L.openElements.hasInTableScope(N)&&(L.openElements.popUntilTagNamePopped(f.SELECT),L._resetInsertionMode(),L.onEndTag(I)):tX(L,I);break;case b.IN_TEMPLATE:r=this,(a=e).tagID===f.TEMPLATE&&tE(r,a);break;case b.AFTER_BODY:tQ(this,e);break;case b.IN_FRAMESET:o=this,e.tagID===f.FRAMESET&&!o.openElements.isRootHtmlElementCurrent()&&(o.openElements.pop(),o.fragmentContext||o.openElements.currentTagId===f.FRAMESET||(o.insertionMode=b.AFTER_FRAMESET));break;case b.AFTER_FRAMESET:s=this,e.tagID===f.HTML&&(s.insertionMode=b.AFTER_AFTER_FRAMESET);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onEof(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:tR(this,e);break;case b.TEXT:var t,n;t=this,n=e,t._err(n,i.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_TEMPLATE:tK(this,e);break;case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:tg(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===r.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:this._insertCharacters(e);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:tw(this,e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_TABLE_TEXT:tF(this,e)}}}function tp(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tI(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&function(e,t,n){let r=eI(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===f.TEMPLATE&&i===u.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,i);let o=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,l=e.treeAdapter.createElement(s.tagName,o,s.attrs);e._adoptNodes(r,l),e.treeAdapter.appendChild(r,l),e.activeFormattingElements.insertElementAfterBookmark(l,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(r,l,s.tagID)}}function tf(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tg(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function tm(e,t){e._err(t,i.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,h.QUIRKS),e.insertionMode=b.BEFORE_HTML,e._processToken(t)}function tb(e,t){e._insertFakeRootElement(),e.insertionMode=b.BEFORE_HEAD,e._processToken(t)}function ty(e,t){e._insertFakeElement(p.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD,e._processToken(t)}function tv(e,t){switch(t.tagID){case f.HTML:tL(e,t);break;case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:e._appendElement(t,u.HTML),t.ackSelfClosing=!0;break;case f.TITLE:e._switchToTextParsing(t,eD.RCDATA);break;case f.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eD.RAWTEXT):(e._insertElement(t,u.HTML),e.insertionMode=b.IN_HEAD_NO_SCRIPT);break;case f.NOFRAMES:case f.STYLE:e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SCRIPT:e._switchToTextParsing(t,eD.SCRIPT_DATA);break;case f.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=b.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break;case f.HEAD:e._err(t,i.misplacedStartTagForHeadElement);break;default:t_(e,t)}}function tE(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,i.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,i.endTagWithoutMatchingOpenElement)}function t_(e,t){e.openElements.pop(),e.insertionMode=b.AFTER_HEAD,e._processToken(t)}function tx(e,t){let n=t.type===a.EOF?i.openElementsLeftAfterEof:i.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=b.IN_HEAD,e._processToken(t)}function tA(e,t){e._insertFakeElement(p.BODY,f.BODY),e.insertionMode=b.IN_BODY,tS(e,t)}function tS(e,t){switch(t.type){case a.CHARACTER:tT(e,t);break;case a.WHITESPACE_CHARACTER:tw(e,t);break;case a.COMMENT:tf(e,t);break;case a.START_TAG:tL(e,t);break;case a.END_TAG:tN(e,t);break;case a.EOF:tR(e,t)}}function tw(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tT(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,u.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tC(e){let t=eT(e,d.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tk(e,t){e._switchToTextParsing(t,eD.RAWTEXT)}function tM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML)}function tL(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.A:let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(p.A);n&&(tp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eP.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,u.HTML);break;case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML);break;case f.LI:case f.DD:case f.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===f.LI&&n===f.LI||(r===f.DD||r===f.DT)&&(n===f.DD||n===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==f.ADDRESS&&n!==f.DIV&&n!==f.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML);break;case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:tO(e,t);break;case f.HR:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,u.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case f.RB:case f.RTC:e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,u.HTML);break;case f.RT:case f.RP:e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,u.HTML);break;case f.PRE:case f.LISTING:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case f.XMP:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SVG:e._reconstructActiveFormattingElements(),ts(t),tl(t),t.selfClosing?e._appendElement(t,u.SVG):e._insertElement(t,u.SVG),t.ackSelfClosing=!0;break;case f.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:tv(e,t);break;case f.BODY:let i=e.openElements.tryPeekProperlyNestedBodyElement();i&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case f.FORM:let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),a||(e.formElement=e.openElements.current));break;case f.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(tp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.MATH:e._reconstructActiveFormattingElements(),to(t),tl(t),t.selfClosing?e._appendElement(t,u.MATHML):e._insertElement(t,u.MATHML),t.ackSelfClosing=!0;break;case f.TABLE:e.treeAdapter.getDocumentMode(e.document)!==h.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.framesetOk=!1,e.insertionMode=b.IN_TABLE;break;case f.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,u.HTML),tC(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case f.PARAM:case f.TRACK:case f.SOURCE:e._appendElement(t,u.HTML),t.ackSelfClosing=!0;break;case f.IMAGE:t.tagName=p.IMG,t.tagID=f.IMG,tO(e,t);break;case f.BUTTON:e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.framesetOk=!1;break;case f.APPLET:case f.OBJECT:case f.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case f.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===b.IN_TABLE||e.insertionMode===b.IN_CAPTION||e.insertionMode===b.IN_TABLE_BODY||e.insertionMode===b.IN_ROW||e.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT;break;case f.OPTION:case f.OPTGROUP:e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML);break;case f.NOEMBED:case f.NOFRAMES:tk(e,t);break;case f.FRAMESET:let o=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_FRAMESET);break;case f.TEXTAREA:e._insertElement(t,u.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eD.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=b.TEXT;break;case f.NOSCRIPT:e.options.scriptingEnabled?tk(e,t):tM(e,t);break;case f.PLAINTEXT:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.tokenizer.state=eD.PLAINTEXT;break;case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:tM(e,t)}}function tI(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==f.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tN(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:tp(e,t);break;case f.P:e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(p.P,f.P),e._closePElement();break;case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case f.LI:e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI));break;case f.DD:case f.DT:let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case f.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(p.BR,f.BR),e.openElements.pop(),e.framesetOk=!1;break;case f.BODY:if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=b.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case f.HTML:e.openElements.hasInScope(f.BODY)&&(e.insertionMode=b.AFTER_BODY,tQ(e,t));break;case f.FORM:let i=e.openElements.tmplCount>0,{formElement:a}=e;i||(e.formElement=null),(a||i)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),i?e.openElements.popUntilTagNamePopped(f.FORM):a&&e.openElements.remove(a));break;case f.APPLET:case f.OBJECT:case f.MARQUEE:let o=t.tagID;e.openElements.hasInScope(o)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o),e.activeFormattingElements.clearToLastMarker());break;case f.TEMPLATE:tE(e,t);break;default:tI(e,t)}}function tR(e,t){e.tmplInsertionModeStack.length>0?tK(e,t):tg(e,t)}function tP(e,t){if(void 0!==e.openElements.currentTagId&&tu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=b.IN_TABLE_TEXT,t.type){case a.CHARACTER:tz(e,t);break;case a.WHITESPACE_CHARACTER:tF(e,t)}else tB(e,t)}function tD(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.TBODY,f.TBODY),e.insertionMode=b.IN_TABLE_BODY,tW(e,t);break;case f.STYLE:case f.SCRIPT:case f.TEMPLATE:tv(e,t);break;case f.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.COLGROUP,f.COLGROUP),e.insertionMode=b.IN_COLUMN_GROUP,tG(e,t);break;case f.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,u.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case f.TABLE:e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case f.TBODY:case f.TFOOT:case f.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_TABLE_BODY;break;case f.INPUT:tC(t)?e._appendElement(t,u.HTML):tB(e,t),t.ackSelfClosing=!0;break;case f.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_CAPTION;break;case f.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_COLUMN_GROUP;break;default:tB(e,t)}}function tj(e,t){switch(t.tagID){case f.TABLE:e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break;case f.TEMPLATE:tE(e,t);break;case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:tB(e,t)}}function tB(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tS(e,t),e.fosterParentingEnabled=n}function tF(e,t){e.pendingCharacterTokens.push(t)}function tz(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tU(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break;case f.OPTION:e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break;case f.SELECT:e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break;case f.TEMPLATE:tE(e,t)}}function tK(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tg(e,t)}function tQ(e,t){var n;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=b.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else tJ(e,t)}function tJ(e,t){e.insertionMode=b.IN_BODY,tS(e,t)}function t0(e,t){e.insertionMode=b.IN_BODY,tS(e,t)}function t1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==u.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}null==String.prototype.codePointAt||((e,t)=>e.codePointAt(t)),p.AREA,p.BASE,p.BASEFONT,p.BGSOUND,p.BR,p.COL,p.EMBED,p.FRAME,p.HR,p.IMG,p.INPUT,p.KEYGEN,p.LINK,p.META,p.PARAM,p.SOURCE,p.TRACK,p.WBR;var t2=n(70832),t3=n(88428);let t5=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,t4=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),t6={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function t8(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=(0,ef.A)("type",{handlers:{root:t9,element:ne,text:nt,comment:nr,doctype:nn,raw:ni},unknown:na}),i={parser:n?new th(t6):th.getFragmentParser(void 0,t6),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),no(i,(0,t2.PW)());let a=function(e,t){let n=t||{};return k({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.JW:x.qy,verbose:n.verbose||!1},e)}(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return(i.stitches&&(0,t3.YR)(a,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===a.type&&1===a.children.length&&a.children[0].type===e.type)?a.children[0]:a}function t7(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:a.CHARACTER,chars:e.value,location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nn(e,t){let n={type:a.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nr(e,t){let n=e.value,r={type:a.COMMENT,data:n,location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ni(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,ns(t,(0,t2.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(t5,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function na(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;t.stitches=!0;let r="children"in(n=e)?(0,v.Ay)({...n,children:[]}):(0,v.Ay)(n);"children"in e&&"children"in r&&(r.children=t8({type:"root",children:e.children},t.options).children),nr({type:"comment",value:{stitch:r}},t)}else{let t="";throw t4.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function no(e,t){ns(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eD.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function ns(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function nl(e){let t=(0,t2.PW)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,t2.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function nc(e){return function(t,n){return t8(t,{...e,file:n})}}},87287:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r=n(42338),i=n(50636);function a(e){if((0,r.A)(e))return[e,e,e,e];if((0,i.A)(e)){var t=e.length;if(1===t)return[e[0],e[0],e[0],e[0]];if(2===t)return[e[0],e[1],e[0],e[1]];if(3===t)return[e[0],e[1],e[2],e[1]];if(4===t)return e}return[0,0,0,0]}},87473:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(46774),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},87476:e=>{e.exports=function(e){e.installMethod("toAlpha",function(e){var t=this.rgb(),n=e(e).rgb(),r=new e.RGB(0,0,0,t._alpha),i=["_red","_green","_blue"];return i.forEach(function(e){t[e]<1e-10?r[e]=t[e]:t[e]>n[e]?r[e]=(t[e]-n[e])/(1-n[e]):t[e]>n[e]?r[e]=(n[e]-t[e])/n[e]:r[e]=0}),r._red>r._green?r._red>r._blue?t._alpha=r._red:t._alpha=r._blue:r._green>r._blue?t._alpha=r._green:t._alpha=r._blue,t._alpha<1e-10||(i.forEach(function(e){t[e]=(t[e]-n[e])/t._alpha+n[e]}),t._alpha*=r._alpha),t})}},87793: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/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";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(a)).replace(//g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(i))),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=[]},88164: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=[]},88204:e=>{"use strict";function t(e){var t,n,r,i;n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,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}}),r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={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:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}e.exports=t,t.displayName="cssExtras",t.aliases=[]},88274:e=>{if(!t)var t={map:function(e,t){var n={};return t?e.map(function(e,r){return n.index=r,t.call(n,e)}):e.slice()},naturalOrder:function(e,t){return et)},sum:function(e,t){var n={};return e.reduce(t?function(e,r,i){return n.index=i,e+t.call(n,r)}:function(e,t){return e+t},0)},max:function(e,n){return Math.max.apply(null,n?t.map(e,n):e)}};e.exports=function(){function e(e,t,n){return(e<<10)+(t<<5)+n}function n(e){var t=[],n=!1;function r(){t.sort(e),n=!0}return{push:function(e){t.push(e),n=!1},peek:function(e){return n||r(),void 0===e&&(e=t.length-1),t[e]},pop:function(){return n||r(),t.pop()},size:function(){return t.length},map:function(e){return t.map(e)},debug:function(){return n||r(),t}}}function r(e,t,n,r,i,a,o){this.r1=e,this.r2=t,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(e,n){return t.naturalOrder(e.vbox.count()*e.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(e){return(!this._volume||e)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(t){var n=this.histo;if(!this._count_set||t){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[e(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(t){var n=this.histo;if(!this._avg||t){var r,i,a,o,s=0,l=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)s+=r=n[e(i,a,o)]||0,l+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;s?this._avg=[~~(l/s),~~(c/s),~~(u/s)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(e){var t=e[0]>>3;return gval=e[1]>>3,bval=e[2]>>3,t>=this.r1&&t<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map(function(e){return e.color})},size:function(){return this.vboxes.size()},map:function(e){for(var t=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(e[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var s,l,c,u,d,h,p,f,g,m,b,y,v=(c=Array(32768),a.forEach(function(t){l=t[0]>>3,c[s=e(l,t[1]>>3,t[2]>>3)]=(c[s]||0)+1}),c),E=0;v.forEach(function(){E++});var _=(p=1e6,f=0,g=1e6,m=0,b=1e6,y=0,a.forEach(function(e){u=e[0]>>3,d=e[1]>>3,h=e[2]>>3,uf&&(f=u),dm&&(m=d),hy&&(y=h)}),new r(p,f,g,m,b,y,v)),x=new n(function(e,n){return t.naturalOrder(e.count(),n.count())});function A(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var s=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,s=t.max([i,a,o]);if(1==r.count())return[r.copy()];var l,c,u,d,h=0,p=[],f=[];if(s==i)for(l=r.r1;l<=r.r2;l++){for(d=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)d+=n[e(l,c,u)]||0;h+=d,p[l]=h}else if(s==a)for(l=r.g1;l<=r.g2;l++){for(d=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)d+=n[e(c,l,u)]||0;h+=d,p[l]=h}else for(l=r.b1;l<=r.b2;l++){for(d=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)d+=n[e(c,u,l)]||0;h+=d,p[l]=h}return p.forEach(function(e,t){f[t]=h-e}),function(e){var t,n,i,a,o,s=e+"1",c=e+"2",u=0;for(l=r[s];l<=r[c];l++)if(p[l]>h/2){for(i=r.copy(),a=r.copy(),o=(t=l-r[s])<=(n=r[c]-l)?Math.min(r[c]-1,~~(l+n/2)):Math.max(r[s],~~(l-1-t/2));!p[o];)o++;for(u=f[o];!u&&p[o-1];)u=f[--o];return i[c]=o,a[s]=i[c]+1,[i,a]}}(s==i?"r":s==a?"g":"b")}}(v,i),l=s[0],c=s[1];if(!l||(n.push(l),c&&(n.push(c),a++),a>=r||o++>1e3))return}}x.push(_),A(x,.75*o);for(var S=new n(function(e,n){return t.naturalOrder(e.count()*e.volume(),n.count()*n.volume())});x.size();)S.push(x.pop());A(S,o-S.size());for(var w=new i;S.size();)w.push(S.pop());return w}}}().quantize},88489:(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},88491:(e,t,n)=>{"use strict";n.d(t,{l:()=>o,s:()=>s});let r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(e,t,n){let o=(t-e)/Math.max(0,n),s=Math.floor(Math.log(o)/Math.LN10),l=o/10**s;return s>=0?(l>=r?10:l>=i?5:l>=a?2:1)*10**s:-(10**-s)/(l>=r?10:l>=i?5:l>=a?2:1)}function s(e,t,n){let o=Math.abs(t-e)/Math.max(0,n),s=10**Math.floor(Math.log(o)/Math.LN10),l=o/s;return l>=r?s*=10:l>=i?s*=5:l>=a&&(s*=2),t{"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{r:()=>r})},89123:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.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-image",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},89136:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},89213:(e,t,n)=>{"use strict";var r=n(2679);function i(e){e.register(r);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 i(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={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:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],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.exports=i,i.displayName="apex",i.aliases=[]},89234:e=>{e.exports=function(e){function t(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}e.installMethod("luminance",function(){var e=this.rgb();return .2126*t(e._red)+.7152*t(e._green)+.0722*t(e._blue)})}},89297:(e,t,n)=>{"use strict";var r=n(78179);function i(e){e.register(r),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=i,i.displayName="jsonp",i.aliases=[]},89364:(e,t,n)=>{var r=n(59132),i=n(1083),a=n(85855),o=n(64384);e.exports=function(e,t,n){return(e=a(e),void 0===(t=n?void 0:t))?i(e)?o(e):r(e):e.match(t)||[]}},89548:e=>{"use strict";function t(e){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=[]},89631:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(12115),i=n(29300),a=n.n(i),o=n(39496),s=n(15982),l=n(9836),c=n(51854);let u={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},d=r.createContext({});var h=n(63715),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 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},f=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 g=e=>{let{itemPrefixCls:t,component:n,span:i,className:o,style:s,labelStyle:l,contentStyle:c,bordered:u,label:h,content:p,colon:f,type:g,styles:m}=e,{classNames:b}=r.useContext(d),y=Object.assign(Object.assign({},l),null==m?void 0:m.label),v=Object.assign(Object.assign({},c),null==m?void 0:m.content);return u?r.createElement(n,{colSpan:i,style:s,className:a()(o,{["".concat(t,"-item-").concat(g)]:"label"===g||"content"===g,[null==b?void 0:b.label]:(null==b?void 0:b.label)&&"label"===g,[null==b?void 0:b.content]:(null==b?void 0:b.content)&&"content"===g})},null!=h&&r.createElement("span",{style:y},h),null!=p&&r.createElement("span",{style:v},p)):r.createElement(n,{colSpan:i,style:s,className:a()("".concat(t,"-item"),o)},r.createElement("div",{className:"".concat(t,"-item-container")},null!=h&&r.createElement("span",{style:y,className:a()("".concat(t,"-item-label"),null==b?void 0:b.label,{["".concat(t,"-item-no-colon")]:!f})},h),null!=p&&r.createElement("span",{style:v,className:a()("".concat(t,"-item-content"),null==b?void 0:b.content)},p)))};function m(e,t,n){let{colon:i,prefixCls:a,bordered:o}=t,{component:s,type:l,showLabel:c,showContent:u,labelStyle:d,contentStyle:h,styles:p}=n;return e.map((e,t)=>{let{label:n,children:f,prefixCls:m=a,className:b,style:y,labelStyle:v,contentStyle:E,span:_=1,key:x,styles:A}=e;return"string"==typeof s?r.createElement(g,{key:"".concat(l,"-").concat(x||t),className:b,style:y,styles:{label:Object.assign(Object.assign(Object.assign(Object.assign({},d),null==p?void 0:p.label),v),null==A?void 0:A.label),content:Object.assign(Object.assign(Object.assign(Object.assign({},h),null==p?void 0:p.content),E),null==A?void 0:A.content)},span:_,colon:i,component:s,itemPrefixCls:m,bordered:o,label:c?n:null,content:u?f:null,type:l}):[r.createElement(g,{key:"label-".concat(x||t),className:b,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d),null==p?void 0:p.label),y),v),null==A?void 0:A.label),span:1,colon:i,component:s[0],itemPrefixCls:m,bordered:o,label:n,type:"label"}),r.createElement(g,{key:"content-".concat(x||t),className:b,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h),null==p?void 0:p.content),y),E),null==A?void 0:A.content),span:2*_-1,component:s[1],itemPrefixCls:m,bordered:o,content:f,type:"content"})]})}let b=e=>{let t=r.useContext(d),{prefixCls:n,vertical:i,row:a,index:o,bordered:s}=e;return i?r.createElement(r.Fragment,null,r.createElement("tr",{key:"label-".concat(o),className:"".concat(n,"-row")},m(a,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),r.createElement("tr",{key:"content-".concat(o),className:"".concat(n,"-row")},m(a,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):r.createElement("tr",{key:o,className:"".concat(n,"-row")},m(a,e,Object.assign({component:s?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))};var y=n(99841),v=n(18184),E=n(45431),_=n(61388);let x=(0,E.OF)("Descriptions",e=>(e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,v.dF)(e)),(e=>{let{componentCls:t,labelBg:n}=e;return{["&".concat(t,"-bordered")]:{["> ".concat(t,"-view")]:{border:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"> table":{tableLayout:"auto"},["".concat(t,"-row")]:{borderBottom:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.padding)," ").concat((0,y.zA)(e.paddingLG)),borderInlineEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderInlineEnd:"none"}},["> ".concat(t,"-item-label")]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},["&".concat(t,"-middle")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.paddingSM)," ").concat((0,y.zA)(e.paddingLG))}}},["&".concat(t,"-small")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.paddingXS)," ").concat((0,y.zA)(e.padding))}}}}}})(e)),{"&-rtl":{direction:"rtl"},["".concat(t,"-header")]:{display:"flex",alignItems:"center",marginBottom:s},["".concat(t,"-title")]:Object.assign(Object.assign({},v.L9),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),["".concat(t,"-extra")]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},["".concat(t,"-view")]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},["".concat(t,"-row")]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},["".concat(t,"-item-label")]:{color:e.labelColor,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:"".concat((0,y.zA)(o)," ").concat((0,y.zA)(a))},["&".concat(t,"-item-no-colon::after")]:{content:'""'}},["".concat(t,"-item-no-label")]:{"&::after":{margin:0,content:'""'}},["".concat(t,"-item-content")]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},["".concat(t,"-item")]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",["".concat(t,"-item-label")]:{display:"inline-flex",alignItems:"baseline"},["".concat(t,"-item-content")]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-middle":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}})((0,_.oX)(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}));var 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 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 S=e=>{let{prefixCls:t,title:n,extra:i,column:g,colon:m=!0,bordered:y,layout:v,children:E,className:_,rootClassName:S,style:w,size:O,labelStyle:C,contentStyle:k,styles:M,items:L,classNames:I}=e,N=A(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","styles","items","classNames"]),{getPrefixCls:R,direction:P,className:D,style:j,classNames:B,styles:F}=(0,s.TP)("descriptions"),z=R("descriptions",t),U=(0,c.A)(),H=r.useMemo(()=>{var e;return"number"==typeof g?g:null!=(e=(0,o.ko)(U,Object.assign(Object.assign({},u),g)))?e:3},[U,g]),G=function(e,t,n){let i=r.useMemo(()=>t||(0,h.A)(n).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key})),[t,n]);return r.useMemo(()=>i.map(t=>{var{span:n}=t,r=p(t,["span"]);return"filled"===n?Object.assign(Object.assign({},r),{filled:!0}):Object.assign(Object.assign({},r),{span:"number"==typeof n?n:(0,o.ko)(e,n)})}),[i,e])}(U,L,E),$=(0,l.A)(O),W=((e,t)=>{let[n,i]=(0,r.useMemo)(()=>(function(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o}=e,s=f(e,["filled"]);if(o){r.push(s),n.push(r),r=[],a=0;return}let l=t-a;(a+=e.span||1)>=t?(a>t?(i=!0,r.push(Object.assign(Object.assign({},s),{span:l}))):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),[n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n({labelStyle:C,contentStyle:k,styles:{content:Object.assign(Object.assign({},F.content),null==M?void 0:M.content),label:Object.assign(Object.assign({},F.label),null==M?void 0:M.label)},classNames:{label:a()(B.label,null==I?void 0:I.label),content:a()(B.content,null==I?void 0:I.content)}}),[C,k,M,I,B,F]);return V(r.createElement(d.Provider,{value:Z},r.createElement("div",Object.assign({className:a()(z,D,B.root,null==I?void 0:I.root,{["".concat(z,"-").concat($)]:$&&"default"!==$,["".concat(z,"-bordered")]:!!y,["".concat(z,"-rtl")]:"rtl"===P},_,S,q,Y),style:Object.assign(Object.assign(Object.assign(Object.assign({},j),F.root),null==M?void 0:M.root),w)},N),(n||i)&&r.createElement("div",{className:a()("".concat(z,"-header"),B.header,null==I?void 0:I.header),style:Object.assign(Object.assign({},F.header),null==M?void 0:M.header)},n&&r.createElement("div",{className:a()("".concat(z,"-title"),B.title,null==I?void 0:I.title),style:Object.assign(Object.assign({},F.title),null==M?void 0:M.title)},n),i&&r.createElement("div",{className:a()("".concat(z,"-extra"),B.extra,null==I?void 0:I.extra),style:Object.assign(Object.assign({},F.extra),null==M?void 0:M.extra)},i)),r.createElement("div",{className:"".concat(z,"-view")},r.createElement("table",null,r.createElement("tbody",null,W.map((e,t)=>r.createElement(b,{key:t,index:t,colon:m,prefixCls:z,vertical:"vertical"===v,bordered:y,row:e}))))))))};S.Item=e=>{let{children:t}=e;return t};let w=S},90026:(e,t,n)=>{"use strict";function r(e){if(!Array.isArray(e))return-1/0;var t=e.length;if(!t)return-1/0;for(var n=e[0],r=1;rr})},90250: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=[]},90309: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=[]},90311: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=[]},90328: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=[]},90333:(e,t,n)=>{"use strict";n.d(t,{f:()=>m});var r=n(17915);let i=function(e,t,n){let i=(0,r.C)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++tn&&(n=e):e&&(void 0!==n&&n>-1&&c.push("\n".repeat(n)||" "),n=-1,c.push(e))}return c.join("")}function b(e,t){let n,r=String(e.value),i=[],a=[],o=0;for(;o<=r.length;){l.lastIndex=o;let e=l.exec(r),n=e&&"index"in e?e.index:r.length;i.push(function(e,t,n){let r,i=[],a=0;for(;a{"use strict";var r=n(42093),i=n(32027);function a(e){var t;e.register(r),e.register(i),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=a,a.displayName="latte",a.aliases=[]},90765:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},90794:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(85654),i=n(31596),a=n(78785);function o(e){return e.innerRadius}function s(e){return e.outerRadius}function l(e){return e.startAngle}function c(e){return e.endAngle}function u(e){return e&&e.padAngle}function d(e,t,n,r,a,o,s){var l=e-n,c=t-r,u=(s?o:-o)/(0,i.RZ)(l*l+c*c),d=u*c,h=-u*l,p=e+d,f=t+h,g=n+d,m=r+h,b=(p+g)/2,y=(f+m)/2,v=g-p,E=m-f,_=v*v+E*E,x=a-o,A=p*m-g*f,S=(E<0?-1:1)*(0,i.RZ)((0,i.T9)(0,x*x*_-A*A)),w=(A*E-v*S)/_,O=(-A*v-E*S)/_,C=(A*E+v*S)/_,k=(-A*v+E*S)/_,M=w-b,L=O-y,I=C-b,N=k-y;return M*M+L*L>I*I+N*N&&(w=C,O=k),{cx:w,cy:O,x01:-d,y01:-h,x11:w*(a/x-1),y11:O*(a/x-1)}}function h(){var e=o,t=s,n=(0,r.A)(0),h=null,p=l,f=c,g=u,m=null,b=(0,a.i)(y);function y(){var r,a,o=+e.apply(this,arguments),s=+t.apply(this,arguments),l=p.apply(this,arguments)-i.TW,c=f.apply(this,arguments)-i.TW,u=(0,i.tn)(c-l),y=c>l;if(m||(m=r=b()),si.Ni)if(u>i.FA-i.Ni)m.moveTo(s*(0,i.gn)(l),s*(0,i.F8)(l)),m.arc(0,0,s,l,c,!y),o>i.Ni&&(m.moveTo(o*(0,i.gn)(c),o*(0,i.F8)(c)),m.arc(0,0,o,c,l,y));else{var v,E,_=l,x=c,A=l,S=c,w=u,O=u,C=g.apply(this,arguments)/2,k=C>i.Ni&&(h?+h.apply(this,arguments):(0,i.RZ)(o*o+s*s)),M=(0,i.jk)((0,i.tn)(s-o)/2,+n.apply(this,arguments)),L=M,I=M;if(k>i.Ni){var N=(0,i.qR)(k/o*(0,i.F8)(C)),R=(0,i.qR)(k/s*(0,i.F8)(C));(w-=2*N)>i.Ni?(N*=y?1:-1,A+=N,S-=N):(w=0,A=S=(l+c)/2),(O-=2*R)>i.Ni?(R*=y?1:-1,_+=R,x-=R):(O=0,_=x=(l+c)/2)}var P=s*(0,i.gn)(_),D=s*(0,i.F8)(_),j=o*(0,i.gn)(S),B=o*(0,i.F8)(S);if(M>i.Ni){var F,z=s*(0,i.gn)(x),U=s*(0,i.F8)(x),H=o*(0,i.gn)(A),G=o*(0,i.F8)(A);if(ui.Ni?I>i.Ni?(v=d(H,G,P,D,s,I,y),E=d(z,U,j,B,s,I,y),m.moveTo(v.cx+v.x01,v.cy+v.y01),Ii.Ni&&w>i.Ni?L>i.Ni?(v=d(j,B,z,U,o,-L,y),E=d(P,D,H,G,o,-L,y),m.lineTo(v.cx+v.x01,v.cy+v.y01),L{var r=n(82500),i=n(23360),a=n(36815),o=n(85855),s=r.isFinite,l=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:l(i(n),292))&&s(e)){var r=(o(e)+"e").split("e");return+((r=(o(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(r[1]-n))}return t(e)}}},91292:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(71123),i=n(15951);function a(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,a=n===i.t.svg?r.s:r.h,s=n===i.t.html?e.tagName.toLowerCase():e.tagName,l=n===i.t.html&&"template"===s?e.content:e,c=e.getAttributeNames(),u={},d=-1;for(;++d{"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=[]},91479:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(40578),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},91568: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=[]},91924:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},92199:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(12115),i=n(36708),a=n(21447);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=["children","components"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s);return r.createElement(a.A,l({components:function(e){for(var t=1;t{var r=n(801);e.exports=n(34642)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)})},92788: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=[]},92997:(e,t,n)=>{"use strict";var r=n(42093);function i(e){var t,n;e.register(r),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 r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=i,i.displayName="smarty",i.aliases=[]},93231: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=[]},93353:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var r=n(39249),i=n(83853);function a(e,t){return(0,i.s)(e,void 0,(0,r.Cl)((0,r.Cl)({},t),{bbox:!1,length:!0})).length}},93403:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},93565:(e,t,n)=>{"use strict";var r=n(641),i=n(95441),a=n(81077),o=n(88489).q,s=n(43938).q;e.exports=function(e,t,n){var i=n?function(e){for(var t,n=e.length,r=-1,i={};++r{"use strict";let r,i,a,o;n.d(t,{L:()=>gt});var s={};n.r(s),n.d(s,{geoAlbers:()=>hN,geoAlbersUsa:()=>hR,geoAzimuthalEqualArea:()=>hB,geoAzimuthalEqualAreaRaw:()=>hj,geoAzimuthalEquidistant:()=>hz,geoAzimuthalEquidistantRaw:()=>hF,geoConicConformal:()=>hV,geoConicConformalRaw:()=>hW,geoConicEqualArea:()=>hI,geoConicEqualAreaRaw:()=>hL,geoConicEquidistant:()=>hX,geoConicEquidistantRaw:()=>hZ,geoEqualEarth:()=>hJ,geoEqualEarthRaw:()=>hQ,geoEquirectangular:()=>hY,geoEquirectangularRaw:()=>hq,geoGnomonic:()=>h1,geoGnomonicRaw:()=>h0,geoIdentity:()=>h2,geoMercator:()=>hH,geoMercatorRaw:()=>hU,geoNaturalEarth1:()=>h5,geoNaturalEarth1Raw:()=>h3,geoOrthographic:()=>h6,geoOrthographicRaw:()=>h4,geoProjection:()=>hC,geoProjectionMutator:()=>hk,geoStereographic:()=>h7,geoStereographicRaw:()=>h8,geoTransverseMercator:()=>pe,geoTransverseMercatorRaw:()=>h9});var l={};n.r(l),n.d(l,{frequency:()=>fl,id:()=>fc,name:()=>fu,weight:()=>fs});let c=()=>[["cartesian"]];c.props={};var u=n(39480);let d=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];d.props={transform:!0};let h=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=((e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e))(e);return[...d(),...(0,u.Z)({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};h.props={};let p=()=>[["parallel",0,1,0,1]];p.props={};let f=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",e,t,n,r,i]];f.props={transform:!0};var g=n(97819);let m=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=e;return[...p(),...(0,u.Z)({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};m.props={};let b=({startAngle:e=0,endAngle:t=6*Math.PI,innerRadius:n=0,outerRadius:r=1})=>[["translate",.5,.5],["reflect.y"],["translate",-.5,-.5],["helix",e,t,n,r]];b.props={};let y=({value:e})=>t=>t.map(()=>e);y.props={};let v=({value:e})=>t=>t.map(t=>t[e]);v.props={};let E=({value:e})=>t=>t.map(e);E.props={};let _=({value:e})=>()=>e;_.props={};var x=n(14837);function A(e,t){if(null!==e)return{type:"column",value:e,field:t}}function S(e,t){return Object.assign(Object.assign({},A(e,t)),{inferred:!0})}function w(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function O(e,t){let n=[];for(let r of e)n[r]=t;return n}function C(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:i=null}=n;return[r,i]}function k(e,...t){for(let n of t)if("string"!=typeof n)return[n,null];else{let[t,r]=C(e,n);if(null!==t)return[t,r]}return[null,null]}function M(e){return!(e instanceof Date)&&"object"==typeof e}let L=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{y1:S(O(e,0))}})]};L.props={};let I=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{x:S(O(e,0))},scale:{x:{guide:null}}})]};I.props={};var N=n(26998);let R=(e,t)=>(0,N.Q)(Object.assign({colorAttribute:"fill"},e),t);R.props=Object.assign(Object.assign({},N.Q.props),{defaultMarker:"square"});let P=(e,t)=>(0,N.Q)(Object.assign({colorAttribute:"stroke"},e),t);P.props=Object.assign(Object.assign({},N.Q.props),{defaultMarker:"hollowSquare"});var D=n(75224);function j(){}function B(e){this._context=e}function F(e){return new B(e)}B.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e*=1,t*=1,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var z=n(14353),U=n(63975),H=n(30360),G=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};function $(e,t,n,r,i){let[a,o,s,l]=e;if((0,z.kH)(r))return i?[[n?n[1][0]:a[0],a[1]],o,s,[n?n[2][0]:l[0],l[1]]]:[a,[t?t[0][0]:o[0],o[1]],[t?t[3][0]:s[0],s[1]],l];return i?[[a[0],n?n[1][1]:a[1]],o,s,[l[0],n?n[2][1]:l[1]]]:[a,[o[0],t?t[0][1]:o[1]],[s[0],t?t[3][1]:s[1]],l]}let W=(e,t)=>t/Math.tan(e/2),V=(e,t)=>{let{adjustPoints:n=$,radius:r,radiusTopLeft:i=r,radiusTopRight:a=r,radiusBottomRight:o=r,radiusBottomLeft:s=r,innerRadius:l=0,innerRadiusTopLeft:c=l,innerRadiusTopRight:u=l,innerRadiusBottomRight:d=l,innerRadiusBottomLeft:h=l,first:p=!0,last:f=!0}=e,g=G(e,["adjustPoints","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","first","last"]),{coordinate:m,document:b}=t;return(e,t,r,l)=>{let{index:y}=t,{color:v}=r,E=G(r,["color"]),_=n(e,l[y+1],l[y-1],m,g.reverse),[x,A,S,w]=(0,z.kH)(m)?(0,H.Yb)(_):_,{color:O=v,opacity:C}=t,k=[p&&null!=i?i:c,p&&null!=a?a:u,f&&null!=o?o:d,f&&null!=s?s:h],M=k.find(e=>e>0)?function(e,t){let[n,r,i,a]=e,[o,s,l,c]=t,u=r[0]-n[0]>i[0]-a[0],d=Math.atan2(Math.abs(r[1]-i[1]),Math.abs(r[0]-i[0])),h=u?[W(d,o),W(d,s),l,c]:[o,s,W(d,l),W(d,c)],p=u?1:-1,f=h.map(e=>({x:Math.cos(d)*e*p,y:Math.sin(d)*e}));return`M${n[0]+h[0]} ${n[1]} L${r[0]-h[1]} ${r[1]} Q${r[0]} ${r[1]} ${r[0]-f[1].x} ${r[1]+f[1].y} L${i[0]+f[2].x} ${i[1]-f[2].y} Q${i[0]} ${i[1]} ${i[0]-h[2]} ${i[1]} L${a[0]+h[3]} ${a[1]} Q${a[0]} ${a[1]} ${a[0]-f[3].x} ${a[1]-f[3].y} L${n[0]+f[0].x} ${n[1]+f[0].y} Q${n[0]} ${n[1]} ${n[0]+h[0]} ${n[1]} Z`}([x,A,S,w],k):(0,D.A)().curve(F)([x,A,S,w]);return(0,U.c)(b.createElement("path",{})).call(H.AV,E).style("d",M).style("fill",O).style("fillOpacity",C).call(H.AV,g).node()}};function q(e,t,n,r,i){let[a,o,s,l]=e;if((0,z.kH)(r))return i?[[n?n[1][0]:(a[0]+l[0])/2,a[1]],o,s,[n?n[2][0]:(a[0]+l[0])/2,l[1]]]:[a,[t?t[0][0]:(o[0]+s[0])/2,o[1]],[t?t[3][0]:(o[0]+s[0])/2,s[1]],l];return i?[[a[0],n?n[1][1]:(a[1]+l[1])/2],o,s,[l[0],n?n[2][1]:(a[1]+l[1])/2]]:[a,[o[0],t?t[0][1]:(o[1]+s[1])/2],[s[0],t?t[3][1]:(o[1]+s[1])/2],l]}V.props={defaultMarker:"square"};let Y=(e,t)=>V(Object.assign({adjustPoints:q},e),t);Y.props={defaultMarker:"square"};var Z=n(79135);function X(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}let K=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:i}=n;if((0,Z.K$)(i))return[e,n];let{title:a}=i;if(void 0!==a)return[e,n];let o=Object.keys(r).filter(e=>e.startsWith(t)).filter(e=>!r[e].inferred).map(e=>C(r,e)).filter(([e])=>e).map(e=>e[0]);if(0===o.length)return[e,n];let s=[];for(let t of e)s[t]={value:o.map(e=>e[t]instanceof Date?function(e){let t=e.getFullYear(),n=X(e.getMonth()+1),r=X(e.getDate()),i=`${t}-${n}-${r}`,a=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return a||o||s?`${i} ${X(a)}:${X(o)}:${X(s)}`:i}(e[t]):e[t]).join(", ")};return[e,(0,x.A)({},n,{tooltip:{title:s}})]}};K.props={};let Q=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:i}=n;if((0,Z.K$)(i))return[e,n];let{items:a=[]}=i;if(!a||a.length>0)return[e,n];let o=(Array.isArray(t)?t:[t]).flatMap(e=>Object.keys(r).filter(t=>t.startsWith(e)).map(e=>{let{field:t,value:n,inferred:i=!1,aggregate:a}=r[e];return i?null:a&&n?{channel:e}:t?{field:t}:n?{channel:e}:null}).filter(e=>null!==e));return[e,(0,x.A)({},n,{tooltip:{items:o}})]}};Q.props={};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 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 ee=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,i=J(n,["key"]);if(void 0!==r)return[e,t];let a=Object.values(i).map(({value:e})=>e),o=e.map(e=>a.filter(Array.isArray).map(t=>t[e]).join("-"));return[e,(0,x.A)({},t,{encode:{key:A(o)}})]};function et(e={}){let{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function en(e={}){return[...et(e),{name:"title",scale:"identity"}]}function er(){return[{type:K,channel:"color"},{type:Q,channel:["x","y"]}]}function ei(){return[{type:K,channel:"x"},{type:Q,channel:["y"]}]}function ea(e={}){return et(e)}function eo(){return[{type:ee}]}ee.props={};function es(e,t){return e.getBandWidth(e.invert(t))}function el(e,t,n={}){let{x:r,y:i,series:a}=t,{x:o,y:s,series:l}=e,{style:{bandOffset:c=.5*!l,bandOffsetX:u=c,bandOffsetY:d=c}={}}=n,h=!!(null==o?void 0:o.getBandWidth),p=!!(null==s?void 0:s.getBandWidth),f=!!(null==l?void 0:l.getBandWidth);return h||p?(e,t)=>{let n=h?es(o,r[t]):0,c=p?es(s,i[t]):0,g=f&&a?(es(l,a[t])/2+ +a[t])*n:0,[m,b]=e;return[m+u*n+g,b+d*c]}:e=>e}function ec(e){return parseFloat(e)/100}function eu(e,t,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:s}=r.getOptions(),l=Array.from(e,e=>{let t=i[e],n=a[e];return[["string"==typeof t?ec(t)*o:+t,"string"==typeof n?ec(n)*s:+n]]});return[e,l]}function ed(e){return"function"==typeof e?e:t=>t[e]}function eh(e,t){return Array.from(e,ed(t))}function ep(e,t){let n=Array.isArray(e)?{links:e}:e&&"object"==typeof e?{links:e.links||[],nodes:e.nodes}:{links:[]},{source:r=e=>e.source,target:i=e=>e.target,value:a=e=>e.value}=t,{links:o,nodes:s}=n;if(!o.length)return{links:[],nodes:s||[]};let l=eh(o,r),c=eh(o,i),u=eh(o,a);return{links:o.map((e,t)=>({target:c[t],source:l[t],value:u[t]})),nodes:s||Array.from(new Set([...l,...c]),e=>({key:e}))}}function ef(e,t){return e.getBandWidth(e.invert(t))}let eg={rect:R,hollow:P,funnel:V,pyramid:Y},em=()=>(e,t,n,r)=>{let{x:i,y1:a,series:o,size:s}=n,{y:l}=n;l=l.map(e=>void 0!==e?e:1);let c=t.x,u=t.series,[d]=r.getSize(),h=s?s.map(e=>e/d):null,p=s?(e,t,n)=>{let r=e+t/2,i=h[n];return[r-i/2,r+i/2]}:(e,t,n)=>[e,e+t],f=Array.from(e,e=>{let t=ef(c,i[e]),n=u?ef(u,null==o?void 0:o[e]):1,s=(+(null==o?void 0:o[e])||0)*t,[d,h]=p(+i[e]+s,t*n,e),f=+l[e],g=+a[e];return[[d,f],[h,f],[h,g],[d,g]].map(e=>r.map(e))});return[e,f]};em.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eg,channels:[...en({shapes:Object.keys(eg)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...eo(),{type:L},{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};let eb={rect:R,hollow:P},ey=()=>(e,t,n,r)=>{let{x:i,x1:a,y:o,y1:s}=n,l=Array.from(e,e=>{let t=[+i[e],+o[e]],n=[+a[e],+o[e]];return[t,n,[+a[e],+s[e]],[+i[e],+s[e]]].map(e=>r.map(e))});return[e,l]};ey.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eb,channels:[...en({shapes:Object.keys(eb)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:L}],postInference:[...ei()],interaction:{shareTooltip:!0}};var ev=n(2423),eE=n(59947),e_=eA(eE.A);function ex(e){this._curve=e}function eA(e){function t(t){return new ex(e(t))}return t._curve=e,t}function eS(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(eA(e)):t()._curve},e}ex.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}};var ew=n(75997),eT=n(63956),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 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 eC=(0,ew.n)(e=>{let{d1:t,d2:n,style1:r,style2:i}=e.attributes,a=e.ownerDocument;(0,U.c)(e).maybeAppend("line",()=>a.createElement("path",{})).style("d",t).call(H.AV,r),(0,U.c)(e).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(H.AV,i)}),ek=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=eO(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let d,{color:h,lineWidth:p}=u,f=eO(u,["color","lineWidth"]),{color:g=h,size:m=p,seriesColor:b,seriesX:y,seriesY:v}=t,E=(0,H.RG)(l,t),_=(0,z.kH)(l),x=r&&b?(0,H.os)(b,y,v,r,i,_):g,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),x&&{stroke:x}),m&&{lineWidth:m}),E&&{transform:E}),s);if((0,z.pz)(l)){let e=l.getCenter();d=t=>eS((0,D.A)().curve(e_)).angle((n,r)=>(0,eT.Ib)((0,eT.jb)(t[r],e))).radius((n,r)=>(0,eT.xg)(t[r],e)).defined(([e,t])=>a(e)&&a(t)).curve(n)(t)}else d=(0,D.A)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>a(e)&&a(t)).curve(n);let[S,w]=function(e,t){let n=[],r=[],i=!1,a=null;for(let o of e)t(o[0])&&t(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(e,a),O=(0,Z.Uq)(A,"connect"),C=!!w.length;return C&&(!o||Object.keys(O).length)?C&&!o?(0,U.c)(c.createElement("path",{})).style("d",d(e)).call(H.AV,A).node():(0,U.c)(new eC).style("style1",Object.assign(Object.assign({},A),O)).style("style2",A).style("d1",w.map(d).join(",")).style("d2",d(e)).node():(0,U.c)(c.createElement("path",{})).style("d",d(S)||[]).call(H.AV,A).node()}};ek.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let eM=(e,t)=>{let{coordinate:n}=t;return(...r)=>ek(Object.assign({curve:(0,z.pz)(n)?F:eE.A},e),t)(...r)};function eL(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function eI(e,t){this._context=e,this._k=(1-t)/6}function eN(e,t){this._context=e,this._k=(1-t)/6}eM.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"line"}),eI.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:eL(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:eL(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new eI(e,t)}return n.tension=function(t){return e(+t)},n}(0),eN.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:eL(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new eN(e,t)}return n.tension=function(t){return e(+t)},n}(0);var eR=n(31596);function eP(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>eR.Ni){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>eR.Ni){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function eD(e,t){this._context=e,this._alpha=t}function ej(e,t){this._context=e,this._alpha=t}eD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:eP(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new eD(e,t):new eI(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),ej.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:eP(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let eB=function e(t){function n(e){return t?new ej(e,t):new eN(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function eF(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ez(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function eU(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function eH(e){this._context=e}function eG(e){this._context=new e$(e)}function e$(e){this._context=e}function eW(e){return new eH(e)}function eV(e){return new eG(e)}eH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:eU(this,this._t0,ez(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t*=1,(e*=1)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,eU(this,ez(this,n=eF(this,e,t)),n);break;default:eU(this,this._t0,n=eF(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(eG.prototype=Object.create(eH.prototype)).point=function(e,t){eH.prototype.point.call(this,t,e)},e$.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};var eq=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 eY=(e,t)=>{let n=eq(e,[]),{coordinate:r}=t;return(...e)=>ek(Object.assign({curve:(0,z.pz)(r)?eB:(0,z.kH)(r)?eV:eW},n),t)(...e)};function eZ(e,t){this._context=e,this._t=t}function eX(e){return new eZ(e,.5)}function eK(e){return new eZ(e,0)}function eQ(e){return new eZ(e,1)}eY.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"smooth"}),eZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};let eJ=(e,t)=>ek(Object.assign({curve:eQ},e),t);eJ.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"hv"});let e0=(e,t)=>ek(Object.assign({curve:eK},e),t);e0.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"vh"});let e1=(e,t)=>ek(Object.assign({curve:eX},e),t);e1.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"hvh"});var e2=n(58857),e3=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 e5=(e,t)=>{let{document:n}=t;return(t,r,i)=>{let{seriesSize:a,color:o}=r,{color:s}=i,l=e3(i,["color"]),c=(0,e2.Ae)();for(let e=0;e(e,t)=>{let{style:n={},encode:r}=t,{series:i}=r,{gradient:a}=n;return!a||i?[e,t]:[e,(0,x.A)({},t,{encode:{series:w(O(e,void 0))}})]};e4.props={};let e6=()=>(e,t)=>{let{encode:n}=t,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[e,t];let[a,o]=C(n,"color");return[e,(0,x.A)({},t,{encode:{series:A(a,o)}})]};e6.props={};let e8={line:eM,smooth:eY,hv:eJ,vh:e0,hvh:e1,trail:e5},e7=()=>(e,t,n,r)=>((0,z.K7)(r)?(e,t,n,r)=>{let i=Object.entries(n).filter(([e])=>e.startsWith("position")).map(([,e])=>e);if(0===i.length)throw Error("Missing encode for position channel.");(0,z.pz)(r)&&i.push(i[0]);let a=Array.from(e,e=>{let t=i.map(t=>+t[e]),n=r.map(t),a=[];for(let e=0;e{var i,a;let{series:o,x:s,y:l}=n,{x:c,y:u}=t;if(void 0===s||void 0===l)throw Error("Missing encode for x or y channel.");let d=o?Array.from((0,ev.Ay)(e,e=>o[e]).values()):[e],h=d.map(e=>e[0]).filter(e=>void 0!==e),p=((null==(i=null==c?void 0:c.getBandWidth)?void 0:i.call(c))||0)/2,f=((null==(a=null==u?void 0:u.getBandWidth)?void 0:a.call(u))||0)/2;return[h,Array.from(d,e=>e.map(e=>r.map([+s[e]+p,+l[e]+f]))),d]})(e,t,n,r);e7.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:e8,channels:[...en({shapes:Object.keys(e8)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...eo(),{type:e4},{type:e6}],postInference:[...ei(),{type:K,channel:"color"},{type:Q,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var e9=n(26629),te=n(14742),tt=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};function tn(e,t,n,r){if(1===t.length)return;let{size:i}=n;if("fixed"===e)return i;if("normal"===e||(0,z.ey)(r)){let[[e,n],[r,i]]=t;return Math.max(0,(Math.abs((r-e)/2)+Math.abs((i-n)/2))/2)}return i}let tr=(e,t)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=e,a=tt(e,["colorAttribute","symbol","mode"]),o=e9.i3.get((0,te.x)(r))||e9.i3.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:d}=c,h=a.stroke?u||1:u,{color:p=d,transform:f,opacity:g}=r,[m,b]=(0,H.$z)(t),y=tn(i,t,r,s)||a.r||c.r;return(0,U.c)(l.createElement("path",{})).call(H.AV,c).style("fill","transparent").style("d",o(m,b,y)).style("lineWidth",h).style("transform",f).style("transformOrigin",`${m-y} ${b-y}`).style("stroke",p).style((0,H.Ck)(e),g).style(n,p).call(H.AV,a).node()}};tr.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ti=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);ti.props=Object.assign({defaultMarker:"hollowPoint"},tr.props);let ta=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);ta.props=Object.assign({defaultMarker:"hollowDiamond"},tr.props);let to=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);to.props=Object.assign({defaultMarker:"hollowHexagon"},tr.props);let ts=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);ts.props=Object.assign({defaultMarker:"hollowSquare"},tr.props);let tl=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);tl.props=Object.assign({defaultMarker:"hollowTriangleDown"},tr.props);let tc=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);tc.props=Object.assign({defaultMarker:"hollowTriangle"},tr.props);let tu=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);tu.props=Object.assign({defaultMarker:"hollowBowtie"},tr.props);var td=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 th=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,i=td(e,["colorAttribute","mode"]),{coordinate:a,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,d=i.stroke?c||1:c,{color:h=u,transform:p,opacity:f}=s,[g,m]=(0,H.$z)(t),b=tn(r,t,s,a)||i.r||l.r;return(0,U.c)(o.createElement("circle",{})).call(H.AV,l).style("fill","transparent").style("cx",g).style("cy",m).style("r",b).style("lineWidth",d).style("transform",p).style("transformOrigin",`${g} ${m}`).style("stroke",h).style((0,H.Ck)(e),f).style(n,h).call(H.AV,i).node()}},tp=(e,t)=>th(Object.assign({colorAttribute:"fill"},e),t);tp.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let tf=(e,t)=>th(Object.assign({colorAttribute:"stroke"},e),t);tf.props=Object.assign({defaultMarker:"hollowPoint"},tp.props);let tg=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);tg.props=Object.assign({defaultMarker:"point"},tr.props);let tm=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);tm.props=Object.assign({defaultMarker:"plus"},tr.props);let tb=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);tb.props=Object.assign({defaultMarker:"diamond"},tr.props);let ty=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);ty.props=Object.assign({defaultMarker:"square"},tr.props);let tv=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);tv.props=Object.assign({defaultMarker:"triangle"},tr.props);let tE=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);tE.props=Object.assign({defaultMarker:"hexagon"},tr.props);let t_=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);t_.props=Object.assign({defaultMarker:"cross"},tr.props);let tx=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);tx.props=Object.assign({defaultMarker:"bowtie"},tr.props);let tA=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);tA.props=Object.assign({defaultMarker:"hyphen"},tr.props);let tS=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);tS.props=Object.assign({defaultMarker:"line"},tr.props);let tw=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);tw.props=Object.assign({defaultMarker:"tick"},tr.props);let tT=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);tT.props=Object.assign({defaultMarker:"triangleDown"},tr.props);let tO=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{y:S(O(e,0))},scale:{y:{guide:null}}})]};tO.props={};let tC=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{size:w(O(e,3))}})]};tC.props={};let tk={hollow:ti,hollowDiamond:ta,hollowHexagon:to,hollowSquare:ts,hollowTriangleDown:tl,hollowTriangle:tc,hollowBowtie:tu,hollowCircle:tf,point:tg,plus:tm,diamond:tb,square:ty,triangle:tv,hexagon:tE,cross:t_,bowtie:tx,hyphen:tA,line:tS,tick:tw,triangleDown:tT,circle:tp},tM=e=>(t,n,r,i)=>{let{x:a,y:o,x1:s,y1:l,size:c,dx:u,dy:d}=r,[h,p]=i.getSize(),f=el(n,r,e),g=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==d?void 0:d[e])||0),r=s?(+a[e]+ +s[e])/2:+a[e];return[r+t,(l?(+o[e]+ +l[e])/2:+o[e])+n]},m=c?Array.from(t,e=>{let[t,n]=g(e),r=+c[e],a=r/h,o=r/p;return[i.map(f([t-a,n-o],e)),i.map(f([t+a,n+o],e))]}):Array.from(t,e=>[i.map(f(g(e),e))]);return[t,m]};tM.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:tk,channels:[...en({shapes:Object.keys(tk)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[{type:tC},...er()]};var tL=n(78385);let tI=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let{color:a,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:s},[[d,h]]=t;return(0,U.c)(new tL.n).style("x",d).style("y",h).call(H.AV,i).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(H.AV,u).call(H.AV,e).node()}};tI.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var tN=n(25832),tR=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 tP=(0,ew.n)(e=>{let t=e.attributes,{class:n,x:r,y:i,transform:a}=t,o=tR(t,["class","x","y","transform"]),s=(0,Z.Uq)(o,"marker"),{size:l=24}=s,c=()=>(function(e){let t=e/Math.sqrt(2),n=e*Math.sqrt(2),[r,i]=[-t,t-n],[a,o]=[0,0],[s,l]=[t,t-n];return[["M",r,i],["A",e,e,0,1,1,s,l],["L",a,o],["Z"]]})(l/2),[u,d]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}((0,U.c)(e).maybeAppend("marker",()=>new tN.p({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node());(0,U.c)(e).maybeAppend("text","text").style("x",u).style("y",d).call(H.AV,o)}),tD=(e,t)=>{let n=tR(e,[]);return(e,t,r)=>{let{color:i}=r,a=tR(r,["color"]),{color:o=i,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return(0,U.c)(new tP).call(H.AV,a).style("transform",`translate(${c},${u})`).call(H.AV,l).call(H.AV,n).node()}};tD.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var tj=n(86372);let tB=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let{color:a,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:s,textAlign:"center",textBaseline:"middle"},[[d,h]]=t;return(0,U.c)(new tj.EY).style("x",d).style("y",h).call(H.AV,i).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(H.AV,u).call(H.AV,e).node()}};tB.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let tF=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(M))return[e,t];let r=Array.isArray(n[0])?n:[n],i=r.map(e=>e[0]),a=r.map(e=>e[1]);return[e,(0,x.A)({},t,{encode:{x:A(i),y:A(a)}})]};tF.props={};var tz=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 tU=()=>(e,t)=>{let{data:n,style:r={}}=t,i=tz(t,["data","style"]),{x:a,y:o}=r,s=tz(r,["x","y"]);return void 0==a||void 0==o?[e,t]:[[0],(0,x.A)({},i,{data:[0],cartesian:!0,encode:{x:A([a||0]),y:A([o||0])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};tU.props={};let tH={text:tI,badge:tD,tag:tB},tG=e=>{let{cartesian:t=!1}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};tG.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:tH,channels:[...en({shapes:Object.keys(tH)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...eo(),{type:tF},{type:tU}],postInference:[...er()]};let t$=()=>(e,t)=>[e,(0,x.A)({scale:{x:{padding:0},y:{padding:0}}},t)];t$.props={};let tW={cell:R,hollow:P},tV=()=>(e,t,n,r)=>{let{x:i,y:a}=n,o=t.x,s=t.y,l=Array.from(e,e=>{let t=o.getBandWidth(o.invert(+i[e])),n=s.getBandWidth(s.invert(+a[e])),l=+i[e],c=+a[e];return[[l,c],[l+t,c],[l+t,c+n],[l,c+n]].map(e=>r.map(e))});return[e,l]};tV.props={defaultShape:"cell",defaultLabelShape:"label",shape:tW,composite:!1,channels:[...en({shapes:Object.keys(tW)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...eo(),{type:I},{type:tO},{type:t$}],postInference:[...er()]};var tq=n(9819),tY=n(85654),tZ=n(78785),tX=n(72804);function tK(e,t,n){var r=null,i=(0,tY.A)(!0),a=null,o=eE.A,s=null,l=(0,tZ.i)(c);function c(c){var u,d,h,p,f,g=(c=(0,tq.A)(c)).length,m=!1,b=Array(g),y=Array(g);for(null==a&&(s=o(f=l())),u=0;u<=g;++u){if(!(u=d;--h)s.point(b[h],y[h]);s.lineEnd(),s.areaEnd()}m&&(b[u]=+e(p,u,c),y[u]=+t(p,u,c),s.point(r?+r(p,u,c):b[u],n?+n(p,u,c):y[u]))}if(f)return s=null,f+""||null}function u(){return(0,D.A)().defined(i).curve(o).context(a)}return e="function"==typeof e?e:void 0===e?tX.x:(0,tY.A)(+e),t="function"==typeof t?t:void 0===t?(0,tY.A)(0):(0,tY.A)(+t),n="function"==typeof n?n:void 0===n?tX.y:(0,tY.A)(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,tY.A)(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,tY.A)(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,tY.A)(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,tY.A)(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,tY.A)(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,tY.A)(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,tY.A)(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c}var tQ=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 tJ=(0,ew.n)(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:i}=e.attributes,a=e.ownerDocument;(0,U.c)(e).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(H.AV,i),(0,U.c)(e).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",t).call(H.AV,r)}),t0=(e,t)=>{let{curve:n,gradient:r=!1,defined:i=e=>!Number.isNaN(e)&&null!=e,connect:a=!1}=e,o=tQ(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:d=u,seriesColor:h,seriesX:p,seriesY:f}=t,g=(0,z.kH)(s),m=(0,H.RG)(s,t),b=r&&h?(0,H.os)(h,p,f,r,void 0,g):d,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),m&&{transform:m}),o),[v,E]=function(e,t){let n=[],r=[],i=[],a=!1,o=null,s=e.length/2;for(let l=0;l!t(e)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[e,t]=o;i.push([e,c,t,u])}o=[c,u]}}return[n.concat(r),i]}(e,i),_=(0,Z.Uq)(y,"connect"),x=!!E.length,A=e=>(0,U.c)(l.createElement("path",{})).style("d",e||"").call(H.AV,y).node();if((0,z.pz)(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),a=e.slice(e.length/2);return(function(){var e=tK().curve(e_),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return eS(n())},delete e.lineX0,e.lineEndAngle=function(){return eS(r())},delete e.lineX1,e.lineInnerRadius=function(){return eS(i())},delete e.lineY0,e.lineOuterRadius=function(){return eS(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(eA(e)):t()._curve},e})().angle((e,n)=>(0,eT.Ib)((0,eT.jb)(r[n],t))).outerRadius((e,n)=>(0,eT.xg)(r[n],t)).innerRadius((e,n)=>(0,eT.xg)(a[n],t)).defined((e,t)=>[...r[t],...a[t]].every(i)).curve(n)(a)};return x&&(!a||Object.keys(_).length)?x&&!a?A(t(e)):(0,U.c)(new tJ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},_),o)).style("areaPath",t(e)).style("connectPath",E.map(t).join("")).node():A(t(v))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return g?tK().y((e,n)=>t[n][1]).x1((e,n)=>t[n][0]).x0((e,t)=>r[t][0]).defined((e,n)=>[...t[n],...r[n]].every(i)).curve(n)(t):tK().x((e,n)=>t[n][0]).y1((e,n)=>t[n][1]).y0((e,t)=>r[t][1]).defined((e,n)=>[...t[n],...r[n]].every(i)).curve(n)(t)};return x&&(!a||Object.keys(_).length)?x&&!a?A(t(e)):(0,U.c)(new tJ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},_),o)).style("areaPath",t(e)).style("connectPath",E.map(t).join("")).node():A(t(v))}}};t0.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let t1=(e,t)=>{let{coordinate:n}=t;return(...r)=>t0(Object.assign({curve:(0,z.pz)(n)?F:eE.A},e),t)(...r)};t1.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"square"});var t2=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 t3=(e,t)=>{let n=t2(e,[]),{coordinate:r}=t;return(...e)=>t0(Object.assign({curve:(0,z.pz)(r)?eB:(0,z.kH)(r)?eV:eW},n),t)(...e)};t3.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"smooth"});let t5=(e,t)=>(...n)=>t0(Object.assign({curve:eX},e),t)(...n);t5.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"hvh"});let t4=(e,t)=>(...n)=>t0(Object.assign({curve:eK},e),t)(...n);t4.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"vh"});let t6=(e,t)=>(...n)=>t0(Object.assign({curve:eQ},e),t)(...n);t6.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"hv"});let t8={area:t1,smooth:t3,hvh:t5,vh:t4,hv:t6},t7=()=>(e,t,n,r)=>{var i,a;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:d}=t,h=c?Array.from((0,ev.Ay)(e,e=>c[e]).values()):[e],p=h.map(e=>e[0]).filter(e=>void 0!==e),f=((null==(i=null==u?void 0:u.getBandWidth)?void 0:i.call(u))||0)/2,g=((null==(a=null==d?void 0:d.getBandWidth)?void 0:a.call(d))||0)/2;return[p,Array.from(h,e=>{let t=e.length,n=Array(2*t);for(let i=0;i(e,t)=>{let{encode:n}=t,{y1:r}=n;if(r)return[e,t];let[i]=C(n,"y");return[e,(0,x.A)({},t,{encode:{y1:A([...i])}})]};t9.props={};let ne=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[i]=C(n,"x");return[e,(0,x.A)({},t,{encode:{x1:A([...i])}})]};ne.props={};var nt=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 nn=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,i=nt(e,["arrow","arrowSize"]),{document:a}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=nt(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,h]=e,p=(0,e2.Ae)();if(p.moveTo(...d),p.lineTo(...h),n){let[e,t]=(0,H.Zq)(d,h,{arrowSize:r});p.moveTo(...e),p.lineTo(...h),p.lineTo(...t)}return(0,U.c)(a.createElement("path",{})).call(H.AV,l).style("d",p.toString()).style("stroke",c).style("transform",u).call(H.AV,i).node()}};nn.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nr=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>nn(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};nr.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ni=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 na=(e,t)=>{let n=ni(e,[]),{coordinate:r,document:i}=t;return(e,t,a)=>{let{color:o}=a,s=ni(a,["color"]),{color:l=o,transform:c}=t,[u,d]=e,h=(0,e2.Ae)();if(h.moveTo(u[0],u[1]),(0,z.pz)(r)){let e=r.getCenter();h.quadraticCurveTo(e[0],e[1],d[0],d[1])}else{let e=(0,eT.jz)(u,d),t=(0,eT.xg)(u,d)/2;(0,H.Fv)(h,u,d,e,t)}return(0,U.c)(i.createElement("path",{})).call(H.AV,s).style("d",h.toString()).style("stroke",l).style("transform",c).call(H.AV,n).node()}};na.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var no=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 ns=(e,t)=>{let n=no(e,[]),{document:r}=t;return(e,t,i)=>{let{color:a}=i,o=no(i,["color"]),{color:s=a,transform:l}=t,[c,u]=e,d=(0,e2.Ae)();return d.moveTo(c[0],c[1]),d.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),(0,U.c)(r.createElement("path",{})).call(H.AV,o).style("d",d.toString()).style("stroke",s).style("transform",l).call(H.AV,n).node()}};ns.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nl=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 nc=(e,t)=>{let{cornerRatio:n=1/3}=e,r=nl(e,["cornerRatio"]),{coordinate:i,document:a}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=nl(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,h]=e,p=function(e,t,n,r){let i=(0,e2.Ae)();if((0,z.pz)(n)){let a=n.getCenter(),o=(0,eT.xg)(e,a),s=(0,eT.xg)(t,a);return i.moveTo(e[0],e[1]),(0,H.Fv)(i,e,t,a,(s-o)*r+o),i.lineTo(t[0],t[1]),i}return(0,z.kH)(n)?(i.moveTo(e[0],e[1]),i.lineTo(e[0]+(t[0]-e[0])*r,e[1]),i.lineTo(e[0]+(t[0]-e[0])*r,t[1])):(i.moveTo(e[0],e[1]),i.lineTo(e[0],e[1]+(t[1]-e[1])*r),i.lineTo(t[0],e[1]+(t[1]-e[1])*r)),i.lineTo(t[0],t[1]),i}(d,h,i,n);return(0,U.c)(a.createElement("path",{})).call(H.AV,l).style("d",p.toString()).style("stroke",c).style("transform",u).call(H.AV,r).node()}};nc.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nu={link:nr,arc:na,smooth:ns,vhv:nc},nd=e=>(t,n,r,i)=>{let{x:a,y:o,x1:s=a,y1:l=o}=r,c=el(n,r,e),u=t.map(e=>[i.map(c([+a[e],+o[e]],e)),i.map(c([+s[e],+l[e]],e))]);return[t,u]};nd.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:nu,channels:[...en({shapes:Object.keys(nu)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:t9},{type:ne}],postInference:[...er()]};var nh=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 np=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o}=a,s=nh(a,["color"]),{color:l=o,src:c="",size:u=32,transform:d=""}=i,{width:h=u,height:p=u}=e,[[f,g]]=t,[m,b]=n.getSize();h="string"==typeof h?ec(h)*m:h,p="string"==typeof p?ec(p)*b:p;let y=f-Number(h)/2,v=g-Number(p)/2;return(0,U.c)(r.createElement("image",{})).call(H.AV,s).style("x",y).style("y",v).style("src",c).style("stroke",l).style("transform",d).call(H.AV,e).style("width",h).style("height",p).node()}};np.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nf={image:np},ng=e=>{let{cartesian:t}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};ng.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:nf,channels:[...en({shapes:Object.keys(nf)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...eo(),{type:tF},{type:tU}],postInference:[...er()]};var nm=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 nb=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o}=a,s=nm(a,["color"]),{color:l=o,transform:c}=i,u=function(e,t){let n=(0,e2.Ae)();if((0,z.pz)(t)){let r=t.getCenter(),i=[...e,e[0]],a=i.map(e=>(0,eT.xg)(e,r));return i.forEach((t,i)=>{if(0===i)return void n.moveTo(t[0],t[1]);let o=a[i],s=e[i-1],l=a[i-1];void 0!==l&&1e-10>Math.abs(o-l)?(0,H.Fv)(n,s,t,r,o):n.lineTo(t[0],t[1])}),n.closePath(),n}return(0,H.NS)(n,e)}(t,n);return(0,U.c)(r.createElement("path",{})).call(H.AV,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(H.AV,e).node()}};nb.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ny=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 nv=(e,t)=>{let n=ny(e,[]),{coordinate:r,document:i}=t;return(e,t,a)=>{let{color:o}=a,s=ny(a,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,i,a]=e,o=(0,e2.Ae)();if((0,z.pz)(t)){let e=t.getCenter(),s=(0,eT.xg)(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],i[0],i[1]),(0,H.Fv)(o,i,a,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),(0,H.Fv)(o,r,n,e,s),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(e,r);return(0,U.c)(i.createElement("path",{})).call(H.AV,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(H.AV,n).node()}};nv.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nE={polygon:nb,ribbon:nv},n_=()=>(e,t,n,r)=>{let i=Object.entries(n).filter(([e])=>e.startsWith("x")).map(([,e])=>e),a=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),o=e.map(e=>{let t=[];for(let n=0;nt.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 nA=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o,transform:s}=i,{color:l,fill:c=l,stroke:u=l}=a,d=nx(a,["color","fill","stroke"]),h=function(e,t){let n=(0,e2.Ae)();if((0,z.pz)(t)){let r=t.getCenter(),[i,a]=r,o=(0,eT.g7)((0,eT.jb)(e[0],r)),s=(0,eT.g7)((0,eT.jb)(e[1],r)),l=(0,eT.xg)(r,e[2]),c=(0,eT.xg)(r,e[3]),u=(0,eT.xg)(r,e[8]),d=(0,eT.xg)(r,e[10]),h=(0,eT.xg)(r,e[11]);n.moveTo(...e[0]),n.arc(i,a,l,o,s),n.arc(i,a,l,s,o,!0),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.arc(i,a,c,o,s),n.lineTo(...e[6]),n.arc(i,a,d,s,o,!0),n.closePath(),n.moveTo(...e[8]),n.arc(i,a,u,o,s),n.arc(i,a,u,s,o,!0),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.arc(i,a,h,o,s),n.arc(i,a,h,s,o,!0)}else n.moveTo(...e[0]),n.lineTo(...e[1]),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.lineTo(...e[5]),n.lineTo(...e[6]),n.lineTo(...e[7]),n.closePath(),n.moveTo(...e[8]),n.lineTo(...e[9]),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.lineTo(...e[13]);return n}(t,n);return(0,U.c)(r.createElement("path",{})).call(H.AV,d).style("d",h.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(H.AV,e).node()}};nA.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nS=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 nw=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o,transform:s}=i,{color:l,fill:c=l,stroke:u=l}=a,d=nS(a,["color","fill","stroke"]),h=function(e,t,n=4){let r=(0,e2.Ae)();if(!(0,z.pz)(t))return r.moveTo(...e[2]),r.lineTo(...e[3]),r.lineTo(e[3][0]-n,e[3][1]),r.lineTo(e[10][0]-n,e[10][1]),r.lineTo(e[10][0]+n,e[10][1]),r.lineTo(e[3][0]+n,e[3][1]),r.lineTo(...e[3]),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]),r.moveTo(e[3][0]+n/2,e[8][1]),r.arc(e[3][0],e[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=t.getCenter(),[a,o]=i,s=(0,eT.xg)(i,e[3]),l=(0,eT.xg)(i,e[8]),c=(0,eT.xg)(i,e[10]),u=(0,eT.g7)((0,eT.jb)(e[2],i)),d=Math.asin(n/l),h=u-d,p=u+d;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(h)*s+a,Math.sin(h)*s+o),r.arc(a,o,s,h,p),r.lineTo(Math.cos(p)*c+a,Math.sin(p)*c+o),r.arc(a,o,c,p,h,!0),r.lineTo(Math.cos(h)*s+a,Math.sin(h)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let f=(h+p)/2;return r.moveTo(Math.cos(f)*(l+n/2)+a,Math.sin(f)*(l+n/2)+o),r.arc(Math.cos(f)*l+a,Math.sin(f)*l+o,n/2,f,2*Math.PI+f),r.closePath(),r}(t,n,4);return(0,U.c)(r.createElement("path",{})).call(H.AV,d).style("d",h.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(H.AV,e).node()}};nw.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nT={box:nA,violin:nw},nO=()=>(e,t,n,r)=>{let{x:i,y:a,y1:o,y2:s,y3:l,y4:c,series:u}=n,d=t.x,h=t.series,p=Array.from(e,e=>{let t=d.getBandWidth(d.invert(+i[e])),n=t*(h?h.getBandWidth(h.invert(+(null==u?void 0:u[e]))):1),p=(+(null==u?void 0:u[e])||0)*t,f=+i[e]+p+n/2,[g,m,b,y,v]=[+a[e],+o[e],+s[e],+l[e],+c[e]];return[[f-n/2,v],[f+n/2,v],[f,v],[f,y],[f-n/2,y],[f+n/2,y],[f+n/2,m],[f-n/2,m],[f-n/2,b],[f+n/2,b],[f,m],[f,g],[f-n/2,g],[f+n/2,g]].map(e=>r.map(e))});return[e,p]};nO.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:nT,channels:[...en({shapes:Object.keys(nT)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...eo(),{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};let nC={vector:nn},nk=()=>(e,t,n,r)=>{let{x:i,y:a,size:o,rotate:s}=n,[l,c]=r.getSize(),u=e.map(e=>{let t=s[e]/180*Math.PI,n=+o[e],u=n/l*Math.cos(t),d=-(n/c)*Math.sin(t);return[r.map([i[e]-u/2,a[e]-d/2]),r.map([+i[e]+u/2,+a[e]+d/2])]});return[e,u]};nk.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:nC,channels:[...en({shapes:Object.keys(nC)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...eo()],postInference:[...er()]};var nM=n(90794),nL=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 nI=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,i=nL(e,["arrow","arrowSize"]),{coordinate:a,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=nL(s,["color","lineWidth"]),{color:d=l,size:h=c}=t,p=n?function(e,t,n){return e.createElement("path",{style:Object.assign({d:`M ${t},${t} L -${t},0 L ${t},-${t} L 0,0 Z`,transformOrigin:"center"},n)})}(o,r,Object.assign({fill:i.stroke||d,stroke:i.stroke||d},(0,Z.Uq)(i,"arrow"))):null,f=function(e,t){if(!(0,z.pz)(t))return(0,D.A)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,nM.A)()({startAngle:0,endAngle:2*Math.PI,outerRadius:(0,eT.xg)(e[0],n),innerRadius:(0,eT.xg)(e[1],n)})}(e,a),g=function(e,t){if(!(0,z.pz)(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(a,t.transform);return(0,U.c)(o.createElement("path",{})).call(H.AV,u).style("d",f).style("stroke",d).style("lineWidth",h).style("transform",g).style("markerEnd",p).call(H.AV,i).node()}};nI.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nN=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(M)?[e,t]:[e,(0,x.A)({},t,{encode:{x:A(n)}})]};nN.props={};let nR={line:nI},nP=e=>(t,n,r,i)=>{let{x:a}=r,o=el(n,r,(0,x.A)({style:{bandOffset:0}},e)),s=Array.from(t,e=>[[a[e],1],[a[e],0]].map(t=>i.map(o(t,e))));return[t,s]};nP.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:nR,channels:[...ea({shapes:Object.keys(nR)}),{name:"x",required:!0}],preInference:[...eo(),{type:nN}],postInference:[]};let nD=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(M)?[e,t]:[e,(0,x.A)({},t,{encode:{y:A(n)}})]};nD.props={};let nj={line:nI},nB=e=>(t,n,r,i)=>{let{y:a}=r,o=el(n,r,(0,x.A)({style:{bandOffset:0}},e)),s=Array.from(t,e=>[[0,a[e]],[1,a[e]]].map(t=>i.map(o(t,e))));return[t,s]};nB.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:nj,channels:[...ea({shapes:Object.keys(nj)}),{name:"y",required:!0}],preInference:[...eo(),{type:nD}],postInference:[]};var nF=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};function nz(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let nU=(e,t)=>{let{offsetX:n=0,sourceOffsetX:r=n,targetOffsetX:i=n,offsetY:a=0,sourceOffsetY:o=a,targetOffsetY:s=a,connectLength1:l,endMarker:c=!0}=e,u=nF(e,["offsetX","sourceOffsetX","targetOffsetX","offsetY","sourceOffsetY","targetOffsetY","connectLength1","endMarker"]),{coordinate:d}=t;return(e,t,n)=>{let{color:a,connectLength1:h}=n,p=nF(n,["color","connectLength1"]),{color:f,transform:g}=t,m=function(e,t,n,r,i,a,o=0){let[[s,l],[c,u]]=t;if((0,z.kH)(e)){let e=s+n,t=e+o,d=l+i,h=u+a;return[[e,d],[t,d],[t,h],[c+r,h]]}let d=l-n,h=d-o,p=s-i,f=c-a;return[[p,d],[p,h],[f,h],[f,u-r]]}(d,e,o,s,r,i,null!=l?l:h),b=(0,Z.Uq)(Object.assign(Object.assign({},u),n),"endMarker");return(0,U.c)(new tj.wA).call(H.AV,p).style("d",(0,D.A)().x(e=>e[0]).y(e=>e[1])(m)).style("stroke",f||a).style("transform",g).style("markerEnd",c?new tN.p({className:"marker",style:Object.assign(Object.assign({},b),{symbol:nz})}):null).call(H.AV,u).node()}};nU.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nH={connector:nU},nG=(...e)=>nd(...e);function n$(e,t,n,r){if(t)return()=>[0,1];let{[e]:i,[`${e}1`]:a}=n;return e=>{var t;let n=(null==(t=r.getBandWidth)?void 0:t.call(r,r.invert(+a[e])))||0;return[i[e],a[e]+n]}}function nW(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,i,a)=>{let o=n$("x",t,i,r.x),s=n$("y",n,i,r.y),l=Array.from(e,e=>{let[t,n]=o(e),[r,i]=s(e);return[[t,r],[n,r],[n,i],[t,i]].map(e=>a.map(e))});return[e,l]}}nG.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:nH,channels:[...ea({shapes:Object.keys(nH)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo()],postInference:[]};let nV={range:R},nq=()=>nW();nq.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nV,channels:[...ea({shapes:Object.keys(nV)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo()],postInference:[]};let nY=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(M))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,x.A)({},t,{encode:{x:A(r(n,0)),x1:A(r(n,1))}})]}return[e,t]};nY.props={};let nZ={range:R},nX=()=>nW({extendY:!0});nX.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nZ,channels:[...ea({shapes:Object.keys(nZ)}),{name:"x",required:!0}],preInference:[...eo(),{type:nY}],postInference:[]};let nK=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(M))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,x.A)({},t,{encode:{y:A(r(n,0)),y1:A(r(n,1))}})]}return[e,t]};nK.props={};let nQ={range:R},nJ=()=>nW({extendX:!0});nJ.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nQ,channels:[...ea({shapes:Object.keys(nQ)}),{name:"y",required:!0}],preInference:[...eo(),{type:nK}],postInference:[]};var n0=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 n1=(e,t)=>{let{arrow:n,colorAttribute:r}=e,i=n0(e,["arrow","colorAttribute"]),{coordinate:a,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=n0(n,["color","stroke"]),{d:u,color:d=s}=t,[h,p]=a.getSize();return(0,U.c)(o.createElement("path",{})).call(H.AV,c).style("d","function"==typeof u?u({width:h,height:p}):u).style(r,d).call(H.AV,i).node()}};n1.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n2=(e,t)=>n1(Object.assign({colorAttribute:"fill"},e),t);n2.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n3=(e,t)=>n1(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);n3.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n5={path:n2,hollow:n3},n4=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];n4.props={defaultShape:"path",defaultLabelShape:"label",shape:n5,composite:!1,channels:[...en({shapes:Object.keys(n5)}),{name:"d",scale:"identity"}],preInference:[...eo()],postInference:[]};var n6=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 n8=(e,t)=>{let{render:n}=e,r=n6(e,["render"]);return e=>{let[[i,a]]=e;return n(Object.assign(Object.assign({},r),{x:i,y:a}),t)}};n8.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n7=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,x.A)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};n7.props={};let n9=e=>{let{cartesian:t}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};n9.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:n8},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:tF},{type:tU},{type:n7}]};var re=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 rt=(e,t)=>{let{document:n}=t;return(t,r,i)=>{let{transform:a}=r,{color:o}=i,s=re(i,["color"]),{color:l=o}=r,[c,...u]=t,d=(0,e2.Ae)();return d.moveTo(...c),u.forEach(([e,t])=>{d.lineTo(e,t)}),d.closePath(),(0,U.c)(n.createElement("path",{})).call(H.AV,s).style("d",d.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",a).call(H.AV,e).node()}};rt.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rn={density:rt},rr=()=>(e,t,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),s=Object.entries(n).filter(([e])=>e.startsWith("size")).map(([,e])=>e);if(void 0===i||void 0===o||void 0===s)throw Error("Missing encode for x or y or size channel.");let l=t.x,c=t.series,u=Array.from(e,t=>{let n=l.getBandWidth(l.invert(+i[t])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[t]))):1,d=(+(null==a?void 0:a[t])||0)*n,h=+i[t]+d+n*u/2;return[...o.map((n,r)=>[h+s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[h-s[r][t]/e.length,+o[r][t]]).reverse()].map(e=>r.map(e))});return[e,u]};rr.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:rn,channels:[...en({shapes:Object.keys(rn)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...eo(),{type:L},{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};var ri=n(10574),ra=n(81036);function ro(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}let rs=(0,n(59728).g)((e,t,n)=>{let r=ro(n,2*e,2*e),i=r.getContext("2d");if(1===t)i.beginPath(),i.arc(e,e,e,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(e,e,e*t,e,e,e);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);var rl=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 rc=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:s}=e,l=rl(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:d}=t;return(e,t,h)=>{let{transform:p}=t,[f,g]=c.getSize(),m=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),b=(0,ri.A)(e,e=>e[2]),y=(0,ra.A)(e,e=>e[2]),v=f&&g?function(e,t,n,r,i,a,o){let s=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);s.minOpacity*=255,s.opacity*=255,s.maxOpacity*=255;let l=ro(o,e,t).getContext("2d"),c=function(e,t){let n=ro(t,256,1).getContext("2d"),r=n.createLinearGradient(0,0,256,1);return("string"==typeof e?e.split(" ").map(e=>{let[t,n]=e.split(":");return[+t,n]}):e).forEach(([e,t])=>{r.addColorStop(e,t)}),n.fillStyle=r,n.fillRect(0,0,256,1),n.getImageData(0,0,256,1).data}(s.gradient,o);l.clearRect(0,0,e,t),function(e,t,n,r,i,a){let{blur:o}=i,s=r.length;for(;s--;){let{x:i,y:l,value:c,radius:u}=r[s],d=Math.min(c,n),h=i-u,p=l-u,f=rs(u,1-o,a);e.globalAlpha=Math.max((d-t)/(n-t),.001),e.drawImage(f,h,p)}}(l,n,r,i,s,o);let u=function(e,t,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:s,useGradientOpacity:l}=i,c=e.getImageData(0,0,t,n),u=c.data,d=u.length;for(let e=3;e{let i=e[r];return t(i,r)||(n[r]=i),n},{})}({gradient:n,opacity:r,minOpacity:a,maxOpacity:i,blur:o,useGradientOpacity:s},e=>void 0===e),u):{canvas:null};return(0,U.c)(d.createElement("image",{})).call(H.AV,h).style("x",0).style("y",0).style("width",f).style("height",g).style("src",v.canvas.toDataURL()).style("transform",p).call(H.AV,l).node()}};rc.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ru={heatmap:rc},rd=e=>(e,t,n,r)=>{let{x:i,y:a,size:o,color:s}=n;return[[0],[Array.from(e,e=>{let t=o?+o[e]:40;return[...r.map([+i[e],+a[e]]),s[e],t]})]]};rd.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:ru,channels:[...en({shapes:Object.keys(ru)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[...er()]};var rh=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 rp=(e,t)=>(function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let{width:n,height:r}=t,{data:i,encode:a={},scale:o,style:s={},layout:l={}}=e,c=rh(e,["data","encode","scale","style","layout"]),u=function(e,t){let{text:n="text",value:r="value"}=t;return e.map(e=>Object.assign(Object.assign({},e),{text:e[n],value:e[r]}))}(i,a);return(0,x.A)({},{axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:e=>e.fontFamily},tooltip:{items:[e=>({name:e.text,value:e.value})]}},Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},l)]},encode:a,scale:o,style:s},c),{axis:!1}))});rp.props={};var rf=n(16696),rg=n(20970),rm=n(92304),rb=n(74259);let ry={hollow:ti,hollowDiamond:ta,hollowHexagon:to,hollowSquare:ts,hollowTriangleDown:tl,hollowTriangle:tc,hollowBowtie:tu,hollowCircle:tf,point:tg,plus:tm,diamond:tb,square:ty,triangle:tv,hexagon:tE,cross:t_,bowtie:tx,hyphen:tA,line:tS,tick:tw,triangleDown:tT,circle:tp},rv=e=>(t,n,r,i)=>{let{x:a,y:o,size:s}=r;if(!a.length||!o.length)return[t,o.map(()=>[[]])];let[l,c]=i.getSize(),u=el(n,r,e),d=Array.from(t,e=>{let t=a[e]*l,n=o[e]*c,r=+s[e]||4;return{i:e,x:t,y:n,r}}),h=(0,rf.A)(d).stop().force("collide",(0,rg.A)().radius(e=>e.r+1).strength(1));h.force("x",(0,rm.A)(e=>e.x).strength(0)),h.force("y",(0,rb.A)(e=>e.y).strength(5));for(let e=0;e<200;e++)h.tick();h.stop();let p=e=>{let t=d.find(t=>t.i===e);return[t.x/l,t.y/c]},f=s?Array.from(t,e=>{let[t,n]=p(e),r=+s[e],a=r/l,o=r/c;return[i.map(u([t-a,n-o],e)),i.map(u([t+a,n+o],e))]}):Array.from(t,e=>[i.map(u(p(e),e))]);return[t,f]};rv.props={defaultShape:"point",defaultLabelShape:"label",composite:!1,shape:ry,channels:[...en({shapes:Object.keys(ry)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[{type:tC},...er()]};let rE=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];rE.props={};let r_=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];r_.props={};var rx=n(14438);let rA=e=>new rx.W(e);rA.props={};var rS=n(73628);let rw=e=>new rS.w(e);rw.props={};var rT=n(67998);let rO=e=>new rT.w(e);rO.props={};var rC=n(42338),rk=n(20430),rM=n(33300),rL=n(46032);class rI extends rk.C{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:rM.mg}}map(e){return(0,rL.f)(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new rI(this.options)}getTicks(){let{domain:e,tickCount:t,tickMethod:n}=this.options,[r,i]=e;return(0,rC.A)(r)&&(0,rC.A)(i)?n(r,i,t):[]}}let rN=e=>new rI(e);rN.props={};class rR extends rT.w{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:rS.o,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new rR(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}let rP=e=>new rR(e);rP.props={};var rD=n(59222),rj=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,rB=/\[([^]*?)\]/gm;function rF(e,t){for(var n=[],r=0,i=e.length;r-1?r:null}};function rU(e){for(var t=[],n=1;n3?0:(e-e%10!=10)*e%10]}}),rV=function(e,t){for(void 0===t&&(t=2),e=String(e);e.lengthe.getHours()?t.amPm[0]:t.amPm[1]},A:function(e,t){return 12>e.getHours()?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+rV(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+rV(Math.floor(Math.abs(t)/60),2)+":"+rV(Math.abs(t)%60,2)}};rz("monthNamesShort"),rz("monthNames");var rY={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"},rZ=function(e,t,n){if(void 0===t&&(t=rY.default),void 0===n&&(n={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw Error("Invalid Date pass to format");t=rY[t]||t;var r=[];t=t.replace(rB,function(e,t){return r.push(t),"@@@"});var i=rU(rU({},rW),n);return(t=t.replace(rj,function(t){return rq[t](e,i)})).replace(/@@@/g,function(){return r.shift()})},rX=n(3021);function rK(e,t,n,r){let i=(e,i)=>{i&&((e,t)=>{let i=e=>r(e)%t==0,a=t;for(;a&&!i(e);)n(e,-1),a-=1})(e,i),t(e)},a=(e,t)=>{let r=new Date(e-1);return i(r,t),n(r,t),i(r),r};return{ceil:a,floor:(e,t)=>{let n=new Date(+e);return i(n,t),n},range:(e,t,r,o)=>{let s=[],l=Math.floor(r),c=o?a(e,r):a(e);for(;ce,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),rJ=rK(1e3,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getSeconds()),r0=rK(6e4,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getMinutes()),r1=rK(36e5,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getHours()),r2=rK(864e5,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+864e5*t)},e=>e.getDate()-1),r3=rK(2592e6,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),r5={millisecond:rQ,second:rJ,minute:r0,hour:r1,day:r2,week:rK(6048e5,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{let t=r3.floor(e);return Math.floor((new Date(+e)-t)/6048e5)}),month:r3,year:rK(31536e6,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear())},r4=rK(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),r6=rK(1e3,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getUTCSeconds()),r8=rK(6e4,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getUTCMinutes()),r7=rK(36e5,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getUTCHours()),r9=rK(864e5,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+864e5*t)},e=>e.getUTCDate()-1),ie=rK(2592e6,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),it={millisecond:r4,second:r6,minute:r8,hour:r7,day:r9,week:rK(6048e5,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+6048e5*t)},e=>{let t=ie.floor(e);return Math.floor((new Date(+e)-t)/6048e5)}),month:ie,year:rK(31536e6,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear())};var ir=n(10569),ii=n(88491);function ia(e,t,n,r,i){let a,o=+e,s=+t,{tickIntervals:l,year:c,millisecond:u}=function(e){let{year:t,month:n,week:r,day:i,hour:a,minute:o,second:s,millisecond:l}=e?it:r5;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[t,1]],year:t,millisecond:l}}(i),d=([e,t])=>e.duration*t,h=r?(s-o)/r:n||5,p=r||(s-o)/h,f=l.length,g=(0,ir.h)(l,p,0,f,d);if(g===f){let e=(0,ii.s)(o/c.duration,s/c.duration,h);a=[c,e]}else if(g){let[e,t]=p/d(l[g-1]){let a=e>t,o=a?t:e,s=a?e:t,[l,c]=ia(o,s,n,r,i),u=l.range(o,new Date(+s+1),c,!0);return a?u.reverse():u};var is=n(96474);let il=(e,t,n,r,i)=>{let a=e>t,o=a?t:e,s=a?e:t,[l,c]=ia(o,s,n,r,i),u=[l.floor(o,c),l.ceil(s,c)];return a?u.reverse():u};function ic(e){let t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}class iu extends rX.W{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:io,interpolate:is.P7,mask:void 0,utc:!1}}chooseTransforms(){return[e=>+e,e=>new Date(e)]}chooseNice(){return il}getTickMethodOptions(){let{domain:e,tickCount:t,tickInterval:n,utc:r}=this.options;return[e[0],e[e.length-1],t,n,r]}getFormatter(){let{mask:e,utc:t}=this.options,n=t?it:r5,r=t?ic:rD.A;return t=>rZ(r(t),e||function(e,t){let{second:n,minute:r,hour:i,day:a,week:o,month:s,year:l}=t;return n.floor(e)new iu(e);id.props={};let ih=e=>t=>-e(-t),ip=(e,t)=>{let n=Math.log(e),r=e===Math.E?Math.log:10===e?Math.log10:2===e?Math.log2:e=>Math.log(e)/n;return t?ih(r):r},ig=(e,t)=>{let n=e===Math.E?Math.exp:t=>e**t;return t?ih(n):n};var im=n(2018);let ib=(e,t,n,r=10)=>{let i=e<0,a=ig(r,i),o=ip(r,i),s=t=1;t-=1){let n=e*t;if(n>c)break;n>=l&&h.push(n)}}else for(;u<=d;u+=1){let e=a(u);for(let t=1;tc)break;n>=l&&h.push(n)}}2*h.length{let i=e<0,a=ip(r,i),o=ig(r,i),s=e>t,l=[o(Math.floor(a(s?t:e))),o(Math.ceil(a(s?e:t)))];return s?l.reverse():l};class iv extends rX.W{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:is.Hx,tickMethod:ib,tickCount:5}}chooseNice(){return iy}getTickMethodOptions(){let{domain:e,tickCount:t,base:n}=this.options;return[e[0],e[e.length-1],t,n]}chooseTransforms(){let{base:e,domain:t}=this.options,n=t[0]<0;return[ip(e,n),ig(e,n)]}clone(){return new iv(this.options)}}let iE=e=>new iv(e);iE.props={};let i_=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);class ix extends rX.W{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:is.Hx,tickMethod:im.O,tickCount:5}}constructor(e){super(e)}chooseTransforms(){let{exponent:e}=this.options;return 1===e?[rD.A,rD.A]:[.5===e?i_:t=>t<0?-((-t)**e):t**e,t=>t<0?-((-t)**(1/e)):t**(1/e)]}clone(){return new ix(this.options)}}let iA=e=>new ix(e);iA.props={};class iS extends ix{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:is.Hx,tickMethod:im.O,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new iS(this.options)}}let iw=e=>new iS(e);iw.props={};var iT=n(36862);let iO=e=>new iT.O(e);iO.props={};var iC=n(98909);let ik=e=>new iC.M(e);ik.props={};var iM=n(35920);let iL=e=>new iM.A(e);iL.props={};var iI=n(14133),iN=n(65158);let iR=u8=class extends rx.W{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:rD.A,tickMethod:im.O,tickCount:5}}constructor(e){super(e)}clone(){return new u8(this.options)}};iR=u8=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([(u4=function(e){return[e(0),e(1)]},u6=e=>{let[t,n]=e;return(0,iI.Z)((0,is.P7)(0,1),(0,iN.c)(t,n))},e=>{e.prototype.rescale=function(){this.initRange(),this.nice();let[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},e.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=u4(e)},e.prototype.composeOutput=function(e,t){let{domain:n,interpolator:r,round:i}=this.getOptions(),a=u6(n.map(e)),o=i?e=>{let t=r(e);return(0,rC.A)(t)?Math.round(t):t}:r;this.output=(0,iI.Z)(o,a,t,e)},e.prototype.invert=void 0})],iR);let iP=e=>new iR(e);iP.props={};var iD=n(24223);let ij=e=>new iD.h(e);ij.props={};var iB=n(18961);function iF({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:i,padding1:a,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:d,alpha10:h,category10:p,category20:f,sizeDefault:g=1,padding:m="auto",margin:b=16}){return{padding:m,margin:b,size:g,color:e,category10:p,category20:f,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:i,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:t,labelOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:a,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:u,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:u,titleFill:t,titleOpacity:l,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:l,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,focusMarkerSize:12,itemSpacing:[a,a,a/2],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:a,colPadding:o,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:u,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:l,tickStroke:t,tickStrokeOpacity:u},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:l,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:c,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{[(0,iB.Nw)("tooltip")]:{"font-family":"sans-serif"}}}}}let iz=iF({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),iU=e=>(0,x.A)({},iz,e);iU.props={};let iH=e=>(0,x.A)({},iU(),{category10:"category10",category20:"category20"},e);iH.props={};let iG=iF({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),i$=e=>(0,x.A)({},iG,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{[(0,iB.Nw)("tooltip")]:{background:"#1f1f1f",opacity:.95},[(0,iB.Nw)("tooltip-title")]:{color:"#A6A6A6"},[(0,iB.Nw)("tooltip-list-item-name-label")]:{color:"#A6A6A6"},[(0,iB.Nw)("tooltip-list-item-value")]:{color:"#A6A6A6"}}}},e),iW=e=>Object.assign({},i$(),{category10:"category10",category20:"category20"},e);iW.props={};let iV=iF({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),iq=e=>(0,x.A)({},iV,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(e,t)=>0!==t},axisRight:{gridFilter:(e,t)=>0!==t},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);iq.props={};var iY=n(73916);let iZ=e=>(...t)=>{let n=(0,iY.xs)(Object.assign({},{crossPadding:50},e))(...t);return(0,iY.bs)(n,e),n};iZ.props=Object.assign(Object.assign({},iY.xs.props),{defaultPosition:"bottom"});let iX=e=>(...t)=>{let n=(0,iY.xs)(Object.assign({},{crossPadding:10},e))(...t);return(0,iY.bs)(n,e),n};iX.props=Object.assign(Object.assign({},iY.xs.props),{defaultPosition:"left"});var iK=n(30912),iQ=n(10992),iJ=n(59829),i0=n(86016),i1=n(26489),i2=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let i3="legend-category",i5="legend-html-category";function i4(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function i6(e){return e.getElementsByClassName("legend-category-item-label")[0]}function i8(e){return e.getElementsByClassName("legend-category-item-focus-group")[0]}function i7(e){return e.getElementsByClassName("items-item")}function i9(e){return e.getElementsByClassName(i3)}function ae(e){return e.getElementsByClassName("legend-continuous")}function at(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function an(e,t){return i2(this,arguments,void 0,function*(e,{legend:t,channel:n,value:r,ordinal:i,channels:a,allChannels:o,facet:s=!1}){let{view:l,update:c,setState:u}=e;u(t,e=>{var c,u;let{marks:d}=e,h=null==(u=null==(c=t.attributes)?void 0:c.scales)?void 0:u.find(e=>e.name===n),p=d.map(t=>{var c,u;if((null!=(c=t.scale[n].key)?c:n)!==(null!=(u=null==h?void 0:h.key)?u:null==h?void 0:h.name)||"legends"===t.type||iB.r3.includes(t.type))return t;let{transform:d=[],data:p=[]}=t,f=d.findIndex(({type:e})=>e.startsWith("group")||e.startsWith("bin")),g=[...d];p.length&&g.splice(f+1,0,{type:"filter",[n]:{value:r,ordinal:i}});let m=Object.fromEntries(a.map(t=>{let n=function(e,t,n){var r;let i=Object.keys(e).find(r=>{if(r.startsWith(n)){let i=e[r].getOptions();return i.name===n&&i.markKey===t}});return null!=(r=e[i])?r:e[n]}(l.scale,e.key,t);return[t,{domain:n.getOptions().domain}]}));return(0,x.A)({},t,Object.assign(Object.assign({transform:g,scale:m},!i&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:p})}),yield c()})}function ar(e,t){for(let n of e)an(n,Object.assign(Object.assign({},t),{facet:!0}))}function ai(){return(e,t,n)=>{let{container:r}=e,i=t.filter(t=>t!==e),a=i.length>0,o=e=>at(e).scales.map(e=>e.name),s=[...i9(r),...r.getElementsByClassName(i5),...ae(r)],l=s.flatMap(o),c=a?(0,i0.A)(ar,50,{trailing:!0}):(0,i0.A)(an,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=at(t).scales[0],d=o(t),h={legend:t,channel:s,channels:d,allChannels:l};return t.className===i3?function(e,{legends:t,marker:n,label:r,datum:i,filter:a,defaultSelect:o,emitter:s,channel:l,state:c={}}){let u=new Map,d=new Map,h=new Map,p=new Map,{unselected:f={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,g={unselected:(0,Z.Uq)(f,"marker")},m={unselected:(0,Z.Uq)(f,"label")},{setState:b,removeState:y}=(0,i1.J0)(g,void 0),{setState:v,removeState:E}=(0,i1.J0)(m,void 0),_=Array.from(t(e)),x=_.map(i),A=()=>{for(let e of _){let t=i(e),a=n(e),o=r(e);x.includes(t)?(y(a,"unselected"),E(o,"unselected")):(b(a,"unselected"),v(o,"unselected"))}};for(let t of _){let n=()=>{(0,i1.f9)(e,"pointer")},r=()=>{(0,i1.Fl)(e)},o=e=>i2(this,void 0,void 0,function*(){let n=i(t),r=x.indexOf(n);-1===r?x.push(n):x.splice(r,1),yield a(x),A();let{nativeEvent:o=!0}=e;o&&(x.length===_.length?s.emit("legend:reset",{nativeEvent:o}):s.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:o,data:{channel:l,values:x}})))});t.addEventListener("click",o),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),u.set(t,o),d.set(t,n),h.set(t,r);let c=i8(t);if(c){let e=e=>i2(this,void 0,void 0,function*(){e.stopPropagation();let n=i(t),r=x.indexOf(n),{nativeEvent:o=!0}=e;if(-1!==r&&1===x.length){if(!o)return;x=_.map(i),yield a(x),A(),s.emit("legend:reset",{nativeEvent:o})}else{if(x=[n],yield a(x),A(),!o)return;s.emit("legend:focus",Object.assign(Object.assign({},e),{nativeEvent:o,data:{channel:l,value:n}}))}});c.addEventListener("click",e),p.set(t,e)}}let S=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,value:i}=n;r===l&&(x=[i],yield a(x),A())}),w=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:i}=n;r===l&&(x=i,yield a(x),A())}),O=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(x=_.map(i),yield a(x),A())});return s.on("legend:filter",w),s.on("legend:focus",S),s.on("legend:reset",O),o&&s.emit("legend:filter",{data:{channel:l,values:o}}),()=>{for(let e of _){e.removeEventListener("click",u.get(e)),e.removeEventListener("pointerenter",d.get(e)),e.removeEventListener("pointerout",h.get(e));let t=i8(e);t&&t.removeEventListener("click",p.get(e))}s.off("legend:focus",S),s.off("legend:filter",w),s.off("legend:reset",O)}}(t,{legends:i7,marker:i4,label:i6,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!0});a?c(i,n):c(e,n)},state:t.attributes.state,defaultSelect:t.attributes.defaultSelect,channel:s,emitter:n}):t.className===i5?function(e,{domain:t,filter:n,defaultSelect:r,emitter:i,channel:a}){let o=new Map,s=new Map,l=new Map,c=[...t],u=()=>{var t;let n=null==(t=e.ownerDocument)?void 0:t.defaultView;return n&&n.getContextService().getDomElement().parentElement||document.body},d=()=>{u().querySelectorAll("[legend-value]").forEach(e=>{let n=e.getAttribute("legend-value");if(n&&t.includes(n))c.includes(n)?(e.style.opacity="1",e.classList.remove("legend-item-inactive")):(e.style.opacity="0.4",e.classList.add("legend-item-inactive"))})},h=u().querySelector(".legend-html"),p=e=>i2(this,void 0,void 0,function*(){let r=e.target;for(;r&&!r.hasAttribute("legend-value")&&(r=r.parentElement)!==h;);if(!r||!r.hasAttribute("legend-value"))return;e.preventDefault(),e.stopPropagation();let o=r.getAttribute("legend-value");if(!o)return;let s=c.indexOf(o);-1===s?c.push(o):c.splice(s,1),yield n(c),d(),c.length===t.length?i.emit("legend:reset",{nativeEvent:!0}):i.emit("legend:filter",{nativeEvent:!0,data:{channel:a,values:c}})});h.addEventListener("click",p),o.set(h,p);let f=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:r}=e,{channel:i,value:o}=r;i===a&&(c=[o],yield n(c),d())}),g=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:r}=e,{channel:i,values:o}=r;i===a&&(c=o,yield n(c),d())}),m=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:r}=e;r||(c=[...t],yield n(c),d())});return i.on("legend:filter",g),i.on("legend:focus",f),i.on("legend:reset",m),r&&i.emit("legend:filter",{data:{channel:a,values:r}}),()=>{u().querySelectorAll("[legend-value]").forEach(e=>{let n=e.getAttribute("legend-value");if(!n||!t.includes(n))return;let r=o.get(e),i=s.get(e),a=l.get(e);r&&e.removeEventListener("click",r),i&&e.removeEventListener("pointerenter",i),a&&e.removeEventListener("pointerout",a)}),o.clear(),s.clear(),l.clear(),i.off("legend:filter",g),i.off("legend:focus",f),i.off("legend:reset",m)}}(r,{domain:u,filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!0});a?c(i,n):c(e,n)},defaultSelect:t.attributes.defaultSelect,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:i}){let{attributes:a}=t,o=e=>{let{value:t}=e.detail,o=t.map(e=>{var t,n;let r=null==(t=a.data)?void 0:t.find(t=>t.value===e);return r&&null!=(n=r.domainValue)?n:e});n(o),r.emit({nativeEvent:!0,data:{channel:i,values:o}})};return t.addEventListener("valuechange",o),()=>{t.removeEventListener("valuechange",o)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!1});a?c(i,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}}var aa=n(83277),ao=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};function as(e,t){let n=(0,aa._K)(e,"shape"),r=(0,aa._K)(e,"color"),i=n?n.clone():null,a=[];for(let[e,n]of t){let t=e.type,o=((null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data).map((t,r)=>{var a;return i?i.map(t||"point"):(null==(a=null==e?void 0:e.style)?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof t&&a.push([t,o])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(([e,t])=>{let n=0;for(let e=0;et[0]-e[0])[0][1]}let al=e=>{let{labelFormatter:t,layout:n,order:r,orientation:i,position:a,size:o,title:s,cols:l,itemMarker:c,render:u}=e,d=ao(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker","render"]),{gridRow:h}=d;return t=>{let{value:r,theme:i}=t,{bbox:o}=r,{width:c,height:p}=function(e,t,n){let{position:r}=t;if("center"===r){let{bbox:t}=e,{width:n,height:r}=t;return{width:n,height:r}}let{width:i,height:a}=(0,aa.bM)(e,t,n);return{width:i,height:a}}(r,e,al),f=(0,aa.GA)(a,n),g=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:p,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==h&&{gridRow:h}),{titleText:(0,aa.ki)(s)}),function(e,t){let{labelFormatter:n=e=>`${e}`}=e,{scales:r,theme:i}=t,a=function(e,t){let n=(0,aa._K)(e,"size");return n instanceof rI?2*n.map(NaN):t}(r,i.legendCategory.itemMarkerSize),o={itemMarker:function(e,t){let{scales:n,library:r,markState:i}=t,[a,o]=as(n,i),{itemMarker:s,itemMarkerSize:l}=e,c=(e,t)=>{var n,i,o;let s=(null==(o=null==(i=null==(n=r[`mark.${a}`])?void 0:n.props)?void 0:i.shape[e])?void 0:o.props.defaultMarker)||(0,iQ.A)(e.split(".")),c="function"==typeof l?l(t):l;return()=>(0,e9.m9)(s,{color:t.color})(0,0,c)},u=e=>`${o[e]}`;return(0,aa._K)(n,"shape")&&!s?(e,t)=>c(u(t),e):"function"==typeof s?(e,t)=>{let n=s(e.id,t);return"string"==typeof n?c(n,e):n}:(e,t)=>c(s||u(t),e)}(Object.assign(Object.assign({},e),{itemMarkerSize:a}),t),itemMarkerSize:a,itemMarkerOpacity:function(e){let t=(0,aa._K)(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r),itemMarkerLineWidth:function(e,t){let{scales:n,markState:r}=t,[i,a]=as(n,r),{itemMarker:o,itemMarkerLineWidth:s}=e;if(void 0!==s)return s;let l=["line","hyphen","dash","smooth","hv","hvh","vh","vhv"];return"string"==typeof o&&l.includes(o)?4:"function"==typeof o?(e,t)=>{let n=o(e.id,t);if("string"==typeof n&&l.includes(n))return 4}:(Array.isArray(a)?a:[a]).some(e=>l.includes(e))?4:void 0}(e,t)},s="string"==typeof n?(0,iJ.GP)(n):n,l=(0,aa._K)(r,"color"),c=(0,aa.Ow)(r),u=l?e=>l.map(e):()=>t.theme.color;return Object.assign(Object.assign({},o),{data:c.map(e=>({id:e,label:s(e),color:u(e)}))})}(e,t)),{legendCategory:m={}}=i,b=(0,aa.y$)(Object.assign({},m,function(e){return Object.assign(Object.assign({},e),{data:(null==e?void 0:e.data.filter(e=>""!==e.id&&void 0!==e.id))||[]})}(g),d,{classNamePrefix:iB.Wy}));if(u)return new iK.b({className:i5,style:Object.assign(Object.assign({},b),{x:o.x,y:o.y,render:u})});let y=new aa.qX({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:b})});return y.appendChild(new iK.b({className:"legend-category",style:b})),y}};al.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var ac=n(22808);let au=e=>()=>new tj.YJ;au.props={};var ad=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};function ah(e,t,n,r){switch(r){case"center":return{x:e+n/2,y:t,textAlign:"middle"};case"right":return{x:e+n,y:t,textAlign:"right"};default:return{x:e,y:t,textAlign:"left"}}}let ap=(0,aa.a0)({render(e,t){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:s,y:l}=e,c=ad(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=(0,Z.Uq)(c,"title"),d=(0,Z.Uq)(c,"subtitle"),h=(0,aa.hN)(t,".title","text").attr("className","title").call(H.AV,Object.assign(Object.assign(Object.assign({},ah(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node().getLocalBounds();(0,aa.hN)(t,".sub-title","text").attr("className","sub-title").call(e=>{if(!i)return e.node().remove();e.node().attr(Object.assign(Object.assign(Object.assign({},ah(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),d))})}}),af=e=>({value:t,theme:n})=>{let{x:r,y:i,width:a,height:o}=t.bbox;return new ap({style:(0,x.A)({},n.title,Object.assign({x:r,y:i,width:a,height:o},e))})};af.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var ag=n(81256),am=n(50636),ab=n(84059),ay=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 av=e=>{let{orientation:t,labelFormatter:n,size:r,style:i={},position:a}=e,o=ay(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:d}=r,{bbox:h}=c,{width:p,height:f}=h,{slider:g={}}=u,m=(null==(s=l.getFormatter)?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,iJ.GP)(n):n,y="horizontal"===t,v=(0,z.kH)(d)&&y,{trackSize:E=g.trackSize}=i,[_,x]=function(e,t,n){let{x:r,y:i,width:a,height:o}=e;return"left"===t?[r+a-n,i]:"right"===t||"bottom"===t?[r,i]:"top"===t?[r,i+o-n]:void 0}(h,a,E);return new ag.A({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:_,y:x,trackLength:y?p:f,orientation:t,formatter:e=>(b||m)((0,ab.B8)(l,v?1-e:e,!0)),sparklineData:function(e,t){let{markState:n}=t;if((0,am.A)(e.sparklineData))return e.sparklineData;var r=["y","series"];let[i]=Array.from(n.entries()).filter(([e])=>"line"===e.type||"area"===e.type||"interval"===e.type).filter(([e])=>e.slider).map(([e])=>{let{encode:t,slider:n}=e;if(null==n?void 0:n.x)return Object.fromEntries(r.map(e=>{let n=t[e];return[e,n?n.value:void 0]}))});return(null==i?void 0:i.series)?Object.values(i.series.reduce((e,t,n)=>(e[t]=e[t]||[],e[t].push(i.y[n]),e),{})):null==i?void 0:i.y}(e,r)},i),o))})}};av.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let aE=e=>av(Object.assign(Object.assign({},e),{orientation:"horizontal"}));aE.props=Object.assign(Object.assign({},av.props),{defaultPosition:"bottom"});let a_=e=>av(Object.assign(Object.assign({},e),{orientation:"vertical"}));a_.props=Object.assign(Object.assign({},av.props),{defaultPosition:"left"});var ax=n(39249),aA=n(31563),aS=n(73534),aw=n(8798),aT=n(87287),aO=n(68058),aC=n(96816),ak=function(e){function t(t){var n=e.call(this,t,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(e){var t=n.attributes.value;if(e!==t){var r={detail:{oldValue:e,value:t}};n.dispatchEvent(new tj.up("scroll",r)),n.dispatchEvent(new tj.up("valuechange",r))}},n.onTrackClick=function(e){if(n.attributes.slidable){var t=(0,ax.zs)(n.getLocalPosition(),2),r=t[0],i=t[1],a=(0,ax.zs)(n.padding,4),o=a[0],s=a[3],l=n.getOrientVal([r+s,i+o]),c=(n.getOrientVal((0,aw.n)(e))-l)/n.trackLength;n.setValue(c,!0)}},n.onThumbMouseenter=function(e){n.dispatchEvent(new tj.up("thumbMouseenter",{detail:e.detail}))},n.onTrackMouseenter=function(e){n.dispatchEvent(new tj.up("trackMouseenter",{detail:e.detail}))},n.onThumbMouseleave=function(e){n.dispatchEvent(new tj.up("thumbMouseleave",{detail:e.detail}))},n.onTrackMouseleave=function(e){n.dispatchEvent(new tj.up("trackMouseleave",{detail:e.detail}))},n}return(0,ax.C6)(t,e),Object.defineProperty(t.prototype,"padding",{get:function(){var e=this.attributes.padding;return(0,aT.i)(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e=this.attributes.value,t=(0,ax.zs)(this.range,2),n=t[0],r=t[1];return(0,aA.A)(e,n,r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackLength",{get:function(){var e=this.attributes,t=e.viewportLength,n=e.trackLength;return void 0===n?t:n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var e=this.attributes.trackSize,t=this.trackLength,n=(0,ax.zs)(this.padding,4),r=n[0],i=n[1],a=n[2],o=n[3],s=(0,ax.zs)(this.getOrientVal([[t,e],[e,t]]),2);return{x:o,y:r,width:s[0]-(o+i),height:s[1]-(r+a)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackRadius",{get:function(){var e=this.attributes,t=e.isRound,n=e.trackSize;return t?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumbRadius",{get:function(){var e=this.attributes,t=e.isRound,n=e.thumbRadius;if(!t)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),t.prototype.getValues=function(e){void 0===e&&(e=this.value);var t=this.attributes,n=t.viewportLength/t.contentLength,r=(0,ax.zs)(this.range,2),i=r[0],a=e*(r[1]-i-n);return[a,a+n]},t.prototype.getValue=function(){return this.value},t.prototype.renderSlider=function(e){var t=this.attributes,n=t.x,r=t.y,i=t.orientation,a=t.trackSize,o=t.padding,s=t.slidable,l=(0,aO.iA)(this.attributes,"track"),c=(0,aO.iA)(this.attributes,"thumb"),u=(0,ax.Cl)((0,ax.Cl)({x:n,y:r,brushable:!1,orientation:i,padding:o,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:a,values:this.getValues()},(0,aO.dQ)(l,"track")),(0,aO.dQ)(c,"selection"));this.slider=(0,aC.Lt)(e).maybeAppendByClassName("scrollbar",function(){return new ag.A({style:u})}).update(u).node()},t.prototype.render=function(e,t){this.renderSlider(t)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.attributes.value,r=(0,ax.zs)(this.range,2),i=r[0],a=r[1];this.slider.setValues(this.getValues((0,aA.A)(e,i,a)),t),this.onValueChange(n)},t.prototype.bindEvents=function(){var e=this;this.slider.addEventListener("trackClick",function(t){t.stopPropagation(),e.onTrackClick(t.detail)}),this.onHover()},t.prototype.getOrientVal=function(e){return"horizontal"===this.attributes.orientation?e[0]:e[1]},t.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},t.tag="scrollbar",t}(aS.u),aM=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 aL=e=>{let{orientation:t,labelFormatter:n,style:r}=e,i=aM(e,["orientation","labelFormatter","style"]);return({scales:[e],value:n,theme:a})=>{let{bbox:o}=n,{x:s,y:l,width:c,height:u}=o,{scrollbar:d={}}=a,{ratio:h,range:p}=e.getOptions(),f="horizontal"===t?c:u,g=f/h,[m,b]=p;return new ak({className:`${iB.Wy}scrollbar`,style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:f,value:b>m?0:1}),i),{orientation:t,contentLength:g,viewportLength:f}))})}};aL.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let aI=e=>aL(Object.assign(Object.assign({},e),{orientation:"horizontal"}));aI.props=Object.assign(Object.assign({},aL.props),{defaultPosition:"bottom"});let aN=e=>aL(Object.assign(Object.assign({},e),{orientation:"vertical"}));aN.props=Object.assign(Object.assign({},aL.props),{defaultPosition:"left"});let aR=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],h=[{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.01},{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aP=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],h=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aD=(e,t)=>{let{coordinate:n}=t;return tj.Ks.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:tj.NZ.NUMBER}),(t,r,i)=>{let[a]=t;return(0,z.pz)(n)?(t=>{let{__data__:r,style:a}=t,{fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a,{points:c,y:u,y1:d}=r,{innerRadius:h,outerRadius:p}=(0,H.Iq)(n,c,[u,d]);return t.animate([{scaleInYRadius:h+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:h+1e-4,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{scaleInYRadius:p,fillOpacity:o,strokeOpacity:s,opacity:l}],Object.assign(Object.assign({},i),e))})(a):(t=>{let{style:r}=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=(0,z.kH)(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${a} ${u}`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} ${u}`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${a} scale(1, 1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}];return t.animate(d,Object.assign(Object.assign({},i),e))})(a)}},aj=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],h=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aB=(e,t)=>{tj.Ks.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:tj.NZ.NUMBER});let{coordinate:n}=t;return(r,i,a)=>{let[o]=r;if(!(0,z.pz)(n))return aR(e,t)(r,i,a);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:d=1,strokeOpacity:h=1,opacity:p=1}=l,{points:f,y:g,y1:m}=s,b=(0,nM.A)().cornerRadius(c).padAngle(u*Math.PI/180),y=(0,H.Iq)(n,f,[g,m]),{startAngle:v,endAngle:E}=y,_=o.animate([{waveInArcAngle:v+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:v+1e-4,fillOpacity:d,strokeOpacity:h,opacity:p,offset:.01},{waveInArcAngle:E,fillOpacity:d,strokeOpacity:h,opacity:p}],Object.assign(Object.assign({},a),e));return _.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},_.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:E}))},_}};aB.props={};let aF=e=>(t,n,r)=>{let[i]=t,{fillOpacity:a=1,strokeOpacity:o=1,opacity:s=1}=i.style;return i.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:s}],Object.assign(Object.assign({},r),e))};aF.props={};let az=e=>(t,n,r)=>{let[i]=t,{fillOpacity:a=1,strokeOpacity:o=1,opacity:s=1}=i.style;return i.animate([{fillOpacity:a,strokeOpacity:o,opacity:s},{fillOpacity:0,strokeOpacity:0,opacity:0}],Object.assign(Object.assign({},r),e))};az.props={};let aU=e=>(t,n,r)=>{let[i]=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=i.style,c="center center",u=[{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${a} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}];return i.animate(u,Object.assign(Object.assign({},r),e))},aH=e=>(t,n,r)=>{let[i]=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=i.style,c="center center",u=[{transform:`${a} scale(1)`.trimStart(),transformOrigin:c},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(u,Object.assign(Object.assign({},r),e))},aG=e=>(t,n,r)=>{var i;let[a]=t,o=(null==(i=a.getTotalLength)?void 0:i.call(a))||0;return a.animate([{lineDash:[0,o]},{lineDash:[o,0]}],Object.assign(Object.assign({},r),e))};aG.props={};var a$=n(63880),aW=n(9681);let aV={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},aq={[tj.yp.CIRCLE]:["cx","cy","r"],[tj.yp.ELLIPSE]:["cx","cy","rx","ry"],[tj.yp.RECT]:["x","y","width","height"],[tj.yp.IMAGE]:["x","y","width","height"],[tj.yp.LINE]:["x1","y1","x2","y2"],[tj.yp.POLYLINE]:["points"],[tj.yp.POLYGON]:["points"]};function aY(e,t,n=!1){let r={};for(let i of t){let t=e.style[i];t?r[i]=t:n&&(r[i]=aV[i])}return r}let aZ=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function aX(e){let{min:t,max:n}=e.getLocalBounds(),[r,i]=t,[a,o]=n;return[r,i,a-r,o-i]}function aK(e,t){let[n,r,i,a]=aX(e),o=Math.ceil(Math.sqrt(t/(a/i))),s=[],l=a/Math.ceil(t/o),c=0,u=t;for(;u>0;){let e=Math.min(u,o),t=i/e;for(let i=0;i{E3(()=>{let s=getComputedStyle(e),p=e.getBoundingClientRect(),f=Math.max(1,Math.ceil(e.offsetWidth||parseFloat(s.width)||p.width||1)),g=Math.max(1,Math.ceil(e.offsetHeight||parseFloat(s.height)||p.height||1)),m=(e,t=NaN)=>{let n="string"==typeof e?parseFloat(e):e;return Number.isFinite(n)?n:t},b=m(t.width),y=m(t.height),v=f,E=g,_=Number.isFinite(b),x=Number.isFinite(y),A=g>0?f/g:1;_&&x?(v=Math.max(1,Math.ceil(b)),E=Math.max(1,Math.ceil(y))):_?E=Math.max(1,Math.ceil((v=Math.max(1,Math.ceil(b)))/(A||1))):x?v=Math.max(1,Math.ceil((E=Math.max(1,Math.ceil(y)))*(A||1))):(v=f,E=g);let S=0,w=0,O=f,C=g;if(l&&h&&Number.isFinite(h.a)){let e=_V(f,g,{a:h.a,b:h.b||0,c:h.c||0,d:h.d||1,e:0,f:0},0,0);S=e.minX,w=e.minY,O=e.maxX,C=e.maxY}else if(!l&&function(e){let t=getComputedStyle(e),n=t.transform||"none";if("none"!==n&&!/^matrix\(\s*1\s*,\s*0\s*,\s*0\s*,\s*1\s*,\s*0\s*,\s*0\s*\)$/i.test(n))return!0;let r=t.rotate&&"none"!==t.rotate&&"0deg"!==t.rotate,i=t.scale&&"none"!==t.scale&&"1"!==t.scale,a=t.translate&&"none"!==t.translate&&"0px 0px"!==t.translate;return!!(r||i||a)}(e)){let t=s.transform&&"none"!==s.transform?s.transform:"",n=function(e){let t={rotate:"0deg",scale:null,translate:null},n="function"==typeof e.computedStyleMap?e.computedStyleMap():null;if(n){let r=e=>{try{if("function"==typeof n.has&&!n.has(e)||"function"!=typeof n.get)return null;return n.get(e)}catch{return null}},i=r("rotate");if(i)if(i.angle){let e=i.angle;t.rotate="rad"===e.unit?180*e.value/Math.PI+"deg":e.value+e.unit}else i.unit?t.rotate="rad"===i.unit?180*i.value/Math.PI+"deg":i.value+i.unit:t.rotate=String(i);else{let n=getComputedStyle(e);t.rotate=n.rotate&&"none"!==n.rotate?n.rotate:"0deg"}let a=r("scale");if(a){let e="x"in a&&a.x?.value!=null?a.x.value:Array.isArray(a)?a[0]?.value:Number(a)||1,n="y"in a&&a.y?.value!=null?a.y.value:Array.isArray(a)?a[1]?.value:e;t.scale=`${e} ${n}`}else{let n=getComputedStyle(e);t.scale=n.scale&&"none"!==n.scale?n.scale:null}let o=r("translate");if(o){let e="x"in o&&"value"in o.x?o.x.value:Array.isArray(o)?o[0]?.value:0,n="y"in o&&"value"in o.y?o.y.value:Array.isArray(o)?o[1]?.value:0,r="x"in o&&o.x?.unit?o.x.unit:"px",i="y"in o&&o.y?.unit?o.y.unit:"px";t.translate=`${e}${r} ${n}${i}`}else{let n=getComputedStyle(e);t.translate=n.translate&&"none"!==n.translate?n.translate:null}return t}let r=getComputedStyle(e);return t.rotate=r.rotate&&"none"!==r.rotate?r.rotate:"0deg",t.scale=r.scale&&"none"!==r.scale?r.scale:null,t.translate=r.translate&&"none"!==r.translate?r.translate:null,t}(e),r=function(e){let t=function(){if(_Y)return _Y;let e=document.createElement("div");return e.id="snapdom-measure-slot",e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"absolute",left:"-99999px",top:"0px",width:"0px",height:"0px",overflow:"hidden",opacity:"0",pointerEvents:"none",contain:"size layout style"}),document.documentElement.appendChild(e),_Y=e,e}(),n=document.createElement("div");n.style.transformOrigin="0 0",e.baseTransform&&(n.style.transform=e.baseTransform),e.rotate&&(n.style.rotate=e.rotate),e.scale&&(n.style.scale=e.scale),e.translate&&(n.style.translate=e.translate),t.appendChild(n);let r=_q(n);return t.removeChild(n),r}({baseTransform:t,rotate:n.rotate||"0deg",scale:n.scale,translate:n.translate}),{ox:i,oy:a}=function(e,t,n){let r=(e.transformOrigin||"0 0").trim().split(/\s+/),[i,a]=[r[0]||"0",r[1]||"0"],o=(e,t)=>{let n=e.toLowerCase();return"left"===n||"top"===n?0:"center"===n?t/2:"right"===n||"bottom"===n?t:n.endsWith("px")?parseFloat(n)||0:n.endsWith("%")?(parseFloat(n)||0)*t/100:/^-?\d+(\.\d+)?$/.test(n)&&parseFloat(n)||0};return{ox:o(i,t),oy:o(a,n)}}(s,f,g),o=_V(f,g,r.is2D?r:new DOMMatrix(r.toString()),i,a);S=o.minX,w=o.minY,O=o.maxX,C=o.maxY}let k=function(e){let t=e.boxShadow||"";if(!t||"none"===t)return{top:0,right:0,bottom:0,left:0};let n=t.split(/\),(?=(?:[^()]*\([^()]*\))*[^()]*$)/).map(e=>e.trim()),r=0,i=0,a=0,o=0;for(let e of n){let t=e.match(/-?\d+(\.\d+)?px/g)?.map(e=>parseFloat(e))||[];if(t.length<2)continue;let[n,s,l=0,c=0]=t,u=Math.abs(n)+l+c,d=Math.abs(s)+l+c;i=Math.max(i,u+Math.max(n,0)),o=Math.max(o,u+Math.max(-n,0)),a=Math.max(a,d+Math.max(s,0)),r=Math.max(r,d+Math.max(-s,0))}return{top:Math.ceil(r),right:Math.ceil(i),bottom:Math.ceil(a),left:Math.ceil(o)}}(s),M=function(e){let t=(e.filter||"").match(/blur\(\s*([0-9.]+)px\s*\)/),n=t?Math.ceil(parseFloat(t[1])||0):0;return{top:n,right:n,bottom:n,left:n}}(s),L=function(e){if("none"===(e.outlineStyle||"none"))return{top:0,right:0,bottom:0,left:0};let t=Math.ceil(parseFloat(e.outlineWidth||"0")||0);return{top:t,right:t,bottom:t,left:t}}(s),I=function(e){let t=`${e.filter||""} ${e.webkitFilter||""}`.trim();if(!t||"none"===t)return{bleed:{top:0,right:0,bottom:0,left:0},has:!1};let n=t.match(/drop-shadow\((?:[^()]|\([^()]*\))*\)/gi)||[],r=0,i=0,a=0,o=0,s=!1;for(let e of n){s=!0;let[t=0,n=0,l=0]=e.match(/-?\d+(?:\.\d+)?px/gi)?.map(e=>parseFloat(e))||[],c=Math.abs(t)+l,u=Math.abs(n)+l;i=Math.max(i,c+Math.max(t,0)),o=Math.max(o,c+Math.max(-t,0)),a=Math.max(a,u+Math.max(n,0)),r=Math.max(r,u+Math.max(-n,0))}return{bleed:{top:Math.ceil(r),right:Math.ceil(i),bottom:Math.ceil(a),left:Math.ceil(o)},has:s}}(s),N=c?{top:0,right:0,bottom:0,left:0}:{top:k.top+M.top+L.top+I.bleed.top,right:k.right+M.right+L.right+I.bleed.right,bottom:k.bottom+M.bottom+L.bottom+I.bleed.bottom,left:k.left+M.left+L.left+I.bleed.left};S-=N.left,w-=N.top,O+=N.right,C+=N.bottom;let R=Math.max(1,Math.ceil(O-S)),P=Math.max(1,Math.ceil(C-w)),D=Math.max(1,Math.round(R*(_||x?v/f:1))),j=Math.max(1,Math.round(P*(x||_?E/g:1))),B="http://www.w3.org/2000/svg",F=+!!E5()+ +!!l,z=document.createElementNS(B,"foreignObject"),U=Math.floor(S),H=Math.floor(w);z.setAttribute("x",String(-(U-F))),z.setAttribute("y",String(-(H-F))),z.setAttribute("width",String(Math.ceil(f+2*F))),z.setAttribute("height",String(Math.ceil(g+2*F))),z.style.overflow="visible";let G=document.createElement("style");G.textContent=d+u+"svg{overflow:visible;} foreignObject{overflow:visible;}"+r,z.appendChild(G);let $=document.createElement("div");$.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),$.style.width=`${f}px`,$.style.height=`${g}px`,$.style.overflow="visible",n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),$.appendChild(n),z.appendChild($);let W=new XMLSerializer().serializeToString(z),V=R+2*F,q=P+2*F,Y=_||x;t.meta={w0:f,h0:g,vbW:V,vbH:q,targetW:v,targetH:E};let Z=E5()&&Y?V:D+2*F,X=E5()&&Y?q:j+2*F;o=``+W+"",a=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(o)}`,i()},{fast:s})});let m=document.getElementById("snapdom-sandbox");return m&&"absolute"===m.style.position&&m.remove(),a}function _V(e,t,n,r,i){let a=n.a,o=n.b,s=n.c,l=n.d,c=n.e||0,u=n.f||0;function d(e,t){let n=e-r,d=t-i,h=a*n+s*d,p=o*n+l*d;return[h+=r+c,p+=i+u]}let h=[d(0,0),d(e,0),d(0,t),d(e,t)],p=1/0,f=1/0,g=-1/0,m=-1/0;for(let[e,t]of h)eg&&(g=e),t>m&&(m=t);return{minX:p,minY:f,maxX:g,maxY:m,width:g-p,height:m-f}}function _q(e){let t=getComputedStyle(e).transform;if(!t||"none"===t)return new DOMMatrix;try{return new DOMMatrix(t)}catch{return new WebKitCSSMatrix(t)}}var _Y=null;function _Z(e){let t=function(e){let t=[],n="",r=0;for(let i=0;ie.trim()).filter(Boolean)}(e),n=null,r=null,i=null,a=[];for(let e of t){let t=e.indexOf(":");if(t<0)continue;let o=e.slice(0,t).trim().toLowerCase(),s=e.slice(t+1).trim();"box-shadow"===o?i=s:"filter"===o?n=s:"-webkit-filter"===o?r=s:a.push([o,s])}if(i){let e=function(e){let t=[],n="",r=0;for(let i=0;i`${e}:${t}`).join(";")}async function _X(e,t){let n,r,{width:i,height:a,scale:o=1,dpr:s=1,meta:l={}}=t;e=function(e){var t;if(!E5()||!("string"==typeof e&&/^data:image\/svg\+xml/i.test(e)))return e;try{return t=(function(e){let t=e.indexOf(",");return t>=0?decodeURIComponent(e.slice(t+1)):""})(e).replace(/]*>([\s\S]*?)<\/style>/gi,(e,t)=>e.replace(t,t.replace(/([^{}]+)\{([^}]*)\}/g,(e,t,n)=>`${t}{${_Z(n)}}`))).replace(/style=(['"])([\s\S]*?)\1/gi,(e,t,n)=>`style=${t}${_Z(n)}${t}`),`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`}catch{return e}}(e);let c=new Image;c.loading="eager",c.decoding="sync",c.crossOrigin="anonymous",c.src=e,await c.decode();let u=c.naturalWidth,d=c.naturalHeight,h=Number.isFinite(l.w0)?l.w0:u,p=Number.isFinite(l.h0)?l.h0:d,f=Number.isFinite(i),g=Number.isFinite(a);if(f&&g)n=Math.max(1,i),r=Math.max(1,a);else if(f){let e=i/Math.max(1,h);n=i,r=Math.round(p*e)}else if(g){let e=a/Math.max(1,p);r=a,n=Math.round(h*e)}else n=u,r=d;n=Math.round(n*o),r=Math.round(r*o);let m=document.createElement("canvas");m.width=Math.ceil(n*s),m.height=Math.ceil(r*s),m.style.width=`${n}px`,m.style.height=`${r}px`;let b=m.getContext("2d");return 1!==s&&b.scale(s,s),b.drawImage(c,0,0,n,r),m}async function _K(e,t){let n=await _X(e,t),r=t.backgroundColor?EW(n,t.backgroundColor):n,i=new Image;return i.src=r.toDataURL(`image/${t.format}`,t.quality),await i.decode(),i.style.width=`${r.width/t.dpr}px`,i.style.height=`${r.height/t.dpr}px`,i}async function _Q(e,t){let{scale:n=1,width:r,height:i,meta:a={}}=t,o=Number.isFinite(r),s=Number.isFinite(i),l=Number.isFinite(n)&&1!==n||o||s;if(E5()&&l)return await _K(e,{...t,format:"png",quality:1,meta:a});let c=new Image;if(c.decoding="sync",c.loading="eager",c.src=e,await c.decode(),o&&s)c.style.width=`${r}px`,c.style.height=`${i}px`;else if(o){let e=Number.isFinite(a.w0)?a.w0:c.naturalWidth,t=Number.isFinite(a.h0)?a.h0:c.naturalHeight,n=r/Math.max(1,e);c.style.width=`${r}px`,c.style.height=`${Math.round(t*n)}px`}else if(s){let e=Number.isFinite(a.w0)?a.w0:c.naturalWidth,t=i/Math.max(1,Number.isFinite(a.h0)?a.h0:c.naturalHeight);c.style.height=`${i}px`,c.style.width=`${Math.round(e*t)}px`}else{let t=Math.round(c.naturalWidth*n),r=Math.round(c.naturalHeight*n);if(c.style.width=`${t}px`,c.style.height=`${r}px`,"string"==typeof e&&e.startsWith("data:image/svg+xml"))try{let n=decodeURIComponent(e.split(",")[1]).replace(/width="[^"]*"/,`width="${t}"`).replace(/height="[^"]*"/,`height="${r}"`);c.src=e=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(n)}`}catch{}}return c}async function _J(e,t){let n=t.type;if("svg"===n)return new Blob([decodeURIComponent(e.split(",")[1])],{type:"image/svg+xml"});let r=await _X(e,t),i=t.backgroundColor?EW(r,t.backgroundColor):r;return new Promise(e=>i.toBlob(t=>e(t),`image/${n}`,t.quality))}async function _0(e,t){if(t.dpr=1,"svg"===t.format){let n=await _J(e,{...t,type:"svg"}),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=t.filename,i.click(),URL.revokeObjectURL(r);return}let n=await _X(e,t),r=t.backgroundColor?EW(n,t.backgroundColor):n,i=document.createElement("a");i.href=r.toDataURL(`image/${t.format}`,t.quality),i.download=t.filename,i.click()}var _1=Symbol("snapdom.internal"),_2=!1;async function _3(e,t){if(!e)throw Error("Element cannot be null or undefined");let n=function(e={}){let t=e.format??"png",n=function(e){if("string"==typeof e){let t=e.toLowerCase().trim();if("disabled"===t||"full"===t||"auto"===t||"soft"===t)return t}return"soft"}(e.cache);return{debug:e.debug??!1,fast:e.fast??!0,scale:e.scale??1,exclude:e.exclude??[],excludeMode:e.excludeMode??"hide",filter:e.filter??null,filterMode:e.filterMode??"hide",placeholders:!1!==e.placeholders,embedFonts:e.embedFonts??!1,iconFonts:Array.isArray(e.iconFonts)?e.iconFonts:e.iconFonts?[e.iconFonts]:[],localFonts:Array.isArray(e.localFonts)?e.localFonts:[],excludeFonts:e.excludeFonts??void 0,fallbackURL:e.fallbackURL??void 0,cache:n,useProxy:"string"==typeof e.useProxy?e.useProxy:"",width:e.width??null,height:e.height??null,format:t,type:e.type??"svg",quality:e.quality??.92,dpr:e.dpr??(window.devicePixelRatio||1),backgroundColor:e.backgroundColor??(["jpg","jpeg","webp"].includes(t)?"#ffffff":null),filename:e.filename??"snapDOM",straighten:e.straighten??!1,noShadows:e.noShadows??!1}}(t);if(E5()&&(!0===n.embedFonts||function(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);for(;t.nextNode();){let e=getComputedStyle(t.currentNode),n=e.backgroundImage&&"none"!==e.backgroundImage,r=e.maskImage&&"none"!==e.maskImage||e.webkitMaskImage&&"none"!==e.webkitMaskImage;if(n||r)return!0}return!1}(e)))for(let n=0;n<3;n++)try{await _5(e,t),console.log("Iteraci\xf3n n\xfamero:",n),_2=!1}catch{}return n.iconFonts&&n.iconFonts.length>0&&function(e){for(let t of Array.isArray(e)?e:[e])t instanceof RegExp?_s.push(t):"string"==typeof t?_s.push(RegExp(t,"i")):console.warn("[snapdom] Ignored invalid iconFont value:",t)}(n.iconFonts),n.snap||(n.snap={toPng:(e,t)=>_3.toPng(e,t),toSvg:(e,t)=>_3.toSvg(e,t)}),_3.capture(e,n,_1)}async function _5(e,t){let n;if(_2)return;let r={...t,fast:!0,embedFonts:!0,scale:.2};try{n=await _W(e,r)}catch{return}await new Promise(e=>{let t=new Image;t.decoding="sync",t.loading="eager",t.style.position="fixed",t.style.left=0,t.style.top=0,t.style.width="10px",t.style.height="10px",t.style.opacity="0.01",t.style.transform="translateZ(10px)",t.style.willChange="transform,opacity;",t.src=n;let r=async()=>{await new Promise(e=>setTimeout(e,100)),t&&t.parentNode&&t.parentNode.removeChild(t),_2=!0,e()};document.body.appendChild(t),r()})}_3.capture=async(e,t,n)=>{if(n!==_1)throw Error("[snapdom.capture] is internal. Use snapdom(...) instead.");let r=await _W(e,t),i=e=>({...t,...e||{}}),a=e=>t=>{let n=i({...t||{},format:e}),a="jpeg"===e||"jpg"===e,o=null==n.backgroundColor||"transparent"===n.backgroundColor;return a&&o&&(n.backgroundColor="#ffffff"),_K(r,n)};return{url:r,toRaw:()=>r,toImg:e=>_Q(r,i(e)),toSvg:e=>_Q(r,i(e)),toCanvas:e=>_X(r,i(e)),toBlob:e=>_J(r,i(e)),toPng:a("png"),toJpg:a("jpeg"),toWebp:a("webp"),download:e=>_0(r,i(e))}},_3.toRaw=(e,t)=>_3(e,t).then(e=>e.toRaw()),_3.toImg=(e,t)=>_3(e,t).then(e=>e.toImg()),_3.toSvg=(e,t)=>_3(e,t).then(e=>e.toSvg()),_3.toCanvas=(e,t)=>_3(e,t).then(e=>e.toCanvas()),_3.toBlob=(e,t)=>_3(e,t).then(e=>e.toBlob()),_3.toPng=(e,t)=>_3(e,{...t,format:"png"}).then(e=>e.toPng()),_3.toJpg=(e,t)=>_3(e,{...t,format:"jpeg"}).then(e=>e.toJpg()),_3.toWebp=(e,t)=>_3(e,{...t,format:"webp"}).then(e=>e.toWebp()),_3.download=(e,t)=>_3(e,t).then(e=>e.download());var _4=n(45964),_6=n(32417),_8=n(36203),_7=n(85830),_9=n(75137),xe=(0,_7.A)(_9,{});xe.registerLanguage=_9.registerLanguage;var xt=n(67877);let xn=n.n(xt)(),xr={hljs:{display:"block",overflowX:"auto",padding:"0.5em",backgroundColor:"#f4f4f4",color:"black"},"hljs-subst":{color:"black"},"hljs-string":{color:"#050"},"hljs-title":{color:"navy",fontWeight:"bold"},"hljs-symbol":{color:"#050"},"hljs-bullet":{color:"#050"},"hljs-attribute":{color:"#050"},"hljs-addition":{color:"#050"},"hljs-variable":{color:"#050"},"hljs-template-tag":{color:"#050"},"hljs-template-variable":{color:"#050"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-number":{color:"#800"},"hljs-regexp":{color:"#800"},"hljs-literal":{color:"#800"},"hljs-type":{color:"#800"},"hljs-link":{color:"#800"},"hljs-deletion":{color:"#00e"},"hljs-meta":{color:"#00e"},"hljs-keyword":{fontWeight:"bold",color:"navy"},"hljs-selector-tag":{fontWeight:"bold",color:"navy"},"hljs-doctag":{fontWeight:"bold",color:"navy"},"hljs-section":{fontWeight:"bold",color:"navy"},"hljs-built_in":{fontWeight:"bold",color:"navy"},"hljs-tag":{fontWeight:"bold",color:"navy"},"hljs-name":{fontWeight:"bold",color:"navy"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var xi=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5503",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M768 682.666667V170.666667a85.333333 85.333333 0 0 0-85.333333-85.333334H170.666667a85.333333 85.333333 0 0 0-85.333334 85.333334v512a85.333333 85.333333 0 0 0 85.333334 85.333333h512a85.333333 85.333333 0 0 0 85.333333-85.333333zM170.666667 170.666667h512v512H170.666667z m682.666666 85.333333v512a85.333333 85.333333 0 0 1-85.333333 85.333333H256a85.333333 85.333333 0 0 0 85.333333 85.333334h426.666667a170.666667 170.666667 0 0 0 170.666667-170.666667V341.333333a85.333333 85.333333 0 0 0-85.333334-85.333333z","p-id":"5504"}))},xa=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5664",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M889.5 852.7l-220-219.9c45-53.4 72.1-122.3 72.1-197.5 0-169.4-137.8-307.3-307.3-307.3S127.1 265.8 127.1 435.3s137.8 307.3 307.3 307.3c76.1 0 145.7-27.8 199.4-73.8l219.8 219.8c4.9 5 11.4 7.4 17.9 7.4s13-2.5 17.9-7.4c10-9.9 10-26 0.1-35.9zM434.4 691.8c-141.4 0-256.5-115.1-256.5-256.5 0-141.5 115.1-256.5 256.5-256.5s256.5 115.1 256.5 256.5-115.1 256.5-256.5 256.5z",fill:"#231815","p-id":"5665"}),B.createElement("path",{d:"M555 418.3h-99.8v-99.8c0-14-11.4-25.4-25.4-25.4s-25.4 11.4-25.4 25.4v99.8h-99.8c-14 0-25.4 11.4-25.4 25.4s11.4 25.4 25.4 25.4h99.8v99.8c0 14 11.4 25.4 25.4 25.4s25.4-11.4 25.4-25.4v-99.8H555c14 0 25.4-11.4 25.4-25.4S569 418.3 555 418.3z",fill:"#231815","p-id":"5666"}))},xo=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5826",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M889.5 852.7l-220-219.9c45-53.4 72.1-122.3 72.1-197.5 0-169.4-137.8-307.3-307.3-307.3S127.1 265.8 127.1 435.3s137.8 307.3 307.3 307.3c76.1 0 145.7-27.8 199.4-73.8l219.8 219.8c4.9 5 11.4 7.4 17.9 7.4s13-2.5 17.9-7.4c10-9.9 10-26 0.1-35.9zM434.4 691.8c-141.4 0-256.5-115.1-256.5-256.5 0-141.5 115.1-256.5 256.5-256.5s256.5 115.1 256.5 256.5-115.1 256.5-256.5 256.5z",fill:"#231815","p-id":"5827"}),B.createElement("path",{d:"M555 418.3H304.7c-14 0-25.4 11.4-25.4 25.4s11.4 25.4 25.4 25.4H555c14 0 25.4-11.4 25.4-25.4S569 418.3 555 418.3z",fill:"#231815","p-id":"5828"}))},xs=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5988",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M380.416 822.144c-10.432 0-20.864-3.968-28.8-11.968L75.968 534.592c-15.936-15.936-15.936-41.664 0-57.6 15.872-15.872 41.664-15.872 57.536 0L380.416 723.84l510.08-510.016c15.872-15.936 41.664-15.936 57.536 0 15.936 15.936 15.936 41.664 0 57.6L409.216 810.24c-7.936 7.936-18.368 11.904-28.8 11.904z",fill:"","p-id":"5989"}))},xl=function(e){var t=e.size,n=void 0===t?14:t,r=e.fill;return B.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5988",width:n,height:n,fill:void 0===r?"#707070":r},B.createElement("path",{d:"M512 165.93q13.645 0 23.31 9.666t9.665 23.31V580.77L653.37 472.103q9.517-9.517 23.434-9.517 14.164 0 23.558 9.394t9.393 23.557q0 13.917-9.517 23.434L535.434 683.774q-9.517 9.517-23.434 9.517t-23.434-9.517L323.763 518.971q-9.517-10.036-9.517-23.434 0-13.645 9.665-23.31t23.31-9.665q13.917 0 23.434 9.516L479.05 580.744V198.881q0-13.645 9.665-23.31t23.31-9.665z m329.582 461.435q13.645 0 23.31 9.665t9.665 23.31v131.828q0 41.207-28.575 69.782-29.095 29.095-69.536 29.095H248.32q-40.416 0-70.03-28.848-28.847-29.613-28.847-70.03V660.34q0-13.645 9.665-23.31t23.31-9.665 23.31 9.665 9.666 23.31v131.828q0 13.645 9.665 23.31t23.31 9.665h528.127q13.398 0 22.791-9.665t9.393-23.31V660.34q0-13.645 9.666-23.31t23.31-9.665z","p-id":"1178",fill:"#494949"}))},xc=n(79630),xu=n(89450),xd=n(21858),xh=n(40419),xp=n(20235);let xf=Math.round;function xg(e,t){let n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let xm=(e,t,n)=>0===n?e:e/100;function xb(e,t){let n=t||255;return e>n?n:e<0?0:e}class xy{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=xf(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),n=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:n,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),n=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=this._c(e),r=t/100,i=e=>(n[e]-this[e])*r+this[e],a={r:xf(i("r")),g:xf(i("g")),b:xf(i("b")),a:xf(100*i("a"))/100};return this._c(a)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>xf((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=xf(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=xf(100*this.getSaturation()),n=xf(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(n,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(n,"%)")}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,n){let r=this.clone();return r[e]=xb(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl(e){let{h:t,s:n,l:r,a:i}=e;if(this._h=t%360,this._s=n,this._l=r,this.a="number"==typeof i?i:1,n<=0){let e=xf(255*r);this.r=e,this.g=e,this.b=e}let a=0,o=0,s=0,l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(a=c,o=u):l>=1&&l<2?(a=u,o=c):l>=2&&l<3?(o=c,s=u):l>=3&&l<4?(o=u,s=c):l>=4&&l<5?(a=u,s=c):l>=5&&l<6&&(a=c,s=u);let d=r-c/2;this.r=xf((a+d)*255),this.g=xf((o+d)*255),this.b=xf((s+d)*255)}fromHsv(e){let{h:t,s:n,v:r,a:i}=e;this._h=t%360,this._s=n,this._v=r,this.a="number"==typeof i?i:1;let a=xf(255*r);if(this.r=a,this.g=a,this.b=a,n<=0)return;let o=t/60,s=Math.floor(o),l=o-s,c=xf(r*(1-n)*255),u=xf(r*(1-n*l)*255),d=xf(r*(1-n*(1-l))*255);switch(s){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){let t=xg(e,xm);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=xg(e,xm);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=xg(e,(e,t)=>t.includes("%")?xf(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,xh.A)(this,"isValid",!0),(0,xh.A)(this,"r",0),(0,xh.A)(this,"g",0),(0,xh.A)(this,"b",0),(0,xh.A)(this,"a",1),(0,xh.A)(this,"_h",void 0),(0,xh.A)(this,"_s",void 0),(0,xh.A)(this,"_l",void 0),(0,xh.A)(this,"_v",void 0),(0,xh.A)(this,"_max",void 0),(0,xh.A)(this,"_min",void 0),(0,xh.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function n(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):n("rgb")?this.fromRgbString(t):n("hsl")?this.fromHslString(t):(n("hsv")||n("hsb"))&&this.fromHsvString(t)}else if(e instanceof xy)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=xb(e.r),this.g=xb(e.g),this.b=xb(e.b),this.a="number"==typeof e.a?xb(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}var xv=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function xE(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 x_(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),Math.round(100*r)/100)}function xx(e,t,n){return Math.round(100*Math.max(0,Math.min(1,n?e.v+.05*t:e.v-.15*t)))/100}var xA=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];xA.primary=xA[5];var xS=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];xS.primary=xS[5];var xw=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];xw.primary=xw[5];var xT=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];xT.primary=xT[5];var xO=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];xO.primary=xO[5];var xC=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];xC.primary=xC[5];var xk=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];xk.primary=xk[5];var xM=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];xM.primary=xM[5];var xL=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];xL.primary=xL[5];var xI=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];xI.primary=xI[5];var xN=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];xN.primary=xN[5];var xR=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];xR.primary=xR[5];var xP=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];xP.primary=xP[5];var xD=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];xD.primary=xD[5];var xj=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];xj.primary=xj[5];var xB=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];xB.primary=xB[5];var xF=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];xF.primary=xF[5];var xz=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];xz.primary=xz[5];var xU=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];xU.primary=xU[5];var xH=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];xH.primary=xH[5];var xG=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];xG.primary=xG[5];var x$=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];x$.primary=x$[5];var xW=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];xW.primary=xW[5];var xV=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];xV.primary=xV[5];var xq=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];xq.primary=xq[5];var xY=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];xY.primary=xY[5];var xZ=(0,B.createContext)({}),xX=n(27061),xK=n(86608),xQ=n(85440),xJ=n(48680),x0=n(9587);function x1(e){return"object"===(0,xK.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,xK.A)(e.icon)||"function"==typeof e.icon)}function x2(){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 x3(e){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=new xy(e),i=r.toHsv(),a=5;a>0;a-=1){var o=new xy({h:xE(i,a,!0),s:x_(i,a,!0),v:xx(i,a,!0)});n.push(o)}n.push(r);for(var s=1;s<=4;s+=1){var l=new xy({h:xE(i,s),s:x_(i,s),v:xx(i,s)});n.push(l)}return"dark"===t.theme?xv.map(function(e){var r=e.index,i=e.amount;return new xy(t.backgroundColor||"#141414").mix(n[r],i).toHexString()}):n.map(function(e){return e.toHexString()})}(e)[0]}function x5(e){return e?Array.isArray(e)?e:[e]:[]}var x4=function(e){var t=(0,B.useContext)(xZ),n=t.csp,r=t.prefixCls,i=t.layer,a="\n.anticon {\n display: inline-flex;\n align-items: center;\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&&(a=a.replace(/anticon/g,r)),i&&(a="@layer ".concat(i," {\n").concat(a,"\n}")),(0,B.useEffect)(function(){var t=e.current,r=(0,xJ.j)(t);(0,xQ.BD)(a,"@ant-design-icons",{prepend:!i,csp:n,attachTo:r})},[])},x6=["icon","className","onClick","style","primaryColor","secondaryColor"],x8={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},x7=function(e){var t,n,r=e.icon,i=e.className,a=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=(0,xp.A)(e,x6),u=B.useRef(),d=x8;if(s&&(d={primaryColor:s,secondaryColor:l||x3(s)}),x4(u),t=x1(r),n="icon should be icon definiton, but got ".concat(r),(0,x0.Ay)(t,"[@ant-design/icons] ".concat(n)),!x1(r))return null;var h=r;return h&&"function"==typeof h.icon&&(h=(0,xX.A)((0,xX.A)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,r){return r?B.createElement(t.tag,(0,xX.A)((0,xX.A)({key:n},x2(t.attrs)),r),(t.children||[]).map(function(r,i){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(i))})):B.createElement(t.tag,(0,xX.A)({key:n},x2(t.attrs)),(t.children||[]).map(function(r,i){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(i))}))}(h.icon,"svg-".concat(h.name),(0,xX.A)((0,xX.A)({className:i,onClick:a,style:o,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function x9(e){var t=x5(e),n=(0,xd.A)(t,2),r=n[0],i=n[1];return x7.setTwoToneColors({primaryColor:r,secondaryColor:i})}x7.displayName="IconReact",x7.getTwoToneColors=function(){return(0,xX.A)({},x8)},x7.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x8.primaryColor=t,x8.secondaryColor=n||x3(t),x8.calculated=!!n};var Ae=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];x9(xL.primary);var At=B.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,a=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=(0,xp.A)(e,Ae),u=B.useContext(xZ),d=u.prefixCls,h=void 0===d?"anticon":d,p=u.rootClassName,f=vy()(p,h,(0,xh.A)((0,xh.A)({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!i||"loading"===r.name),n),g=o;void 0===g&&s&&(g=-1);var m=x5(l),b=(0,xd.A)(m,2),y=b[0],v=b[1];return B.createElement("span",(0,xc.A)({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:f}),B.createElement(x7,{icon:r,primaryColor:y,secondaryColor:v,style:a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0}))});At.displayName="AntdIcon",At.getTwoToneColor=function(){var e=x7.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},At.setTwoToneColor=x9;var An=B.forwardRef(function(e,t){return B.createElement(At,(0,xc.A)({},e,{ref:t,icon:xu.A}))}),Ar=fq.Ay.div.withConfig({displayName:"StyledLoading",componentId:"gpt-vis-c7ef__sc-4x7w8p-0"})(["display:flex;align-items:center;justify-content:center;flex-direction:column;height:300px;background-image:linear-gradient(135deg,#e3f3ff 0%,#f1eeff 100%);color:rgba(0,0,0,88%);&-icon{margin-bottom:6px;}"]);let Ai=function(e){var t=e.text;return B.createElement(Ar,{className:"gpt-vis-loading"},B.createElement("div",{className:"gpt-vis-loading-icon"},B.createElement(An,{style:{fontSize:"24px",color:"rgb(56, 177, 246)"}})),B.createElement("p",null,t))};var Aa=fq.Ay.div.withConfig({displayName:"StyledGPTVis",componentId:"gpt-vis-c7ef__sc-2dc7ka-0"})(["min-width:300px;max-width:100%;height:",";overflow:hidden;position:relative;padding:16px;"],function(e){return"table"===e.type?"auto":"300px"}),Ao=fq.Ay.button.withConfig({displayName:"TextButton",componentId:"gpt-vis-c7ef__sc-2dc7ka-1"})(["border:none;box-shadow:none;background:transparent;color:#494949;height:26px;padding:0 8px;font-size:12px;transition:all 0.2s cubic-bezier(0.645,0.045,0.355,1);transform:scale(1);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;outline:none;font-family:inherit;&:hover,&:focus{color:#666;background:#e8e8e8;transform:scale(1.02);}&:active{background:#e8e8e8;transform:scale(0.98);}.anticon{font-size:12px;}&:disabled{cursor:not-allowed;opacity:0.6;&:hover,&:focus,&:active{background:transparent;transform:scale(1);}}"]),As=fq.Ay.div.withConfig({displayName:"ChartWrapper",componentId:"gpt-vis-c7ef__sc-2dc7ka-2"})(["width:100%;height:100%;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}h5{font-size:12px;font-weight:400;color:#666;height:150px;display:flex;align-items:center;justify-content:center;}& > *{max-width:100%;max-height:100%;}"]),Al=fq.Ay.div.withConfig({displayName:"TabContainer",componentId:"gpt-vis-c7ef__sc-2dc7ka-3"})(["border-radius:8px;overflow:hidden;"]),Ac=fq.Ay.div.withConfig({displayName:"TabHeader",componentId:"gpt-vis-c7ef__sc-2dc7ka-4"})(["display:flex;justify-content:space-between;align-items:center;background:#f5f5f5;padding:6px 14px 6px 6px;gap:2px;position:relative;z-index:10;"]),Au=fq.Ay.div.withConfig({displayName:"TabLeftGroup",componentId:"gpt-vis-c7ef__sc-2dc7ka-5"})(["display:flex;gap:2px;"]),Ad=fq.Ay.div.withConfig({displayName:"TabRightGroup",componentId:"gpt-vis-c7ef__sc-2dc7ka-6"})(["display:flex;gap:4px;align-items:center;"]),Ah=fq.Ay.div.withConfig({displayName:"TabContent",componentId:"gpt-vis-c7ef__sc-2dc7ka-7"})(["background:#fff;overflow:hidden;position:relative;background:#fafafa;"]),Ap=fq.Ay.div.withConfig({displayName:"ErrorMessage",componentId:"gpt-vis-c7ef__sc-2dc7ka-8"})(["padding:16px;height:150px;font-size:12px;color:#666;border-radius:4px;display:flex;align-items:center;justify-content:center;"]),Af=(0,fq.DU)(["pre:has(.gpt-vis){overflow:hidden;}"]),Ag=fq.Ay.button.withConfig({displayName:"StyledTabButton",componentId:"gpt-vis-c7ef__sc-2dc7ka-9"})(["border:none;box-shadow:none;background:",";color:#494949;border-radius:8px;height:26px;width:52px;font-size:12px;transition:all 0.2s cubic-bezier(0.645,0.045,0.355,1);transform:scale(1);cursor:pointer;outline:none;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;"," &:hover,&:focus{background:",";color:#494949;box-shadow:",";transform:scale(1.02);}&:active{background:",";transform:scale(0.96);box-shadow:",";transition:all 0.1s cubic-bezier(0.645,0.045,0.355,1);}"],function(e){return e.active?"#fff":"transparent"},function(e){return e.active&&"\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);\n "},function(e){return e.active?"#fff":"#f0f0f0"},function(e){return e.active?"0 2px 6px rgba(0, 0, 0, 0.12)":"0 1px 3px rgba(0, 0, 0, 0.06)"},function(e){return e.active?"#fff":"#e8e8e8"},function(e){return e.active?"0 1px 2px rgba(0, 0, 0, 0.1)":"0 1px 2px rgba(0, 0, 0, 0.04)"}),Am=fq.Ay.div.withConfig({displayName:"Divider",componentId:"gpt-vis-c7ef__sc-2dc7ka-10"})(["width:1px;height:16px;background-color:#d9d9d9;margin:0 8px;flex-shrink:0;"]);function Ab(e){return(Ab="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ay(){Ay=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(t,n,r,a){var o,s,l,c,u=Object.create((n&&n.prototype instanceof m?n:m).prototype);return i(u,"_invoke",{value:(o=t,s=r,l=new C(a||[]),c=h,function(t,n){if(c===p)throw Error("Generator is already running");if(c===f){if("throw"===t)throw n;return{value:e,done:!0}}for(l.method=t,l.arg=n;;){var r=l.delegate;if(r){var i=function t(n,r){var i=r.method,a=n.iterator[i];if(a===e)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),g;var o=d(a,n.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var s=o.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,g)}(r,l);if(i){if(i===g)continue;return i}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(c===h)throw c=f,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);c=p;var a=d(o,s,l);if("normal"===a.type){if(c=l.done?f:"suspendedYield",a.arg===g)continue;return{value:a.arg,done:l.done}}"throw"===a.type&&(c=f,l.method="throw",l.arg=a.arg)}})}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",p="executing",f="completed",g={};function m(){}function b(){}function y(){}var v={};c(v,o,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(k([])));_&&_!==n&&r.call(_,o)&&(v=_);var x=y.prototype=m.prototype=Object.create(v);function A(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){var n;i(this,"_invoke",{value:function(i,a){function o(){return new t(function(n,o){!function n(i,a,o,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Ab(u)&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,o,s)},function(e){n("throw",e,o,s)}):t.resolve(u).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,s)})}s(l.arg)}(i,a,n,o)})}return n=n?n.then(o,o):o()}})}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function k(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Av(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,i)}var AE=function(){var e,t=(e=Ay().mark(function e(t){return Ay().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,function(e,{target:t=document.body}={}){if("string"!=typeof e)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.all="unset",n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.width="2em",n.style.height="2em",n.style.padding="0",n.style.border="none",n.style.outline="none",n.style.boxShadow="none",n.style.background="transparent",n.style.fontSize="12pt",n.style.whiteSpace="pre";let i=document.getSelection(),a=i.rangeCount>0&&i.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let o=!1;try{o=document.execCommand("copy")}catch{}return n.remove(),a&&(i.removeAllRanges(),i.addRange(a)),r&&r.focus(),o}(JSON.stringify(t,null,2))){e.next=5;break}throw Error("复制失败");case 5:e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(0),console.error("复制失败:",e.t0),e.t0;case 11:case"end":return e.stop()}},e,null,[[0,7]])}),function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Av(a,r,i,o,s,"next",e)}function s(e){Av(a,r,i,o,s,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}();function A_(e){return(A_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Ax=["type"];function AA(){return(AA=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Aw(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,i)}function AT(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Aw(a,r,i,o,s,"next",e)}function s(e){Aw(a,r,i,o,s,"throw",e)}o(void 0)})}}function AO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AC(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(U,Ax),$=o[H];if(l&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",r),!$){var W="".concat(D.unsupportedChart,': "').concat(H,'"');return d?d({error:Error(W),content:a}):B.createElement("div",null,W)}var V=function(e){var t=e.error;return(!k&&(M(!0),g&&p&&z("code")),u)?u({error:t,content:a}):B.createElement("div",null,B.createElement(Ap,null,D.renderError))},q=(t=AT(AS().mark(function e(){return AS().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,AE(r);case 3:N(!0),A.current&&clearTimeout(A.current),A.current=setTimeout(function(){N(!1)},1e3),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error("Copy failed:",e.t0);case 11:case"end":return e.stop()}},e,null,[[0,8]])})),function(){return t.apply(this,arguments)}),Y=(n=AT(AS().mark(function e(){var t;return AS().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!P.current){e.next=7;break}return e.next=4,_3(P.current,{scale:2});case 4:return t=e.sent,e.next=7,t.download({format:"png",filename:"chart-".concat(H,"-").concat(Date.now())});case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("Download image failed:",e.t0);case 12:case"end":return e.stop()}},e,null,[[0,9]])})),function(){return n.apply(this,arguments)}),Z=AL.includes(H),X=(0,B.useMemo)(function(){var e,t=_4(function(){var e,t,n,r=R.current,i=P.current;if(r&&i&&i instanceof HTMLElement)try{Z?(null==(e=r.resize)||e.call(r),null==(t=r.autoFit)||t.call(r)):null==(n=r.changeSize)||n.call(r)}catch(e){console.error("Failed to resize chart:",e)}},150);return null==(e=t.cancel)||e.call(t),t},[Z]);return p?B.createElement(Al,{style:i},B.createElement(Ac,null,B.createElement(Au,null,b&&B.createElement(Ag,{active:"chart"===F,onClick:function(){return z("chart")}},D.chartTab),g&&B.createElement(Ag,{active:"code"===F,onClick:function(){return z("code")}},D.codeTab)),B.createElement(Ad,null,"chart"===F?B.createElement(B.Fragment,null,Z&&B.createElement(B.Fragment,null,B.createElement(Ao,{onClick:function(){if(R.current&&"function"==typeof R.current.zoomTo){var e=Math.max((R.current.getZoom()||1)/1.15,.1);R.current.zoomTo(e)}},style:{width:"24px",height:"24px",padding:0}},B.createElement(xo,{size:18})),B.createElement(Ao,{onClick:function(){if(R.current&&"function"==typeof R.current.zoomTo){var e=Math.min(1.15*(R.current.getZoom()||1),1.5);R.current.zoomTo(e)}},style:{width:"24px",height:"24px",padding:0}},B.createElement(xa,{size:18})),B.createElement(Am,null)),B.createElement(Ao,{onClick:Y},B.createElement(xl,{size:16}),D.download)):B.createElement(B.Fragment,null,B.createElement(Ao,{onClick:q},I?B.createElement(xs,null):B.createElement(xi,null),I?D.copied:D.copy)))),B.createElement(Ah,null,"chart"===F?B.createElement(_8.tH,{FallbackComponent:V,onError:function(e,t){console.error("GPT-Vis Render error:",e),!k&&(M(!0),g&&z("code")),l&&console.error("GPT-Vis Render error info:",t)}},B.createElement(Aa,{className:"gpt-vis",type:H},B.createElement(Af,null),B.createElement(_6.A,{onResize:X},B.createElement(As,{ref:P},B.createElement($,AA({},G,{onReady:function(e){R.current=e}})))))):B.createElement("div",{style:{maxHeight:500,overflow:"auto"}},B.createElement(xe,{language:"json",style:xr,showLineNumbers:!1,wrapLines:!0,customStyle:{background:"transparent",padding:"16px",margin:0,fontSize:"12px",lineHeight:"1"}},JSON.stringify(r,null,2)||a)))):B.createElement(Aa,{className:"gpt-vis",style:i},B.createElement(Af,null),B.createElement(_6.A,{onResize:X},B.createElement(As,{ref:P},B.createElement(_8.tH,{FallbackComponent:V,onError:function(e,t){console.error("GPT-Vis Render error:",e),l&&console.error("GPT-Vis Render error info:",t)}},B.createElement($,AA({},G,{onReady:function(e){R.current=e}}))))))});function AR(e){return(AR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var AP=["children","className","node"];function AD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Aj(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,AP));return B.createElement("code",AB({},r,{className:void 0===n?"":n}),t)},Az=function(e){return function(t){var n,r=t.children,i=t.className,a=void 0===i?"":i,o=String(r).trim(),s=a.includes("language-vis-chart"),l=e.components,c=e.languageRenderers,u=e.defaultRenderer,d=e.debug,h=e.loadingTimeout,p=e.style,f=e.errorRender,g=e.componentErrorRender,m=e.showTabs,b=e.showCodeTab,y=e.showChartTab,v=e.defaultTab,E=e.textLabels,_=e.locale;if(s)return B.createElement(AN,{style:p,content:o,components:l,debug:d,loadingTimeout:void 0===h?5e3:h,errorRender:f,componentErrorRender:g,showTabs:m,showCodeTab:b,showChartTab:y,defaultTab:v,textLabels:E,locale:_});var x=(null==(n=a.match(/language-(.*)/))?void 0:n[1])||"",A=c&&c[x];return A?B.createElement(A,t):u?B.createElement(u,t):B.createElement(AF,t)}},AU=function(e){return Az(Aj(Aj({},e),{},{components:Aj(Aj({},ED),j(e,"components",{}))}))}},36862:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(20430),i=n(46032),a=n(10569);class o extends r.C{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!(0,i.f)(e))return this.options.unknown;let t=(0,a.h)(this.thresholds,e,0,this.n);return this.options.range[t]}invert(e){let{range:t}=this.options,n=t.indexOf(e),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new o(this.options)}rescale(){let{domain:e,range:t}=this.options;this.n=Math.min(e.length,t.length-1),this.thresholds=e}}},36939: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=[]},37022:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(39249),i=function(e,t){var n=function(e){return"".concat(t,"-").concat(e)},i=Object.fromEntries(Object.entries(e).map(function(e){var t=(0,r.zs)(e,2),i=t[0],a=n(t[1]);return[i,{name:a,class:".".concat(a),id:"#".concat(a),toString:function(){return a}}]}));return Object.assign(i,{prefix:n}),i}},37186:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));x+=_.value.length,_=_.next){var A,S=_.value;if(n.length>t.length)return;if(!(S instanceof a)){var w=1;if(b){if(!(A=o(E,x,t,m))||A.index>=t.length)break;var O=A.index,C=A.index+A[0].length,k=x;for(k+=_.value.length;O>=k;)k+=(_=_.next).value.length;if(k-=_.value.length,x=k,_.value instanceof a)continue;for(var M=_;M!==n.tail&&(ku.reach&&(u.reach=R);var P=_.prev;if(I&&(P=l(n,P,I),x+=I.length),function(e,t,n){for(var r=t.next,i=0;i1){var D={cause:d+","+p,reach:R};e(t,n,r,_.prev,x,D),u&&D.reach>u.reach&&(u.reach=D.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=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}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 r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var a={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(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+""},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()},!1)),i;var c=i.util.currentScript();function u(){i.manual||i.highlightAll()}if(c&&(i.filename=c.src,c.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},37703:(e,t,n)=>{"use strict";var r=n(68093);function i(e,t,n,r,i){this.properties={},this.extent=n,this.type=0,this._pbf=e,this._geometry=-1,this._keys=r,this._values=i,e.readFields(a,this,t)}function a(e,t,n){1==e?t.id=n.readVarint():2==e?function(e,t){for(var n=e.readVarint()+e.pos;e.pos>3}if(a--,1===i||2===i)o+=e.readSVarint(),s+=e.readSVarint(),1===i&&(t&&l.push(t),t=[]),t.push(new r(o,s));else if(7===i)t&&t.push(t[0].clone());else throw Error("unknown command "+i)}return t&&l.push(t),l},i.prototype.bbox=function(){var e=this._pbf;e.pos=this._geometry;for(var t=e.readVarint()+e.pos,n=1,r=0,i=0,a=0,o=1/0,s=-1/0,l=1/0,c=-1/0;e.pos>3}if(r--,1===n||2===n)i+=e.readSVarint(),a+=e.readSVarint(),is&&(s=i),ac&&(c=a);else if(7!==n)throw Error("unknown command "+n)}return[o,l,s,c]},i.prototype.toGeoJSON=function(e,t,n){var r,a,o=this.extent*Math.pow(2,n),s=this.extent*e,l=this.extent*t,c=this.loadGeometry(),u=i.types[this.type];function d(e){for(var t=0;t{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z"}}]},name:"pause",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},37929:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r{"use strict";var r=n(97883);function i(e){e.register(r),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=i,i.displayName="idris",i.aliases=["idr"]},38088:(e,t,n)=>{"use strict";var r=n(43671),i=n(93565)(r,"div");i.displayName="html",e.exports=i},38310:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(39249),i=n(51459),a=n(50636),o=function(e,t,n,s){void 0===n&&(n=0),void 0===s&&(s=5),Object.entries(t).forEach(function(l){var c=(0,r.zs)(l,2),u=c[0],d=c[1];Object.prototype.hasOwnProperty.call(t,u)&&(d?(0,i.A)(d)?((0,i.A)(e[u])||(e[u]={}),n{"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=[]},38414:(e,t,n)=>{"use strict";n.d(t,{l:()=>eu,t:()=>ec});var r={};n.r(r),n.d(r,{area:()=>O,bottom:()=>R,bottomLeft:()=>R,bottomRight:()=>R,inside:()=>R,left:()=>R,outside:()=>B,right:()=>R,spider:()=>$,surround:()=>V,top:()=>R,topLeft:()=>R,topRight:()=>R});var i=n(79135),a=n(14353),o=n(73916),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 l=e=>{let{important:t={}}=e,n=s(e,["important"]);return r=>{let{theme:i,coordinate:s,scales:l}=r;return(0,o.xs)(Object.assign(Object.assign(Object.assign({},n),function(e){let t=e%(2*Math.PI);return t===Math.PI/2?{titleTransform:"translate(0, 50%)"}:t>-Math.PI/2&&tMath.PI/2&&t<3*Math.PI/2?{titleTransform:"translate(-50%, 0)"}:{}}(e.orientation)),{important:Object.assign(Object.assign({},function(e,t,n,r){let{radar:i}=e,[o]=r,s=o.getOptions().name,[l,c]=(0,a.XV)(n),{axisRadar:u={}}=t;return Object.assign(Object.assign({},u),{grid:"position"===s,gridConnect:"line",gridControlAngles:Array(i.count).fill(0).map((e,t)=>(c-l)/i.count*t)})}(e,i,s,l)),t)}))(r)}};l.props=Object.assign(Object.assign({},o.xs.props),{defaultPosition:"center"});var c=n(22808);let u=e=>(...t)=>(0,c.L)(Object.assign({},{block:!0},e))(...t);u.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var d=n(83277);let h=e=>t=>{let{scales:n}=t,r=(0,d._K)(n,"size");return(0,c.L)(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};h.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let p=e=>h(Object.assign({},{block:!0},e));p.props=Object.assign(Object.assign({},c.L.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var f=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 g=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:i,paddingLeft:a,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:d,insetTop:h,insetRight:p,insetBottom:g,margin:m,marginLeft:b,marginBottom:y,marginTop:v,marginRight:E,data:_,coordinate:x,theme:A,component:S,interaction:w,x:O,y:C,z:k,key:M,frame:L,labelTransform:I,parentKey:N,clip:R,viewStyle:P,title:D}=t,j=f(t,["width","height","depth","paddingLeft","paddingRight","paddingTop","paddingBottom","padding","inset","insetLeft","insetTop","insetRight","insetBottom","margin","marginLeft","marginBottom","marginTop","marginRight","data","coordinate","theme","component","interaction","x","y","z","key","frame","labelTransform","parentKey","clip","viewStyle","title"]);return[Object.assign(Object.assign({type:"standardView",x:O,y:C,z:k,key:M,width:n,height:r,depth:i,padding:c,paddingLeft:a,paddingRight:o,paddingTop:s,inset:u,insetLeft:d,insetTop:h,insetRight:p,insetBottom:g,paddingBottom:l,theme:A,coordinate:x,component:S,interaction:w,frame:L,labelTransform:I,margin:m,marginLeft:b,marginBottom:y,marginTop:v,marginRight:E,parentKey:N,clip:R,style:P},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},j),{key:`${M}-0`,data:_}),e&&{title:D})]})]};g.props={};var m=n(14837),b=n(14007),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};let v=()=>e=>{let{children:t}=e,n=y(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:i={},axis:a={},legend:o={},encode:s={},transform:l=[],slider:c={}}=n,u=y(n,["data","scale","axis","legend","encode","transform","slider"]),d=t.map(e=>{var{data:t,scale:n={},axis:u={},legend:d={},encode:h={},transform:p=[],slider:f={}}=e,g=y(e,["data","scale","axis","legend","encode","transform","slider"]);return Object.assign({data:(0,b.LC)(t,r),scale:(0,m.A)({},i,n),encode:(0,m.A)({},s,h),transform:[...l,...p],axis:!!u&&!!a&&(0,m.A)({},a,u),legend:!!d&&!!o&&(0,m.A)({},o,d),slider:(0,m.A)({},c,f)},g)});return[Object.assign(Object.assign({},u),{marks:d,type:"standardView",slider:c})]};v.props={};var E=n(63975),_=n(30360),x=n(14742),A=n(78385),S=n(67432),w=n(63956);function O(e,t,n,r){let i=t.length/2,a=t.slice(0,i),o=t.slice(i),s=(0,S.A)(a,(e,t)=>Math.abs(e[1]-o[t][1])),l=e=>[a[e][0],(a[e][1]+o[e][1])/2],c=l(s=Math.max(Math.min(s,i-2),1)),u=l(s-1),d=l(s+1),h=(0,w.g7)((0,w.jb)(d,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${h})`,textAlign:"center",textBaseline:"middle"}}function C(e,t,n,r){let{bounds:a}=n,[[o,s],[l,c]]=a,u=l-o,d=c-s,h=e=>{let{x:t,y:r}=e,a=(0,i.P)(n.x,u),l=(0,i.P)(n.y,d);return Object.assign(Object.assign({},e),{x:(a||t)+o,y:(l||r)+s})};return h("left"===e?{x:0,y:d/2,textAlign:"start",textBaseline:"middle"}:"right"===e?{x:u,y:d/2,textAlign:"end",textBaseline:"middle"}:"top"===e?{x:u/2,y:0,textAlign:"center",textBaseline:"top"}:"bottom"===e?{x:u/2,y:d,textAlign:"center",textBaseline:"bottom"}:"top-left"===e?{x:0,y:0,textAlign:"start",textBaseline:"top"}:"top-right"===e?{x:u,y:0,textAlign:"end",textBaseline:"top"}:"bottom-left"===e?{x:0,y:d,textAlign:"start",textBaseline:"bottom"}:"bottom-right"===e?{x:u,y:d,textAlign:"end",textBaseline:"bottom"}:{x:u/2,y:d/2,textAlign:"center",textBaseline:"middle"})}function k(e,t,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),{innerRadius:c,outerRadius:u,startAngle:d,endAngle:h}=(0,_.Iq)(r,t,[i,a]),p="inside"===e?(d+h)/2:h,f=L(p,o,s);return Object.assign(Object.assign({},(()=>{let[n,r]=t,[i,a]="inside"===e?M(l,p,c+(u-c)*.5):(0,w.jz)(n,r);return{x:i,y:a}})()),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:f})}function M(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function L(e,t,n){if(!t)return 0;let r=n?0:0>Math.sin(e)?90:-90;return e/Math.PI*180+r}function I(e){return void 0===e?null:e}function N(e,t,n,r){let{bounds:i}=n,[a]=i;return{x:I(a[0]),y:I(a[1])}}function R(e,t,n,r){let{bounds:i}=n;return 1===i.length?N(e,t,n,r):((0,a.AO)(r)?k:(0,a.YL)(r)?function(e,t,n,r){let{y:i,y1:a,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=(0,_.Iq)(r,t,[i,a]),{startAngle:d,endAngle:h}=u,p=r.getCenter(),f=(d+h)/2,g=L(f,o,s),{innerRadius:m,outerRadius:b}=u,[y,v]=M(p,f,m+(b-m)*l+c);return Object.assign({x:y,y:v},{textAlign:"center",textBaseline:"middle",rotate:g})}:C)(e,t,n,r)}function P(e,t,n){let{innerRadius:r,outerRadius:i}=(0,_.Iq)(n,e,[t.y,t.y1]);return r+(i-r)}function D(e,t,n){let{startAngle:r,endAngle:i}=(0,_.Iq)(n,e,[t.y,t.y1]);return(r+i)/2}function j(e,t,n,r){let{autoRotate:i,rotateToAlignArc:o,offset:s=0,connector:l=!0,connectorLength:c=s,connectorLength2:u=0,connectorDistance:d=0}=n,h=r.getCenter(),p=D(t,n,r),f=Math.sin(p)>0?1:-1,g=L(p,i,o),m={textAlign:f>0||(0,a.AO)(r)?"start":"end",textBaseline:"middle",rotate:g},b=P(t,n,r),[[y,v],[E,_],[x,A]]=function(e,t,n,r,i){let[a,o]=M(e,t,n),[s,l]=M(e,t,r);return[[a,o],[s,l],[s+(Math.sin(t)>0?1:-1)*i,l]]}(h,p,b,b+(l?c:s),l?u:0),S=l?d*f:0,w=x+S;return Object.assign(Object.assign({x0:y,y0:v,x:x+S,y:A},m),{connector:l,connectorPoints:[[E-w,_-A],[x-w,A-A]]})}function B(e,t,n,r){let{bounds:i}=n;return 1===i.length?N(e,t,n,r):((0,a.AO)(r)?k:(0,a.YL)(r)?j:C)(e,t,n,r)}var F=n(52922);function z(e,t={}){let{labelHeight:n=14,height:r}=t,i=(0,F.Ay)(e,e=>e.y),a=i.length,o=Array(a);for(let e=0;e0;e--){let t=o[e],n=o[e-1];if(n.y1>t.y){s=!0,n.labels.push(...t.labels),o.splice(e,1),n.y1+=t.y1-t.y;let i=n.y1-n.y;n.y1=Math.max(Math.min(n.y1,r),i),n.y=n.y1-i}}}let l=0;for(let e of o){let{y:t,labels:r}=e,a=t-n;for(let e of r){let t=i[l++],r=a+n-e;t.connectorPoints[0][1]-=r,t.y=a+n,a+=n}}}function U(e,t){let n=(0,F.Ay)(e,e=>e.y),{height:r,labelHeight:i=14}=t,a=Math.ceil(r/i);if(n.length<=a)return z(n,t);let o=[];for(let e=0;et.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 G=new WeakMap;function $(e,t,n,r,i,o){if(!(0,a.YL)(r))return{};if(G.has(t))return G.get(t);let s=o.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:i,connectorDistance:a}=t,o=H(j("outside",e,t,n),[]),s=n.getCenter(),l=P(e,t,n),c=Math.sin(D(e,t,n))>0?1:-1,u=s[0]+(l+r+i+ +a)*c,{x:d}=o,h=u-d;return o.x+=h,o.connectorPoints[0][0]-=h,o})(e,n,r)),{width:l,height:c}=r.getOptions(),u=s.filter(e=>e.xe.x>=l/2),h=Object.assign(Object.assign({},i),{height:c});return U(u,h),U(d,h),s.forEach((e,t)=>G.set(o[t],e)),G.get(t)}var 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 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};function V(e,t,n,r){if(!(0,a.YL)(r))return{};let{connectorLength:i,connectorLength2:o,connectorDistance:s}=n,l=W(j("outside",t,n,r),[]),{x0:c,y0:u}=l,d=r.getCenter(),h=(0,a.nJ)(r),p=(0,w.Ib)([c-d[0],u-d[1]]),f=Math.sin(p)>0?1:-1,[g,m]=M(d,p,h+i);return l.x=g+(o+s)*f,l.y=m,l}var q=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)=>{let{coordinate:n,theme:i}=t,{render:o}=e;return(t,s,l,c)=>{let{text:u,x:d,y:h,transform:p="",transformOrigin:f,className:g=""}=s,m=q(s,["text","x","y","transform","transformOrigin","className"]),b=function(e,t,n,i,o,s){let{position:l}=t,{render:c}=o,u=void 0!==l?l:(0,a.YL)(n)?"inside":(0,a.kH)(n)?"right":"top",d=i[c?"htmlLabel":"inside"===u?"innerLabel":"label"],h=Object.assign({},d,t),p=r[(0,x.x)(u)];if(!p)throw Error(`Unknown position: ${u}`);return Object.assign(Object.assign({},d),p(u,e,h,n,o,s))}(t,s,n,i,e,c),{rotate:y=0,transform:v=""}=b,S=q(b,["rotate","transform"]);return(0,E.c)(new A.n).call(_.AV,S).style("text",`${u}`).style("className",`${g} g2-label`).style("innerHTML",o?o(u,s.datum,s.index):void 0).style("labelTransform",`${v} rotate(${+y}) ${p}`.trim()).style("labelTransformOrigin",f).style("coordCenter",n.getCenter()).call(_.AV,m).node()}};Y.props={defaultMarker:"point"};var Z=n(86372),X=n(63880),K=n(73220),Q=n(69644),J=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},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};let et={fill:"#fff",stroke:"#aaa",lineDash:"4 3",lineWidth:.5,fillOpacity:1,strokeOpacity:1},en=(e,t,n,r,i,a)=>{let o=[],s=[],l=r-1;for(let r=1;r{let{context:n,selection:r,view:i}=t,a=r.select(`.${Q.Lr}`).node(),{document:o}=n.canvas,{scale:s}=i,l=new Map;return e=>{let{key:t,start:r,end:i,gap:c=.03,vertices:u=50,lineWidth:d=.5,verticeOffset:h=3}=e,p=ee(e,["key","start","end","gap","vertices","lineWidth","verticeOffset"]),f=o.createElement("g",{id:`break-group-${t}`,className:Q.tF}),g=(0,X.A)(s,"x.sortedDomain",[]),{range:b,domain:y}=s.y.getOptions(),v=y.indexOf(r),E=y.indexOf(i),{width:_,height:x}=a.getBBox();if(-1===v||-1===E||!g.length)return f;let A=b[0]>b[1],S=b[v]*x,w=b[E]*x,O="",C="";for(let[e,{y:t,isLower:n}]of[{y:w,isLower:!1},{y:S,isLower:!0}].entries()){let r=A?d:-d,[i,a]=en(t,_-0,h,u,n,r);0===e?(O=`M 0,${t} L ${i.join(" L ")} `,C=`M ${0-d},${t+r} L ${a.join(" L ")} `):(O+=`L ${_-0},${t} L ${[...i].reverse().join(" L ")} L 0,${t} Z`,C+=`L ${_-0+d+2},${t-r} L ${[...a].reverse().join(" L ")} L ${0-d},${t-r} Z`)}let k=Object.assign(Object.assign({},et),p);try{let e=new Z.wA({style:Object.assign(Object.assign({},k),{d:O})}),o=new Z.wA({style:Object.assign(Object.assign({},k),{d:C,lineWidth:0,cursor:"pointer"})});o.addEventListener("click",e=>J(void 0,void 0,void 0,function*(){e.stopPropagation(),2===e.detail&&(yield J(void 0,void 0,void 0,function*(){let{update:e,setState:a}=n.externals;a("options",e=>{let{marks:n}=e;if(!n||!n.length)return e;let a=n.map(e=>{let t=(0,X.A)(e,"scale.y.breaks",[]),n=t.filter(e=>e.start!==r&&e.end!==i&&!e.collapsed);return t.forEach(e=>{e.start===r&&e.end===i&&(e.collapsed=!0)}),console.log("breaks group:",t,n),(0,m.A)({},e,{scale:{y:{breaks:n}}})});return l.set(t,{start:r,end:i}),Object.assign(Object.assign({},e),{marks:a})}),yield e()}))})),f.appendChild(e),f.appendChild(o),a.addEventListener("click",e=>J(void 0,void 0,void 0,function*(){2===e.detail&&(yield J(void 0,void 0,void 0,function*(){if(!l.size)return;let{update:e,setState:t}=n.externals;t("options",e=>{let{marks:t}=e,n=t.map(e=>{let t=(0,X.A)(e,"scale.y.breaks",[]);return(0,K.A)(e,"scale.y.breaks",t.map(e=>Object.assign(Object.assign({},e),{collapsed:!1}))),e});return l.clear(),Object.assign(Object.assign({},e),{marks:n})}),yield e()}))})),a.appendChild(f)}catch(e){console.error("Failed to create break path:",e)}return f}};er.props={};var ei=n(77229),ea=n(26489);function eo(e,t,n,r=e=>!0){return a=>{if(!r(a))return;n.emit(`plot:${e}`,a);let{target:o}=a;if(!o)return;let{className:s}=o;if("plot"===s)return;let l=(0,ea.B3)(o,e=>"element"===e.className),c=(0,ea.B3)(o,e=>"component"===e.className),u=(0,ea.B3)(o,e=>"label"===e.className),d=l||c||u;if(!d)return;let{className:h,markType:p}=d,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===h?(f.data={data:(0,i.qu)(d,t)},n.emit(`element:${e}`,f),n.emit(`${p}:${e}`,f)):"label"===h?(f.data={data:d.attributes.datum},n.emit(`label:${e}`,f),s.split(/\s+/).filter(Boolean).forEach(t=>{n.emit(`${t}:${e}`,f)})):(n.emit(`component:${e}`,f),s.split(/\s+/).filter(Boolean).forEach(t=>{n.emit(`${t}:${e}`,f)}))}}function es(){return(e,t,n)=>{let{container:r,view:i}=e,a=eo(ei.x.CLICK,i,n,e=>1===e.detail),o=eo(ei.x.DBLCLICK,i,n,e=>2===e.detail),s=eo(ei.x.POINTER_TAP,i,n),l=eo(ei.x.POINTER_DOWN,i,n),c=eo(ei.x.POINTER_UP,i,n),u=eo(ei.x.POINTER_OVER,i,n),d=eo(ei.x.POINTER_OUT,i,n),h=eo(ei.x.POINTER_MOVE,i,n),p=eo(ei.x.POINTER_ENTER,i,n),f=eo(ei.x.POINTER_LEAVE,i,n),g=eo(ei.x.POINTER_UPOUTSIDE,i,n),m=eo(ei.x.DRAG_START,i,n),b=eo(ei.x.DRAG,i,n),y=eo(ei.x.DRAG_END,i,n),v=eo(ei.x.DRAG_ENTER,i,n),E=eo(ei.x.DRAG_LEAVE,i,n),_=eo(ei.x.DRAG_OVER,i,n),x=eo(ei.x.DROP,i,n);return r.addEventListener("click",a),r.addEventListener("click",o),r.addEventListener("pointertap",s),r.addEventListener("pointerdown",l),r.addEventListener("pointerup",c),r.addEventListener("pointerover",u),r.addEventListener("pointerout",d),r.addEventListener("pointermove",h),r.addEventListener("pointerenter",p),r.addEventListener("pointerleave",f),r.addEventListener("pointerupoutside",g),r.addEventListener("dragstart",m),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",v),r.addEventListener("dragleave",E),r.addEventListener("dragover",_),r.addEventListener("drop",x),()=>{r.removeEventListener("click",a),r.removeEventListener("click",o),r.removeEventListener("pointertap",s),r.removeEventListener("pointerdown",l),r.removeEventListener("pointerup",c),r.removeEventListener("pointerover",u),r.removeEventListener("pointerout",d),r.removeEventListener("pointermove",h),r.removeEventListener("pointerenter",p),r.removeEventListener("pointerleave",f),r.removeEventListener("pointerupoutside",g),r.removeEventListener("dragstart",m),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",v),r.removeEventListener("dragleave",E),r.removeEventListener("dragover",_),r.removeEventListener("drop",x)}}}es.props={reapplyWhenUpdate:!0};var 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 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};function ec(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":l,"component.axisLinear":o.xs,"component.axisArc":o.C5,"component.legendContinuousBlock":u,"component.legendContinuousBlockSize":p,"component.legendContinuousSize":h,"interaction.event":es,"composition.mark":g,"composition.view":v,"shape.label.label":Y,"shape.break":er}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||(0,i.z3)(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=el(e,["type"]);n||(0,i.z3)("Plot type is required!");let o=r(n);return null==o?void 0:o(a,t)},r]}function eu(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||(0,i.z3)("Cannot find library document")}},38756: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=[]},38798: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=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),a={pattern:RegExp(i),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(i),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":a,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":a,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:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},a.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=[]},38980: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=[]},38999: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=[]},39001:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1736);function i(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function a(e){let t,n,a;function s(e,r,i=0,a=e.length){if(i>>1;0>n(e[t],r)?i=t+1:a=t}while(i(0,r.A)(e(t),n),a=(t,n)=>e(t)-n):(t=e===r.A||e===i?e:o,n=e,a=e),{left:s,center:function(e,t,n=0,r=e.length){let i=s(e,t,n,r-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i},right:function(e,r,i=0,a=e.length){if(i>>1;0>=n(e[t],r)?i=t+1:a=t}while(i{e.exports=function(e){return null===e}},39174:(e,t,n)=>{"use strict";var r=n(86466);function i(e){e.register(r),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=i,i.displayName="aspnet",i.aliases=[]},39480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,X:()=>r});let r=(e={})=>{let t=Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e);return Object.assign(Object.assign({},t),function(e,t){return e%=2*Math.PI,t%=2*Math.PI,e<0&&(e=2*Math.PI+e),t<0&&(t=2*Math.PI+t),e>=t&&(t+=2*Math.PI),{startAngle:e,endAngle:t}}(t.startAngle,t.endAngle))},i=e=>{let{startAngle:t,endAngle:n,innerRadius:i,outerRadius:a}=r(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,i,a]]};i.props={}},39566:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"}},40172:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="bison",i.aliases=[]},40370: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=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&h(c,"variable-input")}}}}function u(e,r){r=r||0;for(var i=0;i{"use strict";n.d(t,{W:()=>w});var r=n(59222),i=n(51927);function a(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}function o(e,...t){return t.reduce((e,t)=>n=>e(t(n)),e)}var s=n(72919),l=n.n(s);function c(e,t,n){let r=n;return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function u(e){let t=l().get(e);if(!t)return null;let{model:n,value:r}=t;return"rgb"===n?r:"hsl"===n?function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=e[3];if(0===n)return[255*r,255*r,255*r,i];let a=r<.5?r*(1+n):r+n-r*n,o=2*r-a,s=c(o,a,t+1/3);return[255*s,255*c(o,a,t),255*c(o,a,t-1/3),i]}(r):null}let d=(e,t)=>n=>e*(1-n)+t*n,h=(e,t)=>"number"==typeof e&&"number"==typeof t?d(e,t):"string"==typeof e&&"string"==typeof t?((e,t)=>{let n=u(e),r=u(t);return null===n||null===r?n?()=>e:()=>t:e=>{let t=[,,,,];for(let i=0;i<4;i+=1){let a=n[i],o=r[i];t[i]=a*(1-e)+o*e}let[i,a,o,s]=t;return`rgba(${Math.round(i)}, ${Math.round(a)}, ${Math.round(o)}, ${s})`}})(e,t):()=>e,p=(e,t)=>{let n=d(e,t);return e=>Math.round(n(e))};var f=n(53461),g=n(24254);function m(e){return!(0,f.A)(e)&&!(0,g.A)(e)&&!Number.isNaN(e)}let b=Math.sqrt(50),y=Math.sqrt(10),v=Math.sqrt(2);function E(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/10**i;return i>=0?(a>=b?10:a>=y?5:a>=v?2:1)*10**i:-(10**-i)/(a>=b?10:a>=y?5:a>=v?2:1)}let _=(e,t,n=5)=>{let r,i=[e,t],a=0,o=i.length-1,s=i[a],l=i[o];return l0?r=E(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=E(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[a]=Math.floor(s/r)*r,i[o]=Math.ceil(l/r)*r):r<0&&(i[a]=Math.ceil(s*r)/r,i[o]=Math.floor(l*r)/r),i},x=(e,t,n,r)=>(Math.min(e.length,t.length)>2?(e,t,n)=>{let r=Math.min(e.length,t.length)-1,i=Array(r),s=Array(r),l=e[0]>e[r],c=l?[...e].reverse():e,u=l?[...t].reverse():t;for(let e=0;e{let n=function(e,t,n,r,i){let a=1,o=r||e.length,s=e=>e;for(;at?o=n:a=n+1}return a}(e,t,0,r)-1,a=i[n];return o(s[n],a)(t)}}:(e,t,n)=>{let r,i,[s,l]=e,[c,u]=t;return st?e:t;return e=>Math.min(Math.max(n,e),r)}(i[0],i[a-1]):r.A}composeOutput(e,t){let{domain:n,range:r,round:i,interpolate:a}=this.options,s=x(n.map(e),r,a,i);this.output=o(s,t,e)}composeInput(e,t,n){let{domain:r,range:i}=this.options,a=x(i,r.map(e),d);this.input=o(t,n,a)}}let S=(e,t,n)=>{let r,i,a=e,o=t;if(a===o&&n>0)return[a];let s=E(a,o,n);if(0===s||!Number.isFinite(s))return[];if(s>0){a=Math.ceil(a/s),i=Array(r=Math.ceil((o=Math.floor(o/s))-a+1));for(let e=0;e{var r=n(98233),i=n(48611);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},40605: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=[]},40638:(e,t,n)=>{"use strict";function r(e,t,n){return Math.max(t,Math.min(e,n))}function i(e,t=10){return"number"!=typeof e||1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}n.d(t,{A:()=>i,q:()=>r})},40764:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(n){var r=e[n];"object"!=typeof r||Object.isFrozen(r)||t(r)}),e}t.default=t;class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}class a{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!e.kind)return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){e.kind&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class o{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{o._collapse(e)}))}}class s extends o{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){let n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){return new a(this,this.options).value()}finalize(){return!0}}function l(e){return e?"string"==typeof e?e:e.source:null}let c=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,u="[a-zA-Z]\\w*",d="[a-zA-Z_]\\w*",h="\\b\\d+(\\.\\d+)?",p="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",f="\\b(0b[01]+)",g={begin:"\\\\[\\s\\S]",relevance:0},m={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},b=function(e,t,n={}){let r=i({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(m),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},y=b("//","$"),v=b("/\\*","\\*/"),E=b("#","$"),_={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[g,{begin:/\[/,end:/\]/,relevance:0,contains:[g]}]}]};var x=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:u,UNDERSCORE_IDENT_RE:d,NUMBER_RE:h,C_NUMBER_RE:p,BINARY_NUMBER_RE:f,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>l(e)).join("")}(t,/.*\b/,e.binary,/\b.*/)),i({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:g,APOS_STRING_MODE:{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[g]},QUOTE_STRING_MODE:{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[g]},PHRASAL_WORDS_MODE:m,COMMENT:b,C_LINE_COMMENT_MODE:y,C_BLOCK_COMMENT_MODE:v,HASH_COMMENT_MODE:E,NUMBER_MODE:{className:"number",begin:h,relevance:0},C_NUMBER_MODE:{className:"number",begin:p,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:f,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:h+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:_,TITLE_MODE:{className:"title",begin:u,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:d,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+d,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function A(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function S(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=A,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function w(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map(e=>l(e)).join("|")+")"}(...e.illegal))}function O(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function C(e,t){void 0===e.relevance&&(e.relevance=1)}let k=["of","and","for","in","not","or","if","then","parent","list","value"],M={"after:highlightElement":({el:e,result:t,text:n})=>{let i=I(e);if(!i.length)return;let a=document.createElement("div");a.innerHTML=t.value,t.value=function(e,t,n){let i=0,a="",o=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function c(e){a+=""}function u(e){("start"===e.event?l:c)(e.node)}for(;e.length||t.length;){let t=s();if(a+=r(n.substring(i,t[0].offset)),i=t[0].offset,t===e){o.reverse().forEach(c);do u(t.splice(0,1)[0]),t=s();while(t===e&&t.length&&t[0].offset===i);o.reverse().forEach(l)}else"start"===t[0].event?o.push(t[0].node):o.pop(),u(t.splice(0,1)[0])}return a+r(n.substr(i))}(i,I(a),n)}};function L(e){return e.nodeName.toLowerCase()}function I(e){let t=[];return!function e(n,r){for(let i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),L(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(e,0),t}let N={},R=e=>{console.error(e)},P=(e,...t)=>{console.log(`WARN: ${e}`,...t)},D=(e,t)=>{N[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),N[`${e}/${t}`]=!0)},j=Symbol("nomatch");e.exports=function(e){let a=Object.create(null),o=Object.create(null),u=[],d=!0,h=/(^(<[^>]+>|\t|)+|\n)/gm,p="Could not find the language '{}', did you forget to load/include a language module?",f={disableAutodetect:!0,name:"Plain text",contains:[]},g={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:s};function m(e){return g.noHighlightRe.test(e)}function b(e,t,n,r){let i="",a="";"object"==typeof t?(i=e,n=t.ignoreIllegals,a=t.language,r=void 0):(D("10.7.0","highlight(lang, code, ...args) has been deprecated."),D("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,i=t);let o={code:i,language:a};z("before:highlight",o);let s=o.result?o.result:y(o.language,o.code,n,r);return s.code=o.code,z("after:highlight",s),s}function y(e,t,o,s){function h(){null!=A.subLanguage?function(){if(""===P)return;let e=null;if("string"==typeof A.subLanguage){if(!a[A.subLanguage])return L.addText(P);e=y(A.subLanguage,P,!0,M[A.subLanguage]),M[A.subLanguage]=e.top}else e=v(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(D+=e.relevance),L.addSublanguage(e.emitter,e.language)}():function(){if(!A.keywords)return L.addText(P);let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n="";for(;t;){n+=P.substring(e,t.index);let r=function(e,t){let n=E.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}(A,t);if(r){let[e,i]=r;if(L.addText(n),n="",D+=i,e.startsWith("_"))n+=t[0];else{let n=E.classNameAliases[e]||e;L.addKeyword(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substr(e),L.addText(n)}(),P=""}function f(e){return e.className&&L.openNode(E.classNameAliases[e.className]||e.className),A=Object.create(e,{parent:{value:A}})}let m={};function b(r,i){let a=i&&i[0];if(P+=r,null==a)return h(),0;if("begin"===m.type&&"end"===i.type&&m.index===i.index&&""===a){if(P+=t.slice(i.index,i.index+1),!d){let t=Error("0 width match regex");throw t.languageName=e,t.badRule=m.rule,t}return 1}if(m=i,"begin"===i.type){let e=i[0],t=i.rule,r=new n(t);for(let n of[t.__beforeBegin,t["on:begin"]])if(n&&(n(i,r),r.isMatchIgnored))return 0===A.matcher.regexIndex?(P+=e[0],1):(z=!0,0);return t&&t.endSameAsBegin&&(t.endRe=RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),t.skip?P+=e:(t.excludeBegin&&(P+=e),h(),t.returnBegin||t.excludeBegin||(P=e)),f(t),t.returnBegin?0:e.length}if("illegal"!==i.type||o){if("end"===i.type){let e=function(e){let r=e[0],i=t.substr(e.index),a=function e(t,r,i){let a=function(e,t){let n=e&&e.exec(t);return n&&0===n.index}(t.endRe,i);if(a){if(t["on:end"]){let e=new n(t);t["on:end"](r,e),e.isMatchIgnored&&(a=!1)}if(a){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,i)}(A,e,i);if(!a)return j;let o=A;o.skip?P+=r:(o.returnEnd||o.excludeEnd||(P+=r),h(),o.excludeEnd&&(P=r));do A.className&&L.closeNode(),A.skip||A.subLanguage||(D+=A.relevance),A=A.parent;while(A!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),f(a.starts)),o.returnEnd?0:r.length}(i);if(e!==j)return e}}else{let e=Error('Illegal lexeme "'+a+'" for mode "'+(A.className||"")+'"');throw e.mode=A,e}if("illegal"===i.type&&""===a)return 1;if(F>1e5&&F>3*i.index)throw Error("potential infinite loop, way more iterations than matches");return P+=a,a.length}let E=N(e);if(!E)throw R(p.replace("{}",e)),Error('Unknown language: "'+e+'"');let _=function(e,{plugins:t}){function n(t,n){return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=RegExp(e.toString()+"|").exec("").length-1+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=n(function(e,t="|"){let n=0;return e.map(e=>{let t=n+=1,r=l(e),i="";for(;r.length>0;){let e=c.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i}).map(e=>`(${e})`).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new r;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function t(r,o){if(r.isCompiled)return r;[O].forEach(e=>e(r,o)),e.compilerExtensions.forEach(e=>e(r,o)),r.__beforeBegin=null,[S,w,C].forEach(e=>e(r,o)),r.isCompiled=!0;let s=null;if("object"==typeof r.keywords&&(s=r.keywords.$pattern,delete r.keywords.$pattern),r.keywords&&(r.keywords=function e(t,n,r="keyword"){let i={};return"string"==typeof t?a(r,t.split(" ")):Array.isArray(t)?a(r,t):Object.keys(t).forEach(function(r){Object.assign(i,e(t[r],n,r))}),i;function a(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,r,a;let o=t.split("|");i[o[0]]=[e,(n=o[0],(r=o[1])?Number(r):+(a=n,!k.includes(a.toLowerCase())))]})}}(r.keywords,e.case_insensitive)),r.lexemes&&s)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||r.lexemes||/\w+/,r.keywordPatternRe=n(s,!0),o&&(r.begin||(r.begin=/\B|\b/),r.beginRe=n(r.begin),r.endSameAsBegin&&(r.end=r.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(r.endRe=n(r.end)),r.terminatorEnd=l(r.end)||"",r.endsWithParent&&o.terminatorEnd&&(r.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(r.illegalRe=n(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map(function(e){var t;return((t="self"===e?r:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return i(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?i(t):t:i(t,{starts:t.starts?i(t.starts):null})})),r.contains.forEach(function(e){t(e,r)}),r.starts&&t(r.starts,o),r.matcher=function(e){let t=new a;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(r),r}(e)}(E,{plugins:u}),x="",A=s||_,M={},L=new g.__emitter(g),I=[];for(let e=A;e!==E;e=e.parent)e.className&&I.unshift(e.className);I.forEach(e=>L.openNode(e));let P="",D=0,B=0,F=0,z=!1;try{for(A.matcher.considerAll();;){F++,z?z=!1:A.matcher.considerAll(),A.matcher.lastIndex=B;let e=A.matcher.exec(t);if(!e)break;let n=t.substring(B,e.index),r=b(n,e);B=e.index+r}return b(t.substr(B)),L.closeAllNodes(),L.finalize(),x=L.toHTML(),{relevance:Math.floor(D),value:x,language:e,illegal:!1,emitter:L,top:A}}catch(n){if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n.message,context:t.slice(B-100,B+100),mode:n.mode},sofar:x,relevance:0,value:r(t),emitter:L};if(d)return{illegal:!1,relevance:0,value:r(t),emitter:L,language:e,top:A,errorRaised:n};throw n}}function v(e,t){t=t||g.languages||Object.keys(a);let n=function(e){let t={relevance:0,emitter:new g.__emitter(g),value:r(e),illegal:!1,top:f};return t.emitter.addText(e),t}(e),i=t.filter(N).filter(F).map(t=>y(t,e,!1));i.unshift(n);let[o,s]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;else if(N(t.language).supersetOf===e.language)return -1}return 0});return o.second_best=s,o}let E=/^(<[^>]+>|\t)+/gm;function _(e){let t=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=g.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(P(p.replace("{}",n[1])),P("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>m(e)||N(e))}(e);if(m(t))return;z("before:highlightElement",{el:e,language:t});let n=e.textContent,r=t?b(n,{language:t,ignoreIllegals:!0}):v(n);z("after:highlightElement",{el:e,result:r,text:n}),e.innerHTML=r.value;var i=r.language;let a=t?o[t]:i;e.classList.add("hljs"),a&&e.classList.add(a),e.result={language:r.language,re:r.relevance,relavance:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance,relavance:r.second_best.relevance})}let A=()=>{A.called||(A.called=!0,D("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(_))},L=!1;function I(){if("loading"===document.readyState){L=!0;return}document.querySelectorAll("pre code").forEach(_)}function N(e){return a[e=(e||"").toLowerCase()]||a[o[e]]}function B(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{o[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function z(e,t){u.forEach(function(n){n[e]&&n[e](t)})}for(let n in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){L&&I()},!1),Object.assign(e,{highlight:b,highlightAuto:v,highlightAll:I,fixMarkup:function(e){var t;return D("10.2.0","fixMarkup will be removed entirely in v11.0"),D("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,g.tabReplace||g.useBR?t.replace(h,e=>"\n"===e?g.useBR?"
":e:g.tabReplace?e.replace(/\t/g,g.tabReplace):e):t},highlightElement:_,highlightBlock:function(e){return D("10.7.0","highlightBlock will be removed entirely in v12.0"),D("10.7.0","Please use highlightElement now."),_(e)},configure:function(e){e.useBR&&(D("10.3.0","'useBR' will be removed entirely in v11.0"),D("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),g=i(g,e)},initHighlighting:A,initHighlightingOnLoad:function(){D("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),L=!0},registerLanguage:function(t,n){let r=null;try{r=n(e)}catch(e){if(R("Language definition for '{}' could not be registered.".replace("{}",t)),d)R(e);else throw e;r=f}r.name||(r.name=t),a[t]=r,r.rawDefinition=n.bind(null,e),r.aliases&&B(r.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete a[e],Object.keys(o)))o[t]===e&&delete o[t]},listLanguages:function(){return Object.keys(a)},getLanguage:N,registerAliases:B,requireLanguage:function(e){D("10.4.0","requireLanguage will be removed entirely in v11."),D("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let t=N(e);if(t)return t;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:F,inherit:i,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),u.push(e)},vuePlugin:function(e){let t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,r(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){var e;return!this.language||!!((e=this.autodetect)||""===e)},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}(e).VuePlugin}),e.debugMode=function(){d=!1},e.safeMode=function(){d=!0},e.versionString="10.7.3",x)"object"==typeof x[n]&&t(x[n]);return Object.assign(e,x),e.addPlugin({"before:highlightElement":({el:e})=>{g.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:e})=>{g.useBR&&(e.value=e.value.replace(/\n/g,"
"))}}),e.addPlugin(M),e.addPlugin({"after:highlightElement":({result:e})=>{g.tabReplace&&(e.value=e.value.replace(E,e=>e.replace(/\t/g,g.tabReplace)))}}),e}({})},40827:(e,t,n)=>{"use strict";n.d(t,{DU:()=>eZ,AH:()=>eW,Ay:()=>eq,I4:()=>eq});var r=n(39249),i=n(12115),a=n(38194),o=n(4697),s=n(68448),l=n(83855);function c(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.LU:e.return=function e(t,n,r){switch((0,o.tW)(t,n)){case 5103:return a.j+"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 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return a.j+t+t;case 4855:return a.j+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return a.vd+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.j+t+a.vd+t+a.MS+t+t;case 5936:switch((0,o.wN)(t,n+11)){case 114:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.j+t+a.MS+(0,o.HC)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return a.j+t+a.MS+t+t;case 6165:return a.j+t+a.MS+"flex-"+t+t;case 5187:return a.j+t+(0,o.HC)(t,/(\w+).+(:[^]+)/,a.j+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.j+t+a.MS+"flex-item-"+(0,o.HC)(t,/flex-|-self/g,"")+((0,o.YW)(t,/flex-|baseline/)?"":a.MS+"grid-row-"+(0,o.HC)(t,/flex-|-self/g,""))+t;case 4675:return a.j+t+a.MS+"flex-line-pack"+(0,o.HC)(t,/align-content|flex-|-self/g,"")+t;case 5548:return a.j+t+a.MS+(0,o.HC)(t,"shrink","negative")+t;case 5292:return a.j+t+a.MS+(0,o.HC)(t,"basis","preferred-size")+t;case 6060:return a.j+"box-"+(0,o.HC)(t,"-grow","")+a.j+t+a.MS+(0,o.HC)(t,"grow","positive")+t;case 4554:return a.j+(0,o.HC)(t,/([^-])(transform)/g,"$1"+a.j+"$2")+t;case 6187:return(0,o.HC)((0,o.HC)((0,o.HC)(t,/(zoom-|grab)/,a.j+"$1"),/(image-set)/,a.j+"$1"),t,"")+t;case 5495:case 3959:return(0,o.HC)(t,/(image-set\([^]*)/,a.j+"$1$`$1");case 4968:return(0,o.HC)((0,o.HC)(t,/(.+:)(flex-)?(.*)/,a.j+"box-pack:$3"+a.MS+"flex-pack:$3"),/space-between/,"justify")+a.j+t+t;case 4200:if(!(0,o.YW)(t,/flex-|baseline/))return a.MS+"grid-column-align"+(0,o.c1)(t,n)+t;break;case 2592:case 3360:return a.MS+(0,o.HC)(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,(0,o.YW)(e.props,/grid-\w+-end/)}))return~(0,o.K5)(t+(r=r[n].value),"span",0)?t:a.MS+(0,o.HC)(t,"-start","")+t+a.MS+"grid-row-span:"+(~(0,o.K5)(r,"span",0)?(0,o.YW)(r,/\d+/):(0,o.YW)(r,/\d+/)-(0,o.YW)(t,/\d+/))+";";return a.MS+(0,o.HC)(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return(0,o.YW)(e.props,/grid-\w+-start/)})?t:a.MS+(0,o.HC)((0,o.HC)(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return(0,o.HC)(t,/(.+)-inline(.+)/,a.j+"$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,o.b2)(t)-1-n>6)switch((0,o.wN)(t,n+1)){case 109:if(45!==(0,o.wN)(t,n+4))break;case 102:return(0,o.HC)(t,/(.+:)(.+)-([^]+)/,"$1"+a.j+"$2-$3$1"+a.vd+(108==(0,o.wN)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,o.K5)(t,"stretch",0)?e((0,o.HC)(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return(0,o.HC)(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,l){return a.MS+n+":"+r+l+(i?a.MS+n+"-span:"+(o?s:s-r)+l:"")+t});case 4949:if(121===(0,o.wN)(t,n+6))return(0,o.HC)(t,":",":"+a.j)+t;break;case 6444:switch((0,o.wN)(t,45===(0,o.wN)(t,14)?18:11)){case 120:return(0,o.HC)(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a.j+(45===(0,o.wN)(t,14)?"inline-":"")+"box$3$1"+a.j+"$2$3$1"+a.MS+"$2box$3")+t;case 100:return(0,o.HC)(t,":",":"+a.MS)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,o.HC)(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case a.Sv:return(0,l.l)([(0,s.C)(e,{value:(0,o.HC)(e.value,"@","@"+a.j)})],r);case a.XZ:if(e.length)return(0,o.kg)(n=e.props,function(t){switch((0,o.YW)(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(read-\w+)/,":"+a.vd+"$1")]})),(0,s.yY)((0,s.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(n,r)});break;case"::placeholder":(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.j+"input-$1")]})),(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.vd+"$1")]})),(0,s.yY)((0,s.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,a.MS+"input-$1")]})),(0,s.yY)((0,s.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(n,r)})}return""})}}var u=n(28296),d=n(39864),h=n(49509),p=void 0!==h&&void 0!==h.env&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",f="active",g="data-styled-version",m="6.3.8",b="/*!sc*/\n",y="undefined"!=typeof window&&"undefined"!=typeof document,v=void 0===i.createContext,E=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&"false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY),_={},x=Object.freeze([]),A=Object.freeze({});function S(e,t,n){return void 0===n&&(n=A),e.theme!==n.theme&&e.theme||t||n.theme}var w=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,C=/(^-|-$)/g;function k(e){return e.replace(O,"-").replace(C,"")}var M=/(a)(d)/gi,L=function(e){return String.fromCharCode(e+(e>25?39:97))};function I(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=L(t%52)+n;return(L(t%52)+n).replace(M,"$1-$2")}var N,R=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},P=function(e){return R(5381,e)};function D(e){return"string"==typeof e}var j="function"==typeof Symbol&&Symbol.for,B=j?Symbol.for("react.memo"):60115,F=j?Symbol.for("react.forward_ref"):60112,z={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},U={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G=((N={})[F]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},N[B]=H,N);function $(e){return("type"in e&&e.type.$$typeof)===B?H:"$$typeof"in e?G[e.$$typeof]:z}var W=Object.defineProperty,V=Object.getOwnPropertyNames,q=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,X=Object.prototype;function K(e){return"function"==typeof e}function Q(e){return"object"==typeof e&&"styledComponentId"in e}function J(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ee(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var ei=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw er(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,a=r;a=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),n+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(b)}}(r);return n})}return e.registerId=function(e){return el(e)},e.prototype.rehydrate=function(){!this.server&&y&&ef(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e((0,r.Cl)((0,r.Cl)({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new ei(e.isServer?new ey(n):t?new em(n):new eb(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(el(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(el(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(el(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),ex=/&/g;function eA(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,a=0;a0?".".concat(t):e},g=p.slice();g.push(function(e){e.type===a.XZ&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ex,n).replace(r,f))}),d.prefix&&g.push(c),g.push(l.A);var m=function(e,i,a,s){void 0===i&&(i=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var c,h,p,f=function(e){if(!eA(e))return e;for(var t=e.length,n="",r=0,i=0,a=0,o=!1,s=0;s=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))o=1,i++;else if(o>0)41===s?o--:40===s&&o++,i++;else if(47===s&&i+1r&&n.push(e.substring(r,i));i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var eR=function(e){return null==e||!1===e||""===e},eP=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!eR(i)&&(Array.isArray(i)&&i.isCss||K(i)?t.push("".concat(eN(n),":"),i,";"):et(i)?t.push.apply(t,(0,r.fX)((0,r.fX)(["".concat(n," {")],eP(i),!1),["}"],!1)):t.push("".concat(eN(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in d.A||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function eD(e,t,n,r){if(eR(e))return[];if(Q(e))return[".".concat(e.styledComponentId)];if(K(e))return!K(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:eD(e(t),t,n,r);return e instanceof eI?n?(e.inject(n,r),[e.getName(r)]):[e]:et(e)?eP(e):Array.isArray(e)?Array.prototype.concat.apply(x,e.map(function(e){return eD(e,t,n,r)})):[e.toString()]}function ej(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,a)){var o=n(i,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,o)}r=J(r,a),this.staticRulesId=a}else{for(var s=R(this.baseHash,n.hash),l="",c=0;c>>0);if(!t.hasNameForId(this.componentId,h)){var p=n(l,".".concat(h),void 0,this.componentId);t.insertRules(this.componentId,h,p)}r=J(r,h)}}return{className:r,css:"undefined"==typeof window?t.getTag().getGroup(el(this.componentId)):""}},e}(),ez=v?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:i.createContext(void 0);ez.Consumer;var eU={};function eH(e,t,n){var a,o,s,l,c=Q(e),u=!D(e),d=t.attrs,h=void 0===d?x:d,p=t.componentId,f=void 0===p?(a=t.displayName,o=t.parentComponentId,eU[s="string"!=typeof a?"sc":k(a)]=(eU[s]||0)+1,l="".concat(s,"-").concat(I(P(m+s+eU[s])>>>0)),o?"".concat(o,"-").concat(l):l):p,g=t.displayName,b=void 0===g?D(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):g,y=t.displayName&&t.componentId?"".concat(k(t.displayName),"-").concat(t.componentId):t.componentId||f,E=c&&e.attrs?e.attrs.concat(h).filter(Boolean):h,_=t.shouldForwardProp;if(c&&e.shouldForwardProp){var O=e.shouldForwardProp;if(t.shouldForwardProp){var C=t.shouldForwardProp;_=function(e,t){return O(e,t)&&C(e,t)}}else _=O}var M=new eF(n,y,c?e.componentStyle:void 0);function L(e,t){return function(e,t,n){var a,o=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,h=v?void 0:i.useContext(ez),p=eM(),f=e.shouldForwardProp||p.shouldForwardProp,g=S(t,h,l)||A,m=function(e,t,n){for(var i,a=(0,r.Cl)((0,r.Cl)({},t),{className:void 0,theme:n}),o=0;o2&&e_.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))},e}();function eZ(e){for(var t=[],n=1;n>>0)),s=new eY(a,o),l=new WeakMap,c=function(e){var t=eM(),n=v?void 0:i.useContext(ez),a=l.get(t.styleSheet);if(void 0===a&&(a=t.styleSheet.allocateGSInstance(o),l.set(t.styleSheet,a)),"undefined"!=typeof window&&t.styleSheet.server||function(e,t,n,i,a){if(s.isStatic)s.renderStyles(e,_,n,a);else{var o=(0,r.Cl)((0,r.Cl)({},t),{theme:S(t,i,c.defaultProps)});s.renderStyles(e,o,n,a)}}(a,e,t.styleSheet,n,t.stylis),!v){var u=i.useRef(!0);i.useLayoutEffect(function(){return u.current=!1,function(){u.current=!0,queueMicrotask(function(){u.current&&(s.removeStyles(a,t.styleSheet),"undefined"!=typeof document&&document.querySelectorAll('style[data-styled-global="'.concat(o,'"]')).forEach(function(e){return e.remove()}))})}},[a,t.styleSheet])}if(v){var d=o+a,h="undefined"==typeof window?t.styleSheet.getTag().getGroup(el(d)):"";if(h){var p="".concat(o,"-").concat(a);return i.createElement("style",{key:p,"data-styled-global":o,precedence:"styled-components",href:p,children:h})}}return null};return i.memo(c)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=ee([r&&'nonce="'.concat(r,'"'),"".concat(p,'="true"'),"".concat(g,'="').concat(m,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw er(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw er(2);var t,a=e.instance.toString();if(!a)return[];var o=((t={})[p]="",t[g]=m,t.dangerouslySetInnerHTML={__html:a},t),s=n.nc;return s&&(o.nonce=s),[i.createElement("style",(0,r.Cl)({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new e_({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw er(2);return i.createElement(eL,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw er(3)}}()},40881: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}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),a={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return i}).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:[a,{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:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},40897:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,lG:()=>a,uN:()=>o});var r=n(7390);function i(e,t){return function(n){return e+n*t}}function a(e,t){var n=t-e;return n?i(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(e)?t:e)}function o(e){return 1==(e*=1)?s:function(t,n){var i,a,o;return n-t?(i=t,a=n,i=Math.pow(i,o=e),a=Math.pow(a,o)-i,o=1/o,function(e){return Math.pow(i+e*a,o)}):(0,r.A)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?i(e,n):(0,r.A)(isNaN(e)?t:e)}},41126: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=[]},41334:e=>{"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return i}),t)}i=a(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\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:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.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=[],r=0;r0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(i);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.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=[]},41362:function(e){"use strict";e.exports=function(){function e(e){var t,o,s=[];return e.AMapUI&&s.push((t=e.AMapUI,new Promise(function(e,o){var s=[];if(t.plugins)for(var l=0;l{"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=[]},41458:(e,t,n)=>{"use strict";function r(e,t){let n,r=-1,i=-1;if(void 0===t)for(let t of e)++i,null!=t&&(n>t||void 0===n&&t>=t)&&(n=t,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n>a||void 0===n&&a>=a)&&(n=a,r=i);return r}n.d(t,{A:()=>r})},41463: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=[]},41472: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=[]},41553:(e,t,n)=>{"use strict";var r=n(13290),i=Array.prototype.concat,a=Array.prototype.slice,o=e.exports=function(e){for(var t=[],n=0,o=e.length;n{e.exports=function(e){e.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},41930:(e,t,n)=>{"use strict";n.d(t,{aS:()=>s,mU:()=>l});var r=n(14837),i=n(86372),a=n(37022),o=n(12002),s={data:[],animate:{enter:!1,update:{duration:100,easing:"ease-in-out-sine",fill:"both"},exit:{duration:100,fill:"both"}},showArrow:!0,showGrid:!0,showLabel:!0,showLine:!0,showTick:!0,showTitle:!0,showTrunc:!1,dataThreshold:100,lineLineWidth:1,lineStroke:"black",crossPadding:10,titleFill:"black",titleFontSize:12,titlePosition:"lb",titleSpacing:0,titleTextAlign:"center",titleTextBaseline:"middle",lineArrow:function(){return new i.wA({style:{d:[["M",10,10],["L",-10,0],["L",10,-10],["L",0,0],["L",10,10],["Z"]],fill:"black",transformOrigin:"center"}})},labelAlign:"parallel",labelDirection:"positive",labelFontSize:12,labelSpacing:0,gridConnect:"line",gridControlAngles:[],gridDirection:"positive",gridLength:0,gridType:"segment",lineArrowOffset:15,lineArrowSize:10,tickDirection:"positive",tickLength:5,tickLineWidth:1,tickStroke:"black",labelOverlap:[]};(0,r.A)({},s,{style:{type:"arc"}}),(0,r.A)({},s,{style:{}});var l=(0,a.x)({mainGroup:o.n.mainGroup,gridGroup:o.n.gridGroup,grid:o.n.grid,lineGroup:o.n.lineGroup,line:o.n.line,tickGroup:o.n.tickGroup,tick:o.n.tick,tickItem:o.n.tickItem,labelGroup:o.n.labelGroup,label:o.n.label,labelItem:o.n.labelItem,titleGroup:o.n.titleGroup,title:o.n.title,lineFirst:o.n.lineFirst,lineSecond:o.n.lineSecond},"axis")},42003: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=[]},42021: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=[]},42093:e=>{"use strict";function t(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,function(e){if("function"==typeof a&&!a(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(r,s));)++s;return o[s]=e,i}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[i],d=n.tokenStack[u],h="string"==typeof c?c:c.content,p=t(r,u),f=h.indexOf(p);if(f>-1){++i;var g=h.substring(0,f),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=h.substring(f+p.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},42104:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(80628),i=n(95155);let a=(0,r.A)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"CheckOutlined")},42235: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"],r={},i=0,a=n.length;i",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",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},42267:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(85522);function i(){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.A)(e)););return e}(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}}).apply(null,arguments)}function a(e,t,n,a){var o=i((0,r.A)(1&a?e.prototype:e),t,n);return 2&a&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},42288:(e,t,n)=>{"use strict";var r=n(41334),i=n(7594);function a(e){var t,n;e.register(r),e.register(i),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=a,a.displayName="tsx",a.aliases=[]},42305: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=[]},42408:(e,t,n)=>{e.exports=function(e){e.use(n(52956)),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var t=function(e){var t=Math.pow(e,3);return t>.008856?t:(e-16/116)/7.87},n=(this._l+16)/116,r=this._a/500+n,i=n-this._b/200;return new e.XYZ(95.047*t(r),100*t(n),108.883*t(i),this._alpha)}})}},42749:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.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.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},42752:(e,t,n)=>{"use strict";var r=n(13395);function i(e){e.register(r),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=i,i.displayName="sparql",i.aliases=["rq"]},42773:(e,t,n)=>{var r=n(71939);e.exports=n(31814)(function(e,t,n,i){r(e,t,n,i)})},42847:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("rotate",function(e){return this.hue((e||0)/360,!0)})}},43068: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=[]},43106:(e,t,n)=>{"use strict";var r=n(31411),i=n(33488).e,a={protanomaly:{type:"protan",anomalize:!0},protanopia:{type:"protan"},deuteranomaly:{type:"deutan",anomalize:!0},deuteranopia:{type:"deutan"},tritanomaly:{type:"tritan",anomalize:!0},tritanopia:{type:"tritan"},achromatomaly:{type:"achroma",anomalize:!0},achromatopsia:{type:"achroma"}},o=function(e){return Math.round(255*e)},s=function(e){return function(t,n){var s=r(t);if(!s)return n?{R:0,G:0,B:0}:"#000000";var l=new i({R:o(s.red()||0),G:o(s.green()||0),B:o(s.blue()||0)},a[e].type,a[e].anomalize);return(l.R=l.R||0,l.G=l.G||0,l.B=l.B||0,n)?(delete l.X,delete l.Y,delete l.Z,l):new r.RGB(l.R%256/255,l.G%256/255,l.B%256/255,1).hex()}};for(var l in a)t[l]=s(l)},43189: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 r(e,r){var i={};for(var a in i["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)i[a]=r[a];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={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:r("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:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:i,property:o}),keywords:r("Keywords",{"keyword-name":a,documentation:i,property:o}),tasks:r("Tasks",{"task-name":a,documentation:i,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},43671:(e,t,n)=>{"use strict";var r=n(86985),i=n(65142);e.exports=r([n(26176),i,n(96308),n(12687),n(2455)])},43730:e=>{"use strict";function t(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 r(e){e=e.split(" ");for(var t={},r=0,i=e.length;r{"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"]},43839: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=[]},43918: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=[]},43938:(e,t)=>{"use strict";t.q=function(e){for(var t,n=[],r=String(e||""),i=r.indexOf(","),a=0,o=!1;!o;)-1===i&&(i=r.length,o=!0),((t=r.slice(a,i).trim())||!o)&&n.push(t),a=i+1,i=r.indexOf(",",a);return n}},43948:e=>{"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var i=e.get(n);t[i]||(t[i]=[]),t[i].push(r)},removeListener:function(e,t){for(var r=n(e),i=0,a=r.length;i{"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 r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \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("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),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,r=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"]},44187: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"]},44188:(e,t,n)=>{"use strict";n.d(t,{_:()=>e_});var r=n(39249),i=n(52691),a=n(73534),o=n(32481),s=n(96816),l=n(41930),c=n(56775),u=n(75403);function d(e){return e*Math.PI/180}function h(e){return Number((180*e/Math.PI).toPrecision(5))}var p=n(68058),f=n(58985);function g(e,t){return e.style.opacity||(e.style.opacity=1),(0,i.kY)(e,{opacity:0},t)}var m=n(37022),b=["$el","cx","cy","d","dx","dy","fill","fillOpacity","filter","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","height","img","increasedLineWidthForHitTesting","innerHTML","isBillboard","billboardRotation","isSizeAttenuation","isClosed","isOverflowing","leading","letterSpacing","lineDash","lineHeight","lineWidth","markerEnd","markerEndOffset","markerMid","markerStart","markerStartOffset","maxLines","metrics","miterLimit","offsetX","offsetY","opacity","path","points","r","radius","rx","ry","shadowColor","src","stroke","strokeOpacity","text","textAlign","textBaseline","textDecorationColor","textDecorationLine","textDecorationStyle","textOverflow","textPath","textPathSide","textPathStartOffset","transform","transformOrigin","visibility","width","wordWrap","wordWrapWidth","x","x1","x2","y","y1","y2","z1","z2","zIndex"];function y(e){var t={};for(var n in e)b.includes(n)&&(t[n]=e[n]);return t}var v=(0,m.x)({lineGroup:"line-group",line:"line",regionGroup:"region-group",region:"region"},"grid");function E(e){return e.reduce(function(e,t,n){return e.push((0,r.fX)([0===n?"M":"L"],(0,r.zs)(t),!1)),e},[])}function _(e,t,n){if("surround"===t.type){var i=t.connect,a=t.center;if("line"===(void 0===i?"line":i))return E(e);if(!a)return[];var o=(0,u.Io)(e[0],a),s=+!n;return e.reduce(function(e,t,n){return 0===n?e.push((0,r.fX)(["M"],(0,r.zs)(t),!1)):e.push((0,r.fX)(["A",o,o,0,0,s],(0,r.zs)(t),!1)),e},[])}return E(e)}var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t){e.type,e.center,e.areaFill,e.closed;var n,a,o,l,c,d=(0,r.Tt)(e,["type","center","areaFill","closed"]),h=(a=void 0===(n=e.data)?[]:n,e.closed?a.map(function(e){var t=e.points,n=(0,r.zs)(t,1)[0];return(0,r.Cl)((0,r.Cl)({},e),{points:(0,r.fX)((0,r.fX)([],(0,r.zs)(t),!1),[n],!1)})}):a),p=(0,s.Lt)(t).maybeAppendByClassName(v.lineGroup,"g"),m=(0,s.Lt)(t).maybeAppendByClassName(v.regionGroup,"g"),b=(o=e.animate,l=e.isBillboard,c=h.map(function(t,n){return{id:t.id||"grid-line-".concat(n),d:_(t.points,e)}}),p.selectAll(v.line.class).data(c,function(e){return e.id}).join(function(e){return e.append("path").each(function(e,t){var n=(0,f.n)(y((0,r.Cl)({d:e.d},d)),[e,t,c]);this.attr((0,r.Cl)({class:v.line.name,stroke:"#D9D9D9",lineWidth:1,lineDash:[4,4],isBillboard:l},n))})},function(e){return e.transition(function(e,t){var n=(0,f.n)(y((0,r.Cl)({d:e.d},d)),[e,t,c]);return(0,i.kY)(this,n,o.update)})},function(e){return e.transition(function(){var e=this,t=g(this,o.exit);return(0,i.D5)(t,function(){return e.remove()}),t})}).transitions()),E=function(e,t,n){var a=n.animate,o=n.connect,s=n.areaFill;if(t.length<2||!s||!o)return[];for(var l=Array.isArray(s)?s:[s,"transparent"],c=[],d=0;d180),",").concat(e>t?0:1,",").concat(v,",").concat(E)}function U(e){var t=(0,r.zs)(e,2),n=(0,r.zs)(t[0],2),i=n[0],a=n[1],o=(0,r.zs)(t[1],2);return{x1:i,y1:a,x2:o[0],y2:o[1]}}function H(e){var t=e.type,n=e.gridCenter;return"linear"===t?n:n||e.center}function G(e,t,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=!1),!!r&&e===t||!!i&&e===n||e>t&&e0,v=i-c,E=a-u,_=p*E-f*v;if(_<0===y)return!1;var x=g*E-m*v;return x<0!==y&&_>b!==y&&x>b!==y}(t,e)})}(s,d))return!0}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return!1}(p.firstChild,f.firstChild,(0,K.i)(n)):0)?(s.add(l),s.add(f)):l=f}}catch(e){i={error:e}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}return Array.from(s)}function er(e,t){return(void 0===t&&(t={}),(0,X.A)(e))?0:"number"==typeof e?e:Math.floor((0,q.WI)(e,t))}var ei=function(e){return void 0!==e&&null!=e&&!Number.isNaN(e)},ea=n(66911),eo={parity:function(e,t){var n=t.seq,r=void 0===n?2:n;return e.filter(function(e,t){return!(t%r)||((0,W.jD)(e),!1)})}},es=new Map([["hide",function(e,t,n,i){var a,o,s=e.length,l=t.keepHeader,c=t.keepTail;if(!(s<=1)&&(2!==s||!l||!c)){var u=eo.parity,d=function(e){return e.forEach(i.show),e},h=2,p=e.slice(),f=e.slice(),g=Math.min.apply(Math,(0,r.fX)([1],(0,r.zs)(e.map(function(e){return e.getBBox().width})),!1));if("linear"===n.type&&(B(n)||F(n))){var m=(0,ea.p4)(e[0]).left,b=Math.abs((0,ea.p4)(e[s-1]).right-m)||1;h=Math.max(Math.floor(s*g/b),h)}for(l&&(a=p.splice(0,1)[0]),c&&(o=p.splice(-1,1)[0],p.reverse()),d(p);hg+f;E-=f){var _=v(E);if("object"==typeof _)return _.value}}}],["wrap",function(e,t,n,i,a){var o,s,l,c=t.maxLines,u=void 0===c?3:c,d=t.recoverWhenFailed,h=t.margin,p=void 0===h?[0,0,0,0]:h,g=(0,f.n)(null!=(l=t.wordWrapWidth)?l:50,[a]),m=e.map(function(e){return e.attr("maxLines")||1}),b=Math.min.apply(Math,(0,r.fX)([],(0,r.zs)(m),!1)),y=function(){return en(e,n,p).length<1},v=(o=n.type,s=n.labelDirection,"linear"===o&&B(n)?"negative"===s?"bottom":"top":"middle"),E=function(t){return e.forEach(function(e,n){var r=Array.isArray(t)?t[n]:t;i.wrap(e,g,r,v)})};if(!(b>u)){if("linear"===n.type&&B(n)){if(E(u),y())return}else for(var _=b;_<=u;_++)if(E(_),y())return;(void 0===d||d)&&E(m)}}]]);function el(e){for(var t=e;t<0;)t+=360;return Math.round(t%360)}function ec(e,t){var n=(0,r.zs)(e,2),i=n[0],a=n[1],o=(0,r.zs)(t,2),s=o[0],l=o[1],c=(0,r.zs)([i*s+a*l,i*l-a*s],2),u=c[0];return Math.atan2(c[1],u)}function eu(e,t,n){var r=n.type,i=n.labelAlign,a=N(e,n),o=el(t),s=el(h(ec([1,0],a))),l="center",c="middle";return"linear"===r?[90,270].includes(s)&&0===o?(l="center",c=1===a[1]?"top":"bottom"):!(s%180)&&[90,270].includes(o)?l="center":0===s?G(o,0,90,!1,!0)?l="start":(G(o,0,90)||G(o,270,360))&&(l="start"):90===s?G(o,0,90,!1,!0)?l="start":(G(o,90,180)||G(o,270,360))&&(l="end"):270===s?G(o,0,90,!1,!0)?l="end":(G(o,90,180)||G(o,270,360))&&(l="start"):180===s&&(90===o?l="start":(G(o,0,90)||G(o,270,360))&&(l="end")):"parallel"===i?c=G(s,0,180,!0)?"top":"bottom":"horizontal"===i?G(s,90,270,!1)?l="end":(G(s,270,360,!1)||G(s,0,90))&&(l="start"):"perpendicular"===i&&(l=G(s,90,270)?"end":"start"),{textAlign:l,textBaseline:c}}function ed(e,t,n){var i=n.showTick,a=n.tickLength,o=n.tickDirection,s=n.labelDirection,l=n.labelSpacing,c=t.indexOf(e),d=(0,f.n)(l,[e,c,t]),h=(0,r.zs)([N(e.value,n),function(){for(var e=[],t=0;t=1))||null==o||o(n,i,e,r,t)})}function eg(e,t,n,i,a){var o,u,d,g,m,b=n.indexOf(t),y=a.labelRender,v=a.classNamePrefix,E=(0,s.Lt)(e).append(y?(o=a.labelRender,u=((0,A.A)(a,"endPos.0",400)-(0,A.A)(a,"startPos.0",0))/n.length,g=$(d=(0,c.A)(o)?(0,f.n)(o,[t,b,n,N(t.value,a)]):t.label||"")||30,function(){return(0,S.E)(d,{width:u,height:g})}):(m=a.labelFormatter,(0,c.A)(m)?function(){return(0,S.z)((0,f.n)(m,[t,b,n,N(t.value,a)]))}:function(){return(0,S.z)(t.label||"")})).attr("className",l.mU.labelItem.name).node();P((0,s.Lt)(E),l.mU.labelItem,D.n.labelItem,v);var _=(0,r.zs)((0,p.u0)(C(i,[t,b,n])),2),x=_[0],w=_[1],O=w.transform,k=(0,r.Tt)(w,["transform"]);Y(E,O);var M=function(e,t,n){var r,i,a=n.labelAlign;if(null==(i=t.style.transform)?void 0:i.includes("rotate"))return t.getLocalEulerAngles();var o=0,s=N(e.value,n),l=L(e.value,n);return"horizontal"===a?0:(G(r=(h(o="perpendicular"===a?ec([1,0],s):ec([l[0]<0?-1:1,0],l))+360)%180,-90,90)||(r+=180),r)}(t,E,a);if(E.getLocalEulerAngles()||E.setLocalEulerAngles(M),ep(E,(0,r.Cl)((0,r.Cl)({},eu(t.value,M,a)),x)),"html"===E.nodeName){var I=E.getBBox(),R=E.style.x||0;E.attr("x",R-I.width/2)}return e.attr(k),E}function em(e,t){return I(e,t.tickDirection,t)}function eb(e,t,n,a,o,u){var d,h,g,m,b,y,v,E,_,x,A,S,w,O,k,M,L,I,N,R,B,F,z,U=(d=(0,s.Lt)(this),h=a.tickFormatter,g=a.classNamePrefix,m=em(e.value,a),b="line",(0,c.A)(h)&&(b=function(){return(0,f.n)(h,[e,t,n,m])}),P(y=d.append(b).attr("className",l.mU.tickItem.name),l.mU.tickItem,D.n.tickItem,g),y);v=em(e.value,a),L=(E=a.tickLength,A=(0,r.zs)((_=(0,f.n)(E,[e,t,n]),[[0,0],[(x=(0,r.zs)(v,2))[0]*_,x[1]*_]]),2),w=(S=(0,r.zs)(A[0],2))[0],O=S[1],M={x1:w,x2:(k=(0,r.zs)(A[1],2))[0],y1:O,y2:k[1]}).x1,I=M.x2,N=M.y1,R=M.y2,F=(B=(0,r.zs)((0,p.u0)(C(o,[e,t,n,v])),2))[0],z=B[1],"line"===U.node().nodeName&&U.styles((0,r.Cl)({x1:L,x2:I,y1:N,y2:R},F)),this.attr(z),U.styles(F);var H=(0,r.zs)(j(e.value,a),2),G=H[0],$=H[1];return(0,i.kY)(this,{transform:"translate(".concat(G,", ").concat($,")")},u)}var ey=n(24611);function ev(e,t,n,a,o){var c=(0,p.iA)(a,"title"),d=(0,r.zs)((0,p.u0)(c),2),h=d[0],f=d[1],g=f.transform,m=f.transformOrigin,b=(0,r.Tt)(f,["transform","transformOrigin"]);t.styles(b);var y=g||function(e,t,n){var r=2*e.getGeometryBounds().halfExtents[1];if("vertical"===t){if("left"===n)return"rotate(-90) translate(0, ".concat(r/2,")");if("right"===n)return"rotate(-90) translate(0, -".concat(r/2,")")}return""}(e.node(),h.direction,h.position);e.styles((0,r.Cl)((0,r.Cl)({},h),{transformOrigin:m})),Y(e.node(),y);var v=function(e,t,n){var i=n.titlePosition,a=void 0===i?"lb":i,o=n.titleSpacing,s=(0,ey.r)(a),l=e.node().getLocalBounds(),c=(0,r.zs)(l.min,2),d=c[0],h=c[1],p=(0,r.zs)(l.halfExtents,2),f=p[0],g=p[1],m=(0,r.zs)(t.node().getLocalBounds().halfExtents,2),b=m[0],y=m[1],v=(0,r.zs)([d+f,h+g],2),E=v[0],_=v[1],x=(0,r.zs)((0,K.i)(o),4),A=x[0],S=x[1],w=x[2],O=x[3];if(["start","end"].includes(a)&&"linear"===n.type){var C=n.startPos,k=n.endPos,M=(0,r.zs)("start"===a?[C,k]:[k,C],2),L=M[0],I=M[1],N=(0,u.S8)([-I[0]+L[0],-I[1]+L[1]]),R=(0,r.zs)((0,u.hs)(N,A),2),P=R[0],D=R[1];return{x:L[0]+P,y:L[1]+D}}return s.includes("t")&&(_-=g+y+A),s.includes("r")&&(E+=f+b+S),s.includes("l")&&(E-=f+b+O),s.includes("b")&&(_+=g+y+w),{x:E,y:_}}((0,s.Lt)(n._offscreen||n.querySelector(l.mU.mainGroup.class)),t,a),E=v.x,_=v.y;return(0,i.kY)(t.node(),{transform:"translate(".concat(E,", ").concat(_,")")},o)}function eE(e,t,n,a){var c=e.showLine,u=e.showTick,d=e.showLabel,h=e.classNamePrefix,f=t.maybeAppendByClassName(l.mU.lineGroup,"g");P(f,l.mU.lineGroup,D.n.lineGroup,h);var m=(0,o.V)(c,f,function(t){return function(e,t,n){var a,o,s,c,u,d,h,f=t.type,g=(0,p.iA)(t,"line");return"linear"===f?h=function(e,t,n,a){var o,s,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w=t.showTrunc,O=t.startPos,C=t.endPos,k=t.truncRange,M=t.lineExtension,L=t.classNamePrefix,I=(0,r.zs)([O,C],2),N=(0,r.zs)(I[0],2),P=N[0],j=N[1],B=(0,r.zs)(I[1],2),F=B[0],z=B[1],H=(0,r.zs)(M?(void 0===(o=M)&&(o=[0,0]),s=(0,r.zs)([O,C,o],3),u=(c=(0,r.zs)(s[0],2))[0],d=c[1],p=(h=(0,r.zs)(s[1],2))[0],f=h[1],m=(g=(0,r.zs)(s[2],2))[0],b=g[1],_=Math.sqrt(Math.pow(v=(y=(0,r.zs)([p-u,f-d],2))[0],2)+Math.pow(E=y[1],2)),[(A=(x=(0,r.zs)([-m/_,b/_],2))[0])*v,A*E,(S=x[1])*v,S*E]):[,,,,].fill(0),4),G=H[0],$=H[1],W=H[2],V=H[3],q=function(t){return e.selectAll(l.mU.line.class).data(t,function(e,t){return t}).join(function(e){var t=e.append("line").styles(n).transition(function(e){return(0,i.kY)(this,U(e.line),!1)});return t.attr("className",function(e){if(!L)return"".concat(l.mU.line.name," ").concat(e.className);var t=R(l.mU.line.name,D.n.line,L);if(e.className===l.mU.lineFirst.name){var n=R(l.mU.lineFirst.name,D.n.lineFirst,L);return"".concat(t," ").concat(n)}if(e.className===l.mU.lineSecond.name){var n=R(l.mU.lineSecond.name,D.n.lineSecond,L);return"".concat(t," ").concat(n)}return t}),t},function(e){return e.styles(n).transition(function(e){var t=e.line;return(0,i.kY)(this,U(t),a.update)})},function(e){return e.remove()}).transitions()};if(!w||!k)return q([{line:[[P+G,j+$],[F+W,z+V]],className:l.mU.line.name}]);var Y=(0,r.zs)(k,2),Z=Y[0],X=Y[1],K=F-P,Q=z-j,J=(0,r.zs)([P+K*Z,j+Q*Z],2),ee=J[0],et=J[1],en=(0,r.zs)([P+K*X,j+Q*X],2),er=en[0],ei=en[1],ea=q([{line:[[P+G,j+$],[ee,et]],className:l.mU.lineFirst.name},{line:[[er,ei],[F+W,z+V]],className:l.mU.lineSecond.name}]);return t.truncRange,t.truncShape,t.lineExtension,ea}(e,t,O(g,"arrow"),n):(a=O(g,"arrow"),o=t.startAngle,s=t.endAngle,c=t.center,u=t.radius,d=t.classNamePrefix,h=e.selectAll(l.mU.line.class).data([{d:z.apply(void 0,(0,r.fX)((0,r.fX)([o,s],(0,r.zs)(c),!1),[u],!1))}],function(e,t){return t}).join(function(e){var n=e.append("path").attr("className",l.mU.line.name).styles(t).styles({d:function(e){return e.d}});return P(n,l.mU.line,D.n.line,d),n},function(e){return e.transition(function(){var e,t,i,a,l,d=this,h=function(e,t,n,i){if(!i)return e.attr("__keyframe_data__",n),null;var a=i.duration,o=function e(t,n){var i,a,o,s,l,c;return"number"==typeof t&&"number"==typeof n?function(e){return t*(1-e)+n*e}:Array.isArray(t)&&Array.isArray(n)?(i=n?n.length:0,a=t?Math.min(i,t.length):0,function(r){var o=Array(a),s=Array(i),l=0;for(l=0;lE[0])||!(t{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},44963:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,Q:()=>l});var r=n(39249),i=n(86372),a=n(2638),o=function(e){function t(){for(var t=[],n=0;n{var r=n(36707);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},45046: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"]},45352: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"]},45379:e=>{"use strict";function t(e){var t,n,r,i;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},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"}},r.interpolation.inside.content.inside=i}e.exports=t,t.displayName="jq",t.aliases=[]},45420: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":"Ÿ"}')},45552: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=[]},45752: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=[]},46032:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var r=n(53461),i=n(24254);function a(e){return!(0,r.A)(e)&&!(0,i.A)(e)&&!Number.isNaN(e)}},46242:e=>{"use strict";function t(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.exports=t,t.displayName="coq",t.aliases=[]},46272: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"]},46930:e=>{e.exports=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var t,n,r,i=this._hue,a=this._saturation,o=this._value,s=Math.min(5,Math.floor(6*i)),l=6*i-s,c=o*(1-a),u=o*(1-l*a),d=o*(1-(1-l)*a);switch(s){case 0:t=o,n=d,r=c;break;case 1:t=u,n=o,r=c;break;case 2:t=c,n=o,r=d;break;case 3:t=c,n=u,r=o;break;case 4:t=d,n=c,r=o;break;case 5:t=o,n=c,r=u}return new e.RGB(t,n,r,this._alpha)},hsl:function(){var t,n=(2-this._saturation)*this._value,r=this._saturation*this._value,i=n<=1?n:2-n;return t=i<1e-9?0:r/i,new e.HSL(this._hue,t,n/2,this._alpha)},fromRgb:function(){var t,n=this._red,r=this._green,i=this._blue,a=Math.max(n,r,i),o=a-Math.min(n,r,i);if(0===o)t=0;else switch(a){case n:t=(r-i)/o/6+ +(r{"use strict";function t(e){var t;t="(?:"+["$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("^(['\"])?"+t+"(?:\\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=[]},47113:e=>{"use strict";function t(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}e.exports=t,t.displayName="csp",t.aliases=[]},47463:e=>{"use strict";function t(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}e.exports=t,t.displayName="asm6502",t.aliases=[]},47548:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(19663),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},47562:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(83955),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},47876: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=[]},47887:(e,t,n)=>{"use strict";var r="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},i=function(){var e="Prism"in r,t=e?r.Prism:void 0;return function(){e?r.Prism=t:delete r.Prism,e=void 0,t=void 0}}();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=n(59235),o=n(30321),s=n(37186),l=n(70153),c=n(75088),u=n(74465),d=n(34698);i();var h={}.hasOwnProperty;function p(){}p.prototype=s;var f=new p;function g(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,r=s.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(h.call(f.languages,t))n=f.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},f.register=g,f.alias=function(e,t){var n,r,i,a,o=f.languages,s=e;for(n in t&&((s={})[e]=t),s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a{"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=[]},48312:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let 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 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:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},48372:(e,t,n)=>{"use strict";var r=n(97883);function i(e){e.register(r),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=i,i.displayName="purescript",i.aliases=["purs"]},48505:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},48532: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"]},48624:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(69047);function i(e,t,n,i,a,o,s,l,c,u){var d,h=u.bbox,p=void 0===h||h,f=u.length,g=void 0===f||f,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,v=e,E=t,_=0,x=[v,E,0],A=[v,E],S={x:0,y:0},w=[{x:v,y:E}];y&&c<=0&&(S={x:v,y:E});for(var O=0;O<=b;O+=1){if(v=(d=function(e,t,n,r,i,a,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*i+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*a+Math.pow(l,3)*s}}(e,t,n,i,a,o,s,l,O/b)).x,E=d.y,p&&w.push({x:v,y:E}),g&&(_+=(0,r.F)(A,[v,E])),A=[v,E],y&&_>=c&&c>x[2]){var C=(_-c)/(_-x[2]);S={x:A[0]*(1-C)+x[0]*C,y:A[1]*(1-C)+x[1]*C}}x=[v,E,_]}return y&&c>=_&&(S={x:s,y:l}),{length:_,point:S,min:{x:Math.min.apply(null,w.map(function(e){return e.x})),y:Math.min.apply(null,w.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}},48659:(e,t,n)=>{var r=n(37929);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},48698: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=[]},48875:(e,t,n)=>{"use strict";function r(e,t,n){return n?"".concat(e," ").concat(n,"legend-").concat(t):e}n.d(t,{X:()=>r})},48956: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=[]},49577: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=[]},49603:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(33313);function i(e){return(0,r.N)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},49900:(e,t,n)=>{e.exports=function(e){e.use(n(46930)),e.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var t,n=2*this._lightness,r=this._saturation*(n<=1?n:2-n);return t=n+r<1e-9?0:2*r/(n+r),new e.HSV(this._hue,t,(n+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},49929:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(42464),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},50107:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,Cc:()=>p,Om:()=>h,Re:()=>c,S8:()=>d,WQ:()=>l,fA:()=>a,hZ:()=>s,jb:()=>g,t2:()=>f,vt:()=>i,ze:()=>u});var r=n(31142);function i(){var e=new r.tb(2);return r.tb!=Float32Array&&(e[0]=0,e[1]=0),e}function a(e,t){var n=new r.tb(2);return n[0]=e,n[1]=t,n}function o(e,t){return e[0]=t[0],e[1]=t[1],e}function s(e,t,n){return e[0]=t,e[1]=n,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function u(e,t){return e[0]=-t[0],e[1]=-t[1],e}function d(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e}function h(e,t){return e[0]*t[0]+e[1]*t[1]}function p(e,t,n,r){var i=t[0],a=t[1];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e}function f(e,t){return e[0]===t[0]&&e[1]===t[1]}var g=c;i()},50312:(e,t,n)=>{"use strict";var r=n(30313),i=n(42093);function a(e){e.register(r),e.register(i),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=a,a.displayName="erb",a.aliases=[]},50315: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=[]},50407:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={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 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z"}}]},name:"file-markdown",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},50459:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},50478:(e,t,n)=>{"use strict";var r=n(70750);function i(e){e.register(r);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 i=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/};i["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=i,e.languages.ly=i}e.exports=i,i.displayName="lilypond",i.aliases=[]},50502: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=function(e){return e.split("")}},50979:()=>{},51033:(e,t,n)=>{"use strict";var r=n(42093);function i(e){e.register(r),e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,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=i,i.displayName="handlebars",i.aliases=["hbs"]},51749:e=>{"use strict";function t(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.exports=t,t.displayName="toml",t.aliases=[]},51750:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(88491);let i=(e,t,n=5)=>{let i,a=[e,t],o=0,s=a.length-1,l=a[o],c=a[s];return c0?(l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i,i=(0,r.l)(l,c,n)):i<0&&(l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i,i=(0,r.l)(l,c,n)),i>0?(a[o]=Math.floor(l/i)*i,a[s]=Math.ceil(c/i)*i):i<0&&(a[o]=Math.ceil(l*i)/i,a[s]=Math.floor(c*i)/i),a}},51927:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(14837);class i{constructor(e){this.options=(0,r.A)({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=(0,r.A)({},this.options,e),this.rescale(e)}rescale(e){}}},52199:(e,t,n)=>{var r=n(91569),i=n(77969),a=n(86030),o=n(39608);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return r(o(n)?a(n):[n],i(t,1))}},52229:e=>{e.exports=function(e){e.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new e.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var t=this._red,n=this._green,r=this._blue,i=1-t,a=1-n,o=1-r,s=1;return t||n||r?(s=Math.min(i,Math.min(a,o)),i=(i-s)/(1-s),a=(a-s)/(1-s),o=(o-s)/(1-s)):s=1,new e.CMYK(i,a,o,s,this._alpha)}})}},52238:(e,t,n)=>{"use strict";var r=n(56373),i=n(86466);function a(e){e.register(r),e.register(i),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=a,a.displayName="t4Cs",a.aliases=[]},52276: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=[]},52657:e=>{"use strict";function t(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,r=[[/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,[r],"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.exports=t,t.displayName="avisynth",t.aliases=["avs"]},52691:(e,t,n)=>{"use strict";n.d(t,{CB:()=>l,D5:()=>s,R7:()=>o,i0:()=>u,kY:()=>h,tp:()=>d});var r=n(39249),i=n(7006),a=n(2638);function o(e){if(!e)return{enter:!1,update:!1,exit:!1};var t=["enter","update","exit"],n=Object.fromEntries(Object.entries(e).filter(function(e){var n=(0,r.zs)(e,1)[0];return!t.includes(n)}));return Object.fromEntries(t.map(function(t){return"boolean"!=typeof e&&"enter"in e&&"update"in e&&"exit"in e?!1===e[t]?[t,!1]:[t,(0,r.Cl)((0,r.Cl)({},e[t]),n)]:[t,n]}))}function s(e,t){e?e.finished.then(t):t()}function l(e,t){0===e.length?t():Promise.all(e.map(function(e){return null==e?void 0:e.finished})).then(t)}function c(e,t){"update"in e?e.update(t):e.attr(t)}function u(e,t,n){return 0===t.length?null:n?e.animate(t,n):(c(e,{style:t.slice(-1)[0]}),null)}function d(e,t,n,i){if(void 0===i&&(i="destroy"),"text"===e.nodeName&&"text"===t.nodeName&&e.attributes.text===t.attributes.text&&1)return e.remove(),[null];var o=function(){"destroy"===i?e.destroy():"hide"===i&&(0,a.jD)(e),t.isVisible()&&(0,a.WU)(t)};if(!n)return o(),[null];var l=n.duration,c=void 0===l?0:l,u=n.delay,d=void 0===u?0:u,h=Math.ceil(c/2),p=c/4,f=(0,r.zs)(e.getGeometryBounds().center,2),g=f[0],m=f[1],b=(0,r.zs)(t.getGeometryBounds().center,2),y=b[0],v=b[1],E=(0,r.zs)([(g+y)/2-g,(m+v)/2-m],2),_=E[0],x=E[1],A=e.style.opacity,S=t.style.opacity,w=e.style.transform||"",O=t.style.transform||"",C=e.animate([{opacity:void 0===A?1:A,transform:"translate(0, 0) ".concat(w)},{opacity:0,transform:"translate(".concat(_,", ").concat(x,") ").concat(w)}],(0,r.Cl)((0,r.Cl)({fill:"both"},n),{duration:d+h+p})),k=t.animate([{opacity:0,transform:"translate(".concat(-_,", ").concat(-x,") ").concat(O),offset:.01},{opacity:void 0===S?1:S,transform:"translate(0, 0) ".concat(O)}],(0,r.Cl)((0,r.Cl)({fill:"both"},n),{duration:h+p,delay:d+h-p}));return s(k,o),[C,k]}function h(e,t,n){var a={},o={};return(Object.entries(t).forEach(function(t){var n=(0,r.zs)(t,2),s=n[0],l=n[1];if(!(0,i.A)(l)){var c=e.style[s]||e.parsedStyle[s]||0;c!==l&&(a[s]=c,o[s]=l)}}),n)?u(e,[a,o],(0,r.Cl)({fill:"both"},n)):(c(e,o),null)}},52777:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,W:()=>c});var r=n(2423),i=n(79135),a=n(38414),o=n(4292),s=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},l=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};function c(e,t,n){return s(this,void 0,void 0,function*(){let[c,u]=yield function(e,t,n){return s(this,void 0,void 0,function*(){let{library:r}=n,[i]=(0,a.t)("transform",r),{preInference:s=[],postInference:l=[]}=t,{transform:c=[]}=e,u=[o.hq,o.py,o.GW,o.zE,o.K1,o.R2,o.sd,o.PR,o.D9,o.Jt,o.bD,...s.map(i),...c.map(i),...l.map(i),o.lM],d=[],h=e;for(let e of u)[d,h]=yield e(d,h,n);return[d,h]})}(e,t,n),{encode:d,scale:h,data:p,tooltip:f,key:g}=u;if(!1===Array.isArray(p))return null;let{channels:m}=t,b=(0,r.i8)(Object.entries(d).filter(([,e])=>(0,i.sw)(e)),e=>e.map(([e,t])=>Object.assign({name:e},t)),([e])=>{var t;let n=null==(t=/([^\d]+)\d*$/.exec(e))?void 0:t[1],r=m.find(e=>e.name===n);return(null==r?void 0:r.independent)?e:n}),y=m.filter(e=>{let{name:t,required:n}=e;if(b.find(([e])=>e===t))return!0;if(n)throw Error(`Missing encoding for channel: ${t}.`);return!1}).flatMap(e=>{let{name:t,scale:n,scaleKey:r,range:i,quantitative:a,ordinal:o}=e;return b.filter(([e])=>e.startsWith(t)).map(([e,t],s)=>{let c=t.some(e=>e.visual),u=t.some(e=>e.constant),d=h[e]||{},{independent:p=!1,key:f=r||e,type:m=u?"constant":c?"identity":n}=d,b=l(d,["independent","key","type"]),y="constant"===m;return{name:e,values:t,scaleKey:p||y?Symbol("independent"):f,scale:Object.assign(Object.assign({type:m,markKey:g,range:y?void 0:i},b),{quantitative:a,ordinal:o})}})});return[u,Object.assign(Object.assign({},t),{index:c,channels:y,tooltip:f})]})}function u(e){let[t]=(0,a.t)("encode",e);return(e,n)=>void 0===n||void 0===e?null:Object.assign(Object.assign({},n),{type:"column",value:t(n)(e),field:function(e){let{type:t,value:n}=e;return"field"===t&&"string"==typeof n?n:null}(n)})}},52922:(e,t,n)=>{"use strict";n.d(t,{o2:()=>o,JC:()=>a,Ay:()=>i});var r=n(1736);function i(e,...t){if("function"!=typeof e[Symbol.iterator])throw TypeError("values is not iterable");e=Array.from(e);let[n]=t;if(n&&2!==n.length||t.length>1){var r;let i=Uint32Array.from(e,(e,t)=>t);return t.length>1?(t=t.map(t=>e.map(t)),i.sort((e,n)=>{for(let r of t){let t=o(r[e],r[n]);if(t)return t}})):(n=e.map(n),i.sort((e,t)=>o(n[e],n[t]))),r=e,Array.from(i,e=>r[e])}return e.sort(a(n))}function a(e=r.A){if(e===r.A)return o;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,n)=>{let r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function o(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et))}},52956:e=>{e.exports=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var t=function(e){return e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92},n=t(this._red),r=t(this._green),i=t(this._blue);return new e.XYZ(.4124564*n+.3575761*r+.1804375*i,.2126729*n+.7151522*r+.072175*i,.0193339*n+.119192*r+.9503041*i,this._alpha)},rgb:function(){var t=this._x,n=this._y,r=this._z,i=function(e){return e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e};return new e.RGB(i(3.2404542*t+-1.5371385*n+-.4985314*r),i(-.969266*t+1.8760108*n+.041556*r),i(.0556434*t+-.2040259*n+1.0572252*r),this._alpha)},lab:function(){var t=function(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29},n=t(this._x/95.047),r=t(this._y/100),i=t(this._z/108.883);return new e.LAB(116*r-16,500*(n-r),200*(r-i),this._alpha)}})}},53023: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=[]},53168:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>eI});var i=n(34093),a=n(12556),o=n(54573);let s="phrasing",l=["autolink","link","image","label"];function c(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function u(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function h(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function p(e){this.config.exit.autolinkEmail.call(this,e)}function f(e){this.exit(e)}function g(e){(0,o.T)(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,m],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,b]],{ignore:["link","linkReference"]})}function m(e,t,n,i,a){let o="";if(!y(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),a=r(e,"("),o=r(e,")");for(;-1!==i&&a>o;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),o++;return[e,n]}(n+i);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function b(e,t,n,r){return!(!y(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function y(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.Ny)(n)||(0,a.es)(n))&&(!t||47!==n)}var v=n(33386);function E(){this.buffer()}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function x(){this.buffer()}function A(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,v.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function w(e){this.exit(e)}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,v.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function C(e){this.exit(e)}function k(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]")}function M(e,t,n){return 0===t?e:L(e,t,n)}function L(e,t,n){return(n?"":" ")+e}k.peek=function(){return"["};let I=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function N(e){this.enter({type:"delete",children:[]},e)}function R(e){this.exit(e)}function P(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function D(e){return e.length}function j(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}P.peek=function(){return"~"};var B=n(23768);function F(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function z(e){this.exit(e),this.data.inTable=void 0}function U(e){this.enter({type:"tableRow",children:[]},e)}function H(e){this.exit(e)}function G(e){this.enter({type:"tableCell",children:[]},e)}function $(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,W));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function W(e,t){return"|"===t?t:e}function V(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function q(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++a0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}ei[43]=er,ei[45]=er,ei[46]=er,ei[95]=er,ei[72]=[er,en],ei[104]=[er,en],ei[87]=[er,et],ei[119]=[er,et];var ed=n(95333),eh=n(94581);let ep={tokenize:function(e,t,n){let r=this;return(0,eh.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function ef(e,t,n){let r,i=this,a=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let s=(0,v.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function eg(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function em(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,a.Ee)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.Ee)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eb(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.B)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return(0,a.Ee)(t)||(i=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eh.N)(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function ey(e,t,n){return e.check(ed.B,t,e.attempt(ep,t,n))}function ev(e){e.exit("gfmFootnoteDefinition")}var eE=n(11603),e_=n(49535),ex=n(91877);class eA{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function eS(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?v:l;return a===v&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),c(n)}function c(t){return null===t?n(t):(0,a.HP)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):(0,a.On)(t)?(0,eh.N)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.On)(t))?(0,eh.N)(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,a.On)(t)?(0,eh.N)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,a.HP)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,a.On)(t)?(0,eh.N)(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return p(i);if(null===i||(0,a.HP)(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function v(t){return e.enter("tableRow"),E(t)}function E(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),E):null===n||(0,a.HP)(n)?(e.exit("tableRow"),t(n)):(0,a.On)(n)?(0,eh.N)(e,E,"whitespace")(n):(e.enter("data"),_(n))}function _(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),E(t)):(e.consume(t),92===t?x:_)}function x(t){return 92===t||124===t?(e.consume(t),_):_(t)}}function ew(e,t){let n,r,i,a=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,h=new eA;for(;++an[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},eC(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function eO(e,t,n,r,i){let a=[],o=eC(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function eC(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let ek={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,a.HP)(r)?t(r):(0,a.On)(r)?e.check({tokenize:eM},t,n)(r):n(r)}}};function eM(e,t,n){return(0,eh.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eL={};function eI(e){let t,n=e||eL,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push((0,Z.y)([{text:ei},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eb,continuation:{tokenize:ey},exit:ev}},text:{91:{name:"gfmFootnoteCall",tokenize:em},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ef,resolveTo:eg}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,a=this.events,o=0;return function(s){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function a(s){let l=(0,e_.S)(i);if(126===s)return o>1?r(s):(e.consume(s),o++,a);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,e_.S)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n0&&(a.shift(4),o+=a.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,a.current()),t?L:M))),s(),o},footnoteReference:k},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:I}],handlers:{delete:P}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=B.p.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("table");for(;++ic&&(c=e[u].length);++al[a])&&(l[a]=e)}t.push(o)}o[u]=t,s[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++hl[h]&&(l[h]=i),f[h]=i),p[h]=o}o.splice(1,0,p),s.splice(1,0,f),u=-1;let g=[];for(;++ut?1:er(t,n.left.key)){var l=n.left;if(n.left=l.right,l.right=n,null===(n=l).left)break}o.left=n,o=n,n=n.left}else if(s>0){if(null===n.right)break;if(r(t,n.right.key)>0){var l=n.right;if(n.right=l.left,l.left=n,null===(n=l).right)break}a.right=n,a=n,n=n.right}else break}return a.right=n.left,o.left=n.right,n.left=i.right,n.right=i.left,n}function i(t,r,i,a){var o=new e(t,r);if(null===i)return o.left=o.right=null,o;i=n(t,i,a);var s=a(t,i.key);return s<0?(o.left=i.left,o.right=i,i.left=null):s>=0&&(o.right=i.right,o.left=i,i.right=null),o}function a(e,t,r){var i=null,a=null;if(t){t=n(e,t,r);var o=r(t.key,e);0===o?(i=t.left,a=t.right):o<0?(a=t.right,t.right=null,i=t):(i=t.left,t.left=null,a=t)}return{left:i,right:a}}var o=function(){function r(e){void 0===e&&(e=t),this._root=null,this._size=0,this._comparator=e}return r.prototype.insert=function(e,t){return this._size++,this._root=i(e,t,this._root,this._comparator)},r.prototype.add=function(t,r){var i=new e(t,r);null===this._root&&(i.left=i.right=null,this._size++,this._root=i);var a=this._comparator,o=n(t,this._root,a),s=a(t,o.key);return 0===s?this._root=o:(s<0?(i.left=o.left,i.right=o,o.left=null):s>0&&(i.right=o.right,i.left=o,o.right=null),this._size++,this._root=i),this._root},r.prototype.remove=function(e){this._root=this._remove(e,this._root,this._comparator)},r.prototype._remove=function(e,t,r){var i;return null===t?null:(t=n(e,t,r),0===r(e,t.key))?(null===t.left?i=t.right:(i=n(e,t.left,r)).right=t.right,this._size--,i):t},r.prototype.pop=function(){var e=this._root;if(e){for(;e.left;)e=e.left;return this._root=n(e.key,this._root,this._comparator),this._root=this._remove(e.key,this._root,this._comparator),{key:e.key,data:e.data}}return null},r.prototype.findStatic=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(0===r)return t;t=r<0?t.left:t.right}return null},r.prototype.find=function(e){return this._root&&(this._root=n(e,this._root,this._comparator),0!==this._comparator(e,this._root.key))?null:this._root},r.prototype.contains=function(e){for(var t=this._root,n=this._comparator;t;){var r=n(e,t.key);if(0===r)return!0;t=r<0?t.left:t.right}return!1},r.prototype.forEach=function(e,t){for(var n=this._root,r=[],i=!1;!i;)null!==n?(r.push(n),n=n.left):0!==r.length?(n=r.pop(),e.call(t,n),n=n.right):i=!0;return this},r.prototype.range=function(e,t,n,r){for(var i=[],a=this._comparator,o=this._root;0!==i.length||o;)if(o)i.push(o),o=o.left;else{if(a((o=i.pop()).key,t)>0)break;if(a(o.key,e)>=0&&n.call(r,o))return this;o=o.right}return this},r.prototype.keys=function(){var e=[];return this.forEach(function(t){var n=t.key;return e.push(n)}),e},r.prototype.values=function(){var e=[];return this.forEach(function(t){var n=t.data;return e.push(n)}),e},r.prototype.min=function(){return this._root?this.minNode(this._root).key:null},r.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},r.prototype.minNode=function(e){if(void 0===e&&(e=this._root),e)for(;e.left;)e=e.left;return e},r.prototype.maxNode=function(e){if(void 0===e&&(e=this._root),e)for(;e.right;)e=e.right;return e},r.prototype.at=function(e){for(var t=this._root,n=!1,r=0,i=[];!n;)if(t)i.push(t),t=t.left;else if(i.length>0){if(t=i.pop(),r===e)return t;r++,t=t.right}else n=!0;return null},r.prototype.next=function(e){var t=this._root,n=null;if(e.right){for(n=e.right;n.left;)n=n.left;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(0===i)break;i<0?(n=t,t=t.left):t=t.right}return n},r.prototype.prev=function(e){var t=this._root,n=null;if(null!==e.left){for(n=e.left;n.right;)n=n.right;return n}for(var r=this._comparator;t;){var i=r(e.key,t.key);if(0===i)break;i<0?t=t.left:(n=t,t=t.right)}return n},r.prototype.clear=function(){return this._root=null,this._size=0,this},r.prototype.toList=function(){return function(t){for(var n=t,r=[],i=!1,a=new e(null,null),o=a;!i;)n?(r.push(n),n=n.left):r.length>0?n=(n=o=o.next=r.pop()).right:i=!0;return o.next=null,a.next}(this._root)},r.prototype.load=function(t,n,r){void 0===n&&(n=[]),void 0===r&&(r=!1);var i=t.length,a=this._comparator;if(r&&function e(t,n,r,i,a){if(!(r>=i)){for(var o=t[r+i>>1],s=r-1,l=i+1;;){do s++;while(0>a(t[s],o));do l--;while(a(t[l],o)>0);if(s>=l)break;var c=t[s];t[s]=t[l],t[l]=c,c=n[s],n[s]=n[l],n[l]=c}e(t,n,r,l,a),e(t,n,l+1,i,a)}}(t,n,0,i-1,a),null===this._root)this._root=function t(n,r,i,a){var o=a-i;if(o>0){var s=i+Math.floor(o/2),l=new e(n[s],r[s]);return l.left=t(n,r,i,s),l.right=t(n,r,s+1,a),l}return null}(t,n,0,i),this._size=i;else{var o=function(t,n,r){for(var i=new e(null,null),a=i,o=t,s=n;null!==o&&null!==s;)0>r(o.key,s.key)?(a.next=o,o=o.next):(a.next=s,s=s.next),a=a.next;return null!==o?a.next=o:null!==s&&(a.next=s),i.next}(this.toList(),function(t,n){for(var r=new e(null,null),i=r,a=0;a0){var a=n+Math.floor(i/2),o=e(t,n,a),s=t.head;return s.left=o,t.head=t.head.next,s.right=e(t,a+1,r),s}return null}({head:o},0,i)}return this},r.prototype.isEmpty=function(){return null===this._root},Object.defineProperty(r.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),r.prototype.toString=function(e){void 0===e&&(e=function(e){return String(e.key)});var t=[];return!function e(t,n,r,i,a){if(t){i(""+n+(r?"└── ":"├── ")+a(t)+"\n");var o=n+(r?" ":"│ ");t.left&&e(t.left,o,!1,i,a),t.right&&e(t.right,o,!0,i,a)}}(this._root,"",!0,function(e){return t.push(e)},e),t.join("")},r.prototype.update=function(e,t,r){var o,s,l=this._comparator,c=a(e,this._root,l),u=c.left,d=c.right;0>l(e,t)?d=i(t,r,d,l):u=i(t,r,u,l),this._root=(o=u,null===(s=d)?o:(null===o||((s=n(o.key,s,l)).left=o),s))},r.prototype.split=function(e){return a(e,this._root,this._comparator)},r.prototype[Symbol.iterator]=function(){var e,t,n;return function(e,t){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){var l=[a,s];if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&l[0]?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]e.ll.x<=t.x&&t.x<=e.ur.x&&e.ll.y<=t.y&&t.y<=e.ur.y,l=(e,t)=>{if(t.ur.x{if(-cc==u>-c?(a=c,c=t[++d]):(a=u,u=r[++h]);let p=0;if(dc==u>-c?(o=c+a,s=a-(o-c),c=t[++d]):(o=u+a,s=a-(o-u),u=r[++h]),a=o,0!==s&&(i[p++]=s);dc==u>-c?(l=(o=a+c)-a,s=a-(o-l)+(c-l),c=t[++d]):(l=(o=a+u)-a,s=a-(o-l)+(u-l),u=r[++h]),a=o,0!==s&&(i[p++]=s);for(;de.x*t.y-e.y*t.x,C=(e,t)=>e.x*t.x+e.y*t.y,k=(e,t,n)=>{let r=function(e,t,n,r,i,a){let o=(t-a)*(n-i),s=(e-i)*(r-a),l=o-s,c=Math.abs(o+s);return Math.abs(l)>=y*c?l:-function(e,t,n,r,i,a,o){let s,l,c,u,d,h,p,f,b,y,O,C,k,M,L,I,N,R,P=e-i,D=n-i,j=t-a,B=r-a;M=P*B,p=(h=0x8000001*P)-(h-P),f=P-p,b=(h=0x8000001*B)-(h-B),L=f*(y=B-b)-(M-p*b-f*b-p*y),I=j*D,p=(h=0x8000001*j)-(h-j),f=j-p,b=(h=0x8000001*D)-(h-D),O=L-(N=f*(y=D-b)-(I-p*b-f*b-p*y)),d=L-O,_[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,_[1]=k-(O+d)+(d-I),d=(R=C+O)-C,_[2]=C-(R-d)+(O-d),_[3]=R;let F=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,_),z=v*o;if(F>=z||-F>=z||(d=e-P,s=e-(P+d)+(d-i),d=n-D,c=n-(D+d)+(d-i),d=t-j,l=t-(j+d)+(d-a),d=r-B,u=r-(B+d)+(d-a),0===s&&0===l&&0===c&&0===u)||(z=E*o+g*Math.abs(F),(F+=P*u+B*s-(j*c+D*l))>=z||-F>=z))return F;M=s*B,p=(h=0x8000001*s)-(h-s),f=s-p,b=(h=0x8000001*B)-(h-B),L=f*(y=B-b)-(M-p*b-f*b-p*y),I=l*D,p=(h=0x8000001*l)-(h-l),f=l-p,b=(h=0x8000001*D)-(h-D),O=L-(N=f*(y=D-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let U=m(4,_,4,w,x);M=P*u,p=(h=0x8000001*P)-(h-P),f=P-p,b=(h=0x8000001*u)-(h-u),L=f*(y=u-b)-(M-p*b-f*b-p*y),I=j*c,p=(h=0x8000001*j)-(h-j),f=j-p,b=(h=0x8000001*c)-(h-c),O=L-(N=f*(y=c-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let H=m(U,x,4,w,A);M=s*u,p=(h=0x8000001*s)-(h-s),f=s-p,b=(h=0x8000001*u)-(h-u),L=f*(y=u-b)-(M-p*b-f*b-p*y),I=l*c,p=(h=0x8000001*l)-(h-l),f=l-p,b=(h=0x8000001*c)-(h-c),O=L-(N=f*(y=c-b)-(I-p*b-f*b-p*y)),d=L-O,w[0]=L-(O+d)+(d-N),d=(C=M+O)-M,O=(k=M-(C-d)+(O-d))-I,d=k-O,w[1]=k-(O+d)+(d-I),d=(R=C+O)-C,w[2]=C-(R-d)+(O-d),w[3]=R;let G=m(H,A,4,w,S);return S[G-1]}(e,t,n,r,i,a,c)}(e.x,e.y,t.x,t.y,n.x,n.y);return r>0?-1:+(r<0)},M=e=>Math.sqrt(C(e,e)),L=(e,t,n)=>0===t.y?null:{x:e.x+t.x/t.y*(n-e.y),y:n},I=(e,t,n)=>0===t.x?null:{x:n,y:e.y+t.y/t.x*(n-e.x)};class N{static compare(e,t){let n=N.comparePoints(e.point,t.point);return 0!==n?n:(e.point!==t.point&&e.link(t),e.isLeft!==t.isLeft)?e.isLeft?1:-1:P.compare(e.segment,t.segment)}static comparePoints(e,t){return e.xt.x?1:e.yt.y)}constructor(e,t){void 0===e.events?e.events=[this]:e.events.push(this),this.point=e,this.isLeft=t}link(e){if(e.point===this.point)throw Error("Tried to link already linked events");let t=e.point.events;for(let e=0,n=t.length;e{let r=n.otherSE;t.set(n,{sine:((e,t,n)=>{let r={x:t.x-e.x,y:t.y-e.y},i={x:n.x-e.x,y:n.y-e.y};return O(i,r)/M(i)/M(r)})(this.point,e.point,r.point),cosine:((e,t,n)=>{let r={x:t.x-e.x,y:t.y-e.y},i={x:n.x-e.x,y:n.y-e.y};return C(i,r)/M(i)/M(r)})(this.point,e.point,r.point)})};return(e,r)=>{t.has(e)||n(e),t.has(r)||n(r);let{sine:i,cosine:a}=t.get(e),{sine:o,cosine:s}=t.get(r);return i>=0&&o>=0?as?-1:0:i<0&&o<0?as):oi)}}}let R=0;class P{static compare(e,t){let n=e.leftSE.point.x,r=t.leftSE.point.x,i=e.rightSE.point.x,a=t.rightSE.point.x;if(ao&&s>l)return -1;let n=e.comparePoint(t.leftSE.point);if(n<0)return 1;if(n>0)return -1;let r=t.comparePoint(e.rightSE.point);return 0!==r?r:-1}if(n>r){if(os&&o>c)return 1;let n=t.comparePoint(e.leftSE.point);if(0!==n)return n;let r=e.comparePoint(t.rightSE.point);return r<0?1:r>0?-1:1}if(os)return 1;if(ia){let n=e.comparePoint(t.rightSE.point);if(n<0)return 1;if(n>0)return -1}if(i!==a){let e=l-o,t=i-n,u=c-s,d=a-r;if(e>t&&ud)return -1}return i>a?1:ic?1:e.idt.id)}constructor(e,t,n,r){this.id=++R,this.leftSE=e,e.segment=this,e.otherSE=t,this.rightSE=t,t.segment=this,t.otherSE=e,this.rings=n,this.windings=r}static fromRing(e,t,n){let r,i,a,o=N.comparePoints(e,t);if(o<0)r=e,i=t,a=1;else if(o>0)r=t,i=e,a=-1;else throw Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);return new P(new N(r,!0),new N(i,!1),[n],[a])}replaceRightSE(e){this.rightSE=e,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){let e=this.leftSE.point.y,t=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:et?e:t}}}vector(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}isAnEndpoint(e){return e.x===this.leftSE.point.x&&e.y===this.leftSE.point.y||e.x===this.rightSE.point.x&&e.y===this.rightSE.point.y}comparePoint(e){if(this.isAnEndpoint(e))return 0;let t=this.leftSE.point,n=this.rightSE.point,r=this.vector();if(t.x===n.x)return e.x===t.x?0:e.x{if(0===t.x)return I(n,r,e.x);if(0===r.x)return I(e,t,n.x);if(0===t.y)return L(n,r,e.y);if(0===r.y)return L(e,t,n.y);let i=O(t,r);if(0==i)return null;let a={x:n.x-e.x,y:n.y-e.y},o=O(a,t)/i,s=O(a,r)/i,l=e.x+s*t.x,c=n.x+o*r.x,u=e.y+s*t.y;return{x:(l+c)/2,y:(u+(n.y+o*r.y))/2}})(i,this.vector(),o,e.vector());return null!==g&&s(r,g)?f.round(g.x,g.y):null}split(e){let t=[],n=void 0!==e.events,r=new N(e,!0),i=new N(e,!1),a=this.rightSE;this.replaceRightSE(i),t.push(i),t.push(r);let o=new P(r,a,this.rings.slice(),this.windings.slice());return N.comparePoints(o.leftSE.point,o.rightSE.point)>0&&o.swapEvents(),N.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),n&&(r.checkForConsuming(),i.checkForConsuming()),t}swapEvents(){let e=this.rightSE;this.rightSE=this.leftSE,this.leftSE=e,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let e=0,t=this.windings.length;e0){let e=t;t=n,n=e}if(t.prev===n){let e=t;t=n,n=e}for(let e=0,r=n.rings.length;e1===e.length&&e[0].isSubject;this._isInResult=n(e)!==n(t);break}default:throw Error(`Unrecognized operation type found ${V.type}`)}return this._isInResult}}class D{constructor(e,t,n){if(!Array.isArray(e)||0===e.length||(this.poly=t,this.isExterior=n,this.segments=[],"number"!=typeof e[0][0]||"number"!=typeof e[0][1]))throw Error("Input geometry is not a valid Polygon or MultiPolygon");let r=f.round(e[0][0],e[0][1]);this.bbox={ll:{x:r.x,y:r.y},ur:{x:r.x,y:r.y}};let i=r;for(let t=1,n=e.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.x),n.y>this.bbox.ur.y&&(this.bbox.ur.y=n.y),i=n)}(r.x!==i.x||r.y!==i.y)&&this.segments.push(P.fromRing(i,r,this))}getSweepEvents(){let e=[];for(let t=0,n=this.segments.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.bbox.ur.x),n.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=n.bbox.ur.y),this.interiorRings.push(n)}this.multiPoly=t}getSweepEvents(){let e=this.exteriorRing.getSweepEvents();for(let t=0,n=this.interiorRings.length;tthis.bbox.ur.x&&(this.bbox.ur.x=n.bbox.ur.x),n.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=n.bbox.ur.y),this.polys.push(n)}this.isSubject=t}getSweepEvents(){let e=[];for(let t=0,n=this.polys.length;t0&&(e=n)}let t=e.segment.prevInResult(),n=t?t.prevInResult():null;for(;;){if(!t)return null;if(!n)return t.ringOut;if(n.ringOut!==t.ringOut)if(n.ringOut.enclosingRing()!==t.ringOut)return t.ringOut;else return t.ringOut.enclosingRing();n=(t=n.prevInResult())?t.prevInResult():null}}}class z{constructor(e){this.exteriorRing=e,e.poly=this,this.interiorRings=[]}addInterior(e){this.interiorRings.push(e),e.poly=this}getGeom(){let e=[this.exteriorRing.getGeom()];if(null===e[0])return null;for(let t=0,n=this.interiorRings.length;t1&&void 0!==arguments[1]?arguments[1]:P.compare;this.queue=e,this.tree=new o(t),this.segments=[]}process(e){let t,n,r=e.segment,i=[];if(e.consumedBy)return e.isLeft?this.queue.remove(e.otherSE):this.tree.remove(r),i;let a=e.isLeft?this.tree.add(r):this.tree.find(r);if(!a)throw Error(`Unable to find segment #${r.id} [${r.leftSE.point.x}, ${r.leftSE.point.y}] -> [${r.rightSE.point.x}, ${r.rightSE.point.y}] in SweepLine tree.`);let o=a,s=a;for(;void 0===t;)null===(o=this.tree.prev(o))?t=null:void 0===o.key.consumedBy&&(t=o.key);for(;void 0===n;)null===(s=this.tree.next(s))?n=null:void 0===s.key.consumedBy&&(n=s.key);if(e.isLeft){let a=null;if(t){let e=t.getIntersection(r);if(null!==e&&(r.isAnEndpoint(e)||(a=e),!t.isAnEndpoint(e))){let n=this._splitSafely(t,e);for(let e=0,t=n.length;e=N.comparePoints(a,o)?a:o,this.queue.remove(r.rightSE),i.push(r.rightSE);let t=r.split(e);for(let e=0,n=t.length;e0?(this.tree.remove(r),i.push(e)):(this.segments.push(r),r.prev=t)}else{if(t&&n){let e=t.getIntersection(n);if(null!==e){if(!t.isAnEndpoint(e)){let n=this._splitSafely(t,e);for(let e=0,t=n.length;eG)throw Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).")}let a=new H(i),s=i.size,c=i.pop();for(;c;){let e=c.key;if(i.size===s){let t=e.segment;throw Error(`Unable to pop() ${e.isLeft?"left":"right"} SweepEvent [${e.point.x}, ${e.point.y}] from segment #${t.id} [${t.leftSE.point.x}, ${t.leftSE.point.y}] -> [${t.rightSE.point.x}, ${t.rightSE.point.y}] from queue.`)}if(i.size>G)throw Error("Infinite loop when passing sweep line over endpoints (queue size too big).");if(a.segments.length>$)throw Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");let t=a.process(e);for(let e=0,n=t.length;e1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r{"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=[]},53461:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return void 0===e}},53506:e=>{"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",i=/(?:[^\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}),a=/"(?:[^"\\\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 r}).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 r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+i+"|"+a+")"})),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(a),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"]},53709: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=[]},53867:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(89450),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},53951:e=>{"use strict";function t(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.exports=t,t.displayName="rust",t.aliases=[]},54010:(e,t,n)=>{"use strict";n.d(t,{J:()=>nq});var r=n(39249),i={line_chart:{id:"line_chart",name:"Line Chart",alias:["Lines"],family:["LineCharts"],def:"A line chart uses lines with segments to show changes in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},step_line_chart:{id:"step_line_chart",name:"Step Line Chart",alias:["Step Lines"],family:["LineCharts"],def:"A step line chart is a line chart in which points of each line are connected by horizontal and vertical line segments, looking like steps of a staircase.",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Lines"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Direction"],recRate:"Recommended"},area_chart:{id:"area_chart",name:"Area Chart",alias:[],family:["AreaCharts"],def:"An area chart uses series of line segments with overlapped areas to show the change in data in a ordinal dimension.",purpose:["Comparison","Trend","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_area_chart:{id:"stacked_area_chart",name:"Stacked Area Chart",alias:[],family:["AreaCharts"],def:"A stacked area chart uses layered line segments with different styles of padding regions to display how multiple sets of data change in the same ordinal dimension, and the endpoint heights of the segments on the same dimension tick are accumulated by value.",purpose:["Composition","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},percent_stacked_area_chart:{id:"percent_stacked_area_chart",name:"Percent Stacked Area Chart",alias:["Percent Stacked Area","% Stacked Area","100% Stacked Area"],family:["AreaCharts"],def:"A percent stacked area chart is an extented stacked area chart in which the height of the endpoints of the line segment on the same dimension tick is the accumulated proportion of the ratio, which is 100% of the total.",purpose:["Comparison","Composition","Proportion","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length"],recRate:"Recommended"},column_chart:{id:"column_chart",name:"Column Chart",alias:["Columns"],family:["ColumnCharts"],def:"A column chart uses series of columns to display the value of the dimension. The horizontal axis shows the classification dimension and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},grouped_column_chart:{id:"grouped_column_chart",name:"Grouped Column Chart",alias:["Grouped Column"],family:["ColumnCharts"],def:"A grouped column chart uses columns of different colors to form a group to display the values of dimensions. The horizontal axis indicates the grouping of categories, the color indicates the categories, and the vertical axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},stacked_column_chart:{id:"stacked_column_chart",name:"Stacked Column Chart",alias:["Stacked Column"],family:["ColumnCharts"],def:"A stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_column_chart:{id:"percent_stacked_column_chart",name:"Percent Stacked Column Chart",alias:["Percent Stacked Column","% Stacked Column","100% Stacked Column"],family:["ColumnCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The horizontal axis indicates the first classification dimension, the color indicates the second classification dimension, and the vertical axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},range_column_chart:{id:"range_column_chart",name:"Range Column Chart",alias:[],family:["ColumnCharts"],def:"A column chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Length"],recRate:"Recommended"},waterfall_chart:{id:"waterfall_chart",name:"Waterfall Chart",alias:["Flying Bricks Chart","Mario Chart","Bridge Chart","Cascade Chart"],family:["ColumnCharts"],def:"A waterfall chart is used to portray how an initial value is affected by a series of intermediate positive or negative values",purpose:["Comparison","Trend"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal","Time","Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},histogram:{id:"histogram",name:"Histogram",alias:[],family:["ColumnCharts"],def:"A histogram is an accurate representation of the distribution of numerical data.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},bar_chart:{id:"bar_chart",name:"Bar Chart",alias:["Bars"],family:["BarCharts"],def:"A bar chart uses series of bars to display the value of the dimension. The vertical axis shows the classification dimension and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position","Color"],recRate:"Recommended"},stacked_bar_chart:{id:"stacked_bar_chart",name:"Stacked Bar Chart",alias:["Stacked Bar"],family:["BarCharts"],def:"A stacked bar chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Composition","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length","Position"],recRate:"Recommended"},percent_stacked_bar_chart:{id:"percent_stacked_bar_chart",name:"Percent Stacked Bar Chart",alias:["Percent Stacked Bar","% Stacked Bar","100% Stacked Bar"],family:["BarCharts"],def:"A percent stacked column chart uses stacked bars of different colors to display the values for each dimension. The vertical axis indicates the first classification dimension, the color indicates the second classification dimension, and the horizontal axis shows the percentage of the corresponding classification.",purpose:["Comparison","Composition","Distribution","Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},grouped_bar_chart:{id:"grouped_bar_chart",name:"Grouped Bar Chart",alias:["Grouped Bar"],family:["BarCharts"],def:"A grouped bar chart uses bars of different colors to form a group to display the values of the dimensions. The vertical axis indicates the grouping of categories, the color indicates the categories, and the horizontal axis shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},range_bar_chart:{id:"range_bar_chart",name:"Range Bar Chart",alias:[],family:["BarCharts"],def:"A bar chart that does not have to start from zero axis.",purpose:["Comparison"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Length"],recRate:"Recommended"},radial_bar_chart:{id:"radial_bar_chart",name:"Radial Bar Chart",alias:["Radial Column Chart"],family:["BarCharts"],def:"A bar chart that is plotted in the polar coordinate system. The axis along radius shows the classification dimension and the angle shows the corresponding value.",purpose:["Comparison","Distribution","Rank"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color"],recRate:"Recommended"},bullet_chart:{id:"bullet_chart",name:"Bullet Chart",alias:[],family:["BarCharts"],def:"A bullet graph is a variation of a bar graph developed by Stephen Few. Seemingly inspired by the traditional thermometer charts and progress bars found in many dashboards, the bullet graph serves as a replacement for dashboard gauges and meters.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]}],channel:["Position","Color"],recRate:"Recommended"},pie_chart:{id:"pie_chart",name:"Pie Chart",alias:["Circle Chart","Pie"],family:["PieCharts"],def:"A pie chart is a chart that the classification and proportion of data are represented by the color and arc length (angle, area) of the sector.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Area","Color"],recRate:"Use with Caution"},donut_chart:{id:"donut_chart",name:"Donut Chart",alias:["Donut","Doughnut","Doughnut Chart","Ring Chart"],family:["PieCharts"],def:"A donut chart is a variation on a Pie chart except it has a round hole in the center which makes it look like a donut.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["ArcLength"],recRate:"Recommended"},nested_pie_chart:{id:"nested_pie_chart",name:"Nested Pie Chart",alias:["Nested Circle Chart","Nested Pie","Nested Donut Chart"],family:["PieCharts"],def:"A nested pie chart is a chart that contains several donut charts, where all the donut charts share the same center in position.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:"*",fieldConditions:["Interval"]}],channel:["Angle","Area","Color","Position"],recRate:"Use with Caution"},rose_chart:{id:"rose_chart",name:"Rose Chart",alias:["Nightingale Chart","Polar Area Chart","Coxcomb Chart"],family:["PieCharts"],def:"Nightingale Rose Chart is a peculiar combination of the Radar Chart and Stacked Column Chart types of data visualization.",purpose:["Comparison","Composition","Proportion"],coord:["Polar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Angle","Color","Length"],recRate:"Use with Caution"},scatter_plot:{id:"scatter_plot",name:"Scatter Plot",alias:["Scatter Chart","Scatterplot"],family:["ScatterCharts"],def:"A scatter plot is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for series of data.",purpose:["Comparison","Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position"],recRate:"Recommended"},bubble_chart:{id:"bubble_chart",name:"Bubble Chart",alias:["Bubble Chart"],family:["ScatterCharts"],def:"A bubble chart is a type of chart that displays four dimensions of data with x, y positions, circle size and circle color.",purpose:["Comparison","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Scatter"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]},{minQty:0,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Position","Size"],recRate:"Recommended"},non_ribbon_chord_diagram:{id:"non_ribbon_chord_diagram",name:"Non-Ribbon Chord Diagram",alias:[],family:["GeneralGraph"],def:"A stripped-down version of a Chord Diagram, with only the connection lines showing. This provides more emphasis on the connections within the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},arc_diagram:{id:"arc_diagram",name:"Arc Diagram",alias:[],family:["GeneralGraph"],def:"A graph where the edges are represented as arcs.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},chord_diagram:{id:"chord_diagram",name:"Chord Diagram",alias:[],family:["GeneralGraph"],def:"A graphical method of displaying the inter-relationships between data in a matrix. The data are arranged radially around a circle with the relationships between the data points typically drawn as arcs connecting the data.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},treemap:{id:"treemap",name:"Treemap",alias:[],family:["TreeGraph"],def:"A visual representation of a data tree with nodes. Each node is displayed as a rectangle, sized and colored according to values that you assign.",purpose:["Composition","Comparison","Hierarchy"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Area"],recRate:"Recommended"},sankey_diagram:{id:"sankey_diagram",name:"Sankey Diagram",alias:[],family:["GeneralGraph"],def:"A graph shows the flows with weights between objects.",purpose:["Flow","Trend","Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},funnel_chart:{id:"funnel_chart",name:"Funnel Chart",alias:[],family:["FunnelCharts"],def:"A funnel chart is often used to represent stages in a sales process and show the amount of potential revenue for each stage.",purpose:["Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Length"],recRate:"Recommended"},mirror_funnel_chart:{id:"mirror_funnel_chart",name:"Mirror Funnel Chart",alias:["Contrast Funnel Chart"],family:["FunnelCharts"],def:"A mirror funnel chart is a funnel chart divided into two series by a central axis.",purpose:["Comparison","Trend"],coord:["SymmetricCartesian"],category:["Statistic"],shape:["Symmetric"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]},{minQty:1,maxQty:1,fieldConditions:["Nominal"]}],channel:["Color","Length","Direction"],recRate:"Recommended"},box_plot:{id:"box_plot",name:"Box Plot",alias:["Box and Whisker Plot","boxplot"],family:["BarCharts"],def:"A box plot is often used to graphically depict groups of numerical data through their quartiles. Box plots may also have lines extending from the boxes indicating variability outside the upper and lower quartiles. Outliers may be plotted as individual points.",purpose:["Distribution","Anomaly"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},heatmap:{id:"heatmap",name:"Heatmap",alias:[],family:["HeatmapCharts"],def:"A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Square"],dataPres:[{minQty:2,maxQty:2,fieldConditions:["Nominal","Ordinal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},density_heatmap:{id:"density_heatmap",name:"Density Heatmap",alias:["Heatmap"],family:["HeatmapCharts"],def:"A density heatmap is a heatmap for representing the density of dots.",purpose:["Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Area"],dataPres:[{minQty:3,maxQty:3,fieldConditions:["Interval"]}],channel:["Color","Position","Area"],recRate:"Recommended"},radar_chart:{id:"radar_chart",name:"Radar Chart",alias:["Web Chart","Spider Chart","Star Chart","Cobweb Chart","Irregular Polygon","Kiviat diagram"],family:["RadarCharts"],def:"A radar chart maps series of data volume of multiple dimensions onto the axes. Starting at the same center point, usually ending at the edge of the circle, connecting the same set of points using lines.",purpose:["Comparison"],coord:["Radar"],category:["Statistic"],shape:["Round"],dataPres:[{minQty:1,maxQty:2,fieldConditions:["Nominal"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Color","Position"],recRate:"Recommended"},wordcloud:{id:"wordcloud",name:"Word Cloud",alias:["Wordle","Tag Cloud","Text Cloud"],family:["Others"],def:"A word cloud is a collection, or cluster, of words depicted in different sizes, colors, and shapes, which takes a piece of text as input. Typically, the font size in the word cloud is encoded as the word frequency in the input text.",purpose:["Proportion"],coord:["Cartesian2D"],category:["Diagram"],shape:["Scatter"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Nominal"]},{minQty:0,maxQty:1,fieldConditions:["Interval"]}],channel:["Size","Position","Color"],recRate:"Recommended"},candlestick_chart:{id:"candlestick_chart",name:"Candlestick Chart",alias:["Japanese Candlestick Chart)"],family:["BarCharts"],def:"A candlestick chart is a specific version of box plot, which is a style of financial chart used to describe price movements of a security, derivative, or currency.",purpose:["Trend","Distribution"],coord:["Cartesian2D"],category:["Statistic"],shape:["Bars"],dataPres:[{minQty:1,maxQty:1,fieldConditions:["Time"]},{minQty:1,maxQty:1,fieldConditions:["Interval"]}],channel:["Position"],recRate:"Recommended"},compact_box_tree:{id:"compact_box_tree",name:"CompactBox Tree",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the nodes with same depth on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},dendrogram:{id:"dendrogram",name:"Dendrogram",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which arranges the leaves on the same level.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},indented_tree:{id:"indented_tree",name:"Indented Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout where the hierarchy of tree is represented by the horizontal indentation, and each element will occupy one row/column. It is commonly used to represent the file directory structure.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_tree:{id:"radial_tree",name:"Radial Tree Layout",alias:[],family:["TreeGraph"],def:"A type of tree graph layout which places the root at the center, and the branches around the root radially.",purpose:["Relation","Hierarchy"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},flow_diagram:{id:"flow_diagram",name:"Flow Diagram",alias:["Dagre Graph Layout","Dagre","Flow Chart"],family:["GeneralGraph"],def:"Directed flow graph.",purpose:["Relation","Flow"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fruchterman_layout_graph:{id:"fruchterman_layout_graph",name:"Fruchterman Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},force_directed_layout_graph:{id:"force_directed_layout_graph",name:"Force Directed Graph Layout",alias:[],family:["GeneralGraph"],def:"The classical force directed graph layout.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},fa2_layout_graph:{id:"fa2_layout_graph",name:"Force Atlas 2 Graph Layout",alias:["FA2 Layout"],family:["GeneralGraph"],def:"A type of force directed graph layout algorithm. It focuses more on the degree of the node when calculating the force than the classical force-directed algorithm .",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},mds_layout_graph:{id:"mds_layout_graph",name:"Multi-Dimensional Scaling Layout",alias:["MDS Layout"],family:["GeneralGraph"],def:"A type of dimension reduction algorithm that could be used for calculating graph layout. MDS (Multidimensional scaling) is used for project high dimensional data onto low dimensional space.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},circular_layout_graph:{id:"circular_layout_graph",name:"Circular Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes on a circle.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},spiral_layout_graph:{id:"spiral_layout_graph",name:"Spiral Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges all the nodes along a spiral line.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},radial_layout_graph:{id:"radial_layout_graph",name:"Radial Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which places a focus node on the center and the others on the concentrics centered at the focus node according to the shortest path length to the it.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},concentric_layout_graph:{id:"concentric_layout_graph",name:"Concentric Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout which arranges the nodes on concentrics.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"},grid_layout_graph:{id:"grid_layout_graph",name:"Grid Graph Layout",alias:[],family:["GeneralGraph"],def:"A type of graph layout arranges the nodes on grids.",purpose:["Relation"],coord:["Cartesian2D"],category:["Graph"],shape:["Network"],dataPres:[{minQty:1,maxQty:"*",fieldConditions:["Nominal"]}],channel:["Color","Size","Opacity","Stroke","LineWidth"],recRate:"Recommended"}};function a(e,t){return t.every(function(t){return e.includes(t)})}var o=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"],s=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function l(e,t){return t.some(function(t){return e.includes(t)})}function c(e,t){return e.distinctt.distinct?-1:0}var u={"bar-series-qty":.5,"data-check":1,"data-field-qty":1,"diff-pie-sector":.5,"landscape-or-portrait":.3,"limit-series":1,"line-field-time-ordinal":1,"no-redundant-field":1,"nominal-enum-combinatorial":1,"purpose-check":1,"series-qty-limit":.8},d=function(e,t,n,i,a,o){var s=1;return Object.values(n).filter(function(n){var o,s,l,c=(null==(o=n.option)?void 0:o.weight)||u[n.id]||1,d=null==(s=n.option)?void 0:s.extra;return n.type===i&&n.trigger((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},a),{weight:c}),d),{chartType:e,chartWIKI:t}))&&!(null==(l=n.option)?void 0:l.off)}).forEach(function(n){var l,c,d=(null==(l=n.option)?void 0:l.weight)||u[n.id]||1,h=null==(c=n.option)?void 0:c.extra,p=n.validator((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},a),{weight:d}),h),{chartType:e,chartWIKI:t})),f=d*p;s*=f,o.push({phase:"ADVISE",ruleId:n.id,score:f,base:p,weight:d,ruleType:i})}),s},h=["pie_chart","donut_chart"],p=["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart","column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"];function f(e){var t=e.chartType,n=e.dataProps,r=e.preferences;return!!(n&&t&&r&&r.canvasLayout)}var g=["line_chart","area_chart","stacked_area_chart","percent_stacked_area_chart"],m=["bar_chart","column_chart","grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"];function b(e){return e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])})}var y=["pie_chart","donut_chart","radar_chart","rose_chart"],v=n(40054);function E(e){return"number"==typeof e}function _(e){return"string"==typeof e||"boolean"==typeof e}function x(e){return e instanceof Date}function A(e){var t=e.encode,n=e.data,i=e.scale,a=(0,v.mapValues)(t,function(e,t){return{field:e,type:function(e,t,n){if(void 0!==n)switch(n){case"linear":case"log":case"pow":case"sqrt":case"qunatile":case"threshold":case"quantize":case"sequential":return"quantitative";case"time":return"temporal";case"ordinal":case"point":case"band":return"categorical";default:throw Error("Unkonwn scale type: ".concat(n,"."))}var r=function(e,t){return"function"==typeof t?e.map(t):"string"==typeof t&&e.some(function(e){return void 0!==e[t]})?e.map(function(e){return e[t]}):e.map(function(){return t})}(e,t);if(r.some(E))return"quantitative";if(r.some(_))return"categorical";if(r.some(x))return"temporal";throw Error("Unknown type: ".concat(typeof r[0]))}(n,e,null==i?void 0:i[t].type)}});return(0,r.Cl)((0,r.Cl)({},e),{encode:a})}var S=["line_chart"];(0,r.fX)((0,r.fX)([],(0,r.zs)(["data-check","data-field-qty","no-redundant-field","purpose-check"]),!1),(0,r.zs)(["series-qty-limit","bar-series-qty","line-field-time-ordinal","landscape-or-portrait","diff-pie-sector","nominal-enum-combinatorial","limit-series"]),!1);var w={"data-check":{id:"data-check",type:"HARD",docs:{lintText:"Data must satisfy the data prerequisites."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){t=1;var a=i[r].dataPres||[];a.forEach(function(e){!function(e,t){var n=t.map(function(e){return e.levelOfMeasurements});if(n){var r=0;if(n.forEach(function(t){t&&l(t,e.fieldConditions)&&(r+=1)}),r>=e.minQty&&(r<=e.maxQty||"*"===e.maxQty))return!0}return!1}(e,n)&&(t=0)}),n.map(function(e){return e.levelOfMeasurements}).forEach(function(e){var n=!1;a.forEach(function(t){e&&l(e,t.fieldConditions)&&(n=!0)}),n||(t=0)})}return t}},"data-field-qty":{id:"data-field-qty",type:"HARD",docs:{lintText:"Data must have at least the min qty of the prerequisite."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){t=1;var a=(i[r].dataPres||[]).map(function(e){return e.minQty}).reduce(function(e,t){return e+t});n.length&&n.length>=a&&(t=1)}return t}},"no-redundant-field":{id:"no-redundant-field",type:"HARD",docs:{lintText:"No redundant field."},trigger:function(){return!0},validator:function(e){var t=0,n=e.dataProps,r=e.chartType,i=e.chartWIKI;if(n&&r&&i[r]){var a=(i[r].dataPres||[]).map(function(e){return"*"===e.maxQty?99:e.maxQty}).reduce(function(e,t){return e+t});n.length&&n.length<=a&&(t=1)}return t}},"purpose-check":{id:"purpose-check",type:"HARD",docs:{lintText:"Choose chart types that satisfy the purpose, if purpose is defined."},trigger:function(){return!0},validator:function(e){var t=0,n=e.chartType,r=e.purpose,i=e.chartWIKI;return r?(n&&i[n]&&r&&(i[n].purpose||"").includes(r)&&(t=1),t):t=1}},"bar-series-qty":{id:"bar-series-qty",type:"SOFT",docs:{lintText:"Bar chart should has proper number of bars or bar groups."},trigger:function(e){var t=e.chartType;return o.includes(t)},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n&&r){var i=n.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),o=i&&i.count?i.count:0;o>20&&(t=20/o)}return t<.1?.1:t}},"diff-pie-sector":{id:"diff-pie-sector",type:"SOFT",docs:{lintText:"The difference between sectors of a pie chart should be large enough."},trigger:function(e){var t=e.chartType;return h.includes(t)},validator:function(e){var t=1,n=e.dataProps;if(n){var r=n.find(function(e){return a(e.levelOfMeasurements,["Interval"])});if(r&&r.sum&&r.rawData){var i=1/r.sum,o=r.rawData.map(function(e){return e*i}).reduce(function(e,t){return e*t}),s=r.rawData.length,l=Math.pow(1/s,s);t=Math.abs(l-Math.abs(o))/l*2}}return t<.1?.1:t}},"landscape-or-portrait":{id:"landscape-or-portrait",type:"SOFT",docs:{lintText:"Recommend column charts for landscape layout and bar charts for portrait layout."},trigger:function(e){return p.includes(e.chartType)&&f(e)},validator:function(e){var t=1,n=e.chartType,r=e.preferences;return f(e)&&("portrait"===r.canvasLayout&&["bar_chart","grouped_bar_chart","stacked_bar_chart","percent_stacked_bar_chart"].includes(n)?t=5:"landscape"===r.canvasLayout&&["column_chart","grouped_column_chart","stacked_column_chart","percent_stacked_column_chart"].includes(n)&&(t=5)),t}},"limit-series":{id:"limit-series",type:"SOFT",docs:{lintText:"Avoid too many values in one series."},trigger:function(e){return e.dataProps.filter(function(e){return l(e.levelOfMeasurements,["Nominal","Ordinal"])}).length>=2},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n){var i=n.filter(function(e){return l(e.levelOfMeasurements,["Nominal","Ordinal"])});if(i.length>=2){var a=i.sort(c)[1];a.distinct&&(t=a.distinct>10?.1:1/a.distinct,a.distinct>6&&"heatmap"===r?t=5:"heatmap"===r&&(t=1))}}return t}},"line-field-time-ordinal":{id:"line-field-time-ordinal",type:"SOFT",docs:{lintText:"Data containing time or ordinal fields are suitable for line or area charts."},trigger:function(e){var t=e.chartType;return g.includes(t)},validator:function(e){var t=1,n=e.dataProps;return n&&n.find(function(e){return l(e.levelOfMeasurements,["Ordinal","Time"])})&&(t=5),t}},"nominal-enum-combinatorial":{id:"nominal-enum-combinatorial",type:"SOFT",docs:{lintText:"Single (Basic) and Multi (Stacked, Grouped,...) charts should be optimized recommended by nominal enums combinatorial numbers."},trigger:function(e){var t=e.chartType,n=e.dataProps;return m.includes(t)&&b(n).length>=2},validator:function(e){var t=1,n=e.dataProps,r=e.chartType;if(n){var i=b(n);if(i.length>=2){var a=i.sort(c),o=a[0],s=a[1];o.distinct===o.count&&["bar_chart","column_chart"].includes(r)&&(t=5),o.count&&o.distinct&&s.distinct&&o.count>o.distinct&&["grouped_bar_chart","grouped_column_chart","stacked_bar_chart","stacked_column_chart"].includes(r)&&(t=5)}}return t}},"series-qty-limit":{id:"series-qty-limit",type:"SOFT",docs:{lintText:"Some charts should has at most N values for the series."},trigger:function(e){var t=e.chartType;return y.includes(t)},validator:function(e){var t=1,n=e.dataProps,r=e.chartType,i=e.limit;if((!Number.isInteger(i)||i<=0)&&(i=6,("pie_chart"===r||"donut_chart"===r||"rose_chart"===r)&&(i=6),"radar_chart"===r&&(i=8)),n){var o=n.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),s=o&&o.count?o.count:0;s>=2&&s<=i&&(t=5+2/s)}return t}},"x-axis-line-fading":{id:"x-axis-line-fading",type:"DESIGN",docs:{lintText:"Adjust axis to make it prettier"},trigger:function(e){var t=e.chartType;return S.includes(t)},optimizer:function(e,t){var n,r=A(t).encode;if(r&&(null==(n=r.y)?void 0:n.type)==="quantitative"){var i=e.find(function(e){var t;return e.name===(null==(t=r.y)?void 0:t.field)});if(i){var a=i.maximum-i.minimum;if(i.minimum&&i.maximum&&a<2*i.maximum/3){var o=Math.floor(i.minimum-a/5);return{axis:{x:{tick:!1}},scale:{y:{domainMin:o>0?o:0}},clip:!0}}}}return{}}},"bar-without-axis-min":{id:"bar-without-axis-min",type:"DESIGN",docs:{lintText:"It is not recommended to set the minimum value of axis for the bar or column chart.",fixText:"Remove the minimum value config of axis."},trigger:function(e){var t=e.chartType;return s.includes(t)},optimizer:function(e,t){var n,r,i=t.scale;if(!i)return{};var a=null==(n=i.x)?void 0:n.domainMin,o=null==(r=i.y)?void 0:r.domainMin;if(a||o){var s=JSON.parse(JSON.stringify(i));return a&&(s.x.domainMin=0),o&&(s.y.domainMin=0),{scale:s}}return{}}}},O=Object.keys(w),C=function(e){var t={};return e.forEach(function(e){Object.keys(w).includes(e)&&(t[e]=w[e])}),t},k=function(e){if(!e)return C(O);var t=C(O);if(e.exclude&&e.exclude.forEach(function(e){Object.keys(t).includes(e)&&delete t[e]}),e.include){var n=e.include;Object.keys(t).forEach(function(e){n.includes(e)||delete t[e]})}var i=(0,r.Cl)((0,r.Cl)({},t),e.custom),a=e.options;return a&&Object.keys(a).forEach(function(e){if(Object.keys(i).includes(e)){var t=a[e];i[e]=(0,r.Cl)((0,r.Cl)({},i[e]),{option:t})}}),i},M=n(78732),L=function(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e)){t=[];for(var t,n=0,r=e.length;nU(H(t,e),n),P=e=>{e._clipped=!1,e._unclipped=e.slice(0);for(let t=0;t<=3;t++)t<3?((e[t]<0||e[t]>255)&&(e._clipped=!0),e[t]=R(e[t],0,255)):3===t&&(e[t]=R(e[t],0,1));return e},D={};for(let e of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])D[`[object ${e}]`]=e.toLowerCase();function j(e){return D[Object.prototype.toString.call(e)]||"object"}let B=(e,t=null)=>e.length>=3?Array.prototype.slice.call(e):"object"==j(e[0])&&t?t.split("").filter(t=>void 0!==e[0][t]).map(t=>e[0][t]):e[0],F=e=>{if(e.length<2)return null;let t=e.length-1;return"string"==j(e[t])?e[t].toLowerCase():null},{PI:z,min:U,max:H}=Math,G=2*z,$=z/3,W=z/180,V=180/z,q={format:{},autodetect:[]};class Y{constructor(...e){if("object"===j(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];let t=F(e),n=!1;if(!t){for(let r of(n=!0,q.sorted||(q.autodetect=q.autodetect.sort((e,t)=>t.p-e.p),q.sorted=!0),q.autodetect))if(t=r.test(...e))break}if(q.format[t]){let r=q.format[t].apply(null,n?e:e.slice(0,-1));this._rgb=P(r)}else throw Error("unknown format: "+e);3===this._rgb.length&&this._rgb.push(1)}toString(){return"function"==j(this.hex)?this.hex():`[${this._rgb.join(",")}]`}}let Z=(...e)=>new Z.Color(...e);Z.Color=Y,Z.version="2.6.0";let{max:X}=Math;Y.prototype.cmyk=function(){return((...e)=>{let[t,n,r]=B(e,"rgb"),i=1-X(t/=255,X(n/=255,r/=255)),a=i<1?1/(1-i):0;return[(1-t-i)*a,(1-n-i)*a,(1-r-i)*a,i]})(this._rgb)},Z.cmyk=(...e)=>new Y(...e,"cmyk"),q.format.cmyk=(...e)=>{let[t,n,r,i]=e=B(e,"cmyk"),a=e.length>4?e[4]:1;return 1===i?[0,0,0,a]:[t>=1?0:255*(1-t)*(1-i),n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),a]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"cmyk"))&&4===e.length)return"cmyk"}});let K=e=>Math.round(100*e)/100,Q=(...e)=>{let t,n,[r,i,a]=e=B(e,"rgba"),o=U(r/=255,i/=255,a/=255),s=H(r,i,a),l=(s+o)/2;return(s===o?(t=0,n=NaN):t=l<.5?(s-o)/(s+o):(s-o)/(2-s-o),r==s?n=(i-a)/(s-o):i==s?n=2+(a-r)/(s-o):a==s&&(n=4+(r-i)/(s-o)),(n*=60)<0&&(n+=360),e.length>3&&void 0!==e[3])?[n,t,l,e[3]]:[n,t,l]},{round:J}=Math,{round:ee}=Math,et=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsl");if(0===a)t=n=r=255*o;else{let e=[0,0,0],s=[0,0,0],l=o<.5?o*(1+a):o+a-o*a,c=2*o-l,u=i/360;e[0]=u+1/3,e[1]=u,e[2]=u-1/3;for(let t=0;t<3;t++)e[t]<0&&(e[t]+=1),e[t]>1&&(e[t]-=1),6*e[t]<1?s[t]=c+(l-c)*6*e[t]:2*e[t]<1?s[t]=l:3*e[t]<2?s[t]=c+(l-c)*(2/3-e[t])*6:s[t]=c;[t,n,r]=[ee(255*s[0]),ee(255*s[1]),ee(255*s[2])]}return e.length>3?[t,n,r,e[3]]:[t,n,r,1]},en=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,er=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,ei=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,ea=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,eo=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,es=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:el}=Math,ec=e=>{let t;if(e=e.toLowerCase().trim(),q.format.named)try{return q.format.named(e)}catch(e){}if(t=e.match(en)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=+e[t];return e[3]=1,e}if(t=e.match(er)){let e=t.slice(1,5);for(let t=0;t<4;t++)e[t]=+e[t];return e}if(t=e.match(ei)){let e=t.slice(1,4);for(let t=0;t<3;t++)e[t]=el(2.55*e[t]);return e[3]=1,e}if(t=e.match(ea)){let e=t.slice(1,5);for(let t=0;t<3;t++)e[t]=el(2.55*e[t]);return e[3]=+e[3],e}if(t=e.match(eo)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=et(e);return n[3]=1,n}if(t=e.match(es)){let e=t.slice(1,4);e[1]*=.01,e[2]*=.01;let n=et(e);return n[3]=+t[4],n}};ec.test=e=>en.test(e)||er.test(e)||ei.test(e)||ea.test(e)||eo.test(e)||es.test(e),Y.prototype.css=function(e){return((...e)=>{let t=B(e,"rgba"),n=F(e)||"rgb";return"hsl"==n.substr(0,3)?((...e)=>{let t=B(e,"hsla"),n=F(e)||"lsa";return t[0]=K(t[0]||0),t[1]=K(100*t[1])+"%",t[2]=K(100*t[2])+"%","hsla"===n||t.length>3&&t[3]<1?(t[3]=t.length>3?t[3]:1,n="hsla"):t.length=3,`${n}(${t.join(",")})`})(Q(t),n):(t[0]=J(t[0]),t[1]=J(t[1]),t[2]=J(t[2]),("rgba"===n||t.length>3&&t[3]<1)&&(t[3]=t.length>3?t[3]:1,n="rgba"),`${n}(${t.slice(0,"rgb"===n?3:4).join(",")})`)})(this._rgb,e)},Z.css=(...e)=>new Y(...e,"css"),q.format.css=ec,q.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&ec.test(e))return"css"}}),q.format.gl=(...e)=>{let t=B(e,"rgba");return t[0]*=255,t[1]*=255,t[2]*=255,t},Z.gl=(...e)=>new Y(...e,"gl"),Y.prototype.gl=function(){let e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};let{floor:eu}=Math;Y.prototype.hcg=function(){return((...e)=>{let t,[n,r,i]=B(e,"rgb"),a=U(n,r,i),o=H(n,r,i),s=o-a;return 0===s?t=NaN:(n===o&&(t=(r-i)/s),r===o&&(t=2+(i-n)/s),i===o&&(t=4+(n-r)/s),(t*=60)<0&&(t+=360)),[t,100*s/255,a/(255-s)*100]})(this._rgb)},Z.hcg=(...e)=>new Y(...e,"hcg"),q.format.hcg=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hcg");o*=255;let s=255*a;if(0===a)t=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360);let e=eu(i/=60),l=i-e,c=o*(1-a),u=c+s*(1-l),d=c+s*l,h=c+s;switch(e){case 0:[t,n,r]=[h,d,c];break;case 1:[t,n,r]=[u,h,c];break;case 2:[t,n,r]=[c,h,d];break;case 3:[t,n,r]=[c,u,h];break;case 4:[t,n,r]=[d,c,h];break;case 5:[t,n,r]=[h,c,u]}}return[t,n,r,e.length>3?e[3]:1]},q.autodetect.push({p:1,test:(...e)=>{if("array"===j(e=B(e,"hcg"))&&3===e.length)return"hcg"}});let ed=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,eh=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,ep=e=>{if(e.match(ed)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(eh)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16),n=Math.round((255&t)/255*100)/100;return[t>>24&255,t>>16&255,t>>8&255,n]}throw Error(`unknown hex color: ${e}`)},{round:ef}=Math,eg=(...e)=>{let[t,n,r,i]=B(e,"rgba"),a=F(e)||"auto";void 0===i&&(i=1),"auto"===a&&(a=i<1?"rgba":"rgb"),t=ef(t);let o="000000"+(t<<16|(n=ef(n))<<8|(r=ef(r))).toString(16);o=o.substr(o.length-6);let s="0"+ef(255*i).toString(16);switch(s=s.substr(s.length-2),a.toLowerCase()){case"rgba":return`#${o}${s}`;case"argb":return`#${s}${o}`;default:return`#${o}`}};Y.prototype.hex=function(e){return eg(this._rgb,e)},Z.hex=(...e)=>new Y(...e,"hex"),q.format.hex=ep,q.autodetect.push({p:4,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});let{cos:em}=Math,{min:eb,sqrt:ey,acos:ev}=Math;Y.prototype.hsi=function(){return((...e)=>{let t,[n,r,i]=B(e,"rgb"),a=eb(n/=255,r/=255,i/=255),o=(n+r+i)/3,s=o>0?1-a/o:0;return 0===s?t=NaN:(t=ev(t=(n-r+(n-i))/2/ey((n-r)*(n-r)+(n-i)*(r-i))),i>r&&(t=G-t),t/=G),[360*t,s,o]})(this._rgb)},Z.hsi=(...e)=>new Y(...e,"hsi"),q.format.hsi=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsi");return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?n=1-((r=(1-a)/3)+(t=(1+a*em(G*i)/em($-G*i))/3)):i<2/3?(i-=1/3,r=1-((t=(1-a)/3)+(n=(1+a*em(G*i)/em($-G*i))/3))):(i-=2/3,t=1-((n=(1-a)/3)+(r=(1+a*em(G*i)/em($-G*i))/3))),t=R(o*t*3),[255*t,255*(n=R(o*n*3)),255*(r=R(o*r*3)),e.length>3?e[3]:1]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsi"))&&3===e.length)return"hsi"}}),Y.prototype.hsl=function(){return Q(this._rgb)},Z.hsl=(...e)=>new Y(...e,"hsl"),q.format.hsl=et,q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsl"))&&3===e.length)return"hsl"}});let{floor:eE}=Math,{min:e_,max:ex}=Math;Y.prototype.hsv=function(){return((...e)=>{let t,n,[r,i,a]=e=B(e,"rgb"),o=e_(r,i,a),s=ex(r,i,a),l=s-o;return 0===s?(t=NaN,n=0):(n=l/s,r===s&&(t=(i-a)/l),i===s&&(t=2+(a-r)/l),a===s&&(t=4+(r-i)/l),(t*=60)<0&&(t+=360)),[t,n,s/255]})(this._rgb)},Z.hsv=(...e)=>new Y(...e,"hsv"),q.format.hsv=(...e)=>{let t,n,r,[i,a,o]=e=B(e,"hsv");if(o*=255,0===a)t=n=r=o;else{360===i&&(i=0),i>360&&(i-=360),i<0&&(i+=360);let e=eE(i/=60),s=i-e,l=o*(1-a),c=o*(1-a*s),u=o*(1-a*(1-s));switch(e){case 0:[t,n,r]=[o,u,l];break;case 1:[t,n,r]=[c,o,l];break;case 2:[t,n,r]=[l,o,u];break;case 3:[t,n,r]=[l,c,o];break;case 4:[t,n,r]=[u,l,o];break;case 5:[t,n,r]=[o,l,c]}}return[t,n,r,e.length>3?e[3]:1]},q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"hsv"))&&3===e.length)return"hsv"}});let eA={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},{pow:eS}=Math,ew=e=>255*(e<=.00304?12.92*e:1.055*eS(e,1/2.4)-.055),eT=e=>e>eA.t1?e*e*e:eA.t2*(e-eA.t0),eO=(...e)=>{let t,n,r,i,[a,o,s]=e=B(e,"lab");return n=(a+16)/116,t=isNaN(o)?n:n+o/500,r=isNaN(s)?n:n-s/200,n=eA.Yn*eT(n),i=ew(3.2404542*(t=eA.Xn*eT(t))-1.5371385*n-.4985314*(r=eA.Zn*eT(r))),[i,ew(-.969266*t+1.8760108*n+.041556*r),ew(.0556434*t-.2040259*n+1.0572252*r),e.length>3?e[3]:1]},{pow:eC}=Math,ek=e=>(e/=255)<=.04045?e/12.92:eC((e+.055)/1.055,2.4),eM=e=>e>eA.t3?eC(e,1/3):e/eA.t2+eA.t0,eL=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=((e,t,n)=>{e=ek(e);let r=eM((.4124564*e+.3575761*(t=ek(t))+.1804375*(n=ek(n)))/eA.Xn);return[r,eM((.2126729*e+.7151522*t+.072175*n)/eA.Yn),eM((.0193339*e+.119192*t+.9503041*n)/eA.Zn)]})(t,n,r),s=116*a-16;return[s<0?0:s,500*(i-a),200*(a-o)]};Y.prototype.lab=function(){return eL(this._rgb)},Z.lab=(...e)=>new Y(...e,"lab"),q.format.lab=eO,q.autodetect.push({p:2,test:(...e)=>{if("array"===j(e=B(e,"lab"))&&3===e.length)return"lab"}});let{sin:eI,cos:eN}=Math,eR=(...e)=>{let[t,n,r]=B(e,"lch");return isNaN(r)&&(r=0),[t,eN(r*=W)*n,eI(r)*n]},eP=(...e)=>{let[t,n,r]=e=B(e,"lch"),[i,a,o]=eR(t,n,r),[s,l,c]=eO(i,a,o);return[s,l,c,e.length>3?e[3]:1]},{sqrt:eD,atan2:ej,round:eB}=Math,eF=(...e)=>{let[t,n,r]=B(e,"lab"),i=eD(n*n+r*r),a=(ej(r,n)*V+360)%360;return 0===eB(1e4*i)&&(a=NaN),[t,i,a]},ez=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=eL(t,n,r);return eF(i,a,o)};Y.prototype.lch=function(){return ez(this._rgb)},Y.prototype.hcl=function(){return ez(this._rgb).reverse()},Z.lch=(...e)=>new Y(...e,"lch"),Z.hcl=(...e)=>new Y(...e,"hcl"),q.format.lch=eP,q.format.hcl=(...e)=>eP(...B(e,"hcl").reverse()),["lch","hcl"].forEach(e=>q.autodetect.push({p:2,test:(...t)=>{if("array"===j(t=B(t,e))&&3===t.length)return e}}));let eU={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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"};Y.prototype.name=function(){let e=eg(this._rgb,"rgb");for(let t of Object.keys(eU))if(eU[t]===e)return t.toLowerCase();return e},q.format.named=e=>{if(eU[e=e.toLowerCase()])return ep(eU[e]);throw Error("unknown color name: "+e)},q.autodetect.push({p:5,test:(e,...t)=>{if(!t.length&&"string"===j(e)&&eU[e.toLowerCase()])return"named"}}),Y.prototype.num=function(){return((...e)=>{let[t,n,r]=B(e,"rgb");return(t<<16)+(n<<8)+r})(this._rgb)},Z.num=(...e)=>new Y(...e,"num"),q.format.num=e=>{if("number"==j(e)&&e>=0&&e<=0xffffff)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},q.autodetect.push({p:5,test:(...e)=>{if(1===e.length&&"number"===j(e[0])&&e[0]>=0&&e[0]<=0xffffff)return"num"}});let{round:eH}=Math;Y.prototype.rgb=function(e=!0){return!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(eH)},Y.prototype.rgba=function(e=!0){return this._rgb.slice(0,4).map((t,n)=>n<3?!1===e?t:eH(t):t)},Z.rgb=(...e)=>new Y(...e,"rgb"),q.format.rgb=(...e)=>{let t=B(e,"rgba");return void 0===t[3]&&(t[3]=1),t},q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"rgba"))&&(3===e.length||4===e.length&&"number"==j(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});let{log:eG}=Math,e$=e=>{let t,n,r,i=e/100;return i<66?(t=255,n=i<6?0:-155.25485562709179-.44596950469579133*(n=i-2)+104.49216199393888*eG(n),r=i<20?0:-254.76935184120902+.8274096064007395*(r=i-10)+115.67994401066147*eG(r)):(t=351.97690566805693+.114206453784165*(t=i-55)-40.25366309332127*eG(t),n=325.4494125711974+.07943456536662342*(n=i-50)-28.0852963507957*eG(n),r=255),[t,n,r,1]},{round:eW}=Math;Y.prototype.temp=Y.prototype.kelvin=Y.prototype.temperature=function(){return((...e)=>{let t,n=B(e,"rgb"),r=n[0],i=n[2],a=1e3,o=4e4;for(;o-a>.4;){let e=e$(t=(o+a)*.5);e[2]/e[0]>=i/r?o=t:a=t}return eW(t)})(this._rgb)},Z.temp=Z.kelvin=Z.temperature=(...e)=>new Y(...e,"temp"),q.format.temp=q.format.kelvin=q.format.temperature=e$;let{pow:eV,sign:eq}=Math,eY=(...e)=>{let[t,n,r]=e=B(e,"lab"),i=eV(t+.3963377774*n+.2158037573*r,3),a=eV(t-.1055613458*n-.0638541728*r,3),o=eV(t-.0894841775*n-1.291485548*r,3);return[255*eZ(4.0767416621*i-3.3077115913*a+.2309699292*o),255*eZ(-1.2684380046*i+2.6097574011*a-.3413193965*o),255*eZ(-.0041960863*i-.7034186147*a+1.707614701*o),e.length>3?e[3]:1]};function eZ(e){let t=Math.abs(e);return t>.0031308?(eq(e)||1)*(1.055*eV(t,1/2.4)-.055):12.92*e}let{cbrt:eX,pow:eK,sign:eQ}=Math,eJ=(...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=[e0(t/255),e0(n/255),e0(r/255)],s=eX(.4122214708*i+.5363325363*a+.0514459929*o),l=eX(.2119034982*i+.6806995451*a+.1073969566*o),c=eX(.0883024619*i+.2817188376*a+.6299787005*o);return[.2104542553*s+.793617785*l-.0040720468*c,1.9779984951*s-2.428592205*l+.4505937099*c,.0259040371*s+.7827717662*l-.808675766*c]};function e0(e){let t=Math.abs(e);return t<.04045?e/12.92:(eQ(e)||1)*eK((t+.055)/1.055,2.4)}Y.prototype.oklab=function(){return eJ(this._rgb)},Z.oklab=(...e)=>new Y(...e,"oklab"),q.format.oklab=eY,q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"oklab"))&&3===e.length)return"oklab"}}),Y.prototype.oklch=function(){return((...e)=>{let[t,n,r]=B(e,"rgb"),[i,a,o]=eJ(t,n,r);return eF(i,a,o)})(this._rgb)},Z.oklch=(...e)=>new Y(...e,"oklch"),q.format.oklch=(...e)=>{let[t,n,r]=e=B(e,"lch"),[i,a,o]=eR(t,n,r),[s,l,c]=eY(i,a,o);return[s,l,c,e.length>3?e[3]:1]},q.autodetect.push({p:3,test:(...e)=>{if("array"===j(e=B(e,"oklch"))&&3===e.length)return"oklch"}}),Y.prototype.alpha=function(e,t=!1){return void 0!==e&&"number"===j(e)?t?(this._rgb[3]=e,this):new Y([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},Y.prototype.clipped=function(){return this._rgb._clipped||!1},Y.prototype.darken=function(e=1){let t=this.lab();return t[0]-=eA.Kn*e,new Y(t,"lab").alpha(this.alpha(),!0)},Y.prototype.brighten=function(e=1){return this.darken(-e)},Y.prototype.darker=Y.prototype.darken,Y.prototype.brighter=Y.prototype.brighten,Y.prototype.get=function(e){let[t,n]=e.split("."),r=this[t]();if(!n)return r;{let e=t.indexOf(n)-2*("ok"===t.substr(0,2));if(e>-1)return r[e];throw Error(`unknown channel ${n} in mode ${t}`)}};let{pow:e1}=Math;Y.prototype.luminance=function(e,t="rgb"){if(void 0!==e&&"number"===j(e)){if(0===e)return new Y([0,0,0,this._rgb[3]],"rgb");if(1===e)return new Y([255,255,255,this._rgb[3]],"rgb");let n=this.luminance(),r=20,i=(n,a)=>{let o=n.interpolate(a,.5,t),s=o.luminance();return!(1e-7>Math.abs(e-s))&&r--?s>e?i(n,o):i(o,a):o},a=(n>e?i(new Y([0,0,0]),this):i(this,new Y([255,255,255]))).rgb();return new Y([...a,this._rgb[3]])}return e2(...this._rgb.slice(0,3))};let e2=(e,t,n)=>(e=e3(e),.2126*e+.7152*(t=e3(t))+.0722*(n=e3(n))),e3=e=>(e/=255)<=.03928?e/12.92:e1((e+.055)/1.055,2.4),e5={},e4=(e,t,n=.5,...r)=>{let i=r[0]||"lrgb";if(e5[i]||r.length||(i=Object.keys(e5)[0]),!e5[i])throw Error(`interpolation mode ${i} is not defined`);return"object"!==j(e)&&(e=new Y(e)),"object"!==j(t)&&(t=new Y(t)),e5[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};Y.prototype.mix=Y.prototype.interpolate=function(e,t=.5,...n){return e4(this,e,t,...n)},Y.prototype.premultiply=function(e=!1){let t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new Y([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},Y.prototype.saturate=function(e=1){let t=this.lch();return t[1]+=eA.Kn*e,t[1]<0&&(t[1]=0),new Y(t,"lch").alpha(this.alpha(),!0)},Y.prototype.desaturate=function(e=1){return this.saturate(-e)},Y.prototype.set=function(e,t,n=!1){let[r,i]=e.split("."),a=this[r]();if(!i)return a;{let e=r.indexOf(i)-2*("ok"===r.substr(0,2));if(e>-1){if("string"==j(t))switch(t.charAt(0)){case"+":case"-":a[e]+=+t;break;case"*":a[e]*=t.substr(1);break;case"/":a[e]/=t.substr(1);break;default:a[e]=+t}else if("number"===j(t))a[e]=t;else throw Error("unsupported value for Color.set");let i=new Y(a,r);if(n)return this._rgb=i._rgb,this;return i}throw Error(`unknown channel ${i} in mode ${r}`)}},Y.prototype.tint=function(e=.5,...t){return e4(this,"white",e,...t)},Y.prototype.shade=function(e=.5,...t){return e4(this,"black",e,...t)},e5.rgb=(e,t,n)=>{let r=e._rgb,i=t._rgb;return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"rgb")};let{sqrt:e6,pow:e8}=Math;e5.lrgb=(e,t,n)=>{let[r,i,a]=e._rgb,[o,s,l]=t._rgb;return new Y(e6(e8(r,2)*(1-n)+e8(o,2)*n),e6(e8(i,2)*(1-n)+e8(s,2)*n),e6(e8(a,2)*(1-n)+e8(l,2)*n),"rgb")},e5.lab=(e,t,n)=>{let r=e.lab(),i=t.lab();return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"lab")};let e7=(e,t,n,r)=>{let i,a,o,s,l,c,u,d,h,p,f,g;return"hsl"===r?(i=e.hsl(),a=t.hsl()):"hsv"===r?(i=e.hsv(),a=t.hsv()):"hcg"===r?(i=e.hcg(),a=t.hcg()):"hsi"===r?(i=e.hsi(),a=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",i=e.hcl(),a=t.hcl()):"oklch"===r&&(i=e.oklch().reverse(),a=t.oklch().reverse()),("h"===r.substr(0,1)||"oklch"===r)&&([o,l,u]=i,[s,c,d]=a),isNaN(o)||isNaN(s)?isNaN(o)?isNaN(s)?p=NaN:(p=s,(1==u||0==u)&&"hsv"!=r&&(h=c)):(p=o,(1==d||0==d)&&"hsv"!=r&&(h=l)):(g=s>o&&s-o>180?s-(o+360):s180?s+360-o:s-o,p=o+n*g),void 0===h&&(h=l+n*(c-l)),f=u+n*(d-u),"oklch"===r?new Y([f,h,p],r):new Y([p,h,f],r)},e9=(e,t,n)=>e7(e,t,n,"lch");e5.lch=e9,e5.hcl=e9,e5.num=(e,t,n)=>{let r=e.num();return new Y(r+n*(t.num()-r),"num")},e5.hcg=(e,t,n)=>e7(e,t,n,"hcg"),e5.hsi=(e,t,n)=>e7(e,t,n,"hsi"),e5.hsl=(e,t,n)=>e7(e,t,n,"hsl"),e5.hsv=(e,t,n)=>e7(e,t,n,"hsv"),e5.oklab=(e,t,n)=>{let r=e.oklab(),i=t.oklab();return new Y(r[0]+n*(i[0]-r[0]),r[1]+n*(i[1]-r[1]),r[2]+n*(i[2]-r[2]),"oklab")},e5.oklch=(e,t,n)=>e7(e,t,n,"oklch");let{pow:te,sqrt:tt,PI:tn,cos:tr,sin:ti,atan2:ta}=Math,{pow:to}=Math;function ts(e){let t="rgb",n=Z("#ccc"),r=0,i=[0,1],a=[],o=[0,0],s=!1,l=[],c=!1,u=0,d=1,h=!1,p={},f=!0,g=1,m=function(e){if("string"===j(e=e||["#fff","#000"])&&Z.brewer&&Z.brewer[e.toLowerCase()]&&(e=Z.brewer[e.toLowerCase()]),"array"===j(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(let t=0;t=s[n];)n++;return n-1}return 0},y=e=>e,v=e=>e,E=function(e,r){let i,c;if(null==r&&(r=!1),isNaN(e)||null===e)return n;c=r?e:s&&s.length>2?b(e)/(s.length-2):d!==u?(e-u)/(d-u):1,c=v(c),r||(c=y(c)),1!==g&&(c=to(c,g));let h=Math.floor(1e4*(c=R(c=o[0]+c*(1-o[0]-o[1]),0,1)));if(f&&p[h])i=p[h];else{if("array"===j(l))for(let e=0;e=n&&e===a.length-1){i=l[e];break}if(c>n&&cp={};m(e);let x=function(e){let t=Z(E(e));return c&&t[c]?t[c]():t};return x.classes=function(e){if(null!=e){if("array"===j(e))s=e,i=[e[0],e[e.length-1]];else{let t=Z.analyze(i);s=0===e?[t.min,t.max]:Z.limits(t,"e",e)}return x}return s},x.domain=function(e){if(!arguments.length)return i;u=e[0],d=e[e.length-1],a=[];let t=l.length;if(e.length===t&&u!==d)for(let t of Array.from(e))a.push((t-u)/(d-u));else{for(let e=0;e2){let t=e.map((t,n)=>n/(e.length-1)),n=e.map(e=>(e-u)/(d-u));n.every((e,n)=>t[n]===e)||(v=e=>{if(e<=0||e>=1)return e;let r=0;for(;e>=n[r+1];)r++;let i=(e-n[r])/(n[r+1]-n[r]);return t[r]+i*(t[r+1]-t[r])})}}return i=[u,d],x},x.mode=function(e){return arguments.length?(t=e,_(),x):t},x.range=function(e,t){return m(e,t),x},x.out=function(e){return c=e,x},x.spread=function(e){return arguments.length?(r=e,x):r},x.correctLightness=function(e){return null==e&&(e=!0),h=e,_(),y=h?function(e){let t=E(0,!0).lab()[0],n=E(1,!0).lab()[0],r=t>n,i=E(e,!0).lab()[0],a=t+(n-t)*e,o=i-a,s=0,l=1,c=20;for(;Math.abs(o)>.01&&c-- >0;)r&&(o*=-1),o<0?(s=e,e+=(l-e)*.5):(l=e,e+=(s-e)*.5),o=(i=E(e,!0).lab()[0])-a;return e}:e=>e,x},x.padding=function(e){return null!=e?("number"===j(e)&&(e=[e,e]),o=e,x):o},x.colors=function(t,n){arguments.length<2&&(n="hex");let r=[];if(0==arguments.length)r=l.slice(0);else if(1===t)r=[x(.5)];else if(t>1){let e=i[0],n=i[1]-e;r=(function(e,t,n){let r=[],i=0a;i?t++:t--)r.push(t);return r})(0,t,!1).map(r=>x(e+r/(t-1)*n))}else{e=[];let t=[];if(s&&s.length>2)for(let e=1,n=s.length,r=1<=n;r?en;r?e++:e--)t.push((s[e-1]+s[e])*.5);else t=i;r=t.map(e=>x(e))}return Z[n]&&(r=r.map(e=>e[n]())),r},x.cache=function(e){return null!=e?(f=e,x):f},x.gamma=function(e){return null!=e?(g=e,x):g},x.nodata=function(e){return null!=e?(n=Z(e),x):n},x}let tl=function(e){let t=[1,1];for(let n=1;nnew Y(e))).length)[n,r]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>n[t]+e*(r[t]-n[t])),"lab")};else if(3===e.length)[n,r,i]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>(1-e)*(1-e)*n[t]+2*(1-e)*e*r[t]+e*e*i[t]),"lab")};else if(4===e.length){let a;[n,r,i,a]=e.map(e=>e.lab()),t=function(e){return new Y([0,1,2].map(t=>(1-e)*(1-e)*(1-e)*n[t]+3*(1-e)*(1-e)*e*r[t]+3*(1-e)*e*e*i[t]+e*e*e*a[t]),"lab")}}else if(e.length>=5){let n,r,i;n=e.map(e=>e.lab()),r=tl(i=e.length-1),t=function(e){let t=1-e;return new Y([0,1,2].map(a=>n.reduce((n,o,s)=>n+r[s]*t**(i-s)*e**s*o[a],0)),"lab")}}else throw RangeError("No point in running bezier with only one color.");return t},tu=(e,t,n)=>{if(!tu[n])throw Error("unknown blend mode "+n);return tu[n](e,t)},td=e=>(t,n)=>{let r=Z(n).rgb(),i=Z(t).rgb();return Z.rgb(e(r,i))},th=e=>(t,n)=>{let r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r};tu.normal=td(th(e=>e)),tu.multiply=td(th((e,t)=>e*t/255)),tu.screen=td(th((e,t)=>255*(1-(1-e/255)*(1-t/255)))),tu.overlay=td(th((e,t)=>t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255)))),tu.darken=td(th((e,t)=>e>t?t:e)),tu.lighten=td(th((e,t)=>e>t?e:t)),tu.dodge=td(th((e,t)=>255===e||(e=t/255*255/(1-e/255))>255?255:e)),tu.burn=td(th((e,t)=>255*(1-(1-t/255)/(e/255))));let{pow:tp,sin:tf,cos:tg}=Math,{floor:tm,random:tb}=Math,{log:ty,pow:tv,floor:tE,abs:t_}=Math;function tx(e,t=null){let n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===j(e)&&(e=Object.values(e)),e.forEach(e=>{t&&"object"===j(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,en.max&&(n.max=e),n.count+=1)}),n.domain=[n.min,n.max],n.limits=(e,t)=>tA(n,e,t),n}function tA(e,t="equal",n=7){"array"==j(e)&&(e=tx(e));let{min:r,max:i}=e,a=e.values.sort((e,t)=>e-t);if(1===n)return[r,i];let o=[];if("c"===t.substr(0,1)&&(o.push(r),o.push(i)),"e"===t.substr(0,1)){o.push(r);for(let e=1;e 0");let e=Math.LOG10E*ty(r),t=Math.LOG10E*ty(i);o.push(r);for(let r=1;r200&&(c=!1)}let h={};for(let e=0;ee-t),o.push(p[0]);for(let e=1;e{let r=e.length;n||(n=Array.from(Array(r)).map(()=>1));let i=r/n.reduce(function(e,t){return e+t});if(n.forEach((e,t)=>{n[t]*=i}),e=e.map(e=>new Y(e)),"lrgb"===t)return((e,t)=>{let n=e.length,r=[0,0,0,0];for(let i=0;i.9999999&&(r[3]=1),new Y(P(r))})(e,n);let a=e.shift(),o=a.get(t),s=[],l=0,c=0;for(let e=0;e{let i=e.get(t);u+=e.alpha()*n[r+1];for(let e=0;e=360;)t-=360;o[e]=t}else o[e]=o[e]/s[e];return u/=r,new Y(o,t).alpha(u>.99999?1:u,!0)},bezier:e=>{let t=tc(e);return t.scale=()=>ts(t),t},blend:tu,cubehelix:function(e=300,t=-1.5,n=1,r=1,i=[0,1]){let a=0,o;"array"===j(i)?o=i[1]-i[0]:(o=0,i=[i,i]);let s=function(s){let l=G*((e+120)/360+t*s),c=tp(i[0]+o*s,r),u=(0!==a?n[0]+s*a:n)*c*(1-c)/2,d=tg(l),h=tf(l);return Z(P([255*(c+u*(-.14861*d+1.78277*h)),255*(c+u*(-.29227*d-.90649*h)),255*(c+1.97294*d*u),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?r:(r=e,s)},s.hue=function(e){return null==e?n:("array"===j(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,s)},s.lightness=function(e){return null==e?i:("array"===j(e)?(i=e,o=e[1]-e[0]):(i=[e,e],o=0),s)},s.scale=()=>Z.scale(s),s.hue(n),s},mix:e4,interpolate:e4,random:()=>{let e="#";for(let t=0;t<6;t++)e+="0123456789abcdef".charAt(tm(16*tb()));return new Y(e,"hex")},scale:ts,analyze:tx,contrast:(e,t)=>{e=new Y(e),t=new Y(t);let n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},deltaE:function(e,t,n=1,r=1,i=1){var a=function(e){return 360*e/(2*tN)},o=function(e){return 2*tN*e/360};e=new Y(e),t=new Y(t);let[s,l,c]=Array.from(e.lab()),[u,d,h]=Array.from(t.lab()),p=(s+u)/2,f=(tS(tw(l,2)+tw(c,2))+tS(tw(d,2)+tw(h,2)))/2,g=.5*(1-tS(tw(f,7)/(tw(f,7)+tw(25,7)))),m=l*(1+g),b=d*(1+g),y=tS(tw(m,2)+tw(c,2)),v=tS(tw(b,2)+tw(h,2)),E=(y+v)/2,_=a(tC(c,m)),x=a(tC(h,b)),A=_>=0?_:_+360,S=x>=0?x:x+360,w=tk(A-S)>180?(A+S+360)/2:(A+S)/2,O=1-.17*tM(o(w-30))+.24*tM(o(2*w))+.32*tM(o(3*w+6))-.2*tM(o(4*w-63)),C=S-A;C=180>=tk(C)?C:S<=A?C+360:C-360,C=2*tS(y*v)*tL(o(C)/2);let k=v-y,M=1+.015*tw(p-50,2)/tS(20+tw(p-50,2)),L=1+.045*E,I=1+.015*E*O,N=30*tI(-tw((w-275)/25,2)),R=-(2*tS(tw(E,7)/(tw(E,7)+tw(25,7))))*tL(2*o(N));return tO(0,tT(100,tS(tw((u-s)/(n*M),2)+tw(k/(r*L),2)+tw(C/(i*I),2)+k/(r*L)*R*(C/(i*I)))))},distance:function(e,t,n="lab"){e=new Y(e),t=new Y(t);let r=e.get(n),i=t.get(n),a=0;for(let e in r){let t=(r[e]||0)-(i[e]||0);a+=t*t}return Math.sqrt(a)},limits:tA,valid:(...e)=>{try{return new Y(...e),!0}catch(e){return!1}},scales:{cool:()=>ts([Z.hsl(180,1,.9),Z.hsl(250,.7,.4)]),hot:()=>ts(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},input:q,colors:eU,brewer:tR});let tD={lab:{l:[0,100],a:[-86.185,98.254],b:[-107.863,94.482]},lch:{l:[0,100],c:[0,100],h:[0,360]},rgb:{r:[0,255],g:[0,255],b:[0,255]},rgba:{r:[0,255],g:[0,255],b:[0,255],a:[0,1]},hsl:{h:[0,360],s:[0,1],l:[0,1]},hsv:{h:[0,360],s:[0,1],v:[0,1]},hsi:{h:[0,360],s:[0,1],i:[0,1]},cmyk:{c:[0,1],m:[0,1],y:[0,1],k:[0,1]}},tj=e=>{let{value:t}=e;return Z.valid(t)?Z(t):Z("#000")},tB=(e,t=e.model)=>{let n=tj(e);return n?n[t]():[0,0,0]},tF=(e,t=4===e.length?"rgba":"rgb")=>{let n={};if(1===e.length){let[r]=e;for(let e=0;ee*t/255,t$=(e,t)=>e+t-e*t/255,tW=(e,t)=>e<128?tG(2*e,t):t$(2*e-255,t),tV={normal:e=>e,darken:(e,t)=>Math.min(e,t),multiply:tG,colorBurn:(e,t)=>0===e?0:Math.max(0,255*(1-(255-t)/e)),lighten:(e,t)=>Math.max(e,t),screen:t$,colorDodge:(e,t)=>255===e?255:Math.min(255,t/(255-e)*255),overlay:(e,t)=>tW(t,e),softLight:(e,t)=>{if(e<128)return t-(1-2*e/255)*t*(1-t/255);let n=t<64?t/255*(t/255*(t/255*16-12)+4):Math.sqrt(t/255);return t+255*(2*e/255-1)*(n-t/255)},hardLight:tW,difference:(e,t)=>Math.abs(e-t),exclusion:(e,t)=>e+t-2*e*t/255,linearBurn:(e,t)=>Math.max(e+t-255,0),linearDodge:(e,t)=>Math.min(255,e+t),linearLight:(e,t)=>Math.max(t+2*e-255,0),vividLight:(e,t)=>e<128?255*(1-(1-t/255)/(2*e/255)):t/2/(255-e)*255,pinLight:(e,t)=>e<128?Math.min(t,2*e):Math.max(t,2*e-255)},tq=e=>.3*e[0]+.58*e[1]+.11*e[2],tY=(e,t)=>{let n=t-tq(e);return(e=>{let t=tq(e),n=Math.min(...e),r=Math.max(...e),i=[...e];return n<0&&(i=i.map(e=>t+(e-t)*t/(t-n))),r>255&&(i=i.map(e=>t+(e-t)*(255-t)/(r-t))),i})(e.map(e=>e+n))},tZ=e=>Math.max(...e)-Math.min(...e),tX=(e,t)=>{let n=e.map((e,t)=>({value:e,index:t}));n.sort((e,t)=>e.value-t.value);let r=n[0].index,i=n[1].index,a=n[2].index,o=[...e];return o[a]>o[r]?(o[i]=(o[i]-o[r])*t/(o[a]-o[r]),o[a]=t):(o[i]=0,o[a]=0),o[r]=0,o},tK={hue:(e,t)=>tY(tX(e,tZ(t)),tq(t)),saturation:(e,t)=>tY(tX(t,tZ(e)),tq(t)),color:(e,t)=>tY(e,tq(t)),luminosity:(e,t)=>tY(t,tq(e))},tQ=(e,t,n="normal")=>{let r,[i,a,o,s]=tB(e,"rgba"),[l,c,u,d]=tB(t,"rgba"),h=[i,a,o],p=[l,c,u];if(N.includes(n)){let e=tV[n];r=h.map((t,n)=>Math.floor(e(t,p[n])))}else r=tK[n](h,p);let f=s+d*(1-s),g=Math.round((s*(1-d)*i+s*d*r[0]+(1-s)*d*l)/f),m=Math.round((s*(1-d)*a+s*d*r[1]+(1-s)*d*c)/f),b=Math.round((s*(1-d)*o+s*d*r[2]+(1-s)*d*u)/f);return 1===f?{model:"rgb",value:{r:g,g:m,b}}:{model:"rgba",value:{r:g,g:m,b,a:f}}},tJ=(e,t)=>{let n=(e+t)%360;return n<0?n+=360:n>=360&&(n-=360),n},t0=(e=1,t=0)=>{let n=Math.min(e,t);return n+Math.random()*(Math.max(e,t)-n)},t1=(e=1,t=0)=>{let n=Math.ceil(Math.min(e,t));return Math.floor(n+Math.random()*(Math.floor(Math.max(e,t))-n+1))},t2=e=>{if(e&&"object"==typeof e){if(Array.isArray(e))return e.map(e=>t2(e));let t={};return Object.keys(e).forEach(n=>{t[n]=t2(e[n])}),t}return e};function t3(e){return Math.PI/180*e}var t5=n(43106),t4=n.n(t5);let t6=(e,t="normal")=>"grayscale"===t?(e=>{let t=tz(e),[,,,n=1]=tB(e,"rgba");return tU(t,n)})(e):((e,t="normal")=>{if("normal"===t)return{...e};let n=tP(e);return tH(t4()[t](n))})(e,t),t8=(e,t,n=[t1(5,10),t1(90,95)])=>{let[r,i,a]=tB(e,"lab"),o=r<=15?r:n[0],s=((r>=85?r:n[1])-o)/(t-1),l=Math.ceil((r-o)/s);return s=0===l?s:(r-o)/l,Array(t).fill(0).map((e,t)=>tF([s*t+o,i,a],"lab"))},t7=e=>{let{count:t,color:n,tendency:r}=e,i=t8(n,t);return{name:"monochromatic",semantic:null,type:"discrete-scale",colors:"tint"===r?i:i.reverse()}},t9={model:"rgb",value:{r:0,g:0,b:0}},ne={model:"rgb",value:{r:255,g:255,b:255}},nt=(e,t,n="lab")=>Z.distance(tj(e),tj(t),n),nn=(e,t)=>{let n=180/Math.PI*Math.atan2(e,t);return n>=0?n:n+360},nr=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},ni=e=>{let[t,n,r]=tB(e);return .2126*nr(t)+.7152*nr(n)+.0722*nr(r)},na=(e,t,n={measure:"euclidean"})=>{let{measure:r="euclidean",backgroundColor:i=I}=n,a=tQ(e,i),o=tQ(t,i);switch(r){case"CIEDE2000":return((e,t)=>{let n,[r,i,a]=tB(e,"lab"),[o,s,l]=tB(t,"lab"),c=(Math.sqrt(i**2+a**2)+Math.sqrt(s**2+l**2))/2,u=.5*(1-Math.sqrt(c**7/(c**7+0x16bcc41e9))),d=(1+u)*i,h=(1+u)*s,p=Math.sqrt(d**2+a**2),f=Math.sqrt(h**2+l**2),g=nn(a,d),m=nn(l,h),b=f-p,y=2*Math.sqrt(p*f)*Math.sin(t3(180>=Math.abs(m-g)?m-g:m-g<-180?m-g+360:m-g-360)/2),v=(r+o)/2,E=(p+f)/2,_=1-.17*Math.cos(t3((n=180>=Math.abs(g-m)?(g+m)/2:Math.abs(g-m)>180&&g+m<360?(g+m+360)/2:(g+m-360)/2)-30))+.24*Math.cos(t3(2*n))+.32*Math.cos(t3(3*n+6))-.2*Math.cos(t3(4*n-63)),x=1+.045*E,A=1+.015*E*_;return Math.sqrt(((o-r)/((1+.015*(v-50)**2/Math.sqrt(20+(v-50)**2))*1))**2+(b/x)**2+(y/A)**2+b/x*(-2*Math.sqrt(E**7/(E**7+0x16bcc41e9))*Math.sin(t3(60*Math.exp(-(((n-275)/25)**2)))))*(y/A))})(a,o);case"euclidean":return nt(a,o,n.colorModel);case"contrastRatio":return((e,t)=>{let n=ni(e),r=ni(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)})(a,o);default:return nt(a,o)}},no=[.8,1.2],ns={rouletteWheel:e=>{let t=e.reduce((e,t)=>e+t),n=0,r=t0(t),i=0;for(let t=0;t{let t=-1,n=0;for(let r=0;r<3;r+=1){let i=t1(e.length-1);e[i]>n&&(t=r,n=e[i])}return t}},nl=(e,t="tournament")=>ns[t](e),nc=(e,t)=>{let n=t2(e),r=t2(t);for(let i=1;i{let i=t2(e),a=t[t1(t.length-1)],o=t1(e[0].length-1),s=i[a][o]*t0(...no),l=[15,240];"grayscale"!==n&&(l=tD[r][r.split("")[o]]);let[c,u]=l;return su&&(s=u),i[a][o]=s,i},nd=(e,t,n,r,i,a)=>{let o;o="grayscale"===n?e.map(([e])=>tU(e)):e.map(e=>t6(tF(e,r),n));let s=1/0;for(let e=0;e{if(Math.round(nd(e,t,n,i,a,o))>r)return e;let s=Array(e.length).fill(0).map((e,t)=>t).filter((e,n)=>!t[n]),l=Array(50).fill(0).map(()=>nu(e,s,n,i)),c=l.map(e=>nd(e,t,n,i,a,o)),u=Math.max(...c),d=l[c.findIndex(e=>e===u)],h=1;for(;h<100&&Math.round(u)t0()?nc(t,r):[t,r];a=a.map(e=>.1>t0()?nu(e,s,n,i):e),e.push(...a)}let r=Math.max(...c=(l=e).map(e=>nd(e,t,n,i,a,o)));u=r,d=l[c.findIndex(e=>e===r)],h+=1}return d},np={euclidean:30,CIEDE2000:20,contrastRatio:4.5},nf={euclidean:291.48,CIEDE2000:100,contrastRatio:21},ng=(e,t={})=>{let{locked:n=[],simulationType:r="normal",threshold:i,colorModel:a="hsv",colorDifferenceMeasure:o="euclidean",backgroundColor:s=I}=t,l=i;l||(l=np[o]),"grayscale"===r&&(l=Math.min(l,nf[o]/e.colors.length));let c=t2(e);if("matrix"!==c.type&&"continuous-scale"!==c.type)if("grayscale"===r){let e=nh(c.colors.map(e=>[tz(e)]),n,r,l,a,o,s);c.colors.forEach((t,n)=>Object.assign(t,function(e,t){let n,[,r,i]=tB(t,"lab"),[,,,a=1]=tB(t,"rgba"),o=100*e,s=Math.round(o),l=tz(tF([s,r,i],"lab")),c=25;for(;Math.round(o)!==Math.round(l/255*100)&&c>0;)o>l/255*100?s+=1:s-=1,c-=1,l=tz(tF([s,r,i],"lab"));if(Math.round(o)tB(e,a)),n,r,l,a,o,s);c.colors.forEach((t,n)=>{Object.assign(t,tF(e[n],a))})}return c},nm=[.3,.9],nb=[.5,1],ny=(e,t,n,r=[])=>{let[i]=tB(e,"hsv"),a=Array(n).fill(!1),o=-1===r.findIndex(t=>t&&t.model===e.model&&t.value===e.value);return{newColors:Array(n).fill(0).map((n,s)=>{let l=r[s];return l?(a[s]=!0,l):o?(o=!1,a[s]=!0,e):tF([tJ(i,t*s),t0(...nm),t0(...nb)],"hsv")}),locked:a}};function nv(){let e=t1(255);return tF([e,t1(255),t1(255)],"rgb")}let nE=e=>{let{count:t,colors:n}=e,r=[];return ng({name:"random",semantic:null,type:"categorical",colors:Array(t).fill(0).map((e,t)=>{let i=n[t];return i?(r[t]=!0,i):nv()})},{locked:r})},n_=["monochromatic"],nx={monochromatic:t7,analogous:e=>{let{count:t,color:n,tendency:r}=e,[i,a,o]=tB(n,"hsv"),s=Math.floor(t/2),l=60/(t-1);i>=60&&i<=240&&(l=-l);let c=(a-.1)/3/(t-s-1),u=(o-.4)/3/s,d=Array(t).fill(0).map((e,t)=>tF([tJ(i,l*(t-s)),t<=s?Math.min(a+c*(s-t),1):a+3*c*(s-t),t<=s?o-3*u*(s-t):Math.min(o-u*(s-t),1)],"hsv"));return{name:"analogous",semantic:null,type:"discrete-scale",colors:"tint"===r?d:d.reverse()}},achromatic:e=>{let{tendency:t}=e;return{...t7({...e,color:"tint"===t?t9:ne}),name:"achromatic"}},complementary:e=>{let{count:t,color:n}=e,[r,i,a]=tB(n,"hsv"),o=tF([tJ(r,180),i,a],"hsv"),s=t1(80,90),l=t1(15,25),c=Math.floor(t/2),u=t8(n,c,[l,s]),d=t8(o,c,[l,s]).reverse();return{name:"complementary",semantic:null,type:"discrete-scale",colors:t%2==1?[...u,tF([(tJ(r,180)+r)/2,t0(.05,.1),t0(.9,.95)],"hsv"),...d]:[...u,...d]}},"split-complementary":e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,180,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},triadic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,120,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},tetradic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,90,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},polychromatic:e=>{let{count:t,color:n,colors:r}=e,{newColors:i,locked:a}=ny(n,360/t,t,r);return ng({name:"tetradic",semantic:null,type:"categorical",colors:i},{locked:a})},customized:nE},nA=(e="monochromatic",t={})=>{let n=((e,t)=>{let{count:n=8,tendency:r="tint"}=t,{colors:i=[],color:a}=t;return a||(a=i.find(e=>!!e&&!!e.model&&!!e.value)||nv()),n_.includes(e)&&(i=[]),{color:a,colors:i,count:n,tendency:r}})(e,t);try{return nx[e](n)}catch(e){return nE(n)}};n(88274);var nS={}.toString,nw=function(e,t){return nS.call(e)==="[object ".concat(t,"]")},nT=function(e){if("object"!=typeof e||null===e||!nw(e,"Object"))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};let nO=function(e){for(var t=[],n=1;nt.distinct)return -1}return 0};function nN(e){return[e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])}),e.find(function(e){return a(e.levelOfMeasurements,["Interval"])})]}function nR(e){return[e.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])})]}function nP(e){var t=e.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),n=e.find(function(e){return a(e.levelOfMeasurements,["Nominal"])});return[t,e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),n]}function nD(e){var t=e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI),n=t[0],r=t[1];return[e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),n,r]}function nj(e){var t,n,i,o,s,l,c=e.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI);return(0,nk.hS)(null==(i=c[1])?void 0:i.rawData,null==(o=c[0])?void 0:o.rawData)?(l=(t=(0,r.zs)(c,2))[0],s=t[1]):(s=(n=(0,r.zs)(c,2))[0],l=n[1]),[s,e.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),l]}var nB=["monochromatic","analogous"],nF=["polychromatic","split-complementary","triadic","tetradic"];function nz(e,t,n){var i=e.data,o=e.dataProps,s=e.smartColor,c=e.options,u=e.colorOptions,h=e.fields;try{var p,f,g,m,b,y,v,E=L(i),_=(p=(h?new M.A(E,{columns:h}):new M.A(E)).info(),o?p.map(function(e){var t=o.find(function(t){return t.name===e.name});return(0,r.Cl)((0,r.Cl)({},e),t)}):p);return f=h?E.map(function(e){return Object.keys(e).forEach(function(t){h.includes(t)||delete e[t]}),e}):E,g=(null==c?void 0:c.refine)!==void 0&&c.refine,m=null==c?void 0:c.theme,b=(null==c?void 0:c.requireSpec)===void 0||c.requireSpec,y=Object.keys(t),v=[],{advices:y.map(function(e){var i,o=function(e,t,n,r,i){var a=i?i.purpose:"",o=i?i.preferences:void 0,s=[],l={dataProps:n,chartType:e,purpose:a,preferences:o},c=d(e,t,r,"HARD",l,s);if(0===c)return{chartType:e,score:0,log:s};var u=d(e,t,r,"SOFT",l,s);return{chartType:e,score:c*u,log:s}}(e,t,_,n,c);v.push(o);var h=o.score;if(h<=0)return{type:e,spec:null,score:h};var p=function(e,t,n,i){var o,s,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w,O,C,k,M,L,I,N,R,P,D,j,B,F,z,U,H,G,$,W,V,q,Y,Z,X,K,Q;if(!nC.includes(e)&&i)return i.toSpec?i.toSpec(t,n):null;switch(e){case"pie_chart":return s=(o=(0,r.zs)(nN(n),2))[0],(c=o[1])&&s?{type:"interval",data:t,encode:{color:s.name,y:c.name},transform:[{type:"stackY"}],coordinate:{type:"theta"}}:null;case"donut_chart":return d=(u=(0,r.zs)(nN(n),2))[0],(h=u[1])&&d?{type:"interval",data:t,encode:{color:d.name,y:h.name},transform:[{type:"stackY"}],coordinate:{type:"theta",innerRadius:.6}}:null;case"line_chart":return function(e,t){var n=(0,r.zs)(nR(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"line",data:e,encode:{x:i.name,y:a.name}};return o&&(s.encode.color=o.name),s}(t,n);case"step_line_chart":return function(e,t){var n=(0,r.zs)(nR(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"line",data:e,encode:{x:i.name,y:a.name,shape:"hvh"}};return o&&(s.encode.color=o.name),s}(t,n);case"area_chart":return p=n.find(function(e){return l(e.levelOfMeasurements,["Time","Ordinal"])}),f=n.find(function(e){return a(e.levelOfMeasurements,["Interval"])}),p&&f?{type:"area",data:t,encode:{x:p.name,y:f.name}}:null;case"stacked_area_chart":return m=(g=(0,r.zs)(nP(n),3))[0],b=g[1],y=g[2],m&&b&&y?{type:"area",data:t,encode:{x:m.name,y:b.name,color:y.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_area_chart":return E=(v=(0,r.zs)(nP(n),3))[0],_=v[1],x=v[2],E&&_&&x?{type:"area",data:t,encode:{x:E.name,y:_.name,color:x.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"bar_chart":return function(e,t){var n=(0,r.zs)(nD(t),3),i=n[0],a=n[1],o=n[2];if(!i||!a)return null;var s={type:"interval",data:e,encode:{x:a.name,y:i.name},coordinate:{transform:[{type:"transpose"}]}};return o&&(s.encode.color=o.name,s.transform=[{type:"stackY"}]),s}(t,n);case"grouped_bar_chart":return S=(A=(0,r.zs)(nD(n),3))[0],w=A[1],O=A[2],S&&w&&O?{type:"interval",data:t,encode:{x:w.name,y:S.name,color:O.name},transform:[{type:"dodgeX"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"stacked_bar_chart":return k=(C=(0,r.zs)(nD(n),3))[0],M=C[1],L=C[2],k&&M&&L?{type:"interval",data:t,encode:{x:M.name,y:k.name,color:L.name},transform:[{type:"stackY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"percent_stacked_bar_chart":return N=(I=(0,r.zs)(nD(n),3))[0],R=I[1],P=I[2],N&&R&&P?{type:"interval",data:t,encode:{x:R.name,y:N.name,color:P.name},transform:[{type:"stackY"},{type:"normalizeY"}],coordinate:{transform:[{type:"transpose"}]}}:null;case"column_chart":return function(e,t){var n=t.filter(function(e){return a(e.levelOfMeasurements,["Nominal"])}).sort(nI),r=n[0],i=n[1],o=t.find(function(e){return a(e.levelOfMeasurements,["Interval"])});if(!r||!o)return null;var s={type:"interval",data:e,encode:{x:r.name,y:o.name}};return i&&(s.encode.color=i.name,s.transform=[{type:"stackY"}]),s}(t,n);case"grouped_column_chart":return j=(D=(0,r.zs)(nj(n),3))[0],B=D[1],F=D[2],j&&B&&F?{type:"interval",data:t,encode:{x:j.name,y:B.name,color:F.name},transform:[{type:"dodgeX"}]}:null;case"stacked_column_chart":return U=(z=(0,r.zs)(nj(n),3))[0],H=z[1],G=z[2],U&&H&&G?{type:"interval",data:t,encode:{x:U.name,y:H.name,color:G.name},transform:[{type:"stackY"}]}:null;case"percent_stacked_column_chart":return W=($=(0,r.zs)(nj(n),3))[0],V=$[1],q=$[2],W&&V&&q?{type:"interval",data:t,encode:{x:W.name,y:V.name,color:q.name},transform:[{type:"stackY"},{type:"normalizeY"}]}:null;case"scatter_plot":return function(e,t){var n=t.filter(function(e){return a(e.levelOfMeasurements,["Interval"])}).sort(nI),r=n[0],i=n[1],o=t.find(function(e){return a(e.levelOfMeasurements,["Nominal"])});if(!r||!i)return null;var s={type:"point",data:e,encode:{x:r.name,y:i.name}};return o&&(s.encode.color=o.name),s}(t,n);case"bubble_chart":return function(e,t){for(var n=t.filter(function(e){return a(e.levelOfMeasurements,["Interval"])}),i={x:n[0],y:n[1],corr:0,size:n[2]},o=function(e){for(var t=function(t){var a=(0,nM.nc)(n[e].rawData,n[t].rawData);Math.abs(a)>i.corr&&(i.x=n[e],i.y=n[t],i.corr=a,i.size=n[(0,r.fX)([],(0,r.zs)(Array(n.length).keys()),!1).find(function(n){return n!==e&&n!==t})||0])},a=e+1;a0&&(!b||e.spec)}).sort(function(e,t){return e.scoret.score?-1:0}),log:v}}catch(e){return console.error("error: ",e),{advices:[],log:[]}}}var nU=function(e){var t,n=e.coordinate;if((null==n?void 0:n.type)==="theta")return(null==n?void 0:n.innerRadius)?"donut_chart":"pie_chart";var r=e.transform,i=null==(t=null==n?void 0:n.transform)?void 0:t.some(function(e){return"transpose"===e.type}),a=null==r?void 0:r.some(function(e){return"normalizeY"===e.type}),o=null==r?void 0:r.some(function(e){return"stackY"===e.type}),s=null==r?void 0:r.some(function(e){return"dodgeX"===e.type});return i?s?"grouped_bar_chart":a?"stacked_bar_chart":o?"percent_stacked_bar_chart":"bar_chart":s?"grouped_column_chart":a?"stacked_column_chart":o?"percent_stacked_column_chart":"column_chart"},nH=function(e){var t=e.transform,n=null==t?void 0:t.some(function(e){return"stackY"===e.type}),r=null==t?void 0:t.some(function(e){return"normalizeY"===e.type});return n?r?"percent_stacked_area_chart":"stacked_area_chart":"area_chart"},nG=function(e){var t=e.encode;return t.shape&&"hvh"===t.shape?"step_line_chart":"line_chart"},n$=function(e){var t;switch(e.type){case"area":t=nH(e);break;case"interval":t=nU(e);break;case"line":t=nG(e);break;case"point":t=e.encode.size?"bubble_chart":"scatter_plot";break;case"rect":t="histogram";break;case"cell":t="heatmap";break;default:t=""}return t};function nW(e,t,n,i,a,o,s){Object.values(e).filter(function(e){var i,a,s=e.option||{},l=s.weight,c=s.extra;return i=e.type,("DESIGN"===t?"DESIGN"===i:"DESIGN"!==i)&&!(null==(a=e.option)?void 0:a.off)&&e.trigger((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},n),{weight:l}),c),{chartWIKI:o}))}).forEach(function(e){var l,c=e.type,u=e.id,d=e.docs;if("DESIGN"===t){var h=e.optimizer(n.dataProps,s);l=+(0===Object.keys(h).length),a.push({type:c,id:u,score:l,fix:h,docs:d})}else{var p=e.option||{},f=p.weight,g=p.extra;l=e.validator((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},n),{weight:f}),g),{chartWIKI:o})),a.push({type:c,id:u,score:l,docs:d})}i.push({phase:"LINT",ruleId:u,score:l,base:l,weight:1,ruleType:c})})}function nV(e,t,n){var r=e.spec,i=e.options,a=e.dataProps,o=null==i?void 0:i.purpose,s=null==i?void 0:i.preferences,l=n$(r),c=[],u=[];if(!r||!l)return{lints:c,log:u};if(!a||!a.length){try{a=new M.A(r.data).info()}catch(e){return console.error("error: ",e),{lints:c,log:u}}}var d={dataProps:a,chartType:l,purpose:o,preferences:s};return nW(t,"notDESIGN",d,u,c,n),nW(t,"DESIGN",d,u,c,n,r),{lints:c=c.filter(function(e){return e.score<1}),log:u}}var nq=function(){function e(e){var t,n,a,o,s;void 0===e&&(e={}),this.ckb=(t=e.ckbCfg,n=JSON.parse(JSON.stringify(i)),t?(a=t.exclude,o=t.include,s=t.custom,a&&a.forEach(function(e){Object.keys(n).includes(e)&&delete n[e]}),o&&Object.keys(n).forEach(function(e){o.includes(e)||delete n[e]}),(0,r.Cl)((0,r.Cl)({},n),s)):n),this.ruleBase=k(e.ruleCfg)}return e.prototype.advise=function(e){return nz(e,this.ckb,this.ruleBase).advices},e.prototype.adviseWithLog=function(e){return nz(e,this.ckb,this.ruleBase)},e.prototype.lint=function(e){return nV(e,this.ruleBase,this.ckb).lints},e.prototype.lintWithLog=function(e){return nV(e,this.ruleBase,this.ckb)},e}()},54573:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(1922),i=n(17915);function a(e,t,n){let a=(0,i.C)((n||{}).ignore||[]),o=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:s}:void 0),!1===s?r.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(a{"use strict";n.d(t,{F:()=>p});var r=n(39249),i=n(2323),a=n(58872),o=n(49603),s=n(33313),l=n(76646);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.k[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.k[n]))),l.k[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var h=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function p(e){if((0,i.D)(e))return[].concat(e);for(var t=function(e){if((0,o.f)(e))return[].concat(e);var t=function(e){if((0,s.N)(e))return[].concat(e);var t=new h(e);for(d(t);t.index0;s-=1){if((32|i)==97&&(3===s||4===s)?!function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'.concat(n[t],'", expecting 0 or 1 at index ').concat(t)}(e):!function(e){var t,n=e.max,r=e.pathValue,i=e.index,a=i,o=!1,s=!1,l=!1,c=!1;if(a>=n){e.err="[path-util]: Invalid path value at index ".concat(a,', "pathValue" is missing param');return}if((43===(t=r.charCodeAt(a))||45===t)&&(a+=1,t=r.charCodeAt(a)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index ".concat(a,', "').concat(r[a],'" is not a number');return}if(46!==t){if(o=48===t,a+=1,t=r.charCodeAt(a),o&&a=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,i=0,a=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],i=n,a=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=i,r=a;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(i=n,a=r)}return t})}(e),n=(0,r.Cl)({},a.M),p=0;p{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.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-pdf",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},54685:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(83894)},54699: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=[]},54719: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=[]},55501:(e,t,n)=>{"use strict";var r=n(64073);function i(e){e.register(r),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=i,i.displayName="scala",i.aliases=[]},55715:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(50636);let i=function(e){if((0,r.A)(e))return e.reduce(function(e,t){return Math.min(e,t)},e[0])}},55964: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=[]},56070: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=[]},56373:e=>{"use strict";function t(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 r=e.languages[n],i="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("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}e.exports=t,t.displayName="t4Templating",t.aliases=[]},56613: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=[]},56622:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>u,_v:()=>l,l6:()=>c,mU:()=>d});var r=n(38310),i=n(68058),a=n(37022),o=n(77568),s={showTitle:!0,padding:0,orientation:"horizontal",backgroundFill:"transparent",titleText:"",titleSpacing:4,titlePosition:"top-left",titleFill:"#2C3542",titleFontWeight:"bold",titleFontFamily:"sans-serif",titleFontSize:12},l=(0,r.E)({},s,{}),c=(0,r.E)({},s,(0,i.dQ)(o.E,"handle"),{color:["#d0e3fa","#acc7f6","#8daaf2","#6d8eea","#4d73cd","#325bb1","#5a3e75","#8c3c79","#e23455","#e7655b"],indicatorBackgroundFill:"#262626",indicatorLabelFill:"white",indicatorLabelFontSize:12,indicatorVisibility:"hidden",labelAlign:"value",labelDirection:"positive",labelSpacing:5,showHandle:!0,showIndicator:!0,showLabel:!0,slidable:!0,titleText:"",type:"continuous"}),u=.01,d=(0,a.x)({title:"title",html:"html",titleGroup:"title-group",items:"items",itemsGroup:"items-group",contentGroup:"content-group",ribbonGroup:"ribbon-group",ribbon:"ribbon",handlesGroup:"handles-group",handle:"handle",startHandle:"start-handle",endHandle:"end-handle",labelGroup:"label-group",label:"label",indicator:"indicator"},"legend")},56747: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=[]},56807:e=>{"use strict";(e.exports={}).getOption=function(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}},56917:(e,t,n)=>{var r=n(98233),i=n(48611);e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==r(e)}},57076:e=>{"use strict";function t(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],a=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var l={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in l&&function t(n){for(var o=0,l=n.length;o=h.length)return;var o=n[a];if("string"==typeof o||"string"==typeof o.content){var l=h[c],d="string"==typeof o?o:o.content,p=d.indexOf(l);if(-1!==p){++c;var f=d.substring(0,p),g=function(t){var n={};n["interpolation-punctuation"]=i;var a=e.tokenize(t,n);if(3===a.length){var o=[1,1];o.push.apply(o,s(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,o)}return new e.Token("interpolation",a,r.alias,t)}(u[l]),m=d.substring(p+l.length),b=[];if(f&&b.push(f),b.push(g),m){var y=[m];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[a,1].concat(b)),a+=b.length-1):o.content=b}}else{var v=o.content;Array.isArray(v)?t(v):t([v])}}}(d),new e.Token(o,d,"language-"+o,t)}(h,g,f)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},57143:(e,t,n)=>{"use strict";var r=n(70750);function i(e){e.register(r),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=i,i.displayName="racket",i.aliases=["rkt"]},57250:(e,t,n)=>{e.exports=function(e){e.use(n(89234)),e.installMethod("contrast",function(e){var t=this.luminance(),n=e.luminance();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)})}},57254: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=[]},57309:e=>{"use strict";function t(e){var t,n;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"},t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],a=0;a0&&i[i.length-1].tagName===t(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(i.length>0)||"punctuation"!==o.type||"{"!==o.content||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:"comment"!==o.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof o)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(o);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=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.exports=t,t.displayName="xquery",t.aliases=[]},57626:(e,t,n)=>{"use strict";function r(e,t){let n,r;if(void 0===t)for(let t of e)null!=t&&(void 0===n?t>=t&&(n=r=t):(n>t&&(n=t),r=a&&(n=r=a):(n>a&&(n=a),rr})},57859:(e,t,n)=>{"use strict";var r=n(95441),i=n(8828),a=n(8747);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},h={};for(t in c)n=new a(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,h[r(t)]=t,h[r(n.attribute)]=t;return new i(d,h,o)}},57966: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=[]},58425: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=[]},58452: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=[]},58468:(e,t,n)=>{var r=n(53516);e.exports=function(e,t,n,i){return r(e,function(e,r,a){t(i,e,n(e),a)}),i}},58857:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>l,wA:()=>s});let r=Math.PI,i=2*r,a=i-1e-6;function o(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw Error(`invalid digits: ${e}`);if(t>15)return o;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t1e-6)if(Math.abs(d*l-c*u)>1e-6&&a){let p=n-o,f=i-s,g=l*l+c*c,m=Math.sqrt(g),b=Math.sqrt(h),y=a*Math.tan((r-Math.acos((g+h-(p*p+f*f))/(2*m*b)))/2),v=y/b,E=y/m;Math.abs(v-1)>1e-6&&this._append`L${e+v*u},${t+v*d}`,this._append`A${a},${a},0,0,${+(d*p>u*f)},${this._x1=e+E*l},${this._y1=t+E*c}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,o,s,l){if(e*=1,t*=1,n*=1,l=!!l,n<0)throw Error(`negative radius: ${n}`);let c=n*Math.cos(o),u=n*Math.sin(o),d=e+c,h=t+u,p=1^l,f=l?o-s:s-o;null===this._x1?this._append`M${d},${h}`:(Math.abs(this._x1-d)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${d},${h}`,n&&(f<0&&(f=f%i+i),f>a?this._append`A${n},${n},0,1,${p},${e-c},${t-u}A${n},${n},0,1,${p},${this._x1=d},${this._y1=h}`:f>1e-6&&this._append`A${n},${n},0,${+(f>=r)},${p},${this._x1=e+n*Math.cos(s)},${this._y1=t+n*Math.sin(s)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n*=1}v${+r}h${-n}Z`}toString(){return this._}}function l(){return new s}l.prototype=s.prototype},58872:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},58891: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=[]},58985:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(39249),i=n(56775);function a(e,t){return(0,i.A)(e)?e.apply(void 0,(0,r.fX)([],(0,r.zs)(t),!1)):e}},59132:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},59222:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return e}},59235:(e,t,n)=>{"use strict";e.exports=n(38088)},59728:(e,t,n)=>{"use strict";function r(e){var t,n,r,i=e||1;function a(e,a){++t>i&&(r=n,o(1),++t),n[e]=a}function o(e){t=0,n=Object.create(null),e||(r=Object.create(null))}return o(),{clear:o,has:function(e){return void 0!==n[e]||void 0!==r[e]},get:function(e){var t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(a(e,t),t):void 0},set:function(e,t){void 0!==n[e]?n[e]=t:a(e,t)}}}function i(e,t=(...e)=>`${e[0]}`,n=16){let a=r(n);return(...n)=>{let r=t(...n),i=a.get(r);return a.has(r)?a.get(r):(i=e(...n),a.set(r,i),i)}}n.d(t,{g:()=>i}),r(3)},59829:(e,t,n)=>{"use strict";function r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.d(t,{GP:()=>o});var i,a,o,s=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(e){var t;if(!(t=s.exec(e)))throw Error("invalid format: "+e);return new c({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function c(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function u(e,t){var n=r(e,t);if(!n)return e+"";var i=n[0],a=n[1];return a<0?"0."+Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+Array(a-i.length+2).join("0")}l.prototype=c.prototype,c.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let d={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>u(100*e,t),r:u,s:function(e,t){var n=r(e,t);if(!n)return e+"";var a=n[0],o=n[1],s=o-(i=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=a.length;return s===l?a:s>l?a+Array(s-l+1).join("0"):s>0?a.slice(0,s)+"."+a.slice(s):"0."+Array(1-s).join("0")+r(e,Math.max(0,t+s-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function h(e){return e}var p=Array.prototype.map,f=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(a=function(e){var t,n,a,o=void 0===e.grouping||void 0===e.thousands?h:(t=p.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),s=void 0===e.currency?"":e.currency[0]+"",c=void 0===e.currency?"":e.currency[1]+"",u=void 0===e.decimal?".":e.decimal+"",g=void 0===e.numerals?h:(a=p.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return a[+e]})}),m=void 0===e.percent?"%":e.percent+"",b=void 0===e.minus?"−":e.minus+"",y=void 0===e.nan?"NaN":e.nan+"";function v(e){var t=(e=l(e)).fill,n=e.align,r=e.sign,a=e.symbol,h=e.zero,p=e.width,v=e.comma,E=e.precision,_=e.trim,x=e.type;"n"===x?(v=!0,x="g"):d[x]||(void 0===E&&(E=12),_=!0,x="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var A="$"===a?s:"#"===a&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",S="$"===a?c:/[%p]/.test(x)?m:"",w=d[x],O=/[defgprs%]/.test(x);function C(e){var a,s,l,c=A,d=S;if("c"===x)d=w(e)+d,e="";else{var m=(e*=1)<0||1/e<0;if(e=isNaN(e)?y:w(Math.abs(e),E),_&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0==+e&&"+"!==r&&(m=!1),c=(m?"("===r?r:b:"-"===r||"("===r?"":r)+c,d=("s"===x?f[8+i/3]:"")+d+(m&&"("===r?")":""),O){for(a=-1,s=e.length;++a(l=e.charCodeAt(a))||l>57){d=(46===l?u+e.slice(a+1):e.slice(a))+d,e=e.slice(0,a);break}}}v&&!h&&(e=o(e,1/0));var C=c.length+e.length+d.length,k=C>1)+c+e+d+k.slice(C);break;default:e=k+c+e+d}return g(e)}return E=void 0===E?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E)),C.toString=function(){return e+""},C}return{format:v,formatPrefix:function(e,t){var n,i=v(((e=l(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(((n=r(Math.abs(n=t)))?n[1]:NaN)/3))),o=Math.pow(10,-a),s=f[8+a/3];return function(e){return i(o*e)+s}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a.formatPrefix},59882:e=>{e.exports=function(e){return null==e}},59947:(e,t,n)=>{"use strict";function r(e){this._context=e}function i(e){return new r(e)}n.d(t,{A:()=>i}),r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}}},60066:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81472);let i=function(e,t){if(!(0,r.A)(e))return e;for(var n=[],i=0;i{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},60245:(e,t,n)=>{var r=n(51911);e.exports=function(e,t){return r(e,t)}},60363:(e,t,n)=>{var r=n(28897);e.exports=n(98105)(function(e,t,n){r(e,n,t)})},60569: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=[]},60579: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"]},60733: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 r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,a="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?: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(a+"(?: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(a+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(a+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,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=[]},60924:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},60993:e=>{"use strict";function t(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\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=[]},61260:(e,t,n)=>{"use strict";n.d(t,{$:()=>z});var r=Uint8Array,i=Uint16Array,a=Int32Array,o=new r([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),s=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<>1|(21845&m)<<1;b=(61680&(b=(52428&b)>>2|(13107&b)<<2))>>4|(3855&b)<<4,g[m]=((65280&b)>>8|(255&b)<<8)>>1}for(var y=function(e,t,n){for(var r,a=e.length,o=0,s=new i(t);o>c]=u}else for(o=0,r=new i(a);o>15-e[o]);return r},v=new r(288),m=0;m<144;++m)v[m]=8;for(var m=144;m<256;++m)v[m]=9;for(var m=256;m<280;++m)v[m]=7;for(var m=280;m<288;++m)v[m]=8;for(var E=new r(32),m=0;m<32;++m)E[m]=5;var _=y(v,9,0),x=y(E,5,0),A=function(e){return(e+7)/8|0},S=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},w=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},O=function(e,t){for(var n=[],a=0;af&&(f=s[a].s);var g=new i(f+1),m=C(n[h-1],g,0);if(m>t){var a=0,b=0,y=m-t,v=1<t)b+=v-(1<>=y;b>0;){var _=s[a].s;g[_]=0&&b;--a){var x=s[a].s;g[x]==t&&(--g[x],++b)}m=t}return{t:new r(g),l:m}},C=function(e,t,n){return -1==e.s?Math.max(C(e.l,t,n+1),C(e.r,t,n+1)):t[e.s]=n},k=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,a=e[0],o=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==a&&l!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(a),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(a);o=1,a=e[l]}return{c:n.subarray(0,r),n:t}},M=function(e,t){for(var n=0,r=0;r>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a4&&!V[l[Y-1]];--Y);var Z=p+5<<3,X=M(a,v)+M(c,E)+u,K=M(a,I)+M(c,P)+u+14+3*Y+M(G,V)+2*G[16]+3*G[17]+7*G[18];if(h>=0&&Z<=X&&Z<=K)return L(t,f,e.subarray(h,h+p));if(S(t,f,1+(K15&&(S(t,f,et[$]>>5&127),f+=et[$]>>12)}}else g=_,m=v,b=x,A=E;for(var $=0;$255){var en=er>>18&31;w(t,f,g[en+257]),f+=m[en+257],en>7&&(S(t,f,er>>23&31),f+=o[en]);var ei=31&er;w(t,f,b[ei]),f+=A[ei],ei>3&&(w(t,f,er>>5&8191),f+=s[ei])}else w(t,f,g[er]),f+=m[er]}return w(t,f,g[256]),f+m[256]},N=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),R=new r(0),P=function(e,t,n,l,c,u){var d,p,g=u.z||e.length,m=new r(l+g+5*(1+Math.ceil(g/7e3))+c),b=m.subarray(l,m.length-c),y=u.l,v=7&(u.r||0);if(t){v&&(b[0]=u.r>>3);for(var E=N[t-1],_=E>>13,x=8191&E,S=(1<7e3||z>24576)&&(V>423||!y)){v=I(e,b,0,R,P,D,B,z,H,F-H,v),z=j=B=0,H=F;for(var q=0;q<286;++q)P[q]=0;for(var q=0;q<30;++q)D[q]=0}var Y=2,Z=0,X=x,K=$-W&32767;if(V>2&&G==M(F-K))for(var Q=Math.min(_,V)-1,J=Math.min(32767,F),ee=Math.min(258,V);K<=J&&--X&&$!=W;){if(e[F+Y]==e[F+Y-K]){for(var et=0;etY){if(Y=et,Z=K,et>Q)break;for(var en=Math.min(K,et-2),er=0,q=0;qer&&(er=eo,W=ei)}}}W=w[$=W],K+=$-W&32767}if(Z){R[z++]=0x10000000|h[Y]<<18|f[Z];var es=31&h[Y],el=31&f[Z];B+=o[es]+s[el],++P[257+es],++D[el],U=F+Y,++j}else R[z++]=e[F],++P[e[F]]}}for(F=Math.max(F,U);F=g&&(b[v/8|0]=y,ec=g),v=L(b,v+1,e.subarray(F,ec))}u.i=g}return d=0,p=l+A(v)+c,(null==d||d<0)&&(d=0),(null==p||p>m.length)&&(p=m.length),new r(m.subarray(d,p))},D=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,a=0|n.length,o=0;o!=a;){for(var s=Math.min(o+2655,a);o>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},j=function(e,t,n,i,a){if(!a&&(a={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),s=new r(o.length+e.length);s.set(o),s.set(e,o.length),e=s,a.w=o.length}return P(e,null==t.level?6:t.level,null==t.mem?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,i,a)},B=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},F=function(e,t){var n=t.level;if(e[0]=120,e[1]=(0==n?0:n<6?1:9==n?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var r=D();r.p(t.dictionary),B(e,2,r.d())}};function z(e,t){t||(t={});var n=D();n.p(e);var r=j(e,t,t.dictionary?6:2,4);return F(r,t),B(r,r.length-4,n.d()),r}var U="undefined"!=typeof TextDecoder&&new TextDecoder;try{U.decode(R,{stream:!0})}catch(e){}"function"==typeof queueMicrotask&&queueMicrotask},61341:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>E,Gw:()=>w,Q1:()=>i,Qh:()=>S,Uw:()=>o,b:()=>A,ef:()=>a});var r=n(71609);function i(){}var a=.7,o=1.4285714285714286,s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,d=RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=RegExp("^rgb\\("+[c,c,c]+"\\)$"),p=RegExp("^rgba\\("+[s,s,s,l]+"\\)$"),f=RegExp("^rgba\\("+[c,c,c,l]+"\\)$"),g=RegExp("^hsl\\("+[l,c,c]+"\\)$"),m=RegExp("^hsla\\("+[l,c,c,l]+"\\)$"),b={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function y(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function E(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=u.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?_(t):3===n?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new w(t[1],t[2],t[3],1):(t=h.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?x(t[1],t[2],t[3],t[4]):(t=f.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?M(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?M(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?_(b[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function _(e){return new w(e>>16&255,e>>8&255,255&e,1)}function x(e,t,n,r){return r<=0&&(e=t=n=NaN),new w(e,t,n,r)}function A(e){return(e instanceof i||(e=E(e)),e)?new w((e=e.rgb()).r,e.g,e.b,e.opacity):new w}function S(e,t,n,r){return 1==arguments.length?A(e):new w(e,t,n,null==r?1:r)}function w(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function O(){return"#"+k(this.r)+k(this.g)+k(this.b)}function C(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function k(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function M(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,n,r)}function L(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=E(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-a,c=(o+a)/2;return l?(s=t===o?(n-r)/l+(n0&&c<1?0:s,new I(s,l,c,e.opacity)}function I(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function N(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}(0,r.A)(i,E,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return L(this).formatHsl()},formatRgb:v,toString:v}),(0,r.A)(w,S,(0,r.X)(i,{brighter:function(e){return e=null==e?o:Math.pow(o,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},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:O,formatHex:O,formatRgb:C,toString:C})),(0,r.A)(I,function(e,t,n,r){return 1==arguments.length?L(e):new I(e,t,n,null==r?1:r)},(0,r.X)(i,{brighter:function(e){return e=null==e?o:Math.pow(o,e),new I(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new w(N(e>=240?e-240:e+120,i,r),N(e,i,r),N(e<120?e+240:e-120,i,r),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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},61482: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=[]},61567: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 r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},61728: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=[]},62167: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=[]},62190:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.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-ppt",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},62474:(e,t,n)=>{"use strict";function r(e,t,n){return{x:e*Math.cos(n)-t*Math.sin(n),y:e*Math.sin(n)+t*Math.cos(n)}}n.d(t,{U:()=>function e(t,n,i,a,o,s,l,c,u,d){var h,p,f,g,m,b=t,y=n,v=i,E=a,_=c,x=u,A=120*Math.PI/180,S=Math.PI/180*(+o||0),w=[];if(d)p=d[0],f=d[1],g=d[2],m=d[3];else{b=(h=r(b,y,-S)).x,y=h.y,_=(h=r(_,x,-S)).x,x=h.y;var O=(b-_)/2,C=(y-x)/2,k=O*O/(v*v)+C*C/(E*E);k>1&&(v*=k=Math.sqrt(k),E*=k);var M=v*v,L=E*E,I=(s===l?-1:1)*Math.sqrt(Math.abs((M*L-M*C*C-L*O*O)/(M*C*C+L*O*O)));g=I*v*C/E+(b+_)/2,m=-(I*E)*O/v+(y+x)/2,p=Math.asin(((y-m)/E*1e9|0)/1e9),f=Math.asin(((x-m)/E*1e9|0)/1e9),p=bf&&(p-=2*Math.PI),!l&&f>p&&(f-=2*Math.PI)}var N=f-p;if(Math.abs(N)>A){var R=f,P=_,D=x;w=e(_=g+v*Math.cos(f=p+A*(l&&f>p?1:-1)),x=m+E*Math.sin(f),v,E,o,0,l,P,D,[f,R,g,m])}N=f-p;var j=Math.cos(p),B=Math.cos(f),F=Math.tan(N/4),z=4/3*v*F,U=4/3*E*F,H=[b,y],G=[b+z*Math.sin(p),y-U*j],$=[_+z*Math.sin(f),x-U*B],W=[_,x];if(G[0]=2*H[0]-G[0],G[1]=2*H[1]-G[1],d)return G.concat($,W,w);w=G.concat($,W,w);for(var V=[],q=0,Y=w.length;q{"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=[]},62787:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(39249),i=n(83853);function a(e,t,n){return(0,i.s)(e,t,(0,r.Cl)((0,r.Cl)({},n),{bbox:!1,length:!0})).point}},62840: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=[]},62962:(e,t,n)=>{var r=n(48659),i=n(65531),a=n(75145),o=n(85855);e.exports=function(e){return function(t){var n=i(t=o(t))?a(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},63006:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(9519)},63073: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=[]},63757:(e,t,n)=>{"use strict";function r(e){return"&#x"+e.toString(16).toUpperCase()+";"}n.d(t,{T:()=>r})},63880:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(69138);let i=function(e,t,n){for(var i=0,a=(0,r.A)(t)?t.split("."):t;e&&i{"use strict";function r([e,t],[n,r]){return[e-n,t-r]}function i([e,t],[n,r]){return[e+n,t+r]}function a([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function o([e,t]){return Math.atan2(t,e)}function s([e,t]){return o([e,t])+Math.PI/2}function l(e,t){let n=o(e),r=o(t);return ns,WQ:()=>i,d3:()=>c,g7:()=>o,jb:()=>r,jz:()=>u,s5:()=>l,xg:()=>a})},63975:(e,t,n)=>{"use strict";n.d(t,{L:()=>s,c:()=>o});var r=n(86372),i=n(2423),a=n(79135);function o(e){return new s([e],null,e,e.ownerDocument)}class s{constructor(e=null,t=null,n=null,r=null,i=[null,null,null,null,null],a=[],o=[]){this._elements=Array.from(e),this._data=t,this._parent=n,this._document=r,this._enter=i[0],this._update=i[1],this._exit=i[2],this._merge=i[3],this._split=i[4],this._transitions=a,this._facetElements=o}selectAll(e){return new s("string"==typeof e?this._parent.querySelectorAll(e):e,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new s(this._elements,null,this._parent,this._document,void 0,void 0,t)}select(e){let t="string"==typeof e?this._parent.querySelectorAll(e)[0]||null:e;return new s([t],null,t,this._document)}append(e){let t="function"==typeof e?e:()=>this.createElement(e),n=[];if(null!==this._data){for(let e=0;ee,n=()=>null){let r=[],a=[],o=new Set(this._elements),l=[],c=new Set,u=new Map(this._elements.map((e,n)=>[t(e.__data__,n),e])),d=new Map(this._facetElements.map((e,n)=>[t(e.__data__,n),e])),h=(0,i.Ay)(this._elements,e=>n(e.__data__));for(let i=0;ie,t=e=>e,n=e=>e.remove(),r=e=>e,i=e=>e.remove()){let a=e(this._enter),o=t(this._update),s=n(this._exit),l=r(this._merge),c=i(this._split);return o.merge(a).merge(s).merge(l).merge(c)}remove(){for(let e=0;ee.finished)).then(()=>{let t=this._elements[e];t.__removed__&&t.remove()});else{let t=this._elements[e];t.__removed__&&t.remove()}}return new s([],null,this._parent,this._document,void 0,this._transitions)}each(e){for(let t=0;tt:t;return this.each(function(r,i,a){void 0!==t&&(a[e]=n(r,i,a))})}style(e,t){let n="function"!=typeof t?()=>t:t;return this.each(function(r,i,a){void 0!==t&&(a.style[e]=n(r,i,a))})}transition(e){let t="function"!=typeof e?()=>e:e,{_transitions:n}=this;return this.each(function(e,r,i){n[r]=t(e,r,i)})}on(e,t){return this.each(function(n,r,i){i.addEventListener(e,t)}),this}call(e,...t){return e(this,...t),this}node(){return this._elements[0]}nodes(){return this._elements}transitions(){return this._transitions}parent(){return this._parent}}s.registry={g:r.YJ,rect:r.rw,circle:r.jl,path:r.wA,text:r.EY,ellipse:r.Pp,image:r._V,line:r.N1,polygon:r.tS,polyline:r.Ro,html:r.g3}},64073:e=>{"use strict";function t(e){var t,n,r;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/,r={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":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.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":r,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=[]},64317:(e,t,n)=>{"use strict";function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}n.d(t,{m:()=>r})},64384:e=>{var t="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="['’]",s="["+a+"]",l="["+r+"]",c="[^"+t+a+"\\d+"+n+r+i+"]",u="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",h="["+i+"]",p="(?:"+l+"|"+c+")",f="(?:"+h+"|"+c+")",g="(?:"+o+"(?:d|ll|m|re|s|t|ve))?",m="(?:"+o+"(?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",y="[\\ufe0e\\ufe0f]?",v="(?:\\u200d(?:"+["[^"+t+"]",u,d].join("|")+")"+y+b+")*",E="(?:"+["["+n+"]",u,d].join("|")+")"+(y+b+v),_=RegExp([h+"?"+l+"+"+g+"(?="+[s,h,"$"].join("|")+")",f+"+"+m+"(?="+[s,h+p,"$"].join("|")+")",h+"?"+p+"+"+g,h+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",E].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},64541:e=>{"use strict";function t(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=n,this.p2y=r}e.exports=t,t.prototype={sampleCurveX:function(e){return((this.ax*e+this.bx)*e+this.cx)*e},sampleCurveY:function(e){return((this.ay*e+this.by)*e+this.cy)*e},sampleCurveDerivativeX:function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},solveCurveX:function(e,t){if(void 0===t&&(t=1e-6),e<0)return 0;if(e>1)return 1;for(var n=e,r=0;r<8;r++){var i=this.sampleCurveX(n)-e;if(Math.abs(i)Math.abs(a))break;n-=i/a}var o=0,s=1;for(r=0,n=e;r<20&&!(Math.abs((i=this.sampleCurveX(n))-e)i?o=n:s=n,n=(s-o)*.5+o;return n},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}}},64659:(e,t,n)=>{"use strict";function r(e,t="utf8"){return new TextDecoder(t).decode(e)}n.d(t,{D4:()=>R});let i=new TextEncoder,a=(()=>{let e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),o={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class s{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);let r=t.offset?t.offset>>>0:0,i=e.byteLength-r,a=r;(ArrayBuffer.isView(e)||e instanceof s)&&(e.byteLength!==e.buffer.byteLength&&(a=e.byteOffset+r),e=e.buffer),n?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=e,this.length=i,this.byteLength=i,this.byteOffset=a,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,a,i),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let e=this._marks.pop();if(void 0===e)throw Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){let t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){let n=o[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,i=this.buffer.slice(r,r+n);if(this.littleEndian===a&&"uint8"!==t&&"int8"!==t){let e=new Uint8Array(this.buffer.slice(r,r+n));e.reverse();let i=new o[t](e.buffer);return this.offset+=n,i.reverse(),i}let s=new o[t](i);return this.offset+=n,s}readInt16(){let e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){let e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){let e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){let e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){let e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){let e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){let e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){let e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;nthis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}var l,c=n(39959);let u=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=0xedb88320^t>>>1:t>>>=1;u[e]=t}function d(e,t,n){let r=e.readUint32(),i=(0xffffffff^function(e,t,n){let r=0xffffffff;for(let e=0;e>>8;return r}(0,new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t))>>>0;if(i!==r)throw Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${i}`)}function h(e,t,n){for(let r=0;r>1)&255}else{for(;a>1)&255;for(;a>1)&255}}function m(e,t,n,r,i){let a=0;if(0===n.length){for(;a>8&255}return e}}let _=Uint8Array.of(137,80,78,71,13,10,26,10);function x(e){if(!function(e){if(e.length<_.length)return!1;for(let t=0;t<_.length;t++)if(e[t]!==_[t])return!1;return!0}(e.readBytes(_.length)))throw Error("wrong PNG signature")}let A=new TextDecoder("latin1"),S=/^[\u0000-\u00FF]*$/;function w(e){for(e.mark();0!==e.readByte(););let t=e.offset;e.reset();let n=A.decode(e.readBytes(t-e.offset-1));e.skip(1);if(function(e){if(!S.test(e))throw Error("invalid latin1 text")}(n),0===n.length||n.length>79)throw Error("keyword length must be between 1 and 79");return n}let O={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},C={UNKNOWN:-1,DEFLATE:0},k={UNKNOWN:-1,ADAPTIVE:0},M={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},L={NONE:0,BACKGROUND:1,PREVIOUS:2},I={SOURCE:0,OVER:1};class N extends s{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);let{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new c.EL,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=C.UNKNOWN,this._filterMethod=k.UNKNOWN,this._interlaceMethod=M.UNKNOWN,this._colorType=O.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(x(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(x(this);!this._end;){let e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){let n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":!function(e,t,n){var r,i;let a=w(t);e[a]=(r=t,i=n-a.length-1,A.decode(r.readBytes(i)))}(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?d(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){let n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?d(this,e+4,t):this.skip(4)}decodeIHDR(){let e,t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw Error(`invalid bit depth: ${e}`);return e}(this.readUint8());let n=this.readUint8();switch(this._colorType=n,n){case O.GREYSCALE:e=1;break;case O.TRUECOLOUR:e=3;break;case O.INDEXED_COLOUR:e=1;break;case O.GREYSCALE_ALPHA:e=2;break;case O.TRUECOLOUR_ALPHA:e=4;break;case O.UNKNOWN:default:throw Error(`Unknown color type: ${n}`)}if(this._png.channels=e,this._compressionMethod=this.readUint8(),this._compressionMethod!==C.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);let t=e/3;this._hasPalette=!0;let n=[];this._palette=n;for(let e=0;ethis._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;tthis._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case I.SOURCE:for(let n=0;n=n)&&!(o>=r))for(let e=0;e>8&255}return e}}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:L.NONE,blendOp:I.SOURCE,data:e}),this._inflator=new c.EL,this._writingDataChunks=!1}}function R(e,t){return new N(e,t).decode()}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"}(l||(l={}))},64664:(e,t,n)=>{"use strict";n.d(t,{$A:()=>v,Bw:()=>o,C:()=>l,Cc:()=>E,Il:()=>k,Om:()=>y,Re:()=>d,S8:()=>b,T9:()=>f,WQ:()=>u,Z0:()=>_,aI:()=>w,ei:()=>x,fA:()=>s,g7:()=>S,gL:()=>A,hZ:()=>c,hs:()=>g,jb:()=>O,jk:()=>p,lw:()=>h,o8:()=>a,vt:()=>i,xg:()=>C,ze:()=>m});var r=n(31142);function i(){var e=new r.tb(3);return r.tb!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function a(e){var t=new r.tb(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(e){var t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t,n){var i=new r.tb(3);return i[0]=e,i[1]=t,i[2]=n,i}function l(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function c(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function d(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function h(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function f(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function m(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){var n=t[0],r=t[1],i=t[2],a=n*n+r*r+i*i;return a>0&&(a=1/Math.sqrt(a)),e[0]=t[0]*a,e[1]=t[1]*a,e[2]=t[2]*a,e}function y(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function v(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[0],s=n[1],l=n[2];return e[0]=i*l-a*s,e[1]=a*o-r*l,e[2]=r*s-i*o,e}function E(e,t,n,r){var i=t[0],a=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e[2]=o+r*(n[2]-o),e}function _(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,e[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,e[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,e[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,e}function x(e,t,n){var r=t[0],i=t[1],a=t[2];return e[0]=r*n[0]+i*n[3]+a*n[6],e[1]=r*n[1]+i*n[4]+a*n[7],e[2]=r*n[2]+i*n[5]+a*n[8],e}function A(e,t,n){var r=n[0],i=n[1],a=n[2],o=n[3],s=t[0],l=t[1],c=t[2],u=i*c-a*l,d=a*s-r*c,h=r*l-i*s;return u+=u,d+=d,h+=h,e[0]=s+o*u+i*h-a*d,e[1]=l+o*d+a*u-r*h,e[2]=c+o*h+r*d-i*u,e}function S(e,t){var n=e[0],r=e[1],i=e[2],a=t[0],o=t[1],s=t[2],l=Math.sqrt((n*n+r*r+i*i)*(a*a+o*o+s*s));return Math.acos(Math.min(Math.max(l&&y(e,t)/l,-1),1))}function w(e,t){var n=e[0],i=e[1],a=e[2],o=t[0],s=t[1],l=t[2];return Math.abs(n-o)<=r.p8*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-s)<=r.p8*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(a-l)<=r.p8*Math.max(1,Math.abs(a),Math.abs(l))}var O=d,C=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)},k=o;i()},65142:(e,t,n)=>{"use strict";e.exports=n(57859)({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},65158:(e,t,n)=>{"use strict";function r(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}n.d(t,{c:()=>r})},65188:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(80628),i=n(95155);let a=(0,r.A)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"CloseOutlined")},65192:(e,t,n)=>{"use strict";n.d(t,{vM:()=>e5,qB:()=>e8,QY:()=>e6,q8:()=>e4,Zp:()=>e3,E:()=>tu,l_:()=>td,HR:()=>e9,qX:()=>e7});var r={};n.r(r),n.d(r,{interpolateBlues:()=>ep,interpolateBrBG:()=>S,interpolateBuGn:()=>G,interpolateBuPu:()=>W,interpolateCividis:()=>eS,interpolateCool:()=>ej,interpolateCubehelixDefault:()=>eP,interpolateGnBu:()=>q,interpolateGreens:()=>eg,interpolateGreys:()=>eb,interpolateInferno:()=>eY,interpolateMagma:()=>eq,interpolateOrRd:()=>Z,interpolateOranges:()=>eA,interpolatePRGn:()=>O,interpolatePiYG:()=>k,interpolatePlasma:()=>eZ,interpolatePuBu:()=>J,interpolatePuBuGn:()=>K,interpolatePuOr:()=>L,interpolatePuRd:()=>et,interpolatePurples:()=>ev,interpolateRainbow:()=>eF,interpolateRdBu:()=>N,interpolateRdGy:()=>P,interpolateRdPu:()=>er,interpolateRdYlBu:()=>j,interpolateRdYlGn:()=>F,interpolateReds:()=>e_,interpolateSinebow:()=>eG,interpolateSpectral:()=>U,interpolateTurbo:()=>e$,interpolateViridis:()=>eV,interpolateWarm:()=>eD,interpolateYlGn:()=>es,interpolateYlGnBu:()=>ea,interpolateYlOrBr:()=>ec,interpolateYlOrRd:()=>ed,schemeAccent:()=>d,schemeBlues:()=>eh,schemeBrBG:()=>A,schemeBuGn:()=>H,schemeBuPu:()=>$,schemeCategory10:()=>u,schemeDark2:()=>h,schemeGnBu:()=>V,schemeGreens:()=>ef,schemeGreys:()=>em,schemeObservable10:()=>p,schemeOrRd:()=>Y,schemeOranges:()=>ex,schemePRGn:()=>w,schemePaired:()=>f,schemePastel1:()=>g,schemePastel2:()=>m,schemePiYG:()=>C,schemePuBu:()=>Q,schemePuBuGn:()=>X,schemePuOr:()=>M,schemePuRd:()=>ee,schemePurples:()=>ey,schemeRdBu:()=>I,schemeRdGy:()=>R,schemeRdPu:()=>en,schemeRdYlBu:()=>D,schemeRdYlGn:()=>B,schemeReds:()=>eE,schemeSet1:()=>b,schemeSet2:()=>y,schemeSet3:()=>v,schemeSpectral:()=>z,schemeTableau10:()=>E,schemeYlGn:()=>eo,schemeYlGnBu:()=>ei,schemeYlOrBr:()=>el,schemeYlOrRd:()=>eu});var i=n(14438),a=n(96474),o=n(2423),s=n(81036),l=n(57626);function c(e){for(var t=e.length/6|0,n=Array(t),r=0;r(0,_.Ik)(e[e.length-1]);var A=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(c);let S=x(A);var w=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(c);let O=x(w);var C=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(c);let k=x(C);var M=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(c);let L=x(M);var I=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(c);let N=x(I);var R=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(c);let P=x(R);var D=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(c);let j=x(D);var B=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(c);let F=x(B);var z=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(c);let U=x(z);var H=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(c);let G=x(H);var $=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(c);let W=x($);var V=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(c);let q=x(V);var Y=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(c);let Z=x(Y);var X=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(c);let K=x(X);var Q=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(c);let J=x(Q);var ee=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(c);let et=x(ee);var en=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(c);let er=x(en);var ei=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(c);let ea=x(ei);var eo=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(c);let es=x(eo);var el=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(c);let ec=x(el);var eu=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(c);let ed=x(eu);var eh=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(c);let ep=x(eh);var ef=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(c);let eg=x(ef);var em=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(c);let eb=x(em);var ey=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(c);let ev=x(ey);var eE=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(c);let e_=x(eE);var ex=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(c);let eA=x(ex);function eS(e){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(e=Math.max(0,Math.min(1,e)))*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"}var ew=n(71609),eT=n(61341),eO=Math.PI/180,eC=180/Math.PI,ek=-1.78277*.29227-.1347134789;function eM(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof eL)return new eL(e.h,e.s,e.l,e.opacity);e instanceof eT.Gw||(e=(0,eT.b)(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(ek*r+-1.7884503806*t-3.5172982438*n)/(ek+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),s=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),l=s?Math.atan2(o,a)*eC-120:NaN;return new eL(l<0?l+360:l,s,i,e.opacity)}(e):new eL(e,t,n,null==r?1:r)}function eL(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,ew.A)(eL,eM,(0,ew.X)(eT.Q1,{brighter:function(e){return e=null==e?eT.Uw:Math.pow(eT.Uw,e),new eL(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?eT.ef:Math.pow(eT.ef,e),new eL(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*eO,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new eT.Gw(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(-.29227*r+-.90649*i)),255*(t+1.97294*r*n),this.opacity)}}));var eI=n(40897);function eN(e){return function t(n){function r(t,r){var i=e((t=eM(t)).h,(r=eM(r)).h),a=(0,eI.Ay)(t.s,r.s),o=(0,eI.Ay)(t.l,r.l),s=(0,eI.Ay)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(Math.pow(e,n)),t.opacity=s(e),t+""}}return n*=1,r.gamma=t,r}(1)}eN(eI.lG);var eR=eN(eI.Ay);let eP=eR(eM(300,.5,0),eM(-240,.5,1));var eD=eR(eM(-100,.75,.35),eM(80,1.5,.8)),ej=eR(eM(260,.75,.35),eM(80,1.5,.8)),eB=eM();function eF(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return eB.h=360*e-100,eB.s=1.5-1.5*t,eB.l=.8-.9*t,eB+""}var ez=(0,eT.Qh)(),eU=Math.PI/3,eH=2*Math.PI/3;function eG(e){var t;return ez.r=255*(t=Math.sin(e=(.5-e)*Math.PI))*t,ez.g=255*(t=Math.sin(e+eU))*t,ez.b=255*(t=Math.sin(e+eH))*t,ez+""}function e$(e){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(e=Math.max(0,Math.min(1,e)))*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"}function eW(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}let eV=eW(c("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var eq=eW(c("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),eY=eW(c("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),eZ=eW(c("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),eX=n(14837),eK=n(83369),eQ=n(22911),eJ=n(128),e0=n(79135),e1=n(99186),e2=n(38414);function e3(e,t,n,o,s,l){let{guide:c={}}=n,u=function(e,t,n){let{type:r,domain:i,range:a,quantitative:o,ordinal:s}=n;if(void 0!==r)return r;return tc(t,e0.L_)?"identity":"string"==typeof a?"linear":(i||a||[]).length>2?ti(e,s):void 0!==i?ts([i])?ti(e,s):tl(t)?"time":ta(e,a,o):ts(t)?ti(e,s):tl(t)?"time":ta(e,a,o)}(e,t,n);if("string"!=typeof u)return n;let d=function(e,t,n,r){let{domain:i}=r;if(void 0!==i)return i;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":case"quantize":case"threshold":return to(function(e,t){let{zero:n=!1}=t,r=1/0,i=-1/0;for(let t of e)for(let e of t)(0,e0.sw)(e)&&(r=Math.min(r,+e),i=Math.max(i,+e));return r===1/0?[]:n?[Math.min(0,r),i]:[r,i]}(n,r),r);case"band":case"ordinal":case"point":return Array.from(new Set(n.flat()));case"quantile":return n.flat().sort();case"sequential":return to(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)(0,e0.sw)(e)&&(t=Math.min(t,+e),n=Math.max(n,+e));return t===1/0?[]:[t<0?-n:t,n]}(n),r);default:return[]}}(u,0,t,n),h=function(e,t,n){let{ratio:r}=n;return null==r?t:tt({type:e})?function(e,t,n){let r=e.map(Number),a=new i.W({domain:r,range:[r[0],r[0]+(r[r.length-1]-r[0])*t]});return"time"===n?e.map(e=>new Date(a.map(e))):e.map(e=>a.map(e))}(t,r,e):tn({type:e})?function(e,t){let n=Math.round(e.length*t);return e.slice(0,n)}(t,r):t}(u,d,n);return Object.assign(Object.assign(Object.assign({},n),function(e,t,n,i,o){switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":var s=i;let{interpolate:l=a.Hx,nice:c=!1,tickCount:u=5}=s;return Object.assign(Object.assign({},s),{interpolate:l,nice:c,tickCount:u});case"band":case"point":return function(e,t,n,r){var i,a,o;if(void 0!==r.padding||void 0!==r.paddingInner||void 0!==r.paddingOuter)return Object.assign(Object.assign({},r),{unknown:NaN});let s=(i=e,a=t,o=n,"enterDelay"===a||"enterDuration"===a||"size"===a?0:"band"===i?.1*!(0,e1.Zf)(o):.5*("point"===i)),{paddingInner:l=s,paddingOuter:c=s}=r;return Object.assign(Object.assign({},r),{paddingInner:l,paddingOuter:c,padding:s,unknown:NaN})}(e,t,o,i);case"sequential":var d=i;let{palette:h="ylGnBu",offset:p}=d,f=(0,eQ.A)(h),g=r[`interpolate${f}`];if(!g)throw Error(`Unknown palette: ${f}`);return{interpolator:p?e=>g(p(e)):g};default:return i}}(u,e,0,n,o)),{domain:h,range:function(e,t,n,r,i,a,o){let{range:s}=r;if("string"==typeof s)return s.split("-");if(void 0!==s)return s;let{rangeMin:l,rangeMax:c}=r;switch(e){case"linear":case"time":case"log":case"pow":case"sqrt":{var u,d;let[e,s]=(u=t,d=tr(n,r,i,a,o),"enterDelay"===u?[0,1e3]:"enterDuration"==u?[300,1e3]:u.startsWith("y")||u.startsWith("position")?[1,0]:"color"===u?[(0,eJ.Ku)(d),(0,eJ.g1)(d)]:"opacity"===u?[0,1]:"size"===u?[1,10]:[0,1]);return[null!=l?l:e,null!=c?c:s]}case"band":case"point":{let e=5*("size"===t),n="size"===t?10:1;return[null!=l?l:e,null!=c?c:n]}case"ordinal":return tr(n,r,i,a,o);case"sequential":return;case"constant":return[n[0][0]];default:return[]}}(u,e,t,n,h,s,l),expectedDomain:d,guide:c,name:e,type:u})}function e5(e,t){let n={};for(let r of e){let{values:e,name:i}=r,a=t[i];for(let t of e){let{name:e,value:r}=t;n[e]=r.map(e=>a.map(e))}}return n}function e4(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels);(0,o.i8)(n,e=>e.map(e=>t.get(e.scale.uid)),e=>e.name).filter(([,e])=>e.some(e=>"function"==typeof e.getOptions().groupTransform)&&e.every(e=>e.getTicks)).map(e=>e[1]).forEach(e=>{(0,e.map(e=>e.getOptions().groupTransform)[0])(e)})}function e6(e,t){var n;let{components:r=[]}=t,i=["scale","encode","axis","legend","data","transform"],a=Array.from(new Set(e.flatMap(e=>e.channels.map(e=>e.scale)))),o=new Map(a.map(e=>[e.name,e]));for(let e of r)for(let t of function(e){let{channels:t=[],type:n,scale:r={}}=e,i=["shape","color","opacity","size"];return 0!==t.length?t:"axisX"===n?["x"]:"axisY"===n?["y"]:"legends"===n?Object.keys(r).filter(e=>i.includes(e)):[]}(e)){let r=o.get(t),s=(null==(n=e.scale)?void 0:n[t])||{},{independent:l=!1}=s;if(r&&!l){let{guide:t}=r,n="boolean"==typeof t?{}:t;r.guide=(0,eX.A)({},n,e),Object.assign(r,s)}else{let n=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:t,guide:(0,eK.A)(e,i)});a.push(n)}}return a}function e8(e,t){let n=Object.keys(e);for(let r of Object.values(t)){let{name:t}=r.getOptions();if(t in e){let i=n.filter(e=>e.startsWith(t)).map(e=>+(e.replace(t,"")||0)),a=(0,s.A)(i)+1,o=`${t}${a}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function e7(e,t){let n,r,[i]=(0,e2.t)("scale",t),{relations:a}=e,[o]=a&&Array.isArray(a)?[e=>{var t;n=e.map.bind(e),r=null==(t=e.invert)?void 0:t.bind(e);let i=a.filter(([e])=>"function"==typeof e),o=a.filter(([e])=>"function"!=typeof e),s=new Map(o);if(e.map=e=>{for(let[t,n]of i)if(t(e))return n;return s.has(e)?s.get(e):n(e)},!r)return e;let l=new Map(o.map(([e,t])=>[t,e])),c=new Map(i.map(([e,t])=>[t,e]));return e.invert=e=>c.has(e)?e:l.has(e)?l.get(e):r(e),e},e=>(null!==n&&(e.map=n),null!==r&&(e.invert=r),e)]:[e0.D_,e0.D_];return o(i(e))}function e9(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));te(t,"x"),te(t,"y")}function te(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),i=n.every(tt)?(0,l.A)(r):n.every(tn)?Array.from(new Set(r)):null;if(null!==i)for(let e of n)e.domain=i}function tt(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function tn(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function tr(e,t,n,i,a){let[o]=(0,e2.t)("palette",a),{category10:s,category20:l}=i,c=(0,eJ.Am)(n).length<=s.length?s:l,{palette:u=c,offset:d}=t;if(Array.isArray(u))return u;try{return o({type:u})}catch(t){let e=function(e,t,n=e=>e){if(!e)return null;let i=(0,eQ.A)(e),a=r[`scheme${i}`],o=r[`interpolate${i}`];if(!a&&!o)return null;if(a){if(!a.some(Array.isArray))return a;let e=a[t.length];if(e)return e}return t.map((e,r)=>o(n(r/t.length)))}(u,n,d);if(e)return e;throw Error(`Unknown Component: ${u} `)}}function ti(e,t){var n;return t||((n=e).startsWith("x")||n.startsWith("y")||n.startsWith("position")||n.startsWith("size")?"point":"ordinal")}function ta(e,t,n){return n||("color"!==e||t?"linear":"sequential")}function to(e,t){if(0===e.length)return e;let{domainMin:n,domainMax:r}=t,[i,a]=e;return[null!=n?n:i,null!=r?r:a]}function ts(e){return tc(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function tl(e){return tc(e,e=>e instanceof Date)}function tc(e,t){for(let n of e)if(n.some(t))return!0;return!1}function tu(e){return e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||"enterDelay"===e||"enterDuration"===e||"updateDelay"===e||"updateDuration"===e||"exitDelay"===e||"exitDuration"===e}function td(e){if(!e||!e.type)return!1;if("function"==typeof e.type)return!0;let{type:t,domain:n,range:r,interpolator:i}=e,a=n&&n.length>0,o=r&&r.length>0;return!!(["linear","sqrt","log","time","pow","threshold","quantize","quantile","ordinal","band","point"].includes(t)&&a&&o||["sequential"].includes(t)&&a&&(o||i)||["constant","identity"].includes(t)&&o)}},65232:(e,t,n)=>{"use strict";n.d(t,{WU:()=>l,gd:()=>a,jD:()=>s});var r=n(75185);let i={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function a(e,t){let n;return(0,r.o)(e,e=>{var r;return"g"!==e.tagName&&(null==(r=e.style)?void 0:r[t])!==void 0&&(n=e.style[t],!0)}),null!=n?n:i[t]}function o(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>o(e,t,n,r))}function s(e){o(e,"visibility","hidden",!0)}function l(e){o(e,"visibility","visible",!0)}},65253:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:function(e,t){return{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",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z",fill:t}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z",fill:e}}]}},name:"clock-circle",theme:"twotone"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},65933:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(27061),i=n(30857),a=n(28383),o=n(78096),s=n(38289),l=n(39996),c=n(42115),u=n(94251),d=n(69047),h=function(){function e(t){(0,i.A)(this,e),this.dragndropPluginOptions=t}return(0,a.A)(e,[{key:"apply",value:function(t){var n=this,r=t.renderingService,i=t.renderingContext.root.ownerDocument,a=i.defaultView,o=function(e){var t=e.target,r=t===i,o=r&&n.dragndropPluginOptions.isDocumentDraggable?i:t.closest&&t.closest("[draggable=true]");if(o){var s,l=!1,h=e.timeStamp,p=[e.clientX,e.clientY],f=null,g=[e.clientX,e.clientY],m=(s=(0,u.A)((0,c.A)().mark(function e(a){var s,u,m,b,y,v;return(0,c.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l){e.next=2;break}if(s=a.timeStamp-h,u=(0,d.F)([a.clientX,a.clientY],p),!(s<=n.dragndropPluginOptions.dragstartTimeThreshold||u<=n.dragndropPluginOptions.dragstartDistanceThreshold)){e.next=1;break}return e.abrupt("return");case 1:a.type="dragstart",o.dispatchEvent(a),l=!0;case 2:if(a.type="drag",a.dx=a.clientX-g[0],a.dy=a.clientY-g[1],o.dispatchEvent(a),g=[a.clientX,a.clientY],r){e.next=4;break}return m="pointer"===n.dragndropPluginOptions.overlap?[a.canvasX,a.canvasY]:t.getBounds().center,e.next=3,i.elementsFromPoint(m[0],m[1]);case 3:v=(null==(y=(b=e.sent)[b.indexOf(t)+1])?void 0:y.closest("[droppable=true]"))||(n.dragndropPluginOptions.isDocumentDroppable?i:null),f!==v&&(f&&(a.type="dragleave",a.target=f,f.dispatchEvent(a)),v&&(a.type="dragenter",a.target=v,v.dispatchEvent(a)),(f=v)&&(a.type="dragover",a.target=f,f.dispatchEvent(a)));case 4:case"end":return e.stop()}},e)})),function(e){return s.apply(this,arguments)});a.addEventListener("pointermove",m);var b=function(e){if(l){e.detail={preventClick:!0};var t=e.clone();f&&(t.type="drop",t.target=f,f.dispatchEvent(t)),t.type="dragend",o.dispatchEvent(t),l=!1}a.removeEventListener("pointermove",m)};t.addEventListener("pointerup",b,{once:!0}),t.addEventListener("pointerupoutside",b,{once:!0})}};r.hooks.init.tap(e.tag,function(){a.addEventListener("pointerdown",o)}),r.hooks.destroy.tap(e.tag,function(){a.removeEventListener("pointerdown",o)})}}])}();h.tag="Dragndrop";var p=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)(this,t),(e=(0,o.A)(this,t)).name="dragndrop",e.options=n,e}return(0,s.A)(t,e),(0,a.A)(t,[{key:"init",value:function(){this.addRenderingPlugin(new h((0,r.A)({overlap:"pointer",isDocumentDraggable:!1,isDocumentDroppable:!1,dragstartDistanceThreshold:0,dragstartTimeThreshold:0},this.options)))}},{key:"destroy",value:function(){this.removeAllRenderingPlugins()}},{key:"setOptions",value:function(e){Object.assign(this.plugins[0].dragndropPluginOptions,e)}}])}(l.V1)},66032: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=[]},66393:(e,t,n)=>{"use strict";n.d(t,{v:()=>tl});var r,i,a=n(86372),o=n(86815),s=n(65933),l=n(8095),c=n(63880),u=n(78743),d=n(2423),h=n(14837),p=n(63975),f=n(77229);let g={abs:Math.abs,ceil:Math.ceil,floor:Math.floor,max:Math.max,min:Math.min,round:Math.round,sqrt:Math.sqrt,pow:Math.pow};class m extends Error{constructor(e,t,n){super(e),this.position=t,this.token=n,this.name="ExpressionError"}}!function(e){e[e.STRING=0]="STRING",e[e.NUMBER=1]="NUMBER",e[e.BOOLEAN=2]="BOOLEAN",e[e.NULL=3]="NULL",e[e.IDENTIFIER=4]="IDENTIFIER",e[e.OPERATOR=5]="OPERATOR",e[e.FUNCTION=6]="FUNCTION",e[e.DOT=7]="DOT",e[e.BRACKET_LEFT=8]="BRACKET_LEFT",e[e.BRACKET_RIGHT=9]="BRACKET_RIGHT",e[e.PAREN_LEFT=10]="PAREN_LEFT",e[e.PAREN_RIGHT=11]="PAREN_RIGHT",e[e.COMMA=12]="COMMA",e[e.QUESTION=13]="QUESTION",e[e.COLON=14]="COLON",e[e.DOLLAR=15]="DOLLAR"}(r||(r={}));let b=new Set([32,9,10,13]),y=new Set([43,45,42,47,37,33,38,124,61,60,62]),v=new Map([["true",r.BOOLEAN],["false",r.BOOLEAN],["null",r.NULL]]),E=new Map([["===",!0],["!==",!0],["<=",!0],[">=",!0],["&&",!0],["||",!0],["+",!0],["-",!0],["*",!0],["/",!0],["%",!0],["!",!0],["<",!0],[">",!0]]),_=new Map([[46,r.DOT],[91,r.BRACKET_LEFT],[93,r.BRACKET_RIGHT],[40,r.PAREN_LEFT],[41,r.PAREN_RIGHT],[44,r.COMMA],[63,r.QUESTION],[58,r.COLON],[36,r.DOLLAR]]),x=new Map;for(let[e,t]of _.entries())x.set(e,{type:t,value:String.fromCharCode(e)});function A(e){return e>=48&&e<=57}function S(e){return e>=97&&e<=122||e>=65&&e<=90||95===e}!function(e){e[e.Program=0]="Program",e[e.Literal=1]="Literal",e[e.Identifier=2]="Identifier",e[e.MemberExpression=3]="MemberExpression",e[e.CallExpression=4]="CallExpression",e[e.BinaryExpression=5]="BinaryExpression",e[e.UnaryExpression=6]="UnaryExpression",e[e.ConditionalExpression=7]="ConditionalExpression"}(i||(i={}));let w=new Map([["||",2],["&&",3],["===",4],["!==",4],[">",5],[">=",5],["<",5],["<=",5],["+",6],["-",6],["*",7],["/",7],["%",7],["!",8]]),O={type:i.Literal,value:null},C={type:i.Literal,value:!0},k={type:i.Literal,value:!1};var M=n(7006),L=n(57608),I=function(e){return e};let N=function(e,t){void 0===t&&(t=I);var n={};return(0,L.A)(e)&&!(0,M.A)(e)&&Object.keys(e).forEach(function(r){n[r]=t(e[r],r)}),n};var R=n(59728);let P=["style","encode","labels","children"],D=(0,R.g)(e=>{let t=function(e){let t=(e=>{let t=0,n=e.length,a=()=>t>=n?null:e[t],o=()=>e[t++],s=e=>{let t=a();return null!==t&&t.type===e},l=e=>e.type===r.OPERATOR?w.get(e.value)||-1:e.type===r.DOT||e.type===r.BRACKET_LEFT?9:e.type===r.QUESTION?1:-1,c=e=>{let n,l;if(o().type===r.DOT){if(!s(r.IDENTIFIER)){let e=a();throw new m("Expected property name",t,e?e.value:"")}let e=o();n={type:i.Identifier,name:e.value},l=!1}else{if(n=d(0),!s(r.BRACKET_RIGHT)){let e=a();throw new m("Expected closing bracket",t,e?e.value:"")}o(),l=!0}return{type:i.MemberExpression,object:e,property:n,computed:l}},u=()=>{let e=a();if(!e)throw new m("Unexpected end of input",t,"");if(e.type===r.OPERATOR&&("!"===e.value||"-"===e.value)){o();let t=u();return{type:i.UnaryExpression,operator:e.value,argument:t,prefix:!0}}switch(e.type){case r.NUMBER:return o(),{type:i.Literal,value:Number(e.value)};case r.STRING:return o(),{type:i.Literal,value:e.value};case r.BOOLEAN:return o(),"true"===e.value?C:k;case r.NULL:return o(),O;case r.IDENTIFIER:return o(),{type:i.Identifier,name:e.value};case r.FUNCTION:return(()=>{let e=o(),n=[];if(!s(r.PAREN_LEFT)){let e=a();throw new m("Expected opening parenthesis after function name",t,e?e.value:"")}for(o();;){if(s(r.PAREN_RIGHT)){o();break}if(!a()){let e=a();throw new m("Expected closing parenthesis",t,e?e.value:"")}if(n.length>0){if(!s(r.COMMA)){let e=a();throw new m("Expected comma between function arguments",t,e?e.value:"")}o()}let e=d(0);n.push(e)}return{type:i.CallExpression,callee:{type:i.Identifier,name:e.value},arguments:n}})();case r.PAREN_LEFT:{o();let e=d(0);if(!s(r.PAREN_RIGHT)){let e=a();throw new m("Expected closing parenthesis",t,e?e.value:"")}return o(),e}default:throw new m(`Unexpected token: ${e.type}`,t,e.value)}},d=(h=0)=>{let p=u();for(;t")}o();let n=d(0);p={type:i.ConditionalExpression,test:p,consequent:e,alternate:n}}}return p},h=d();return{type:i.Program,body:h}})((e=>{let t=e.length,n=Array(Math.ceil(t/3)),i=0,a=0;for(;a({context:e,functions:t}))({},g);return (e={})=>((e,t,n)=>{let r=t;n&&(r={...t,context:{...t.context,...n}});let a=e=>{switch(e.type){case i.Literal:return e.value;case i.Identifier:var t=e;if(!(t.name in r.context))throw new m(`Undefined variable: ${t.name}`);return r.context[t.name];case i.MemberExpression:var n=e;let o=a(n.object);if(null==o)throw new m("Cannot access property of null or undefined");return o[n.computed?a(n.property):n.property.name];case i.CallExpression:var s=e;let l=r.functions[s.callee.name];if(!l)throw new m(`Undefined function: ${s.callee.name}`);return l(...s.arguments.map(e=>a(e)));case i.BinaryExpression:var c=e;if("&&"===c.operator){let e=a(c.left);return e?a(c.right):e}if("||"===c.operator)return a(c.left)||a(c.right);let u=a(c.left),d=a(c.right);switch(c.operator){case"+":return u+d;case"-":return u-d;case"*":return u*d;case"/":return u/d;case"%":return u%d;case"===":return u===d;case"!==":return u!==d;case">":return u>d;case">=":return u>=d;case"<":return u{let n=Array.from({length:e.length},(e,t)=>String.fromCharCode(97+t)),r=Object.fromEntries(e.map((e,t)=>[n[t],e]));return t(Object.assign(Object.assign({},r),{global:Object.assign({},r)}))}},e=>e,128);var j=n(50636),B=n(22911),F=n(59829),z=n(128),U=n(79135),H=n(9681),G=n(15581),$=n(81036),W=n(39480),V=n(97819),q=n(40638),Y=n(18961),Z=n(99186),X=n(38414),K=n(65192);let Q={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},J={threshold:"threshold",quantize:"quantize",quantile:"quantile"},ee={ordinal:"ordinal",band:"band",point:"point"},et={constant:"constant"};var en=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};function er(e,t,n,r,i){let[a]=(0,X.t)("component",r),{scaleInstances:o,scale:s,bbox:l}=e;return a(en(e,["scaleInstances","scale","bbox"]))({coordinate:t,library:r,markState:i,scales:o,theme:n,value:{bbox:l,library:r},scale:s})}function ei(e,t){let n=["left","right","bottom","top"];return(0,d.TN)(e,({type:e,position:t,group:r})=>n.includes(t)?void 0===r?e.startsWith("legend")?`legend-${t}`:Symbol("independent"):"independent"===r?Symbol("independent"):r:Symbol("independent")).flatMap(([,e])=>{if(1===e.length)return e[0];if(void 0!==t){let n=e.filter(e=>void 0!==e.length).map(e=>e.length),r=(0,G.A)(n);if(r>t)return e.forEach(e=>e.group=Symbol("independent")),e;let i=(t-r)/(e.length-n.length);e.forEach(e=>{void 0===e.length&&(e.length=i)})}let n=(0,$.A)(e,e=>e.size),r=(0,$.A)(e,e=>e.order),i=(0,$.A)(e,e=>e.crossPadding);return{type:"group",size:n,order:r,position:e[0].position,children:e,crossPadding:i}})}function ea(e){let t=(0,Z.T)(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=(0,W.X)(e);return[n,r]}let n=(0,Z.T)(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=(0,V.u)(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function eo(e,t,n,r,i,a){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?function(e,t,n,r,i,a){var o,s;e.transform=e.transform||[{type:"hide"}];let l="left"===r||"right"===r,c=eu(e,r,i),{tickLength:u=0,labelSpacing:d=0,titleSpacing:h=0,labelAutoRotate:p}=c,f=en(c,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),g=es(e,a),m=el(f,g),b=u;"function"==typeof e.tickLength&&(b=Math.max(...((null==(o=g.getTicks)?void 0:o.call(g))||g.getOptions().domain).map((t,n,r)=>e.tickLength(t,n,r)),0));let y=b+d;if(m&&m.length){let r=(0,$.A)(m,e=>e.width),i=(0,$.A)(m,e=>e.height);if(l)e.size=r+y;else{let{tickFilter:a,labelTransform:o}=e;(function(e,t,n,r,i){if((0,G.A)(t,e=>e.width)>n)return!0;let a=e.clone();a.update({range:[0,n]});let o=ed(e,i),s=o.map(e=>a.map(e)+(a.getBandWidth?a.getBandWidth(e)/2:0)),l=o.map((e,t)=>t),c=-r[0],u=n+r[1],d=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;eu)return!0;let i=s[e+1];if(i){let[n]=d(i,t[e+1]);if(r>n)return!0}}return!1})(g,m,t,n,a)&&!o&&!1!==p&&null!==p?(e.labelTransform="rotate(90)",e.size=r+y):(e.labelTransform=null!=(s=e.labelTransform)?s:"rotate(0)",e.size=i+y)}}else e.size=b;let v=ec(f);v&&(l?e.size+=h+v.width:e.size+=h+v.height)}:o.startsWith("group")?function(e,t,n,r,i,a){let{children:o}=e,s=(0,$.A)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>eo(e,t,n,r,i,a));let l=(0,$.A)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}:o.startsWith("legendContinuous")?function(e,t,n,r,i,a){let o=(()=>{let{legendContinuous:t}=i;return(0,h.A)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=en(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,{size:d}=(0,U.Uq)(c,"ribbon"),{size:p}=(0,U.Uq)(c,"handleIcon");e.size=Math.max(d,2.4*p);let f=el(c,es(e,a));if(f){let t=u?"width":"height",n=(0,$.A)(f,e=>e[t]);e.size+=n+s}let g=ec(c);g&&(u?e.size=Math.max(e.size,g.width):e.size+=l+g.height)}:"legendCategory"===o?function(e,t,n,r,i,a){let o=(()=>{let{legendCategory:t}=i,{title:n}=e,[r,a]=Array.isArray(n)?[n,void 0]:[void 0,n];return(0,h.A)({title:r},t,Object.assign(Object.assign({},e),{title:a}))})(),{focus:s,itemSpacing:l,focusMarkerSize:c,itemMarkerSize:u,titleSpacing:d,rowPadding:p,colPadding:f,maxCols:g=1/0,maxRows:m=1/0}=o,b=en(o,["focus","itemSpacing","focusMarkerSize","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:y,length:v}=e,E=e=>Math.min(e,m),_=e=>Math.min(e,g),x="left"===r||"right"===r,A=void 0===v?t+(x?0:n[0]+n[1]):v,S=es(e,a),{render:w}=e;if(w&&"undefined"!=typeof document){let t=S.getOptions().domain,{labelFormatter:n}=b,r=w(t.map((e,t)=>({id:e,index:t,label:n?"string"==typeof n?(0,F.GP)(n)(e):n(e):`${e}`,value:e,color:S.map(e)})),b),i=document.createElement("div"),{width:a,height:o}=e,s={position:"absolute",visibility:"hidden",top:"-9999px"};a?s.width=`${a}px`:x||(s.width=`${A}px`),o?s.height=`${o}px`:x&&(s.height=`${A}px`),Object.assign(i.style,s),"string"==typeof r?i.innerHTML=r:r instanceof HTMLElement&&i.appendChild(r),document.body.appendChild(i);let l=i.getBoundingClientRect();document.body.removeChild(i),e.size=x?l.width:l.height;return}let O=ec(b),C=el(b,S,"itemLabel"),k=void 0!==b.itemValueText?el(b,S,"itemValue"):null,M=Math.max(C[0].height,u,...(null==k?void 0:k[0])?[k[0].height]:[])+p,L=(e,t=0)=>{let n=u+e+l[0]+t;return(null==k?void 0:k[0])&&(n+=k[0].width+l[1]),s&&(n+=c+l[2]),n};if(x)(()=>{let t=-1/0,n=0,r=1,i=0,a=-1/0,o=-1/0,s=O?O.height:0,l=A-s;for(let{width:e}of C)t=Math.max(t,L(e,f)),n+M>l?(r++,a=Math.max(a,i),o=Math.max(o,n),i=1,n=M):(n+=M,i++);r<=1&&(a=i,o=n),e.size=t*_(r),e.length=o+s,(0,h.A)(e,{cols:_(r),gridRow:a})})();else if("number"==typeof y){let t=Math.ceil(C.length/y),n=(0,$.A)(C,e=>L(e.width))*y;e.size=M*E(t)-p,e.length=Math.min(n,A)}else{let t=1,n=0,r=-1/0;for(let{width:e}of C){let i=L(e,f);n+i>A?(r=Math.max(r,n),n=i,t++):n+=i}1===t&&(r=n),e.size=M*E(t)-p,e.length=r}O&&(x?e.size=Math.max(e.size,O.width):e.size+=d+O.height)}:o.startsWith("slider")?function(e,t,n,r,i,a){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=i;return(0,h.A)({},t,e)})();e.size=Math.max(o,2.4*s)}:"title"===o?function(e,t,n,r,i,a){let o=(0,h.A)({},i.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=en(o,["title","subtitle","spacing"]);if(s&&(e.size=eh(s,(0,U.Uq)(u,"title")).height),l){let t=eh(l,(0,U.Uq)(u,"subtitle"));e.size+=c+t.height}}:o.startsWith("scrollbar")?function(e,t,n,r,i,a){let{trackSize:o=6}=(0,h.A)({},i.scrollbar,e);e.size=o}:()=>{})(e,t,n,r,i,a)}function es(e,t){let[n]=(0,X.t)("scale",t),{scales:r,tickCount:i,tickMethod:a}=e,o=r.find(e=>"constant"!==e.type&&"identity"!==e.type);return void 0!==i&&(o.tickCount=i),void 0!==a&&(o.tickMethod=a),n(o)}function el(e,t,n="label"){let{labelFormatter:r,tickFilter:i,label:a=!0}=e,o=en(e,["labelFormatter","tickFilter","label"]);if(!a)return null;let s=function(e,t,n){let r=ed(e,n).map(e=>"number"==typeof e?(0,q.A)(e):e),i=t?"string"==typeof t?(0,F.GP)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return r.map(i)}(t,r,i),l=(0,U.Uq)(o,n),c=s.map((e,t)=>Object.fromEntries(Object.entries(l).map(([n,r])=>[n,"function"==typeof r?r(e,t):r]))),u=s.map((e,t)=>eh(e,c[t]));return c.some(e=>e.transform)||(e.indexBBox=new Map(s.map((e,t)=>t).map(e=>[e,[s[e],u[e]]]))),u}function ec(e){let{title:t}=e,n=en(e,["title"]);if(!1===t||null==t)return null;let r=(0,U.Uq)(n,"title"),{direction:i,transform:a}=r,o=Array.isArray(t)?t.join(","):t;return"string"!=typeof o?null:eh(o,Object.assign(Object.assign({},r),{transform:a||("vertical"===i?"rotate(-90)":"")}))}function eu(e,t,n){let{title:r}=e,[i,a]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${(0,U.ND)(t)}`]:s}=n;return(0,h.A)({title:i},o,s,Object.assign(Object.assign({},e),{title:a}))}function ed(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function eh(e,t){var n;let r=(n=e)instanceof a.q9?n:new a.EY({style:{text:`${n}`}}),{filter:i}=t,o=en(t,["filter"]);return r.attr(Object.assign(Object.assign({},o),{visibility:"none"})),r.getBBox()}var ep=n(69644),ef=n(10574),eg=n(1736),em=n(70701),eb=n(81472),ey=n(10992),ev=n(14353),eE=n(14742);function e_(e,t,n,r,i,a,o){let s=(0,d.Ay)(e,e=>e.position),{padding:l=a.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:h=l,paddingTop:p=l}=i,f={paddingBottom:h,paddingLeft:c,paddingTop:p,paddingRight:u};for(let e of r){let r=`padding${(0,U.ND)((0,eE.x)(e))}`,i=s.get(e)||[],l=f[r],c=e=>{void 0===e.size&&(e.size=e.defaultSize)},u=e=>{"group"===e.type?(e.children.forEach(c),e.size=(0,$.A)(e.children,e=>e.size)):e.size=e.defaultSize},d=r=>{r.size||("auto"!==l?u(r):(eo(r,t,n,e,a,o),c(r)))},h=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},p="bottom"===e||"top"===e,g=(0,ef.A)(i,e=>e.order),m=i.filter(e=>e.type.startsWith("axis")&&e.order==g);if(m.length&&(m[0].crossPadding=0),"number"==typeof l)i.forEach(c),i.forEach(h);else if(0===i.length)f[r]=0;else{let e=ei(i,p?t+n[0]+n[1]:t);e.forEach(d);let a=e.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=a}}return f}function ex({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:i,paddingBottom:a,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:d,insetBottom:h,insetLeft:p,insetRight:f,insetTop:g}){let m=n+o,b=i+s,y=r+c,v=a+l,E=e-o-c,_=[m+p,b+g,d-p-f,u-g-h,"center",null,null];return{top:[m,0,d,b,"vertical",!0,eg.A,o,E],right:[e-y,b,y,u,"horizontal",!1,eg.A],bottom:[m,t-v,d,v,"vertical",!1,eg.A,o,E],left:[0,b,m,u,"horizontal",!0,eg.A],"top-left":[m,0,d,b,"vertical",!0,eg.A],"top-right":[m,0,d,b,"vertical",!0,eg.A],"bottom-left":[m,t-v,d,v,"vertical",!1,eg.A],"bottom-right":[m,t-v,d,v,"vertical",!1,eg.A],center:_,inner:_,outer:_}}var eA=n(52777),eS=n(4292),ew=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},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 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};function eO(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function eC(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,r=function(e){let{coordinate:t={},interaction:n={},style:r={},marks:i}=e,a=eT(e,["coordinate","interaction","style","marks"]),o=i.map(e=>e.coordinate||{}),s=i.map(e=>e.interaction||{}),l=i.map(e=>e.viewStyle||{}),c=[...o,t].reduceRight((e,t)=>(0,h.A)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,h.A)(e,t),{}),d=[...l,r].reduce((e,t)=>(0,h.A)(e,t),{});return Object.assign(Object.assign({},a),{marks:i,coordinate:c,interaction:u,style:d})}((yield function(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,[r,i]=(0,X.t)("mark",n),a=new Set(Object.keys(n).map(e=>{var t;return null==(t=/component\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:d}=function(e){let{height:t,width:n,padding:r=0,paddingLeft:i=r,paddingRight:a=r,paddingTop:o=r,paddingBottom:s=r,margin:l=16,marginLeft:c=l,marginRight:u=l,marginTop:d=l,marginBottom:h=l,inset:p=0,insetLeft:f=p,insetRight:g=p,insetTop:m=p,insetBottom:b=p}=e,y=e=>"auto"===e?20:e;return{width:n-y(i)-y(a)-c-u-f-g,height:t-y(o)-y(s)-d-h-m-b}}(e),h={options:e,width:u,height:d};for(;c.length;){let[e]=c.splice(0,1),n=yield eF(e,t),{type:o=(0,U.z3)("G2Mark type is required."),key:u}=n;if(a.has(o))l.push(n);else{let{props:e={}}=i(o),{composite:t=!0}=e;if(t){let{data:e}=n,t=Object.assign(Object.assign({},n),{data:e?Array.isArray(e)?e:e.value:e}),i=yield r(t,h),a=Array.isArray(i)?i:[i];c.unshift(...a.map((e,t)=>Object.assign(Object.assign({},e),{key:`${u}-${t}`})))}else s.push(n)}}return Object.assign(Object.assign({},e),{marks:s,components:l})})}(e,t)));e.interaction=r.interaction,e.coordinate=r.coordinate,e.marks=[...r.marks,...r.components];let i=(0,Z.dM)(r,n);return eL((yield ek(i,t)),i,n)})}function ek(e,t){return ew(this,void 0,void 0,function*(){let{library:n}=t,[r]=(0,X.t)("theme",n),[,i]=(0,X.t)("mark",n),{theme:a,marks:o,coordinates:s=[]}=e,l=r(ej(a)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=i(n),a=yield(0,eA.W)(e,r,t);if(a){let[e,t]=a;c.set(e,t)}}for(let e of(0,d.Ay)(Array.from(c.values()).flatMap(e=>e.channels),({scaleKey:e})=>e).values()){let t=e.reduce((e,{scale:t})=>(0,h.A)(e,t),{}),{scaleKey:r}=e[0],{values:i}=e[0],a=Array.from(new Set(i.map(e=>e.field).filter(U.sw))),o=(0,h.A)({guide:{title:0===a.length?void 0:a},field:a[0]},t),{name:c}=e[0],u=e.flatMap(({values:e})=>e.map(e=>e.value)),d=Object.assign(Object.assign({},(0,K.Zp)(c,u,o,s,l,n)),{uid:Symbol("scale"),key:r});e.forEach(e=>e.scale=d)}return c})}function eM(e,t,n,r){let i=e.theme,a="string"==typeof t&&i[t]||{};return r((0,h.A)(a,Object.assign({type:t},n)))}function eL(e,t,n){var r;let[i]=(0,X.t)("mark",n),[a]=(0,X.t)("theme",n),[o]=(0,X.t)("labelTransform",n),{key:s,frame:l=!1,theme:u,clip:p,style:f={},labelTransform:g=[]}=t,m=a(ej(u)),b=Array.from(e.values()),y=(function(e,t,n){let{coordinates:r=[],title:i}=t,[,a]=(0,X.t)("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=(0,X.t)("component",n),{coordinates:i}=e;function a(e,t,n,a){let o=function(e,t,n=[]){return"x"===e?(0,Z.kH)(n)?`${t}Y`:`${t}X`:"y"===e?(0,Z.kH)(n)?`${t}X`:`${t}Y`:null}(t,e,i);if(!a||!o)return;let{props:s}=r(o),{defaultPosition:l,defaultSize:c,defaultOrder:u,defaultCrossPadding:[d]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:d},a),{scales:[n]})}return t.filter(e=>e.slider||e.scrollbar).flatMap(e=>{let{slider:t,scrollbar:n,name:r}=e;return[a("slider",r,e,t),a("scrollbar",r,e,n)]}).filter(e=>!!e)}(t,e,n);if(s.push(...l),i){let{props:e}=a("title"),{defaultPosition:t,defaultOrientation:n,defaultOrder:r,defaultSize:o,defaultCrossPadding:l}=e;s.push(Object.assign({type:"title",position:t,orientation:n,order:r,crossPadding:l[0],defaultSize:o},"string"==typeof i?{title:i}:i))}return(function(e,t){let n=e.filter(e=>(0,K.l_)(e));return[...function(e,t){let n=["shape","size","color","opacity"],r=e.filter(({type:e,name:t})=>"string"==typeof e&&n.includes(t)&&("constant"!==e||"size"!==t)),i=r.filter(({type:e})=>"constant"===e),a=r.filter(({type:e})=>"constant"!==e),o=new Map((0,d.TN)(a,e=>e.field?e.field:Symbol("independent")).map(([e,t])=>[e,[...t,...i]]).filter(([,e])=>e.some(e=>"constant"!==e.type)));if(0===o.size)return[];let s=e=>e.sort(([e],[t])=>e.localeCompare(t));return Array.from(o).map(([,e])=>{let t=(0,z.kg)(e).sort((e,t)=>t.length-e.length).map(e=>({combination:e,option:e.map(e=>[e.name,function(e){let{type:t}=e;return"string"!=typeof t?null:t in Q?"continuous":t in ee?"discrete":t in J?"distribution":t in et?"constant":null}(e)])}));for(let{option:e,combination:n}of t)if(!e.every(e=>"constant"===e[1])&&e.every(e=>"discrete"===e[1]||"constant"===e[1]))return["legendCategory",n];for(let[e,n]of Y.Fm)for(let{option:r,combination:i}of t)if(n.some(e=>(0,H.A)(s(e),s(r))))return[e,i];return null}).filter(U.sw)}(n,0),...n.map(e=>{let{name:n}=e;if((0,Z.$4)(t)||(0,Z.Zf)(t)||(0,Z.kH)(t)&&((0,Z.pz)(t)||(0,Z.AO)(t)))return null;if(n.startsWith("x"))return(0,Z.pz)(t)?["axisArc",[e]]:(0,Z.AO)(t)?["axisLinear",[e]]:[(0,Z.kH)(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return(0,Z.pz)(t)?["axisLinear",[e]]:(0,Z.AO)(t)?["axisArc",[e]]:[(0,Z.kH)(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if((0,Z.T_)(t))return["axisRadar",[e]];if(!(0,Z.pz)(t))return["axisY",[e]]}return null}).filter(U.sw)]})(o,r).forEach(([e,t])=>{let{props:n}=a(e),{defaultPosition:i,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:d,defaultLength:p,defaultPadding:f=[0,0],defaultCrossPadding:g=[0,0]}=n,{guide:m,field:b}=(0,h.A)({},...t);for(let n of Array.isArray(m)?m:[m]){let[a,h]=function(e,t,n,r,i,a,o){let[s]=ea(o),l=[r.position||t,null!=s?s:n];return"string"==typeof e&&e.startsWith("axis")?function(e,t,n,r,i){let{name:a}=n[0];if("axisRadar"===e){let e=r.filter(e=>e.name.startsWith("position")),t=function(e){let t=/position(\d*)/g.exec(e);return t?+t[1]:null}(a);if(null===t)return[null,null];let[n,o]=ea(i);return["center",(o-n)/((0,Z.T_)(i)?e.length:e.length-1)*t+n]}if("axisY"===e&&(0,Z.K7)(i))return(0,Z.kH)(i)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=ea(i);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:(0,Z.pz)(i)||(0,Z.AO)(i)?["center",null]:"axisX"===e&&(0,Z.OX)(i)||"axisX"===e&&(0,Z.Lj)(i)?["top",null]:t}(e,l,i,a,o):"string"==typeof e&&e.startsWith("legend")&&(0,Z.pz)(o)&&"center"===r.position?["center","vertical"]:l}(e,i,c,n,t,o,r);if(!a&&!h)continue;let m="left"===a||"right"===a,y=m?f[1]:f[0],v=m?g[1]:g[0],{size:E,order:_=d,length:x=p,padding:A=y,crossPadding:S=v}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:x,position:a,plane:l,orientation:h,padding:A,order:_,crossPadding:S,size:E,type:e,scales:t}))}}),s})(function(e,t,n){var r;for(let[t]of n.entries())if("cell"===t.type)return e.filter(e=>"shape"!==e.name);if(1!==t.length||e.some(e=>"shape"===e.name))return e;let{defaultShape:i}=t[0];if(!["point","line","rect","hollow"].includes(i))return e;let a=(null==(r=e.find(e=>"color"===e.name))?void 0:r.field)||null;return[...e,{field:a,name:"shape",type:"constant",domain:[],range:[{point:"point",line:"hyphen",rect:"square",hollow:"hollow"}[i]]}]}(Array.from((0,K.QY)(b,t)),b,e),t,n).map(e=>{let t=(0,h.A)(e,e.style);return delete t.style,t}),v=function(e,t,n,r){var i,a,o,s;let{width:l,height:u,depth:d,x:h=0,y:p=0,z:f=0,inset:g=null!=(i=n.inset)?i:0,insetLeft:m=g,insetTop:b=g,insetBottom:y=g,insetRight:v=g,margin:E=null!=(a=n.margin)?a:0,marginLeft:_=E,marginBottom:x=E,marginTop:A=E,marginRight:S=E,padding:w=n.padding,paddingBottom:O=w,paddingLeft:C=w,paddingRight:k=w,paddingTop:M=w}=function(e,t,n,r){let{coordinates:i}=t;if(!(0,Z.pz)(i)&&!(0,Z.AO)(i))return t;let a=e.filter(e=>"string"==typeof e.type&&e.type.startsWith("axis"));if(0===a.length)return t;let o=a.map(e=>{let t="axisArc"===e.type?"arc":"linear";return eu(e,t,n)}),s=(0,$.A)(o,e=>{var t;return null!=(t=e.labelSpacing)?t:0}),l=a.flatMap((e,t)=>el(o[t],es(e,r))).filter(U.sw),c=(0,$.A)(l,e=>e.height)+s,u=a.flatMap((e,t)=>ec(o[t])).filter(e=>null!==e),d=0===u.length?0:(0,$.A)(u,e=>e.height),{inset:h=c,insetLeft:p=h,insetBottom:f=h,insetTop:g=h+d,insetRight:m=h}=t;return Object.assign(Object.assign({},t),{insetLeft:p,insetBottom:f,insetTop:g,insetRight:m})}(e,t,n,r),L=16===_&&"auto"===C,I=16===S&&"auto"===k,N=(0,c.A)(t,"coordinates",[]).some(e=>"transpose"===e.type),R=e.find(({type:e})=>"axisX"===e),{size:P,labelTransform:D}=R||{},j=1/4,B=(e,n,r,i,a)=>{let{marks:o}=t;if(0===o.length||e-i-a-e*j>0)return[i,a];let s=e*(1-j);return["auto"===n?s*i/(i+a):i,"auto"===r?s*a/(i+a):a]},F=e=>"auto"===e?20:null!=e?e:20,z=F(M),H=F(O),{paddingLeft:G,paddingRight:W}=e_(e,u-z-H,[z+A,H+x],["left","right"],t,n,r),V=l-_-S,[q,Y]=B(V,C,k,G,W),X=V-q-Y,{paddingTop:K,paddingBottom:Q}=e_(e,X,[q+_,Y+S],["bottom","top"],t,n,r),J=u-x-A,[ee,et]=B(J,O,M,Q,K),en=J-ee-et;if(P&&!N&&!D){let{fontSize:e=12,fontFamily:t="sans-serif",scales:n=[]}=R,r=null!=(s=null==(o=null==n?void 0:n[0])?void 0:o.domain)?s:[];if(!r.length)return;let i=(n,r,i,a)=>{let o=(0,em.WI)(r,{fontSize:e,fontFamily:t}),s=o/2-i-a;s>0&&(X-=s,"left"===n?q+=o/2-i:Y+=o/2-i)};L&&i("left",function(e){if((0,eb.A)(e))return e[0]}(r),_,q),I&&i("right",(0,ey.A)(r),S,Y)}return{width:l,height:u,depth:d,insetLeft:m,insetTop:b,insetBottom:y,insetRight:v,innerWidth:X,innerHeight:en,paddingLeft:q,paddingRight:Y,paddingTop:et,paddingBottom:ee,marginLeft:_,marginBottom:x,marginTop:A,marginRight:S,x:h,y:p,z:f}}(y,t,m,n),E=(0,Z.Zb)(v,t,n),_=l?(0,h.A)({mainLineWidth:1,mainStroke:"#000"},f):f;!function(e,t,n){let r=(0,d.Ay)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:f,innerWidth:g,insetBottom:m,insetLeft:b,insetRight:y,insetTop:v,height:E,width:_,depth:x}=n,A={xy:ex({width:_,height:E,paddingLeft:i,paddingRight:a,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:f,innerWidth:g,insetBottom:m,insetLeft:b,insetRight:y,insetTop:v}),yz:ex({width:x,height:E,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:x,innerHeight:E,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:ex({width:_,height:x,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:_,innerHeight:x,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,i]=e.split("-"),a=A[r][i],[o,s]=(0,z.Qr)(n,e=>"string"==typeof e.type&&!!("center"===i||e.type.startsWith("axis")&&["inner","outer"].includes(i)));o.length&&function(e,t,n,r){let[i,a]=(0,z.Qr)(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){var i,a,o,s;"center"===r?(0,ev.T_)(t)?function(e,t,n,r){let[i,a,o,s]=n;for(let t of e)t.bbox={x:i,y:a,width:o,height:s},t.radar={index:e.indexOf(t),count:e.length}}(e,0,n,0):(0,ev.pz)(t)?function(e,t,n){let[r,i,a,o]=n;for(let t of e)t.bbox={x:r,y:i,width:a,height:o}}(e,0,n):(0,ev.K7)(t)&&(i=e,a=t,o=n,"horizontal"===(s=e[0].orientation)?function(e,t,n){let[r,i,a]=n,o=Array(e.length).fill(0),s=t.map(o).filter((e,t)=>t%2==1).map(e=>e+i);for(let t=0;tt%2==0).map(e=>e+r);for(let t=0;tnull==c?void 0:c(e.order,t.order));let _=e=>"title"===e||"group"===e||e.startsWith("legend"),x=(e,t,n)=>void 0===n?t:_(e)?n:t,A=(e,t,n)=>void 0===n?t:_(e)?n:t;for(let t=0,n=l?f+y:f;t"group"===e.type)){let{bbox:e,children:n}=t,r=e[v],i=r/n.length,a=n.reduce((e,t)=>{var n;return(null==(n=t.layout)?void 0:n.justifyContent)||e},"flex-start"),o=n.map((e,t)=>{let{length:r=i,padding:a=0}=e;return r+(t===n.length-1?0:a)}),s=r-(0,G.A)(o),l="flex-start"===a?0:"center"===a?s/2:s;for(let t=0,r=e[g]+l;t"axisX"===e),A=y.find(({type:e})=>"axisY"===e),S=y.find(({type:e})=>"axisZ"===e);x&&A&&S&&(x.plane="xy",A.plane="xy",S.plane="yz",S.origin=[x.bbox.x,x.bbox.y,0],S.eulerAngles=[0,-90,0],S.bbox.x=x.bbox.x,S.bbox.y=x.bbox.y,y.push(Object.assign(Object.assign({},x),{plane:"xz",showLabel:!1,showTitle:!1,origin:[x.bbox.x,x.bbox.y,0],eulerAngles:[-90,0,0]})),y.push(Object.assign(Object.assign({},A),{plane:"yz",showLabel:!1,showTitle:!1,origin:[A.bbox.x+A.bbox.width,A.bbox.y,0],eulerAngles:[0,-90,0]})),y.push(Object.assign(Object.assign({},S),{plane:"xz",actualPosition:"left",showLabel:!1,showTitle:!1,eulerAngles:[90,-90,0]})));let w=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,(0,K.qX)(e,n)])}));(0,K.q8)(e,w);let O={};for(let e of y){let{scales:t=[]}=e,i=[];for(let e of t){let{name:t,uid:a}=e,o=null!=(r=w.get(a))?r:(0,K.qX)(e,n);i.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:O.x})),(0,K.qB)(O,{[t]:o})}e.scaleInstances=i}let C=[],k=new Map;for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:a,key:o,data:l}=t;k.set(o,l);let{index:c,channels:u,tooltip:d}=n,h=Object.fromEntries(u.map(({name:e,scale:t})=>[e,t])),p=(0,z.s8)(h,({uid:e})=>w.get(e));(0,K.qB)(O,p);let f=(0,K.vM)(u,p),[g,m,b]=function([e,t,n]){if(n)return[e,t,n];let r=[],i=[];for(let n=0;n(0,U.sw)(e)&&(0,U.sw)(t))&&(r.push(a),i.push(o))}return[r,i]}(i(t)(c,p,f,E)),y=r||g.length,_=a?a(m,y,v):[],x=e=>{var t,n;return null==(n=null==(t=d.title)?void 0:t[e])?void 0:n.value},A=e=>d.items.map(t=>t[e]),S=g.map((e,t)=>{let n=Object.assign({points:m[t],transform:_[t],index:e,markKey:o,viewKey:s,data:l[e]},d&&{title:x(e),items:A(e)});for(let[r,i]of Object.entries(f))n[r]=i[e],b&&(n[`series${(0,B.A)(r)}`]=b[t].map(e=>i[e]));return b&&(n.seriesIndex=b[t]),b&&d&&(n.seriesItems=b[t].map(e=>A(e)),n.seriesTitle=b[t].map(e=>x(e))),n});n.data=S,n.index=g;let M=null==e?void 0:e(S,p,v);C.push(...M||[])}return[{layout:v,theme:m,coordinate:E,markState:e,key:s,clip:p,scale:O,style:_,components:y,data:k,options:t,labelTransform:(0,U.Zz)(g.map(o))},C]}function eI(e,t,n,r){return ew(this,void 0,void 0,function*(){let{library:i}=r,{components:a,theme:o,layout:s,markState:l,coordinate:u,key:f,style:g,clip:m,scale:b}=e,{x:y,y:v,width:E,height:_}=s,x=eT(s,["x","y","width","height"]),A=["view","plot","main","content"],S=A.map((e,t)=>t),w=A.map(e=>(0,U.MT)(Object.assign({},o.view,g),e)),O=["a","margin","padding","inset"].map(e=>(0,U.Uq)(x,e)),C=e=>e.style("x",e=>N[e].x).style("y",e=>N[e].y).style("width",e=>N[e].width).style("height",e=>N[e].height).each(function(e,t,n){var r=(0,p.c)(n),i=w[e];for(let[e,t]of Object.entries(i))r.style(e,t)}),k=0,M=0,L=E,I=_,N=S.map(e=>{let{left:t=0,top:n=0,bottom:r=0,right:i=0}=O[e];return k+=t,M+=n,L-=t+i,I-=n+r,{x:k,y:M,width:L,height:I}});t.selectAll(eG(ep.lh)).data(S.filter(e=>(0,U.sw)(w[e])),e=>A[e]).join(e=>e.append("rect").attr("className",ep.lh).style("zIndex",-2).call(C),e=>e.call(C),e=>e.remove());let R=function(e){let t=-1/0,n=1/0;for(let[r,i]of e){let{animate:e={}}=r,{data:a}=i,{enter:o={},update:s={},exit:l={}}=e,{type:c,duration:u=300,delay:d=0}=s,{type:h,duration:p=300,delay:f=0}=o,{type:g,duration:m=300,delay:b=0}=l;for(let e of a){let{updateType:r=c,updateDuration:i=u,updateDelay:a=d,enterType:o=h,enterDuration:s=p,enterDelay:l=f,exitDuration:y=m,exitDelay:v=b,exitType:E=g}=e;(void 0===r||r)&&(t=Math.max(t,i+a),n=Math.min(n,a)),(void 0===E||E)&&(t=Math.max(t,y+v),n=Math.min(n,v)),(void 0===o||o)&&(t=Math.max(t,s+l),n=Math.min(n,l))}}return t===-1/0?null:[n,t-n]}(l),P=!!R&&{duration:R[1]};for(let[,e]of(0,d.TN)(a,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let D=t.selectAll(eG(ep.b)).data(a,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",ep.b).append(e=>er((0,h.A)({animate:P,scale:b},e),u,o,i,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let{attributes:a}=er((0,h.A)({animate:P,scale:b},e),u,o,i,l),[s]=n.childNodes;return s.update(a,!1)})).transitions();n.push(...D.flat().filter(U.sw));let j=t.selectAll(eG(ep.Lr)).data([s],()=>f).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",ep.Lr).call(ez).call(eH,Array.from(l.keys())).call(e$,m),e=>e.call(eH,Array.from(l.keys())).call(ez).call(e$,m)).transitions();for(let[a,o]of(n.push(...j.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=a,d=t.select(`#${l}`),h=function(e,t,n,r){let{library:i}=r,[a]=(0,X.t)("shape",i),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,d=(0,z.s8)(s,e=>e.value),h=c.map(e=>e.points),{theme:p,coordinate:f}=n,{type:g,style:m={}}=e,b=Object.assign(Object.assign({},r),{document:(0,X.l)(r),coordinate:f,theme:p});return t=>{let{shape:n=l}=m,{shape:r=n,points:i,seriesIndex:s,index:c}=t,f=Object.assign(Object.assign({},eT(t,["shape","points","seriesIndex","index"])),{index:c}),y=s?s.map(e=>o[e]):o[c],v=s||c,E=(0,z.s8)(m,e=>eN(e,y,v,o,{channel:d}));return(u[r]?u[r](E,b):a(Object.assign(Object.assign({},E),{type:eU(e,r)}),b))(i,f,eR(p,g,r,l),h)}}(a,o,e,r),f=eP("enter",a,o,e,i),g=eP("update",a,o,e,i),m=eP("exit",a,o,e,i),b=function(e,t,n,r){let i=e.node().parentElement;return i&&"function"==typeof i.findAll?i.findAll(e=>void 0!==e.style.facet&&e.style.facet===n&&e!==t.node()).flatMap(e=>e.getElementsByClassName(r)):[]}(t,d,c,"element"),y=d.selectAll(eG(ep.su)).selectFacetAll(b).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(h).attr("className",ep.su).attr("markType",u).transition(function(e,t,n){return f(e,[n])}),e=>e.call(e=>{let t=e.parent(),n=(0,U.Kr)(e=>{let[t,n]=e.getBounds().min;return[t,n]});e.transition(function(e,r,i){!function(e,t,n){if(!e.__facet__)return;let r=e.parentNode.parentNode,i=t.parentNode,[a,o]=n(r),[s,l]=n(i),c=`translate(${a-s}, ${o-l})`;(0,U.FX)(e,c),t.append(e)}(i,t,n);let a=h(e,r),o=g(e,[i],[a]);return(null==o?void 0:o.length)||(i.nodeName===a.nodeName&&"g"!==a.nodeName?(0,U.ts)(i,a):(i.parentNode.replaceChild(a,i),a.className=ep.su,a.markType=u,a.__data__=i.__data__)),o}).each(function(e,t,n){n.__removed__&&(n.__removed__=!1)}).attr("markType",u).attr("className",ep.su)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return m(e,[n])}).remove(),e=>e.append(h).attr("className",ep.su).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,i=g(e,r,[n]);return new p.L(r,null,n.parentNode).transition(i).remove(),i}),e=>e.transition(function(e,t,n){let r=new p.L([],n.__toData__,n.parentNode).append(h).attr("className",ep.su).attr("markType",u).nodes();return g(e,[n],r)}).remove()).transitions();n.push(...y.flat())}(function(e,t,n,r,i){let[a]=(0,X.t)("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(eG(ep.kU)).node(),c=new Map,u=new Map,h=Array.from(o.entries()).flatMap(([n,a])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,i){let[a]=(0,X.t)("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),d=(0,z.s8)(s,e=>e.value),{theme:h,coordinate:p}=n,f=Object.assign(Object.assign({},i),{document:(0,X.l)(i),theme:h,coordinate:p});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:i=e=>`${e}`,transform:s,style:l,render:p,selector:g,element:m}=e,b=eT(e,["formatter","transform","style","render","selector","element"]),y=(0,z.s8)(Object.assign(Object.assign({},b),l),e=>eN(e,r,t,o,{channel:d,element:m})),{shape:v=c,text:E}=y,_=eT(y,["shape","text"]),x="string"==typeof i?(0,F.GP)(i):i,A=Object.assign(Object.assign({},_),{text:x(E,r,t,o),datum:r});return a(Object.assign({type:`label.${v}`,render:p},_),f)(n,A,eR(h,"label",v,"label"),u)}}(n,a,e,r,i),d=t.select(`#${s}`).selectAll(eG(ep.su)).nodes().filter(e=>{var t;return!e.__removed__&&!((null==(t=e.style)?void 0:t.visibility)==="hidden"||e.children&&e.children.some(e=>{var t;return(null==(t=e.style)?void 0:t.visibility)==="hidden"}))});return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=eT(e,["transform"]);return d.flatMap(n=>{let i=function(e,t,n){let{seriesIndex:r,seriesKey:i,points:a,key:o,index:s}=n.__data__,l=function(e){let t=e.cloneNode(!0),n=e.getAnimations();t.style.visibility="hidden",n.forEach(e=>{let n=e.effect.getKeyframes();t.attr(n[n.length-1])}),e.parentNode.appendChild(t);let r=t.getLocalBounds();t.destroy();let{min:i,max:a}=r;return[i,a]}(n);if(!r)return[Object.assign(Object.assign({},e),{key:`${o}-${t}`,bounds:l,index:s,points:a,dependentElement:n})];let c=function(e){let{selector:t}=e;if(!t)return null;if("function"==typeof t)return t;if("first"===t)return e=>[e[0]];if("last"===t)return e=>[e[e.length-1]];throw Error(`Unknown selector: ${t}`)}(e),u=r.map((r,o)=>Object.assign(Object.assign({},e),{key:`${i[o]}-${t}`,bounds:[a[o]],index:r,points:a,dependentElement:n}));return c?c(u):u}(r,t,n);return i.forEach(t=>{c.set(t,e=>l(Object.assign(Object.assign({},e),{element:n}))),u.set(t,e)}),i})})}),f=(0,p.c)(l).selectAll(eG(ep.Ar)).data(h,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",ep.Ar),e=>e.each(function(e,t,n){let r=c.get(e)(e);(0,U.ts)(n,r)}),e=>e.remove()).nodes(),g=(0,d.Ay)(f,e=>u.get(e.__data__)),{coordinate:m,layout:b}=e,y={canvas:i.canvas,coordinate:m,layout:b};for(let[e,t]of g){let{transform:n=[]}=e;(0,U.Zz)(n.map(a))(t,y)}s&&s(f,y)})(e,t,0,i,r),function(e,t,n,r){let i=e.scale,a=(0,c.A)(i,"y.options.breaks",[]),{document:o}=r.canvas;if([ep.Vx,ep.tF].forEach(e=>{o.getElementsByClassName(e).forEach(e=>{e.remove()})}),!a.length)return;let s=t.select(eG(ep.Lr)).node(),[l]=(0,X.t)("shape",n),u=new Map;a.forEach((n,i)=>{u.set(n,l({type:"break"},{view:e,selection:t,context:r}))}),(0,p.c)(s).selectAll(eG(ep.Vx)).data(a,e=>e.key).join(e=>e.append((e,t)=>u.get(e)(e,t)).attr("className",ep.Vx),e=>e.each(function(e,t,n){let r=u.get(e)(e,t);(0,U.ts)(n,r)}),e=>e.remove()).nodes()}(e,t,i,r)})}function eN(e,t,n,r,i){return"function"==typeof e?e(t,n,r,i):"string"!=typeof e?e:(0,U.L_)(t)&&void 0!==t[e]?t[e]:e}function eR(e,t,n,r){if("string"!=typeof t)return;let{color:i}=e,a=e[t]||{};return Object.assign({color:i},a[n]||a[r])}function eP(e,t,n,r,i){var a,o;let[,s]=(0,X.t)("shape",i),[l]=(0,X.t)("animation",i),{defaultShape:c,shape:u}=n,{theme:d,coordinate:p}=r,f=(0,B.A)(e),g=`default${f}Animation`,{[g]:m}=(null==(a=u[c])?void 0:a.props)||s(eU(t,c)).props,{[e]:b={}}=d,y=(null==(o=t.animate)?void 0:o[e])||{},v={coordinate:p};return(t,n,r)=>{let{[`${e}Type`]:i,[`${e}Delay`]:a,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:i||m},y);if(!c.type)return null;let u=l(c,v)(n,r,(0,h.A)(b,{delay:a,duration:o,easing:s}));return(Array.isArray(u)?u:[u]).filter(Boolean)}}function eD(e){return e.finished.then(()=>{e.cancel()}),e}function ej(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e;return Object.assign(Object.assign({},eT(e,["type"])),{type:t})}function eB(e){let{interaction:t={}}=e;return Object.entries((0,h.A)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function eF(e,t){return ew(this,void 0,void 0,function*(){let{data:n}=e,r=eT(e,["data"]);if(void 0==n)return e;let[,{data:i}]=yield(0,eS.py)([],{data:n},t);return Object.assign({data:i},r)})}function ez(e){e.style("transform",e=>`translate(${e.paddingLeft+e.marginLeft}, ${e.paddingTop+e.marginTop})`).style("width",e=>e.innerWidth).style("height",e=>e.innerHeight)}function eU(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function eH(e,t){let n=e=>void 0!==e.class?`${e.class}`:"";0!==e.nodes().length&&(e.selectAll(eG(ep.zz)).data(t,e=>e.key).join(e=>e.append("g").attr("className",ep.zz).attr("id",e=>e.key).style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!=(t=e.zIndex)?t:0}),e=>e.style("facet",n).style("fill","transparent").style("zIndex",e=>{var t;return null!=(t=e.zIndex)?t:0}),e=>e.remove()),e.select(eG(ep.kU)).node()||e.append("g").attr("className",ep.kU).style("zIndex",0))}function eG(...e){return e.map(e=>`.${e}`).join("")}function e$(e,t){e.node()&&e.style("clipPath",e=>{if(!t)return null;let{paddingTop:n,paddingLeft:r,marginLeft:i,marginTop:o,innerWidth:s,innerHeight:l}=e;return new a.rw({style:{x:r+i,y:n+o,width:s,height:l}})})}function eW(e){let{style:t,scale:n,type:r}=e,i={},a=(0,c.A)(t,"columnWidthRatio");return a&&"interval"===r&&(i.x=Object.assign(Object.assign({},null==n?void 0:n.x),{padding:1-a})),Object.assign(Object.assign({},e),{scale:Object.assign(Object.assign({},n),i)})}var eV=n(73220);function eq(e){let{axis:t}=e,n=(0,c.A)(t,"y.breaks");return n&&(0,eV.A)(e,"scale.y.breaks",n.map(e=>Object.assign(Object.assign({key:`break-${e.start}-${e.end}`},e),{gap:(e=>{if(!e||"string"!=typeof e)return e;let t=e.endsWith("%")?parseFloat(e.slice(0,-1))/100:parseFloat(e);if(isNaN(t)||t<0||t>1)throw Error(`Invalid gap value: ${e}. It should be between 0 and 1.`);return t})(e.gap)}))),e}function eY(e,t={},n=!1,r=!0){let{canvas:i,emitter:a}=t;i&&(function(e){let t=e.getRoot().querySelectorAll(`.${ep.ZH}`);null==t||t.forEach(e=>{let{nameInteraction:t=new Map}=e;(null==t?void 0:t.size)>0&&Array.from(null==t?void 0:t.values()).forEach(e=>{null==e||e.destroy()})})}(i),n?i.destroy():i.destroyChildren()),r&&a.off()}var eZ=n(23823),eX=n(26489),eK=n(42338);let eQ=e=>e?parseInt(e):0;function eJ(e,t){let n=[e];for(;n.length;){let e=n.shift();for(let r of(t&&t(e),e.children||[]))n.push(r)}}class e0{constructor(e={},t){this.parentNode=null,this.children=[],this.index=0,this.type=t,this.value=e}map(e=e=>e){let t=e(this.value);return this.value=t,this}attr(e,t){return 1==arguments.length?this.value[e]:this.map(n=>(n[e]=t,n))}append(e){let t=new e({});return t.children=[],this.push(t),t}push(e){return e.parentNode=this,e.index=this.children.length,this.children.push(e),this}remove(){let e=this.parentNode;if(e){let{children:t}=e,n=t.findIndex(e=>e===this);t.splice(n,1)}return this}getNodeByKey(e){let t=null;return eJ(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return eJ(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return eJ(this,n=>{t||e===n.type&&(t=n)}),t}call(e,...t){return e(this.map(),...t),this}getRoot(){let e=this;for(;e&&e.parentNode;)e=e.parentNode;return e}}var e1=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 e2=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],e3="__remove__",e5="__callback__";function e4(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function e6(e,t){let{width:n,height:r,autoFit:i,depth:a=0}=e,o=640,s=480;if(i){let{width:e,height:n}=function(e){let t=getComputedStyle(e),n=e.clientWidth||eQ(t.width),r=e.clientHeight||eQ(t.height);return{width:n-(eQ(t.paddingLeft)+eQ(t.paddingRight)),height:r-(eQ(t.paddingTop)+eQ(t.paddingBottom))}}(t);o=e||o,s=n||s}return o=n||o,s=r||s,{width:Math.max((0,eK.A)(o)?o:1,1),height:Math.max((0,eK.A)(s)?s:1,1),depth:a}}var e8=n(65232);function e7(e){return t=>{for(let[n,r]of Object.entries(e)){let{type:e}=r;"value"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){return 0==arguments.length?this.attr(n):this.attr(n,e)}}(t,n,r):"array"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(n);if(Array.isArray(e))return this.attr(n,e);let t=[...this.attr(n)||[],e];return this.attr(n,t)}}(t,n,r):"object"===e?function(e,t,{key:n=t}){e.prototype[t]=function(e,t){if(0==arguments.length)return this.attr(n);if(1==arguments.length&&"string"!=typeof e)return this.attr(n,e);let r=this.attr(n)||{};return r[e]=1==arguments.length||t,this.attr(n,r)}}(t,n,r):"node"===e?function(e,t,{ctor:n}){e.prototype[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}(t,n,r):"container"===e?function(e,t,{ctor:n}){e.prototype[t]=function(){return this.type=null,this.append(n)}}(t,n,r):"mix"===e&&function(e,t,n){e.prototype[t]=function(e){if(0==arguments.length)return this.attr(t);if(Array.isArray(e))return this.attr(t,{items:e});if((0,U.L_)(e)&&(void 0!==e.title||void 0!==e.items)||null===e||!1===e)return this.attr(t,e);let n=this.attr(t)||{},{items:r=[]}=n;return r.push(e),n.items=r,this.attr(t,n)}}(t,n,0)}return t}}function e9(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let te={encode:{type:"object"},scale:{type:"object"},data:{type:"value"},transform:{type:"array"},style:{type:"object"},animate:{type:"object"},coordinate:{type:"object"},interaction:{type:"object"},label:{type:"array",key:"labels"},axis:{type:"object"},legend:{type:"object"},slider:{type:"object"},scrollbar:{type:"object"},state:{type:"object"},layout:{type:"object"},theme:{type:"object"},title:{type:"value"}},tt=Object.assign(Object.assign({},te),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),tn=Object.assign(Object.assign({},te),{labelTransform:{type:"array"}}),tr=class extends e0{changeData(e){var t;let n=this.getRoot();if(n)return this.attr("data",e),(null==(t=this.children)?void 0:t.length)&&this.children.forEach(t=>{t.attr("data",e)}),null==n?void 0:n.render()}getView(){let{views:e}=this.getRoot().getContext();if(null==e?void 0:e.length)return e.find(e=>e.key===this._key)}getScale(){var e;return null==(e=this.getView())?void 0:e.scale}getScaleByChannel(e){let t=this.getScale();if(t)return t[e]}getCoordinate(){var e;return null==(e=this.getView())?void 0:e.coordinate}getTheme(){var e;return null==(e=this.getView())?void 0:e.theme}getGroup(){let e=this._key;if(e)return this.getRoot().getContext().canvas.getRoot().getElementById(e)}show(){let e=this.getGroup();e&&(e.isVisible()||(0,e8.WU)(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&(0,e8.jD)(e)}};tr=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([e7(tn)],tr);let ti=class extends e0{changeData(e){let t=this.getRoot();if(t)return this.attr("data",e),null==t?void 0:t.render()}getMark(){var e;let t=null==(e=this.getRoot())?void 0:e.getView();if(!t)return;let{markState:n}=t,r=Array.from(n.keys()).find(e=>e.key===this.attr("key"));return n.get(r)}getScale(){var e;let t=null==(e=this.getRoot())?void 0:e.getView();if(t)return null==t?void 0:t.scale}getScaleByChannel(e){var t,n;let r=null==(t=this.getRoot())?void 0:t.getView();if(r)return null==(n=null==r?void 0:r.scale)?void 0:n[e]}getGroup(){let e=this.attr("key");if(e)return this.getRoot().getContext().canvas.getRoot().getElementById(e)}};ti=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([e7(tt)],ti);var ta=n(23067),to=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},ts=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};class tl extends tr{constructor(e){let{container:t,canvas:n,renderer:r,plugins:i,lib:a,createCanvas:s}=e;super(ts(e,["container","canvas","renderer","plugins","lib","createCanvas"]),"view"),this._hasBindAutoFit=!1,this._rendering=!1,this._trailingClear=null,this._trailing=!1,this._trailingResolve=null,this._trailingReject=null,this._previousDefinedType=null,this._onResize=(0,l.A)(()=>{this.forceFit()},300),this._renderer=r||new o.A4,this._plugins=i||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[e3]=!0,e}return"string"==typeof e?document.getElementById(e):e}(t),this._emitter=new u.A,this._context={library:Object.assign(Object.assign({},a),ta.Y),emitter:this._emitter,canvas:n,createCanvas:s},this._create()}render(){let e,t;if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let n=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var i;let l=function e(t,n=!0){if(Array.isArray(t))return t.map((r,i)=>e(t[i],n));if("object"==typeof t&&t)return N(t,(t,r)=>n&&P.includes(r)?e(t,"children"===r):n?t:e(t,!1));if("string"==typeof t){let e=t.trim();if(e.startsWith("{")&&e.endsWith("}"))return D(e.slice(1,-1))}return t}(e),{width:c=640,height:d=480,depth:g=0}=l,m=function(e){let t=(0,h.A)({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),i=[t];for(;i.length;){let e=i.shift();if(void 0===e.key){let t=n.get(e),i=r.get(e);e.key=null===t?"0":`${t.key}-${i}`}let{children:t=[]}=e;if(Array.isArray(t))for(let a=0;ae.reduce((e,t)=>t(e),t)})(eW,eq)(n));return r.children&&Array.isArray(r.children)&&(r.children=r.children.map(t=>e(t))),r}(l)),{canvas:b=function(e,t){let n=new o.A4;return n.registerPlugin(new s.k),new a.Hl({width:e,height:t,container:document.createElement("div"),renderer:n})}(c,d),emitter:y=new u.A,library:v}=t;t.canvas=b,t.emitter=y,t.externals={};let{width:E,height:_}=b.getConfig();(E!==c||_!==d)&&b.resize(c,d),y.emit(f.x.BEFORE_RENDER);let x=(0,p.c)(b.document.documentElement);return b.ready.then(()=>(function e(t,n,r){return ew(this,void 0,void 0,function*(){var i;let{library:a}=r,[o]=(0,X.t)("composition",a),[s]=(0,X.t)("interaction",a),l=new Set(Object.keys(a).map(e=>{var t;return null==(t=/mark\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),c=new Set(Object.keys(a).map(e=>{var t;return null==(t=/component\.(.*)/.exec(e))?void 0:t[1]}).filter(U.sw)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),h=e=>"standardView"===u(e),g=e=>h(e)?[e]:o({type:u(e),static:(e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)})(e)})(e),m=[],b=new Map,y=new Map,v=[t],E=[];for(;v.length;){let e=v.shift();if(h(e)){let t=y.get(e),[n,i]=t?eL(t,e,a):yield eC(e,r);b.set(n,e),m.push(n);let o=i.flatMap(g).map(e=>(0,Z.dM)(e,a));if(v.push(...o),o.every(h)){let e=yield Promise.all(o.map(e=>ek(e,r)));(0,K.HR)(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",ep.ZH).attr("id",e=>e.key).call(eO).each(function(e,t,n){eI(e,(0,p.c)(n),A,r),_.set(e,n)}),e=>e.call(eO).each(function(e,t,n){eI(e,(0,p.c)(n),A,r),x.set(e,n)}),e=>e.each(function(e,t,n){for(let e of n.nameInteraction.values())e.destroy()}).remove());let S=(t,n,i)=>Array.from(t.entries()).map(([a,o])=>{let s=i||new Map,l=(e,t=e=>e)=>s.set(e,t),c=b.get(a),u=function(t,n,r){let{library:i}=r,a=function(e){let[,t]=(0,X.t)("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(i),o=eB(n).map(a).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,i,a)=>ew(this,void 0,void 0,function*(){let[s,l]=yield eC(n,r);for(let e of(eI(s,t,[],r),o.filter(e=>e!==i)))!function(e,t,n,r,i){var a;let{library:o}=i,[s]=(0,X.t)("interaction",o),l=t.node().nameInteraction,c=eB(n).find(([t])=>t===e),u=l.get(e);if(!u||(null==(a=u.destroy)||a.call(u),!c[1]))return;let d=eM(r,e,c[1],s)({options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},[],i.emitter);l.set(e,{destroy:d})}(e,t,n,s,r);for(let n of l)e(n,t,r);return a(),{options:n,view:s}})}((0,p.c)(o),c,r),d={view:a,container:o,options:c,setState:l,update:(e,r)=>ew(this,void 0,void 0,function*(){let i=(0,U.Zz)(Array.from(s.values()))(c);return yield u(i,e,()=>{(0,j.A)(r)&&n(t,r,s)})})};return r.externals.update=d.update,r.externals.setState=l,d}),w=(e=x,t,n)=>{var i;let a=S(e,w,n);for(let e of a){let{options:n,container:o}=e,l=o.nameInteraction,c=eB(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null==(i=c.destroy)||i.call(c)),o){let n=eM(e.view,t,o,s)(e,a,r.emitter);l.set(t,{destroy:n})}}}},O=S(_,w);for(let e of O){let{options:t}=e,n=new Map;for(let i of(e.container.nameInteraction=n,eB(t))){let[t,a]=i;if(a){let i=eM(e.view,t,a,s)(e,O,r.emitter);n.set(t,{destroy:i})}}}w();let{width:C,height:k}=t,M=[];for(let t of E){let i=new Promise(i=>ew(this,void 0,void 0,function*(){for(let i of t){let t=Object.assign({width:C,height:k},i);yield e(t,n,r)}i()}));M.push(i)}return r.views=m,null==(i=r.animations)||i.forEach(e=>null==e?void 0:e.cancel()),r.animations=A,r.emitter.emit(f.x.AFTER_PAINT),Promise.all([...A.filter(U.sw).map(eD).map(e=>e.finished),...M])})})(Object.assign(Object.assign({},m),{width:c,height:d,depth:g}),x,t)).then(()=>{if(g){let[e,t]=b.document.documentElement.getPosition();b.document.documentElement.setPosition(e,t,-g/2)}b.requestAnimationFrame(()=>{b.requestAnimationFrame(()=>{y.emit(f.x.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(i=b.getConfig().container)?document.getElementById(i):i})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[r,i,l]=[new Promise((n,r)=>{t=n,e=r}),t,e];return n.then(i).then(()=>{if(this._trailingClear){let e=this.options();this._trailingClear(),this._trailing&&this.options(e)}}).catch(l).then(()=>{this._trailingClear=null,this._renderTrailing()}),r}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of e2)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,e4(t));n.length;){let e=n.pop(),t=r.get(e),{children:i=[]}=e;for(let e of i)if(e.type===e5)t.children=e.value;else{let i=e4(e),{children:a=[]}=t;a.push(i),n.push(e),r.set(e,i),t.children=a}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),!function(e,t,n,r,i){let a=function(e,t,n,r,i){let{type:a}=e,{type:o=n||a}=t;if("function"!=typeof o&&new Set(Object.keys(i)).has(o)){for(let n of e2)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of e2)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,i),o=[[null,e,a]];for(;o.length;){let[e,t,n]=o.shift();if(t)if(n){let{type:e,children:r}=n,i=e1(n,["type","children"]);t.type===e||void 0===e?(0,U.Eg)(t.value,i):"string"==typeof e&&(t.type=e,t.value=i);let{children:a}=n,{children:s}=t;if(Array.isArray(a)&&Array.isArray(s)){let e=Math.max(a.length,s.length);for(let n=0;n{this.clear(e)},this._reset();return}let t=this.options();this.emit(f.x.BEFORE_CLEAR),this._reset(),eY(t,this._context,!1,e),this.emit(f.x.AFTER_CLEAR)}destroy(){let e=this.options();this.emit(f.x.BEFORE_DESTROY),this._unbindAutoFit(),this._reset(),eY(e,this._context,!0),this._container[e3]&&function(e){let t=e.parentNode;t&&t.removeChild(e)}(this._container),this.emit(f.x.AFTER_DESTROY)}forceFit(){this.options.autoFit=!0;let{width:e,height:t}=e6(this.options(),this._container);if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(f.x.BEFORE_CHANGE_SIZE);let n=this.render();return n.then(()=>{this.emit(f.x.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(f.x.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(f.x.AFTER_CHANGE_SIZE)}),n}getDataByXY(e,t={}){let{shared:n=!1,series:r,facet:i=!1,startX:a=0,startY:o=0}=t,{canvas:s,views:l}=this._context,{document:u}=s,{x:h,y:p}=e,{coordinate:f,scale:g,markState:m,data:b,key:y}=l[0],v=u.getElementsByClassName(ep.su),E=n?e=>e.__data__.x:e=>e,_=(0,d.Ay)(v,E),x=u.getElementsByClassName(ep.ZH)[0],A=(0,eX.dp)(x),S=e=>Array.from(e.values()).some(e=>{var t,n;return(null==(t=e.interaction)?void 0:t.seriesTooltip)||(null==(n=e.channels)?void 0:n.some(e=>"series"===e.name&&void 0!==e.values))}),w=(0,eZ.kD)(r,S(m)),O=e=>(0,c.A)(e,"__data__.data",null);try{if(w&&S(m)&&!i){let{selectedData:e}=(0,eZ.pi)({root:A,event:{offsetX:h,offsetY:p},elements:v,coordinate:f,scale:g,startX:a,startY:o}),t=b.get(`${y}-0`);return e.map(({index:e})=>t[e])}let e=(0,eZ.uF)({root:A,event:{offsetX:h,offsetY:p},elements:v,coordinate:f,scale:g,shared:n});if((0,U.D6)(e))return(0,U.qu)(e,b.get(y));let t=E(e),r=_.get(t);return r?r.map(O):[]}catch(t){let e=s.document.elementFromPointSync(h,p);return e?O(e):[]}}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends ti{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends tr{constructor(){super({},t)}};return[t,n=to([e7(e9(this._marks))],n)]})),Object.values(this._compositions)))e7(e9(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:i}=e6(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:i})}_createCanvas(){var e,t;let{width:n,height:r}=e6(this.options(),this._container);this._plugins.push(new s.k),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new a.Hl({container:this._container,width:n,height:r,renderer:this._renderer});let i=null==(t=null==(e=this._context.canvas)?void 0:e.getContextService())?void 0:t.getDomElement();i&&(i.style.display="block")}_addToTrailing(){var e;return null==(e=this._trailingResolve)||e.call(this,this),this._trailing=!0,new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t})}_bindAutoFit(){let{autoFit:e}=this.options();if(this._hasBindAutoFit){e||this._unbindAutoFit();return}e&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}}},66697: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"]},66786:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(12115),i=n(29300),a=n.n(i),o=n(15982),s=n(68151),l=n(99841),c=n(18184),u=n(45431),d=n(61388);let h=(0,u.OF)("Timeline",e=>(e=>{let{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,c.dF)(e)),{margin:0,padding:0,listStyle:"none",["".concat(t,"-item")]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:"calc(100% - ".concat((0,l.zA)(e.itemHeadSize),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," ").concat(e.lineType," ").concat(e.tailColor)},"&-pending":{["".concat(t,"-item-head")]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},["".concat(t,"-item-tail")]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:"".concat((0,l.zA)(e.dotBorderWidth)," ").concat(e.lineType," transparent"),borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{["> ".concat(t,"-item-tail")]:{display:"none"},["> ".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},["&".concat(t,"-alternate,\n &").concat(t,"-right,\n &").concat(t,"-label")]:{["".concat(t,"-item")]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{["".concat(t,"-item-content")]:{insetInlineStart:"calc(50% - ".concat((0,l.zA)(e.marginXXS),")"),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"start"}},"&-right":{["".concat(t,"-item-content")]:{width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),margin:0,textAlign:"end"}}}},["&".concat(t,"-right")]:{["".concat(t,"-item-right")]:{["".concat(t,"-item-tail,\n ").concat(t,"-item-head,\n ").concat(t,"-item-head-custom")]:{insetInlineStart:"calc(100% - ".concat((0,l.zA)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal()),")")},["".concat(t,"-item-content")]:{width:"calc(100% - ".concat((0,l.zA)(n(e.itemHeadSize).add(e.marginXS).equal()),")")}}},["&".concat(t,"-pending\n ").concat(t,"-item-last\n ").concat(t,"-item-tail")]:{display:"block",height:"calc(100% - ".concat((0,l.zA)(e.margin),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," dotted ").concat(e.tailColor)},["&".concat(t,"-reverse\n ").concat(t,"-item-last\n ").concat(t,"-item-tail")]:{display:"none"},["&".concat(t,"-reverse ").concat(t,"-item-pending")]:{["".concat(t,"-item-tail")]:{insetBlockStart:e.margin,display:"block",height:"calc(100% - ".concat((0,l.zA)(e.margin),")"),borderInlineStart:"".concat((0,l.zA)(e.tailWidth)," dotted ").concat(e.tailColor)},["".concat(t,"-item-content")]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},["&".concat(t,"-label")]:{["".concat(t,"-item-label")]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"end"},["".concat(t,"-item-right")]:{["".concat(t,"-item-label")]:{insetInlineStart:"calc(50% + ".concat((0,l.zA)(e.marginSM),")"),width:"calc(50% - ".concat((0,l.zA)(e.marginSM),")"),textAlign:"start"}}},"&-rtl":{direction:"rtl",["".concat(t,"-item-head-custom")]:{transform:"translate(50%, -50%)"}}})}})((0,d.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2})),e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding}));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 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 f=e=>{var{prefixCls:t,className:n,color:i="blue",dot:s,pending:l=!1,position:c,label:u,children:d}=e,h=p(e,["prefixCls","className","color","dot","pending","position","label","children"]);let{getPrefixCls:f}=r.useContext(o.QO),g=f("timeline",t),m=a()("".concat(g,"-item"),{["".concat(g,"-item-pending")]:l},n),b=/blue|red|green|gray/.test(i||"")?void 0:i,y=a()("".concat(g,"-item-head"),{["".concat(g,"-item-head-custom")]:!!s,["".concat(g,"-item-head-").concat(i)]:!b});return r.createElement("li",Object.assign({},h,{className:m}),u&&r.createElement("div",{className:"".concat(g,"-item-label")},u),r.createElement("div",{className:"".concat(g,"-item-tail")}),r.createElement("div",{className:y,style:{borderColor:b,color:b}},s),r.createElement("div",{className:"".concat(g,"-item-content")},d))};var g=n(85757),m=n(51280),b=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=>{var{prefixCls:t,className:n,pending:i=!1,children:o,items:s,rootClassName:l,reverse:c=!1,direction:u,hashId:d,pendingDot:h,mode:p=""}=e,y=b(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);let v=(0,g.A)(s||[]),E="boolean"==typeof i?null:i;i&&v.push({pending:!!i,dot:h||r.createElement(m.A,null),children:E}),c&&v.reverse();let _=v.length,x="".concat(t,"-item-last"),A=v.filter(e=>!!e).map((e,n)=>{var o;let s=n===_-2?x:"",l=n===_-1?x:"",{className:u}=e,d=b(e,["className"]);return r.createElement(f,Object.assign({},d,{className:a()([u,!c&&i?s:l,((e,n)=>"alternate"===p?"right"===e?"".concat(t,"-item-right"):"left"===e||n%2==0?"".concat(t,"-item-left"):"".concat(t,"-item-right"):"left"===p?"".concat(t,"-item-left"):"right"===p||"right"===e?"".concat(t,"-item-right"):"")(null!=(o=null==e?void 0:e.position)?o:"",n)]),key:(null==e?void 0:e.key)||n}))}),S=v.some(e=>!!(null==e?void 0:e.label)),w=a()(t,{["".concat(t,"-pending")]:!!i,["".concat(t,"-reverse")]:!!c,["".concat(t,"-").concat(p)]:!!p&&!S,["".concat(t,"-label")]:S,["".concat(t,"-rtl")]:"rtl"===u},n,l,d);return r.createElement("ol",Object.assign({},y,{className:w}),A)};var v=n(63715),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 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=>{let{getPrefixCls:t,direction:n,timeline:i}=r.useContext(o.QO),{prefixCls:l,children:c,items:u,className:d,style:p}=e,f=E(e,["prefixCls","children","items","className","style"]),g=t("timeline",l),m=(0,s.A)(g),[b,_,x]=h(g,m),A=function(e,t){return e&&Array.isArray(e)?e:(0,v.A)(t).map(e=>{var t,n;return Object.assign({children:null!=(n=null==(t=null==e?void 0:e.props)?void 0:t.children)?n:""},e.props)})}(u,c);return b(r.createElement(y,Object.assign({},f,{className:a()(null==i?void 0:i.className,d,x,m),style:Object.assign(Object.assign({},null==i?void 0:i.style),p),prefixCls:g,direction:n,items:A,hashId:_})))};_.Item=f;let x=_},66902: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=[]},66911:(e,t,n)=>{"use strict";n.d(t,{$b:()=>a,p4:()=>i,ts:()=>o});var r=n(39249);function i(e){var t=e.getLocalBounds(),n=t.min,i=t.max,a=(0,r.zs)([n,i],2),o=(0,r.zs)(a[0],2),s=o[0],l=o[1],c=(0,r.zs)(a[1],2),u=c[0],d=c[1];return{x:s,y:l,width:u-s,height:d-l,left:s,bottom:d,top:l,right:u}}function a(e,t){var n=(0,r.zs)(e,2),i=n[0],a=n[1],o=(0,r.zs)(t,2),s=o[0],l=o[1];return i!==s&&a===l}function o(e,t){var n,i,a=t.attributes;try{for(var o=(0,r.Ju)(Object.entries(a)),s=o.next();!s.done;s=o.next()){var l=(0,r.zs)(s.value,2),c=l[0],u=l[1];"id"!==c&&"className"!==c&&e.attr(c,u)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}},67060: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=[]},67088:e=>{e.exports=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i{"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=[]},67432:(e,t,n)=>{"use strict";function r(e,t){let n,r=-1,i=-1;if(void 0===t)for(let t of e)++i,null!=t&&(n=t)&&(n=t,r=i);else for(let a of e)null!=(a=t(a,++i,e))&&(n=a)&&(n=a,r=i);return r}n.d(t,{A:()=>r})},67440: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=[]},67526: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=[]},67622: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=[]},67679:(e,t,n)=>{"use strict";n.d(t,{U:()=>g,h:()=>b});var r=n(39249),i=n(73534),a=n(37022),o=n(24611),s=n(87287),l=n(74673),c=n(68058),u=n(32481),d=n(96816),h=n(48875),p=n(34742),f=(0,a.x)({text:"text"},"title");function g(e,t){var n=e.attributes,i=n.position,a=n.spacing,c=n.inset,u=n.text,d=e.getBBox(),h=t.getBBox(),p=(0,o.r)(i),f=(0,r.zs)((0,s.i)(u?a:0),4),g=f[0],m=f[1],b=f[2],y=f[3],v=(0,r.zs)((0,s.i)(c),4),E=v[0],_=v[1],x=v[2],A=v[3],S=(0,r.zs)([y+m,g+b],2),w=S[0],O=S[1],C=(0,r.zs)([A+_,E+x],2),k=C[0],M=C[1];if("l"===p[0])return new l.E(d.x,d.y,h.width+d.width+w+k,Math.max(h.height+M,d.height));if("t"===p[0])return new l.E(d.x,d.y,Math.max(h.width+k,d.width),h.height+d.height+O+M);var L=(0,r.zs)([t.attributes.width||h.width,t.attributes.height||h.height],2),I=L[0],N=L[1];return new l.E(h.x,h.y,I+d.width+w+k,N+d.height+O+M)}function m(e,t){var n=Object.entries(t).reduce(function(t,n){var i=(0,r.zs)(n,2),a=i[0],o=i[1];return e.node().attr(a)||(t[a]=o),t},{});e.styles(n)}var b=function(e){function t(t){return e.call(this,t,{text:"",width:0,height:0,fill:"#4a505a",fontWeight:"bold",fontSize:12,fontFamily:"sans-serif",inset:0,spacing:0,position:"top-left"})||this}return(0,r.C6)(t,e),t.prototype.getAvailableSpace=function(){var e=this.attributes,t=e.width,n=e.height,i=e.position,a=e.spacing,c=e.inset,u=this.querySelector(f.text.class);if(!u)return new l.E(0,0,+t,+n);var d=u.getBBox(),h=d.width,p=d.height,g=(0,r.zs)((0,s.i)(a),4),m=g[0],b=g[1],y=g[2],v=g[3],E=(0,r.zs)([0,0,+t,+n],4),_=E[0],x=E[1],A=E[2],S=E[3],w=(0,o.r)(i);if(w.includes("i"))return new l.E(_,x,A,S);w.forEach(function(e,i){var a,o;"t"===e&&(x=(a=(0,r.zs)(0===i?[p+y,n-p-y]:[0,+n],2))[0],S=a[1]),"r"===e&&(A=(0,r.zs)([t-h-v],1)[0]),"b"===e&&(S=(0,r.zs)([n-p-m],1)[0]),"l"===e&&(_=(o=(0,r.zs)(0===i?[h+b,t-h-b]:[0,+t],2))[0],A=o[1])});var O=(0,r.zs)((0,s.i)(c),4),C=O[0],k=O[1],M=O[2],L=O[3],I=(0,r.zs)([L+k,C+M],2),N=I[0],R=I[1];return new l.E(_+L,x+C,A-N,S-R)},t.prototype.getBBox=function(){return this.title?this.title.getBBox():new l.E(0,0,0,0)},t.prototype.render=function(e,t){var n,i,a,s,l,g,b,y,v,E,_,x,A,S,w,O,C=this;e.width,e.height,e.position,e.spacing;var k=e.classNamePrefix,M=(0,r.Tt)(e,["width","height","position","spacing","classNamePrefix"]),L=(0,r.zs)((0,c.u0)(M),1)[0],I=(l=e.width,g=e.height,b=e.position,v=(y=(0,r.zs)([l/2,g/2],2))[0],E=y[1],x=(_=(0,r.zs)([+v,+E,"center","middle"],4))[0],A=_[1],S=_[2],w=_[3],(O=(0,o.r)(b)).includes("l")&&(x=(n=(0,r.zs)([0,"start"],2))[0],S=n[1]),O.includes("r")&&(x=(i=(0,r.zs)([+l,"end"],2))[0],S=i[1]),O.includes("t")&&(A=(a=(0,r.zs)([0,"top"],2))[0],w=a[1]),O.includes("b")&&(A=(s=(0,r.zs)([+g,"bottom"],2))[0],w=s[1]),{x:x,y:A,textAlign:S,textBaseline:w}),N=I.x,R=I.y,P=I.textAlign,D=I.textBaseline;(0,u.V)(!!M.text,(0,d.Lt)(t),function(e){var t=(0,h.X)(f.text.name,p.n.title,k);C.title=e.maybeAppendByClassName(f.text,"text").attr("className",t).styles(L).call(m,{x:N,y:R,textAlign:P,textBaseline:D}).node()})},t}(i.u)},67809: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:/[=!*/%+\-^&|]=|>>?=?|<{"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=[]},67877:e=>{e.exports=function(e){let t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},a={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},o={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return r.push(a,o),n.forEach(function(e){r.push(e)}),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}},67912:(e,t,n)=>{"use strict";var r=n(37703);function i(e,t){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(a,this,t),this.length=this._features.length}function a(e,t,n){15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){for(var t=null,n=e.readVarint()+e.pos;e.pos>3;t=1===r?e.readString():2===r?e.readFloat():3===r?e.readDouble():4===r?e.readVarint64():5===r?e.readVarint():6===r?e.readSVarint():7===r?e.readBoolean():null}return t}(n))}e.exports=i,i.prototype.feature=function(e){if(e<0||e>=this._features.length)throw Error("feature index out of bounds");this._pbf.pos=this._features[e];var t=this._pbf.readVarint()+this._pbf.pos;return new r(this._pbf,t,this.extent,this._keys,this._values)}},67922:(e,t,n)=>{"use strict";var r=n(60569),i=n(42093);function a(e){e.register(r),e.register(i),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=a,a.displayName="etlua",a.aliases=[]},67998:(e,t,n)=>{"use strict";function r({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):n}function i(e){return"object"==typeof e?e.valueOf():e}n.d(t,{w:()=>s});class a extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=i,null!==e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(r({map:this.map,initKey:this.initKey},e))}has(e){return super.has(r({map:this.map,initKey:this.initKey},e))}set(e,t){return super.set(function({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}({map:this.map,initKey:this.initKey},e),t)}delete(e){return super.delete(function({map:e,initKey:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}({map:this.map,initKey:this.initKey},e))}}var o=n(73628);class s extends o.w{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:o.o,flex:[]}}constructor(e){super(e)}clone(){return new s(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:e,paddingInner:t}=this.options;return e>0?e:t}getPaddingOuter(){let{padding:e,paddingOuter:t}=this.options;return e>0?e:t}rescale(){super.rescale();let{align:e,domain:t,range:n,round:r,flex:i}=this.options,{adjustedRange:o,valueBandWidth:s,valueStep:l}=function(e){var t;let n,r,{domain:i}=e,o=i.length;if(0===o)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(null==(t=e.flex)?void 0:t.length)return function(e){let{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:o,round:s,align:l}=e,c=t.length,u=function(e,t){let n=t-e.length;return n>0?[...e,...Array(n).fill(1)]:n<0?e.slice(0,t):e}(o,c),[d,h]=n,p=h-d,f=p/(2/c*r+1-1/c*i),g=f*i/c,m=f-c*g,b=function(e){let t=e.reduce((e,t)=>Math.min(e,t),1/0);return t===1/0?[]:e.map(e=>e/t)}(u),y=m/b.reduce((e,t)=>e+t),v=new a(t.map((e,t)=>{let n=b[t]*y;return[e,s?Math.floor(n):n]})),E=new a(t.map((e,t)=>{let n=b[t]*y+g;return[e,s?Math.floor(n):n]})),_=Array.from(E.values()).reduce((e,t)=>e+t),x=d+(p-(_-_/c*i))*l,A=s?Math.round(x):x,S=Array(c);for(let e=0;eh+t*n);return{valueStep:n,valueBandWidth:r,adjustedRange:f}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=l,this.valueBandWidth=s,this.adjustedRange=o}}},68058:(e,t,n)=>{"use strict";n.d(t,{xb:()=>o,u0:()=>u,iA:()=>l,dQ:()=>c});var r=n(39249);function i(e){return e.toString().charAt(0).toUpperCase()+e.toString().slice(1)}function a(e,t,n){void 0===n&&(n=!0);var r,i=t||(null==(r=e.match(/^([a-z][a-z0-9]+)/))?void 0:r[0])||"",a=e.replace(new RegExp("^(".concat(i,")")),"");return n?a.toString().charAt(0).toLowerCase()+a.toString().slice(1):a}function o(e,t){Object.entries(t).forEach(function(t){var n=(0,r.zs)(t,2),i=n[0],a=n[1];(0,r.fX)([e],(0,r.zs)(e.querySelectorAll(i)),!1).filter(function(e){return e.matches(i)}).forEach(function(e){e&&(e.style.cssText+=Object.entries(a).reduce(function(e,t){return"".concat(e).concat(t.join(":"),";")},""))})})}var s=function(e,t){if(!(null==e?void 0:e.startsWith(t)))return!1;var n=e[t.length];return n>="A"&&n<="Z"};function l(e,t,n){void 0===n&&(n=!1);var o={};return Object.entries(e).forEach(function(e){var l=(0,r.zs)(e,2),c=l[0],u=l[1];if("className"===c||"class"===c);else if(s(c,"show")&&s(a(c,"show"),t)!==n)c==="".concat("show").concat(i(t))?o[c]=u:o[c.replace(new RegExp(i(t)),"")]=u;else if(!s(c,"show")&&s(c,t)!==n){var d=a(c,t);"filter"===d&&"function"==typeof u||(o[d]=u)}}),o}function c(e,t){return Object.entries(e).reduce(function(e,n){var a=(0,r.zs)(n,2),o=a[0],s=a[1];return o.startsWith("show")?e["show".concat(t).concat(o.slice(4))]=s:e["".concat(t).concat(i(o))]=s,e},{})}function u(e,t){void 0===t&&(t=["x","y","class","className"]);var n=["transform","transformOrigin","anchor","visibility","pointerEvents","zIndex","cursor","clipPath","clipPathTargets","offsetPath","offsetPathTargets","offsetDistance","draggable","droppable"],i={},a={};return Object.entries(e).forEach(function(e){var o=(0,r.zs)(e,2),s=o[0],l=o[1];t.includes(s)||(-1!==n.indexOf(s)?a[s]=l:i[s]=l)}),[i,a]}},68093:e=>{"use strict";function t(e,t){this.x=e,this.y=t}e.exports=t,t.prototype={clone:function(){return new t(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[0]*this.x+e[1]*this.y,n=e[2]*this.x+e[3]*this.y;return this.x=t,this.y=n,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=t*this.x-n*this.y,i=n*this.x+t*this.y;return this.x=r,this.y=i,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),i=t.x+n*(this.x-t.x)-r*(this.y-t.y),a=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=i,this.y=a,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},t.convert=function(e){return e instanceof t?e:Array.isArray(e)?new t(e[0],e[1]):e}},69047:(e,t,n)=>{"use strict";function r(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}n.d(t,{F:()=>r})},69054: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"]},69389:e=>{"use strict";function t(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.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 r}),"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 r}),"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.exports=t,t.displayName="qml",t.aliases=[]},69515:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(69047);function i(e,t){var n,i,a=e.length-1,o=[],s=0,l=(i=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,a){var o=r+a;return 0===a||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=i),e[o])})}));return l.forEach(function(n,i){e.slice(1).forEach(function(n,o){s+=(0,r.F)(e[(i+o)%a].slice(-2),t[o%a].slice(-2))}),o[i]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},69644:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>c,Lr:()=>s,Vx:()=>d,ZH:()=>o,b:()=>l,kU:()=>i,lh:()=>u,su:()=>a,tF:()=>h,zz:()=>r});let r="main-layer",i="label-layer",a="element",o="view",s="plot",l="component",c="label",u="area",d="axis-breaks",h="axis-breaks-group"},70032:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{A:()=>r})},70153: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 r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),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"]},70302:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={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 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},70625:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(70701);function i(e,t,n){void 0===n&&(n="..."),(0,r.XD)(e,{wordWrap:!0,wordWrapWidth:t,maxLines:1,textOverflow:n})}},70667:(e,t,n)=>{e.exports=function(e){e.use(n(49900)),e.installMethod("darken",function(e){return this.lightness(isNaN(e)?-.1:-e,!0)})}},70701:(e,t,n)=>{"use strict";n.d(t,{WI:()=>o,XD:()=>c,b6:()=>l,c8:()=>s});var r,i,a=n(86372),o=(0,n(17556).A)(function(e,t){var n=t.fontSize,o=t.fontFamily,s=t.fontWeight,l=t.fontStyle,c=t.fontVariant;return i?i(e,n):(r||(r=a.fA.offscreenCanvasCreator.getOrCreateContext(void 0)),r.font=[l,c,s,"".concat(n,"px"),o].join(" "),r.measureText(e).width)},function(e,t){return[e,Object.values(t||s(e)).join()].join("")},4096),s=function(e){var t=e.style.fontFamily||"sans-serif",n=e.style.fontWeight||"normal",r=e.style.fontStyle||"normal",i=e.style.fontVariant,a=e.style.fontSize;return{fontSize:a="object"==typeof a?a.value:a,fontFamily:t,fontWeight:n,fontStyle:r,fontVariant:i}};function l(e){return"text"===e.nodeName?e:"g"===e.nodeName&&1===e.children.length&&"text"===e.children[0].nodeName?e.children[0]:null}function c(e,t){var n=l(e);n&&n.attr(t)}},70750: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=[]},71123:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,s:()=>h});var r=n(83846),i=n(55548);let a=/[#.]/g;var o=n(7887),s=n(59739),l=n(14947);function c(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,s,...c){let d;if(null==n)d={type:"root",children:[]},c.unshift(s);else{let h=(d=function(e,t){let n,r,i=e||"",o={},s=0;for(;s{"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=[]},71210:(e,t,n)=>{var r=n(25820),i=n(36815);e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=i(n))==n?n:0),void 0!==t&&(t=(t=i(t))==t?t:0),r(i(e),t,n)}},71266:(e,t,n)=>{"use strict";var r=n(14731);e.exports=function(e,t){return r(e,t.toLowerCase())}},71273: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=[]},71602:(e,t,n)=>{"use strict";function r(e,t){return i(e,t.inConstruct,!0)&&!i(e,t.notInConstruct,!1)}function i(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++rr})},71609:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}n.d(t,{A:()=>r,X:()=>i})},71752: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=[]},71966:(e,t,n)=>{"use strict";var r=n(67526);function i(e){var t;e.register(r),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=i,i.displayName="opencl",i.aliases=[]},72072: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=[]},72077:(e,t,n)=>{"use strict";var r=n(30313);function i(e){e.register(r),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=i,i.displayName="crystal",i.aliases=[]},72564: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=[]},72679:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(39249),i=n(86372),a=n(44963),o=function(e){function t(t){void 0===t&&(t={});var n=t.style,i=(0,r.Tt)(t,["style"]);return e.call(this,(0,r.Cl)({style:(0,r.Cl)({text:"",fill:"black",fontFamily:"sans-serif",fontSize:16,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1,textAlign:"start",textBaseline:"middle"},n)},i))||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=(0,a.$)(this)),this._offscreen},enumerable:!1,configurable:!0}),t.prototype.disconnectedCallback=function(){var e;null==(e=this._offscreen)||e.destroy()},t}(i.EY)},72804:(e,t,n)=>{"use strict";function r(e){return e[0]}function i(e){return e[1]}n.d(t,{x:()=>r,y:()=>i})},72919:(e,t,n)=>{var r=n(5485),i=n(41553),a=Object.hasOwnProperty,o=Object.create(null);for(var s in r)a.call(r,s)&&(o[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,o=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,i=t[2],t=t[1];n<3;n++){var s=2*n;o[n]=parseInt(t.slice(s,s+2),16)}i&&(o[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,i=(t=t[1])[3];n<3;n++)o[n]=parseInt(t[n]+t[n],16);i&&(o[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(t[n+1],0);t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?o[3]=.01*parseFloat(t[4]):o[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:a.call(r,t[1])?((o=r[t[1]])[3]=1,o):null;for(n=0;n<3;n++)o[n]=c(o[n],0,255);return o[3]=c(o[3],0,1),o},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return o[e.slice(0,3)]}},73071: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=[]},73086:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},73220:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(57608),i=n(69138),a=n(42338);let o=function(e,t,n){var o=e,s=(0,i.A)(t)?t.split("."):t;return s.forEach(function(e,t){t{"use strict";n.d(t,{Ay:()=>o,Ik:()=>l});var r=n(61341);function i(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}var a=n(40897);let o=function e(t){var n=(0,a.uN)(t);function i(e,t){var i=n((e=(0,r.Qh)(e)).r,(t=(0,r.Qh)(t)).r),o=n(e.g,t.g),s=n(e.b,t.b),l=(0,a.Ay)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=l(t),e+""}}return i.gamma=e,i}(1);function s(e){return function(t){var n,i,a=t.length,o=Array(a),s=Array(a),l=Array(a);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],s=r>0?e[r-1]:2*a-o,l=r{"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},73534:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(39249),i=n(86372),a=n(2638),o=n(38310),s=n(44963);function l(){(0,a.XD)(this,"hidden"!==this.attributes.visibility)}var c=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this,(0,o.E)({},{style:n},t))||this;return r.initialized=!1,r._defaultOptions=n,r}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"offscreenGroup",{get:function(){return this._offscreen||(this._offscreen=(0,s.$)(this)),this._offscreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultOptions",{get:function(){return this._defaultOptions},enumerable:!1,configurable:!0}),t.prototype.connectedCallback=function(){this.render(this.attributes,this),this.bindEvents(this.attributes,this),this.initialized=!0},t.prototype.disconnectedCallback=function(){var e;null==(e=this._offscreen)||e.destroy()},t.prototype.attributeChangedCallback=function(e){"visibility"===e&&l.call(this)},t.prototype.update=function(e,t){var n;return this.attr((0,o.E)({},this.attributes,e||{})),null==(n=this.render)?void 0:n.call(this,this.attributes,this,t)},t.prototype.clear=function(){this.removeChildren()},t.prototype.bindEvents=function(e,t){},t.prototype.getSubShapeStyle=function(e){return e.x,e.y,e.transform,e.transformOrigin,e.class,e.className,e.zIndex,(0,r.Tt)(e,["x","y","transform","transformOrigin","class","className","zIndex"])},t}(i.K9)},73623: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=[]},73628:(e,t,n)=>{"use strict";n.d(t,{o:()=>i,w:()=>l});var r=n(20430);let i=Symbol("defaultUnknown");function a(e,t,n){for(let r=0;r`${e}`:"object"==typeof e?e=>JSON.stringify(e):e=>e}class l extends r.C{getDefaultOptions(){return{domain:[],range:[],unknown:i}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&a(this.domainIndexMap,this.getDomain(),this.domainKey),o({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&a(this.rangeIndexMap,this.getRange(),this.rangeKey),o({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){let[t]=this.options.domain,[n]=this.options.range;if(this.domainKey=s(t),this.rangeKey=s(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new l(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:e,compare:t}=this.options;return this.sortedDomain=t?[...e].sort(t):e,this.sortedDomain}}},73736:function(e,t){(function(e){"use strict";function t(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0n=>e(t(n)),e)}function S(e,t){return t-e?n=>(n-e)/(t-e):e=>.5}R=new f(3),f!=Float32Array&&(R[0]=0,R[1]=0,R[2]=0),R=new f(4),f!=Float32Array&&(R[0]=0,R[1]=0,R[2]=0,R[3]=0);let w=Math.sqrt(50),O=Math.sqrt(10),C=Math.sqrt(2);function k(e,t,n){return e=Math.floor(Math.log(t=(t-e)/Math.max(0,n))/Math.LN10),n=t/10**e,0<=e?(n>=w?10:n>=O?5:n>=C?2:1)*10**e:-(10**-e)/(n>=w?10:n>=O?5:n>=C?2:1)}let M=(e,t,n=5)=>{let r=0,i=(e=[e,t]).length-1,a=e[r],o=e[i],s;return o{n.prototype.rescale=function(){this.initRange(),this.nice();var[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},n.prototype.initRange=function(){var t=this.options.interpolator;this.options.range=e(t)},n.prototype.composeOutput=function(e,n){var{domain:r,interpolator:i,round:a}=this.getOptions(),r=t(r.map(e)),a=a?e=>s(e=i(e),"Number")?Math.round(e):e:i;this.output=A(a,r,n,e)},n.prototype.invert=void 0}}var N,R={exports:{}},P={exports:{}},D=Array.prototype.concat,j=Array.prototype.slice,B=P.exports=function(e){for(var t=[],n=0,r=e.length;nn=>e*(1-n)+t*n,X=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return Z(e,t);if("string"!=typeof e||"string"!=typeof t)return()=>e;{let n=Y(e),r=Y(t);return null===n||null===r?n?()=>e:()=>t:e=>{var t=[,,,,];for(let o=0;o<4;o+=1){var i=n[o],a=r[o];t[o]=i*(1-e)+a*e}var[o,s,l,c]=t;return`rgba(${Math.round(o)}, ${Math.round(s)}, ${Math.round(l)}, ${c})`}}},K=(e,t)=>{let n=Z(e,t);return e=>Math.round(n(e))};function Q({map:e,initKey:t},n){return t=t(n),e.has(t)?e.get(t):n}function J(e){return"object"==typeof e?e.valueOf():e}class ee extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=J,null!==e)for(var[t,n]of e)this.set(t,n)}get(e){return super.get(Q({map:this.map,initKey:this.initKey},e))}has(e){return super.has(Q({map:this.map,initKey:this.initKey},e))}set(e,t){var n,r;return super.set(([{map:e,initKey:n},r]=[{map:this.map,initKey:this.initKey},e],n=n(r),e.has(n)?e.get(n):(e.set(n,r),r)),t)}delete(e){var t,n;return super.delete(([{map:e,initKey:t},n]=[{map:this.map,initKey:this.initKey},e],t=t(n),e.has(t)&&(n=e.get(t),e.delete(t)),n))}}class et{constructor(e){this.options=d({},this.getDefaultOptions()),this.update(e)}getOptions(){return this.options}update(e={}){this.options=d({},this.options,e),this.rescale(e)}rescale(e){}}let en=Symbol("defaultUnknown");function er(e,t,n){for(let r=0;r""+e:"object"==typeof e?e=>JSON.stringify(e):e=>e}class eo extends et{getDefaultOptions(){return{domain:[],range:[],unknown:en}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&er(this.domainIndexMap,this.getDomain(),this.domainKey),ei({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&er(this.rangeIndexMap,this.getRange(),this.rangeKey),ei({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){var[t]=this.options.domain,[n]=this.options.range;this.domainKey=ea(t),this.rangeKey=ea(n),this.rangeIndexMap?(e&&!e.range||this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)):(this.rangeIndexMap=new Map,this.domainIndexMap=new Map)}clone(){return new eo(this.options)}getRange(){return this.options.range}getDomain(){var e,t;return this.sortedDomain||({domain:e,compare:t}=this.options,this.sortedDomain=t?[...e].sort(t):e),this.sortedDomain}}class es extends eo{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:en,flex:[]}}constructor(e){super(e)}clone(){return new es(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){var{padding:e,paddingInner:t}=this.options;return 0e/t)}(c),f=d/p.reduce((e,t)=>e+t);var c=new ee(t.map((e,t)=>(t=p[t]*f,[e,o?Math.floor(t):t]))),g=new ee(t.map((e,t)=>(t=p[t]*f+h,[e,o?Math.floor(t):t]))),d=Array.from(g.values()).reduce((e,t)=>e+t),e=e+(u-(d-d/l*i))*s;let m=o?Math.round(e):e;var b=Array(l);for(let e=0;el+t*o),{valueStep:o,valueBandWidth:s,adjustedRange:e}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=r,this.valueBandWidth=n,this.adjustedRange=e}}let el=(e,t,n)=>{let r,i,a=e,o=t;if(a===o&&0(2{let r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r);var o=e[0]>e[r],s=o?[...e].reverse():e,l=o?[...t].reverse():t;for(let e=0;e{var n=function(e,t,n,r,i){let a=1,o=r||e.length;for(var s=e=>e;at?o=l:a=l+1}return a}(e,t,0,r)-1,o=i[n];return A(a[n],o)(t)}}:(e,t,n)=>{let r;var[e,i]=e,[t,a]=t;return A(eMath.min(Math.max(r,e),i)}return h}composeOutput(e,t){var{domain:n,range:r,round:i,interpolate:a}=this.options,n=ec(n.map(e),r,a,i);this.output=A(n,t,e)}composeInput(e,t,n){var{domain:r,range:i}=this.options,i=ec(i,r.map(e),Z);this.input=A(t,n,i)}}class ed extends eu{getDefaultOptions(){return{domain:[0,1],range:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolate:X,tickMethod:el,tickCount:5}}chooseTransforms(){return[h,h]}clone(){return new ed(this.options)}}class eh extends es{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:en,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new eh(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}function ep(e,t){for(var n=[],r=0,i=e.length;r{var[e,t]=e;return A(Z(0,1),S(e,t))})],em);let eb=a=class extends ed{getDefaultOptions(){return{domain:[0,.5,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:h,tickMethod:el,tickCount:5}}constructor(e){super(e)}clone(){return new a(this.options)}};function ey(e,t,r,i,a){var o=new ed({range:[t,t+i]}),s=new ed({range:[r,r+a]});return{transform:function(e){var e=n(e,2),t=e[0],e=e[1];return[o.map(t),s.map(e)]},untransform:function(e){var e=n(e,2),t=e[0],e=e[1];return[o.invert(t),s.invert(e)]}}}function ev(e,t,r,i,a){return(0,n(e,1)[0])(t,r,i,a)}function eE(e,t,r,i,a){return n(e,1)[0]}function e_(e,t,r,i,a){var o=(e=n(e,4))[0],s=e[1],l=e[2],e=e[3],c=new ed({range:[l,e]}),u=new ed({range:[o,s]}),d=1<(l=a/i)?1:l,h=1{let[t,n,r]=e,i=A(Z(0,.5),S(t,n)),a=A(Z(.5,1),S(n,r));return e=>(t>r?e{"use strict";var r=n(56373),i=n(76148);function a(e){e.register(r),e.register(i),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=a,a.displayName="t4Vb",a.aliases=[]},73916:(e,t,n)=>{"use strict";n.d(t,{C5:()=>_,bs:()=>m,xs:()=>E});var r=n(44188),i=n(14438),a=n(14837),o=n(83369),s=n(22911),l=n(57626),c=n(59829),u=n(14353),d=n(40638),h=n(79135),p=n(83277),f=n(18961),g=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};function m(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function b(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function y(e,t,n,r,a,o,s,c){var h;(void 0!==n||void 0!==o)&&e.update(Object.assign(Object.assign({},n&&{tickCount:n}),o&&{tickMethod:o}));let p=function(e,t,n){if(e.getTicks)return e.getTicks();if(!n)return t;let[r,i]=(0,l.A)(t,e=>+e),{tickCount:a}=e.getOptions();return n(r,i,a)}(e,t,o),f=a?p.filter(a):p,g=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),m=r||(null==(h=e.getFormatter)?void 0:h.call(e))||g,b=function(e,t){if((0,u.pz)(t))return e=>e;let{innerWidth:n,innerHeight:r,insetTop:a,insetBottom:o,insetLeft:s,insetRight:l}=t.getOptions(),[c,d,h]="left"===e||"right"===e?[a,o,r]:[s,l,n],p=new i.W({domain:[0,1],range:[c/h,1-d/h]});return e=>p.map(e)}(s,c),y=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!(0,u.ey)(t))return a;let o=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=o[0];return new i.W({domain:[0,n],range:[0,1]}).map(e)}if("left"===e){let e=o[1];return new i.W({domain:[0,r],range:[0,1]}).map(e)}return a}}(s,c),v=e=>["left","right"].includes(e);return(0,u.pz)(c)||(0,u.kH)(c)?f.map((t,n,r)=>{var i,a;let o=(null==(i=e.getBandWidth)?void 0:i.call(e,t))/2||0,l=b(e.map(t)+o);return{value:(0,u.AO)(c)&&"center"===s||(0,u.kH)(c)&&(null==(a=e.getTicks)?void 0:a.call(e))&&["top","bottom","center","outer"].includes(s)||(0,u.kH)(c)&&v(s)?1-l:l,label:g(m((0,d.A)(t),n,r)),id:String(n)}}):f.map((t,n,r)=>{var i;let a=(null==(i=e.getBandWidth)?void 0:i.call(e,t))/2||0,o=y(b(e.map(t)+a));return{value:v(s)?1-o:o,label:g(m((0,d.A)(t),n,r)),id:String(n)}})}let v=e=>t=>{let{labelFormatter:n,labelFilter:r=()=>!0}=t;return i=>{var a;let{scales:[o]}=i,s=(null==(a=o.getTicks)?void 0:a.call(o))||o.getOptions().domain,l="string"==typeof n?(0,c.GP)(n):n;return e(Object.assign(Object.assign({},t),{labelFormatter:l,labelFilter:(e,t,n)=>r(s[t],t,s),scale:o}))(i)}},E=v(e=>{let{direction:t="left",important:n={},labelFormatter:i,order:a,orientation:o,actualPosition:l,position:c,size:d,style:m={},title:v,tickCount:E,tickFilter:_,tickMethod:x,tickLength:A,transform:S,indexBBox:w}=e,O=g(e,["direction","important","labelFormatter","order","orientation","actualPosition","position","size","style","title","tickCount","tickFilter","tickMethod","tickLength","transform","indexBBox"]);return({scales:a,value:g,coordinate:C,theme:k})=>{let{bbox:M}=g,[L]=a,{domain:I,xScale:N}=L.getOptions(),R=Object.assign(Object.assign(Object.assign({},function(e,t,n,r,i,a){let o=function(e,t,n,r,i,a){let o=n.axis,l=["top","right","bottom","left"].includes(i)?n[`axis${(0,h.ND)(i)}`]:n.axisLinear,c=e.getOptions().name;return Object.assign({},o,l,n[`axis${(0,s.A)(c)}`]||{})}(e,0,n,0,i,0);return"center"===i?Object.assign(Object.assign(Object.assign(Object.assign({},o),{labelDirection:"right"===r?"negative":"positive"}),"center"===r?{labelTransform:"translate(50%,0)"}:null),{tickDirection:"right"===r?"negative":"positive",labelSpacing:4*("center"!==r),titleSpacing:10*!!(0,p.fk)(a),tick:"center"!==r&&void 0}):o}(L,0,k,t,c,o)),m),O),P=function(e,t,n="xy"){let[r,i,a]=b(t);return"xy"===n?e.includes("bottom")||e.includes("top")?i:r:"xz"===n?e.includes("bottom")||e.includes("top")?a:r:e.includes("bottom")||e.includes("top")?i:a}(l||c,C,e.plane),D=function(e,t,n,r,i){let{x:a,y:o,width:s,height:l}=n;if("bottom"===e)return{startPos:[a,o],endPos:[a+s,o]};if("left"===e)return{startPos:[a+s,o+l],endPos:[a+s,o]};if("right"===e)return{startPos:[a,o+l],endPos:[a,o]};if("top"===e)return{startPos:[a,o+l],endPos:[a+s,o+l]};if("center"===e){if("vertical"===t)return{startPos:[a,o],endPos:[a,o+l]};else if("horizontal"===t)return{startPos:[a,o],endPos:[a+s,o]};else if("number"==typeof t){let[e,n]=r.getCenter(),[c,d]=(0,u.qZ)(r),[h,p]=(0,u.XV)(r),f=Math.min(s,l)/2,{insetLeft:g,insetTop:m}=r.getOptions(),b=c*f,y=d*f,[v,E]=[e+a-g,n+o-m],[_,x]=[Math.cos(t),Math.sin(t)],A=(0,u.pz)(r)&&i?(()=>{let{domain:e}=i.getOptions();return e.length})():3;return{startPos:[v+y*_,E+y*x],endPos:[v+b*_,E+b*x],gridClosed:1e-6>Math.abs(p-h-360),gridCenter:[v,E],gridControlAngles:Array(A).fill(0).map((e,t,n)=>(p-h)/A*t)}}}return{}}(c,o,M,C,N),j=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(C),B=y(L,I,E,i,_,x,c,C),F=w?B.map((e,t)=>{let n=w.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):B,z=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},R),{type:"linear",data:F,crossSize:d,titleText:(0,p.ki)(v),labelOverlap:function(e=[],t){if(e.length>0)return e;let{labelAutoRotate:n,labelAutoHide:r,labelAutoEllipsis:i,labelAutoWrap:a}=t,o=[],s=(e,t)=>{t&&o.push(Object.assign(Object.assign({},e),t))};return s({type:"rotate",optionalAngles:[0,15,30,45,60,90]},n),s({type:"ellipsis",minLength:20},i),s({type:"hide"},r),s({type:"wrap",wordWrapWidth:100,maxLines:3,recoveryWhenFail:!0},a),o}(S,R),grid:function(e,t,n){return!((0,u.Zf)(t)||(0,u.K7)(t))&&(void 0===e?!!n.getTicks:e)}(R.grid,C,L),gridLength:P,line:!0,indexBBox:w,classNamePrefix:f.Wy}),void 0!==A?{tickLength:A}:null),R.line?null:{lineOpacity:0}),D),j),n);return z.labelOverlap.find(e=>"hide"===e.type)&&(z.crossSize=!1),new r._({className:"axis",style:(0,p.y$)(z)})}}),_=v(e=>{let{order:t,size:n,position:i,orientation:s,labelFormatter:l,tickFilter:c,tickCount:d,tickMethod:h,tickLength:m,important:v={},style:E={},indexBBox:_,title:x,grid:A=!1}=e,S=g(e,["order","size","position","orientation","labelFormatter","tickFilter","tickCount","tickMethod","tickLength","important","style","indexBBox","title","grid"]);return({scales:[e],value:t,coordinate:n,theme:s})=>{let{bbox:g}=t,{domain:E}=e.getOptions(),w=y(e,E,d,l,c,h,i,n),O=_?w.map((e,t)=>{let n=_.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):w,[C,k]=(0,u.qZ)(n),M=function(e,t,n,r,i){let{x:a,y:o,width:s,height:l}=t,c=[a+s/2,o+l/2],d=Math.min(s,l)/2,[h,p]=(0,u.XV)(i),[f,g]=b(i),m={center:c,radius:d,startAngle:h,endAngle:p,gridLength:Math.min(f,g)/2*(r-n)};if("inner"===e){let{insetLeft:e,insetTop:t}=i.getOptions();return Object.assign(Object.assign({},m),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},m),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(i,g,C,k,n),{axis:L,axisArc:I={}}=s,N=(0,p.y$)((0,a.A)({},L,I,M,Object.assign(Object.assign(Object.assign({type:"arc",data:O,titleText:(0,p.ki)(x),grid:A,classNamePrefix:f.Wy},void 0!==m?{tickLength:m}:null),S),v)));return new r._({style:(0,o.A)(N,["transform"])})}});E.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},_.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]}},73992: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"]},74016:(e,t,n)=>{"use strict";n.d(t,{Am:()=>a,hS:()=>l,vA:()=>s,y1:()=>o});var r=n(39249),i=n(11330);function a(e){return Array.from(new Set(e))}function o(e){return(0,r.fX)([],(0,r.zs)(Array(e).keys()),!1)}function s(e,t){if(!e)throw Error(t)}function l(e,t){if(!(0,i.cy)(e)||0===e.length||!(0,i.cy)(t)||0===t.length||e.length!==t.length)return!1;for(var n={},r=0;r{"use strict";n.d(t,{A:()=>o});var r=n(39997),i=n(50636),a=n(51459);let o=function(e,t,n){if(!(0,i.A)(e)&&!(0,a.A)(e))return e;var o=n;return(0,r.A)(e,function(e,n){o=t(o,e,n)}),o}},74447:(e,t,n)=>{"use strict";var r=n(15110);function i(e){e.register(r),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=i,i.displayName="chaiscript",i.aliases=[]},74465: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=[]},74566:e=>{"use strict";function t(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},74608:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},74673:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var r=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.x=0,this.y=0,this.width=0,this.height=0,this.x=e,this.y=t,this.width=n,this.height=r}return Object.defineProperty(e.prototype,"bottom",{get:function(){return this.y+this.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.x+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.y},enumerable:!1,configurable:!0}),e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e.prototype.toJSON=function(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.top,right:this.right,bottom:this.bottom,left:this.left}},e.prototype.isPointIn=function(e,t){return e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom},e}()},74947:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(62623).A},75088: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=[]},75137:(e,t,n)=>{"use strict";var r=n(40764),i=n(13314);t.highlight=o,t.highlightAuto=function(e,t){var n,s,l,c,u=t||{},d=u.subset||r.listLanguages(),h=u.prefix,p=d.length,f=-1;if(null==h&&(h=a),"string"!=typeof e)throw i("Expected `string` for value, got `%s`",e);for(s={relevance:0,language:null,value:[]},n={relevance:0,language:null,value:[]};++fs.relevance&&(s=l),l.relevance>n.relevance&&(s=n,n=l));return s.language&&(n.secondBest=s),n},t.registerLanguage=function(e,t){r.registerLanguage(e,t)},t.listLanguages=function(){return r.listLanguages()},t.registerAlias=function(e,t){var n,i=e;for(n in t&&((i={})[e]=t),i)r.registerAliases(i[n],{languageName:n})},s.prototype.addText=function(e){var t,n,r=this.stack;""!==e&&((n=(t=r[r.length-1]).children[t.children.length-1])&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e}))},s.prototype.addKeyword=function(e,t){this.openNode(t),this.addText(e),this.closeNode()},s.prototype.addSublanguage=function(e,t){var n=this.stack,r=n[n.length-1],i=e.rootNode.children;r.children=r.children.concat(t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i)},s.prototype.openNode=function(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],i={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(i),t.push(i)},s.prototype.closeNode=function(){this.stack.pop()},s.prototype.closeAllNodes=l,s.prototype.finalize=l,s.prototype.toHTML=function(){return""};var a="hljs-";function o(e,t,n){var o,l=r.configure({}),c=(n||{}).prefix;if("string"!=typeof e)throw i("Expected `string` for name, got `%s`",e);if(!r.getLanguage(e))throw i("Unknown language: `%s` is not registered",e);if("string"!=typeof t)throw i("Expected `string` for value, got `%s`",t);if(null==c&&(c=a),r.configure({__emitter:s,classPrefix:c}),o=r.highlight(t,{language:e,ignoreIllegals:!0}),r.configure(l||{}),o.errorRaised)throw o.errorRaised;return{relevance:o.relevance,language:o.language,value:o.emitter.rootNode.children}}function s(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function l(){}},75145:(e,t,n)=>{var r=n(50851),i=n(65531),a=n(17855);e.exports=function(e){return i(e)?a(e):r(e)}},75185:(e,t,n)=>{"use strict";n.d(t,{o:()=>function e(t,n){if(n(t))return!0;if("g"===t.tagName){let{childNodes:r=[]}=t;for(let t of r)if(e(t,n))return!0}return!1}})},75224:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(9819),i=n(85654),a=n(59947),o=n(78785),s=n(72804);function l(e,t){var n=(0,i.A)(!0),l=null,c=a.A,u=null,d=(0,o.i)(h);function h(i){var a,o,s,h=(i=(0,r.A)(i)).length,p=!1;for(null==l&&(u=c(s=d())),a=0;a<=h;++a)!(a{"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"]},75403:(e,t,n)=>{"use strict";function r(e,t){return[e[0]*t,e[1]*t]}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function a(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[Math.min(e[0],t[0]),Math.min(e[1],t[1])]}function s(e,t){return[Math.max(e[0],t[0]),Math.max(e[1],t[1])]}function l(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function c(e){if(0===e[0]&&0===e[1])return[0,0];var t=Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2));return[e[0]/t,e[1]/t]}function u(e,t){return t?[e[1],-e[0]]:[-e[1],e[0]]}n.d(t,{Io:()=>l,S8:()=>c,T9:()=>s,Vd:()=>u,WQ:()=>i,hs:()=>r,jb:()=>a,jk:()=>o})},75583: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=[]},75751:(e,t,n)=>{var r=n(23997);e.exports=function(e,t){return e&&e.length&&t&&t.length?r(e,t):e}},75825: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=[]},75866:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(79630),i=n(29300),a=n.n(i),o=n(12115),s=n(28562);let l=o.createContext({}),c={classNames:{},styles:{},className:"",style:{}};var u=n(57845);let d=function(){let{getPrefixCls:e,direction:t,csp:n,iconPrefixCls:r,theme:i}=o.useContext(u.Ay.ConfigContext);return{theme:i,getPrefixCls:e,direction:t,csp:n,iconPrefixCls:r}};var h=n(26791);function p(e){return"string"==typeof e}let f=({prefixCls:e})=>o.createElement("span",{className:`${e}-dot`},o.createElement("i",{className:`${e}-dot-item`,key:"item-1"}),o.createElement("i",{className:`${e}-dot-item`,key:"item-2"}),o.createElement("i",{className:`${e}-dot-item`,key:"item-3"}));var g=n(99841),m=n(61388),b=n(70445),y=n(70042),v=n(73383);let E=(0,g.an)(b.A.defaultAlgorithm),_={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},x=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:i,...a}=t,o={...r,override:i};return o=(0,v.A)(o),a&&Object.entries(a).forEach(([e,t])=>{let{theme:n,...r}=t,i=r;n&&(i=x({...o,...r},{override:r},n)),o[e]=i}),o},{genStyleHooks:A,genComponentStyleHook:S,genSubStyleComponent:w}=(0,m.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=d();return{iconPrefixCls:t,rootPrefixCls:e()}},useToken:()=>{let[e,t,n,r,i]=function(){let{token:e,hashed:t,theme:n=E,override:r,cssVar:i}=o.useContext(b.A._internalContext),[a,s,l]=(0,g.hV)(n,[b.A.defaultSeed,e],{salt:`1.6.1-${t||""}`,override:r,getComputedToken:x,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:y.Is,ignore:y.Xe,preserve:_}});return[n,l,t?s:"",a,i]}();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{let{csp:e}=d();return e??{}},layer:{name:"antdx",dependencies:["antd"]}}),O=new g.Mo("loadingMove",{"0%":{transform:"translateY(0)"},"10%":{transform:"translateY(4px)"},"20%":{transform:"translateY(0)"},"30%":{transform:"translateY(-4px)"},"40%":{transform:"translateY(0)"}}),C=new g.Mo("cursorBlink",{"0%":{opacity:1},"50%":{opacity:0},"100%":{opacity:1}}),k=A("Bubble",e=>{let t=(0,m.oX)(e,{});return[(e=>{let{componentCls:t,fontSize:n,lineHeight:r,paddingSM:i,colorText:a,calc:o}=e;return{[t]:{display:"flex",columnGap:i,[`&${t}-end`]:{justifyContent:"end",flexDirection:"row-reverse",[`& ${t}-content-wrapper`]:{alignItems:"flex-end"}},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-typing ${t}-content:last-child::after`]:{content:'"|"',fontWeight:900,userSelect:"none",opacity:1,marginInlineStart:"0.1em",animationName:C,animationDuration:"0.8s",animationIterationCount:"infinite",animationTimingFunction:"linear"},[`& ${t}-avatar`]:{display:"inline-flex",justifyContent:"center",alignSelf:"flex-start"},[`& ${t}-header, & ${t}-footer`]:{fontSize:n,lineHeight:r,color:e.colorText},[`& ${t}-header`]:{marginBottom:e.paddingXXS},[`& ${t}-footer`]:{marginTop:i},[`& ${t}-content-wrapper`]:{flex:"auto",display:"flex",flexDirection:"column",alignItems:"flex-start",minWidth:0,maxWidth:"100%"},[`& ${t}-content`]:{position:"relative",boxSizing:"border-box",minWidth:0,maxWidth:"100%",color:a,fontSize:e.fontSize,lineHeight:e.lineHeight,minHeight:o(i).mul(2).add(o(r).mul(n)).equal(),wordBreak:"break-word",[`& ${t}-dot`]:{position:"relative",height:"100%",display:"flex",alignItems:"center",columnGap:e.marginXS,padding:`0 ${(0,g.zA)(e.paddingXXS)}`,"&-item":{backgroundColor:e.colorPrimary,borderRadius:"100%",width:4,height:4,animationName:O,animationDuration:"2s",animationIterationCount:"infinite",animationTimingFunction:"linear","&:nth-child(1)":{animationDelay:"0s"},"&:nth-child(2)":{animationDelay:"0.2s"},"&:nth-child(3)":{animationDelay:"0.4s"}}}}}}})(t),(e=>{let{componentCls:t,padding:n}=e;return{[`${t}-list`]:{display:"flex",flexDirection:"column",gap:n,overflowY:"auto","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`}}}})(t),(e=>{let{componentCls:t,paddingSM:n,padding:r}=e;return{[t]:{[`${t}-content`]:{"&-filled,&-outlined,&-shadow":{padding:`${(0,g.zA)(n)} ${(0,g.zA)(r)}`,borderRadius:e.borderRadiusLG},"&-filled":{backgroundColor:e.colorFillContent},"&-outlined":{border:`1px solid ${e.colorBorderSecondary}`},"&-shadow":{boxShadow:e.boxShadowTertiary}}}}})(t),(e=>{let{componentCls:t,fontSize:n,lineHeight:r,paddingSM:i,padding:a,calc:o}=e,s=o(n).mul(r).div(2).add(i).equal(),l=`${t}-content`;return{[t]:{[l]:{"&-round":{borderRadius:{_skip_check_:!0,value:s},paddingInline:o(a).mul(1.25).equal()}},[`&-start ${l}-corner`]:{borderStartStartRadius:e.borderRadiusXS},[`&-end ${l}-corner`]:{borderStartEndRadius:e.borderRadiusXS}}}})(t)]},()=>({})),M=o.createContext({}),L=o.forwardRef((e,t)=>{let n,{prefixCls:i,className:u,rootClassName:g,style:m,classNames:b={},styles:y={},avatar:v,placement:E="start",loading:_=!1,loadingRender:x,typing:A,content:S="",messageRender:w,variant:O="filled",shape:C,onTypingComplete:L,header:I,footer:N,_key:R,...P}=e,{onUpdate:D}=o.useContext(M),j=o.useRef(null);o.useImperativeHandle(t,()=>({nativeElement:j.current}));let{direction:B,getPrefixCls:F}=d(),z=F("bubble",i),U=(e=>{let t=o.useContext(l);return o.useMemo(()=>({...c,...t[e]}),[t[e]])})("bubble"),[H,G,$,W]=function(e){return o.useMemo(()=>{if(!e)return[!1,0,0,null];let t={step:1,interval:50,suffix:null};return"object"==typeof e&&(t={...t,...e}),[!0,t.step,t.interval,t.suffix]},[e])}(A),[V,q]=((e,t,n,r)=>{let i=o.useRef(""),[a,s]=o.useState(1),l=t&&p(e);return(0,h.A)(()=>{if(!l&&p(e))s(e.length);else if(p(e)&&p(i.current)&&0!==e.indexOf(i.current)){if(!e||!i.current)return void s(1);let t=function(e,t){let n=0,r=Math.min(e.length,t.length);for(;n{if(l&&a{s(e=>e+n)},r);return()=>{clearTimeout(e)}}},[a,t,e]),[l?e.slice(0,a):e,l&&a{D?.()},[V]);let Y=o.useRef(!1);o.useEffect(()=>{q||_?Y.current=!1:Y.current||(Y.current=!0,L?.())},[q,_]);let[Z,X,K]=k(z),Q=a()(z,g,U.className,u,X,K,`${z}-${E}`,{[`${z}-rtl`]:"rtl"===B,[`${z}-typing`]:q&&!_&&!w&&!W}),J=o.useMemo(()=>o.isValidElement(v)?v:o.createElement(s.A,v),[v]),ee=o.useMemo(()=>w?w(V):V,[V,w]),et=e=>"function"==typeof e?e(V,{key:R}):e;n=_?x?x():o.createElement(f,{prefixCls:z}):o.createElement(o.Fragment,null,ee,q&&W);let en=o.createElement("div",{style:{...U.styles.content,...y.content},className:a()(`${z}-content`,`${z}-content-${O}`,C&&`${z}-content-${C}`,U.classNames.content,b.content)},n);return(I||N)&&(en=o.createElement("div",{className:`${z}-content-wrapper`},I&&o.createElement("div",{className:a()(`${z}-header`,U.classNames.header,b.header),style:{...U.styles.header,...y.header}},et(I)),en,N&&o.createElement("div",{className:a()(`${z}-footer`,U.classNames.footer,b.footer),style:{...U.styles.footer,...y.footer}},et(N)))),Z(o.createElement("div",(0,r.A)({style:{...U.style,...m},className:Q},P,{ref:j}),v&&o.createElement("div",{style:{...U.styles.avatar,...y.avatar},className:a()(`${z}-avatar`,U.classNames.avatar,b.avatar)},J),en))});var I=n(11719),N=n(40032);let R=o.memo(o.forwardRef(({_key:e,...t},n)=>o.createElement(L,(0,r.A)({},t,{_key:e,ref:t=>{t?n.current[e]=t:delete n.current?.[e]}}))));L.List=o.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:i,className:s,items:l,autoScroll:c=!0,roles:u,onScroll:h,...p}=e,f=(0,N.A)(p,{attr:!0,aria:!0}),g=o.useRef(null),m=o.useRef({}),{getPrefixCls:b}=d(),y=b("bubble",n),v=`${y}-list`,[E,_,x]=k(y),[A,S]=o.useState(!1);o.useEffect(()=>(S(!0),()=>{S(!1)}),[]);let w=function(e,t){let n=o.useCallback((e,n)=>"function"==typeof t?t(e,n):t&&t[e.role]||{},[t]);return o.useMemo(()=>(e||[]).map((e,t)=>{let r=e.key??`preset_${t}`;return{...n(e,t),...e,key:r}}),[e,n])}(l,u),[O,C]=o.useState(!0),[L,P]=o.useState(0);o.useEffect(()=>{c&&g.current&&O&&g.current.scrollTo({top:g.current.scrollHeight})},[L]),o.useEffect(()=>{if(c){let e=w[w.length-2]?.key,t=m.current[e];if(t){let{nativeElement:e}=t,{top:n,bottom:r}=e.getBoundingClientRect(),{top:i,bottom:a}=g.current.getBoundingClientRect();ni&&(P(e=>e+1),C(!0))}}},[w.length]),o.useImperativeHandle(t,()=>({nativeElement:g.current,scrollTo:({key:e,offset:t,behavior:n="smooth",block:r})=>{if("number"==typeof t)g.current.scrollTo({top:t,behavior:n});else if(void 0!==e){let t=m.current[e];t&&(C(w.findIndex(t=>t.key===e)===w.length-1),t.nativeElement.scrollIntoView({behavior:n,block:r}))}}}));let D=(0,I._q)(()=>{c&&P(e=>e+1)}),j=o.useMemo(()=>({onUpdate:D}),[]);return E(o.createElement(M.Provider,{value:j},o.createElement("div",(0,r.A)({},f,{className:a()(v,i,s,_,x,{[`${v}-reach-end`]:O}),ref:g,onScroll:e=>{let t=e.target;C(t.scrollHeight-Math.abs(t.scrollTop)-t.clientHeight<=1),h?.(e)}}),w.map(({key:e,...t})=>o.createElement(R,(0,r.A)({},t,{key:e,_key:e,ref:m,typing:!!A&&t.typing}))))))});let P=L},75997:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(86372);function i(e){let t="function"==typeof e?e:e.render;return class extends r.K9{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}},76148:(e,t,n)=>{"use strict";var r=n(19665);function i(e){e.register(r),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=i,i.displayName="vbnet",i.aliases=[]},76160:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,WD:()=>c,ah:()=>l});var r=n(1736),i=n(39001),a=n(32511);let o=(0,i.A)(r.A),s=o.right,l=o.left,c=(0,i.A)(a.A).center,u=s},76594: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=[]},76637:(e,t,n)=>{"use strict";n.r(t),n.d(t,{add:()=>Z,adjoint:()=>h,clone:()=>a,copy:()=>o,create:()=>i,decompose:()=>N,determinant:()=>p,equals:()=>ee,exactEquals:()=>J,frob:()=>Y,fromQuat:()=>D,fromQuat2:()=>k,fromRotation:()=>A,fromRotationTranslation:()=>C,fromRotationTranslationScale:()=>R,fromRotationTranslationScaleOrigin:()=>P,fromScaling:()=>x,fromTranslation:()=>_,fromValues:()=>s,fromXRotation:()=>S,fromYRotation:()=>w,fromZRotation:()=>O,frustum:()=>j,getRotation:()=>I,getScaling:()=>L,getTranslation:()=>M,identity:()=>c,invert:()=>d,lookAt:()=>W,mul:()=>et,multiply:()=>f,multiplyScalar:()=>K,multiplyScalarAndAdd:()=>Q,ortho:()=>G,orthoNO:()=>H,orthoZO:()=>$,perspective:()=>F,perspectiveFromFieldOfView:()=>U,perspectiveNO:()=>B,perspectiveZO:()=>z,rotate:()=>b,rotateX:()=>y,rotateY:()=>v,rotateZ:()=>E,scale:()=>m,set:()=>l,str:()=>q,sub:()=>en,subtract:()=>X,targetTo:()=>V,translate:()=>g,transpose:()=>u});var r=n(31142);function i(){var e=new r.tb(16);return r.tb!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function a(e){var t=new r.tb(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function s(e,t,n,i,a,o,s,l,c,u,d,h,p,f,g,m){var b=new r.tb(16);return b[0]=e,b[1]=t,b[2]=n,b[3]=i,b[4]=a,b[5]=o,b[6]=s,b[7]=l,b[8]=c,b[9]=u,b[10]=d,b[11]=h,b[12]=p,b[13]=f,b[14]=g,b[15]=m,b}function l(e,t,n,r,i,a,o,s,l,c,u,d,h,p,f,g,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=a,e[5]=o,e[6]=s,e[7]=l,e[8]=c,e[9]=u,e[10]=d,e[11]=h,e[12]=p,e[13]=f,e[14]=g,e[15]=m,e}function c(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function u(e,t){if(e===t){var n=t[1],r=t[2],i=t[3],a=t[6],o=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function d(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],p=t[11],f=t[12],g=t[13],m=t[14],b=t[15],y=n*s-r*o,v=n*l-i*o,E=n*c-a*o,_=r*l-i*s,x=r*c-a*s,A=i*c-a*l,S=u*g-d*f,w=u*m-h*f,O=u*b-p*f,C=d*m-h*g,k=d*b-p*g,M=h*b-p*m,L=y*M-v*k+E*C+_*O-x*w+A*S;return L?(L=1/L,e[0]=(s*M-l*k+c*C)*L,e[1]=(i*k-r*M-a*C)*L,e[2]=(g*A-m*x+b*_)*L,e[3]=(h*x-d*A-p*_)*L,e[4]=(l*O-o*M-c*w)*L,e[5]=(n*M-i*O+a*w)*L,e[6]=(m*E-f*A-b*v)*L,e[7]=(u*A-h*E+p*v)*L,e[8]=(o*k-s*O+c*S)*L,e[9]=(r*O-n*k-a*S)*L,e[10]=(f*x-g*E+b*y)*L,e[11]=(d*E-u*x-p*y)*L,e[12]=(s*w-o*C-l*S)*L,e[13]=(n*C-r*w+i*S)*L,e[14]=(g*v-f*_-m*y)*L,e[15]=(u*_-d*v+h*y)*L,e):null}function h(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=t[9],h=t[10],p=t[11],f=t[12],g=t[13],m=t[14],b=t[15],y=n*s-r*o,v=n*l-i*o,E=n*c-a*o,_=r*l-i*s,x=r*c-a*s,A=i*c-a*l,S=u*g-d*f,w=u*m-h*f,O=u*b-p*f,C=d*m-h*g,k=d*b-p*g,M=h*b-p*m;return e[0]=s*M-l*k+c*C,e[1]=i*k-r*M-a*C,e[2]=g*A-m*x+b*_,e[3]=h*x-d*A-p*_,e[4]=l*O-o*M-c*w,e[5]=n*M-i*O+a*w,e[6]=m*E-f*A-b*v,e[7]=u*A-h*E+p*v,e[8]=o*k-s*O+c*S,e[9]=r*O-n*k-a*S,e[10]=f*x-g*E+b*y,e[11]=d*E-u*x-p*y,e[12]=s*w-o*C-l*S,e[13]=n*C-r*w+i*S,e[14]=g*v-f*_-m*y,e[15]=u*_-d*v+h*y,e}function p(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],l=e[7],c=e[8],u=e[9],d=e[10],h=e[11],p=e[12],f=e[13],g=e[14],m=e[15],b=t*o-n*a,y=t*s-r*a,v=n*s-r*o,E=c*f-u*p,_=c*g-d*p,x=u*g-d*f;return l*(t*x-n*_+r*E)-i*(a*x-o*_+s*E)+m*(c*v-u*y+d*b)-h*(p*v-f*y+g*b)}function f(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],p=t[10],f=t[11],g=t[12],m=t[13],b=t[14],y=t[15],v=n[0],E=n[1],_=n[2],x=n[3];return e[0]=v*r+E*s+_*d+x*g,e[1]=v*i+E*l+_*h+x*m,e[2]=v*a+E*c+_*p+x*b,e[3]=v*o+E*u+_*f+x*y,v=n[4],E=n[5],_=n[6],x=n[7],e[4]=v*r+E*s+_*d+x*g,e[5]=v*i+E*l+_*h+x*m,e[6]=v*a+E*c+_*p+x*b,e[7]=v*o+E*u+_*f+x*y,v=n[8],E=n[9],_=n[10],x=n[11],e[8]=v*r+E*s+_*d+x*g,e[9]=v*i+E*l+_*h+x*m,e[10]=v*a+E*c+_*p+x*b,e[11]=v*o+E*u+_*f+x*y,v=n[12],E=n[13],_=n[14],x=n[15],e[12]=v*r+E*s+_*d+x*g,e[13]=v*i+E*l+_*h+x*m,e[14]=v*a+E*c+_*p+x*b,e[15]=v*o+E*u+_*f+x*y,e}function g(e,t,n){var r,i,a,o,s,l,c,u,d,h,p,f,g=n[0],m=n[1],b=n[2];return t===e?(e[12]=t[0]*g+t[4]*m+t[8]*b+t[12],e[13]=t[1]*g+t[5]*m+t[9]*b+t[13],e[14]=t[2]*g+t[6]*m+t[10]*b+t[14],e[15]=t[3]*g+t[7]*m+t[11]*b+t[15]):(r=t[0],i=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=t[9],p=t[10],f=t[11],e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e[6]=c,e[7]=u,e[8]=d,e[9]=h,e[10]=p,e[11]=f,e[12]=r*g+s*m+d*b+t[12],e[13]=i*g+l*m+h*b+t[13],e[14]=a*g+c*m+p*b+t[14],e[15]=o*g+u*m+f*b+t[15]),e}function m(e,t,n){var r=n[0],i=n[1],a=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function b(e,t,n,i){var a,o,s,l,c,u,d,h,p,f,g,m,b,y,v,E,_,x,A,S,w,O,C,k,M=i[0],L=i[1],I=i[2],N=Math.sqrt(M*M+L*L+I*I);return N0?(n[0]=(l*s+d*i+c*o-u*a)*2/h,n[1]=(c*s+d*a+u*i-l*o)*2/h,n[2]=(u*s+d*o+l*a-c*i)*2/h):(n[0]=(l*s+d*i+c*o-u*a)*2,n[1]=(c*s+d*a+u*i-l*o)*2,n[2]=(u*s+d*o+l*a-c*i)*2),C(e,t,n),e}function M(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function L(e,t){var n=t[0],r=t[1],i=t[2],a=t[4],o=t[5],s=t[6],l=t[8],c=t[9],u=t[10];return e[0]=Math.sqrt(n*n+r*r+i*i),e[1]=Math.sqrt(a*a+o*o+s*s),e[2]=Math.sqrt(l*l+c*c+u*u),e}function I(e,t){var n=new r.tb(3);L(n,t);var i=1/n[0],a=1/n[1],o=1/n[2],s=t[0]*i,l=t[1]*a,c=t[2]*o,u=t[4]*i,d=t[5]*a,h=t[6]*o,p=t[8]*i,f=t[9]*a,g=t[10]*o,m=s+d+g,b=0;return m>0?(b=2*Math.sqrt(m+1),e[3]=.25*b,e[0]=(h-f)/b,e[1]=(p-c)/b,e[2]=(l-u)/b):s>d&&s>g?(b=2*Math.sqrt(1+s-d-g),e[3]=(h-f)/b,e[0]=.25*b,e[1]=(l+u)/b,e[2]=(p+c)/b):d>g?(b=2*Math.sqrt(1+d-s-g),e[3]=(p-c)/b,e[0]=(l+u)/b,e[1]=.25*b,e[2]=(h+f)/b):(b=2*Math.sqrt(1+g-s-d),e[3]=(l-u)/b,e[0]=(p+c)/b,e[1]=(h+f)/b,e[2]=.25*b),e}function N(e,t,n,r){t[0]=r[12],t[1]=r[13],t[2]=r[14];var i=r[0],a=r[1],o=r[2],s=r[4],l=r[5],c=r[6],u=r[8],d=r[9],h=r[10];n[0]=Math.sqrt(i*i+a*a+o*o),n[1]=Math.sqrt(s*s+l*l+c*c),n[2]=Math.sqrt(u*u+d*d+h*h);var p=1/n[0],f=1/n[1],g=1/n[2],m=i*p,b=a*f,y=o*g,v=s*p,E=l*f,_=c*g,x=u*p,A=d*f,S=h*g,w=m+E+S,O=0;return w>0?(O=2*Math.sqrt(w+1),e[3]=.25*O,e[0]=(_-A)/O,e[1]=(x-y)/O,e[2]=(b-v)/O):m>E&&m>S?(O=2*Math.sqrt(1+m-E-S),e[3]=(_-A)/O,e[0]=.25*O,e[1]=(b+v)/O,e[2]=(x+y)/O):E>S?(O=2*Math.sqrt(1+E-m-S),e[3]=(x-y)/O,e[0]=(b+v)/O,e[1]=.25*O,e[2]=(_+A)/O):(O=2*Math.sqrt(1+S-m-E),e[3]=(b-v)/O,e[0]=(x+y)/O,e[1]=(_+A)/O,e[2]=.25*O),e}function R(e,t,n,r){var i=t[0],a=t[1],o=t[2],s=t[3],l=i+i,c=a+a,u=o+o,d=i*l,h=i*c,p=i*u,f=a*c,g=a*u,m=o*u,b=s*l,y=s*c,v=s*u,E=r[0],_=r[1],x=r[2];return e[0]=(1-(f+m))*E,e[1]=(h+v)*E,e[2]=(p-y)*E,e[3]=0,e[4]=(h-v)*_,e[5]=(1-(d+m))*_,e[6]=(g+b)*_,e[7]=0,e[8]=(p+y)*x,e[9]=(g-b)*x,e[10]=(1-(d+f))*x,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function P(e,t,n,r,i){var a=t[0],o=t[1],s=t[2],l=t[3],c=a+a,u=o+o,d=s+s,h=a*c,p=a*u,f=a*d,g=o*u,m=o*d,b=s*d,y=l*c,v=l*u,E=l*d,_=r[0],x=r[1],A=r[2],S=i[0],w=i[1],O=i[2],C=(1-(g+b))*_,k=(p+E)*_,M=(f-v)*_,L=(p-E)*x,I=(1-(h+b))*x,N=(m+y)*x,R=(f+v)*A,P=(m-y)*A,D=(1-(h+g))*A;return e[0]=C,e[1]=k,e[2]=M,e[3]=0,e[4]=L,e[5]=I,e[6]=N,e[7]=0,e[8]=R,e[9]=P,e[10]=D,e[11]=0,e[12]=n[0]+S-(C*S+L*w+R*O),e[13]=n[1]+w-(k*S+I*w+P*O),e[14]=n[2]+O-(M*S+N*w+D*O),e[15]=1,e}function D(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n+n,s=r+r,l=i+i,c=n*o,u=r*o,d=r*s,h=i*o,p=i*s,f=i*l,g=a*o,m=a*s,b=a*l;return e[0]=1-d-f,e[1]=u+b,e[2]=h-m,e[3]=0,e[4]=u-b,e[5]=1-c-f,e[6]=p+g,e[7]=0,e[8]=h+m,e[9]=p-g,e[10]=1-c-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function j(e,t,n,r,i,a,o){var s=1/(n-t),l=1/(i-r),c=1/(a-o);return e[0]=2*a*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*a*l,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(i+r)*l,e[10]=(o+a)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*c,e[15]=0,e}function B(e,t,n,r,i){var a=1/Math.tan(t/2);if(e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0){var o=1/(r-i);e[10]=(i+r)*o,e[14]=2*i*r*o}else e[10]=-1,e[14]=-2*r;return e}var F=B;function z(e,t,n,r,i){var a=1/Math.tan(t/2);if(e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0){var o=1/(r-i);e[10]=i*o,e[14]=i*r*o}else e[10]=-1,e[14]=-r;return e}function U(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),s=Math.tan(t.rightDegrees*Math.PI/180),l=2/(o+s),c=2/(i+a);return e[0]=l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-((o-s)*l*.5),e[9]=(i-a)*c*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function H(e,t,n,r,i,a,o){var s=1/(t-n),l=1/(r-i),c=1/(a-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=(o+a)*c,e[15]=1,e}var G=H;function $(e,t,n,r,i,a,o){var s=1/(t-n),l=1/(r-i),c=1/(a-o);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*l,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=c,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*l,e[14]=a*c,e[15]=1,e}function W(e,t,n,i){var a,o,s,l,u,d,h,p,f,g,m=t[0],b=t[1],y=t[2],v=i[0],E=i[1],_=i[2],x=n[0],A=n[1],S=n[2];return Math.abs(m-x)0&&(u*=p=1/Math.sqrt(p),d*=p,h*=p);var f=l*h-c*d,g=c*u-s*h,m=s*d-l*u;return(p=f*f+g*g+m*m)>0&&(f*=p=1/Math.sqrt(p),g*=p,m*=p),e[0]=f,e[1]=g,e[2]=m,e[3]=0,e[4]=d*m-h*g,e[5]=h*f-u*m,e[6]=u*g-d*f,e[7]=0,e[8]=u,e[9]=d,e[10]=h,e[11]=0,e[12]=i,e[13]=a,e[14]=o,e[15]=1,e}function q(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function Y(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]+e[3]*e[3]+e[4]*e[4]+e[5]*e[5]+e[6]*e[6]+e[7]*e[7]+e[8]*e[8]+e[9]*e[9]+e[10]*e[10]+e[11]*e[11]+e[12]*e[12]+e[13]*e[13]+e[14]*e[14]+e[15]*e[15])}function Z(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function X(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function K(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Q(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function J(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function ee(e,t){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],l=e[5],c=e[6],u=e[7],d=e[8],h=e[9],p=e[10],f=e[11],g=e[12],m=e[13],b=e[14],y=e[15],v=t[0],E=t[1],_=t[2],x=t[3],A=t[4],S=t[5],w=t[6],O=t[7],C=t[8],k=t[9],M=t[10],L=t[11],I=t[12],N=t[13],R=t[14],P=t[15];return Math.abs(n-v)<=r.p8*Math.max(1,Math.abs(n),Math.abs(v))&&Math.abs(i-E)<=r.p8*Math.max(1,Math.abs(i),Math.abs(E))&&Math.abs(a-_)<=r.p8*Math.max(1,Math.abs(a),Math.abs(_))&&Math.abs(o-x)<=r.p8*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(s-A)<=r.p8*Math.max(1,Math.abs(s),Math.abs(A))&&Math.abs(l-S)<=r.p8*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(c-w)<=r.p8*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(u-O)<=r.p8*Math.max(1,Math.abs(u),Math.abs(O))&&Math.abs(d-C)<=r.p8*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(h-k)<=r.p8*Math.max(1,Math.abs(h),Math.abs(k))&&Math.abs(p-M)<=r.p8*Math.max(1,Math.abs(p),Math.abs(M))&&Math.abs(f-L)<=r.p8*Math.max(1,Math.abs(f),Math.abs(L))&&Math.abs(g-I)<=r.p8*Math.max(1,Math.abs(g),Math.abs(I))&&Math.abs(m-N)<=r.p8*Math.max(1,Math.abs(m),Math.abs(N))&&Math.abs(b-R)<=r.p8*Math.max(1,Math.abs(b),Math.abs(R))&&Math.abs(y-P)<=r.p8*Math.max(1,Math.abs(y),Math.abs(P))}var et=f,en=X},76646:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},76722:(e,t,n)=>{"use strict";n.d(t,{Hx:()=>a,Md:()=>o,Ui:()=>i,mU:()=>s});var r=n(37022),i={fill:"#fff",lineWidth:1,radius:2,size:10,stroke:"#bfbfbf",strokeOpacity:1,zIndex:0},a={fill:"#000",fillOpacity:.45,fontSize:12,textAlign:"center",textBaseline:"middle",zIndex:1},o={x:0,y:0,orientation:"horizontal",showLabel:!0,type:"start"},s=(0,r.x)({foreground:"foreground",handle:"handle",selection:"selection",sparkline:"sparkline",sparklineGroup:"sparkline-group",track:"track",brushArea:"brush-area"},"slider")},76896: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=[]},77229:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});let r={BEFORE_RENDER:"beforerender",AFTER_RENDER:"afterrender",BEFORE_PAINT:"beforepaint",AFTER_PAINT:"afterpaint",BEFORE_CHANGE_DATA:"beforechangedata",AFTER_CHANGE_DATA:"afterchangedata",BEFORE_CLEAR:"beforeclear",AFTER_CLEAR:"afterclear",BEFORE_DESTROY:"beforedestroy",AFTER_DESTROY:"afterdestroy",BEFORE_CHANGE_SIZE:"beforechangesize",AFTER_CHANGE_SIZE:"afterchangesize",POINTER_TAP:"pointertap",POINTER_DOWN:"pointerdown",POINTER_UP:"pointerup",POINTER_OVER:"pointerover",POINTER_OUT:"pointerout",POINTER_MOVE:"pointermove",POINTER_ENTER:"pointerenter",POINTER_LEAVE:"pointerleave",POINTER_UPOUTSIDE:"pointerupoutside",DRAG_START:"dragstart",DRAG:"drag",DRAG_END:"dragend",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"DROP",CLICK:"click",DBLCLICK:"dblclick"}},77350: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 r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,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=[]},77536: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=[]},77568:(e,t,n)=>{"use strict";n.d(t,{E:()=>f,h:()=>g});var r=n(39249),i=n(73534),a=n(37022),o=n(96816),s=n(32481),l=n(68058),c=n(25832),u=n(14379),d=n(48875),h=n(34742),p=(0,a.x)({markerGroup:"marker-group",marker:"marker",labelGroup:"label-group",label:"label"},"handle"),f={showLabel:!0,formatter:function(e){return e.toString()},markerSize:25,markerStroke:"#c5c5c5",markerFill:"#fff",markerLineWidth:1,labelFontSize:12,labelFill:"#c5c5c5",labelText:"",orientation:"vertical",spacing:0},g=function(e){function t(t){return e.call(this,t,f)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t){var n=(0,o.Lt)(t).maybeAppendByClassName(p.markerGroup,"g");this.renderMarker(n);var r=(0,o.Lt)(t).maybeAppendByClassName(p.labelGroup,"g");this.renderLabel(r)},t.prototype.renderMarker=function(e){var t=this,n=this.attributes,i=n.orientation,a=n.classNamePrefix,o=n.markerSymbol,f=void 0===o?(0,u.sI)(i,"horizontalHandle","verticalHandle"):o;(0,s.V)(!!f,e,function(e){var n=(0,l.iA)(t.attributes,"marker"),i=(0,r.Cl)({symbol:f},n),o=(0,d.X)(p.marker.name,h.n.handleMarker,a);if(t.marker=e.maybeAppendByClassName(p.marker,function(){return new c.p({style:i,className:o})}).update(i),a){var s=t.marker.node().querySelector(".marker");if(s){var u=(s.getAttribute("class")||"").split(" ")[0],g=(0,d.X)(u,h.n.handleMarker,a);s.setAttribute("class",g)}}})},t.prototype.renderLabel=function(e){var t=this,n=this.attributes,i=n.showLabel,a=n.orientation,o=n.spacing,c=void 0===o?0:o,f=n.formatter,g=n.classNamePrefix;(0,s.V)(i,e,function(e){var n,i=(0,l.iA)(t.attributes,"label"),o=i.text,s=(0,r.Tt)(i,["text"]),m=(null==(n=e.select(p.marker.class))?void 0:n.node().getBBox())||{},b=m.width,y=m.height,v=(0,r.zs)((0,u.sI)(a,[0,(void 0===y?0:y)+c,"center","top"],[(void 0===b?0:b)+c,0,"start","middle"]),4),E=v[0],_=v[1],x=v[2],A=v[3],S=(0,d.X)(p.label.name,h.n.handleLabel,g);e.maybeAppendByClassName(p.label,"text").attr("className",S).styles((0,r.Cl)((0,r.Cl)({},s),{x:E,y:_,text:f(o).toString(),textAlign:x,textBaseline:A}))})},t}(i.u)},77680: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,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero 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".trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,a=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},s=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[s]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[a]),lookbehind:!0,inside:o},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[a]),lookbehind:!0,inside:o}],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,[s]),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"]},78115: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"]},78179: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"]},78385:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(42338),i=n(25832),a=n(75224),o=n(75997),s=n(30360),l=n(79135),c=n(63975),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 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 d=(0,o.n)(e=>{let t,n=e.attributes,{className:o,class:d,transform:h,rotate:p,labelTransform:f,labelTransformOrigin:g,x:m,y:b,x0:y=m,y0:v=b,text:E,background:_,connector:x,startMarker:A,endMarker:S,coordCenter:w,innerHTML:O}=n,C=u(n,["className","class","transform","rotate","labelTransform","labelTransformOrigin","x","y","x0","y0","text","background","connector","startMarker","endMarker","coordCenter","innerHTML"]);if(e.style.transform=`translate(${m}, ${b})`,[m,b,y,v].some(e=>!(0,r.A)(e)))return void e.children.forEach(e=>e.remove());let k=(0,l.Uq)(C,"background"),{padding:M}=k,L=u(k,["padding"]),I=(0,l.Uq)(C,"connector"),{points:N=[]}=I,R=u(I,["points"]);t=O?(0,c.c)(e).maybeAppend("html","html",o).style("zIndex",0).style("innerHTML",O).call(s.AV,Object.assign({transform:f,transformOrigin:g},C)).node():(0,c.c)(e).maybeAppend("text","text").style("zIndex",0).style("text",E).call(s.AV,Object.assign({textBaseline:"middle",transform:f,transformOrigin:g},C)).node();let P=(0,c.c)(e).maybeAppend("background","rect").style("zIndex",-1).call(s.AV,function(e,t=[]){let[n=0,r=0,i=n,a=r]=t,o=e.parentNode,s=o.getEulerAngles();o.setEulerAngles(0);let{min:l,halfExtents:c}=e.getLocalBounds(),[u,d]=l,[h,p]=c;return o.setEulerAngles(s),{x:u-a,y:d-n,width:2*h+a+r,height:2*p+n+i}}(t,M)).call(s.AV,_?L:{}).node(),D=+y(0,a.A)()(e);if(!t[0]&&!t[1])return s([function(e){let{min:[t,n],max:[r,i]}=e.getLocalBounds(),a=0,o=0;return t>0&&(a=t),r<0&&(a=r),n>0&&(o=n),i<0&&(o=i),[a,o]}(e),t]);if(!n.length)return s([[0,0],t]);let[l,c]=n,u=[...c],d=[...l];if(c[0]!==l[0]){let e=i?-4:4;u[1]=c[1],o&&!i&&(u[0]=Math.max(l[0],c[0]-e),c[1]l[1]?d[1]=u[1]:(d[1]=l[1],d[0]=Math.max(d[0],u[0]-e))),!o&&i&&(u[0]=Math.min(l[0],c[0]-e),c[1]>l[1]?d[1]=u[1]:(d[1]=l[1],d[0]=Math.min(d[0],u[0]-e))),o&&i&&(u[0]=Math.min(l[0],c[0]-e),c[1]{"use strict";var r=n(42093);function i(e){e.register(r),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=i,i.displayName="tt2",i.aliases=[]},78450:(e,t,n)=>{"use strict";n.d(t,{Io:()=>o,M7:()=>h,Sy:()=>b,Wp:()=>m,bU:()=>u,d9:()=>E,iP:()=>d,kF:()=>l,oe:()=>g,tT:()=>_});var r=n(85757),i=n(32819),a=n(50107);function o(e,t,n,r){var i=e-n,a=t-r;return Math.sqrt(i*i+a*a)}function s(e,t){var n=Math.min.apply(Math,(0,r.A)(e)),i=Math.min.apply(Math,(0,r.A)(t));return{x:n,y:i,width:Math.max.apply(Math,(0,r.A)(e))-n,height:Math.max.apply(Math,(0,r.A)(t))-i}}function l(e,t,n,r,i,a,o){for(var s=Math.atan(-r/n*Math.tan(i)),l=1/0,c=-1/0,u=[a,o],d=-(2*Math.PI);d<=2*Math.PI;d+=Math.PI){var h=s+d;ac&&(c=g)}for(var m=Math.atan(r/(n*Math.tan(i))),b=1/0,y=-1/0,v=[a,o],E=-(2*Math.PI);E<=2*Math.PI;E+=Math.PI){var _=m+E;ay&&(y=S)}return{x:l,y:b,width:c-l,height:y-b}}function c(e,t,n,i,a,s){var l=-1,c=1/0,u=[n,i],d=20;s&&s>200&&(d=s/10);for(var h=1/d,p=h/10,f=0;f<=d;f++){var g=f*h,m=[a.apply(void 0,(0,r.A)(e.concat([g]))),a.apply(void 0,(0,r.A)(t.concat([g])))],b=o(u[0],u[1],m[0],m[1]);b=0&&A=0&&a<=1&&d.push(a);else{var h=c*c-4*l*u;(0,i.A)(h,0)?d.push(-c/(2*l)):h>0&&(a=(-c+(s=Math.sqrt(h)))/(2*l),o=(-c-s)/(2*l),a>=0&&a<=1&&d.push(a),o>=0&&o<=1&&d.push(o))}return d}function g(e,t,n,r,i,a,o,l){for(var c=[e,o],u=[t,l],d=f(e,n,i,o),h=f(t,r,a,l),g=0;g=0?[a]:[]}function E(e,t,n,r,i,a){var o=v(e,n,i)[0],l=v(t,r,a)[0],c=[e,i],u=[t,a];return void 0!==o&&c.push(y(e,n,i,o)),void 0!==l&&u.push(y(t,r,a,l)),s(c,u)}function _(e,t,n,r,i,a,s,l){var u=c([e,n,i],[t,r,a],s,l,y);return o(u.x,u.y,s,l)}},78687: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=[]},78732:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(39249),i=n(32847),a=n(11330),o=n(95483),s=function(e){var t,n,i=(void 0===(t=e)&&(t=!0),["".concat(o.UX),"".concat(o.UX).concat(o.Qo).concat(t?"":"?","W").concat(o.V8,"(").concat(o.Qo).concat(t?"":"?").concat(o.DJ,")?"),"".concat(o.Lp).concat(o.Qo).concat(t?"":"?").concat(o.d_).concat(o.Qo).concat(t?"":"?").concat(o.UX),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Lp).concat(o.Qo).concat(t?"":"?").concat(o.d_),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Lp),"".concat(o.UX).concat(o.Qo).concat(t?"":"?").concat(o.Wt)]),a=(void 0===(n=e)&&(n=!0),["".concat(o.dp,":").concat(n?"":"?").concat(o.pY,":").concat(n?"":"?").concat(o.Z2,"([.,]").concat(o.oG,")?").concat(o.e$,"?"),"".concat(o.dp,":").concat(n?"":"?").concat(o.pY,"?").concat(o.e$)]),s=(0,r.fX)((0,r.fX)([],(0,r.zs)(i),!1),(0,r.zs)(a),!1);return i.forEach(function(e){a.forEach(function(t){s.push("".concat(e,"[T\\s]").concat(t))})}),s.map(function(e){return new RegExp("^".concat(e,"$"))})};function l(e,t){if((0,a.Kg)(e)){for(var n=s(t),r=0;r0&&(m.generateColumns([0],null==n?void 0:n.columns),m.colData=[m.data],m.data=m.data.map(function(e){return[e]})),(0,a.cy)(v)){var E=(0,c.y1)(v.length);m.generateDataAndColDataFromArray(!1,t,E,null==n?void 0:n.fillValue,null==n?void 0:n.columnTypes),m.generateColumns(E,null==n?void 0:n.columns)}if((0,a.Gv)(v)){for(var _=[],b=0;b=0&&g>=0||m.length>0,"The rowLoc is not found in the indexes."),f>=0&&g>=0&&(O=this.data.slice(f,g),C=this.indexes.slice(f,g)),m.length>0)for(var o=0;o=0&&y>=0){for(var o=0;o0){for(var k=[],M=O.slice(),o=0;o=0&&p>=0||f.length>0,"The colLoc is illegal"),(0,a.Fq)(n)&&(0,c.y1)(this.columns.length).includes(n)&&(g=n,m=n+1),(0,a.cy)(n))for(var o=0;o=0&&p>=0||f.length>0,"The rowLoc is not found in the indexes.");var S=[],w=[];if(h>=0&&p>=0)S=this.data.slice(h,p),w=this.indexes.slice(h,p);else if(f.length>0)for(var o=0;o=0&&m>=0||b.length>0,"The colLoc is not found in the columns index."),g>=0&&m>=0){for(var o=0;o0){for(var O=[],C=S.slice(),o=0;o1){var A={},S=b;v.forEach(function(t){"date"===t?(A.date=e(S.filter(function(e){return l(e)}),n),S=S.filter(function(e){return!l(e)})):"integer"===t?(A.integer=e(S.filter(function(e){return(0,a.u_)(e)&&!l(e)}),n),S=S.filter(function(e){return!(0,a.u_)(e)})):"float"===t?(A.float=e(S.filter(function(e){return(0,a.Oq)(e)&&!l(e)}),n),S=S.filter(function(e){return!(0,a.Oq)(e)})):"string"===t&&(A.string=e(S.filter(function(e){return"string"===d(e,n)})),S=S.filter(function(e){return"string"!==d(e,n)}))}),x.meta=A}2===x.distinct&&"date"!==x.recommendation&&(g.length>=100?x.recommendation="boolean":(0,a.Lm)(_,!0)&&(x.recommendation="boolean")),"string"===f&&Object.assign(x,(o=(r=b.map(function(e){return"".concat(e)})).map(function(e){return e.length}),{maxLength:(0,i.T9)(o),minLength:(0,i.jk)(o),meanLength:(0,i.i2)(o),containsChar:r.some(function(e){return/[A-z]/.test(e)}),containsDigit:r.some(function(e){return/[0-9]/.test(e)}),containsSpace:r.some(function(e){return/\s/.test(e)})})),("integer"===f||"float"===f)&&Object.assign(x,(s=b.map(function(e){return+e}),{minimum:(0,i.jk)(s),maximum:(0,i.T9)(s),mean:(0,i.i2)(s),percentile5:(0,i.YV)(s,5),percentile25:(0,i.YV)(s,25),percentile50:(0,i.YV)(s,50),percentile75:(0,i.YV)(s,75),percentile95:(0,i.YV)(s,95),sum:(0,i.cz)(s),variance:(0,i.GV)(s),standardDeviation:(0,i.Fx)(s),zeros:s.filter(function(e){return 0===e}).length})),"date"===f&&Object.assign(x,(h="integer"===x.type,p=b.map(function(e){if(h){var t="".concat(e);if(8===t.length)return new Date("".concat(t.substring(0,4),"/").concat(t.substring(4,2),"/").concat(t.substring(6,2))).getTime()}return new Date(e).getTime()}),{minimum:b[(0,i.z9)(p)],maximum:b[(0,i.P2)(p)]}));var w=[];return"boolean"!==x.recommendation&&("string"!==x.recommendation||u(x))||w.push("Nominal"),u(x)&&w.push("Ordinal"),("integer"===x.recommendation||"float"===x.recommendation)&&w.push("Interval"),"integer"===x.recommendation&&w.push("Discrete"),"float"===x.recommendation&&w.push("Continuous"),"date"===x.recommendation&&w.push("Time"),x.levelOfMeasurements=w,x}(this.colData[n],this.extra.strictDatePattern)),{name:String(o)}))}return t},t.prototype.toString=function(){for(var e=this,t=Array(this.columns.length+1).fill(0),n=0;nt[0]&&(t[0]=r)}for(var n=0;nt[n+1]&&(t[n+1]=r)}for(var n=0;nt[n+1]&&(t[n+1]=r)}return"".concat(g(t[0])).concat(this.columns.map(function(n,r){return"".concat(n).concat(r!==e.columns.length?g(t[r+1]-b(n)+2):"")}).join(""),"\n").concat(this.indexes.map(function(n,r){var i;return"".concat(n).concat(g(t[0]-b(n))).concat(null==(i=e.data[r])?void 0:i.map(function(n,r){return"".concat(m(n)).concat(r!==e.columns.length?g(t[r+1]-b(n)):"")}).join("")).concat(r!==e.indexes.length?"\n":"")}).join(""))},t}(v)},78785:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(58857);function i(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new r.wA(t)}},79121:(e,t,n)=>{"use strict";function r(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function i(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=o)):void 0===t&&(t=a);for(var n,r,i,s,u,d=new c(e),h=[d];n=h.pop();)if((i=t(n.data))&&(u=(i=Array.from(i)).length))for(n.children=i,s=u-1;s>=0;--s)h.push(r=i[s]=new c(i[s])),r.parent=n,r.depth=n.depth+1;return d.eachBefore(l)}function a(e){return e.children}function o(e){return Array.isArray(e)?e[1]:null}function s(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function l(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function c(e){this.data=e,this.depth=this.height=0,this.parent=null}n.d(t,{bP:()=>c,lW:()=>l,Ay:()=>i}),c.prototype=i.prototype={constructor:c,count:function(){return this.eachAfter(r)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){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;r=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return i(this).eachBefore(s)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n{"use strict";n.d(t,{D6:()=>s,D_:()=>u,Eg:()=>function e(t,n,r=5,a=0){if(!(a>=r)){for(let o of Object.keys(n)){let s=n[o];(0,i.A)(s)&&(0,i.A)(t[o])?e(t[o],s,r,a+1):t[o]=s}return t}},FX:()=>y,K$:()=>w,Kr:()=>b,L_:()=>S,MT:()=>E,N0:()=>h,ND:()=>p,P:()=>A,Uq:()=>v,YT:()=>_,Zz:()=>d,c6:()=>c,qu:()=>l,rA:()=>x,sw:()=>m,ts:()=>g,z3:()=>f});var r=n(5738),i=n(51459),a=n(67998),o=n(24223);function s(e){let{markType:t,nodeName:n}=e;return"heatmap"===t&&"image"===n}function l(e,t){let n=null!=t?t:function(e){var t;let n=e;for(;n;){if((null==(t=n.attributes)?void 0:t.class)==="view")return n;n=n.parentNode}return null}(e).__data__,{markKey:r,index:i,seriesIndex:a,normalized:o={x:0}}=e.__data__,{markState:l}=n,c=Array.from(l.keys()).find(e=>e.key===r);if(c)return a?a.map(e=>c.data[e]):s(e)?c.data[Math.round(c.data.length*o.x)]:c.data[i]}function c(e,t){let{color:n,facet:r=!1}=e,{color:i,series:s}=t,l=function(e,t){var n,r,i,a;let o=null!=(n=t.markKey)?n:null==(i=null==(r=t.element)?void 0:r.__data__)?void 0:i.markKey,s=Object.keys(e).find(t=>{if(t.startsWith("series")){let n=e[t].getOptions();return"series"===n.name&&n.markKey===o}});return null!=(a=e[s])?a:e.series}(e,t),c=e=>e&&e.invert&&!(e instanceof a.w)&&!(e instanceof o.h);if(c(l))return l.clone().invert(s);if(s&&l instanceof a.w&&l.invert(s)!==i&&!r)return l.invert(s);if(c(n)){let e=n.invert(i);return Array.isArray(e)?null:e}return null}function u(e){return e}function d(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),u)}function h(e){return e.reduce((e,t)=>n=>{var r,i,a,o;return r=this,i=void 0,a=void 0,o=function*(){return t((yield e(n)))},new(a||(a=Promise))(function(e,t){function n(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof a?r:new a(function(e){e(r)})).then(n,s)}l((o=o.apply(r,i||[])).next())})},u)}function p(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function f(e=""){throw Error(e)}function g(e,t){let{attributes:n}=t,r=new Set(["id","className"]);for(let[t,i]of Object.entries(n))r.has(t)||e.attr(t,i)}function m(e){return null!=e&&!Number.isNaN(e)}function b(e){let t=new Map;return n=>{if(t.has(n))return t.get(n);let r=e(n);return t.set(n,r),r}}function y(e,t){let{transform:n}=e.style;e.style.transform=`${"none"===n||void 0===n?"":n} ${t}`.trimStart()}function v(e,t){return E(e,t)||{}}function E(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[(0,r.A)(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function _(e,t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.find(t=>e.startsWith(t))))}function x(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function A(e,t){if(void 0===e)return null;if("number"==typeof e)return e;let n=+e.replace("%","");return Number.isNaN(n)?null:n/100*t}function S(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function w(e){return null===e||!1===e}},79302:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',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:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',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:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},79430:(e,t,n)=>{"use strict";n.d(t,{p:()=>function e(t,n,r,i){if(void 0===i&&(i=0),i>50)return console.warn("Maximum recursion depth reached in equalizeSegments"),[t,n];var o=a(t),s=a(n),l=o.length,c=s.length,u=o.filter(function(e){return e.l}).length,d=s.filter(function(e){return e.l}).length,h=o.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/u||0,p=s.filter(function(e){return e.l}).reduce(function(e,t){return e+t.l},0)/d||0,f=r||Math.max(l,c),g=[h,p],m=[f-l,f-c],b=0,y=[o,s].map(function(e,t){return e.l===f?e.map(function(e){return e.s}):e.map(function(e,n){return b=n&&m[t]&&e.l>=g[t],m[t]-=!!b,b?e.ss:[e.s]}).flat()});return y[0].length===y[1].length?y:e(y[0],y[1],f,i+1)}});var r=n(11716),i=n(48624);function a(e){return e.map(function(e,t,n){var a,o,s,l,c,u,d,h,p,f,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,i.y)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===a&&(a=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.l)(o,s,a),d=(0,r.l)(s,l,a),h=(0,r.l)(l,c,a),p=(0,r.l)(u,d,a),f=(0,r.l)(d,h,a),g=(0,r.l)(p,f,a),[["C"].concat(u,p,g),["C"].concat(f,h,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},79535:(e,t,n)=>{"use strict";n.d(t,{E:()=>c,z:()=>l});var r=n(39249),i=n(69138),a=n(42338),o=n(72679),s=n(86372);function l(e){return"function"==typeof e?e():(0,i.A)(e)||(0,a.A)(e)?new o.E({style:{text:String(e)}}):e}function c(e,t){return"function"==typeof e?e():(0,i.A)(e)||(0,a.A)(e)?new s.g3({style:(0,r.Cl)((0,r.Cl)({pointerEvents:"auto"},t),{innerHTML:e})}):e}},79848: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=[]},81036:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n=i)&&(n=i)}return n}n.d(t,{A:()=>r})},81077:e=>{"use strict";e.exports=function(e,n){for(var r,i,a,o=e||"",s=n||"div",l={},c=0;c{"use strict";n.d(t,{A:()=>Z});var r=n(39249),i=n(86372),a=n(31563),o=n(52691),s=n(73534),l=n(72679),c=n(68058),u=n(8798),d=n(87287),h=n(96816),p=n(32481),f=n(26515),g=n(40456);function m({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):n}function b(e){return"object"==typeof e?e.valueOf():e}class y extends Map{constructor(e){if(super(),this.map=new Map,this.initKey=b,null!==e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(m({map:this.map,initKey:this.initKey},e))}has(e){return super.has(m({map:this.map,initKey:this.initKey},e))}set(e,t){return super.set(function({map:e,initKey:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}({map:this.map,initKey:this.initKey},e),t)}delete(e){return super.delete(function({map:e,initKey:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}({map:this.map,initKey:this.initKey},e))}}var v=n(51927);let E=Symbol("defaultUnknown");function _(e,t,n){for(let r=0;r`${e}`:"object"==typeof e?e=>JSON.stringify(e):e=>e}class S extends v.C{getDefaultOptions(){return{domain:[],range:[],unknown:E}}constructor(e){super(e)}map(e){return 0===this.domainIndexMap.size&&_(this.domainIndexMap,this.getDomain(),this.domainKey),x({value:this.domainKey(e),mapper:this.domainIndexMap,from:this.getDomain(),to:this.getRange(),notFoundReturn:this.options.unknown})}invert(e){return 0===this.rangeIndexMap.size&&_(this.rangeIndexMap,this.getRange(),this.rangeKey),x({value:this.rangeKey(e),mapper:this.rangeIndexMap,from:this.getRange(),to:this.getDomain(),notFoundReturn:this.options.unknown})}rescale(e){let[t]=this.options.domain,[n]=this.options.range;if(this.domainKey=A(t),this.rangeKey=A(n),!this.rangeIndexMap){this.rangeIndexMap=new Map,this.domainIndexMap=new Map;return}(!e||e.range)&&this.rangeIndexMap.clear(),(!e||e.domain||e.compare)&&(this.domainIndexMap.clear(),this.sortedDomain=void 0)}clone(){return new S(this.options)}getRange(){return this.options.range}getDomain(){if(this.sortedDomain)return this.sortedDomain;let{domain:e,compare:t}=this.options;return this.sortedDomain=t?[...e].sort(t):e,this.sortedDomain}}class w extends S{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,paddingInner:0,paddingOuter:0,padding:0,unknown:E,flex:[]}}constructor(e){super(e)}clone(){return new w(this.options)}getStep(e){return void 0===this.valueStep?1:"number"==typeof this.valueStep?this.valueStep:void 0===e?Array.from(this.valueStep.values())[0]:this.valueStep.get(e)}getBandWidth(e){return void 0===this.valueBandWidth?1:"number"==typeof this.valueBandWidth?this.valueBandWidth:void 0===e?Array.from(this.valueBandWidth.values())[0]:this.valueBandWidth.get(e)}getRange(){return this.adjustedRange}getPaddingInner(){let{padding:e,paddingInner:t}=this.options;return e>0?e:t}getPaddingOuter(){let{padding:e,paddingOuter:t}=this.options;return e>0?e:t}rescale(){super.rescale();let{align:e,domain:t,range:n,round:r,flex:i}=this.options,{adjustedRange:a,valueBandWidth:o,valueStep:s}=function(e){var t;let n,r,{domain:i}=e,a=i.length;if(0===a)return{valueBandWidth:void 0,valueStep:void 0,adjustedRange:[]};if(null==(t=e.flex)?void 0:t.length)return function(e){let{domain:t,range:n,paddingOuter:r,paddingInner:i,flex:a,round:o,align:s}=e,l=t.length,c=function(e,t){let n=t-e.length;return n>0?[...e,...Array(n).fill(1)]:n<0?e.slice(0,t):e}(a,l),[u,d]=n,h=d-u,p=h/(2/l*r+1-1/l*i),f=p*i/l,g=p-l*f,m=function(e){let t=Math.min(...e);return e.map(e=>e/t)}(c),b=g/m.reduce((e,t)=>e+t),v=new y(t.map((e,t)=>{let n=m[t]*b;return[e,o?Math.floor(n):n]})),E=new y(t.map((e,t)=>{let n=m[t]*b+f;return[e,o?Math.floor(n):n]})),_=Array.from(E.values()).reduce((e,t)=>e+t),x=u+(h-(_-_/l*i))*s,A=o?Math.round(x):x,S=Array(l);for(let e=0;ed+t*n);return{valueStep:n,valueBandWidth:r,adjustedRange:p}}({align:e,range:n,round:r,flex:i,paddingInner:this.getPaddingInner(),paddingOuter:this.getPaddingOuter(),domain:t});this.valueStep=s,this.valueBandWidth=o,this.adjustedRange=a}}var O=n(84501),C=n(42338),k=n(50636),M=n(56775),L=n(14837),I=n(38310),N=function(e){function t(t){var n=this,a=t.style,o=(0,r.Tt)(t,["style"]);return(n=e.call(this,(0,L.A)({},{type:"column"},(0,r.Cl)({style:a},o)))||this).columnsGroup=new i.YJ({name:"columns"}),n.appendChild(n.columnsGroup),n.render(),n}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.attributes,t=e.columns,n=e.x,r=e.y;this.columnsGroup.style.transform="translate(".concat(n,", ").concat(r,")"),(0,h.Lt)(this.columnsGroup).selectAll(".column").data(t.flat()).join(function(e){return e.append("rect").attr("className","column").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.attr(e)})},function(e){return e.remove()})},t.prototype.update=function(e){this.attr((0,I.E)({},this.attributes,e)),this.render()},t.prototype.clear=function(){this.removeChildren()},t}(i.q9),R=function(e){function t(t){var n=this,a=t.style,o=(0,r.Tt)(t,["style"]);return(n=e.call(this,(0,L.A)({},{type:"lines"},(0,r.Cl)({style:a},o)))||this).linesGroup=n.appendChild(new i.YJ),n.areasGroup=n.appendChild(new i.YJ),n.render(),n}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.attributes,t=e.lines,n=e.areas,r=e.x,i=e.y;this.style.transform="translate(".concat(r,", ").concat(i,")"),t&&this.renderLines(t),n&&this.renderAreas(n)},t.prototype.clear=function(){this.linesGroup.removeChildren(),this.areasGroup.removeChildren()},t.prototype.update=function(e){this.attr((0,I.E)({},this.attributes,e)),this.render()},t.prototype.renderLines=function(e){(0,h.Lt)(this.linesGroup).selectAll(".line").data(e).join(function(e){return e.append("path").attr("className","line").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.attr(e)})},function(e){return e.remove()})},t.prototype.renderAreas=function(e){(0,h.Lt)(this.linesGroup).selectAll(".area").data(e).join(function(e){return e.append("path").attr("className","area").each(function(e){this.attr(e)})},function(e){return e.each(function(e){this.style(e)})},function(e){return e.remove()})},t}(i.q9),P=n(9681),D=n(75403);function j(e,t){void 0===t&&(t=!1);var n=t?e.length-1:0,i=e.map(function(e,t){return(0,r.fX)([t===n?"M":"L"],(0,r.zs)(e),!1)});return t?i.reverse():i}function B(e,t){if(void 0===t&&(t=!1),e.length<=2)return j(e);for(var n=[],i=e.length,a=0;ar&&(n=a,r=o)}return n}};function $(e){return 0===e.length?[0,0]:[(0,z.A)(U(e,function(e){return(0,z.A)(e)||0})),(0,H.A)(G(e,function(e){return(0,H.A)(e)||0}))]}function W(e){for(var t=(0,O.A)(e),n=t[0].length,i=(0,r.zs)([Array(n).fill(0),Array(n).fill(0)],2),a=i[0],o=i[1],s=0;s=0?(l[c]+=a[c],a[c]=l[c]):(l[c]+=o[c],o[c]=l[c]);return t}var V=function(e){function t(t){return e.call(this,t,{type:"line",x:0,y:0,width:200,height:20,isStack:!1,color:["#83daad","#edbf45","#d2cef9","#e290b3","#6f63f4"],smooth:!0,lineLineWidth:1,areaOpacity:0,isGroup:!1,columnLineWidth:1,columnStroke:"#fff",scale:1,spacing:0})||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"rawData",{get:function(){var e=this.attributes.data;if(!e||(null==e?void 0:e.length)===0)return[[]];var t=(0,O.A)(e);return(0,C.A)(t[0])?[t]:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.attributes.isStack?W(this.rawData):this.rawData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"scales",{get:function(){return this.createScales(this.data)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseline",{get:function(){var e=this.scales.y,t=(0,r.zs)(e.getOptions().domain||[0,0],2),n=t[0],i=t[1];return i<0?e.map(i):e.map(n<0?0:n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"containerShape",{get:function(){var e=this.attributes;return{width:e.width,height:e.height}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linesStyle",{get:function(){var e=this,t=this.attributes,n=t.type,i=t.isStack,o=t.smooth;if("line"!==n)throw Error("linesStyle can only be used in line type");var s=(0,c.iA)(this.attributes,"area"),l=(0,c.iA)(this.attributes,"line"),u=this.containerShape.width,d=this.data;if(0===d[0].length)return{lines:[],areas:[]};var h=this.scales,p=(b=(g={type:"line",x:h.x,y:h.y}).x,y=g.y,E=(v=(0,r.zs)(y.getOptions().range||[0,0],2))[0],(_=v[1])>E&&(_=(m=(0,r.zs)([E,_],2))[0],E=m[1]),d.map(function(e){return e.map(function(e,t){return[b.map(t),(0,a.A)(y.map(e),_,E)]})})),f=[];if(s){var g,m,b,y,v,E,_,x=this.baseline;f=i?o?function(e,t,n){for(var i=[],a=e.length-1;a>=0;a-=1){var o=e[a],s=B(o),l=void 0;if(0===a)l=F(s,t,n);else{var c=B(e[a-1],!0),u=o[0];c[0][0]="L",l=(0,r.fX)((0,r.fX)((0,r.fX)([],(0,r.zs)(s),!1),(0,r.zs)(c),!1),[(0,r.fX)(["M"],(0,r.zs)(u),!1),["Z"]],!1)}i.push(l)}return i}(p,u,x):function(e,t,n){for(var i=[],a=e.length-1;a>=0;a-=1){var o=j(e[a]),s=void 0;if(0===a)s=F(o,t,n);else{var l=j(e[a-1],!0);l[0][0]="L",s=(0,r.fX)((0,r.fX)((0,r.fX)([],(0,r.zs)(o),!1),(0,r.zs)(l),!1),[["Z"]],!1)}i.push(s)}return i}(p,u,x):p.map(function(e){return F(o?B(e):j(e),u,x)})}return{lines:p.map(function(t,n){return(0,r.Cl)({stroke:e.getColor(n),d:o?B(t):j(t)},l)}),areas:f.map(function(t,n){return(0,r.Cl)({d:t,fill:e.getColor(n)},s)})}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"columnsStyle",{get:function(){var e=this,t=(0,c.iA)(this.attributes,"column"),n=this.attributes,i=n.isStack,a=n.type,o=n.scale;if("column"!==a)throw Error("columnsStyle can only be used in column type");var s=this.containerShape.height,l=this.rawData;if(!l)return{columns:[]};i&&(l=W(l));var u=this.createScales(l),d=u.x,h=u.y,p=(0,r.zs)($(l),2),f=p[0],m=p[1],b=new g.W({domain:[0,m-(f>0?0:f)],range:[0,s*o]}),y=d.getBandWidth(),v=this.rawData;return{columns:l.map(function(n,a){return n.map(function(n,o){var s=y/l.length;return(0,r.Cl)((0,r.Cl)({fill:e.getColor(a)},t),i?{x:d.map(o),y:h.map(n),width:y,height:b.map(v[a][o])}:{x:d.map(o)+s*a,y:n>=0?h.map(n):h.map(0),width:s,height:b.map(Math.abs(n))})})})}},enumerable:!1,configurable:!0}),t.prototype.render=function(e,t){(0,h.hN)(t,".container","rect").attr("className","container").node();var n=e.type,i=e.x,a=e.y,o="spark".concat(n),s=(0,r.Cl)({x:i,y:a},"line"===n?this.linesStyle:this.columnsStyle);(0,h.Lt)(t).selectAll(".spark").data([n]).join(function(e){return e.append(function(e){return"line"===e?new R({className:o,style:s}):new N({className:o,style:s})}).attr("className","spark ".concat(o))},function(e){return e.update(s)},function(e){return e.remove()})},t.prototype.getColor=function(e){var t=this.attributes.color;return(0,k.A)(t)?t[e%t.length]:(0,M.A)(t)?t.call(null,e):t},t.prototype.createScales=function(e){var t,n,i=this.attributes,a=i.type,o=i.scale,s=i.range,l=void 0===s?[]:s,c=i.spacing,u=this.containerShape,d=u.width,h=u.height,p=(0,r.zs)($(e),2),f=p[0],m=p[1],b=new g.W({domain:[null!=(t=l[0])?t:f,null!=(n=l[1])?n:m],range:[h,h*(1-o)]});return"line"===a?{type:a,x:new g.W({domain:[0,e[0].length-1],range:[0,d]}),y:b}:{type:a,x:new w({domain:e[0].map(function(e,t){return t}),range:[0,d],paddingInner:c,paddingOuter:c/2,align:.5}),y:b}},t.tag="sparkline",t}(s.u),q=n(76722),Y=n(96312),Z=function(e){function t(t){var n=e.call(this,t,(0,r.Cl)((0,r.Cl)((0,r.Cl)({x:0,y:0,animate:{duration:100,fill:"both"},brushable:!0,formatter:function(e){return e.toString()},handleSpacing:2,orientation:"horizontal",padding:0,autoFitLabel:!0,scrollable:!0,selectionFill:"#5B8FF9",selectionFillOpacity:.45,selectionZIndex:2,showHandle:!0,showLabel:!0,slidable:!0,trackFill:"#416180",trackLength:200,trackOpacity:.05,trackSize:20,trackZIndex:-1,values:[0,1],type:"range",selectionType:"select",handleIconOffset:0},(0,c.dQ)(q.Md,"handle")),(0,c.dQ)(q.Ui,"handleIcon")),(0,c.dQ)(q.Hx,"handleLabel")))||this;return n.range=[0,1],n.onDragStart=function(e){return function(t){t.stopPropagation(),n.target=e,n.prevPos=n.getOrientVal((0,u.t)(t));var r=n.availableSpace,i=r.x,a=r.y,o=n.getBBox(),s=o.x,l=o.y;n.selectionStartPos=n.getRatio(n.prevPos-n.getOrientVal([i,a])-n.getOrientVal([+s,+l])),n.selectionWidth=0,document.addEventListener("pointermove",n.onDragging),document.addEventListener("pointerup",n.onDragEnd)}},n.onDragging=function(e){var t=n.attributes,r=t.slidable,i=t.brushable,a=t.type;e.stopPropagation();var o=n.getOrientVal((0,u.t)(e)),s=o-n.prevPos;if(s){var l=n.getRatio(s);switch(n.target){case"start":r&&n.setValuesOffset(l);break;case"end":r&&n.setValuesOffset(0,l);break;case"selection":r&&n.setValuesOffset(l,l);break;case"track":if(!i)return;n.selectionWidth+=l,"range"===a?n.innerSetValues([n.selectionStartPos,n.selectionStartPos+n.selectionWidth].sort(),!0):n.innerSetValues([0,n.selectionStartPos+n.selectionWidth],!0)}n.prevPos=o}},n.onDragEnd=function(){document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointermove",n.onDragging),document.removeEventListener("pointerup",n.onDragEnd),n.target="",n.updateHandlesPosition(!1)},n.onValueChange=function(e){var t=n.attributes,r=t.onChange,a=t.type,o="range"===a?e:e[1],s="range"===a?n.getValues():n.getValues()[1],l=new i.up("valuechange",{detail:{oldValue:o,value:s}});n.dispatchEvent(l),null==r||r(s)},n.selectionStartPos=0,n.selectionWidth=0,n.prevPos=0,n.target="",n}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"values",{get:function(){return this.attributes.values},set:function(e){this.attributes.values=this.clampValues(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sparklineStyle",{get:function(){if("horizontal"!==this.attributes.orientation)return null;var e=(0,c.iA)(this.attributes,"sparkline");return(0,r.Cl)((0,r.Cl)({zIndex:0},this.availableSpace),e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shape",{get:function(){var e=this.attributes,t=e.trackLength,n=e.trackSize,i=(0,r.zs)(this.getOrientVal([[t,n],[n,t]]),2);return{width:i[0],height:i[1]}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var e=this.attributes,t=(e.x,e.y,e.padding),n=(0,r.zs)((0,d.i)(t),4),i=n[0],a=n[1],o=n[2],s=n[3],l=this.shape;return{x:s,y:i,width:l.width-(s+a),height:l.height-(i+o)}},enumerable:!1,configurable:!0}),t.prototype.getValues=function(){return this.values},t.prototype.setValues=function(e,t){void 0===e&&(e=[0,0]),void 0===t&&(t=!1),this.attributes.values=e;var n=!1!==t&&this.attributes.animate;this.updateSelectionArea(n),this.updateHandlesPosition(n)},t.prototype.updateSelectionArea=function(e){var t=this.calcSelectionArea();this.foregroundGroup.selectAll(q.mU.selection.class).each(function(n,r){(0,o.kY)(this,t[r],e)})},t.prototype.updateHandlesPosition=function(e){this.attributes.showHandle&&(this.startHandle&&(0,o.kY)(this.startHandle,this.getHandleStyle("start"),e),this.endHandle&&(0,o.kY)(this.endHandle,this.getHandleStyle("end"),e))},t.prototype.innerSetValues=function(e,t){void 0===e&&(e=[0,0]),void 0===t&&(t=!1);var n=this.values,r=this.clampValues(e);this.attributes.values=r,this.setValues(r),t&&this.onValueChange(n)},t.prototype.renderTrack=function(e){var t=this.attributes,n=t.x,i=t.y,a=(0,c.iA)(this.attributes,"track");this.trackShape=(0,h.Lt)(e).maybeAppendByClassName(q.mU.track,"rect").styles((0,r.Cl)((0,r.Cl)({x:n,y:i},this.shape),a))},t.prototype.renderBrushArea=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.brushable;this.brushArea=(0,h.Lt)(e).maybeAppendByClassName(q.mU.brushArea,"rect").styles((0,r.Cl)({x:n,y:i,fill:"transparent",cursor:a?"crosshair":"default"},this.shape))},t.prototype.renderSparkline=function(e){var t=this,n=this.attributes,i=n.x,a=n.y,o=n.orientation,s=(0,h.Lt)(e).maybeAppendByClassName(q.mU.sparklineGroup,"g");(0,p.V)("horizontal"===o,s,function(e){var n=(0,r.Cl)((0,r.Cl)({},t.sparklineStyle),{x:i,y:a});e.maybeAppendByClassName(q.mU.sparkline,function(){return new V({style:n})}).update(n)})},t.prototype.renderHandles=function(){var e,t=this,n=this.attributes,r=n.showHandle,i=n.type,a=this;null==(e=this.foregroundGroup)||e.selectAll(q.mU.handle.class).data((r?"range"===i?["start","end"]:["end"]:[]).map(function(e){return{type:e}}),function(e){return e.type}).join(function(e){return e.append(function(e){var n=e.type;return new Y.h({style:t.getHandleStyle(n)})}).each(function(e){var t=e.type;this.attr("class","".concat(q.mU.handle.name," ").concat(t,"-handle")),a["".concat(t,"Handle")]=this,this.addEventListener("pointerdown",a.onDragStart(t))})},function(e){return e.each(function(e){var t=e.type;this.update(a.getHandleStyle(t))})},function(e){return e.each(function(e){var t=e.type;a["".concat(t,"Handle")]=void 0}).remove()})},t.prototype.renderSelection=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.type,o=t.selectionType;this.foregroundGroup=(0,h.Lt)(e).maybeAppendByClassName(q.mU.foreground,"g");var s=(0,c.iA)(this.attributes,"selection"),l=function(e){return e.style("visibility",function(e){return e.show?"visible":"hidden"}).style("cursor",function(e){return"select"===o?"grab":"invert"===o?"crosshair":"default"}).styles((0,r.Cl)((0,r.Cl)({},s),{transform:"translate(".concat(n,", ").concat(i,")")}))},u=this;this.foregroundGroup.selectAll(q.mU.selection.class).data("value"===a?[]:this.calcSelectionArea().map(function(e,t){return{style:(0,r.Cl)({},e),index:t,show:"select"===o?1===t:1!==t}}),function(e){return e.index}).join(function(e){return e.append("rect").attr("className",q.mU.selection.name).call(l).each(function(e,t){var n=this;1===t?(u.selectionShape=(0,h.Lt)(this),this.on("pointerdown",function(e){n.attr("cursor","grabbing"),u.onDragStart("selection")(e)}),u.dispatchCustomEvent(this,"pointerenter","selectionMouseenter"),u.dispatchCustomEvent(this,"pointerleave","selectionMouseleave"),u.dispatchCustomEvent(this,"click","selectionClick"),this.addEventListener("pointerdown",function(){n.attr("cursor","grabbing")}),this.addEventListener("pointerup",function(){n.attr("cursor","pointer")}),this.addEventListener("pointerover",function(){n.attr("cursor","pointer")})):this.on("pointerdown",u.onDragStart("track"))})},function(e){return e.call(l)},function(e){return e.remove()}),this.updateSelectionArea(!1),this.renderHandles()},t.prototype.render=function(e,t){this.renderTrack(t),this.renderSparkline(t),this.renderBrushArea(t),this.renderSelection(t)},t.prototype.clampValues=function(e,t){void 0===t&&(t=4);var n,i=(0,r.zs)(this.range,2),o=i[0],s=i[1],l=(0,r.zs)(this.getValues().map(function(e){return(0,f.QX)(e,t)}),2),c=l[0],u=l[1],d=Array.isArray(e)?e:[c,null!=e?e:u],h=(0,r.zs)((d||[c,u]).map(function(e){return(0,f.QX)(e,t)}),2),p=h[0],g=h[1];if("value"===this.attributes.type)return[0,(0,a.A)(g,o,s)];p>g&&(p=(n=(0,r.zs)([g,p],2))[0],g=n[1]);var m=g-p;return m>s-o?[o,s]:ps?u===s&&c===p?[p,s]:[s-m,s]:[p,g]},t.prototype.calcSelectionArea=function(e){var t=(0,r.zs)(this.clampValues(e),2),n=t[0],i=t[1],a=this.availableSpace,o=a.x,s=a.y,l=a.width,c=a.height;return this.getOrientVal([[{y:s,height:c,x:o,width:n*l},{y:s,height:c,x:n*l+o,width:(i-n)*l},{y:s,height:c,x:i*l,width:(1-i)*l}],[{x:o,width:l,y:s,height:n*c},{x:o,width:l,y:n*c+s,height:(i-n)*c},{x:o,width:l,y:i*c,height:(1-i)*c}]])},t.prototype.calcHandlePosition=function(e){var t=this.attributes.handleIconOffset,n=this.availableSpace,i=n.x,a=n.y,o=n.width,s=n.height,l=(0,r.zs)(this.clampValues(),2),c=l[0],u=l[1],d=("start"===e?c:u)*this.getOrientVal([o,s])+("start"===e?-t:t);return{x:i+this.getOrientVal([d,o/2]),y:a+this.getOrientVal([s/2,d])}},t.prototype.inferTextStyle=function(e){return"horizontal"===this.attributes.orientation?{}:"start"===e?{transformOrigin:"left center",transform:"rotate(90)",textAlign:"start"}:"end"===e?{transformOrigin:"right center",transform:"rotate(90)",textAlign:"end"}:{}},t.prototype.calcHandleText=function(e){var t,n=this.attributes,i=n.type,a=n.orientation,o=n.formatter,s=n.autoFitLabel,u=(0,c.iA)(this.attributes,"handle"),d=(0,c.iA)(u,"label"),h=u.spacing,p=this.getHandleSize(),f=this.clampValues(),g=o("start"===e?f[0]:f[1]),m=new l.E({style:(0,r.Cl)((0,r.Cl)((0,r.Cl)({},d),this.inferTextStyle(e)),{text:g})}),b=m.getBBox(),y=b.width,v=b.height;if(m.destroy(),!s){if("value"===i)return{text:g,x:0,y:-v-h};var E=h+p+("horizontal"===a?y/2:0);return(t={text:g})["horizontal"===a?"x":"y"]="start"===e?-E:E,t}var _=0,x=0,A=this.availableSpace,S=A.width,w=A.height,O=this.calcSelectionArea()[1],C=O.x,k=O.y,M=O.width,L=O.height,I=h+p;if("horizontal"===a){var N=I+y/2;_="start"===e?C-I-y>0?-N:N:S-C-M-I>y?N:-N}else{var R=v+I;x="start"===e?k-p>v?-R:I:w-(k+L)-p>v?R:-I}return{x:_,y:x,text:g}},t.prototype.getHandleLabelStyle=function(e){var t=(0,c.iA)(this.attributes,"handleLabel");return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},t),this.calcHandleText(e)),this.inferTextStyle(e))},t.prototype.getHandleIconStyle=function(){var e=this.attributes.handleIconShape,t=(0,c.iA)(this.attributes,"handleIcon"),n=this.getOrientVal(["ew-resize","ns-resize"]),i=this.getHandleSize();return(0,r.Cl)({cursor:n,shape:e,size:i},t)},t.prototype.getHandleStyle=function(e){var t=this.attributes,n=t.x,i=t.y,a=t.showLabel,o=t.showLabelOnInteraction,s=t.orientation,l=this.calcHandlePosition(e),u=l.x,d=l.y,h=this.calcHandleText(e),p=a;return!a&&o&&(p=!!this.target),(0,r.Cl)((0,r.Cl)((0,r.Cl)({},(0,c.dQ)(this.getHandleIconStyle(),"icon")),(0,c.dQ)((0,r.Cl)((0,r.Cl)({},this.getHandleLabelStyle(e)),h),"label")),{transform:"translate(".concat(u+n,", ").concat(d+i,")"),orientation:s,showLabel:p,type:e,zIndex:3})},t.prototype.getHandleSize=function(){var e=this.attributes,t=e.handleIconSize,n=e.width,r=e.height;return t||Math.floor((this.getOrientVal([+r,+n])+4)/2.4)},t.prototype.getOrientVal=function(e){var t=(0,r.zs)(e,2),n=t[0],i=t[1];return"horizontal"===this.attributes.orientation?n:i},t.prototype.setValuesOffset=function(e,t){void 0===t&&(t=0);var n=this.attributes.type,i=(0,r.zs)(this.getValues(),2),a=[i[0]+("range"===n?e:0),i[1]+t].sort();this.innerSetValues(a,!0)},t.prototype.getRatio=function(e){var t=this.availableSpace,n=t.width,r=t.height;return e/this.getOrientVal([n,r])},t.prototype.dispatchCustomEvent=function(e,t,n){var r=this;e.on(t,function(e){e.stopPropagation(),r.dispatchEvent(new i.up(n,{detail:e}))})},t.prototype.bindEvents=function(){this.addEventListener("wheel",this.onScroll);var e=this.brushArea;this.dispatchCustomEvent(e,"click","trackClick"),this.dispatchCustomEvent(e,"pointerenter","trackMouseenter"),this.dispatchCustomEvent(e,"pointerleave","trackMouseleave"),e.on("pointerdown",this.onDragStart("track"))},t.prototype.onScroll=function(e){if(this.attributes.scrollable){var t=e.deltaX,n=e.deltaY,r=this.getRatio(n||t);this.setValuesOffset(r,r)}},t.tag="slider",t}(s.u)},81357:(e,t,n)=>{"use strict";function r(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}n.d(t,{A:()=>r})},81472:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return null!==e&&"function"!=typeof e&&isFinite(e.length)}},81512:e=>{"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},81576:e=>{"use strict";function t(e,t,n,r,i,a){this.fontSize=e||24,this.buffer=void 0===t?3:t,this.cutoff=r||.25,this.fontFamily=i||"sans-serif",this.fontWeight=a||"normal",this.radius=n||8;var o=this.size=this.fontSize+2*this.buffer,s=o+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=o,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textAlign="left",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(s*s),this.gridInner=new Float64Array(s*s),this.f=new Float64Array(s),this.z=new Float64Array(s+1),this.v=new Uint16Array(s),this.useMetrics=void 0!==this.ctx.measureText("A").actualBoundingBoxLeft,this.middle=Math.round(o/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function n(e,t,n,i,a,o){for(var s=0;s-1);a[++l]=s,o[l]=c,o[l+1]=1e20}for(s=0,l=0;s{e.exports=function(e){e.installMethod("isDark",function(){var e=this.rgb();return(255*e._red*299+255*e._green*587+255*e._blue*114)/1e3<128})}},82164:e=>{"use strict";function t(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\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)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\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:/[\[\]*+\-\/%<>=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},82559: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=[]},82661:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(21419),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},82769:(e,t,n)=>{"use strict";n.d(t,{A:()=>eE});var r=n(90333);let i=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],a=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),l=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();var c="[0-9](_*[0-9])*",u=`\\.(${c})`,d="[0-9a-fA-F](_*[0-9a-fA-F])*",h={className:"number",variants:[{begin:`(\\b(${c})((${u})|\\.)?|(${u}))[eE][+-]?(${c})[fFdD]?\\b`},{begin:`\\b(${c})((${u})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${u})[fFdD]?\\b`},{begin:`\\b(${c})[fFdD]\\b`},{begin:`\\b0[xX]((${d})\\.?|(${d})?\\.(${d}))[pP][+-]?(${c})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${d})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let p="[A-Za-z$_][0-9A-Za-z$_]*",f=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],g=["true","false","null","undefined","NaN","Infinity"],m=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],b=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],y=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],v=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],E=[].concat(y,m,b);var _="[0-9](_*[0-9])*",x=`\\.(${_})`,A="[0-9a-fA-F](_*[0-9a-fA-F])*",S={className:"number",variants:[{begin:`(\\b(${_})((${x})|\\.)?|(${x}))[eE][+-]?(${_})[fFdD]?\\b`},{begin:`\\b(${_})((${x})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${x})[fFdD]?\\b`},{begin:`\\b(${_})[fFdD]\\b`},{begin:`\\b0[xX]((${A})\\.?|(${A})?\\.(${A}))[pP][+-]?(${_})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${A})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};let w=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],O=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),C=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),k=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),M=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),L=C.concat(k).sort().reverse(),I=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],N=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),R=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),P=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),D=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function j(e){return e?"string"==typeof e?e:e.source:null}function B(e){return F("(?=",e,")")}function F(...e){return e.map(e=>j(e)).join("")}function z(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>j(e)).join("|")+")"}let U=e=>F(/\b/,e,/\w$/.test(e)?/\b/:/\B/),H=["Protocol","Type"].map(U),G=["init","self"].map(U),$=["Any","Self"],W=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],V=["false","nil","true"],q=["assignment","associativity","higherThan","left","lowerThan","none","right"],Y=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Z=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],X=z(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),K=z(X,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Q=F(X,K,"*"),J=z(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),ee=z(J,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),et=F(J,ee,"*"),en=F(/[A-Z]/,ee,"*"),er=["attached","autoclosure",F(/convention\(/,z("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",F(/objc\(/,et,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ei=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],ea="[A-Za-z$_][0-9A-Za-z$_]*",eo=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],es=["true","false","null","undefined","NaN","Infinity"],el=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ec=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],eu=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ed=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],eh=[].concat(eu,el,ec),ep={arduino:function(e){let t=function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:f.concat([{begin:/\(/,end:/\)/,keywords:h,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}(e),n=t.keywords;return n.type=[...n.type,"boolean","byte","word","String"],n.literal=[...n.literal,"DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"],n.built_in=[...n.built_in,"KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],n._hints=["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],t.name="Arduino",t.aliases=["ino"],t.supersetOf="cpp",t},bash:function(e){let t=e.regex,n={};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},{begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]}]});let r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,r]};r.contains.push(o);let s={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},l=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[l,e.SHEBANG(),c,s,i,a,{match:/(\/[a-z._-]+)+/},o,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},c:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:h}}},cpp:function(e){let t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:f.concat([{begin:/\(/,end:/\)/,keywords:h,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},csharp:function(e){let t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=e.inherit(i,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},s=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,s]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]});o.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],s.contains=[u,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},css:function(e){let t=e.regex,n={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+o.join("|")+")"},{begin:":(:)?("+s.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+l.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:a.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+i.join("|")+")\\b"}]}},diff:function(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}},go:function(e){let t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"e(t,n,r-1))}("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},a={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},o={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},h,a]}},javascript:function(e){var t;let n=e.regex,r=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,a={$pattern:p,keyword:f,literal:g,built_in:E,"variable.language":v},o="[0-9](_?[0-9])*",s=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},_={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},A={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},S=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,_,x,{match:/\$\d+/},c];u.contains=S.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(S)});let w=[].concat(A,u.contains),O=w.concat([{begin:/(\s*)\(/,end:/\)/,keywords:a,contains:["self"].concat(w)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O},k={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,n.concat(p,"(",n.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},M={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...m,...b]}},L={match:n.concat(/\b/,(t=[...y,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),p,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},I={begin:n.concat(/\./,n.lookahead(n.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",R={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:M},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,_,x,A,{match:/\$\d+/},c,M,{scope:"attr",match:p+n.lookahead(":"),relevance:0},R,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[A,e.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r,"on:begin":(e,t)=>{let n,r=e[0].length+e.index,i=e.input[r];if("<"===i||","===i)return void t.ignoreMatch();">"!==i||((e,{after:t})=>{let n="/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[c,e.C_LINE_COMMENT_MODE,l],relevance:0},e.C_LINE_COMMENT_MODE,l,o,s,a,e.C_NUMBER_MODE]},l]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},o,s]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},S]}},less:function(e){let t={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},n="[\\w-]+",r="("+n+"|@\\{"+n+"\\})",i=[],a=[],o=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},s=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:O.join(" ")};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o("'"),o('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,{begin:"\\(",end:"\\)",contains:a,keywords:l,relevance:0},s("variable","@@?"+n,10),s("variable","@\\{"+n+"\\}"),s("built_in","~?`[^`]*?`"),{className:"attribute",begin:n+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let c=a.concat({begin:/\{/,end:/\}/,contains:i}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},d={begin:r+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,s("keyword","all\\b"),s("variable","@\\{"+n+"\\}"),{begin:"\\b("+w.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,s("selector-tag",r,0),s("selector-id","#"+r),s("selector-class","\\."+r,0),s("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+C.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+k.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:c},{begin:"!important"},t.FUNCTION_DISPATCH]},p={begin:n+":(:)?"+`(${L.join("|")})`,returnBegin:!0,contains:[h]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:a,relevance:0}},{className:"variable",variants:[{begin:"@"+n+"\\s*:",relevance:15},{begin:"@"+n}],starts:{end:"[;}]",returnEnd:!0,contains:c}},p,d,h,u,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:i}},lua:function(e){let t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}},makefile:function(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},r={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},i={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},a={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},o=e.inherit(i,{contains:[]}),s=e.inherit(a,{contains:[]});i.contains.push(s),a.contains.push(o);let l=[n,r];[i,a,o,s].forEach(e=>{e.contains=e.contains.concat(l)});let c={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:l=l.concat(i,a)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:l}]}]};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[c,n,{className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i,a,{className:"quote",begin:"^>\\s+",contains:l,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},r,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}},objectivec:function(e){let t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:t,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},perl:function(e){let t=e.regex,n=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot class close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl field fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map method mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},o={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},s={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[o]},l={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},c=[e.BACKSLASH_ESCAPE,i,s],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(e,r,i="\\1")=>{let a="\\1"===i?i:t.concat(i,r);return t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,n)},h=(e,r,i)=>t.concat(t.concat("(?:",e,")"),r,/(?:\\.|[^\\\/])*?/,i,n),p=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},l,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",t.either(...u,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,o,l]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=p,a.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:p}},php:function(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+r},s={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(s)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(s),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},d=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h="[ \n]",p={scope:"string",variants:[c,l,u,d]},f={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},g=["false","null","true"],m=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],y={keyword:m,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:b},v=e=>e.map(e=>e.replace(/\|\d+$/,"")),E={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",v(b).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},_=t.concat(r,"\\b(?!\\()"),x={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),_],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),_],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},A={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[A,o,x,e.C_BLOCK_COMMENT_MODE,p,f,E]},w={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",v(m).join("\\b|"),"|",v(b).join("\\b|"),"\\b)"),r,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(w);let O=[A,x,e.C_BLOCK_COMMENT_MODE,p,f,E],C={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:g,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:["new","array"]},contains:["self",...O]},...O,{scope:"meta",variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[C,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},o,w,x,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},E,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:y,contains:["self",C,o,x,e.C_BLOCK_COMMENT_MODE,p,f]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,f]}},"php-template":function(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}},plaintext:function(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}},python:function(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,h={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},p={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},f={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",a,h,l,e.HASH_COMMENT_MODE]}]};return o.contains=[l,h,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,h,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[f]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[h,f,l]}]}},"python-repl":function(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}},r:function(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},ruby:function(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},f=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=f,p.contains=f;let g=[{begin:/^\s*=>/,starts:{end:"$",contains:f}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:a,contains:f}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(g).concat(l).concat(f)}},rust:function(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",s=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:s},illegal:""},a]}},scss:function(e){let t={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},n="@[a-z-]+",r={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+I.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+R.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+P.join("|")+")"},r,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+D.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,r,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:n,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:N.join(" ")},contains:[{begin:n,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},r,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}},shell:function(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}},sql:function(e){let t=e.regex,n=e.COMMENT("--","$"),r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],i=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!r.includes(e)),a={match:t.concat(/\b/,t.either(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};function o(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,"\\s+"))),/\b/)}let s={scope:"keyword",match:o(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){return t=t||[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:n(e)?`${e}|0`:e)}(i,{when:e=>e.length<3}),literal:["true","false","unknown"],type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{scope:"type",match:o(["double precision","large object","with timezone","without timezone"])},s,a,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},swift:function(e){let t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,z(...H,...G)],className:{2:"keyword"}},a={match:F(/\./,z(...W)),relevance:0},o=W.filter(e=>"string"==typeof e).concat(["_|0"]),s={variants:[{className:"keyword",match:z(...W.filter(e=>"string"!=typeof e).concat($).map(U),...G)}]},l={$pattern:z(/\b\w+/,/#\w+/),keyword:o.concat(Y),literal:V},c=[i,a,s],u=[{match:F(/\./,z(...Z)),relevance:0},{className:"built_in",match:F(/\b/,z(...Z),/(?=\()/)}],d={match:/->/,relevance:0},h=[d,{className:"operator",relevance:0,variants:[{match:Q},{match:`\\.(\\.|${K})+`}]}],p="([0-9]_*)+",f="([0-9a-fA-F]_*)+",g={className:"number",relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${f})(\\.(${f}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},m=(e="")=>({className:"subst",variants:[{match:F(/\\/,e,/[0\\tnr"']/)},{match:F(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(e="")=>({className:"subst",label:"interpol",begin:F(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:F(e,/"""/),end:F(/"""/,e),contains:[m(e),((e="")=>({className:"subst",match:F(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}))(e),b(e)]}),v=(e="")=>({begin:F(e,/"/),end:F(/"/,e),contains:[m(e),b(e)]}),E={className:"string",variants:[y(),y("#"),y("##"),y("###"),v(),v("#"),v("##"),v("###")]},_=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x=e=>{let t=F(e,/\//),n=F(/\//,e);return{begin:t,end:n,contains:[..._,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},A={scope:"regexp",variants:[x("###"),x("##"),x("#"),{begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:_}]},S={match:F(/`/,et,/`/)},w=[S,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${ee}+`}],O=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ei,contains:[...h,g,E]}]}},{scope:"keyword",match:F(/@/,z(...er),B(z(/\(/,/\s+/)))},{scope:"meta",match:F(/@/,et)}],C={match:B(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:F(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,ee,"+")},{className:"type",match:en,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:F(/\s+&\s+/,B(en)),relevance:0}]},k={begin://,keywords:l,contains:[...r,...c,...O,d,C]};C.contains.push(k);let M={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:F(et,/\s*:/),keywords:"_|0",relevance:0},...r,A,...c,...u,...h,g,E,...w,...O,C]},L={begin://,keywords:"repeat each",contains:[...r,C]},I={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:z(B(F(et,/\s*:/)),B(F(et,/\s+/,et,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:et}]},...r,...c,...h,g,E,...O,C,M],endsParent:!0,illegal:/["']/},N={match:[/(func|macro)/,/\s+/,z(S.match,et,Q)],className:{1:"keyword",3:"title.function"},contains:[L,I,t],illegal:[/\[/,/%/]},R={begin:[/precedencegroup/,/\s+/,en],className:{1:"keyword",3:"title"},contains:[C],keywords:[...q,...V],end:/}/},P={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,et,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[L,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:en},...c],relevance:0}]};for(let e of E.variants){let t=e.contains.find(e=>"interpol"===e.label);t.keywords=l;let n=[...c,...u,...h,g,E,...w];t.contains=[...n,{begin:/\(/,end:/\)/,contains:["self",...n]}]}return{name:"Swift",keywords:l,contains:[...r,N,{match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[L,I,t],illegal:/\[|%/},{match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},{match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},P,{match:[/operator/,/\s+/,Q],className:{1:"keyword",3:"title"}},R,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},A,...c,...u,...h,g,E,...w,...O,C,M]}},typescript:function(e){let t=e.regex,n=function(e){var t;let n=e.regex,r=/<[A-Za-z0-9\\._:-]+/,i=/\/[A-Za-z0-9\\._:-]+>|\/>/,a={$pattern:ea,keyword:eo,literal:es,built_in:eh,"variable.language":ed},o="[0-9](_?[0-9])*",s=`\\.(${o})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${o})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},p={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},f={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},g={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:ea+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},m=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,p,f,{match:/\$\d+/},c];u.contains=m.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(m)});let b=[].concat(g,u.contains),y=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:a,contains:["self"].concat(b)}]),v={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y},E={variants:[{match:[/class/,/\s+/,ea,/\s+/,/extends/,/\s+/,n.concat(ea,"(",n.concat(/\./,ea),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,ea],scope:{1:"keyword",3:"title.class"}}]},_={relevance:0,match:n.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...el,...ec]}},x={match:n.concat(/\b/,(t=[...eu,"super","import"].map(e=>`${e}\\s*\\(`),n.concat("(?!",t.join("|"),")")),ea,n.lookahead(/\s*\(/)),className:"title.function",relevance:0},A={begin:n.concat(/\./,n.lookahead(n.concat(ea,/(?![0-9A-Za-z$_(])/))),end:ea,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},S="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",w={match:[/const|var|let/,/\s+/,ea,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(S)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[v]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:y,CLASS_REFERENCE:_},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,h,p,f,g,{match:/\$\d+/},c,_,{scope:"attr",match:ea+n.lookahead(":"),relevance:0},w,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{className:"function",begin:S,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r,"on:begin":(e,t)=>{let n,r=e[0].length+e.index,i=e.input[r];if("<"===i||","===i)return void t.ignoreMatch();">"!==i||((e,{after:t})=>{let n="{let r=e.contains.findIndex(e=>e.label===t);if(-1===r)throw Error("can not find mode to replace");e.contains.splice(r,1,n)};Object.assign(n.keywords,o),n.exports.PARAMS_CONTAINS.push(s);let c=n.contains.find(e=>"attr"===e.scope),u=Object.assign({},c,{match:t.concat(ea,t.lookahead(/\s*\?:/))});return n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,c,u]),n.contains=n.contains.concat([s,i,a,u]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(e=>"func.def"===e.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n},vbnet:function(e){let t=e.regex,n=/\d{1,2}\/\d{1,2}\/\d{4}/,r=/\d{4}-\d{1,2}-\d{1,2}/,i=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,a=/\d{1,2}(:\d{1,2}){1,2}/,o={className:"literal",variants:[{begin:t.concat(/# */,t.either(r,n),/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,i,/ *#/)},{begin:t.concat(/# */,t.either(r,n),/ +/,t.either(i,a),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),l=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,l,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[l]}]}},wasm:function(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);return t.contains.push("self"),{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},{className:"variable",begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},{className:"keyword",match:/\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|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:"number",relevance:0,match:/[+-]?\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/}]}},xml:function(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,s,o,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,s,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},yaml:function(e){let t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(r,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o=[{className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},{className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},r],s=[...o];return s.pop(),s.push(i),a.contains=s,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:o}}};var ef=n(34093),eg=n(85144);let em={};class eb{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(".").map(function(e,n){return n?e+"_".repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}var ey=n(88428);let ev={};function eE(e){let t=e||ev,n=t.aliases,i=t.detect||!1,a=t.languages||ep,o=t.plainText,s=t.prefix,l=t.subset,c="hljs",u=function(e){let t=eg.newInstance();return e&&i(e),{highlight:n,highlightAuto:function(e,i){let a;(0,ef.ok)("string"==typeof e,"expected `string` as `value`");let o=(i||em).subset||r(),s=-1,l=0;for(;++sl&&(l=c.data.relevance,a=c)}return a||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:r,register:i,registerAlias:function(e,n){if("string"==typeof e)(0,ef.ok)(void 0!==n),t.registerAliases("string"==typeof n?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},registered:function(e){return!!t.getLanguage(e)}};function n(e,n,r){(0,ef.ok)("string"==typeof e,"expected `string` as `name`"),(0,ef.ok)("string"==typeof n,"expected `string` as `value`");let i=r||em,a="string"==typeof i.prefix?i.prefix:"hljs-";if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:eb,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,l=s.data;return l.language=o.language,l.relevance=o.relevance,s}function r(){return t.listLanguages()}function i(e,n){if("string"==typeof e)(0,ef.ok)(void 0!==n,"expected `grammar`"),t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(a);if(n&&u.registerAlias(n),s){let e=s.indexOf("-");c=-1===e?s:s.slice(0,e)}return function(e,t){(0,ey.YR)(e,"element",function(e,n,a){let d;if("code"!==e.tagName||!a||"element"!==a.type||"pre"!==a.tagName)return;let h=function(e){let t,n=e.properties.className,r=-1;if(Array.isArray(n)){for(;++r0&&(e.children=d.children)})}}},83091: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"]},83277:(e,t,n)=>{"use strict";n.d(t,{EC:()=>E,qX:()=>_,y$:()=>C,a0:()=>m,Ow:()=>O,GA:()=>v,bM:()=>w,$b:()=>A,fk:()=>S,hN:()=>b,_K:()=>x,ki:()=>y});var r=n(86372),i=n(39249),a=n(74673);function o(e){for(var t=1/0,n=1/0,r=-1/0,o=-1/0,s=0;sr&&(r=f),g>o&&(o=g)}return new a.E(t,n,r-t,o-n)}var s=function(e,t,n){var r=e.width,s=e.height,l=n.flexDirection,c=void 0===l?"row":l,u=(n.flexWrap,n.justifyContent),d=void 0===u?"flex-start":u,h=(n.alignContent,n.alignItems),p=void 0===h?"flex-start":h,f="row"===c,g="row"===c||"column"===c,m=f?g?[1,0]:[-1,0]:g?[0,1]:[0,-1],b=(0,i.zs)([0,0],2),y=b[0],v=b[1],E=t.map(function(e){var t,n=e.width,r=e.height,o=(0,i.zs)([y,v],2),s=o[0],l=o[1];return y=(t=(0,i.zs)([y+n*m[0],v+r*m[1]],2))[0],v=t[1],new a.E(s,l,n,r)}),_=o(E),x={"flex-start":0,"flex-end":f?r-_.width:s-_.height,center:f?(r-_.width)/2:(s-_.height)/2},A=E.map(function(e){var t=e.x,n=e.y,r=a.E.fromRect(e);return r.x=f?t+x[d]:t,r.y=f?n:n+x[d],r});o(A);var S=function(e){var t=(0,i.zs)(f?["height",s]:["width",r],2),n=t[0],a=t[1];switch(p){case"flex-start":default:return 0;case"flex-end":return a-e[n];case"center":return a/2-e[n]/2}};return A.map(function(e){var t=e.x,n=e.y,r=a.E.fromRect(e);return r.x=f?t:t+S(r),r.y=f?n+S(r):n,r}).map(function(t){var n,r,i=a.E.fromRect(t);return i.x+=null!=(n=e.x)?n:0,i.y+=null!=(r=e.y)?r:0,i})},l=function(e,t,n){return[]};let c=function(e,t,n){if(0===t.length)return[];var r={flex:s,grid:l},i=n.display in r?r[n.display]:null;return(null==i?void 0:i.call(null,e,t,n))||[]};var u=n(87287),d=function(e){function t(t){var n=e.call(this,t)||this;n.layoutEvents=[r.jX.BOUNDS_CHANGED,r.jX.INSERTED,r.jX.REMOVED],n.$margin=(0,u.i)(0),n.$padding=(0,u.i)(0);var i=t.style||{},a=i.margin,o=i.padding;return n.margin=void 0===a?0:a,n.padding=void 0===o?0:o,n.isMutationObserved=!0,n.bindEvents(),n}return(0,i.C6)(t,e),Object.defineProperty(t.prototype,"margin",{get:function(){return this.$margin},set:function(e){this.$margin=(0,u.i)(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this.$padding},set:function(e){this.$padding=(0,u.i)(e)},enumerable:!1,configurable:!0}),t.prototype.getBBox=function(){var e=this.attributes,t=e.x,n=e.y,r=e.width,o=e.height,s=(0,i.zs)(this.$margin,4),l=s[0],c=s[1],u=s[2],d=s[3];return new a.E((void 0===t?0:t)-d,(void 0===n?0:n)-l,r+d+c,o+l+u)},t.prototype.appendChild=function(t,n){return t.isMutationObserved=!0,e.prototype.appendChild.call(this,t,n),t},t.prototype.getAvailableSpace=function(){var e=this.attributes,t=e.width,n=e.height,r=(0,i.zs)(this.$padding,4),o=r[0],s=r[1],l=r[2],c=r[3],u=(0,i.zs)(this.$margin,4),d=u[0],h=u[3];return new a.E(c+h,o+d,t-c-s,n-o-l)},t.prototype.layout=function(){if(this.attributes.display&&this.isConnected&&!this.children.some(function(e){return!e.isConnected}))try{var e=this.attributes,t=e.x,n=e.y;this.style.transform="translate(".concat(t,", ").concat(n,")");var r=c(this.getAvailableSpace(),this.children.map(function(e){return e.getBBox()}),this.attributes);this.children.forEach(function(e,t){var n=r[t],i=n.x,a=n.y;e.style.transform="translate(".concat(i,", ").concat(a,")")})}catch(e){}},t.prototype.bindEvents=function(){var e=this;this.layoutEvents.forEach(function(t){e.addEventListener(t,function(t){t.target&&(t.target.isMutationObserved=!0,e.layout())})})},t.prototype.attributeChangedCallback=function(e,t,n){"margin"===e?this.margin=n:"padding"===e&&(this.padding=n),this.layout()},t}(r.YJ),h=n(14837),p=n(22911),f=n(63975),g=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};function m(e){return class extends r.K9{constructor(t){super(t),this.descriptor=e}connectedCallback(){var e,t;null==(t=(e=this.descriptor).render)||t.call(e,this.attributes,this)}update(e={}){var t,n;this.attr((0,h.A)({},this.attributes,e)),null==(n=(t=this.descriptor).render)||n.call(t,this.attributes,this)}}}function b(e,t,n){return e.querySelector(t)?(0,f.c)(e).select(t):(0,f.c)(e).append(n)}function y(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function v(e,t){let{flexDirection:n,justifyContent:r,alignItems:i}={display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},a={top:["row","flex-start","center"],bottom:["row","flex-start","center"],left:["column","flex-start","center"],right:["column","flex-start","center"],center:["column","center","center"]};return e in a&&([n,r,i]=a[e]),Object.assign({display:"flex",flexDirection:n,justifyContent:r,alignItems:i},t)}class E extends d{get child(){var e;return null==(e=this.children)?void 0:e[0]}update(e){var t;let{subOptions:n}=e;null==(t=this.child)||t.update(n),this.attr(e)}}class _ extends E{update(e){var t;let{subOptions:n}=e;null==(t=this.child)||t.update(n),this.attr(e)}}function x(e,t){var n;return null==(n=e.filter(e=>e.getOptions().name===t))?void 0:n[0]}function A(e){return"horizontal"===e||0===e}function S(e){return"vertical"===e||e===-Math.PI/2}function w(e,t,n){let{bbox:r}=e,{position:i="top",size:a,length:o}=t,s=["top","bottom","center"].includes(i),[l,c]=s?[r.height,r.width]:[r.width,r.height],{defaultSize:u,defaultLength:d}=n.props,h=a||u||l,p=o||d||c,[f,g]=s?[p,h]:[h,p];return{orientation:s?"horizontal":"vertical",width:f,height:g,size:h,length:p}}function O(e){return e.find(e=>e.getOptions().domain.length>0).getOptions().domain}function C(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=g(e,["style"]),i={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?i[`show${(0,p.A)(e)}`]=n:i[e]=n}),Object.assign(Object.assign({},i),n)}},83360:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r=n(39249),i=n(58872),a=n(54637),o=n(2323),s=n(62474),l=n(11716),c=function(e,t,n,i){var a=(0,l.l)([e,t],[n,i],.5);return(0,r.fX)((0,r.fX)([],a,!0),[n,i,n,i],!1)};function u(e,t){if(void 0===t&&(t=!1),(0,o.D)(e)&&e.every(function(e){var t=e[0];return"MC".includes(t)})){var n,l,u=[].concat(e);return t?[u,[]]:u}for(var d=(0,a.F)(e),h=(0,r.Cl)({},i.M),p=[],f="",g=d.length,m=[],b=0;b7){d[v].shift();for(var E=d[v],_=v;E.length;)p[v]="A",d.splice(_+=1,0,["C"].concat(E.splice(0,6)));d.splice(v,1)}g=d.length,"Z"===f&&m.push(b),l=(n=d[b]).length,h.x1=+n[l-2],h.y1=+n[l-1],h.x2=+n[l-4]||h.x1,h.y2=+n[l-3]||h.y1}return t?[d,m]:d}},83369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74054);let i=function(e,t){return(0,r.A)(e,function(e,n,r){return t.includes(r)||(e[r]=n),e},{})}},83440:(e,t,n)=>{e.exports.VectorTile=n(13663),n(37703),n(67912)},83531: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"]},83853:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(54637),i=n(11716),a=n(69047);function o(e,t,n,r,o){var s=(0,a.F)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o)if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,i.l)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,i=t.x,a=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(i,2)+Math.pow(a,2)));return(n*a-r*i<0?-1:1)*Math.acos((n*i+r*a)/o)}var l=n(48624);function c(e,t,n){for(var i,c,u,d,h,p,f,g,m,b=(0,r.F)(e),y="number"==typeof t,v=[],E=0,_=0,x=0,A=0,S=[],w=[],O=0,C={x:0,y:0},k=C,M=C,L=C,I=0,N=0,R=b.length;N1&&(b*=g(A),y*=g(A));var S=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(x.y,2)-Math.pow(y,2)*Math.pow(x.x,2))/(Math.pow(b,2)*Math.pow(x.y,2)+Math.pow(y,2)*Math.pow(x.x,2)),w=(a!==l?1:-1)*g(S=S<0?0:S),O={x:w*(b*x.y/y),y:w*(-(y*x.x)/b)},C={x:f(v)*O.x-p(v)*O.y+(e+c)/2,y:p(v)*O.x+f(v)*O.y+(t+u)/2},k={x:(x.x-O.x)/b,y:(x.y-O.y)/y},M=s({x:1,y:0},k),L=s(k,{x:(-x.x-O.x)/b,y:(-x.y-O.y)/y});!l&&L>0?L-=2*m:l&&L<0&&(L+=2*m);var I=M+(L%=2*m)*d,N=b*f(I),R=y*p(I);return{x:f(v)*N-p(v)*R+C.x,y:p(v)*N+f(v)*R+C.y}}(e,t,n,r,i,l,c,u,d,M/E)).x,A=f.y,m&&k.push({x:x,y:A}),y&&(S+=(0,a.F)(O,[x,A])),O=[x,A],_&&S>=h&&h>w[2]){var L=(S-h)/(S-w[2]);C={x:O[0]*(1-L)+w[0]*L,y:O[1]*(1-L)+w[1]*L}}w=[x,A,S]}return _&&h>=S&&(C={x:u,y:d}),{length:S,point:C,min:{x:Math.min.apply(null,k.map(function(e){return e.x})),y:Math.min.apply(null,k.map(function(e){return e.y}))},max:{x:Math.max.apply(null,k.map(function(e){return e.x})),y:Math.max.apply(null,k.map(function(e){return e.y}))}}}(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],(t||0)-I,n||{})).length,C=c.min,k=c.max,M=c.point):"C"===g?(O=(u=(0,l.y)(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],(t||0)-I,n||{})).length,C=u.min,k=u.max,M=u.point):"Q"===g?(O=(d=function(e,t,n,r,i,o,s,l){var c,u=l.bbox,d=void 0===u||u,h=l.length,p=void 0===h||h,f=l.sampleSize,g=void 0===f?10:f,m="number"==typeof s,b=e,y=t,v=0,E=[b,y,0],_=[b,y],x={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(x={x:b,y:y});for(var S=0;S<=g;S+=1){if(b=(c=function(e,t,n,r,i,a,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*i,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*a}}(e,t,n,r,i,o,S/g)).x,y=c.y,d&&A.push({x:b,y:y}),p&&(v+=(0,a.F)(_,[b,y])),_=[b,y],m&&v>=s&&s>E[2]){var w=(v-s)/(v-E[2]);x={x:_[0]*(1-w)+E[0]*w,y:_[1]*(1-w)+E[1]*w}}E=[b,y,v]}return m&&s>=v&&(x={x:i,y:o}),{length:v,point:x,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(v[0],v[1],v[2],v[3],v[4],v[5],(t||0)-I,n||{})).length,C=d.min,k=d.max,M=d.point):"Z"===g&&(O=(h=o((v=[E,_,x,A])[0],v[1],v[2],v[3],(t||0)-I)).length,C=h.min,k=h.max,M=h.point),y&&I=t&&(L=M),w.push(k),S.push(C),I+=O,E=(p="Z"!==g?m.slice(-2):[x,A])[0],_=p[1];return y&&t>=I&&(L={x:E,y:_}),{length:I,point:L,min:{x:Math.min.apply(null,S.map(function(e){return e.x})),y:Math.min.apply(null,S.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}},83894:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,a||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=Array(a);i{"use strict";n.d(t,{B8:()=>o,JH:()=>u,Ow:()=>s,Wm:()=>l,rr:()=>d,wl:()=>a});var r=n(76160),i=n(52922);function a(e){return!!e.getBandWidth}function o(e,t,n){var i;if(!a(e))return e.invert(t);let{adjustedRange:o}=e;if(o.includes(t))return e.invert(t);let{domain:s}=e.getOptions(),l=e.getStep(),c=n?o:o.map(e=>e+l),u=(i=(0,r.ah)(c,t)+(n?-1:0),Math.min(s.length-1,Math.max(0,i)));return s[u]}function s(e,t,n){if(!t)return e.getOptions().domain;if(!a(e)){let r=(0,i.Ay)(t);if(!n)return r;let[a]=r,{range:o}=e.getOptions(),[s,l]=o,c=e.invert(e.map(a)+(s>l?-1:1)*n);return[a,c]}let{domain:r}=e.getOptions(),o=t[0],s=r.indexOf(o);if(n){let e=s+Math.round(r.length*n);return r.slice(s,e)}let l=t[t.length-1],c=r.indexOf(l);return r.slice(s,c+1)}function l(e,t,n,r,i,a){let{x:l,y:c}=i,u=(e,t)=>{let[n,r]=a.invert(e);return[o(l,n,t),o(c,r,t)]},d=u([e,t],!0),h=u([n,r],!1);return[s(l,[d[0],h[0]]),s(c,[d[1],h[1]])]}function c(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}let u=(e,t)=>{var n,r;let[i,a]=e,o=(null==(r=null==(n=t.getOptions)?void 0:n.call(t))?void 0:r.domain)||[],s=o.indexOf(i),l=o.indexOf(a);if(-1===s||-1===l)return[t.map(i),t.map(a)];let c=o.length;return c<=1?[0,1]:[s/(c-1),l/(c-1)]};function d(e,t,n){let{x:r,y:i}=t,[a,o]=e,s=c(a,r),l=c(o,i),u=[s[0],l[0]],d=[s[1],l[1]],[h,p]=n.map(u),[f,g]=n.map(d);return[h,p,f,g]}},84095:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},84214:(e,t,n)=>{"use strict";var r=n(67526);function i(e){e.register(r),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=i,i.displayName="hlsl",i.aliases=[]},84342:(e,t,n)=>{e.exports=n(48505)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},85077:function(e){e.exports=function(){"use strict";function e(e,n,r,i){t(e,r,i),t(n,2*r,2*i),t(n,2*r+1,2*i+1)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t,n,r){var i=e-n,a=t-r;return i*i+a*a}var r,i=function(e){return e[0]},a=function(e){return e[1]},o=function(t,n,r,o,s){void 0===n&&(n=i),void 0===r&&(r=a),void 0===o&&(o=64),void 0===s&&(s=Float64Array),this.nodeSize=o,this.points=t;for(var l=t.length<65536?Uint16Array:Uint32Array,c=this.ids=new l(t.length),u=this.coords=new s(2*t.length),d=0;d>1;(function t(n,r,i,a,o,s){for(;o>a;){if(o-a>600){var l=o-a+1,c=i-a+1,u=Math.log(l),d=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1),p=Math.max(a,Math.floor(i-c*d/l+h)),f=Math.min(o,Math.floor(i+(l-c)*d/l+h));t(n,r,i,p,f,s)}var g=r[2*i+s],m=a,b=o;for(e(n,r,a,i),r[2*o+s]>g&&e(n,r,a,o);mg;)b--}r[2*a+s]===g?e(n,r,a,b):e(n,r,++b,o),b<=i&&(a=b+1),i<=b&&(o=b-1)}})(n,r,l,a,o,s%2),t(n,r,i,a,l-1,s+1),t(n,r,i,l+1,o,s+1)}}(c,u,o,0,c.length-1,0)};o.prototype.range=function(e,t,n,r){return function(e,t,n,r,i,a,o){for(var s,l,c=[0,e.length-1,0],u=[];c.length;){var d=c.pop(),h=c.pop(),p=c.pop();if(h-p<=o){for(var f=p;f<=h;f++)s=t[2*f],l=t[2*f+1],s>=n&&s<=i&&l>=r&&l<=a&&u.push(e[f]);continue}var g=Math.floor((p+h)/2);s=t[2*g],l=t[2*g+1],s>=n&&s<=i&&l>=r&&l<=a&&u.push(e[g]);var m=(d+1)%2;(0===d?n<=s:r<=l)&&(c.push(p),c.push(g-1),c.push(m)),(0===d?i>=s:a>=l)&&(c.push(g+1),c.push(h),c.push(m))}return u}(this.ids,this.coords,e,t,n,r,this.nodeSize)},o.prototype.within=function(e,t,r){return function(e,t,r,i,a,o){for(var s=[0,e.length-1,0],l=[],c=a*a;s.length;){var u=s.pop(),d=s.pop(),h=s.pop();if(d-h<=o){for(var p=h;p<=d;p++)n(t[2*p],t[2*p+1],r,i)<=c&&l.push(e[p]);continue}var f=Math.floor((h+d)/2),g=t[2*f],m=t[2*f+1];n(g,m,r,i)<=c&&l.push(e[f]);var b=(u+1)%2;(0===u?r-a<=g:i-a<=m)&&(s.push(h),s.push(f-1),s.push(b)),(0===u?r+a>=g:i+a>=m)&&(s.push(f+1),s.push(d),s.push(b))}return l}(this.ids,this.coords,e,t,r,this.nodeSize)};var s={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(e){return e}},l=Math.fround||(r=new Float32Array(1),function(e){return r[0]=+e,r[0]}),c=function(e){this.options=f(Object.create(s),e),this.trees=Array(this.options.maxZoom+1)};function u(e){return{type:"Feature",id:e.id,properties:d(e),geometry:{type:"Point",coordinates:[(e.x-.5)*360,360*Math.atan(Math.exp((180-360*e.y)*Math.PI/180))/Math.PI-90]}}}function d(e){var t=e.numPoints,n=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return f(f({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function h(e){return e/360+.5}function p(e){var t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function f(e,t){for(var n in t)e[n]=t[n];return e}function g(e){return e.x}function m(e){return e.y}return c.prototype.load=function(e){var t=this.options,n=t.log,r=t.minZoom,i=t.maxZoom,a=t.nodeSize;n&&console.time("total time");var s="prepare "+e.length+" points";n&&console.time(s),this.points=e;for(var c=[],u=0;u=r;d--){var f=+Date.now();c=this._cluster(c,d),this.trees[d]=new o(c,g,m,a,Float32Array),n&&console.log("z%d: %d clusters in %dms",d,c.length,Date.now()-f)}return n&&console.timeEnd("total time"),this},c.prototype.getClusters=function(e,t){var n=((e[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,e[1])),i=180===e[2]?180:((e[2]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,i=180;else if(n>i){var o=this.getClusters([n,r,180,a],t),s=this.getClusters([-180,r,i,a],t);return o.concat(s)}for(var l=this.trees[this._limitZoom(t)],c=l.range(h(n),p(a),h(i),p(r)),d=[],f=0;ft&&(g+=y.numPoints||1)}if(g>f&&g>=s){for(var v,E,_,x,A,S=d.x*f,w=d.y*f,O=o&&f>1?this._map(d,!0):null,C=(u<<5)+(t+1)+this.points.length,k=0;k1)for(var N=0;N>5},c.prototype._getOriginZoom=function(e){return(e-this.points.length)%32},c.prototype._map=function(e,t){if(e.numPoints)return t?f({},e.properties):e.properties;var n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?f({},r):r},c}()},85121:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(66454),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},85144:e=>{class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function r(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}class i{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!e.scope)return;let t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){e.scope&&(this.buffer+="
")}value(){return this.buffer}span(e){this.buffer+=``}}let a=(e={})=>{let t={children:[]};return Object.assign(t,e),t};class o{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=a({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{o._collapse(e)}))}}class s extends o{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new i(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(e){return e?"string"==typeof e?e:e.source:null}function c(e){return h("(?=",e,")")}function u(e){return h("(?:",e,")*")}function d(e){return h("(?:",e,")?")}function h(...e){return e.map(e=>l(e)).join("")}function p(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>l(e)).join("|")+")"}function f(e){return RegExp(e.toString()+"|").exec("").length-1}let g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let n=0;return e.map(e=>{let t=n+=1,r=l(e),i="";for(;r.length>0;){let e=g.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i}).map(e=>`(${e})`).join(t)}let b="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",v="\\b\\d+(\\.\\d+)?",E="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",_="\\b(0b[01]+)",x={begin:"\\\\[\\s\\S]",relevance:0},A=function(e,t,n={}){let i=r({scope:"comment",begin:e,end:t,contains:[]},n);i.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let a=p("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return i.contains.push({begin:h(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i},S=A("//","$"),w=A("/\\*","\\*/"),O=A("#","$");var C=Object.freeze({__proto__:null,APOS_STRING_MODE:{scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[x]},BACKSLASH_ESCAPE:x,BINARY_NUMBER_MODE:{scope:"number",begin:_,relevance:0},BINARY_NUMBER_RE:_,COMMENT:A,C_BLOCK_COMMENT_MODE:w,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:{scope:"number",begin:E,relevance:0},C_NUMBER_RE:E,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:O,IDENT_RE:b,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+y,relevance:0},NUMBER_MODE:{scope:"number",begin:v,relevance:0},NUMBER_RE:v,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:{scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[x]},REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[x,{begin:/\[/,end:/\]/,relevance:0,contains:[x]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),r({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:b,relevance:0},UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:{scope:"title",begin:y,relevance:0}});function k(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function M(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function L(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=k,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function I(e,t){Array.isArray(e.illegal)&&(e.illegal=p(...e.illegal))}function N(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function R(e,t){void 0===e.relevance&&(e.relevance=1)}let P=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=h(n.beforeMatch,c(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},D=["of","and","for","in","not","or","if","then","parent","list","value"],j={},B=e=>{console.error(e)},F=(e,...t)=>{console.log(`WARN: ${e}`,...t)},z=(e,t)=>{j[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),j[`${e}/${t}`]=!0)},U=Error();function H(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=f(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function G(e){if(e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw B("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),U;if("object"!=typeof e.beginScope||null===e.beginScope)throw B("beginScope must be object"),U;H(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw B("skip, excludeEnd, returnEnd not compatible with endScope: {}"),U;if("object"!=typeof e.endScope||null===e.endScope)throw B("endScope must be object"),U;H(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}class $ extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}let W=Symbol("nomatch"),V=function(e){let i=Object.create(null),a=Object.create(null),o=[],g=!0,b="Could not find the language '{}', did you forget to load/include a language module?",y={disableAutodetect:!0,name:"Plain text",contains:[]},v={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:s};function E(e){return v.noHighlightRe.test(e)}function _(e,t,n){let r="",i="";"object"==typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(z("10.7.0","highlight(lang, code, ...args) has been deprecated."),z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);let a={code:r,language:i};H("before:highlight",a);let o=a.result?a.result:x(a.language,a.code,n);return o.code=a.code,H("after:highlight",o),o}function x(e,a,o,s){let c=Object.create(null);function u(){if(!C.keywords)return void F.addText(U);let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(U),n="";for(;t;){n+=U.substring(e,t.index);let r=S.case_insensitive?t[0].toLowerCase():t[0],i=C.keywords[r];if(i){let[e,a]=i;if(F.addText(n),n="",c[r]=(c[r]||0)+1,c[r]<=7&&(H+=a),e.startsWith("_"))n+=t[0];else{let n=S.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(U)}n+=U.substring(e),F.addText(n)}function d(){null!=C.subLanguage?function(){if(""===U)return;let e=null;if("string"==typeof C.subLanguage){if(!i[C.subLanguage])return F.addText(U);e=x(C.subLanguage,U,!0,j[C.subLanguage]),j[C.subLanguage]=e._top}else e=A(U,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(H+=e.relevance),F.__addSublanguage(e._emitter,e.language)}():u(),U=""}function h(e,t){""!==e&&(F.startScope(t),F.addText(e),F.endScope())}function p(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=S.classNameAliases[e[n]]||e[n],i=t[n];r?h(i,r):(U=i,u(),U=""),n++}}function y(e,t){return e.scope&&"string"==typeof e.scope&&F.openNode(S.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h(U,S.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),U=""):e.beginScope._multi&&(p(e.beginScope,t),U="")),C=Object.create(e,{parent:{value:C}})}let E={};function _(n,r){let i=r&&r[0];if(U+=n,null==i)return d(),0;if("begin"===E.type&&"end"===r.type&&E.index===r.index&&""===i){if(U+=a.slice(r.index,r.index+1),!g){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=E.rule,t}return 1}if(E=r,"begin"===r.type){let e=r[0],n=r.rule,i=new t(n);for(let t of[n.__beforeBegin,n["on:begin"]])if(t&&(t(r,i),i.isMatchIgnored))return 0===C.matcher.regexIndex?(U+=e[0],1):(q=!0,0);return n.skip?U+=e:(n.excludeBegin&&(U+=e),d(),n.returnBegin||n.excludeBegin||(U=e)),y(n,r),n.returnBegin?0:e.length}if("illegal"!==r.type||o){if("end"===r.type){let e=function(e){let n=e[0],r=a.substring(e.index),i=function e(n,r,i){let a=function(e,t){let n=e&&e.exec(t);return n&&0===n.index}(n.endRe,i);if(a){if(n["on:end"]){let e=new t(n);n["on:end"](r,e),e.isMatchIgnored&&(a=!1)}if(a){for(;n.endsParent&&n.parent;)n=n.parent;return n}}if(n.endsWithParent)return e(n.parent,r,i)}(C,e,r);if(!i)return W;let o=C;C.endScope&&C.endScope._wrap?(d(),h(n,C.endScope._wrap)):C.endScope&&C.endScope._multi?(d(),p(C.endScope,e)):o.skip?U+=n:(o.returnEnd||o.excludeEnd||(U+=n),d(),o.excludeEnd&&(U=n));do C.scope&&F.closeNode(),C.skip||C.subLanguage||(H+=C.relevance),C=C.parent;while(C!==i.parent);return i.starts&&y(i.starts,e),o.returnEnd?0:n.length}(r);if(e!==W)return e}}else{let e=Error('Illegal lexeme "'+i+'" for mode "'+(C.scope||"")+'"');throw e.mode=C,e}if("illegal"===r.type&&""===i)return U+="\n",1;if(V>1e5&&V>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return U+=i,i.length}let S=k(e);if(!S)throw B(b.replace("{}",e)),Error('Unknown language: "'+e+'"');let w=function(e){function t(t,n){return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=f(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(m(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=r(e.classNameAliases||{}),function n(a,o){if(a.isCompiled)return a;[M,N,G,P].forEach(e=>e(a,o)),e.compilerExtensions.forEach(e=>e(a,o)),a.__beforeBegin=null,[L,I,R].forEach(e=>e(a,o)),a.isCompiled=!0;let s=null;return"object"==typeof a.keywords&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),s=a.keywords.$pattern,delete a.keywords.$pattern),s=s||/\w+/,a.keywords&&(a.keywords=function e(t,n,r="keyword"){let i=Object.create(null);return"string"==typeof t?a(r,t.split(" ")):Array.isArray(t)?a(r,t):Object.keys(t).forEach(function(r){Object.assign(i,e(t[r],n,r))}),i;function a(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,r,a;let o=t.split("|");i[o[0]]=[e,(n=o[0],(r=o[1])?Number(r):+(a=n,!D.includes(a.toLowerCase())))]})}}(a.keywords,e.case_insensitive)),a.keywordPatternRe=t(s,!0),o&&(a.begin||(a.begin=/\B|\b/),a.beginRe=t(a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(a.endRe=t(a.end)),a.terminatorEnd=l(a.end)||"",a.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(a.end?"|":"")+o.terminatorEnd)),a.illegal&&(a.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(e){var t;return((t="self"===e?a:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return r(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?r(t):t:r(t,{starts:t.starts?r(t.starts):null})})),a.contains.forEach(function(e){n(e,a)}),a.starts&&n(a.starts,o),a.matcher=function(e){let t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}(S),O="",C=s||w,j={},F=new v.__emitter(v),z=[];for(let e=C;e!==S;e=e.parent)e.scope&&z.unshift(e.scope);z.forEach(e=>F.openNode(e));let U="",H=0,$=0,V=0,q=!1;try{if(S.__emitTokens)S.__emitTokens(a,F);else{for(C.matcher.considerAll();;){V++,q?q=!1:C.matcher.considerAll(),C.matcher.lastIndex=$;let e=C.matcher.exec(a);if(!e)break;let t=a.substring($,e.index),n=_(t,e);$=e.index+n}_(a.substring($))}return F.finalize(),O=F.toHTML(),{language:e,value:O,relevance:H,illegal:!1,_emitter:F,_top:C}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:n(a),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:$,context:a.slice($-100,$+100),mode:t.mode,resultSoFar:O},_emitter:F};if(g)return{language:e,value:n(a),illegal:!1,relevance:0,errorRaised:t,_emitter:F,_top:C};throw t}}function A(e,t){t=t||v.languages||Object.keys(i);let r=function(e){let t={value:n(e),illegal:!1,relevance:0,_top:y,_emitter:new v.__emitter(v)};return t._emitter.addText(e),t}(e),a=t.filter(k).filter(U).map(t=>x(t,e,!1));a.unshift(r);let[o,s]=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;else if(k(t.language).supersetOf===e.language)return -1}return 0});return o.secondBest=s,o}function S(e){let t=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=v.languageDetectRe.exec(t);if(n){let t=k(n[1]);return t||(F(b.replace("{}",n[1])),F("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>E(e)||k(e))}(e);if(E(t))return;if(H("before:highlightElement",{el:e,language:t}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(v.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),v.throwUnescapedHTML))throw new $("One of your code blocks includes unescaped HTML.",e.innerHTML);let n=e.textContent,r=t?_(n,{language:t,ignoreIllegals:!0}):A(n);e.innerHTML=r.value,e.dataset.highlighted="yes";var i=r.language;let o=t&&a[t]||i;e.classList.add("hljs"),e.classList.add(`language-${o}`),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),H("after:highlightElement",{el:e,result:r,text:n})}let w=!1;function O(){if("loading"===document.readyState){w||window.addEventListener("DOMContentLoaded",function(){O()},!1),w=!0;return}document.querySelectorAll(v.cssSelector).forEach(S)}function k(e){return i[e=(e||"").toLowerCase()]||i[a[e]]}function j(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{a[e.toLowerCase()]=t})}function U(e){let t=k(e);return t&&!t.disableAutodetect}function H(e,t){o.forEach(function(n){n[e]&&n[e](t)})}for(let t in Object.assign(e,{highlight:_,highlightAuto:A,highlightAll:O,highlightElement:S,highlightBlock:function(e){return z("10.7.0","highlightBlock will be removed entirely in v12.0"),z("10.7.0","Please use highlightElement now."),S(e)},configure:function(e){v=r(v,e)},initHighlighting:()=>{O(),z("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){O(),z("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let r=null;try{r=n(e)}catch(e){if(B("Language definition for '{}' could not be registered.".replace("{}",t)),g)B(e);else throw e;r=y}r.name||(r.name=t),i[t]=r,r.rawDefinition=n.bind(null,e),r.aliases&&j(r.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete i[e],Object.keys(a)))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(i)},getLanguage:k,registerAliases:j,autoDetection:U,inherit:r,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),o.push(e)},removePlugin:function(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){g=!1},e.safeMode=function(){g=!0},e.versionString="11.11.1",e.regex={concat:h,lookahead:c,either:p,optional:d,anyNumberOfTimes:u},C)"object"==typeof C[t]&&function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(n=>{let r=t[n],i=typeof r;"object"!==i&&"function"!==i||Object.isFrozen(r)||e(r)}),t}(C[t]);return Object.assign(e,C),e},q=V({});q.newInstance=()=>V({}),e.exports=q,q.HighlightJS=q,q.default=q},85187:(e,t,n)=>{"use strict";function r(e,t,n){void 0===n&&(n=!1);var r=e.getBBox(),i=t/Math.max(r.width,r.height);return n&&(e.style.transform="scale(".concat(i,")")),i}n.d(t,{g:()=>r})},85189:(e,t,n)=>{"use strict";n.d(t,{A:()=>q});var r=n(12115),i=n(29300),a=n.n(i),o=n(27061),s=n(21858),l=n(24756),c=n(26791),u=r.createContext(null),d=r.createContext({}),h=n(40419),p=n(79630),f=n(82870),g=n(17233),m=n(40032),b=n(20235),y=n(74686),v=["prefixCls","className","containerRef"];let E=function(e){var t=e.prefixCls,n=e.className,i=e.containerRef,o=(0,b.A)(e,v),s=r.useContext(d).panel,l=(0,y.xK)(s,i);return r.createElement("div",(0,p.A)({className:a()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.A)(e,{aria:!0}),{"aria-modal":"true"},o))};var _=n(9587);function x(e){return"string"==typeof e&&String(Number(e))===e?((0,_.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},S=r.forwardRef(function(e,t){var n,i,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,v=e.push,_=e.forceRender,S=e.autoFocus,w=e.keyboard,O=e.classNames,C=e.rootClassName,k=e.rootStyle,M=e.zIndex,L=e.className,I=e.id,N=e.style,R=e.motion,P=e.width,D=e.height,j=e.children,B=e.mask,F=e.maskClosable,z=e.maskMotion,U=e.maskClassName,H=e.maskStyle,G=e.afterOpenChange,$=e.onClose,W=e.onMouseEnter,V=e.onMouseOver,q=e.onMouseLeave,Y=e.onClick,Z=e.onKeyDown,X=e.onKeyUp,K=e.styles,Q=e.drawerRender,J=r.useRef(),ee=r.useRef(),et=r.useRef();r.useImperativeHandle(t,function(){return J.current}),r.useEffect(function(){if(d&&S){var e;null==(e=J.current)||e.focus({preventScroll:!0})}},[d]);var en=r.useState(!1),er=(0,s.A)(en,2),ei=er[0],ea=er[1],eo=r.useContext(u),es=null!=(n=null!=(i=null==(l="boolean"==typeof v?v?{}:{distance:0}:v||{})?void 0:l.distance)?i:null==eo?void 0:eo.pushDistance)?n:180,el=r.useMemo(function(){return{pushDistance:es,push:function(){ea(!0)},pull:function(){ea(!1)}}},[es]);r.useEffect(function(){var e,t;d?null==eo||null==(e=eo.push)||e.call(eo):null==eo||null==(t=eo.pull)||t.call(eo)},[d]),r.useEffect(function(){return function(){var e;null==eo||null==(e=eo.pull)||e.call(eo)}},[]);var ec=r.createElement(f.Ay,(0,p.A)({key:"mask"},z,{visible:B&&d}),function(e,t){var n=e.className,i=e.style;return r.createElement("div",{className:a()("".concat(c,"-mask"),n,null==O?void 0:O.mask,U),style:(0,o.A)((0,o.A)((0,o.A)({},i),H),null==K?void 0:K.mask),onClick:F&&d?$:void 0,ref:t})}),eu="function"==typeof R?R(b):R,ed={};if(ei&&es)switch(b){case"top":ed.transform="translateY(".concat(es,"px)");break;case"bottom":ed.transform="translateY(".concat(-es,"px)");break;case"left":ed.transform="translateX(".concat(es,"px)");break;default:ed.transform="translateX(".concat(-es,"px)")}"left"===b||"right"===b?ed.width=x(P):ed.height=x(D);var eh={onMouseEnter:W,onMouseOver:V,onMouseLeave:q,onClick:Y,onKeyDown:Z,onKeyUp:X},ep=r.createElement(f.Ay,(0,p.A)({key:"panel"},eu,{visible:d,forceRender:_,onVisibleChanged:function(e){null==G||G(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var i=t.className,s=t.style,l=r.createElement(E,(0,p.A)({id:I,containerRef:n,prefixCls:c,className:a()(L,null==O?void 0:O.content),style:(0,o.A)((0,o.A)({},N),null==K?void 0:K.content)},(0,m.A)(e,{aria:!0}),eh),j);return r.createElement("div",(0,p.A)({className:a()("".concat(c,"-content-wrapper"),null==O?void 0:O.wrapper,i),style:(0,o.A)((0,o.A)((0,o.A)({},ed),s),null==K?void 0:K.wrapper)},(0,m.A)(e,{data:!0})),Q?Q(l):l)}),ef=(0,o.A)({},k);return M&&(ef.zIndex=M),r.createElement(u.Provider,{value:el},r.createElement("div",{className:a()(c,"".concat(c,"-").concat(b),C,(0,h.A)((0,h.A)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:J,onKeyDown:function(e){var t,n,r=e.keyCode,i=e.shiftKey;switch(r){case g.A.TAB:r===g.A.TAB&&(i||document.activeElement!==et.current?i&&document.activeElement===ee.current&&(null==(n=et.current)||n.focus({preventScroll:!0})):null==(t=ee.current)||t.focus({preventScroll:!0}));break;case g.A.ESC:$&&w&&(e.stopPropagation(),$(e))}}},ec,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:et,style:A,"aria-hidden":"true","data-sentinel":"end"})))});let w=function(e){var t=e.open,n=e.prefixCls,i=e.placement,a=e.autoFocus,u=e.keyboard,h=e.width,p=e.mask,f=void 0===p||p,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,v=e.destroyOnClose,E=e.onMouseEnter,_=e.onMouseOver,x=e.onMouseLeave,A=e.onClick,w=e.onKeyDown,O=e.onKeyUp,C=e.panelRef,k=r.useState(!1),M=(0,s.A)(k,2),L=M[0],I=M[1],N=r.useState(!1),R=(0,s.A)(N,2),P=R[0],D=R[1];(0,c.A)(function(){D(!0)},[]);var j=!!P&&void 0!==t&&t,B=r.useRef(),F=r.useRef();(0,c.A)(function(){j&&(F.current=document.activeElement)},[j]);var z=r.useMemo(function(){return{panel:C}},[C]);if(!b&&!L&&!j&&v)return null;var U=(0,o.A)((0,o.A)({},e),{},{open:j,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===i?"right":i,autoFocus:void 0===a||a,keyboard:void 0===u||u,width:void 0===h?378:h,mask:f,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;I(e),null==y||y(e),e||!F.current||null!=(t=B.current)&&t.contains(F.current)||null==(n=F.current)||n.focus({preventScroll:!0})},ref:B},{onMouseEnter:E,onMouseOver:_,onMouseLeave:x,onClick:A,onKeyDown:w,onKeyUp:O});return r.createElement(d.Provider,{value:z},r.createElement(l.A,{open:j||b||L,autoDestroy:!1,getContainer:m,autoLock:f&&(j||L)},r.createElement(S,U)))};var O=n(32934),C=n(9184),k=n(9130),M=n(93666),L=n(6833),I=n(15982),N=n(2732),R=n(50497),P=n(70802);let D=e=>{var t,n;let i,{prefixCls:o,ariaId:s,title:l,footer:c,extra:u,closable:d,loading:h,onClose:p,headerStyle:f,bodyStyle:g,footerStyle:m,children:b,classNames:y,styles:v}=e,E=(0,I.TP)("drawer");i=!1===d?void 0:void 0===d||!0===d?"start":(null==d?void 0:d.placement)==="end"?"end":"start";let _=r.useCallback(e=>r.createElement("button",{type:"button",onClick:p,className:a()("".concat(o,"-close"),{["".concat(o,"-close-").concat(i)]:"end"===i})},e),[p,o,i]),[x,A]=(0,R.$)((0,R.d)(e),(0,R.d)(E),{closable:!0,closeIconRender:_});return r.createElement(r.Fragment,null,(()=>{var e,t;return l||x?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=E.styles)?void 0:e.header),f),null==v?void 0:v.header),className:a()("".concat(o,"-header"),{["".concat(o,"-header-close-only")]:x&&!l&&!u},null==(t=E.classNames)?void 0:t.header,null==y?void 0:y.header)},r.createElement("div",{className:"".concat(o,"-header-title")},"start"===i&&A,l&&r.createElement("div",{className:"".concat(o,"-title"),id:s},l)),u&&r.createElement("div",{className:"".concat(o,"-extra")},u),"end"===i&&A):null})(),r.createElement("div",{className:a()("".concat(o,"-body"),null==y?void 0:y.body,null==(t=E.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=E.styles)?void 0:n.body),g),null==v?void 0:v.body)},h?r.createElement(P.A,{active:!0,title:!1,paragraph:{rows:5},className:"".concat(o,"-body-skeleton")}):b),(()=>{var e,t;return c?r.createElement("div",{className:a()("".concat(o,"-footer"),null==(e=E.classNames)?void 0:e.footer,null==y?void 0:y.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=E.styles)?void 0:t.footer),m),null==v?void 0:v.footer)},c):null})())};var j=n(99841),B=n(18184),F=n(45431),z=n(61388);let U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),H=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(t)}}},U({opacity:e},{opacity:1})),G=(0,F.OF)("Drawer",e=>{let t=(0,z.oX)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:h,lineWidth:p,lineType:f,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:v,colorBgTextActive:E,colorText:_,fontWeightStrong:x,footerPaddingBlock:A,footerPaddingInline:S,calc:w}=e,O="".concat(n,"-content-wrapper");return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:_,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",["&".concat(n,"-left")]:{boxShadow:e.boxShadowDrawerLeft},["&".concat(n,"-right")]:{boxShadow:e.boxShadowDrawerRight},["&".concat(n,"-top")]:{boxShadow:e.boxShadowDrawerUp},["&".concat(n,"-bottom")]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},["".concat(n,"-mask")]:{position:"absolute",inset:0,zIndex:r,background:i,pointerEvents:"auto"},[O]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:"all ".concat(o),"&-hidden":{display:"none"}},["&-left > ".concat(O)]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > ".concat(O)]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > ".concat(O)]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > ".concat(O)]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},["".concat(n,"-content")]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},["".concat(n,"-header")]:{display:"flex",flex:0,alignItems:"center",padding:"".concat((0,j.zA)(c)," ").concat((0,j.zA)(u)),fontSize:d,lineHeight:h,borderBottom:"".concat((0,j.zA)(p)," ").concat(f," ").concat(g),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},["".concat(n,"-extra")]:{flex:"none"},["".concat(n,"-close")]:Object.assign({display:"inline-flex",width:w(d).add(l).equal(),height:w(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:b,fontWeight:x,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all ".concat(s),textRendering:"auto",["&".concat(n,"-close-end")]:{marginInlineStart:m},["&:not(".concat(n,"-close-end)")]:{marginInlineEnd:m},"&:hover":{color:y,backgroundColor:v,textDecoration:"none"},"&:active":{backgroundColor:E}},(0,B.K8)(e)),["".concat(n,"-title")]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:h},["".concat(n,"-body")]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",["".concat(n,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},["".concat(n,"-footer")]:{flexShrink:0,padding:"".concat((0,j.zA)(A)," ").concat((0,j.zA)(S)),borderTop:"".concat((0,j.zA)(p)," ").concat(f," ").concat(g)},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{["".concat(t,"-mask-motion")]:H(0,n),["".concat(t,"-panel-motion")]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-".concat(t)]:[H(.7,n),U({transform:(e=>{let t="100%";return({left:"translateX(-".concat(t,")"),right:"translateX(".concat(t,")"),top:"translateY(-".concat(t,")"),bottom:"translateY(".concat(t,")")})[e]})(t)},{transform:"none"})]}),{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var $=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 W={distance:180},V=e=>{let{rootClassName:t,width:n,height:i,size:o="default",mask:s=!0,push:l=W,open:c,afterOpenChange:u,onClose:d,prefixCls:h,getContainer:p,panelRef:f=null,style:g,className:m,"aria-labelledby":b,visible:v,afterVisibleChange:E,maskStyle:_,drawerStyle:x,contentWrapperStyle:A,destroyOnClose:S,destroyOnHidden:R}=e,P=$(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),j=(0,O.A)(),B=P.title?j:void 0,{getPopupContainer:F,getPrefixCls:z,direction:U,className:H,style:V,classNames:q,styles:Y}=(0,I.TP)("drawer"),Z=z("drawer",h),[X,K,Q]=G(Z),J=void 0===p&&F?()=>F(document.body):p,ee=a()({"no-mask":!s,["".concat(Z,"-rtl")]:"rtl"===U},t,K,Q),et=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),en=r.useMemo(()=>null!=i?i:"large"===o?736:378,[i,o]),er={motionName:(0,M.b)(Z,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ei=(0,N.f)(),ea=(0,y.K4)(f,ei),[eo,es]=(0,k.YK)("Drawer",P.zIndex),{classNames:el={},styles:ec={}}=P;return X(r.createElement(C.A,{form:!0,space:!0},r.createElement(L.A.Provider,{value:es},r.createElement(w,Object.assign({prefixCls:Z,onClose:d,maskMotion:er,motion:e=>({motionName:(0,M.b)(Z,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},P,{classNames:{mask:a()(el.mask,q.mask),content:a()(el.content,q.content),wrapper:a()(el.wrapper,q.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ec.mask),_),Y.mask),content:Object.assign(Object.assign(Object.assign({},ec.content),x),Y.content),wrapper:Object.assign(Object.assign(Object.assign({},ec.wrapper),A),Y.wrapper)},open:null!=c?c:v,mask:s,push:l,width:et,height:en,style:Object.assign(Object.assign({},V),g),className:a()(H,m),rootClassName:ee,getContainer:J,afterOpenChange:null!=u?u:E,panelRef:ea,zIndex:eo,"aria-labelledby":null!=b?b:B,destroyOnClose:null!=R?R:S}),r.createElement(D,Object.assign({prefixCls:Z},P,{ariaId:B,onClose:d}))))))};V._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:i,placement:o="right"}=e,s=$(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.QO),c=l("drawer",t),[u,d,h]=G(c),p=a()(c,"".concat(c,"-pure"),"".concat(c,"-").concat(o),d,h,i);return u(r.createElement("div",{className:p,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};let q=V},85237: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=[]},85654:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},85796: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=[]},85829: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=[]},85830:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(20235),i=n(85757),a=n(40419),o=n(12115),s=n(79630);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t1&&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)}(d.className,Object.assign({},d.style,void 0===i?{}:i),r)})}else m=c(c({},d),{},{className:d.className.join(" ")});var _=b(n.children);return o.createElement(p,(0,s.A)({key:l},m),_)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(t)})})}function E(e){return e&&void 0!==e.highlightAuto}function _(e,t){return function(n){var a,s,l=n.language,c=n.children,u=n.style,h=void 0===u?t:u,_=n.customStyle,x=void 0===_?{}:_,A=n.codeTagProps,S=void 0===A?{className:l?"language-".concat(l):void 0,style:p(p({},h['code[class*="language-"]']),h['code[class*="language-'.concat(l,'"]')])}:A,w=n.useInlineStyles,O=void 0===w||w,C=n.showLineNumbers,k=void 0!==C&&C,M=n.showInlineLineNumbers,L=void 0===M||M,I=n.startingLineNumber,N=void 0===I?1:I,R=n.lineNumberContainerStyle,P=n.lineNumberStyle,D=void 0===P?{}:P,j=n.wrapLines,B=n.wrapLongLines,F=void 0!==B&&B,z=n.lineProps,U=n.renderer,H=n.PreTag,G=void 0===H?"pre":H,$=n.CodeTag,W=void 0===$?"code":$,V=n.code,q=void 0===V?(Array.isArray(c)?c[0]:c)||"":V,Y=n.astGenerator,Z=(0,r.A)(n,d);Y=Y||e;var X=k?o.createElement(g,{containerStyle:R,codeStyle:S.style||{},numberStyle:D,startingLineNumber:N,codeString:q}):null,K=h.hljs||h['pre[class*="language-"]']||{backgroundColor:"#fff"},Q=E(Y)?"hljs":"prismjs",J=O?Object.assign({},Z,{style:Object.assign({},K,x)}):Object.assign({},Z,{className:Z.className?"".concat(Q," ").concat(Z.className):Q,style:Object.assign({},x)});if(F?S.style=p({whiteSpace:"pre-wrap"},S.style):S.style=p({whiteSpace:"pre"},S.style),!Y)return o.createElement(G,J,X,o.createElement(W,S,q));(void 0===j&&U||F)&&(j=!0),U=U||v;var ee=[{type:"text",value:q}],et=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(E(t)){var a=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:i,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(e){return{value:i}}}({astGenerator:Y,language:l,code:q,defaultCodeValue:ee});null===et.language&&(et.value=ee);var en=N+(null!=(a=null==(s=q.match(/\n/g))?void 0:s.length)?a:0),er=function(e,t,n,r,a,o,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return y({children:e,lineNumber:i,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:o,showLineNumbers:r,wrapLongLines:c,wrapLines:t})}(e,i,o):function(e,t){if(r&&t&&a){var n=b(l,t,s);e.unshift(m(t,n))}return e}(e,i)}for(;g{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r,i,a,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,o=e.apply(i,a),r||(i=a=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return i=this,a=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,o=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(r),s=0,r=i=a=null},c}},86372:(e,t,n)=>{"use strict";n.d(t,{F5:()=>r.F5,Ks:()=>r.Ks,Hl:()=>r.Hl,N3:()=>r.N3,jl:()=>r.jl,K9:()=>r.K9,up:()=>r.up,q9:()=>r.q9,yo:()=>r.yo,jX:()=>r.jX,Pp:()=>r.Pp,Aj:()=>r.Aj,YJ:()=>r.YJ,g3:()=>r.g3,_V:()=>r._V,N1:()=>r.N1,wA:()=>r.wA,tS:()=>r.tS,Ro:()=>r.Ro,NZ:()=>r.NZ,rw:()=>r.rw,yp:()=>r.yp,EY:()=>r.EY,O5:()=>r.O5,H0:()=>r.H0,KJ:()=>r.KJ,fA:()=>r.fA});var r=n(39996),i=n(30857),a=n(28383),o=n(78096),s=n(38289),l=n(69138),c=n(42338),u=n(4684),d=n(76637),h=n(64664),p=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),a=0;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===r.Aq.ORBITING||this.type===r.Aq.EXPLORING?this._getPosition():this.type===r.Aq.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,r.Q_)(e,t,0),i=h.o8(this.position);return h.WQ(i,i,h.hs(h.vt(),this.right,n[0])),h.WQ(i,i,h.hs(h.vt(),this.up,n[1])),this._setPosition(i),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=h.o8(this.position),i=e*this.dollyingStep;return i=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=i*t[0],n[1]+=i*t[1],n[2]+=i*t[2],this._setPosition(n),this.type===r.Aq.ORBITING||this.type===r.Aq.EXPLORING?this._getDistance():this.type===r.Aq.TRACKING&&h.WQ(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,i,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.position,l=void 0===s?this.position:s,c=o.focalPoint,u=void 0===c?this.focalPoint:c,p=o.roll,f=o.zoom,g=new r.fA.CameraContribution;g.setType(this.type,void 0),g.setPosition(l[0],null!=(t=l[1])?t:this.position[1],null!=(n=l[2])?n:this.position[2]),g.setFocalPoint(u[0],null!=(i=u[1])?i:this.focalPoint[1],null!=(a=u[2])?a:this.focalPoint[2]),g.setRoll(null!=p?p:this.roll),g.setZoom(null!=f?f:this.zoom);var m={name:e,matrix:d.clone(g.getWorldTransform()),right:h.o8(g.right),up:h.o8(g.up),forward:h.o8(g.forward),position:h.o8(g.getPosition()),focalPoint:h.o8(g.getFocalPoint()),distanceVector:h.o8(g.getDistanceVector()),distance:g.getDistance(),dollyingStep:g.getDollyingStep(),azimuth:g.getAzimuth(),elevation:g.getElevation(),roll:g.getRoll(),relAzimuth:g.relAzimuth,relElevation:g.relElevation,relRoll:g.relRoll,zoom:g.getZoom()};return this.landmarks.push(m),m}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,l.A)(e)?this.landmarks.find(function(t){return t.name===e}):e;if(i){var a,o=(0,c.A)(n)?{duration:n}:n,s=o.easing,u=o.duration,d=void 0===u?100:u,p=o.easingFunction,f=o.onfinish,g=void 0===f?void 0:f,m=o.onframe,b=void 0===m?void 0:m;this.cancelLandmarkAnimation();var y=i.position,v=i.focalPoint,E=i.zoom,_=i.roll,x=(void 0===p?void 0:p)||r.fA.EasingFunction(void 0===s?"linear":s),A=function(){t.setFocalPoint(v),t.setPosition(y),t.setRoll(_),t.setZoom(E),t.computeMatrix(),t.triggerUpdate(),null==g||g()};if(0===d)return A();var S=function(e){void 0===a&&(a=e);var n=e-a;if(n>=d)return void A();var r=x(n/d),i=h.vt(),o=h.vt(),s=1,l=0;if(h.Cc(i,t.focalPoint,v,r),h.Cc(o,t.position,y,r),l=t.roll*(1-r)+_*r,s=t.zoom*(1-r)+E*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),h.xg(i,v)+h.xg(o,y)<=.01&&void 0===E&&void 0===_)return A();t.computeMatrix(),t.triggerUpdate(),n0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){if(null!=(e=this.effect.target)&&e.destroyed)return this.readyPromise=void 0,this.finishedPromise=void 0,!1;var e,t=this.oldPlayState,n=this.pending?"pending":this.playState;return this.readyPromise&&n!==t&&("idle"===n?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===t?this.resolveReadyPromise():"pending"===n&&(this.readyPromise=void 0)),this.finishedPromise&&n!==t&&("idle"===n?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===n?this.resolveFinishedPromise():"finished"===t&&(this.finishedPromise=void 0)),this.oldPlayState=n,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new y(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null==(e=this.effect)?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){!this._idle&&!this._paused&&(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(r.eg)}},{key:"addEventListener",value:function(e,t,n){throw Error(r.eg)}},{key:"removeEventListener",value:function(e,t,n){throw Error(r.eg)}},{key:"dispatchEvent",value:function(e){throw Error(r.eg)}},{key:"commitStyles",value:function(){throw Error(r.eg)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!=(e=this.effect)&&e.update(-1)):this._inEffect=!!(null!=(t=this.effect)&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new y(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new y(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),_="function"==typeof Float32Array,x=function(e,t){return 1-3*t+3*e},A=function(e,t){return 3*t-6*e},S=function(e){return 3*e},w=function(e,t,n){return((x(t,n)*e+A(t,n))*e+S(t))*e},O=function(e,t,n){return 3*x(t,n)*e*e+2*A(t,n)*e+S(t)},C=function(e,t,n,r,i){var a,o,s=0;do(a=w(o=t+(n-t)/2,r,i)-e)>0?n=o:t=o;while(Math.abs(a)>1e-7&&++s<10);return o},k=function(e,t,n,r){for(var i=0;i<4;++i){var a=O(t,n,r);if(0===a)break;var o=w(t,n,r)-e;t-=o/a}return t},M=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var i=_?new Float32Array(11):Array(11),a=0;a<11;++a)i[a]=w(.1*a,e,n);var o=function(t){for(var r=0,a=1;10!==a&&i[a]<=t;++a)r+=.1;var o=r+(t-i[--a])/(i[a+1]-i[a])*.1,s=O(o,e,n);return s>=.001?k(t,o,e,n):0===s?o:C(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:w(o(e),t,r)}},L=function(e){return Math.pow(e,2)},I=function(e){return Math.pow(e,3)},N=function(e){return Math.pow(e,4)},R=function(e){return Math.pow(e,5)},P=function(e){return Math.pow(e,6)},D=function(e){return 1-Math.cos(e*Math.PI/2)},j=function(e){return 1-Math.sqrt(1-e*e)},B=function(e){return e*e*(3*e-2)},F=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,2),r=n[0],i=n[1],a=(0,m.A)(Number(void 0===r?1:r),1,10),o=(0,m.A)(Number(void 0===i?.5:i),.1,2);return 0===e||1===e?e:-a*Math.pow(2,10*(e-1))*Math.sin(2*Math.PI*(e-1-o/(2*Math.PI)*Math.asin(1/a))/o)},U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,g.A)(t,4),i=r[0],a=void 0===i?1:i,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;a=(0,m.A)(a,.1,1e3),s=(0,m.A)(s,.1,1e3),c=(0,m.A)(c,.1,1e3),d=(0,m.A)(d,.1,1e3);var h=Math.sqrt(s/a),p=c/(2*Math.sqrt(s*a)),f=p<1?h*Math.sqrt(1-p*p):0,b=p<1?(p*h+-d)/f:-d+h,y=n?n*e/1e3:e;return(y=p<1?Math.exp(-y*p*h)*(+Math.cos(f*y)+b*Math.sin(f*y)):(1+b*y)*Math.exp(-y*h),0===e||1===e)?e:1-y},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,2),r=n[0],i=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)((0,m.A)(e,0,1)*i)/i},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,g.A)(t,4);return M(n[0],n[1],n[2],n[3])(e)},$=M(.42,0,1,1),W=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},V=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},q=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},Y={steps:H,"step-start":function(e){return H(e,[1,"start"])},"step-end":function(e){return H(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":G,ease:function(e){return G(e,[.25,.1,.25,1])},in:$,out:W($),"in-out":V($),"out-in":q($),"in-quad":L,"out-quad":W(L),"in-out-quad":V(L),"out-in-quad":q(L),"in-cubic":I,"out-cubic":W(I),"in-out-cubic":V(I),"out-in-cubic":q(I),"in-quart":N,"out-quart":W(N),"in-out-quart":V(N),"out-in-quart":q(N),"in-quint":R,"out-quint":W(R),"in-out-quint":V(R),"out-in-quint":q(R),"in-expo":P,"out-expo":W(P),"in-out-expo":V(P),"out-in-expo":q(P),"in-sine":D,"out-sine":W(D),"in-out-sine":V(D),"out-in-sine":q(D),"in-circ":j,"out-circ":W(j),"in-out-circ":V(j),"out-in-circ":q(j),"in-back":B,"out-back":W(B),"in-out-back":V(B),"out-in-back":q(B),"in-bounce":F,"out-bounce":W(F),"in-out-bounce":V(F),"out-in-bounce":q(F),"in-elastic":z,"out-elastic":W(z),"in-out-elastic":V(z),"out-in-elastic":q(z),spring:U,"spring-in":U,"spring-out":W(U),"spring-in-out":V(U),"spring-out-in":q(U)},Z=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},X=function(e){return e};function K(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var Q="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",J=new RegExp("cubic-bezier\\(".concat(Q,",").concat(Q,",").concat(Q,",").concat(Q,"\\)")),ee=/steps\(\s*(\d+)\s*\)/,et=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function en(e){var t=J.exec(e);if(t)return M.apply(void 0,(0,f.A)(t.slice(1).map(Number)));var n=ee.exec(e);if(n)return K(Number(n[1]),0);var r=et.exec(e);return r?K(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):Y[Z(e)]||Y.linear}function er(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var ei=function(e,t,n){return function(r){var i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var i=t.length,a=n.length,o=Math.max(i,a),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=i}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(i))throw Error("".concat(i," compositing is not supported"));n[r]=i}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,i=-1/0,a=0;a=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!=(e=n[r-1].offset)?e:1),r>1&&(n[0].computedOffset=Number(null!=(t=n[0].offset)?t:0));for(var i=0,a=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),d=function(e,t,n,r,i){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-i;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,u,n.delay);if(null===d)return null;var h="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=i=n.iterationStart,0===h?1!==u&&(a+=r):a+=d/h,a),f=(o=n.iterationStart,s=n.iterations,0==(l=p===1/0?o%1:p%1)&&2===u&&0!==s&&(0!==d||0===h)&&(l=1),l),g=(c=n.iterations,2===u&&c===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),r="normal",i!==1/0&&i%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,g,f);return n.currentIteration=g,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=eo(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function eu(e,t){return Number(e.id)-Number(t.id)}var ed=(0,a.A)(function e(t){var n=this;(0,i.A)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],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,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="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*{)",s="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 l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(a),u=RegExp(l(i+" "+a+" "+o+" "+s)),d=l(a+" "+o+" "+s),h=l(i+" "+a+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),f=r(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,f,y]),_=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[_,b,y]),A={keyword:u,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,w=/"(?:\\.|[^\\"\r\n])*"/.source,O=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:A},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:A},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:A},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,h,g]),inside:A}],keyword:u,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,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:A},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,b]),inside:A,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:A,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:A}}},"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,[c,m,g,x,u.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:A},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=w+"|"+S,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),M=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[k]),2),L=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,I=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,M]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[L,I]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[L]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[M]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,R=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[k]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]),D=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[D,N]);function B(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),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,[P]),lookbehind:!0,greedy:!0,inside:B(P,R)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:B(j,D)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},86512:(e,t,n)=>{e.exports=n(21087)(n(75751))},86815:(e,t,n)=>{"use strict";n.d(t,{A4:()=>eN});var r=n(28383),i=n(30857),a=n(78096),o=n(38289),s=n(39996),l=n(40419),c=n(21858),u=n(31563);function d(e,t){var n=t.cx,r=t.cy,i=t.r;e.arc(void 0===n?0:n,void 0===r?0:r,i,0,2*Math.PI,!1)}function h(e,t){var n=t.cx,r=void 0===n?0:n,i=t.cy,a=void 0===i?0:i,o=t.rx,s=t.ry;e.ellipse?e.ellipse(r,a,o,s,0,0,2*Math.PI,!1):(e.save(),e.scale(o>s?1:o/s,o>s?s/o:1),e.arc(r,a,o>s?o:s,0,2*Math.PI))}function p(e,t){var n=t.x1,r=t.y1,i=t.x2,a=t.y2,o=t.markerStart,l=t.markerEnd,c=t.markerStartOffset,u=t.markerEndOffset,d=0,h=0,p=0,f=0,g=0;o&&(0,s.y5)(o)&&c&&(d=Math.cos(g=Math.atan2(a-r,i-n))*(c||0),h=Math.sin(g)*(c||0)),l&&(0,s.y5)(l)&&u&&(p=Math.cos(g=Math.atan2(r-a,n-i))*(u||0),f=Math.sin(g)*(u||0)),e.moveTo(n+d,r+h),e.lineTo(i+p,a+f)}function f(e,t){var n,r=t.markerStart,i=t.markerEnd,a=t.markerStartOffset,o=t.markerEndOffset,l=t.d,u=l.absolutePath,d=l.segments,h=0,p=0,f=0,g=0,m=0;if(r&&(0,s.y5)(r)&&a){var b=r.parentNode.getStartTangent(),y=(0,c.A)(b,2),v=y[0],E=y[1];n=v[0]-E[0],h=Math.cos(m=Math.atan2(v[1]-E[1],n))*(a||0),p=Math.sin(m)*(a||0)}if(i&&(0,s.y5)(i)&&o){var _=i.parentNode.getEndTangent(),x=(0,c.A)(_,2),A=x[0],S=x[1];n=A[0]-S[0],f=Math.cos(m=Math.atan2(A[1]-S[1],n))*(o||0),g=Math.sin(m)*(o||0)}for(var w=0;w$?G:$,X=G>$?1:G/$,K=G>$?$/G:1;e.translate(U,H),e.rotate(q),e.scale(X,K),e.arc(0,0,Z,W,V,!!(1-Y)),e.scale(1/X,1/K),e.rotate(-q),e.translate(-U,-H)}L&&e.lineTo(O[6]+f,O[7]+g);break;case"Z":e.closePath()}}}function g(e,t){var n,r=t.markerStart,i=t.markerEnd,a=t.markerStartOffset,o=t.markerEndOffset,l=t.points.points,c=l.length,u=l[0][0],d=l[0][1],h=l[c-1][0],p=l[c-1][1],f=0,g=0,m=0,b=0,y=0;r&&(0,s.y5)(r)&&a&&(n=l[1][0]-l[0][0],f=Math.cos(y=Math.atan2(l[1][1]-l[0][1],n))*(a||0),g=Math.sin(y)*(a||0)),i&&(0,s.y5)(i)&&o&&(n=l[c-1][0]-l[0][0],m=Math.cos(y=Math.atan2(l[c-1][1]-l[0][1],n))*(o||0),b=Math.sin(y)*(o||0)),e.moveTo(u+(f||m),d+(g||b));for(var v=1;v0?1:-1,h=l>0?1:-1,p=d+h===0,f=o.map(function(e){return(0,u.A)(e,0,Math.min(Math.abs(s)/2,Math.abs(l)/2))}),g=(0,c.A)(f,4),m=g[0],b=g[1],y=g[2],v=g[3];e.moveTo(d*m+r,a),e.lineTo(s-d*b+r,a),0!==b&&e.arc(s-d*b+r,h*b+a,b,-h*Math.PI/2,d>0?0:Math.PI,p),e.lineTo(s+r,l-h*y+a),0!==y&&e.arc(s-d*y+r,l-h*y+a,y,d>0?0:Math.PI,h>0?Math.PI/2:1.5*Math.PI,p),e.lineTo(d*v+r,l+a),0!==v&&e.arc(d*v+r,l-h*v+a,v,h>0?Math.PI/2:-Math.PI/2,d>0?Math.PI:0,p),e.lineTo(r,h*m+a),0!==m&&e.arc(d*m+r,h*m+a,m,d>0?Math.PI:0,h>0?1.5*Math.PI:Math.PI/2,p)}else e.rect(r,a,s,l)}var y=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o=o-f&&g<=o+f}function R(e,t,n){var r,i,a,o,l,u,d=e.parsedStyle,h=d.cx,p=void 0===h?0:h,f=d.cy,g=void 0===f?0:f,m=d.rx,b=d.ry,y=d.fill,v=d.stroke,E=d.lineWidth,_=d.increasedLineWidthForHitTesting,x=d.pointerEvents,A=t.x,S=t.y,w=(0,s.Hh)(void 0===x?"auto":x,y,v),O=(0,c.A)(w,2),C=O[0],k=O[1],M=((void 0===E?1:E)+(void 0===_?0:_))/2,L=(A-p)*(A-p),I=(S-g)*(S-g);return C&&k||n?1>=L/((r=m+M)*r)+I/((i=b+M)*i):C?1>=L/(m*m)+I/(b*b):!!k&&L/((a=m-M)*a)+I/((o=b-M)*o)>=1&&1>=L/((l=m+M)*l)+I/((u=b+M)*u)}function P(e,t,n,r,i,a){return i>=e&&i<=e+n&&a>=t&&a<=t+r}function D(e,t,n,r,i,a,o,s){var l=(Math.atan2(s-t,o-e)+2*Math.PI)%(2*Math.PI),c={x:e+n*Math.cos(l),y:t+n*Math.sin(l)};return(0,S.Io)(c.x,c.y,o,s)<=a/2}function j(e,t,n,r,i,a,o){var s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r),d=i/2;return!!(a>=s-d&&a<=l+d&&o>=c-d&&o<=u+d)&&(0,S.M7)(e,t,n,r,a,o)<=i/2}function B(e,t,n,r,i){var a=e.length;if(a<2)return!1;for(var o=0;oMath.abs(e)?0:e<0?-1:1}function z(e,t,n){var r=!1,i=e.length;if(i<=2)return!1;for(var a=0;a0!=F(l[1]-n)>0&&0>F(t-(n-s[1])*(s[0]-l[0])/(s[1]-l[1])-s[0])&&(r=!r)}return r}function U(e,t,n){for(var r=!1,i=0;i=i.min[0]&&t.y>=i.min[1]&&t.x<=i.max[0]&&t.y<=i.max[1]}I.tag="CanvasPicker";var Z=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:e.api;e.rafId&&(t.cancelAnimationFrame(e.rafId),e.rafId=null)}},{key:"executeTask",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.api;en.length<=0&&er.length<=0||(er.forEach(function(e){return e()}),er=en.splice(0,e.TASK_NUM_PER_FRAME),e.rafId=t.requestAnimationFrame(function(){e.executeTask(t)}))}},{key:"sliceImage",value:function(t,n,r,i){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e.api,s=t.naturalWidth||t.width,l=t.naturalHeight||t.height,c=n-a,u=r-a,d=Math.ceil(s/c),h=Math.ceil(l/u),p={tileSize:[n,r],gridSize:[h,d],tiles:Array(h).fill(null).map(function(){return Array(d).fill(null)})},f=function(e){for(var a=function(a){en.push(function(){var d=a*c,h=e*u,f=[Math.min(n,s-d),Math.min(r,l-h)],g=f[0],m=f[1],b=o.createCanvas();b.width=n,b.height=r,b.getContext("2d").drawImage(t,d,h,g,m,0,0,g,m),p.tiles[e][a]={x:d,y:h,tileX:a,tileY:e,data:b},i()})},h=0;hc&&g/h>u,t&&("function"==typeof t.resetTransform?t.resetTransform():t.setTransform(1,0,0,1,0,0),r.clearFullScreen&&r.clearRect(t,0,0,i*n,o*n,a.background))},y=function(e,t){for(var i=[e];i.length>0;){var a,o=i.pop();o.isVisible()&&!o.isCulled()&&(h?r.renderDisplayObjectOptimized(o,t,r.context,K(r,eu)[eu],n):r.renderDisplayObject(o,t,r.context,K(r,eu)[eu],n));for(var s=(null==(a=o.sortable)||null==(a=a.sorted)?void 0:a.length)>0?o.sortable.sorted:o.childNodes,l=s.length-1;l>=0;l--)i.push(s[l])}};l.hooks.endFrame.tap(e.tag,function(){if(b(),0===c.root.childNodes.length){r.clearFullScreenLastFrame=!0;return}h=a.renderer.getConfig().enableRenderingOptimization,K(r,eu)[eu]={restoreStack:[],prevObject:null,currentContext:K(r,eu)[eu].currentContext},K(r,eu)[eu].currentContext.clear(),r.clearFullScreenLastFrame=!1;var e=p.getContext(),t=p.getDPR();if(A.fromScaling(r.dprMatrix,[t,t,1]),A.multiply(r.vpMatrix,r.dprMatrix,o.getOrthoMatrix()),r.clearFullScreen)h?(e.save(),y(c.root,e),e.restore()):y(c.root,e),r.removedRBushNodeAABBs=[];else{var i=r.safeMergeAABB.apply(r,[r.mergeDirtyAABBs(r.renderQueue)].concat((0,X.A)(r.removedRBushNodeAABBs.map(function(e){var t=e.minX,n=e.minY,r=e.maxX,i=e.maxY,a=new s.F5;return a.setMinMax([t,n,0],[r,i,0]),a}))));if(r.removedRBushNodeAABBs=[],s.F5.isEmpty(i)){r.renderQueue=[];return}var l=r.convertAABB2Rect(i),u=l.x,d=l.y,g=l.width,m=l.height,v=x.Z0(r.vec3a,[u,d,0],r.vpMatrix),E=x.Z0(r.vec3b,[u+g,d,0],r.vpMatrix),_=x.Z0(r.vec3c,[u,d+m,0],r.vpMatrix),S=x.Z0(r.vec3d,[u+g,d+m,0],r.vpMatrix),w=Math.min(v[0],E[0],S[0],_[0]),O=Math.min(v[1],E[1],S[1],_[1]),C=Math.max(v[0],E[0],S[0],_[0]),k=Math.max(v[1],E[1],S[1],_[1]),M=Math.floor(w),L=Math.floor(O),I=Math.ceil(C-w),N=Math.ceil(k-O);e.save(),r.clearRect(e,M,L,I,N,a.background),e.beginPath(),e.rect(M,L,I,N),e.clip(),e.setTransform(r.vpMatrix[0],r.vpMatrix[1],r.vpMatrix[4],r.vpMatrix[5],r.vpMatrix[12],r.vpMatrix[13]),a.renderer.getConfig().enableDirtyRectangleRenderingDebug&&f.dispatchEvent(new s.up(s.N3.DIRTY_RECTANGLE,{dirtyRect:{x:M,y:L,width:I,height:N}})),r.searchDirtyObjects(i).sort(function(e,t){return e.sortable.renderOrder-t.sortable.renderOrder}).forEach(function(t){t&&t.isVisible()&&!t.isCulled()&&r.renderDisplayObject(t,e,r.context,K(r,eu)[eu],n)}),e.restore(),r.renderQueue.forEach(function(e){r.saveDirtyAABB(e)}),r.renderQueue=[]}K(r,eu)[eu].restoreStack.forEach(function(){e.restore()}),K(r,eu)[eu].restoreStack=[]}),l.hooks.render.tap(e.tag,function(e){r.clearFullScreen||r.renderQueue.push(e)})}},{key:"clearRect",value:function(e,t,n,r,i,a){e.clearRect(t,n,r,i),a&&(e.fillStyle=a,e.fillRect(t,n,r,i))}},{key:"renderDisplayObjectOptimized",value:function(e,t,n,r,i){var a=e.nodeName,o=!1,l=this.context.styleRendererFactory[a],c=this.pathGeneratorFactory[a],u=e.parsedStyle.clipPath;if(u){r.prevObject&&A.exactEquals(u.getWorldTransform(),r.prevObject.getWorldTransform())||(this.applyWorldTransform(t,u),r.prevObject=null);var d=this.pathGeneratorFactory[u.nodeName];d&&(t.save(),o=!0,t.beginPath(),d(t,u.parsedStyle),t.closePath(),t.clip())}if(l){r.prevObject&&A.exactEquals(e.getWorldTransform(),r.prevObject.getWorldTransform())||this.applyWorldTransform(t,e);var h=!r.prevObject;if(!h){var p=r.prevObject.nodeName;h=a===s.yp.TEXT?p!==s.yp.TEXT:a===s.yp.IMAGE?p!==s.yp.IMAGE:p===s.yp.TEXT||p===s.yp.IMAGE}l.applyStyleToContext(t,e,h,r),r.prevObject=e}c&&(t.beginPath(),c(t,e.parsedStyle),a!==s.yp.LINE&&a!==s.yp.PATH&&a!==s.yp.POLYLINE&&t.closePath()),l&&l.drawToContext(t,e,K(this,eu)[eu],this,i),o&&t.restore(),e.dirty(!1)}},{key:"renderDisplayObject",value:function(e,t,n,r,i){var a=e.nodeName,o=r.restoreStack[r.restoreStack.length-1];o&&!(e.compareDocumentPosition(o)&s.bP.DOCUMENT_POSITION_CONTAINS)&&(t.restore(),r.restoreStack.pop());var l=this.context.styleRendererFactory[a],c=this.pathGeneratorFactory[a],u=e.parsedStyle.clipPath;if(u){this.applyWorldTransform(t,u);var d=this.pathGeneratorFactory[u.nodeName];d&&(t.save(),r.restoreStack.push(e),t.beginPath(),d(t,u.parsedStyle),t.closePath(),t.clip())}l&&(this.applyWorldTransform(t,e),t.save(),this.applyAttributesToContext(t,e)),c&&(t.beginPath(),c(t,e.parsedStyle),a!==s.yp.LINE&&a!==s.yp.PATH&&a!==s.yp.POLYLINE&&t.closePath()),l&&(l.render(t,e.parsedStyle,e,n,this,i),t.restore()),e.dirty(!1)}},{key:"applyAttributesToContext",value:function(e,t){var n=t.parsedStyle,r=n.stroke,i=n.fill,a=n.opacity,o=n.lineDash,s=n.lineDashOffset;o&&e.setLineDash(o),(0,J.A)(s)||(e.lineDashOffset=s),(0,J.A)(a)||(e.globalAlpha*=a),(0,J.A)(r)||Array.isArray(r)||r.isNone||(e.strokeStyle=t.attributes.stroke),(0,J.A)(i)||Array.isArray(i)||i.isNone||(e.fillStyle=t.attributes.fill)}},{key:"convertAABB2Rect",value:function(e){var t=e.getMin(),n=e.getMax(),r=Math.floor(t[0]),i=Math.floor(t[1]);return{x:r,y:i,width:Math.ceil(n[0])-r,height:Math.ceil(n[1])-i}}},{key:"mergeDirtyAABBs",value:function(e){var t=new s.F5;return e.forEach(function(e){var n=e.getRenderBounds();t.add(n);var r=e.renderable.dirtyRenderBounds;r&&t.add(r)}),t}},{key:"searchDirtyObjects",value:function(e){var t=e.getMin(),n=(0,c.A)(t,2),r=n[0],i=n[1],a=e.getMax(),o=(0,c.A)(a,2),s=o[0],l=o[1];return this.rBush.search({minX:r,minY:i,maxX:s,maxY:l}).map(function(e){return e.displayObject})}},{key:"saveDirtyAABB",value:function(e){var t=e.renderable;t.dirtyRenderBounds||(t.dirtyRenderBounds=new s.F5);var n=e.getRenderBounds();n&&t.dirtyRenderBounds.update(n.center,n.halfExtents)}},{key:"applyWorldTransform",value:function(e,t,n){n?(A.copy(this.tmpMat4,t.getLocalTransform()),A.multiply(this.tmpMat4,n,this.tmpMat4)):A.copy(this.tmpMat4,t.getWorldTransform()),A.multiply(this.tmpMat4,this.vpMatrix,this.tmpMat4),e.setTransform(this.tmpMat4[0],this.tmpMat4[1],this.tmpMat4[4],this.tmpMat4[5],this.tmpMat4[12],this.tmpMat4[13])}},{key:"safeMergeAABB",value:function(){for(var e=new s.F5,t=arguments.length,n=Array(t),r=0;r0,w=(null==o?void 0:o.alpha)===0,O=!!(_&&_.length),C=!(0,J.A)(v)&&E>0,k=n.nodeName,M="inner"===y,L=S&&C&&(k===s.yp.PATH||k===s.yp.LINE||k===s.yp.POLYLINE||w||M);A&&(e.globalAlpha=u*(void 0===d?1:d),L||eE(n,e,C),e_(e,n,o,l,r,i,a,this.imagePool),L||this.clearShadowAndFilter(e,O,C)),S&&(e.globalAlpha=u*(void 0===p?1:p),e.lineWidth=g,(0,J.A)(x)||(e.miterLimit=x),(0,J.A)(m)||(e.lineCap=m),(0,J.A)(b)||(e.lineJoin=b),L&&(M&&(e.globalCompositeOperation="source-atop"),eE(n,e,!0),M&&(ex(e,n,h,r,i,a,this.imagePool),e.globalCompositeOperation=em.globalCompositeOperation,this.clearShadowAndFilter(e,O,!0))),ex(e,n,h,r,i,a,this.imagePool))}},{key:"clearShadowAndFilter",value:function(e,t,n){if(n&&(e.shadowColor="transparent",e.shadowBlur=0),t){var r=e.filter;!(0,J.A)(r)&&r.indexOf("drop-shadow")>-1&&(e.filter=r.replace(/drop-shadow\([^)]*\)/,"").trim()||"none")}}}])}((0,r.A)(function e(t){(0,i.A)(this,e),this.imagePool=t},[{key:"applyAttributesToContext",value:function(e,t){}},{key:"render",value:function(e,t,n,r,i,a){}},{key:"applyCommonStyleToContext",value:function(e,t,n,r){var i=n?eb:r.prevObject.parsedStyle,a=t.parsedStyle;(n||a.opacity!==i.opacity)&&ey(e,"globalAlpha",(0,J.A)(a.opacity)?em.globalAlpha:a.opacity,r.currentContext),(n||a.blend!==i.blend)&&ey(e,"globalCompositeOperation",(0,J.A)(a.blend)?em.globalCompositeOperation:a.blend,r.currentContext)}},{key:"applyStrokeFillStyleToContext",value:function(e,t,n,r){var i=n?eb:r.prevObject.parsedStyle,a=t.parsedStyle,o=a.lineWidth,s=void 0===o?em.lineWidth:o,l=a.fill&&!a.fill.isNone;if(a.stroke&&!a.stroke.isNone&&s>0){(n||t.attributes.stroke!==r.prevObject.attributes.stroke)&&ey(e,"strokeStyle",(0,J.A)(a.stroke)||Array.isArray(a.stroke)||a.stroke.isNone?em.strokeStyle:t.attributes.stroke,r.currentContext),(n||a.lineWidth!==i.lineWidth)&&ey(e,"lineWidth",(0,J.A)(a.lineWidth)?em.lineWidth:a.lineWidth,r.currentContext),(n||a.lineDash!==i.lineDash)&&ey(e,"lineDash",a.lineDash||em.lineDash,r.currentContext),(n||a.lineDashOffset!==i.lineDashOffset)&&ey(e,"lineDashOffset",(0,J.A)(a.lineDashOffset)?em.lineDashOffset:a.lineDashOffset,r.currentContext);for(var c=0;c4&&void 0!==arguments[4]&&arguments[4];if(t){ey(e,"shadowColor",em.shadowColor,r.currentContext);for(var a=0;a-1&&ey(e,"filter",s.replace(/drop-shadow\([^)]*\)/,"").trim()||em.filter,r.currentContext)}else ey(e,"filter",em.filter,r.currentContext)}},{key:"fillToContext",value:function(e,t,n,r,i){var a=this,o=t.parsedStyle,l=o.fill,c=o.fillRule,u=null;if(Array.isArray(l)&&l.length>0)l.forEach(function(r){var i=ey(e,"fillStyle",ep(r,t,e,a.imagePool),n.currentContext);u=null!=u?u:i,c?e.fill(c):e.fill()});else{if((0,s.Pt)(l)){var d=eh(l,t,e,t.ownerDocument.defaultView.context,r,i,this.imagePool);d&&(e.fillStyle=d,u=!0)}c?e.fill(c):e.fill()}null!==u&&ey(e,"fillStyle",u,n.currentContext)}},{key:"strokeToContext",value:function(e,t,n,r,i){var a=this,o=t.parsedStyle.stroke,l=null;if(Array.isArray(o)&&o.length>0)o.forEach(function(r){var i=ey(e,"strokeStyle",ep(r,t,e,a.imagePool),n.currentContext);l=null!=l?l:i,e.stroke()});else{if((0,s.Pt)(o)){var c=eh(o,t,e,t.ownerDocument.defaultView.context,r,i,this.imagePool);if(c){var u=ey(e,"strokeStyle",c,n.currentContext);l=null!=l?l:u}}e.stroke()}null!==l&&ey(e,"strokeStyle",l,n.currentContext)}},{key:"drawToContext",value:function(e,t,n,r,i){var a,o=t.nodeName,l=t.parsedStyle,c=l.opacity,u=void 0===c?em.globalAlpha:c,d=l.fillOpacity,h=void 0===d?em.fillOpacity:d,p=l.strokeOpacity,f=void 0===p?em.strokeOpacity:p,g=l.lineWidth,m=void 0===g?em.lineWidth:g,b=l.fill&&!l.fill.isNone,y=l.stroke&&!l.stroke.isNone&&m>0;if(b||y){var v=!(0,J.A)(l.shadowColor)&&l.shadowBlur>0,E="inner"===l.shadowType,_=(null==(a=l.fill)?void 0:a.alpha)===0,x=!!(l.filter&&l.filter.length),A=v&&y&&(o===s.yp.PATH||o===s.yp.LINE||o===s.yp.POLYLINE||_||E),S=null;if(b&&(A||this.applyShadowAndFilterStyleToContext(e,t,v,n),S=ey(e,"globalAlpha",u*h,n.currentContext),this.fillToContext(e,t,n,r,i),A||this.clearShadowAndFilterStyleForContext(e,v,x,n)),y){var w=!1,O=ey(e,"globalAlpha",u*f,n.currentContext);if(S=b?S:O,A&&(this.applyShadowAndFilterStyleToContext(e,t,v,n),w=!0,E)){var C=e.globalCompositeOperation;e.globalCompositeOperation="source-atop",this.strokeToContext(e,t,n,r,i),e.globalCompositeOperation=C,this.clearShadowAndFilterStyleForContext(e,v,x,n,!0)}this.strokeToContext(e,t,n,r,i),w&&this.clearShadowAndFilterStyleForContext(e,v,x,n)}null!==S&&ey(e,"globalAlpha",S,n.currentContext)}}}]));function eE(e,t,n){var r=e.parsedStyle,i=r.filter,a=r.shadowColor,o=r.shadowBlur,s=r.shadowOffsetX,l=r.shadowOffsetY;i&&i.length&&(t.filter=e.style.filter),n&&(t.shadowColor=a.toString(),t.shadowBlur=o||0,t.shadowOffsetX=s||0,t.shadowOffsetY=l||0)}function e_(e,t,n,r,i,a,o,l){var c=arguments.length>8&&void 0!==arguments[8]&&arguments[8];Array.isArray(n)?n.forEach(function(n){e.fillStyle=ep(n,t,e,l),c||(r?e.fill(r):e.fill())}):((0,s.Pt)(n)&&(e.fillStyle=eh(n,t,e,i,a,o,l)),c||(r?e.fill(r):e.fill()))}function ex(e,t,n,r,i,a,o){var l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];Array.isArray(n)?n.forEach(function(n){e.strokeStyle=ep(n,t,e,o),l||e.stroke()}):((0,s.Pt)(n)&&(e.strokeStyle=eh(n,t,e,r,i,a,o)),l||e.stroke())}var eA=function(e){function t(){return(0,i.A)(this,t),(0,a.A)(this,t,arguments)}return(0,o.A)(t,e),(0,r.A)(t,[{key:"renderDownSampled",value:function(e,t,n,r){var i=r.src,a=r.imageCache;if(!a.downSampled)return void this.imagePool.createDownSampledImage(i,n).then(function(){n.ownerDocument&&(n.dirty(),n.ownerDocument.defaultView.context.renderingService.dirtify())}).catch(function(e){console.error(e)});e.drawImage(a.downSampled,Math.floor(r.drawRect[0]),Math.floor(r.drawRect[1]),Math.ceil(r.drawRect[2]),Math.ceil(r.drawRect[3]))}},{key:"renderTile",value:function(e,t,n,r){var i=r.src,a=r.imageCache,o=r.imageRect,s=r.drawRect,l=a.size,c=e.getTransform(),u=c.a,d=c.b,h=c.c,p=c.d,f=c.e,g=c.f;if(e.resetTransform(),!(null!=a&&a.gridSize))return void this.imagePool.createImageTiles(i,[],function(){n.ownerDocument&&(n.dirty(),n.ownerDocument.defaultView.context.renderingService.dirtify())},n).catch(function(e){console.error(e)});for(var m=[l[0]/o[2],l[1]/o[3]],b=[a.tileSize[0]/m[0],a.tileSize[1]/m[1]],y=[Math.floor((s[0]-o[0])/b[0]),Math.ceil((s[0]+s[2]-o[0])/b[0])],v=y[0],E=y[1],_=[Math.floor((s[1]-o[1])/b[1]),Math.ceil((s[1]+s[3]-o[1])/b[1])],x=_[0],A=_[1],S=x;S<=A;S++)for(var w=v;w<=E;w++){var O=a.tiles[S][w];if(O){var C=[Math.floor(o[0]+O.tileX*b[0]),Math.floor(o[1]+O.tileY*b[1]),Math.ceil(b[0]),Math.ceil(b[1])];e.drawImage(O.data,C[0],C[1],C[2],C[3])}}e.setTransform(u,d,h,p,f,g)}},{key:"render",value:function(e,n,r){var i=n.x,a=void 0===i?0:i,o=n.y,s=void 0===o?0:o,l=n.width,u=n.height,d=n.src,h=n.shadowColor,p=n.shadowBlur,f=this.imagePool.getImageSync(d,r),g=null==f?void 0:f.img,m=l,b=u;if(g){m||(m=g.width),b||(b=g.height),eE(r,e,!(0,J.A)(h)&&p>0);try{var y,v,E,_,S,w,O,C,k,M,L,I,N,R,P,D,j,B,F,z,U=r.ownerDocument.defaultView.getContextService().getDomElement(),H=U.width,G=U.height,$=e.getTransform(),W=$.a,V=$.b,q=$.c,Y=$.d,Z=$.e,X=$.f,K=A.fromValues(W,q,0,0,V,Y,0,0,0,0,1,0,Z,X,0,1),Q=(y=[a,s,m,b],v=x.Z0(x.vt(),[y[0],y[1],0],K),E=x.Z0(x.vt(),[y[0]+y[2],y[1],0],K),_=x.Z0(x.vt(),[y[0],y[1]+y[3],0],K),S=x.Z0(x.vt(),[y[0]+y[2],y[1]+y[3],0],K),[Math.min(v[0],E[0],_[0],S[0]),Math.min(v[1],E[1],_[1],S[1]),Math.max(v[0],E[0],_[0],S[0])-Math.min(v[0],E[0],_[0],S[0]),Math.max(v[1],E[1],_[1],S[1])-Math.min(v[1],E[1],_[1],S[1])]),ee=(w=[0,0,H,G],C=(O=(0,c.A)(w,4))[0],k=O[1],M=O[2],L=O[3],N=(I=(0,c.A)(Q,4))[0],R=I[1],P=I[2],D=I[3],j=Math.max(C,N),B=Math.max(k,R),F=Math.min(C+M,N+P),z=Math.min(k+L,R+D),F<=j||z<=B?null:[j,B,F-j,z-B]);if(!ee)return;if(!r.ownerDocument.defaultView.getConfig().enableLargeImageOptimization)return void t.renderFull(e,n,r,{image:g,drawRect:[a,s,m,b]});if(Q[2]/f.size[0]<(f.downSamplingRate||.5))return void this.renderDownSampled(e,n,r,{src:d,imageCache:f,drawRect:[a,s,m,b]});if(!eo.isSupportTile)return void t.renderFull(e,n,r,{image:g,drawRect:[a,s,m,b]});this.renderTile(e,n,r,{src:d,imageCache:f,imageRect:Q,drawRect:ee})}catch(e){}}}},{key:"drawToContext",value:function(e,t,n,r,i){this.render(e,t.parsedStyle,t)}}],[{key:"renderFull",value:function(e,t,n,r){e.drawImage(r.image,Math.floor(r.drawRect[0]),Math.floor(r.drawRect[1]),Math.ceil(r.drawRect[2]),Math.ceil(r.drawRect[3]))}}])}(ev),eS=function(e){function t(){return(0,i.A)(this,t),(0,a.A)(this,t,arguments)}return(0,o.A)(t,e),(0,r.A)(t,[{key:"render",value:function(e,t,n,r,i,a){n.getBounds();var o=t.lineWidth,s=void 0===o?1:o,l=t.textAlign,c=void 0===l?"start":l,u=t.textBaseline,d=void 0===u?"alphabetic":u,h=t.lineJoin,p=t.miterLimit,f=void 0===p?10:p,g=t.letterSpacing,m=void 0===g?0:g,b=t.stroke,y=t.fill,v=t.fillRule,E=t.fillOpacity,_=void 0===E?1:E,x=t.strokeOpacity,A=void 0===x?1:x,S=t.opacity,w=void 0===S?1:S,O=t.metrics,C=t.x,k=t.y,M=t.dx,L=t.dy,I=t.shadowColor,N=t.shadowBlur,R=O.font,P=O.lines,D=O.height,j=O.lineHeight,B=O.lineMetrics;e.font=R,e.lineWidth=s,e.textAlign="middle"===c?"center":c;var F=d;"alphabetic"===F&&(F="bottom"),e.lineJoin=void 0===h?"miter":h,(0,J.A)(f)||(e.miterLimit=f);var z=void 0===k?0:k;"middle"===d?z+=-D/2-j/2:"bottom"===d||"alphabetic"===d||"ideographic"===d?z+=-D:("top"===d||"hanging"===d)&&(z+=-j);var U=(void 0===C?0:C)+(M||0);z+=L||0,1===P.length&&("bottom"===F?(F="middle",z-=.5*D):"top"===F&&(F="middle",z+=.5*D)),e.textBaseline=F,eE(n,e,!(0,J.A)(I)&&N>0);for(var H=0;H0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.A)(this,t),(e=(0,a.A)(this,t)).name="canvas-renderer",e.options=n,e}return(0,o.A)(t,e),(0,r.A)(t,[{key:"init",value:function(){var e,t=(0,O.A)({dirtyObjectNumThreshold:500,dirtyObjectRatioThreshold:.8},this.options),n=this.context.imagePool,r=new ev(n),i=(e={},(0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)(e,s.yp.CIRCLE,r),s.yp.ELLIPSE,r),s.yp.RECT,r),s.yp.IMAGE,new eA(n)),s.yp.TEXT,new eS(n)),s.yp.LINE,r),s.yp.POLYLINE,r),s.yp.POLYGON,r),s.yp.PATH,r),s.yp.GROUP,void 0),(0,l.A)((0,l.A)((0,l.A)(e,s.yp.HTML,void 0),s.yp.MESH,void 0),s.yp.FRAGMENT,void 0));this.context.defaultStyleRendererFactory=i,this.context.styleRendererFactory=i,this.addRenderingPlugin(new ed(t))}},{key:"destroy",value:function(){this.removeAllRenderingPlugins(),delete this.context.defaultStyleRendererFactory,delete this.context.styleRendererFactory}}])}(s.V1),eT=function(){function e(){(0,i.A)(this,e)}return(0,r.A)(e,[{key:"apply",value:function(t,n){var r=this,i=t.renderingService,a=t.renderingContext,o=t.config;this.context=t;var s=a.root.ownerDocument.defaultView,l=function(e){i.hooks.pointerMove.call(e)},c=function(e){i.hooks.pointerUp.call(e)},u=function(e){i.hooks.pointerDown.call(e)},d=function(e){i.hooks.pointerOver.call(e)},h=function(e){i.hooks.pointerOut.call(e)},p=function(e){i.hooks.pointerCancel.call(e)},f=function(e){i.hooks.pointerWheel.call(e)},g=function(e){i.hooks.click.call(e)},m=function(e){n.globalThis.document.addEventListener("pointermove",l,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("pointerleave",h,!0),e.addEventListener("pointerover",d,!0),n.globalThis.addEventListener("pointerup",c,!0),n.globalThis.addEventListener("pointercancel",p,!0)},b=function(e){e.addEventListener("touchstart",u,!0),e.addEventListener("touchend",c,!0),e.addEventListener("touchmove",l,!0),e.addEventListener("touchcancel",p,!0)},y=function(e){n.globalThis.document.addEventListener("mousemove",l,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("mouseout",h,!0),e.addEventListener("mouseover",d,!0),n.globalThis.addEventListener("mouseup",c,!0)},v=function(e){n.globalThis.document.removeEventListener("pointermove",l,!0),e.removeEventListener("pointerdown",u,!0),e.removeEventListener("pointerleave",h,!0),e.removeEventListener("pointerover",d,!0),n.globalThis.removeEventListener("pointerup",c,!0),n.globalThis.removeEventListener("pointercancel",p,!0)},E=function(e){e.removeEventListener("touchstart",u,!0),e.removeEventListener("touchend",c,!0),e.removeEventListener("touchmove",l,!0),e.removeEventListener("touchcancel",p,!0)},_=function(e){n.globalThis.document.removeEventListener("mousemove",l,!0),e.removeEventListener("mousedown",u,!0),e.removeEventListener("mouseout",h,!0),e.removeEventListener("mouseover",d,!0),n.globalThis.removeEventListener("mouseup",c,!0)};i.hooks.init.tap(e.tag,function(){var e=r.context.contextService.getDomElement();n.globalThis.navigator.msPointerEnabled?(e.style.msContentZooming="none",e.style.msTouchAction="none"):s.supportsPointerEvents&&(e.style.touchAction="none"),s.supportsPointerEvents?m(e):y(e),s.supportsTouchEvents&&b(e),o.useNativeClickEvent&&e.addEventListener("click",g,!0),e.addEventListener("wheel",f,{passive:!0,capture:!0})}),i.hooks.destroy.tap(e.tag,function(){var e=r.context.contextService.getDomElement();n.globalThis.navigator.msPointerEnabled?(e.style.msContentZooming="",e.style.msTouchAction=""):s.supportsPointerEvents&&(e.style.touchAction=""),s.supportsPointerEvents?v(e):_(e),s.supportsTouchEvents&&E(e),o.useNativeClickEvent&&e.removeEventListener("click",g,!0),e.removeEventListener("wheel",f,!0)})}}])}();eT.tag="DOMInteraction";var eO=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o1&&void 0!==arguments[1]?arguments[1]:[0,0,0];return"matrix(".concat([e[0],e[1],e[4],e[5],e[12]+t[0],e[13]+t[1]].join(","),")")}},{key:"apply",value:function(t,n){var r=this,i=t.camera,a=t.renderingContext,o=t.renderingService;this.context=t;var l=a.root.ownerDocument.defaultView,c=l.context.eventService.nativeHTMLMap,u=function(e,t){t.style.transform=r.joinTransformMatrix(e.getWorldTransform(),e.getOrigin())},d=function(e){var t=e.target;if(t.nodeName===s.yp.HTML){r.$camera||(r.$camera=r.createCamera(i));var n=r.getOrCreateEl(t);r.$camera.appendChild(n),Object.keys(t.attributes).forEach(function(e){r.updateAttribute(e,t)}),u(t,n),c.set(n,t)}},h=function(e){var t=e.target;if(t.nodeName===s.yp.HTML&&r.$camera){var n=r.getOrCreateEl(t);n&&(n.remove(),c.delete(n))}},p=function(e){var t=e.target;if(t.nodeName===s.yp.HTML){var n=e.attrName;r.updateAttribute(n,t)}},f=function(e){var t=e.target;(t.nodeName===s.yp.FRAGMENT?t.childNodes:[t]).forEach(function(e){if(e.nodeName===s.yp.HTML){var t=r.getOrCreateEl(e);u(e,t)}})},g=function(){if(r.$camera){var e=r.context.config,t=e.width,n=e.height;r.$camera.parentElement.style.width="".concat(t||0,"px"),r.$camera.parentElement.style.height="".concat(n||0,"px")}};o.hooks.init.tap(e.tag,function(){l.addEventListener(s.N3.RESIZE,g),l.addEventListener(s.jX.MOUNTED,d),l.addEventListener(s.jX.UNMOUNTED,h),l.addEventListener(s.jX.ATTR_MODIFIED,p),l.addEventListener(s.jX.BOUNDS_CHANGED,f)}),o.hooks.endFrame.tap(e.tag,function(){r.$camera&&a.renderReasons.has(s.po.CAMERA_CHANGED)&&(r.$camera.style.transform=r.joinTransformMatrix(i.getOrthoMatrix()))}),o.hooks.destroy.tap(e.tag,function(){r.$camera&&r.$camera.remove(),l.removeEventListener(s.N3.RESIZE,g),l.removeEventListener(s.jX.MOUNTED,d),l.removeEventListener(s.jX.UNMOUNTED,h),l.removeEventListener(s.jX.ATTR_MODIFIED,p),l.removeEventListener(s.jX.BOUNDS_CHANGED,f)})}},{key:"createCamera",value:function(e){var t=this.context.config,n=t.document,r=t.width,i=t.height,a=this.context.contextService.getDomElement(),o=a.parentNode;if(o){var s="g-canvas-camera",l=o.querySelector("#".concat(s));if(!l){var c=(n||document).createElement("div");c.style.overflow="hidden",c.style.pointerEvents="none",c.style.position="absolute",c.style.left="0px",c.style.top="0px",c.style.width="".concat(r||0,"px"),c.style.height="".concat(i||0,"px");var u=(n||document).createElement("div");l=u,u.id=s,u.style.position="absolute",u.style.left="".concat(a.offsetLeft||0,"px"),u.style.top="".concat(a.offsetTop||0,"px"),u.style.transformOrigin="left top",u.style.transform=this.joinTransformMatrix(e.getOrthoMatrix()),u.style.pointerEvents="none",u.style.width="100%",u.style.height="100%",c.appendChild(u),o.appendChild(c)}return l}return null}},{key:"getOrCreateEl",value:function(e){var t=this.context.config.document,n=this.displayObjectHTMLElementMap.get(e);return n||(n=(t||document).createElement("div"),e.parsedStyle.$el=n,this.displayObjectHTMLElementMap.set(e,n),e.id&&(n.id=e.id),e.name&&n.setAttribute("name",e.name),e.className&&(n.className=e.className),n.style.position="absolute",n.style["will-change"]="transform",n.style.transform=this.joinTransformMatrix(e.getWorldTransform(),e.getOrigin())),n}},{key:"updateAttribute",value:function(e,t){var n=this.getOrCreateEl(t);switch(e){case"innerHTML":var r=t.parsedStyle.innerHTML;(0,ee.A)(r)?n.innerHTML=r:(n.innerHTML="",n.appendChild(r));break;case"x":n.style.left="".concat(t.parsedStyle.x,"px");break;case"y":n.style.top="".concat(t.parsedStyle.y,"px");break;case"transformOrigin":var i=t.parsedStyle.transformOrigin;n.style["transform-origin"]="".concat(i[0].buildCSSText(null,null,"")," ").concat(i[1].buildCSSText(null,null,""));break;case"width":var a=t.parsedStyle.width;n.style.width=(0,eC.A)(a)?"".concat(a,"px"):a.toString();break;case"height":var o=t.parsedStyle.height;n.style.height=(0,eC.A)(o)?"".concat(o,"px"):o.toString();break;case"zIndex":var l=t.parsedStyle.zIndex;n.style["z-index"]="".concat(l);break;case"visibility":var c=t.parsedStyle.visibility;n.style.visibility=c;break;case"pointerEvents":var u=t.parsedStyle.pointerEvents;n.style.pointerEvents=void 0===u?"auto":u;break;case"opacity":var d=t.parsedStyle.opacity;n.style.opacity="".concat(d);break;case"fill":var h=t.parsedStyle.fill,p="";(0,s.b8)(h)?p=h.isNone?"transparent":t.getAttribute("fill"):Array.isArray(h)?p=t.getAttribute("fill"):(0,s.Pt)(h),n.style.background=p;break;case"stroke":var f=t.parsedStyle.stroke,g="";(0,s.b8)(f)?g=f.isNone?"transparent":t.getAttribute("stroke"):Array.isArray(f)?g=t.getAttribute("stroke"):(0,s.Pt)(f),n.style["border-color"]=g,n.style["border-style"]="solid";break;case"lineWidth":var m=t.parsedStyle.lineWidth;n.style["border-width"]="".concat(m||0,"px");break;case"lineDash":n.style["border-style"]="dashed";break;case"filter":var b=t.style.filter;n.style.filter=b;break;default:(0,J.A)(t.style[e])||""===t.style[e]||(n.style[e]=t.style[e])}}}])}();ek.tag="HTMLRendering";var eM=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==i[0]?i[0]:{}).type,r=t.encoderOptions,e.abrupt("return",this.context.canvas.toDataURL(n,r));case 1:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})}])}(),eI=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=Array(n),o=0;o{"use strict";n.d(t,{Lr:()=>r.Lr,Lt:()=>l.c,X$:()=>o.X,kz:()=>i.k,vY:()=>a.v,x_:()=>s.x});var r=n(69644),i=n(23067),a=n(66393),o=n(11156),s=n(77229),l=n(63975)},86985:(e,t,n)=>{"use strict";var r=n(9999),i=n(8828);e.exports=function(e){for(var t,n,a=e.length,o=[],s=[],l=-1;++l{"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=[]},87264:(e,t,n)=>{"use strict";n.d(t,{A:()=>nc});var r,i,a,o,s,l,c,u,d,h,p,f,g,m,b,y={};n.r(y),n.d(y,{boolean:()=>z,booleanish:()=>U,commaOrSpaceSeparated:()=>V,commaSeparated:()=>W,number:()=>G,overloadedBoolean:()=>H,spaceSeparated:()=>$});var v=n(66945),E=n(34093),_=n(71123),x=n(83846),A=n(7887);function S(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=S(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),i=r.toPoint(0),a=r.toPoint(t.length);(0,E.ok)(i,"expected `start`"),(0,E.ok)(a,"expected `end`"),n.position={start:i,end:a}}return n}case"#documentType":return L(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},L(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===w.t.svg?x.JW:x.qy;let r=-1,i={};for(;++r"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),J=K({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ee(e,t){return t in e?e[t]:t}function et(e,t){return ee(e,t.toLowerCase())}let en=K({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:et,properties:{xmlns:null,xmlnsXLink:null}}),er=K({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:U,ariaAutoComplete:null,ariaBusy:U,ariaChecked:U,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:$,ariaCurrent:null,ariaDescribedBy:$,ariaDetails:null,ariaDisabled:U,ariaDropEffect:$,ariaErrorMessage:null,ariaExpanded:U,ariaFlowTo:$,ariaGrabbed:U,ariaHasPopup:null,ariaHidden:U,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$,ariaLevel:G,ariaLive:null,ariaModal:U,ariaMultiLine:U,ariaMultiSelectable:U,ariaOrientation:null,ariaOwns:$,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:U,ariaReadOnly:U,ariaRelevant:null,ariaRequired:U,ariaRoleDescription:$,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:U,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),ei=K({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:et,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:W,acceptCharset:$,accessKey:$,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:$,autoFocus:z,autoPlay:z,blocking:$,capture:null,charSet:null,checked:z,cite:null,className:$,cols:G,colSpan:null,content:null,contentEditable:U,controls:z,controlsList:$,coords:G|W,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:H,draggable:U,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:$,height:G,hidden:z,high:G,href:null,hrefLang:null,htmlFor:$,httpEquiv:$,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:$,itemRef:$,itemScope:z,itemType:$,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:z,optimum:G,pattern:null,ping:$,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:$,required:z,reversed:z,rows:G,rowSpan:G,sandbox:$,scope:null,scoped:z,seamless:z,selected:z,shadowRootClonable:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:U,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:U,width:G,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:U,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:G,security:null,unselectable:null}}),ea=K({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:ee,properties:{about:V,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:$,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:W,g2:W,glyphName:W,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:V,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:G,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:V,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:V,rev:V,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:V,requiredFeatures:V,requiredFonts:V,requiredFormats:V,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:V,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:V,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:V,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),eo=D([J,Q,en,er,ei],"html"),es=D([J,Q,en,er,ea],"svg"),el=/^data[-\w.:]+$/i,ec=/-[a-z]/g,eu=/[A-Z]/g;function ed(e){return"-"+e.toLowerCase()}function eh(e){return e.charAt(1).toUpperCase()}var ep=n(14947),ef=n(18995);let eg={}.hasOwnProperty,em=(0,ef.A)("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=eb(e.children,n,t),ey(e,n),n},element:function(e,t){let n,r=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(r=es);let i=[];if(e.properties){for(n in e.properties)if("children"!==n&&eg.call(e.properties,n)){let t=function(e,t,n){let r=function(e,t){let n=j(t),r=t,i=B;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&el.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ec,eh);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ec.test(e)){let n=e.replace(eu,ed);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=Z}return new i(r,t)}(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,R.A)(n):(0,ep.A)(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=w.t[r.space]}return i}(r,n,e.properties[n]);t&&i.push(t)}}let a=r.space;(0,E.ok)(a);let o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:w.t[a],childNodes:[],parentNode:null};return o.childNodes=eb(e.children,o,r),ey(e,o),"template"===e.tagName&&e.content&&(o.content=function(e,t){let n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=eb(e.children,n,t),ey(e,n),n}(e.content,r)),o},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return ey(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return ey(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ey(e,t),t}}});function eb(e,t,n){let r=-1,i=[];if(e)for(;++r=55296&&e<=57343}function eA(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eS(e){return e>=64976&&e<=65007||eE.has(e)}!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(i||(i={}));class ew{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,r.EOF;return this._err(i.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let n=this.html.charCodeAt(t);return n===r.CARRIAGE_RETURN?r.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,r.EOF;let e=this.html.charCodeAt(this.pos);return e===r.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,r.LINE_FEED):e===r.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ex(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===r.LINE_FEED||e===r.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eA(e)?this._err(i.controlCharacterInInputStream):eS(e)&&this._err(i.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(a||(a={}));let eO=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),eC=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function ek(e){return e>=o.ZERO&&e<=o.NINE}String.fromCodePoint,!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(o||(o={})),!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(s||(s={})),!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(l||(l={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(c||(c={}));class eM{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=l.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=c.Strict}startEntity(e){this.decodeMode=e,this.state=l.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case l.EntityStart:if(e.charCodeAt(t)===o.NUM)return this.state=l.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=l.NamedEntity,this.stateNamedEntity(e,t);case l.NumericStart:return this.stateNumericStart(e,t);case l.NumericDecimal:return this.stateNumericDecimal(e,t);case l.NumericHex:return this.stateNumericHex(e,t);case l.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===o.LOWER_X?(this.state=l.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=l.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t=o.UPPER_A)||!(r<=o.UPPER_F))&&(!(r>=o.LOWER_A)||!(r<=o.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t=55296&&r<=57343||r>1114111?65533:null!=(i=eC.get(r))?i:r,this.consumed),this.errors&&(e!==o.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&s.VALUE_LENGTH)>>14;for(;t>7,a=t&s.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,l=o+i-1;for(;o<=l;){let t=o+l>>>1,n=e[t];if(nr))return e[t+i];l=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===c.Attribute&&(0===i||function(e){var t;return e===o.EQUALS||(t=e)>=o.UPPER_A&&t<=o.UPPER_Z||t>=o.LOWER_A&&t<=o.LOWER_Z||ek(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&s.VALUE_LENGTH)>>14)){if(a===o.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==c.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&s.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~s.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case l.NamedEntity:return 0!==this.result&&(this.decodeMode!==c.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case l.NumericDecimal:return this.emitNumericEntity(0,2);case l.NumericHex:return this.emitNumericEntity(0,3);case l.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case l.EntityStart:return 0}}}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(u||(u={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(d||(d={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(h||(h={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(p||(p={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(f||(f={}));let eL=new Map([[p.A,f.A],[p.ADDRESS,f.ADDRESS],[p.ANNOTATION_XML,f.ANNOTATION_XML],[p.APPLET,f.APPLET],[p.AREA,f.AREA],[p.ARTICLE,f.ARTICLE],[p.ASIDE,f.ASIDE],[p.B,f.B],[p.BASE,f.BASE],[p.BASEFONT,f.BASEFONT],[p.BGSOUND,f.BGSOUND],[p.BIG,f.BIG],[p.BLOCKQUOTE,f.BLOCKQUOTE],[p.BODY,f.BODY],[p.BR,f.BR],[p.BUTTON,f.BUTTON],[p.CAPTION,f.CAPTION],[p.CENTER,f.CENTER],[p.CODE,f.CODE],[p.COL,f.COL],[p.COLGROUP,f.COLGROUP],[p.DD,f.DD],[p.DESC,f.DESC],[p.DETAILS,f.DETAILS],[p.DIALOG,f.DIALOG],[p.DIR,f.DIR],[p.DIV,f.DIV],[p.DL,f.DL],[p.DT,f.DT],[p.EM,f.EM],[p.EMBED,f.EMBED],[p.FIELDSET,f.FIELDSET],[p.FIGCAPTION,f.FIGCAPTION],[p.FIGURE,f.FIGURE],[p.FONT,f.FONT],[p.FOOTER,f.FOOTER],[p.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[p.FORM,f.FORM],[p.FRAME,f.FRAME],[p.FRAMESET,f.FRAMESET],[p.H1,f.H1],[p.H2,f.H2],[p.H3,f.H3],[p.H4,f.H4],[p.H5,f.H5],[p.H6,f.H6],[p.HEAD,f.HEAD],[p.HEADER,f.HEADER],[p.HGROUP,f.HGROUP],[p.HR,f.HR],[p.HTML,f.HTML],[p.I,f.I],[p.IMG,f.IMG],[p.IMAGE,f.IMAGE],[p.INPUT,f.INPUT],[p.IFRAME,f.IFRAME],[p.KEYGEN,f.KEYGEN],[p.LABEL,f.LABEL],[p.LI,f.LI],[p.LINK,f.LINK],[p.LISTING,f.LISTING],[p.MAIN,f.MAIN],[p.MALIGNMARK,f.MALIGNMARK],[p.MARQUEE,f.MARQUEE],[p.MATH,f.MATH],[p.MENU,f.MENU],[p.META,f.META],[p.MGLYPH,f.MGLYPH],[p.MI,f.MI],[p.MO,f.MO],[p.MN,f.MN],[p.MS,f.MS],[p.MTEXT,f.MTEXT],[p.NAV,f.NAV],[p.NOBR,f.NOBR],[p.NOFRAMES,f.NOFRAMES],[p.NOEMBED,f.NOEMBED],[p.NOSCRIPT,f.NOSCRIPT],[p.OBJECT,f.OBJECT],[p.OL,f.OL],[p.OPTGROUP,f.OPTGROUP],[p.OPTION,f.OPTION],[p.P,f.P],[p.PARAM,f.PARAM],[p.PLAINTEXT,f.PLAINTEXT],[p.PRE,f.PRE],[p.RB,f.RB],[p.RP,f.RP],[p.RT,f.RT],[p.RTC,f.RTC],[p.RUBY,f.RUBY],[p.S,f.S],[p.SCRIPT,f.SCRIPT],[p.SEARCH,f.SEARCH],[p.SECTION,f.SECTION],[p.SELECT,f.SELECT],[p.SOURCE,f.SOURCE],[p.SMALL,f.SMALL],[p.SPAN,f.SPAN],[p.STRIKE,f.STRIKE],[p.STRONG,f.STRONG],[p.STYLE,f.STYLE],[p.SUB,f.SUB],[p.SUMMARY,f.SUMMARY],[p.SUP,f.SUP],[p.TABLE,f.TABLE],[p.TBODY,f.TBODY],[p.TEMPLATE,f.TEMPLATE],[p.TEXTAREA,f.TEXTAREA],[p.TFOOT,f.TFOOT],[p.TD,f.TD],[p.TH,f.TH],[p.THEAD,f.THEAD],[p.TITLE,f.TITLE],[p.TR,f.TR],[p.TRACK,f.TRACK],[p.TT,f.TT],[p.U,f.U],[p.UL,f.UL],[p.SVG,f.SVG],[p.VAR,f.VAR],[p.WBR,f.WBR],[p.XMP,f.XMP]]);function eI(e){var t;return null!=(t=eL.get(e))?t:f.UNKNOWN}let eN=f,eR={[u.HTML]:new Set([eN.ADDRESS,eN.APPLET,eN.AREA,eN.ARTICLE,eN.ASIDE,eN.BASE,eN.BASEFONT,eN.BGSOUND,eN.BLOCKQUOTE,eN.BODY,eN.BR,eN.BUTTON,eN.CAPTION,eN.CENTER,eN.COL,eN.COLGROUP,eN.DD,eN.DETAILS,eN.DIR,eN.DIV,eN.DL,eN.DT,eN.EMBED,eN.FIELDSET,eN.FIGCAPTION,eN.FIGURE,eN.FOOTER,eN.FORM,eN.FRAME,eN.FRAMESET,eN.H1,eN.H2,eN.H3,eN.H4,eN.H5,eN.H6,eN.HEAD,eN.HEADER,eN.HGROUP,eN.HR,eN.HTML,eN.IFRAME,eN.IMG,eN.INPUT,eN.LI,eN.LINK,eN.LISTING,eN.MAIN,eN.MARQUEE,eN.MENU,eN.META,eN.NAV,eN.NOEMBED,eN.NOFRAMES,eN.NOSCRIPT,eN.OBJECT,eN.OL,eN.P,eN.PARAM,eN.PLAINTEXT,eN.PRE,eN.SCRIPT,eN.SECTION,eN.SELECT,eN.SOURCE,eN.STYLE,eN.SUMMARY,eN.TABLE,eN.TBODY,eN.TD,eN.TEMPLATE,eN.TEXTAREA,eN.TFOOT,eN.TH,eN.THEAD,eN.TITLE,eN.TR,eN.TRACK,eN.UL,eN.WBR,eN.XMP]),[u.MATHML]:new Set([eN.MI,eN.MO,eN.MN,eN.MS,eN.MTEXT,eN.ANNOTATION_XML]),[u.SVG]:new Set([eN.TITLE,eN.FOREIGN_OBJECT,eN.DESC]),[u.XLINK]:new Set,[u.XML]:new Set,[u.XMLNS]:new Set},eP=new Set([eN.H1,eN.H2,eN.H3,eN.H4,eN.H5,eN.H6]);p.STYLE,p.SCRIPT,p.XMP,p.IFRAME,p.NOEMBED,p.NOFRAMES,p.PLAINTEXT,function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(g||(g={}));let eD={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function ej(e){return e>=r.LATIN_CAPITAL_A&&e<=r.LATIN_CAPITAL_Z}function eB(e){return e>=r.LATIN_SMALL_A&&e<=r.LATIN_SMALL_Z||ej(e)}function eF(e){return eB(e)||e>=r.DIGIT_0&&e<=r.DIGIT_9}function ez(e){return e===r.SPACE||e===r.LINE_FEED||e===r.TABULATION||e===r.FORM_FEED}function eU(e){return ez(e)||e===r.SOLIDUS||e===r.GREATER_THAN_SIGN}class eH{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ew(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new eM(eO,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(i.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(i.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===r.NULL)return i.nullCharacterReference;if(e>1114111)return i.characterReferenceOutsideUnicodeRange;if(ex(e))return i.surrogateCharacterReference;if(eS(e))return i.noncharacterCharacterReference;if(eA(e)||e===r.CARRIAGE_RETURN)return i.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null==(r=(n=this.handler).onParseError)||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(i.endTagWithAttributes),e.selfClosing&&this._err(i.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case a.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case a.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case a.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:a.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=ez(e)?a.WHITESPACE_CHARACTER:e===r.NULL?a.NULL_CHARACTER:a.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(a.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=g.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?c.Attribute:c.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case g.DATA:this._stateData(e);break;case g.RCDATA:this._stateRcdata(e);break;case g.RAWTEXT:this._stateRawtext(e);break;case g.SCRIPT_DATA:this._stateScriptData(e);break;case g.PLAINTEXT:this._statePlaintext(e);break;case g.TAG_OPEN:this._stateTagOpen(e);break;case g.END_TAG_OPEN:this._stateEndTagOpen(e);break;case g.TAG_NAME:this._stateTagName(e);break;case g.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case g.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case g.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case g.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case g.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case g.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case g.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case g.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case g.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case g.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case g.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case g.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case g.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case g.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case g.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case g.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case g.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case g.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case g.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case g.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case g.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case g.BOGUS_COMMENT:this._stateBogusComment(e);break;case g.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case g.COMMENT_START:this._stateCommentStart(e);break;case g.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case g.COMMENT:this._stateComment(e);break;case g.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case g.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case g.COMMENT_END:this._stateCommentEnd(e);break;case g.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case g.DOCTYPE:this._stateDoctype(e);break;case g.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case g.DOCTYPE_NAME:this._stateDoctypeName(e);break;case g.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case g.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case g.CDATA_SECTION:this._stateCdataSection(e);break;case g.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case g.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case g.CHARACTER_REFERENCE:this._stateCharacterReference();break;case g.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.TAG_OPEN;break;case r.AMPERSAND:this._startCharacterReference();break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitCodePoint(e);break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case r.AMPERSAND:this._startCharacterReference();break;case r.LESS_THAN_SIGN:this.state=g.RCDATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.RAWTEXT_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case r.LESS_THAN_SIGN:this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break;case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case r.NULL:this._err(i.unexpectedNullCharacter),this._emitChars("�");break;case r.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eB(e))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.EXCLAMATION_MARK:this.state=g.MARKUP_DECLARATION_OPEN;break;case r.SOLIDUS:this.state=g.END_TAG_OPEN;break;case r.QUESTION_MARK:this._err(i.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(e);break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(i.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eB(e))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(e);else switch(e){case r.GREATER_THAN_SIGN:this._err(i.missingEndTagName),this.state=g.DATA;break;case r.EOF:this._err(i.eofBeforeTagName),this._emitChars("");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===r.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eB(e)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eB(e)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case r.NULL:this._err(i.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case r.EOF:this._err(i.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===r.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(e_.SCRIPT,!1)&&eU(this.preprocessor.peek(e_.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==u.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eQ,u.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eK,u.HTML)}clearBackToTableRowContext(){this.clearBackTo(eX,u.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===f.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===f.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case u.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case u.SVG:if(eZ.has(r))return!1;break;case u.MATHML:if(eY.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,eW)}hasInListItemScope(e){return this.hasInDynamicScope(e,eV)}hasInButtonScope(e){return this.hasInDynamicScope(e,eq)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case u.HTML:if(eP.has(t))return!0;if(eW.has(t))return!1;break;case u.SVG:if(eZ.has(t))return!1;break;case u.MATHML:if(eY.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===u.HTML)switch(this.tagIDs[t]){case e:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===u.HTML)switch(this.tagIDs[e]){case f.TBODY:case f.THEAD:case f.TFOOT:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===u.HTML)switch(this.tagIDs[t]){case e:return!0;case f.OPTION:case f.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eG.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&e$.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&e$.has(this.currentTagId);)this.pop()}}!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(m||(m={}));let e1={type:m.Marker};class e2{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),i=0;for(let e=0;er.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(e1)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:m.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:m.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(e1);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===m.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===m.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===m.Element&&t.element===e)}}let e3={createDocument:()=>({nodeName:"#document",mode:h.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):e3.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(e3.isTextNode(n)){n.value+=t;return}}e3.appendChild(e,e3.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&e3.isTextNode(r)?r.value+=t:e3.insertBefore(e,e3.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},e5="html",e4=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e6=[...e4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],e8=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e7=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e9=[...e7,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function te(e,t){return t.some(t=>e.startsWith(t))}let tt={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},tn=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:u.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:u.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:u.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:u.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:u.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:u.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:u.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:u.XML}],["xml:space",{prefix:"xml",name:"space",namespace:u.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:u.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:u.XMLNS}]]),ti=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ta=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function to(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===u.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,u.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=eD.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===p.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===u.HTML)switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:this.tokenizer.state=eD.RCDATA;break;case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:this.tokenizer.state=eD.RAWTEXT;break;case f.SCRIPT:this.tokenizer.state=eD.SCRIPT_DATA;break;case f.PLAINTEXT:this.tokenizer.state=eD.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,u.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,u.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(p.HTML,u.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,f.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===a.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==f.SVG||this.treeAdapter.getTagName(t)!==p.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==u.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===f.MGLYPH||e.tagID===f.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,u.HTML)))}_processToken(e){switch(e.type){case a.CHARACTER:this.onCharacter(e);break;case a.NULL_CHARACTER:this.onNullCharacter(e);break;case a.COMMENT:this.onComment(e);break;case a.DOCTYPE:this.onDoctype(e);break;case a.START_TAG:this._processStartTag(e);break;case a.END_TAG:this.onEndTag(e);break;case a.EOF:this.onEof(e);break;case a.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===u.HTML)&&function(e,t,n){if(t===u.MATHML&&e===f.ANNOTATION_XML){for(let e=0;ee.type===m.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case f.TR:this.insertionMode=b.IN_ROW;return;case f.TBODY:case f.THEAD:case f.TFOOT:this.insertionMode=b.IN_TABLE_BODY;return;case f.CAPTION:this.insertionMode=b.IN_CAPTION;return;case f.COLGROUP:this.insertionMode=b.IN_COLUMN_GROUP;return;case f.TABLE:this.insertionMode=b.IN_TABLE;return;case f.BODY:this.insertionMode=b.IN_BODY;return;case f.FRAMESET:this.insertionMode=b.IN_FRAMESET;return;case f.SELECT:return void this._resetInsertionModeForSelect(e);case f.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case f.HTML:this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD;return;case f.TD:case f.TH:if(e>0){this.insertionMode=b.IN_CELL;return}break;case f.HEAD:if(e>0){this.insertionMode=b.IN_HEAD;return}}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===f.TEMPLATE)break;if(e===f.TABLE){this.insertionMode=b.IN_SELECT_IN_TABLE;return}}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(e){return tu.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case f.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===u.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case f.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return eR[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:tT(this,e);break;case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_TABLE_TEXT:tz(this,e);break;case b.IN_COLUMN_GROUP:t$(this,e);break;case b.AFTER_BODY:tJ(this,e);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.TEXT:this._insertCharacters(e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_COLUMN_GROUP:t$(this,e);break;case b.AFTER_BODY:tJ(this,e);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void tf(this,e);switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:tf(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?h.QUIRKS:function(e){if(e.name!==e5)return h.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return h.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),e8.has(n))return h.QUIRKS;let e=null===t?e6:e4;if(te(n,e))return h.QUIRKS;if(te(n,e=null===t?e7:e9))return h.LIMITED_QUIRKS}return h.NO_QUIRKS}(t);(t.name!==e5||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,i.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=b.BEFORE_HTML}(this,e);break;case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:this._err(e,i.misplacedDoctype);break;case b.IN_TABLE_TEXT:tU(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,i.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID;return t===f.FONT&&e.attrs.some(({name:e})=>e===d.COLOR||e===d.SIZE||e===d.FACE)||ta.has(t)}(t))t1(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===u.MATHML)to(t);else if(r===u.SVG){let e=ti.get(t.tagName);null!=e&&(t.tagName=e,t.tagID=eI(t.tagName)),ts(t)}tl(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:t=this,(n=e).tagID===f.HTML?(t._insertElement(n,u.HTML),t.insertionMode=b.BEFORE_HEAD):tb(t,n);break;case b.BEFORE_HEAD:var t,n,r,a,o,s,l=this,c=e;switch(c.tagID){case f.HTML:tL(l,c);break;case f.HEAD:l._insertElement(c,u.HTML),l.headElement=l.openElements.current,l.insertionMode=b.IN_HEAD;break;default:ty(l,c)}break;case b.IN_HEAD:tv(this,e);break;case b.IN_HEAD_NO_SCRIPT:var d=this,h=e;switch(h.tagID){case f.HTML:tL(d,h);break;case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:tv(d,h);break;case f.NOSCRIPT:d._err(h,i.nestedNoscriptInHead);break;default:tx(d,h)}break;case b.AFTER_HEAD:var p=this,g=e;switch(g.tagID){case f.HTML:tL(p,g);break;case f.BODY:p._insertElement(g,u.HTML),p.framesetOk=!1,p.insertionMode=b.IN_BODY;break;case f.FRAMESET:p._insertElement(g,u.HTML),p.insertionMode=b.IN_FRAMESET;break;case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:p._err(g,i.abandonedHeadElementChild),p.openElements.push(p.headElement,f.HEAD),tv(p,g),p.openElements.remove(p.headElement);break;case f.HEAD:p._err(g,i.misplacedStartTagForHeadElement);break;default:tA(p,g)}break;case b.IN_BODY:tL(this,e);break;case b.IN_TABLE:tD(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_CAPTION:var m=this,y=e;let v=y.tagID;tH.has(v)?m.openElements.hasInTableScope(f.CAPTION)&&(m.openElements.generateImpliedEndTags(),m.openElements.popUntilTagNamePopped(f.CAPTION),m.activeFormattingElements.clearToLastMarker(),m.insertionMode=b.IN_TABLE,tD(m,y)):tL(m,y);break;case b.IN_COLUMN_GROUP:tG(this,e);break;case b.IN_TABLE_BODY:tW(this,e);break;case b.IN_ROW:tq(this,e);break;case b.IN_CELL:var E=this,_=e;let x=_.tagID;tH.has(x)?(E.openElements.hasInTableScope(f.TD)||E.openElements.hasInTableScope(f.TH))&&(E._closeTableCell(),tq(E,_)):tL(E,_);break;case b.IN_SELECT:tZ(this,e);break;case b.IN_SELECT_IN_TABLE:var A=this,S=e;let w=S.tagID;w===f.CAPTION||w===f.TABLE||w===f.TBODY||w===f.TFOOT||w===f.THEAD||w===f.TR||w===f.TD||w===f.TH?(A.openElements.popUntilTagNamePopped(f.SELECT),A._resetInsertionMode(),A._processStartTag(S)):tZ(A,S);break;case b.IN_TEMPLATE:var O=this,C=e;switch(C.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:tv(O,C);break;case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:O.tmplInsertionModeStack[0]=b.IN_TABLE,O.insertionMode=b.IN_TABLE,tD(O,C);break;case f.COL:O.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,O.insertionMode=b.IN_COLUMN_GROUP,tG(O,C);break;case f.TR:O.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,O.insertionMode=b.IN_TABLE_BODY,tW(O,C);break;case f.TD:case f.TH:O.tmplInsertionModeStack[0]=b.IN_ROW,O.insertionMode=b.IN_ROW,tq(O,C);break;default:O.tmplInsertionModeStack[0]=b.IN_BODY,O.insertionMode=b.IN_BODY,tL(O,C)}break;case b.AFTER_BODY:r=this,(a=e).tagID===f.HTML?tL(r,a):tJ(r,a);break;case b.IN_FRAMESET:var k=this,M=e;switch(M.tagID){case f.HTML:tL(k,M);break;case f.FRAMESET:k._insertElement(M,u.HTML);break;case f.FRAME:k._appendElement(M,u.HTML),M.ackSelfClosing=!0;break;case f.NOFRAMES:tv(k,M)}break;case b.AFTER_FRAMESET:var L=this,I=e;switch(I.tagID){case f.HTML:tL(L,I);break;case f.NOFRAMES:tv(L,I)}break;case b.AFTER_AFTER_BODY:o=this,(s=e).tagID===f.HTML?tL(o,s):t0(o,s);break;case b.AFTER_AFTER_FRAMESET:var N=this,R=e;switch(R.tagID){case f.HTML:tL(N,R);break;case f.NOFRAMES:tv(N,R)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===f.P||t.tagID===f.BR){t1(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===u.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:var t,n,r,a,o,s,l=this,c=e;let u=c.tagID;(u===f.HTML||u===f.HEAD||u===f.BODY||u===f.BR)&&tb(l,c);break;case b.BEFORE_HEAD:var d=this,h=e;let p=h.tagID;p===f.HEAD||p===f.BODY||p===f.HTML||p===f.BR?ty(d,h):d._err(h,i.endTagWithoutMatchingOpenElement);break;case b.IN_HEAD:var g=this,m=e;switch(m.tagID){case f.HEAD:g.openElements.pop(),g.insertionMode=b.AFTER_HEAD;break;case f.BODY:case f.BR:case f.HTML:t_(g,m);break;case f.TEMPLATE:tE(g,m);break;default:g._err(m,i.endTagWithoutMatchingOpenElement)}break;case b.IN_HEAD_NO_SCRIPT:var y=this,v=e;switch(v.tagID){case f.NOSCRIPT:y.openElements.pop(),y.insertionMode=b.IN_HEAD;break;case f.BR:tx(y,v);break;default:y._err(v,i.endTagWithoutMatchingOpenElement)}break;case b.AFTER_HEAD:var E=this,_=e;switch(_.tagID){case f.BODY:case f.HTML:case f.BR:tA(E,_);break;case f.TEMPLATE:tE(E,_);break;default:E._err(_,i.endTagWithoutMatchingOpenElement)}break;case b.IN_BODY:tN(this,e);break;case b.TEXT:t=this,e.tagID===f.SCRIPT&&(null==(n=t.scriptHandler)||n.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode;break;case b.IN_TABLE:tj(this,e);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_CAPTION:var x=this,A=e;let S=A.tagID;switch(S){case f.CAPTION:case f.TABLE:x.openElements.hasInTableScope(f.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(f.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=b.IN_TABLE,S===f.TABLE&&tj(x,A));break;case f.BODY:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:tN(x,A)}break;case b.IN_COLUMN_GROUP:var w=this,O=e;switch(O.tagID){case f.COLGROUP:w.openElements.currentTagId===f.COLGROUP&&(w.openElements.pop(),w.insertionMode=b.IN_TABLE);break;case f.TEMPLATE:tE(w,O);break;case f.COL:break;default:t$(w,O)}break;case b.IN_TABLE_BODY:tV(this,e);break;case b.IN_ROW:tY(this,e);break;case b.IN_CELL:var C=this,k=e;let M=k.tagID;switch(M){case f.TD:case f.TH:C.openElements.hasInTableScope(M)&&(C.openElements.generateImpliedEndTags(),C.openElements.popUntilTagNamePopped(M),C.activeFormattingElements.clearToLastMarker(),C.insertionMode=b.IN_ROW);break;case f.TABLE:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:C.openElements.hasInTableScope(M)&&(C._closeTableCell(),tY(C,k));break;case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:break;default:tN(C,k)}break;case b.IN_SELECT:tX(this,e);break;case b.IN_SELECT_IN_TABLE:var L=this,I=e;let N=I.tagID;N===f.CAPTION||N===f.TABLE||N===f.TBODY||N===f.TFOOT||N===f.THEAD||N===f.TR||N===f.TD||N===f.TH?L.openElements.hasInTableScope(N)&&(L.openElements.popUntilTagNamePopped(f.SELECT),L._resetInsertionMode(),L.onEndTag(I)):tX(L,I);break;case b.IN_TEMPLATE:r=this,(a=e).tagID===f.TEMPLATE&&tE(r,a);break;case b.AFTER_BODY:tQ(this,e);break;case b.IN_FRAMESET:o=this,e.tagID===f.FRAMESET&&!o.openElements.isRootHtmlElementCurrent()&&(o.openElements.pop(),o.fragmentContext||o.openElements.currentTagId===f.FRAMESET||(o.insertionMode=b.AFTER_FRAMESET));break;case b.AFTER_FRAMESET:s=this,e.tagID===f.HTML&&(s.insertionMode=b.AFTER_AFTER_FRAMESET);break;case b.AFTER_AFTER_BODY:t0(this,e)}}onEof(e){switch(this.insertionMode){case b.INITIAL:tm(this,e);break;case b.BEFORE_HTML:tb(this,e);break;case b.BEFORE_HEAD:ty(this,e);break;case b.IN_HEAD:t_(this,e);break;case b.IN_HEAD_NO_SCRIPT:tx(this,e);break;case b.AFTER_HEAD:tA(this,e);break;case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:tR(this,e);break;case b.TEXT:var t,n;t=this,n=e,t._err(n,i.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case b.IN_TABLE_TEXT:tU(this,e);break;case b.IN_TEMPLATE:tK(this,e);break;case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:tg(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===r.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:this._insertCharacters(e);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:tw(this,e);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:tP(this,e);break;case b.IN_TABLE_TEXT:tF(this,e)}}}function tp(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tI(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&function(e,t,n){let r=eI(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===f.TEMPLATE&&i===u.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,i);let o=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,l=e.treeAdapter.createElement(s.tagName,o,s.attrs);e._adoptNodes(r,l),e.treeAdapter.appendChild(r,l),e.activeFormattingElements.insertElementAfterBookmark(l,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(r,l,s.tagID)}}function tf(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tg(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function tm(e,t){e._err(t,i.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,h.QUIRKS),e.insertionMode=b.BEFORE_HTML,e._processToken(t)}function tb(e,t){e._insertFakeRootElement(),e.insertionMode=b.BEFORE_HEAD,e._processToken(t)}function ty(e,t){e._insertFakeElement(p.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD,e._processToken(t)}function tv(e,t){switch(t.tagID){case f.HTML:tL(e,t);break;case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:e._appendElement(t,u.HTML),t.ackSelfClosing=!0;break;case f.TITLE:e._switchToTextParsing(t,eD.RCDATA);break;case f.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eD.RAWTEXT):(e._insertElement(t,u.HTML),e.insertionMode=b.IN_HEAD_NO_SCRIPT);break;case f.NOFRAMES:case f.STYLE:e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SCRIPT:e._switchToTextParsing(t,eD.SCRIPT_DATA);break;case f.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=b.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break;case f.HEAD:e._err(t,i.misplacedStartTagForHeadElement);break;default:t_(e,t)}}function tE(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,i.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,i.endTagWithoutMatchingOpenElement)}function t_(e,t){e.openElements.pop(),e.insertionMode=b.AFTER_HEAD,e._processToken(t)}function tx(e,t){let n=t.type===a.EOF?i.openElementsLeftAfterEof:i.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=b.IN_HEAD,e._processToken(t)}function tA(e,t){e._insertFakeElement(p.BODY,f.BODY),e.insertionMode=b.IN_BODY,tS(e,t)}function tS(e,t){switch(t.type){case a.CHARACTER:tT(e,t);break;case a.WHITESPACE_CHARACTER:tw(e,t);break;case a.COMMENT:tf(e,t);break;case a.START_TAG:tL(e,t);break;case a.END_TAG:tN(e,t);break;case a.EOF:tR(e,t)}}function tw(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tT(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tO(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,u.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tC(e){let t=eT(e,d.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tk(e,t){e._switchToTextParsing(t,eD.RAWTEXT)}function tM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML)}function tL(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.A:let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(p.A);n&&(tp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eP.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,u.HTML);break;case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML);break;case f.LI:case f.DD:case f.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===f.LI&&n===f.LI||(r===f.DD||r===f.DT)&&(n===f.DD||n===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==f.ADDRESS&&n!==f.DIV&&n!==f.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML);break;case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:tO(e,t);break;case f.HR:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,u.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case f.RB:case f.RTC:e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,u.HTML);break;case f.RT:case f.RP:e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,u.HTML);break;case f.PRE:case f.LISTING:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case f.XMP:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SVG:e._reconstructActiveFormattingElements(),ts(t),tl(t),t.selfClosing?e._appendElement(t,u.SVG):e._insertElement(t,u.SVG),t.ackSelfClosing=!0;break;case f.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:tv(e,t);break;case f.BODY:let i=e.openElements.tryPeekProperlyNestedBodyElement();i&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case f.FORM:let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),a||(e.formElement=e.openElements.current));break;case f.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(tp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,u.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case f.MATH:e._reconstructActiveFormattingElements(),to(t),tl(t),t.selfClosing?e._appendElement(t,u.MATHML):e._insertElement(t,u.MATHML),t.ackSelfClosing=!0;break;case f.TABLE:e.treeAdapter.getDocumentMode(e.document)!==h.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.framesetOk=!1,e.insertionMode=b.IN_TABLE;break;case f.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,u.HTML),tC(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case f.PARAM:case f.TRACK:case f.SOURCE:e._appendElement(t,u.HTML),t.ackSelfClosing=!0;break;case f.IMAGE:t.tagName=p.IMG,t.tagID=f.IMG,tO(e,t);break;case f.BUTTON:e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.framesetOk=!1;break;case f.APPLET:case f.OBJECT:case f.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case f.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eD.RAWTEXT);break;case f.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===b.IN_TABLE||e.insertionMode===b.IN_CAPTION||e.insertionMode===b.IN_TABLE_BODY||e.insertionMode===b.IN_ROW||e.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT;break;case f.OPTION:case f.OPTGROUP:e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,u.HTML);break;case f.NOEMBED:case f.NOFRAMES:tk(e,t);break;case f.FRAMESET:let o=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&o&&(e.treeAdapter.detachNode(o),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_FRAMESET);break;case f.TEXTAREA:e._insertElement(t,u.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eD.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=b.TEXT;break;case f.NOSCRIPT:e.options.scriptingEnabled?tk(e,t):tM(e,t);break;case f.PLAINTEXT:e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,u.HTML),e.tokenizer.state=eD.PLAINTEXT;break;case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:tM(e,t)}}function tI(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==f.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tN(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:tp(e,t);break;case f.P:e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(p.P,f.P),e._closePElement();break;case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case f.LI:e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI));break;case f.DD:case f.DT:let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case f.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(p.BR,f.BR),e.openElements.pop(),e.framesetOk=!1;break;case f.BODY:if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=b.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case f.HTML:e.openElements.hasInScope(f.BODY)&&(e.insertionMode=b.AFTER_BODY,tQ(e,t));break;case f.FORM:let i=e.openElements.tmplCount>0,{formElement:a}=e;i||(e.formElement=null),(a||i)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),i?e.openElements.popUntilTagNamePopped(f.FORM):a&&e.openElements.remove(a));break;case f.APPLET:case f.OBJECT:case f.MARQUEE:let o=t.tagID;e.openElements.hasInScope(o)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o),e.activeFormattingElements.clearToLastMarker());break;case f.TEMPLATE:tE(e,t);break;default:tI(e,t)}}function tR(e,t){e.tmplInsertionModeStack.length>0?tK(e,t):tg(e,t)}function tP(e,t){if(void 0!==e.openElements.currentTagId&&tu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=b.IN_TABLE_TEXT,t.type){case a.CHARACTER:tz(e,t);break;case a.WHITESPACE_CHARACTER:tF(e,t)}else tB(e,t)}function tD(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.TBODY,f.TBODY),e.insertionMode=b.IN_TABLE_BODY,tW(e,t);break;case f.STYLE:case f.SCRIPT:case f.TEMPLATE:tv(e,t);break;case f.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(p.COLGROUP,f.COLGROUP),e.insertionMode=b.IN_COLUMN_GROUP,tG(e,t);break;case f.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,u.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case f.TABLE:e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case f.TBODY:case f.TFOOT:case f.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_TABLE_BODY;break;case f.INPUT:tC(t)?e._appendElement(t,u.HTML):tB(e,t),t.ackSelfClosing=!0;break;case f.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_CAPTION;break;case f.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,u.HTML),e.insertionMode=b.IN_COLUMN_GROUP;break;default:tB(e,t)}}function tj(e,t){switch(t.tagID){case f.TABLE:e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break;case f.TEMPLATE:tE(e,t);break;case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:tB(e,t)}}function tB(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tS(e,t),e.fosterParentingEnabled=n}function tF(e,t){e.pendingCharacterTokens.push(t)}function tz(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tU(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break;case f.OPTION:e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break;case f.SELECT:e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break;case f.TEMPLATE:tE(e,t)}}function tK(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tg(e,t)}function tQ(e,t){var n;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=b.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else tJ(e,t)}function tJ(e,t){e.insertionMode=b.IN_BODY,tS(e,t)}function t0(e,t){e.insertionMode=b.IN_BODY,tS(e,t)}function t1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==u.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}null==String.prototype.codePointAt||((e,t)=>e.codePointAt(t)),p.AREA,p.BASE,p.BASEFONT,p.BGSOUND,p.BR,p.COL,p.EMBED,p.FRAME,p.HR,p.IMG,p.INPUT,p.KEYGEN,p.LINK,p.META,p.PARAM,p.SOURCE,p.TRACK,p.WBR;var t2=n(70832),t3=n(88428);let t5=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,t4=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),t6={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function t8(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=(0,ef.A)("type",{handlers:{root:t9,element:ne,text:nt,comment:nr,doctype:nn,raw:ni},unknown:na}),i={parser:n?new th(t6):th.getFragmentParser(void 0,t6),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),no(i,(0,t2.PW)());let a=function(e,t){let n=t||{};return k({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.JW:x.qy,verbose:n.verbose||!1},e)}(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return(i.stitches&&(0,t3.YR)(a,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===a.type&&1===a.children.length&&a.children[0].type===e.type)?a.children[0]:a}function t7(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:a.CHARACTER,chars:e.value,location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nn(e,t){let n={type:a.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nr(e,t){let n=e.value,r={type:a.COMMENT,data:n,location:nl(e)};no(t,(0,t2.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ni(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,ns(t,(0,t2.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(t5,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function na(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;t.stitches=!0;let r="children"in(n=e)?(0,v.Ay)({...n,children:[]}):(0,v.Ay)(n);"children"in e&&"children"in r&&(r.children=t8({type:"root",children:e.children},t.options).children),nr({type:"comment",value:{stitch:r}},t)}else{let t="";throw t4.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function no(e,t){ns(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eD.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function ns(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function nl(e){let t=(0,t2.PW)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,t2.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function nc(e){return function(t,n){return t8(t,{...e,file:n})}}},87287:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r=n(42338),i=n(50636);function a(e){if((0,r.A)(e))return[e,e,e,e];if((0,i.A)(e)){var t=e.length;if(1===t)return[e[0],e[0],e[0],e[0]];if(2===t)return[e[0],e[1],e[0],e[1]];if(3===t)return[e[0],e[1],e[2],e[1]];if(4===t)return e}return[0,0,0,0]}},87473:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(46774),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},87476:e=>{e.exports=function(e){e.installMethod("toAlpha",function(e){var t=this.rgb(),n=e(e).rgb(),r=new e.RGB(0,0,0,t._alpha),i=["_red","_green","_blue"];return i.forEach(function(e){t[e]<1e-10?r[e]=t[e]:t[e]>n[e]?r[e]=(t[e]-n[e])/(1-n[e]):t[e]>n[e]?r[e]=(n[e]-t[e])/n[e]:r[e]=0}),r._red>r._green?r._red>r._blue?t._alpha=r._red:t._alpha=r._blue:r._green>r._blue?t._alpha=r._green:t._alpha=r._blue,t._alpha<1e-10||(i.forEach(function(e){t[e]=(t[e]-n[e])/t._alpha+n[e]}),t._alpha*=r._alpha),t})}},87793: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/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";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(a)).replace(//g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(i))),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=[]},88164: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=[]},88204:e=>{"use strict";function t(e){var t,n,r,i;n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,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}}),r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={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:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}e.exports=t,t.displayName="cssExtras",t.aliases=[]},88274:e=>{if(!t)var t={map:function(e,t){var n={};return t?e.map(function(e,r){return n.index=r,t.call(n,e)}):e.slice()},naturalOrder:function(e,t){return et)},sum:function(e,t){var n={};return e.reduce(t?function(e,r,i){return n.index=i,e+t.call(n,r)}:function(e,t){return e+t},0)},max:function(e,n){return Math.max.apply(null,n?t.map(e,n):e)}};e.exports=function(){function e(e,t,n){return(e<<10)+(t<<5)+n}function n(e){var t=[],n=!1;function r(){t.sort(e),n=!0}return{push:function(e){t.push(e),n=!1},peek:function(e){return n||r(),void 0===e&&(e=t.length-1),t[e]},pop:function(){return n||r(),t.pop()},size:function(){return t.length},map:function(e){return t.map(e)},debug:function(){return n||r(),t}}}function r(e,t,n,r,i,a,o){this.r1=e,this.r2=t,this.g1=n,this.g2=r,this.b1=i,this.b2=a,this.histo=o}function i(){this.vboxes=new n(function(e,n){return t.naturalOrder(e.vbox.count()*e.vbox.volume(),n.vbox.count()*n.vbox.volume())})}return r.prototype={volume:function(e){return(!this._volume||e)&&(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(t){var n=this.histo;if(!this._count_set||t){var r,i,a,o=0;for(r=this.r1;r<=this.r2;r++)for(i=this.g1;i<=this.g2;i++)for(a=this.b1;a<=this.b2;a++)o+=n[e(r,i,a)]||0;this._count=o,this._count_set=!0}return this._count},copy:function(){return new r(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(t){var n=this.histo;if(!this._avg||t){var r,i,a,o,s=0,l=0,c=0,u=0;for(i=this.r1;i<=this.r2;i++)for(a=this.g1;a<=this.g2;a++)for(o=this.b1;o<=this.b2;o++)s+=r=n[e(i,a,o)]||0,l+=r*(i+.5)*8,c+=r*(a+.5)*8,u+=r*(o+.5)*8;s?this._avg=[~~(l/s),~~(c/s),~~(u/s)]:this._avg=[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(e){var t=e[0]>>3;return gval=e[1]>>3,bval=e[2]>>3,t>=this.r1&&t<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},i.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map(function(e){return e.color})},size:function(){return this.vboxes.size()},map:function(e){for(var t=this.vboxes,n=0;n251&&i[1]>251&&i[2]>251&&(e[r].color=[255,255,255])}},{quantize:function(a,o){if(!a.length||o<2||o>256)return!1;var s,l,c,u,d,h,p,f,g,m,b,y,v=(c=Array(32768),a.forEach(function(t){l=t[0]>>3,c[s=e(l,t[1]>>3,t[2]>>3)]=(c[s]||0)+1}),c),E=0;v.forEach(function(){E++});var _=(p=1e6,f=0,g=1e6,m=0,b=1e6,y=0,a.forEach(function(e){u=e[0]>>3,d=e[1]>>3,h=e[2]>>3,uf&&(f=u),dm&&(m=d),hy&&(y=h)}),new r(p,f,g,m,b,y,v)),x=new n(function(e,n){return t.naturalOrder(e.count(),n.count())});function A(n,r){for(var i,a=1,o=0;o<1e3;){if(!(i=n.pop()).count()){n.push(i),o++;continue}var s=function(n,r){if(r.count()){var i=r.r2-r.r1+1,a=r.g2-r.g1+1,o=r.b2-r.b1+1,s=t.max([i,a,o]);if(1==r.count())return[r.copy()];var l,c,u,d,h=0,p=[],f=[];if(s==i)for(l=r.r1;l<=r.r2;l++){for(d=0,c=r.g1;c<=r.g2;c++)for(u=r.b1;u<=r.b2;u++)d+=n[e(l,c,u)]||0;h+=d,p[l]=h}else if(s==a)for(l=r.g1;l<=r.g2;l++){for(d=0,c=r.r1;c<=r.r2;c++)for(u=r.b1;u<=r.b2;u++)d+=n[e(c,l,u)]||0;h+=d,p[l]=h}else for(l=r.b1;l<=r.b2;l++){for(d=0,c=r.r1;c<=r.r2;c++)for(u=r.g1;u<=r.g2;u++)d+=n[e(c,u,l)]||0;h+=d,p[l]=h}return p.forEach(function(e,t){f[t]=h-e}),function(e){var t,n,i,a,o,s=e+"1",c=e+"2",u=0;for(l=r[s];l<=r[c];l++)if(p[l]>h/2){for(i=r.copy(),a=r.copy(),o=(t=l-r[s])<=(n=r[c]-l)?Math.min(r[c]-1,~~(l+n/2)):Math.max(r[s],~~(l-1-t/2));!p[o];)o++;for(u=f[o];!u&&p[o-1];)u=f[--o];return i[c]=o,a[s]=i[c]+1,[i,a]}}(s==i?"r":s==a?"g":"b")}}(v,i),l=s[0],c=s[1];if(!l||(n.push(l),c&&(n.push(c),a++),a>=r||o++>1e3))return}}x.push(_),A(x,.75*o);for(var S=new n(function(e,n){return t.naturalOrder(e.count()*e.volume(),n.count()*n.volume())});x.size();)S.push(x.pop());A(S,o-S.size());for(var w=new i;S.size();)w.push(S.pop());return w}}}().quantize},88489:(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},88491:(e,t,n)=>{"use strict";n.d(t,{l:()=>o,s:()=>s});let r=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(e,t,n){let o=(t-e)/Math.max(0,n),s=Math.floor(Math.log(o)/Math.LN10),l=o/10**s;return s>=0?(l>=r?10:l>=i?5:l>=a?2:1)*10**s:-(10**-s)/(l>=r?10:l>=i?5:l>=a?2:1)}function s(e,t,n){let o=Math.abs(t-e)/Math.max(0,n),s=10**Math.floor(Math.log(o)/Math.LN10),l=o/s;return l>=r?s*=10:l>=i?s*=5:l>=a&&(s*=2),t{"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{r:()=>r})},89123:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.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-image",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},89136:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},89213:(e,t,n)=>{"use strict";var r=n(2679);function i(e){e.register(r);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 i(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={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:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],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.exports=i,i.displayName="apex",i.aliases=[]},89234:e=>{e.exports=function(e){function t(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}e.installMethod("luminance",function(){var e=this.rgb();return .2126*t(e._red)+.7152*t(e._green)+.0722*t(e._blue)})}},89297:(e,t,n)=>{"use strict";var r=n(78179);function i(e){e.register(r),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=i,i.displayName="jsonp",i.aliases=[]},89364:(e,t,n)=>{var r=n(59132),i=n(1083),a=n(85855),o=n(64384);e.exports=function(e,t,n){return(e=a(e),void 0===(t=n?void 0:t))?i(e)?o(e):r(e):e.match(t)||[]}},89548:e=>{"use strict";function t(e){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=[]},89631:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(12115),i=n(29300),a=n.n(i),o=n(39496),s=n(15982),l=n(9836),c=n(51854);let u={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},d=r.createContext({});var h=n(63715),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 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},f=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 g=e=>{let{itemPrefixCls:t,component:n,span:i,className:o,style:s,labelStyle:l,contentStyle:c,bordered:u,label:h,content:p,colon:f,type:g,styles:m}=e,{classNames:b}=r.useContext(d),y=Object.assign(Object.assign({},l),null==m?void 0:m.label),v=Object.assign(Object.assign({},c),null==m?void 0:m.content);return u?r.createElement(n,{colSpan:i,style:s,className:a()(o,{["".concat(t,"-item-").concat(g)]:"label"===g||"content"===g,[null==b?void 0:b.label]:(null==b?void 0:b.label)&&"label"===g,[null==b?void 0:b.content]:(null==b?void 0:b.content)&&"content"===g})},null!=h&&r.createElement("span",{style:y},h),null!=p&&r.createElement("span",{style:v},p)):r.createElement(n,{colSpan:i,style:s,className:a()("".concat(t,"-item"),o)},r.createElement("div",{className:"".concat(t,"-item-container")},null!=h&&r.createElement("span",{style:y,className:a()("".concat(t,"-item-label"),null==b?void 0:b.label,{["".concat(t,"-item-no-colon")]:!f})},h),null!=p&&r.createElement("span",{style:v,className:a()("".concat(t,"-item-content"),null==b?void 0:b.content)},p)))};function m(e,t,n){let{colon:i,prefixCls:a,bordered:o}=t,{component:s,type:l,showLabel:c,showContent:u,labelStyle:d,contentStyle:h,styles:p}=n;return e.map((e,t)=>{let{label:n,children:f,prefixCls:m=a,className:b,style:y,labelStyle:v,contentStyle:E,span:_=1,key:x,styles:A}=e;return"string"==typeof s?r.createElement(g,{key:"".concat(l,"-").concat(x||t),className:b,style:y,styles:{label:Object.assign(Object.assign(Object.assign(Object.assign({},d),null==p?void 0:p.label),v),null==A?void 0:A.label),content:Object.assign(Object.assign(Object.assign(Object.assign({},h),null==p?void 0:p.content),E),null==A?void 0:A.content)},span:_,colon:i,component:s,itemPrefixCls:m,bordered:o,label:c?n:null,content:u?f:null,type:l}):[r.createElement(g,{key:"label-".concat(x||t),className:b,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d),null==p?void 0:p.label),y),v),null==A?void 0:A.label),span:1,colon:i,component:s[0],itemPrefixCls:m,bordered:o,label:n,type:"label"}),r.createElement(g,{key:"content-".concat(x||t),className:b,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h),null==p?void 0:p.content),y),E),null==A?void 0:A.content),span:2*_-1,component:s[1],itemPrefixCls:m,bordered:o,content:f,type:"content"})]})}let b=e=>{let t=r.useContext(d),{prefixCls:n,vertical:i,row:a,index:o,bordered:s}=e;return i?r.createElement(r.Fragment,null,r.createElement("tr",{key:"label-".concat(o),className:"".concat(n,"-row")},m(a,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),r.createElement("tr",{key:"content-".concat(o),className:"".concat(n,"-row")},m(a,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):r.createElement("tr",{key:o,className:"".concat(n,"-row")},m(a,e,Object.assign({component:s?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))};var y=n(99841),v=n(18184),E=n(45431),_=n(61388);let x=(0,E.OF)("Descriptions",e=>(e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,v.dF)(e)),(e=>{let{componentCls:t,labelBg:n}=e;return{["&".concat(t,"-bordered")]:{["> ".concat(t,"-view")]:{border:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"> table":{tableLayout:"auto"},["".concat(t,"-row")]:{borderBottom:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.padding)," ").concat((0,y.zA)(e.paddingLG)),borderInlineEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderInlineEnd:"none"}},["> ".concat(t,"-item-label")]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},["&".concat(t,"-middle")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.paddingSM)," ").concat((0,y.zA)(e.paddingLG))}}},["&".concat(t,"-small")]:{["".concat(t,"-row")]:{["> ".concat(t,"-item-label, > ").concat(t,"-item-content")]:{padding:"".concat((0,y.zA)(e.paddingXS)," ").concat((0,y.zA)(e.padding))}}}}}})(e)),{"&-rtl":{direction:"rtl"},["".concat(t,"-header")]:{display:"flex",alignItems:"center",marginBottom:s},["".concat(t,"-title")]:Object.assign(Object.assign({},v.L9),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),["".concat(t,"-extra")]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},["".concat(t,"-view")]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},["".concat(t,"-row")]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},["".concat(t,"-item-label")]:{color:e.labelColor,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:"".concat((0,y.zA)(o)," ").concat((0,y.zA)(a))},["&".concat(t,"-item-no-colon::after")]:{content:'""'}},["".concat(t,"-item-no-label")]:{"&::after":{margin:0,content:'""'}},["".concat(t,"-item-content")]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},["".concat(t,"-item")]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",["".concat(t,"-item-label")]:{display:"inline-flex",alignItems:"baseline"},["".concat(t,"-item-content")]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-middle":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{["".concat(t,"-row")]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}})((0,_.oX)(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}));var 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 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 S=e=>{let{prefixCls:t,title:n,extra:i,column:g,colon:m=!0,bordered:y,layout:v,children:E,className:_,rootClassName:S,style:w,size:O,labelStyle:C,contentStyle:k,styles:M,items:L,classNames:I}=e,N=A(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","styles","items","classNames"]),{getPrefixCls:R,direction:P,className:D,style:j,classNames:B,styles:F}=(0,s.TP)("descriptions"),z=R("descriptions",t),U=(0,c.A)(),H=r.useMemo(()=>{var e;return"number"==typeof g?g:null!=(e=(0,o.ko)(U,Object.assign(Object.assign({},u),g)))?e:3},[U,g]),G=function(e,t,n){let i=r.useMemo(()=>t||(0,h.A)(n).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key})),[t,n]);return r.useMemo(()=>i.map(t=>{var{span:n}=t,r=p(t,["span"]);return"filled"===n?Object.assign(Object.assign({},r),{filled:!0}):Object.assign(Object.assign({},r),{span:"number"==typeof n?n:(0,o.ko)(e,n)})}),[i,e])}(U,L,E),$=(0,l.A)(O),W=((e,t)=>{let[n,i]=(0,r.useMemo)(()=>(function(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o}=e,s=f(e,["filled"]);if(o){r.push(s),n.push(r),r=[],a=0;return}let l=t-a;(a+=e.span||1)>=t?(a>t?(i=!0,r.push(Object.assign(Object.assign({},s),{span:l}))):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),[n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n({labelStyle:C,contentStyle:k,styles:{content:Object.assign(Object.assign({},F.content),null==M?void 0:M.content),label:Object.assign(Object.assign({},F.label),null==M?void 0:M.label)},classNames:{label:a()(B.label,null==I?void 0:I.label),content:a()(B.content,null==I?void 0:I.content)}}),[C,k,M,I,B,F]);return V(r.createElement(d.Provider,{value:Z},r.createElement("div",Object.assign({className:a()(z,D,B.root,null==I?void 0:I.root,{["".concat(z,"-").concat($)]:$&&"default"!==$,["".concat(z,"-bordered")]:!!y,["".concat(z,"-rtl")]:"rtl"===P},_,S,q,Y),style:Object.assign(Object.assign(Object.assign(Object.assign({},j),F.root),null==M?void 0:M.root),w)},N),(n||i)&&r.createElement("div",{className:a()("".concat(z,"-header"),B.header,null==I?void 0:I.header),style:Object.assign(Object.assign({},F.header),null==M?void 0:M.header)},n&&r.createElement("div",{className:a()("".concat(z,"-title"),B.title,null==I?void 0:I.title),style:Object.assign(Object.assign({},F.title),null==M?void 0:M.title)},n),i&&r.createElement("div",{className:a()("".concat(z,"-extra"),B.extra,null==I?void 0:I.extra),style:Object.assign(Object.assign({},F.extra),null==M?void 0:M.extra)},i)),r.createElement("div",{className:"".concat(z,"-view")},r.createElement("table",null,r.createElement("tbody",null,W.map((e,t)=>r.createElement(b,{key:t,index:t,colon:m,prefixCls:z,vertical:"vertical"===v,bordered:y,row:e}))))))))};S.Item=e=>{let{children:t}=e;return t};let w=S},90026:(e,t,n)=>{"use strict";function r(e){if(!Array.isArray(e))return-1/0;var t=e.length;if(!t)return-1/0;for(var n=e[0],r=1;rr})},90250: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=[]},90309: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=[]},90311: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=[]},90328: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=[]},90333:(e,t,n)=>{"use strict";n.d(t,{f:()=>m});var r=n(17915);let i=function(e,t,n){let i=(0,r.C)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++tn&&(n=e):e&&(void 0!==n&&n>-1&&c.push("\n".repeat(n)||" "),n=-1,c.push(e))}return c.join("")}function b(e,t){let n,r=String(e.value),i=[],a=[],o=0;for(;o<=r.length;){l.lastIndex=o;let e=l.exec(r),n=e&&"index"in e?e.index:r.length;i.push(function(e,t,n){let r,i=[],a=0;for(;a{"use strict";var r=n(42093),i=n(32027);function a(e){var t;e.register(r),e.register(i),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=a,a.displayName="latte",a.aliases=[]},90765:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"};var a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i})))},90794:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(85654),i=n(31596),a=n(78785);function o(e){return e.innerRadius}function s(e){return e.outerRadius}function l(e){return e.startAngle}function c(e){return e.endAngle}function u(e){return e&&e.padAngle}function d(e,t,n,r,a,o,s){var l=e-n,c=t-r,u=(s?o:-o)/(0,i.RZ)(l*l+c*c),d=u*c,h=-u*l,p=e+d,f=t+h,g=n+d,m=r+h,b=(p+g)/2,y=(f+m)/2,v=g-p,E=m-f,_=v*v+E*E,x=a-o,A=p*m-g*f,S=(E<0?-1:1)*(0,i.RZ)((0,i.T9)(0,x*x*_-A*A)),w=(A*E-v*S)/_,O=(-A*v-E*S)/_,C=(A*E+v*S)/_,k=(-A*v+E*S)/_,M=w-b,L=O-y,I=C-b,N=k-y;return M*M+L*L>I*I+N*N&&(w=C,O=k),{cx:w,cy:O,x01:-d,y01:-h,x11:w*(a/x-1),y11:O*(a/x-1)}}function h(){var e=o,t=s,n=(0,r.A)(0),h=null,p=l,f=c,g=u,m=null,b=(0,a.i)(y);function y(){var r,a,o=+e.apply(this,arguments),s=+t.apply(this,arguments),l=p.apply(this,arguments)-i.TW,c=f.apply(this,arguments)-i.TW,u=(0,i.tn)(c-l),y=c>l;if(m||(m=r=b()),si.Ni)if(u>i.FA-i.Ni)m.moveTo(s*(0,i.gn)(l),s*(0,i.F8)(l)),m.arc(0,0,s,l,c,!y),o>i.Ni&&(m.moveTo(o*(0,i.gn)(c),o*(0,i.F8)(c)),m.arc(0,0,o,c,l,y));else{var v,E,_=l,x=c,A=l,S=c,w=u,O=u,C=g.apply(this,arguments)/2,k=C>i.Ni&&(h?+h.apply(this,arguments):(0,i.RZ)(o*o+s*s)),M=(0,i.jk)((0,i.tn)(s-o)/2,+n.apply(this,arguments)),L=M,I=M;if(k>i.Ni){var N=(0,i.qR)(k/o*(0,i.F8)(C)),R=(0,i.qR)(k/s*(0,i.F8)(C));(w-=2*N)>i.Ni?(N*=y?1:-1,A+=N,S-=N):(w=0,A=S=(l+c)/2),(O-=2*R)>i.Ni?(R*=y?1:-1,_+=R,x-=R):(O=0,_=x=(l+c)/2)}var P=s*(0,i.gn)(_),D=s*(0,i.F8)(_),j=o*(0,i.gn)(S),B=o*(0,i.F8)(S);if(M>i.Ni){var F,z=s*(0,i.gn)(x),U=s*(0,i.F8)(x),H=o*(0,i.gn)(A),G=o*(0,i.F8)(A);if(ui.Ni?I>i.Ni?(v=d(H,G,P,D,s,I,y),E=d(z,U,j,B,s,I,y),m.moveTo(v.cx+v.x01,v.cy+v.y01),Ii.Ni&&w>i.Ni?L>i.Ni?(v=d(j,B,z,U,o,-L,y),E=d(P,D,H,G,o,-L,y),m.lineTo(v.cx+v.x01,v.cy+v.y01),L{var r=n(82500),i=n(23360),a=n(36815),o=n(85855),s=r.isFinite,l=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:l(i(n),292))&&s(e)){var r=(o(e)+"e").split("e");return+((r=(o(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(r[1]-n))}return t(e)}}},91292:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(71123),i=n(15951);function a(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,a=n===i.t.svg?r.s:r.h,s=n===i.t.html?e.tagName.toLowerCase():e.tagName,l=n===i.t.html&&"template"===s?e.content:e,c=e.getAttributeNames(),u={},d=-1;for(;++d{"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=[]},91479:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115),i=n(40578),a=n(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(a.A,o({},e,{ref:t,icon:i.A})))},91568: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=[]},91924:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},92199:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(12115),i=n(36708),a=n(21447);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=["children","components"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s);return r.createElement(a.A,l({components:function(e){for(var t=1;t{var r=n(801);e.exports=n(34642)(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)})},92788: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=[]},92997:(e,t,n)=>{"use strict";var r=n(42093);function i(e){var t,n;e.register(r),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 r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=i,i.displayName="smarty",i.aliases=[]},93231: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=[]},93353:(e,t,n)=>{"use strict";n.d(t,{V:()=>a});var r=n(39249),i=n(83853);function a(e,t){return(0,i.s)(e,void 0,(0,r.Cl)((0,r.Cl)({},t),{bbox:!1,length:!0})).length}},93403:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},93565:(e,t,n)=>{"use strict";var r=n(641),i=n(95441),a=n(81077),o=n(88489).q,s=n(43938).q;e.exports=function(e,t,n){var i=n?function(e){for(var t,n=e.length,r=-1,i={};++r{"use strict";let r,i,a,o;n.d(t,{L:()=>gt});var s={};n.r(s),n.d(s,{geoAlbers:()=>hN,geoAlbersUsa:()=>hR,geoAzimuthalEqualArea:()=>hB,geoAzimuthalEqualAreaRaw:()=>hj,geoAzimuthalEquidistant:()=>hz,geoAzimuthalEquidistantRaw:()=>hF,geoConicConformal:()=>hV,geoConicConformalRaw:()=>hW,geoConicEqualArea:()=>hI,geoConicEqualAreaRaw:()=>hL,geoConicEquidistant:()=>hX,geoConicEquidistantRaw:()=>hZ,geoEqualEarth:()=>hJ,geoEqualEarthRaw:()=>hQ,geoEquirectangular:()=>hY,geoEquirectangularRaw:()=>hq,geoGnomonic:()=>h1,geoGnomonicRaw:()=>h0,geoIdentity:()=>h2,geoMercator:()=>hH,geoMercatorRaw:()=>hU,geoNaturalEarth1:()=>h5,geoNaturalEarth1Raw:()=>h3,geoOrthographic:()=>h6,geoOrthographicRaw:()=>h4,geoProjection:()=>hC,geoProjectionMutator:()=>hk,geoStereographic:()=>h7,geoStereographicRaw:()=>h8,geoTransverseMercator:()=>pe,geoTransverseMercatorRaw:()=>h9});var l={};n.r(l),n.d(l,{frequency:()=>fl,id:()=>fc,name:()=>fu,weight:()=>fs});let c=()=>[["cartesian"]];c.props={};var u=n(39480);let d=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];d.props={transform:!0};let h=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:i}=((e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e))(e);return[...d(),...(0,u.Z)({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};h.props={};let p=()=>[["parallel",0,1,0,1]];p.props={};let f=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:i=!1})=>[["fisheye",e,t,n,r,i]];f.props={transform:!0};var g=n(97819);let m=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:i=1}=e;return[...p(),...(0,u.Z)({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i})]};m.props={};let b=({startAngle:e=0,endAngle:t=6*Math.PI,innerRadius:n=0,outerRadius:r=1})=>[["translate",.5,.5],["reflect.y"],["translate",-.5,-.5],["helix",e,t,n,r]];b.props={};let y=({value:e})=>t=>t.map(()=>e);y.props={};let v=({value:e})=>t=>t.map(t=>t[e]);v.props={};let E=({value:e})=>t=>t.map(e);E.props={};let _=({value:e})=>()=>e;_.props={};var x=n(14837);function A(e,t){if(null!==e)return{type:"column",value:e,field:t}}function S(e,t){return Object.assign(Object.assign({},A(e,t)),{inferred:!0})}function w(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function O(e,t){let n=[];for(let r of e)n[r]=t;return n}function C(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:i=null}=n;return[r,i]}function k(e,...t){for(let n of t)if("string"!=typeof n)return[n,null];else{let[t,r]=C(e,n);if(null!==t)return[t,r]}return[null,null]}function M(e){return!(e instanceof Date)&&"object"==typeof e}let L=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{y1:S(O(e,0))}})]};L.props={};let I=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{x:S(O(e,0))},scale:{x:{guide:null}}})]};I.props={};var N=n(26998);let R=(e,t)=>(0,N.Q)(Object.assign({colorAttribute:"fill"},e),t);R.props=Object.assign(Object.assign({},N.Q.props),{defaultMarker:"square"});let P=(e,t)=>(0,N.Q)(Object.assign({colorAttribute:"stroke"},e),t);P.props=Object.assign(Object.assign({},N.Q.props),{defaultMarker:"hollowSquare"});var D=n(75224);function j(){}function B(e){this._context=e}function F(e){return new B(e)}B.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e*=1,t*=1,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var z=n(14353),U=n(63975),H=n(30360),G=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};function $(e,t,n,r,i){let[a,o,s,l]=e;if((0,z.kH)(r))return i?[[n?n[1][0]:a[0],a[1]],o,s,[n?n[2][0]:l[0],l[1]]]:[a,[t?t[0][0]:o[0],o[1]],[t?t[3][0]:s[0],s[1]],l];return i?[[a[0],n?n[1][1]:a[1]],o,s,[l[0],n?n[2][1]:l[1]]]:[a,[o[0],t?t[0][1]:o[1]],[s[0],t?t[3][1]:s[1]],l]}let W=(e,t)=>t/Math.tan(e/2),V=(e,t)=>{let{adjustPoints:n=$,radius:r,radiusTopLeft:i=r,radiusTopRight:a=r,radiusBottomRight:o=r,radiusBottomLeft:s=r,innerRadius:l=0,innerRadiusTopLeft:c=l,innerRadiusTopRight:u=l,innerRadiusBottomRight:d=l,innerRadiusBottomLeft:h=l,first:p=!0,last:f=!0}=e,g=G(e,["adjustPoints","radius","radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft","innerRadius","innerRadiusTopLeft","innerRadiusTopRight","innerRadiusBottomRight","innerRadiusBottomLeft","first","last"]),{coordinate:m,document:b}=t;return(e,t,r,l)=>{let{index:y}=t,{color:v}=r,E=G(r,["color"]),_=n(e,l[y+1],l[y-1],m,g.reverse),[x,A,S,w]=(0,z.kH)(m)?(0,H.Yb)(_):_,{color:O=v,opacity:C}=t,k=[p&&null!=i?i:c,p&&null!=a?a:u,f&&null!=o?o:d,f&&null!=s?s:h],M=k.find(e=>e>0)?function(e,t){let[n,r,i,a]=e,[o,s,l,c]=t,u=r[0]-n[0]>i[0]-a[0],d=Math.atan2(Math.abs(r[1]-i[1]),Math.abs(r[0]-i[0])),h=u?[W(d,o),W(d,s),l,c]:[o,s,W(d,l),W(d,c)],p=u?1:-1,f=h.map(e=>({x:Math.cos(d)*e*p,y:Math.sin(d)*e}));return`M${n[0]+h[0]} ${n[1]} L${r[0]-h[1]} ${r[1]} Q${r[0]} ${r[1]} ${r[0]-f[1].x} ${r[1]+f[1].y} L${i[0]+f[2].x} ${i[1]-f[2].y} Q${i[0]} ${i[1]} ${i[0]-h[2]} ${i[1]} L${a[0]+h[3]} ${a[1]} Q${a[0]} ${a[1]} ${a[0]-f[3].x} ${a[1]-f[3].y} L${n[0]+f[0].x} ${n[1]+f[0].y} Q${n[0]} ${n[1]} ${n[0]+h[0]} ${n[1]} Z`}([x,A,S,w],k):(0,D.A)().curve(F)([x,A,S,w]);return(0,U.c)(b.createElement("path",{})).call(H.AV,E).style("d",M).style("fill",O).style("fillOpacity",C).call(H.AV,g).node()}};function q(e,t,n,r,i){let[a,o,s,l]=e;if((0,z.kH)(r))return i?[[n?n[1][0]:(a[0]+l[0])/2,a[1]],o,s,[n?n[2][0]:(a[0]+l[0])/2,l[1]]]:[a,[t?t[0][0]:(o[0]+s[0])/2,o[1]],[t?t[3][0]:(o[0]+s[0])/2,s[1]],l];return i?[[a[0],n?n[1][1]:(a[1]+l[1])/2],o,s,[l[0],n?n[2][1]:(a[1]+l[1])/2]]:[a,[o[0],t?t[0][1]:(o[1]+s[1])/2],[s[0],t?t[3][1]:(o[1]+s[1])/2],l]}V.props={defaultMarker:"square"};let Y=(e,t)=>V(Object.assign({adjustPoints:q},e),t);Y.props={defaultMarker:"square"};var Z=n(79135);function X(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}let K=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:i}=n;if((0,Z.K$)(i))return[e,n];let{title:a}=i;if(void 0!==a)return[e,n];let o=Object.keys(r).filter(e=>e.startsWith(t)).filter(e=>!r[e].inferred).map(e=>C(r,e)).filter(([e])=>e).map(e=>e[0]);if(0===o.length)return[e,n];let s=[];for(let t of e)s[t]={value:o.map(e=>e[t]instanceof Date?function(e){let t=e.getFullYear(),n=X(e.getMonth()+1),r=X(e.getDate()),i=`${t}-${n}-${r}`,a=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return a||o||s?`${i} ${X(a)}:${X(o)}:${X(s)}`:i}(e[t]):e[t]).join(", ")};return[e,(0,x.A)({},n,{tooltip:{title:s}})]}};K.props={};let Q=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:i}=n;if((0,Z.K$)(i))return[e,n];let{items:a=[]}=i;if(!a||a.length>0)return[e,n];let o=(Array.isArray(t)?t:[t]).flatMap(e=>Object.keys(r).filter(t=>t.startsWith(e)).map(e=>{let{field:t,value:n,inferred:i=!1,aggregate:a}=r[e];return i?null:a&&n?{channel:e}:t?{field:t}:n?{channel:e}:null}).filter(e=>null!==e));return[e,(0,x.A)({},n,{tooltip:{items:o}})]}};Q.props={};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 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 ee=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,i=J(n,["key"]);if(void 0!==r)return[e,t];let a=Object.values(i).map(({value:e})=>e),o=e.map(e=>a.filter(Array.isArray).map(t=>t[e]).join("-"));return[e,(0,x.A)({},t,{encode:{key:A(o)}})]};function et(e={}){let{shapes:t}=e;return[{name:"color"},{name:"opacity"},{name:"shape",range:t},{name:"enterType"},{name:"enterDelay",scaleKey:"enter"},{name:"enterDuration",scaleKey:"enter"},{name:"enterEasing"},{name:"key",scale:"identity"},{name:"groupKey",scale:"identity"},{name:"label",scale:"identity"}]}function en(e={}){return[...et(e),{name:"title",scale:"identity"}]}function er(){return[{type:K,channel:"color"},{type:Q,channel:["x","y"]}]}function ei(){return[{type:K,channel:"x"},{type:Q,channel:["y"]}]}function ea(e={}){return et(e)}function eo(){return[{type:ee}]}ee.props={};function es(e,t){return e.getBandWidth(e.invert(t))}function el(e,t,n={}){let{x:r,y:i,series:a}=t,{x:o,y:s,series:l}=e,{style:{bandOffset:c=.5*!l,bandOffsetX:u=c,bandOffsetY:d=c}={}}=n,h=!!(null==o?void 0:o.getBandWidth),p=!!(null==s?void 0:s.getBandWidth),f=!!(null==l?void 0:l.getBandWidth);return h||p?(e,t)=>{let n=h?es(o,r[t]):0,c=p?es(s,i[t]):0,g=f&&a?(es(l,a[t])/2+ +a[t])*n:0,[m,b]=e;return[m+u*n+g,b+d*c]}:e=>e}function ec(e){return parseFloat(e)/100}function eu(e,t,n,r){let{x:i,y:a}=n,{innerWidth:o,innerHeight:s}=r.getOptions(),l=Array.from(e,e=>{let t=i[e],n=a[e];return[["string"==typeof t?ec(t)*o:+t,"string"==typeof n?ec(n)*s:+n]]});return[e,l]}function ed(e){return"function"==typeof e?e:t=>t[e]}function eh(e,t){return Array.from(e,ed(t))}function ep(e,t){let n=Array.isArray(e)?{links:e}:e&&"object"==typeof e?{links:e.links||[],nodes:e.nodes}:{links:[]},{source:r=e=>e.source,target:i=e=>e.target,value:a=e=>e.value}=t,{links:o,nodes:s}=n;if(!o.length)return{links:[],nodes:s||[]};let l=eh(o,r),c=eh(o,i),u=eh(o,a);return{links:o.map((e,t)=>({target:c[t],source:l[t],value:u[t]})),nodes:s||Array.from(new Set([...l,...c]),e=>({key:e}))}}function ef(e,t){return e.getBandWidth(e.invert(t))}let eg={rect:R,hollow:P,funnel:V,pyramid:Y},em=()=>(e,t,n,r)=>{let{x:i,y1:a,series:o,size:s}=n,{y:l}=n;l=l.map(e=>void 0!==e?e:1);let c=t.x,u=t.series,[d]=r.getSize(),h=s?s.map(e=>e/d):null,p=s?(e,t,n)=>{let r=e+t/2,i=h[n];return[r-i/2,r+i/2]}:(e,t,n)=>[e,e+t],f=Array.from(e,e=>{let t=ef(c,i[e]),n=u?ef(u,null==o?void 0:o[e]):1,s=(+(null==o?void 0:o[e])||0)*t,[d,h]=p(+i[e]+s,t*n,e),f=+l[e],g=+a[e];return[[d,f],[h,f],[h,g],[d,g]].map(e=>r.map(e))});return[e,f]};em.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eg,channels:[...en({shapes:Object.keys(eg)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...eo(),{type:L},{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};let eb={rect:R,hollow:P},ey=()=>(e,t,n,r)=>{let{x:i,x1:a,y:o,y1:s}=n,l=Array.from(e,e=>{let t=[+i[e],+o[e]],n=[+a[e],+o[e]];return[t,n,[+a[e],+s[e]],[+i[e],+s[e]]].map(e=>r.map(e))});return[e,l]};ey.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:eb,channels:[...en({shapes:Object.keys(eb)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:L}],postInference:[...ei()],interaction:{shareTooltip:!0}};var ev=n(2423),eE=n(59947),e_=eA(eE.A);function ex(e){this._curve=e}function eA(e){function t(t){return new ex(e(t))}return t._curve=e,t}function eS(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(eA(e)):t()._curve},e}ex.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}};var ew=n(75997),eT=n(63956),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 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 eC=(0,ew.n)(e=>{let{d1:t,d2:n,style1:r,style2:i}=e.attributes,a=e.ownerDocument;(0,U.c)(e).maybeAppend("line",()=>a.createElement("path",{})).style("d",t).call(H.AV,r),(0,U.c)(e).maybeAppend("line1",()=>a.createElement("path",{})).style("d",n).call(H.AV,i)}),ek=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:i="between",defined:a=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=eO(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let d,{color:h,lineWidth:p}=u,f=eO(u,["color","lineWidth"]),{color:g=h,size:m=p,seriesColor:b,seriesX:y,seriesY:v}=t,E=(0,H.RG)(l,t),_=(0,z.kH)(l),x=r&&b?(0,H.os)(b,y,v,r,i,_):g,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),x&&{stroke:x}),m&&{lineWidth:m}),E&&{transform:E}),s);if((0,z.pz)(l)){let e=l.getCenter();d=t=>eS((0,D.A)().curve(e_)).angle((n,r)=>(0,eT.Ib)((0,eT.jb)(t[r],e))).radius((n,r)=>(0,eT.xg)(t[r],e)).defined(([e,t])=>a(e)&&a(t)).curve(n)(t)}else d=(0,D.A)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>a(e)&&a(t)).curve(n);let[S,w]=function(e,t){let n=[],r=[],i=!1,a=null;for(let o of e)t(o[0])&&t(o[1])?(n.push(o),i&&(i=!1,r.push([a,o])),a=o):i=!0;return[n,r]}(e,a),O=(0,Z.Uq)(A,"connect"),C=!!w.length;return C&&(!o||Object.keys(O).length)?C&&!o?(0,U.c)(c.createElement("path",{})).style("d",d(e)).call(H.AV,A).node():(0,U.c)(new eC).style("style1",Object.assign(Object.assign({},A),O)).style("style2",A).style("d1",w.map(d).join(",")).style("d2",d(e)).node():(0,U.c)(c.createElement("path",{})).style("d",d(S)||[]).call(H.AV,A).node()}};ek.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let eM=(e,t)=>{let{coordinate:n}=t;return(...r)=>ek(Object.assign({curve:(0,z.pz)(n)?F:eE.A},e),t)(...r)};function eL(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function eI(e,t){this._context=e,this._k=(1-t)/6}function eN(e,t){this._context=e,this._k=(1-t)/6}eM.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"line"}),eI.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:eL(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:eL(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new eI(e,t)}return n.tension=function(t){return e(+t)},n}(0),eN.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:eL(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new eN(e,t)}return n.tension=function(t){return e(+t)},n}(0);var eR=n(31596);function eP(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>eR.Ni){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>eR.Ni){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function eD(e,t){this._context=e,this._alpha=t}function ej(e,t){this._context=e,this._alpha=t}eD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:eP(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new eD(e,t):new eI(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),ej.prototype={areaStart:j,areaEnd:j,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:eP(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let eB=function e(t){function n(e){return t?new ej(e,t):new eN(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function eF(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ez(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function eU(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function eH(e){this._context=e}function eG(e){this._context=new e$(e)}function e$(e){this._context=e}function eW(e){return new eH(e)}function eV(e){return new eG(e)}eH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:eU(this,this._t0,ez(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t*=1,(e*=1)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,eU(this,ez(this,n=eF(this,e,t)),n);break;default:eU(this,this._t0,n=eF(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(eG.prototype=Object.create(eH.prototype)).point=function(e,t){eH.prototype.point.call(this,t,e)},e$.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};var eq=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 eY=(e,t)=>{let n=eq(e,[]),{coordinate:r}=t;return(...e)=>ek(Object.assign({curve:(0,z.pz)(r)?eB:(0,z.kH)(r)?eV:eW},n),t)(...e)};function eZ(e,t){this._context=e,this._t=t}function eX(e){return new eZ(e,.5)}function eK(e){return new eZ(e,0)}function eQ(e){return new eZ(e,1)}eY.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"smooth"}),eZ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};let eJ=(e,t)=>ek(Object.assign({curve:eQ},e),t);eJ.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"hv"});let e0=(e,t)=>ek(Object.assign({curve:eK},e),t);e0.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"vh"});let e1=(e,t)=>ek(Object.assign({curve:eX},e),t);e1.props=Object.assign(Object.assign({},ek.props),{defaultMarker:"hvh"});var e2=n(58857),e3=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 e5=(e,t)=>{let{document:n}=t;return(t,r,i)=>{let{seriesSize:a,color:o}=r,{color:s}=i,l=e3(i,["color"]),c=(0,e2.Ae)();for(let e=0;e(e,t)=>{let{style:n={},encode:r}=t,{series:i}=r,{gradient:a}=n;return!a||i?[e,t]:[e,(0,x.A)({},t,{encode:{series:w(O(e,void 0))}})]};e4.props={};let e6=()=>(e,t)=>{let{encode:n}=t,{series:r,color:i}=n;if(void 0!==r||void 0===i)return[e,t];let[a,o]=C(n,"color");return[e,(0,x.A)({},t,{encode:{series:A(a,o)}})]};e6.props={};let e8={line:eM,smooth:eY,hv:eJ,vh:e0,hvh:e1,trail:e5},e7=()=>(e,t,n,r)=>((0,z.K7)(r)?(e,t,n,r)=>{let i=Object.entries(n).filter(([e])=>e.startsWith("position")).map(([,e])=>e);if(0===i.length)throw Error("Missing encode for position channel.");(0,z.pz)(r)&&i.push(i[0]);let a=Array.from(e,e=>{let t=i.map(t=>+t[e]),n=r.map(t),a=[];for(let e=0;e{var i,a;let{series:o,x:s,y:l}=n,{x:c,y:u}=t;if(void 0===s||void 0===l)throw Error("Missing encode for x or y channel.");let d=o?Array.from((0,ev.Ay)(e,e=>o[e]).values()):[e],h=d.map(e=>e[0]).filter(e=>void 0!==e),p=((null==(i=null==c?void 0:c.getBandWidth)?void 0:i.call(c))||0)/2,f=((null==(a=null==u?void 0:u.getBandWidth)?void 0:a.call(u))||0)/2;return[h,Array.from(d,e=>e.map(e=>r.map([+s[e]+p,+l[e]+f]))),d]})(e,t,n,r);e7.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:e8,channels:[...en({shapes:Object.keys(e8)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...eo(),{type:e4},{type:e6}],postInference:[...ei(),{type:K,channel:"color"},{type:Q,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var e9=n(26629),te=n(14742),tt=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};function tn(e,t,n,r){if(1===t.length)return;let{size:i}=n;if("fixed"===e)return i;if("normal"===e||(0,z.ey)(r)){let[[e,n],[r,i]]=t;return Math.max(0,(Math.abs((r-e)/2)+Math.abs((i-n)/2))/2)}return i}let tr=(e,t)=>{let{colorAttribute:n,symbol:r,mode:i="auto"}=e,a=tt(e,["colorAttribute","symbol","mode"]),o=e9.i3.get((0,te.x)(r))||e9.i3.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:d}=c,h=a.stroke?u||1:u,{color:p=d,transform:f,opacity:g}=r,[m,b]=(0,H.$z)(t),y=tn(i,t,r,s)||a.r||c.r;return(0,U.c)(l.createElement("path",{})).call(H.AV,c).style("fill","transparent").style("d",o(m,b,y)).style("lineWidth",h).style("transform",f).style("transformOrigin",`${m-y} ${b-y}`).style("stroke",p).style((0,H.Ck)(e),g).style(n,p).call(H.AV,a).node()}};tr.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ti=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);ti.props=Object.assign({defaultMarker:"hollowPoint"},tr.props);let ta=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);ta.props=Object.assign({defaultMarker:"hollowDiamond"},tr.props);let to=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);to.props=Object.assign({defaultMarker:"hollowHexagon"},tr.props);let ts=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);ts.props=Object.assign({defaultMarker:"hollowSquare"},tr.props);let tl=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);tl.props=Object.assign({defaultMarker:"hollowTriangleDown"},tr.props);let tc=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);tc.props=Object.assign({defaultMarker:"hollowTriangle"},tr.props);let tu=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);tu.props=Object.assign({defaultMarker:"hollowBowtie"},tr.props);var td=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 th=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,i=td(e,["colorAttribute","mode"]),{coordinate:a,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,d=i.stroke?c||1:c,{color:h=u,transform:p,opacity:f}=s,[g,m]=(0,H.$z)(t),b=tn(r,t,s,a)||i.r||l.r;return(0,U.c)(o.createElement("circle",{})).call(H.AV,l).style("fill","transparent").style("cx",g).style("cy",m).style("r",b).style("lineWidth",d).style("transform",p).style("transformOrigin",`${g} ${m}`).style("stroke",h).style((0,H.Ck)(e),f).style(n,h).call(H.AV,i).node()}},tp=(e,t)=>th(Object.assign({colorAttribute:"fill"},e),t);tp.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let tf=(e,t)=>th(Object.assign({colorAttribute:"stroke"},e),t);tf.props=Object.assign({defaultMarker:"hollowPoint"},tp.props);let tg=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);tg.props=Object.assign({defaultMarker:"point"},tr.props);let tm=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);tm.props=Object.assign({defaultMarker:"plus"},tr.props);let tb=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);tb.props=Object.assign({defaultMarker:"diamond"},tr.props);let ty=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);ty.props=Object.assign({defaultMarker:"square"},tr.props);let tv=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);tv.props=Object.assign({defaultMarker:"triangle"},tr.props);let tE=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);tE.props=Object.assign({defaultMarker:"hexagon"},tr.props);let t_=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);t_.props=Object.assign({defaultMarker:"cross"},tr.props);let tx=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);tx.props=Object.assign({defaultMarker:"bowtie"},tr.props);let tA=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);tA.props=Object.assign({defaultMarker:"hyphen"},tr.props);let tS=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);tS.props=Object.assign({defaultMarker:"line"},tr.props);let tw=(e,t)=>tr(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);tw.props=Object.assign({defaultMarker:"tick"},tr.props);let tT=(e,t)=>tr(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);tT.props=Object.assign({defaultMarker:"triangleDown"},tr.props);let tO=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{y:S(O(e,0))},scale:{y:{guide:null}}})]};tO.props={};let tC=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,x.A)({},t,{encode:{size:w(O(e,3))}})]};tC.props={};let tk={hollow:ti,hollowDiamond:ta,hollowHexagon:to,hollowSquare:ts,hollowTriangleDown:tl,hollowTriangle:tc,hollowBowtie:tu,hollowCircle:tf,point:tg,plus:tm,diamond:tb,square:ty,triangle:tv,hexagon:tE,cross:t_,bowtie:tx,hyphen:tA,line:tS,tick:tw,triangleDown:tT,circle:tp},tM=e=>(t,n,r,i)=>{let{x:a,y:o,x1:s,y1:l,size:c,dx:u,dy:d}=r,[h,p]=i.getSize(),f=el(n,r,e),g=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==d?void 0:d[e])||0),r=s?(+a[e]+ +s[e])/2:+a[e];return[r+t,(l?(+o[e]+ +l[e])/2:+o[e])+n]},m=c?Array.from(t,e=>{let[t,n]=g(e),r=+c[e],a=r/h,o=r/p;return[i.map(f([t-a,n-o],e)),i.map(f([t+a,n+o],e))]}):Array.from(t,e=>[i.map(f(g(e),e))]);return[t,m]};tM.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:tk,channels:[...en({shapes:Object.keys(tk)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"},{name:"dx",scale:"identity"},{name:"dy",scale:"identity"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[{type:tC},...er()]};var tL=n(78385);let tI=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let{color:a,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:s},[[d,h]]=t;return(0,U.c)(new tL.n).style("x",d).style("y",h).call(H.AV,i).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(H.AV,u).call(H.AV,e).node()}};tI.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var tN=n(25832),tR=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 tP=(0,ew.n)(e=>{let t=e.attributes,{class:n,x:r,y:i,transform:a}=t,o=tR(t,["class","x","y","transform"]),s=(0,Z.Uq)(o,"marker"),{size:l=24}=s,c=()=>(function(e){let t=e/Math.sqrt(2),n=e*Math.sqrt(2),[r,i]=[-t,t-n],[a,o]=[0,0],[s,l]=[t,t-n];return[["M",r,i],["A",e,e,0,1,1,s,l],["L",a,o],["Z"]]})(l/2),[u,d]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}((0,U.c)(e).maybeAppend("marker",()=>new tN.p({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node());(0,U.c)(e).maybeAppend("text","text").style("x",u).style("y",d).call(H.AV,o)}),tD=(e,t)=>{let n=tR(e,[]);return(e,t,r)=>{let{color:i}=r,a=tR(r,["color"]),{color:o=i,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return(0,U.c)(new tP).call(H.AV,a).style("transform",`translate(${c},${u})`).call(H.AV,l).call(H.AV,n).node()}};tD.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var tj=n(86372);let tB=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let{color:a,text:o="",fontSize:s,rotate:l=0,transform:c=""}=r,u={text:String(o),stroke:a,fill:a,fontSize:s,textAlign:"center",textBaseline:"middle"},[[d,h]]=t;return(0,U.c)(new tj.EY).style("x",d).style("y",h).call(H.AV,i).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(H.AV,u).call(H.AV,e).node()}};tB.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let tF=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(M))return[e,t];let r=Array.isArray(n[0])?n:[n],i=r.map(e=>e[0]),a=r.map(e=>e[1]);return[e,(0,x.A)({},t,{encode:{x:A(i),y:A(a)}})]};tF.props={};var tz=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 tU=()=>(e,t)=>{let{data:n,style:r={}}=t,i=tz(t,["data","style"]),{x:a,y:o}=r,s=tz(r,["x","y"]);return void 0==a||void 0==o?[e,t]:[[0],(0,x.A)({},i,{data:[0],cartesian:!0,encode:{x:A([a||0]),y:A([o||0])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};tU.props={};let tH={text:tI,badge:tD,tag:tB},tG=e=>{let{cartesian:t=!1}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};tG.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:tH,channels:[...en({shapes:Object.keys(tH)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...eo(),{type:tF},{type:tU}],postInference:[...er()]};let t$=()=>(e,t)=>[e,(0,x.A)({scale:{x:{padding:0},y:{padding:0}}},t)];t$.props={};let tW={cell:R,hollow:P},tV=()=>(e,t,n,r)=>{let{x:i,y:a}=n,o=t.x,s=t.y,l=Array.from(e,e=>{let t=o.getBandWidth(o.invert(+i[e])),n=s.getBandWidth(s.invert(+a[e])),l=+i[e],c=+a[e];return[[l,c],[l+t,c],[l+t,c+n],[l,c+n]].map(e=>r.map(e))});return[e,l]};tV.props={defaultShape:"cell",defaultLabelShape:"label",shape:tW,composite:!1,channels:[...en({shapes:Object.keys(tW)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...eo(),{type:I},{type:tO},{type:t$}],postInference:[...er()]};var tq=n(9819),tY=n(85654),tZ=n(78785),tX=n(72804);function tK(e,t,n){var r=null,i=(0,tY.A)(!0),a=null,o=eE.A,s=null,l=(0,tZ.i)(c);function c(c){var u,d,h,p,f,g=(c=(0,tq.A)(c)).length,m=!1,b=Array(g),y=Array(g);for(null==a&&(s=o(f=l())),u=0;u<=g;++u){if(!(u=d;--h)s.point(b[h],y[h]);s.lineEnd(),s.areaEnd()}m&&(b[u]=+e(p,u,c),y[u]=+t(p,u,c),s.point(r?+r(p,u,c):b[u],n?+n(p,u,c):y[u]))}if(f)return s=null,f+""||null}function u(){return(0,D.A)().defined(i).curve(o).context(a)}return e="function"==typeof e?e:void 0===e?tX.x:(0,tY.A)(+e),t="function"==typeof t?t:void 0===t?(0,tY.A)(0):(0,tY.A)(+t),n="function"==typeof n?n:void 0===n?tX.y:(0,tY.A)(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,tY.A)(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,tY.A)(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,tY.A)(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,tY.A)(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,tY.A)(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,tY.A)(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,tY.A)(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c}var tQ=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 tJ=(0,ew.n)(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:i}=e.attributes,a=e.ownerDocument;(0,U.c)(e).maybeAppend("connect-path",()=>a.createElement("path",{})).style("d",n).call(H.AV,i),(0,U.c)(e).maybeAppend("area-path",()=>a.createElement("path",{})).style("d",t).call(H.AV,r)}),t0=(e,t)=>{let{curve:n,gradient:r=!1,defined:i=e=>!Number.isNaN(e)&&null!=e,connect:a=!1}=e,o=tQ(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:d=u,seriesColor:h,seriesX:p,seriesY:f}=t,g=(0,z.kH)(s),m=(0,H.RG)(s,t),b=r&&h?(0,H.os)(h,p,f,r,void 0,g):d,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),m&&{transform:m}),o),[v,E]=function(e,t){let n=[],r=[],i=[],a=!1,o=null,s=e.length/2;for(let l=0;l!t(e)))a=!0;else{if(n.push(c),r.push(u),a&&o){a=!1;let[e,t]=o;i.push([e,c,t,u])}o=[c,u]}}return[n.concat(r),i]}(e,i),_=(0,Z.Uq)(y,"connect"),x=!!E.length,A=e=>(0,U.c)(l.createElement("path",{})).style("d",e||"").call(H.AV,y).node();if((0,z.pz)(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),a=e.slice(e.length/2);return(function(){var e=tK().curve(e_),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return eS(n())},delete e.lineX0,e.lineEndAngle=function(){return eS(r())},delete e.lineX1,e.lineInnerRadius=function(){return eS(i())},delete e.lineY0,e.lineOuterRadius=function(){return eS(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(eA(e)):t()._curve},e})().angle((e,n)=>(0,eT.Ib)((0,eT.jb)(r[n],t))).outerRadius((e,n)=>(0,eT.xg)(r[n],t)).innerRadius((e,n)=>(0,eT.xg)(a[n],t)).defined((e,t)=>[...r[t],...a[t]].every(i)).curve(n)(a)};return x&&(!a||Object.keys(_).length)?x&&!a?A(t(e)):(0,U.c)(new tJ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},_),o)).style("areaPath",t(e)).style("connectPath",E.map(t).join("")).node():A(t(v))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return g?tK().y((e,n)=>t[n][1]).x1((e,n)=>t[n][0]).x0((e,t)=>r[t][0]).defined((e,n)=>[...t[n],...r[n]].every(i)).curve(n)(t):tK().x((e,n)=>t[n][0]).y1((e,n)=>t[n][1]).y0((e,t)=>r[t][1]).defined((e,n)=>[...t[n],...r[n]].every(i)).curve(n)(t)};return x&&(!a||Object.keys(_).length)?x&&!a?A(t(e)):(0,U.c)(new tJ).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},_),o)).style("areaPath",t(e)).style("connectPath",E.map(t).join("")).node():A(t(v))}}};t0.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let t1=(e,t)=>{let{coordinate:n}=t;return(...r)=>t0(Object.assign({curve:(0,z.pz)(n)?F:eE.A},e),t)(...r)};t1.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"square"});var t2=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 t3=(e,t)=>{let n=t2(e,[]),{coordinate:r}=t;return(...e)=>t0(Object.assign({curve:(0,z.pz)(r)?eB:(0,z.kH)(r)?eV:eW},n),t)(...e)};t3.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"smooth"});let t5=(e,t)=>(...n)=>t0(Object.assign({curve:eX},e),t)(...n);t5.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"hvh"});let t4=(e,t)=>(...n)=>t0(Object.assign({curve:eK},e),t)(...n);t4.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"vh"});let t6=(e,t)=>(...n)=>t0(Object.assign({curve:eQ},e),t)(...n);t6.props=Object.assign(Object.assign({},t0.props),{defaultMarker:"hv"});let t8={area:t1,smooth:t3,hvh:t5,vh:t4,hv:t6},t7=()=>(e,t,n,r)=>{var i,a;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:d}=t,h=c?Array.from((0,ev.Ay)(e,e=>c[e]).values()):[e],p=h.map(e=>e[0]).filter(e=>void 0!==e),f=((null==(i=null==u?void 0:u.getBandWidth)?void 0:i.call(u))||0)/2,g=((null==(a=null==d?void 0:d.getBandWidth)?void 0:a.call(d))||0)/2;return[p,Array.from(h,e=>{let t=e.length,n=Array(2*t);for(let i=0;i(e,t)=>{let{encode:n}=t,{y1:r}=n;if(r)return[e,t];let[i]=C(n,"y");return[e,(0,x.A)({},t,{encode:{y1:A([...i])}})]};t9.props={};let ne=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[i]=C(n,"x");return[e,(0,x.A)({},t,{encode:{x1:A([...i])}})]};ne.props={};var nt=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 nn=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,i=nt(e,["arrow","arrowSize"]),{document:a}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=nt(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,h]=e,p=(0,e2.Ae)();if(p.moveTo(...d),p.lineTo(...h),n){let[e,t]=(0,H.Zq)(d,h,{arrowSize:r});p.moveTo(...e),p.lineTo(...h),p.lineTo(...t)}return(0,U.c)(a.createElement("path",{})).call(H.AV,l).style("d",p.toString()).style("stroke",c).style("transform",u).call(H.AV,i).node()}};nn.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nr=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>nn(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};nr.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ni=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 na=(e,t)=>{let n=ni(e,[]),{coordinate:r,document:i}=t;return(e,t,a)=>{let{color:o}=a,s=ni(a,["color"]),{color:l=o,transform:c}=t,[u,d]=e,h=(0,e2.Ae)();if(h.moveTo(u[0],u[1]),(0,z.pz)(r)){let e=r.getCenter();h.quadraticCurveTo(e[0],e[1],d[0],d[1])}else{let e=(0,eT.jz)(u,d),t=(0,eT.xg)(u,d)/2;(0,H.Fv)(h,u,d,e,t)}return(0,U.c)(i.createElement("path",{})).call(H.AV,s).style("d",h.toString()).style("stroke",l).style("transform",c).call(H.AV,n).node()}};na.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var no=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 ns=(e,t)=>{let n=no(e,[]),{document:r}=t;return(e,t,i)=>{let{color:a}=i,o=no(i,["color"]),{color:s=a,transform:l}=t,[c,u]=e,d=(0,e2.Ae)();return d.moveTo(c[0],c[1]),d.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),(0,U.c)(r.createElement("path",{})).call(H.AV,o).style("d",d.toString()).style("stroke",s).style("transform",l).call(H.AV,n).node()}};ns.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nl=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 nc=(e,t)=>{let{cornerRatio:n=1/3}=e,r=nl(e,["cornerRatio"]),{coordinate:i,document:a}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=nl(o,["defaultColor"]),{color:c=s,transform:u}=t,[d,h]=e,p=function(e,t,n,r){let i=(0,e2.Ae)();if((0,z.pz)(n)){let a=n.getCenter(),o=(0,eT.xg)(e,a),s=(0,eT.xg)(t,a);return i.moveTo(e[0],e[1]),(0,H.Fv)(i,e,t,a,(s-o)*r+o),i.lineTo(t[0],t[1]),i}return(0,z.kH)(n)?(i.moveTo(e[0],e[1]),i.lineTo(e[0]+(t[0]-e[0])*r,e[1]),i.lineTo(e[0]+(t[0]-e[0])*r,t[1])):(i.moveTo(e[0],e[1]),i.lineTo(e[0],e[1]+(t[1]-e[1])*r),i.lineTo(t[0],e[1]+(t[1]-e[1])*r)),i.lineTo(t[0],t[1]),i}(d,h,i,n);return(0,U.c)(a.createElement("path",{})).call(H.AV,l).style("d",p.toString()).style("stroke",c).style("transform",u).call(H.AV,r).node()}};nc.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nu={link:nr,arc:na,smooth:ns,vhv:nc},nd=e=>(t,n,r,i)=>{let{x:a,y:o,x1:s=a,y1:l=o}=r,c=el(n,r,e),u=t.map(e=>[i.map(c([+a[e],+o[e]],e)),i.map(c([+s[e],+l[e]],e))]);return[t,u]};nd.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:nu,channels:[...en({shapes:Object.keys(nu)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:t9},{type:ne}],postInference:[...er()]};var nh=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 np=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o}=a,s=nh(a,["color"]),{color:l=o,src:c="",size:u=32,transform:d=""}=i,{width:h=u,height:p=u}=e,[[f,g]]=t,[m,b]=n.getSize();h="string"==typeof h?ec(h)*m:h,p="string"==typeof p?ec(p)*b:p;let y=f-Number(h)/2,v=g-Number(p)/2;return(0,U.c)(r.createElement("image",{})).call(H.AV,s).style("x",y).style("y",v).style("src",c).style("stroke",l).style("transform",d).call(H.AV,e).style("width",h).style("height",p).node()}};np.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nf={image:np},ng=e=>{let{cartesian:t}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};ng.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:nf,channels:[...en({shapes:Object.keys(nf)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...eo(),{type:tF},{type:tU}],postInference:[...er()]};var nm=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 nb=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o}=a,s=nm(a,["color"]),{color:l=o,transform:c}=i,u=function(e,t){let n=(0,e2.Ae)();if((0,z.pz)(t)){let r=t.getCenter(),i=[...e,e[0]],a=i.map(e=>(0,eT.xg)(e,r));return i.forEach((t,i)=>{if(0===i)return void n.moveTo(t[0],t[1]);let o=a[i],s=e[i-1],l=a[i-1];void 0!==l&&1e-10>Math.abs(o-l)?(0,H.Fv)(n,s,t,r,o):n.lineTo(t[0],t[1])}),n.closePath(),n}return(0,H.NS)(n,e)}(t,n);return(0,U.c)(r.createElement("path",{})).call(H.AV,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(H.AV,e).node()}};nb.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var ny=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 nv=(e,t)=>{let n=ny(e,[]),{coordinate:r,document:i}=t;return(e,t,a)=>{let{color:o}=a,s=ny(a,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,i,a]=e,o=(0,e2.Ae)();if((0,z.pz)(t)){let e=t.getCenter(),s=(0,eT.xg)(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],i[0],i[1]),(0,H.Fv)(o,i,a,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),(0,H.Fv)(o,r,n,e,s),o.closePath(),o}return o.moveTo(n[0],n[1]),o.bezierCurveTo(n[0]/2+i[0]/2,n[1],n[0]/2+i[0]/2,i[1],i[0],i[1]),o.lineTo(a[0],a[1]),o.bezierCurveTo(a[0]/2+r[0]/2,a[1],a[0]/2+r[0]/2,r[1],r[0],r[1]),o.lineTo(n[0],n[1]),o.closePath(),o}(e,r);return(0,U.c)(i.createElement("path",{})).call(H.AV,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(H.AV,n).node()}};nv.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nE={polygon:nb,ribbon:nv},n_=()=>(e,t,n,r)=>{let i=Object.entries(n).filter(([e])=>e.startsWith("x")).map(([,e])=>e),a=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),o=e.map(e=>{let t=[];for(let n=0;nt.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 nA=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o,transform:s}=i,{color:l,fill:c=l,stroke:u=l}=a,d=nx(a,["color","fill","stroke"]),h=function(e,t){let n=(0,e2.Ae)();if((0,z.pz)(t)){let r=t.getCenter(),[i,a]=r,o=(0,eT.g7)((0,eT.jb)(e[0],r)),s=(0,eT.g7)((0,eT.jb)(e[1],r)),l=(0,eT.xg)(r,e[2]),c=(0,eT.xg)(r,e[3]),u=(0,eT.xg)(r,e[8]),d=(0,eT.xg)(r,e[10]),h=(0,eT.xg)(r,e[11]);n.moveTo(...e[0]),n.arc(i,a,l,o,s),n.arc(i,a,l,s,o,!0),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.arc(i,a,c,o,s),n.lineTo(...e[6]),n.arc(i,a,d,s,o,!0),n.closePath(),n.moveTo(...e[8]),n.arc(i,a,u,o,s),n.arc(i,a,u,s,o,!0),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.arc(i,a,h,o,s),n.arc(i,a,h,s,o,!0)}else n.moveTo(...e[0]),n.lineTo(...e[1]),n.moveTo(...e[2]),n.lineTo(...e[3]),n.moveTo(...e[4]),n.lineTo(...e[5]),n.lineTo(...e[6]),n.lineTo(...e[7]),n.closePath(),n.moveTo(...e[8]),n.lineTo(...e[9]),n.moveTo(...e[10]),n.lineTo(...e[11]),n.moveTo(...e[12]),n.lineTo(...e[13]);return n}(t,n);return(0,U.c)(r.createElement("path",{})).call(H.AV,d).style("d",h.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(H.AV,e).node()}};nA.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var nS=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 nw=(e,t)=>{let{coordinate:n,document:r}=t;return(t,i,a)=>{let{color:o,transform:s}=i,{color:l,fill:c=l,stroke:u=l}=a,d=nS(a,["color","fill","stroke"]),h=function(e,t,n=4){let r=(0,e2.Ae)();if(!(0,z.pz)(t))return r.moveTo(...e[2]),r.lineTo(...e[3]),r.lineTo(e[3][0]-n,e[3][1]),r.lineTo(e[10][0]-n,e[10][1]),r.lineTo(e[10][0]+n,e[10][1]),r.lineTo(e[3][0]+n,e[3][1]),r.lineTo(...e[3]),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]),r.moveTo(e[3][0]+n/2,e[8][1]),r.arc(e[3][0],e[8][1],n/2,0,2*Math.PI),r.closePath(),r;let i=t.getCenter(),[a,o]=i,s=(0,eT.xg)(i,e[3]),l=(0,eT.xg)(i,e[8]),c=(0,eT.xg)(i,e[10]),u=(0,eT.g7)((0,eT.jb)(e[2],i)),d=Math.asin(n/l),h=u-d,p=u+d;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(h)*s+a,Math.sin(h)*s+o),r.arc(a,o,s,h,p),r.lineTo(Math.cos(p)*c+a,Math.sin(p)*c+o),r.arc(a,o,c,p,h,!0),r.lineTo(Math.cos(h)*s+a,Math.sin(h)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let f=(h+p)/2;return r.moveTo(Math.cos(f)*(l+n/2)+a,Math.sin(f)*(l+n/2)+o),r.arc(Math.cos(f)*l+a,Math.sin(f)*l+o,n/2,f,2*Math.PI+f),r.closePath(),r}(t,n,4);return(0,U.c)(r.createElement("path",{})).call(H.AV,d).style("d",h.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(H.AV,e).node()}};nw.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nT={box:nA,violin:nw},nO=()=>(e,t,n,r)=>{let{x:i,y:a,y1:o,y2:s,y3:l,y4:c,series:u}=n,d=t.x,h=t.series,p=Array.from(e,e=>{let t=d.getBandWidth(d.invert(+i[e])),n=t*(h?h.getBandWidth(h.invert(+(null==u?void 0:u[e]))):1),p=(+(null==u?void 0:u[e])||0)*t,f=+i[e]+p+n/2,[g,m,b,y,v]=[+a[e],+o[e],+s[e],+l[e],+c[e]];return[[f-n/2,v],[f+n/2,v],[f,v],[f,y],[f-n/2,y],[f+n/2,y],[f+n/2,m],[f-n/2,m],[f-n/2,b],[f+n/2,b],[f,m],[f,g],[f-n/2,g],[f+n/2,g]].map(e=>r.map(e))});return[e,p]};nO.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:nT,channels:[...en({shapes:Object.keys(nT)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...eo(),{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};let nC={vector:nn},nk=()=>(e,t,n,r)=>{let{x:i,y:a,size:o,rotate:s}=n,[l,c]=r.getSize(),u=e.map(e=>{let t=s[e]/180*Math.PI,n=+o[e],u=n/l*Math.cos(t),d=-(n/c)*Math.sin(t);return[r.map([i[e]-u/2,a[e]-d/2]),r.map([+i[e]+u/2,+a[e]+d/2])]});return[e,u]};nk.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:nC,channels:[...en({shapes:Object.keys(nC)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...eo()],postInference:[...er()]};var nM=n(90794),nL=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 nI=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,i=nL(e,["arrow","arrowSize"]),{coordinate:a,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=nL(s,["color","lineWidth"]),{color:d=l,size:h=c}=t,p=n?function(e,t,n){return e.createElement("path",{style:Object.assign({d:`M ${t},${t} L -${t},0 L ${t},-${t} L 0,0 Z`,transformOrigin:"center"},n)})}(o,r,Object.assign({fill:i.stroke||d,stroke:i.stroke||d},(0,Z.Uq)(i,"arrow"))):null,f=function(e,t){if(!(0,z.pz)(t))return(0,D.A)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,nM.A)()({startAngle:0,endAngle:2*Math.PI,outerRadius:(0,eT.xg)(e[0],n),innerRadius:(0,eT.xg)(e[1],n)})}(e,a),g=function(e,t){if(!(0,z.pz)(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(a,t.transform);return(0,U.c)(o.createElement("path",{})).call(H.AV,u).style("d",f).style("stroke",d).style("lineWidth",h).style("transform",g).style("markerEnd",p).call(H.AV,i).node()}};nI.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nN=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(M)?[e,t]:[e,(0,x.A)({},t,{encode:{x:A(n)}})]};nN.props={};let nR={line:nI},nP=e=>(t,n,r,i)=>{let{x:a}=r,o=el(n,r,(0,x.A)({style:{bandOffset:0}},e)),s=Array.from(t,e=>[[a[e],1],[a[e],0]].map(t=>i.map(o(t,e))));return[t,s]};nP.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:nR,channels:[...ea({shapes:Object.keys(nR)}),{name:"x",required:!0}],preInference:[...eo(),{type:nN}],postInference:[]};let nD=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(M)?[e,t]:[e,(0,x.A)({},t,{encode:{y:A(n)}})]};nD.props={};let nj={line:nI},nB=e=>(t,n,r,i)=>{let{y:a}=r,o=el(n,r,(0,x.A)({style:{bandOffset:0}},e)),s=Array.from(t,e=>[[0,a[e]],[1,a[e]]].map(t=>i.map(o(t,e))));return[t,s]};nB.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:nj,channels:[...ea({shapes:Object.keys(nj)}),{name:"y",required:!0}],preInference:[...eo(),{type:nD}],postInference:[]};var nF=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};function nz(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let nU=(e,t)=>{let{offsetX:n=0,sourceOffsetX:r=n,targetOffsetX:i=n,offsetY:a=0,sourceOffsetY:o=a,targetOffsetY:s=a,connectLength1:l,endMarker:c=!0}=e,u=nF(e,["offsetX","sourceOffsetX","targetOffsetX","offsetY","sourceOffsetY","targetOffsetY","connectLength1","endMarker"]),{coordinate:d}=t;return(e,t,n)=>{let{color:a,connectLength1:h}=n,p=nF(n,["color","connectLength1"]),{color:f,transform:g}=t,m=function(e,t,n,r,i,a,o=0){let[[s,l],[c,u]]=t;if((0,z.kH)(e)){let e=s+n,t=e+o,d=l+i,h=u+a;return[[e,d],[t,d],[t,h],[c+r,h]]}let d=l-n,h=d-o,p=s-i,f=c-a;return[[p,d],[p,h],[f,h],[f,u-r]]}(d,e,o,s,r,i,null!=l?l:h),b=(0,Z.Uq)(Object.assign(Object.assign({},u),n),"endMarker");return(0,U.c)(new tj.wA).call(H.AV,p).style("d",(0,D.A)().x(e=>e[0]).y(e=>e[1])(m)).style("stroke",f||a).style("transform",g).style("markerEnd",c?new tN.p({className:"marker",style:Object.assign(Object.assign({},b),{symbol:nz})}):null).call(H.AV,u).node()}};nU.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let nH={connector:nU},nG=(...e)=>nd(...e);function n$(e,t,n,r){if(t)return()=>[0,1];let{[e]:i,[`${e}1`]:a}=n;return e=>{var t;let n=(null==(t=r.getBandWidth)?void 0:t.call(r,r.invert(+a[e])))||0;return[i[e],a[e]+n]}}function nW(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,i,a)=>{let o=n$("x",t,i,r.x),s=n$("y",n,i,r.y),l=Array.from(e,e=>{let[t,n]=o(e),[r,i]=s(e);return[[t,r],[n,r],[n,i],[t,i]].map(e=>a.map(e))});return[e,l]}}nG.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:nH,channels:[...ea({shapes:Object.keys(nH)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo()],postInference:[]};let nV={range:R},nq=()=>nW();nq.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nV,channels:[...ea({shapes:Object.keys(nV)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo()],postInference:[]};let nY=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(M))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,x.A)({},t,{encode:{x:A(r(n,0)),x1:A(r(n,1))}})]}return[e,t]};nY.props={};let nZ={range:R},nX=()=>nW({extendY:!0});nX.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nZ,channels:[...ea({shapes:Object.keys(nZ)}),{name:"x",required:!0}],preInference:[...eo(),{type:nY}],postInference:[]};let nK=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(M))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,x.A)({},t,{encode:{y:A(r(n,0)),y1:A(r(n,1))}})]}return[e,t]};nK.props={};let nQ={range:R},nJ=()=>nW({extendX:!0});nJ.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:nQ,channels:[...ea({shapes:Object.keys(nQ)}),{name:"y",required:!0}],preInference:[...eo(),{type:nK}],postInference:[]};var n0=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 n1=(e,t)=>{let{arrow:n,colorAttribute:r}=e,i=n0(e,["arrow","colorAttribute"]),{coordinate:a,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=n0(n,["color","stroke"]),{d:u,color:d=s}=t,[h,p]=a.getSize();return(0,U.c)(o.createElement("path",{})).call(H.AV,c).style("d","function"==typeof u?u({width:h,height:p}):u).style(r,d).call(H.AV,i).node()}};n1.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n2=(e,t)=>n1(Object.assign({colorAttribute:"fill"},e),t);n2.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n3=(e,t)=>n1(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);n3.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n5={path:n2,hollow:n3},n4=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];n4.props={defaultShape:"path",defaultLabelShape:"label",shape:n5,composite:!1,channels:[...en({shapes:Object.keys(n5)}),{name:"d",scale:"identity"}],preInference:[...eo()],postInference:[]};var n6=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 n8=(e,t)=>{let{render:n}=e,r=n6(e,["render"]);return e=>{let[[i,a]]=e;return n(Object.assign(Object.assign({},r),{x:i,y:a}),t)}};n8.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let n7=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,x.A)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};n7.props={};let n9=e=>{let{cartesian:t}=e;return t?eu:(t,n,r,i)=>{let{x:a,y:o}=r,s=el(n,r,e),l=Array.from(t,e=>{let t=[+a[e],+o[e]];return[i.map(s(t,e))]});return[t,l]}};n9.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:n8},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...eo(),{type:tF},{type:tU},{type:n7}]};var re=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 rt=(e,t)=>{let{document:n}=t;return(t,r,i)=>{let{transform:a}=r,{color:o}=i,s=re(i,["color"]),{color:l=o}=r,[c,...u]=t,d=(0,e2.Ae)();return d.moveTo(...c),u.forEach(([e,t])=>{d.lineTo(e,t)}),d.closePath(),(0,U.c)(n.createElement("path",{})).call(H.AV,s).style("d",d.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",a).call(H.AV,e).node()}};rt.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let rn={density:rt},rr=()=>(e,t,n,r)=>{let{x:i,series:a}=n,o=Object.entries(n).filter(([e])=>e.startsWith("y")).map(([,e])=>e),s=Object.entries(n).filter(([e])=>e.startsWith("size")).map(([,e])=>e);if(void 0===i||void 0===o||void 0===s)throw Error("Missing encode for x or y or size channel.");let l=t.x,c=t.series,u=Array.from(e,t=>{let n=l.getBandWidth(l.invert(+i[t])),u=c?c.getBandWidth(c.invert(+(null==a?void 0:a[t]))):1,d=(+(null==a?void 0:a[t])||0)*n,h=+i[t]+d+n*u/2;return[...o.map((n,r)=>[h+s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[h-s[r][t]/e.length,+o[r][t]]).reverse()].map(e=>r.map(e))});return[e,u]};rr.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:rn,channels:[...en({shapes:Object.keys(rn)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"size",required:!0},{name:"series",scale:"band"},{name:"size",required:!0,scale:"identity"}],preInference:[...eo(),{type:L},{type:I}],postInference:[...ei()],interaction:{shareTooltip:!0}};var ri=n(10574),ra=n(81036);function ro(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}let rs=(0,n(59728).g)((e,t,n)=>{let r=ro(n,2*e,2*e),i=r.getContext("2d");if(1===t)i.beginPath(),i.arc(e,e,e,0,2*Math.PI,!1),i.fillStyle="rgba(0,0,0,1)",i.fill();else{let n=i.createRadialGradient(e,e,e*t,e,e,e);n.addColorStop(0,"rgba(0,0,0,1)"),n.addColorStop(1,"rgba(0,0,0,0)"),i.fillStyle=n,i.fillRect(0,0,2*e,2*e)}return r},e=>`${e}`);var rl=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 rc=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:i,minOpacity:a,blur:o,useGradientOpacity:s}=e,l=rl(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:d}=t;return(e,t,h)=>{let{transform:p}=t,[f,g]=c.getSize(),m=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),b=(0,ri.A)(e,e=>e[2]),y=(0,ra.A)(e,e=>e[2]),v=f&&g?function(e,t,n,r,i,a,o){let s=Object.assign({blur:.85,minOpacity:0,opacity:.6,maxOpacity:1,gradient:[[.25,"rgb(0,0,255)"],[.55,"rgb(0,255,0)"],[.85,"yellow"],[1,"rgb(255,0,0)"]]},a);s.minOpacity*=255,s.opacity*=255,s.maxOpacity*=255;let l=ro(o,e,t).getContext("2d"),c=function(e,t){let n=ro(t,256,1).getContext("2d"),r=n.createLinearGradient(0,0,256,1);return("string"==typeof e?e.split(" ").map(e=>{let[t,n]=e.split(":");return[+t,n]}):e).forEach(([e,t])=>{r.addColorStop(e,t)}),n.fillStyle=r,n.fillRect(0,0,256,1),n.getImageData(0,0,256,1).data}(s.gradient,o);l.clearRect(0,0,e,t),function(e,t,n,r,i,a){let{blur:o}=i,s=r.length;for(;s--;){let{x:i,y:l,value:c,radius:u}=r[s],d=Math.min(c,n),h=i-u,p=l-u,f=rs(u,1-o,a);e.globalAlpha=Math.max((d-t)/(n-t),.001),e.drawImage(f,h,p)}}(l,n,r,i,s,o);let u=function(e,t,n,r,i){let{minOpacity:a,opacity:o,maxOpacity:s,useGradientOpacity:l}=i,c=e.getImageData(0,0,t,n),u=c.data,d=u.length;for(let e=3;e{let i=e[r];return t(i,r)||(n[r]=i),n},{})}({gradient:n,opacity:r,minOpacity:a,maxOpacity:i,blur:o,useGradientOpacity:s},e=>void 0===e),u):{canvas:null};return(0,U.c)(d.createElement("image",{})).call(H.AV,h).style("x",0).style("y",0).style("width",f).style("height",g).style("src",v.canvas.toDataURL()).style("transform",p).call(H.AV,l).node()}};rc.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let ru={heatmap:rc},rd=e=>(e,t,n,r)=>{let{x:i,y:a,size:o,color:s}=n;return[[0],[Array.from(e,e=>{let t=o?+o[e]:40;return[...r.map([+i[e],+a[e]]),s[e],t]})]]};rd.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:ru,channels:[...en({shapes:Object.keys(ru)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[...er()]};var rh=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 rp=(e,t)=>(function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let{width:n,height:r}=t,{data:i,encode:a={},scale:o,style:s={},layout:l={}}=e,c=rh(e,["data","encode","scale","style","layout"]),u=function(e,t){let{text:n="text",value:r="value"}=t;return e.map(e=>Object.assign(Object.assign({},e),{text:e[n],value:e[r]}))}(i,a);return(0,x.A)({},{axis:!1,type:"text",encode:{x:"x",y:"y",text:"text",rotate:"rotate",fontSize:"size",shape:"tag"},scale:{x:{range:[0,1]},y:{range:[0,1]}},style:{fontFamily:e=>e.fontFamily},tooltip:{items:[e=>({name:e.text,value:e.value})]}},Object.assign(Object.assign({data:{value:u,transform:[Object.assign({type:"wordCloud",size:[n,r]},l)]},encode:a,scale:o,style:s},c),{axis:!1}))});rp.props={};var rf=n(16696),rg=n(20970),rm=n(92304),rb=n(74259);let ry={hollow:ti,hollowDiamond:ta,hollowHexagon:to,hollowSquare:ts,hollowTriangleDown:tl,hollowTriangle:tc,hollowBowtie:tu,hollowCircle:tf,point:tg,plus:tm,diamond:tb,square:ty,triangle:tv,hexagon:tE,cross:t_,bowtie:tx,hyphen:tA,line:tS,tick:tw,triangleDown:tT,circle:tp},rv=e=>(t,n,r,i)=>{let{x:a,y:o,size:s}=r;if(!a.length||!o.length)return[t,o.map(()=>[[]])];let[l,c]=i.getSize(),u=el(n,r,e),d=Array.from(t,e=>{let t=a[e]*l,n=o[e]*c,r=+s[e]||4;return{i:e,x:t,y:n,r}}),h=(0,rf.A)(d).stop().force("collide",(0,rg.A)().radius(e=>e.r+1).strength(1));h.force("x",(0,rm.A)(e=>e.x).strength(0)),h.force("y",(0,rb.A)(e=>e.y).strength(5));for(let e=0;e<200;e++)h.tick();h.stop();let p=e=>{let t=d.find(t=>t.i===e);return[t.x/l,t.y/c]},f=s?Array.from(t,e=>{let[t,n]=p(e),r=+s[e],a=r/l,o=r/c;return[i.map(u([t-a,n-o],e)),i.map(u([t+a,n+o],e))]}):Array.from(t,e=>[i.map(u(p(e),e))]);return[t,f]};rv.props={defaultShape:"point",defaultLabelShape:"label",composite:!1,shape:ry,channels:[...en({shapes:Object.keys(ry)}),{name:"x",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size",quantitative:"sqrt"}],preInference:[...eo(),{type:I},{type:tO}],postInference:[{type:tC},...er()]};let rE=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];rE.props={};let r_=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];r_.props={};var rx=n(14438);let rA=e=>new rx.W(e);rA.props={};var rS=n(73628);let rw=e=>new rS.w(e);rw.props={};var rT=n(67998);let rO=e=>new rT.w(e);rO.props={};var rC=n(42338),rk=n(20430),rM=n(33300),rL=n(46032);class rI extends rk.C{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:rM.mg}}map(e){return(0,rL.f)(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new rI(this.options)}getTicks(){let{domain:e,tickCount:t,tickMethod:n}=this.options,[r,i]=e;return(0,rC.A)(r)&&(0,rC.A)(i)?n(r,i,t):[]}}let rN=e=>new rI(e);rN.props={};class rR extends rT.w{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:rS.o,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new rR(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}let rP=e=>new rR(e);rP.props={};var rD=n(59222),rj=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,rB=/\[([^]*?)\]/gm;function rF(e,t){for(var n=[],r=0,i=e.length;r-1?r:null}};function rU(e){for(var t=[],n=1;n3?0:(e-e%10!=10)*e%10]}}),rV=function(e,t){for(void 0===t&&(t=2),e=String(e);e.lengthe.getHours()?t.amPm[0]:t.amPm[1]},A:function(e,t){return 12>e.getHours()?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+rV(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+rV(Math.floor(Math.abs(t)/60),2)+":"+rV(Math.abs(t)%60,2)}};rz("monthNamesShort"),rz("monthNames");var rY={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"},rZ=function(e,t,n){if(void 0===t&&(t=rY.default),void 0===n&&(n={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw Error("Invalid Date pass to format");t=rY[t]||t;var r=[];t=t.replace(rB,function(e,t){return r.push(t),"@@@"});var i=rU(rU({},rW),n);return(t=t.replace(rj,function(t){return rq[t](e,i)})).replace(/@@@/g,function(){return r.shift()})},rX=n(3021);function rK(e,t,n,r){let i=(e,i)=>{i&&((e,t)=>{let i=e=>r(e)%t==0,a=t;for(;a&&!i(e);)n(e,-1),a-=1})(e,i),t(e)},a=(e,t)=>{let r=new Date(e-1);return i(r,t),n(r,t),i(r),r};return{ceil:a,floor:(e,t)=>{let n=new Date(+e);return i(n,t),n},range:(e,t,r,o)=>{let s=[],l=Math.floor(r),c=o?a(e,r):a(e);for(;ce,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),rJ=rK(1e3,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getSeconds()),r0=rK(6e4,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getMinutes()),r1=rK(36e5,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getHours()),r2=rK(864e5,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+864e5*t)},e=>e.getDate()-1),r3=rK(2592e6,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),r5={millisecond:rQ,second:rJ,minute:r0,hour:r1,day:r2,week:rK(6048e5,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{let t=r3.floor(e);return Math.floor((new Date(+e)-t)/6048e5)}),month:r3,year:rK(31536e6,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear())},r4=rK(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),r6=rK(1e3,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getUTCSeconds()),r8=rK(6e4,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getUTCMinutes()),r7=rK(36e5,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getUTCHours()),r9=rK(864e5,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+864e5*t)},e=>e.getUTCDate()-1),ie=rK(2592e6,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),it={millisecond:r4,second:r6,minute:r8,hour:r7,day:r9,week:rK(6048e5,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+6048e5*t)},e=>{let t=ie.floor(e);return Math.floor((new Date(+e)-t)/6048e5)}),month:ie,year:rK(31536e6,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear())};var ir=n(10569),ii=n(88491);function ia(e,t,n,r,i){let a,o=+e,s=+t,{tickIntervals:l,year:c,millisecond:u}=function(e){let{year:t,month:n,week:r,day:i,hour:a,minute:o,second:s,millisecond:l}=e?it:r5;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[o,1],[o,5],[o,15],[o,30],[a,1],[a,3],[a,6],[a,12],[i,1],[i,2],[r,1],[n,1],[n,3],[t,1]],year:t,millisecond:l}}(i),d=([e,t])=>e.duration*t,h=r?(s-o)/r:n||5,p=r||(s-o)/h,f=l.length,g=(0,ir.h)(l,p,0,f,d);if(g===f){let e=(0,ii.s)(o/c.duration,s/c.duration,h);a=[c,e]}else if(g){let[e,t]=p/d(l[g-1]){let a=e>t,o=a?t:e,s=a?e:t,[l,c]=ia(o,s,n,r,i),u=l.range(o,new Date(+s+1),c,!0);return a?u.reverse():u};var is=n(96474);let il=(e,t,n,r,i)=>{let a=e>t,o=a?t:e,s=a?e:t,[l,c]=ia(o,s,n,r,i),u=[l.floor(o,c),l.ceil(s,c)];return a?u.reverse():u};function ic(e){let t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}class iu extends rX.W{getDefaultOptions(){return{domain:[new Date(2e3,0,1),new Date(2e3,0,2)],range:[0,1],nice:!1,tickCount:5,tickInterval:void 0,unknown:void 0,clamp:!1,tickMethod:io,interpolate:is.P7,mask:void 0,utc:!1}}chooseTransforms(){return[e=>+e,e=>new Date(e)]}chooseNice(){return il}getTickMethodOptions(){let{domain:e,tickCount:t,tickInterval:n,utc:r}=this.options;return[e[0],e[e.length-1],t,n,r]}getFormatter(){let{mask:e,utc:t}=this.options,n=t?it:r5,r=t?ic:rD.A;return t=>rZ(r(t),e||function(e,t){let{second:n,minute:r,hour:i,day:a,week:o,month:s,year:l}=t;return n.floor(e)new iu(e);id.props={};let ih=e=>t=>-e(-t),ip=(e,t)=>{let n=Math.log(e),r=e===Math.E?Math.log:10===e?Math.log10:2===e?Math.log2:e=>Math.log(e)/n;return t?ih(r):r},ig=(e,t)=>{let n=e===Math.E?Math.exp:t=>e**t;return t?ih(n):n};var im=n(2018);let ib=(e,t,n,r=10)=>{let i=e<0,a=ig(r,i),o=ip(r,i),s=t=1;t-=1){let n=e*t;if(n>c)break;n>=l&&h.push(n)}}else for(;u<=d;u+=1){let e=a(u);for(let t=1;tc)break;n>=l&&h.push(n)}}2*h.length{let i=e<0,a=ip(r,i),o=ig(r,i),s=e>t,l=[o(Math.floor(a(s?t:e))),o(Math.ceil(a(s?e:t)))];return s?l.reverse():l};class iv extends rX.W{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:is.Hx,tickMethod:ib,tickCount:5}}chooseNice(){return iy}getTickMethodOptions(){let{domain:e,tickCount:t,base:n}=this.options;return[e[0],e[e.length-1],t,n]}chooseTransforms(){let{base:e,domain:t}=this.options,n=t[0]<0;return[ip(e,n),ig(e,n)]}clone(){return new iv(this.options)}}let iE=e=>new iv(e);iE.props={};let i_=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);class ix extends rX.W{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:is.Hx,tickMethod:im.O,tickCount:5}}constructor(e){super(e)}chooseTransforms(){let{exponent:e}=this.options;return 1===e?[rD.A,rD.A]:[.5===e?i_:t=>t<0?-((-t)**e):t**e,t=>t<0?-((-t)**(1/e)):t**(1/e)]}clone(){return new ix(this.options)}}let iA=e=>new ix(e);iA.props={};class iS extends ix{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:is.Hx,tickMethod:im.O,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new iS(this.options)}}let iw=e=>new iS(e);iw.props={};var iT=n(36862);let iO=e=>new iT.O(e);iO.props={};var iC=n(98909);let ik=e=>new iC.M(e);ik.props={};var iM=n(35920);let iL=e=>new iM.A(e);iL.props={};var iI=n(14133),iN=n(65158);let iR=u8=class extends rx.W{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:rD.A,tickMethod:im.O,tickCount:5}}constructor(e){super(e)}clone(){return new u8(this.options)}};iR=u8=function(e,t,n,r){var i,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([(u4=function(e){return[e(0),e(1)]},u6=e=>{let[t,n]=e;return(0,iI.Z)((0,is.P7)(0,1),(0,iN.c)(t,n))},e=>{e.prototype.rescale=function(){this.initRange(),this.nice();let[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},e.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=u4(e)},e.prototype.composeOutput=function(e,t){let{domain:n,interpolator:r,round:i}=this.getOptions(),a=u6(n.map(e)),o=i?e=>{let t=r(e);return(0,rC.A)(t)?Math.round(t):t}:r;this.output=(0,iI.Z)(o,a,t,e)},e.prototype.invert=void 0})],iR);let iP=e=>new iR(e);iP.props={};var iD=n(24223);let ij=e=>new iD.h(e);ij.props={};var iB=n(18961);function iF({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:i,padding1:a,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:d,alpha10:h,category10:p,category20:f,sizeDefault:g=1,padding:m="auto",margin:b=16}){return{padding:m,margin:b,size:g,color:e,category10:p,category20:f,enter:{duration:300,fill:"both",delay:0},update:{duration:300,fill:"both",delay:0},exit:{duration:300,fill:"both",delay:0},view:{viewFill:i,plotFill:"transparent",mainFill:"transparent",contentFill:"transparent"},line:{line:{fill:"",strokeOpacity:1,lineWidth:1,lineCap:"round"}},point:{point:{r:3,fillOpacity:.95,lineWidth:0},hollow:{r:3,strokeOpacity:.95,lineWidth:1},plus:{r:3,strokeOpacity:.95,lineWidth:3},diamond:{r:3,strokeOpacity:.95,lineWidth:1}},interval:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},area:{area:{fillOpacity:.85,lineWidth:0}},polygon:{polygon:{fillOpacity:.95}},cell:{cell:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},rect:{rect:{fillOpacity:.95},hollow:{fill:"",strokeOpacity:1,lineWidth:2}},link:{link:{fill:"",strokeOpacity:1}},vector:{vector:{fillOpacity:1}},box:{box:{fillOpacity:.95,stroke:t,lineWidth:1}},text:{text:{fill:"#1D2129",fontSize:12,lineWidth:0,connectorStroke:r,connectorStrokeOpacity:.45,connectorLineWidth:1,backgroundFill:r,backgroundFillOpacity:.15,backgroundPadding:[2,4],startMarkerSymbol:"circle",startMarkerSize:4,endMarkerSymbol:"circle",endMarkerSize:4},badge:{fill:"#1D2129",fillOpacity:.65,lineWidth:0,fontSize:10,textAlign:"center",textBaseline:"middle",markerFill:r,markerFillOpacity:.25,markerStrokeOpacity:0}},lineX:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},lineY:{line:{stroke:r,strokeOpacity:.45,lineWidth:1}},rangeX:{range:{fill:r,fillOpacity:.15,lineWidth:0}},rangeY:{range:{fill:r,fillOpacity:.15,lineWidth:0}},connector:{connector:{stroke:r,strokeOpacity:.45,lineWidth:1,connectLength1:12,endMarker:!0,endMarkerSize:6,endMarkerFill:r,endMarkerFillOpacity:.95}},axis:{arrow:!1,gridLineDash:[3,4],gridLineWidth:.5,gridStroke:t,gridStrokeOpacity:h,labelAlign:"horizontal",labelFill:t,labelOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:a,line:!1,lineLineWidth:.5,lineStroke:t,lineStrokeOpacity:u,tickLength:4,tickLineWidth:1,tickStroke:t,tickOpacity:u,titleFill:t,titleOpacity:l,titleFontSize:12,titleFontWeight:"normal",titleSpacing:12,titleTransformOrigin:"center",lineArrowOffset:6,lineArrowSize:6},axisTop:{gridDirection:"positive",labelDirection:"negative",tickDirection:"negative",titlePosition:"top",titleSpacing:12,labelSpacing:4,titleTextBaseline:"middle"},axisBottom:{gridDirection:"negative",labelDirection:"positive",tickDirection:"positive",titlePosition:"bottom",titleSpacing:12,labelSpacing:4,titleTextBaseline:"bottom",titleTransform:"translate(0, 8)"},axisLeft:{gridDirection:"positive",labelDirection:"negative",labelSpacing:4,tickDirection:"negative",titlePosition:"left",titleSpacing:12,titleTextBaseline:"middle",titleDirection:"vertical",titleTransform:"rotate(-90) translate(0, -8)",titleTransformOrigin:"center"},axisRight:{gridDirection:"negative",labelDirection:"positive",labelSpacing:4,tickDirection:"positive",titlePosition:"right",titleSpacing:12,titleTextBaseline:"top",titleDirection:"vertical",titleTransformOrigin:"center"},axisLinear:{girdClosed:!0,gridConnect:"arc",gridDirection:"negative",gridType:"surround",titlePosition:"top",titleSpacing:0},axisArc:{title:!1,titlePosition:"inner",line:!1,tick:!0,labelSpacing:4},axisRadar:{girdClosed:!0,gridStrokeOpacity:.3,gridType:"surround",tick:!1,titlePosition:"start"},legendCategory:{backgroundFill:"transparent",itemBackgroundFill:"transparent",itemLabelFill:t,itemLabelFillOpacity:l,itemLabelFontSize:12,itemLabelFontWeight:"normal",itemMarkerFillOpacity:1,itemMarkerSize:8,focusMarkerSize:12,itemSpacing:[a,a,a/2],itemValueFill:t,itemValueFillOpacity:.65,itemValueFontSize:12,itemValueFontWeight:"normal",navButtonFill:t,navButtonFillOpacity:.65,navPageNumFill:t,navPageNumFillOpacity:.45,navPageNumFontSize:12,padding:8,title:!1,titleFill:t,titleFillOpacity:.65,titleFontSize:12,titleFontWeight:"normal",titleSpacing:4,tickStroke:t,tickStrokeOpacity:.25,rowPadding:a,colPadding:o,maxRows:3,maxCols:3},legendContinuous:{handleHeight:12,handleLabelFill:t,handleLabelFillOpacity:u,handleLabelFontSize:12,handleLabelFontWeight:"normal",handleMarkerFill:t,handleMarkerFillOpacity:.6,handleMarkerLineWidth:1,handleMarkerStroke:t,handleMarkerStrokeOpacity:.25,handleWidth:10,labelFill:t,labelFillOpacity:u,labelFontSize:12,labelFontWeight:"normal",labelSpacing:3,tick:!0,tickLength:12,ribbonSize:12,ribbonFill:"#aaa",handle:!0,handleLabel:!1,handleShape:"slider",handleIconSize:12/1.8,indicator:!1,titleFontSize:12,titleSpacing:4,titleFontWeight:"normal",titleFillOpacity:l,tickStroke:t,tickStrokeOpacity:u},label:{fill:t,fillOpacity:.65,fontSize:12,fontWeight:"normal",stroke:void 0,offset:12,connectorStroke:t,connectorStrokeOpacity:.45,connectorLineWidth:1,connectorLength:12,connectorLength2:8,connectorDistance:4},innerLabel:{fill:n,fontSize:12,fillOpacity:.85,fontWeight:"normal",stroke:void 0,offset:0},htmlLabel:{fontSize:12,opacity:.65,color:t,fontWeight:"normal"},slider:{trackSize:16,trackFill:r,trackFillOpacity:1,selectionFill:e,selectionFillOpacity:.15,handleIconSize:10,handleIconFill:"#f7f7f7",handleIconFillOpacity:1,handleIconStroke:t,handleIconStrokeOpacity:.25,handleIconLineWidth:1,handleIconRadius:2,handleLabelFill:t,handleLabelFillOpacity:.45,handleLabelFontSize:12,handleLabelFontWeight:"normal"},scrollbar:{padding:[0,0,0,0],trackSize:6,isRound:!0,slidable:!0,scrollable:!0,trackFill:"#e5e5e5",trackFillOpacity:0,thumbFill:"#000",thumbFillOpacity:.15,thumbHighlightedFillOpacity:.2},title:{spacing:8,titleFill:t,titleFillOpacity:l,titleFontSize:16,titleFontWeight:"bold",titleTextBaseline:"top",subtitleFill:t,subtitleFillOpacity:c,subtitleFontSize:12,subtitleFontWeight:"normal",subtitleTextBaseline:"top"},tooltip:{css:{[(0,iB.Nw)("tooltip")]:{"font-family":"sans-serif"}}}}}let iz=iF({colorBlack:"#1D2129",colorWhite:"#ffffff",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),iU=e=>(0,x.A)({},iz,e);iU.props={};let iH=e=>(0,x.A)({},iU(),{category10:"category10",category20:"category20"},e);iH.props={};let iG=iF({colorBlack:"#fff",colorWhite:"#000",colorStroke:"#416180",colorDefault:"#1783FF",colorBackground:"transparent",category10:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F"],category20:["#1783FF","#00C9C9","#F0884D","#D580FF","#7863FF","#60C42D","#BD8F24","#FF80CA","#2491B3","#17C76F","#AABA01","#BC7CFC","#237CBC","#2DE379","#CE8032","#FF7AF4","#545FD3","#AFE410","#D8C608","#FFA1E0"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.25}),i$=e=>(0,x.A)({},iG,{tooltip:{crosshairsStroke:"#fff",crosshairsLineWidth:1,crosshairsStrokeOpacity:.25,css:{[(0,iB.Nw)("tooltip")]:{background:"#1f1f1f",opacity:.95},[(0,iB.Nw)("tooltip-title")]:{color:"#A6A6A6"},[(0,iB.Nw)("tooltip-list-item-name-label")]:{color:"#A6A6A6"},[(0,iB.Nw)("tooltip-list-item-value")]:{color:"#A6A6A6"}}}},e),iW=e=>Object.assign({},i$(),{category10:"category10",category20:"category20"},e);iW.props={};let iV=iF({colorBlack:"#000",colorWhite:"#fff",colorStroke:"#888",colorDefault:"#4e79a7",colorBackground:"transparent",category10:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],category20:["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"],padding1:8,padding2:12,padding3:20,alpha90:.9,alpha65:.65,alpha45:.45,alpha25:.25,alpha10:.1}),iq=e=>(0,x.A)({},iV,{text:{text:{fontSize:10}},axis:{gridLineDash:[0,0],gridLineWidth:1,gridStroke:"#ddd",gridStrokeOpacity:1,labelOpacity:1,labelStrokeOpacity:1,labelFontSize:10,line:!0,lineLineWidth:1,lineStroke:"#888",lineStrokeOpacity:1,tickLength:5,tickStrokeOpacity:1,titleOpacity:1,titleStrokeOpacity:1,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},axisLeft:{gridFilter:(e,t)=>0!==t},axisRight:{gridFilter:(e,t)=>0!==t},legendCategory:{itemLabelFillOpacity:1,itemLabelFontSize:10,itemValueFillOpacity:1,itemValueFontSize:10,titleFillOpacity:1,titleFontSize:11,titleFontWeight:"bold"},legendContinuous:{handleLabelFontSize:10,labelFillOpacity:.45,labelFontSize:10},label:{fontSize:10},innerLabel:{fontSize:10},htmlLabel:{fontSize:10},slider:{handleLabelFontSize:10,trackFillOpacity:.05}},e);iq.props={};var iY=n(73916);let iZ=e=>(...t)=>{let n=(0,iY.xs)(Object.assign({},{crossPadding:50},e))(...t);return(0,iY.bs)(n,e),n};iZ.props=Object.assign(Object.assign({},iY.xs.props),{defaultPosition:"bottom"});let iX=e=>(...t)=>{let n=(0,iY.xs)(Object.assign({},{crossPadding:10},e))(...t);return(0,iY.bs)(n,e),n};iX.props=Object.assign(Object.assign({},iY.xs.props),{defaultPosition:"left"});var iK=n(30912),iQ=n(10992),iJ=n(59829),i0=n(86016),i1=n(26489),i2=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let i3="legend-category",i5="legend-html-category";function i4(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function i6(e){return e.getElementsByClassName("legend-category-item-label")[0]}function i8(e){return e.getElementsByClassName("legend-category-item-focus-group")[0]}function i7(e){return e.getElementsByClassName("items-item")}function i9(e){return e.getElementsByClassName(i3)}function ae(e){return e.getElementsByClassName("legend-continuous")}function at(e){let t=e.parentNode;for(;t&&!t.__data__;)t=t.parentNode;return t.__data__}function an(e,t){return i2(this,arguments,void 0,function*(e,{legend:t,channel:n,value:r,ordinal:i,channels:a,allChannels:o,facet:s=!1}){let{view:l,update:c,setState:u}=e;u(t,e=>{var c,u;let{marks:d}=e,h=null==(u=null==(c=t.attributes)?void 0:c.scales)?void 0:u.find(e=>e.name===n),p=d.map(t=>{var c,u;if((null!=(c=t.scale[n].key)?c:n)!==(null!=(u=null==h?void 0:h.key)?u:null==h?void 0:h.name)||"legends"===t.type||iB.r3.includes(t.type))return t;let{transform:d=[],data:p=[]}=t,f=d.findIndex(({type:e})=>e.startsWith("group")||e.startsWith("bin")),g=[...d];p.length&&g.splice(f+1,0,{type:"filter",[n]:{value:r,ordinal:i}});let m=Object.fromEntries(a.map(t=>{let n=function(e,t,n){var r;let i=Object.keys(e).find(r=>{if(r.startsWith(n)){let i=e[r].getOptions();return i.name===n&&i.markKey===t}});return null!=(r=e[i])?r:e[n]}(l.scale,e.key,t);return[t,{domain:n.getOptions().domain}]}));return(0,x.A)({},t,Object.assign(Object.assign({transform:g,scale:m},!i&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:p})}),yield c()})}function ar(e,t){for(let n of e)an(n,Object.assign(Object.assign({},t),{facet:!0}))}function ai(){return(e,t,n)=>{let{container:r}=e,i=t.filter(t=>t!==e),a=i.length>0,o=e=>at(e).scales.map(e=>e.name),s=[...i9(r),...r.getElementsByClassName(i5),...ae(r)],l=s.flatMap(o),c=a?(0,i0.A)(ar,50,{trailing:!0}):(0,i0.A)(an,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=at(t).scales[0],d=o(t),h={legend:t,channel:s,channels:d,allChannels:l};return t.className===i3?function(e,{legends:t,marker:n,label:r,datum:i,filter:a,defaultSelect:o,emitter:s,channel:l,state:c={}}){let u=new Map,d=new Map,h=new Map,p=new Map,{unselected:f={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=c,g={unselected:(0,Z.Uq)(f,"marker")},m={unselected:(0,Z.Uq)(f,"label")},{setState:b,removeState:y}=(0,i1.J0)(g,void 0),{setState:v,removeState:E}=(0,i1.J0)(m,void 0),_=Array.from(t(e)),x=_.map(i),A=()=>{for(let e of _){let t=i(e),a=n(e),o=r(e);x.includes(t)?(y(a,"unselected"),E(o,"unselected")):(b(a,"unselected"),v(o,"unselected"))}};for(let t of _){let n=()=>{(0,i1.f9)(e,"pointer")},r=()=>{(0,i1.Fl)(e)},o=e=>i2(this,void 0,void 0,function*(){let n=i(t),r=x.indexOf(n);-1===r?x.push(n):x.splice(r,1),yield a(x),A();let{nativeEvent:o=!0}=e;o&&(x.length===_.length?s.emit("legend:reset",{nativeEvent:o}):s.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:o,data:{channel:l,values:x}})))});t.addEventListener("click",o),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),u.set(t,o),d.set(t,n),h.set(t,r);let c=i8(t);if(c){let e=e=>i2(this,void 0,void 0,function*(){e.stopPropagation();let n=i(t),r=x.indexOf(n),{nativeEvent:o=!0}=e;if(-1!==r&&1===x.length){if(!o)return;x=_.map(i),yield a(x),A(),s.emit("legend:reset",{nativeEvent:o})}else{if(x=[n],yield a(x),A(),!o)return;s.emit("legend:focus",Object.assign(Object.assign({},e),{nativeEvent:o,data:{channel:l,value:n}}))}});c.addEventListener("click",e),p.set(t,e)}}let S=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,value:i}=n;r===l&&(x=[i],yield a(x),A())}),w=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:i}=n;r===l&&(x=i,yield a(x),A())}),O=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(x=_.map(i),yield a(x),A())});return s.on("legend:filter",w),s.on("legend:focus",S),s.on("legend:reset",O),o&&s.emit("legend:filter",{data:{channel:l,values:o}}),()=>{for(let e of _){e.removeEventListener("click",u.get(e)),e.removeEventListener("pointerenter",d.get(e)),e.removeEventListener("pointerout",h.get(e));let t=i8(e);t&&t.removeEventListener("click",p.get(e))}s.off("legend:focus",S),s.off("legend:filter",w),s.off("legend:reset",O)}}(t,{legends:i7,marker:i4,label:i6,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!0});a?c(i,n):c(e,n)},state:t.attributes.state,defaultSelect:t.attributes.defaultSelect,channel:s,emitter:n}):t.className===i5?function(e,{domain:t,filter:n,defaultSelect:r,emitter:i,channel:a}){let o=new Map,s=new Map,l=new Map,c=[...t],u=()=>{var t;let n=null==(t=e.ownerDocument)?void 0:t.defaultView;return n&&n.getContextService().getDomElement().parentElement||document.body},d=()=>{u().querySelectorAll("[legend-value]").forEach(e=>{let n=e.getAttribute("legend-value");if(n&&t.includes(n))c.includes(n)?(e.style.opacity="1",e.classList.remove("legend-item-inactive")):(e.style.opacity="0.4",e.classList.add("legend-item-inactive"))})},h=u().querySelector(".legend-html"),p=e=>i2(this,void 0,void 0,function*(){let r=e.target;for(;r&&!r.hasAttribute("legend-value")&&(r=r.parentElement)!==h;);if(!r||!r.hasAttribute("legend-value"))return;e.preventDefault(),e.stopPropagation();let o=r.getAttribute("legend-value");if(!o)return;let s=c.indexOf(o);-1===s?c.push(o):c.splice(s,1),yield n(c),d(),c.length===t.length?i.emit("legend:reset",{nativeEvent:!0}):i.emit("legend:filter",{nativeEvent:!0,data:{channel:a,values:c}})});h.addEventListener("click",p),o.set(h,p);let f=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:r}=e,{channel:i,value:o}=r;i===a&&(c=[o],yield n(c),d())}),g=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:r}=e,{channel:i,values:o}=r;i===a&&(c=o,yield n(c),d())}),m=e=>i2(this,void 0,void 0,function*(){let{nativeEvent:r}=e;r||(c=[...t],yield n(c),d())});return i.on("legend:filter",g),i.on("legend:focus",f),i.on("legend:reset",m),r&&i.emit("legend:filter",{data:{channel:a,values:r}}),()=>{u().querySelectorAll("[legend-value]").forEach(e=>{let n=e.getAttribute("legend-value");if(!n||!t.includes(n))return;let r=o.get(e),i=s.get(e),a=l.get(e);r&&e.removeEventListener("click",r),i&&e.removeEventListener("pointerenter",i),a&&e.removeEventListener("pointerout",a)}),o.clear(),s.clear(),l.clear(),i.off("legend:filter",g),i.off("legend:focus",f),i.off("legend:reset",m)}}(r,{domain:u,filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!0});a?c(i,n):c(e,n)},defaultSelect:t.attributes.defaultSelect,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:i}){let{attributes:a}=t,o=e=>{let{value:t}=e.detail,o=t.map(e=>{var t,n;let r=null==(t=a.data)?void 0:t.find(t=>t.value===e);return r&&null!=(n=r.domainValue)?n:e});n(o),r.emit({nativeEvent:!0,data:{channel:i,values:o}})};return t.addEventListener("valuechange",o),()=>{t.removeEventListener("valuechange",o)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},h),{value:t,ordinal:!1});a?c(i,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}}var aa=n(83277),ao=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};function as(e,t){let n=(0,aa._K)(e,"shape"),r=(0,aa._K)(e,"color"),i=n?n.clone():null,a=[];for(let[e,n]of t){let t=e.type,o=((null==r?void 0:r.getOptions().domain.length)>0?null==r?void 0:r.getOptions().domain:n.data).map((t,r)=>{var a;return i?i.map(t||"point"):(null==(a=null==e?void 0:e.style)?void 0:a.shape)||n.defaultShape||"point"});"string"==typeof t&&a.push([t,o])}if(0===a.length)return["point",["point"]];if(1===a.length||!n)return a[0];let{range:o}=n.getOptions();return a.map(([e,t])=>{let n=0;for(let e=0;et[0]-e[0])[0][1]}let al=e=>{let{labelFormatter:t,layout:n,order:r,orientation:i,position:a,size:o,title:s,cols:l,itemMarker:c,render:u}=e,d=ao(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker","render"]),{gridRow:h}=d;return t=>{let{value:r,theme:i}=t,{bbox:o}=r,{width:c,height:p}=function(e,t,n){let{position:r}=t;if("center"===r){let{bbox:t}=e,{width:n,height:r}=t;return{width:n,height:r}}let{width:i,height:a}=(0,aa.bM)(e,t,n);return{width:i,height:a}}(r,e,al),f=(0,aa.GA)(a,n),g=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(a)?"vertical":"horizontal",width:c,height:p,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==h&&{gridRow:h}),{titleText:(0,aa.ki)(s)}),function(e,t){let{labelFormatter:n=e=>`${e}`}=e,{scales:r,theme:i}=t,a=function(e,t){let n=(0,aa._K)(e,"size");return n instanceof rI?2*n.map(NaN):t}(r,i.legendCategory.itemMarkerSize),o={itemMarker:function(e,t){let{scales:n,library:r,markState:i}=t,[a,o]=as(n,i),{itemMarker:s,itemMarkerSize:l}=e,c=(e,t)=>{var n,i,o;let s=(null==(o=null==(i=null==(n=r[`mark.${a}`])?void 0:n.props)?void 0:i.shape[e])?void 0:o.props.defaultMarker)||(0,iQ.A)(e.split(".")),c="function"==typeof l?l(t):l;return()=>(0,e9.m9)(s,{color:t.color})(0,0,c)},u=e=>`${o[e]}`;return(0,aa._K)(n,"shape")&&!s?(e,t)=>c(u(t),e):"function"==typeof s?(e,t)=>{let n=s(e.id,t);return"string"==typeof n?c(n,e):n}:(e,t)=>c(s||u(t),e)}(Object.assign(Object.assign({},e),{itemMarkerSize:a}),t),itemMarkerSize:a,itemMarkerOpacity:function(e){let t=(0,aa._K)(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r),itemMarkerLineWidth:function(e,t){let{scales:n,markState:r}=t,[i,a]=as(n,r),{itemMarker:o,itemMarkerLineWidth:s}=e;if(void 0!==s)return s;let l=["line","hyphen","dash","smooth","hv","hvh","vh","vhv"];return"string"==typeof o&&l.includes(o)?4:"function"==typeof o?(e,t)=>{let n=o(e.id,t);if("string"==typeof n&&l.includes(n))return 4}:(Array.isArray(a)?a:[a]).some(e=>l.includes(e))?4:void 0}(e,t)},s="string"==typeof n?(0,iJ.GP)(n):n,l=(0,aa._K)(r,"color"),c=(0,aa.Ow)(r),u=l?e=>l.map(e):()=>t.theme.color;return Object.assign(Object.assign({},o),{data:c.map(e=>({id:e,label:s(e),color:u(e)}))})}(e,t)),{legendCategory:m={}}=i,b=(0,aa.y$)(Object.assign({},m,function(e){return Object.assign(Object.assign({},e),{data:(null==e?void 0:e.data.filter(e=>""!==e.id&&void 0!==e.id))||[]})}(g),d,{classNamePrefix:iB.Wy}));if(u)return new iK.b({className:i5,style:Object.assign(Object.assign({},b),{x:o.x,y:o.y,render:u})});let y=new aa.qX({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:b})});return y.appendChild(new iK.b({className:"legend-category",style:b})),y}};al.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var ac=n(22808);let au=e=>()=>new tj.YJ;au.props={};var ad=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};function ah(e,t,n,r){switch(r){case"center":return{x:e+n/2,y:t,textAlign:"middle"};case"right":return{x:e+n,y:t,textAlign:"right"};default:return{x:e,y:t,textAlign:"left"}}}let ap=(0,aa.a0)({render(e,t){let{width:n,title:r,subtitle:i,spacing:a=2,align:o="left",x:s,y:l}=e,c=ad(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=(0,Z.Uq)(c,"title"),d=(0,Z.Uq)(c,"subtitle"),h=(0,aa.hN)(t,".title","text").attr("className","title").call(H.AV,Object.assign(Object.assign(Object.assign({},ah(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node().getLocalBounds();(0,aa.hN)(t,".sub-title","text").attr("className","sub-title").call(e=>{if(!i)return e.node().remove();e.node().attr(Object.assign(Object.assign(Object.assign({},ah(0,h.max[1]+a,n,o)),{fontSize:12,textBaseline:"top",text:i}),d))})}}),af=e=>({value:t,theme:n})=>{let{x:r,y:i,width:a,height:o}=t.bbox;return new ap({style:(0,x.A)({},n.title,Object.assign({x:r,y:i,width:a,height:o},e))})};af.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var ag=n(81256),am=n(50636),ab=n(84059),ay=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 av=e=>{let{orientation:t,labelFormatter:n,size:r,style:i={},position:a}=e,o=ay(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:d}=r,{bbox:h}=c,{width:p,height:f}=h,{slider:g={}}=u,m=(null==(s=l.getFormatter)?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,iJ.GP)(n):n,y="horizontal"===t,v=(0,z.kH)(d)&&y,{trackSize:E=g.trackSize}=i,[_,x]=function(e,t,n){let{x:r,y:i,width:a,height:o}=e;return"left"===t?[r+a-n,i]:"right"===t||"bottom"===t?[r,i]:"top"===t?[r,i+o-n]:void 0}(h,a,E);return new ag.A({className:"slider",style:Object.assign({},g,Object.assign(Object.assign({x:_,y:x,trackLength:y?p:f,orientation:t,formatter:e=>(b||m)((0,ab.B8)(l,v?1-e:e,!0)),sparklineData:function(e,t){let{markState:n}=t;if((0,am.A)(e.sparklineData))return e.sparklineData;var r=["y","series"];let[i]=Array.from(n.entries()).filter(([e])=>"line"===e.type||"area"===e.type||"interval"===e.type).filter(([e])=>e.slider).map(([e])=>{let{encode:t,slider:n}=e;if(null==n?void 0:n.x)return Object.fromEntries(r.map(e=>{let n=t[e];return[e,n?n.value:void 0]}))});return(null==i?void 0:i.series)?Object.values(i.series.reduce((e,t,n)=>(e[t]=e[t]||[],e[t].push(i.y[n]),e),{})):null==i?void 0:i.y}(e,r)},i),o))})}};av.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let aE=e=>av(Object.assign(Object.assign({},e),{orientation:"horizontal"}));aE.props=Object.assign(Object.assign({},av.props),{defaultPosition:"bottom"});let a_=e=>av(Object.assign(Object.assign({},e),{orientation:"vertical"}));a_.props=Object.assign(Object.assign({},av.props),{defaultPosition:"left"});var ax=n(39249),aA=n(31563),aS=n(73534),aw=n(8798),aT=n(87287),aO=n(68058),aC=n(96816),ak=function(e){function t(t){var n=e.call(this,t,{x:0,y:0,isRound:!0,orientation:"vertical",padding:[2,2,2,2],scrollable:!0,slidable:!0,thumbCursor:"default",trackSize:10,value:0})||this;return n.range=[0,1],n.onValueChange=function(e){var t=n.attributes.value;if(e!==t){var r={detail:{oldValue:e,value:t}};n.dispatchEvent(new tj.up("scroll",r)),n.dispatchEvent(new tj.up("valuechange",r))}},n.onTrackClick=function(e){if(n.attributes.slidable){var t=(0,ax.zs)(n.getLocalPosition(),2),r=t[0],i=t[1],a=(0,ax.zs)(n.padding,4),o=a[0],s=a[3],l=n.getOrientVal([r+s,i+o]),c=(n.getOrientVal((0,aw.n)(e))-l)/n.trackLength;n.setValue(c,!0)}},n.onThumbMouseenter=function(e){n.dispatchEvent(new tj.up("thumbMouseenter",{detail:e.detail}))},n.onTrackMouseenter=function(e){n.dispatchEvent(new tj.up("trackMouseenter",{detail:e.detail}))},n.onThumbMouseleave=function(e){n.dispatchEvent(new tj.up("thumbMouseleave",{detail:e.detail}))},n.onTrackMouseleave=function(e){n.dispatchEvent(new tj.up("trackMouseleave",{detail:e.detail}))},n}return(0,ax.C6)(t,e),Object.defineProperty(t.prototype,"padding",{get:function(){var e=this.attributes.padding;return(0,aT.i)(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){var e=this.attributes.value,t=(0,ax.zs)(this.range,2),n=t[0],r=t[1];return(0,aA.A)(e,n,r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackLength",{get:function(){var e=this.attributes,t=e.viewportLength,n=e.trackLength;return void 0===n?t:n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableSpace",{get:function(){var e=this.attributes.trackSize,t=this.trackLength,n=(0,ax.zs)(this.padding,4),r=n[0],i=n[1],a=n[2],o=n[3],s=(0,ax.zs)(this.getOrientVal([[t,e],[e,t]]),2);return{x:o,y:r,width:s[0]-(o+i),height:s[1]-(r+a)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trackRadius",{get:function(){var e=this.attributes,t=e.isRound,n=e.trackSize;return t?n/2:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"thumbRadius",{get:function(){var e=this.attributes,t=e.isRound,n=e.thumbRadius;if(!t)return 0;var r=this.availableSpace,i=r.width,a=r.height;return n||this.getOrientVal([a,i])/2},enumerable:!1,configurable:!0}),t.prototype.getValues=function(e){void 0===e&&(e=this.value);var t=this.attributes,n=t.viewportLength/t.contentLength,r=(0,ax.zs)(this.range,2),i=r[0],a=e*(r[1]-i-n);return[a,a+n]},t.prototype.getValue=function(){return this.value},t.prototype.renderSlider=function(e){var t=this.attributes,n=t.x,r=t.y,i=t.orientation,a=t.trackSize,o=t.padding,s=t.slidable,l=(0,aO.iA)(this.attributes,"track"),c=(0,aO.iA)(this.attributes,"thumb"),u=(0,ax.Cl)((0,ax.Cl)({x:n,y:r,brushable:!1,orientation:i,padding:o,selectionRadius:this.thumbRadius,showHandle:!1,slidable:s,trackLength:this.trackLength,trackRadius:this.trackRadius,trackSize:a,values:this.getValues()},(0,aO.dQ)(l,"track")),(0,aO.dQ)(c,"selection"));this.slider=(0,aC.Lt)(e).maybeAppendByClassName("scrollbar",function(){return new ag.A({style:u})}).update(u).node()},t.prototype.render=function(e,t){this.renderSlider(t)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.attributes.value,r=(0,ax.zs)(this.range,2),i=r[0],a=r[1];this.slider.setValues(this.getValues((0,aA.A)(e,i,a)),t),this.onValueChange(n)},t.prototype.bindEvents=function(){var e=this;this.slider.addEventListener("trackClick",function(t){t.stopPropagation(),e.onTrackClick(t.detail)}),this.onHover()},t.prototype.getOrientVal=function(e){return"horizontal"===this.attributes.orientation?e[0]:e[1]},t.prototype.onHover=function(){this.slider.addEventListener("selectionMouseenter",this.onThumbMouseenter),this.slider.addEventListener("trackMouseenter",this.onTrackMouseenter),this.slider.addEventListener("selectionMouseleave",this.onThumbMouseleave),this.slider.addEventListener("trackMouseleave",this.onTrackMouseleave)},t.tag="scrollbar",t}(aS.u),aM=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 aL=e=>{let{orientation:t,labelFormatter:n,style:r}=e,i=aM(e,["orientation","labelFormatter","style"]);return({scales:[e],value:n,theme:a})=>{let{bbox:o}=n,{x:s,y:l,width:c,height:u}=o,{scrollbar:d={}}=a,{ratio:h,range:p}=e.getOptions(),f="horizontal"===t?c:u,g=f/h,[m,b]=p;return new ak({className:`${iB.Wy}scrollbar`,style:Object.assign({},d,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:f,value:b>m?0:1}),i),{orientation:t,contentLength:g,viewportLength:f}))})}};aL.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let aI=e=>aL(Object.assign(Object.assign({},e),{orientation:"horizontal"}));aI.props=Object.assign(Object.assign({},aL.props),{defaultPosition:"bottom"});let aN=e=>aL(Object.assign(Object.assign({},e),{orientation:"vertical"}));aN.props=Object.assign(Object.assign({},aL.props),{defaultPosition:"left"});let aR=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],h=[{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.01},{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aP=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],h=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aD=(e,t)=>{let{coordinate:n}=t;return tj.Ks.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:tj.NZ.NUMBER}),(t,r,i)=>{let[a]=t;return(0,z.pz)(n)?(t=>{let{__data__:r,style:a}=t,{fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a,{points:c,y:u,y1:d}=r,{innerRadius:h,outerRadius:p}=(0,H.Iq)(n,c,[u,d]);return t.animate([{scaleInYRadius:h+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:h+1e-4,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{scaleInYRadius:p,fillOpacity:o,strokeOpacity:s,opacity:l}],Object.assign(Object.assign({},i),e))})(a):(t=>{let{style:r}=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=(0,z.kH)(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${a} ${u}`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} ${u}`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${a} scale(1, 1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}];return t.animate(d,Object.assign(Object.assign({},i),e))})(a)}},aj=(e,t)=>{let{coordinate:n}=t;return(t,r,i)=>{let[a]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=a.style,[u,d]=(0,z.kH)(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],h=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}];return a.animate(h,Object.assign(Object.assign({},i),e))}},aB=(e,t)=>{tj.Ks.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:tj.NZ.NUMBER});let{coordinate:n}=t;return(r,i,a)=>{let[o]=r;if(!(0,z.pz)(n))return aR(e,t)(r,i,a);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:d=1,strokeOpacity:h=1,opacity:p=1}=l,{points:f,y:g,y1:m}=s,b=(0,nM.A)().cornerRadius(c).padAngle(u*Math.PI/180),y=(0,H.Iq)(n,f,[g,m]),{startAngle:v,endAngle:E}=y,_=o.animate([{waveInArcAngle:v+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:v+1e-4,fillOpacity:d,strokeOpacity:h,opacity:p,offset:.01},{waveInArcAngle:E,fillOpacity:d,strokeOpacity:h,opacity:p}],Object.assign(Object.assign({},a),e));return _.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},_.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:E}))},_}};aB.props={};let aF=e=>(t,n,r)=>{let[i]=t,{fillOpacity:a=1,strokeOpacity:o=1,opacity:s=1}=i.style;return i.animate([{fillOpacity:0,strokeOpacity:0,opacity:0},{fillOpacity:a,strokeOpacity:o,opacity:s}],Object.assign(Object.assign({},r),e))};aF.props={};let az=e=>(t,n,r)=>{let[i]=t,{fillOpacity:a=1,strokeOpacity:o=1,opacity:s=1}=i.style;return i.animate([{fillOpacity:a,strokeOpacity:o,opacity:s},{fillOpacity:0,strokeOpacity:0,opacity:0}],Object.assign(Object.assign({},r),e))};az.props={};let aU=e=>(t,n,r)=>{let[i]=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=i.style,c="center center",u=[{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${a} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}];return i.animate(u,Object.assign(Object.assign({},r),e))},aH=e=>(t,n,r)=>{let[i]=t,{transform:a="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=i.style,c="center center",u=[{transform:`${a} scale(1)`.trimStart(),transformOrigin:c},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${a} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}];return i.animate(u,Object.assign(Object.assign({},r),e))},aG=e=>(t,n,r)=>{var i;let[a]=t,o=(null==(i=a.getTotalLength)?void 0:i.call(a))||0;return a.animate([{lineDash:[0,o]},{lineDash:[o,0]}],Object.assign(Object.assign({},r),e))};aG.props={};var a$=n(63880),aW=n(9681);let aV={opacity:1,strokeOpacity:1,fillOpacity:1,lineWidth:0,x:0,y:0,cx:0,cy:0,r:0,rx:0,ry:0,width:0,height:0},aq={[tj.yp.CIRCLE]:["cx","cy","r"],[tj.yp.ELLIPSE]:["cx","cy","rx","ry"],[tj.yp.RECT]:["x","y","width","height"],[tj.yp.IMAGE]:["x","y","width","height"],[tj.yp.LINE]:["x1","y1","x2","y2"],[tj.yp.POLYLINE]:["points"],[tj.yp.POLYGON]:["points"]};function aY(e,t,n=!1){let r={};for(let i of t){let t=e.style[i];t?r[i]=t:n&&(r[i]=aV[i])}return r}let aZ=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function aX(e){let{min:t,max:n}=e.getLocalBounds(),[r,i]=t,[a,o]=n;return[r,i,a-r,o-i]}function aK(e,t){let[n,r,i,a]=aX(e),o=Math.ceil(Math.sqrt(t/(a/i))),s=[],l=a/Math.ceil(t/o),c=0,u=t;for(;u>0;){let e=Math.min(u,o),t=i/e;for(let i=0;i{n.d(t,{A:()=>r});var a=n(12115);let r=function(e){return null==e?null:"object"!=typeof e||(0,a.isValidElement)(e)?{title:e}:e}},95388:(e,t,n)=>{n.d(t,{A:()=>ev});var a=n(63568),r=n(85757),o=n(12115),l=n(29300),c=n.n(l),i=n(82870),s=n(93666),u=n(68151);function m(e){let[t,n]=o.useState(e);return o.useEffect(()=>{let t=setTimeout(()=>{n(e)},10*!e.length);return()=>{clearTimeout(t)}},[e]),t}var d=n(99841),p=n(18184),f=n(47212),g=n(35376),b=n(61388),h=n(45431);let y=(e,t)=>{let{formItemCls:n}=e;return{[n]:{["".concat(n,"-label > label")]:{height:t},["".concat(n,"-control-input")]:{minHeight:t}}}},v=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),x=(e,t)=>(0,b.oX)(e,{formItemCls:"".concat(e.componentCls,"-item"),rootPrefixCls:t}),O=(0,h.OF)("Form",(e,t)=>{let{rootPrefixCls:n}=t,a=x(e,n);return[(e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,p.dF)(e)),(e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:"".concat((0,d.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},'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,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:"0 0 0 ".concat((0,d.zA)(e.controlOutlineWidth)," ").concat(e.controlOutline)},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}))(e)),{["".concat(t,"-text")]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},y(e,e.controlHeightSM)),"&-large":Object.assign({},y(e,e.controlHeightLG))})}})(a),(e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:a,antCls:r,labelRequiredMarkColor:o,labelColor:l,labelFontSize:c,labelHeight:i,labelColonMarginInlineStart:s,labelColonMarginInlineEnd:u,itemMarginBottom:m}=e;return{[t]:Object.assign(Object.assign({},(0,p.dF)(e)),{marginBottom:m,verticalAlign:"top","&-with-help":{transition:"none"},["&-hidden,\n &-hidden".concat(r,"-row")]:{display:"none"},"&-has-warning":{["".concat(t,"-split")]:{color:e.colorError}},"&-has-error":{["".concat(t,"-split")]:{color:e.colorWarning}},["".concat(t,"-label")]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:i,color:l,fontSize:c,["> ".concat(n)]:{fontSize:e.fontSize,verticalAlign:"top"},["&".concat(t,"-required")]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},["&".concat(t,"-required-mark-hidden, &").concat(t,"-required-mark-optional")]:{"&::before":{display:"none"}}},["".concat(t,"-optional")]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,["&".concat(t,"-required-mark-hidden")]:{display:"none"}},["".concat(t,"-tooltip")]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:s,marginInlineEnd:u},["&".concat(t,"-no-colon::after")]:{content:'"\\a0"'}}},["".concat(t,"-control")]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,["&:first-child:not([class^=\"'".concat(a,"-col-'\"]):not([class*=\"' ").concat(a,"-col-'\"])")]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%",["&:has(> ".concat(r,"-switch:only-child, > ").concat(r,"-rate:only-child)")]:{display:"flex",alignItems:"center"}}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:"color ".concat(e.motionDurationMid," ").concat(e.motionEaseOut)},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},["&-with-help ".concat(t,"-explain")]:{height:"auto",opacity:1},["".concat(t,"-feedback-icon")]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:f.nF,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}})(a),(e=>{let{componentCls:t}=e,n="".concat(t,"-show-help"),a="".concat(t,"-show-help-item");return{[n]:{transition:"opacity ".concat(e.motionDurationFast," ").concat(e.motionEaseInOut),"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:"hidden",transition:"height ".concat(e.motionDurationFast," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationFast," ").concat(e.motionEaseInOut,",\n transform ").concat(e.motionDurationFast," ").concat(e.motionEaseInOut," !important"),["&".concat(a,"-appear, &").concat(a,"-enter")]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},["&".concat(a,"-leave-active")]:{transform:"translateY(-5px)"}}}}})(a),(e=>{let{antCls:t,formItemCls:n}=e;return{["".concat(n,"-horizontal")]:{["".concat(n,"-label")]:{flexGrow:0},["".concat(n,"-control")]:{flex:"1 1 0",minWidth:0},["".concat(n,"-label[class$='-24'], ").concat(n,"-label[class*='-24 ']")]:{["& + ".concat(n,"-control")]:{minWidth:"unset"}},["".concat(t,"-col-24").concat(n,"-label,\n ").concat(t,"-col-xl-24").concat(n,"-label")]:v(e)}}})(a),(e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:a}=e;return{["".concat(t,"-inline")]:{display:"flex",flexWrap:"wrap",["".concat(n,"-inline")]:{flex:"none",marginInlineEnd:e.margin,marginBottom:a,"&-row":{flexWrap:"nowrap"},["> ".concat(n,"-label,\n > ").concat(n,"-control")]:{display:"inline-block",verticalAlign:"top"},["> ".concat(n,"-label")]:{flex:"none"},["".concat(t,"-text")]:{display:"inline-block"},["".concat(n,"-has-feedback")]:{display:"inline-block"}}}}})(a),(e=>{let{componentCls:t,formItemCls:n,antCls:a}=e;return{["".concat(n,"-vertical")]:{["".concat(n,"-row")]:{flexDirection:"column"},["".concat(n,"-label > label")]:{height:"auto"},["".concat(n,"-control")]:{width:"100%"},["".concat(n,"-label,\n ").concat(a,"-col-24").concat(n,"-label,\n ").concat(a,"-col-xl-24").concat(n,"-label")]:v(e)},["@media (max-width: ".concat((0,d.zA)(e.screenXSMax),")")]:[(e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:a}=e;return{["".concat(n," ").concat(n,"-label")]:v(e),["".concat(t,":not(").concat(t,"-inline)")]:{[n]:{flexWrap:"wrap",["".concat(n,"-label, ").concat(n,"-control")]:{['&:not([class*=" '.concat(a,'-col-xs"])')]:{flex:"0 0 100%",maxWidth:"100%"}}}}}})(e),{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-xs-24").concat(n,"-label")]:v(e)}}}],["@media (max-width: ".concat((0,d.zA)(e.screenSMMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-sm-24").concat(n,"-label")]:v(e)}}},["@media (max-width: ".concat((0,d.zA)(e.screenMDMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-md-24").concat(n,"-label")]:v(e)}}},["@media (max-width: ".concat((0,d.zA)(e.screenLGMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-lg-24").concat(n,"-label")]:v(e)}}}}})(a),(0,g.A)(a),f.nF]},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 ".concat(e.paddingXS,"px"),verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3}),w=[];function E(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:"".concat(t,"-").concat(a),error:e,errorStatus:n}}let j=e=>{let{help:t,helpStatus:n,errors:l=w,warnings:d=w,className:p,fieldId:f,onVisibleChanged:g}=e,{prefixCls:b}=o.useContext(a.hb),h="".concat(b,"-item-explain"),y=(0,u.A)(b),[v,x,j]=O(b,y),A=o.useMemo(()=>(0,s.A)(b),[b]),S=m(l),C=m(d),k=o.useMemo(()=>null!=t?[E(t,"help",n)]:[].concat((0,r.A)(S.map((e,t)=>E(e,"error","error",t))),(0,r.A)(C.map((e,t)=>E(e,"warning","warning",t)))),[t,n,S,C]),F=o.useMemo(()=>{let e={};return k.forEach(t=>{let{key:n}=t;e[n]=(e[n]||0)+1}),k.map((t,n)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?"".concat(t.key,"-fallback-").concat(n):t.key}))},[k]),I={};return f&&(I.id="".concat(f,"_help")),v(o.createElement(i.Ay,{motionDeadline:A.motionDeadline,motionName:"".concat(b,"-show-help"),visible:!!F.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return o.createElement("div",Object.assign({},I,{className:c()(h,t,j,y,p,x),style:n}),o.createElement(i.aF,Object.assign({keys:F},(0,s.A)(b),{motionName:"".concat(b,"-show-help-item"),component:!1}),e=>{let{key:t,error:n,errorStatus:a,className:r,style:l}=e;return o.createElement("div",{key:t,className:c()(r,{["".concat(h,"-").concat(a)]:a}),style:l},n)}))}))};var A=n(74251),S=n(15982),C=n(44494),k=n(9836),F=n(39985),I=n(96316),M=n(61958),P=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 N=o.forwardRef((e,t)=>{let n=o.useContext(C.A),{getPrefixCls:r,direction:l,requiredMark:i,colon:s,scrollToFirstError:m,className:d,style:p}=(0,S.TP)("form"),{prefixCls:f,className:g,rootClassName:b,size:h,disabled:y=n,form:v,colon:x,labelAlign:w,labelWrap:E,labelCol:j,wrapperCol:N,hideRequiredMark:z,layout:q="horizontal",scrollToFirstError:H,requiredMark:W,onFinishFailed:D,name:R,style:T,feedbackIcons:_,variant:B}=e,L=P(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),X=(0,k.A)(h),K=o.useContext(M.A),V=o.useMemo(()=>void 0!==W?W:!z&&(void 0===i||i),[z,W,i]),$=null!=x?x:s,G=r("form",f),J=(0,u.A)(G),[Y,Q,U]=O(G,J),Z=c()(G,"".concat(G,"-").concat(q),{["".concat(G,"-hide-required-mark")]:!1===V,["".concat(G,"-rtl")]:"rtl"===l,["".concat(G,"-").concat(X)]:X},U,J,Q,d,g,b),[ee]=(0,I.A)(v),{__INTERNAL__:et}=ee;et.name=R;let en=o.useMemo(()=>({name:R,labelAlign:w,labelCol:j,labelWrap:E,wrapperCol:N,layout:q,colon:$,requiredMark:V,itemRef:et.itemRef,form:ee,feedbackIcons:_}),[R,w,j,N,q,$,V,ee,_]),ea=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},ee),{nativeElement:null==(e=ea.current)?void 0:e.nativeElement})});let er=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=Object.assign(Object.assign({},n),e)),ee.scrollToField(t,n)}};return Y(o.createElement(a.Pp.Provider,{value:B},o.createElement(C.X,{disabled:y},o.createElement(F.A.Provider,{value:X},o.createElement(a.Op,{validateMessages:K},o.createElement(a.cK.Provider,{value:en},o.createElement(a.XB,{status:!0},o.createElement(A.Ay,Object.assign({id:R},L,{name:R,onFinishFailed:e=>{if(null==D||D(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==H)return void er(H,t);void 0!==m&&er(m,t)}},form:ee,ref:ea,style:Object.assign(Object.assign({},p),T),className:Z})))))))))});var z=n(28248),q=n(74686),H=n(80163),W=n(26791),D=n(63715);let R=()=>{let{status:e,errors:t=[],warnings:n=[]}=o.useContext(a.$W);return{status:e,errors:t,warnings:n}};R.Context=a.$W;var T=n(16962),_=n(33425),B=n(53930),L=n(49172),X=n(17980),K=n(90510),V=n(11719),$=n(62623);let G=(0,h.bf)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;return(e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{["".concat(t,"-control")]:{display:"flex"}}}})(x(e,n))});var J=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 Y=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:l,children:i,errors:s,warnings:u,_internalItemRender:m,extra:d,help:p,fieldId:f,marginBottom:g,onErrorVisibleChanged:b,label:h}=e,y="".concat(t,"-item"),v=o.useContext(a.cK),x=o.useMemo(()=>{let e=Object.assign({},l||v.wrapperCol||{});return null!==h||r||l||!v.labelCol||[void 0,"xs","sm","md","lg","xl","xxl"].forEach(t=>{let n=t?[t]:[],a=(0,V.Jt)(v.labelCol,n),r="object"==typeof a?a:{},o=(0,V.Jt)(e,n);"span"in r&&!("offset"in("object"==typeof o?o:{}))&&r.span<24&&(e=(0,V.hZ)(e,[].concat(n,["offset"]),r.span))}),e},[l,v.wrapperCol,v.labelCol,h,r]),O=c()("".concat(y,"-control"),x.className),w=o.useMemo(()=>{let{labelCol:e,wrapperCol:t}=v;return J(v,["labelCol","wrapperCol"])},[v]),E=o.useRef(null),[A,S]=o.useState(0);(0,L.A)(()=>{d&&E.current?S(E.current.clientHeight):S(0)},[d]);let C=o.createElement("div",{className:"".concat(y,"-control-input")},o.createElement("div",{className:"".concat(y,"-control-input-content")},i)),k=o.useMemo(()=>({prefixCls:t,status:n}),[t,n]),F=null!==g||s.length||u.length?o.createElement(a.hb.Provider,{value:k},o.createElement(j,{fieldId:f,errors:s,warnings:u,help:p,helpStatus:n,className:"".concat(y,"-explain-connected"),onVisibleChanged:b})):null,I={};f&&(I.id="".concat(f,"_extra"));let M=d?o.createElement("div",Object.assign({},I,{className:"".concat(y,"-extra"),ref:E}),d):null,P=F||M?o.createElement("div",{className:"".concat(y,"-additional"),style:g?{minHeight:g+A}:{}},F,M):null,N=m&&"pro_table_render"===m.mark&&m.render?m.render(e,{input:C,errorList:F,extra:M}):o.createElement(o.Fragment,null,C,P);return o.createElement(a.cK.Provider,{value:w},o.createElement($.A,Object.assign({},x,{className:O}),N),o.createElement(G,{prefixCls:t}))};var Q=n(79630),U=n(66454),Z=n(35030),ee=o.forwardRef(function(e,t){return o.createElement(Z.A,(0,Q.A)({},e,{ref:t,icon:U.A}))}),et=n(15281),en=n(8530),ea=n(16025),er=n(97540),eo=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 el=e=>{var t;let n,{prefixCls:r,label:l,htmlFor:i,labelCol:s,labelAlign:u,colon:m,required:d,requiredMark:p,tooltip:f,vertical:g}=e,[b]=(0,en.A)("Form"),{labelAlign:h,labelCol:y,labelWrap:v,colon:x}=o.useContext(a.cK);if(!l)return null;let O=s||y||{},w="".concat(r,"-item-label"),E=c()(w,"left"===(u||h)&&"".concat(w,"-left"),O.className,{["".concat(w,"-wrap")]:!!v}),j=l,A=!0===m||!1!==x&&!1!==m;A&&!g&&"string"==typeof l&&l.trim()&&(j=l.replace(/[:|:]\s*$/,""));let S=(0,et.A)(f);if(S){let{icon:e=o.createElement(ee,null)}=S,t=eo(S,["icon"]),n=o.createElement(er.A,Object.assign({},t),o.cloneElement(e,{className:"".concat(r,"-item-tooltip"),title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));j=o.createElement(o.Fragment,null,j,n)}let C="optional"===p,k="function"==typeof p;k?j=p(j,{required:!!d}):C&&!d&&(j=o.createElement(o.Fragment,null,j,o.createElement("span",{className:"".concat(r,"-item-optional"),title:""},(null==b?void 0:b.optional)||(null==(t=ea.A.Form)?void 0:t.optional)))),!1===p?n="hidden":(C||k)&&(n="optional");let F=c()({["".concat(r,"-item-required")]:d,["".concat(r,"-item-required-mark-").concat(n)]:n,["".concat(r,"-item-no-colon")]:!A});return o.createElement($.A,Object.assign({},O,{className:E}),o.createElement("label",{htmlFor:i,className:F,title:"string"==typeof l?l:""},j))};var ec=n(84630),ei=n(51754),es=n(63583),eu=n(51280);let em={success:ec.A,warning:es.A,error:ei.A,validating:eu.A};function ed(e){let{children:t,errors:n,warnings:r,hasFeedback:l,validateStatus:i,prefixCls:s,meta:u,noStyle:m,name:d}=e,p="".concat(s,"-item"),{feedbackIcons:f}=o.useContext(a.cK),g=(0,_.BS)(n,r,u,null,!!l,i),{isFormItemInput:b,status:h,hasFeedback:y,feedbackIcon:v,name:x}=o.useContext(a.$W),O=o.useMemo(()=>{var e;let t;if(l){let a=!0!==l&&l.icons||f,i=g&&(null==(e=null==a?void 0:a({status:g,errors:n,warnings:r}))?void 0:e[g]),s=g?em[g]:null;t=!1!==i&&s?o.createElement("span",{className:c()("".concat(p,"-feedback-icon"),"".concat(p,"-feedback-icon-").concat(g))},i||o.createElement(s,null)):null}let a={status:g||"",errors:n,warnings:r,hasFeedback:!!l,feedbackIcon:t,isFormItemInput:!0,name:d};return m&&(a.status=(null!=g?g:h)||"",a.isFormItemInput=b,a.hasFeedback=!!(null!=l?l:y),a.feedbackIcon=void 0!==l?a.feedbackIcon:v,a.name=null!=d?d:x),a},[g,l,m,b,h]);return o.createElement(a.$W.Provider,{value:O},t)}var ep=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};function ef(e){let{prefixCls:t,className:n,rootClassName:r,style:l,help:i,errors:s,warnings:u,validateStatus:d,meta:p,hasFeedback:f,hidden:g,children:b,fieldId:h,required:y,isRequired:v,onSubItemMetaChange:x,layout:O,name:w}=e,E=ep(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout","name"]),j="".concat(t,"-item"),{requiredMark:A,layout:S}=o.useContext(a.cK),C=O||S,k="vertical"===C,F=o.useRef(null),I=m(s),M=m(u),P=null!=i,N=!!(P||s.length||u.length),z=!!F.current&&(0,B.A)(F.current),[q,H]=o.useState(null);(0,L.A)(()=>{N&&F.current&&H(Number.parseInt(getComputedStyle(F.current).marginBottom,10))},[N,z]);let W=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?I:p.errors,n=e?M:p.warnings;return(0,_.BS)(t,n,p,"",!!f,d)}(),D=c()(j,n,r,{["".concat(j,"-with-help")]:P||I.length||M.length,["".concat(j,"-has-feedback")]:W&&f,["".concat(j,"-has-success")]:"success"===W,["".concat(j,"-has-warning")]:"warning"===W,["".concat(j,"-has-error")]:"error"===W,["".concat(j,"-is-validating")]:"validating"===W,["".concat(j,"-hidden")]:g,["".concat(j,"-").concat(C)]:C});return o.createElement("div",{className:D,style:l,ref:F},o.createElement(K.A,Object.assign({className:"".concat(j,"-row")},(0,X.A)(E,["_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"])),o.createElement(el,Object.assign({htmlFor:h},e,{requiredMark:A,required:null!=y?y:v,prefixCls:t,vertical:k})),o.createElement(Y,Object.assign({},e,p,{errors:I,warnings:M,prefixCls:t,status:W,help:i,marginBottom:q,onErrorVisibleChanged:e=>{e||H(null)}}),o.createElement(a.jC.Provider,{value:x},o.createElement(ed,{prefixCls:t,meta:p,errors:p.errors,warnings:p.warnings,hasFeedback:f,validateStatus:W,name:w},b)))),!!q&&o.createElement("div",{className:"".concat(j,"-margin-offset"),style:{marginBottom:-q}}))}let eg=o.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every(n=>{let a=e[n],r=t[n];return a===r||"function"==typeof a||"function"==typeof r})})(e.control,t.control)&&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 eh=function(e){let{name:t,noStyle:n,className:l,dependencies:i,prefixCls:s,shouldUpdate:m,rules:d,children:p,required:f,label:g,messageVariables:b,trigger:h="onChange",validateTrigger:y,hidden:v,help:x,layout:w}=e,{getPrefixCls:E}=o.useContext(S.QO),{name:j}=o.useContext(a.cK),C=function(e){if("function"==typeof e)return e;let t=(0,D.A)(e);return t.length<=1?t[0]:t}(p),k="function"==typeof C,F=o.useContext(a.jC),{validateTrigger:I}=o.useContext(A._z),M=void 0!==y?y:I,P=null!=t,N=E("form",s),R=(0,u.A)(N),[B,L,X]=O(N,R);(0,W.rJ)("Form.Item");let K=o.useContext(A.EF),V=o.useRef(null),[$,G]=function(e){let[t,n]=o.useState(e),a=o.useRef(null),r=o.useRef([]),l=o.useRef(!1);return o.useEffect(()=>(l.current=!1,()=>{l.current=!0,T.A.cancel(a.current),a.current=null}),[]),[t,function(e){l.current||(null===a.current&&(r.current=[],a.current=(0,T.A)(()=>{a.current=null,n(e=>{let t=e;return r.current.forEach(e=>{t=e(t)}),t})})),r.current.push(e))}]}({}),[J,Y]=(0,z.A)(()=>eb()),Q=(e,t)=>{G(n=>{let a=Object.assign({},n),o=[].concat((0,r.A)(e.name.slice(0,-1)),(0,r.A)(t)).join("__SPLIT__");return e.destroy?delete a[o]:a[o]=e,a})},[U,Z]=o.useMemo(()=>{let e=(0,r.A)(J.errors),t=(0,r.A)(J.warnings);return Object.values($).forEach(n=>{e.push.apply(e,(0,r.A)(n.errors||[])),t.push.apply(t,(0,r.A)(n.warnings||[]))}),[e,t]},[$,J.errors,J.warnings]),ee=function(){let{itemRef:e}=o.useContext(a.cK),t=o.useRef({});return function(n,a){let r=a&&"object"==typeof a&&(0,q.A9)(a),o=n.join("_");return(t.current.name!==o||t.current.originRef!==r)&&(t.current.name=o,t.current.originRef=r,t.current.ref=(0,q.K4)(e(n),r)),t.current.ref}}();function et(a,r,i){return n&&!v?o.createElement(ed,{prefixCls:N,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:J,errors:U,warnings:Z,noStyle:!0,name:t},a):o.createElement(ef,Object.assign({key:"row"},e,{className:c()(l,X,R,L),prefixCls:N,fieldId:r,isRequired:i,errors:U,warnings:Z,meta:J,onSubItemMetaChange:Q,layout:w,name:t}),a)}if(!P&&!k&&!i)return B(et(C));let en={};return"string"==typeof g?en.label=g:t&&(en.label=String(t)),b&&(en=Object.assign(Object.assign({},en),b)),B(o.createElement(A.D0,Object.assign({},e,{messageVariables:en,trigger:h,validateTrigger:M,onMetaChange:e=>{let t=null==K?void 0:K.getKey(e.name);if(Y(e.destroy?eb():e,!0),n&&!1!==x&&F){let n=e.name;if(e.destroy)n=V.current||n;else if(void 0!==t){let[e,a]=t;V.current=n=[e].concat((0,r.A)(a))}F(e,n)}}}),(n,a,l)=>{let c=(0,_.$r)(t).length&&a?a.name:[],s=(0,_.kV)(c,j),u=void 0!==f?f:!!(null==d?void 0:d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(l);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),p=Object.assign({},n),g=null;if(Array.isArray(C)&&P)g=C;else if(k&&(!(m||i)||P));else if(!i||k||P)if(o.isValidElement(C)){let t=Object.assign(Object.assign({},C.props),p);if(t.id||(t.id=s),x||U.length>0||Z.length>0||e.extra){let n=[];(x||U.length>0)&&n.push("".concat(s,"_help")),e.extra&&n.push("".concat(s,"_extra")),t["aria-describedby"]=n.join(" ")}U.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,q.f3)(C)&&(t.ref=ee(c,C)),new Set([].concat((0,r.A)((0,_.$r)(h)),(0,r.A)((0,_.$r)(M)))).forEach(e=>{t[e]=function(){for(var t,n,a,r=arguments.length,o=Array(r),l=0;lt.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};N.Item=eh,N.List=e=>{var{prefixCls:t,children:n}=e,r=ey(e,["prefixCls","children"]);let{getPrefixCls:l}=o.useContext(S.QO),c=l("form",t),i=o.useMemo(()=>({prefixCls:c,status:"error"}),[c]);return o.createElement(A.B8,Object.assign({},r),(e,t,r)=>o.createElement(a.hb.Provider,{value:i},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},N.ErrorList=j,N.useForm=I.A,N.useFormInstance=function(){let{form:e}=o.useContext(a.cK);return e},N.useWatch=A.FH,N.Provider=a.Op,N.create=()=>{};let ev=N}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5388],{15281:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(12115);let r=function(e){return null==e?null:"object"!=typeof e||(0,a.isValidElement)(e)?{title:e}:e}},95388:(e,t,n)=>{n.d(t,{A:()=>ev});var a=n(63568),r=n(85757),o=n(12115),l=n(29300),c=n.n(l),i=n(82870),s=n(93666),u=n(68151);function m(e){let[t,n]=o.useState(e);return o.useEffect(()=>{let t=setTimeout(()=>{n(e)},10*!e.length);return()=>{clearTimeout(t)}},[e]),t}var d=n(99841),p=n(18184),f=n(47212),g=n(35376),b=n(61388),h=n(45431);let y=(e,t)=>{let{formItemCls:n}=e;return{[n]:{["".concat(n,"-label > label")]:{height:t},["".concat(n,"-control-input")]:{minHeight:t}}}},v=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),x=(e,t)=>(0,b.oX)(e,{formItemCls:"".concat(e.componentCls,"-item"),rootPrefixCls:t}),O=(0,h.OF)("Form",(e,t)=>{let{rootPrefixCls:n}=t,a=x(e,n);return[(e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,p.dF)(e)),(e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:"".concat((0,d.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},'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,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:"0 0 0 ".concat((0,d.zA)(e.controlOutlineWidth)," ").concat(e.controlOutline)},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}))(e)),{["".concat(t,"-text")]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},y(e,e.controlHeightSM)),"&-large":Object.assign({},y(e,e.controlHeightLG))})}})(a),(e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:a,antCls:r,labelRequiredMarkColor:o,labelColor:l,labelFontSize:c,labelHeight:i,labelColonMarginInlineStart:s,labelColonMarginInlineEnd:u,itemMarginBottom:m}=e;return{[t]:Object.assign(Object.assign({},(0,p.dF)(e)),{marginBottom:m,verticalAlign:"top","&-with-help":{transition:"none"},["&-hidden,\n &-hidden".concat(r,"-row")]:{display:"none"},"&-has-warning":{["".concat(t,"-split")]:{color:e.colorError}},"&-has-error":{["".concat(t,"-split")]:{color:e.colorWarning}},["".concat(t,"-label")]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:i,color:l,fontSize:c,["> ".concat(n)]:{fontSize:e.fontSize,verticalAlign:"top"},["&".concat(t,"-required")]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},["&".concat(t,"-required-mark-hidden, &").concat(t,"-required-mark-optional")]:{"&::before":{display:"none"}}},["".concat(t,"-optional")]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,["&".concat(t,"-required-mark-hidden")]:{display:"none"}},["".concat(t,"-tooltip")]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:s,marginInlineEnd:u},["&".concat(t,"-no-colon::after")]:{content:'"\\a0"'}}},["".concat(t,"-control")]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,["&:first-child:not([class^=\"'".concat(a,"-col-'\"]):not([class*=\"' ").concat(a,"-col-'\"])")]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%",["&:has(> ".concat(r,"-switch:only-child, > ").concat(r,"-rate:only-child)")]:{display:"flex",alignItems:"center"}}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:"color ".concat(e.motionDurationMid," ").concat(e.motionEaseOut)},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},["&-with-help ".concat(t,"-explain")]:{height:"auto",opacity:1},["".concat(t,"-feedback-icon")]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:f.nF,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}})(a),(e=>{let{componentCls:t}=e,n="".concat(t,"-show-help"),a="".concat(t,"-show-help-item");return{[n]:{transition:"opacity ".concat(e.motionDurationFast," ").concat(e.motionEaseInOut),"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:"hidden",transition:"height ".concat(e.motionDurationFast," ").concat(e.motionEaseInOut,",\n opacity ").concat(e.motionDurationFast," ").concat(e.motionEaseInOut,",\n transform ").concat(e.motionDurationFast," ").concat(e.motionEaseInOut," !important"),["&".concat(a,"-appear, &").concat(a,"-enter")]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},["&".concat(a,"-leave-active")]:{transform:"translateY(-5px)"}}}}})(a),(e=>{let{antCls:t,formItemCls:n}=e;return{["".concat(n,"-horizontal")]:{["".concat(n,"-label")]:{flexGrow:0},["".concat(n,"-control")]:{flex:"1 1 0",minWidth:0},["".concat(n,"-label[class$='-24'], ").concat(n,"-label[class*='-24 ']")]:{["& + ".concat(n,"-control")]:{minWidth:"unset"}},["".concat(t,"-col-24").concat(n,"-label,\n ").concat(t,"-col-xl-24").concat(n,"-label")]:v(e)}}})(a),(e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:a}=e;return{["".concat(t,"-inline")]:{display:"flex",flexWrap:"wrap",["".concat(n,"-inline")]:{flex:"none",marginInlineEnd:e.margin,marginBottom:a,"&-row":{flexWrap:"nowrap"},["> ".concat(n,"-label,\n > ").concat(n,"-control")]:{display:"inline-block",verticalAlign:"top"},["> ".concat(n,"-label")]:{flex:"none"},["".concat(t,"-text")]:{display:"inline-block"},["".concat(n,"-has-feedback")]:{display:"inline-block"}}}}})(a),(e=>{let{componentCls:t,formItemCls:n,antCls:a}=e;return{["".concat(n,"-vertical")]:{["".concat(n,"-row")]:{flexDirection:"column"},["".concat(n,"-label > label")]:{height:"auto"},["".concat(n,"-control")]:{width:"100%"},["".concat(n,"-label,\n ").concat(a,"-col-24").concat(n,"-label,\n ").concat(a,"-col-xl-24").concat(n,"-label")]:v(e)},["@media (max-width: ".concat((0,d.zA)(e.screenXSMax),")")]:[(e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:a}=e;return{["".concat(n," ").concat(n,"-label")]:v(e),["".concat(t,":not(").concat(t,"-inline)")]:{[n]:{flexWrap:"wrap",["".concat(n,"-label, ").concat(n,"-control")]:{['&:not([class*=" '.concat(a,'-col-xs"])')]:{flex:"0 0 100%",maxWidth:"100%"}}}}}})(e),{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-xs-24").concat(n,"-label")]:v(e)}}}],["@media (max-width: ".concat((0,d.zA)(e.screenSMMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-sm-24").concat(n,"-label")]:v(e)}}},["@media (max-width: ".concat((0,d.zA)(e.screenMDMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-md-24").concat(n,"-label")]:v(e)}}},["@media (max-width: ".concat((0,d.zA)(e.screenLGMax),")")]:{[t]:{["".concat(n,":not(").concat(n,"-horizontal)")]:{["".concat(a,"-col-lg-24").concat(n,"-label")]:v(e)}}}}})(a),(0,g.A)(a),f.nF]},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 ".concat(e.paddingXS,"px"),verticalLabelMargin:0,inlineItemMarginBottom:0}),{order:-1e3}),w=[];function E(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:"".concat(t,"-").concat(a),error:e,errorStatus:n}}let j=e=>{let{help:t,helpStatus:n,errors:l=w,warnings:d=w,className:p,fieldId:f,onVisibleChanged:g}=e,{prefixCls:b}=o.useContext(a.hb),h="".concat(b,"-item-explain"),y=(0,u.A)(b),[v,x,j]=O(b,y),A=o.useMemo(()=>(0,s.A)(b),[b]),S=m(l),C=m(d),k=o.useMemo(()=>null!=t?[E(t,"help",n)]:[].concat((0,r.A)(S.map((e,t)=>E(e,"error","error",t))),(0,r.A)(C.map((e,t)=>E(e,"warning","warning",t)))),[t,n,S,C]),F=o.useMemo(()=>{let e={};return k.forEach(t=>{let{key:n}=t;e[n]=(e[n]||0)+1}),k.map((t,n)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?"".concat(t.key,"-fallback-").concat(n):t.key}))},[k]),I={};return f&&(I.id="".concat(f,"_help")),v(o.createElement(i.Ay,{motionDeadline:A.motionDeadline,motionName:"".concat(b,"-show-help"),visible:!!F.length,onVisibleChanged:g},e=>{let{className:t,style:n}=e;return o.createElement("div",Object.assign({},I,{className:c()(h,t,j,y,p,x),style:n}),o.createElement(i.aF,Object.assign({keys:F},(0,s.A)(b),{motionName:"".concat(b,"-show-help-item"),component:!1}),e=>{let{key:t,error:n,errorStatus:a,className:r,style:l}=e;return o.createElement("div",{key:t,className:c()(r,{["".concat(h,"-").concat(a)]:a}),style:l},n)}))}))};var A=n(74251),S=n(15982),C=n(44494),k=n(9836),F=n(39985),I=n(96316),M=n(61958),P=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 N=o.forwardRef((e,t)=>{let n=o.useContext(C.A),{getPrefixCls:r,direction:l,requiredMark:i,colon:s,scrollToFirstError:m,className:d,style:p}=(0,S.TP)("form"),{prefixCls:f,className:g,rootClassName:b,size:h,disabled:y=n,form:v,colon:x,labelAlign:w,labelWrap:E,labelCol:j,wrapperCol:N,hideRequiredMark:z,layout:q="horizontal",scrollToFirstError:H,requiredMark:W,onFinishFailed:D,name:R,style:T,feedbackIcons:_,variant:B}=e,L=P(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),X=(0,k.A)(h),K=o.useContext(M.A),V=o.useMemo(()=>void 0!==W?W:!z&&(void 0===i||i),[z,W,i]),$=null!=x?x:s,G=r("form",f),J=(0,u.A)(G),[Y,Q,U]=O(G,J),Z=c()(G,"".concat(G,"-").concat(q),{["".concat(G,"-hide-required-mark")]:!1===V,["".concat(G,"-rtl")]:"rtl"===l,["".concat(G,"-").concat(X)]:X},U,J,Q,d,g,b),[ee]=(0,I.A)(v),{__INTERNAL__:et}=ee;et.name=R;let en=o.useMemo(()=>({name:R,labelAlign:w,labelCol:j,labelWrap:E,wrapperCol:N,layout:q,colon:$,requiredMark:V,itemRef:et.itemRef,form:ee,feedbackIcons:_}),[R,w,j,N,q,$,V,ee,_]),ea=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return Object.assign(Object.assign({},ee),{nativeElement:null==(e=ea.current)?void 0:e.nativeElement})});let er=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=Object.assign(Object.assign({},n),e)),ee.scrollToField(t,n)}};return Y(o.createElement(a.Pp.Provider,{value:B},o.createElement(C.X,{disabled:y},o.createElement(F.A.Provider,{value:X},o.createElement(a.Op,{validateMessages:K},o.createElement(a.cK.Provider,{value:en},o.createElement(a.XB,{status:!0},o.createElement(A.Ay,Object.assign({id:R},L,{name:R,onFinishFailed:e=>{if(null==D||D(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==H)return void er(H,t);void 0!==m&&er(m,t)}},form:ee,ref:ea,style:Object.assign(Object.assign({},p),T),className:Z})))))))))});var z=n(28248),q=n(74686),H=n(80163),W=n(49172),D=n(63715);let R=()=>{let{status:e,errors:t=[],warnings:n=[]}=o.useContext(a.$W);return{status:e,errors:t,warnings:n}};R.Context=a.$W;var T=n(16962),_=n(33425),B=n(53930),L=n(26791),X=n(17980),K=n(90510),V=n(11719),$=n(62623);let G=(0,h.bf)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;return(e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{["".concat(t,"-control")]:{display:"flex"}}}})(x(e,n))});var J=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 Y=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:l,children:i,errors:s,warnings:u,_internalItemRender:m,extra:d,help:p,fieldId:f,marginBottom:g,onErrorVisibleChanged:b,label:h}=e,y="".concat(t,"-item"),v=o.useContext(a.cK),x=o.useMemo(()=>{let e=Object.assign({},l||v.wrapperCol||{});return null!==h||r||l||!v.labelCol||[void 0,"xs","sm","md","lg","xl","xxl"].forEach(t=>{let n=t?[t]:[],a=(0,V.Jt)(v.labelCol,n),r="object"==typeof a?a:{},o=(0,V.Jt)(e,n);"span"in r&&!("offset"in("object"==typeof o?o:{}))&&r.span<24&&(e=(0,V.hZ)(e,[].concat(n,["offset"]),r.span))}),e},[l,v.wrapperCol,v.labelCol,h,r]),O=c()("".concat(y,"-control"),x.className),w=o.useMemo(()=>{let{labelCol:e,wrapperCol:t}=v;return J(v,["labelCol","wrapperCol"])},[v]),E=o.useRef(null),[A,S]=o.useState(0);(0,L.A)(()=>{d&&E.current?S(E.current.clientHeight):S(0)},[d]);let C=o.createElement("div",{className:"".concat(y,"-control-input")},o.createElement("div",{className:"".concat(y,"-control-input-content")},i)),k=o.useMemo(()=>({prefixCls:t,status:n}),[t,n]),F=null!==g||s.length||u.length?o.createElement(a.hb.Provider,{value:k},o.createElement(j,{fieldId:f,errors:s,warnings:u,help:p,helpStatus:n,className:"".concat(y,"-explain-connected"),onVisibleChanged:b})):null,I={};f&&(I.id="".concat(f,"_extra"));let M=d?o.createElement("div",Object.assign({},I,{className:"".concat(y,"-extra"),ref:E}),d):null,P=F||M?o.createElement("div",{className:"".concat(y,"-additional"),style:g?{minHeight:g+A}:{}},F,M):null,N=m&&"pro_table_render"===m.mark&&m.render?m.render(e,{input:C,errorList:F,extra:M}):o.createElement(o.Fragment,null,C,P);return o.createElement(a.cK.Provider,{value:w},o.createElement($.A,Object.assign({},x,{className:O}),N),o.createElement(G,{prefixCls:t}))};var Q=n(79630),U=n(66454),Z=n(35030),ee=o.forwardRef(function(e,t){return o.createElement(Z.A,(0,Q.A)({},e,{ref:t,icon:U.A}))}),et=n(15281),en=n(8530),ea=n(16025),er=n(97540),eo=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 el=e=>{var t;let n,{prefixCls:r,label:l,htmlFor:i,labelCol:s,labelAlign:u,colon:m,required:d,requiredMark:p,tooltip:f,vertical:g}=e,[b]=(0,en.A)("Form"),{labelAlign:h,labelCol:y,labelWrap:v,colon:x}=o.useContext(a.cK);if(!l)return null;let O=s||y||{},w="".concat(r,"-item-label"),E=c()(w,"left"===(u||h)&&"".concat(w,"-left"),O.className,{["".concat(w,"-wrap")]:!!v}),j=l,A=!0===m||!1!==x&&!1!==m;A&&!g&&"string"==typeof l&&l.trim()&&(j=l.replace(/[:|:]\s*$/,""));let S=(0,et.A)(f);if(S){let{icon:e=o.createElement(ee,null)}=S,t=eo(S,["icon"]),n=o.createElement(er.A,Object.assign({},t),o.cloneElement(e,{className:"".concat(r,"-item-tooltip"),title:"",onClick:e=>{e.preventDefault()},tabIndex:null}));j=o.createElement(o.Fragment,null,j,n)}let C="optional"===p,k="function"==typeof p;k?j=p(j,{required:!!d}):C&&!d&&(j=o.createElement(o.Fragment,null,j,o.createElement("span",{className:"".concat(r,"-item-optional"),title:""},(null==b?void 0:b.optional)||(null==(t=ea.A.Form)?void 0:t.optional)))),!1===p?n="hidden":(C||k)&&(n="optional");let F=c()({["".concat(r,"-item-required")]:d,["".concat(r,"-item-required-mark-").concat(n)]:n,["".concat(r,"-item-no-colon")]:!A});return o.createElement($.A,Object.assign({},O,{className:E}),o.createElement("label",{htmlFor:i,className:F,title:"string"==typeof l?l:""},j))};var ec=n(84630),ei=n(51754),es=n(63583),eu=n(51280);let em={success:ec.A,warning:es.A,error:ei.A,validating:eu.A};function ed(e){let{children:t,errors:n,warnings:r,hasFeedback:l,validateStatus:i,prefixCls:s,meta:u,noStyle:m,name:d}=e,p="".concat(s,"-item"),{feedbackIcons:f}=o.useContext(a.cK),g=(0,_.BS)(n,r,u,null,!!l,i),{isFormItemInput:b,status:h,hasFeedback:y,feedbackIcon:v,name:x}=o.useContext(a.$W),O=o.useMemo(()=>{var e;let t;if(l){let a=!0!==l&&l.icons||f,i=g&&(null==(e=null==a?void 0:a({status:g,errors:n,warnings:r}))?void 0:e[g]),s=g?em[g]:null;t=!1!==i&&s?o.createElement("span",{className:c()("".concat(p,"-feedback-icon"),"".concat(p,"-feedback-icon-").concat(g))},i||o.createElement(s,null)):null}let a={status:g||"",errors:n,warnings:r,hasFeedback:!!l,feedbackIcon:t,isFormItemInput:!0,name:d};return m&&(a.status=(null!=g?g:h)||"",a.isFormItemInput=b,a.hasFeedback=!!(null!=l?l:y),a.feedbackIcon=void 0!==l?a.feedbackIcon:v,a.name=null!=d?d:x),a},[g,l,m,b,h]);return o.createElement(a.$W.Provider,{value:O},t)}var ep=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};function ef(e){let{prefixCls:t,className:n,rootClassName:r,style:l,help:i,errors:s,warnings:u,validateStatus:d,meta:p,hasFeedback:f,hidden:g,children:b,fieldId:h,required:y,isRequired:v,onSubItemMetaChange:x,layout:O,name:w}=e,E=ep(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout","name"]),j="".concat(t,"-item"),{requiredMark:A,layout:S}=o.useContext(a.cK),C=O||S,k="vertical"===C,F=o.useRef(null),I=m(s),M=m(u),P=null!=i,N=!!(P||s.length||u.length),z=!!F.current&&(0,B.A)(F.current),[q,H]=o.useState(null);(0,L.A)(()=>{N&&F.current&&H(Number.parseInt(getComputedStyle(F.current).marginBottom,10))},[N,z]);let W=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?I:p.errors,n=e?M:p.warnings;return(0,_.BS)(t,n,p,"",!!f,d)}(),D=c()(j,n,r,{["".concat(j,"-with-help")]:P||I.length||M.length,["".concat(j,"-has-feedback")]:W&&f,["".concat(j,"-has-success")]:"success"===W,["".concat(j,"-has-warning")]:"warning"===W,["".concat(j,"-has-error")]:"error"===W,["".concat(j,"-is-validating")]:"validating"===W,["".concat(j,"-hidden")]:g,["".concat(j,"-").concat(C)]:C});return o.createElement("div",{className:D,style:l,ref:F},o.createElement(K.A,Object.assign({className:"".concat(j,"-row")},(0,X.A)(E,["_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"])),o.createElement(el,Object.assign({htmlFor:h},e,{requiredMark:A,required:null!=y?y:v,prefixCls:t,vertical:k})),o.createElement(Y,Object.assign({},e,p,{errors:I,warnings:M,prefixCls:t,status:W,help:i,marginBottom:q,onErrorVisibleChanged:e=>{e||H(null)}}),o.createElement(a.jC.Provider,{value:x},o.createElement(ed,{prefixCls:t,meta:p,errors:p.errors,warnings:p.warnings,hasFeedback:f,validateStatus:W,name:w},b)))),!!q&&o.createElement("div",{className:"".concat(j,"-margin-offset"),style:{marginBottom:-q}}))}let eg=o.memo(e=>{let{children:t}=e;return t},(e,t)=>(function(e,t){let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every(n=>{let a=e[n],r=t[n];return a===r||"function"==typeof a||"function"==typeof r})})(e.control,t.control)&&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 eh=function(e){let{name:t,noStyle:n,className:l,dependencies:i,prefixCls:s,shouldUpdate:m,rules:d,children:p,required:f,label:g,messageVariables:b,trigger:h="onChange",validateTrigger:y,hidden:v,help:x,layout:w}=e,{getPrefixCls:E}=o.useContext(S.QO),{name:j}=o.useContext(a.cK),C=function(e){if("function"==typeof e)return e;let t=(0,D.A)(e);return t.length<=1?t[0]:t}(p),k="function"==typeof C,F=o.useContext(a.jC),{validateTrigger:I}=o.useContext(A._z),M=void 0!==y?y:I,P=null!=t,N=E("form",s),R=(0,u.A)(N),[B,L,X]=O(N,R);(0,W.rJ)("Form.Item");let K=o.useContext(A.EF),V=o.useRef(null),[$,G]=function(e){let[t,n]=o.useState(e),a=o.useRef(null),r=o.useRef([]),l=o.useRef(!1);return o.useEffect(()=>(l.current=!1,()=>{l.current=!0,T.A.cancel(a.current),a.current=null}),[]),[t,function(e){l.current||(null===a.current&&(r.current=[],a.current=(0,T.A)(()=>{a.current=null,n(e=>{let t=e;return r.current.forEach(e=>{t=e(t)}),t})})),r.current.push(e))}]}({}),[J,Y]=(0,z.A)(()=>eb()),Q=(e,t)=>{G(n=>{let a=Object.assign({},n),o=[].concat((0,r.A)(e.name.slice(0,-1)),(0,r.A)(t)).join("__SPLIT__");return e.destroy?delete a[o]:a[o]=e,a})},[U,Z]=o.useMemo(()=>{let e=(0,r.A)(J.errors),t=(0,r.A)(J.warnings);return Object.values($).forEach(n=>{e.push.apply(e,(0,r.A)(n.errors||[])),t.push.apply(t,(0,r.A)(n.warnings||[]))}),[e,t]},[$,J.errors,J.warnings]),ee=function(){let{itemRef:e}=o.useContext(a.cK),t=o.useRef({});return function(n,a){let r=a&&"object"==typeof a&&(0,q.A9)(a),o=n.join("_");return(t.current.name!==o||t.current.originRef!==r)&&(t.current.name=o,t.current.originRef=r,t.current.ref=(0,q.K4)(e(n),r)),t.current.ref}}();function et(a,r,i){return n&&!v?o.createElement(ed,{prefixCls:N,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:J,errors:U,warnings:Z,noStyle:!0,name:t},a):o.createElement(ef,Object.assign({key:"row"},e,{className:c()(l,X,R,L),prefixCls:N,fieldId:r,isRequired:i,errors:U,warnings:Z,meta:J,onSubItemMetaChange:Q,layout:w,name:t}),a)}if(!P&&!k&&!i)return B(et(C));let en={};return"string"==typeof g?en.label=g:t&&(en.label=String(t)),b&&(en=Object.assign(Object.assign({},en),b)),B(o.createElement(A.D0,Object.assign({},e,{messageVariables:en,trigger:h,validateTrigger:M,onMetaChange:e=>{let t=null==K?void 0:K.getKey(e.name);if(Y(e.destroy?eb():e,!0),n&&!1!==x&&F){let n=e.name;if(e.destroy)n=V.current||n;else if(void 0!==t){let[e,a]=t;V.current=n=[e].concat((0,r.A)(a))}F(e,n)}}}),(n,a,l)=>{let c=(0,_.$r)(t).length&&a?a.name:[],s=(0,_.kV)(c,j),u=void 0!==f?f:!!(null==d?void 0:d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(l);return(null==t?void 0:t.required)&&!(null==t?void 0:t.warningOnly)}return!1})),p=Object.assign({},n),g=null;if(Array.isArray(C)&&P)g=C;else if(k&&(!(m||i)||P));else if(!i||k||P)if(o.isValidElement(C)){let t=Object.assign(Object.assign({},C.props),p);if(t.id||(t.id=s),x||U.length>0||Z.length>0||e.extra){let n=[];(x||U.length>0)&&n.push("".concat(s,"_help")),e.extra&&n.push("".concat(s,"_extra")),t["aria-describedby"]=n.join(" ")}U.length>0&&(t["aria-invalid"]="true"),u&&(t["aria-required"]="true"),(0,q.f3)(C)&&(t.ref=ee(c,C)),new Set([].concat((0,r.A)((0,_.$r)(h)),(0,r.A)((0,_.$r)(M)))).forEach(e=>{t[e]=function(){for(var t,n,a,r=arguments.length,o=Array(r),l=0;lt.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};N.Item=eh,N.List=e=>{var{prefixCls:t,children:n}=e,r=ey(e,["prefixCls","children"]);let{getPrefixCls:l}=o.useContext(S.QO),c=l("form",t),i=o.useMemo(()=>({prefixCls:c,status:"error"}),[c]);return o.createElement(A.B8,Object.assign({},r),(e,t,r)=>o.createElement(a.hb.Provider,{value:i},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},N.ErrorList=j,N.useForm=I.A,N.useFormInstance=function(){let{form:e}=o.useContext(a.cK);return e},N.useWatch=A.FH,N.Provider=a.Op,N.create=()=>{};let ev=N}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f1d2c509cde5d113.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f4e1d49b3242987e.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f1d2c509cde5d113.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f4e1d49b3242987e.js index 5f601c1a..f2853c5c 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f1d2c509cde5d113.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5887-f4e1d49b3242987e.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5887],{55887:(t,o,a)=>{a.d(o,{A:()=>R});var e=a(12115),n=a(29300),c=a.n(n),i=a(26791),r=a(15982),l=a(24848),s=a(35149),d=a(2419),p=a(68151),u=a(70042),g=a(84630),m=a(51754),f=a(48776),b=a(63583),h=a(66383),v=a(51280);function k(t,o){return null===o||!1===o?null:o||e.createElement(f.A,{className:"".concat(t,"-close-icon")})}h.A,g.A,m.A,b.A,v.A;let y={success:g.A,info:h.A,error:m.A,warning:b.A},w=t=>{let{prefixCls:o,icon:a,type:n,message:i,description:r,actions:l,role:s="alert"}=t,d=null;return a?d=e.createElement("span",{className:"".concat(o,"-icon")},a):n&&(d=e.createElement(y[n]||null,{className:c()("".concat(o,"-icon"),"".concat(o,"-icon-").concat(n))})),e.createElement("div",{className:c()({["".concat(o,"-with-icon")]:d}),role:s},d,e.createElement("div",{className:"".concat(o,"-message")},i),r&&e.createElement("div",{className:"".concat(o,"-description")},r),l&&e.createElement("div",{className:"".concat(o,"-actions")},l))};var O=a(99841),j=a(9130),I=a(18184),S=a(61388),N=a(45431);let x=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},A=(0,N.OF)("Notification",t=>{let o=(t=>{let o=t.paddingMD,a=t.paddingLG;return(0,S.oX)(t,{notificationBg:t.colorBgElevated,notificationPaddingVertical:o,notificationPaddingHorizontal:a,notificationIconSize:t.calc(t.fontSizeLG).mul(t.lineHeightLG).equal(),notificationCloseButtonSize:t.calc(t.controlHeightLG).mul(.55).equal(),notificationMarginBottom:t.margin,notificationPadding:"".concat((0,O.zA)(t.paddingMD)," ").concat((0,O.zA)(t.paddingContentHorizontalLG)),notificationMarginEdge:t.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(t.colorPrimaryBorderHover,", ").concat(t.colorPrimary,")")})})(t);return[(t=>{let{componentCls:o,notificationMarginBottom:a,notificationMarginEdge:e,motionDurationMid:n,motionEaseInOut:c}=t,i="".concat(o,"-notice"),r=new O.Mo("antNotificationFadeOut",{"0%":{maxHeight:t.animationMaxHeight,marginBottom:a},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[o]:Object.assign(Object.assign({},(0,I.dF)(t)),{position:"fixed",zIndex:t.zIndexPopup,marginRight:{value:e,_skip_check_:!0},["".concat(o,"-hook-holder")]:{position:"relative"},["".concat(o,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(o,"-fade-enter, ").concat(o,"-fade-appear")]:{animationDuration:t.motionDurationMid,animationTimingFunction:c,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(o,"-fade-leave")]:{animationTimingFunction:c,animationFillMode:"both",animationDuration:n,animationPlayState:"paused"},["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(o,"-fade-leave").concat(o,"-fade-leave-active")]:{animationName:r,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(i,"-actions")]:{float:"left"}}})},{[o]:{["".concat(i,"-wrapper")]:(t=>{let{iconCls:o,componentCls:a,boxShadow:e,fontSizeLG:n,notificationMarginBottom:c,borderRadiusLG:i,colorSuccess:r,colorInfo:l,colorWarning:s,colorError:d,colorTextHeading:p,notificationBg:u,notificationPadding:g,notificationMarginEdge:m,notificationProgressBg:f,notificationProgressHeight:b,fontSize:h,lineHeight:v,width:k,notificationIconSize:y,colorText:w,colorSuccessBg:j,colorErrorBg:S,colorInfoBg:N,colorWarningBg:x}=t,E="".concat(a,"-notice");return{position:"relative",marginBottom:c,marginInlineStart:"auto",background:u,borderRadius:i,boxShadow:e,[E]:{padding:g,width:k,maxWidth:"calc(100vw - ".concat((0,O.zA)(t.calc(m).mul(2).equal()),")"),lineHeight:v,wordWrap:"break-word",borderRadius:i,overflow:"hidden","&-success":j?{background:j}:{},"&-error":S?{background:S}:{},"&-info":N?{background:N}:{},"&-warning":x?{background:x}:{}},["".concat(E,"-message")]:{color:p,fontSize:n,lineHeight:t.lineHeightLG},["".concat(E,"-description")]:{fontSize:h,color:w,marginTop:t.marginXS},["".concat(E,"-closable ").concat(E,"-message")]:{paddingInlineEnd:t.paddingLG},["".concat(E,"-with-icon ").concat(E,"-message")]:{marginInlineStart:t.calc(t.marginSM).add(y).equal(),fontSize:n},["".concat(E,"-with-icon ").concat(E,"-description")]:{marginInlineStart:t.calc(t.marginSM).add(y).equal(),fontSize:h},["".concat(E,"-icon")]:{position:"absolute",fontSize:y,lineHeight:1,["&-success".concat(o)]:{color:r},["&-info".concat(o)]:{color:l},["&-warning".concat(o)]:{color:s},["&-error".concat(o)]:{color:d}},["".concat(E,"-close")]:Object.assign({position:"absolute",top:t.notificationPaddingVertical,insetInlineEnd:t.notificationPaddingHorizontal,color:t.colorIcon,outline:"none",width:t.notificationCloseButtonSize,height:t.notificationCloseButtonSize,borderRadius:t.borderRadiusSM,transition:"background-color ".concat(t.motionDurationMid,", color ").concat(t.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:t.colorIconHover,backgroundColor:t.colorBgTextHover},"&:active":{backgroundColor:t.colorBgTextActive}},(0,I.K8)(t)),["".concat(E,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,O.zA)(i)," * 2)"),left:{_skip_check_:!0,value:i},right:{_skip_check_:!0,value:i},bottom:0,blockSize:b,border:0,"&, &::-webkit-progress-bar":{borderRadius:i,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:f},"&::-webkit-progress-value":{borderRadius:i,background:f}},["".concat(E,"-actions")]:{float:"right",marginTop:t.marginSM}}})(t)}}]})(o),(t=>{let{componentCls:o,notificationMarginEdge:a,animationMaxHeight:e}=t,n="".concat(o,"-notice"),c=new O.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),i=new O.Mo("antNotificationTopFadeIn",{"0%":{top:-e,opacity:0},"100%":{top:0,opacity:1}}),r=new O.Mo("antNotificationBottomFadeIn",{"0%":{bottom:t.calc(e).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new O.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[o]:{["&".concat(o,"-top, &").concat(o,"-bottom")]:{marginInline:0,[n]:{marginInline:"auto auto"}},["&".concat(o,"-top")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:i}},["&".concat(o,"-bottom")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:r}},["&".concat(o,"-topRight, &").concat(o,"-bottomRight")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:c}},["&".concat(o,"-topLeft, &").concat(o,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:a,_skip_check_:!0},[n]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:l}}}}})(o),(t=>{let{componentCls:o}=t;return Object.assign({["".concat(o,"-stack")]:{["& > ".concat(o,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(t.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(t=>{let o={};for(let a=1;a ".concat(t.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(t.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(t.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},o)})(t))},["".concat(o,"-stack:not(").concat(o,"-stack-expanded)")]:{["& > ".concat(o,"-notice-wrapper")]:Object.assign({},(t=>{let o={};for(let a=1;a ".concat(o,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(t.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:t.margin,width:"100%",insetInline:0,bottom:t.calc(t.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},x.map(o=>((t,o)=>{let{componentCls:a}=t;return{["".concat(a,"-").concat(o)]:{["&".concat(a,"-stack > ").concat(a,"-notice-wrapper")]:{[o.startsWith("top")?"top":"bottom"]:0,[E[o]]:{value:0,_skip_check_:!0}}}}})(t,o)).reduce((t,o)=>Object.assign(Object.assign({},t),o),{}))})(o)]},t=>({zIndexPopup:t.zIndexPopupBase+j.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));var B=function(t,o){var a={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&0>o.indexOf(e)&&(a[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,e=Object.getOwnPropertySymbols(t);no.indexOf(e[n])&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(a[e[n]]=t[e[n]]);return a};let M=t=>{let{children:o,prefixCls:a}=t,n=(0,p.A)(a),[i,r,l]=A(a,n);return i(e.createElement(d.ph,{classNames:{list:c()(r,l,n)}},o))},C=(t,o)=>{let{prefixCls:a,key:n}=o;return e.createElement(M,{prefixCls:a,key:n},t)},L=e.forwardRef((t,o)=>{let{top:a,bottom:n,prefixCls:i,getContainer:l,maxCount:s,rtl:p,onAllRemoved:g,stack:m,duration:f,pauseOnHover:b=!0,showProgress:h}=t,{getPrefixCls:v,getPopupContainer:y,notification:w,direction:O}=(0,e.useContext)(r.QO),[,j]=(0,u.Ay)(),I=i||v("notification"),[S,N]=(0,d.hN)({prefixCls:I,style:t=>(function(t,o,a){let e;switch(t){case"top":e={left:"50%",transform:"translateX(-50%)",right:"auto",top:o,bottom:"auto"};break;case"topLeft":e={left:0,top:o,bottom:"auto"};break;case"topRight":e={right:0,top:o,bottom:"auto"};break;case"bottom":e={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:a};break;case"bottomLeft":e={left:0,top:"auto",bottom:a};break;default:e={right:0,top:"auto",bottom:a}}return e})(t,null!=a?a:24,null!=n?n:24),className:()=>c()({["".concat(I,"-rtl")]:null!=p?p:"rtl"===O}),motion:()=>({motionName:"".concat(I,"-fade")}),closable:!0,closeIcon:k(I),duration:null!=f?f:4.5,getContainer:()=>(null==l?void 0:l())||(null==y?void 0:y())||document.body,maxCount:s,pauseOnHover:b,showProgress:h,onAllRemoved:g,renderNotifications:C,stack:!1!==m&&{threshold:"object"==typeof m?null==m?void 0:m.threshold:void 0,offset:8,gap:j.margin}});return e.useImperativeHandle(o,()=>Object.assign(Object.assign({},S),{prefixCls:I,notification:w})),N});var _=a(99209);let z=(0,N.OF)("App",t=>{let{componentCls:o,colorText:a,fontSize:e,lineHeight:n,fontFamily:c}=t;return{[o]:{color:a,fontSize:e,lineHeight:n,fontFamily:c,["&".concat(o,"-rtl")]:{direction:"rtl"}}}},()=>({})),P=t=>{let{prefixCls:o,children:a,className:n,rootClassName:d,message:p,notification:u,style:g,component:m="div"}=t,{direction:f,getPrefixCls:b}=(0,e.useContext)(r.QO),h=b("app",o),[v,y,O]=z(h),j=c()(y,h,n,d,O,{["".concat(h,"-rtl")]:"rtl"===f}),I=(0,e.useContext)(_.B),S=e.useMemo(()=>({message:Object.assign(Object.assign({},I.message),p),notification:Object.assign(Object.assign({},I.notification),u)}),[p,u,I.message,I.notification]),[N,x]=(0,l.A)(S.message),[E,A]=function(t){let o=e.useRef(null);return(0,i.rJ)("Notification"),[e.useMemo(()=>{let a=a=>{var n;if(!o.current)return;let{open:i,prefixCls:r,notification:l}=o.current,s="".concat(r,"-notice"),{message:d,description:p,icon:u,type:g,btn:m,actions:f,className:b,style:h,role:v="alert",closeIcon:y,closable:O}=a,j=B(a,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),I=k(s,void 0!==y?y:void 0!==(null==t?void 0:t.closeIcon)?t.closeIcon:null==l?void 0:l.closeIcon);return i(Object.assign(Object.assign({placement:null!=(n=null==t?void 0:t.placement)?n:"topRight"},j),{content:e.createElement(w,{prefixCls:s,icon:u,type:g,message:d,description:p,actions:null!=f?f:m,role:v}),className:c()(g&&"".concat(s,"-").concat(g),b,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),h),closeIcon:I,closable:null!=O?O:!!I}))},n={open:a,destroy:t=>{var a,e;void 0!==t?null==(a=o.current)||a.close(t):null==(e=o.current)||e.destroy()}};return["success","info","warning","error"].forEach(t=>{n[t]=o=>a(Object.assign(Object.assign({},o),{type:t}))}),n},[]),e.createElement(L,Object.assign({key:"notification-holder"},t,{ref:o}))]}(S.notification),[M,C]=(0,s.A)(),P=e.useMemo(()=>({message:N,notification:E,modal:M}),[N,E,M]);(0,i.rJ)("App")(!(O&&!1===m),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let R=!1===m?e.Fragment:m;return v(e.createElement(_.A.Provider,{value:P},e.createElement(_.B.Provider,{value:S},e.createElement(R,Object.assign({},!1===m?void 0:{className:j,style:g}),C,x,A,a))))};P.useApp=()=>e.useContext(_.A);let R=P}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5887],{55887:(t,o,a)=>{a.d(o,{A:()=>R});var e=a(12115),n=a(29300),c=a.n(n),i=a(49172),r=a(15982),l=a(24848),s=a(35149),d=a(2419),p=a(68151),u=a(70042),g=a(84630),m=a(51754),f=a(48776),b=a(63583),h=a(66383),v=a(51280);function k(t,o){return null===o||!1===o?null:o||e.createElement(f.A,{className:"".concat(t,"-close-icon")})}h.A,g.A,m.A,b.A,v.A;let y={success:g.A,info:h.A,error:m.A,warning:b.A},w=t=>{let{prefixCls:o,icon:a,type:n,message:i,description:r,actions:l,role:s="alert"}=t,d=null;return a?d=e.createElement("span",{className:"".concat(o,"-icon")},a):n&&(d=e.createElement(y[n]||null,{className:c()("".concat(o,"-icon"),"".concat(o,"-icon-").concat(n))})),e.createElement("div",{className:c()({["".concat(o,"-with-icon")]:d}),role:s},d,e.createElement("div",{className:"".concat(o,"-message")},i),r&&e.createElement("div",{className:"".concat(o,"-description")},r),l&&e.createElement("div",{className:"".concat(o,"-actions")},l))};var O=a(99841),j=a(9130),I=a(18184),S=a(61388),N=a(45431);let x=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},A=(0,N.OF)("Notification",t=>{let o=(t=>{let o=t.paddingMD,a=t.paddingLG;return(0,S.oX)(t,{notificationBg:t.colorBgElevated,notificationPaddingVertical:o,notificationPaddingHorizontal:a,notificationIconSize:t.calc(t.fontSizeLG).mul(t.lineHeightLG).equal(),notificationCloseButtonSize:t.calc(t.controlHeightLG).mul(.55).equal(),notificationMarginBottom:t.margin,notificationPadding:"".concat((0,O.zA)(t.paddingMD)," ").concat((0,O.zA)(t.paddingContentHorizontalLG)),notificationMarginEdge:t.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:"linear-gradient(90deg, ".concat(t.colorPrimaryBorderHover,", ").concat(t.colorPrimary,")")})})(t);return[(t=>{let{componentCls:o,notificationMarginBottom:a,notificationMarginEdge:e,motionDurationMid:n,motionEaseInOut:c}=t,i="".concat(o,"-notice"),r=new O.Mo("antNotificationFadeOut",{"0%":{maxHeight:t.animationMaxHeight,marginBottom:a},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[o]:Object.assign(Object.assign({},(0,I.dF)(t)),{position:"fixed",zIndex:t.zIndexPopup,marginRight:{value:e,_skip_check_:!0},["".concat(o,"-hook-holder")]:{position:"relative"},["".concat(o,"-fade-appear-prepare")]:{opacity:"0 !important"},["".concat(o,"-fade-enter, ").concat(o,"-fade-appear")]:{animationDuration:t.motionDurationMid,animationTimingFunction:c,animationFillMode:"both",opacity:0,animationPlayState:"paused"},["".concat(o,"-fade-leave")]:{animationTimingFunction:c,animationFillMode:"both",animationDuration:n,animationPlayState:"paused"},["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationPlayState:"running"},["".concat(o,"-fade-leave").concat(o,"-fade-leave-active")]:{animationName:r,animationPlayState:"running"},"&-rtl":{direction:"rtl",["".concat(i,"-actions")]:{float:"left"}}})},{[o]:{["".concat(i,"-wrapper")]:(t=>{let{iconCls:o,componentCls:a,boxShadow:e,fontSizeLG:n,notificationMarginBottom:c,borderRadiusLG:i,colorSuccess:r,colorInfo:l,colorWarning:s,colorError:d,colorTextHeading:p,notificationBg:u,notificationPadding:g,notificationMarginEdge:m,notificationProgressBg:f,notificationProgressHeight:b,fontSize:h,lineHeight:v,width:k,notificationIconSize:y,colorText:w,colorSuccessBg:j,colorErrorBg:S,colorInfoBg:N,colorWarningBg:x}=t,E="".concat(a,"-notice");return{position:"relative",marginBottom:c,marginInlineStart:"auto",background:u,borderRadius:i,boxShadow:e,[E]:{padding:g,width:k,maxWidth:"calc(100vw - ".concat((0,O.zA)(t.calc(m).mul(2).equal()),")"),lineHeight:v,wordWrap:"break-word",borderRadius:i,overflow:"hidden","&-success":j?{background:j}:{},"&-error":S?{background:S}:{},"&-info":N?{background:N}:{},"&-warning":x?{background:x}:{}},["".concat(E,"-message")]:{color:p,fontSize:n,lineHeight:t.lineHeightLG},["".concat(E,"-description")]:{fontSize:h,color:w,marginTop:t.marginXS},["".concat(E,"-closable ").concat(E,"-message")]:{paddingInlineEnd:t.paddingLG},["".concat(E,"-with-icon ").concat(E,"-message")]:{marginInlineStart:t.calc(t.marginSM).add(y).equal(),fontSize:n},["".concat(E,"-with-icon ").concat(E,"-description")]:{marginInlineStart:t.calc(t.marginSM).add(y).equal(),fontSize:h},["".concat(E,"-icon")]:{position:"absolute",fontSize:y,lineHeight:1,["&-success".concat(o)]:{color:r},["&-info".concat(o)]:{color:l},["&-warning".concat(o)]:{color:s},["&-error".concat(o)]:{color:d}},["".concat(E,"-close")]:Object.assign({position:"absolute",top:t.notificationPaddingVertical,insetInlineEnd:t.notificationPaddingHorizontal,color:t.colorIcon,outline:"none",width:t.notificationCloseButtonSize,height:t.notificationCloseButtonSize,borderRadius:t.borderRadiusSM,transition:"background-color ".concat(t.motionDurationMid,", color ").concat(t.motionDurationMid),display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:t.colorIconHover,backgroundColor:t.colorBgTextHover},"&:active":{backgroundColor:t.colorBgTextActive}},(0,I.K8)(t)),["".concat(E,"-progress")]:{position:"absolute",display:"block",appearance:"none",inlineSize:"calc(100% - ".concat((0,O.zA)(i)," * 2)"),left:{_skip_check_:!0,value:i},right:{_skip_check_:!0,value:i},bottom:0,blockSize:b,border:0,"&, &::-webkit-progress-bar":{borderRadius:i,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:f},"&::-webkit-progress-value":{borderRadius:i,background:f}},["".concat(E,"-actions")]:{float:"right",marginTop:t.marginSM}}})(t)}}]})(o),(t=>{let{componentCls:o,notificationMarginEdge:a,animationMaxHeight:e}=t,n="".concat(o,"-notice"),c=new O.Mo("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),i=new O.Mo("antNotificationTopFadeIn",{"0%":{top:-e,opacity:0},"100%":{top:0,opacity:1}}),r=new O.Mo("antNotificationBottomFadeIn",{"0%":{bottom:t.calc(e).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new O.Mo("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[o]:{["&".concat(o,"-top, &").concat(o,"-bottom")]:{marginInline:0,[n]:{marginInline:"auto auto"}},["&".concat(o,"-top")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:i}},["&".concat(o,"-bottom")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:r}},["&".concat(o,"-topRight, &").concat(o,"-bottomRight")]:{["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:c}},["&".concat(o,"-topLeft, &").concat(o,"-bottomLeft")]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:a,_skip_check_:!0},[n]:{marginInlineEnd:"auto",marginInlineStart:0},["".concat(o,"-fade-enter").concat(o,"-fade-enter-active, ").concat(o,"-fade-appear").concat(o,"-fade-appear-active")]:{animationName:l}}}}})(o),(t=>{let{componentCls:o}=t;return Object.assign({["".concat(o,"-stack")]:{["& > ".concat(o,"-notice-wrapper")]:Object.assign({transition:"transform ".concat(t.motionDurationSlow,", backdrop-filter 0s"),willChange:"transform, opacity",position:"absolute"},(t=>{let o={};for(let a=1;a ".concat(t.componentCls,"-notice")]:{opacity:0,transition:"opacity ".concat(t.motionDurationMid)}};return Object.assign({["&:not(:nth-last-child(-n+".concat(t.notificationStackLayer,"))")]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},o)})(t))},["".concat(o,"-stack:not(").concat(o,"-stack-expanded)")]:{["& > ".concat(o,"-notice-wrapper")]:Object.assign({},(t=>{let o={};for(let a=1;a ".concat(o,"-notice-wrapper")]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",["& > ".concat(t.componentCls,"-notice")]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:t.margin,width:"100%",insetInline:0,bottom:t.calc(t.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},x.map(o=>((t,o)=>{let{componentCls:a}=t;return{["".concat(a,"-").concat(o)]:{["&".concat(a,"-stack > ").concat(a,"-notice-wrapper")]:{[o.startsWith("top")?"top":"bottom"]:0,[E[o]]:{value:0,_skip_check_:!0}}}}})(t,o)).reduce((t,o)=>Object.assign(Object.assign({},t),o),{}))})(o)]},t=>({zIndexPopup:t.zIndexPopupBase+j.jH+50,width:384,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}));var B=function(t,o){var a={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&0>o.indexOf(e)&&(a[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,e=Object.getOwnPropertySymbols(t);no.indexOf(e[n])&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(a[e[n]]=t[e[n]]);return a};let M=t=>{let{children:o,prefixCls:a}=t,n=(0,p.A)(a),[i,r,l]=A(a,n);return i(e.createElement(d.ph,{classNames:{list:c()(r,l,n)}},o))},C=(t,o)=>{let{prefixCls:a,key:n}=o;return e.createElement(M,{prefixCls:a,key:n},t)},L=e.forwardRef((t,o)=>{let{top:a,bottom:n,prefixCls:i,getContainer:l,maxCount:s,rtl:p,onAllRemoved:g,stack:m,duration:f,pauseOnHover:b=!0,showProgress:h}=t,{getPrefixCls:v,getPopupContainer:y,notification:w,direction:O}=(0,e.useContext)(r.QO),[,j]=(0,u.Ay)(),I=i||v("notification"),[S,N]=(0,d.hN)({prefixCls:I,style:t=>(function(t,o,a){let e;switch(t){case"top":e={left:"50%",transform:"translateX(-50%)",right:"auto",top:o,bottom:"auto"};break;case"topLeft":e={left:0,top:o,bottom:"auto"};break;case"topRight":e={right:0,top:o,bottom:"auto"};break;case"bottom":e={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:a};break;case"bottomLeft":e={left:0,top:"auto",bottom:a};break;default:e={right:0,top:"auto",bottom:a}}return e})(t,null!=a?a:24,null!=n?n:24),className:()=>c()({["".concat(I,"-rtl")]:null!=p?p:"rtl"===O}),motion:()=>({motionName:"".concat(I,"-fade")}),closable:!0,closeIcon:k(I),duration:null!=f?f:4.5,getContainer:()=>(null==l?void 0:l())||(null==y?void 0:y())||document.body,maxCount:s,pauseOnHover:b,showProgress:h,onAllRemoved:g,renderNotifications:C,stack:!1!==m&&{threshold:"object"==typeof m?null==m?void 0:m.threshold:void 0,offset:8,gap:j.margin}});return e.useImperativeHandle(o,()=>Object.assign(Object.assign({},S),{prefixCls:I,notification:w})),N});var _=a(99209);let z=(0,N.OF)("App",t=>{let{componentCls:o,colorText:a,fontSize:e,lineHeight:n,fontFamily:c}=t;return{[o]:{color:a,fontSize:e,lineHeight:n,fontFamily:c,["&".concat(o,"-rtl")]:{direction:"rtl"}}}},()=>({})),P=t=>{let{prefixCls:o,children:a,className:n,rootClassName:d,message:p,notification:u,style:g,component:m="div"}=t,{direction:f,getPrefixCls:b}=(0,e.useContext)(r.QO),h=b("app",o),[v,y,O]=z(h),j=c()(y,h,n,d,O,{["".concat(h,"-rtl")]:"rtl"===f}),I=(0,e.useContext)(_.B),S=e.useMemo(()=>({message:Object.assign(Object.assign({},I.message),p),notification:Object.assign(Object.assign({},I.notification),u)}),[p,u,I.message,I.notification]),[N,x]=(0,l.A)(S.message),[E,A]=function(t){let o=e.useRef(null);return(0,i.rJ)("Notification"),[e.useMemo(()=>{let a=a=>{var n;if(!o.current)return;let{open:i,prefixCls:r,notification:l}=o.current,s="".concat(r,"-notice"),{message:d,description:p,icon:u,type:g,btn:m,actions:f,className:b,style:h,role:v="alert",closeIcon:y,closable:O}=a,j=B(a,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),I=k(s,void 0!==y?y:void 0!==(null==t?void 0:t.closeIcon)?t.closeIcon:null==l?void 0:l.closeIcon);return i(Object.assign(Object.assign({placement:null!=(n=null==t?void 0:t.placement)?n:"topRight"},j),{content:e.createElement(w,{prefixCls:s,icon:u,type:g,message:d,description:p,actions:null!=f?f:m,role:v}),className:c()(g&&"".concat(s,"-").concat(g),b,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),h),closeIcon:I,closable:null!=O?O:!!I}))},n={open:a,destroy:t=>{var a,e;void 0!==t?null==(a=o.current)||a.close(t):null==(e=o.current)||e.destroy()}};return["success","info","warning","error"].forEach(t=>{n[t]=o=>a(Object.assign(Object.assign({},o),{type:t}))}),n},[]),e.createElement(L,Object.assign({key:"notification-holder"},t,{ref:o}))]}(S.notification),[M,C]=(0,s.A)(),P=e.useMemo(()=>({message:N,notification:E,modal:M}),[N,E,M]);(0,i.rJ)("App")(!(O&&!1===m),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let R=!1===m?e.Fragment:m;return v(e.createElement(_.A.Provider,{value:P},e.createElement(_.B.Provider,{value:S},e.createElement(R,Object.assign({},!1===m?void 0:{className:j,style:g}),C,x,A,a))))};P.useApp=()=>e.useContext(_.A);let R=P}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-7f16b8d1fd1a2091.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-7f16b8d1fd1a2091.js new file mode 100644 index 00000000..c9c3f17e --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-7f16b8d1fd1a2091.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6074],{24646:(e,t,r)=>{r.d(t,{A:()=>i});var s=r(95155),a=r(7132),l=r(66766),n=r(12115);let i=(0,n.memo)(e=>{let{width:t,height:r,model:i}=e,o=(0,n.useMemo)(()=>(0,a.ZI)(i||"huggingface"),[i]);return i?(0,s.jsx)(l.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:r||24,src:o,alt:"llm",priority:!0}):null})},39740:(e,t,r)=>{r.d(t,{UK:()=>o,V:()=>c,cE:()=>u,rA:()=>d});var s=r(95155),a=r(67773);r(61475);var l=r(54099),n=r(35695),i=r(12115);let o=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),d=e=>{var t,r,d;let{children:c}=e,u=(0,n.useSearchParams)(),m=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",p=null!=(r=null==u?void 0:u.get("scene"))?r:"",x=null!=(d=null==u?void 0:u.get("db_param"))?d:"",[h,g]=(0,i.useState)(!1),[f,y]=(0,i.useState)("light"),[v,b]=(0,i.useState)("chat_dashboard"!==p),[_,w]=(0,i.useState)(x),[j,N]=(0,i.useState)(""),[k,A]=(0,i.useState)([]),[S,I]=(0,i.useState)(),[C,T]=(0,i.useState)("light"),[O,M]=(0,i.useState)(m),[E,P]=(0,i.useState)([]),[V,R]=(0,i.useState)({chat_scene:"",app_code:""}),{data:J=[]}=(0,l.A)(async()=>{let[,e]=await (0,a.VbY)((0,a.TzU)());return null!=e?e:[]}),{data:U=[],refresh:D,loading:L}=(0,l.A)(async()=>await (0,a.VbY)((0,a.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");R(e)}catch(e){R({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{y(J[0])},[J,null==J?void 0:J.length]),(0,i.useEffect)(()=>{m&&M(m)},[m]),(0,s.jsx)(o.Provider,{value:{isContract:h,isMenuExpand:v,scene:p,chatId:O,model:f,modelList:J,dbParam:_||x,agent:j,setAgent:N,mode:C,setMode:T,setModel:y,setIsContract:g,setIsMenuExpand:b,setDbParam:w,history:k,setHistory:A,docId:S,setDocId:I,currentDialogInfo:V,setCurrentDialogInfo:R,adminList:E,refreshDialogList:D,dialogueList:U},children:c})},c=(0,i.createContext)(null),u=(0,i.createContext)(null)},40799:(e,t,r)=>{r.d(t,{A:()=>m,O:()=>u});var s=r(95155),a=r(19361),l=r(74947),n=r(95388),i=r(32013),o=r(73775),d=r(12115),c=r(91218);let u=["image_file","video_file","excel_file","text_file","common_file"],m=d.memo(function(e){let{form:t,selectedChatConfigs:r,chatConfigOptions:d,onInputBlur:m,resourceOptions:p,modelOptions:x}=e,{t:h}=(0,c.Bd)();if(!r||0===r.length)return null;let g={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};return(0,s.jsx)(s.Fragment,{children:null==r?void 0:r.map(e=>{var r,c,f=null==d?void 0:d.find(t=>t.param_type===e);if(!f)return null;switch(f.param_type){case"model":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:(null==(r=f.sub_types)?void 0:r.map(e=>({value:e,label:e})))||[],disabled:!f.sub_types,placeholder:h("chat_layout_config_select_param",{desc:f.param_description}),onBlur:()=>m("".concat(f.param_type,"_value"))})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),initialValue:f.param_default_value,label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{options:x,placeholder:h("chat_layout_config_input_param",{desc:f.param_description}),className:"w-full"})})},"".concat(f.param_type,"-col2"))]},f.param_type);case"temperature":case"max_new_tokens":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:(null==(c=f.sub_types)?void 0:c.map(e=>({value:e,label:e})))||[],disabled:!f.sub_types,placeholder:h("chat_layout_config_select_param",{desc:f.param_description})})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),initialValue:f.param_default_value,label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(o.A,{type:"number",step:"temperature"===f.param_type?"0.01":"1",placeholder:h("chat_layout_config_input_param",{desc:f.param_description}),className:"w-full",onBlur:()=>m("".concat(f.param_type,"_value"))})})},"".concat(f.param_type,"-col2"))]},f.param_type);case"resource":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:f.sub_types&&f.sub_types.map(e=>({value:e,label:e}))||[],placeholder:h("chat_layout_config_select_param",{desc:f.param_description})})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{options:p,className:"w-full",placeholder:h("chat_layout_config_input_resource"),disabled:u.includes(t.getFieldValue("".concat(f.param_type,"_sub_type")))})})},"".concat(f.param_type,"-col2"))]},f.param_type);default:return null}})})})},62315:(e,t,r)=>{r.d(t,{A:()=>ey});var s=r(95155),a=r(12115),l=r(91218),n=r(14786),i=r(3377),o=r(66709),d=r(45163),c=r(91479),u=r(32191),m=r(93192),p=r(14808),x=r(75839),h=r(53867),g=r(44421),f=r(44407),y=r(92197),v=r(85875),b=r(75121),_=r(5813),w=r(96194),j=r(1828),N=r(73775),k=r(94326),A=r(97540),S=r(16467),I=r(32013),C=r(7187),T=r(56200),O=r(98696),M=r(54099),E=r(29300),P=r.n(E),V=r(67773),R=r(91070),J=r(24646),U=r(40799),D=r(47937),L=r(35695);let{Panel:H}=_.A,z=e=>{let{open:t,onClose:r,temperature:i,onTemperatureChange:o,maxTokens:d,onMaxTokensChange:c}=e,{t:u}=(0,l.Bd)(),[m,p]=(0,a.useState)(i),[x,h]=(0,a.useState)(d);return(0,a.useEffect)(()=>{p(i),h(d)},[i,d,t]),(0,s.jsx)(w.A,{title:(0,s.jsxs)("div",{className:"flex items-center gap-2 text-base font-medium",children:[(0,s.jsx)(n.A,{className:"text-indigo-500"}),(0,s.jsx)("span",{children:u("model_params","模型参数")})]}),open:t,onOk:()=>{o(m),c(x),r()},onCancel:r,okText:u("confirm","确认"),cancelText:u("cancel","取消"),width:420,className:"[&_.ant-modal-content]:rounded-xl",children:(0,s.jsxs)("div",{className:"space-y-6 py-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:u("temperature","Temperature")}),(0,s.jsx)("span",{className:"text-sm font-mono bg-gray-100 dark:bg-gray-800 px-2 py-0.5 rounded text-gray-700 dark:text-gray-300",children:m.toFixed(1)})]}),(0,s.jsx)(j.A,{min:0,max:2,step:.1,value:m,onChange:p,trackStyle:{backgroundColor:"#6366f1"},handleStyle:{borderColor:"#6366f1"}}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:u("temperature_desc","控制输出的随机性,值越高输出越创造性")})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:u("max_tokens","Max Tokens")}),(0,s.jsx)("span",{className:"text-sm font-mono bg-gray-100 dark:bg-gray-800 px-2 py-0.5 rounded text-gray-700 dark:text-gray-300",children:x})]}),(0,s.jsx)(j.A,{min:256,max:8192,step:256,value:x,onChange:h,trackStyle:{backgroundColor:"#6366f1"},handleStyle:{borderColor:"#6366f1"}}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:u("max_tokens_desc","控制生成文本的最大长度")})]})]})})},B=e=>{var t,r,w,j;let{ctrl:E,showFloatingActions:B=!0}=e,{t:F}=(0,l.Bd)(),W=a.useContext(R.zo),{scrollRef:q,replyLoading:K,handleChat:$,appInfo:Y,resourceValue:X,setResourceValue:G,refreshDialogList:Q,chatInParams:Z,setChatInParams:ee,history:et,canAbort:er,setCanAbort:es,setReplyLoading:ea,temperatureValue:el,setTemperatureValue:en,maxNewTokensValue:ei,setMaxNewTokensValue:eo,refreshHistory:ed,modelValue:ec,selectedSkills:eu,setSelectedSkills:em}=W,[ep,ex]=(0,a.useState)(""),[eh,eg]=(0,a.useState)(!1),[ef,ey]=(0,a.useState)([]),[ev,eb]=(0,a.useState)(!1),e_=(0,a.useRef)(0),[ew,ej]=(0,a.useState)(!1),[eN,ek]=(0,a.useState)([]),[eA,eS]=(0,a.useState)(""),[eI,eC]=(0,a.useState)(""),[eT,eO]=(0,a.useState)(!1),[eM,eE]=(0,a.useState)(!1),[eP,eV]=(0,a.useState)([]),eR=(0,L.useSearchParams)(),eJ=null!=(w=null==eR?void 0:eR.get("scene"))?w:"",eU=null!=(j=(null==eR?void 0:eR.get("conv_uid"))||(null==eR?void 0:eR.get("chatId")))?j:"";(0,M.A)(async()=>{let[,e]=await (0,V.VbY)((0,V.O68)());return e||[]},{onSuccess:e=>{if(e&&e.length>0){var t,r,s,a;let l=e.filter(e=>"llm"===e.worker_type);ek(l);let n=ec||(null==Y||null==(r=Y.llm_config)||null==(t=r.llm_strategy_value)?void 0:t[0]);n&&l.some(e=>e.model_name===n)?eS(n):eS((null==(s=l.find(e=>e.model_name.includes("gpt-4")||e.model_name.includes("gpt-3.5")))?void 0:s.model_name)||(null==(a=l[0])?void 0:a.model_name))}}});let eD=(0,a.useMemo)(()=>{var e,t;return(null==Y||null==(t=Y.layout)||null==(e=t.chat_in_layout)?void 0:e.map(e=>e.param_type))||[]},[null==Y||null==(t=Y.layout)?void 0:t.chat_in_layout]),eL=(0,a.useMemo)(()=>{var e,t;return null==Y||null==(t=Y.layout)||null==(e=t.chat_in_layout)?void 0:e.find(e=>"resource"===e.param_type)},[null==Y||null==(r=Y.layout)?void 0:r.chat_in_layout]),eH=(0,a.useMemo)(()=>{var e;return eD.includes("resource")&&eL&&!U.O.includes(null!=(e=null==eL?void 0:eL.sub_type)?e:"")},[eD,eL]),ez=(0,a.useMemo)(()=>{var e;return eD.includes("resource")&&eL&&U.O.includes(null!=(e=null==eL?void 0:eL.sub_type)?e:"")},[eD,eL]),{run:eB,loading:eF}=(0,M.A)(async e=>await (0,V.BNu)({type:e}),{manual:!0,onSuccess:e=>{var t;let r=null==e||null==(t=e.data)?void 0:t.data;r&&eV(r.flatMap(e=>{var t;return(null==(t=e.valid_values)?void 0:t.map(e=>({label:e.label,value:e.key,key:e.key})))||[]}).filter((e,t,r)=>t===r.findIndex(t=>t.value===e.value)))}});(0,a.useEffect)(()=>{(null==eL?void 0:eL.sub_type)&&eD.includes("resource")&&!U.O.includes(eL.sub_type)&&eB(eL.sub_type)},[null==eL?void 0:eL.sub_type]);let eW=(0,a.useMemo)(()=>(null==Z?void 0:Z.filter(e=>"resource"!==e.param_type))||[],[Z]),eq=(0,a.useCallback)(e=>{if(!e||!eL)return;let t=eP.find(t=>t.value===e);G(t),ee([...eW,{param_type:"resource",param_value:JSON.stringify(t),sub_type:eL.sub_type}])},[eL,eP,eW,G,ee]),eK=(0,a.useCallback)(async e=>{let t=new FormData;t.append("doc_files",e);let[,r]=await (0,V.VbY)((0,V.o0$)({convUid:eU||"",chatMode:eJ||"chat_normal",data:t,model:ec,temperatureValue:el,maxNewTokensValue:ei,config:{timeout:36e5}}));r&&eL&&(ee([...eW,{param_type:"resource",param_value:JSON.stringify(r),sub_type:eL.sub_type}]),G(r))},[eU,eJ,ec,el,ei,eL,eW,ee,G]),e$=(0,a.useMemo)(()=>{let e={},t=[];return eN.filter(e=>"llm"===e.worker_type&&e.model_name.toLowerCase().includes(eI.toLowerCase())).forEach(r=>{let s="Other";r.host&&r.host.startsWith("proxy@")?s=(s=r.host.replace("proxy@","")).charAt(0).toUpperCase()+s.slice(1):r.host&&"127.0.0.1"!==r.host&&"localhost"!==r.host&&(s=r.host),s&&"Other"!==s?(e[s]||(e[s]=[]),e[s].push(r.model_name)):t.push(r.model_name)}),{groups:e,otherModels:t}},[eN,eI]),eY=(0,s.jsxs)("div",{className:"w-80 flex flex-col h-[400px]",children:[(0,s.jsx)("div",{className:"p-3 border-b border-gray-100 dark:border-gray-700 flex items-center gap-2 flex-shrink-0",children:(0,s.jsx)(N.A,{prefix:(0,s.jsx)(i.A,{className:"text-gray-400"}),placeholder:F("search_model","搜索模型"),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-lg flex-1",value:eI,onChange:e=>eC(e.target.value)})}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-2 px-2",children:[Object.entries(e$.groups).length>0&&(0,s.jsx)(_.A,{ghost:!0,defaultActiveKey:["AgentLLM",...Object.keys(e$.groups)],expandIcon:e=>{let{isActive:t}=e;return(0,s.jsx)(o.A,{rotate:180*!!t,className:"text-xs text-gray-400"})},className:"[&_.ant-collapse-header]:!p-2 [&_.ant-collapse-content-box]:!p-0",children:Object.entries(e$.groups).map(e=>{let[t,r]=e;return(0,s.jsx)(H,{header:(0,s.jsx)("span",{className:"text-xs font-medium text-gray-500",children:t}),children:r.map(e=>(0,s.jsxs)("div",{className:P()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eA===e?"bg-indigo-50 dark:bg-indigo-900/20":""),onClick:()=>{var t,r;eS(e),eO(!1);let s=(null==Z?void 0:Z.filter(e=>"model"!==e.param_type))||[],a=null==Y||null==(r=Y.layout)||null==(t=r.chat_in_layout)?void 0:t.find(e=>"model"===e.param_type);ee([...s,{param_type:"model",param_value:e,sub_type:null==a?void 0:a.sub_type}])},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,s.jsx)(J.A,{model:e,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eA===e&&(0,s.jsx)(d.A,{className:"text-indigo-500 flex-shrink-0"})]},e))},t)})}),e$.otherModels.length>0&&(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("div",{className:"px-2 py-1 text-xs font-medium text-gray-500",children:F("other_models","其他模型")}),e$.otherModels.map(e=>(0,s.jsxs)("div",{className:P()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eA===e?"bg-indigo-50 dark:bg-indigo-900/20":""),onClick:()=>{eS(e),eO(!1)},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,s.jsx)(J.A,{model:e,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eA===e&&(0,s.jsx)(d.A,{className:"text-indigo-500 flex-shrink-0"})]},e))]}),0===Object.keys(e$.groups).length&&0===e$.otherModels.length&&(0,s.jsx)("div",{className:"px-3 py-8 text-center text-gray-400 text-xs",children:F("no_models_found","未找到模型")})]})]}),eX=e=>{let{file:t,onRemove:r}=e,[l,n]=(0,a.useState)("");(0,a.useEffect)(()=>{if(t.type.startsWith("image/")){let e=URL.createObjectURL(t);return n(e),()=>URL.revokeObjectURL(e)}},[t]);let i=t.name.endsWith(".md")||"text/markdown"===t.type;return(0,s.jsxs)("div",{className:"relative group flex-shrink-0",children:[t.type.startsWith("image/")?(0,s.jsx)("div",{className:"w-12 h-12 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,s.jsx)("img",{src:l,alt:t.name,className:"w-full h-full object-cover"})}):i?(0,s.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg border border-blue-200 dark:border-blue-800 bg-blue-50/50 dark:bg-blue-900/20",children:[(0,s.jsxs)("div",{className:"w-8 h-10 rounded bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 flex flex-col items-center justify-center relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500",style:{clipPath:"polygon(100% 0, 0 0, 100% 100%)"}}),(0,s.jsx)(m.A,{className:"text-blue-500 text-lg"}),(0,s.jsx)("span",{className:"text-[8px] text-blue-600 dark:text-blue-400 font-medium mt-0.5",children:"MD"})]}),(0,s.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:t.name}),(0,s.jsxs)("span",{className:"text-[10px] text-gray-400",children:[(t.size/1024).toFixed(1)," KB"]})]}),(0,s.jsx)("button",{className:"ml-1 p-1 rounded-full hover:bg-red-100 dark:hover:bg-red-900/30 text-gray-400 hover:text-red-500 transition-colors",onClick:e=>{e.stopPropagation(),r()},children:(0,s.jsx)(c.A,{className:"text-xs"})})]}):(0,s.jsx)("div",{className:"w-12 h-12 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F] flex items-center justify-center bg-gray-50 dark:bg-gray-800",children:(0,s.jsx)(m.A,{className:"text-gray-400 text-xl"})}),!i&&(0,s.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-black/50 hover:bg-red-500 rounded-full flex items-center justify-center cursor-pointer transition-all opacity-0 group-hover:opacity-100 backdrop-blur-sm",onClick:e=>{e.stopPropagation(),r()},children:(0,s.jsx)(c.A,{className:"text-white text-xs"})})]})},eG=async()=>{var e;let t;if(!ep.trim()&&0===ef.length)return;if(eH){let e=Z.find(e=>"resource"===e.param_type);if(!((null==e?void 0:e.param_value)&&""!==e.param_value.trim()))return void k.Ay.warning(F("please_select_resource","请先选择资源"))}e_.current++,setTimeout(()=>{var e,t;null==(t=q.current)||t.scrollTo({top:null==(e=q.current)?void 0:e.scrollHeight,behavior:"smooth"})},0);let r=Z.find(e=>"resource"===e.param_type);if(U.O.includes(null!=(e=null==r?void 0:r.sub_type)?e:"")){let e=[...(0,D.nr)(X)||[]];ep.trim()&&e.push({type:"text",text:ep}),t={role:"user",content:e}}else t=ep;ex(""),ey([]),await $(t,{app_code:Y.app_code||"",...eD.length&&{chat_in_params:Z}}),1===e_.current&&Q&&await Q()},eQ=async()=>{var e;ew||(ej(!0),await (0,V.VbY)((0,V.CKM)((null==(e=W.currentDialogue)?void 0:e.conv_uid)||"")).finally(async()=>{await ed(),ej(!1)}))};return(0,s.jsxs)("div",{className:"w-full relative",children:[B&&et.length>0&&(0,s.jsxs)("div",{className:"absolute -top-14 right-0 flex items-center gap-1 bg-white dark:bg-gray-800 rounded-full shadow-lg border border-gray-100 dark:border-gray-700 px-2 py-1 z-20",children:[(0,s.jsx)(A.A,{title:F("stop_replying","暂停生成"),placement:"top",children:(0,s.jsx)("button",{onClick:()=>{var e;er&&((0,V.vcX)({conv_session_id:(null==(e=W.currentDialogue)?void 0:e.conv_uid)||""}),E&&E.abort(),setTimeout(()=>{es(!1),ea(!1)},100))},disabled:!er,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",er?"hover:bg-red-50 text-gray-600 hover:text-red-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:(0,s.jsx)(p.A,{className:"text-lg"})})}),(0,s.jsx)(A.A,{title:F("answer_again","重新生成"),placement:"top",children:(0,s.jsx)("button",{onClick:()=>{var e,t;let r=null==(t=et.filter(e=>"human"===e.role))||null==(e=t.slice(-1))?void 0:e[0];r&&($(r.context||"",{app_code:Y.app_code,...eD.length&&{chat_in_params:Z}}),setTimeout(()=>{var e,t;null==(t=q.current)||t.scrollTo({top:null==(e=q.current)?void 0:e.scrollHeight,behavior:"smooth"})},0))},disabled:K||0===et.length,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",!K&&et.length>0?"hover:bg-indigo-50 text-gray-600 hover:text-indigo-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:(0,s.jsx)(x.A,{className:"text-lg"})})}),(0,s.jsx)(A.A,{title:F("erase_memory","清空对话"),placement:"top",children:(0,s.jsx)("button",{onClick:eQ,disabled:ew||0===et.length,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",!ew&&et.length>0?"hover:bg-orange-50 text-gray-600 hover:text-orange-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:ew?(0,s.jsx)(S.A,{indicator:(0,s.jsx)(h.A,{style:{fontSize:16},spin:!0})}):(0,s.jsx)(g.A,{className:"text-lg"})})})]}),(0,s.jsxs)("div",{className:P()("w-full bg-white dark:bg-[#232734] rounded-2xl shadow-sm border transition-all duration-300",eh?"border-indigo-500/50 shadow-lg ring-4 ring-indigo-500/5":"border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600"),children:[(0,s.jsx)(()=>eu&&0!==eu.length?(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mb-3 px-4 pt-3",children:eu.map(e=>{var t,r;return(0,s.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg border border-blue-200 dark:border-blue-800 bg-blue-50/50 dark:bg-blue-900/20 text-sm",children:[e.icon?(0,s.jsx)("img",{src:e.icon,className:"w-4 h-4 rounded",alt:e.name}):(0,s.jsx)("div",{className:"w-4 h-4 rounded bg-blue-500 flex items-center justify-center text-white text-xs font-medium",children:(null==(r=e.name)||null==(t=r.charAt(0))?void 0:t.toUpperCase())||"S"}),(0,s.jsx)("span",{className:"text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:e.name}),(0,s.jsx)("button",{onClick:()=>(e=>{em(eu.filter(t=>t.skill_code!==e)),ee(Z.filter(t=>!("resource"===t.param_type&&"skill(derisk)"===t.sub_type&&(()=>{try{return JSON.parse(t.param_value).skill_code===e}catch(e){return!1}})())))})(e.skill_code),className:"ml-1 text-gray-400 hover:text-red-500 transition-colors",children:(0,s.jsx)(c.A,{className:"text-xs"})})]},e.skill_code)})}):null,{}),(0,s.jsx)(()=>{let e=X&&(0,D.nr)(X)||[];if(0===e.length)return null;let t=()=>{G({});let e=Z.find(e=>"resource"===e.param_type);e&&(null==e?void 0:e.param_value)&&ee([...eW,{param_type:"resource",param_value:"",sub_type:null==eL?void 0:eL.sub_type}])};return(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mb-3",children:e.map((e,r)=>{var a,l;if("image_url"===e.type&&(null==(a=e.image_url)?void 0:a.url)){let a=(0,D.sC)(e.image_url.url);return(0,s.jsxs)("div",{className:"relative group flex-shrink-0",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden bg-gray-50 dark:bg-gray-800",children:(0,s.jsx)("img",{src:a,alt:e.image_url.file_name||"Preview",className:"w-full h-full object-cover"})}),(0,s.jsx)("button",{onClick:t,className:"absolute -top-1.5 -right-1.5 w-5 h-5 bg-gray-500 hover:bg-red-500 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity shadow-sm",children:(0,s.jsx)(c.A,{className:"text-white text-xs"})})]},"img-".concat(r))}return"file_url"===e.type&&(null==(l=e.file_url)?void 0:l.url)?(0,s.jsxs)("div",{className:"relative group flex items-center gap-2 px-3 py-1.5 rounded-lg border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 text-sm",children:[(0,s.jsx)(u.A,{className:"text-gray-400"}),(0,s.jsx)("span",{className:"text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:e.file_url.file_name}),(0,s.jsx)("button",{onClick:t,className:"ml-1 text-gray-400 hover:text-red-500 transition-colors",children:(0,s.jsx)(c.A,{className:"text-xs"})})]},"file-".concat(r)):null})})},{}),ef.length>0&&(0,s.jsx)("div",{className:"flex gap-2 px-4 pt-3 overflow-x-auto scrollbar-hide",children:ef.map((e,t)=>(0,s.jsx)(eX,{file:e,onRemove:()=>{let e=[...ef];e.splice(t,1),ey(e)}},t+e.name))}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsx)(N.A.TextArea,{placeholder:F("input_tips","输入消息..."),className:"!text-base !bg-transparent !border-0 !resize-none placeholder:!text-gray-400 !text-gray-800 dark:!text-gray-200 !shadow-none !p-0 !min-h-[60px]",autoSize:{minRows:2,maxRows:8},value:ep,onChange:e=>ex(e.target.value),onFocus:()=>eg(!0),onBlur:()=>eg(!1),onCompositionStart:()=>eb(!0),onCompositionEnd:()=>eb(!1),onKeyDown:e=>{"Enter"===e.key&&(e.shiftKey||ev||(e.preventDefault(),ep.trim()&&!K&&eG()))}})}),(0,s.jsxs)("div",{className:"flex items-center justify-between px-3 pb-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[eH&&(0,s.jsx)(I.A,{className:"w-[160px] h-9 [&_.ant-select-selector]:!pr-8 [&_.ant-select-selection-item]:!max-w-[100px] [&_.ant-select-selection-item]:!truncate",placeholder:(null==eL?void 0:eL.param_description)||F("select_resource","选择资源"),value:(null==X?void 0:X.value)||(null==X?void 0:X.key),onChange:eq,loading:eF,options:eP,suffixIcon:(0,s.jsx)(f.A,{className:"text-gray-400"}),variant:"borderless",style:{backgroundColor:"rgb(249 250 251 / 1)",borderRadius:"9999px"},popupMatchSelectWidth:!1}),ez&&(0,s.jsx)(C.A,{name:"file",accept:(e=>{switch(e){case"excel_file":return".csv,.xlsx,.xls";case"text_file":return".txt,.doc,.docx,.pdf,.md";case"image_file":return".jpg,.jpeg,.png,.gif,.bmp,.webp";case"audio_file":return".mp3,.wav,.ogg,.aac";case"video_file":return".mp4,.wav,.mov";default:return""}})((null==eL?void 0:eL.sub_type)||""),showUploadList:!1,beforeUpload:e=>(eK(e),!1),children:(0,s.jsx)(A.A,{title:(null==eL?void 0:eL.param_description)||F("upload_file","上传文件"),children:(0,s.jsx)("button",{className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-all",children:(0,s.jsx)(y.A,{})})})}),(eH||ez)&&(0,s.jsx)("div",{className:"w-px h-5 bg-gray-200 dark:bg-gray-700 mx-1"}),(0,s.jsx)(T.A,{content:eY,trigger:"click",placement:"topLeft",open:eT,onOpenChange:eO,arrow:!1,overlayClassName:"[&_.ant-popover-inner]:!p-0 [&_.ant-popover-inner]:!rounded-xl [&_.ant-popover-inner]:!shadow-xl",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800 px-3 py-1.5 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-all group",children:[(0,s.jsx)(J.A,{model:eA,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300 max-w-[100px] truncate group-hover:text-indigo-500 transition-colors",children:eA||F("select_model","选择模型")}),(0,s.jsx)(o.A,{className:"text-xs text-gray-400 group-hover:text-indigo-500 transition-colors"})]})}),(0,s.jsx)(A.A,{title:F("model_params","模型参数"),children:(0,s.jsx)("button",{onClick:()=>eE(!0),className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-indigo-500 transition-all",children:(0,s.jsx)(n.A,{})})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(C.A,{...{onRemove:e=>{let t=ef.indexOf(e),r=ef.slice();r.splice(t,1),ey(r)},beforeUpload:e=>(ey([...ef,e]),!1),fileList:ef},showUploadList:!1,children:(0,s.jsx)("button",{className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-all",children:(0,s.jsx)(v.A,{})})}),(0,s.jsx)(O.Ay,{type:"primary",shape:"circle",className:P()("w-10 h-10 flex items-center justify-center transition-all !border-0",ep.trim()||ef.length>0?"bg-gradient-to-r from-indigo-500 to-indigo-600 hover:from-indigo-600 hover:to-indigo-700 shadow-md hover:shadow-lg":"bg-gray-200 text-gray-400 cursor-not-allowed"),onClick:eG,disabled:!ep.trim()&&0===ef.length||K,children:K?(0,s.jsx)(S.A,{indicator:(0,s.jsx)(h.A,{className:"text-white",spin:!0})}):(0,s.jsx)(b.A,{className:"text-white text-lg"})})]})]})]}),(0,s.jsx)(z,{open:eM,onClose:()=>eE(!1),temperature:el,onTemperatureChange:en,maxTokens:ei,onMaxTokensChange:eo})]})};var F=r(78966),W=r.n(F),q=r(51368),K=r(44318),$=r(51259),Y=r(64413),X=r(44261),G=r(65095),Q=r(91573),Z=r(19696),ee=r(69068),et=r.n(ee),er=r(76572);let es=e=>{var t,r;let{isScrollToTop:n=!1,isProcessing:i=!1}=e,{appInfo:o,refreshAppInfo:d,history:c,setHistory:u}=(0,a.useContext)(R.zo),{initChatId:m}=(0,a.useContext)(R.BR),{t:p}=(0,l.Bd)();(0,L.useRouter)(),(0,L.useSearchParams)();let x=(0,a.useMemo)(()=>{var e;return(null==o||null==(e=o.team_context)?void 0:e.chat_scene)||"chat_agent"},[o]),h=(0,a.useMemo)(()=>(null==o?void 0:o.icon)||"",[o]),g=(0,a.useMemo)(()=>(null==o?void 0:o.is_collected)==="true",[o]),{run:f}=(0,M.A)(async()=>{let[e]=await (0,V.VbY)(g?(0,V.bQX)({app_code:o.app_code}):(0,V.cTz)({app_code:o.app_code}));if(!e)return await d()},{manual:!0});if(!Object.keys(o).length)return null;let y=async()=>{let e=et()(location.href);k.Ay[e?"success":"error"](e?p("copy_success"):p("copy_failed"))},v=async()=>{let e=null==o?void 0:o.app_code;e&&m&&(null==u||u([]),await m(e))},b=[{key:"share",icon:(0,s.jsx)(K.A,{}),label:p("share","分享对话"),onClick:y},{key:"collect",icon:g?(0,s.jsx)($.A,{className:"text-amber-400"}):(0,s.jsx)(Y.A,{}),label:g?p("uncollect","取消收藏"):p("collect","收藏应用"),onClick:()=>f()}],_=c.filter(e=>"human"===e.role).length;return(0,s.jsx)("div",{className:"w-full bg-white/80 dark:bg-gray-900/80 backdrop-blur-md border-b border-gray-100 dark:border-gray-800",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-4 py-4",children:[(0,s.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,s.jsx)("div",{className:P()("w-11 h-11 rounded-xl flex items-center justify-center shadow-md transition-all duration-300",h?"bg-white ring-1 ring-gray-100":"bg-gradient-to-br from-indigo-500 to-purple-600"),children:h?(0,s.jsx)("img",{src:h,alt:null==o?void 0:o.app_name,className:"w-8 h-8 object-contain rounded-lg"}):(0,s.jsx)(er.A,{scene:x,width:22,height:22})}),i&&(0,s.jsxs)("div",{className:"absolute -bottom-0.5 -right-0.5 w-3 h-3",children:[(0,s.jsx)("span",{className:"absolute inset-0 rounded-full bg-emerald-400 animate-ping opacity-75"}),(0,s.jsx)("span",{className:"absolute inset-0.5 rounded-full bg-emerald-500"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-0.5 flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("h1",{className:"text-base font-semibold text-gray-900 dark:text-white truncate",children:null==o?void 0:o.app_name}),g&&(0,s.jsx)($.A,{className:"text-amber-400 text-xs flex-shrink-0"}),(null==o?void 0:o.team_mode)&&(0,s.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400 flex-shrink-0",children:null==o?void 0:o.team_mode})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-500 dark:text-gray-400",children:[(null==o||null==(t=o.team_context)?void 0:t.chat_scene)&&(0,s.jsx)("span",{className:"truncate",children:null==o||null==(r=o.team_context)?void 0:r.chat_scene}),_>0&&(0,s.jsxs)("span",{className:"flex items-center gap-1 flex-shrink-0",children:[(0,s.jsx)("span",{className:"w-0.5 h-0.5 rounded-full bg-gray-300"}),_," 轮"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1 flex-shrink-0",children:[(0,s.jsx)(A.A,{title:"新会话",placement:"bottom",children:(0,s.jsx)(O.Ay,{type:"text",size:"small",icon:(0,s.jsx)(X.A,{className:"text-sm"}),onClick:v,className:"w-7 h-7 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800"})}),(0,s.jsx)(A.A,{title:"更多",placement:"bottom",children:(0,s.jsx)(Z.A,{menu:{items:b},placement:"bottomRight",trigger:["click"],children:(0,s.jsx)(O.Ay,{type:"text",size:"small",icon:(0,s.jsx)(G.A,{className:"text-sm"}),className:"w-7 h-7 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800"})})}),(0,s.jsx)(A.A,{title:"分享",placement:"bottom",children:(0,s.jsx)(O.Ay,{type:"primary",size:"small",icon:(0,s.jsx)(Q.A,{className:"text-xs"}),onClick:y,className:"rounded-lg bg-gray-900 hover:bg-gray-800 dark:bg-white dark:text-gray-900 dark:hover:bg-gray-100 border-0 text-xs h-7",children:"分享"})})]})]})})})};var ea=r(54171),el=r(50482),en=r(3231),ei=r(92199),eo=r(28562);let ed=()=>{let e={};try{var t;e=JSON.parse(null!=(t=localStorage.getItem(el.Gm))?t:"{}")}catch(e){console.error(e)}return(0,s.jsx)(eo.A,{src:null==e?void 0:e.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer shrink-0",size:32,children:null==e?void 0:e.nick_name})},ec={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(en.A,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(h.A,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(c.A,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(d.A,{className:"ml-2"})}},eu=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,""),em=(0,a.memo)(e=>{let{content:t,onLinkClick:r,messages:n}=e,{t:i}=(0,l.Bd)(),{context:o,role:d,thinking:c}=t,u=(0,a.useMemo)(()=>"view"===d,[d]),{value:m,cachePluginContext:p}=(0,a.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),r=t?t.split(","):[],s=[],a=0,l=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let r=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),l=JSON.parse(r),n="".concat(a,"");return s.push({...l,result:eu(null!=(t=l.result)?t:"")}),a++,n}catch(t){return console.error(t),e}});return{relations:r,cachePluginContext:s,value:l}},[o]),x=(0,a.useMemo)(()=>({"custom-view"(e){var t;let{children:r}=e,a=+r.toString();if(!p[a])return r;let{name:l,status:n,err_msg:i,result:o}=p[a],{bgClass:d,icon:c}=null!=(t=ec[n])?t:{};return(0,s.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,s.jsxs)("div",{className:P()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[l,c]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(ei.A,{components:ea.Ay,...ea.iU,children:(0,ea.Jg)(null!=o?o:"")})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[p]),h=function(e){try{return JSON.parse(e)}catch(e){return{left:"",right:""}}}(o),g=null==h?void 0:h.planning_window,f=void 0!==g?g:m;return(0,s.jsxs)(s.Fragment,{children:[!u&&(0,s.jsxs)("div",{className:"flex flex-1 justify-end items-start pb-4 pt-6",style:{gap:12},children:[(0,s.jsx)("span",{className:"break-words",style:{maxWidth:"80%",minWidth:0},children:"string"==typeof o?(0,s.jsx)("div",{className:"flex-1 text-sm text-[#1c2533] dark:text-white",style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:"string"==typeof o&&(0,s.jsx)("div",{children:(0,s.jsx)(ei.A,{components:{...ea.Ay,img:e=>{let{src:t,alt:r,...a}=e;return(0,s.jsx)("img",{src:t,alt:r||"image",className:"max-w-full md:max-w-[80%] lg:max-w-[70%] object-contain",style:{maxHeight:"200px"},...a})}},...ea.iU,children:(0,ea.Jg)(eu(m))})})}):(null==o?void 0:o.template_introduce)||""}),(0,s.jsx)(ed,{})]}),u&&(0,s.jsxs)("div",{className:"flex flex-col pr-2 border-dashed border-r0 flex-1",children:[(0,s.jsx)(ei.A,{components:{...ea.Ay,...x},...ea.iU,children:(0,ea.Jg)((e=>null==e?void 0:e.replace(/]+)>/gi,"
").replace(/]+)>/gi,""))(f))}),c&&!o&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:i("thinking")}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]})]})}),ep=(0,a.memo)(e=>{var t,r;let{ctrl:l}=e,n=(0,a.useRef)(null),{history:i,replyLoading:o}=(0,a.useContext)(R.zo),[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(""),p=(0,a.useMemo)(()=>W()(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,q.A)()})),[i]);(0,a.useEffect)(()=>{setTimeout(()=>{var e,t;null==(t=n.current)||t.scrollTo(0,null==(e=n.current)?void 0:e.scrollHeight)},50)},[i,null==(t=i[i.length-1])?void 0:t.context]);let x=p.length>0,h=o||i.length>0&&(null==(r=i[i.length-1])?void 0:r.thinking);return(0,s.jsxs)("div",{className:"flex flex-col h-full bg-[#FAFAFA] dark:bg-[#111]",children:[(0,s.jsx)(es,{isProcessing:h}),(0,s.jsx)("div",{ref:n,className:"flex-1 overflow-y-auto",children:x&&(0,s.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8 py-6",children:(0,s.jsxs)("div",{className:"max-w-3xl mx-auto",children:[p.map((e,t)=>(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsx)(em,{content:e,onLinkClick:()=>{c(!0),m(JSON.stringify(null==e?void 0:e.context,null,2))},messages:p})},t)),(0,s.jsx)("div",{className:"h-20"})]})})}),(0,s.jsx)("div",{className:"flex-shrink-0 pb-6 pt-2 px-4 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,s.jsx)(B,{ctrl:l,showFloatingActions:x})})})]})}),ex=(0,a.memo)(e=>{let{content:t,data:r}=e;if(null==r?void 0:r.running_window){let e=r.running_window.match(/```d-work\n([\s\S]*?)\n```/);if(e)try{let t=JSON.parse(e[1]),a={...t,explorer:r.explorer||t.explorer,items:r.items||t.items};return(0,s.jsx)("div",{className:"h-full w-full flex flex-col [&_.gpt-vis]:h-full [&_.gpt-vis]:flex-grow [&_.gpt-vis_pre]:flex-grow [&_.gpt-vis_pre]:h-full [&_.gpt-vis_pre]:m-0 [&_.gpt-vis_pre]:p-0 [&_.gpt-vis_pre]:bg-transparent [&_.gpt-vis_pre]:border-0 [&_.gpt-vis_pre]:flex [&_.gpt-vis_pre]:flex-col",children:(0,s.jsx)(ei.A,{components:{...ea.Ay},...ea.iU,children:"```d-work\n".concat(JSON.stringify(a),"\n```")})})}catch(e){console.error("Failed to parse running window data:",e)}}return(0,s.jsx)("div",{className:"h-full w-full flex flex-col [&_.gpt-vis]:h-full [&_.gpt-vis]:flex-grow [&_.gpt-vis_pre]:flex-grow [&_.gpt-vis_pre]:h-full [&_.gpt-vis_pre]:m-0 [&_.gpt-vis_pre]:p-0 [&_.gpt-vis_pre]:bg-transparent [&_.gpt-vis_pre]:border-0 [&_.gpt-vis_pre]:flex [&_.gpt-vis_pre]:flex-col",children:(0,s.jsx)(ei.A,{components:{...ea.Ay},...ea.iU,children:t||(null==r?void 0:r.running_window)||""})})});var eh=r(32429),eg=r(14042);let ef=(0,a.memo)(e=>{var t,r;let{ctrl:l}=e,n=(0,a.useRef)(null),{history:i,replyLoading:o}=(0,a.useContext)(R.zo),{runningWindowData:d}=function(e){let[t,r]=(0,a.useState)({}),[s,l]=(0,a.useState)("");return(0,a.useEffect)(()=>{if(!Array.isArray(e)){r({}),l("");return}let t={},s="";for(let r of e)try{if("string"==typeof r.context&&!r.context.trim().startsWith("{"))continue;let e="string"==typeof r.context?JSON.parse(r.context):r.context,a="",l="",n=[];if(e.running_window)a=e.running_window;else if(e.vis){let r="string"==typeof e.vis?JSON.parse(e.vis):e.vis;a=r.running_window||"",l=r.explorer||t.explorer||"",n=r.items||[]}l&&(t.explorer=l),n.length>0&&(t.items=[...t.items||[],...n]),a&&(t.running_window=a,s=a)}catch(e){console.debug("Skipping invalid chat item context:",{error:e instanceof Error?e.message:String(e),itemId:(null==r?void 0:r.id)||(null==r?void 0:r.order),contextSample:"string"==typeof(null==r?void 0:r.context)?r.context.substring(0,50):"[non-string context]"})}r(t),l(s)},[e]),{runningWindowData:t,runningWindowMarkdown:s}}(i),[c,u]=(0,a.useState)(!1),[m,p]=(0,a.useState)(!1),x=(0,a.useMemo)(()=>W()(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,q.A)()})),[i]),h=(0,a.useMemo)(()=>!!((null==d?void 0:d.running_window)||(null==d?void 0:d.items)&&d.items.length>0),[d]);(0,a.useEffect)(()=>{let e=()=>{p(!0),u(!1)},t=()=>{p(!1),u(!0)};return eg.ee.on(eg.q.CLOSE_PANEL,e),eg.ee.on(eg.q.OPEN_PANEL,t),()=>{eg.ee.off(eg.q.CLOSE_PANEL,e),eg.ee.off(eg.q.OPEN_PANEL,t)}},[]),(0,a.useEffect)(()=>{!h||c||m||u(!0)},[h,c,m]);let g=(0,a.useRef)(d);(0,a.useEffect)(()=>{JSON.stringify(g.current)!==JSON.stringify(d)&&(g.current=d,h&&(p(!1),u(!0)))},[d,h]),(0,a.useEffect)(()=>{setTimeout(()=>{var e,t;null==(t=n.current)||t.scrollTo(0,null==(e=n.current)?void 0:e.scrollHeight)},50)},[i,null==(t=i[i.length-1])?void 0:t.context]);let f=x.length>0,y=o||i.length>0&&(null==(r=i[i.length-1])?void 0:r.thinking);return(0,s.jsxs)("div",{className:"flex h-full w-full overflow-hidden bg-gradient-to-br from-slate-100 to-slate-50",children:[(0,s.jsxs)("div",{className:P()("flex flex-col h-full transition-all duration-300 ease-out",c&&h?"w-[38%] min-w-[340px]":"flex-1"),children:[(0,s.jsx)(es,{isProcessing:y}),(0,s.jsx)("div",{className:"flex-1 overflow-y-auto",ref:n,children:f?(0,s.jsx)("div",{className:"w-full px-4 py-3",children:(0,s.jsxs)("div",{className:"max-w-3xl mx-auto space-y-2",children:[x.map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)(em,{content:e,messages:x})},t)),(0,s.jsx)("div",{className:"h-8"})]})}):(0,s.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"w-14 h-14 mx-auto mb-3 rounded-xl bg-gradient-to-br from-blue-500 to-indigo-600 flex items-center justify-center shadow-lg shadow-blue-500/20",children:(0,s.jsx)("span",{className:"text-2xl",children:"✨"})}),(0,s.jsx)("h3",{className:"text-base font-medium text-slate-700 mb-1",children:"开始新的对话"}),(0,s.jsx)("p",{className:"text-slate-400 text-sm",children:"输入消息开始与应用对话"})]})})}),(0,s.jsx)("div",{className:"flex-shrink-0 pb-3 pt-1 px-4",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,s.jsx)(B,{ctrl:l,showFloatingActions:f})})})]}),h&&!c&&(0,s.jsx)("div",{className:"fixed right-4 top-1/2 -translate-y-1/2 z-40",children:(0,s.jsx)(A.A,{title:"显示工作区",placement:"left",children:(0,s.jsx)(O.Ay,{type:"default",shape:"circle",size:"large",icon:(0,s.jsx)(eh.A,{}),onClick:()=>{p(!1),u(!0)},className:"shadow-lg border-slate-200 bg-white/95 hover:bg-slate-50"})})}),c&&h&&(0,s.jsx)("div",{className:P()("flex flex-col bg-white border-l border-slate-200 transition-all duration-300 ease-out","w-[62%] min-w-[480px] h-full"),children:(0,s.jsx)("div",{className:"h-full w-full overflow-hidden",children:(0,s.jsx)(ex,{data:d})})})]})}),ey=(0,a.memo)((0,a.forwardRef)((e,t)=>{var r,l,n,i;let{ctrl:o}=e,{appInfo:d}=(0,a.useContext)(R.zo),c=(0,a.useRef)(null),[u,m]=(0,a.useState)(!1),[p,x]=(0,a.useState)(!0),[h,g]=(0,a.useState)(!1);(0,a.useImperativeHandle)(t,()=>c.current);let f=(0,a.useMemo)(()=>{var e,t,r,s;return(null==d||null==(t=d.layout)||null==(e=t.chat_layout)?void 0:e.reuse_name)==="derisk_vis_window"||(null==d||null==(s=d.layout)||null==(r=s.chat_layout)?void 0:r.name)==="derisk_vis_window"},[null==d||null==(l=d.layout)||null==(r=l.chat_layout)?void 0:r.name,null==d||null==(i=d.layout)||null==(n=i.chat_layout)?void 0:n.reuse_name]);return(0,s.jsx)("div",{ref:c,className:"flex flex-1 h-full w-full overflow-hidden",children:f?(0,s.jsx)(ef,{ctrl:o}):(0,s.jsx)(ep,{ctrl:o})})}))},70061:(e,t,r)=>{r.d(t,{Tc:()=>m,yh:()=>p});var s=r(60363),a=r.n(s),l=r(71965),n=r(94793),i=r(96705),o=r(54514),d=r(36174);function c(e){if(!e)throw Error("Empty or null JSON string");try{return JSON.parse(e)}catch(t){return JSON.parse(e.replace(/\\\$/g,"$"))}}function u(e){if(!e)return!0;let t=e.match(/```/g);return!!t&&t.length%2!=0}class m{destroy(){this.incrNodesMap.clear(),this.uidIndex.clear(),this.astRoot=null,this.currentVis=""}updateCurrentMarkdown(e){if(null==e)return this.currentVis;if(""===e)return this.currentVis="",this.astRoot=null,this.uidIndex.clear(),this.incrNodesMap.clear(),this.currentVis;if(!this.currentVis)return this.currentVis=e,this.astRoot=this.parseVis2AST(e),this.rebuildIndex(),this.currentVis;let t=this.parseVis2AST(e);return this.extractIncrContent(t),this.astRoot||(this.astRoot=this.parseVis2AST(this.currentVis),this.rebuildIndex()),this.mergeIncrementalChunk(t),this.currentVis=this.parseAST2Vis(this.astRoot),this.currentVis}queryByUID(e){let t,r=this.uidIndex.get(e);if(!r)return{found:!1};try{"ast"===r.nodeType&&r.node.value?t=c(r.node.value):"item"===r.nodeType?t=r.node:"nested"===r.nodeType&&r.node.value&&(t=c(r.node.value))}catch(e){}return{found:!0,entry:r,visItem:t}}getComponentPath(e){let t=this.uidIndex.get(e);return t?t.path:[]}getChildrenUIDs(e){let t=[];return this.uidIndex.forEach((r,s)=>{r.parentUid===e&&t.push(s)}),t}getIndexStats(){let e={total:this.uidIndex.size,byType:{ast:0,item:0,nested:0},maxDepth:0};return this.uidIndex.forEach(t=>{e.byType[t.nodeType]=(e.byType[t.nodeType]||0)+1,e.maxDepth=Math.max(e.maxDepth,t.depth)}),e}mergeIncrementalChunk(e){this.astRoot&&(this.traverseASTNodes(e,(e,t)=>{let r=t.uid;if(!r)return;let s=this.uidIndex.get(r);s?this.mergeExistingNode(s,t,e):this.smartMountNewNode(e,t)}),this.rebuildIndex())}mergeExistingNode(e,t,r){try{let r;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;r=c(e.node.value)}else{if("item"!==e.nodeType)return;r=e.node}let s=this.combineVisItem(r,t);if("ast"===e.nodeType)e.node.value=JSON.stringify(s);else if("nested"===e.nodeType)this.updateNestedNodeInHost(e,s);else if("item"===e.nodeType){if(e.itemsHostNode&&void 0!==e.itemIndex){let t=c(e.itemsHostNode.value);t.items&&t.items[e.itemIndex]&&(t.items[e.itemIndex]=s,e.itemsHostNode.value=JSON.stringify(t))}else e.itemsHost&&void 0!==e.itemIndex&&(e.itemsHost.items[e.itemIndex]=s);Object.assign(e.node,s)}}catch(e){console.error("[mergeExistingNode] Error merging uid=".concat(t.uid,":"),e)}}updateNestedNodeInHost(e,t){let r=t.uid,s=e.markdownHost||e.parentNode;if(!s||!s.value){e.node.value=JSON.stringify(t);return}try{let a=c(s.value);if(!a.markdown){e.node.value=JSON.stringify(t);return}let l=this.parseVis2AST(a.markdown),n=!1;if(this.traverseASTNodes(l,(e,s)=>{s.uid===r&&(e.value=JSON.stringify(t),n=!0)}),n){a.markdown=this.parseAST2Vis(l),s.value=JSON.stringify(a);let e=this.uidIndex.get(a.uid);e&&"nested"===e.nodeType&&this.updateNestedNodeInHost(e,a)}else e.node.value=JSON.stringify(t)}catch(r){console.error("[updateNestedNodeInHost] Error:",r),e.node.value=JSON.stringify(t)}}smartMountNewNode(e,t){if(!this.astRoot)return;let r=t.parent_uid;if(r){let s=this.uidIndex.get(r);if(s)return void this.mountToParentMarkdown(s,e,t)}this.astRoot.children&&this.astRoot.children.push(e)}mountToParentMarkdown(e,t,r){try{let r,s;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;r=c(e.node.value),s=t=>{e.node.value=JSON.stringify(t)}}else{if("item"!==e.nodeType)return;r=e.node,s=t=>{if(Object.assign(e.node,t),e.itemsHostNode&&void 0!==e.itemIndex){let r=c(e.itemsHostNode.value);r.items&&(r.items[e.itemIndex]=t,e.itemsHostNode.value=JSON.stringify(r))}}}let a=this.parseAST2Vis({type:"root",children:[t]});r.markdown?r.markdown+="\n"+a:r.markdown=a,s(r)}catch(e){console.error("[mountToParentMarkdown] Error:",e)}}combineVisItem(e,t){let r,s,a,{markdown:l="",uid:n,type:i,items:o=[],dynamic:d}=e,{markdown:c="",uid:u,type:m,items:p=[],dynamic:x}=t;return n!==u?e:(r=d?(l||"")+(c||""):this.combineMarkdownString(l,c),s="all"===m?c||l||void 0:c?r:l||void 0,a="all"===m&&p&&p.length>0?p:this.combineItems(o||[],p||[]),{...function(e,t){let r={...e};for(let e of Object.keys(t)){let s=t[e];null!=s&&(r[e]=s)}return r}(e,t),markdown:s,uid:n,dynamic:void 0!==x?x:d,type:m||i,items:a&&a.length>0?a:void 0})}combineItems(e,t){if(!t||0===t.length)return e||[];let r=a()(t,"uid"),s=(e||[]).map(e=>{let t=r[e.uid];return t?this.combineVisItem(e,t):e}),l=new Set((e||[]).map(e=>e.uid));return[...s,...t.filter(e=>!l.has(e.uid))]}combineMarkdownString(e,t){if(e||t){if(!e)return t||void 0;if(!t)return e;if(!e.includes("```")&&!t.includes("```"))return e+t;try{let r=this.parseVis2AST(e),s=this.parseVis2AST(t),a=new Map;return this.traverseASTNodes(r,(e,t)=>{t.uid&&a.set(t.uid,{node:e,json:t})}),this.traverseASTNodes(s,(e,t)=>{if(!t.uid)return;let s=a.get(t.uid);if(s){let e=this.combineVisItem(s.json,t);s.node.value=JSON.stringify(e)}else r.children&&r.children.push(e)}),this.parseAST2Vis(r)}catch(r){if(console.warn("[combineMarkdownString] AST merge failed, falling back to partial tag check:",r),u(e)||u(t))return e+t;return e+"\n"+t}}}rebuildIndex(){this.uidIndex.clear(),this.astRoot&&this.buildIndexRecursive(this.astRoot,null,null,null,0,[])}buildIndexRecursive(e,t,r,s,a,l){if(e){if(a>100)return void console.error("[buildIndexRecursive] 递归深度超过限制: ".concat(a,", path: ").concat(l.join(" -> ")));if(e.lang&&e.value)try{let s=c(e.value);if(s.uid){if(l.includes(s.uid)){if(l[l.length-1]===s.uid)return;console.error("[buildIndexRecursive] 检测到循环引用,跳过处理: uid=".concat(s.uid,", path: ").concat(l.join(" -> ")," -> ").concat(s.uid));return}let n=[...l,s.uid];this.uidIndex.set(s.uid,{node:e,nodeType:"ast",parentUid:r,parentNode:t,depth:a,path:n}),s.items&&Array.isArray(s.items)&&this.indexItems(s.items,e,s.uid,a+1,n),s.markdown&&this.indexNestedMarkdown(s.markdown,e,s.uid,a+1,n)}}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(t=>{this.buildIndexRecursive(t,e,r,s,a,l)})}}indexItems(e,t,r,s,a){if(s>100)return void console.error("[indexItems] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));e.forEach((e,l)=>{if(e.uid){let n;if(a.includes(e.uid)){if(a[a.length-1]===e.uid)return;console.error("[indexItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(a.join(" -> ")," -> ").concat(e.uid));return}let i=[...a,e.uid];try{n=c(t.value)}catch(e){}this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:r,parentNode:t,depth:s,path:i,itemsHost:n,itemsHostNode:t,itemIndex:l}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,s+1,i),e.items&&Array.isArray(e.items)&&this.indexNestedItems(e.items,e,e.uid,s+1,i)}})}indexNestedItems(e,t,r,s,a){if(s>100)return void console.error("[indexNestedItems] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));e.forEach((e,l)=>{if(e.uid){if(a.includes(e.uid)){if(a[a.length-1]===e.uid)return;console.error("[indexNestedItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(a.join(" -> ")," -> ").concat(e.uid));return}let n=[...a,e.uid];this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:r,parentNode:t,depth:s,path:n,itemsHost:t,itemIndex:l}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,s+1,n),e.items&&this.indexNestedItems(e.items,e,e.uid,s+1,n)}})}indexNestedMarkdown(e,t,r,s,a){if(e&&e.includes("```")){if(s>100)return void console.error("[indexNestedMarkdown] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));try{let l=this.parseVis2AST(e);this.traverseASTNodes(l,(e,l)=>{if(l.uid){if(a.includes(l.uid)){if(a[a.length-1]===l.uid)return;console.error("[indexNestedMarkdown] 检测到循环引用,跳过处理: uid=".concat(l.uid,", path: ").concat(a.join(" -> ")," -> ").concat(l.uid));return}let n=[...a,l.uid];this.uidIndex.set(l.uid,{node:e,nodeType:"nested",parentUid:r,parentNode:t,depth:s,path:n,markdownHost:t}),l.markdown&&this.indexNestedMarkdown(l.markdown,e,l.uid,s+1,n),l.items&&Array.isArray(l.items)&&this.indexItems(l.items,e,l.uid,s+1,n)}})}catch(e){}}}parseVis2AST(e){return this.string2TreeProcessor.parse(function(e){let t=new d.T;return t.value=e||"",t}(e))}parseAST2Vis(e){return this.tree2StringProcessor.stringify(e).trimEnd()}traverseASTNodes(e,t){if(e){if(e.lang&&e.value)try{let r=c(e.value);t(e,r)}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(e=>{this.traverseASTNodes(e,t)})}}extractIncrContent(e){var t=this;this.incrNodesMap.clear();let r=function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a>100)return void console.error("[extractIncrContent] 递归深度超过限制: ".concat(a));if(e.uid){if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[extractIncrContent] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")));return}let l=[...s,e.uid];if(t.incrNodesMap.set(e.uid,e),e.markdown){let s=t.parseVis2AST(e.markdown);t.traverseASTNodes(s,(e,t)=>{r(t,l,a+1)})}e.items&&e.items.forEach(e=>{r(e,l,a+1)})}else{if(e.markdown){let l=t.parseVis2AST(e.markdown);t.traverseASTNodes(l,(e,t)=>{r(t,s,a+1)})}e.items&&e.items.forEach(e=>{r(e,s,a+1)})}};this.traverseASTNodes(e,(e,t)=>{r(t,[],0)})}createString2TreeProcessor(e){let t=(null==e?void 0:e.remarkPlugins)||[],r={allowDangerousHtml:!0,...null==e?void 0:e.remarkRehypeOptions};return(0,o.l)().use(l.A).use(t).use(i.A,r)}createTree2StringProcessor(){return(0,o.l)().use(n.A)}constructor(e){this.string2TreeProcessor=this.createString2TreeProcessor(e),this.tree2StringProcessor=this.createTree2StringProcessor(),this.incrNodesMap=new Map,this.uidIndex=new Map,this.astRoot=null,this.currentVis=""}}class p{getCurrent(e){if(e){var t;let r=this.windowParsers.get(e);return r?r.currentVis:(null==(t=this.parsers.get(e))?void 0:t.current)||""}return this.defaultParser.currentVis}queryByUID(e,t){if(t){let r=this.windowParsers.get(t);if(r)return r.queryByUID(e);let s=this.parsers.get(t);return s&&s.defaultParser?s.defaultParser.queryByUID(e):{found:!1}}return this.defaultParser.queryByUID(e)}update(e){try{let t=c(e),r={};try{this.current&&(r=c(this.current))}catch(e){r={}}let s=new Set([...Object.keys(t),...Object.keys(r)]),a={};s.forEach(e=>{let s=t[e],l=this.windowParsers.get(e);l||(l=new m,this.windowParsers.set(e,l)),null!=s&&""!==s&&l.updateCurrentMarkdown(s),l.currentVis?a[e]=l.currentVis:r[e]?a[e]=r[e]:e in t&&(a[e]=null)}),this.current=JSON.stringify(a)}catch(t){this.defaultParser.updateCurrentMarkdown(e),this.current=this.defaultParser.currentVis}return this.current}getIndexStats(e){if(e){let t=this.windowParsers.get(e);if(t)return t.getIndexStats()}return this.defaultParser.getIndexStats()}getAllWindowStats(){let e=new Map;return this.windowParsers.forEach((t,r)=>{e.set(r,t.getIndexStats())}),e}destroy(){this.parsers.forEach(e=>e.destroy()),this.parsers.clear(),this.windowParsers.forEach(e=>e.destroy()),this.windowParsers.clear(),this.defaultParser.destroy()}constructor(){this.current="",this.parsers=new Map,this.windowParsers=new Map,this.defaultParser=new m}}new m},91070:(e,t,r)=>{r.d(t,{BR:()=>n,zo:()=>l,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=r(39740),a=r(12115);let l=(0,a.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,a.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})},93640:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(89638),a=r(47937),l=r(61475),n=r(95069),i=r(94326),o=r(12115),d=r(70061),c=r(49509);let u=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:r}=e,[u,m]=(0,o.useState)({});return{chat:(0,o.useCallback)(async e=>{var o,u,p;let{data:x,onMessage:h,onClose:g,onDone:f,onError:y,ctrl:v}=e;if(v&&m(v),!(null==x?void 0:x.user_input)&&!(null==x?void 0:x.doc_id))return void i.Ay.warning(s.A.t("no_context_tip"));let b={...x,app_code:r},_=null==x||null==(o=x.ext_info)?void 0:o.incremental,w="",j={nodeId:"",text:""},N=new d.yh;try{await (0,n.y)("".concat(null!=(u=c.env.NEXT_PUBLIC_API_BASE_URL)?u:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[l.uz]:null!=(p=(0,a.F6)())?p:""},body:JSON.stringify(b),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===n.o||"application/json"===e.headers.get("content-type")&&e.json().then(e=>{null==h||h(e),null==f||f(),v&&v.abort()})},onclose(){v&&v.abort(),null==g||g()},onerror(e){throw console.error("err",e),Error(e)},onmessage:e=>{let t=e.data;try{if(_){let{answerText:e,midMsgObject:r}=function(e,t,r,s){let a=t||{nodeId:"",text:""},l=r.vis;return a.text=s.update(l),{answerText:e||"",midMsgObject:a}}(w,j,JSON.parse(t),N);w=e,t=r.text}else t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==f||f():(null==t?void 0:t.startsWith("[ERROR]"))?null==y||y(null==t?void 0:t.replace("[ERROR]","")):null==h||h(t):(null==h||h(t),null==f||f())}})}catch(e){v&&v.abort(),null==y||y("Sorry, We meet some error, please try agin later.",e)}},[t,r]),ctrl:u}}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-fa3e91fed801441c.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-fa3e91fed801441c.js deleted file mode 100644 index 25fbfe04..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6074-fa3e91fed801441c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6074],{24646:(e,t,r)=>{r.d(t,{A:()=>i});var s=r(95155),a=r(7132),l=r(66766),n=r(12115);let i=(0,n.memo)(e=>{let{width:t,height:r,model:i}=e,o=(0,n.useMemo)(()=>(0,a.ZI)(i||"huggingface"),[i]);return i?(0,s.jsx)(l.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:r||24,src:o,alt:"llm",priority:!0}):null})},39740:(e,t,r)=>{r.d(t,{UK:()=>o,V:()=>c,cE:()=>u,rA:()=>d});var s=r(95155),a=r(67773);r(61475);var l=r(54099),n=r(35695),i=r(12115);let o=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),d=e=>{var t,r,d;let{children:c}=e,u=(0,n.useSearchParams)(),m=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",p=null!=(r=null==u?void 0:u.get("scene"))?r:"",h=null!=(d=null==u?void 0:u.get("db_param"))?d:"",[x,g]=(0,i.useState)(!1),[f,y]=(0,i.useState)("light"),[v,b]=(0,i.useState)("chat_dashboard"!==p),[_,w]=(0,i.useState)(h),[j,N]=(0,i.useState)(""),[k,A]=(0,i.useState)([]),[S,I]=(0,i.useState)(),[C,T]=(0,i.useState)("light"),[O,M]=(0,i.useState)(m),[E,P]=(0,i.useState)([]),[V,R]=(0,i.useState)({chat_scene:"",app_code:""}),{data:J=[]}=(0,l.A)(async()=>{let[,e]=await (0,a.VbY)((0,a.TzU)());return null!=e?e:[]}),{data:U=[],refresh:D,loading:L}=(0,l.A)(async()=>await (0,a.VbY)((0,a.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");R(e)}catch(e){R({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{y(J[0])},[J,null==J?void 0:J.length]),(0,i.useEffect)(()=>{m&&M(m)},[m]),(0,s.jsx)(o.Provider,{value:{isContract:x,isMenuExpand:v,scene:p,chatId:O,model:f,modelList:J,dbParam:_||h,agent:j,setAgent:N,mode:C,setMode:T,setModel:y,setIsContract:g,setIsMenuExpand:b,setDbParam:w,history:k,setHistory:A,docId:S,setDocId:I,currentDialogInfo:V,setCurrentDialogInfo:R,adminList:E,refreshDialogList:D,dialogueList:U},children:c})},c=(0,i.createContext)(null),u=(0,i.createContext)(null)},40799:(e,t,r)=>{r.d(t,{A:()=>m,O:()=>u});var s=r(95155),a=r(19361),l=r(74947),n=r(95388),i=r(32013),o=r(73775),d=r(12115),c=r(91218);let u=["image_file","video_file","excel_file","text_file","common_file"],m=d.memo(function(e){let{form:t,selectedChatConfigs:r,chatConfigOptions:d,onInputBlur:m,resourceOptions:p,modelOptions:h}=e,{t:x}=(0,c.Bd)();if(!r||0===r.length)return null;let g={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};return(0,s.jsx)(s.Fragment,{children:null==r?void 0:r.map(e=>{var r,c,f=null==d?void 0:d.find(t=>t.param_type===e);if(!f)return null;switch(f.param_type){case"model":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:(null==(r=f.sub_types)?void 0:r.map(e=>({value:e,label:e})))||[],disabled:!f.sub_types,placeholder:x("chat_layout_config_select_param",{desc:f.param_description}),onBlur:()=>m("".concat(f.param_type,"_value"))})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),initialValue:f.param_default_value,label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{options:h,placeholder:x("chat_layout_config_input_param",{desc:f.param_description}),className:"w-full"})})},"".concat(f.param_type,"-col2"))]},f.param_type);case"temperature":case"max_new_tokens":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:(null==(c=f.sub_types)?void 0:c.map(e=>({value:e,label:e})))||[],disabled:!f.sub_types,placeholder:x("chat_layout_config_select_param",{desc:f.param_description})})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),initialValue:f.param_default_value,label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(o.A,{type:"number",step:"temperature"===f.param_type?"0.01":"1",placeholder:x("chat_layout_config_input_param",{desc:f.param_description}),className:"w-full",onBlur:()=>m("".concat(f.param_type,"_value"))})})},"".concat(f.param_type,"-col2"))]},f.param_type);case"resource":return(0,s.jsxs)(a.A,{gutter:12,className:"mb-2",children:[(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{label:(0,s.jsx)("span",{style:g,title:f.param_description,children:f.param_description}),name:"".concat(f.param_type,"_sub_type"),labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{className:"w-full",options:f.sub_types&&f.sub_types.map(e=>({value:e,label:e}))||[],placeholder:x("chat_layout_config_select_param",{desc:f.param_description})})})},"".concat(f.param_type,"-col1")),(0,s.jsx)(l.A,{span:12,children:(0,s.jsx)(n.A.Item,{name:"".concat(f.param_type,"_value"),label:" ",labelCol:{span:24},className:"mb-0",children:(0,s.jsx)(i.A,{options:p,className:"w-full",placeholder:x("chat_layout_config_input_resource"),disabled:u.includes(t.getFieldValue("".concat(f.param_type,"_sub_type")))})})},"".concat(f.param_type,"-col2"))]},f.param_type);default:return null}})})})},62315:(e,t,r)=>{r.d(t,{A:()=>ey});var s=r(95155),a=r(12115),l=r(91218),n=r(14786),i=r(3377),o=r(66709),d=r(45163),c=r(91479),u=r(32191),m=r(93192),p=r(14808),h=r(75839),x=r(53867),g=r(44421),f=r(44407),y=r(92197),v=r(85875),b=r(75121),_=r(5813),w=r(96194),j=r(1828),N=r(73775),k=r(94326),A=r(97540),S=r(16467),I=r(32013),C=r(7187),T=r(56200),O=r(98696),M=r(54099),E=r(29300),P=r.n(E),V=r(67773),R=r(91070),J=r(24646),U=r(40799),D=r(47937),L=r(35695);let{Panel:H}=_.A,z=e=>{let{open:t,onClose:r,temperature:i,onTemperatureChange:o,maxTokens:d,onMaxTokensChange:c}=e,{t:u}=(0,l.Bd)(),[m,p]=(0,a.useState)(i),[h,x]=(0,a.useState)(d);return(0,a.useEffect)(()=>{p(i),x(d)},[i,d,t]),(0,s.jsx)(w.A,{title:(0,s.jsxs)("div",{className:"flex items-center gap-2 text-base font-medium",children:[(0,s.jsx)(n.A,{className:"text-indigo-500"}),(0,s.jsx)("span",{children:u("model_params","模型参数")})]}),open:t,onOk:()=>{o(m),c(h),r()},onCancel:r,okText:u("confirm","确认"),cancelText:u("cancel","取消"),width:420,className:"[&_.ant-modal-content]:rounded-xl",children:(0,s.jsxs)("div",{className:"space-y-6 py-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:u("temperature","Temperature")}),(0,s.jsx)("span",{className:"text-sm font-mono bg-gray-100 dark:bg-gray-800 px-2 py-0.5 rounded text-gray-700 dark:text-gray-300",children:m.toFixed(1)})]}),(0,s.jsx)(j.A,{min:0,max:2,step:.1,value:m,onChange:p,trackStyle:{backgroundColor:"#6366f1"},handleStyle:{borderColor:"#6366f1"}}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:u("temperature_desc","控制输出的随机性,值越高输出越创造性")})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,s.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:u("max_tokens","Max Tokens")}),(0,s.jsx)("span",{className:"text-sm font-mono bg-gray-100 dark:bg-gray-800 px-2 py-0.5 rounded text-gray-700 dark:text-gray-300",children:h})]}),(0,s.jsx)(j.A,{min:256,max:8192,step:256,value:h,onChange:x,trackStyle:{backgroundColor:"#6366f1"},handleStyle:{borderColor:"#6366f1"}}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:u("max_tokens_desc","控制生成文本的最大长度")})]})]})})},B=e=>{var t,r,w,j;let{ctrl:E,showFloatingActions:B=!0}=e,{t:F}=(0,l.Bd)(),W=a.useContext(R.zo),{scrollRef:q,replyLoading:K,handleChat:$,appInfo:Y,resourceValue:X,setResourceValue:G,refreshDialogList:Q,chatInParams:Z,setChatInParams:ee,history:et,canAbort:er,setCanAbort:es,setReplyLoading:ea,temperatureValue:el,setTemperatureValue:en,maxNewTokensValue:ei,setMaxNewTokensValue:eo,refreshHistory:ed,modelValue:ec}=W,[eu,em]=(0,a.useState)(""),[ep,eh]=(0,a.useState)(!1),[ex,eg]=(0,a.useState)([]),[ef,ey]=(0,a.useState)(!1),ev=(0,a.useRef)(0),[eb,e_]=(0,a.useState)(!1),[ew,ej]=(0,a.useState)([]),[eN,ek]=(0,a.useState)(""),[eA,eS]=(0,a.useState)(""),[eI,eC]=(0,a.useState)(!1),[eT,eO]=(0,a.useState)(!1),[eM,eE]=(0,a.useState)([]),eP=(0,L.useSearchParams)(),eV=null!=(w=null==eP?void 0:eP.get("scene"))?w:"",eR=null!=(j=(null==eP?void 0:eP.get("conv_uid"))||(null==eP?void 0:eP.get("chatId")))?j:"";(0,M.A)(async()=>{let[,e]=await (0,V.VbY)((0,V.O68)());return e||[]},{onSuccess:e=>{if(e&&e.length>0){var t,r,s,a;let l=e.filter(e=>"llm"===e.worker_type);ej(l);let n=ec||(null==Y||null==(r=Y.llm_config)||null==(t=r.llm_strategy_value)?void 0:t[0]);n&&l.some(e=>e.model_name===n)?ek(n):ek((null==(s=l.find(e=>e.model_name.includes("gpt-4")||e.model_name.includes("gpt-3.5")))?void 0:s.model_name)||(null==(a=l[0])?void 0:a.model_name))}}});let eJ=(0,a.useMemo)(()=>{var e,t;return(null==Y||null==(t=Y.layout)||null==(e=t.chat_in_layout)?void 0:e.map(e=>e.param_type))||[]},[null==Y||null==(t=Y.layout)?void 0:t.chat_in_layout]),eU=(0,a.useMemo)(()=>{var e,t;return null==Y||null==(t=Y.layout)||null==(e=t.chat_in_layout)?void 0:e.find(e=>"resource"===e.param_type)},[null==Y||null==(r=Y.layout)?void 0:r.chat_in_layout]),eD=(0,a.useMemo)(()=>{var e;return eJ.includes("resource")&&eU&&!U.O.includes(null!=(e=null==eU?void 0:eU.sub_type)?e:"")},[eJ,eU]),eL=(0,a.useMemo)(()=>{var e;return eJ.includes("resource")&&eU&&U.O.includes(null!=(e=null==eU?void 0:eU.sub_type)?e:"")},[eJ,eU]),{run:eH,loading:ez}=(0,M.A)(async e=>await (0,V.BNu)({type:e}),{manual:!0,onSuccess:e=>{var t;let r=null==e||null==(t=e.data)?void 0:t.data;r&&eE(r.flatMap(e=>{var t;return(null==(t=e.valid_values)?void 0:t.map(e=>({label:e.label,value:e.key,key:e.key})))||[]}).filter((e,t,r)=>t===r.findIndex(t=>t.value===e.value)))}});(0,a.useEffect)(()=>{(null==eU?void 0:eU.sub_type)&&eJ.includes("resource")&&!U.O.includes(eU.sub_type)&&eH(eU.sub_type)},[null==eU?void 0:eU.sub_type]);let eB=(0,a.useMemo)(()=>(null==Z?void 0:Z.filter(e=>"resource"!==e.param_type))||[],[Z]),eF=(0,a.useCallback)(e=>{if(!e||!eU)return;let t=eM.find(t=>t.value===e);G(t),ee([...eB,{param_type:"resource",param_value:JSON.stringify(t),sub_type:eU.sub_type}])},[eU,eM,eB,G,ee]),eW=(0,a.useCallback)(async e=>{let t=new FormData;t.append("doc_files",e);let[,r]=await (0,V.VbY)((0,V.o0$)({convUid:eR||"",chatMode:eV||"chat_normal",data:t,model:ec,temperatureValue:el,maxNewTokensValue:ei,config:{timeout:36e5}}));r&&eU&&(ee([...eB,{param_type:"resource",param_value:JSON.stringify(r),sub_type:eU.sub_type}]),G(r))},[eR,eV,ec,el,ei,eU,eB,ee,G]),eq=(0,a.useMemo)(()=>{let e={},t=[];return ew.filter(e=>"llm"===e.worker_type&&e.model_name.toLowerCase().includes(eA.toLowerCase())).forEach(r=>{let s="Other";r.host&&r.host.startsWith("proxy@")?s=(s=r.host.replace("proxy@","")).charAt(0).toUpperCase()+s.slice(1):r.host&&"127.0.0.1"!==r.host&&"localhost"!==r.host&&(s=r.host),s&&"Other"!==s?(e[s]||(e[s]=[]),e[s].push(r.model_name)):t.push(r.model_name)}),{groups:e,otherModels:t}},[ew,eA]),eK=(0,s.jsxs)("div",{className:"w-80 flex flex-col h-[400px]",children:[(0,s.jsx)("div",{className:"p-3 border-b border-gray-100 dark:border-gray-700 flex items-center gap-2 flex-shrink-0",children:(0,s.jsx)(N.A,{prefix:(0,s.jsx)(i.A,{className:"text-gray-400"}),placeholder:F("search_model","搜索模型"),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-lg flex-1",value:eA,onChange:e=>eS(e.target.value)})}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-2 px-2",children:[Object.entries(eq.groups).length>0&&(0,s.jsx)(_.A,{ghost:!0,defaultActiveKey:["AgentLLM",...Object.keys(eq.groups)],expandIcon:e=>{let{isActive:t}=e;return(0,s.jsx)(o.A,{rotate:180*!!t,className:"text-xs text-gray-400"})},className:"[&_.ant-collapse-header]:!p-2 [&_.ant-collapse-content-box]:!p-0",children:Object.entries(eq.groups).map(e=>{let[t,r]=e;return(0,s.jsx)(H,{header:(0,s.jsx)("span",{className:"text-xs font-medium text-gray-500",children:t}),children:r.map(e=>(0,s.jsxs)("div",{className:P()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eN===e?"bg-indigo-50 dark:bg-indigo-900/20":""),onClick:()=>{var t,r;ek(e),eC(!1);let s=(null==Z?void 0:Z.filter(e=>"model"!==e.param_type))||[],a=null==Y||null==(r=Y.layout)||null==(t=r.chat_in_layout)?void 0:t.find(e=>"model"===e.param_type);ee([...s,{param_type:"model",param_value:e,sub_type:null==a?void 0:a.sub_type}])},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,s.jsx)(J.A,{model:e,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eN===e&&(0,s.jsx)(d.A,{className:"text-indigo-500 flex-shrink-0"})]},e))},t)})}),eq.otherModels.length>0&&(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("div",{className:"px-2 py-1 text-xs font-medium text-gray-500",children:F("other_models","其他模型")}),eq.otherModels.map(e=>(0,s.jsxs)("div",{className:P()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eN===e?"bg-indigo-50 dark:bg-indigo-900/20":""),onClick:()=>{ek(e),eC(!1)},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,s.jsx)(J.A,{model:e,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eN===e&&(0,s.jsx)(d.A,{className:"text-indigo-500 flex-shrink-0"})]},e))]}),0===Object.keys(eq.groups).length&&0===eq.otherModels.length&&(0,s.jsx)("div",{className:"px-3 py-8 text-center text-gray-400 text-xs",children:F("no_models_found","未找到模型")})]})]}),e$=e=>{let{file:t,onRemove:r}=e,[l,n]=(0,a.useState)("");(0,a.useEffect)(()=>{if(t.type.startsWith("image/")){let e=URL.createObjectURL(t);return n(e),()=>URL.revokeObjectURL(e)}},[t]);let i=t.name.endsWith(".md")||"text/markdown"===t.type;return(0,s.jsxs)("div",{className:"relative group flex-shrink-0",children:[t.type.startsWith("image/")?(0,s.jsx)("div",{className:"w-12 h-12 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,s.jsx)("img",{src:l,alt:t.name,className:"w-full h-full object-cover"})}):i?(0,s.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg border border-blue-200 dark:border-blue-800 bg-blue-50/50 dark:bg-blue-900/20",children:[(0,s.jsxs)("div",{className:"w-8 h-10 rounded bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 flex flex-col items-center justify-center relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500",style:{clipPath:"polygon(100% 0, 0 0, 100% 100%)"}}),(0,s.jsx)(m.A,{className:"text-blue-500 text-lg"}),(0,s.jsx)("span",{className:"text-[8px] text-blue-600 dark:text-blue-400 font-medium mt-0.5",children:"MD"})]}),(0,s.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:t.name}),(0,s.jsxs)("span",{className:"text-[10px] text-gray-400",children:[(t.size/1024).toFixed(1)," KB"]})]}),(0,s.jsx)("button",{className:"ml-1 p-1 rounded-full hover:bg-red-100 dark:hover:bg-red-900/30 text-gray-400 hover:text-red-500 transition-colors",onClick:e=>{e.stopPropagation(),r()},children:(0,s.jsx)(c.A,{className:"text-xs"})})]}):(0,s.jsx)("div",{className:"w-12 h-12 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F] flex items-center justify-center bg-gray-50 dark:bg-gray-800",children:(0,s.jsx)(m.A,{className:"text-gray-400 text-xl"})}),!i&&(0,s.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-black/50 hover:bg-red-500 rounded-full flex items-center justify-center cursor-pointer transition-all opacity-0 group-hover:opacity-100 backdrop-blur-sm",onClick:e=>{e.stopPropagation(),r()},children:(0,s.jsx)(c.A,{className:"text-white text-xs"})})]})},eY=async()=>{var e;let t;if(!eu.trim()&&0===ex.length)return;if(eD){let e=Z.find(e=>"resource"===e.param_type);if(!((null==e?void 0:e.param_value)&&""!==e.param_value.trim()))return void k.Ay.warning(F("please_select_resource","请先选择资源"))}ev.current++,setTimeout(()=>{var e,t;null==(t=q.current)||t.scrollTo({top:null==(e=q.current)?void 0:e.scrollHeight,behavior:"smooth"})},0);let r=Z.find(e=>"resource"===e.param_type);if(U.O.includes(null!=(e=null==r?void 0:r.sub_type)?e:"")){let e=[...(0,D.nr)(X)||[]];eu.trim()&&e.push({type:"text",text:eu}),t={role:"user",content:e}}else t=eu;em(""),eg([]),await $(t,{app_code:Y.app_code||"",...eJ.length&&{chat_in_params:Z}}),1===ev.current&&Q&&await Q()},eX=async()=>{var e;eb||(e_(!0),await (0,V.VbY)((0,V.CKM)((null==(e=W.currentDialogue)?void 0:e.conv_uid)||"")).finally(async()=>{await ed(),e_(!1)}))};return(0,s.jsxs)("div",{className:"w-full relative",children:[B&&et.length>0&&(0,s.jsxs)("div",{className:"absolute -top-14 right-0 flex items-center gap-1 bg-white dark:bg-gray-800 rounded-full shadow-lg border border-gray-100 dark:border-gray-700 px-2 py-1 z-20",children:[(0,s.jsx)(A.A,{title:F("stop_replying","暂停生成"),placement:"top",children:(0,s.jsx)("button",{onClick:()=>{var e;er&&((0,V.vcX)({conv_session_id:(null==(e=W.currentDialogue)?void 0:e.conv_uid)||""}),E&&E.abort(),setTimeout(()=>{es(!1),ea(!1)},100))},disabled:!er,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",er?"hover:bg-red-50 text-gray-600 hover:text-red-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:(0,s.jsx)(p.A,{className:"text-lg"})})}),(0,s.jsx)(A.A,{title:F("answer_again","重新生成"),placement:"top",children:(0,s.jsx)("button",{onClick:()=>{var e,t;let r=null==(t=et.filter(e=>"human"===e.role))||null==(e=t.slice(-1))?void 0:e[0];r&&($(r.context||"",{app_code:Y.app_code,...eJ.length&&{chat_in_params:Z}}),setTimeout(()=>{var e,t;null==(t=q.current)||t.scrollTo({top:null==(e=q.current)?void 0:e.scrollHeight,behavior:"smooth"})},0))},disabled:K||0===et.length,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",!K&&et.length>0?"hover:bg-indigo-50 text-gray-600 hover:text-indigo-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:(0,s.jsx)(h.A,{className:"text-lg"})})}),(0,s.jsx)(A.A,{title:F("erase_memory","清空对话"),placement:"top",children:(0,s.jsx)("button",{onClick:eX,disabled:eb||0===et.length,className:P()("w-8 h-8 rounded-full flex items-center justify-center transition-all",!eb&&et.length>0?"hover:bg-orange-50 text-gray-600 hover:text-orange-500 cursor-pointer":"text-gray-300 cursor-not-allowed"),children:eb?(0,s.jsx)(S.A,{indicator:(0,s.jsx)(x.A,{style:{fontSize:16},spin:!0})}):(0,s.jsx)(g.A,{className:"text-lg"})})})]}),(0,s.jsxs)("div",{className:P()("w-full bg-white dark:bg-[#232734] rounded-2xl shadow-sm border transition-all duration-300",ep?"border-indigo-500/50 shadow-lg ring-4 ring-indigo-500/5":"border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600"),children:[(0,s.jsx)(()=>{let e=X&&(0,D.nr)(X)||[];if(0===e.length)return null;let t=()=>{G({});let e=Z.find(e=>"resource"===e.param_type);e&&(null==e?void 0:e.param_value)&&ee([...eB,{param_type:"resource",param_value:"",sub_type:null==eU?void 0:eU.sub_type}])};return(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mb-3",children:e.map((e,r)=>{var a,l;if("image_url"===e.type&&(null==(a=e.image_url)?void 0:a.url)){let a=(0,D.sC)(e.image_url.url);return(0,s.jsxs)("div",{className:"relative group flex-shrink-0",children:[(0,s.jsx)("div",{className:"w-16 h-16 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden bg-gray-50 dark:bg-gray-800",children:(0,s.jsx)("img",{src:a,alt:e.image_url.file_name||"Preview",className:"w-full h-full object-cover"})}),(0,s.jsx)("button",{onClick:t,className:"absolute -top-1.5 -right-1.5 w-5 h-5 bg-gray-500 hover:bg-red-500 rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity shadow-sm",children:(0,s.jsx)(c.A,{className:"text-white text-xs"})})]},"img-".concat(r))}return"file_url"===e.type&&(null==(l=e.file_url)?void 0:l.url)?(0,s.jsxs)("div",{className:"relative group flex items-center gap-2 px-3 py-1.5 rounded-lg border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 text-sm",children:[(0,s.jsx)(u.A,{className:"text-gray-400"}),(0,s.jsx)("span",{className:"text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:e.file_url.file_name}),(0,s.jsx)("button",{onClick:t,className:"ml-1 text-gray-400 hover:text-red-500 transition-colors",children:(0,s.jsx)(c.A,{className:"text-xs"})})]},"file-".concat(r)):null})})},{}),ex.length>0&&(0,s.jsx)("div",{className:"flex gap-2 px-4 pt-3 overflow-x-auto scrollbar-hide",children:ex.map((e,t)=>(0,s.jsx)(e$,{file:e,onRemove:()=>{let e=[...ex];e.splice(t,1),eg(e)}},t+e.name))}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsx)(N.A.TextArea,{placeholder:F("input_tips","输入消息..."),className:"!text-base !bg-transparent !border-0 !resize-none placeholder:!text-gray-400 !text-gray-800 dark:!text-gray-200 !shadow-none !p-0 !min-h-[60px]",autoSize:{minRows:2,maxRows:8},value:eu,onChange:e=>em(e.target.value),onFocus:()=>eh(!0),onBlur:()=>eh(!1),onCompositionStart:()=>ey(!0),onCompositionEnd:()=>ey(!1),onKeyDown:e=>{"Enter"===e.key&&(e.shiftKey||ef||(e.preventDefault(),eu.trim()&&!K&&eY()))}})}),(0,s.jsxs)("div",{className:"flex items-center justify-between px-3 pb-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[eD&&(0,s.jsx)(I.A,{className:"w-[160px] h-9 [&_.ant-select-selector]:!pr-8 [&_.ant-select-selection-item]:!max-w-[100px] [&_.ant-select-selection-item]:!truncate",placeholder:(null==eU?void 0:eU.param_description)||F("select_resource","选择资源"),value:(null==X?void 0:X.value)||(null==X?void 0:X.key),onChange:eF,loading:ez,options:eM,suffixIcon:(0,s.jsx)(f.A,{className:"text-gray-400"}),variant:"borderless",style:{backgroundColor:"rgb(249 250 251 / 1)",borderRadius:"9999px"},popupMatchSelectWidth:!1}),eL&&(0,s.jsx)(C.A,{name:"file",accept:(e=>{switch(e){case"excel_file":return".csv,.xlsx,.xls";case"text_file":return".txt,.doc,.docx,.pdf,.md";case"image_file":return".jpg,.jpeg,.png,.gif,.bmp,.webp";case"audio_file":return".mp3,.wav,.ogg,.aac";case"video_file":return".mp4,.wav,.mov";default:return""}})((null==eU?void 0:eU.sub_type)||""),showUploadList:!1,beforeUpload:e=>(eW(e),!1),children:(0,s.jsx)(A.A,{title:(null==eU?void 0:eU.param_description)||F("upload_file","上传文件"),children:(0,s.jsx)("button",{className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-all",children:(0,s.jsx)(y.A,{})})})}),(eD||eL)&&(0,s.jsx)("div",{className:"w-px h-5 bg-gray-200 dark:bg-gray-700 mx-1"}),(0,s.jsx)(T.A,{content:eK,trigger:"click",placement:"topLeft",open:eI,onOpenChange:eC,arrow:!1,overlayClassName:"[&_.ant-popover-inner]:!p-0 [&_.ant-popover-inner]:!rounded-xl [&_.ant-popover-inner]:!shadow-xl",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800 px-3 py-1.5 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 transition-all group",children:[(0,s.jsx)(J.A,{model:eN,width:16,height:16}),(0,s.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300 max-w-[100px] truncate group-hover:text-indigo-500 transition-colors",children:eN||F("select_model","选择模型")}),(0,s.jsx)(o.A,{className:"text-xs text-gray-400 group-hover:text-indigo-500 transition-colors"})]})}),(0,s.jsx)(A.A,{title:F("model_params","模型参数"),children:(0,s.jsx)("button",{onClick:()=>eO(!0),className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-indigo-500 transition-all",children:(0,s.jsx)(n.A,{})})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(C.A,{...{onRemove:e=>{let t=ex.indexOf(e),r=ex.slice();r.splice(t,1),eg(r)},beforeUpload:e=>(eg([...ex,e]),!1),fileList:ex},showUploadList:!1,children:(0,s.jsx)("button",{className:"w-9 h-9 rounded-full flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-all",children:(0,s.jsx)(v.A,{})})}),(0,s.jsx)(O.Ay,{type:"primary",shape:"circle",className:P()("w-10 h-10 flex items-center justify-center transition-all !border-0",eu.trim()||ex.length>0?"bg-gradient-to-r from-indigo-500 to-indigo-600 hover:from-indigo-600 hover:to-indigo-700 shadow-md hover:shadow-lg":"bg-gray-200 text-gray-400 cursor-not-allowed"),onClick:eY,disabled:!eu.trim()&&0===ex.length||K,children:K?(0,s.jsx)(S.A,{indicator:(0,s.jsx)(x.A,{className:"text-white",spin:!0})}):(0,s.jsx)(b.A,{className:"text-white text-lg"})})]})]})]}),(0,s.jsx)(z,{open:eT,onClose:()=>eO(!1),temperature:el,onTemperatureChange:en,maxTokens:ei,onMaxTokensChange:eo})]})};var F=r(78966),W=r.n(F),q=r(51368),K=r(44318),$=r(51259),Y=r(64413),X=r(44261),G=r(65095),Q=r(91573),Z=r(19696),ee=r(69068),et=r.n(ee),er=r(76572);let es=e=>{var t,r;let{isScrollToTop:n=!1,isProcessing:i=!1}=e,{appInfo:o,refreshAppInfo:d,history:c,setHistory:u}=(0,a.useContext)(R.zo),{initChatId:m}=(0,a.useContext)(R.BR),{t:p}=(0,l.Bd)();(0,L.useRouter)(),(0,L.useSearchParams)();let h=(0,a.useMemo)(()=>{var e;return(null==o||null==(e=o.team_context)?void 0:e.chat_scene)||"chat_agent"},[o]),x=(0,a.useMemo)(()=>(null==o?void 0:o.icon)||"",[o]),g=(0,a.useMemo)(()=>(null==o?void 0:o.is_collected)==="true",[o]),{run:f}=(0,M.A)(async()=>{let[e]=await (0,V.VbY)(g?(0,V.bQX)({app_code:o.app_code}):(0,V.cTz)({app_code:o.app_code}));if(!e)return await d()},{manual:!0});if(!Object.keys(o).length)return null;let y=async()=>{let e=et()(location.href);k.Ay[e?"success":"error"](e?p("copy_success"):p("copy_failed"))},v=async()=>{let e=null==o?void 0:o.app_code;e&&m&&(null==u||u([]),await m(e))},b=[{key:"share",icon:(0,s.jsx)(K.A,{}),label:p("share","分享对话"),onClick:y},{key:"collect",icon:g?(0,s.jsx)($.A,{className:"text-amber-400"}):(0,s.jsx)(Y.A,{}),label:g?p("uncollect","取消收藏"):p("collect","收藏应用"),onClick:()=>f()}],_=c.filter(e=>"human"===e.role).length;return(0,s.jsx)("div",{className:"w-full bg-white/80 dark:bg-gray-900/80 backdrop-blur-md border-b border-gray-100 dark:border-gray-800",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-4 py-4",children:[(0,s.jsxs)("div",{className:"relative flex-shrink-0",children:[(0,s.jsx)("div",{className:P()("w-11 h-11 rounded-xl flex items-center justify-center shadow-md transition-all duration-300",x?"bg-white ring-1 ring-gray-100":"bg-gradient-to-br from-indigo-500 to-purple-600"),children:x?(0,s.jsx)("img",{src:x,alt:null==o?void 0:o.app_name,className:"w-8 h-8 object-contain rounded-lg"}):(0,s.jsx)(er.A,{scene:h,width:22,height:22})}),i&&(0,s.jsxs)("div",{className:"absolute -bottom-0.5 -right-0.5 w-3 h-3",children:[(0,s.jsx)("span",{className:"absolute inset-0 rounded-full bg-emerald-400 animate-ping opacity-75"}),(0,s.jsx)("span",{className:"absolute inset-0.5 rounded-full bg-emerald-500"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-0.5 flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("h1",{className:"text-base font-semibold text-gray-900 dark:text-white truncate",children:null==o?void 0:o.app_name}),g&&(0,s.jsx)($.A,{className:"text-amber-400 text-xs flex-shrink-0"}),(null==o?void 0:o.team_mode)&&(0,s.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400 flex-shrink-0",children:null==o?void 0:o.team_mode})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-500 dark:text-gray-400",children:[(null==o||null==(t=o.team_context)?void 0:t.chat_scene)&&(0,s.jsx)("span",{className:"truncate",children:null==o||null==(r=o.team_context)?void 0:r.chat_scene}),_>0&&(0,s.jsxs)("span",{className:"flex items-center gap-1 flex-shrink-0",children:[(0,s.jsx)("span",{className:"w-0.5 h-0.5 rounded-full bg-gray-300"}),_," 轮"]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1 flex-shrink-0",children:[(0,s.jsx)(A.A,{title:"新会话",placement:"bottom",children:(0,s.jsx)(O.Ay,{type:"text",size:"small",icon:(0,s.jsx)(X.A,{className:"text-sm"}),onClick:v,className:"w-7 h-7 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800"})}),(0,s.jsx)(A.A,{title:"更多",placement:"bottom",children:(0,s.jsx)(Z.A,{menu:{items:b},placement:"bottomRight",trigger:["click"],children:(0,s.jsx)(O.Ay,{type:"text",size:"small",icon:(0,s.jsx)(G.A,{className:"text-sm"}),className:"w-7 h-7 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800"})})}),(0,s.jsx)(A.A,{title:"分享",placement:"bottom",children:(0,s.jsx)(O.Ay,{type:"primary",size:"small",icon:(0,s.jsx)(Q.A,{className:"text-xs"}),onClick:y,className:"rounded-lg bg-gray-900 hover:bg-gray-800 dark:bg-white dark:text-gray-900 dark:hover:bg-gray-100 border-0 text-xs h-7",children:"分享"})})]})]})})})};var ea=r(54171),el=r(50482),en=r(3231),ei=r(92199),eo=r(28562);let ed=()=>{let e={};try{var t;e=JSON.parse(null!=(t=localStorage.getItem(el.Gm))?t:"{}")}catch(e){console.error(e)}return(0,s.jsx)(eo.A,{src:null==e?void 0:e.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer shrink-0",size:32,children:null==e?void 0:e.nick_name})},ec={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(en.A,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(x.A,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(c.A,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(d.A,{className:"ml-2"})}},eu=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,""),em=(0,a.memo)(e=>{let{content:t,onLinkClick:r,messages:n}=e,{t:i}=(0,l.Bd)(),{context:o,role:d,thinking:c}=t,u=(0,a.useMemo)(()=>"view"===d,[d]),{value:m,cachePluginContext:p}=(0,a.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),r=t?t.split(","):[],s=[],a=0,l=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let r=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),l=JSON.parse(r),n="".concat(a,"");return s.push({...l,result:eu(null!=(t=l.result)?t:"")}),a++,n}catch(t){return console.error(t),e}});return{relations:r,cachePluginContext:s,value:l}},[o]),h=(0,a.useMemo)(()=>({"custom-view"(e){var t;let{children:r}=e,a=+r.toString();if(!p[a])return r;let{name:l,status:n,err_msg:i,result:o}=p[a],{bgClass:d,icon:c}=null!=(t=ec[n])?t:{};return(0,s.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,s.jsxs)("div",{className:P()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[l,c]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(ei.A,{components:ea.Ay,...ea.iU,children:(0,ea.Jg)(null!=o?o:"")})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[p]),x=function(e){try{return JSON.parse(e)}catch(e){return{left:"",right:""}}}(o),g=null==x?void 0:x.planning_window,f=void 0!==g?g:m;return(0,s.jsxs)(s.Fragment,{children:[!u&&(0,s.jsxs)("div",{className:"flex flex-1 justify-end items-start pb-4 pt-6",style:{gap:12},children:[(0,s.jsx)("span",{className:"break-words",style:{maxWidth:"80%",minWidth:0},children:"string"==typeof o?(0,s.jsx)("div",{className:"flex-1 text-sm text-[#1c2533] dark:text-white",style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:"string"==typeof o&&(0,s.jsx)("div",{children:(0,s.jsx)(ei.A,{components:{...ea.Ay,img:e=>{let{src:t,alt:r,...a}=e;return(0,s.jsx)("img",{src:t,alt:r||"image",className:"max-w-full md:max-w-[80%] lg:max-w-[70%] object-contain",style:{maxHeight:"200px"},...a})}},...ea.iU,children:(0,ea.Jg)(eu(m))})})}):(null==o?void 0:o.template_introduce)||""}),(0,s.jsx)(ed,{})]}),u&&(0,s.jsxs)("div",{className:"flex flex-col pr-2 border-dashed border-r0 flex-1",children:[(0,s.jsx)(ei.A,{components:{...ea.Ay,...h},...ea.iU,children:(0,ea.Jg)((e=>null==e?void 0:e.replace(/]+)>/gi,"
").replace(/]+)>/gi,""))(f))}),c&&!o&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:i("thinking")}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,s.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]})]})}),ep=(0,a.memo)(e=>{var t,r;let{ctrl:l}=e,n=(0,a.useRef)(null),{history:i,replyLoading:o}=(0,a.useContext)(R.zo),[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(""),p=(0,a.useMemo)(()=>W()(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,q.A)()})),[i]);(0,a.useEffect)(()=>{setTimeout(()=>{var e,t;null==(t=n.current)||t.scrollTo(0,null==(e=n.current)?void 0:e.scrollHeight)},50)},[i,null==(t=i[i.length-1])?void 0:t.context]);let h=p.length>0,x=o||i.length>0&&(null==(r=i[i.length-1])?void 0:r.thinking);return(0,s.jsxs)("div",{className:"flex flex-col h-full bg-[#FAFAFA] dark:bg-[#111]",children:[(0,s.jsx)(es,{isProcessing:x}),(0,s.jsx)("div",{ref:n,className:"flex-1 overflow-y-auto",children:h&&(0,s.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8 py-6",children:(0,s.jsxs)("div",{className:"max-w-3xl mx-auto",children:[p.map((e,t)=>(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsx)(em,{content:e,onLinkClick:()=>{c(!0),m(JSON.stringify(null==e?void 0:e.context,null,2))},messages:p})},t)),(0,s.jsx)("div",{className:"h-20"})]})})}),(0,s.jsx)("div",{className:"flex-shrink-0 pb-6 pt-2 px-4 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,s.jsx)(B,{ctrl:l,showFloatingActions:h})})})]})}),eh=(0,a.memo)(e=>{let{content:t,data:r}=e;if(null==r?void 0:r.running_window){let e=r.running_window.match(/```d-work\n([\s\S]*?)\n```/);if(e)try{let t=JSON.parse(e[1]),a={...t,explorer:r.explorer||t.explorer,items:r.items||t.items};return(0,s.jsx)("div",{className:"h-full w-full flex flex-col [&_.gpt-vis]:h-full [&_.gpt-vis]:flex-grow [&_.gpt-vis_pre]:flex-grow [&_.gpt-vis_pre]:h-full [&_.gpt-vis_pre]:m-0 [&_.gpt-vis_pre]:p-0 [&_.gpt-vis_pre]:bg-transparent [&_.gpt-vis_pre]:border-0 [&_.gpt-vis_pre]:flex [&_.gpt-vis_pre]:flex-col",children:(0,s.jsx)(ei.A,{components:{...ea.Ay},...ea.iU,children:"```d-work\n".concat(JSON.stringify(a),"\n```")})})}catch(e){console.error("Failed to parse running window data:",e)}}return(0,s.jsx)("div",{className:"h-full w-full flex flex-col [&_.gpt-vis]:h-full [&_.gpt-vis]:flex-grow [&_.gpt-vis_pre]:flex-grow [&_.gpt-vis_pre]:h-full [&_.gpt-vis_pre]:m-0 [&_.gpt-vis_pre]:p-0 [&_.gpt-vis_pre]:bg-transparent [&_.gpt-vis_pre]:border-0 [&_.gpt-vis_pre]:flex [&_.gpt-vis_pre]:flex-col",children:(0,s.jsx)(ei.A,{components:{...ea.Ay},...ea.iU,children:t||(null==r?void 0:r.running_window)||""})})});var ex=r(32429),eg=r(14042);let ef=(0,a.memo)(e=>{var t,r;let{ctrl:l}=e,n=(0,a.useRef)(null),{history:i,replyLoading:o}=(0,a.useContext)(R.zo),{runningWindowData:d}=function(e){let[t,r]=(0,a.useState)({}),[s,l]=(0,a.useState)("");return(0,a.useEffect)(()=>{if(!Array.isArray(e)){r({}),l("");return}let t={},s="";for(let r of e)try{if("string"==typeof r.context&&!r.context.trim().startsWith("{"))continue;let e="string"==typeof r.context?JSON.parse(r.context):r.context,a="",l="",n=[];if(e.running_window)a=e.running_window;else if(e.vis){let r="string"==typeof e.vis?JSON.parse(e.vis):e.vis;a=r.running_window||"",l=r.explorer||t.explorer||"",n=r.items||[]}l&&(t.explorer=l),n.length>0&&(t.items=[...t.items||[],...n]),a&&(t.running_window=a,s=a)}catch(e){console.debug("Skipping invalid chat item context:",{error:e instanceof Error?e.message:String(e),itemId:(null==r?void 0:r.id)||(null==r?void 0:r.order),contextSample:"string"==typeof(null==r?void 0:r.context)?r.context.substring(0,50):"[non-string context]"})}r(t),l(s)},[e]),{runningWindowData:t,runningWindowMarkdown:s}}(i),[c,u]=(0,a.useState)(!1),[m,p]=(0,a.useState)(!1),h=(0,a.useMemo)(()=>W()(i).filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,q.A)()})),[i]),x=(0,a.useMemo)(()=>!!((null==d?void 0:d.running_window)||(null==d?void 0:d.items)&&d.items.length>0),[d]);(0,a.useEffect)(()=>{let e=()=>{p(!0),u(!1)},t=()=>{p(!1),u(!0)};return eg.ee.on(eg.q.CLOSE_PANEL,e),eg.ee.on(eg.q.OPEN_PANEL,t),()=>{eg.ee.off(eg.q.CLOSE_PANEL,e),eg.ee.off(eg.q.OPEN_PANEL,t)}},[]),(0,a.useEffect)(()=>{!x||c||m||u(!0)},[x,c,m]);let g=(0,a.useRef)(d);(0,a.useEffect)(()=>{JSON.stringify(g.current)!==JSON.stringify(d)&&(g.current=d,x&&(p(!1),u(!0)))},[d,x]),(0,a.useEffect)(()=>{setTimeout(()=>{var e,t;null==(t=n.current)||t.scrollTo(0,null==(e=n.current)?void 0:e.scrollHeight)},50)},[i,null==(t=i[i.length-1])?void 0:t.context]);let f=h.length>0,y=o||i.length>0&&(null==(r=i[i.length-1])?void 0:r.thinking);return(0,s.jsxs)("div",{className:"flex h-full w-full overflow-hidden bg-gradient-to-br from-slate-100 to-slate-50",children:[(0,s.jsxs)("div",{className:P()("flex flex-col h-full transition-all duration-300 ease-out",c&&x?"w-[38%] min-w-[340px]":"flex-1"),children:[(0,s.jsx)(es,{isProcessing:y}),(0,s.jsx)("div",{className:"flex-1 overflow-y-auto",ref:n,children:f?(0,s.jsx)("div",{className:"w-full px-4 py-3",children:(0,s.jsxs)("div",{className:"max-w-3xl mx-auto space-y-2",children:[h.map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)(em,{content:e,messages:h})},t)),(0,s.jsx)("div",{className:"h-8"})]})}):(0,s.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"w-14 h-14 mx-auto mb-3 rounded-xl bg-gradient-to-br from-blue-500 to-indigo-600 flex items-center justify-center shadow-lg shadow-blue-500/20",children:(0,s.jsx)("span",{className:"text-2xl",children:"✨"})}),(0,s.jsx)("h3",{className:"text-base font-medium text-slate-700 mb-1",children:"开始新的对话"}),(0,s.jsx)("p",{className:"text-slate-400 text-sm",children:"输入消息开始与应用对话"})]})})}),(0,s.jsx)("div",{className:"flex-shrink-0 pb-3 pt-1 px-4",children:(0,s.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,s.jsx)(B,{ctrl:l,showFloatingActions:f})})})]}),x&&!c&&(0,s.jsx)("div",{className:"fixed right-4 top-1/2 -translate-y-1/2 z-40",children:(0,s.jsx)(A.A,{title:"显示工作区",placement:"left",children:(0,s.jsx)(O.Ay,{type:"default",shape:"circle",size:"large",icon:(0,s.jsx)(ex.A,{}),onClick:()=>{p(!1),u(!0)},className:"shadow-lg border-slate-200 bg-white/95 hover:bg-slate-50"})})}),c&&x&&(0,s.jsx)("div",{className:P()("flex flex-col bg-white border-l border-slate-200 transition-all duration-300 ease-out","w-[62%] min-w-[480px] h-full"),children:(0,s.jsx)("div",{className:"h-full w-full overflow-hidden",children:(0,s.jsx)(eh,{data:d})})})]})}),ey=(0,a.memo)((0,a.forwardRef)((e,t)=>{var r,l,n,i;let{ctrl:o}=e,{appInfo:d}=(0,a.useContext)(R.zo),c=(0,a.useRef)(null),[u,m]=(0,a.useState)(!1),[p,h]=(0,a.useState)(!0),[x,g]=(0,a.useState)(!1);(0,a.useImperativeHandle)(t,()=>c.current);let f=(0,a.useMemo)(()=>{var e,t,r,s;return(null==d||null==(t=d.layout)||null==(e=t.chat_layout)?void 0:e.reuse_name)==="derisk_vis_window"||(null==d||null==(s=d.layout)||null==(r=s.chat_layout)?void 0:r.name)==="derisk_vis_window"},[null==d||null==(l=d.layout)||null==(r=l.chat_layout)?void 0:r.name,null==d||null==(i=d.layout)||null==(n=i.chat_layout)?void 0:n.reuse_name]);return(0,s.jsx)("div",{ref:c,className:"flex flex-1 h-full w-full overflow-hidden",children:f?(0,s.jsx)(ef,{ctrl:o}):(0,s.jsx)(ep,{ctrl:o})})}))},70061:(e,t,r)=>{r.d(t,{Tc:()=>m,yh:()=>p});var s=r(60363),a=r.n(s),l=r(71965),n=r(94793),i=r(96705),o=r(54514),d=r(36174);function c(e){if(!e)throw Error("Empty or null JSON string");try{return JSON.parse(e)}catch(t){return JSON.parse(e.replace(/\\\$/g,"$"))}}function u(e){if(!e)return!0;let t=e.match(/```/g);return!!t&&t.length%2!=0}class m{destroy(){this.incrNodesMap.clear(),this.uidIndex.clear(),this.astRoot=null,this.currentVis=""}updateCurrentMarkdown(e){if(null==e)return this.currentVis;if(""===e)return this.currentVis="",this.astRoot=null,this.uidIndex.clear(),this.incrNodesMap.clear(),this.currentVis;if(!this.currentVis)return this.currentVis=e,this.astRoot=this.parseVis2AST(e),this.rebuildIndex(),this.currentVis;let t=this.parseVis2AST(e);return this.extractIncrContent(t),this.astRoot||(this.astRoot=this.parseVis2AST(this.currentVis),this.rebuildIndex()),this.mergeIncrementalChunk(t),this.currentVis=this.parseAST2Vis(this.astRoot),this.currentVis}queryByUID(e){let t,r=this.uidIndex.get(e);if(!r)return{found:!1};try{"ast"===r.nodeType&&r.node.value?t=c(r.node.value):"item"===r.nodeType?t=r.node:"nested"===r.nodeType&&r.node.value&&(t=c(r.node.value))}catch(e){}return{found:!0,entry:r,visItem:t}}getComponentPath(e){let t=this.uidIndex.get(e);return t?t.path:[]}getChildrenUIDs(e){let t=[];return this.uidIndex.forEach((r,s)=>{r.parentUid===e&&t.push(s)}),t}getIndexStats(){let e={total:this.uidIndex.size,byType:{ast:0,item:0,nested:0},maxDepth:0};return this.uidIndex.forEach(t=>{e.byType[t.nodeType]=(e.byType[t.nodeType]||0)+1,e.maxDepth=Math.max(e.maxDepth,t.depth)}),e}mergeIncrementalChunk(e){this.astRoot&&(this.traverseASTNodes(e,(e,t)=>{let r=t.uid;if(!r)return;let s=this.uidIndex.get(r);s?this.mergeExistingNode(s,t,e):this.smartMountNewNode(e,t)}),this.rebuildIndex())}mergeExistingNode(e,t,r){try{let r;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;r=c(e.node.value)}else{if("item"!==e.nodeType)return;r=e.node}let s=this.combineVisItem(r,t);if("ast"===e.nodeType)e.node.value=JSON.stringify(s);else if("nested"===e.nodeType)this.updateNestedNodeInHost(e,s);else if("item"===e.nodeType){if(e.itemsHostNode&&void 0!==e.itemIndex){let t=c(e.itemsHostNode.value);t.items&&t.items[e.itemIndex]&&(t.items[e.itemIndex]=s,e.itemsHostNode.value=JSON.stringify(t))}else e.itemsHost&&void 0!==e.itemIndex&&(e.itemsHost.items[e.itemIndex]=s);Object.assign(e.node,s)}}catch(e){console.error("[mergeExistingNode] Error merging uid=".concat(t.uid,":"),e)}}updateNestedNodeInHost(e,t){let r=t.uid,s=e.markdownHost||e.parentNode;if(!s||!s.value){e.node.value=JSON.stringify(t);return}try{let a=c(s.value);if(!a.markdown){e.node.value=JSON.stringify(t);return}let l=this.parseVis2AST(a.markdown),n=!1;if(this.traverseASTNodes(l,(e,s)=>{s.uid===r&&(e.value=JSON.stringify(t),n=!0)}),n){a.markdown=this.parseAST2Vis(l),s.value=JSON.stringify(a);let e=this.uidIndex.get(a.uid);e&&"nested"===e.nodeType&&this.updateNestedNodeInHost(e,a)}else e.node.value=JSON.stringify(t)}catch(r){console.error("[updateNestedNodeInHost] Error:",r),e.node.value=JSON.stringify(t)}}smartMountNewNode(e,t){if(!this.astRoot)return;let r=t.parent_uid;if(r){let s=this.uidIndex.get(r);if(s)return void this.mountToParentMarkdown(s,e,t)}this.astRoot.children&&this.astRoot.children.push(e)}mountToParentMarkdown(e,t,r){try{let r,s;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;r=c(e.node.value),s=t=>{e.node.value=JSON.stringify(t)}}else{if("item"!==e.nodeType)return;r=e.node,s=t=>{if(Object.assign(e.node,t),e.itemsHostNode&&void 0!==e.itemIndex){let r=c(e.itemsHostNode.value);r.items&&(r.items[e.itemIndex]=t,e.itemsHostNode.value=JSON.stringify(r))}}}let a=this.parseAST2Vis({type:"root",children:[t]});r.markdown?r.markdown+="\n"+a:r.markdown=a,s(r)}catch(e){console.error("[mountToParentMarkdown] Error:",e)}}combineVisItem(e,t){let r,s,a,{markdown:l="",uid:n,type:i,items:o=[],dynamic:d}=e,{markdown:c="",uid:u,type:m,items:p=[],dynamic:h}=t;return n!==u?e:(r=d?(l||"")+(c||""):this.combineMarkdownString(l,c),s="all"===m?c||l||void 0:c?r:l||void 0,a="all"===m&&p&&p.length>0?p:this.combineItems(o||[],p||[]),{...function(e,t){let r={...e};for(let e of Object.keys(t)){let s=t[e];null!=s&&(r[e]=s)}return r}(e,t),markdown:s,uid:n,dynamic:void 0!==h?h:d,type:m||i,items:a&&a.length>0?a:void 0})}combineItems(e,t){if(!t||0===t.length)return e||[];let r=a()(t,"uid"),s=(e||[]).map(e=>{let t=r[e.uid];return t?this.combineVisItem(e,t):e}),l=new Set((e||[]).map(e=>e.uid));return[...s,...t.filter(e=>!l.has(e.uid))]}combineMarkdownString(e,t){if(e||t){if(!e)return t||void 0;if(!t)return e;if(!e.includes("```")&&!t.includes("```"))return e+t;try{let r=this.parseVis2AST(e),s=this.parseVis2AST(t),a=new Map;return this.traverseASTNodes(r,(e,t)=>{t.uid&&a.set(t.uid,{node:e,json:t})}),this.traverseASTNodes(s,(e,t)=>{if(!t.uid)return;let s=a.get(t.uid);if(s){let e=this.combineVisItem(s.json,t);s.node.value=JSON.stringify(e)}else r.children&&r.children.push(e)}),this.parseAST2Vis(r)}catch(r){if(console.warn("[combineMarkdownString] AST merge failed, falling back to partial tag check:",r),u(e)||u(t))return e+t;return e+"\n"+t}}}rebuildIndex(){this.uidIndex.clear(),this.astRoot&&this.buildIndexRecursive(this.astRoot,null,null,null,0,[])}buildIndexRecursive(e,t,r,s,a,l){if(e){if(a>100)return void console.error("[buildIndexRecursive] 递归深度超过限制: ".concat(a,", path: ").concat(l.join(" -> ")));if(e.lang&&e.value)try{let s=c(e.value);if(s.uid){if(l.includes(s.uid)){if(l[l.length-1]===s.uid)return;console.error("[buildIndexRecursive] 检测到循环引用,跳过处理: uid=".concat(s.uid,", path: ").concat(l.join(" -> ")," -> ").concat(s.uid));return}let n=[...l,s.uid];this.uidIndex.set(s.uid,{node:e,nodeType:"ast",parentUid:r,parentNode:t,depth:a,path:n}),s.items&&Array.isArray(s.items)&&this.indexItems(s.items,e,s.uid,a+1,n),s.markdown&&this.indexNestedMarkdown(s.markdown,e,s.uid,a+1,n)}}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(t=>{this.buildIndexRecursive(t,e,r,s,a,l)})}}indexItems(e,t,r,s,a){if(s>100)return void console.error("[indexItems] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));e.forEach((e,l)=>{if(e.uid){let n;if(a.includes(e.uid)){if(a[a.length-1]===e.uid)return;console.error("[indexItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(a.join(" -> ")," -> ").concat(e.uid));return}let i=[...a,e.uid];try{n=c(t.value)}catch(e){}this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:r,parentNode:t,depth:s,path:i,itemsHost:n,itemsHostNode:t,itemIndex:l}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,s+1,i),e.items&&Array.isArray(e.items)&&this.indexNestedItems(e.items,e,e.uid,s+1,i)}})}indexNestedItems(e,t,r,s,a){if(s>100)return void console.error("[indexNestedItems] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));e.forEach((e,l)=>{if(e.uid){if(a.includes(e.uid)){if(a[a.length-1]===e.uid)return;console.error("[indexNestedItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(a.join(" -> ")," -> ").concat(e.uid));return}let n=[...a,e.uid];this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:r,parentNode:t,depth:s,path:n,itemsHost:t,itemIndex:l}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,s+1,n),e.items&&this.indexNestedItems(e.items,e,e.uid,s+1,n)}})}indexNestedMarkdown(e,t,r,s,a){if(e&&e.includes("```")){if(s>100)return void console.error("[indexNestedMarkdown] 递归深度超过限制: ".concat(s,", path: ").concat(a.join(" -> ")));try{let l=this.parseVis2AST(e);this.traverseASTNodes(l,(e,l)=>{if(l.uid){if(a.includes(l.uid)){if(a[a.length-1]===l.uid)return;console.error("[indexNestedMarkdown] 检测到循环引用,跳过处理: uid=".concat(l.uid,", path: ").concat(a.join(" -> ")," -> ").concat(l.uid));return}let n=[...a,l.uid];this.uidIndex.set(l.uid,{node:e,nodeType:"nested",parentUid:r,parentNode:t,depth:s,path:n,markdownHost:t}),l.markdown&&this.indexNestedMarkdown(l.markdown,e,l.uid,s+1,n),l.items&&Array.isArray(l.items)&&this.indexItems(l.items,e,l.uid,s+1,n)}})}catch(e){}}}parseVis2AST(e){return this.string2TreeProcessor.parse(function(e){let t=new d.T;return t.value=e||"",t}(e))}parseAST2Vis(e){return this.tree2StringProcessor.stringify(e).trimEnd()}traverseASTNodes(e,t){if(e){if(e.lang&&e.value)try{let r=c(e.value);t(e,r)}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(e=>{this.traverseASTNodes(e,t)})}}extractIncrContent(e){var t=this;this.incrNodesMap.clear();let r=function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a>100)return void console.error("[extractIncrContent] 递归深度超过限制: ".concat(a));if(e.uid){if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[extractIncrContent] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")));return}let l=[...s,e.uid];if(t.incrNodesMap.set(e.uid,e),e.markdown){let s=t.parseVis2AST(e.markdown);t.traverseASTNodes(s,(e,t)=>{r(t,l,a+1)})}e.items&&e.items.forEach(e=>{r(e,l,a+1)})}else{if(e.markdown){let l=t.parseVis2AST(e.markdown);t.traverseASTNodes(l,(e,t)=>{r(t,s,a+1)})}e.items&&e.items.forEach(e=>{r(e,s,a+1)})}};this.traverseASTNodes(e,(e,t)=>{r(t,[],0)})}createString2TreeProcessor(e){let t=(null==e?void 0:e.remarkPlugins)||[],r={allowDangerousHtml:!0,...null==e?void 0:e.remarkRehypeOptions};return(0,o.l)().use(l.A).use(t).use(i.A,r)}createTree2StringProcessor(){return(0,o.l)().use(n.A)}constructor(e){this.string2TreeProcessor=this.createString2TreeProcessor(e),this.tree2StringProcessor=this.createTree2StringProcessor(),this.incrNodesMap=new Map,this.uidIndex=new Map,this.astRoot=null,this.currentVis=""}}class p{getCurrent(e){if(e){var t;let r=this.windowParsers.get(e);return r?r.currentVis:(null==(t=this.parsers.get(e))?void 0:t.current)||""}return this.defaultParser.currentVis}queryByUID(e,t){if(t){let r=this.windowParsers.get(t);if(r)return r.queryByUID(e);let s=this.parsers.get(t);return s&&s.defaultParser?s.defaultParser.queryByUID(e):{found:!1}}return this.defaultParser.queryByUID(e)}update(e){try{let t=c(e),r={};try{this.current&&(r=c(this.current))}catch(e){r={}}let s=new Set([...Object.keys(t),...Object.keys(r)]),a={};s.forEach(e=>{let s=t[e],l=this.windowParsers.get(e);l||(l=new m,this.windowParsers.set(e,l)),null!=s&&""!==s&&l.updateCurrentMarkdown(s),l.currentVis?a[e]=l.currentVis:r[e]?a[e]=r[e]:e in t&&(a[e]=null)}),this.current=JSON.stringify(a)}catch(t){this.defaultParser.updateCurrentMarkdown(e),this.current=this.defaultParser.currentVis}return this.current}getIndexStats(e){if(e){let t=this.windowParsers.get(e);if(t)return t.getIndexStats()}return this.defaultParser.getIndexStats()}getAllWindowStats(){let e=new Map;return this.windowParsers.forEach((t,r)=>{e.set(r,t.getIndexStats())}),e}destroy(){this.parsers.forEach(e=>e.destroy()),this.parsers.clear(),this.windowParsers.forEach(e=>e.destroy()),this.windowParsers.clear(),this.defaultParser.destroy()}constructor(){this.current="",this.parsers=new Map,this.windowParsers=new Map,this.defaultParser=new m}}new m},91070:(e,t,r)=>{r.d(t,{BR:()=>n,zo:()=>l,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=r(39740),a=r(12115);let l=(0,a.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,a.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})},93640:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(89638),a=r(47937),l=r(61475),n=r(95069),i=r(94326),o=r(12115),d=r(70061),c=r(49509);let u=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:r}=e,[u,m]=(0,o.useState)({});return{chat:(0,o.useCallback)(async e=>{var o,u,p;let{data:h,onMessage:x,onClose:g,onDone:f,onError:y,ctrl:v}=e;if(v&&m(v),!(null==h?void 0:h.user_input)&&!(null==h?void 0:h.doc_id))return void i.Ay.warning(s.A.t("no_context_tip"));let b={...h,app_code:r},_=null==h||null==(o=h.ext_info)?void 0:o.incremental,w="",j={nodeId:"",text:""},N=new d.yh;try{await (0,n.y)("".concat(null!=(u=c.env.NEXT_PUBLIC_API_BASE_URL)?u:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[l.uz]:null!=(p=(0,a.F6)())?p:""},body:JSON.stringify(b),signal:v?v.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===n.o||"application/json"===e.headers.get("content-type")&&e.json().then(e=>{null==x||x(e),null==f||f(),v&&v.abort()})},onclose(){v&&v.abort(),null==g||g()},onerror(e){throw console.error("err",e),Error(e)},onmessage:e=>{let t=e.data;try{if(_){let{answerText:e,midMsgObject:r}=function(e,t,r,s){let a=t||{nodeId:"",text:""},l=r.vis;return a.text=s.update(l),{answerText:e||"",midMsgObject:a}}(w,j,JSON.parse(t),N);w=e,t=r.text}else t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==f||f():(null==t?void 0:t.startsWith("[ERROR]"))?null==y||y(null==t?void 0:t.replace("[ERROR]","")):null==x||x(t):(null==x||x(t),null==f||f())}})}catch(e){v&&v.abort(),null==y||y("Sorry, We meet some error, please try agin later.",e)}},[t,r]),ctrl:u}}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-fd69108a416bbd09.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-59856468bf06dd6e.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-fd69108a416bbd09.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-59856468bf06dd6e.js index aaf2bb59..95057777 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-fd69108a416bbd09.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-59856468bf06dd6e.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6174],{76174:(n,e,t)=>{t.d(e,{A:()=>ng});var r=t(12115),a=t(58464),i=t(79630),o=t(19663),c=t(35030),u=r.forwardRef(function(n,e){return r.createElement(c.A,(0,i.A)({},n,{ref:e,icon:o.A}))}),l=t(29300),s=t.n(l),d=t(40419),f=t(86608),p=t(21858),g=t(20235),m=t(30857),h=t(28383);function v(){return"function"==typeof BigInt}function b(n){return!n&&0!==n&&!Number.isNaN(n)||!String(n).trim()}function N(n){var e=n.trim(),t=e.startsWith("-");t&&(e=e.slice(1)),(e=e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(e="0".concat(e));var r=e||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(t=!1);var c=t?"-":"";return{negative:t,negativeStr:c,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(c).concat(r)}}function S(n){var e=String(n);return!Number.isNaN(Number(e))&&e.includes("e")}function w(n){var e=String(n);if(S(n)){var t=Number(e.slice(e.indexOf("e-")+2)),r=e.match(/\.(\d+)/);return null!=r&&r[1]&&(t+=r[1].length),t}return e.includes(".")&&y(e)?e.length-e.indexOf(".")-1:0}function E(n){var e=String(n);if(S(n)){if(n>Number.MAX_SAFE_INTEGER)return String(v()?BigInt(n).toString():Number.MAX_SAFE_INTEGER);if(n=this.add(n.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return n?this.isInvalidate()?"":N("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),n}(),x=function(){function n(e){if((0,m.A)(this,n),(0,d.A)(this,"origin",""),(0,d.A)(this,"number",void 0),(0,d.A)(this,"empty",void 0),b(e)){this.empty=!0;return}this.origin=String(e),this.number=Number(e)}return(0,h.A)(n,[{key:"negate",value:function(){return new n(-this.toNumber())}},{key:"add",value:function(e){if(this.isInvalidate())return new n(e);var t=Number(e);if(Number.isNaN(t))return this;var r=this.number+t;if(r>Number.MAX_SAFE_INTEGER)return new n(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new n(Number.MAX_SAFE_INTEGER);if(r=this.add(n.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var n=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return n?this.isInvalidate()?"":E(this.number):this.origin}}]),n}();function I(n){return v()?new A(n):new x(n)}function k(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===n)return"";var a=N(n),i=a.negativeStr,o=a.integerStr,c=a.decimalStr,u="".concat(e).concat(c),l="".concat(i).concat(o);if(t>=0){var s=Number(c[t]);return s>=5&&!r?k(I(n).add("".concat(i,"0.").concat("0".repeat(t)).concat(10-s)).toString(),e,t,r):0===t?l:"".concat(l).concat(e).concat(c.padEnd(t,"0").slice(0,t))}return".0"===u?l:"".concat(l).concat(u)}var R=t(11261),O=t(49172),j=t(74686),C=t(9587),M=t(96951);let B=function(){var n=(0,r.useState)(!1),e=(0,p.A)(n,2),t=e[0],a=e[1];return(0,O.A)(function(){a((0,M.A)())},[]),t};var _=t(16962);function F(n){var e=n.prefixCls,t=n.upNode,a=n.downNode,o=n.upDisabled,c=n.downDisabled,u=n.onStep,l=r.useRef(),f=r.useRef([]),p=r.useRef();p.current=u;var g=function(){clearTimeout(l.current)},m=function(n,e){n.preventDefault(),g(),p.current(e),l.current=setTimeout(function n(){p.current(e),l.current=setTimeout(n,200)},600)};if(r.useEffect(function(){return function(){g(),f.current.forEach(function(n){return _.A.cancel(n)})}},[]),B())return null;var h="".concat(e,"-handler"),v=s()(h,"".concat(h,"-up"),(0,d.A)({},"".concat(h,"-up-disabled"),o)),b=s()(h,"".concat(h,"-down"),(0,d.A)({},"".concat(h,"-down-disabled"),c)),N=function(){return f.current.push((0,_.A)(g))},S={unselectable:"on",role:"button",onMouseUp:N,onMouseLeave:N};return r.createElement("div",{className:"".concat(h,"-wrap")},r.createElement("span",(0,i.A)({},S,{onMouseDown:function(n){m(n,!0)},"aria-label":"Increase Value","aria-disabled":o,className:v}),t||r.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-up-inner")})),r.createElement("span",(0,i.A)({},S,{onMouseDown:function(n){m(n,!1)},"aria-label":"Decrease Value","aria-disabled":c,className:b}),a||r.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-down-inner")})))}function z(n){var e="number"==typeof n?E(n):N(n).fullStr;return e.includes(".")?N(e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:n+"0"}var D=t(43717);let T=function(){var n=(0,r.useRef)(0),e=function(){_.A.cancel(n.current)};return(0,r.useEffect)(function(){return e},[]),function(t){e(),n.current=(0,_.A)(function(){t()})}};var W=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],G=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],H=function(n,e){return n||e.isEmpty()?e.toString():e.toNumber()},q=function(n){var e=I(n);return e.isInvalidate()?null:e},P=r.forwardRef(function(n,e){var t,a,o=n.prefixCls,c=n.className,u=n.style,l=n.min,m=n.max,h=n.step,v=void 0===h?1:h,b=n.defaultValue,N=n.value,S=n.disabled,A=n.readOnly,x=n.upHandler,R=n.downHandler,M=n.keyboard,B=n.changeOnWheel,_=void 0!==B&&B,D=n.controls,G=(n.classNames,n.stringMode),P=n.parser,L=n.formatter,V=n.precision,$=n.decimalSeparator,X=n.onChange,U=n.onInput,K=n.onPressEnter,Y=n.onStep,Q=n.changeOnBlur,J=void 0===Q||Q,Z=n.domRef,nn=(0,g.A)(n,W),ne="".concat(o,"-input"),nt=r.useRef(null),nr=r.useState(!1),na=(0,p.A)(nr,2),ni=na[0],no=na[1],nc=r.useRef(!1),nu=r.useRef(!1),nl=r.useRef(!1),ns=r.useState(function(){return I(null!=N?N:b)}),nd=(0,p.A)(ns,2),nf=nd[0],np=nd[1],ng=r.useCallback(function(n,e){if(!e)return V>=0?V:Math.max(w(n),w(v))},[V,v]),nm=r.useCallback(function(n){var e=String(n);if(P)return P(e);var t=e;return $&&(t=t.replace($,".")),t.replace(/[^\w.-]+/g,"")},[P,$]),nh=r.useRef(""),nv=r.useCallback(function(n,e){if(L)return L(n,{userTyping:e,input:String(nh.current)});var t="number"==typeof n?E(n):n;if(!e){var r=ng(t,e);y(t)&&($||r>=0)&&(t=k(t,$||".",r))}return t},[L,ng,$]),nb=r.useState(function(){var n=null!=b?b:N;return nf.isInvalidate()&&["string","number"].includes((0,f.A)(n))?Number.isNaN(n)?"":n:nv(nf.toString(),!1)}),nN=(0,p.A)(nb,2),nS=nN[0],nw=nN[1];function nE(n,e){nw(nv(n.isInvalidate()?n.toString(!1):n.toString(!e),e))}nh.current=nS;var ny=r.useMemo(function(){return q(m)},[m,V]),nA=r.useMemo(function(){return q(l)},[l,V]),nx=r.useMemo(function(){return!(!ny||!nf||nf.isInvalidate())&&ny.lessEquals(nf)},[ny,nf]),nI=r.useMemo(function(){return!(!nA||!nf||nf.isInvalidate())&&nf.lessEquals(nA)},[nA,nf]),nk=(t=nt.current,a=(0,r.useRef)(null),[function(){try{var n=t.selectionStart,e=t.selectionEnd,r=t.value,i=r.substring(0,n),o=r.substring(e);a.current={start:n,end:e,value:r,beforeTxt:i,afterTxt:o}}catch(n){}},function(){if(t&&a.current&&ni)try{var n=t.value,e=a.current,r=e.beforeTxt,i=e.afterTxt,o=e.start,c=n.length;if(n.startsWith(r))c=r.length;else if(n.endsWith(i))c=n.length-a.current.afterTxt.length;else{var u=r[o-1],l=n.indexOf(u,o-1);-1!==l&&(c=l+1)}t.setSelectionRange(c,c)}catch(n){(0,C.Ay)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(n.message))}}]),nR=(0,p.A)(nk,2),nO=nR[0],nj=nR[1],nC=function(n){return ny&&!n.lessEquals(ny)?ny:nA&&!nA.lessEquals(n)?nA:null},nM=function(n){return!nC(n)},nB=function(n,e){var t=n,r=nM(t)||t.isEmpty();if(t.isEmpty()||e||(t=nC(t)||t,r=!0),!A&&!S&&r){var a,i=t.toString(),o=ng(i,e);return o>=0&&(nM(t=I(k(i,".",o)))||(t=I(k(i,".",o,!0)))),t.equals(nf)||(a=t,void 0===N&&np(a),null==X||X(t.isEmpty()?null:H(G,t)),void 0===N&&nE(t,e)),t}return nf},n_=T(),nF=function n(e){if(nO(),nh.current=e,nw(e),!nu.current){var t=I(nm(e));t.isNaN()||nB(t,!0)}null==U||U(e),n_(function(){var t=e;P||(t=e.replace(/。/g,".")),t!==e&&n(t)})},nz=function(n){if((!n||!nx)&&(n||!nI)){nc.current=!1;var e,t=I(nl.current?z(v):v);n||(t=t.negate());var r=nB((nf||I(0)).add(t.toString()),!1);null==Y||Y(H(G,r),{offset:nl.current?z(v):v,type:n?"up":"down"}),null==(e=nt.current)||e.focus()}},nD=function(n){var e,t=I(nm(nS));e=t.isNaN()?nB(nf,n):nB(t,n),void 0!==N?nE(nf,!1):e.isNaN()||nE(e,!1)};return r.useEffect(function(){if(_&&ni){var n=function(n){nz(n.deltaY<0),n.preventDefault()},e=nt.current;if(e)return e.addEventListener("wheel",n,{passive:!1}),function(){return e.removeEventListener("wheel",n)}}}),(0,O.o)(function(){nf.isInvalidate()||nE(nf,!1)},[V,L]),(0,O.o)(function(){var n=I(N);np(n);var e=I(nm(nS));n.equals(e)&&nc.current&&!L||nE(n,nc.current)},[N]),(0,O.o)(function(){L&&nj()},[nS]),r.createElement("div",{ref:Z,className:s()(o,c,(0,d.A)((0,d.A)((0,d.A)((0,d.A)((0,d.A)({},"".concat(o,"-focused"),ni),"".concat(o,"-disabled"),S),"".concat(o,"-readonly"),A),"".concat(o,"-not-a-number"),nf.isNaN()),"".concat(o,"-out-of-range"),!nf.isInvalidate()&&!nM(nf))),style:u,onFocus:function(){no(!0)},onBlur:function(){J&&nD(!1),no(!1),nc.current=!1},onKeyDown:function(n){var e=n.key,t=n.shiftKey;nc.current=!0,nl.current=t,"Enter"===e&&(nu.current||(nc.current=!1),nD(!1),null==K||K(n)),!1!==M&&!nu.current&&["Up","ArrowUp","Down","ArrowDown"].includes(e)&&(nz("Up"===e||"ArrowUp"===e),n.preventDefault())},onKeyUp:function(){nc.current=!1,nl.current=!1},onCompositionStart:function(){nu.current=!0},onCompositionEnd:function(){nu.current=!1,nF(nt.current.value)},onBeforeInput:function(){nc.current=!0}},(void 0===D||D)&&r.createElement(F,{prefixCls:o,upNode:x,downNode:R,upDisabled:nx,downDisabled:nI,onStep:nz}),r.createElement("div",{className:"".concat(ne,"-wrap")},r.createElement("input",(0,i.A)({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":m,"aria-valuenow":nf.isInvalidate()?null:nf.toString(),step:v},nn,{ref:(0,j.K4)(nt,e),className:ne,value:nS,onChange:function(n){nF(n.target.value)},disabled:S,readOnly:A}))))}),L=r.forwardRef(function(n,e){var t=n.disabled,a=n.style,o=n.prefixCls,c=void 0===o?"rc-input-number":o,u=n.value,l=n.prefix,s=n.suffix,d=n.addonBefore,f=n.addonAfter,p=n.className,m=n.classNames,h=(0,g.A)(n,G),v=r.useRef(null),b=r.useRef(null),N=r.useRef(null),S=function(n){N.current&&(0,D.F4)(N.current,n)};return r.useImperativeHandle(e,function(){var n,e;return n=N.current,e={focus:S,nativeElement:v.current.nativeElement||b.current},"undefined"!=typeof Proxy&&n?new Proxy(n,{get:function(n,t){if(e[t])return e[t];var r=n[t];return"function"==typeof r?r.bind(n):r}}):n}),r.createElement(R.a,{className:p,triggerFocus:S,prefixCls:c,value:u,disabled:t,style:a,prefix:l,suffix:s,addonAfter:f,addonBefore:d,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},r.createElement(P,(0,i.A)({prefixCls:c,disabled:t,ref:N,domRef:b,className:null==m?void 0:m.input},h)))}),V=t(9184),$=t(79007),X=t(15982),U=t(57845),K=t(44494),Y=t(68151),Q=t(9836),J=t(63568),Z=t(63893),nn=t(96936),ne=t(99841),nt=t(30611),nr=t(19086),na=t(35271),ni=t(18184),no=t(67831),nc=t(45431),nu=t(61388),nl=t(60872);let ns=(n,e)=>{let{componentCls:t,borderRadiusSM:r,borderRadiusLG:a}=n,i="lg"===e?a:r;return{["&-".concat(e)]:{["".concat(t,"-handler-wrap")]:{borderStartEndRadius:i,borderEndEndRadius:i},["".concat(t,"-handler-up")]:{borderStartEndRadius:i},["".concat(t,"-handler-down")]:{borderEndEndRadius:i}}}},nd=(0,nc.OF)("InputNumber",n=>{let e=(0,nu.oX)(n,(0,nr.C)(n));return[(n=>{let{componentCls:e,lineWidth:t,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:c,controlHeightSM:u,colorError:l,paddingInlineSM:s,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:p,colorIcon:g,motionDurationMid:m,handleHoverColor:h,handleOpacity:v,paddingInline:b,paddingBlock:N,handleBg:S,handleActiveBg:w,colorTextDisabled:E,borderRadiusSM:y,borderRadiusLG:A,controlWidth:x,handleBorderColor:I,filledHandleBg:k,lineHeightLG:R,calc:O}=n;return[{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),(0,nt.wj)(n)),{display:"inline-block",width:x,margin:0,padding:0,borderRadius:a}),(0,na.Eb)(n,{["".concat(e,"-handler-wrap")]:{background:S,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}}})),(0,na.sA)(n,{["".concat(e,"-handler-wrap")]:{background:k,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}},"&:focus-within":{["".concat(e,"-handler-wrap")]:{background:S}}})),(0,na.aP)(n,{["".concat(e,"-handler-wrap")]:{background:S,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}}})),(0,na.lB)(n)),{"&-rtl":{direction:"rtl",["".concat(e,"-input")]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:R,borderRadius:A,["input".concat(e,"-input")]:{height:O(c).sub(O(t).mul(2)).equal(),padding:"".concat((0,ne.zA)(f)," ").concat((0,ne.zA)(p))}},"&-sm":{padding:0,fontSize:i,borderRadius:y,["input".concat(e,"-input")]:{height:O(u).sub(O(t).mul(2)).equal(),padding:"".concat((0,ne.zA)(d)," ").concat((0,ne.zA)(s))}},"&-out-of-range":{["".concat(e,"-input-wrap")]:{input:{color:l}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),(0,nt.XM)(n)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",["".concat(e,"-affix-wrapper")]:{width:"100%"},"&-lg":{["".concat(e,"-group-addon")]:{borderRadius:A,fontSize:n.fontSizeLG}},"&-sm":{["".concat(e,"-group-addon")]:{borderRadius:y}}},(0,na.nm)(n)),(0,na.Vy)(n)),{["&:not(".concat(e,"-compact-first-item):not(").concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-first-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-last-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),["&-disabled ".concat(e,"-input")]:{cursor:"not-allowed"},[e]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),{width:"100%",padding:"".concat((0,ne.zA)(N)," ").concat((0,ne.zA)(b)),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:"all ".concat(m," linear"),appearance:"textfield",fontSize:"inherit"}),(0,nt.j_)(n.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},["&:hover ".concat(e,"-handler-wrap, &-focused ").concat(e,"-handler-wrap")]:{width:n.handleWidth,opacity:1}})},{[e]:Object.assign(Object.assign(Object.assign({["".concat(e,"-handler-wrap")]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:n.handleVisibleWidth,opacity:v,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:"all ".concat(m),overflow:"hidden",["".concat(e,"-handler")]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",["\n ".concat(e,"-handler-up-inner,\n ").concat(e,"-handler-down-inner\n ")]:{marginInlineEnd:0,fontSize:n.handleFontSize}}},["".concat(e,"-handler")]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I),transition:"all ".concat(m," linear"),"&:active":{background:w},"&:hover":{height:"60%",["\n ".concat(e,"-handler-up-inner,\n ").concat(e,"-handler-down-inner\n ")]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ni.Nk)()),{color:g,transition:"all ".concat(m," linear"),userSelect:"none"})},["".concat(e,"-handler-up")]:{borderStartEndRadius:a},["".concat(e,"-handler-down")]:{borderEndEndRadius:a}},ns(n,"lg")),ns(n,"sm")),{"&-disabled, &-readonly":{["".concat(e,"-handler-wrap")]:{display:"none"},["".concat(e,"-input")]:{color:"inherit"}},["\n ".concat(e,"-handler-up-disabled,\n ").concat(e,"-handler-down-disabled\n ")]:{cursor:"not-allowed"},["\n ".concat(e,"-handler-up-disabled:hover &-handler-up-inner,\n ").concat(e,"-handler-down-disabled:hover &-handler-down-inner\n ")]:{color:E}})}]})(e),(n=>{let{componentCls:e,paddingBlock:t,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:c,paddingInlineLG:u,paddingInlineSM:l,paddingBlockLG:s,paddingBlockSM:d,motionDurationMid:f}=n;return{["".concat(e,"-affix-wrapper")]:Object.assign(Object.assign({["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(t)," 0")}},(0,nt.wj)(n)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:u,["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(s)," 0")}},"&-sm":{borderRadius:c,paddingInlineStart:l,["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(d)," 0")}},["&:not(".concat(e,"-disabled):hover")]:{zIndex:1},"&-focused, &:focus":{zIndex:1},["&-disabled > ".concat(e,"-disabled")]:{background:"transparent"},["> div".concat(e)]:{width:"100%",border:"none",outline:"none",["&".concat(e,"-focused")]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},["".concat(e,"-handler-wrap")]:{zIndex:2},[e]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:"margin ".concat(f)}},["&:hover ".concat(e,"-handler-wrap, &-focused ").concat(e,"-handler-wrap")]:{width:n.handleWidth,opacity:1},["&:not(".concat(e,"-affix-wrapper-without-controls):hover ").concat(e,"-suffix")]:{marginInlineEnd:n.calc(n.handleWidth).add(r).equal()}}),["".concat(e,"-underlined")]:{borderRadius:0}}})(e),(0,no.G)(e)]},n=>{var e;let t=null!=(e=n.handleVisible)?e:"auto",r=n.controlHeightSM-2*n.lineWidth;return Object.assign(Object.assign({},(0,nr.b)(n)),{controlWidth:90,handleWidth:r,handleFontSize:n.fontSize/2,handleVisible:t,handleActiveBg:n.colorFillAlter,handleBg:n.colorBgContainer,filledHandleBg:new nl.Y(n.colorFillSecondary).onBackground(n.colorBgContainer).toHexString(),handleHoverColor:n.colorPrimary,handleBorderColor:n.colorBorder,handleOpacity:+(!0===t),handleVisibleWidth:!0===t?r:0})},{unitless:{handleOpacity:!0},resetFont:!1});var nf=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&0>e.indexOf(r)&&(t[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(n);ae.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(n,r[a])&&(t[r[a]]=n[r[a]]);return t};let np=r.forwardRef((n,e)=>{let{getPrefixCls:t,direction:i}=r.useContext(X.QO),o=r.useRef(null);r.useImperativeHandle(e,()=>o.current);let{className:c,rootClassName:l,size:d,disabled:f,prefixCls:p,addonBefore:g,addonAfter:m,prefix:h,suffix:v,bordered:b,readOnly:N,status:S,controls:w,variant:E}=n,y=nf(n,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),A=t("input-number",p),x=(0,Y.A)(A),[I,k,R]=nd(A,x),{compactSize:O,compactItemClassnames:j}=(0,nn.RQ)(A,i),C=r.createElement(u,{className:"".concat(A,"-handler-up-inner")}),M=r.createElement(a.A,{className:"".concat(A,"-handler-down-inner")}),B="boolean"==typeof w?w:void 0;"object"==typeof w&&(C=void 0===w.upIcon?C:r.createElement("span",{className:"".concat(A,"-handler-up-inner")},w.upIcon),M=void 0===w.downIcon?M:r.createElement("span",{className:"".concat(A,"-handler-down-inner")},w.downIcon));let{hasFeedback:_,status:F,isFormItemInput:z,feedbackIcon:D}=r.useContext(J.$W),T=(0,$.v)(F,S),W=(0,Q.A)(n=>{var e;return null!=(e=null!=d?d:O)?e:n}),G=r.useContext(K.A),H=null!=f?f:G,[q,P]=(0,Z.A)("inputNumber",E,b),U=_&&r.createElement(r.Fragment,null,D),ne=s()({["".concat(A,"-lg")]:"large"===W,["".concat(A,"-sm")]:"small"===W,["".concat(A,"-rtl")]:"rtl"===i,["".concat(A,"-in-form-item")]:z},k),nt="".concat(A,"-group");return I(r.createElement(L,Object.assign({ref:o,disabled:H,className:s()(R,x,c,l,j),upHandler:C,downHandler:M,prefixCls:A,readOnly:N,controls:B,prefix:h,suffix:U||v,addonBefore:g&&r.createElement(V.A,{form:!0,space:!0},g),addonAfter:m&&r.createElement(V.A,{form:!0,space:!0},m),classNames:{input:ne,variant:s()({["".concat(A,"-").concat(q)]:P},(0,$.L)(A,T,_)),affixWrapper:s()({["".concat(A,"-affix-wrapper-sm")]:"small"===W,["".concat(A,"-affix-wrapper-lg")]:"large"===W,["".concat(A,"-affix-wrapper-rtl")]:"rtl"===i,["".concat(A,"-affix-wrapper-without-controls")]:!1===w||H||N},k),wrapper:s()({["".concat(nt,"-rtl")]:"rtl"===i},k),groupWrapper:s()({["".concat(A,"-group-wrapper-sm")]:"small"===W,["".concat(A,"-group-wrapper-lg")]:"large"===W,["".concat(A,"-group-wrapper-rtl")]:"rtl"===i,["".concat(A,"-group-wrapper-").concat(q)]:P},(0,$.L)("".concat(A,"-group-wrapper"),T,_),k)}},y)))});np._InternalPanelDoNotUseOrYouWillBeFired=n=>r.createElement(U.Ay,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(np,Object.assign({},n)));let ng=np}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6174],{76174:(n,e,t)=>{t.d(e,{A:()=>ng});var r=t(12115),a=t(58464),i=t(79630),o=t(19663),c=t(35030),u=r.forwardRef(function(n,e){return r.createElement(c.A,(0,i.A)({},n,{ref:e,icon:o.A}))}),l=t(29300),s=t.n(l),d=t(40419),f=t(86608),p=t(21858),g=t(20235),m=t(30857),h=t(28383);function v(){return"function"==typeof BigInt}function b(n){return!n&&0!==n&&!Number.isNaN(n)||!String(n).trim()}function N(n){var e=n.trim(),t=e.startsWith("-");t&&(e=e.slice(1)),(e=e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(e="0".concat(e));var r=e||"0",a=r.split("."),i=a[0]||"0",o=a[1]||"0";"0"===i&&"0"===o&&(t=!1);var c=t?"-":"";return{negative:t,negativeStr:c,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(c).concat(r)}}function S(n){var e=String(n);return!Number.isNaN(Number(e))&&e.includes("e")}function w(n){var e=String(n);if(S(n)){var t=Number(e.slice(e.indexOf("e-")+2)),r=e.match(/\.(\d+)/);return null!=r&&r[1]&&(t+=r[1].length),t}return e.includes(".")&&y(e)?e.length-e.indexOf(".")-1:0}function E(n){var e=String(n);if(S(n)){if(n>Number.MAX_SAFE_INTEGER)return String(v()?BigInt(n).toString():Number.MAX_SAFE_INTEGER);if(n=this.add(n.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return n?this.isInvalidate()?"":N("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),n}(),x=function(){function n(e){if((0,m.A)(this,n),(0,d.A)(this,"origin",""),(0,d.A)(this,"number",void 0),(0,d.A)(this,"empty",void 0),b(e)){this.empty=!0;return}this.origin=String(e),this.number=Number(e)}return(0,h.A)(n,[{key:"negate",value:function(){return new n(-this.toNumber())}},{key:"add",value:function(e){if(this.isInvalidate())return new n(e);var t=Number(e);if(Number.isNaN(t))return this;var r=this.number+t;if(r>Number.MAX_SAFE_INTEGER)return new n(Number.MAX_SAFE_INTEGER);if(rNumber.MAX_SAFE_INTEGER)return new n(Number.MAX_SAFE_INTEGER);if(r=this.add(n.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var n=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return n?this.isInvalidate()?"":E(this.number):this.origin}}]),n}();function I(n){return v()?new A(n):new x(n)}function k(n,e,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===n)return"";var a=N(n),i=a.negativeStr,o=a.integerStr,c=a.decimalStr,u="".concat(e).concat(c),l="".concat(i).concat(o);if(t>=0){var s=Number(c[t]);return s>=5&&!r?k(I(n).add("".concat(i,"0.").concat("0".repeat(t)).concat(10-s)).toString(),e,t,r):0===t?l:"".concat(l).concat(e).concat(c.padEnd(t,"0").slice(0,t))}return".0"===u?l:"".concat(l).concat(u)}var R=t(11261),O=t(26791),j=t(74686),C=t(9587),M=t(96951);let B=function(){var n=(0,r.useState)(!1),e=(0,p.A)(n,2),t=e[0],a=e[1];return(0,O.A)(function(){a((0,M.A)())},[]),t};var _=t(16962);function F(n){var e=n.prefixCls,t=n.upNode,a=n.downNode,o=n.upDisabled,c=n.downDisabled,u=n.onStep,l=r.useRef(),f=r.useRef([]),p=r.useRef();p.current=u;var g=function(){clearTimeout(l.current)},m=function(n,e){n.preventDefault(),g(),p.current(e),l.current=setTimeout(function n(){p.current(e),l.current=setTimeout(n,200)},600)};if(r.useEffect(function(){return function(){g(),f.current.forEach(function(n){return _.A.cancel(n)})}},[]),B())return null;var h="".concat(e,"-handler"),v=s()(h,"".concat(h,"-up"),(0,d.A)({},"".concat(h,"-up-disabled"),o)),b=s()(h,"".concat(h,"-down"),(0,d.A)({},"".concat(h,"-down-disabled"),c)),N=function(){return f.current.push((0,_.A)(g))},S={unselectable:"on",role:"button",onMouseUp:N,onMouseLeave:N};return r.createElement("div",{className:"".concat(h,"-wrap")},r.createElement("span",(0,i.A)({},S,{onMouseDown:function(n){m(n,!0)},"aria-label":"Increase Value","aria-disabled":o,className:v}),t||r.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-up-inner")})),r.createElement("span",(0,i.A)({},S,{onMouseDown:function(n){m(n,!1)},"aria-label":"Decrease Value","aria-disabled":c,className:b}),a||r.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-down-inner")})))}function z(n){var e="number"==typeof n?E(n):N(n).fullStr;return e.includes(".")?N(e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:n+"0"}var D=t(43717);let T=function(){var n=(0,r.useRef)(0),e=function(){_.A.cancel(n.current)};return(0,r.useEffect)(function(){return e},[]),function(t){e(),n.current=(0,_.A)(function(){t()})}};var W=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],G=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],H=function(n,e){return n||e.isEmpty()?e.toString():e.toNumber()},q=function(n){var e=I(n);return e.isInvalidate()?null:e},P=r.forwardRef(function(n,e){var t,a,o=n.prefixCls,c=n.className,u=n.style,l=n.min,m=n.max,h=n.step,v=void 0===h?1:h,b=n.defaultValue,N=n.value,S=n.disabled,A=n.readOnly,x=n.upHandler,R=n.downHandler,M=n.keyboard,B=n.changeOnWheel,_=void 0!==B&&B,D=n.controls,G=(n.classNames,n.stringMode),P=n.parser,L=n.formatter,V=n.precision,$=n.decimalSeparator,X=n.onChange,U=n.onInput,K=n.onPressEnter,Y=n.onStep,Q=n.changeOnBlur,J=void 0===Q||Q,Z=n.domRef,nn=(0,g.A)(n,W),ne="".concat(o,"-input"),nt=r.useRef(null),nr=r.useState(!1),na=(0,p.A)(nr,2),ni=na[0],no=na[1],nc=r.useRef(!1),nu=r.useRef(!1),nl=r.useRef(!1),ns=r.useState(function(){return I(null!=N?N:b)}),nd=(0,p.A)(ns,2),nf=nd[0],np=nd[1],ng=r.useCallback(function(n,e){if(!e)return V>=0?V:Math.max(w(n),w(v))},[V,v]),nm=r.useCallback(function(n){var e=String(n);if(P)return P(e);var t=e;return $&&(t=t.replace($,".")),t.replace(/[^\w.-]+/g,"")},[P,$]),nh=r.useRef(""),nv=r.useCallback(function(n,e){if(L)return L(n,{userTyping:e,input:String(nh.current)});var t="number"==typeof n?E(n):n;if(!e){var r=ng(t,e);y(t)&&($||r>=0)&&(t=k(t,$||".",r))}return t},[L,ng,$]),nb=r.useState(function(){var n=null!=b?b:N;return nf.isInvalidate()&&["string","number"].includes((0,f.A)(n))?Number.isNaN(n)?"":n:nv(nf.toString(),!1)}),nN=(0,p.A)(nb,2),nS=nN[0],nw=nN[1];function nE(n,e){nw(nv(n.isInvalidate()?n.toString(!1):n.toString(!e),e))}nh.current=nS;var ny=r.useMemo(function(){return q(m)},[m,V]),nA=r.useMemo(function(){return q(l)},[l,V]),nx=r.useMemo(function(){return!(!ny||!nf||nf.isInvalidate())&&ny.lessEquals(nf)},[ny,nf]),nI=r.useMemo(function(){return!(!nA||!nf||nf.isInvalidate())&&nf.lessEquals(nA)},[nA,nf]),nk=(t=nt.current,a=(0,r.useRef)(null),[function(){try{var n=t.selectionStart,e=t.selectionEnd,r=t.value,i=r.substring(0,n),o=r.substring(e);a.current={start:n,end:e,value:r,beforeTxt:i,afterTxt:o}}catch(n){}},function(){if(t&&a.current&&ni)try{var n=t.value,e=a.current,r=e.beforeTxt,i=e.afterTxt,o=e.start,c=n.length;if(n.startsWith(r))c=r.length;else if(n.endsWith(i))c=n.length-a.current.afterTxt.length;else{var u=r[o-1],l=n.indexOf(u,o-1);-1!==l&&(c=l+1)}t.setSelectionRange(c,c)}catch(n){(0,C.Ay)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(n.message))}}]),nR=(0,p.A)(nk,2),nO=nR[0],nj=nR[1],nC=function(n){return ny&&!n.lessEquals(ny)?ny:nA&&!nA.lessEquals(n)?nA:null},nM=function(n){return!nC(n)},nB=function(n,e){var t=n,r=nM(t)||t.isEmpty();if(t.isEmpty()||e||(t=nC(t)||t,r=!0),!A&&!S&&r){var a,i=t.toString(),o=ng(i,e);return o>=0&&(nM(t=I(k(i,".",o)))||(t=I(k(i,".",o,!0)))),t.equals(nf)||(a=t,void 0===N&&np(a),null==X||X(t.isEmpty()?null:H(G,t)),void 0===N&&nE(t,e)),t}return nf},n_=T(),nF=function n(e){if(nO(),nh.current=e,nw(e),!nu.current){var t=I(nm(e));t.isNaN()||nB(t,!0)}null==U||U(e),n_(function(){var t=e;P||(t=e.replace(/。/g,".")),t!==e&&n(t)})},nz=function(n){if((!n||!nx)&&(n||!nI)){nc.current=!1;var e,t=I(nl.current?z(v):v);n||(t=t.negate());var r=nB((nf||I(0)).add(t.toString()),!1);null==Y||Y(H(G,r),{offset:nl.current?z(v):v,type:n?"up":"down"}),null==(e=nt.current)||e.focus()}},nD=function(n){var e,t=I(nm(nS));e=t.isNaN()?nB(nf,n):nB(t,n),void 0!==N?nE(nf,!1):e.isNaN()||nE(e,!1)};return r.useEffect(function(){if(_&&ni){var n=function(n){nz(n.deltaY<0),n.preventDefault()},e=nt.current;if(e)return e.addEventListener("wheel",n,{passive:!1}),function(){return e.removeEventListener("wheel",n)}}}),(0,O.o)(function(){nf.isInvalidate()||nE(nf,!1)},[V,L]),(0,O.o)(function(){var n=I(N);np(n);var e=I(nm(nS));n.equals(e)&&nc.current&&!L||nE(n,nc.current)},[N]),(0,O.o)(function(){L&&nj()},[nS]),r.createElement("div",{ref:Z,className:s()(o,c,(0,d.A)((0,d.A)((0,d.A)((0,d.A)((0,d.A)({},"".concat(o,"-focused"),ni),"".concat(o,"-disabled"),S),"".concat(o,"-readonly"),A),"".concat(o,"-not-a-number"),nf.isNaN()),"".concat(o,"-out-of-range"),!nf.isInvalidate()&&!nM(nf))),style:u,onFocus:function(){no(!0)},onBlur:function(){J&&nD(!1),no(!1),nc.current=!1},onKeyDown:function(n){var e=n.key,t=n.shiftKey;nc.current=!0,nl.current=t,"Enter"===e&&(nu.current||(nc.current=!1),nD(!1),null==K||K(n)),!1!==M&&!nu.current&&["Up","ArrowUp","Down","ArrowDown"].includes(e)&&(nz("Up"===e||"ArrowUp"===e),n.preventDefault())},onKeyUp:function(){nc.current=!1,nl.current=!1},onCompositionStart:function(){nu.current=!0},onCompositionEnd:function(){nu.current=!1,nF(nt.current.value)},onBeforeInput:function(){nc.current=!0}},(void 0===D||D)&&r.createElement(F,{prefixCls:o,upNode:x,downNode:R,upDisabled:nx,downDisabled:nI,onStep:nz}),r.createElement("div",{className:"".concat(ne,"-wrap")},r.createElement("input",(0,i.A)({autoComplete:"off",role:"spinbutton","aria-valuemin":l,"aria-valuemax":m,"aria-valuenow":nf.isInvalidate()?null:nf.toString(),step:v},nn,{ref:(0,j.K4)(nt,e),className:ne,value:nS,onChange:function(n){nF(n.target.value)},disabled:S,readOnly:A}))))}),L=r.forwardRef(function(n,e){var t=n.disabled,a=n.style,o=n.prefixCls,c=void 0===o?"rc-input-number":o,u=n.value,l=n.prefix,s=n.suffix,d=n.addonBefore,f=n.addonAfter,p=n.className,m=n.classNames,h=(0,g.A)(n,G),v=r.useRef(null),b=r.useRef(null),N=r.useRef(null),S=function(n){N.current&&(0,D.F4)(N.current,n)};return r.useImperativeHandle(e,function(){var n,e;return n=N.current,e={focus:S,nativeElement:v.current.nativeElement||b.current},"undefined"!=typeof Proxy&&n?new Proxy(n,{get:function(n,t){if(e[t])return e[t];var r=n[t];return"function"==typeof r?r.bind(n):r}}):n}),r.createElement(R.a,{className:p,triggerFocus:S,prefixCls:c,value:u,disabled:t,style:a,prefix:l,suffix:s,addonAfter:f,addonBefore:d,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},r.createElement(P,(0,i.A)({prefixCls:c,disabled:t,ref:N,domRef:b,className:null==m?void 0:m.input},h)))}),V=t(9184),$=t(79007),X=t(15982),U=t(57845),K=t(44494),Y=t(68151),Q=t(9836),J=t(63568),Z=t(63893),nn=t(96936),ne=t(99841),nt=t(30611),nr=t(19086),na=t(35271),ni=t(18184),no=t(67831),nc=t(45431),nu=t(61388),nl=t(60872);let ns=(n,e)=>{let{componentCls:t,borderRadiusSM:r,borderRadiusLG:a}=n,i="lg"===e?a:r;return{["&-".concat(e)]:{["".concat(t,"-handler-wrap")]:{borderStartEndRadius:i,borderEndEndRadius:i},["".concat(t,"-handler-up")]:{borderStartEndRadius:i},["".concat(t,"-handler-down")]:{borderEndEndRadius:i}}}},nd=(0,nc.OF)("InputNumber",n=>{let e=(0,nu.oX)(n,(0,nr.C)(n));return[(n=>{let{componentCls:e,lineWidth:t,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:c,controlHeightSM:u,colorError:l,paddingInlineSM:s,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:p,colorIcon:g,motionDurationMid:m,handleHoverColor:h,handleOpacity:v,paddingInline:b,paddingBlock:N,handleBg:S,handleActiveBg:w,colorTextDisabled:E,borderRadiusSM:y,borderRadiusLG:A,controlWidth:x,handleBorderColor:I,filledHandleBg:k,lineHeightLG:R,calc:O}=n;return[{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),(0,nt.wj)(n)),{display:"inline-block",width:x,margin:0,padding:0,borderRadius:a}),(0,na.Eb)(n,{["".concat(e,"-handler-wrap")]:{background:S,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}}})),(0,na.sA)(n,{["".concat(e,"-handler-wrap")]:{background:k,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}},"&:focus-within":{["".concat(e,"-handler-wrap")]:{background:S}}})),(0,na.aP)(n,{["".concat(e,"-handler-wrap")]:{background:S,["".concat(e,"-handler-down")]:{borderBlockStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I)}}})),(0,na.lB)(n)),{"&-rtl":{direction:"rtl",["".concat(e,"-input")]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:R,borderRadius:A,["input".concat(e,"-input")]:{height:O(c).sub(O(t).mul(2)).equal(),padding:"".concat((0,ne.zA)(f)," ").concat((0,ne.zA)(p))}},"&-sm":{padding:0,fontSize:i,borderRadius:y,["input".concat(e,"-input")]:{height:O(u).sub(O(t).mul(2)).equal(),padding:"".concat((0,ne.zA)(d)," ").concat((0,ne.zA)(s))}},"&-out-of-range":{["".concat(e,"-input-wrap")]:{input:{color:l}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),(0,nt.XM)(n)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",["".concat(e,"-affix-wrapper")]:{width:"100%"},"&-lg":{["".concat(e,"-group-addon")]:{borderRadius:A,fontSize:n.fontSizeLG}},"&-sm":{["".concat(e,"-group-addon")]:{borderRadius:y}}},(0,na.nm)(n)),(0,na.Vy)(n)),{["&:not(".concat(e,"-compact-first-item):not(").concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-first-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-last-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),["&-disabled ".concat(e,"-input")]:{cursor:"not-allowed"},[e]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ni.dF)(n)),{width:"100%",padding:"".concat((0,ne.zA)(N)," ").concat((0,ne.zA)(b)),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:"all ".concat(m," linear"),appearance:"textfield",fontSize:"inherit"}),(0,nt.j_)(n.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},["&:hover ".concat(e,"-handler-wrap, &-focused ").concat(e,"-handler-wrap")]:{width:n.handleWidth,opacity:1}})},{[e]:Object.assign(Object.assign(Object.assign({["".concat(e,"-handler-wrap")]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:n.handleVisibleWidth,opacity:v,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:"all ".concat(m),overflow:"hidden",["".concat(e,"-handler")]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",["\n ".concat(e,"-handler-up-inner,\n ").concat(e,"-handler-down-inner\n ")]:{marginInlineEnd:0,fontSize:n.handleFontSize}}},["".concat(e,"-handler")]:{height:"50%",overflow:"hidden",color:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:"".concat((0,ne.zA)(t)," ").concat(r," ").concat(I),transition:"all ".concat(m," linear"),"&:active":{background:w},"&:hover":{height:"60%",["\n ".concat(e,"-handler-up-inner,\n ").concat(e,"-handler-down-inner\n ")]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ni.Nk)()),{color:g,transition:"all ".concat(m," linear"),userSelect:"none"})},["".concat(e,"-handler-up")]:{borderStartEndRadius:a},["".concat(e,"-handler-down")]:{borderEndEndRadius:a}},ns(n,"lg")),ns(n,"sm")),{"&-disabled, &-readonly":{["".concat(e,"-handler-wrap")]:{display:"none"},["".concat(e,"-input")]:{color:"inherit"}},["\n ".concat(e,"-handler-up-disabled,\n ").concat(e,"-handler-down-disabled\n ")]:{cursor:"not-allowed"},["\n ".concat(e,"-handler-up-disabled:hover &-handler-up-inner,\n ").concat(e,"-handler-down-disabled:hover &-handler-down-inner\n ")]:{color:E}})}]})(e),(n=>{let{componentCls:e,paddingBlock:t,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:c,paddingInlineLG:u,paddingInlineSM:l,paddingBlockLG:s,paddingBlockSM:d,motionDurationMid:f}=n;return{["".concat(e,"-affix-wrapper")]:Object.assign(Object.assign({["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(t)," 0")}},(0,nt.wj)(n)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:u,["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(s)," 0")}},"&-sm":{borderRadius:c,paddingInlineStart:l,["input".concat(e,"-input")]:{padding:"".concat((0,ne.zA)(d)," 0")}},["&:not(".concat(e,"-disabled):hover")]:{zIndex:1},"&-focused, &:focus":{zIndex:1},["&-disabled > ".concat(e,"-disabled")]:{background:"transparent"},["> div".concat(e)]:{width:"100%",border:"none",outline:"none",["&".concat(e,"-focused")]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},["".concat(e,"-handler-wrap")]:{zIndex:2},[e]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:"margin ".concat(f)}},["&:hover ".concat(e,"-handler-wrap, &-focused ").concat(e,"-handler-wrap")]:{width:n.handleWidth,opacity:1},["&:not(".concat(e,"-affix-wrapper-without-controls):hover ").concat(e,"-suffix")]:{marginInlineEnd:n.calc(n.handleWidth).add(r).equal()}}),["".concat(e,"-underlined")]:{borderRadius:0}}})(e),(0,no.G)(e)]},n=>{var e;let t=null!=(e=n.handleVisible)?e:"auto",r=n.controlHeightSM-2*n.lineWidth;return Object.assign(Object.assign({},(0,nr.b)(n)),{controlWidth:90,handleWidth:r,handleFontSize:n.fontSize/2,handleVisible:t,handleActiveBg:n.colorFillAlter,handleBg:n.colorBgContainer,filledHandleBg:new nl.Y(n.colorFillSecondary).onBackground(n.colorBgContainer).toHexString(),handleHoverColor:n.colorPrimary,handleBorderColor:n.colorBorder,handleOpacity:+(!0===t),handleVisibleWidth:!0===t?r:0})},{unitless:{handleOpacity:!0},resetFont:!1});var nf=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&0>e.indexOf(r)&&(t[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(n);ae.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(n,r[a])&&(t[r[a]]=n[r[a]]);return t};let np=r.forwardRef((n,e)=>{let{getPrefixCls:t,direction:i}=r.useContext(X.QO),o=r.useRef(null);r.useImperativeHandle(e,()=>o.current);let{className:c,rootClassName:l,size:d,disabled:f,prefixCls:p,addonBefore:g,addonAfter:m,prefix:h,suffix:v,bordered:b,readOnly:N,status:S,controls:w,variant:E}=n,y=nf(n,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),A=t("input-number",p),x=(0,Y.A)(A),[I,k,R]=nd(A,x),{compactSize:O,compactItemClassnames:j}=(0,nn.RQ)(A,i),C=r.createElement(u,{className:"".concat(A,"-handler-up-inner")}),M=r.createElement(a.A,{className:"".concat(A,"-handler-down-inner")}),B="boolean"==typeof w?w:void 0;"object"==typeof w&&(C=void 0===w.upIcon?C:r.createElement("span",{className:"".concat(A,"-handler-up-inner")},w.upIcon),M=void 0===w.downIcon?M:r.createElement("span",{className:"".concat(A,"-handler-down-inner")},w.downIcon));let{hasFeedback:_,status:F,isFormItemInput:z,feedbackIcon:D}=r.useContext(J.$W),T=(0,$.v)(F,S),W=(0,Q.A)(n=>{var e;return null!=(e=null!=d?d:O)?e:n}),G=r.useContext(K.A),H=null!=f?f:G,[q,P]=(0,Z.A)("inputNumber",E,b),U=_&&r.createElement(r.Fragment,null,D),ne=s()({["".concat(A,"-lg")]:"large"===W,["".concat(A,"-sm")]:"small"===W,["".concat(A,"-rtl")]:"rtl"===i,["".concat(A,"-in-form-item")]:z},k),nt="".concat(A,"-group");return I(r.createElement(L,Object.assign({ref:o,disabled:H,className:s()(R,x,c,l,j),upHandler:C,downHandler:M,prefixCls:A,readOnly:N,controls:B,prefix:h,suffix:U||v,addonBefore:g&&r.createElement(V.A,{form:!0,space:!0},g),addonAfter:m&&r.createElement(V.A,{form:!0,space:!0},m),classNames:{input:ne,variant:s()({["".concat(A,"-").concat(q)]:P},(0,$.L)(A,T,_)),affixWrapper:s()({["".concat(A,"-affix-wrapper-sm")]:"small"===W,["".concat(A,"-affix-wrapper-lg")]:"large"===W,["".concat(A,"-affix-wrapper-rtl")]:"rtl"===i,["".concat(A,"-affix-wrapper-without-controls")]:!1===w||H||N},k),wrapper:s()({["".concat(nt,"-rtl")]:"rtl"===i},k),groupWrapper:s()({["".concat(A,"-group-wrapper-sm")]:"small"===W,["".concat(A,"-group-wrapper-lg")]:"large"===W,["".concat(A,"-group-wrapper-rtl")]:"rtl"===i,["".concat(A,"-group-wrapper-").concat(q)]:P},(0,$.L)("".concat(A,"-group-wrapper"),T,_),k)}},y)))});np._InternalPanelDoNotUseOrYouWillBeFired=n=>r.createElement(U.Ay,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(np,Object.assign({},n)));let ng=np}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-a092bcab27dc022a.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-6c62fed6168373f0.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-a092bcab27dc022a.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-6c62fed6168373f0.js index f4766fc3..68face5a 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-a092bcab27dc022a.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6467-6c62fed6168373f0.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6467],{16467:(t,e,n)=>{let o;n.d(e,{A:()=>k});var i=n(12115),a=n(29300),c=n.n(a),r=n(15982),l=n(80163),s=n(49172);let d=80*Math.PI,u=t=>{let{dotClassName:e,style:n,hasCircleCls:o}=t;return i.createElement("circle",{className:c()("".concat(e,"-circle"),{["".concat(e,"-circle-bg")]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},m=t=>{let{percent:e,prefixCls:n}=t,o="".concat(n,"-dot"),a="".concat(o,"-holder"),r="".concat(a,"-hidden"),[l,m]=i.useState(!1);(0,s.A)(()=>{0!==e&&m(!0)},[0!==e]);let p=Math.max(Math.min(e,100),0);if(!l)return null;let h={strokeDashoffset:"".concat(d/4),strokeDasharray:"".concat(d*p/100," ").concat(d*(100-p)/100)};return i.createElement("span",{className:c()(a,"".concat(o,"-progress"),p<=0&&r)},i.createElement("svg",{viewBox:"0 0 ".concat(100," ").concat(100),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},i.createElement(u,{dotClassName:o,hasCircleCls:!0}),i.createElement(u,{dotClassName:o,style:h})))};function p(t){let{prefixCls:e,percent:n=0}=t,o="".concat(e,"-dot"),a="".concat(o,"-holder"),r="".concat(a,"-hidden");return i.createElement(i.Fragment,null,i.createElement("span",{className:c()(a,n>0&&r)},i.createElement("span",{className:c()(o,"".concat(e,"-dot-spin"))},[1,2,3,4].map(t=>i.createElement("i",{className:"".concat(e,"-dot-item"),key:t})))),i.createElement(m,{prefixCls:e,percent:n}))}function h(t){var e;let{prefixCls:n,indicator:o,percent:a}=t,r="".concat(n,"-dot");return o&&i.isValidElement(o)?(0,l.Ob)(o,{className:c()(null==(e=o.props)?void 0:e.className,r),percent:a}):i.createElement(p,{prefixCls:n,percent:a})}var g=n(99841),f=n(18184),v=n(45431),S=n(61388);let b=new g.Mo("antSpinMove",{to:{opacity:1}}),y=new g.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),w=(0,v.OF)("Spin",t=>(t=>{let{componentCls:e,calc:n}=t;return{[e]:Object.assign(Object.assign({},(0,f.dF)(t)),{position:"absolute",display:"none",color:t.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:"transform ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOutCirc),"&-spinning":{position:"relative",display:"inline-block",opacity:1},["".concat(e,"-text")]:{fontSize:t.fontSize,paddingTop:n(n(t.dotSize).sub(t.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:t.colorBgMask,zIndex:t.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:"all ".concat(t.motionDurationMid),"&-show":{opacity:1,visibility:"visible"},[e]:{["".concat(e,"-dot-holder")]:{color:t.colorWhite},["".concat(e,"-text")]:{color:t.colorTextLightSolid}}},"&-nested-loading":{position:"relative",["> div > ".concat(e)]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:t.contentHeight,["".concat(e,"-dot")]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(t.dotSize).mul(-1).div(2).equal()},["".concat(e,"-text")]:{position:"absolute",top:"50%",width:"100%",textShadow:"0 1px 2px ".concat(t.colorBgContainer)},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{["".concat(e,"-dot")]:{margin:n(t.dotSizeSM).mul(-1).div(2).equal()},["".concat(e,"-text")]:{paddingTop:n(n(t.dotSizeSM).sub(t.fontSize)).div(2).add(2).equal()},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{["".concat(e,"-dot")]:{margin:n(t.dotSizeLG).mul(-1).div(2).equal()},["".concat(e,"-text")]:{paddingTop:n(n(t.dotSizeLG).sub(t.fontSize)).div(2).add(2).equal()},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},["".concat(e,"-container")]:{position:"relative",transition:"opacity ".concat(t.motionDurationSlow),"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:t.colorBgContainer,opacity:0,transition:"all ".concat(t.motionDurationSlow),content:'""',pointerEvents:"none"}},["".concat(e,"-blur")]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:t.spinDotDefault},["".concat(e,"-dot-holder")]:{width:"1em",height:"1em",fontSize:t.dotSize,display:"inline-block",transition:"transform ".concat(t.motionDurationSlow," ease, opacity ").concat(t.motionDurationSlow," ease"),transformOrigin:"50% 50%",lineHeight:1,color:t.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},["".concat(e,"-dot-progress")]:{position:"absolute",inset:0},["".concat(e,"-dot")]:{position:"relative",display:"inline-block",fontSize:t.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(t.dotSize).sub(n(t.marginXXS).div(2)).div(2).equal(),height:n(t.dotSize).sub(n(t.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:y,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>"".concat(e," ").concat(t.motionDurationSlow," ease")).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:t.colorFillSecondary}},["&-sm ".concat(e,"-dot")]:{"&, &-holder":{fontSize:t.dotSizeSM}},["&-sm ".concat(e,"-dot-holder")]:{i:{width:n(n(t.dotSizeSM).sub(n(t.marginXXS).div(2))).div(2).equal(),height:n(n(t.dotSizeSM).sub(n(t.marginXXS).div(2))).div(2).equal()}},["&-lg ".concat(e,"-dot")]:{"&, &-holder":{fontSize:t.dotSizeLG}},["&-lg ".concat(e,"-dot-holder")]:{i:{width:n(n(t.dotSizeLG).sub(t.marginXXS)).div(2).equal(),height:n(n(t.dotSizeLG).sub(t.marginXXS)).div(2).equal()}},["&".concat(e,"-show-text ").concat(e,"-text")]:{display:"block"}})}})((0,S.oX)(t,{spinDotDefault:t.colorTextDescription})),t=>{let{controlHeightLG:e,controlHeight:n}=t;return{contentHeight:400,dotSize:e/2,dotSizeSM:.35*e,dotSizeLG:n}}),x=[[30,.05],[70,.03],[96,.01]];var z=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 i=0,o=Object.getOwnPropertySymbols(t);ie.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]]);return n};let E=t=>{var e;let{prefixCls:n,spinning:a=!0,delay:l=0,className:s,rootClassName:d,size:u="default",tip:m,wrapperClassName:p,style:g,children:f,fullscreen:v=!1,indicator:S,percent:b}=t,y=z(t,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:E,direction:k,className:D,style:N,indicator:O}=(0,r.TP)("spin"),C=E("spin",n),[I,M,q]=w(C),[T,X]=i.useState(()=>a&&!function(t,e){return!!t&&!!e&&!Number.isNaN(Number(e))}(a,l)),j=function(t,e){let[n,o]=i.useState(0),a=i.useRef(null),c="auto"===e;return i.useEffect(()=>(c&&t&&(o(0),a.current=setInterval(()=>{o(t=>{let e=100-t;for(let n=0;n{a.current&&(clearInterval(a.current),a.current=null)}),[c,t]),c?n:e}(T,b);i.useEffect(()=>{if(a){let t=function(t,e,n){var o=void 0;return function(t,e,n){var o,i=n||{},a=i.noTrailing,c=void 0!==a&&a,r=i.noLeading,l=void 0!==r&&r,s=i.debounceMode,d=void 0===s?void 0:s,u=!1,m=0;function p(){o&&clearTimeout(o)}function h(){for(var n=arguments.length,i=Array(n),a=0;at?l?(m=Date.now(),c||(o=setTimeout(d?g:h,t))):h():!0!==c&&(o=setTimeout(d?g:h,void 0===d?t-s:t)))}return h.cancel=function(t){var e=(t||{}).upcomingOnly;p(),u=!(void 0!==e&&e)},h}(t,e,{debounceMode:!1!==(void 0!==o&&o)})}(l,()=>{X(!0)});return t(),()=>{var e;null==(e=null==t?void 0:t.cancel)||e.call(t)}}X(!1)},[l,a]);let L=i.useMemo(()=>void 0!==f&&!v,[f,v]),P=c()(C,D,{["".concat(C,"-sm")]:"small"===u,["".concat(C,"-lg")]:"large"===u,["".concat(C,"-spinning")]:T,["".concat(C,"-show-text")]:!!m,["".concat(C,"-rtl")]:"rtl"===k},s,!v&&d,M,q),G=c()("".concat(C,"-container"),{["".concat(C,"-blur")]:T}),F=null!=(e=null!=S?S:O)?e:o,A=Object.assign(Object.assign({},N),g),B=i.createElement("div",Object.assign({},y,{style:A,className:P,"aria-live":"polite","aria-busy":T}),i.createElement(h,{prefixCls:C,indicator:F,percent:j}),m&&(L||v)?i.createElement("div",{className:"".concat(C,"-text")},m):null);return I(L?i.createElement("div",Object.assign({},y,{className:c()("".concat(C,"-nested-loading"),p,M,q)}),T&&i.createElement("div",{key:"loading"},B),i.createElement("div",{className:G,key:"container"},f)):v?i.createElement("div",{className:c()("".concat(C,"-fullscreen"),{["".concat(C,"-fullscreen-show")]:T},d,M,q)},B):B)};E.setDefaultIndicator=t=>{o=t};let k=E}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6467],{16467:(t,e,n)=>{let o;n.d(e,{A:()=>k});var i=n(12115),a=n(29300),c=n.n(a),r=n(15982),l=n(80163),s=n(26791);let d=80*Math.PI,u=t=>{let{dotClassName:e,style:n,hasCircleCls:o}=t;return i.createElement("circle",{className:c()("".concat(e,"-circle"),{["".concat(e,"-circle-bg")]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},m=t=>{let{percent:e,prefixCls:n}=t,o="".concat(n,"-dot"),a="".concat(o,"-holder"),r="".concat(a,"-hidden"),[l,m]=i.useState(!1);(0,s.A)(()=>{0!==e&&m(!0)},[0!==e]);let p=Math.max(Math.min(e,100),0);if(!l)return null;let h={strokeDashoffset:"".concat(d/4),strokeDasharray:"".concat(d*p/100," ").concat(d*(100-p)/100)};return i.createElement("span",{className:c()(a,"".concat(o,"-progress"),p<=0&&r)},i.createElement("svg",{viewBox:"0 0 ".concat(100," ").concat(100),role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p},i.createElement(u,{dotClassName:o,hasCircleCls:!0}),i.createElement(u,{dotClassName:o,style:h})))};function p(t){let{prefixCls:e,percent:n=0}=t,o="".concat(e,"-dot"),a="".concat(o,"-holder"),r="".concat(a,"-hidden");return i.createElement(i.Fragment,null,i.createElement("span",{className:c()(a,n>0&&r)},i.createElement("span",{className:c()(o,"".concat(e,"-dot-spin"))},[1,2,3,4].map(t=>i.createElement("i",{className:"".concat(e,"-dot-item"),key:t})))),i.createElement(m,{prefixCls:e,percent:n}))}function h(t){var e;let{prefixCls:n,indicator:o,percent:a}=t,r="".concat(n,"-dot");return o&&i.isValidElement(o)?(0,l.Ob)(o,{className:c()(null==(e=o.props)?void 0:e.className,r),percent:a}):i.createElement(p,{prefixCls:n,percent:a})}var g=n(99841),f=n(18184),v=n(45431),S=n(61388);let b=new g.Mo("antSpinMove",{to:{opacity:1}}),y=new g.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),w=(0,v.OF)("Spin",t=>(t=>{let{componentCls:e,calc:n}=t;return{[e]:Object.assign(Object.assign({},(0,f.dF)(t)),{position:"absolute",display:"none",color:t.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:"transform ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOutCirc),"&-spinning":{position:"relative",display:"inline-block",opacity:1},["".concat(e,"-text")]:{fontSize:t.fontSize,paddingTop:n(n(t.dotSize).sub(t.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:t.colorBgMask,zIndex:t.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:"all ".concat(t.motionDurationMid),"&-show":{opacity:1,visibility:"visible"},[e]:{["".concat(e,"-dot-holder")]:{color:t.colorWhite},["".concat(e,"-text")]:{color:t.colorTextLightSolid}}},"&-nested-loading":{position:"relative",["> div > ".concat(e)]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:t.contentHeight,["".concat(e,"-dot")]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(t.dotSize).mul(-1).div(2).equal()},["".concat(e,"-text")]:{position:"absolute",top:"50%",width:"100%",textShadow:"0 1px 2px ".concat(t.colorBgContainer)},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{["".concat(e,"-dot")]:{margin:n(t.dotSizeSM).mul(-1).div(2).equal()},["".concat(e,"-text")]:{paddingTop:n(n(t.dotSizeSM).sub(t.fontSize)).div(2).add(2).equal()},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{["".concat(e,"-dot")]:{margin:n(t.dotSizeLG).mul(-1).div(2).equal()},["".concat(e,"-text")]:{paddingTop:n(n(t.dotSizeLG).sub(t.fontSize)).div(2).add(2).equal()},["&".concat(e,"-show-text ").concat(e,"-dot")]:{marginTop:n(t.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},["".concat(e,"-container")]:{position:"relative",transition:"opacity ".concat(t.motionDurationSlow),"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:t.colorBgContainer,opacity:0,transition:"all ".concat(t.motionDurationSlow),content:'""',pointerEvents:"none"}},["".concat(e,"-blur")]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:t.spinDotDefault},["".concat(e,"-dot-holder")]:{width:"1em",height:"1em",fontSize:t.dotSize,display:"inline-block",transition:"transform ".concat(t.motionDurationSlow," ease, opacity ").concat(t.motionDurationSlow," ease"),transformOrigin:"50% 50%",lineHeight:1,color:t.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},["".concat(e,"-dot-progress")]:{position:"absolute",inset:0},["".concat(e,"-dot")]:{position:"relative",display:"inline-block",fontSize:t.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(t.dotSize).sub(n(t.marginXXS).div(2)).div(2).equal(),height:n(t.dotSize).sub(n(t.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:y,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>"".concat(e," ").concat(t.motionDurationSlow," ease")).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:t.colorFillSecondary}},["&-sm ".concat(e,"-dot")]:{"&, &-holder":{fontSize:t.dotSizeSM}},["&-sm ".concat(e,"-dot-holder")]:{i:{width:n(n(t.dotSizeSM).sub(n(t.marginXXS).div(2))).div(2).equal(),height:n(n(t.dotSizeSM).sub(n(t.marginXXS).div(2))).div(2).equal()}},["&-lg ".concat(e,"-dot")]:{"&, &-holder":{fontSize:t.dotSizeLG}},["&-lg ".concat(e,"-dot-holder")]:{i:{width:n(n(t.dotSizeLG).sub(t.marginXXS)).div(2).equal(),height:n(n(t.dotSizeLG).sub(t.marginXXS)).div(2).equal()}},["&".concat(e,"-show-text ").concat(e,"-text")]:{display:"block"}})}})((0,S.oX)(t,{spinDotDefault:t.colorTextDescription})),t=>{let{controlHeightLG:e,controlHeight:n}=t;return{contentHeight:400,dotSize:e/2,dotSizeSM:.35*e,dotSizeLG:n}}),x=[[30,.05],[70,.03],[96,.01]];var z=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 i=0,o=Object.getOwnPropertySymbols(t);ie.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]]);return n};let E=t=>{var e;let{prefixCls:n,spinning:a=!0,delay:l=0,className:s,rootClassName:d,size:u="default",tip:m,wrapperClassName:p,style:g,children:f,fullscreen:v=!1,indicator:S,percent:b}=t,y=z(t,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:E,direction:k,className:D,style:N,indicator:O}=(0,r.TP)("spin"),C=E("spin",n),[I,M,q]=w(C),[T,X]=i.useState(()=>a&&!function(t,e){return!!t&&!!e&&!Number.isNaN(Number(e))}(a,l)),j=function(t,e){let[n,o]=i.useState(0),a=i.useRef(null),c="auto"===e;return i.useEffect(()=>(c&&t&&(o(0),a.current=setInterval(()=>{o(t=>{let e=100-t;for(let n=0;n{a.current&&(clearInterval(a.current),a.current=null)}),[c,t]),c?n:e}(T,b);i.useEffect(()=>{if(a){let t=function(t,e,n){var o=void 0;return function(t,e,n){var o,i=n||{},a=i.noTrailing,c=void 0!==a&&a,r=i.noLeading,l=void 0!==r&&r,s=i.debounceMode,d=void 0===s?void 0:s,u=!1,m=0;function p(){o&&clearTimeout(o)}function h(){for(var n=arguments.length,i=Array(n),a=0;at?l?(m=Date.now(),c||(o=setTimeout(d?g:h,t))):h():!0!==c&&(o=setTimeout(d?g:h,void 0===d?t-s:t)))}return h.cancel=function(t){var e=(t||{}).upcomingOnly;p(),u=!(void 0!==e&&e)},h}(t,e,{debounceMode:!1!==(void 0!==o&&o)})}(l,()=>{X(!0)});return t(),()=>{var e;null==(e=null==t?void 0:t.cancel)||e.call(t)}}X(!1)},[l,a]);let L=i.useMemo(()=>void 0!==f&&!v,[f,v]),P=c()(C,D,{["".concat(C,"-sm")]:"small"===u,["".concat(C,"-lg")]:"large"===u,["".concat(C,"-spinning")]:T,["".concat(C,"-show-text")]:!!m,["".concat(C,"-rtl")]:"rtl"===k},s,!v&&d,M,q),G=c()("".concat(C,"-container"),{["".concat(C,"-blur")]:T}),F=null!=(e=null!=S?S:O)?e:o,A=Object.assign(Object.assign({},N),g),B=i.createElement("div",Object.assign({},y,{style:A,className:P,"aria-live":"polite","aria-busy":T}),i.createElement(h,{prefixCls:C,indicator:F,percent:j}),m&&(L||v)?i.createElement("div",{className:"".concat(C,"-text")},m):null);return I(L?i.createElement("div",Object.assign({},y,{className:c()("".concat(C,"-nested-loading"),p,M,q)}),T&&i.createElement("div",{key:"loading"},B),i.createElement("div",{className:G,key:"container"},f)):v?i.createElement("div",{className:c()("".concat(C,"-fullscreen"),{["".concat(C,"-fullscreen-show")]:T},d,M,q)},B):B)};E.setDefaultIndicator=t=>{o=t};let k=E}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-c5e5522dab1d7517.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-cd76708152178669.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-c5e5522dab1d7517.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-cd76708152178669.js index 6ddecfbf..beaabae8 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-c5e5522dab1d7517.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6734-cd76708152178669.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6734],{1828:(e,t,n)=>{n.d(t,{A:()=>$});var a=n(12115),r=n(29300),o=n.n(r),l=n(27061),c=n(40419),i=n(85757),s=n(86608),u=n(21858),d=n(18885),f=n(48804),g=n(80227),v=n(9587),m=n(79630),p=n(20235),b=n(47650);function h(e,t,n,a){var r=(t-n)/(a-n),o={};switch(e){case"rtl":o.right="".concat(100*r,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*r,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*r,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*r,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var A=n(17233),k=a.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),C=a.createContext({}),x=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],E=a.forwardRef(function(e,t){var n,r=e.prefixCls,i=e.value,s=e.valueIndex,u=e.onStartMove,d=e.onDelete,f=e.style,g=e.render,v=e.dragging,b=e.draggingDelete,C=e.onOffsetChange,E=e.onChangeComplete,S=e.onFocus,w=e.onMouseEnter,O=(0,p.A)(e,x),M=a.useContext(k),B=M.min,j=M.max,I=M.direction,N=M.disabled,D=M.keyboard,P=M.range,H=M.tabIndex,R=M.ariaLabelForHandle,F=M.ariaLabelledByForHandle,z=M.ariaRequired,L=M.ariaValueTextFormatterForHandle,T=M.styles,q=M.classNames,W="".concat(r,"-handle"),V=function(e){N||u(e,s)},X=h(I,i,B,j),G={};null!==s&&(G={tabIndex:N?null:y(H,s),role:"slider","aria-valuemin":B,"aria-valuemax":j,"aria-valuenow":i,"aria-disabled":N,"aria-label":y(R,s),"aria-labelledby":y(F,s),"aria-required":y(z,s),"aria-valuetext":null==(n=y(L,s))?void 0:n(i),"aria-orientation":"ltr"===I||"rtl"===I?"horizontal":"vertical",onMouseDown:V,onTouchStart:V,onFocus:function(e){null==S||S(e,s)},onMouseEnter:function(e){w(e,s)},onKeyDown:function(e){if(!N&&D){var t=null;switch(e.which||e.keyCode){case A.A.LEFT:t="ltr"===I||"btt"===I?-1:1;break;case A.A.RIGHT:t="ltr"===I||"btt"===I?1:-1;break;case A.A.UP:t="ttb"!==I?1:-1;break;case A.A.DOWN:t="ttb"!==I?-1:1;break;case A.A.HOME:t="min";break;case A.A.END:t="max";break;case A.A.PAGE_UP:t=2;break;case A.A.PAGE_DOWN:t=-2;break;case A.A.BACKSPACE:case A.A.DELETE:null==d||d(s)}null!==t&&(e.preventDefault(),C(t,s))}},onKeyUp:function(e){switch(e.which||e.keyCode){case A.A.LEFT:case A.A.RIGHT:case A.A.UP:case A.A.DOWN:case A.A.HOME:case A.A.END:case A.A.PAGE_UP:case A.A.PAGE_DOWN:null==E||E()}}});var Y=a.createElement("div",(0,m.A)({ref:t,className:o()(W,(0,c.A)((0,c.A)((0,c.A)({},"".concat(W,"-").concat(s+1),null!==s&&P),"".concat(W,"-dragging"),v),"".concat(W,"-dragging-delete"),b),q.handle),style:(0,l.A)((0,l.A)((0,l.A)({},X),f),T.handle)},G,O));return g&&(Y=g(Y,{index:s,prefixCls:r,value:i,dragging:v,draggingDelete:b})),Y}),S=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],w=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,c=e.onOffsetChange,i=e.values,s=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,g=e.draggingDelete,v=e.onFocus,h=(0,p.A)(e,S),A=a.useRef({}),k=a.useState(!1),C=(0,u.A)(k,2),x=C[0],w=C[1],O=a.useState(-1),M=(0,u.A)(O,2),B=M[0],j=M[1],I=function(e){j(e),w(!0)};a.useImperativeHandle(t,function(){return{focus:function(e){var t;null==(t=A.current[e])||t.focus()},hideHelp:function(){(0,b.flushSync)(function(){w(!1)})}}});var N=(0,l.A)({prefixCls:n,onStartMove:o,onOffsetChange:c,render:s,onFocus:function(e,t){I(t),null==v||v(e)},onMouseEnter:function(e,t){I(t)}},h);return a.createElement(a.Fragment,null,i.map(function(e,t){var n=f===t;return a.createElement(E,(0,m.A)({ref:function(e){e?A.current[t]=e:delete A.current[t]},dragging:n,draggingDelete:n&&g,style:y(r,t),key:t,value:e,valueIndex:t},N))}),d&&x&&a.createElement(E,(0,m.A)({key:"a11y"},N,{value:i[B],valueIndex:null,dragging:-1!==f,draggingDelete:g,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});let O=function(e){var t=e.prefixCls,n=e.style,r=e.children,i=e.value,s=e.onClick,u=a.useContext(k),d=u.min,f=u.max,g=u.direction,v=u.includedStart,m=u.includedEnd,p=u.included,b="".concat(t,"-text"),y=h(g,i,d,f);return a.createElement("span",{className:o()(b,(0,c.A)({},"".concat(b,"-active"),p&&v<=i&&i<=m)),style:(0,l.A)((0,l.A)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){s(i)}},r)},M=function(e){var t=e.prefixCls,n=e.marks,r=e.onClick,o="".concat(t,"-mark");return n.length?a.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,l=e.label;return a.createElement(O,{key:t,prefixCls:o,style:n,value:t,onClick:r},l)})):null},B=function(e){var t=e.prefixCls,n=e.value,r=e.style,i=e.activeStyle,s=a.useContext(k),u=s.min,d=s.max,f=s.direction,g=s.included,v=s.includedStart,m=s.includedEnd,p="".concat(t,"-dot"),b=g&&v<=n&&n<=m,y=(0,l.A)((0,l.A)({},h(f,n,u,d)),"function"==typeof r?r(n):r);return b&&(y=(0,l.A)((0,l.A)({},y),"function"==typeof i?i(n):i)),a.createElement("span",{className:o()(p,(0,c.A)({},"".concat(p,"-active"),b)),style:y})},j=function(e){var t=e.prefixCls,n=e.marks,r=e.dots,o=e.style,l=e.activeStyle,c=a.useContext(k),i=c.min,s=c.max,u=c.step,d=a.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),r&&null!==u)for(var t=i;t<=s;)e.add(t),t+=u;return Array.from(e)},[i,s,u,r,n]);return a.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return a.createElement(B,{prefixCls:t,key:e,value:e,style:o,activeStyle:l})}))},I=function(e){var t=e.prefixCls,n=e.style,r=e.start,i=e.end,s=e.index,u=e.onStartMove,d=e.replaceCls,f=a.useContext(k),g=f.direction,v=f.min,m=f.max,p=f.disabled,b=f.range,h=f.classNames,y="".concat(t,"-track"),A=(r-v)/(m-v),C=(i-v)/(m-v),x=function(e){!p&&u&&u(e,-1)},E={};switch(g){case"rtl":E.right="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%");break;case"btt":E.bottom="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;case"ttb":E.top="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;default:E.left="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%")}var S=d||o()(y,(0,c.A)((0,c.A)({},"".concat(y,"-").concat(s+1),null!==s&&b),"".concat(t,"-track-draggable"),u),h.track);return a.createElement("div",{className:S,style:(0,l.A)((0,l.A)({},E),n),onMouseDown:x,onTouchStart:x})},N=function(e){var t=e.prefixCls,n=e.style,r=e.values,c=e.startPoint,i=e.onStartMove,s=a.useContext(k),u=s.included,d=s.range,f=s.min,g=s.styles,v=s.classNames,m=a.useMemo(function(){if(!d){if(0===r.length)return[];var e=null!=c?c:f,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],a=0;a130&&v=0&&en},[en,eR]),ez=a.useMemo(function(){return Object.keys(eg||{}).map(function(e){var t=eg[e],n={value:Number(e)};return t&&"object"===(0,s.A)(t)&&!a.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eg]),eL=(n=void 0===ee||ee,r=a.useCallback(function(e){return Math.max(eP,Math.min(eH,e))},[eP,eH]),m=a.useCallback(function(e){if(null!==eR){var t=eP+Math.round((r(e)-eP)/eR)*eR,n=function(e){return(String(e).split(".")[1]||"").length},a=Math.max(n(eR),n(eH),n(eP)),o=Number(t.toFixed(a));return eP<=o&&o<=eH?o:null}return null},[eR,eP,eH,r]),p=a.useCallback(function(e){var t=r(e),n=ez.map(function(e){return e.value});null!==eR&&n.push(m(e)),n.push(eP,eH);var a=n[0],o=eH-eP;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(a=e,o=n)}),a},[eP,eH,ez,eR,r,m]),b=function e(t,n,a){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[a],c=l+n,s=[];ez.forEach(function(e){s.push(e.value)}),s.push(eP,eH),s.push(m(l));var u=n>0?1:-1;"unit"===r?s.push(m(l+u*eR)):s.push(m(c)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===r&&(s=s.filter(function(e){return e!==l}));var d="unit"===r?l:c,f=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var g=(0,i.A)(t);return g[a]=o,e(g,n-u,a,r)}return o}return"min"===n?eP:"max"===n?eH:void 0},h=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",r=e[n],o=b(e,t,n,a);return{value:o,changed:o!==r}},y=function(e){return null===eF&&0===e||"number"==typeof eF&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[a],c=b(o,t,a,r);if(o[a]=c,!1===n){var i=eF||0;a>0&&o[a-1]!==l&&(o[a]=Math.max(o[a],o[a-1]+i)),a0;f-=1)for(var g=!0;y(o[f]-o[f-1])&&g;){var v=h(o,-1,f-1);o[f-1]=v.value,g=v.changed}for(var m=o.length-1;m>0;m-=1)for(var A=!0;y(o[m]-o[m-1])&&A;){var k=h(o,-1,m-1);o[m-1]=k.value,A=k.changed}for(var C=0;C=0?U+1:2;for(a=a.slice(0,o);a.length=0&&eE.current.focus(e)}e9(null)},[e6]);var e7=a.useMemo(function(){return(!eI||null!==eR)&&eI},[eI,eR]),te=(0,d.A)(function(e,t){e8(e,t),null==Q||Q(eK(e_))}),tt=-1!==e$;a.useEffect(function(){if(!tt){var e=e_.lastIndexOf(e0);eE.current.focus(e)}},[tt]);var tn=a.useMemo(function(){return(0,i.A)(e2).sort(function(e,t){return e-t})},[e2]),ta=a.useMemo(function(){return eB?[tn[0],tn[tn.length-1]]:[eP,tn[0]]},[tn,eB,eP]),tr=(0,u.A)(ta,2),to=tr[0],tl=tr[1];a.useImperativeHandle(t,function(){return{focus:function(){eE.current.focus(0)},blur:function(){var e,t=document.activeElement;null!=(e=eS.current)&&e.contains(t)&&(null==t||t.blur())}}}),a.useEffect(function(){F&&eE.current.focus(0)},[]);var tc=a.useMemo(function(){return{min:eP,max:eH,direction:ew,disabled:D,keyboard:R,step:eR,included:el,includedStart:to,includedEnd:tl,range:eB,tabIndex:ey,ariaLabelForHandle:eA,ariaLabelledByForHandle:ek,ariaRequired:eC,ariaValueTextFormatterForHandle:ex,styles:O||{},classNames:S||{}}},[eP,eH,ew,D,R,eR,el,to,tl,eB,ey,eA,ek,eC,ex,O,S]);return a.createElement(k.Provider,{value:tc},a.createElement("div",{ref:eS,className:o()(C,x,(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(C,"-disabled"),D),"".concat(C,"-vertical"),er),"".concat(C,"-horizontal"),!er),"".concat(C,"-with-marks"),ez.length)),style:E,onMouseDown:function(e){e.preventDefault();var t,n=eS.current.getBoundingClientRect(),a=n.width,r=n.height,o=n.left,l=n.top,c=n.bottom,i=n.right,s=e.clientX,u=e.clientY;switch(ew){case"btt":t=(c-u)/r;break;case"ttb":t=(u-l)/r;break;case"rtl":t=(i-s)/a;break;default:t=(s-o)/a}e3(eq(eP+t*(eH-eP)),e)},id:B},a.createElement("div",{className:o()("".concat(C,"-rail"),null==S?void 0:S.rail),style:(0,l.A)((0,l.A)({},eu),null==O?void 0:O.rail)}),!1!==eb&&a.createElement(N,{prefixCls:C,style:ei,values:e_,startPoint:ec,onStartMove:e7?te:void 0}),a.createElement(j,{prefixCls:C,marks:ez,dots:ev,style:ed,activeStyle:ef}),a.createElement(w,{ref:eE,prefixCls:C,style:es,values:e2,draggingIndex:e$,draggingDelete:e1,onStartMove:te,onOffsetChange:function(e,t){if(!D){var n=eW(e_,e,t);null==Q||Q(eK(e_)),eU(n.values),e9(n.value)}},onFocus:z,onBlur:L,handleRender:em,activeHandleRender:ep,onChangeComplete:eJ,onDelete:ej?function(e){if(!D&&ej&&!(e_.length<=eN)){var t=(0,i.A)(e_);t.splice(e,1),null==Q||Q(eK(t)),eU(t);var n=Math.max(0,e-1);eE.current.hideHelp(),eE.current.focus(n)}}:void 0}),a.createElement(M,{prefixCls:C,marks:ez,onClick:e3})))}),F=n(16962),z=n(44494);let L=(0,a.createContext)({});var T=n(74686),q=n(97540);let W=a.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:o}=e,l=(0,a.useRef)(null),c=n&&!r,i=(0,a.useRef)(null);function s(){F.A.cancel(i.current),i.current=null}return a.useEffect(()=>(c?i.current=(0,F.A)(()=>{var e;null==(e=l.current)||e.forceAlign(),i.current=null}):s(),s),[c,e.title,o]),a.createElement(q.A,Object.assign({ref:(0,T.K4)(l,t)},e,{open:c}))});var V=n(99841),X=n(60872),G=n(18184),Y=n(45431),_=n(61388);let K=(e,t)=>{let{componentCls:n,railSize:a,handleSize:r,dotSize:o,marginFull:l,calc:c}=e,i=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",d=t?"top":"insetInlineStart",f=c(a).mul(3).sub(r).div(2).equal(),g=c(r).sub(a).div(2).equal(),v=t?{borderWidth:"".concat((0,V.zA)(g)," 0"),transform:"translateY(".concat((0,V.zA)(c(g).mul(-1).equal()),")")}:{borderWidth:"0 ".concat((0,V.zA)(g)),transform:"translateX(".concat((0,V.zA)(e.calc(g).mul(-1).equal()),")")};return{[t?"paddingBlock":"paddingInline"]:a,[s]:c(a).mul(3).equal(),["".concat(n,"-rail")]:{[i]:"100%",[s]:a},["".concat(n,"-track,").concat(n,"-tracks")]:{[s]:a},["".concat(n,"-track-draggable")]:Object.assign({},v),["".concat(n,"-handle")]:{[u]:f},["".concat(n,"-mark")]:{insetInlineStart:0,top:0,[d]:c(a).mul(3).add(t?0:l).equal(),[i]:"100%"},["".concat(n,"-step")]:{insetInlineStart:0,top:0,[d]:a,[i]:"100%",[s]:a},["".concat(n,"-dot")]:{position:"absolute",[u]:c(a).sub(o).div(2).equal()}}},U=(0,Y.OF)("Slider",e=>{let t=(0,_.oX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[(e=>{let{componentCls:t,antCls:n,controlSize:a,dotSize:r,marginFull:o,marginPart:l,colorFillContentHover:c,handleColorDisabled:i,calc:s,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:g,handleLineWidth:v,handleLineWidthHover:m,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,G.dF)(e)),{position:"relative",height:a,margin:"".concat((0,V.zA)(l)," ").concat((0,V.zA)(o)),padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:"".concat((0,V.zA)(o)," ").concat((0,V.zA)(l))},["".concat(t,"-rail")]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:"background-color ".concat(p)},["".concat(t,"-track,").concat(t,"-tracks")]:{position:"absolute",transition:"background-color ".concat(p)},["".concat(t,"-track")]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},["".concat(t,"-track-draggable")]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{["".concat(t,"-rail")]:{backgroundColor:e.railHoverBg},["".concat(t,"-track")]:{backgroundColor:e.trackHoverBg},["".concat(t,"-dot")]:{borderColor:c},["".concat(t,"-handle::after")]:{boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(e.colorPrimaryBorderHover)},["".concat(t,"-dot-active")]:{borderColor:e.dotActiveBorderColor}},["".concat(t,"-handle")]:{position:"absolute",width:u,height:u,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:s(v).mul(-1).equal(),insetBlockStart:s(v).mul(-1).equal(),width:s(u).add(s(v).mul(2)).equal(),height:s(u).add(s(v).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(e.handleColor),outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:"\n inset-inline-start ".concat(p,",\n inset-block-start ").concat(p,",\n width ").concat(p,",\n height ").concat(p,",\n box-shadow ").concat(p,",\n outline ").concat(p,"\n ")},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:s(d).sub(u).div(2).add(m).mul(-1).equal(),insetBlockStart:s(d).sub(u).div(2).add(m).mul(-1).equal(),width:s(d).add(s(m).mul(2)).equal(),height:s(d).add(s(m).mul(2)).equal()},"&::after":{boxShadow:"0 0 0 ".concat((0,V.zA)(m)," ").concat(f),outline:"6px solid ".concat(g),width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},["&-lock ".concat(t,"-handle")]:{"&::before, &::after":{transition:"none"}},["".concat(t,"-mark")]:{position:"absolute",fontSize:e.fontSize},["".concat(t,"-mark-text")]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},["".concat(t,"-step")]:{position:"absolute",background:"transparent",pointerEvents:"none"},["".concat(t,"-dot")]:{position:"absolute",width:r,height:r,backgroundColor:e.colorBgElevated,border:"".concat((0,V.zA)(v)," solid ").concat(e.dotBorderColor),borderRadius:"50%",cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-rail")]:{backgroundColor:"".concat(e.railBg," !important")},["".concat(t,"-track")]:{backgroundColor:"".concat(e.trackBgDisabled," !important")},["\n ".concat(t,"-dot\n ")]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},["".concat(t,"-handle::after")]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:u,height:u,boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(i),insetInlineStart:0,insetBlockStart:0},["\n ".concat(t,"-mark-text,\n ").concat(t,"-dot\n ")]:{cursor:"not-allowed !important"}},["&-tooltip ".concat(n,"-tooltip-inner")]:{minWidth:"unset"}})}})(t),(e=>{let{componentCls:t,marginPartWithMark:n}=e;return{["".concat(t,"-horizontal")]:Object.assign(Object.assign({},K(e,!0)),{["&".concat(t,"-with-marks")]:{marginBottom:n}})}})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,"-vertical")]:Object.assign(Object.assign({},K(e,!1)),{height:"100%"})}})(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,a=e.lineWidth+1,r=e.lineWidth+1.5,o=e.colorPrimary,l=new X.Y(o).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:a,handleLineWidthHover:r,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new X.Y(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function J(){let[e,t]=a.useState(!1),n=a.useRef(null),r=()=>{F.A.cancel(n.current)};return a.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=(0,F.A)(()=>{t(e)})}]}var Q=n(15982),Z=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 $=a.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:l,rootClassName:c,style:i,disabled:s,tooltipPrefixCls:u,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:g,tooltipPlacement:v,tooltip:m={},onChangeComplete:p,classNames:b,styles:h}=e,y=Z(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:A}=e,{getPrefixCls:k,direction:C,className:x,style:E,classNames:S,styles:w,getPopupContainer:O}=(0,Q.TP)("slider"),M=a.useContext(z.A),{handleRender:B,direction:j}=a.useContext(L),I="rtl"===(j||C),[N,D]=J(),[P,H]=J(),T=Object.assign({},m),{open:q,placement:V,getPopupContainer:X,prefixCls:G,formatter:Y}=T,_=null!=q?q:f,K=(N||P)&&!1!==_,$=function(e,t){return e||null===e?e:t||null===t?t:e=>"number"==typeof e?e.toString():""}(Y,d),[ee,et]=J(),en=(e,t)=>e||(t?I?"left":"right":"top"),ea=k("slider",n),[er,eo,el]=U(ea),ec=o()(l,x,S.root,null==b?void 0:b.root,c,{["".concat(ea,"-rtl")]:I,["".concat(ea,"-lock")]:ee},eo,el);I&&!y.vertical&&(y.reverse=!y.reverse),a.useEffect(()=>{let e=()=>{(0,F.A)(()=>{H(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let ei=r&&!_,es=B||((e,t)=>{let{index:n}=t,r=e.props;function o(e,t,n){var a,o;n&&(null==(a=y[e])||a.call(y,t)),null==(o=r[e])||o.call(r,t)}let l=Object.assign(Object.assign({},r),{onMouseEnter:e=>{D(!0),o("onMouseEnter",e)},onMouseLeave:e=>{D(!1),o("onMouseLeave",e)},onMouseDown:e=>{H(!0),et(!0),o("onMouseDown",e)},onFocus:e=>{var t;H(!0),null==(t=y.onFocus)||t.call(y,e),o("onFocus",e,!0)},onBlur:e=>{var t;H(!1),null==(t=y.onBlur)||t.call(y,e),o("onBlur",e,!0)}}),c=a.cloneElement(e,l),i=(!!_||K)&&null!==$;return ei?c:a.createElement(W,Object.assign({},T,{prefixCls:k("tooltip",null!=G?G:u),title:$?$(t.value):"",value:t.value,open:i,placement:en(null!=V?V:v,A),key:n,classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:X||g||O}),c)}),eu=ei?(e,t)=>{let n=a.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return a.createElement(W,Object.assign({},T,{prefixCls:k("tooltip",null!=G?G:u),title:$?$(t.value):"",open:null!==$&&K,placement:en(null!=V?V:v,A),key:"tooltip",classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:X||g||O,draggingDelete:t.draggingDelete}),n)}:void 0,ed=Object.assign(Object.assign(Object.assign(Object.assign({},w.root),E),null==h?void 0:h.root),i),ef=Object.assign(Object.assign({},w.tracks),null==h?void 0:h.tracks),eg=o()(S.tracks,null==b?void 0:b.tracks);return er(a.createElement(R,Object.assign({},y,{classNames:Object.assign({handle:o()(S.handle,null==b?void 0:b.handle),rail:o()(S.rail,null==b?void 0:b.rail),track:o()(S.track,null==b?void 0:b.track)},eg?{tracks:eg}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},w.handle),null==h?void 0:h.handle),rail:Object.assign(Object.assign({},w.rail),null==h?void 0:h.rail),track:Object.assign(Object.assign({},w.track),null==h?void 0:h.track)},Object.keys(ef).length?{tracks:ef}:{}),step:y.step,range:r,className:ec,style:ed,disabled:null!=s?s:M,ref:t,prefixCls:ea,handleRender:es,activeHandleRender:eu,onChangeComplete:e=>{null==p||p(e),et(!1)}})))})},19663:(e,t,n)=>{n.d(t,{A:()=>a});let a={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"}},78096:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(85522),r=n(45144),o=n(5892);function l(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,(0,r.A)()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}},94481:(e,t,n)=>{n.d(t,{A:()=>I});var a=n(12115),r=n(84630),o=n(51754),l=n(48776),c=n(63583),i=n(66383),s=n(29300),u=n.n(s),d=n(82870),f=n(40032),g=n(74686),v=n(80163),m=n(15982),p=n(99841),b=n(18184),h=n(45431);let y=(e,t,n,a,r)=>({background:e,border:"".concat((0,p.zA)(a.lineWidth)," ").concat(a.lineType," ").concat(t),["".concat(r,"-icon")]:{color:n}}),A=(0,h.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:a,marginSM:r,fontSize:o,fontSizeLG:l,lineHeight:c,borderRadiusLG:i,motionEaseInOutCirc:s,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:g,defaultPadding:v}=e;return{[t]:Object.assign(Object.assign({},(0,b.dF)(e)),{position:"relative",display:"flex",alignItems:"center",padding:v,wordWrap:"break-word",borderRadius:i,["&".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-content")]:{flex:1,minWidth:0},["".concat(t,"-icon")]:{marginInlineEnd:a,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:c},"&-message":{color:f},["&".concat(t,"-motion-leave")]:{overflow:"hidden",opacity:1,transition:"max-height ".concat(n," ").concat(s,", opacity ").concat(n," ").concat(s,",\n padding-top ").concat(n," ").concat(s,", padding-bottom ").concat(n," ").concat(s,",\n margin-bottom ").concat(n," ").concat(s)},["&".concat(t,"-motion-leave-active")]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),["".concat(t,"-with-description")]:{alignItems:"flex-start",padding:g,["".concat(t,"-icon")]:{marginInlineEnd:r,fontSize:u,lineHeight:0},["".concat(t,"-message")]:{display:"block",marginBottom:a,color:f,fontSize:l},["".concat(t,"-description")]:{display:"block",color:d}},["".concat(t,"-banner")]:{marginBottom:0,border:"0 !important",borderRadius:0}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBorder:a,colorSuccessBg:r,colorWarning:o,colorWarningBorder:l,colorWarningBg:c,colorError:i,colorErrorBorder:s,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:g}=e;return{[t]:{"&-success":y(r,a,n,e,t),"&-info":y(g,f,d,e,t),"&-warning":y(c,l,o,e,t),"&-error":Object.assign(Object.assign({},y(u,s,i,e,t)),{["".concat(t,"-description > pre")]:{margin:0,padding:0}})}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:a,marginXS:r,fontSizeIcon:o,colorIcon:l,colorIconHover:c}=e;return{[t]:{"&-action":{marginInlineStart:r},["".concat(t,"-close-icon")]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:o,lineHeight:(0,p.zA)(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",["".concat(n,"-close")]:{color:l,transition:"color ".concat(a),"&:hover":{color:c}}},"&-close-text":{color:l,transition:"color ".concat(a),"&:hover":{color:c}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:"".concat(e.paddingContentVerticalSM,"px ").concat(12,"px"),withDescriptionPadding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px")}));var k=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 C={success:r.A,info:i.A,error:o.A,warning:c.A},x=e=>{let{icon:t,prefixCls:n,type:r}=e,o=C[r]||null;return t?(0,v.fx)(t,a.createElement("span",{className:"".concat(n,"-icon")},t),()=>({className:u()("".concat(n,"-icon"),t.props.className)})):a.createElement(o,{className:"".concat(n,"-icon")})},E=e=>{let{isClosable:t,prefixCls:n,closeIcon:r,handleClose:o,ariaProps:c}=e,i=!0===r||void 0===r?a.createElement(l.A,null):r;return t?a.createElement("button",Object.assign({type:"button",onClick:o,className:"".concat(n,"-close-icon"),tabIndex:0},c),i):null},S=a.forwardRef((e,t)=>{let{description:n,prefixCls:r,message:o,banner:l,className:c,rootClassName:i,style:s,onMouseEnter:v,onMouseLeave:p,onClick:b,afterClose:h,showIcon:y,closable:C,closeText:S,closeIcon:w,action:O,id:M}=e,B=k(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[j,I]=a.useState(!1),N=a.useRef(null);a.useImperativeHandle(t,()=>({nativeElement:N.current}));let{getPrefixCls:D,direction:P,closable:H,closeIcon:R,className:F,style:z}=(0,m.TP)("alert"),L=D("alert",r),[T,q,W]=A(L),V=t=>{var n;I(!0),null==(n=e.onClose)||n.call(e,t)},X=a.useMemo(()=>void 0!==e.type?e.type:l?"warning":"info",[e.type,l]),G=a.useMemo(()=>"object"==typeof C&&!!C.closeIcon||!!S||("boolean"==typeof C?C:!1!==w&&null!=w||!!H),[S,w,C,H]),Y=!!l&&void 0===y||y,_=u()(L,"".concat(L,"-").concat(X),{["".concat(L,"-with-description")]:!!n,["".concat(L,"-no-icon")]:!Y,["".concat(L,"-banner")]:!!l,["".concat(L,"-rtl")]:"rtl"===P},F,c,i,W,q),K=(0,f.A)(B,{aria:!0,data:!0}),U=a.useMemo(()=>"object"==typeof C&&C.closeIcon?C.closeIcon:S||(void 0!==w?w:"object"==typeof H&&H.closeIcon?H.closeIcon:R),[w,C,H,S,R]),J=a.useMemo(()=>{let e=null!=C?C:H;if("object"==typeof e){let{closeIcon:t}=e;return k(e,["closeIcon"])}return{}},[C,H]);return T(a.createElement(d.Ay,{visible:!j,motionName:"".concat(L,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:h},(t,r)=>{let{className:l,style:c}=t;return a.createElement("div",Object.assign({id:M,ref:(0,g.K4)(N,r),"data-show":!j,className:u()(_,l),style:Object.assign(Object.assign(Object.assign({},z),s),c),onMouseEnter:v,onMouseLeave:p,onClick:b,role:"alert"},K),Y?a.createElement(x,{description:n,icon:e.icon,prefixCls:L,type:X}):null,a.createElement("div",{className:"".concat(L,"-content")},o?a.createElement("div",{className:"".concat(L,"-message")},o):null,n?a.createElement("div",{className:"".concat(L,"-description")},n):null),O?a.createElement("div",{className:"".concat(L,"-action")},O):null,a.createElement(E,{isClosable:G,prefixCls:L,closeIcon:U,handleClose:V,ariaProps:J}))}))});var w=n(30857),O=n(28383),M=n(78096),B=n(38289);let j=function(e){function t(){var e;return(0,w.A)(this,t),e=(0,M.A)(this,t,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,B.A)(t,e),(0,O.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,description:t,id:n,children:r}=this.props,{error:o,info:l}=this.state,c=(null==l?void 0:l.componentStack)||null,i=void 0===e?(o||"").toString():e;return o?a.createElement(S,{id:n,type:"error",message:i,description:a.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===t?c:t)}):r}}])}(a.Component);S.ErrorBoundary=j;let I=S}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6734],{1828:(e,t,n)=>{n.d(t,{A:()=>$});var a=n(12115),r=n(29300),o=n.n(r),l=n(27061),c=n(40419),i=n(85757),s=n(86608),u=n(21858),d=n(18885),f=n(48804),g=n(80227),v=n(9587),m=n(79630),p=n(20235),b=n(47650);function h(e,t,n,a){var r=(t-n)/(a-n),o={};switch(e){case"rtl":o.right="".concat(100*r,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*r,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*r,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*r,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var A=n(17233),k=a.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),C=a.createContext({}),x=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],E=a.forwardRef(function(e,t){var n,r=e.prefixCls,i=e.value,s=e.valueIndex,u=e.onStartMove,d=e.onDelete,f=e.style,g=e.render,v=e.dragging,b=e.draggingDelete,C=e.onOffsetChange,E=e.onChangeComplete,S=e.onFocus,w=e.onMouseEnter,O=(0,p.A)(e,x),M=a.useContext(k),B=M.min,j=M.max,I=M.direction,N=M.disabled,D=M.keyboard,P=M.range,H=M.tabIndex,R=M.ariaLabelForHandle,F=M.ariaLabelledByForHandle,z=M.ariaRequired,L=M.ariaValueTextFormatterForHandle,T=M.styles,q=M.classNames,W="".concat(r,"-handle"),V=function(e){N||u(e,s)},X=h(I,i,B,j),G={};null!==s&&(G={tabIndex:N?null:y(H,s),role:"slider","aria-valuemin":B,"aria-valuemax":j,"aria-valuenow":i,"aria-disabled":N,"aria-label":y(R,s),"aria-labelledby":y(F,s),"aria-required":y(z,s),"aria-valuetext":null==(n=y(L,s))?void 0:n(i),"aria-orientation":"ltr"===I||"rtl"===I?"horizontal":"vertical",onMouseDown:V,onTouchStart:V,onFocus:function(e){null==S||S(e,s)},onMouseEnter:function(e){w(e,s)},onKeyDown:function(e){if(!N&&D){var t=null;switch(e.which||e.keyCode){case A.A.LEFT:t="ltr"===I||"btt"===I?-1:1;break;case A.A.RIGHT:t="ltr"===I||"btt"===I?1:-1;break;case A.A.UP:t="ttb"!==I?1:-1;break;case A.A.DOWN:t="ttb"!==I?-1:1;break;case A.A.HOME:t="min";break;case A.A.END:t="max";break;case A.A.PAGE_UP:t=2;break;case A.A.PAGE_DOWN:t=-2;break;case A.A.BACKSPACE:case A.A.DELETE:null==d||d(s)}null!==t&&(e.preventDefault(),C(t,s))}},onKeyUp:function(e){switch(e.which||e.keyCode){case A.A.LEFT:case A.A.RIGHT:case A.A.UP:case A.A.DOWN:case A.A.HOME:case A.A.END:case A.A.PAGE_UP:case A.A.PAGE_DOWN:null==E||E()}}});var Y=a.createElement("div",(0,m.A)({ref:t,className:o()(W,(0,c.A)((0,c.A)((0,c.A)({},"".concat(W,"-").concat(s+1),null!==s&&P),"".concat(W,"-dragging"),v),"".concat(W,"-dragging-delete"),b),q.handle),style:(0,l.A)((0,l.A)((0,l.A)({},X),f),T.handle)},G,O));return g&&(Y=g(Y,{index:s,prefixCls:r,value:i,dragging:v,draggingDelete:b})),Y}),S=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],w=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,c=e.onOffsetChange,i=e.values,s=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,g=e.draggingDelete,v=e.onFocus,h=(0,p.A)(e,S),A=a.useRef({}),k=a.useState(!1),C=(0,u.A)(k,2),x=C[0],w=C[1],O=a.useState(-1),M=(0,u.A)(O,2),B=M[0],j=M[1],I=function(e){j(e),w(!0)};a.useImperativeHandle(t,function(){return{focus:function(e){var t;null==(t=A.current[e])||t.focus()},hideHelp:function(){(0,b.flushSync)(function(){w(!1)})}}});var N=(0,l.A)({prefixCls:n,onStartMove:o,onOffsetChange:c,render:s,onFocus:function(e,t){I(t),null==v||v(e)},onMouseEnter:function(e,t){I(t)}},h);return a.createElement(a.Fragment,null,i.map(function(e,t){var n=f===t;return a.createElement(E,(0,m.A)({ref:function(e){e?A.current[t]=e:delete A.current[t]},dragging:n,draggingDelete:n&&g,style:y(r,t),key:t,value:e,valueIndex:t},N))}),d&&x&&a.createElement(E,(0,m.A)({key:"a11y"},N,{value:i[B],valueIndex:null,dragging:-1!==f,draggingDelete:g,render:d,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});let O=function(e){var t=e.prefixCls,n=e.style,r=e.children,i=e.value,s=e.onClick,u=a.useContext(k),d=u.min,f=u.max,g=u.direction,v=u.includedStart,m=u.includedEnd,p=u.included,b="".concat(t,"-text"),y=h(g,i,d,f);return a.createElement("span",{className:o()(b,(0,c.A)({},"".concat(b,"-active"),p&&v<=i&&i<=m)),style:(0,l.A)((0,l.A)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){s(i)}},r)},M=function(e){var t=e.prefixCls,n=e.marks,r=e.onClick,o="".concat(t,"-mark");return n.length?a.createElement("div",{className:o},n.map(function(e){var t=e.value,n=e.style,l=e.label;return a.createElement(O,{key:t,prefixCls:o,style:n,value:t,onClick:r},l)})):null},B=function(e){var t=e.prefixCls,n=e.value,r=e.style,i=e.activeStyle,s=a.useContext(k),u=s.min,d=s.max,f=s.direction,g=s.included,v=s.includedStart,m=s.includedEnd,p="".concat(t,"-dot"),b=g&&v<=n&&n<=m,y=(0,l.A)((0,l.A)({},h(f,n,u,d)),"function"==typeof r?r(n):r);return b&&(y=(0,l.A)((0,l.A)({},y),"function"==typeof i?i(n):i)),a.createElement("span",{className:o()(p,(0,c.A)({},"".concat(p,"-active"),b)),style:y})},j=function(e){var t=e.prefixCls,n=e.marks,r=e.dots,o=e.style,l=e.activeStyle,c=a.useContext(k),i=c.min,s=c.max,u=c.step,d=a.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),r&&null!==u)for(var t=i;t<=s;)e.add(t),t+=u;return Array.from(e)},[i,s,u,r,n]);return a.createElement("div",{className:"".concat(t,"-step")},d.map(function(e){return a.createElement(B,{prefixCls:t,key:e,value:e,style:o,activeStyle:l})}))},I=function(e){var t=e.prefixCls,n=e.style,r=e.start,i=e.end,s=e.index,u=e.onStartMove,d=e.replaceCls,f=a.useContext(k),g=f.direction,v=f.min,m=f.max,p=f.disabled,b=f.range,h=f.classNames,y="".concat(t,"-track"),A=(r-v)/(m-v),C=(i-v)/(m-v),x=function(e){!p&&u&&u(e,-1)},E={};switch(g){case"rtl":E.right="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%");break;case"btt":E.bottom="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;case"ttb":E.top="".concat(100*A,"%"),E.height="".concat(100*C-100*A,"%");break;default:E.left="".concat(100*A,"%"),E.width="".concat(100*C-100*A,"%")}var S=d||o()(y,(0,c.A)((0,c.A)({},"".concat(y,"-").concat(s+1),null!==s&&b),"".concat(t,"-track-draggable"),u),h.track);return a.createElement("div",{className:S,style:(0,l.A)((0,l.A)({},E),n),onMouseDown:x,onTouchStart:x})},N=function(e){var t=e.prefixCls,n=e.style,r=e.values,c=e.startPoint,i=e.onStartMove,s=a.useContext(k),u=s.included,d=s.range,f=s.min,g=s.styles,v=s.classNames,m=a.useMemo(function(){if(!d){if(0===r.length)return[];var e=null!=c?c:f,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],a=0;a130&&v=0&&en},[en,eR]),ez=a.useMemo(function(){return Object.keys(eg||{}).map(function(e){var t=eg[e],n={value:Number(e)};return t&&"object"===(0,s.A)(t)&&!a.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eg]),eL=(n=void 0===ee||ee,r=a.useCallback(function(e){return Math.max(eP,Math.min(eH,e))},[eP,eH]),m=a.useCallback(function(e){if(null!==eR){var t=eP+Math.round((r(e)-eP)/eR)*eR,n=function(e){return(String(e).split(".")[1]||"").length},a=Math.max(n(eR),n(eH),n(eP)),o=Number(t.toFixed(a));return eP<=o&&o<=eH?o:null}return null},[eR,eP,eH,r]),p=a.useCallback(function(e){var t=r(e),n=ez.map(function(e){return e.value});null!==eR&&n.push(m(e)),n.push(eP,eH);var a=n[0],o=eH-eP;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(a=e,o=n)}),a},[eP,eH,ez,eR,r,m]),b=function e(t,n,a){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,l=t[a],c=l+n,s=[];ez.forEach(function(e){s.push(e.value)}),s.push(eP,eH),s.push(m(l));var u=n>0?1:-1;"unit"===r?s.push(m(l+u*eR)):s.push(m(c)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=l:e>=l}),"unit"===r&&(s=s.filter(function(e){return e!==l}));var d="unit"===r?l:c,f=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var g=(0,i.A)(t);return g[a]=o,e(g,n-u,a,r)}return o}return"min"===n?eP:"max"===n?eH:void 0},h=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",r=e[n],o=b(e,t,n,a);return{value:o,changed:o!==r}},y=function(e){return null===eF&&0===e||"number"==typeof eF&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(p),l=o[a],c=b(o,t,a,r);if(o[a]=c,!1===n){var i=eF||0;a>0&&o[a-1]!==l&&(o[a]=Math.max(o[a],o[a-1]+i)),a0;f-=1)for(var g=!0;y(o[f]-o[f-1])&&g;){var v=h(o,-1,f-1);o[f-1]=v.value,g=v.changed}for(var m=o.length-1;m>0;m-=1)for(var A=!0;y(o[m]-o[m-1])&&A;){var k=h(o,-1,m-1);o[m-1]=k.value,A=k.changed}for(var C=0;C=0?U+1:2;for(a=a.slice(0,o);a.length=0&&eE.current.focus(e)}e9(null)},[e4]);var e7=a.useMemo(function(){return(!eI||null!==eR)&&eI},[eI,eR]),te=(0,d.A)(function(e,t){e8(e,t),null==Q||Q(eK(e_))}),tt=-1!==e$;a.useEffect(function(){if(!tt){var e=e_.lastIndexOf(e0);eE.current.focus(e)}},[tt]);var tn=a.useMemo(function(){return(0,i.A)(e2).sort(function(e,t){return e-t})},[e2]),ta=a.useMemo(function(){return eB?[tn[0],tn[tn.length-1]]:[eP,tn[0]]},[tn,eB,eP]),tr=(0,u.A)(ta,2),to=tr[0],tl=tr[1];a.useImperativeHandle(t,function(){return{focus:function(){eE.current.focus(0)},blur:function(){var e,t=document.activeElement;null!=(e=eS.current)&&e.contains(t)&&(null==t||t.blur())}}}),a.useEffect(function(){F&&eE.current.focus(0)},[]);var tc=a.useMemo(function(){return{min:eP,max:eH,direction:ew,disabled:D,keyboard:R,step:eR,included:el,includedStart:to,includedEnd:tl,range:eB,tabIndex:ey,ariaLabelForHandle:eA,ariaLabelledByForHandle:ek,ariaRequired:eC,ariaValueTextFormatterForHandle:ex,styles:O||{},classNames:S||{}}},[eP,eH,ew,D,R,eR,el,to,tl,eB,ey,eA,ek,eC,ex,O,S]);return a.createElement(k.Provider,{value:tc},a.createElement("div",{ref:eS,className:o()(C,x,(0,c.A)((0,c.A)((0,c.A)((0,c.A)({},"".concat(C,"-disabled"),D),"".concat(C,"-vertical"),er),"".concat(C,"-horizontal"),!er),"".concat(C,"-with-marks"),ez.length)),style:E,onMouseDown:function(e){e.preventDefault();var t,n=eS.current.getBoundingClientRect(),a=n.width,r=n.height,o=n.left,l=n.top,c=n.bottom,i=n.right,s=e.clientX,u=e.clientY;switch(ew){case"btt":t=(c-u)/r;break;case"ttb":t=(u-l)/r;break;case"rtl":t=(i-s)/a;break;default:t=(s-o)/a}e3(eq(eP+t*(eH-eP)),e)},id:B},a.createElement("div",{className:o()("".concat(C,"-rail"),null==S?void 0:S.rail),style:(0,l.A)((0,l.A)({},eu),null==O?void 0:O.rail)}),!1!==eb&&a.createElement(N,{prefixCls:C,style:ei,values:e_,startPoint:ec,onStartMove:e7?te:void 0}),a.createElement(j,{prefixCls:C,marks:ez,dots:ev,style:ed,activeStyle:ef}),a.createElement(w,{ref:eE,prefixCls:C,style:es,values:e2,draggingIndex:e$,draggingDelete:e1,onStartMove:te,onOffsetChange:function(e,t){if(!D){var n=eW(e_,e,t);null==Q||Q(eK(e_)),eU(n.values),e9(n.value)}},onFocus:z,onBlur:L,handleRender:em,activeHandleRender:ep,onChangeComplete:eJ,onDelete:ej?function(e){if(!D&&ej&&!(e_.length<=eN)){var t=(0,i.A)(e_);t.splice(e,1),null==Q||Q(eK(t)),eU(t);var n=Math.max(0,e-1);eE.current.hideHelp(),eE.current.focus(n)}}:void 0}),a.createElement(M,{prefixCls:C,marks:ez,onClick:e3})))}),F=n(16962),z=n(44494);let L=(0,a.createContext)({});var T=n(74686),q=n(97540);let W=a.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:o}=e,l=(0,a.useRef)(null),c=n&&!r,i=(0,a.useRef)(null);function s(){F.A.cancel(i.current),i.current=null}return a.useEffect(()=>(c?i.current=(0,F.A)(()=>{var e;null==(e=l.current)||e.forceAlign(),i.current=null}):s(),s),[c,e.title,o]),a.createElement(q.A,Object.assign({ref:(0,T.K4)(l,t)},e,{open:c}))});var V=n(99841),X=n(60872),G=n(18184),Y=n(45431),_=n(61388);let K=(e,t)=>{let{componentCls:n,railSize:a,handleSize:r,dotSize:o,marginFull:l,calc:c}=e,i=t?"width":"height",s=t?"height":"width",u=t?"insetBlockStart":"insetInlineStart",d=t?"top":"insetInlineStart",f=c(a).mul(3).sub(r).div(2).equal(),g=c(r).sub(a).div(2).equal(),v=t?{borderWidth:"".concat((0,V.zA)(g)," 0"),transform:"translateY(".concat((0,V.zA)(c(g).mul(-1).equal()),")")}:{borderWidth:"0 ".concat((0,V.zA)(g)),transform:"translateX(".concat((0,V.zA)(e.calc(g).mul(-1).equal()),")")};return{[t?"paddingBlock":"paddingInline"]:a,[s]:c(a).mul(3).equal(),["".concat(n,"-rail")]:{[i]:"100%",[s]:a},["".concat(n,"-track,").concat(n,"-tracks")]:{[s]:a},["".concat(n,"-track-draggable")]:Object.assign({},v),["".concat(n,"-handle")]:{[u]:f},["".concat(n,"-mark")]:{insetInlineStart:0,top:0,[d]:c(a).mul(3).add(t?0:l).equal(),[i]:"100%"},["".concat(n,"-step")]:{insetInlineStart:0,top:0,[d]:a,[i]:"100%",[s]:a},["".concat(n,"-dot")]:{position:"absolute",[u]:c(a).sub(o).div(2).equal()}}},U=(0,Y.OF)("Slider",e=>{let t=(0,_.oX)(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[(e=>{let{componentCls:t,antCls:n,controlSize:a,dotSize:r,marginFull:o,marginPart:l,colorFillContentHover:c,handleColorDisabled:i,calc:s,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:g,handleLineWidth:v,handleLineWidthHover:m,motionDurationMid:p}=e;return{[t]:Object.assign(Object.assign({},(0,G.dF)(e)),{position:"relative",height:a,margin:"".concat((0,V.zA)(l)," ").concat((0,V.zA)(o)),padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:"".concat((0,V.zA)(o)," ").concat((0,V.zA)(l))},["".concat(t,"-rail")]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:"background-color ".concat(p)},["".concat(t,"-track,").concat(t,"-tracks")]:{position:"absolute",transition:"background-color ".concat(p)},["".concat(t,"-track")]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},["".concat(t,"-track-draggable")]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{["".concat(t,"-rail")]:{backgroundColor:e.railHoverBg},["".concat(t,"-track")]:{backgroundColor:e.trackHoverBg},["".concat(t,"-dot")]:{borderColor:c},["".concat(t,"-handle::after")]:{boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(e.colorPrimaryBorderHover)},["".concat(t,"-dot-active")]:{borderColor:e.dotActiveBorderColor}},["".concat(t,"-handle")]:{position:"absolute",width:u,height:u,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:s(v).mul(-1).equal(),insetBlockStart:s(v).mul(-1).equal(),width:s(u).add(s(v).mul(2)).equal(),height:s(u).add(s(v).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(e.handleColor),outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:"\n inset-inline-start ".concat(p,",\n inset-block-start ").concat(p,",\n width ").concat(p,",\n height ").concat(p,",\n box-shadow ").concat(p,",\n outline ").concat(p,"\n ")},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:s(d).sub(u).div(2).add(m).mul(-1).equal(),insetBlockStart:s(d).sub(u).div(2).add(m).mul(-1).equal(),width:s(d).add(s(m).mul(2)).equal(),height:s(d).add(s(m).mul(2)).equal()},"&::after":{boxShadow:"0 0 0 ".concat((0,V.zA)(m)," ").concat(f),outline:"6px solid ".concat(g),width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},["&-lock ".concat(t,"-handle")]:{"&::before, &::after":{transition:"none"}},["".concat(t,"-mark")]:{position:"absolute",fontSize:e.fontSize},["".concat(t,"-mark-text")]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},["".concat(t,"-step")]:{position:"absolute",background:"transparent",pointerEvents:"none"},["".concat(t,"-dot")]:{position:"absolute",width:r,height:r,backgroundColor:e.colorBgElevated,border:"".concat((0,V.zA)(v)," solid ").concat(e.dotBorderColor),borderRadius:"50%",cursor:"pointer",transition:"border-color ".concat(e.motionDurationSlow),pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},["&".concat(t,"-disabled")]:{cursor:"not-allowed",["".concat(t,"-rail")]:{backgroundColor:"".concat(e.railBg," !important")},["".concat(t,"-track")]:{backgroundColor:"".concat(e.trackBgDisabled," !important")},["\n ".concat(t,"-dot\n ")]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},["".concat(t,"-handle::after")]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:u,height:u,boxShadow:"0 0 0 ".concat((0,V.zA)(v)," ").concat(i),insetInlineStart:0,insetBlockStart:0},["\n ".concat(t,"-mark-text,\n ").concat(t,"-dot\n ")]:{cursor:"not-allowed !important"}},["&-tooltip ".concat(n,"-tooltip-inner")]:{minWidth:"unset"}})}})(t),(e=>{let{componentCls:t,marginPartWithMark:n}=e;return{["".concat(t,"-horizontal")]:Object.assign(Object.assign({},K(e,!0)),{["&".concat(t,"-with-marks")]:{marginBottom:n}})}})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,"-vertical")]:Object.assign(Object.assign({},K(e,!1)),{height:"100%"})}})(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,a=e.lineWidth+1,r=e.lineWidth+1.5,o=e.colorPrimary,l=new X.Y(o).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:a,handleLineWidthHover:r,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:l,handleColorDisabled:new X.Y(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function J(){let[e,t]=a.useState(!1),n=a.useRef(null),r=()=>{F.A.cancel(n.current)};return a.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=(0,F.A)(()=>{t(e)})}]}var Q=n(15982),Z=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 $=a.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:l,rootClassName:c,style:i,disabled:s,tooltipPrefixCls:u,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:g,tooltipPlacement:v,tooltip:m={},onChangeComplete:p,classNames:b,styles:h}=e,y=Z(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:A}=e,{getPrefixCls:k,direction:C,className:x,style:E,classNames:S,styles:w,getPopupContainer:O}=(0,Q.TP)("slider"),M=a.useContext(z.A),{handleRender:B,direction:j}=a.useContext(L),I="rtl"===(j||C),[N,D]=J(),[P,H]=J(),T=Object.assign({},m),{open:q,placement:V,getPopupContainer:X,prefixCls:G,formatter:Y}=T,_=null!=q?q:f,K=(N||P)&&!1!==_,$=function(e,t){return e||null===e?e:t||null===t?t:e=>"number"==typeof e?e.toString():""}(Y,d),[ee,et]=J(),en=(e,t)=>e||(t?I?"left":"right":"top"),ea=k("slider",n),[er,eo,el]=U(ea),ec=o()(l,x,S.root,null==b?void 0:b.root,c,{["".concat(ea,"-rtl")]:I,["".concat(ea,"-lock")]:ee},eo,el);I&&!y.vertical&&(y.reverse=!y.reverse),a.useEffect(()=>{let e=()=>{(0,F.A)(()=>{H(!1)},1)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[]);let ei=r&&!_,es=B||((e,t)=>{let{index:n}=t,r=e.props;function o(e,t,n){var a,o;n&&(null==(a=y[e])||a.call(y,t)),null==(o=r[e])||o.call(r,t)}let l=Object.assign(Object.assign({},r),{onMouseEnter:e=>{D(!0),o("onMouseEnter",e)},onMouseLeave:e=>{D(!1),o("onMouseLeave",e)},onMouseDown:e=>{H(!0),et(!0),o("onMouseDown",e)},onFocus:e=>{var t;H(!0),null==(t=y.onFocus)||t.call(y,e),o("onFocus",e,!0)},onBlur:e=>{var t;H(!1),null==(t=y.onBlur)||t.call(y,e),o("onBlur",e,!0)}}),c=a.cloneElement(e,l),i=(!!_||K)&&null!==$;return ei?c:a.createElement(W,Object.assign({},T,{prefixCls:k("tooltip",null!=G?G:u),title:$?$(t.value):"",value:t.value,open:i,placement:en(null!=V?V:v,A),key:n,classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:X||g||O}),c)}),eu=ei?(e,t)=>{let n=a.cloneElement(e,{style:Object.assign(Object.assign({},e.props.style),{visibility:"hidden"})});return a.createElement(W,Object.assign({},T,{prefixCls:k("tooltip",null!=G?G:u),title:$?$(t.value):"",open:null!==$&&K,placement:en(null!=V?V:v,A),key:"tooltip",classNames:{root:"".concat(ea,"-tooltip")},getPopupContainer:X||g||O,draggingDelete:t.draggingDelete}),n)}:void 0,ed=Object.assign(Object.assign(Object.assign(Object.assign({},w.root),E),null==h?void 0:h.root),i),ef=Object.assign(Object.assign({},w.tracks),null==h?void 0:h.tracks),eg=o()(S.tracks,null==b?void 0:b.tracks);return er(a.createElement(R,Object.assign({},y,{classNames:Object.assign({handle:o()(S.handle,null==b?void 0:b.handle),rail:o()(S.rail,null==b?void 0:b.rail),track:o()(S.track,null==b?void 0:b.track)},eg?{tracks:eg}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},w.handle),null==h?void 0:h.handle),rail:Object.assign(Object.assign({},w.rail),null==h?void 0:h.rail),track:Object.assign(Object.assign({},w.track),null==h?void 0:h.track)},Object.keys(ef).length?{tracks:ef}:{}),step:y.step,range:r,className:ec,style:ed,disabled:null!=s?s:M,ref:t,prefixCls:ea,handleRender:es,activeHandleRender:eu,onChangeComplete:e=>{null==p||p(e),et(!1)}})))})},19663:(e,t,n)=>{n.d(t,{A:()=>a});let a={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"}},78096:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(85522),r=n(45144),o=n(5892);function l(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,(0,r.A)()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}},94481:(e,t,n)=>{n.d(t,{A:()=>I});var a=n(12115),r=n(84630),o=n(51754),l=n(48776),c=n(63583),i=n(66383),s=n(29300),u=n.n(s),d=n(82870),f=n(40032),g=n(74686),v=n(80163),m=n(15982),p=n(99841),b=n(18184),h=n(45431);let y=(e,t,n,a,r)=>({background:e,border:"".concat((0,p.zA)(a.lineWidth)," ").concat(a.lineType," ").concat(t),["".concat(r,"-icon")]:{color:n}}),A=(0,h.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:a,marginSM:r,fontSize:o,fontSizeLG:l,lineHeight:c,borderRadiusLG:i,motionEaseInOutCirc:s,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:g,defaultPadding:v}=e;return{[t]:Object.assign(Object.assign({},(0,b.dF)(e)),{position:"relative",display:"flex",alignItems:"center",padding:v,wordWrap:"break-word",borderRadius:i,["&".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-content")]:{flex:1,minWidth:0},["".concat(t,"-icon")]:{marginInlineEnd:a,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:c},"&-message":{color:f},["&".concat(t,"-motion-leave")]:{overflow:"hidden",opacity:1,transition:"max-height ".concat(n," ").concat(s,", opacity ").concat(n," ").concat(s,",\n padding-top ").concat(n," ").concat(s,", padding-bottom ").concat(n," ").concat(s,",\n margin-bottom ").concat(n," ").concat(s)},["&".concat(t,"-motion-leave-active")]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),["".concat(t,"-with-description")]:{alignItems:"flex-start",padding:g,["".concat(t,"-icon")]:{marginInlineEnd:r,fontSize:u,lineHeight:0},["".concat(t,"-message")]:{display:"block",marginBottom:a,color:f,fontSize:l},["".concat(t,"-description")]:{display:"block",color:d}},["".concat(t,"-banner")]:{marginBottom:0,border:"0 !important",borderRadius:0}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBorder:a,colorSuccessBg:r,colorWarning:o,colorWarningBorder:l,colorWarningBg:c,colorError:i,colorErrorBorder:s,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:g}=e;return{[t]:{"&-success":y(r,a,n,e,t),"&-info":y(g,f,d,e,t),"&-warning":y(c,l,o,e,t),"&-error":Object.assign(Object.assign({},y(u,s,i,e,t)),{["".concat(t,"-description > pre")]:{margin:0,padding:0}})}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:a,marginXS:r,fontSizeIcon:o,colorIcon:l,colorIconHover:c}=e;return{[t]:{"&-action":{marginInlineStart:r},["".concat(t,"-close-icon")]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:o,lineHeight:(0,p.zA)(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",["".concat(n,"-close")]:{color:l,transition:"color ".concat(a),"&:hover":{color:c}}},"&-close-text":{color:l,transition:"color ".concat(a),"&:hover":{color:c}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:"".concat(e.paddingContentVerticalSM,"px ").concat(12,"px"),withDescriptionPadding:"".concat(e.paddingMD,"px ").concat(e.paddingContentHorizontalLG,"px")}));var k=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 C={success:r.A,info:i.A,error:o.A,warning:c.A},x=e=>{let{icon:t,prefixCls:n,type:r}=e,o=C[r]||null;return t?(0,v.fx)(t,a.createElement("span",{className:"".concat(n,"-icon")},t),()=>({className:u()("".concat(n,"-icon"),t.props.className)})):a.createElement(o,{className:"".concat(n,"-icon")})},E=e=>{let{isClosable:t,prefixCls:n,closeIcon:r,handleClose:o,ariaProps:c}=e,i=!0===r||void 0===r?a.createElement(l.A,null):r;return t?a.createElement("button",Object.assign({type:"button",onClick:o,className:"".concat(n,"-close-icon"),tabIndex:0},c),i):null},S=a.forwardRef((e,t)=>{let{description:n,prefixCls:r,message:o,banner:l,className:c,rootClassName:i,style:s,onMouseEnter:v,onMouseLeave:p,onClick:b,afterClose:h,showIcon:y,closable:C,closeText:S,closeIcon:w,action:O,id:M}=e,B=k(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[j,I]=a.useState(!1),N=a.useRef(null);a.useImperativeHandle(t,()=>({nativeElement:N.current}));let{getPrefixCls:D,direction:P,closable:H,closeIcon:R,className:F,style:z}=(0,m.TP)("alert"),L=D("alert",r),[T,q,W]=A(L),V=t=>{var n;I(!0),null==(n=e.onClose)||n.call(e,t)},X=a.useMemo(()=>void 0!==e.type?e.type:l?"warning":"info",[e.type,l]),G=a.useMemo(()=>"object"==typeof C&&!!C.closeIcon||!!S||("boolean"==typeof C?C:!1!==w&&null!=w||!!H),[S,w,C,H]),Y=!!l&&void 0===y||y,_=u()(L,"".concat(L,"-").concat(X),{["".concat(L,"-with-description")]:!!n,["".concat(L,"-no-icon")]:!Y,["".concat(L,"-banner")]:!!l,["".concat(L,"-rtl")]:"rtl"===P},F,c,i,W,q),K=(0,f.A)(B,{aria:!0,data:!0}),U=a.useMemo(()=>"object"==typeof C&&C.closeIcon?C.closeIcon:S||(void 0!==w?w:"object"==typeof H&&H.closeIcon?H.closeIcon:R),[w,C,H,S,R]),J=a.useMemo(()=>{let e=null!=C?C:H;if("object"==typeof e){let{closeIcon:t}=e;return k(e,["closeIcon"])}return{}},[C,H]);return T(a.createElement(d.Ay,{visible:!j,motionName:"".concat(L,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:h},(t,r)=>{let{className:l,style:c}=t;return a.createElement("div",Object.assign({id:M,ref:(0,g.K4)(N,r),"data-show":!j,className:u()(_,l),style:Object.assign(Object.assign(Object.assign({},z),s),c),onMouseEnter:v,onMouseLeave:p,onClick:b,role:"alert"},K),Y?a.createElement(x,{description:n,icon:e.icon,prefixCls:L,type:X}):null,a.createElement("div",{className:"".concat(L,"-content")},o?a.createElement("div",{className:"".concat(L,"-message")},o):null,n?a.createElement("div",{className:"".concat(L,"-description")},n):null),O?a.createElement("div",{className:"".concat(L,"-action")},O):null,a.createElement(E,{isClosable:G,prefixCls:L,closeIcon:U,handleClose:V,ariaProps:J}))}))});var w=n(30857),O=n(28383),M=n(78096),B=n(38289);let j=function(e){function t(){var e;return(0,w.A)(this,t),e=(0,M.A)(this,t,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,B.A)(t,e),(0,O.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,description:t,id:n,children:r}=this.props,{error:o,info:l}=this.state,c=(null==l?void 0:l.componentStack)||null,i=void 0===e?(o||"").toString():e;return o?a.createElement(S,{id:n,type:"error",message:i,description:a.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===t?c:t)}):r}}])}(a.Component);S.ErrorBoundary=j;let I=S}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-1a77d9df9a9eecd2.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-1a77d9df9a9eecd2.js deleted file mode 100644 index 5b9106ea..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-1a77d9df9a9eecd2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6766],{6654:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(12115);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},15564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let n=r(88229),i=r(6966),o=r(95155),l=i._(r(12115)),a=n._(r(85029)),u=r(42464),s=r(82830),d=r(17544);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(43230);let p=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:r}=t;return e.reduce(c,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(u.AmpStateContext),n=(0,l.useContext)(s.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("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)},17544:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},33063:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return _}});let n=r(88229),i=r(6966),o=r(95155),l=i._(r(12115)),a=n._(r(47650)),u=n._(r(15564)),s=r(38883),d=r(95840),f=r(86752);r(43230);let c=r(70901),p=n._(r(51193)),g=r(6654),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0};function h(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function b(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:u,decoding:s,className:d,style:f,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:_,onLoadingCompleteRef:j,setBlurComplete:w,setShowAltText:O,sizesInput:P,onLoad:x,onError:C,...S}=e,E=(0,l.useCallback)(e=>{e&&(C&&(e.src=e.src),e.complete&&h(e,p,_,j,w,v,P))},[r,p,_,j,w,C,v,P]),M=(0,g.useMergedRef)(t,E);return(0,o.jsx)("img",{...S,...b(c),loading:m,width:u,height:a,decoding:s,"data-nimg":y?"fill":"1",className:d,style:f,sizes:i,srcSet:n,src:r,ref:M,onLoad:e=>{h(e.currentTarget,p,_,j,w,v,P)},onError:e=>{O(!0),"empty"!==p&&w(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...b(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let _=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(c.RouterContext),n=(0,l.useContext)(f.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||d.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:u}=e,g=(0,l.useRef)(a);(0,l.useEffect)(()=>{g.current=a},[a]);let h=(0,l.useRef)(u);(0,l.useEffect)(()=>{h.current=u},[u]);let[b,_]=(0,l.useState)(!1),[j,w]=(0,l.useState)(!1),{props:O,meta:P}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:j});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...O,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:_,setShowAltText:w,sizesInput:e.sizes,ref:t}),P.priority?(0,o.jsx)(y,{isAppRouter:!r,imgAttributes:O}):null]})});("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)},38883:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(43230);let n=r(75100),i=r(95840),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(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 u(e,t){var r,u;let s,d,f,{src:c,sizes:p,unoptimized:g=!1,priority:m=!1,loading:h,className:b,quality:v,width:y,height:_,fill:j=!1,style:w,overrideSrc:O,onLoad:P,onLoadingComplete:x,placeholder:C="empty",blurDataURL:S,fetchPriority:E,decoding:M="async",layout:R,objectFit:z,objectPosition:I,lazyBoundary:k,lazyRoot:A,...D}=e,{imgConf:N,showAltText:F,blurComplete:L,defaultLoader:T}=t,U=N||i.imageConfigDefault;if("allSizes"in U)s=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);s={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===T)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=D.loader||T;delete D.loader,delete D.srcSet;let G="__next_img_default"in B;if(G){if("custom"===s.loader)throw Object.defineProperty(Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(j=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!p&&(p=t)}let q="",W=a(y),V=a(_);if((u=c)&&"object"==typeof u&&(l(u)||void 0!==u.src)){let e=l(c)?c.default:c;if(!e.src)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(d=e.blurWidth,f=e.blurHeight,S=S||e.blurDataURL,q=e.src,!j)if(W||V){if(W&&!V){let t=W/e.width;V=Math.round(e.height*t)}else if(!W&&V){let t=V/e.height;W=Math.round(e.width*t)}}else W=e.width,V=e.height}let H=!m&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:q)||c.startsWith("data:")||c.startsWith("blob:"))&&(g=!0,H=!1),s.unoptimized&&(g=!0),G&&!s.dangerouslyAllowSVG&&c.split("?",1)[0].endsWith(".svg")&&(g=!0);let X=a(v),$=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:I}:{},F?{}:{color:"transparent"},w),J=L||"empty"===C?null:"blur"===C?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:W,heightInt:V,blurWidth:d,blurHeight:f,blurDataURL:S||"",objectFit:$.objectFit})+'")':'url("'+C+'")',Y=o.includes($.objectFit)?"fill"===$.objectFit?"100% 100%":"cover":$.objectFit,K=J?{backgroundSize:Y,backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),d=u.length-1;return{sizes:l||"w"!==s?l:"100vw",srcSet:u.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===s?e:n+1)+s).join(", "),src:a({config:t,src:r,quality:o,width:u[d]})}}({config:s,src:c,unoptimized:g,width:W,quality:X,sizes:p,loader:B});return{props:{...D,loading:H?"lazy":h,fetchPriority:E,width:W,height:V,decoding:M,className:b,style:{...$,...K},sizes:Q.sizes,srcSet:Q.srcSet,src:O||Q.src},meta:{unoptimized:g,priority:m,placeholder:C,fill:j}}}},42464:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext({})},51193:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75){r.d(t,{default:()=>i.a});var n=r(71469),i=r.n(n)},70901:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext(null)},71469:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return a}});let n=r(88229),i=r(38883),o=r(33063),l=n._(r(51193));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},75100:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,u=i?40*i:r,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},85029:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(12115),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},86752:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(88229)._(r(12115)),i=r(95840),o=n.default.createContext(i.imageConfigDefault)},95840:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-d89fadb71679d924.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-d89fadb71679d924.js new file mode 100644 index 00000000..05535c94 --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6766-d89fadb71679d924.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6766],{6654:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(12115);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},15564:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let n=r(88229),i=r(6966),o=r(95155),l=i._(r(12115)),a=n._(r(85029)),u=r(20083),s=r(82830),d=r(17544);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(43230);let p=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:r}=t;return e.reduce(c,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(u.AmpStateContext),n=(0,l.useContext)(s.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("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)},17544:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},20083:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext({})},33063:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return _}});let n=r(88229),i=r(6966),o=r(95155),l=i._(r(12115)),a=n._(r(47650)),u=n._(r(15564)),s=r(38883),d=r(95840),f=r(86752);r(43230);let c=r(70901),p=n._(r(51193)),g=r(6654),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0};function h(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function b(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:u,decoding:s,className:d,style:f,fetchPriority:c,placeholder:p,loading:m,unoptimized:v,fill:y,onLoadRef:_,onLoadingCompleteRef:j,setBlurComplete:w,setShowAltText:O,sizesInput:P,onLoad:x,onError:C,...S}=e,E=(0,l.useCallback)(e=>{e&&(C&&(e.src=e.src),e.complete&&h(e,p,_,j,w,v,P))},[r,p,_,j,w,C,v,P]),M=(0,g.useMergedRef)(t,E);return(0,o.jsx)("img",{...S,...b(c),loading:m,width:u,height:a,decoding:s,"data-nimg":y?"fill":"1",className:d,style:f,sizes:i,srcSet:n,src:r,ref:M,onLoad:e=>{h(e.currentTarget,p,_,j,w,v,P)},onError:e=>{O(!0),"empty"!==p&&w(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...b(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let _=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(c.RouterContext),n=(0,l.useContext)(f.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||d.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:u}=e,g=(0,l.useRef)(a);(0,l.useEffect)(()=>{g.current=a},[a]);let h=(0,l.useRef)(u);(0,l.useEffect)(()=>{h.current=u},[u]);let[b,_]=(0,l.useState)(!1),[j,w]=(0,l.useState)(!1),{props:O,meta:P}=(0,s.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:j});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...O,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:_,setShowAltText:w,sizesInput:e.sizes,ref:t}),P.priority?(0,o.jsx)(y,{isAppRouter:!r,imgAttributes:O}):null]})});("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)},38883:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(43230);let n=r(75100),i=r(95840),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(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 u(e,t){var r,u;let s,d,f,{src:c,sizes:p,unoptimized:g=!1,priority:m=!1,loading:h,className:b,quality:v,width:y,height:_,fill:j=!1,style:w,overrideSrc:O,onLoad:P,onLoadingComplete:x,placeholder:C="empty",blurDataURL:S,fetchPriority:E,decoding:M="async",layout:R,objectFit:z,objectPosition:I,lazyBoundary:k,lazyRoot:A,...D}=e,{imgConf:N,showAltText:F,blurComplete:L,defaultLoader:T}=t,U=N||i.imageConfigDefault;if("allSizes"in U)s=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);s={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===T)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=D.loader||T;delete D.loader,delete D.srcSet;let G="__next_img_default"in B;if(G){if("custom"===s.loader)throw Object.defineProperty(Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(j=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!p&&(p=t)}let q="",W=a(y),V=a(_);if((u=c)&&"object"==typeof u&&(l(u)||void 0!==u.src)){let e=l(c)?c.default:c;if(!e.src)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(d=e.blurWidth,f=e.blurHeight,S=S||e.blurDataURL,q=e.src,!j)if(W||V){if(W&&!V){let t=W/e.width;V=Math.round(e.height*t)}else if(!W&&V){let t=V/e.height;W=Math.round(e.width*t)}}else W=e.width,V=e.height}let H=!m&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:q)||c.startsWith("data:")||c.startsWith("blob:"))&&(g=!0,H=!1),s.unoptimized&&(g=!0),G&&!s.dangerouslyAllowSVG&&c.split("?",1)[0].endsWith(".svg")&&(g=!0);let X=a(v),$=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:I}:{},F?{}:{color:"transparent"},w),J=L||"empty"===C?null:"blur"===C?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:W,heightInt:V,blurWidth:d,blurHeight:f,blurDataURL:S||"",objectFit:$.objectFit})+'")':'url("'+C+'")',Y=o.includes($.objectFit)?"fill"===$.objectFit?"100% 100%":"cover":$.objectFit,K=J?{backgroundSize:Y,backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:s}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),d=u.length-1;return{sizes:l||"w"!==s?l:"100vw",srcSet:u.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===s?e:n+1)+s).join(", "),src:a({config:t,src:r,quality:o,width:u[d]})}}({config:s,src:c,unoptimized:g,width:W,quality:X,sizes:p,loader:B});return{props:{...D,loading:H?"lazy":h,fetchPriority:E,width:W,height:V,decoding:M,className:b,style:{...$,...K},sizes:Q.sizes,srcSet:Q.srcSet,src:O||Q.src},meta:{unoptimized:g,priority:m,placeholder:C,fill:j}}}},51193:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75){r.d(t,{default:()=>i.a});var n=r(71469),i=r.n(n)},70901:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext(null)},71469:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return a}});let n=r(88229),i=r(38883),o=r(33063),l=n._(r(51193));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},75100:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,u=i?40*i:r,s=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},85029:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(12115),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},86752:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(88229)._(r(12115)),i=r(95840),o=n.default.createContext(i.imageConfigDefault)},95840:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-9f311e6d2180645b.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-9f311e6d2180645b.js new file mode 100644 index 00000000..b93eaa10 --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-9f311e6d2180645b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6779],{86779:(e,t,r)=>{r.d(t,{A:()=>et});var a=r(95155),l=r(67773),s=r(50482),o=r(93192),n=r(3377),i=r(44261),d=r(92611),c=r(32429),x=r(45163),g=r(81064),m=r(50747),u=r(66709),h=r(85875),p=r(75121),b=r(9622),f=r(44213),y=r(30535),v=r(15742),j=r(44407),k=r(56450),N=r(68287),w=r(87344),A=r(54099),_=r(90797),C=r(5813),S=r(70445),L=r(56200),M=r(73775),V=r(85),D=r(19696),I=r(7187),O=r(24646),P=r(29300),F=r.n(P),E=r(35695),z=r(12115),R=r(91218),U=r(25702),Y=r(21103),B=r(28562),T=r(37974),W=r(16467),G=r(96194),K=r(98696),J=r(23512),H=r(8365);let{Paragraph:Z}=_.A,Q=e=>{let{open:t,onCancel:r,defaultTab:s="skill",selectedSkills:o=[],onSkillsChange:i,selectedMcps:d=[],onMcpsChange:c}=e,{t:u}=(0,R.Bd)(),[h,p]=(0,z.useState)(s),[b,f]=(0,z.useState)([]),[y,v]=(0,z.useState)(""),[j,k]=(0,z.useState)([]),[N,w]=(0,z.useState)(""),[_,C]=(0,z.useState)([]),[S,L]=(0,z.useState)("");(0,z.useEffect)(()=>{t&&p(s)},[t,s]),(0,z.useEffect)(()=>{t&&(f(o.map(e=>e.skill_code)),k(d.map(e=>e.id||e.uuid||e.name||"").filter(e=>""!==e)))},[t]);let{data:V=[],loading:D}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.NQM)({filter:""},{page:"1",page_size:"100"}));return(null==e?void 0:e.items)||[]}),{data:I=[],loading:O}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.Gky)({filter:y},{page:"1",page_size:"100"}));return(null==e?void 0:e.items)||[]},{refreshDeps:[y]}),{data:P=[]}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.ZEj)("local"));return e||[]}),F=I.filter(e=>{var t,r;if(!y)return!0;let a=y.toLowerCase();return(null==(t=e.name)?void 0:t.toLowerCase().includes(a))||(null==(r=e.description)?void 0:r.toLowerCase().includes(a))}),E=V.filter(e=>{var t,r;if(!N)return!0;let a=N.toLowerCase();return(null==(t=e.name)?void 0:t.toLowerCase().includes(a))||(null==(r=e.description)?void 0:r.toLowerCase().includes(a))}),Q=P.filter(e=>{if(!S)return!0;let t=S.toLowerCase(),r=e.tool_name||"",a="";if(e.config)try{let t=JSON.parse(e.config);a=t.description||t.desc||""}catch(e){}return r.toLowerCase().includes(t)||a.toLowerCase().includes(t)}),$=e=>{let t=b.includes(e.skill_code)?b.filter(t=>t!==e.skill_code):[...b,e.skill_code];f(t),i&&i(I.filter(e=>t.includes(e.skill_code)))},q=e=>{let t=e.id||e.uuid||e.name,r=j.includes(t||"")?j.filter(e=>e!==t):[...j,t||""];k(r),c&&c(V.filter(e=>{let t=e.id||e.uuid||e.name||"";return r.includes(t)}))},X=e=>{let t=e.tool_id;C(_.includes(t)?_.filter(e=>e!==t):[..._,t])},ee=(e,t)=>{let r=!1;if("skill"===t)r=b.includes(e.skill_code);else if("mcp"===t){let t=e.id||e.uuid||e.name;r=j.includes(t||"")}else if("local"===t){let t=e.tool_id;r=_.includes(t)}let l="blue";return"skill"===t?l="blue":"mcp"===t?l="green":"local"===t&&(l="orange"),(0,a.jsx)(U.A.Item,{className:"\n cursor-pointer rounded-lg transition-colors px-4 py-3 border-b-0 mb-1\n ".concat(r?"bg-".concat(l,"-50 dark:bg-").concat(l,"-900/20 border border-").concat(l,"-200 dark:border-").concat(l,"-800"):"hover:bg-gray-50 dark:hover:bg-gray-800/50 border border-transparent","\n "),onClick:()=>{"skill"===t?$(e):"mcp"===t?q(e):"local"===t&&X(e)},actions:"local"!==t&&"mcp"!==t?[(0,a.jsx)(Y.A,{checked:r,onChange:()=>"skill"===t?$(e):"mcp"===t?q(e):X(e),onClick:e=>e.stopPropagation(),className:"text-gray-400 hover:text-blue-500"},"checkbox")]:[(0,a.jsx)(Y.A,{checked:r,onChange:()=>"mcp"===t?q(e):X(e),onClick:e=>e.stopPropagation(),className:"text-gray-400 hover:text-blue-500"},"checkbox")],children:(0,a.jsx)(U.A.Item.Meta,{avatar:(0,a.jsx)(B.A,{shape:"circle",size:48,src:e.icon,icon:!e.icon&&("mcp"===t?(0,a.jsx)(m.A,{}):"local"===t?(0,a.jsx)(g.A,{}):void 0),className:"\n bg-white dark:bg-gray-800 border-2\n ".concat(r?"border-".concat(l,"-500 text-").concat(l,"-500"):"border-gray-200 dark:border-gray-700 text-gray-500","\n "),style:e.icon||"skill"!==t?void 0:{fontSize:"20px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center"},children:!e.icon&&"skill"===t&&(e.name?e.name.charAt(0).toUpperCase():"S")}),title:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-base ".concat(r?"text-".concat(l,"-600 dark:text-").concat(l,"-400"):"text-gray-900 dark:text-gray-100"),children:"local"===t?e.tool_name:e.name}),r&&(0,a.jsx)(x.A,{className:"text-".concat(l,"-500 text-sm")}),"mcp"===t&&e.available&&(0,a.jsx)(T.A,{color:"success",className:"mr-0 rounded-full px-2 scale-75 origin-left",children:"Active"}),"skill"===t&&e.type&&(0,a.jsx)(T.A,{color:r?l:"default",className:"mr-0 rounded-full px-2 scale-75 origin-left",children:e.type})]}),description:(0,a.jsxs)("div",{children:[(0,a.jsx)(Z,{ellipsis:{rows:2},className:"!mb-0 text-xs mt-1 ".concat(r?"text-gray-600 dark:text-gray-400":"text-gray-500 dark:text-gray-400"),children:"local"===t?(()=>{try{let t=JSON.parse(e.config||"{}");return t.description||t.desc||""}catch(e){return""}})():e.description}),"skill"===t&&e.author&&(0,a.jsxs)("div",{className:"text-[10px] text-gray-400 dark:text-gray-500 mt-1",children:["By ",e.author," ",e.version&&"\xb7 v".concat(e.version),e.repo_url&&(0,a.jsx)("span",{className:"ml-1",children:"\xb7 Git"})]})]})})})},et=[{key:"skill",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(H.A,{}),u("Skills",{defaultValue:"Skills"}),b.length>0&&(0,a.jsx)(T.A,{color:"blue",className:"rounded-full px-1.5 scale-75 origin-left",children:b.length})]}),children:(0,a.jsx)(W.A,{spinning:O,children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(M.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search skills...",{defaultValue:"Search skills..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:y,onChange:e=>v(e.target.value),allowClear:!0})}),(0,a.jsx)(U.A,{itemLayout:"horizontal",dataSource:F,renderItem:e=>ee(e,"skill"),className:"flex-1 overflow-y-auto px-2"}),0===F.length&&!O&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:y?u("No skills found",{defaultValue:"No skills found"}):u("No skills available",{defaultValue:"No skills available"})})]})})},{key:"local",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(g.A,{}),u("Local Tools",{defaultValue:"Local Tools"}),_.length>0&&(0,a.jsx)(T.A,{color:"orange",className:"rounded-full px-1.5 scale-75 origin-left",children:_.length})]}),children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(M.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search tools...",{defaultValue:"Search tools..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:S,onChange:e=>L(e.target.value),allowClear:!0})}),(0,a.jsx)(U.A,{itemLayout:"horizontal",dataSource:Q,renderItem:e=>ee(e,"local"),className:"flex-1 overflow-y-auto px-2"}),0===Q.length&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:S?u("No tools found",{defaultValue:"No tools found"}):u("No tools available",{defaultValue:"No tools available"})})]})},{key:"mcp",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(m.A,{}),u("MCP Servers",{defaultValue:"MCP Servers"}),j.length>0&&(0,a.jsx)(T.A,{color:"green",className:"rounded-full px-1.5 scale-75 origin-left",children:j.length})]}),children:(0,a.jsx)(W.A,{spinning:D,children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(M.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search MCP servers...",{defaultValue:"Search MCP servers..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:N,onChange:e=>w(e.target.value),allowClear:!0})}),(0,a.jsx)(U.A,{itemLayout:"horizontal",dataSource:E,renderItem:e=>ee(e,"mcp"),className:"flex-1 overflow-y-auto px-2"}),0===E.length&&!D&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:N?u("No MCP servers found",{defaultValue:"No MCP servers found"}):u("No MCP servers available",{defaultValue:"No MCP servers available"})})]})})}];return(0,a.jsx)(G.A,{title:(0,a.jsx)("div",{className:"text-lg font-semibold px-2 pt-2",children:u("Connectors & Tools",{defaultValue:"Connectors & Tools"})}),open:t,onCancel:r,footer:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"text-sm text-gray-500",children:[u("Selected",{defaultValue:"Selected"}),": ","skill"===h?b.length:"mcp"===h?j.length:_.length]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(K.Ay,{onClick:r,children:u("Cancel",{defaultValue:"Cancel"})}),(0,a.jsx)(K.Ay,{type:"primary",onClick:()=>{i&&i(I.filter(e=>b.includes(e.skill_code))),c&&c(V.filter(e=>{let t=e.id||e.uuid||e.name||"";return j.includes(t)})),r()},className:"bg-black hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200",children:u("Apply",{defaultValue:"Apply"})})]})]}),width:720,className:"rounded-2xl overflow-hidden",styles:{body:{padding:"0"},footer:{padding:"16px 24px",borderTop:"1px solid #f0f0f0"}},centered:!0,children:(0,a.jsx)("div",{className:"flex flex-col h-full bg-white dark:bg-[#1f1f1f]",children:(0,a.jsx)(J.A,{activeKey:h,onChange:p,items:et,tabBarStyle:{padding:"0 24px",marginBottom:16},className:"custom-tabs pt-2"})})})},{Title:$,Text:q}=_.A,{Panel:X}=C.A,ee=e=>{let{file:t,onRemove:r,isAutoGenerated:l}=e,[s,n]=(0,z.useState)("");(0,z.useEffect)(()=>{if(t.type.startsWith("image/")){let e=URL.createObjectURL(t);return n(e),()=>URL.revokeObjectURL(e)}},[t]);let i=t.name.endsWith(".md")||"text/markdown"===t.type;return(0,a.jsxs)("div",{className:"relative group flex-shrink-0",children:[t.type.startsWith("image/")?(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,a.jsx)("img",{src:s,alt:t.name,className:"w-full h-full object-cover"})}):i?(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg border border-blue-200 dark:border-blue-800 bg-blue-50/50 dark:bg-blue-900/20 hover:bg-blue-50 dark:hover:bg-blue-900/30 transition-colors",children:[(0,a.jsxs)("div",{className:"w-8 h-10 rounded bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 flex flex-col items-center justify-center relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500",style:{clipPath:"polygon(100% 0, 0 0, 100% 100%)"}}),(0,a.jsx)(o.A,{className:"text-blue-500 text-lg"}),(0,a.jsx)("span",{className:"text-[8px] text-blue-600 dark:text-blue-400 font-medium mt-0.5",children:"MD"})]}),(0,a.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:l?"输入内容":t.name}),(0,a.jsxs)("span",{className:"text-[10px] text-gray-400",children:[(t.size/1024).toFixed(1)," KB \xb7 Markdown"]})]}),(0,a.jsx)("button",{className:"ml-1 p-1 rounded-full hover:bg-red-100 dark:hover:bg-red-900/30 text-gray-400 hover:text-red-500 transition-colors",onClick:e=>{e.stopPropagation(),r()},children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})})]}):(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,a.jsxs)("div",{className:"w-full h-full flex flex-col items-center justify-center bg-gray-50 dark:bg-gray-800 gap-1",children:[(0,a.jsx)(o.A,{className:"text-gray-400 text-xl"}),(0,a.jsx)("span",{className:"text-[10px] text-gray-400 truncate w-full text-center px-1",children:t.name})]})}),!i&&(0,a.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-black/50 hover:bg-red-500 rounded-full flex items-center justify-center cursor-pointer transition-all opacity-0 group-hover:opacity-100 backdrop-blur-sm",onClick:e=>{e.stopPropagation(),r()},children:(0,a.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})})]})};function et(){let e=(0,E.useRouter)(),{t}=(0,R.Bd)(),[r,o]=(0,z.useState)(""),[_,P]=(0,z.useState)(!1),[U,Y]=(0,z.useState)([]),[B,T]=(0,z.useState)(!1),[W,G]=(0,z.useState)("skill"),[K,J]=(0,z.useState)([]),[H,Z]=(0,z.useState)([]),[$,q]=(0,z.useState)(null),[et,er]=(0,z.useState)([]),[ea,el]=(0,z.useState)(""),[es,eo]=(0,z.useState)([]),[en,ei]=(0,z.useState)(""),[ed,ec]=(0,z.useState)(!1),[ex,eg]=(0,z.useState)(null),[em,eu]=(0,z.useState)([]),{token:eh}=S.A.useToken(),[ep,eb]=(0,z.useState)(null),[ef,ey]=(0,z.useState)([]),[ev,ej]=(0,z.useState)([]),ek=e=>{var t,r;let{skill:l,onRemove:s}=e,[o,n]=(0,z.useState)(!1);return(0,a.jsx)(L.A,{content:(0,a.jsxs)("div",{className:"w-[200px] p-2",children:[(0,a.jsx)("div",{className:"font-medium text-sm mb-1 truncate",children:l.name}),l.description&&(0,a.jsx)("div",{className:"text-xs text-gray-500 mb-2 line-clamp-2",children:l.description}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-[10px] text-gray-400",children:[l.author&&(0,a.jsx)("span",{children:l.author}),l.version&&(0,a.jsxs)("span",{children:["v",l.version]})]}),(0,a.jsx)("button",{onClick:e=>{e.stopPropagation(),s()},className:"text-xs text-red-400 hover:text-red-500",children:"移除"})]})]}),placement:"top",trigger:"hover",mouseEnterDelay:.2,children:(0,a.jsx)("div",{className:F()("h-7 w-7 rounded-full flex items-center justify-center cursor-pointer transition-all duration-200","border shadow-sm flex-shrink-0",o?"bg-red-500 border-red-600 shadow-red-200":"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-600 hover:border-blue-400 dark:hover:border-blue-500 hover:shadow-blue-100"),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),onClick:e=>{e.stopPropagation(),o&&s()},children:o?(0,a.jsx)("svg",{className:"w-3.5 h-3.5 text-white",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})}):l.icon?(0,a.jsx)("img",{src:l.icon,alt:l.name,className:"w-4 h-4 rounded-full object-cover"}):(0,a.jsx)("div",{className:"w-4 h-4 rounded-full bg-gradient-to-br from-blue-400 to-indigo-500 flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-white text-[9px] font-bold",children:(null==(r=l.name)||null==(t=r.charAt(0))?void 0:t.toUpperCase())||"S"})})})})},eN=(0,z.useMemo)(()=>{let e={},t=[];return es.filter(e=>"llm"===e.worker_type&&e.model_name.toLowerCase().includes(en.toLowerCase())).forEach(r=>{let a="Other";r.host&&r.host.startsWith("proxy@")?a=(a=r.host.replace("proxy@","")).charAt(0).toUpperCase()+a.slice(1):r.host&&"127.0.0.1"!==r.host&&"localhost"!==r.host&&(a=r.host),a&&"Other"!==a?(e[a]||(e[a]=[]),e[a].push(r.model_name)):t.push(r.model_name)}),{groups:e,otherModels:t}},[es,en]),ew=(0,z.useMemo)(()=>["AgentLLM",...Object.keys(eN.groups)],[eN.groups]),eA=(0,z.useMemo)(()=>(0,a.jsxs)("div",{className:"w-80 flex flex-col h-[400px]",children:[(0,a.jsxs)("div",{className:"p-3 border-b border-gray-100 dark:border-gray-700 flex items-center gap-2 flex-shrink-0",children:[(0,a.jsx)(M.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:t("search_model","Search Model"),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md flex-1",value:en,onChange:e=>ei(e.target.value)}),(0,a.jsx)("button",{className:"p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",children:(0,a.jsx)(i.A,{className:"text-sm"})}),(0,a.jsx)("button",{className:"p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",children:(0,a.jsx)(d.A,{className:"text-sm"})})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto py-2 px-2",children:[Object.entries(eN.groups).length>0&&(0,a.jsx)(C.A,{ghost:!0,defaultActiveKey:ew,expandIcon:e=>{let{isActive:t}=e;return(0,a.jsx)(c.A,{rotate:90*!!t,className:"text-xs text-gray-400"})},className:"[&_.ant-collapse-header]:!p-2 [&_.ant-collapse-content-box]:!p-0",children:Object.entries(eN.groups).map(e=>{let[t,r]=e;return(0,a.jsx)(X,{header:(0,a.jsx)("span",{className:"text-xs font-medium text-gray-500",children:t}),children:r.map(e=>(0,a.jsxs)("div",{className:F()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",ea===e?"bg-gray-50 dark:bg-gray-800":""),onClick:()=>{el(e),ec(!1)},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,a.jsx)(O.A,{model:e,width:16,height:16}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),ea===e&&(0,a.jsx)(x.A,{className:"text-blue-500 flex-shrink-0"})]},e))},t)})}),eN.otherModels.length>0&&(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsx)("div",{className:"px-2 py-1 text-xs font-medium text-gray-500",children:t("other_models","Other Models")}),eN.otherModels.map(e=>(0,a.jsxs)("div",{className:F()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",ea===e?"bg-gray-50 dark:bg-gray-800":""),onClick:()=>{el(e),ec(!1)},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,a.jsx)(O.A,{model:e,width:16,height:16}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),ea===e&&(0,a.jsx)(x.A,{className:"text-blue-500 flex-shrink-0"})]},e))]}),0===Object.keys(eN.groups).length&&0===eN.otherModels.length&&(0,a.jsx)("div",{className:"px-3 py-8 text-center text-gray-400 text-xs",children:t("no_models_found","No models found")})]})]}),[eN,ea,en,t]);(0,z.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("app_code");if(e&&et.length>0){let t=et.find(t=>t.app_code===e);t&&q(t)}},[et]);let{run:e_}=(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.eHG)({page:1,page_size:100,published:!0}));return t},{onSuccess:e=>{(null==e?void 0:e.app_list)&&(er(e.app_list),q(e.app_list.find(e=>"chat_normal"===e.app_code)||e.app_list[0]))}});(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.Gky)({filter:""},{page:"1",page_size:"5"}));return t},{onSuccess:e=>{(null==e?void 0:e.items)&&Array.isArray(e.items)&&ey(e.items.slice(0,2))}}),(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.ZEj)("local"));return t},{onSuccess:e=>{Array.isArray(e)&&e.length>0&&ej(e.slice(0,2))}});let eC=(e,t)=>{var r,a,l,s,o;if(!e)return"";let n=null==(a=e.llm_config)||null==(r=a.llm_strategy_value)?void 0:r[0];if(n&&t.some(e=>e.model_name===n&&"llm"===e.worker_type))return n;let i=null==(l=e.details)?void 0:l.find(e=>e.llm_strategy_value);if((null==i?void 0:i.llm_strategy_value)&&t.some(e=>e.model_name===i.llm_strategy_value&&"llm"===e.worker_type))return i.llm_strategy_value;let d=null==(o=e.layout)||null==(s=o.chat_in_layout)?void 0:s.find(e=>"model"===e.param_type);return(null==d?void 0:d.param_default_value)&&t.some(e=>e.model_name===d.param_default_value&&"llm"===e.worker_type)?d.param_default_value:""};(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.O68)());return t||[]},{onSuccess:e=>{if(e&&e.length>0){let t=e.filter(e=>"llm"===e.worker_type);eo(t);let r=eC(ep,t);if(r)el(r);else{let e=t.map(e=>e.model_name);el(e.find(e=>e.includes("gpt-3.5")||e.includes("gpt-4"))||e[0])}}}}),(0,z.useEffect)(()=>{(null==$?void 0:$.app_code)&&(async()=>{let[e,t]=await (0,l.VbY)((0,l.Y6h)({app_code:$.app_code}));if(t&&(eb(t),es.length>0)){let e=eC(t,es.filter(e=>"llm"===e.worker_type));e&&el(e)}})()},[null==$?void 0:$.app_code]),(0,z.useEffect)(()=>{r.length>1e3&&null===ex&&(eg(-1),Y(e=>{let t=e.length,a=new Date().toISOString().replace(/[:.]/g,"-"),l=new File([new Blob(["# 对话输入内容\n\n生成时间: ".concat(new Date().toLocaleString(),"\n\n字符数: ").concat(r.length,"\n\n---\n\n").concat(r)],{type:"text/markdown"})],"input-".concat(a,".md"),{type:"text/markdown"});return setTimeout(()=>eg(t),0),[...e,l]}),o(""))},[r,ex]);let eS=async()=>{if(!r.trim()&&0===U.length)return;let t=(null==$?void 0:$.app_code)||"chat_normal",[,a]=await (0,l.VbY)((0,l.j_h)({app_code:t,model:ea}));if(a){let o=[];if(U.length>0)for(let e of U){let r=new FormData;r.append("doc_files",e);let[s,n]=await (0,l.VbY)((0,l.o0$)({convUid:a.conv_uid,chatMode:t,data:r,model:ea,config:{timeout:36e5}}));n&&o.push(n)}localStorage.setItem(s.yx,JSON.stringify({id:a.conv_uid,message:r,resources:o.length>0?o:void 0,model:ea,skills:K.length>0?K:void 0,mcps:H.length>0?H:void 0})),e.push("/chat/?app_code=".concat(t,"&conv_uid=").concat(a.conv_uid))}o(""),Y([]),eg(null)},eL=e=>{let{icon:t,text:r,bgColor:l="bg-gray-100",iconColor:s="text-gray-600",isOutline:o=!1,onClick:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2 cursor-pointer group",onClick:n,children:[(0,a.jsx)("div",{className:F()("w-14 h-14 rounded-full flex items-center justify-center transition-all duration-200 group-hover:scale-110 group-hover:shadow-lg",o?"bg-white dark:bg-[#232734] border-2 border-dashed border-gray-300 dark:border-gray-600":l),children:(0,a.jsx)("span",{className:F()("text-xl",s),children:t})}),(0,a.jsx)("span",{className:"text-xs text-gray-600 dark:text-gray-400 text-center max-w-[80px] leading-tight group-hover:text-gray-900 dark:group-hover:text-gray-200 transition-colors",children:r})]})},eM=e=>{G(e),T(!0)},eV=(0,z.useCallback)(e=>{J(e)},[]),eD=(0,z.useCallback)(e=>{J(t=>t.filter(t=>t.skill_code!==e))},[]),eI=(0,z.useMemo)(()=>({items:et.map(e=>({key:e.app_code,label:(0,a.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>q(e),children:[(0,a.jsx)("span",{className:"text-base",children:e.icon?(0,a.jsx)("img",{src:e.icon,className:"w-4 h-4"}):"\uD83E\uDD16"}),(0,a.jsx)("span",{children:e.app_name})]})}))}),[et]),eO=(0,z.useMemo)(()=>(0,a.jsxs)("div",{className:"flex flex-col gap-1 w-52 p-1",children:[ef.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-gray-400 font-medium",children:"推荐技能"}),ef.slice(0,1).map(e=>{let t=K.some(t=>t.skill_code===e.skill_code);return(0,a.jsxs)("div",{className:F()("flex items-center justify-between gap-3 px-3 py-2 rounded-lg cursor-pointer transition-colors",t?"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 text-blue-700 dark:text-blue-300":"hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-700 dark:text-gray-200"),onClick:()=>{t?eV(K.filter(t=>t.skill_code!==e.skill_code)):eV([...K,e])},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[e.icon?(0,a.jsx)("img",{src:e.icon,className:"w-4 h-4 flex-shrink-0"}):(0,a.jsx)("span",{className:F()("text-sm font-semibold w-4 h-4 flex items-center justify-center flex-shrink-0",t?"text-blue-500":""),children:e.name?e.name.charAt(0).toUpperCase():"S"}),(0,a.jsx)("span",{className:"text-sm truncate",children:e.name})]}),t&&(0,a.jsx)(x.A,{className:"text-blue-500 text-sm flex-shrink-0"})]},e.skill_code)})]}),ev.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-gray-400 font-medium mt-1",children:"推荐工具"}),ev.slice(0,1).map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors text-gray-700 dark:text-gray-200",onClick:()=>{eM("local")},children:[(0,a.jsx)(g.A,{className:"text-lg"}),(0,a.jsx)("span",{className:"text-sm truncate",children:e.tool_name})]},e.tool_id))]}),(0,a.jsx)("div",{className:"h-[1px] bg-gray-100 dark:bg-gray-800 my-1 mx-2"}),(0,a.jsxs)("div",{className:"flex items-center gap-3 px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors text-gray-700 dark:text-gray-200",onClick:()=>eM("skill"),children:[(0,a.jsx)(m.A,{className:"text-lg"}),(0,a.jsx)("span",{className:"text-sm",children:"更多"})]})]}),[ef,ev,K,eV]);return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-[#FAFAFA] dark:bg-[#111] overflow-y-auto relative",children:[(0,a.jsx)("div",{className:"flex justify-end items-center px-8 py-6 w-full absolute top-0 left-0 z-10",children:(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-white dark:bg-[#232734] flex items-center justify-center shadow-sm cursor-pointer hover:shadow-md transition-shadow",children:(0,a.jsx)(V.A,{dot:!0,offset:[-2,2],children:(0,a.jsx)("span",{className:"text-lg",children:"\uD83D\uDD14"})})})})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center w-full max-w-5xl mx-auto px-4 mt-10",children:[(0,a.jsxs)("div",{className:"text-center mb-8 -translate-y-[10px]",children:[(0,a.jsxs)("h1",{className:"text-4xl font-medium text-gray-900 dark:text-gray-100 tracking-tight mb-3",children:[(0,a.jsx)("span",{className:"mr-2",children:"\uD83D\uDE80"}),"You Command, We",(0,a.jsx)("span",{className:"text-orange-500 ml-2",children:"Defend."})]}),(0,a.jsx)("p",{className:"text-gray-500 dark:text-gray-400 text-base",children:"OpenDeRisk—AI原生风险智能系统,为每个应用系统提供一个7*24H的AI系统数字管家"})]}),(0,a.jsx)("div",{className:F()("w-full max-w-4xl bg-white dark:bg-[#232734] rounded-[24px] shadow-sm hover:shadow-md transition-all duration-300 border",_?"border-blue-500/50 shadow-lg ring-4 ring-blue-500/5":"border-gray-200 dark:border-gray-800"),onDragOver:e=>{e.preventDefault(),P(!0)},onDragLeave:e=>{e.preventDefault(),P(!1)},onDrop:e=>{e.preventDefault(),P(!1);let t=Array.from(e.dataTransfer.files);t.length>0&&Y(e=>[...e,...t])},children:(0,a.jsxs)("div",{className:"p-4",children:[U.length>0&&(0,a.jsx)("div",{className:"flex gap-3 px-1 pb-3 overflow-x-auto scrollbar-hide",children:U.map((e,t)=>(0,a.jsx)(ee,{file:e,isAutoGenerated:t===ex,onRemove:()=>{let e=[...U];e.splice(t,1),Y(e),t===ex&&eg(null)}},t+e.name))}),(0,a.jsx)(M.A.TextArea,{placeholder:"分配一个任务或提问任何问题",className:"!text-lg !bg-transparent !border-0 !resize-none placeholder:!text-gray-400 !text-gray-800 dark:!text-gray-200 !shadow-none !p-2 mb-4",autoSize:{minRows:2,maxRows:20},value:r,onChange:e=>o(e.target.value),onFocus:()=>P(!0),onBlur:()=>P(!1),onPaste:e=>{var t;let r=null==(t=e.clipboardData)?void 0:t.items,a=!1;if(r)for(let e=0;e[...t,e]),a=!0)}}a&&e.preventDefault()},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),eS())}}),(0,a.jsxs)("div",{className:"flex items-center justify-between px-2 pb-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(L.A,{content:eO,trigger:"click",placement:"topLeft",overlayClassName:"!p-0",children:(0,a.jsx)("button",{className:"h-7 w-7 rounded-full flex items-center justify-center border border-gray-200 dark:border-gray-700 text-gray-500 hover:text-blue-500 hover:border-blue-300 dark:hover:border-blue-600 transition-all hover:bg-blue-50 dark:hover:bg-blue-900/20",children:(0,a.jsx)(i.A,{className:"text-sm"})})}),(0,a.jsx)(()=>0===K.length?null:(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[K.slice(0,3).map(e=>(0,a.jsx)(ek,{skill:e,onRemove:()=>eD(e.skill_code)},e.skill_code)),K.length>3&&(0,a.jsx)(L.A,{content:(0,a.jsxs)("div",{className:"w-[200px] max-h-[200px] overflow-y-auto",children:[(0,a.jsxs)("div",{className:"text-xs text-gray-500 mb-2",children:["已选择 ",K.length," 个技能"]}),K.slice(3).map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between py-1",children:[(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e.name}),(0,a.jsx)("button",{onClick:()=>eD(e.skill_code),className:"text-xs text-red-400 hover:text-red-500",children:"移除"})]},e.skill_code))]}),placement:"top",trigger:"hover",children:(0,a.jsx)("div",{className:"h-7 w-7 rounded-full bg-gray-100 dark:bg-gray-700 border border-dashed border-gray-300 dark:border-gray-500 flex items-center justify-center cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors",children:(0,a.jsxs)("span",{className:"text-[10px] text-gray-500 dark:text-gray-400 font-medium",children:["+",K.length-3]})})})]}),{}),(0,a.jsx)(D.A,{menu:eI,trigger:["click"],placement:"bottomLeft",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800/50 px-3 py-1.5 rounded-full border border-gray-100 dark:border-gray-700/50 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:[(0,a.jsx)("span",{className:"text-base",children:(null==$?void 0:$.icon)?(0,a.jsx)("img",{src:$.icon,className:"w-4 h-4"}):"\uD83E\uDD16"}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300 font-medium max-w-[100px] truncate",children:(null==$?void 0:$.app_name)||t("select_app","Select App")}),(0,a.jsx)(u.A,{className:"text-xs text-gray-400"})]})}),(0,a.jsx)("div",{className:"w-4"}),(0,a.jsx)(L.A,{content:eA,trigger:"click",placement:"topLeft",open:ed,onOpenChange:ec,arrow:!1,overlayClassName:"[&_.ant-popover-inner]:!p-0 [&_.ant-popover-inner]:!rounded-lg [&_.ant-popover-inner]:!shadow-lg",zIndex:1e3,children:(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800/50 px-3 py-1.5 rounded-full border border-gray-100 dark:border-gray-700/50 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors group",children:[(0,a.jsx)(O.A,{model:ea,width:18,height:18}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-200 max-w-[120px] truncate group-hover:text-blue-500 transition-colors",children:ea||t("select_model","Select Model")}),(0,a.jsx)(u.A,{className:"text-xs text-gray-400 group-hover:text-blue-500 transition-colors"})]})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(I.A,{...{onRemove:e=>{let t=U.indexOf(e),r=U.slice();r.splice(t,1),Y(r)},beforeUpload:e=>(Y([...U,e]),!1),fileList:U},showUploadList:!1,children:(0,a.jsx)("button",{className:"h-7 w-7 rounded-full flex items-center justify-center border border-gray-200 dark:border-gray-700 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-all hover:bg-gray-100 dark:hover:bg-gray-800",children:(0,a.jsx)(h.A,{className:"text-sm"})})}),(0,a.jsx)("button",{className:F()("h-8 w-8 rounded-full flex items-center justify-center transition-all",r.trim()||U.length>0?"bg-gradient-to-r from-blue-500 to-indigo-500 hover:from-blue-600 hover:to-indigo-600 text-white shadow-md hover:shadow-lg":"bg-gray-100 text-gray-400 border-none dark:bg-gray-800 dark:text-gray-600"),onClick:eS,disabled:!r.trim()&&0===U.length,children:(0,a.jsx)(p.A,{className:"text-sm"})})]})]})]})}),(0,a.jsxs)("div",{className:"flex flex-wrap justify-center gap-10 mt-10 max-w-4xl translate-y-[10px]",children:[(0,a.jsx)(eL,{icon:(0,a.jsx)(b.A,{}),text:"AI应用健康",bgColor:"bg-gradient-to-br from-blue-400 to-blue-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(f.A,{}),text:"AI代码风险",bgColor:"bg-gradient-to-br from-orange-400 to-amber-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(y.A,{}),text:"AI基础设施",bgColor:"bg-gradient-to-br from-red-400 to-red-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(v.A,{}),text:"AI变更风险",bgColor:"bg-gradient-to-br from-emerald-400 to-green-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(j.A,{}),text:"AI存储容量",bgColor:"bg-gradient-to-br from-teal-400 to-cyan-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(k.A,{}),text:"AI应急风险",bgColor:"bg-gradient-to-br from-orange-500 to-red-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(N.A,{}),text:"AI环境风险",bgColor:"bg-gradient-to-br from-slate-400 to-gray-500",iconColor:"text-white"}),(0,a.jsx)(eL,{icon:(0,a.jsx)(w.A,{}),text:"自定义智能体",isOutline:!0,iconColor:"text-gray-400 dark:text-gray-500",onClick:()=>e.push("/application/app")})]})]}),(0,a.jsx)(Q,{open:B,onCancel:()=>T(!1),defaultTab:W,selectedSkills:K,onSkillsChange:eV})]})}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-cd747481c7ce89c8.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-cd747481c7ce89c8.js deleted file mode 100644 index 4053a252..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6779-cd747481c7ce89c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6779],{86779:(e,t,r)=>{r.d(t,{A:()=>et});var a=r(95155),l=r(67773),s=r(50482),o=r(93192),n=r(3377),i=r(44261),d=r(92611),c=r(32429),x=r(45163),g=r(81064),m=r(50747),u=r(66709),h=r(85875),p=r(75121),f=r(9622),b=r(44213),y=r(30535),v=r(15742),j=r(44407),k=r(56450),N=r(68287),w=r(87344),A=r(54099),_=r(90797),C=r(5813),S=r(70445),L=r(56200),M=r(37974),V=r(73775),D=r(98696),I=r(85),O=r(19696),z=r(7187),P=r(24646),F=r(29300),E=r.n(F),R=r(35695),U=r(12115),Y=r(91218),B=r(25702),T=r(21103),W=r(28562),G=r(16467),K=r(96194),J=r(23512),H=r(8365);let{Paragraph:Z}=_.A,Q=e=>{let{open:t,onCancel:r,defaultTab:s="skill",selectedSkills:o=[],onSkillsChange:i,selectedMcps:d=[],onMcpsChange:c}=e,{t:u}=(0,Y.Bd)(),[h,p]=(0,U.useState)(s),[f,b]=(0,U.useState)([]),[y,v]=(0,U.useState)(""),[j,k]=(0,U.useState)([]),[N,w]=(0,U.useState)(""),[_,C]=(0,U.useState)([]),[S,L]=(0,U.useState)("");(0,U.useEffect)(()=>{t&&p(s)},[t,s]),(0,U.useEffect)(()=>{b(o.map(e=>e.skill_code))},[o]),(0,U.useEffect)(()=>{k(d.map(e=>e.id||e.uuid||e.name||"").filter(e=>""!==e))},[d]);let{data:I=[],loading:O}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.NQM)({filter:""},{page:"1",page_size:"100"}));return(null==e?void 0:e.items)||[]}),{data:z=[],loading:P}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.Gky)({filter:y},{page:"1",page_size:"100"}));return(null==e?void 0:e.items)||[]},{refreshDeps:[y]}),{data:F=[]}=(0,A.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.ZEj)("local"));return e||[]}),E=z.filter(e=>{var t,r;if(!y)return!0;let a=y.toLowerCase();return(null==(t=e.name)?void 0:t.toLowerCase().includes(a))||(null==(r=e.description)?void 0:r.toLowerCase().includes(a))}),R=I.filter(e=>{var t,r;if(!N)return!0;let a=N.toLowerCase();return(null==(t=e.name)?void 0:t.toLowerCase().includes(a))||(null==(r=e.description)?void 0:r.toLowerCase().includes(a))}),Q=F.filter(e=>{if(!S)return!0;let t=S.toLowerCase(),r=e.tool_name||"",a="";if(e.config)try{let t=JSON.parse(e.config);a=t.description||t.desc||""}catch(e){}return r.toLowerCase().includes(t)||a.toLowerCase().includes(t)}),$=e=>{let t=f.includes(e.skill_code)?f.filter(t=>t!==e.skill_code):[...f,e.skill_code];b(t),i&&i(z.filter(e=>t.includes(e.skill_code)))},q=e=>{let t=e.id||e.uuid||e.name,r=j.includes(t||"")?j.filter(e=>e!==t):[...j,t||""];k(r),c&&c(I.filter(e=>{let t=e.id||e.uuid||e.name||"";return r.includes(t)}))},X=e=>{let t=e.tool_id;C(_.includes(t)?_.filter(e=>e!==t):[..._,t])},ee=(e,t)=>{let r=!1;if("skill"===t)r=f.includes(e.skill_code);else if("mcp"===t){let t=e.id||e.uuid||e.name;r=j.includes(t||"")}else if("local"===t){let t=e.tool_id;r=_.includes(t)}let l="blue";return"skill"===t?l="blue":"mcp"===t?l="green":"local"===t&&(l="orange"),(0,a.jsx)(B.A.Item,{className:"\n cursor-pointer rounded-lg transition-colors px-4 py-3 border-b-0 mb-1\n ".concat(r?"bg-".concat(l,"-50 dark:bg-").concat(l,"-900/20 border border-").concat(l,"-200 dark:border-").concat(l,"-800"):"hover:bg-gray-50 dark:hover:bg-gray-800/50 border border-transparent","\n "),onClick:()=>{"skill"===t?$(e):"mcp"===t?q(e):"local"===t&&X(e)},actions:"local"!==t&&"mcp"!==t?[(0,a.jsx)(T.A,{checked:r,onChange:()=>"skill"===t?$(e):"mcp"===t?q(e):X(e),onClick:e=>e.stopPropagation(),className:"text-gray-400 hover:text-blue-500"},"checkbox")]:[(0,a.jsx)(T.A,{checked:r,onChange:()=>"mcp"===t?q(e):X(e),onClick:e=>e.stopPropagation(),className:"text-gray-400 hover:text-blue-500"},"checkbox")],children:(0,a.jsx)(B.A.Item.Meta,{avatar:(0,a.jsx)(W.A,{shape:"circle",size:48,src:e.icon,icon:!e.icon&&("mcp"===t?(0,a.jsx)(m.A,{}):"local"===t?(0,a.jsx)(g.A,{}):void 0),className:"\n bg-white dark:bg-gray-800 border-2\n ".concat(r?"border-".concat(l,"-500 text-").concat(l,"-500"):"border-gray-200 dark:border-gray-700 text-gray-500","\n "),style:e.icon||"skill"!==t?void 0:{fontSize:"20px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center"},children:!e.icon&&"skill"===t&&(e.name?e.name.charAt(0).toUpperCase():"S")}),title:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-base ".concat(r?"text-".concat(l,"-600 dark:text-").concat(l,"-400"):"text-gray-900 dark:text-gray-100"),children:"local"===t?e.tool_name:e.name}),r&&(0,a.jsx)(x.A,{className:"text-".concat(l,"-500 text-sm")}),"mcp"===t&&e.available&&(0,a.jsx)(M.A,{color:"success",className:"mr-0 rounded-full px-2 scale-75 origin-left",children:"Active"}),"skill"===t&&e.type&&(0,a.jsx)(M.A,{color:r?l:"default",className:"mr-0 rounded-full px-2 scale-75 origin-left",children:e.type})]}),description:(0,a.jsxs)("div",{children:[(0,a.jsx)(Z,{ellipsis:{rows:2},className:"!mb-0 text-xs mt-1 ".concat(r?"text-gray-600 dark:text-gray-400":"text-gray-500 dark:text-gray-400"),children:"local"===t?(()=>{try{let t=JSON.parse(e.config||"{}");return t.description||t.desc||""}catch(e){return""}})():e.description}),"skill"===t&&e.author&&(0,a.jsxs)("div",{className:"text-[10px] text-gray-400 dark:text-gray-500 mt-1",children:["By ",e.author," ",e.version&&"\xb7 v".concat(e.version),e.repo_url&&(0,a.jsx)("span",{className:"ml-1",children:"\xb7 Git"})]})]})})})},et=[{key:"skill",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(H.A,{}),u("Skills",{defaultValue:"Skills"}),f.length>0&&(0,a.jsx)(M.A,{color:"blue",className:"rounded-full px-1.5 scale-75 origin-left",children:f.length})]}),children:(0,a.jsx)(G.A,{spinning:P,children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(V.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search skills...",{defaultValue:"Search skills..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:y,onChange:e=>v(e.target.value),allowClear:!0})}),(0,a.jsx)(B.A,{itemLayout:"horizontal",dataSource:E,renderItem:e=>ee(e,"skill"),className:"flex-1 overflow-y-auto px-2"}),0===E.length&&!P&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:y?u("No skills found",{defaultValue:"No skills found"}):u("No skills available",{defaultValue:"No skills available"})})]})})},{key:"local",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(g.A,{}),u("Local Tools",{defaultValue:"Local Tools"}),_.length>0&&(0,a.jsx)(M.A,{color:"orange",className:"rounded-full px-1.5 scale-75 origin-left",children:_.length})]}),children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(V.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search tools...",{defaultValue:"Search tools..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:S,onChange:e=>L(e.target.value),allowClear:!0})}),(0,a.jsx)(B.A,{itemLayout:"horizontal",dataSource:Q,renderItem:e=>ee(e,"local"),className:"flex-1 overflow-y-auto px-2"}),0===Q.length&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:S?u("No tools found",{defaultValue:"No tools found"}):u("No tools available",{defaultValue:"No tools available"})})]})},{key:"mcp",label:(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2",children:[(0,a.jsx)(m.A,{}),u("MCP Servers",{defaultValue:"MCP Servers"}),j.length>0&&(0,a.jsx)(M.A,{color:"green",className:"rounded-full px-1.5 scale-75 origin-left",children:j.length})]}),children:(0,a.jsx)(G.A,{spinning:O,children:(0,a.jsxs)("div",{className:"flex flex-col h-[500px]",children:[(0,a.jsx)("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-800",children:(0,a.jsx)(V.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:u("Search MCP servers...",{defaultValue:"Search MCP servers..."}),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md",value:N,onChange:e=>w(e.target.value),allowClear:!0})}),(0,a.jsx)(B.A,{itemLayout:"horizontal",dataSource:R,renderItem:e=>ee(e,"mcp"),className:"flex-1 overflow-y-auto px-2"}),0===R.length&&!O&&(0,a.jsx)("div",{className:"flex items-center justify-center py-12 text-gray-400 text-sm",children:N?u("No MCP servers found",{defaultValue:"No MCP servers found"}):u("No MCP servers available",{defaultValue:"No MCP servers available"})})]})})}];return(0,a.jsx)(K.A,{title:(0,a.jsx)("div",{className:"text-lg font-semibold px-2 pt-2",children:u("Connectors & Tools",{defaultValue:"Connectors & Tools"})}),open:t,onCancel:r,footer:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"text-sm text-gray-500",children:[u("Selected",{defaultValue:"Selected"}),": ","skill"===h?f.length:"mcp"===h?j.length:_.length]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(D.Ay,{onClick:r,children:u("Cancel",{defaultValue:"Cancel"})}),(0,a.jsx)(D.Ay,{type:"primary",onClick:()=>{i&&i(z.filter(e=>f.includes(e.skill_code))),c&&c(I.filter(e=>{let t=e.id||e.uuid||e.name||"";return j.includes(t)})),r()},className:"bg-black hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200",children:u("Apply",{defaultValue:"Apply"})})]})]}),width:720,className:"rounded-2xl overflow-hidden",styles:{body:{padding:"0"},footer:{padding:"16px 24px",borderTop:"1px solid #f0f0f0"}},centered:!0,children:(0,a.jsx)("div",{className:"flex flex-col h-full bg-white dark:bg-[#1f1f1f]",children:(0,a.jsx)(J.A,{activeKey:h,onChange:p,items:et,tabBarStyle:{padding:"0 24px",marginBottom:16},className:"custom-tabs pt-2"})})})},{Title:$,Text:q}=_.A,{Panel:X}=C.A,ee=e=>{let{file:t,onRemove:r,isAutoGenerated:l}=e,[s,n]=(0,U.useState)("");(0,U.useEffect)(()=>{if(t.type.startsWith("image/")){let e=URL.createObjectURL(t);return n(e),()=>URL.revokeObjectURL(e)}},[t]);let i=t.name.endsWith(".md")||"text/markdown"===t.type;return(0,a.jsxs)("div",{className:"relative group flex-shrink-0",children:[t.type.startsWith("image/")?(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,a.jsx)("img",{src:s,alt:t.name,className:"w-full h-full object-cover"})}):i?(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg border border-blue-200 dark:border-blue-800 bg-blue-50/50 dark:bg-blue-900/20 hover:bg-blue-50 dark:hover:bg-blue-900/30 transition-colors",children:[(0,a.jsxs)("div",{className:"w-8 h-10 rounded bg-white dark:bg-gray-800 shadow-sm border border-gray-200 dark:border-gray-700 flex flex-col items-center justify-center relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 w-3 h-3 bg-blue-500",style:{clipPath:"polygon(100% 0, 0 0, 100% 100%)"}}),(0,a.jsx)(o.A,{className:"text-blue-500 text-lg"}),(0,a.jsx)("span",{className:"text-[8px] text-blue-600 dark:text-blue-400 font-medium mt-0.5",children:"MD"})]}),(0,a.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-gray-700 dark:text-gray-300 truncate max-w-[120px]",children:l?"输入内容":t.name}),(0,a.jsxs)("span",{className:"text-[10px] text-gray-400",children:[(t.size/1024).toFixed(1)," KB \xb7 Markdown"]})]}),(0,a.jsx)("button",{className:"ml-1 p-1 rounded-full hover:bg-red-100 dark:hover:bg-red-900/30 text-gray-400 hover:text-red-500 transition-colors",onClick:e=>{e.stopPropagation(),r()},children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})})]}):(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg border border-gray-100 dark:border-gray-700 overflow-hidden bg-white dark:bg-[#1F1F1F]",children:(0,a.jsxs)("div",{className:"w-full h-full flex flex-col items-center justify-center bg-gray-50 dark:bg-gray-800 gap-1",children:[(0,a.jsx)(o.A,{className:"text-gray-400 text-xl"}),(0,a.jsx)("span",{className:"text-[10px] text-gray-400 truncate w-full text-center px-1",children:t.name})]})}),!i&&(0,a.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-black/50 hover:bg-red-500 rounded-full flex items-center justify-center cursor-pointer transition-all opacity-0 group-hover:opacity-100 backdrop-blur-sm",onClick:e=>{e.stopPropagation(),r()},children:(0,a.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})})})]})};function et(){let e=(0,R.useRouter)(),{t}=(0,Y.Bd)(),[r,o]=(0,U.useState)(""),[_,F]=(0,U.useState)(!1),[B,T]=(0,U.useState)([]),[W,G]=(0,U.useState)(!1),[K,J]=(0,U.useState)("skill"),[H,Z]=(0,U.useState)([]),[$,et]=(0,U.useState)([]),[er,ea]=(0,U.useState)(null),[el,es]=(0,U.useState)([]),[eo,en]=(0,U.useState)(""),[ei,ed]=(0,U.useState)([]),[ec,ex]=(0,U.useState)(""),[eg,em]=(0,U.useState)(!1),[eu,eh]=(0,U.useState)(null),[ep,ef]=(0,U.useState)([]),{token:eb}=S.A.useToken(),[ey,ev]=(0,U.useState)(null),[ej,ek]=(0,U.useState)([]),[eN,ew]=(0,U.useState)([]),eA=e=>{let{skill:t,onRemove:r}=e,[l,s]=(0,U.useState)(!1),[o,n]=(0,U.useState)(!1);return(0,a.jsx)(L.A,{content:(0,a.jsxs)("div",{className:"w-[280px] p-3",children:[(0,a.jsx)("div",{className:"font-medium text-sm mb-2 break-words",children:t.name}),(0,a.jsx)("div",{className:"text-xs text-gray-500 mb-3 break-words leading-5",children:t.description}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[t.author&&(0,a.jsx)("div",{className:"text-[10px] text-gray-400 mr-2",children:t.author}),t.version&&(0,a.jsxs)("div",{className:"text-[10px] text-gray-400",children:["v",t.version]})]}),t.type&&(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)(M.A,{color:"blue",className:"text-xs",children:t.type})})]}),placement:"top",trigger:"hover",onOpenChange:e=>{e||n(!1)},children:(0,a.jsx)("div",{className:E()("relative w-10 h-10 rounded-full flex items-center justify-center cursor-pointer transition-all duration-200","border-2 shadow-sm",o?"bg-red-500 border-red-600 hover:bg-red-600":"bg-white dark:bg-[#1f1f1f] border-gray-200 dark:border-gray-700 hover:border-blue-400 dark:hover:border-blue-500"),onMouseEnter:()=>{s(!0),n(!0)},onMouseLeave:e=>{e.stopPropagation(),s(!1),setTimeout(()=>{l||n(!1)},100)},onClick:e=>{e.stopPropagation(),o&&r()},children:o?(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"w-5 h-5",children:(0,a.jsx)("path",{d:"M18 6L6 18M6 6l12 12"})}):t.icon?(0,a.jsx)("img",{src:t.icon,alt:t.name,className:"w-6 h-6 object-contain"}):(0,a.jsx)("span",{className:"text-blue-500 text-lg font-semibold",children:t.name?t.name.charAt(0).toUpperCase():"S"})})})},e_=(0,U.useMemo)(()=>{let e={},t=[];return ei.filter(e=>"llm"===e.worker_type&&e.model_name.toLowerCase().includes(ec.toLowerCase())).forEach(r=>{let a="Other";r.host&&r.host.startsWith("proxy@")?a=(a=r.host.replace("proxy@","")).charAt(0).toUpperCase()+a.slice(1):r.host&&"127.0.0.1"!==r.host&&"localhost"!==r.host&&(a=r.host),a&&"Other"!==a?(e[a]||(e[a]=[]),e[a].push(r.model_name)):t.push(r.model_name)}),{groups:e,otherModels:t}},[ei,ec]),eC=(0,a.jsxs)("div",{className:"w-80 flex flex-col h-[400px]",children:[(0,a.jsxs)("div",{className:"p-3 border-b border-gray-100 dark:border-gray-700 flex items-center gap-2 flex-shrink-0",children:[(0,a.jsx)(V.A,{prefix:(0,a.jsx)(n.A,{className:"text-gray-400"}),placeholder:t("search_model","Search Model"),bordered:!1,className:"!bg-gray-50 dark:!bg-gray-800 rounded-md flex-1",value:ec,onChange:e=>ex(e.target.value)}),(0,a.jsx)(D.Ay,{type:"text",icon:(0,a.jsx)(i.A,{}),size:"small",className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-300"}),(0,a.jsx)(D.Ay,{type:"text",icon:(0,a.jsx)(d.A,{}),size:"small",className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-300"})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto py-2 px-2",children:[Object.entries(e_.groups).length>0&&(0,a.jsx)(C.A,{ghost:!0,defaultActiveKey:["AgentLLM",...Object.keys(e_.groups)],expandIcon:e=>{let{isActive:t}=e;return(0,a.jsx)(c.A,{rotate:90*!!t,className:"text-xs text-gray-400"})},className:"[&_.ant-collapse-header]:!p-2 [&_.ant-collapse-content-box]:!p-0",children:Object.entries(e_.groups).map(e=>{let[t,r]=e;return(0,a.jsx)(X,{header:(0,a.jsx)("span",{className:"text-xs font-medium text-gray-500",children:t}),children:r.map(e=>(0,a.jsxs)("div",{className:E()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eo===e?"bg-gray-50 dark:bg-gray-800":""),onClick:()=>{en(e),em(!1)},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,a.jsx)(P.A,{model:e,width:16,height:16}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eo===e&&(0,a.jsx)(x.A,{className:"text-blue-500 flex-shrink-0"})]},e))},t)})}),e_.otherModels.length>0&&(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsx)("div",{className:"px-2 py-1 text-xs font-medium text-gray-500",children:t("other_models","Other Models")}),e_.otherModels.map(e=>(0,a.jsxs)("div",{className:E()("flex items-center justify-between px-3 py-2 rounded-lg cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors mb-1",eo===e?"bg-gray-50 dark:bg-gray-800":""),onClick:()=>{en(e),em(!1)},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[(0,a.jsx)(P.A,{model:e,width:16,height:16}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-200 truncate",children:e})]}),eo===e&&(0,a.jsx)(x.A,{className:"text-blue-500 flex-shrink-0"})]},e))]}),0===Object.keys(e_.groups).length&&0===e_.otherModels.length&&(0,a.jsx)("div",{className:"px-3 py-8 text-center text-gray-400 text-xs",children:t("no_models_found","No models found")})]})]});(0,U.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("app_code");if(e&&el.length>0){let t=el.find(t=>t.app_code===e);t&&ea(t)}},[el]);let{run:eS}=(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.eHG)({page:1,page_size:100,published:!0}));return t},{onSuccess:e=>{(null==e?void 0:e.app_list)&&(es(e.app_list),ea(e.app_list.find(e=>"chat_normal"===e.app_code)||e.app_list[0]))}});(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.Gky)({filter:""},{page:"1",page_size:"5"}));return t},{onSuccess:e=>{(null==e?void 0:e.items)&&Array.isArray(e.items)&&ek(e.items.slice(0,2))}}),(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.ZEj)("local"));return t},{onSuccess:e=>{Array.isArray(e)&&e.length>0&&ew(e.slice(0,2))}});let eL=(e,t)=>{var r,a,l,s,o;if(!e)return"";let n=null==(a=e.llm_config)||null==(r=a.llm_strategy_value)?void 0:r[0];if(n&&t.some(e=>e.model_name===n&&"llm"===e.worker_type))return n;let i=null==(l=e.details)?void 0:l.find(e=>e.llm_strategy_value);if((null==i?void 0:i.llm_strategy_value)&&t.some(e=>e.model_name===i.llm_strategy_value&&"llm"===e.worker_type))return i.llm_strategy_value;let d=null==(o=e.layout)||null==(s=o.chat_in_layout)?void 0:s.find(e=>"model"===e.param_type);return(null==d?void 0:d.param_default_value)&&t.some(e=>e.model_name===d.param_default_value&&"llm"===e.worker_type)?d.param_default_value:""};(0,A.A)(async()=>{let[e,t]=await (0,l.VbY)((0,l.O68)());return t||[]},{onSuccess:e=>{if(e&&e.length>0){let t=e.filter(e=>"llm"===e.worker_type);ed(t);let r=eL(ey,t);if(r)en(r);else{let e=t.map(e=>e.model_name);en(e.find(e=>e.includes("gpt-3.5")||e.includes("gpt-4"))||e[0])}}}}),(0,U.useEffect)(()=>{(null==er?void 0:er.app_code)&&(async()=>{let[e,t]=await (0,l.VbY)((0,l.Y6h)({app_code:er.app_code}));if(t&&(ev(t),ei.length>0)){let e=eL(t,ei.filter(e=>"llm"===e.worker_type));e&&en(e)}})()},[null==er?void 0:er.app_code]),(0,U.useEffect)(()=>{r.length>1e3&&null===eu&&(eh(-1),T(e=>{let t=e.length,a=new Date().toISOString().replace(/[:.]/g,"-"),l=new File([new Blob(["# 对话输入内容\n\n生成时间: ".concat(new Date().toLocaleString(),"\n\n字符数: ").concat(r.length,"\n\n---\n\n").concat(r)],{type:"text/markdown"})],"input-".concat(a,".md"),{type:"text/markdown"});return setTimeout(()=>eh(t),0),[...e,l]}),o(""))},[r,eu]);let eM=async()=>{if(!r.trim()&&0===B.length)return;let t=(null==er?void 0:er.app_code)||"chat_normal",[,a]=await (0,l.VbY)((0,l.j_h)({app_code:t,model:eo}));if(a){let o=[];if(B.length>0)for(let e of B){let r=new FormData;r.append("doc_files",e);let[s,n]=await (0,l.VbY)((0,l.o0$)({convUid:a.conv_uid,chatMode:t,data:r,model:eo,config:{timeout:36e5}}));n&&o.push(n)}localStorage.setItem(s.yx,JSON.stringify({id:a.conv_uid,message:r,resources:o.length>0?o:void 0,model:eo})),e.push("/chat/?app_code=".concat(t,"&conv_uid=").concat(a.conv_uid))}o(""),T([]),eh(null)},eV=e=>{let{icon:t,text:r,bgColor:l="bg-gray-100",iconColor:s="text-gray-600",isOutline:o=!1,onClick:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2 cursor-pointer group",onClick:n,children:[(0,a.jsx)("div",{className:E()("w-14 h-14 rounded-full flex items-center justify-center transition-all duration-200 group-hover:scale-110 group-hover:shadow-lg",o?"bg-white dark:bg-[#232734] border-2 border-dashed border-gray-300 dark:border-gray-600":l),children:(0,a.jsx)("span",{className:E()("text-xl",s),children:t})}),(0,a.jsx)("span",{className:"text-xs text-gray-600 dark:text-gray-400 text-center max-w-[80px] leading-tight group-hover:text-gray-900 dark:group-hover:text-gray-200 transition-colors",children:r})]})},eD=e=>{J(e),G(!0)},eI=e=>{Z(e)},eO={items:el.map(e=>({key:e.app_code,label:(0,a.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>ea(e),children:[(0,a.jsx)("span",{className:"text-base",children:e.icon?(0,a.jsx)("img",{src:e.icon,className:"w-4 h-4"}):"\uD83E\uDD16"}),(0,a.jsx)("span",{children:e.app_name})]})}))},ez=(0,a.jsxs)("div",{className:"flex flex-col gap-1 w-52 p-1",children:[ej.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-gray-400 font-medium",children:"推荐技能"}),ej.slice(0,1).map(e=>{let t=H.some(t=>t.skill_code===e.skill_code);return(0,a.jsxs)("div",{className:E()("flex items-center justify-between gap-3 px-3 py-2 rounded-lg cursor-pointer transition-colors",t?"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 text-blue-700 dark:text-blue-300":"hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-700 dark:text-gray-200"),onClick:()=>{t?eI(H.filter(t=>t.skill_code!==e.skill_code)):eI([...H,e])},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden",children:[e.icon?(0,a.jsx)("img",{src:e.icon,className:"w-4 h-4 flex-shrink-0"}):(0,a.jsx)("span",{className:E()("text-sm font-semibold w-4 h-4 flex items-center justify-center flex-shrink-0",t?"text-blue-500":""),children:e.name?e.name.charAt(0).toUpperCase():"S"}),(0,a.jsx)("span",{className:"text-sm truncate",children:e.name})]}),t&&(0,a.jsx)(x.A,{className:"text-blue-500 text-sm flex-shrink-0"})]},e.skill_code)})]}),eN.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-gray-400 font-medium mt-1",children:"推荐工具"}),eN.slice(0,1).map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors text-gray-700 dark:text-gray-200",onClick:()=>{eD("local")},children:[(0,a.jsx)(g.A,{className:"text-lg"}),(0,a.jsx)("span",{className:"text-sm truncate",children:e.tool_name})]},e.tool_id))]}),(0,a.jsx)("div",{className:"h-[1px] bg-gray-100 dark:bg-gray-800 my-1 mx-2"}),(0,a.jsxs)("div",{className:"flex items-center gap-3 px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors text-gray-700 dark:text-gray-200",onClick:()=>eD("skill"),children:[(0,a.jsx)(m.A,{className:"text-lg"}),(0,a.jsx)("span",{className:"text-sm",children:"更多"})]})]});return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-[#FAFAFA] dark:bg-[#111] overflow-y-auto relative",children:[(0,a.jsx)("div",{className:"flex justify-end items-center px-8 py-6 w-full absolute top-0 left-0 z-10",children:(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-white dark:bg-[#232734] flex items-center justify-center shadow-sm cursor-pointer hover:shadow-md transition-shadow",children:(0,a.jsx)(I.A,{dot:!0,offset:[-2,2],children:(0,a.jsx)("span",{className:"text-lg",children:"\uD83D\uDD14"})})})})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center w-full max-w-5xl mx-auto px-4 mt-10",children:[(0,a.jsxs)("div",{className:"text-center mb-8 -translate-y-[10px]",children:[(0,a.jsxs)("h1",{className:"text-4xl font-medium text-gray-900 dark:text-gray-100 tracking-tight mb-3",children:[(0,a.jsx)("span",{className:"mr-2",children:"\uD83D\uDE80"}),"You Command, We",(0,a.jsx)("span",{className:"text-orange-500 ml-2",children:"Defend."})]}),(0,a.jsx)("p",{className:"text-gray-500 dark:text-gray-400 text-base",children:"OpenDeRisk—AI原生风险智能系统,为每个应用系统提供一个7*24H的AI系统数字管家"})]}),(0,a.jsx)("div",{className:E()("w-full max-w-4xl bg-white dark:bg-[#232734] rounded-[24px] shadow-sm hover:shadow-md transition-all duration-300 border",_?"border-blue-500/50 shadow-lg ring-4 ring-blue-500/5":"border-gray-200 dark:border-gray-800"),onDragOver:e=>{e.preventDefault(),F(!0)},onDragLeave:e=>{e.preventDefault(),F(!1)},onDrop:e=>{e.preventDefault(),F(!1);let t=Array.from(e.dataTransfer.files);t.length>0&&T(e=>[...e,...t])},children:(0,a.jsxs)("div",{className:"p-4",children:[B.length>0&&(0,a.jsx)("div",{className:"flex gap-3 px-1 pb-3 overflow-x-auto scrollbar-hide",children:B.map((e,t)=>(0,a.jsx)(ee,{file:e,isAutoGenerated:t===eu,onRemove:()=>{let e=[...B];e.splice(t,1),T(e),t===eu&&eh(null)}},t+e.name))}),(0,a.jsx)(V.A.TextArea,{placeholder:"分配一个任务或提问任何问题",className:"!text-lg !bg-transparent !border-0 !resize-none placeholder:!text-gray-400 !text-gray-800 dark:!text-gray-200 !shadow-none !p-2 mb-4",autoSize:{minRows:2,maxRows:20},value:r,onChange:e=>o(e.target.value),onFocus:()=>F(!0),onBlur:()=>F(!1),onPaste:e=>{var t;let r=null==(t=e.clipboardData)?void 0:t.items,a=!1;if(r)for(let e=0;e[...t,e]),a=!0)}}a&&e.preventDefault()},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),eM())}}),(0,a.jsxs)("div",{className:"flex items-center justify-between px-2 pb-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(L.A,{content:ez,trigger:"click",placement:"topLeft",overlayClassName:"!p-0",children:(0,a.jsx)(D.Ay,{shape:"circle",icon:(0,a.jsx)(i.A,{}),className:"!border-gray-200 dark:!border-gray-700 !text-gray-500 hover:!text-gray-700 dark:hover:!text-gray-300"})}),H.length>0&&(()=>{let e=H.slice(0,3),t=H.length-3;return(0,a.jsx)("div",{className:"flex items-center mr-2",style:{width:"160px",minWidth:"160px"},children:(0,a.jsxs)("div",{className:"flex items-center",style:{marginLeft:0},children:[e.map((t,r)=>(0,a.jsx)("div",{style:{marginLeft:0===r?0:-8,zIndex:e.length-r},children:(0,a.jsx)(eA,{skill:t,onRemove:()=>{var e;return e=t.skill_code,void Z(H.filter(t=>t.skill_code!==e))}},t.skill_code)},t.skill_code)),t>0&&(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-gray-100 dark:bg-gray-800 border-2 border-dashed border-gray-300 dark:border-gray-600 flex items-center justify-center",style:{marginLeft:-8,zIndex:0},children:(0,a.jsxs)(q,{className:"text-xs text-gray-500 font-medium",children:["+",t]})})]})})})(),(0,a.jsx)(O.A,{menu:eO,trigger:["click"],placement:"bottomLeft",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800/50 px-3 py-1.5 rounded-full border border-gray-100 dark:border-gray-700/50 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:[(0,a.jsx)("span",{className:"text-base",children:(null==er?void 0:er.icon)?(0,a.jsx)("img",{src:er.icon,className:"w-4 h-4"}):"\uD83E\uDD16"}),(0,a.jsx)("span",{className:"text-sm text-gray-700 dark:text-gray-300 font-medium max-w-[100px] truncate",children:(null==er?void 0:er.app_name)||t("select_app","Select App")}),(0,a.jsx)(u.A,{className:"text-xs text-gray-400"})]})}),(0,a.jsx)("div",{className:"w-4"}),(0,a.jsx)(L.A,{content:eC,trigger:"click",placement:"topLeft",open:eg,onOpenChange:em,arrow:!1,overlayClassName:"[&_.ant-popover-inner]:!p-0 [&_.ant-popover-inner]:!rounded-lg [&_.ant-popover-inner]:!shadow-lg",zIndex:1e3,children:(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 dark:bg-gray-800/50 px-3 py-1.5 rounded-full border border-gray-100 dark:border-gray-700/50 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors group",children:[(0,a.jsx)(P.A,{model:eo,width:18,height:18}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-700 dark:text-gray-200 max-w-[120px] truncate group-hover:text-blue-500 transition-colors",children:eo||t("select_model","Select Model")}),(0,a.jsx)(u.A,{className:"text-xs text-gray-400 group-hover:text-blue-500 transition-colors"})]})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(z.A,{...{onRemove:e=>{let t=B.indexOf(e),r=B.slice();r.splice(t,1),T(r)},beforeUpload:e=>(T([...B,e]),!1),fileList:B},showUploadList:!1,children:(0,a.jsx)(D.Ay,{shape:"circle",icon:(0,a.jsx)(h.A,{}),className:"!border-gray-200 dark:!border-gray-700 !text-gray-500 hover:!text-gray-700 dark:hover:!text-gray-300"})}),(0,a.jsx)(D.Ay,{shape:"circle",type:r.trim()||B.length>0?"primary":"default",icon:(0,a.jsx)(p.A,{}),className:E()("transition-all !w-9 !h-9 flex items-center justify-center",r.trim()||B.length>0?"bg-black hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200":"bg-gray-100 text-gray-400 border-none dark:bg-gray-800 dark:text-gray-600"),onClick:eM,disabled:!r.trim()&&0===B.length})]})]})]})}),(0,a.jsxs)("div",{className:"flex flex-wrap justify-center gap-10 mt-10 max-w-4xl translate-y-[10px]",children:[(0,a.jsx)(eV,{icon:(0,a.jsx)(f.A,{}),text:"AI应用健康",bgColor:"bg-gradient-to-br from-blue-400 to-blue-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(b.A,{}),text:"AI代码风险",bgColor:"bg-gradient-to-br from-orange-400 to-amber-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(y.A,{}),text:"AI基础设施",bgColor:"bg-gradient-to-br from-red-400 to-red-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(v.A,{}),text:"AI变更风险",bgColor:"bg-gradient-to-br from-emerald-400 to-green-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(j.A,{}),text:"AI存储容量",bgColor:"bg-gradient-to-br from-teal-400 to-cyan-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(k.A,{}),text:"AI应急风险",bgColor:"bg-gradient-to-br from-orange-500 to-red-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(N.A,{}),text:"AI环境风险",bgColor:"bg-gradient-to-br from-slate-400 to-gray-500",iconColor:"text-white"}),(0,a.jsx)(eV,{icon:(0,a.jsx)(w.A,{}),text:"自定义智能体",isOutline:!0,iconColor:"text-gray-400 dark:text-gray-500",onClick:()=>e.push("/application/app")})]})]}),(0,a.jsx)(Q,{open:W,onCancel:()=>G(!1),defaultTab:K,selectedSkills:H,onSkillsChange:eI})]})}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-eb26b6f7871f5ec8.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-df5fd2a08392495c.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-eb26b6f7871f5ec8.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-df5fd2a08392495c.js index 3a571b74..d85dfdc2 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-eb26b6f7871f5ec8.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-df5fd2a08392495c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[797],{11250:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 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.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 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-32z"}}]},name:"edit",theme:"outlined"}},11499:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],l=0;l{"use strict";n.d(t,{F:()=>a});var l=n(71367),r=function(e){if((0,l.A)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),l=n.style[e];return n.style[e]=t,n.style[e]!==l};function a(e,t){return Array.isArray(e)||void 0===t?r(e):o(e,t)}},69068:(e,t,n)=>{"use strict";var l=n(11499),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,i,c,s,u,d,p=!1;t||(t={}),a=t.debug||!1;try{if(c=l(),s=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(l){a&&console.error("unable to copy using execCommand: ",l),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(l){a&&console.error("unable to copy using clipboardData: ",l),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",i=n.replace(/#{\s*key\s*}/g,o),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},84447:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},90797:(e,t,n)=>{"use strict";n.d(t,{A:()=>es});var l=n(12115),r=n(85757),o=n(79630),a=n(11250),i=n(35030),c=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))}),s=n(29300),u=n.n(s),d=n(32417),p=n(63715),f=n(49172),m=n(48804),g=n(17980),b=n(74686),y=n(19824),v=n(15982),h=n(8530),x=n(97540);let O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};var E=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:O}))}),w=n(17233),S=n(80163),j=n(37497),k=n(18184),C=n(45431),A=n(68057);let R=(0,C.OF)("Typography",e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,["&".concat(t,"-secondary")]:{color:e.colorTextDescription},["&".concat(t,"-success")]:{color:e.colorSuccessText},["&".concat(t,"-warning")]:{color:e.colorWarningText},["&".concat(t,"-danger")]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},["&".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},(e=>{let t={};return[1,2,3,4,5].forEach(n=>{t["\n h".concat(n,"&,\n div&-h").concat(n,",\n div&-h").concat(n," > textarea,\n h").concat(n,"\n ")]=((e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:o}=l;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}})(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)}),t})(e)),{["\n & + h1".concat(t,",\n & + h2").concat(t,",\n & + h3").concat(t,",\n & + h4").concat(t,",\n & + h5").concat(t,"\n ")]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),(e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:A.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}))(e)),(e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,k.Y1)(e)),{userSelect:"text",["&[disabled], &".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}})(e)),{["\n ".concat(t,"-expand,\n ").concat(t,"-collapse,\n ").concat(t,"-edit,\n ").concat(t,"-copy\n ")]:Object.assign(Object.assign({},(0,k.Y1)(e)),{marginInlineStart:e.marginXXS})}),(e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},["".concat(t,"-edit-content-confirm")]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}})(e)),(e=>({["".concat(e.componentCls,"-copy-success")]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},["".concat(e.componentCls,"-copy-icon-only")]:{marginInlineStart:0}}))(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),T=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:a,maxLength:i,autoSize:c=!0,value:s,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=l.createElement(E,null)}=e,b=l.useRef(null),y=l.useRef(!1),v=l.useRef(null),[h,x]=l.useState(s);l.useEffect(()=>{x(s)},[s]),l.useEffect(()=>{var e;if(null==(e=b.current)?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let O=()=>{d(h.trim())},[k,C,A]=R(t),T=u()(t,"".concat(t,"-edit-content"),{["".concat(t,"-rtl")]:"rtl"===a,["".concat(t,"-").concat(m)]:!!m},r,C,A);return k(l.createElement("div",{className:T,style:o},l.createElement(j.A,{ref:b,maxLength:i,value:h,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(v.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:l,metaKey:r,shiftKey:o}=e;v.current!==t||y.current||n||l||r||o||(t===w.A.ENTER?(O(),null==f||f()):t===w.A.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{O()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,S.Ob)(g,{className:"".concat(t,"-edit-content-confirm")}):null))};var I=n(69068),D=n.n(I),P=n(18885);let H=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&null==e?[]:Array.isArray(e)?e:[e]};function M(e,t){return l.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var z=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let B=l.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:a,setContentRef:i,children:c,direction:s,style:d}=e,p=z(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,className:g,style:y}=(0,v.TP)("typography"),h=i?(0,b.K4)(t,i):t,x=f("typography",n),[O,E,w]=R(x),S=u()(x,g,{["".concat(x,"-rtl")]:"rtl"===(null!=s?s:m)},o,a,E,w),j=Object.assign(Object.assign({},y),d);return O(l.createElement(r,Object.assign({className:S,style:j,ref:h},p),c))});var N=n(93084),L=n(84447),W=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:L.A}))}),F=n(51280);function U(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}let V=e=>["string","number"].includes(typeof e),K=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:a,icon:i,tabIndex:c,onCopy:s,loading:d}=e,p=U(a),f=U(i),{copied:m,copy:g}=null!=r?r:{},b=n?m:g,y=q(p[+!!n],b),v="string"==typeof y?y:b;return l.createElement(x.A,{title:y},l.createElement("button",{type:"button",className:u()("".concat(t,"-copy"),{["".concat(t,"-copy-success")]:n,["".concat(t,"-copy-icon-only")]:o}),onClick:s,"aria-label":v,tabIndex:c},n?q(f[1],l.createElement(N.A,null),!0):q(f[0],d?l.createElement(F.A,null):l.createElement(W,null),!0)))},X=l.forwardRef((e,t)=>{let{style:n,children:r}=e,o=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function _(e,t){let n=0,l=[];for(let r=0;rt){let e=t-n;return l.push(String(o).slice(0,e)),l}l.push(o),n=a}return e}let Y={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Q(e){let{enableMeasure:t,width:n,text:o,children:a,rows:i,expanded:c,miscDeps:s,onEllipsis:u}=e,d=l.useMemo(()=>(0,p.A)(o),[o]),m=l.useMemo(()=>d.reduce((e,t)=>e+(V(t)?String(t).length:1),0),[o]),g=l.useMemo(()=>a(d,!1),[o]),[b,y]=l.useState(null),v=l.useRef(null),h=l.useRef(null),x=l.useRef(null),O=l.useRef(null),E=l.useRef(null),[w,S]=l.useState(!1),[j,k]=l.useState(0),[C,A]=l.useState(0),[R,T]=l.useState(null);(0,f.A)(()=>{t&&n&&m?k(1):k(0)},[n,o,i,t,d]),(0,f.A)(()=>{var e,t,n,l;if(1===j)k(2),T(h.current&&getComputedStyle(h.current).whiteSpace);else if(2===j){let r=!!(null==(e=x.current)?void 0:e.isExceed());k(r?3:4),y(r?[0,m]:null),S(r);let o=(null==(t=x.current)?void 0:t.getHeight())||0;A(Math.max(o,(1===i?0:(null==(n=O.current)?void 0:n.getHeight())||0)+((null==(l=E.current)?void 0:l.getHeight())||0))+1),u(r)}},[j]);let I=b?Math.ceil((b[0]+b[1])/2):0;(0,f.A)(()=>{var e;let[t,n]=b||[0,0];if(t!==n){let l=((null==(e=v.current)?void 0:e.getHeight())||0)>C,r=I;n-t==1&&(r=l?t:n),y(l?[t,r]:[r,n])}},[b,I]);let D=l.useMemo(()=>{if(!t)return a(d,!1);if(3!==j||!b||b[0]!==b[1]){let e=a(d,!1);return[4,0].includes(j)?e:l.createElement("span",{style:Object.assign(Object.assign({},Y),{WebkitLineClamp:i})},e)}return a(c?d:_(d,b[0]),w)},[c,j,b,d].concat((0,r.A)(s))),P={width:n,margin:0,padding:0,whiteSpace:"nowrap"===R?"normal":"inherit"};return l.createElement(l.Fragment,null,D,2===j&&l.createElement(l.Fragment,null,l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:i}),ref:x},g),l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:i-1}),ref:O},g),l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:1}),ref:E},a([],!0))),3===j&&b&&b[0]!==b[1]&&l.createElement(X,{style:Object.assign(Object.assign({},P),{top:400}),ref:v},a(_(d,I),!0)),1===j&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}let G=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?l.createElement(x.A,Object.assign({open:!!n&&void 0},o),r):r};var J=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let Z=["delete","mark","code","underline","strong","keyboard","italic"],$=l.forwardRef((e,t)=>{var n;let{prefixCls:o,className:a,style:i,type:s,disabled:O,children:E,ellipsis:w,editable:S,copyable:j,component:k,title:C}=e,A=J(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:R,direction:I}=l.useContext(v.QO),[z]=(0,h.A)("Text"),N=l.useRef(null),L=l.useRef(null),W=R("typography",o),F=(0,g.A)(A,Z),[U,q]=M(S),[X,_]=(0,m.A)(!1,{value:q.editing}),{triggerType:Y=["icon"]}=q,$=e=>{var t;e&&(null==(t=q.onStart)||t.call(q)),_(e)},ee=(e=>{let t=(0,l.useRef)(void 0);return(0,l.useEffect)(()=>{t.current=e}),t.current})(X);(0,f.A)(()=>{var e;!X&&ee&&(null==(e=L.current)||e.focus())},[X]);let et=e=>{null==e||e.preventDefault(),$(!0)},[en,el]=M(j),{copied:er,copyLoading:eo,onClick:ea}=(e=>{let{copyConfig:t,children:n}=e,[r,o]=l.useState(!1),[a,i]=l.useState(!1),c=l.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>s,[]);let d=(0,P.A)(e=>(function(e,t,n,l){return new(n||(n=Promise))(function(r,o){function a(e){try{c(l.next(e))}catch(e){o(e)}}function i(e){try{c(l.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,i)}c((l=l.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){var l;null==e||e.preventDefault(),null==e||e.stopPropagation(),i(!0);try{let r="function"==typeof t.text?yield t.text():t.text;D()(r||H(n,!0).join("")||"",u),i(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null==(l=t.onCopy)||l.call(t,e)}catch(e){throw i(!1),e}}));return{copied:r,copyLoading:a,onClick:d}})({copyConfig:el,children:E}),[ei,ec]=l.useState(!1),[es,eu]=l.useState(!1),[ed,ep]=l.useState(!1),[ef,em]=l.useState(!1),[eg,eb]=l.useState(!0),[ey,ev]=M(w,{expandable:!1,symbol:e=>e?null==z?void 0:z.collapse:null==z?void 0:z.expand}),[eh,ex]=(0,m.A)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=l.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||U||en),[eO,ev,U,en]);(0,f.A)(()=>{ey&&!ew&&(ec((0,y.F)("webkitLineClamp")),eu((0,y.F)("textOverflow")))},[ew,ey]);let[eS,ej]=l.useState(eO),ek=l.useMemo(()=>!ew&&(1===eE?es:ei),[ew,es,ei]);(0,f.A)(()=>{ej(ek&&eO)},[ek,eO]);let eC=eO&&(eS?ef:ed),eA=eO&&1===eE&&eS,eR=eO&&eE>1&&eS,[eT,eI]=l.useState(0),eD=e=>{var t;ep(e),ed!==e&&(null==(t=ev.onEllipsis)||t.call(ev,e))};l.useEffect(()=>{let e=N.current;if(ey&&eS&&e){let t=function(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),l=t.getBoundingClientRect();return e.removeChild(t),n.left>l.left||l.right>n.right||n.top>l.top||l.bottom>n.bottom}(e);ef!==t&&em(t)}},[ey,eS,E,eR,eg,eT]),l.useEffect(()=>{let e=N.current;if("undefined"==typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eP=((e,t,n)=>(0,l.useMemo)(()=>!0===e?{title:null!=t?t:n}:(0,l.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:n},e):{title:e},[e,t,n]))(ev.tooltip,q.text,E),eH=l.useMemo(()=>{if(ey&&!eS)return[q.text,E,C,eP.title].find(V)},[ey,eS,C,eP.title,eC]);return X?l.createElement(T,{value:null!=(n=q.text)?n:"string"==typeof E?E:"",onSave:e=>{var t;null==(t=q.onChange)||t.call(q,e),$(!1)},onCancel:()=>{var e;null==(e=q.onCancel)||e.call(q),$(!1)},onEnd:q.onEnd,prefixCls:W,className:a,style:i,direction:I,component:k,maxLength:q.maxLength,autoSize:q.autoSize,enterIcon:q.enterIcon}):l.createElement(d.A,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!eO},n=>l.createElement(G,{tooltipProps:eP,enableEllipsis:eO,isEllipsis:eC},l.createElement(B,Object.assign({className:u()({["".concat(W,"-").concat(s)]:s,["".concat(W,"-disabled")]:O,["".concat(W,"-ellipsis")]:ey,["".concat(W,"-ellipsis-single-line")]:eA,["".concat(W,"-ellipsis-multiple-line")]:eR},a),prefixCls:o,style:Object.assign(Object.assign({},i),{WebkitLineClamp:eR?eE:void 0}),component:k,ref:(0,b.K4)(n,N,t),direction:I,onClick:Y.includes("text")?et:void 0,"aria-label":null==eH?void 0:eH.toString(),title:C},F),l.createElement(Q,{enableMeasure:eO&&!eS,text:E,rows:eE,width:eT,onEllipsis:eD,expanded:eh,miscDeps:[er,eh,eo,U,en,z].concat((0,r.A)(Z.map(t=>e[t])))},(t,n)=>(function(e,t){let{mark:n,code:r,underline:o,delete:a,strong:i,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=l.createElement(e,{},u))}return d("strong",i),d("u",o),d("del",a),d("code",r),d("mark",n),d("kbd",c),d("i",s),u})(e,l.createElement(l.Fragment,null,t.length>0&&n&&!eh&&eH?l.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!eh&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,[e&&(()=>{let{expandable:e,symbol:t}=ev;return e?l.createElement("button",{type:"button",key:"expand",className:"".concat(W,"-").concat(eh?"collapse":"expand"),onClick:e=>((e,t)=>{var n;ex(t.expanded),null==(n=ev.onExpand)||n.call(ev,e,t)})(e,{expanded:!eh}),"aria-label":eh?z.collapse:null==z?void 0:z.expand},"function"==typeof t?t(eh):t):null})(),(()=>{if(!U)return;let{icon:e,tooltip:t,tabIndex:n}=q,r=(0,p.A)(t)[0]||(null==z?void 0:z.edit),o="string"==typeof r?r:"";return Y.includes("icon")?l.createElement(x.A,{key:"edit",title:!1===t?"":r},l.createElement("button",{type:"button",ref:L,className:"".concat(W,"-edit"),onClick:et,"aria-label":o,tabIndex:n},e||l.createElement(c,{role:"button"}))):null})(),en?l.createElement(K,Object.assign({key:"copy"},el,{prefixCls:W,copied:er,locale:z,onCopy:ea,loading:eo,iconOnly:null==E})):null]])(n)))))))});var ee=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let et=l.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:o,navigate:a}=e,i=ee(e,["ellipsis","rel","children","navigate"]),c=Object.assign(Object.assign({},i),{rel:void 0===r&&"_blank"===i.target?"noopener noreferrer":r});return l.createElement($,Object.assign({},c,{ref:t,ellipsis:!!n,component:"a"}),o)});var en=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let el=l.forwardRef((e,t)=>{let{children:n}=e,r=en(e,["children"]);return l.createElement($,Object.assign({ref:t},r,{component:"div"}),n)});var er=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let eo=l.forwardRef((e,t)=>{let{ellipsis:n,children:r}=e,o=er(e,["ellipsis","children"]),a=l.useMemo(()=>n&&"object"==typeof n?(0,g.A)(n,["expandable","rows"]):n,[n]);return l.createElement($,Object.assign({ref:t},o,{ellipsis:a,component:"span"}),r)});var ea=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let ei=[1,2,3,4,5],ec=l.forwardRef((e,t)=>{let{level:n=1,children:r}=e,o=ea(e,["level","children"]),a=ei.includes(n)?"h".concat(n):"h1";return l.createElement($,Object.assign({ref:t},o,{component:a}),r)});B.Text=eo,B.Link=et,B.Title=ec,B.Paragraph=el;let es=B}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[797],{11250:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 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.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 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-32z"}}]},name:"edit",theme:"outlined"}},11499:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],l=0;l{"use strict";n.d(t,{F:()=>a});var l=n(71367),r=function(e){if((0,l.A)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!r(e))return!1;var n=document.createElement("div"),l=n.style[e];return n.style[e]=t,n.style[e]!==l};function a(e,t){return Array.isArray(e)||void 0===t?r(e):o(e,t)}},69068:(e,t,n)=>{"use strict";var l=n(11499),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,i,c,s,u,d,p=!1;t||(t={}),a=t.debug||!1;try{if(c=l(),s=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),s.selectNodeContents(d),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(l){a&&console.error("unable to copy using execCommand: ",l),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(l){a&&console.error("unable to copy using clipboardData: ",l),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",i=n.replace(/#{\s*key\s*}/g,o),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},84447:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},90797:(e,t,n)=>{"use strict";n.d(t,{A:()=>es});var l=n(12115),r=n(85757),o=n(79630),a=n(11250),i=n(35030),c=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:a.A}))}),s=n(29300),u=n.n(s),d=n(32417),p=n(63715),f=n(26791),m=n(48804),g=n(17980),b=n(74686),y=n(19824),v=n(15982),h=n(8530),x=n(97540);let O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};var E=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:O}))}),w=n(17233),S=n(80163),j=n(37497),k=n(18184),C=n(45431),A=n(68057);let R=(0,C.OF)("Typography",e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,["&".concat(t,"-secondary")]:{color:e.colorTextDescription},["&".concat(t,"-success")]:{color:e.colorSuccessText},["&".concat(t,"-warning")]:{color:e.colorWarningText},["&".concat(t,"-danger")]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},["&".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},(e=>{let t={};return[1,2,3,4,5].forEach(n=>{t["\n h".concat(n,"&,\n div&-h").concat(n,",\n div&-h").concat(n," > textarea,\n h").concat(n,"\n ")]=((e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:o}=l;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}})(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)}),t})(e)),{["\n & + h1".concat(t,",\n & + h2").concat(t,",\n & + h3").concat(t,",\n & + h4").concat(t,",\n & + h5").concat(t,"\n ")]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),(e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:A.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}))(e)),(e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,k.Y1)(e)),{userSelect:"text",["&[disabled], &".concat(t,"-disabled")]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}})(e)),{["\n ".concat(t,"-expand,\n ").concat(t,"-collapse,\n ").concat(t,"-edit,\n ").concat(t,"-copy\n ")]:Object.assign(Object.assign({},(0,k.Y1)(e)),{marginInlineStart:e.marginXXS})}),(e=>{let{componentCls:t,paddingSM:n}=e;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(n).div(-2).add(1).equal(),marginBottom:e.calc(n).div(2).sub(2).equal()},["".concat(t,"-edit-content-confirm")]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}})(e)),(e=>({["".concat(e.componentCls,"-copy-success")]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},["".concat(e.componentCls,"-copy-icon-only")]:{marginInlineStart:0}}))(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}},()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),T=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:a,maxLength:i,autoSize:c=!0,value:s,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=l.createElement(E,null)}=e,b=l.useRef(null),y=l.useRef(!1),v=l.useRef(null),[h,x]=l.useState(s);l.useEffect(()=>{x(s)},[s]),l.useEffect(()=>{var e;if(null==(e=b.current)?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let O=()=>{d(h.trim())},[k,C,A]=R(t),T=u()(t,"".concat(t,"-edit-content"),{["".concat(t,"-rtl")]:"rtl"===a,["".concat(t,"-").concat(m)]:!!m},r,C,A);return k(l.createElement("div",{className:T,style:o},l.createElement(j.A,{ref:b,maxLength:i,value:h,onChange:e=>{let{target:t}=e;x(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;y.current||(v.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:l,metaKey:r,shiftKey:o}=e;v.current!==t||y.current||n||l||r||o||(t===w.A.ENTER?(O(),null==f||f()):t===w.A.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{O()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,S.Ob)(g,{className:"".concat(t,"-edit-content-confirm")}):null))};var I=n(69068),D=n.n(I),P=n(18885);let H=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&null==e?[]:Array.isArray(e)?e:[e]};function M(e,t){return l.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var z=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let B=l.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:a,setContentRef:i,children:c,direction:s,style:d}=e,p=z(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,className:g,style:y}=(0,v.TP)("typography"),h=i?(0,b.K4)(t,i):t,x=f("typography",n),[O,E,w]=R(x),S=u()(x,g,{["".concat(x,"-rtl")]:"rtl"===(null!=s?s:m)},o,a,E,w),j=Object.assign(Object.assign({},y),d);return O(l.createElement(r,Object.assign({className:S,style:j,ref:h},p),c))});var N=n(93084),L=n(84447),W=l.forwardRef(function(e,t){return l.createElement(i.A,(0,o.A)({},e,{ref:t,icon:L.A}))}),F=n(51280);function U(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}let V=e=>["string","number"].includes(typeof e),K=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:a,icon:i,tabIndex:c,onCopy:s,loading:d}=e,p=U(a),f=U(i),{copied:m,copy:g}=null!=r?r:{},b=n?m:g,y=q(p[+!!n],b),v="string"==typeof y?y:b;return l.createElement(x.A,{title:y},l.createElement("button",{type:"button",className:u()("".concat(t,"-copy"),{["".concat(t,"-copy-success")]:n,["".concat(t,"-copy-icon-only")]:o}),onClick:s,"aria-label":v,tabIndex:c},n?q(f[1],l.createElement(N.A,null),!0):q(f[0],d?l.createElement(F.A,null):l.createElement(W,null),!0)))},X=l.forwardRef((e,t)=>{let{style:n,children:r}=e,o=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{let e=o.current;return e.scrollHeight>e.clientHeight},getHeight:()=>o.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:o,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function _(e,t){let n=0,l=[];for(let r=0;rt){let e=t-n;return l.push(String(o).slice(0,e)),l}l.push(o),n=a}return e}let Y={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Q(e){let{enableMeasure:t,width:n,text:o,children:a,rows:i,expanded:c,miscDeps:s,onEllipsis:u}=e,d=l.useMemo(()=>(0,p.A)(o),[o]),m=l.useMemo(()=>d.reduce((e,t)=>e+(V(t)?String(t).length:1),0),[o]),g=l.useMemo(()=>a(d,!1),[o]),[b,y]=l.useState(null),v=l.useRef(null),h=l.useRef(null),x=l.useRef(null),O=l.useRef(null),E=l.useRef(null),[w,S]=l.useState(!1),[j,k]=l.useState(0),[C,A]=l.useState(0),[R,T]=l.useState(null);(0,f.A)(()=>{t&&n&&m?k(1):k(0)},[n,o,i,t,d]),(0,f.A)(()=>{var e,t,n,l;if(1===j)k(2),T(h.current&&getComputedStyle(h.current).whiteSpace);else if(2===j){let r=!!(null==(e=x.current)?void 0:e.isExceed());k(r?3:4),y(r?[0,m]:null),S(r);let o=(null==(t=x.current)?void 0:t.getHeight())||0;A(Math.max(o,(1===i?0:(null==(n=O.current)?void 0:n.getHeight())||0)+((null==(l=E.current)?void 0:l.getHeight())||0))+1),u(r)}},[j]);let I=b?Math.ceil((b[0]+b[1])/2):0;(0,f.A)(()=>{var e;let[t,n]=b||[0,0];if(t!==n){let l=((null==(e=v.current)?void 0:e.getHeight())||0)>C,r=I;n-t==1&&(r=l?t:n),y(l?[t,r]:[r,n])}},[b,I]);let D=l.useMemo(()=>{if(!t)return a(d,!1);if(3!==j||!b||b[0]!==b[1]){let e=a(d,!1);return[4,0].includes(j)?e:l.createElement("span",{style:Object.assign(Object.assign({},Y),{WebkitLineClamp:i})},e)}return a(c?d:_(d,b[0]),w)},[c,j,b,d].concat((0,r.A)(s))),P={width:n,margin:0,padding:0,whiteSpace:"nowrap"===R?"normal":"inherit"};return l.createElement(l.Fragment,null,D,2===j&&l.createElement(l.Fragment,null,l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:i}),ref:x},g),l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:i-1}),ref:O},g),l.createElement(X,{style:Object.assign(Object.assign(Object.assign({},P),Y),{WebkitLineClamp:1}),ref:E},a([],!0))),3===j&&b&&b[0]!==b[1]&&l.createElement(X,{style:Object.assign(Object.assign({},P),{top:400}),ref:v},a(_(d,I),!0)),1===j&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}let G=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?l.createElement(x.A,Object.assign({open:!!n&&void 0},o),r):r};var J=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let Z=["delete","mark","code","underline","strong","keyboard","italic"],$=l.forwardRef((e,t)=>{var n;let{prefixCls:o,className:a,style:i,type:s,disabled:O,children:E,ellipsis:w,editable:S,copyable:j,component:k,title:C}=e,A=J(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:R,direction:I}=l.useContext(v.QO),[z]=(0,h.A)("Text"),N=l.useRef(null),L=l.useRef(null),W=R("typography",o),F=(0,g.A)(A,Z),[U,q]=M(S),[X,_]=(0,m.A)(!1,{value:q.editing}),{triggerType:Y=["icon"]}=q,$=e=>{var t;e&&(null==(t=q.onStart)||t.call(q)),_(e)},ee=(e=>{let t=(0,l.useRef)(void 0);return(0,l.useEffect)(()=>{t.current=e}),t.current})(X);(0,f.A)(()=>{var e;!X&&ee&&(null==(e=L.current)||e.focus())},[X]);let et=e=>{null==e||e.preventDefault(),$(!0)},[en,el]=M(j),{copied:er,copyLoading:eo,onClick:ea}=(e=>{let{copyConfig:t,children:n}=e,[r,o]=l.useState(!1),[a,i]=l.useState(!1),c=l.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>s,[]);let d=(0,P.A)(e=>(function(e,t,n,l){return new(n||(n=Promise))(function(r,o){function a(e){try{c(l.next(e))}catch(e){o(e)}}function i(e){try{c(l.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,i)}c((l=l.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){var l;null==e||e.preventDefault(),null==e||e.stopPropagation(),i(!0);try{let r="function"==typeof t.text?yield t.text():t.text;D()(r||H(n,!0).join("")||"",u),i(!1),o(!0),s(),c.current=setTimeout(()=>{o(!1)},3e3),null==(l=t.onCopy)||l.call(t,e)}catch(e){throw i(!1),e}}));return{copied:r,copyLoading:a,onClick:d}})({copyConfig:el,children:E}),[ei,ec]=l.useState(!1),[es,eu]=l.useState(!1),[ed,ep]=l.useState(!1),[ef,em]=l.useState(!1),[eg,eb]=l.useState(!0),[ey,ev]=M(w,{expandable:!1,symbol:e=>e?null==z?void 0:z.collapse:null==z?void 0:z.expand}),[eh,ex]=(0,m.A)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=l.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||U||en),[eO,ev,U,en]);(0,f.A)(()=>{ey&&!ew&&(ec((0,y.F)("webkitLineClamp")),eu((0,y.F)("textOverflow")))},[ew,ey]);let[eS,ej]=l.useState(eO),ek=l.useMemo(()=>!ew&&(1===eE?es:ei),[ew,es,ei]);(0,f.A)(()=>{ej(ek&&eO)},[ek,eO]);let eC=eO&&(eS?ef:ed),eA=eO&&1===eE&&eS,eR=eO&&eE>1&&eS,[eT,eI]=l.useState(0),eD=e=>{var t;ep(e),ed!==e&&(null==(t=ev.onEllipsis)||t.call(ev,e))};l.useEffect(()=>{let e=N.current;if(ey&&eS&&e){let t=function(e){let t=document.createElement("em");e.appendChild(t);let n=e.getBoundingClientRect(),l=t.getBoundingClientRect();return e.removeChild(t),n.left>l.left||l.right>n.right||n.top>l.top||l.bottom>n.bottom}(e);ef!==t&&em(t)}},[ey,eS,E,eR,eg,eT]),l.useEffect(()=>{let e=N.current;if("undefined"==typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eP=((e,t,n)=>(0,l.useMemo)(()=>!0===e?{title:null!=t?t:n}:(0,l.isValidElement)(e)?{title:e}:"object"==typeof e?Object.assign({title:null!=t?t:n},e):{title:e},[e,t,n]))(ev.tooltip,q.text,E),eH=l.useMemo(()=>{if(ey&&!eS)return[q.text,E,C,eP.title].find(V)},[ey,eS,C,eP.title,eC]);return X?l.createElement(T,{value:null!=(n=q.text)?n:"string"==typeof E?E:"",onSave:e=>{var t;null==(t=q.onChange)||t.call(q,e),$(!1)},onCancel:()=>{var e;null==(e=q.onCancel)||e.call(q),$(!1)},onEnd:q.onEnd,prefixCls:W,className:a,style:i,direction:I,component:k,maxLength:q.maxLength,autoSize:q.autoSize,enterIcon:q.enterIcon}):l.createElement(d.A,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!eO},n=>l.createElement(G,{tooltipProps:eP,enableEllipsis:eO,isEllipsis:eC},l.createElement(B,Object.assign({className:u()({["".concat(W,"-").concat(s)]:s,["".concat(W,"-disabled")]:O,["".concat(W,"-ellipsis")]:ey,["".concat(W,"-ellipsis-single-line")]:eA,["".concat(W,"-ellipsis-multiple-line")]:eR},a),prefixCls:o,style:Object.assign(Object.assign({},i),{WebkitLineClamp:eR?eE:void 0}),component:k,ref:(0,b.K4)(n,N,t),direction:I,onClick:Y.includes("text")?et:void 0,"aria-label":null==eH?void 0:eH.toString(),title:C},F),l.createElement(Q,{enableMeasure:eO&&!eS,text:E,rows:eE,width:eT,onEllipsis:eD,expanded:eh,miscDeps:[er,eh,eo,U,en,z].concat((0,r.A)(Z.map(t=>e[t])))},(t,n)=>(function(e,t){let{mark:n,code:r,underline:o,delete:a,strong:i,keyboard:c,italic:s}=e,u=t;function d(e,t){t&&(u=l.createElement(e,{},u))}return d("strong",i),d("u",o),d("del",a),d("code",r),d("mark",n),d("kbd",c),d("i",s),u})(e,l.createElement(l.Fragment,null,t.length>0&&n&&!eh&&eH?l.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!eh&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,[e&&(()=>{let{expandable:e,symbol:t}=ev;return e?l.createElement("button",{type:"button",key:"expand",className:"".concat(W,"-").concat(eh?"collapse":"expand"),onClick:e=>((e,t)=>{var n;ex(t.expanded),null==(n=ev.onExpand)||n.call(ev,e,t)})(e,{expanded:!eh}),"aria-label":eh?z.collapse:null==z?void 0:z.expand},"function"==typeof t?t(eh):t):null})(),(()=>{if(!U)return;let{icon:e,tooltip:t,tabIndex:n}=q,r=(0,p.A)(t)[0]||(null==z?void 0:z.edit),o="string"==typeof r?r:"";return Y.includes("icon")?l.createElement(x.A,{key:"edit",title:!1===t?"":r},l.createElement("button",{type:"button",ref:L,className:"".concat(W,"-edit"),onClick:et,"aria-label":o,tabIndex:n},e||l.createElement(c,{role:"button"}))):null})(),en?l.createElement(K,Object.assign({key:"copy"},el,{prefixCls:W,copied:er,locale:z,onCopy:ea,loading:eo,iconOnly:null==E})):null]])(n)))))))});var ee=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let et=l.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:o,navigate:a}=e,i=ee(e,["ellipsis","rel","children","navigate"]),c=Object.assign(Object.assign({},i),{rel:void 0===r&&"_blank"===i.target?"noopener noreferrer":r});return l.createElement($,Object.assign({},c,{ref:t,ellipsis:!!n,component:"a"}),o)});var en=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let el=l.forwardRef((e,t)=>{let{children:n}=e,r=en(e,["children"]);return l.createElement($,Object.assign({ref:t},r,{component:"div"}),n)});var er=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let eo=l.forwardRef((e,t)=>{let{ellipsis:n,children:r}=e,o=er(e,["ellipsis","children"]),a=l.useMemo(()=>n&&"object"==typeof n?(0,g.A)(n,["expandable","rows"]):n,[n]);return l.createElement($,Object.assign({ref:t},o,{ellipsis:a,component:"span"}),r)});var ea=function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(n[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n};let ei=[1,2,3,4,5],ec=l.forwardRef((e,t)=>{let{level:n=1,children:r}=e,o=ea(e,["level","children"]),a=ei.includes(n)?"h".concat(n):"h1";return l.createElement($,Object.assign({ref:t},o,{component:a}),r)});B.Text=eo,B.Link=et,B.Title=ec,B.Paragraph=el;let es=B}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-20e220e16329bf8d.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-de2441525d1fc6e1.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-20e220e16329bf8d.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-de2441525d1fc6e1.js index 982aa8cd..53eeb688 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-20e220e16329bf8d.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8608-de2441525d1fc6e1.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8608],{3795:(e,t,n)=>{n.d(t,{A:()=>z});var o=n(12115),l=n(29300),i=n.n(l),r=n(79630),a=n(21858),c=n(20235),s=n(40419),u=n(27061),d=n(86608),m=n(48804),f=n(17980),g=n(74686),p=n(82870),h=n(49172),b=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,l=e.value,r=e.getValueIndex,c=e.motionName,s=e.onMotionStart,d=e.onMotionEnd,m=e.direction,f=e.vertical,y=void 0!==f&&f,w=o.useRef(null),O=o.useState(l),A=(0,a.A)(O,2),j=A[0],S=A[1],x=function(e){var o,l=r(e),i=null==(o=n.current)?void 0:o.querySelectorAll(".".concat(t,"-item"))[l];return(null==i?void 0:i.offsetParent)&&i},C=o.useState(null),E=(0,a.A)(C,2),N=E[0],k=E[1],M=o.useState(null),H=(0,a.A)(M,2),R=H[0],I=H[1];(0,h.A)(function(){if(j!==l){var e=x(j),t=x(l),n=b(e,y),o=b(t,y);S(l),k(n),I(o),e&&t?s():d()}},[l]);var P=o.useMemo(function(){if(y){var e;return v(null!=(e=null==N?void 0:N.top)?e:0)}return"rtl"===m?v(-(null==N?void 0:N.right)):v(null==N?void 0:N.left)},[y,m,N]),z=o.useMemo(function(){if(y){var e;return v(null!=(e=null==R?void 0:R.top)?e:0)}return"rtl"===m?v(-(null==R?void 0:R.right)):v(null==R?void 0:R.left)},[y,m,R]);return N&&R?o.createElement(p.Ay,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return y?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return y?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){k(null),I(null),d()}},function(e,n){var l=e.className,r=e.style,a=(0,u.A)((0,u.A)({},r),{},{"--thumb-start-left":P,"--thumb-start-width":v(null==N?void 0:N.width),"--thumb-active-left":z,"--thumb-active-width":v(null==R?void 0:R.width),"--thumb-start-top":P,"--thumb-start-height":v(null==N?void 0:N.height),"--thumb-active-top":z,"--thumb-active-height":v(null==R?void 0:R.height)}),c={ref:(0,g.K4)(w,n),style:a,className:i()("".concat(t,"-thumb"),l)};return o.createElement("div",c)}):null}var w=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"],O=function(e){var t=e.prefixCls,n=e.className,l=e.disabled,r=e.checked,a=e.label,c=e.title,u=e.value,d=e.name,m=e.onChange,f=e.onFocus,g=e.onBlur,p=e.onKeyDown,h=e.onKeyUp,b=e.onMouseDown;return o.createElement("label",{className:i()(n,(0,s.A)({},"".concat(t,"-item-disabled"),l)),onMouseDown:b},o.createElement("input",{name:d,className:"".concat(t,"-item-input"),type:"radio",disabled:l,checked:r,onChange:function(e){l||m(e,u)},onFocus:f,onBlur:g,onKeyDown:p,onKeyUp:h}),o.createElement("div",{className:"".concat(t,"-item-label"),title:c,"aria-selected":r},a))},A=o.forwardRef(function(e,t){var n,l,p=e.prefixCls,h=void 0===p?"rc-segmented":p,b=e.direction,v=e.vertical,A=e.options,j=void 0===A?[]:A,S=e.disabled,x=e.defaultValue,C=e.value,E=e.name,N=e.onChange,k=e.className,M=e.motionName,H=(0,c.A)(e,w),R=o.useRef(null),I=o.useMemo(function(){return(0,g.K4)(R,t)},[R,t]),P=o.useMemo(function(){return j.map(function(e){if("object"===(0,d.A)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.A)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}(e);return(0,u.A)((0,u.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[j]),z=(0,m.A)(null==(n=P[0])?void 0:n.value,{value:C,defaultValue:x}),W=(0,a.A)(z,2),B=W[0],F=W[1],T=o.useState(!1),D=(0,a.A)(T,2),_=D[0],V=D[1],L=function(e,t){F(t),null==N||N(t)},X=(0,f.A)(H,["children"]),K=o.useState(!1),q=(0,a.A)(K,2),U=q[0],Y=q[1],G=o.useState(!1),$=(0,a.A)(G,2),Q=$[0],Z=$[1],J=function(){Z(!0)},ee=function(){Z(!1)},et=function(){Y(!1)},en=function(e){"Tab"===e.key&&Y(!0)},eo=function(e){var t=P.findIndex(function(e){return e.value===B}),n=P.length,o=P[(t+e+n)%n];o&&(F(o.value),null==N||N(o.value))},el=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":eo(-1);break;case"ArrowRight":case"ArrowDown":eo(1)}};return o.createElement("div",(0,r.A)({role:"radiogroup","aria-label":"segmented control",tabIndex:S?void 0:0},X,{className:i()(h,(l={},(0,s.A)(l,"".concat(h,"-rtl"),"rtl"===b),(0,s.A)(l,"".concat(h,"-disabled"),S),(0,s.A)(l,"".concat(h,"-vertical"),v),l),void 0===k?"":k),ref:I}),o.createElement("div",{className:"".concat(h,"-group")},o.createElement(y,{vertical:v,prefixCls:h,value:B,containerRef:R,motionName:"".concat(h,"-").concat(void 0===M?"thumb-motion":M),direction:b,getValueIndex:function(e){return P.findIndex(function(t){return t.value===e})},onMotionStart:function(){V(!0)},onMotionEnd:function(){V(!1)}}),P.map(function(e){var t;return o.createElement(O,(0,r.A)({},e,{name:E,key:e.value,prefixCls:h,className:i()(e.className,"".concat(h,"-item"),(t={},(0,s.A)(t,"".concat(h,"-item-selected"),e.value===B&&!_),(0,s.A)(t,"".concat(h,"-item-focused"),Q&&U&&e.value===B),t)),checked:e.value===B,onChange:L,onFocus:J,onBlur:ee,onKeyDown:el,onKeyUp:en,onMouseDown:et,disabled:!!S||!!e.disabled}))})))}),j=n(32934),S=n(15982),x=n(9836),C=n(99841),E=n(18184),N=n(45431),k=n(61388);function M(e,t){return{["".concat(e,", ").concat(e,":hover, ").concat(e,":focus")]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function H(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let R=Object.assign({overflow:"hidden"},E.L9),I=(0,N.OF)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return(e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),l=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)}),(0,E.K8)(e)),{["".concat(t,"-group")]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},["&".concat(t,"-rtl")]:{direction:"rtl"},["&".concat(t,"-vertical")]:{["".concat(t,"-group")]:{flexDirection:"column"},["".concat(t,"-thumb")]:{width:"100%",height:0,padding:"0 ".concat((0,C.zA)(e.paddingXXS))}},["&".concat(t,"-block")]:{display:"flex"},["&".concat(t,"-block ").concat(t,"-item")]:{flex:1,minWidth:0},["".concat(t,"-item")]:{position:"relative",textAlign:"center",cursor:"pointer",transition:"color ".concat(e.motionDurationMid),borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},H(e)),{color:e.itemSelectedColor}),"&-focused":(0,E.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:"opacity ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),pointerEvents:"none"},["&:not(".concat(t,"-item-selected):not(").concat(t,"-item-disabled)")]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,C.zA)(n),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontal))},R),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},["".concat(t,"-thumb")]:Object.assign(Object.assign({},H(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:"".concat((0,C.zA)(e.paddingXXS)," 0"),borderRadius:e.borderRadiusSM,["& ~ ".concat(t,"-item:not(").concat(t,"-item-selected):not(").concat(t,"-item-disabled)::after")]:{backgroundColor:"transparent"}}),["&".concat(t,"-lg")]:{borderRadius:e.borderRadiusLG,["".concat(t,"-item-label")]:{minHeight:o,lineHeight:(0,C.zA)(o),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontal)),fontSize:e.fontSizeLG},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadius}},["&".concat(t,"-sm")]:{borderRadius:e.borderRadiusSM,["".concat(t,"-item-label")]:{minHeight:l,lineHeight:(0,C.zA)(l),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontalSM))},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadiusXS}}}),M("&-disabled ".concat(t,"-item"),e)),M("".concat(t,"-item-disabled"),e)),{["".concat(t,"-thumb-motion-appear-active")]:{transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", width ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),willChange:"transform, width"},["&".concat(t,"-shape-round")]:{borderRadius:9999,["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:9999}}})}})((0,k.oX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:o,colorBgElevated:l,colorFill:i,lineWidthBold:r,colorBgLayout:a}=e;return{trackPadding:r,trackBg:a,itemColor:t,itemHoverColor:n,itemHoverBg:o,itemSelectedBg:l,itemActiveBg:i,itemSelectedColor:n}});var P=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let z=o.forwardRef((e,t)=>{let n=(0,j.A)(),{prefixCls:l,className:r,rootClassName:a,block:c,options:s=[],size:u="middle",style:d,vertical:m,shape:f="default",name:g=n}=e,p=P(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:h,direction:b,className:v,style:y}=(0,S.TP)("segmented"),w=h("segmented",l),[O,C,E]=I(w),N=(0,x.A)(u),k=o.useMemo(()=>s.map(e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},P(e,["icon","label"])),{label:o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(w,"-item-icon")},t),n&&o.createElement("span",null,n))})}return e}),[s,w]),M=i()(r,a,v,{["".concat(w,"-block")]:c,["".concat(w,"-sm")]:"small"===N,["".concat(w,"-lg")]:"large"===N,["".concat(w,"-vertical")]:m,["".concat(w,"-shape-").concat(f)]:"round"===f},C,E),H=Object.assign(Object.assign({},y),d);return O(o.createElement(A,Object.assign({},p,{name:g,className:M,style:H,options:k,ref:t,prefixCls:w,direction:b,vertical:m})))})},27212:(e,t,n)=>{n.d(t,{A:()=>j});var o=n(12115),l=n(63583),i=n(29300),r=n.n(i),a=n(48804),c=n(17980),s=n(15982),u=n(56200),d=n(25374),m=n(44186),f=n(98696),g=n(37120),p=n(8530),h=n(16025),b=n(79092);let v=(0,n(45431).OF)("Popconfirm",e=>(e=>{let{componentCls:t,iconCls:n,antCls:o,zIndexPopup:l,colorText:i,colorWarning:r,marginXXS:a,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:l,["&".concat(o,"-popover")]:{fontSize:s},["".concat(t,"-message")]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(t,"-message-icon ").concat(n)]:{color:r,fontSize:s,lineHeight:1,marginInlineEnd:c},["".concat(t,"-title")]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},["".concat(t,"-description")]:{marginTop:a,color:i}},["".concat(t,"-buttons")]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}})(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1});var y=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let w=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:i,title:r,description:a,cancelText:c,okText:u,okType:b="primary",icon:v=o.createElement(l.A,null),showCancel:y=!0,close:w,onConfirm:O,onCancel:A,onPopupClick:j}=e,{getPrefixCls:S}=o.useContext(s.QO),[x]=(0,p.A)("Popconfirm",h.A.Popconfirm),C=(0,m.b)(r),E=(0,m.b)(a);return o.createElement("div",{className:"".concat(t,"-inner-content"),onClick:j},o.createElement("div",{className:"".concat(t,"-message")},v&&o.createElement("span",{className:"".concat(t,"-message-icon")},v),o.createElement("div",{className:"".concat(t,"-message-text")},C&&o.createElement("div",{className:"".concat(t,"-title")},C),E&&o.createElement("div",{className:"".concat(t,"-description")},E))),o.createElement("div",{className:"".concat(t,"-buttons")},y&&o.createElement(f.Ay,Object.assign({onClick:A,size:"small"},i),c||(null==x?void 0:x.cancelText)),o.createElement(d.A,{buttonProps:Object.assign(Object.assign({size:"small"},(0,g.DU)(b)),n),actionFn:O,close:w,prefixCls:S("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==x?void 0:x.okText))))};var O=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let A=o.forwardRef((e,t)=>{var n,i;let{prefixCls:d,placement:m="top",trigger:f="click",okType:g="primary",icon:p=o.createElement(l.A,null),children:h,overlayClassName:b,onOpenChange:y,onVisibleChange:A,overlayStyle:j,styles:S,classNames:x}=e,C=O(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:E,className:N,style:k,classNames:M,styles:H}=(0,s.TP)("popconfirm"),[R,I]=(0,a.A)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(i=e.defaultOpen)?i:e.defaultVisible}),P=(e,t)=>{I(e,!0),null==A||A(e),null==y||y(e,t)},z=E("popconfirm",d),W=r()(z,N,b,M.root,null==x?void 0:x.root),B=r()(M.body,null==x?void 0:x.body),[F]=v(z);return F(o.createElement(u.A,Object.assign({},(0,c.A)(C,["title"]),{trigger:f,placement:m,onOpenChange:(t,n)=>{let{disabled:o=!1}=e;o||P(t,n)},open:R,ref:t,classNames:{root:W,body:B},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},H.root),k),j),null==S?void 0:S.root),body:Object.assign(Object.assign({},H.body),null==S?void 0:S.body)},content:o.createElement(w,Object.assign({okType:g,icon:p},e,{prefixCls:z,close:e=>{P(!1,e)},onConfirm:t=>{var n;return null==(n=e.onConfirm)?void 0:n.call(void 0,t)},onCancel:t=>{var n;P(!1,t),null==(n=e.onCancel)||n.call(void 0,t)}})),"data-popover-inject":!0}),h))});A._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:l,style:i}=e,a=y(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=o.useContext(s.QO),u=c("popconfirm",t),[d]=v(u);return d(o.createElement(b.Ay,{placement:n,className:r()(u,l),style:i,content:o.createElement(w,Object.assign({prefixCls:u},a))}))};let j=A},33425:(e,t,n)=>{n.d(t,{$r:()=>l,BS:()=>r,kV:()=>i});let o=["parentNode"];function l(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function i(e,t){if(!e.length)return;let n=e.join("_");return t?"".concat(t,"_").concat(n):o.includes(n)?"".concat("form_item","_").concat(n):n}function r(e,t,n,o,l,i){let r=o;return void 0!==i?r=i:n.validating?r="validating":e.length?r="error":t.length?r="warning":(n.touched||l&&n.validated)&&(r="success"),r}},71494:(e,t,n)=>{n.d(t,{A:()=>o});function o(e){if(null==e)throw TypeError("Cannot destructure "+e)}},96316:(e,t,n)=>{n.d(t,{A:()=>h,H:()=>g});var o=n(12115),l=n(74251),i=n(41197);let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(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&&r=t&&a>=n?i-e-o:r>t&&an?r-t+l:0,u=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},d=(e,t)=>{var n,o,l,i;if("undefined"==typeof document)return[];let{scrollMode:a,block:d,inline:m,boundary:f,skipOverflowHiddenElements:g}=t,p="function"==typeof f?f:e=>e!==f;if(!r(e))throw TypeError("Invalid target");let h=document.scrollingElement||document.documentElement,b=[],v=e;for(;r(v)&&p(v);){if((v=u(v))===h){b.push(v);break}null!=v&&v===document.body&&c(v)&&!c(document.documentElement)||null!=v&&c(v,g)&&b.push(v)}let y=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:O,scrollY:A}=window,{height:j,width:S,top:x,right:C,bottom:E,left:N}=e.getBoundingClientRect(),{top:k,right:M,bottom:H,left:R}=(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),I="start"===d||"nearest"===d?x-k:"end"===d?E+H:x+j/2-k+H,P="center"===m?N+S/2-R+M:"end"===m?C+M:N-R,z=[];for(let e=0;e=0&&N>=0&&E<=w&&C<=y&&(t===h&&!c(t)||x>=l&&E<=r&&N>=u&&C<=i))break;let f=getComputedStyle(t),g=parseInt(f.borderLeftWidth,10),p=parseInt(f.borderTopWidth,10),v=parseInt(f.borderRightWidth,10),k=parseInt(f.borderBottomWidth,10),M=0,H=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-v:0,W="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-k:0,B="offsetWidth"in t?0===t.offsetWidth?0:o/t.offsetWidth:0,F="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)M="start"===d?I:"end"===d?I-w:"nearest"===d?s(A,A+w,w,p,k,A+I,A+I+j,j):I-w/2,H="start"===m?P:"center"===m?P-y/2:"end"===m?P-y:s(O,O+y,y,g,v,O+P,O+P+S,S),M=Math.max(0,M+A),H=Math.max(0,H+O);else{M="start"===d?I-l-p:"end"===d?I-r+k+W:"nearest"===d?s(l,r,n,p,k+W,I,I+j,j):I-(l+n/2)+W/2,H="start"===m?P-u-g:"center"===m?P-(u+o/2)+R/2:"end"===m?P-i+v+R:s(u,i,o,g,v+R,P,P+S,S);let{scrollLeft:e,scrollTop:a}=t;M=0===F?0:Math.max(0,Math.min(a+M/F,t.scrollHeight-n/F+W)),H=0===B?0:Math.max(0,Math.min(e+H/B,t.scrollWidth-o/B+R)),I+=a-M,P+=e-H}z.push({el:t,top:M,left:H})}return z};var m=n(33425),f=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};function g(e){return(0,m.$r)(e).join("_")}function p(e,t){let n=t.getFieldInstance(e),o=(0,i.rb)(n);if(o)return o;let l=(0,m.kV)((0,m.$r)(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}function h(e){let[t]=(0,l.mN)(),n=o.useRef({}),i=o.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let o=g(e);t?n.current[o]=t:delete n.current[o]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{focus:n}=t,o=f(t,["focus"]),l=p(e,i);l&&(!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(d(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:r}of d(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=i-n.top+n.bottom,t=r-n.left+n.right;l.scroll({top:e,left:t,behavior:o})}}(l,Object.assign({scrollMode:"if-needed",block:"nearest"},o)),n&&i.focusField(e))},focusField:e=>{var t,n;let o=i.getFieldInstance(e);"function"==typeof(null==o?void 0:o.focus)?o.focus():null==(n=null==(t=p(e,i))?void 0:t.focus)||n.call(t)},getFieldInstance:e=>{let t=g(e);return n.current[t]}}),[e,t]);return[i]}},98527:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8608],{3795:(e,t,n)=>{n.d(t,{A:()=>z});var o=n(12115),l=n(29300),i=n.n(l),r=n(79630),a=n(21858),c=n(20235),s=n(40419),u=n(27061),d=n(86608),m=n(48804),f=n(17980),g=n(74686),p=n(82870),h=n(26791),b=function(e,t){if(!e)return null;var n={left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth,top:e.offsetTop,bottom:e.parentElement.clientHeight-e.clientHeight-e.offsetTop,height:e.clientHeight};return t?{left:0,right:0,width:0,top:n.top,bottom:n.bottom,height:n.height}:{left:n.left,right:n.right,width:n.width,top:0,bottom:0,height:0}},v=function(e){return void 0!==e?"".concat(e,"px"):void 0};function y(e){var t=e.prefixCls,n=e.containerRef,l=e.value,r=e.getValueIndex,c=e.motionName,s=e.onMotionStart,d=e.onMotionEnd,m=e.direction,f=e.vertical,y=void 0!==f&&f,w=o.useRef(null),O=o.useState(l),A=(0,a.A)(O,2),j=A[0],S=A[1],x=function(e){var o,l=r(e),i=null==(o=n.current)?void 0:o.querySelectorAll(".".concat(t,"-item"))[l];return(null==i?void 0:i.offsetParent)&&i},C=o.useState(null),E=(0,a.A)(C,2),N=E[0],k=E[1],M=o.useState(null),H=(0,a.A)(M,2),R=H[0],I=H[1];(0,h.A)(function(){if(j!==l){var e=x(j),t=x(l),n=b(e,y),o=b(t,y);S(l),k(n),I(o),e&&t?s():d()}},[l]);var P=o.useMemo(function(){if(y){var e;return v(null!=(e=null==N?void 0:N.top)?e:0)}return"rtl"===m?v(-(null==N?void 0:N.right)):v(null==N?void 0:N.left)},[y,m,N]),z=o.useMemo(function(){if(y){var e;return v(null!=(e=null==R?void 0:R.top)?e:0)}return"rtl"===m?v(-(null==R?void 0:R.right)):v(null==R?void 0:R.left)},[y,m,R]);return N&&R?o.createElement(p.Ay,{visible:!0,motionName:c,motionAppear:!0,onAppearStart:function(){return y?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return y?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){k(null),I(null),d()}},function(e,n){var l=e.className,r=e.style,a=(0,u.A)((0,u.A)({},r),{},{"--thumb-start-left":P,"--thumb-start-width":v(null==N?void 0:N.width),"--thumb-active-left":z,"--thumb-active-width":v(null==R?void 0:R.width),"--thumb-start-top":P,"--thumb-start-height":v(null==N?void 0:N.height),"--thumb-active-top":z,"--thumb-active-height":v(null==R?void 0:R.height)}),c={ref:(0,g.K4)(w,n),style:a,className:i()("".concat(t,"-thumb"),l)};return o.createElement("div",c)}):null}var w=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"],O=function(e){var t=e.prefixCls,n=e.className,l=e.disabled,r=e.checked,a=e.label,c=e.title,u=e.value,d=e.name,m=e.onChange,f=e.onFocus,g=e.onBlur,p=e.onKeyDown,h=e.onKeyUp,b=e.onMouseDown;return o.createElement("label",{className:i()(n,(0,s.A)({},"".concat(t,"-item-disabled"),l)),onMouseDown:b},o.createElement("input",{name:d,className:"".concat(t,"-item-input"),type:"radio",disabled:l,checked:r,onChange:function(e){l||m(e,u)},onFocus:f,onBlur:g,onKeyDown:p,onKeyUp:h}),o.createElement("div",{className:"".concat(t,"-item-label"),title:c,"aria-selected":r},a))},A=o.forwardRef(function(e,t){var n,l,p=e.prefixCls,h=void 0===p?"rc-segmented":p,b=e.direction,v=e.vertical,A=e.options,j=void 0===A?[]:A,S=e.disabled,x=e.defaultValue,C=e.value,E=e.name,N=e.onChange,k=e.className,M=e.motionName,H=(0,c.A)(e,w),R=o.useRef(null),I=o.useMemo(function(){return(0,g.K4)(R,t)},[R,t]),P=o.useMemo(function(){return j.map(function(e){if("object"===(0,d.A)(e)&&null!==e){var t=function(e){if(void 0!==e.title)return e.title;if("object"!==(0,d.A)(e.label)){var t;return null==(t=e.label)?void 0:t.toString()}}(e);return(0,u.A)((0,u.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})},[j]),z=(0,m.A)(null==(n=P[0])?void 0:n.value,{value:C,defaultValue:x}),W=(0,a.A)(z,2),B=W[0],F=W[1],T=o.useState(!1),D=(0,a.A)(T,2),_=D[0],V=D[1],L=function(e,t){F(t),null==N||N(t)},X=(0,f.A)(H,["children"]),K=o.useState(!1),q=(0,a.A)(K,2),U=q[0],Y=q[1],G=o.useState(!1),$=(0,a.A)(G,2),Q=$[0],Z=$[1],J=function(){Z(!0)},ee=function(){Z(!1)},et=function(){Y(!1)},en=function(e){"Tab"===e.key&&Y(!0)},eo=function(e){var t=P.findIndex(function(e){return e.value===B}),n=P.length,o=P[(t+e+n)%n];o&&(F(o.value),null==N||N(o.value))},el=function(e){switch(e.key){case"ArrowLeft":case"ArrowUp":eo(-1);break;case"ArrowRight":case"ArrowDown":eo(1)}};return o.createElement("div",(0,r.A)({role:"radiogroup","aria-label":"segmented control",tabIndex:S?void 0:0},X,{className:i()(h,(l={},(0,s.A)(l,"".concat(h,"-rtl"),"rtl"===b),(0,s.A)(l,"".concat(h,"-disabled"),S),(0,s.A)(l,"".concat(h,"-vertical"),v),l),void 0===k?"":k),ref:I}),o.createElement("div",{className:"".concat(h,"-group")},o.createElement(y,{vertical:v,prefixCls:h,value:B,containerRef:R,motionName:"".concat(h,"-").concat(void 0===M?"thumb-motion":M),direction:b,getValueIndex:function(e){return P.findIndex(function(t){return t.value===e})},onMotionStart:function(){V(!0)},onMotionEnd:function(){V(!1)}}),P.map(function(e){var t;return o.createElement(O,(0,r.A)({},e,{name:E,key:e.value,prefixCls:h,className:i()(e.className,"".concat(h,"-item"),(t={},(0,s.A)(t,"".concat(h,"-item-selected"),e.value===B&&!_),(0,s.A)(t,"".concat(h,"-item-focused"),Q&&U&&e.value===B),t)),checked:e.value===B,onChange:L,onFocus:J,onBlur:ee,onKeyDown:el,onKeyUp:en,onMouseDown:et,disabled:!!S||!!e.disabled}))})))}),j=n(32934),S=n(15982),x=n(9836),C=n(99841),E=n(18184),N=n(45431),k=n(61388);function M(e,t){return{["".concat(e,", ").concat(e,":hover, ").concat(e,":focus")]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function H(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}let R=Object.assign({overflow:"hidden"},E.L9),I=(0,N.OF)("Segmented",e=>{let{lineWidth:t,calc:n}=e;return(e=>{let{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),l=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)}),(0,E.K8)(e)),{["".concat(t,"-group")]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},["&".concat(t,"-rtl")]:{direction:"rtl"},["&".concat(t,"-vertical")]:{["".concat(t,"-group")]:{flexDirection:"column"},["".concat(t,"-thumb")]:{width:"100%",height:0,padding:"0 ".concat((0,C.zA)(e.paddingXXS))}},["&".concat(t,"-block")]:{display:"flex"},["&".concat(t,"-block ").concat(t,"-item")]:{flex:1,minWidth:0},["".concat(t,"-item")]:{position:"relative",textAlign:"center",cursor:"pointer",transition:"color ".concat(e.motionDurationMid),borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},H(e)),{color:e.itemSelectedColor}),"&-focused":(0,E.jk)(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:"opacity ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),pointerEvents:"none"},["&:not(".concat(t,"-item-selected):not(").concat(t,"-item-disabled)")]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,C.zA)(n),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontal))},R),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},["".concat(t,"-thumb")]:Object.assign(Object.assign({},H(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:"".concat((0,C.zA)(e.paddingXXS)," 0"),borderRadius:e.borderRadiusSM,["& ~ ".concat(t,"-item:not(").concat(t,"-item-selected):not(").concat(t,"-item-disabled)::after")]:{backgroundColor:"transparent"}}),["&".concat(t,"-lg")]:{borderRadius:e.borderRadiusLG,["".concat(t,"-item-label")]:{minHeight:o,lineHeight:(0,C.zA)(o),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontal)),fontSize:e.fontSizeLG},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadius}},["&".concat(t,"-sm")]:{borderRadius:e.borderRadiusSM,["".concat(t,"-item-label")]:{minHeight:l,lineHeight:(0,C.zA)(l),padding:"0 ".concat((0,C.zA)(e.segmentedPaddingHorizontalSM))},["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:e.borderRadiusXS}}}),M("&-disabled ".concat(t,"-item"),e)),M("".concat(t,"-item-disabled"),e)),{["".concat(t,"-thumb-motion-appear-active")]:{transition:"transform ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", width ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),willChange:"transform, width"},["&".concat(t,"-shape-round")]:{borderRadius:9999,["".concat(t,"-item, ").concat(t,"-thumb")]:{borderRadius:9999}}})}})((0,k.oX)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()}))},e=>{let{colorTextLabel:t,colorText:n,colorFillSecondary:o,colorBgElevated:l,colorFill:i,lineWidthBold:r,colorBgLayout:a}=e;return{trackPadding:r,trackBg:a,itemColor:t,itemHoverColor:n,itemHoverBg:o,itemSelectedBg:l,itemActiveBg:i,itemSelectedColor:n}});var P=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let z=o.forwardRef((e,t)=>{let n=(0,j.A)(),{prefixCls:l,className:r,rootClassName:a,block:c,options:s=[],size:u="middle",style:d,vertical:m,shape:f="default",name:g=n}=e,p=P(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:h,direction:b,className:v,style:y}=(0,S.TP)("segmented"),w=h("segmented",l),[O,C,E]=I(w),N=(0,x.A)(u),k=o.useMemo(()=>s.map(e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){let{icon:t,label:n}=e;return Object.assign(Object.assign({},P(e,["icon","label"])),{label:o.createElement(o.Fragment,null,o.createElement("span",{className:"".concat(w,"-item-icon")},t),n&&o.createElement("span",null,n))})}return e}),[s,w]),M=i()(r,a,v,{["".concat(w,"-block")]:c,["".concat(w,"-sm")]:"small"===N,["".concat(w,"-lg")]:"large"===N,["".concat(w,"-vertical")]:m,["".concat(w,"-shape-").concat(f)]:"round"===f},C,E),H=Object.assign(Object.assign({},y),d);return O(o.createElement(A,Object.assign({},p,{name:g,className:M,style:H,options:k,ref:t,prefixCls:w,direction:b,vertical:m})))})},27212:(e,t,n)=>{n.d(t,{A:()=>j});var o=n(12115),l=n(63583),i=n(29300),r=n.n(i),a=n(48804),c=n(17980),s=n(15982),u=n(56200),d=n(25374),m=n(44186),f=n(98696),g=n(37120),p=n(8530),h=n(16025),b=n(79092);let v=(0,n(45431).OF)("Popconfirm",e=>(e=>{let{componentCls:t,iconCls:n,antCls:o,zIndexPopup:l,colorText:i,colorWarning:r,marginXXS:a,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:l,["&".concat(o,"-popover")]:{fontSize:s},["".concat(t,"-message")]:{marginBottom:c,display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(t,"-message-icon ").concat(n)]:{color:r,fontSize:s,lineHeight:1,marginInlineEnd:c},["".concat(t,"-title")]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},["".concat(t,"-description")]:{marginTop:a,color:i}},["".concat(t,"-buttons")]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}})(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1});var y=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let w=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:i,title:r,description:a,cancelText:c,okText:u,okType:b="primary",icon:v=o.createElement(l.A,null),showCancel:y=!0,close:w,onConfirm:O,onCancel:A,onPopupClick:j}=e,{getPrefixCls:S}=o.useContext(s.QO),[x]=(0,p.A)("Popconfirm",h.A.Popconfirm),C=(0,m.b)(r),E=(0,m.b)(a);return o.createElement("div",{className:"".concat(t,"-inner-content"),onClick:j},o.createElement("div",{className:"".concat(t,"-message")},v&&o.createElement("span",{className:"".concat(t,"-message-icon")},v),o.createElement("div",{className:"".concat(t,"-message-text")},C&&o.createElement("div",{className:"".concat(t,"-title")},C),E&&o.createElement("div",{className:"".concat(t,"-description")},E))),o.createElement("div",{className:"".concat(t,"-buttons")},y&&o.createElement(f.Ay,Object.assign({onClick:A,size:"small"},i),c||(null==x?void 0:x.cancelText)),o.createElement(d.A,{buttonProps:Object.assign(Object.assign({size:"small"},(0,g.DU)(b)),n),actionFn:O,close:w,prefixCls:S("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==x?void 0:x.okText))))};var O=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};let A=o.forwardRef((e,t)=>{var n,i;let{prefixCls:d,placement:m="top",trigger:f="click",okType:g="primary",icon:p=o.createElement(l.A,null),children:h,overlayClassName:b,onOpenChange:y,onVisibleChange:A,overlayStyle:j,styles:S,classNames:x}=e,C=O(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:E,className:N,style:k,classNames:M,styles:H}=(0,s.TP)("popconfirm"),[R,I]=(0,a.A)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(i=e.defaultOpen)?i:e.defaultVisible}),P=(e,t)=>{I(e,!0),null==A||A(e),null==y||y(e,t)},z=E("popconfirm",d),W=r()(z,N,b,M.root,null==x?void 0:x.root),B=r()(M.body,null==x?void 0:x.body),[F]=v(z);return F(o.createElement(u.A,Object.assign({},(0,c.A)(C,["title"]),{trigger:f,placement:m,onOpenChange:(t,n)=>{let{disabled:o=!1}=e;o||P(t,n)},open:R,ref:t,classNames:{root:W,body:B},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},H.root),k),j),null==S?void 0:S.root),body:Object.assign(Object.assign({},H.body),null==S?void 0:S.body)},content:o.createElement(w,Object.assign({okType:g,icon:p},e,{prefixCls:z,close:e=>{P(!1,e)},onConfirm:t=>{var n;return null==(n=e.onConfirm)?void 0:n.call(void 0,t)},onCancel:t=>{var n;P(!1,t),null==(n=e.onCancel)||n.call(void 0,t)}})),"data-popover-inject":!0}),h))});A._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:l,style:i}=e,a=y(e,["prefixCls","placement","className","style"]),{getPrefixCls:c}=o.useContext(s.QO),u=c("popconfirm",t),[d]=v(u);return d(o.createElement(b.Ay,{placement:n,className:r()(u,l),style:i,content:o.createElement(w,Object.assign({prefixCls:u},a))}))};let j=A},33425:(e,t,n)=>{n.d(t,{$r:()=>l,BS:()=>r,kV:()=>i});let o=["parentNode"];function l(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function i(e,t){if(!e.length)return;let n=e.join("_");return t?"".concat(t,"_").concat(n):o.includes(n)?"".concat("form_item","_").concat(n):n}function r(e,t,n,o,l,i){let r=o;return void 0!==i?r=i:n.validating?r="validating":e.length?r="error":t.length?r="warning":(n.touched||l&&n.validated)&&(r="success"),r}},71494:(e,t,n)=>{n.d(t,{A:()=>o});function o(e){if(null==e)throw TypeError("Cannot destructure "+e)}},96316:(e,t,n)=>{n.d(t,{A:()=>h,H:()=>g});var o=n(12115),l=n(74251),i=n(41197);let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(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&&r=t&&a>=n?i-e-o:r>t&&an?r-t+l:0,u=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},d=(e,t)=>{var n,o,l,i;if("undefined"==typeof document)return[];let{scrollMode:a,block:d,inline:m,boundary:f,skipOverflowHiddenElements:g}=t,p="function"==typeof f?f:e=>e!==f;if(!r(e))throw TypeError("Invalid target");let h=document.scrollingElement||document.documentElement,b=[],v=e;for(;r(v)&&p(v);){if((v=u(v))===h){b.push(v);break}null!=v&&v===document.body&&c(v)&&!c(document.documentElement)||null!=v&&c(v,g)&&b.push(v)}let y=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,w=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:O,scrollY:A}=window,{height:j,width:S,top:x,right:C,bottom:E,left:N}=e.getBoundingClientRect(),{top:k,right:M,bottom:H,left:R}=(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),I="start"===d||"nearest"===d?x-k:"end"===d?E+H:x+j/2-k+H,P="center"===m?N+S/2-R+M:"end"===m?C+M:N-R,z=[];for(let e=0;e=0&&N>=0&&E<=w&&C<=y&&(t===h&&!c(t)||x>=l&&E<=r&&N>=u&&C<=i))break;let f=getComputedStyle(t),g=parseInt(f.borderLeftWidth,10),p=parseInt(f.borderTopWidth,10),v=parseInt(f.borderRightWidth,10),k=parseInt(f.borderBottomWidth,10),M=0,H=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-v:0,W="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-k:0,B="offsetWidth"in t?0===t.offsetWidth?0:o/t.offsetWidth:0,F="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(h===t)M="start"===d?I:"end"===d?I-w:"nearest"===d?s(A,A+w,w,p,k,A+I,A+I+j,j):I-w/2,H="start"===m?P:"center"===m?P-y/2:"end"===m?P-y:s(O,O+y,y,g,v,O+P,O+P+S,S),M=Math.max(0,M+A),H=Math.max(0,H+O);else{M="start"===d?I-l-p:"end"===d?I-r+k+W:"nearest"===d?s(l,r,n,p,k+W,I,I+j,j):I-(l+n/2)+W/2,H="start"===m?P-u-g:"center"===m?P-(u+o/2)+R/2:"end"===m?P-i+v+R:s(u,i,o,g,v+R,P,P+S,S);let{scrollLeft:e,scrollTop:a}=t;M=0===F?0:Math.max(0,Math.min(a+M/F,t.scrollHeight-n/F+W)),H=0===B?0:Math.max(0,Math.min(e+H/B,t.scrollWidth-o/B+R)),I+=a-M,P+=e-H}z.push({el:t,top:M,left:H})}return z};var m=n(33425),f=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 l=0,o=Object.getOwnPropertySymbols(e);lt.indexOf(o[l])&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(n[o[l]]=e[o[l]]);return n};function g(e){return(0,m.$r)(e).join("_")}function p(e,t){let n=t.getFieldInstance(e),o=(0,i.rb)(n);if(o)return o;let l=(0,m.kV)((0,m.$r)(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}function h(e){let[t]=(0,l.mN)(),n=o.useRef({}),i=o.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let o=g(e);t?n.current[o]=t:delete n.current[o]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{focus:n}=t,o=f(t,["focus"]),l=p(e,i);l&&(!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(d(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:i,left:r}of d(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=i-n.top+n.bottom,t=r-n.left+n.right;l.scroll({top:e,left:t,behavior:o})}}(l,Object.assign({scrollMode:"if-needed",block:"nearest"},o)),n&&i.focusField(e))},focusField:e=>{var t,n;let o=i.getFieldInstance(e);"function"==typeof(null==o?void 0:o.focus)?o.focus():null==(n=null==(t=p(e,i))?void 0:t.focus)||n.call(t)},getFieldInstance:e=>{let t=g(e);return n.current[t]}}),[e,t]);return[i]}},98527:(e,t,n)=>{n.d(t,{A:()=>o});let o={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"}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-aa02cdd176501e2b.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-da1a30adc2b03c76.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-aa02cdd176501e2b.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-da1a30adc2b03c76.js index cd618ee9..d86684c6 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-aa02cdd176501e2b.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-da1a30adc2b03c76.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8674],{21103:(e,t,n)=>{n.d(t,{A:()=>A});var r=n(12115),o=n(29300),l=n.n(o),a=n(52440),c=n(74686),i=n(47195),s=n(3617),d=n(15982),u=n(44494),f=n(68151),p=n(63568);let m=r.createContext(null);var b=n(15542),h=n(25650),g=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 v=r.forwardRef((e,t)=>{var n;let{prefixCls:o,className:v,rootClassName:x,children:y,indeterminate:w=!1,style:C,onMouseEnter:A,onMouseLeave:E,skipGroup:S=!1,disabled:k}=e,O=g(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:N,direction:I,checkbox:R}=r.useContext(d.QO),z=r.useContext(m),{isFormItemInput:j}=r.useContext(p.$W),M=r.useContext(u.A),P=null!=(n=(null==z?void 0:z.disabled)||k)?n:M,B=r.useRef(O.value),T=r.useRef(null),L=(0,c.K4)(t,T);r.useEffect(()=>{null==z||z.registerValue(O.value)},[]),r.useEffect(()=>{if(!S)return O.value!==B.current&&(null==z||z.cancelValue(B.current),null==z||z.registerValue(O.value),B.current=O.value),()=>null==z?void 0:z.cancelValue(O.value)},[O.value]),r.useEffect(()=>{var e;(null==(e=T.current)?void 0:e.input)&&(T.current.input.indeterminate=w)},[w]);let H=N("checkbox",o),K=(0,f.A)(H),[W,_,D]=(0,b.Ay)(H,K),F=Object.assign({},O);z&&!S&&(F.onChange=function(){for(var e=arguments.length,t=Array(e),n=0;nt.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 C=r.forwardRef((e,t)=>{let{defaultValue:n,children:o,options:a=[],prefixCls:c,className:i,rootClassName:s,style:u,onChange:p}=e,h=w(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:g,direction:C}=r.useContext(d.QO),[A,E]=r.useState(h.value||n||[]),[S,k]=r.useState([]);r.useEffect(()=>{"value"in h&&E(h.value||[])},[h.value]);let O=r.useMemo(()=>a.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[a]),N=e=>{k(t=>t.filter(t=>t!==e))},I=e=>{k(t=>[].concat((0,x.A)(t),[e]))},R=e=>{let t=A.indexOf(e.value),n=(0,x.A)(A);-1===t?n.push(e.value):n.splice(t,1),"value"in h||E(n),null==p||p(n.filter(e=>S.includes(e)).sort((e,t)=>O.findIndex(t=>t.value===e)-O.findIndex(e=>e.value===t)))},z=g("checkbox",c),j="".concat(z,"-group"),M=(0,f.A)(z),[P,B,T]=(0,b.Ay)(z,M),L=(0,y.A)(h,["value","disabled"]),H=a.length?O.map(e=>r.createElement(v,{prefixCls:z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:h.disabled,value:e.value,checked:A.includes(e.value),onChange:e.onChange,className:l()("".concat(j,"-item"),e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,K=r.useMemo(()=>({toggleOption:R,value:A,disabled:h.disabled,name:h.name,registerValue:I,cancelValue:N}),[R,A,h.disabled,h.name,I,N]),W=l()(j,{["".concat(j,"-rtl")]:"rtl"===C},i,s,T,M,B);return P(r.createElement("div",Object.assign({className:W,style:u},L,{ref:t}),r.createElement(m.Provider,{value:K},H)))});v.Group=C,v.__ANT_CHECKBOX=!0;let A=v},22971:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(16962),o=n(28041);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:l,duration:a=450}=t,c=n(),i=(0,o.A)(c),s=Date.now(),d=()=>{let t=Date.now()-s,n=function(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(t>a?a:t,i,e,a);(0,o.l)(c)?c.scrollTo(window.pageXOffset,n):c instanceof Document||"HTMLDocument"===c.constructor.name?c.documentElement.scrollTop=n:c.scrollTop=n,t{n.d(t,{A:()=>l});var r=n(12115),o=n(16962);function l(e){let t=r.useRef(null),n=()=>{o.A.cancel(t.current),t.current=null};return[()=>{n(),t.current=(0,o.A)(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),null==e||e(r)}]}},28041:(e,t,n)=>{function r(e){return null!=e&&e===e.window}n.d(t,{A:()=>o,l:()=>r});let o=e=>{var t,n;if("undefined"==typeof window)return 0;let o=0;return r(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:e instanceof HTMLElement?o=e.scrollTop:e&&(o=e.scrollTop),e&&!r(e)&&"number"!=typeof o&&(o=null==(n=(null!=(t=e.ownerDocument)?t:e).documentElement)?void 0:n.scrollTop),o}},40344:(e,t,n)=>{n.d(t,{Ay:()=>B});var r=n(12115),o=n(29300),l=n.n(o),a=n(32934),c=n(48804),i=n(40032),s=n(15982),d=n(68151),u=n(9836);let f=r.createContext(null),p=f.Provider,m=r.createContext(null),b=m.Provider;var h=n(52440),g=n(74686),v=n(47195),x=n(3617),y=n(25650),w=n(44494),C=n(63568),A=n(99841),E=n(18184),S=n(45431),k=n(61388);let O=(0,S.OF)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r="0 0 0 ".concat((0,A.zA)(n)," ").concat(t),o=(0,k.oX)(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[(e=>{let{componentCls:t,antCls:n}=e,r="".concat(t,"-group");return{[r]:Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-block",fontSize:0,["&".concat(r,"-rtl")]:{direction:"rtl"},["&".concat(r,"-block")]:{display:"flex"},["".concat(n,"-badge ").concat(n,"-badge-count")]:{zIndex:1},["> ".concat(n,"-badge:not(:first-child) > ").concat(n,"-button-wrapper")]:{borderInlineStart:"none"}})}})(o),(e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:l,motionDurationMid:a,motionEaseInOutCirc:c,colorBgContainer:i,colorBorder:s,lineWidth:d,colorBgContainerDisabled:u,colorTextDisabled:f,paddingXS:p,dotColorDisabled:m,lineType:b,radioColor:h,radioBgColor:g,calc:v}=e,x="".concat(t,"-inner"),y=v(o).sub(v(4).mul(2)),w=v(1).mul(o).equal({unit:!0});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},["&".concat(t,"-wrapper-rtl")]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},["".concat(t,"-checked::after")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:"".concat((0,A.zA)(d)," ").concat(b," ").concat(r),borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,E.dF)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),["".concat(t,"-wrapper:hover &,\n &:hover ").concat(x)]:{borderColor:r},["".concat(t,"-input:focus-visible + ").concat(x)]:(0,E.jk)(e),["".concat(t,":hover::after, ").concat(t,"-wrapper:hover &::after")]:{visibility:"visible"},["".concat(t,"-inner")]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:w,height:w,marginBlockStart:v(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:w,transform:"scale(0)",opacity:0,transition:"all ".concat(l," ").concat(c),content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:w,height:w,backgroundColor:i,borderColor:s,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:"all ".concat(a)},["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},["".concat(t,"-checked")]:{[x]:{borderColor:r,backgroundColor:g,"&::after":{transform:"scale(".concat(e.calc(e.dotSize).div(o).equal(),")"),opacity:1,transition:"all ".concat(l," ").concat(c)}}},["".concat(t,"-disabled")]:{cursor:"not-allowed",[x]:{backgroundColor:u,borderColor:s,cursor:"not-allowed","&::after":{backgroundColor:m}},["".concat(t,"-input")]:{cursor:"not-allowed"},["".concat(t,"-disabled + span")]:{color:f,cursor:"not-allowed"},["&".concat(t,"-checked")]:{[x]:{"&::after":{transform:"scale(".concat(v(y).div(o).equal(),")")}}}},["span".concat(t," + *")]:{paddingInlineStart:p,paddingInlineEnd:p}})}})(o),(e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:l,colorBorder:a,motionDurationMid:c,buttonPaddingInline:i,fontSize:s,buttonBg:d,fontSizeLG:u,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:b,borderRadiusSM:h,borderRadiusLG:g,buttonCheckedBg:v,buttonSolidCheckedColor:x,colorTextDisabled:y,colorBgContainerDisabled:w,buttonCheckedBgDisabled:C,buttonCheckedColorDisabled:S,colorPrimary:k,colorPrimaryHover:O,colorPrimaryActive:N,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:R,buttonSolidCheckedActiveBg:z,calc:j}=e;return{["".concat(r,"-button-wrapper")]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:i,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,A.zA)(j(n).sub(j(o).mul(2)).equal()),background:d,border:"".concat((0,A.zA)(o)," ").concat(l," ").concat(a),borderBlockStartWidth:j(o).add(.02).equal(),borderInlineEndWidth:o,cursor:"pointer",transition:["color ".concat(c),"background ".concat(c),"box-shadow ".concat(c)].join(","),a:{color:t},["> ".concat(r,"-button")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:j(o).mul(-1).equal()},"&:first-child":{borderInlineStart:"".concat((0,A.zA)(o)," ").concat(l," ").concat(a),borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},["".concat(r,"-group-large &")]:{height:f,fontSize:u,lineHeight:(0,A.zA)(j(f).sub(j(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},["".concat(r,"-group-small &")]:{height:p,paddingInline:j(m).sub(o).equal(),paddingBlock:0,lineHeight:(0,A.zA)(j(p).sub(j(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h}},"&:hover":{position:"relative",color:k},"&:has(:focus-visible)":(0,E.jk)(e),["".concat(r,"-inner, input[type='checkbox'], input[type='radio']")]:{width:0,height:0,opacity:0,pointerEvents:"none"},["&-checked:not(".concat(r,"-button-wrapper-disabled)")]:{zIndex:1,color:k,background:v,borderColor:k,"&::before":{backgroundColor:k},"&:first-child":{borderColor:k},"&:hover":{color:O,borderColor:O,"&::before":{backgroundColor:O}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},["".concat(r,"-group-solid &-checked:not(").concat(r,"-button-wrapper-disabled)")]:{color:x,background:I,borderColor:I,"&:hover":{color:x,background:R,borderColor:R},"&:active":{color:x,background:z,borderColor:z}},"&-disabled":{color:y,backgroundColor:w,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:y,backgroundColor:w,borderColor:a}},["&-disabled".concat(r,"-button-wrapper-checked")]:{color:S,backgroundColor:C,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}})(o)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:l,colorText:a,colorBgContainer:c,colorTextDisabled:i,controlItemBgActiveDisabled:s,colorTextLightSolid:d,colorPrimary:u,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e;return{radioSize:l,dotSize:t?l-8:l-(4+o)*2,dotColorDisabled:i,buttonSolidCheckedColor:d,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:c,buttonCheckedBg:c,buttonColor:a,buttonCheckedBgDisabled:s,buttonCheckedColorDisabled:i,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?u:m,radioBgColor:t?c:u}},{unitless:{radioSize:!0,dotSize:!0}});var N=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 I=r.forwardRef((e,t)=>{var n,o;let a=r.useContext(f),c=r.useContext(m),{getPrefixCls:i,direction:u,radio:p}=r.useContext(s.QO),b=r.useRef(null),A=(0,g.K4)(t,b),{isFormItemInput:E}=r.useContext(C.$W),{prefixCls:S,className:k,rootClassName:I,children:R,style:z,title:j}=e,M=N(e,["prefixCls","className","rootClassName","children","style","title"]),P=i("radio",S),B="button"===((null==a?void 0:a.optionType)||c),T=B?"".concat(P,"-button"):P,L=(0,d.A)(P),[H,K,W]=O(P,L),_=Object.assign({},M),D=r.useContext(w.A);a&&(_.name=a.name,_.onChange=t=>{var n,r;null==(n=e.onChange)||n.call(e,t),null==(r=null==a?void 0:a.onChange)||r.call(a,t)},_.checked=e.value===a.value,_.disabled=null!=(n=_.disabled)?n:a.disabled),_.disabled=null!=(o=_.disabled)?o:D;let F=l()("".concat(T,"-wrapper"),{["".concat(T,"-wrapper-checked")]:_.checked,["".concat(T,"-wrapper-disabled")]:_.disabled,["".concat(T,"-wrapper-rtl")]:"rtl"===u,["".concat(T,"-wrapper-in-form-item")]:E,["".concat(T,"-wrapper-block")]:!!(null==a?void 0:a.block)},null==p?void 0:p.className,k,I,K,W,L),[q,V]=(0,y.A)(_.onClick);return H(r.createElement(v.A,{component:"Radio",disabled:_.disabled},r.createElement("label",{className:F,style:Object.assign(Object.assign({},null==p?void 0:p.style),z),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:j,onClick:q},r.createElement(h.A,Object.assign({},_,{className:l()(_.className,{[x.D]:!B}),type:"radio",prefixCls:T,ref:A,onClick:V})),void 0!==R?r.createElement("span",{className:"".concat(T,"-label")},R):null)))});var R=n(96316);let z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=r.useContext(s.QO),{name:f}=r.useContext(C.$W),m=(0,a.A)((0,R.H)(f)),{prefixCls:b,className:h,rootClassName:g,options:v,buttonStyle:x="outline",disabled:y,children:w,size:A,style:E,id:S,optionType:k,name:N=m,defaultValue:z,value:j,block:M=!1,onChange:P,onMouseEnter:B,onMouseLeave:T,onFocus:L,onBlur:H}=e,[K,W]=(0,c.A)(z,{value:j}),_=r.useCallback(t=>{let n=t.target.value;"value"in e||W(n),n!==K&&(null==P||P(t))},[K,W,P]),D=n("radio",b),F="".concat(D,"-group"),q=(0,d.A)(D),[V,X,Y]=O(D,q),U=w;v&&v.length>0&&(U=v.map(e=>"string"==typeof e||"number"==typeof e?r.createElement(I,{key:e.toString(),prefixCls:D,disabled:y,value:e,checked:K===e},e):r.createElement(I,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||y,value:e.value,checked:K===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let G=(0,u.A)(A),Q=l()(F,"".concat(F,"-").concat(x),{["".concat(F,"-").concat(G)]:G,["".concat(F,"-rtl")]:"rtl"===o,["".concat(F,"-block")]:M},h,g,X,Y,q),J=r.useMemo(()=>({onChange:_,value:K,disabled:y,name:N,optionType:k,block:M}),[_,K,y,N,k,M]);return V(r.createElement("div",Object.assign({},(0,i.A)(e,{aria:!0,data:!0}),{className:Q,style:E,onMouseEnter:B,onMouseLeave:T,onFocus:L,onBlur:H,id:S,ref:t}),r.createElement(p,{value:J},U)))}),j=r.memo(z);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 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.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(s.QO),{prefixCls:o}=e,l=M(e,["prefixCls"]),a=n("radio",o);return r.createElement(b,{value:"button"},r.createElement(I,Object.assign({prefixCls:a},l,{type:"radio",ref:t})))});I.Button=P,I.Group=j,I.__ANT_RADIO=!0;let B=I},44186:(e,t,n)=>{n.d(t,{b:()=>r});let r=e=>e?"function"==typeof e?e():e:null},52440:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(79630),o=n(27061),l=n(40419),a=n(21858),c=n(20235),i=n(29300),s=n.n(i),d=n(48804),u=n(12115),f=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];let p=(0,u.forwardRef)(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-checkbox":n,p=e.className,m=e.style,b=e.checked,h=e.disabled,g=e.defaultChecked,v=e.type,x=void 0===v?"checkbox":v,y=e.title,w=e.onChange,C=(0,c.A)(e,f),A=(0,u.useRef)(null),E=(0,u.useRef)(null),S=(0,d.A)(void 0!==g&&g,{value:b}),k=(0,a.A)(S,2),O=k[0],N=k[1];(0,u.useImperativeHandle)(t,function(){return{focus:function(e){var t;null==(t=A.current)||t.focus(e)},blur:function(){var e;null==(e=A.current)||e.blur()},input:A.current,nativeElement:E.current}});var I=s()(i,p,(0,l.A)((0,l.A)({},"".concat(i,"-checked"),O),"".concat(i,"-disabled"),h));return u.createElement("span",{className:I,title:y,style:m,ref:E},u.createElement("input",(0,r.A)({},C,{className:"".concat(i,"-input"),ref:A,onChange:function(t){h||("checked"in e||N(t.target.checked),null==w||w({target:(0,o.A)((0,o.A)({},e),{},{type:x,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:h,checked:!!O,type:x})),u.createElement("span",{className:"".concat(i,"-inner")}))})},55603:(e,t,n)=>{n.d(t,{A:()=>t8});var r=n(12115),o={},l="rc-table-internal-hook",a=n(21858),c=n(18885),i=n(49172),s=n(80227),d=n(47650);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,o=e.children,l=r.useRef(n);l.current=n;var c=r.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),s=(0,a.A)(c,1)[0];return(0,i.A)(function(){(0,d.unstable_batchedUpdates)(function(){s.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:s},o)},defaultValue:e}}function f(e,t){var n=(0,c.A)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),o=r.useContext(null==e?void 0:e.Context),l=o||{},d=l.listeners,u=l.getValue,f=r.useRef();f.current=n(o?u():null==e?void 0:e.defaultValue);var p=r.useState({}),m=(0,a.A)(p,2)[1];return(0,i.A)(function(){if(o)return d.add(e),function(){d.delete(e)};function e(e){var t=n(e);(0,s.A)(f.current,t,!0)||m({})}},[o]),f.current}var p=n(79630),m=n(74686);function b(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,o){var l=(0,m.f3)(n),a=function(a,c){var i=l?{ref:c}:{},s=r.useRef(0),d=r.useRef(a);return null!==t()?r.createElement(n,(0,p.A)({},a,i)):((!o||o(d.current,a))&&(s.current+=1),d.current=a,r.createElement(e.Provider,{value:s.current},r.createElement(n,(0,p.A)({},a,i))))};return l?r.forwardRef(a):a},responseImmutable:function(e,n){var o=(0,m.f3)(e),l=function(n,l){return t(),r.createElement(e,(0,p.A)({},n,o?{ref:l}:{}))};return o?r.memo(r.forwardRef(l),n):r.memo(l,n)},useImmutableMark:t}}var h=b();h.makeImmutable,h.responseImmutable,h.useImmutableMark;var g=b(),v=g.makeImmutable,x=g.responseImmutable,y=g.useImmutableMark,w=u(),C=n(86608),A=n(27061),E=n(40419),S=n(29300),k=n.n(S),O=n(22801),N=n(21349);n(9587);var I=r.createContext({renderWithProps:!1});function R(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},o=r.key,l=r.dataIndex,a=o||(null==l?[]:Array.isArray(l)?l:[l]).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}var z=n(11719),j=function(e){var t,n=e.ellipsis,o=e.rowType,l=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===o)&&("string"==typeof l||"number"==typeof l?t=l.toString():r.isValidElement(l)&&"string"==typeof l.props.children&&(t=l.props.children)),t};let M=r.memo(function(e){var t,n,o,l,c,i,d,u,m,b,h=e.component,g=e.children,v=e.ellipsis,x=e.scope,S=e.prefixCls,R=e.className,M=e.align,P=e.record,B=e.render,T=e.dataIndex,L=e.renderIndex,H=e.shouldCellUpdate,K=e.index,W=e.rowType,_=e.colSpan,D=e.rowSpan,F=e.fixLeft,q=e.fixRight,V=e.firstFixLeft,X=e.lastFixLeft,Y=e.firstFixRight,U=e.lastFixRight,G=e.appendNode,Q=e.additionalProps,J=void 0===Q?{}:Q,$=e.isSticky,Z="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,eo=(t=r.useContext(I),n=y(),(0,O.A)(function(){if(null!=g)return[g];var e=null==T||""===T?[]:Array.isArray(T)?T:[T],n=(0,N.A)(P,e),o=n,l=void 0;if(B){var a=B(n,P,L);!a||"object"!==(0,C.A)(a)||Array.isArray(a)||r.isValidElement(a)?o=a:(o=a.children,l=a.props,t.renderWithProps=!0)}return[o,l]},[n,P,g,T,B,L],function(e,n){if(H){var r=(0,a.A)(e,2)[1];return H((0,a.A)(n,2)[1],r)}return!!t.renderWithProps||!(0,s.A)(e,n,!0)})),el=(0,a.A)(eo,2),ea=el[0],ec=el[1],ei={},es="number"==typeof F&&et,ed="number"==typeof q&&et;es&&(ei.position="sticky",ei.left=F),ed&&(ei.position="sticky",ei.right=q);var eu=null!=(o=null!=(l=null!=(c=null==ec?void 0:ec.colSpan)?c:J.colSpan)?l:_)?o:1,ef=null!=(i=null!=(d=null!=(u=null==ec?void 0:ec.rowSpan)?u:J.rowSpan)?d:D)?i:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,K<=e.hoverEndRow&&K+t-1>=n),e.onHover]}),em=(0,a.A)(ep,2),eb=em[0],eh=em[1],eg=(0,z._q)(function(e){var t;P&&eh(K,K+ef-1),null==J||null==(t=J.onMouseEnter)||t.call(J,e)}),ev=(0,z._q)(function(e){var t;P&&eh(-1,-1),null==J||null==(t=J.onMouseLeave)||t.call(J,e)});if(0===eu||0===ef)return null;var ex=null!=(m=J.title)?m:j({rowType:W,ellipsis:v,children:ea}),ey=k()(Z,R,(b={},(0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)(b,"".concat(Z,"-fix-left"),es&&et),"".concat(Z,"-fix-left-first"),V&&et),"".concat(Z,"-fix-left-last"),X&&et),"".concat(Z,"-fix-left-all"),X&&en&&et),"".concat(Z,"-fix-right"),ed&&et),"".concat(Z,"-fix-right-first"),Y&&et),"".concat(Z,"-fix-right-last"),U&&et),"".concat(Z,"-ellipsis"),v),"".concat(Z,"-with-append"),G),"".concat(Z,"-fix-sticky"),(es||ed)&&$&&et),(0,E.A)(b,"".concat(Z,"-row-hover"),!ec&&eb)),J.className,null==ec?void 0:ec.className),ew={};M&&(ew.textAlign=M);var eC=(0,A.A)((0,A.A)((0,A.A)((0,A.A)({},null==ec?void 0:ec.style),ei),ew),J.style),eA=ea;return"object"!==(0,C.A)(eA)||Array.isArray(eA)||r.isValidElement(eA)||(eA=null),v&&(X||Y)&&(eA=r.createElement("span",{className:"".concat(Z,"-content")},eA)),r.createElement(h,(0,p.A)({},ec,J,{className:ey,style:eC,title:ex,scope:x,onMouseEnter:er?eg:void 0,onMouseLeave:er?ev:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),G,eA)});function P(e,t,n,r,o){var l,a,c=n[e]||{},i=n[t]||{};"left"===c.fixed?l=r.left["rtl"===o?t:e]:"right"===i.fixed&&(a=r.right["rtl"===o?e:t]);var s=!1,d=!1,u=!1,f=!1,p=n[t+1],m=n[e-1],b=p&&!p.fixed||m&&!m.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===o?void 0!==l?f=!(m&&"left"===m.fixed)&&b:void 0!==a&&(u=!(p&&"right"===p.fixed)&&b):void 0!==l?s=!(p&&"left"===p.fixed)&&b:void 0!==a&&(d=!(m&&"right"===m.fixed)&&b),{fixLeft:l,fixRight:a,lastFixLeft:s,firstFixRight:d,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var B=r.createContext({}),T=n(20235),L=["children"];function H(e){return e.children}H.Row=function(e){var t=e.children,n=(0,T.A)(e,L);return r.createElement("tr",n,t)},H.Cell=function(e){var t=e.className,n=e.index,o=e.children,l=e.colSpan,a=void 0===l?1:l,c=e.rowSpan,i=e.align,s=f(w,["prefixCls","direction"]),d=s.prefixCls,u=s.direction,m=r.useContext(B),b=m.scrollColumnIndex,h=m.stickyOffsets,g=m.flattenColumns,v=n+a-1+1===b?a+1:a,x=P(n,n+v-1,g,h,u);return r.createElement(M,(0,p.A)({className:t,index:n,component:"td",prefixCls:d,record:null,dataIndex:null,align:i,colSpan:v,rowSpan:c,render:function(){return o}},x))};let K=x(function(e){var t=e.children,n=e.stickyOffsets,o=e.flattenColumns,l=f(w,"prefixCls"),a=o.length-1,c=o[a],i=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:o,scrollColumnIndex:null!=c&&c.scrollbar?a:null}},[c,o,a,n]);return r.createElement(B.Provider,{value:i},r.createElement("tfoot",{className:"".concat(l,"-summary")},t))});var W=n(32417),_=n(19824),D=n(3338),F=n(40032);function q(e,t,n,o){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],l=0;l<(null==e?void 0:e.length);l+=1)!function e(t,n,r,o,l,a,c){var i=a(n,c);t.push({record:n,indent:r,index:c,rowKey:i});var s=null==l?void 0:l.has(i);if(n&&Array.isArray(n[o])&&s)for(var d=0;d1?n-1:0),o=1;o5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,d=e.record,u=e.prefixCls,f=e.columnsKey,p=e.fixedInfoList,m=e.expandIconColumnIndex,b=e.nestExpandable,h=e.indentSize,g=e.expandIcon,v=e.expanded,x=e.hasNestChildren,y=e.onTriggerExpand,w=e.expandable,C=e.expandedKeys,A=f[n],E=p[n];n===(m||0)&&b&&(c=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(h*o,"px")},className:"".concat(u,"-row-indent indent-level-").concat(o)}),g({prefixCls:u,expanded:v,expandable:x,record:d,onExpand:y})));var S=(null==(a=t.onCell)?void 0:a.call(t,d,l))||{};if(s){var k=S.rowSpan,O=void 0===k?1:k;if(w&&O&&n=1)),style:(0,A.A)((0,A.A)({},o),null==C?void 0:C.style)}),x.map(function(e,t){var n=e.render,o=e.dataIndex,i=e.className,d=G(g,e,t,u,a,s,null==h?void 0:h.offset),f=d.key,x=d.fixedInfo,y=d.appendCellNode,w=d.additionalCellProps;return r.createElement(M,(0,p.A)({className:i,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?b:m,prefixCls:v,key:f,record:l,index:a,renderIndex:c,dataIndex:o,render:n,shouldCellUpdate:e.shouldCellUpdate},x,{appendNode:y,additionalProps:w}))}));if(O&&(N.current||S)){var z=w(l,a,u+1,S);t=r.createElement(X,{expanded:S,className:k()("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(u+1),I),prefixCls:v,component:f,cellComponent:m,colSpan:h?h.colSpan:x.length,stickyOffset:null==h?void 0:h.sticky,isEmpty:!1},z)}return r.createElement(r.Fragment,null,R,t)});function J(e){var t=e.columnKey,n=e.onColumnResize,o=e.prefixCls,l=e.title,a=r.useRef();return(0,i.A)(function(){a.current&&n(t,a.current.offsetWidth)},[]),r.createElement(W.A,{data:t},r.createElement("th",{ref:a,className:"".concat(o,"-measure-cell")},r.createElement("div",{className:"".concat(o,"-measure-cell-content")},l||"\xa0")))}var $=n(53930);function Z(e){var t=e.prefixCls,n=e.columnsKey,o=e.onColumnResize,l=e.columns,a=r.useRef(null),c=f(w,["measureRowRender"]).measureRowRender,i=r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),ref:a,tabIndex:-1},r.createElement(W.A.Collection,{onBatchResize:function(e){(0,$.A)(a.current)&&e.forEach(function(e){o(e.data,e.size.offsetWidth)})}},n.map(function(e){var n=l.find(function(t){return t.key===e}),a=null==n?void 0:n.title,c=r.isValidElement(a)?r.cloneElement(a,{ref:null}):a;return r.createElement(J,{prefixCls:t,key:e,columnKey:e,onColumnResize:o,title:c})})));return c?c(i):i}let ee=x(function(e){var t,n=e.data,o=e.measureColumnWidth,l=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode","expandedRowOffset","fixedInfoList","colWidths"]),a=l.prefixCls,c=l.getComponent,i=l.onColumnResize,s=l.flattenColumns,d=l.getRowKey,u=l.expandedKeys,p=l.childrenColumnName,m=l.emptyNode,b=l.expandedRowOffset,h=void 0===b?0:b,g=l.colWidths,v=q(n,p,u,d),x=r.useMemo(function(){return v.map(function(e){return e.rowKey})},[v]),y=r.useRef({renderWithProps:!1}),C=r.useMemo(function(){for(var e=s.length-h,t=0,n=0;n=0;s-=1){var d=t[s],u=n&&n[s],m=void 0,b=void 0;if(u&&(m=u[en],"auto"===l&&(b=u.minWidth)),d||b||m||i){var h=m||{},g=(h.columnType,(0,T.A)(h,er));a.unshift(r.createElement("col",(0,p.A)({key:s,style:{width:d,minWidth:b}},g))),i=!0}}return a.length>0?r.createElement("colgroup",null,a):null};var el=n(85757),ea=["className","noData","columns","flattenColumns","colWidths","colGroup","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","scrollX","tableLayout","onScroll","children"],ec=r.forwardRef(function(e,t){var n=e.className,o=e.noData,l=e.columns,a=e.flattenColumns,c=e.colWidths,i=e.colGroup,s=e.columCount,d=e.stickyOffsets,u=e.direction,p=e.fixHeader,b=e.stickyTopOffset,h=e.stickyBottomOffset,g=e.stickyClassName,v=e.scrollX,x=e.tableLayout,y=e.onScroll,C=e.children,S=(0,T.A)(e,ea),O=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),N=O.prefixCls,I=O.scrollbarSize,R=O.isSticky,z=(0,O.getComponent)(["header","table"],"table"),j=R&&!p?0:I,M=r.useRef(null),P=r.useCallback(function(e){(0,m.Xf)(t,e),(0,m.Xf)(M,e)},[]);r.useEffect(function(){function e(e){var t=e.currentTarget,n=e.deltaX;n&&(y({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}var t=M.current;return null==t||t.addEventListener("wheel",e,{passive:!1}),function(){null==t||t.removeEventListener("wheel",e)}},[]);var B=a[a.length-1],L={fixed:B?B.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},H=(0,r.useMemo)(function(){return j?[].concat((0,el.A)(l),[L]):l},[j,l]),K=(0,r.useMemo)(function(){return j?[].concat((0,el.A)(a),[L]):a},[j,a]),W=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,A.A)((0,A.A)({},d),{},{left:"rtl"===u?[].concat((0,el.A)(t.map(function(e){return e+j})),[0]):t,right:"rtl"===u?e:[].concat((0,el.A)(e.map(function(e){return e+j})),[0]),isSticky:R})},[j,d,R]),_=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:c,prefixCls:u,key:b[t]},i,{additionalProps:n,rowType:"header"}))}))},ed=x(function(e){var t=e.stickyOffsets,n=e.columns,o=e.flattenColumns,l=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),c=a.prefixCls,i=a.getComponent,s=r.useMemo(function(){var e=[];!function t(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e[o]=e[o]||[];var l=r;return n.filter(Boolean).map(function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:l},a=1,c=n.children;return c&&c.length>0&&(a=t(c,l,o+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,e[o].push(r),l+=a,a})}(n,0);for(var t=e.length,r=function(n){e[n].forEach(function(e){"rowSpan"in e||e.hasSubColumns||(e.rowSpan=t-n)})},o=0;o1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var ep=["children"],em=["fixed"];function eb(e){return(0,eu.A)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,o=(0,T.A)(n,ep),l=(0,A.A)({key:t},o);return r&&(l.children=eb(r)),l})}function eh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,C.A)(e)}).reduce(function(e,n,r){var o=n.fixed,l=!0===o?"left":o,a="".concat(t,"-").concat(r),c=n.children;return c&&c.length>0?[].concat((0,el.A)(e),(0,el.A)(eh(c,a).map(function(e){var t;return(0,A.A)((0,A.A)({},e),{},{fixed:null!=(t=e.fixed)?t:l})}))):[].concat((0,el.A)(e),[(0,A.A)((0,A.A)({key:a},n),{},{fixed:l})])},[])}let eg=function(e,t){var n=e.prefixCls,l=e.columns,c=e.children,i=e.expandable,s=e.expandedKeys,d=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,m=e.rowExpandable,b=e.expandIconColumnIndex,h=e.expandedRowOffset,g=void 0===h?0:h,v=e.direction,x=e.expandRowByClick,y=e.columnWidth,w=e.fixed,S=e.scrollWidth,k=e.clientWidth,O=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,C.A)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,A.A)((0,A.A)({},t),{},{children:e(n)}):t})}((l||eb(c)||[]).slice())},[l,c]),N=r.useMemo(function(){if(i){var e,t=O.slice();if(!t.includes(o)){var l=b||0,a=0===l&&"right"===w?O.length:l;a>=0&&t.splice(a,0,o)}var c=t.indexOf(o);t=t.filter(function(e,t){return e!==o||t===c});var h=O[c];e=w||(h?h.fixed:null);var v=(0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)({},en,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",d),"fixed",e),"className","".concat(n,"-row-expand-icon-cell")),"width",y),"render",function(e,t,o){var l=u(t,o),a=p({prefixCls:n,expanded:s.has(l),expandable:!m||m(t),record:t,onExpand:f});return x?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a});return t.map(function(e,t){var n=e===o?v:e;return t=0;t-=1){var n=R[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=R[r].fixed;if("left"!==o&&!0!==o)return!0}var l=R.findIndex(function(e){return"right"===e.fixed});if(l>=0){for(var a=l;a0){var e=0,t=0;R.forEach(function(n){var r=ef(S,n.width);r?e+=r:t+=1});var n=Math.max(S,k),r=Math.max(n-e,t),o=t,l=r/t,a=0,c=R.map(function(e){var t=(0,A.A)({},e),n=ef(S,t.width);if(n)t.width=n;else{var c=Math.floor(l);t.width=1===o?r:c,r-=c,o-=1}return a+=t.width,t});if(a=n-b})})}})},W=function(e){R(function(t){return(0,A.A)((0,A.A)({},t),{},{scrollLeft:x?e/x*y:0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:W,checkScrollBarVisible:K}}),r.useEffect(function(){var e=(0,ey.A)(document.body,"mouseup",L,!1),t=(0,ey.A)(document.body,"mousemove",H,!1);return K(),function(){e.remove(),t.remove()}},[C,P]),r.useEffect(function(){if(p.current){for(var e=[],t=(0,eC.rb)(p.current);t;)e.push(t),t=t.parentElement;return e.forEach(function(e){return e.addEventListener("scroll",K,!1)}),window.addEventListener("resize",K,!1),window.addEventListener("scroll",K,!1),h.addEventListener("scroll",K,!1),function(){e.forEach(function(e){return e.removeEventListener("scroll",K)}),window.removeEventListener("resize",K),window.removeEventListener("scroll",K),h.removeEventListener("scroll",K)}}},[h]),r.useEffect(function(){I.isHiddenScrollBar||R(function(e){var t=p.current;return t?(0,A.A)((0,A.A)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[I.isHiddenScrollBar]),x<=y||!C||I.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,D.A)(),width:y,bottom:b},className:"".concat(v,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),z.current.delta=e.pageX-I.scrollLeft,z.current.x=0,B(!0),e.preventDefault()},ref:S,className:k()("".concat(v,"-sticky-scroll-bar"),(0,E.A)({},"".concat(v,"-sticky-scroll-bar-active"),P)),style:{width:"".concat(C,"px"),transform:"translate3d(".concat(I.scrollLeft,"px, 0, 0)")}}))});var eS="rc-table",ek=[],eO={};function eN(){return"No Data"}var eI=r.forwardRef(function(e,t){var n,o=(0,A.A)({rowKey:"key",prefixCls:eS,emptyText:eN},e),d=o.prefixCls,u=o.className,f=o.rowClassName,m=o.style,b=o.data,h=o.rowKey,g=o.scroll,v=o.tableLayout,x=o.direction,y=o.title,S=o.footer,I=o.summary,z=o.caption,j=o.id,M=o.showHeader,B=o.components,L=o.emptyText,q=o.onRow,V=o.onHeaderRow,X=o.measureRowRender,U=o.onScroll,G=o.internalHooks,Q=o.transformColumns,J=o.internalRefs,$=o.tailor,Z=o.getContainerWidth,en=o.sticky,er=o.rowHoverable,ea=void 0===er||er,ec=b||ek,es=!!ec.length,eu=G===l,ef=r.useCallback(function(e,t){return(0,N.A)(B,e)||t},[B]),ep=r.useMemo(function(){return"function"==typeof h?h:function(e){return e&&e[h]}},[h]),em=ef(["body"]),eb=(tU=r.useState(-1),tQ=(tG=(0,a.A)(tU,2))[0],tJ=tG[1],t$=r.useState(-1),t0=(tZ=(0,a.A)(t$,2))[0],t1=tZ[1],[tQ,t0,r.useCallback(function(e,t){tJ(e),t1(t)},[])]),eh=(0,a.A)(eb,3),ey=eh[0],ew=eh[1],eA=eh[2],eI=(t5=(t4=o.expandable,t8=(0,T.A)(o,et),!1===(t2="expandable"in o?(0,A.A)((0,A.A)({},t8),t4):t8).showExpandColumn&&(t2.expandIconColumnIndex=-1),t3=t2).expandIcon,t6=t3.expandedRowKeys,t9=t3.defaultExpandedRowKeys,t7=t3.defaultExpandAllRows,ne=t3.expandedRowRender,nt=t3.onExpand,nn=t3.onExpandedRowsChange,nr=t3.childrenColumnName||"children",no=r.useMemo(function(){return ne?"row":!!(o.expandable&&o.internalHooks===l&&o.expandable.__PARENT_RENDER_ICON__||ec.some(function(e){return e&&"object"===(0,C.A)(e)&&e[nr]}))&&"nest"},[!!ne,ec]),nl=r.useState(function(){if(t9)return t9;if(t7){var e;return e=[],!function t(n){(n||[]).forEach(function(n,r){e.push(ep(n,r)),t(n[nr])})}(ec),e}return[]}),nc=(na=(0,a.A)(nl,2))[0],ni=na[1],ns=r.useMemo(function(){return new Set(t6||nc||[])},[t6,nc]),nd=r.useCallback(function(e){var t,n=ep(e,ec.indexOf(e)),r=ns.has(n);r?(ns.delete(n),t=(0,el.A)(ns)):t=[].concat((0,el.A)(ns),[n]),ni(t),nt&&nt(!r,e),nn&&nn(t)},[ep,ns,ec,nt,nn]),[t3,no,ns,t5||Y,nr,nd]),eR=(0,a.A)(eI,6),ez=eR[0],ej=eR[1],eM=eR[2],eP=eR[3],eB=eR[4],eT=eR[5],eL=null==g?void 0:g.x,eH=r.useState(0),eK=(0,a.A)(eH,2),eW=eK[0],e_=eK[1],eD=eg((0,A.A)((0,A.A)((0,A.A)({},o),ez),{},{expandable:!!ez.expandedRowRender,columnTitle:ez.columnTitle,expandedKeys:eM,getRowKey:ep,onTriggerExpand:eT,expandIcon:eP,expandIconColumnIndex:ez.expandIconColumnIndex,direction:x,scrollWidth:eu&&$&&"number"==typeof eL?eL:null,clientWidth:eW}),eu?Q:null),eF=(0,a.A)(eD,4),eq=eF[0],eV=eF[1],eX=eF[2],eY=eF[3],eU=null!=eX?eX:eL,eG=r.useMemo(function(){return{columns:eq,flattenColumns:eV}},[eq,eV]),eQ=r.useRef(),eJ=r.useRef(),e$=r.useRef(),eZ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eQ.current,scrollTo:function(e){var t;if(e$.current instanceof HTMLElement){var n=e.index,r=e.top,o=e.key;if("number"!=typeof r||Number.isNaN(r)){var l,a,c=null!=o?o:ep(ec[n]);null==(a=e$.current.querySelector('[data-row-key="'.concat(c,'"]')))||a.scrollIntoView()}else null==(l=e$.current)||l.scrollTo({top:r})}else null!=(t=e$.current)&&t.scrollTo&&e$.current.scrollTo(e)}}});var e0=r.useRef(),e1=r.useState(!1),e2=(0,a.A)(e1,2),e4=e2[0],e8=e2[1],e3=r.useState(!1),e5=(0,a.A)(e3,2),e6=e5[0],e9=e5[1],e7=r.useState(new Map),te=(0,a.A)(e7,2),tt=te[0],tn=te[1],tr=R(eV).map(function(e){return tt.get(e)}),to=r.useMemo(function(){return tr},[tr.join("_")]),tl=(0,r.useMemo)(function(){var e=eV.length,t=function(e,t,n){for(var r=[],o=0,l=e;l!==t;l+=n)r.push(o),eV[l].fixed&&(o+=to[l]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===x?{left:r,right:n}:{left:n,right:r}},[to,eV,x]),ta=g&&null!=g.y,tc=g&&null!=eU||!!ez.fixed,ti=tc&&eV.some(function(e){return e.fixed}),ts=r.useRef(),td=(np=void 0===(nf=(nu="object"===(0,C.A)(en)?en:{}).offsetHeader)?0:nf,nb=void 0===(nm=nu.offsetSummary)?0:nm,ng=void 0===(nh=nu.offsetScroll)?0:nh,nx=(void 0===(nv=nu.getContainer)?function(){return ev}:nv)()||ev,ny=!!en,r.useMemo(function(){return{isSticky:ny,stickyClassName:ny?"".concat(d,"-sticky-holder"):"",offsetHeader:np,offsetSummary:nb,offsetScroll:ng,container:nx}},[ny,ng,np,nb,d,nx])),tu=td.isSticky,tf=td.offsetHeader,tp=td.offsetSummary,tm=td.offsetScroll,tb=td.stickyClassName,th=td.container,tg=r.useMemo(function(){return null==I?void 0:I(ec)},[I,ec]),tv=(ta||tu)&&r.isValidElement(tg)&&tg.type===H&&tg.props.fixed;ta&&(nC={overflowY:es?"scroll":"auto",maxHeight:g.y}),tc&&(nw={overflowX:"auto"},ta||(nC={overflowY:"hidden"}),nA={width:!0===eU?"auto":eU,minWidth:"100%"});var tx=r.useCallback(function(e,t){tn(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),ty=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function o(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return o},[]),[function(e){t.current=e,o(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),tw=(0,a.A)(ty,2),tC=tw[0],tA=tw[1];function tE(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tS=(0,c.A)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===x,l="number"==typeof r?r:n.scrollLeft,a=n||eO;tA()&&tA()!==a||(tC(a),tE(l,eJ.current),tE(l,e$.current),tE(l,e0.current),tE(l,null==(t=ts.current)?void 0:t.setScrollLeft));var c=n||eJ.current;if(c){var i=eu&&$&&"number"==typeof eU?eU:c.scrollWidth,s=c.clientWidth;if(i===s){e8(!1),e9(!1);return}o?(e8(-l0)):(e8(l>0),e9(l1?y-B:0,pointerEvents:"auto"}),L=r.useMemo(function(){return b?P<=1:0===z||0===P||P>1},[P,z,b]);L?T.visibility="hidden":b&&(T.height=null==h?void 0:h(P));var H={};return(0===P||0===z)&&(H.rowSpan=1,H.colSpan=1),r.createElement(M,(0,p.A)({className:k()(x,m),ellipsis:o.ellipsis,align:o.align,scope:o.rowScope,component:i,prefixCls:n.prefixCls,key:E,record:d,index:c,renderIndex:s,dataIndex:v,render:L?function(){return null}:g,shouldCellUpdate:o.shouldCellUpdate},S,{appendNode:O,additionalProps:(0,A.A)((0,A.A)({},N),{},{style:T},H)}))};var eB=["data","index","className","rowKey","style","extra","getHeight"],eT=x(r.forwardRef(function(e,t){var n,o=e.data,l=e.index,a=e.className,c=e.rowKey,i=e.style,s=e.extra,d=e.getHeight,u=(0,T.A)(e,eB),m=o.record,b=o.indent,h=o.index,g=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,x=g.flattenColumns,y=g.prefixCls,C=g.fixColumn,S=g.componentWidth,O=f(ej,["getComponent"]).getComponent,N=V(m,c,l,b),I=O(["body","row"],"div"),R=O(["body","cell"],"div"),z=N.rowSupportExpand,j=N.expanded,P=N.rowProps,B=N.expandedRowRender,L=N.expandedRowClassName;if(z&&j){var H=B(m,l,b+1,j),K=U(L,m,l,b),W={};C&&(W={style:(0,E.A)({},"--virtual-width","".concat(S,"px"))});var _="".concat(y,"-expanded-row-cell");n=r.createElement(I,{className:k()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(b+1),K)},r.createElement(M,{component:R,prefixCls:y,className:k()(_,(0,E.A)({},"".concat(_,"-fixed"),C)),additionalProps:W},H))}var D=(0,A.A)((0,A.A)({},i),{},{width:v});s&&(D.position="absolute",D.pointerEvents="none");var F=r.createElement(I,(0,p.A)({},P,u,{"data-row-key":c,ref:z?null:t,className:k()(a,"".concat(y,"-row"),null==P?void 0:P.className,(0,E.A)({},"".concat(y,"-row-extra"),s)),style:(0,A.A)((0,A.A)({},D),null==P?void 0:P.style)}),x.map(function(e,t){return r.createElement(eP,{key:t,component:R,rowInfo:N,column:e,colIndex:t,indent:b,index:l,renderIndex:h,record:m,inverse:s,getHeight:d})}));return z?r.createElement("div",{ref:t},F,n):F})),eL=x(r.forwardRef(function(e,t){var n=e.data,o=e.onScroll,l=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),c=l.flattenColumns,i=l.onColumnResize,s=l.getRowKey,d=l.expandedKeys,u=l.prefixCls,p=l.childrenColumnName,m=l.scrollX,b=l.direction,h=f(ej),g=h.sticky,v=h.scrollY,x=h.listItemHeight,y=h.getComponent,A=h.onScroll,E=r.useRef(),S=q(n,p,d,s),k=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.minWidth,o=t.key,l=Math.max(n||0,r||0);return e+=l,[o,l,e]})},[c]),O=r.useMemo(function(){return k.map(function(e){return e[2]})},[k]);r.useEffect(function(){k.forEach(function(e){var t=(0,a.A)(e,2);i(t[0],t[1])})},[k]),r.useImperativeHandle(t,function(){var e,t={scrollTo:function(e){var t;null==(t=E.current)||t.scrollTo(e)},nativeElement:null==(e=E.current)?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null==(e=E.current)?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null==(t=E.current)||t.scrollTo({left:e})}}),Object.defineProperty(t,"scrollTop",{get:function(){var e;return(null==(e=E.current)?void 0:e.getScrollInfo().y)||0},set:function(e){var t;null==(t=E.current)||t.scrollTo({top:e})}}),t});var N=function(e,t){var n=null==(o=S[t])?void 0:o.record,r=e.onCell;if(r){var o,l,a=r(n,t);return null!=(l=null==a?void 0:a.rowSpan)?l:1}return 1},I=r.useMemo(function(){return{columnsOffset:O}},[O]),R="".concat(u,"-tbody"),z=y(["body","wrapper"]),j={};return g&&(j.position="sticky",j.bottom=0,"object"===(0,C.A)(g)&&g.offsetScroll&&(j.bottom=g.offsetScroll)),r.createElement(eM.Provider,{value:I},r.createElement(ez.A,{fullHeight:!1,ref:E,prefixCls:"".concat(R,"-virtual"),styles:{horizontalScrollBar:j},className:R,height:v,itemHeight:x||24,data:S,itemKey:function(e){return s(e.record)},component:z,scrollWidth:m,direction:b,onVirtualScroll:function(e){var t,n=e.x;o({currentTarget:null==(t=E.current)?void 0:t.nativeElement,scrollLeft:n})},onScroll:A,extraRender:function(e){var t=e.start,n=e.end,o=e.getSize,l=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===N(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===N(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==N(e,n)}),p=n,m=function(e){if(!(f=f.filter(function(t){return 1!==N(t,e)})).length)return p=Math.max(e-1,n),1},b=n;b1})&&h.push(e)},v=i;v<=p;v+=1)if(g(v))continue;return h.map(function(e){var t=S[e],n=s(t.record,e),a=o(n);return r.createElement(eT,{key:e,data:t,rowKey:n,index:e,style:{top:-l+a.top},extra:!0,getHeight:function(t){var r=e+t-1,l=o(n,s(S[r].record,r));return l.bottom-l.top}})})}},function(e,t,n){var o=s(e.record,t);return r.createElement(eT,{data:e,rowKey:o,index:t,style:n.style})}))})),eH=function(e,t){var n=t.ref,o=t.onScroll;return r.createElement(eL,{ref:n,data:e,onScroll:o})},eK=r.forwardRef(function(e,t){var n=e.data,o=e.columns,a=e.scroll,c=e.sticky,i=e.prefixCls,s=void 0===i?eS:i,d=e.className,u=e.listItemHeight,f=e.components,m=e.onScroll,b=a||{},h=b.x,g=b.y;"number"!=typeof h&&(h=1),"number"!=typeof g&&(g=500);var v=(0,z._q)(function(e,t){return(0,N.A)(f,e)||t}),x=(0,z._q)(m),y=r.useMemo(function(){return{sticky:c,scrollY:g,listItemHeight:u,getComponent:v,onScroll:x}},[c,g,u,v,x]);return r.createElement(ej.Provider,{value:y},r.createElement(eR,(0,p.A)({},e,{className:k()(d,"".concat(s,"-virtual")),scroll:(0,A.A)((0,A.A)({},a),{},{x:h}),components:(0,A.A)((0,A.A)({},f),{},{body:null!=n&&n.length?eH:void 0}),columns:o,internalHooks:l,tailor:!0,ref:t})))});v(eK,void 0);var eW=n(58464),e_=n(51685),eD=n(92629),eF=n(94879),eq=n(48804),eV=n(26791),eX=n(21103),eY=n(19696),eU=n(40344);let eG={},eQ="SELECT_ALL",eJ="SELECT_INVERT",e$="SELECT_NONE",eZ=[],e0=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&e0(e,t[e],n)}),n};var e1=n(17980),e2=n(22971),e4=n(57845),e8=n(15982),e3=n(29353),e5=n(68151),e6=n(9836),e9=n(51854),e7=n(16025),te=n(7744),tt=n(16467),tn=n(70042);let tr=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function to(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}let tl=(e,t)=>"function"==typeof e?e(t):e,ta={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};var tc=n(35030),ti=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:ta}))}),ts=n(85382),td=n(19110),tu=n(98696),tf=n(36768),tp=n(83803),tm=n(32653),tb=n(71081),th=n(44200),tg=n(82724);let tv=e=>{let{value:t,filterSearch:n,tablePrefixCls:o,locale:l,onChange:a}=e;return n?r.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},r.createElement(tg.A,{prefix:r.createElement(th.A,null),placeholder:l.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null};var tx=n(17233);let ty=e=>{let{keyCode:t}=e;t===tx.A.ENTER&&e.stopPropagation()},tw=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:ty,ref:t},e.children));function tC(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,el.A)(t),(0,el.A)(tC(r))))}),t}function tA(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}let tE=e=>{var t,n,o,l;let a,{tablePrefixCls:c,prefixCls:i,column:d,dropdownPrefixCls:u,columnKey:f,filterOnClose:p,filterMultiple:m,filterMode:b="menu",filterSearch:h=!1,filterState:g,triggerFilter:v,locale:x,children:y,getPopupContainer:w,rootClassName:C}=e,{filterResetToDefaultFilteredValue:A,defaultFilteredValue:E,filterDropdownProps:S={},filterDropdownOpen:O,filterDropdownVisible:N,onFilterDropdownVisibleChange:I,onFilterDropdownOpenChange:R}=d,[z,j]=r.useState(!1),M=!!(g&&((null==(t=g.filteredKeys)?void 0:t.length)||g.forceFiltered)),P=e=>{var t;j(e),null==(t=S.onOpenChange)||t.call(S,e),null==R||R(e),null==I||I(e)},B=null!=(l=null!=(o=null!=(n=S.open)?n:O)?o:N)?l:z,T=null==g?void 0:g.filteredKeys,[L,H]=(e=>{let t=r.useRef(e),[,n]=(0,td.C)();return[()=>t.current,e=>{t.current=e,n()}]})(T||[]),K=e=>{let{selectedKeys:t}=e;H(t)},W=(e,t)=>{let{node:n,checked:r}=t;m?K({selectedKeys:e}):K({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{z&&K({selectedKeys:T||[]})},[T]);let[_,D]=r.useState([]),F=e=>{D(e)},[q,V]=r.useState(""),X=e=>{let{value:t}=e.target;V(t)};r.useEffect(()=>{z||V("")},[z]);let Y=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!g||!g.filteredKeys)||(0,s.A)(t,null==g?void 0:g.filteredKeys,!0))return null;v({column:d,key:f,filteredKeys:t})},U=()=>{P(!1),Y(L())},G=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&Y([]),t&&P(!1),V(""),A?H((E||[]).map(e=>String(e))):H([])},Q=k()({["".concat(u,"-menu-without-submenu")]:!(d.filters||[]).some(e=>{let{children:t}=e;return t})}),J=e=>{e.target.checked?H(tC(null==d?void 0:d.filters).map(e=>String(e))):H([])},$=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=$({filters:e.children})),r})},Z=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null==(t=e.children)?void 0:t.map(e=>Z(e)))||[]})},{direction:ee,renderEmpty:et}=r.useContext(e8.QO);if("function"==typeof d.filterDropdown)a=d.filterDropdown({prefixCls:"".concat(u,"-custom"),setSelectedKeys:e=>K({selectedKeys:e}),selectedKeys:L(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&P(!1),Y(L())},clearFilters:G,filters:d.filters,visible:B,close:()=>{P(!1)}});else if(d.filterDropdown)a=d.filterDropdown;else{let e=L()||[];a=r.createElement(r.Fragment,null,(()=>{var t,n;let o=null!=(t=null==et?void 0:et("Table.filter"))?t:r.createElement(tf.A,{image:tf.A.PRESENTED_IMAGE_SIMPLE,description:x.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if(0===(d.filters||[]).length)return o;if("tree"===b)return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:h,value:q,onChange:X,tablePrefixCls:c,locale:x}),r.createElement("div",{className:"".concat(c,"-filter-dropdown-tree")},m?r.createElement(eX.A,{checked:e.length===tC(d.filters).length,indeterminate:e.length>0&&e.length"function"==typeof h?h(q,Z(e)):tA(q,e.title):void 0})));let l=function e(t){let{filters:n,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:c,filterSearch:i}=t;return n.map((t,n)=>{let s=String(t.value);if(t.children)return{key:s||n,label:t.text,popupClassName:"".concat(o,"-dropdown-submenu"),children:e({filters:t.children,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:c,filterSearch:i})};let d=a?eX.A:eU.Ay,u={key:void 0!==t.value?s:n,label:r.createElement(r.Fragment,null,r.createElement(d,{checked:l.includes(s)}),r.createElement("span",null,t.text))};return c.trim()?"function"==typeof i?i(c,t)?u:null:tA(c,t.text)?u:null:u})}({filters:d.filters||[],filterSearch:h,prefixCls:i,filteredKeys:L(),filterMultiple:m,searchValue:q}),a=l.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:h,value:q,onChange:X,tablePrefixCls:c,locale:x}),a?o:r.createElement(tp.A,{selectable:!0,multiple:m,prefixCls:"".concat(u,"-menu"),className:Q,onSelect:K,onDeselect:K,selectedKeys:e,getPopupContainer:w,openKeys:_,onOpenChange:F,items:l}))})(),r.createElement("div",{className:"".concat(i,"-dropdown-btns")},r.createElement(tu.Ay,{type:"link",size:"small",disabled:A?(0,s.A)((E||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>G()},x.filterReset),r.createElement(tu.Ay,{type:"primary",size:"small",onClick:U},x.filterConfirm)))}d.filterDropdown&&(a=r.createElement(tm.A,{selectable:void 0},a)),a=r.createElement(tw,{className:"".concat(i,"-dropdown")},a);let en=(0,ts.A)({trigger:["click"],placement:"rtl"===ee?"bottomLeft":"bottomRight",children:(()=>{let e;return e="function"==typeof d.filterIcon?d.filterIcon(M):d.filterIcon?d.filterIcon:r.createElement(ti,null),r.createElement("span",{role:"button",tabIndex:-1,className:k()("".concat(i,"-trigger"),{active:M}),onClick:e=>{e.stopPropagation()}},e)})(),getPopupContainer:w},Object.assign(Object.assign({},S),{rootClassName:k()(C,S.rootClassName),open:B,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&H(T||[]),P(e),e||d.filterDropdown||!p||U())},popupRender:()=>"function"==typeof(null==S?void 0:S.dropdownRender)?S.dropdownRender(a):a}));return r.createElement("div",{className:"".concat(i,"-column")},r.createElement("span",{className:"".concat(c,"-column-title")},y),r.createElement(eY.A,Object.assign({},en)))},tS=(e,t,n)=>{let r=[];return(e||[]).forEach((e,o)=>{var l;let a=to(o,n),c=void 0!==e.filterDropdown;if(e.filters||c||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;c||(t=null!=(l=null==t?void 0:t.map(String))?l:t),r.push({column:e,key:tr(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tr(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat((0,el.A)(r),(0,el.A)(tS(e.children,t,a))))}),r},tk=e=>{let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:o}=e,{filters:l,filterDropdown:a}=o;if(a)t[n]=r||null;else if(Array.isArray(r)){let e=tC(l);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tO=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:o,filters:l},filteredKeys:a}=r;return o&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tC(l),c=a.findIndex(e=>String(e)===String(r)),i=-1!==c?a[c]:r;return e[n]&&(e[n]=tO(e[n],t,n)),o(i,e)})):e},e),tN=e=>e.flatMap(e=>"children"in e?[e].concat((0,el.A)(tN(e.children||[]))):[e]);var tI=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 tR=function(e,t,n){let o=n&&"object"==typeof n?n:{},{total:l=0}=o,a=tI(o,["total"]),[c,i]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),s=(0,ts.A)(c,a,{total:l>0?l:e}),d=Math.ceil((l||e)/s.pageSize);s.current>d&&(s.current=d||1);let u=(e,t)=>{i({current:null!=e?e:1,pageSize:t||s.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:(e,r)=>{var o;n&&(null==(o=n.onChange)||o.call(n,e,r)),u(e,r),t(e,r||(null==s?void 0:s.pageSize))}}),u]},tz={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:"outlined"};var tj=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:tz}))});let tM={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};var tP=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:tM}))}),tB=n(97540);let tT="ascend",tL="descend",tH=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tK=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tW=(e,t,n)=>{let r=[],o=(e,t)=>{r.push({column:e,key:tr(e,t),multiplePriority:tH(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,l)=>{let a=to(l,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,el.A)(r),(0,el.A)(tW(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tr(e,a),multiplePriority:tH(e),sortOrder:e.defaultSortOrder}))}),r},t_=(e,t,n,o,l,a,c,i)=>(t||[]).map((t,s)=>{let d=to(s,i),u=t;if(u.sorter){let i,s=u.sortDirections||l,f=void 0===u.showSorterTooltip?c:u.showSorterTooltip,p=tr(u,d),m=n.find(e=>{let{key:t}=e;return t===p}),b=m?m.sortOrder:null,h=((e,t)=>t?e[e.indexOf(t)+1]:e[0])(s,b);if(t.sortIcon)i=t.sortIcon({sortOrder:b});else{let t=s.includes(tT)&&r.createElement(tP,{className:k()("".concat(e,"-column-sorter-up"),{active:b===tT})}),n=s.includes(tL)&&r.createElement(tj,{className:k()("".concat(e,"-column-sorter-down"),{active:b===tL})});i=r.createElement("span",{className:k()("".concat(e,"-column-sorter"),{["".concat(e,"-column-sorter-full")]:!!(t&&n)})},r.createElement("span",{className:"".concat(e,"-column-sorter-inner"),"aria-hidden":"true"},t,n))}let{cancelSort:g,triggerAsc:v,triggerDesc:x}=a||{},y=g;h===tL?y=x:h===tT&&(y=v);let w="object"==typeof f?Object.assign({title:y},f):{title:y};u=Object.assign(Object.assign({},u),{className:k()(u.className,{["".concat(e,"-column-sort")]:b}),title:n=>{let o="".concat(e,"-column-sorters"),l=r.createElement("span",{className:"".concat(e,"-column-title")},tl(t.title,n)),a=r.createElement("div",{className:o},l,i);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:k()(o,"".concat(o,"-tooltip-target-sorter"))},l,r.createElement(tB.A,Object.assign({},w),i)):r.createElement(tB.A,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let l=(null==(r=t.onHeaderCell)?void 0:r.call(t,n))||{},a=l.onClick,c=l.onKeyDown;l.onClick=e=>{o({column:t,key:p,sortOrder:h,multiplePriority:tH(t)}),null==a||a(e)},l.onKeyDown=e=>{e.keyCode===tx.A.ENTER&&(o({column:t,key:p,sortOrder:h,multiplePriority:tH(t)}),null==c||c(e))};let i=((e,t)=>{let n=tl(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n})(t.title,{}),s=null==i?void 0:i.toString();return b&&(l["aria-sort"]="ascend"===b?"ascending":"descending"),l["aria-label"]=s||"",l.className=k()(l.className,"".concat(e,"-column-has-sorters")),l.tabIndex=0,t.ellipsis&&(l.title=(null!=i?i:"").toString()),l}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:t_(e,u.children,n,o,l,a,c,d)})),u}),tD=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tF=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tD);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tD(e[t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},tq=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),o=e.slice(),l=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return tK(t)&&n});return l.length?o.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:tq(r,t,n)}):e}):o},tV=(e,t)=>e.map(e=>{let n=Object.assign({},e);return n.title=tl(e.title,t),"children"in n&&(n.children=tV(n.children,t)),n}),tX=v(eI,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),tY=v(eK,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var tU=n(99841),tG=n(60872),tQ=n(18184),tJ=n(45431),t$=n(61388);let tZ=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:o}=e,l="".concat((0,tU.zA)(n)," ").concat(e.lineType," ").concat(r);return{["".concat(t,"-wrapper")]:{["".concat(t,"-summary")]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},["div".concat(t,"-summary")]:{boxShadow:"0 ".concat((0,tU.zA)(o(n).mul(-1).equal())," 0 ").concat(r)}}}},t0=(0,tJ.OF)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:l,headerColor:a,headerSortActiveBg:c,headerSortHoverBg:i,bodySortBg:s,rowHoverBg:d,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:b,cellPaddingBlockMD:h,cellPaddingInlineMD:g,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:y,footerBg:w,footerColor:C,headerBorderRadius:A,cellFontSize:E,cellFontSizeMD:S,cellFontSizeSM:k,headerSplitColor:O,fixedHeaderSortActiveBg:N,headerFilterHoverBg:I,filterDropdownBg:R,expandIconBg:z,selectionColumnWidth:j,stickyScrollBarBg:M,calc:P}=e,B=(0,t$.oX)(e,{tableFontSize:E,tableBg:r,tableRadius:A,tablePaddingVertical:m,tablePaddingHorizontal:b,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:g,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:y,tableHeaderTextColor:a,tableHeaderBg:l,tableFooterTextColor:C,tableFooterBg:w,tableHeaderCellSplitColor:O,tableHeaderSortBg:c,tableHeaderSortHoverBg:i,tableBodySortBg:s,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:R,tableRowHoverBg:d,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:P(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:k,tableSelectionColumnWidth:j,tableExpandIconBg:z,tableExpandColumnWidth:P(o).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:M,tableScrollThumbBgHover:t,tableScrollBg:n});return[(e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:o,tableExpandColumnWidth:l,lineWidth:a,lineType:c,tableBorderColor:i,tableFontSize:s,tableBg:d,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:b,tableFooterTextColor:h,tableFooterBg:g,calc:v}=e,x="".concat((0,tU.zA)(a)," ").concat(c," ").concat(i);return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({clear:"both",maxWidth:"100%","--rc-virtual-list-scrollbar-bg":e.tableScrollBg},(0,tQ.t6)()),{[t]:Object.assign(Object.assign({},(0,tQ.dF)(e)),{fontSize:s,background:d,borderRadius:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(u)," 0 0"),scrollbarColor:"".concat(e.tableScrollThumbBg," ").concat(e.tableScrollBg)}),table:{width:"100%",textAlign:"start",borderRadius:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(u)," 0 0"),borderCollapse:"separate",borderSpacing:0},["\n ".concat(t,"-cell,\n ").concat(t,"-thead > tr > th,\n ").concat(t,"-tbody > tr > th,\n ").concat(t,"-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n ")]:{position:"relative",padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o)),overflowWrap:"break-word"},["".concat(t,"-title")]:{padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o))},["".concat(t,"-thead")]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:"background ".concat(p," ease"),"&[colspan]:not([colspan='1'])":{textAlign:"center"},["&:not(:last-child):not(".concat(t,"-selection-column):not(").concat(t,"-row-expand-icon-cell):not([colspan])::before")]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:b,transform:"translateY(-50%)",transition:"background-color ".concat(p),content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},["".concat(t,"-tbody")]:{"> tr":{"> th, > td":{transition:"background ".concat(p,", border-color ").concat(p),borderBottom:x,["\n > ".concat(t,"-wrapper:only-child,\n > ").concat(t,"-expanded-row-fixed > ").concat(t,"-wrapper:only-child\n ")]:{[t]:{marginBlock:(0,tU.zA)(v(r).mul(-1).equal()),marginInline:"".concat((0,tU.zA)(v(l).sub(o).equal()),"\n ").concat((0,tU.zA)(v(o).mul(-1).equal())),["".concat(t,"-tbody > tr:last-child > td")]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:"background ".concat(p," ease")},["& > ".concat(t,"-measure-cell")]:{paddingBlock:"0 !important",borderBlock:"0 !important",["".concat(t,"-measure-cell-content")]:{height:0,overflow:"hidden",pointerEvents:"none"}}}},["".concat(t,"-footer")]:{padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o)),color:h,background:g}})}})(B),(e=>{let{componentCls:t,antCls:n,margin:r}=e;return{["".concat(t,"-wrapper ").concat(t,"-pagination").concat(n,"-pagination")]:{margin:"".concat((0,tU.zA)(r)," 0")}}})(B),tZ(B),(e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:l}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-thead th").concat(t,"-column-has-sorters")]:{outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow,", left 0s"),"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},["\n &".concat(t,"-cell-fix-left:hover,\n &").concat(t,"-cell-fix-right:hover\n ")]:{background:e.tableFixedHeaderSortActiveBg}},["".concat(t,"-thead th").concat(t,"-column-sort")]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},["td".concat(t,"-column-sort")]:{background:e.tableBodySortBg},["".concat(t,"-column-title")]:{position:"relative",zIndex:1,flex:1,minWidth:0},["".concat(t,"-column-sorters")]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},["".concat(t,"-column-sorters-tooltip-target-sorter")]:{"&::after":{content:"none"}},["".concat(t,"-column-sorter")]:{marginInlineStart:n,color:o,fontSize:0,transition:"color ".concat(e.motionDurationSlow),"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},["".concat(t,"-column-sorter-up + ").concat(t,"-column-sorter-down")]:{marginTop:"-0.3em"}},["".concat(t,"-column-sorters:hover ").concat(t,"-column-sorter")]:{color:l}}}})(B),(e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:l,paddingXXS:a,paddingXS:c,colorText:i,lineWidth:s,lineType:d,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:b,motionDurationSlow:h,colorIcon:g,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:A,controlItemBgActive:E,boxShadowSecondary:S,filterDropdownMenuBg:k,calc:O}=e,N="".concat(n,"-dropdown"),I="".concat(t,"-filter-dropdown"),R="".concat(n,"-tree"),z="".concat((0,tU.zA)(s)," ").concat(d," ").concat(u);return[{["".concat(t,"-wrapper")]:{["".concat(t,"-filter-column")]:{display:"flex",justifyContent:"space-between"},["".concat(t,"-filter-trigger")]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(a).mul(-1).equal(),marginInline:"".concat((0,tU.zA)(a)," ").concat((0,tU.zA)(O(m).div(2).mul(-1).equal())),padding:"0 ".concat((0,tU.zA)(a)),color:f,fontSize:p,borderRadius:b,cursor:"pointer",transition:"all ".concat(h),"&:hover":{color:g,background:x},"&.active":{color:v}}}},{["".concat(n,"-dropdown")]:{[I]:Object.assign(Object.assign({},(0,tQ.dF)(e)),{minWidth:o,backgroundColor:w,borderRadius:b,boxShadow:S,overflow:"hidden",["".concat(N,"-menu")]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:"".concat((0,tU.zA)(c)," 0"),color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},["".concat(I,"-tree")]:{paddingBlock:"".concat((0,tU.zA)(c)," 0"),paddingInline:c,[R]:{padding:0},["".concat(R,"-treenode ").concat(R,"-node-content-wrapper:hover")]:{backgroundColor:A},["".concat(R,"-treenode-checkbox-checked ").concat(R,"-node-content-wrapper")]:{"&, &:hover":{backgroundColor:E}}},["".concat(I,"-search")]:{padding:c,borderBottom:z,"&-input":{input:{minWidth:l},[r]:{color:y}}},["".concat(I,"-checkall")]:{width:"100%",marginBottom:a,marginInlineStart:a},["".concat(I,"-btns")]:{display:"flex",justifyContent:"space-between",padding:"".concat((0,tU.zA)(O(c).sub(s).equal())," ").concat((0,tU.zA)(c)),overflow:"hidden",borderTop:z}})}},{["".concat(n,"-dropdown ").concat(I,", ").concat(I,"-submenu")]:{["".concat(n,"-checkbox-wrapper + span")]:{paddingInlineStart:c,color:i},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]})(B),(e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:o,tableHeaderBg:l,tablePaddingVertical:a,tablePaddingHorizontal:c,calc:i}=e,s="".concat((0,tU.zA)(n)," ").concat(r," ").concat(o),d=(e,r,o)=>({["&".concat(t,"-").concat(e)]:{["> ".concat(t,"-container")]:{["> ".concat(t,"-content, > ").concat(t,"-body")]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(i(r).mul(-1).equal()),"\n ").concat((0,tU.zA)(i(i(o).add(n)).mul(-1).equal()))}}}}}});return{["".concat(t,"-wrapper")]:{["".concat(t).concat(t,"-bordered")]:Object.assign(Object.assign(Object.assign({["> ".concat(t,"-title")]:{border:s,borderBottom:0},["> ".concat(t,"-container")]:{borderInlineStart:s,borderTop:s,["\n > ".concat(t,"-content,\n > ").concat(t,"-header,\n > ").concat(t,"-body,\n > ").concat(t,"-summary\n ")]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:s},"> thead":{"> tr:not(:last-child) > th":{borderBottom:s},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{["> ".concat(t,"-cell-fix-right-first::after")]:{borderInlineEnd:s}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(i(a).mul(-1).equal())," ").concat((0,tU.zA)(i(i(c).add(n)).mul(-1).equal())),"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:s,content:'""'}}}}}},["&".concat(t,"-scroll-horizontal")]:{["> ".concat(t,"-container > ").concat(t,"-body")]:{"> table > tbody":{["\n > tr".concat(t,"-expanded-row,\n > tr").concat(t,"-placeholder\n ")]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{["> ".concat(t,"-footer")]:{border:s,borderTop:0}}),["".concat(t,"-cell")]:{["".concat(t,"-container:first-child")]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:"0 ".concat((0,tU.zA)(n)," 0 ").concat((0,tU.zA)(n)," ").concat(l)}},["".concat(t,"-bordered ").concat(t,"-cell-scrollbar")]:{borderInlineEnd:s}}}})(B),(e=>{let{componentCls:t,tableRadius:n}=e;return{["".concat(t,"-wrapper")]:{[t]:{["".concat(t,"-title, ").concat(t,"-header")]:{borderRadius:"".concat((0,tU.zA)(n)," ").concat((0,tU.zA)(n)," 0 0")},["".concat(t,"-title + ").concat(t,"-container")]:{borderStartStartRadius:0,borderStartEndRadius:0,["".concat(t,"-header, table")]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:"0 0 ".concat((0,tU.zA)(n)," ").concat((0,tU.zA)(n))}}}}})(B),(e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:o,paddingXS:l,lineType:a,tableBorderColor:c,tableExpandIconBg:i,tableExpandColumnWidth:s,borderRadius:d,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:b,expandIconSize:h,expandIconHalfInner:g,expandIconScale:v,calc:x}=e,y="".concat((0,tU.zA)(o)," ").concat(a," ").concat(c),w=x(m).sub(o).equal();return{["".concat(t,"-wrapper")]:{["".concat(t,"-expand-icon-col")]:{width:s},["".concat(t,"-row-expand-icon-cell")]:{textAlign:"center",["".concat(t,"-row-expand-icon")]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},["".concat(t,"-row-indent")]:{height:1,float:"left"},["".concat(t,"-row-expand-icon")]:Object.assign(Object.assign({},(0,tQ.Y1)(e)),{position:"relative",float:"left",width:h,height:h,color:"inherit",lineHeight:(0,tU.zA)(h),background:i,border:y,borderRadius:d,transform:"scale(".concat(v,")"),"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:"transform ".concat(r," ease-out"),content:'""'},"&::before":{top:g,insetInlineEnd:w,insetInlineStart:w,height:o},"&::after":{top:w,bottom:w,insetInlineStart:g,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),["".concat(t,"-row-indent + ").concat(t,"-row-expand-icon")]:{marginTop:b,marginInlineEnd:l},["tr".concat(t,"-expanded-row")]:{"&, &:hover":{"> th, > td":{background:p}},["".concat(n,"-descriptions-view")]:{display:"flex",table:{flex:"auto",width:"100%"}}},["".concat(t,"-expanded-row-fixed")]:{position:"relative",margin:"".concat((0,tU.zA)(x(u).mul(-1).equal())," ").concat((0,tU.zA)(x(f).mul(-1).equal())),padding:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(f))}}}})(B),tZ(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody > tr").concat(t,"-placeholder")]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}})(B),(e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:o,padding:l,paddingXS:a,headerIconColor:c,headerIconHoverColor:i,tableSelectionColumnWidth:s,tableSelectedRowBg:d,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-selection-col")]:{width:s,["&".concat(t,"-selection-col-with-dropdown")]:{width:m(s).add(o).add(m(l).div(4)).equal()}},["".concat(t,"-bordered ").concat(t,"-selection-col")]:{width:m(s).add(m(a).mul(2)).equal(),["&".concat(t,"-selection-col-with-dropdown")]:{width:m(s).add(o).add(m(l).div(4)).add(m(a).mul(2)).equal()}},["\n table tr th".concat(t,"-selection-column,\n table tr td").concat(t,"-selection-column,\n ").concat(t,"-selection-column\n ")]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",["".concat(n,"-radio-wrapper")]:{marginInlineEnd:0}},["table tr th".concat(t,"-selection-column").concat(t,"-cell-fix-left")]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},["table tr th".concat(t,"-selection-column::after")]:{backgroundColor:"transparent !important"},["".concat(t,"-selection")]:{position:"relative",display:"inline-flex",flexDirection:"column"},["".concat(t,"-selection-extra")]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),marginInlineStart:"100%",paddingInlineStart:(0,tU.zA)(m(p).div(4).equal()),[r]:{color:c,fontSize:o,verticalAlign:"baseline","&:hover":{color:i}}},["".concat(t,"-tbody")]:{["".concat(t,"-row")]:{["&".concat(t,"-row-selected")]:{["> ".concat(t,"-cell")]:{background:d,"&-row-hover":{background:u}}},["> ".concat(t,"-cell-row-hover")]:{background:f}}}}}})(B),(e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:l,tableBg:a,zIndexTableSticky:c,calc:i}=e;return{["".concat(t,"-wrapper")]:{["\n ".concat(t,"-cell-fix-left,\n ").concat(t,"-cell-fix-right\n ")]:{position:"sticky !important",zIndex:l,background:a},["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after\n ")]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:i(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none",willChange:"transform"},["".concat(t,"-cell-fix-left-all::after")]:{display:"none"},["\n ".concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{position:"absolute",top:0,bottom:i(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},["".concat(t,"-container")]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:i(c).add(1).equal({unit:!1}),width:30,transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},["".concat(t,"-ping-left")]:{["&:not(".concat(t,"-has-fix-left) ").concat(t,"-container::before")]:{boxShadow:"inset 10px 0 8px -8px ".concat(r)},["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after\n ")]:{boxShadow:"inset 10px 0 8px -8px ".concat(r)},["".concat(t,"-cell-fix-left-last::before")]:{backgroundColor:"transparent !important"}},["".concat(t,"-ping-right")]:{["&:not(".concat(t,"-has-fix-right) ").concat(t,"-container::after")]:{boxShadow:"inset -10px 0 8px -8px ".concat(r)},["\n ".concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{boxShadow:"inset -10px 0 8px -8px ".concat(r)}},["".concat(t,"-fixed-column-gapped")]:{["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after,\n ").concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{boxShadow:"none"}}}}})(B),(e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:o,tableScrollThumbSize:l,tableScrollBg:a,zIndexTableSticky:c,stickyScrollBarBorderRadius:i,lineWidth:s,lineType:d,tableBorderColor:u}=e,f="".concat((0,tU.zA)(s)," ").concat(d," ").concat(u);return{["".concat(t,"-wrapper")]:{["".concat(t,"-sticky")]:{"&-holder":{position:"sticky",zIndex:c,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:"".concat((0,tU.zA)(l)," !important"),zIndex:c,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:r,borderRadius:i,transition:"all ".concat(e.motionDurationSlow,", transform 0s"),position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}})(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-cell-ellipsis")]:Object.assign(Object.assign({},tQ.L9),{wordBreak:"keep-all",["\n &".concat(t,"-cell-fix-left-last,\n &").concat(t,"-cell-fix-right-first\n ")]:{overflow:"visible",["".concat(t,"-cell-content")]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},["".concat(t,"-column-title")]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}})(B),(e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,o=(e,o,l,a)=>({["".concat(t).concat(t,"-").concat(e)]:{fontSize:a,["\n ".concat(t,"-title,\n ").concat(t,"-footer,\n ").concat(t,"-cell,\n ").concat(t,"-thead > tr > th,\n ").concat(t,"-tbody > tr > th,\n ").concat(t,"-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n ")]:{padding:"".concat((0,tU.zA)(o)," ").concat((0,tU.zA)(l))},["".concat(t,"-filter-trigger")]:{marginInlineEnd:(0,tU.zA)(r(l).div(2).mul(-1).equal())},["".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(r(o).mul(-1).equal())," ").concat((0,tU.zA)(r(l).mul(-1).equal()))},["".concat(t,"-tbody")]:{["".concat(t,"-wrapper:only-child ").concat(t)]:{marginBlock:(0,tU.zA)(r(o).mul(-1).equal()),marginInline:"".concat((0,tU.zA)(r(n).sub(l).equal())," ").concat((0,tU.zA)(r(l).mul(-1).equal()))}},["".concat(t,"-selection-extra")]:{paddingInlineStart:(0,tU.zA)(r(l).div(4).equal())}}});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}})(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper-rtl")]:{direction:"rtl",table:{direction:"rtl"},["".concat(t,"-pagination-left")]:{justifyContent:"flex-end"},["".concat(t,"-pagination-right")]:{justifyContent:"flex-start"},["".concat(t,"-row-expand-icon")]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},["".concat(t,"-container")]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},["".concat(t,"-row-indent")]:{float:"right"}}}}})(B),(e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:o,tableBorderColor:l,calc:a}=e,c="".concat((0,tU.zA)(r)," ").concat(o," ").concat(l),i="".concat(t,"-expanded-row-cell");return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody-virtual")]:{["".concat(t,"-tbody-virtual-holder-inner")]:{["\n & > ".concat(t,"-row, \n & > div:not(").concat(t,"-row) > ").concat(t,"-row\n ")]:{display:"flex",boxSizing:"border-box",width:"100%"}},["".concat(t,"-cell")]:{borderBottom:c,transition:"background ".concat(n)},["".concat(t,"-expanded-row")]:{["".concat(i).concat(i,"-fixed")]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:"calc(var(--virtual-width) - ".concat((0,tU.zA)(r),")"),borderInlineEnd:"none"}}},["".concat(t,"-bordered")]:{["".concat(t,"-tbody-virtual")]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:c,position:"absolute"},["".concat(t,"-cell")]:{borderInlineEnd:c,["&".concat(t,"-cell-fix-right-first:before")]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:c}}},["&".concat(t,"-virtual")]:{["".concat(t,"-placeholder ").concat(t,"-cell")]:{borderInlineEnd:c,borderBottom:c}}}}}})(B)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:o,colorFillContent:l,controlItemBgActive:a,controlItemBgActiveHover:c,padding:i,paddingSM:s,paddingXS:d,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:b,fontSizeSM:h,lineHeight:g,lineWidth:v,colorIcon:x,colorIconHover:y,opacityLoading:w,controlInteractiveSize:C}=e,A=new tG.Y(o).onBackground(n).toHexString(),E=new tG.Y(l).onBackground(n).toHexString(),S=new tG.Y(t).onBackground(n).toHexString(),k=new tG.Y(x),O=new tG.Y(y),N=C/2-v,I=2*N+3*v;return{headerBg:S,headerColor:r,headerSortActiveBg:A,headerSortHoverBg:E,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:c,rowExpandedBg:t,cellPaddingBlock:i,cellPaddingInline:i,cellPaddingBlockMD:s,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:b,cellFontSizeMD:b,cellFontSizeSM:b,headerSplitColor:u,fixedHeaderSortActiveBg:A,headerFilterHoverBg:l,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(b*g-3*v)/2-Math.ceil((1.4*h-3*v)/2),headerIconColor:k.clone().setA(k.a*w).toRgbString(),headerIconHoverColor:O.clone().setA(O.a*w).toRgbString(),expandIconHalfInner:N,expandIconSize:I,expandIconScale:C/I}},{unitless:{expandIconScale:!0}}),t1=[],t2=r.forwardRef((e,t)=>{var n,o;let{prefixCls:a,className:c,rootClassName:i,style:s,size:d,bordered:u,dropdownPrefixCls:f,dataSource:p,pagination:m,rowSelection:b,rowKey:h="key",rowClassName:g,columns:v,children:x,childrenColumnName:y,onChange:w,getPopupContainer:C,loading:A,expandIcon:E,expandable:S,expandedRowRender:O,expandIconColumnIndex:N,indentSize:I,scroll:R,sortDirections:z,locale:j,showSorterTooltip:M={target:"full-header"},virtual:P}=e;(0,eV.rJ)("Table");let B=r.useMemo(()=>v||eb(x),[v,x]),T=r.useMemo(()=>B.some(e=>e.responsive),[B]),L=(0,e9.A)(T),H=r.useMemo(()=>{let e=new Set(Object.keys(L).filter(e=>L[e]));return B.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[B,L]),K=(0,e1.A)(e,["className","style","columns"]),{locale:W=e7.A,direction:_,table:D,renderEmpty:F,getPrefixCls:q,getPopupContainer:V}=r.useContext(e8.QO),X=(0,e6.A)(d),Y=Object.assign(Object.assign({},W.Table),j),U=p||t1,G=q("table",a),Q=q("dropdown",f),[,J]=(0,tn.Ay)(),$=(0,e5.A)(G),[Z,ee,et]=t0(G,$),er=Object.assign(Object.assign({childrenColumnName:y,expandIconColumnIndex:N},S),{expandIcon:null!=(n=null==S?void 0:S.expandIcon)?n:null==(o=null==D?void 0:D.expandable)?void 0:o.expandIcon}),{childrenColumnName:eo="children"}=er,ea=r.useMemo(()=>U.some(e=>null==e?void 0:e[eo])?"nest":O||(null==S?void 0:S.expandedRowRender)?"row":null,[U]),ec={body:r.useRef(null)},ei=(e,t)=>{let n=e.querySelector(".".concat(G,"-container")),r=t;if(n){let e=getComputedStyle(n);r=t-Number.parseInt(e.borderLeftWidth,10)-Number.parseInt(e.borderRightWidth,10)}return r},es=r.useRef(null),ed=r.useRef(null);(0,r.useImperativeHandle)(t,()=>{let e=(()=>Object.assign(Object.assign({},ed.current),{nativeElement:es.current}))(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):function(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){let r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}(t,e)});let eu=r.useMemo(()=>"function"==typeof h?h:e=>null==e?void 0:e[h],[h]),[ef]=((e,t,n)=>{let o=r.useRef({});return[function(r){var l;if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==n){let r=new Map;!function e(o){o.forEach((o,l)=>{let a=n(o,l);r.set(a,o),o&&"object"==typeof o&&t in o&&e(o[t]||[])})}(e),o.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null==(l=o.current.kvMap)?void 0:l.get(r)}]})(U,eo,eu),ep={},em=function(e,t){var n,r,o,l;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Object.assign(Object.assign({},ep),e);a&&(null==(n=ep.resetPagination)||n.call(ep),(null==(r=c.pagination)?void 0:r.current)&&(c.pagination.current=1),m&&(null==(o=m.onChange)||o.call(m,1,null==(l=c.pagination)?void 0:l.pageSize))),R&&!1!==R.scrollToFirstRowOnChange&&ec.body.current&&(0,e2.A)(0,{getContainer:()=>ec.body.current}),null==w||w(c.pagination,c.filters,c.sorter,{currentDataSource:tO(tq(U,c.sorterStates,eo),c.filterStates,eo),action:t})},[eh,eg,ev,ex]=(e=>{let{prefixCls:t,mergedColumns:n,sortDirections:o,tableLocale:l,showSorterTooltip:a,onSorterChange:c}=e,[i,s]=r.useState(()=>tW(n,!0)),d=(e,t)=>{let n=[];return e.forEach((e,r)=>{let o=to(r,t);if(n.push(tr(e,o)),Array.isArray(e.children)){let t=d(e.children,o);n.push.apply(n,(0,el.A)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=tW(n,!1);if(!t.length){let e=d(n);return i.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function o(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let l=null;return t.forEach(t=>{null===l?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:l=!0)):(l&&!1!==t.multiplePriority||(e=!1),o(t))}),r},[n,i]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null==(e=n[0])?void 0:e.column,sortOrder:null==(t=n[0])?void 0:t.order}},[u]),p=e=>{let t;s(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,el.A)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),c(tF(t),t)};return[e=>t_(t,e,u,p,o,l,a),u,f,()=>tF(u)]})({prefixCls:G,mergedColumns:H,onSorterChange:(e,t)=>{em({sorter:e,sorterStates:t},"sort",!1)},sortDirections:z||["ascend","descend"],tableLocale:Y,showSorterTooltip:M}),ey=r.useMemo(()=>tq(U,eg,eo),[U,eg]);ep.sorter=ex(),ep.sorterStates=eg;let[ew,eC,eA]=(e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,onFilterChange:l,getPopupContainer:a,locale:c,rootClassName:i}=e;(0,eV.rJ)("Table");let s=r.useMemo(()=>tN(o||[]),[o]),[d,u]=r.useState(()=>tS(s,!0)),f=r.useMemo(()=>{let e=tS(s,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(s||[]).map((e,t)=>tr(e,to(t)));return d.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=s[e.indexOf(t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[s,d]),p=r.useMemo(()=>tk(f),[f]),m=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),l(tk(t),t)};return[e=>(function e(t,n,o,l,a,c,i,s,d){return o.map((o,u)=>{let f=to(u,s),{filterOnClose:p=!0,filterMultiple:m=!0,filterMode:b,filterSearch:h}=o,g=o;if(g.filters||g.filterDropdown){let e=tr(g,f),s=l.find(t=>{let{key:n}=t;return e===n});g=Object.assign(Object.assign({},g),{title:l=>r.createElement(tE,{tablePrefixCls:t,prefixCls:"".concat(t,"-filter"),dropdownPrefixCls:n,column:g,columnKey:e,filterState:s,filterOnClose:p,filterMultiple:m,filterMode:b,filterSearch:h,triggerFilter:c,locale:a,getPopupContainer:i,rootClassName:d},tl(o.title,l))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:e(t,n,g.children,l,a,c,i,f,d)})),g})})(t,n,e,f,c,m,a,void 0,i),f,p]})({prefixCls:G,locale:Y,dropdownPrefixCls:Q,mergedColumns:H,onFilterChange:(e,t)=>{em({filters:e,filterStates:t},"filter",!0)},getPopupContainer:C||V,rootClassName:k()(i,$)}),eE=tO(ey,eC,eo);ep.filters=eA,ep.filterStates=eC;let[eS]=(e=>[r.useCallback(t=>tV(t,e),[e])])(r.useMemo(()=>{let e={};return Object.keys(eA).forEach(t=>{null!==eA[t]&&(e[t]=eA[t])}),Object.assign(Object.assign({},ev),{filters:e})},[ev,eA])),[ek,eO]=tR(eE.length,(e,t)=>{em({pagination:Object.assign(Object.assign({},ep.pagination),{current:e,pageSize:t})},"paginate")},m);ep.pagination=!1===m?{}:function(e,t){let n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&"object"==typeof t?t:{}).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}(ek,m),ep.resetPagination=eO;let eN=r.useMemo(()=>{if(!1===m||!ek.pageSize)return eE;let{current:e=1,total:t,pageSize:n=10}=ek;return eE.lengthn?eE.slice((e-1)*n,e*n):eE:eE.slice((e-1)*n,e*n)},[!!m,eE,null==ek?void 0:ek.current,null==ek?void 0:ek.pageSize,null==ek?void 0:ek.total]),[eI,eR]=((e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:o,defaultSelectedRowKeys:l,getCheckboxProps:a,getTitleCheckboxProps:c,onChange:i,onSelect:s,onSelectAll:d,onSelectInvert:u,onSelectNone:f,onSelectMultiple:p,columnWidth:m,type:b,selections:h,fixed:g,renderCell:v,hideSelectAll:x,checkStrictly:y=!0}=t||{},{prefixCls:w,data:C,pageData:A,getRecordByKey:E,getRowKey:S,expandType:O,childrenColumnName:N,locale:I,getPopupContainer:R}=e,z=(0,eV.rJ)("Table"),[j,M]=(e=>{let[t,n]=(0,r.useState)(null);return[(0,r.useCallback)((r,o,l)=>{let a=null!=t?t:r,c=Math.min(a||0,r),i=Math.max(a||0,r),s=o.slice(c,i+1).map(e),d=s.some(e=>!l.has(e)),u=[];return s.forEach(e=>{d?(l.has(e)||u.push(e),l.add(e)):(l.delete(e),u.push(e))}),n(d?i:null),u},[t]),n]})(e=>e),[P,B]=(0,eq.A)(o||l||eZ,{value:o}),T=r.useRef(new Map),L=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=E(e);!n&&T.current.has(e)&&(n=T.current.get(e)),t.set(e,n)}),T.current=t}},[E,n]);r.useEffect(()=>{L(P)},[P]);let H=(0,r.useMemo)(()=>e0(N,A),[N,A]),{keyEntities:K}=(0,r.useMemo)(()=>{if(y)return{keyEntities:null};let e=C;if(n){let t=new Set(H.map((e,t)=>S(e,t))),n=Array.from(T.current).reduce((e,n)=>{let[r,o]=n;return t.has(r)?e:e.concat(o)},[]);e=[].concat((0,el.A)(e),(0,el.A)(n))}return(0,eF.cG)(e,{externalGetKey:S,childrenPropName:N})},[C,S,y,N,n,H]),W=(0,r.useMemo)(()=>{let e=new Map;return H.forEach((t,n)=>{let r=S(t,n),o=(a?a(t):null)||{};e.set(r,o)}),e},[H,S,a]),_=(0,r.useCallback)(e=>{let t,n=S(e);return!!(null==(t=W.has(n)?W.get(S(e)):a?a(e):void 0)?void 0:t.disabled)},[W,S]),[D,F]=(0,r.useMemo)(()=>{if(y)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,eD.p)(P,!0,K,_);return[e||[],t]},[P,y,K,_]),q=(0,r.useMemo)(()=>new Set("radio"===b?D.slice(0,1):D),[D,b]),V=(0,r.useMemo)(()=>"radio"===b?new Set:new Set(F),[F,b]);r.useEffect(()=>{t||B(eZ)},[!!t]);let X=(0,r.useCallback)((e,t)=>{let r,o;L(e),n?(r=e,o=e.map(e=>T.current.get(e))):(r=[],o=[],e.forEach(e=>{let t=E(e);void 0!==t&&(r.push(e),o.push(t))})),B(r),null==i||i(r,o,{type:t})},[B,E,i,n]),Y=(0,r.useCallback)((e,t,n,r)=>{if(s){let o=n.map(e=>E(e));s(E(e),t,o,r)}X(n,"single")},[s,E,X]),U=(0,r.useMemo)(()=>!h||x?null:(!0===h?[eQ,eJ,e$]:h).map(e=>e===eQ?{key:"all",text:I.selectionAll,onSelect(){X(C.map((e,t)=>S(e,t)).filter(e=>{let t=W.get(e);return!(null==t?void 0:t.disabled)||q.has(e)}),"all")}}:e===eJ?{key:"invert",text:I.selectInvert,onSelect(){let e=new Set(q);A.forEach((t,n)=>{let r=S(t,n),o=W.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(z.deprecated(!1,"onSelectInvert","onChange"),u(t)),X(t,"invert")}}:e===e$?{key:"none",text:I.selectNone,onSelect(){null==f||f(),X(Array.from(q).filter(e=>{let t=W.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n=arguments.length,r=Array(n),o=0;o{var n;let o,l,a;if(!t)return e.filter(e=>e!==eG);let i=(0,el.A)(e),s=new Set(q),u=H.map(S).filter(e=>!W.get(e).disabled),f=u.every(e=>s.has(e)),C=u.some(e=>s.has(e));if("radio"!==b){let e;if(U){let t={getPopupContainer:R,items:U.map((e,t)=>{let{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(u)},label:r}})};e=r.createElement("div",{className:"".concat(w,"-selection-extra")},r.createElement(eY.A,{menu:t,getPopupContainer:R},r.createElement("span",null,r.createElement(eW.A,null))))}let t=H.map((e,t)=>{let n=S(e,t),r=W.get(n)||{};return Object.assign({checked:s.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===H.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t}),p=(null==c?void 0:c())||{},{onChange:m,disabled:b}=p;l=r.createElement(eX.A,Object.assign({"aria-label":e?"Custom selection":"Select all"},p,{checked:n?a:!!H.length&&f,indeterminate:n?!a&&i:!f&&C,onChange:e=>{(()=>{let e=[];f?u.forEach(t=>{s.delete(t),e.push(t)}):u.forEach(t=>{s.has(t)||(s.add(t),e.push(t))});let t=Array.from(s);null==d||d(!f,t.map(e=>E(e)),e.map(e=>E(e))),X(t,"all"),M(null)})(),null==m||m(e)},disabled:null!=b?b:0===H.length||n,skipGroup:!0})),o=!x&&r.createElement("div",{className:"".concat(w,"-selection")},l,e)}if(a="radio"===b?(e,t,n)=>{let o=S(t,n),l=s.has(o),a=W.get(o);return{node:r.createElement(eU.Ay,Object.assign({},a,{checked:l,onClick:e=>{var t;e.stopPropagation(),null==(t=null==a?void 0:a.onClick)||t.call(a,e)},onChange:e=>{var t;s.has(o)||Y(o,!0,[o],e.nativeEvent),null==(t=null==a?void 0:a.onChange)||t.call(a,e)}})),checked:l}}:(e,t,n)=>{var o;let l,a=S(t,n),c=s.has(a),i=V.has(a),d=W.get(a);return l="nest"===O?i:null!=(o=null==d?void 0:d.indeterminate)?o:i,{node:r.createElement(eX.A,Object.assign({},d,{indeterminate:l,checked:c,skipGroup:!0,onClick:e=>{var t;e.stopPropagation(),null==(t=null==d?void 0:d.onClick)||t.call(d,e)},onChange:e=>{var t;let{nativeEvent:n}=e,{shiftKey:r}=n,o=u.indexOf(a),l=D.some(e=>u.includes(e));if(r&&y&&l){let e=j(o,u,s),t=Array.from(s);null==p||p(!c,t.map(e=>E(e)),e.map(e=>E(e))),X(t,"multiple")}else if(y){let e=c?(0,e_.BA)(D,a):(0,e_.$s)(D,a);Y(a,!c,e,n)}else{let{checkedKeys:e,halfCheckedKeys:t}=(0,eD.p)([].concat((0,el.A)(D),[a]),!0,K,_),r=e;if(c){let n=new Set(e);n.delete(a),r=(0,eD.p)(Array.from(n),{checked:!1,halfCheckedKeys:t},K,_).checkedKeys}Y(a,!c,r,n)}c?M(null):M(o),null==(t=null==d?void 0:d.onChange)||t.call(d,e)}})),checked:c}},!i.includes(eG))if(0===i.findIndex(e=>{var t;return(null==(t=e[en])?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eG].concat((0,el.A)(t))}else i=[eG].concat((0,el.A)(i));let A=i.indexOf(eG),N=(i=i.filter((e,t)=>e!==eG||t===A))[A-1],I=i[A+1],z=g;void 0===z&&((null==I?void 0:I.fixed)!==void 0?z=I.fixed:(null==N?void 0:N.fixed)!==void 0&&(z=N.fixed)),z&&N&&(null==(n=N[en])?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===N.fixed&&(N.fixed=z);let P=k()("".concat(w,"-selection-col"),{["".concat(w,"-selection-col-with-dropdown")]:h&&"checkbox"===b}),B={fixed:z,width:m,className:"".concat(w,"-selection-column"),title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(l):t.columnTitle:o,render:(e,t,n)=>{let{node:r,checked:o}=a(e,t,n);return v?v(o,t,n,r):r},onCell:t.onCell,align:t.align,[en]:{className:P}};return i.map(e=>e===eG?B:e)},[S,H,t,D,q,V,m,U,O,W,p,Y,_]),q]})({prefixCls:G,data:eE,pageData:eN,getRowKey:eu,getRecordByKey:ef,expandType:ea,childrenColumnName:eo,locale:Y,getPopupContainer:C||V},b);er.__PARENT_RENDER_ICON__=er.expandIcon,er.expandIcon=er.expandIcon||E||function(e){return t=>{let{prefixCls:n,onExpand:o,record:l,expanded:a,expandable:c}=t,i="".concat(n,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:e=>{o(l,e),e.stopPropagation()},className:k()(i,{["".concat(i,"-spaced")]:!c,["".concat(i,"-expanded")]:c&&a,["".concat(i,"-collapsed")]:c&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}(Y),"nest"===ea&&void 0===er.expandIconColumnIndex?er.expandIconColumnIndex=+!!b:er.expandIconColumnIndex>0&&b&&(er.expandIconColumnIndex-=1),"number"!=typeof er.indentSize&&(er.indentSize="number"==typeof I?I:15);let ez=r.useCallback(e=>eS(eI(ew(eh(e)))),[eh,ew,eI]),ej=r.useMemo(()=>"boolean"==typeof A?{spinning:A}:"object"==typeof A&&null!==A?Object.assign({spinning:!0},A):void 0,[A]),eM=k()(et,$,"".concat(G,"-wrapper"),null==D?void 0:D.className,{["".concat(G,"-wrapper-rtl")]:"rtl"===_},c,i,ee),eP=Object.assign(Object.assign({},null==D?void 0:D.style),s),eB=r.useMemo(()=>(null==ej?void 0:ej.spinning)&&U===t1?null:void 0!==(null==j?void 0:j.emptyText)?j.emptyText:(null==F?void 0:F("Table"))||r.createElement(e3.A,{componentName:"Table"}),[null==ej?void 0:ej.spinning,U,null==j?void 0:j.emptyText,F]),eT={},eL=r.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:o,paddingSM:l}=J,a=Math.floor(e*t);switch(X){case"middle":return 2*l+a+n;case"small":return 2*o+a+n;default:return 2*r+a+n}},[J,X]);P&&(eT.listItemHeight=eL);let{top:eH,bottom:eK}=(()=>{if(!1===m||!(null==ek?void 0:ek.total))return{};let e=e=>r.createElement(te.A,Object.assign({},ek,{align:ek.align||("left"===e?"start":"right"===e?"end":e),className:k()("".concat(G,"-pagination"),ek.className),size:ek.size||("small"===X||"middle"===X?"small":void 0)})),t="rtl"===_?"left":"right",n=ek.position;if(null===n||!Array.isArray(n))return{bottom:e(t)};let o=n.find(e=>"string"==typeof e&&e.toLowerCase().includes("top")),l=n.find(e=>"string"==typeof e&&e.toLowerCase().includes("bottom")),a=n.every(e=>"none"==="".concat(e)),c=o?o.toLowerCase().replace("top",""):"",i=l?l.toLowerCase().replace("bottom",""):"",s=!o&&!l&&!a;return{top:c?e(c):void 0,bottom:i?e(i):s?e(t):void 0}})();return Z(r.createElement("div",{ref:es,className:eM,style:eP},r.createElement(tt.A,Object.assign({spinning:!1},ej),eH,r.createElement(P?tY:tX,Object.assign({},eT,K,{ref:ed,columns:H,direction:_,expandable:er,prefixCls:G,className:k()({["".concat(G,"-middle")]:"middle"===X,["".concat(G,"-small")]:"small"===X,["".concat(G,"-bordered")]:u,["".concat(G,"-empty")]:0===U.length},et,$,ee),data:eN,rowKey:eu,rowClassName:(e,t,n)=>{let r;return r="function"==typeof g?k()(g(e,t,n)):k()(g),k()({["".concat(G,"-row-selected")]:eR.has(eu(e,t))},r)},emptyText:eB,internalHooks:l,internalRefs:ec,transformColumns:ez,getContainerWidth:ei,measureRowRender:e=>r.createElement(e4.Ay,{getPopupContainer:e=>e},e)})),eK)))}),t4=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(t2,Object.assign({},e,{ref:t,_renderTimes:n.current}))});t4.SELECTION_COLUMN=eG,t4.EXPAND_COLUMN=o,t4.SELECTION_ALL=eQ,t4.SELECTION_INVERT=eJ,t4.SELECTION_NONE=e$,t4.Column=e=>null,t4.ColumnGroup=e=>null,t4.Summary=H;let t8=t4},56200:(e,t,n)=>{n.d(t,{A:()=>g});var r=n(12115),o=n(29300),l=n.n(o),a=n(48804),c=n(17233),i=n(44186),s=n(93666),d=n(80163),u=n(15982),f=n(97540),p=n(79092),m=n(60322),b=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 h=r.forwardRef((e,t)=>{var n,o;let{prefixCls:h,title:g,content:v,overlayClassName:x,placement:y="top",trigger:w="hover",children:C,mouseEnterDelay:A=.1,mouseLeaveDelay:E=.1,onOpenChange:S,overlayStyle:k={},styles:O,classNames:N}=e,I=b(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:R,className:z,style:j,classNames:M,styles:P}=(0,u.TP)("popover"),B=R("popover",h),[T,L,H]=(0,m.A)(B),K=R(),W=l()(x,L,H,z,M.root,null==N?void 0:N.root),_=l()(M.body,null==N?void 0:N.body),[D,F]=(0,a.A)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(o=e.defaultOpen)?o:e.defaultVisible}),q=(e,t)=>{F(e,!0),null==S||S(e,t)},V=(0,i.b)(g),X=(0,i.b)(v);return T(r.createElement(f.A,Object.assign({placement:y,trigger:w,mouseEnterDelay:A,mouseLeaveDelay:E},I,{prefixCls:B,classNames:{root:W,body:_},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},P.root),j),k),null==O?void 0:O.root),body:Object.assign(Object.assign({},P.body),null==O?void 0:O.body)},ref:t,open:D,onOpenChange:e=>{q(e)},overlay:V||X?r.createElement(p.hJ,{prefixCls:B,title:V,content:X}):null,transitionName:(0,s.b)(K,"zoom-big",I.transitionName),"data-popover-inject":!0}),(0,d.Ob)(C,{onKeyDown:e=>{var t,n;(0,r.isValidElement)(C)&&(null==(n=null==C?void 0:(t=C.props).onKeyDown)||n.call(t,e)),(e=>{e.keyCode===c.A.ESC&&q(!1,e)})(e)}})))});h._InternalPanelDoNotUseOrYouWillBeFired=p.Ay;let g=h},60322:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(18184),o=n(47212),l=n(35464),a=n(45902),c=n(68495),i=n(45431),s=n(61388);let d=(0,i.OF)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,a=(0,s.oX)(e,{popoverBg:t,popoverColor:n});return[(e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:c,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:d,zIndexPopup:u,titleMarginBottom:f,colorBgElevated:p,popoverBg:m,titleBorderBottom:b,innerContentPadding:h,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},(0,r.dF)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},["".concat(t,"-content")]:{position:"relative"},["".concat(t,"-inner")]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:d,boxShadow:i,padding:c},["".concat(t,"-title")]:{minWidth:o,marginBottom:f,color:s,fontWeight:a,borderBottom:b,padding:g},["".concat(t,"-inner-content")]:{color:n,padding:h}})},(0,l.Ay)(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",["".concat(t,"-content")]:{display:"inline-block"}}}]})(a),(e=>{let{componentCls:t}=e;return{[t]:c.s.map(n=>{let r=e["".concat(n,"6")];return{["&".concat(t,"-").concat(n)]:{"--antd-arrow-background-color":r,["".concat(t,"-inner")]:{backgroundColor:r},["".concat(t,"-arrow")]:{background:"transparent"}}}})}})(a),(0,o.aB)(a,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:c,zIndexPopupBase:i,borderRadiusLG:s,marginXS:d,lineType:u,colorSplit:f,paddingSM:p}=e,m=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},(0,a.n)(e)),(0,l.Ke)({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:12*!c,titleMarginBottom:c?0:d,titlePadding:c?"".concat(m/2,"px ").concat(o,"px ").concat(m/2-t,"px"):0,titleBorderBottom:c?"".concat(t,"px ").concat(u," ").concat(f):"none",innerContentPadding:c?"".concat(p,"px ").concat(o,"px"):0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},79092:(e,t,n)=>{n.d(t,{Ay:()=>p,hJ:()=>u});var r=n(12115),o=n(29300),l=n.n(o),a=n(16598),c=n(44186),i=n(15982),s=n(60322),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 u=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},t),n&&r.createElement("div",{className:"".concat(o,"-inner-content")},n)):null},f=e=>{let{hashId:t,prefixCls:n,className:o,style:i,placement:s="top",title:d,content:f,children:p}=e,m=(0,c.b)(d),b=(0,c.b)(f),h=l()(t,n,"".concat(n,"-pure"),"".concat(n,"-placement-").concat(s),o);return r.createElement("div",{className:h,style:i},r.createElement("div",{className:"".concat(n,"-arrow")}),r.createElement(a.z,Object.assign({},e,{className:t,prefixCls:n}),p||r.createElement(u,{prefixCls:n,title:m,content:b})))},p=e=>{let{prefixCls:t,className:n}=e,o=d(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(i.QO),c=a("popover",t),[u,p,m]=(0,s.A)(c);return u(r.createElement(f,Object.assign({},o,{prefixCls:c,hashId:p,className:l()(n,m)})))}},85845:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(47650);function o(e,t,n,o){var l=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,l,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,l,o)}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8674],{21103:(e,t,n)=>{n.d(t,{A:()=>A});var r=n(12115),o=n(29300),l=n.n(o),a=n(52440),c=n(74686),i=n(47195),s=n(3617),d=n(15982),u=n(44494),f=n(68151),p=n(63568);let m=r.createContext(null);var b=n(15542),h=n(25650),g=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 v=r.forwardRef((e,t)=>{var n;let{prefixCls:o,className:v,rootClassName:x,children:y,indeterminate:w=!1,style:C,onMouseEnter:A,onMouseLeave:E,skipGroup:S=!1,disabled:k}=e,O=g(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:N,direction:I,checkbox:R}=r.useContext(d.QO),z=r.useContext(m),{isFormItemInput:j}=r.useContext(p.$W),M=r.useContext(u.A),P=null!=(n=(null==z?void 0:z.disabled)||k)?n:M,B=r.useRef(O.value),T=r.useRef(null),L=(0,c.K4)(t,T);r.useEffect(()=>{null==z||z.registerValue(O.value)},[]),r.useEffect(()=>{if(!S)return O.value!==B.current&&(null==z||z.cancelValue(B.current),null==z||z.registerValue(O.value),B.current=O.value),()=>null==z?void 0:z.cancelValue(O.value)},[O.value]),r.useEffect(()=>{var e;(null==(e=T.current)?void 0:e.input)&&(T.current.input.indeterminate=w)},[w]);let H=N("checkbox",o),K=(0,f.A)(H),[W,_,D]=(0,b.Ay)(H,K),F=Object.assign({},O);z&&!S&&(F.onChange=function(){for(var e=arguments.length,t=Array(e),n=0;nt.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 C=r.forwardRef((e,t)=>{let{defaultValue:n,children:o,options:a=[],prefixCls:c,className:i,rootClassName:s,style:u,onChange:p}=e,h=w(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:g,direction:C}=r.useContext(d.QO),[A,E]=r.useState(h.value||n||[]),[S,k]=r.useState([]);r.useEffect(()=>{"value"in h&&E(h.value||[])},[h.value]);let O=r.useMemo(()=>a.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[a]),N=e=>{k(t=>t.filter(t=>t!==e))},I=e=>{k(t=>[].concat((0,x.A)(t),[e]))},R=e=>{let t=A.indexOf(e.value),n=(0,x.A)(A);-1===t?n.push(e.value):n.splice(t,1),"value"in h||E(n),null==p||p(n.filter(e=>S.includes(e)).sort((e,t)=>O.findIndex(t=>t.value===e)-O.findIndex(e=>e.value===t)))},z=g("checkbox",c),j="".concat(z,"-group"),M=(0,f.A)(z),[P,B,T]=(0,b.Ay)(z,M),L=(0,y.A)(h,["value","disabled"]),H=a.length?O.map(e=>r.createElement(v,{prefixCls:z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:h.disabled,value:e.value,checked:A.includes(e.value),onChange:e.onChange,className:l()("".concat(j,"-item"),e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):o,K=r.useMemo(()=>({toggleOption:R,value:A,disabled:h.disabled,name:h.name,registerValue:I,cancelValue:N}),[R,A,h.disabled,h.name,I,N]),W=l()(j,{["".concat(j,"-rtl")]:"rtl"===C},i,s,T,M,B);return P(r.createElement("div",Object.assign({className:W,style:u},L,{ref:t}),r.createElement(m.Provider,{value:K},H)))});v.Group=C,v.__ANT_CHECKBOX=!0;let A=v},22971:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(16962),o=n(28041);function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:l,duration:a=450}=t,c=n(),i=(0,o.A)(c),s=Date.now(),d=()=>{let t=Date.now()-s,n=function(e,t,n,r){let o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}(t>a?a:t,i,e,a);(0,o.l)(c)?c.scrollTo(window.pageXOffset,n):c instanceof Document||"HTMLDocument"===c.constructor.name?c.documentElement.scrollTop=n:c.scrollTop=n,t{n.d(t,{A:()=>l});var r=n(12115),o=n(16962);function l(e){let t=r.useRef(null),n=()=>{o.A.cancel(t.current),t.current=null};return[()=>{n(),t.current=(0,o.A)(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),null==e||e(r)}]}},28041:(e,t,n)=>{function r(e){return null!=e&&e===e.window}n.d(t,{A:()=>o,l:()=>r});let o=e=>{var t,n;if("undefined"==typeof window)return 0;let o=0;return r(e)?o=e.pageYOffset:e instanceof Document?o=e.documentElement.scrollTop:e instanceof HTMLElement?o=e.scrollTop:e&&(o=e.scrollTop),e&&!r(e)&&"number"!=typeof o&&(o=null==(n=(null!=(t=e.ownerDocument)?t:e).documentElement)?void 0:n.scrollTop),o}},40344:(e,t,n)=>{n.d(t,{Ay:()=>B});var r=n(12115),o=n(29300),l=n.n(o),a=n(32934),c=n(48804),i=n(40032),s=n(15982),d=n(68151),u=n(9836);let f=r.createContext(null),p=f.Provider,m=r.createContext(null),b=m.Provider;var h=n(52440),g=n(74686),v=n(47195),x=n(3617),y=n(25650),w=n(44494),C=n(63568),A=n(99841),E=n(18184),S=n(45431),k=n(61388);let O=(0,S.OF)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r="0 0 0 ".concat((0,A.zA)(n)," ").concat(t),o=(0,k.oX)(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[(e=>{let{componentCls:t,antCls:n}=e,r="".concat(t,"-group");return{[r]:Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-block",fontSize:0,["&".concat(r,"-rtl")]:{direction:"rtl"},["&".concat(r,"-block")]:{display:"flex"},["".concat(n,"-badge ").concat(n,"-badge-count")]:{zIndex:1},["> ".concat(n,"-badge:not(:first-child) > ").concat(n,"-button-wrapper")]:{borderInlineStart:"none"}})}})(o),(e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:l,motionDurationMid:a,motionEaseInOutCirc:c,colorBgContainer:i,colorBorder:s,lineWidth:d,colorBgContainerDisabled:u,colorTextDisabled:f,paddingXS:p,dotColorDisabled:m,lineType:b,radioColor:h,radioBgColor:g,calc:v}=e,x="".concat(t,"-inner"),y=v(o).sub(v(4).mul(2)),w=v(1).mul(o).equal({unit:!0});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},(0,E.dF)(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},["&".concat(t,"-wrapper-rtl")]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},["".concat(t,"-checked::after")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:"".concat((0,A.zA)(d)," ").concat(b," ").concat(r),borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},(0,E.dF)(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),["".concat(t,"-wrapper:hover &,\n &:hover ").concat(x)]:{borderColor:r},["".concat(t,"-input:focus-visible + ").concat(x)]:(0,E.jk)(e),["".concat(t,":hover::after, ").concat(t,"-wrapper:hover &::after")]:{visibility:"visible"},["".concat(t,"-inner")]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:w,height:w,marginBlockStart:v(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:w,transform:"scale(0)",opacity:0,transition:"all ".concat(l," ").concat(c),content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:w,height:w,backgroundColor:i,borderColor:s,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:"all ".concat(a)},["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},["".concat(t,"-checked")]:{[x]:{borderColor:r,backgroundColor:g,"&::after":{transform:"scale(".concat(e.calc(e.dotSize).div(o).equal(),")"),opacity:1,transition:"all ".concat(l," ").concat(c)}}},["".concat(t,"-disabled")]:{cursor:"not-allowed",[x]:{backgroundColor:u,borderColor:s,cursor:"not-allowed","&::after":{backgroundColor:m}},["".concat(t,"-input")]:{cursor:"not-allowed"},["".concat(t,"-disabled + span")]:{color:f,cursor:"not-allowed"},["&".concat(t,"-checked")]:{[x]:{"&::after":{transform:"scale(".concat(v(y).div(o).equal(),")")}}}},["span".concat(t," + *")]:{paddingInlineStart:p,paddingInlineEnd:p}})}})(o),(e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:l,colorBorder:a,motionDurationMid:c,buttonPaddingInline:i,fontSize:s,buttonBg:d,fontSizeLG:u,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:b,borderRadiusSM:h,borderRadiusLG:g,buttonCheckedBg:v,buttonSolidCheckedColor:x,colorTextDisabled:y,colorBgContainerDisabled:w,buttonCheckedBgDisabled:C,buttonCheckedColorDisabled:S,colorPrimary:k,colorPrimaryHover:O,colorPrimaryActive:N,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:R,buttonSolidCheckedActiveBg:z,calc:j}=e;return{["".concat(r,"-button-wrapper")]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:i,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,A.zA)(j(n).sub(j(o).mul(2)).equal()),background:d,border:"".concat((0,A.zA)(o)," ").concat(l," ").concat(a),borderBlockStartWidth:j(o).add(.02).equal(),borderInlineEndWidth:o,cursor:"pointer",transition:["color ".concat(c),"background ".concat(c),"box-shadow ".concat(c)].join(","),a:{color:t},["> ".concat(r,"-button")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:j(o).mul(-1).equal()},"&:first-child":{borderInlineStart:"".concat((0,A.zA)(o)," ").concat(l," ").concat(a),borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},["".concat(r,"-group-large &")]:{height:f,fontSize:u,lineHeight:(0,A.zA)(j(f).sub(j(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},["".concat(r,"-group-small &")]:{height:p,paddingInline:j(m).sub(o).equal(),paddingBlock:0,lineHeight:(0,A.zA)(j(p).sub(j(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h}},"&:hover":{position:"relative",color:k},"&:has(:focus-visible)":(0,E.jk)(e),["".concat(r,"-inner, input[type='checkbox'], input[type='radio']")]:{width:0,height:0,opacity:0,pointerEvents:"none"},["&-checked:not(".concat(r,"-button-wrapper-disabled)")]:{zIndex:1,color:k,background:v,borderColor:k,"&::before":{backgroundColor:k},"&:first-child":{borderColor:k},"&:hover":{color:O,borderColor:O,"&::before":{backgroundColor:O}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},["".concat(r,"-group-solid &-checked:not(").concat(r,"-button-wrapper-disabled)")]:{color:x,background:I,borderColor:I,"&:hover":{color:x,background:R,borderColor:R},"&:active":{color:x,background:z,borderColor:z}},"&-disabled":{color:y,backgroundColor:w,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:y,backgroundColor:w,borderColor:a}},["&-disabled".concat(r,"-button-wrapper-checked")]:{color:S,backgroundColor:C,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}})(o)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:l,colorText:a,colorBgContainer:c,colorTextDisabled:i,controlItemBgActiveDisabled:s,colorTextLightSolid:d,colorPrimary:u,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e;return{radioSize:l,dotSize:t?l-8:l-(4+o)*2,dotColorDisabled:i,buttonSolidCheckedColor:d,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:c,buttonCheckedBg:c,buttonColor:a,buttonCheckedBgDisabled:s,buttonCheckedColorDisabled:i,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?u:m,radioBgColor:t?c:u}},{unitless:{radioSize:!0,dotSize:!0}});var N=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 I=r.forwardRef((e,t)=>{var n,o;let a=r.useContext(f),c=r.useContext(m),{getPrefixCls:i,direction:u,radio:p}=r.useContext(s.QO),b=r.useRef(null),A=(0,g.K4)(t,b),{isFormItemInput:E}=r.useContext(C.$W),{prefixCls:S,className:k,rootClassName:I,children:R,style:z,title:j}=e,M=N(e,["prefixCls","className","rootClassName","children","style","title"]),P=i("radio",S),B="button"===((null==a?void 0:a.optionType)||c),T=B?"".concat(P,"-button"):P,L=(0,d.A)(P),[H,K,W]=O(P,L),_=Object.assign({},M),D=r.useContext(w.A);a&&(_.name=a.name,_.onChange=t=>{var n,r;null==(n=e.onChange)||n.call(e,t),null==(r=null==a?void 0:a.onChange)||r.call(a,t)},_.checked=e.value===a.value,_.disabled=null!=(n=_.disabled)?n:a.disabled),_.disabled=null!=(o=_.disabled)?o:D;let F=l()("".concat(T,"-wrapper"),{["".concat(T,"-wrapper-checked")]:_.checked,["".concat(T,"-wrapper-disabled")]:_.disabled,["".concat(T,"-wrapper-rtl")]:"rtl"===u,["".concat(T,"-wrapper-in-form-item")]:E,["".concat(T,"-wrapper-block")]:!!(null==a?void 0:a.block)},null==p?void 0:p.className,k,I,K,W,L),[q,V]=(0,y.A)(_.onClick);return H(r.createElement(v.A,{component:"Radio",disabled:_.disabled},r.createElement("label",{className:F,style:Object.assign(Object.assign({},null==p?void 0:p.style),z),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:j,onClick:q},r.createElement(h.A,Object.assign({},_,{className:l()(_.className,{[x.D]:!B}),type:"radio",prefixCls:T,ref:A,onClick:V})),void 0!==R?r.createElement("span",{className:"".concat(T,"-label")},R):null)))});var R=n(96316);let z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o}=r.useContext(s.QO),{name:f}=r.useContext(C.$W),m=(0,a.A)((0,R.H)(f)),{prefixCls:b,className:h,rootClassName:g,options:v,buttonStyle:x="outline",disabled:y,children:w,size:A,style:E,id:S,optionType:k,name:N=m,defaultValue:z,value:j,block:M=!1,onChange:P,onMouseEnter:B,onMouseLeave:T,onFocus:L,onBlur:H}=e,[K,W]=(0,c.A)(z,{value:j}),_=r.useCallback(t=>{let n=t.target.value;"value"in e||W(n),n!==K&&(null==P||P(t))},[K,W,P]),D=n("radio",b),F="".concat(D,"-group"),q=(0,d.A)(D),[V,X,Y]=O(D,q),U=w;v&&v.length>0&&(U=v.map(e=>"string"==typeof e||"number"==typeof e?r.createElement(I,{key:e.toString(),prefixCls:D,disabled:y,value:e,checked:K===e},e):r.createElement(I,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||y,value:e.value,checked:K===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let G=(0,u.A)(A),Q=l()(F,"".concat(F,"-").concat(x),{["".concat(F,"-").concat(G)]:G,["".concat(F,"-rtl")]:"rtl"===o,["".concat(F,"-block")]:M},h,g,X,Y,q),J=r.useMemo(()=>({onChange:_,value:K,disabled:y,name:N,optionType:k,block:M}),[_,K,y,N,k,M]);return V(r.createElement("div",Object.assign({},(0,i.A)(e,{aria:!0,data:!0}),{className:Q,style:E,onMouseEnter:B,onMouseLeave:T,onFocus:L,onBlur:H,id:S,ref:t}),r.createElement(p,{value:J},U)))}),j=r.memo(z);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 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.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(s.QO),{prefixCls:o}=e,l=M(e,["prefixCls"]),a=n("radio",o);return r.createElement(b,{value:"button"},r.createElement(I,Object.assign({prefixCls:a},l,{type:"radio",ref:t})))});I.Button=P,I.Group=j,I.__ANT_RADIO=!0;let B=I},44186:(e,t,n)=>{n.d(t,{b:()=>r});let r=e=>e?"function"==typeof e?e():e:null},52440:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(79630),o=n(27061),l=n(40419),a=n(21858),c=n(20235),i=n(29300),s=n.n(i),d=n(48804),u=n(12115),f=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];let p=(0,u.forwardRef)(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-checkbox":n,p=e.className,m=e.style,b=e.checked,h=e.disabled,g=e.defaultChecked,v=e.type,x=void 0===v?"checkbox":v,y=e.title,w=e.onChange,C=(0,c.A)(e,f),A=(0,u.useRef)(null),E=(0,u.useRef)(null),S=(0,d.A)(void 0!==g&&g,{value:b}),k=(0,a.A)(S,2),O=k[0],N=k[1];(0,u.useImperativeHandle)(t,function(){return{focus:function(e){var t;null==(t=A.current)||t.focus(e)},blur:function(){var e;null==(e=A.current)||e.blur()},input:A.current,nativeElement:E.current}});var I=s()(i,p,(0,l.A)((0,l.A)({},"".concat(i,"-checked"),O),"".concat(i,"-disabled"),h));return u.createElement("span",{className:I,title:y,style:m,ref:E},u.createElement("input",(0,r.A)({},C,{className:"".concat(i,"-input"),ref:A,onChange:function(t){h||("checked"in e||N(t.target.checked),null==w||w({target:(0,o.A)((0,o.A)({},e),{},{type:x,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:h,checked:!!O,type:x})),u.createElement("span",{className:"".concat(i,"-inner")}))})},55603:(e,t,n)=>{n.d(t,{A:()=>t8});var r=n(12115),o={},l="rc-table-internal-hook",a=n(21858),c=n(18885),i=n(26791),s=n(80227),d=n(47650);function u(e){var t=r.createContext(void 0);return{Context:t,Provider:function(e){var n=e.value,o=e.children,l=r.useRef(n);l.current=n;var c=r.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),s=(0,a.A)(c,1)[0];return(0,i.A)(function(){(0,d.unstable_batchedUpdates)(function(){s.listeners.forEach(function(e){e(n)})})},[n]),r.createElement(t.Provider,{value:s},o)},defaultValue:e}}function f(e,t){var n=(0,c.A)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),o=r.useContext(null==e?void 0:e.Context),l=o||{},d=l.listeners,u=l.getValue,f=r.useRef();f.current=n(o?u():null==e?void 0:e.defaultValue);var p=r.useState({}),m=(0,a.A)(p,2)[1];return(0,i.A)(function(){if(o)return d.add(e),function(){d.delete(e)};function e(e){var t=n(e);(0,s.A)(f.current,t,!0)||m({})}},[o]),f.current}var p=n(79630),m=n(74686);function b(){var e=r.createContext(null);function t(){return r.useContext(e)}return{makeImmutable:function(n,o){var l=(0,m.f3)(n),a=function(a,c){var i=l?{ref:c}:{},s=r.useRef(0),d=r.useRef(a);return null!==t()?r.createElement(n,(0,p.A)({},a,i)):((!o||o(d.current,a))&&(s.current+=1),d.current=a,r.createElement(e.Provider,{value:s.current},r.createElement(n,(0,p.A)({},a,i))))};return l?r.forwardRef(a):a},responseImmutable:function(e,n){var o=(0,m.f3)(e),l=function(n,l){return t(),r.createElement(e,(0,p.A)({},n,o?{ref:l}:{}))};return o?r.memo(r.forwardRef(l),n):r.memo(l,n)},useImmutableMark:t}}var h=b();h.makeImmutable,h.responseImmutable,h.useImmutableMark;var g=b(),v=g.makeImmutable,x=g.responseImmutable,y=g.useImmutableMark,w=u(),C=n(86608),A=n(27061),E=n(40419),S=n(29300),k=n.n(S),O=n(22801),N=n(21349);n(9587);var I=r.createContext({renderWithProps:!1});function R(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},o=r.key,l=r.dataIndex,a=o||(null==l?[]:Array.isArray(l)?l:[l]).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}var z=n(11719),j=function(e){var t,n=e.ellipsis,o=e.rowType,l=e.children,a=!0===n?{showTitle:!0}:n;return a&&(a.showTitle||"header"===o)&&("string"==typeof l||"number"==typeof l?t=l.toString():r.isValidElement(l)&&"string"==typeof l.props.children&&(t=l.props.children)),t};let M=r.memo(function(e){var t,n,o,l,c,i,d,u,m,b,h=e.component,g=e.children,v=e.ellipsis,x=e.scope,S=e.prefixCls,R=e.className,M=e.align,P=e.record,B=e.render,T=e.dataIndex,L=e.renderIndex,H=e.shouldCellUpdate,K=e.index,W=e.rowType,_=e.colSpan,D=e.rowSpan,F=e.fixLeft,q=e.fixRight,V=e.firstFixLeft,X=e.lastFixLeft,Y=e.firstFixRight,U=e.lastFixRight,G=e.appendNode,Q=e.additionalProps,J=void 0===Q?{}:Q,$=e.isSticky,Z="".concat(S,"-cell"),ee=f(w,["supportSticky","allColumnsFixedLeft","rowHoverable"]),et=ee.supportSticky,en=ee.allColumnsFixedLeft,er=ee.rowHoverable,eo=(t=r.useContext(I),n=y(),(0,O.A)(function(){if(null!=g)return[g];var e=null==T||""===T?[]:Array.isArray(T)?T:[T],n=(0,N.A)(P,e),o=n,l=void 0;if(B){var a=B(n,P,L);!a||"object"!==(0,C.A)(a)||Array.isArray(a)||r.isValidElement(a)?o=a:(o=a.children,l=a.props,t.renderWithProps=!0)}return[o,l]},[n,P,g,T,B,L],function(e,n){if(H){var r=(0,a.A)(e,2)[1];return H((0,a.A)(n,2)[1],r)}return!!t.renderWithProps||!(0,s.A)(e,n,!0)})),el=(0,a.A)(eo,2),ea=el[0],ec=el[1],ei={},es="number"==typeof F&&et,ed="number"==typeof q&&et;es&&(ei.position="sticky",ei.left=F),ed&&(ei.position="sticky",ei.right=q);var eu=null!=(o=null!=(l=null!=(c=null==ec?void 0:ec.colSpan)?c:J.colSpan)?l:_)?o:1,ef=null!=(i=null!=(d=null!=(u=null==ec?void 0:ec.rowSpan)?u:J.rowSpan)?d:D)?i:1,ep=f(w,function(e){var t,n;return[(t=ef||1,n=e.hoverStartRow,K<=e.hoverEndRow&&K+t-1>=n),e.onHover]}),em=(0,a.A)(ep,2),eb=em[0],eh=em[1],eg=(0,z._q)(function(e){var t;P&&eh(K,K+ef-1),null==J||null==(t=J.onMouseEnter)||t.call(J,e)}),ev=(0,z._q)(function(e){var t;P&&eh(-1,-1),null==J||null==(t=J.onMouseLeave)||t.call(J,e)});if(0===eu||0===ef)return null;var ex=null!=(m=J.title)?m:j({rowType:W,ellipsis:v,children:ea}),ey=k()(Z,R,(b={},(0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)(b,"".concat(Z,"-fix-left"),es&&et),"".concat(Z,"-fix-left-first"),V&&et),"".concat(Z,"-fix-left-last"),X&&et),"".concat(Z,"-fix-left-all"),X&&en&&et),"".concat(Z,"-fix-right"),ed&&et),"".concat(Z,"-fix-right-first"),Y&&et),"".concat(Z,"-fix-right-last"),U&&et),"".concat(Z,"-ellipsis"),v),"".concat(Z,"-with-append"),G),"".concat(Z,"-fix-sticky"),(es||ed)&&$&&et),(0,E.A)(b,"".concat(Z,"-row-hover"),!ec&&eb)),J.className,null==ec?void 0:ec.className),ew={};M&&(ew.textAlign=M);var eC=(0,A.A)((0,A.A)((0,A.A)((0,A.A)({},null==ec?void 0:ec.style),ei),ew),J.style),eA=ea;return"object"!==(0,C.A)(eA)||Array.isArray(eA)||r.isValidElement(eA)||(eA=null),v&&(X||Y)&&(eA=r.createElement("span",{className:"".concat(Z,"-content")},eA)),r.createElement(h,(0,p.A)({},ec,J,{className:ey,style:eC,title:ex,scope:x,onMouseEnter:er?eg:void 0,onMouseLeave:er?ev:void 0,colSpan:1!==eu?eu:null,rowSpan:1!==ef?ef:null}),G,eA)});function P(e,t,n,r,o){var l,a,c=n[e]||{},i=n[t]||{};"left"===c.fixed?l=r.left["rtl"===o?t:e]:"right"===i.fixed&&(a=r.right["rtl"===o?e:t]);var s=!1,d=!1,u=!1,f=!1,p=n[t+1],m=n[e-1],b=p&&!p.fixed||m&&!m.fixed||n.every(function(e){return"left"===e.fixed});return"rtl"===o?void 0!==l?f=!(m&&"left"===m.fixed)&&b:void 0!==a&&(u=!(p&&"right"===p.fixed)&&b):void 0!==l?s=!(p&&"left"===p.fixed)&&b:void 0!==a&&(d=!(m&&"right"===m.fixed)&&b),{fixLeft:l,fixRight:a,lastFixLeft:s,firstFixRight:d,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}var B=r.createContext({}),T=n(20235),L=["children"];function H(e){return e.children}H.Row=function(e){var t=e.children,n=(0,T.A)(e,L);return r.createElement("tr",n,t)},H.Cell=function(e){var t=e.className,n=e.index,o=e.children,l=e.colSpan,a=void 0===l?1:l,c=e.rowSpan,i=e.align,s=f(w,["prefixCls","direction"]),d=s.prefixCls,u=s.direction,m=r.useContext(B),b=m.scrollColumnIndex,h=m.stickyOffsets,g=m.flattenColumns,v=n+a-1+1===b?a+1:a,x=P(n,n+v-1,g,h,u);return r.createElement(M,(0,p.A)({className:t,index:n,component:"td",prefixCls:d,record:null,dataIndex:null,align:i,colSpan:v,rowSpan:c,render:function(){return o}},x))};let K=x(function(e){var t=e.children,n=e.stickyOffsets,o=e.flattenColumns,l=f(w,"prefixCls"),a=o.length-1,c=o[a],i=r.useMemo(function(){return{stickyOffsets:n,flattenColumns:o,scrollColumnIndex:null!=c&&c.scrollbar?a:null}},[c,o,a,n]);return r.createElement(B.Provider,{value:i},r.createElement("tfoot",{className:"".concat(l,"-summary")},t))});var W=n(32417),_=n(19824),D=n(3338),F=n(40032);function q(e,t,n,o){return r.useMemo(function(){if(null!=n&&n.size){for(var r=[],l=0;l<(null==e?void 0:e.length);l+=1)!function e(t,n,r,o,l,a,c){var i=a(n,c);t.push({record:n,indent:r,index:c,rowKey:i});var s=null==l?void 0:l.has(i);if(n&&Array.isArray(n[o])&&s)for(var d=0;d1?n-1:0),o=1;o5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,d=e.record,u=e.prefixCls,f=e.columnsKey,p=e.fixedInfoList,m=e.expandIconColumnIndex,b=e.nestExpandable,h=e.indentSize,g=e.expandIcon,v=e.expanded,x=e.hasNestChildren,y=e.onTriggerExpand,w=e.expandable,C=e.expandedKeys,A=f[n],E=p[n];n===(m||0)&&b&&(c=r.createElement(r.Fragment,null,r.createElement("span",{style:{paddingLeft:"".concat(h*o,"px")},className:"".concat(u,"-row-indent indent-level-").concat(o)}),g({prefixCls:u,expanded:v,expandable:x,record:d,onExpand:y})));var S=(null==(a=t.onCell)?void 0:a.call(t,d,l))||{};if(s){var k=S.rowSpan,O=void 0===k?1:k;if(w&&O&&n=1)),style:(0,A.A)((0,A.A)({},o),null==C?void 0:C.style)}),x.map(function(e,t){var n=e.render,o=e.dataIndex,i=e.className,d=G(g,e,t,u,a,s,null==h?void 0:h.offset),f=d.key,x=d.fixedInfo,y=d.appendCellNode,w=d.additionalCellProps;return r.createElement(M,(0,p.A)({className:i,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?b:m,prefixCls:v,key:f,record:l,index:a,renderIndex:c,dataIndex:o,render:n,shouldCellUpdate:e.shouldCellUpdate},x,{appendNode:y,additionalProps:w}))}));if(O&&(N.current||S)){var z=w(l,a,u+1,S);t=r.createElement(X,{expanded:S,className:k()("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(u+1),I),prefixCls:v,component:f,cellComponent:m,colSpan:h?h.colSpan:x.length,stickyOffset:null==h?void 0:h.sticky,isEmpty:!1},z)}return r.createElement(r.Fragment,null,R,t)});function J(e){var t=e.columnKey,n=e.onColumnResize,o=e.prefixCls,l=e.title,a=r.useRef();return(0,i.A)(function(){a.current&&n(t,a.current.offsetWidth)},[]),r.createElement(W.A,{data:t},r.createElement("th",{ref:a,className:"".concat(o,"-measure-cell")},r.createElement("div",{className:"".concat(o,"-measure-cell-content")},l||"\xa0")))}var $=n(53930);function Z(e){var t=e.prefixCls,n=e.columnsKey,o=e.onColumnResize,l=e.columns,a=r.useRef(null),c=f(w,["measureRowRender"]).measureRowRender,i=r.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),ref:a,tabIndex:-1},r.createElement(W.A.Collection,{onBatchResize:function(e){(0,$.A)(a.current)&&e.forEach(function(e){o(e.data,e.size.offsetWidth)})}},n.map(function(e){var n=l.find(function(t){return t.key===e}),a=null==n?void 0:n.title,c=r.isValidElement(a)?r.cloneElement(a,{ref:null}):a;return r.createElement(J,{prefixCls:t,key:e,columnKey:e,onColumnResize:o,title:c})})));return c?c(i):i}let ee=x(function(e){var t,n=e.data,o=e.measureColumnWidth,l=f(w,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode","expandedRowOffset","fixedInfoList","colWidths"]),a=l.prefixCls,c=l.getComponent,i=l.onColumnResize,s=l.flattenColumns,d=l.getRowKey,u=l.expandedKeys,p=l.childrenColumnName,m=l.emptyNode,b=l.expandedRowOffset,h=void 0===b?0:b,g=l.colWidths,v=q(n,p,u,d),x=r.useMemo(function(){return v.map(function(e){return e.rowKey})},[v]),y=r.useRef({renderWithProps:!1}),C=r.useMemo(function(){for(var e=s.length-h,t=0,n=0;n=0;s-=1){var d=t[s],u=n&&n[s],m=void 0,b=void 0;if(u&&(m=u[en],"auto"===l&&(b=u.minWidth)),d||b||m||i){var h=m||{},g=(h.columnType,(0,T.A)(h,er));a.unshift(r.createElement("col",(0,p.A)({key:s,style:{width:d,minWidth:b}},g))),i=!0}}return a.length>0?r.createElement("colgroup",null,a):null};var el=n(85757),ea=["className","noData","columns","flattenColumns","colWidths","colGroup","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","scrollX","tableLayout","onScroll","children"],ec=r.forwardRef(function(e,t){var n=e.className,o=e.noData,l=e.columns,a=e.flattenColumns,c=e.colWidths,i=e.colGroup,s=e.columCount,d=e.stickyOffsets,u=e.direction,p=e.fixHeader,b=e.stickyTopOffset,h=e.stickyBottomOffset,g=e.stickyClassName,v=e.scrollX,x=e.tableLayout,y=e.onScroll,C=e.children,S=(0,T.A)(e,ea),O=f(w,["prefixCls","scrollbarSize","isSticky","getComponent"]),N=O.prefixCls,I=O.scrollbarSize,R=O.isSticky,z=(0,O.getComponent)(["header","table"],"table"),j=R&&!p?0:I,M=r.useRef(null),P=r.useCallback(function(e){(0,m.Xf)(t,e),(0,m.Xf)(M,e)},[]);r.useEffect(function(){function e(e){var t=e.currentTarget,n=e.deltaX;n&&(y({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}var t=M.current;return null==t||t.addEventListener("wheel",e,{passive:!1}),function(){null==t||t.removeEventListener("wheel",e)}},[]);var B=a[a.length-1],L={fixed:B?B.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},H=(0,r.useMemo)(function(){return j?[].concat((0,el.A)(l),[L]):l},[j,l]),K=(0,r.useMemo)(function(){return j?[].concat((0,el.A)(a),[L]):a},[j,a]),W=(0,r.useMemo)(function(){var e=d.right,t=d.left;return(0,A.A)((0,A.A)({},d),{},{left:"rtl"===u?[].concat((0,el.A)(t.map(function(e){return e+j})),[0]):t,right:"rtl"===u?e:[].concat((0,el.A)(e.map(function(e){return e+j})),[0]),isSticky:R})},[j,d,R]),_=(0,r.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:a.ellipsis,align:a.align,component:c,prefixCls:u,key:b[t]},i,{additionalProps:n,rowType:"header"}))}))},ed=x(function(e){var t=e.stickyOffsets,n=e.columns,o=e.flattenColumns,l=e.onHeaderRow,a=f(w,["prefixCls","getComponent"]),c=a.prefixCls,i=a.getComponent,s=r.useMemo(function(){var e=[];!function t(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e[o]=e[o]||[];var l=r;return n.filter(Boolean).map(function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:l},a=1,c=n.children;return c&&c.length>0&&(a=t(c,l,o+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,e[o].push(r),l+=a,a})}(n,0);for(var t=e.length,r=function(n){e[n].forEach(function(e){"rowSpan"in e||e.hasSubColumns||(e.rowSpan=t-n)})},o=0;o1&&void 0!==arguments[1]?arguments[1]:"";return"number"==typeof t?t:t.endsWith("%")?e*parseFloat(t)/100:null}var ep=["children"],em=["fixed"];function eb(e){return(0,eu.A)(e).filter(function(e){return r.isValidElement(e)}).map(function(e){var t=e.key,n=e.props,r=n.children,o=(0,T.A)(n,ep),l=(0,A.A)({key:t},o);return r&&(l.children=eb(r)),l})}function eh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key";return e.filter(function(e){return e&&"object"===(0,C.A)(e)}).reduce(function(e,n,r){var o=n.fixed,l=!0===o?"left":o,a="".concat(t,"-").concat(r),c=n.children;return c&&c.length>0?[].concat((0,el.A)(e),(0,el.A)(eh(c,a).map(function(e){var t;return(0,A.A)((0,A.A)({},e),{},{fixed:null!=(t=e.fixed)?t:l})}))):[].concat((0,el.A)(e),[(0,A.A)((0,A.A)({key:a},n),{},{fixed:l})])},[])}let eg=function(e,t){var n=e.prefixCls,l=e.columns,c=e.children,i=e.expandable,s=e.expandedKeys,d=e.columnTitle,u=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,m=e.rowExpandable,b=e.expandIconColumnIndex,h=e.expandedRowOffset,g=void 0===h?0:h,v=e.direction,x=e.expandRowByClick,y=e.columnWidth,w=e.fixed,S=e.scrollWidth,k=e.clientWidth,O=r.useMemo(function(){return function e(t){return t.filter(function(e){return e&&"object"===(0,C.A)(e)&&!e.hidden}).map(function(t){var n=t.children;return n&&n.length>0?(0,A.A)((0,A.A)({},t),{},{children:e(n)}):t})}((l||eb(c)||[]).slice())},[l,c]),N=r.useMemo(function(){if(i){var e,t=O.slice();if(!t.includes(o)){var l=b||0,a=0===l&&"right"===w?O.length:l;a>=0&&t.splice(a,0,o)}var c=t.indexOf(o);t=t.filter(function(e,t){return e!==o||t===c});var h=O[c];e=w||(h?h.fixed:null);var v=(0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)((0,E.A)({},en,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",d),"fixed",e),"className","".concat(n,"-row-expand-icon-cell")),"width",y),"render",function(e,t,o){var l=u(t,o),a=p({prefixCls:n,expanded:s.has(l),expandable:!m||m(t),record:t,onExpand:f});return x?r.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a});return t.map(function(e,t){var n=e===o?v:e;return t=0;t-=1){var n=R[t].fixed;if("left"===n||!0===n){e=t;break}}if(e>=0)for(var r=0;r<=e;r+=1){var o=R[r].fixed;if("left"!==o&&!0!==o)return!0}var l=R.findIndex(function(e){return"right"===e.fixed});if(l>=0){for(var a=l;a0){var e=0,t=0;R.forEach(function(n){var r=ef(S,n.width);r?e+=r:t+=1});var n=Math.max(S,k),r=Math.max(n-e,t),o=t,l=r/t,a=0,c=R.map(function(e){var t=(0,A.A)({},e),n=ef(S,t.width);if(n)t.width=n;else{var c=Math.floor(l);t.width=1===o?r:c,r-=c,o-=1}return a+=t.width,t});if(a=n-b})})}})},W=function(e){R(function(t){return(0,A.A)((0,A.A)({},t),{},{scrollLeft:x?e/x*y:0})})};return(r.useImperativeHandle(t,function(){return{setScrollLeft:W,checkScrollBarVisible:K}}),r.useEffect(function(){var e=(0,ey.A)(document.body,"mouseup",L,!1),t=(0,ey.A)(document.body,"mousemove",H,!1);return K(),function(){e.remove(),t.remove()}},[C,P]),r.useEffect(function(){if(p.current){for(var e=[],t=(0,eC.rb)(p.current);t;)e.push(t),t=t.parentElement;return e.forEach(function(e){return e.addEventListener("scroll",K,!1)}),window.addEventListener("resize",K,!1),window.addEventListener("scroll",K,!1),h.addEventListener("scroll",K,!1),function(){e.forEach(function(e){return e.removeEventListener("scroll",K)}),window.removeEventListener("resize",K),window.removeEventListener("scroll",K),h.removeEventListener("scroll",K)}}},[h]),r.useEffect(function(){I.isHiddenScrollBar||R(function(e){var t=p.current;return t?(0,A.A)((0,A.A)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[I.isHiddenScrollBar]),x<=y||!C||I.isHiddenScrollBar)?null:r.createElement("div",{style:{height:(0,D.A)(),width:y,bottom:b},className:"".concat(v,"-sticky-scroll")},r.createElement("div",{onMouseDown:function(e){e.persist(),z.current.delta=e.pageX-I.scrollLeft,z.current.x=0,B(!0),e.preventDefault()},ref:S,className:k()("".concat(v,"-sticky-scroll-bar"),(0,E.A)({},"".concat(v,"-sticky-scroll-bar-active"),P)),style:{width:"".concat(C,"px"),transform:"translate3d(".concat(I.scrollLeft,"px, 0, 0)")}}))});var eS="rc-table",ek=[],eO={};function eN(){return"No Data"}var eI=r.forwardRef(function(e,t){var n,o=(0,A.A)({rowKey:"key",prefixCls:eS,emptyText:eN},e),d=o.prefixCls,u=o.className,f=o.rowClassName,m=o.style,b=o.data,h=o.rowKey,g=o.scroll,v=o.tableLayout,x=o.direction,y=o.title,S=o.footer,I=o.summary,z=o.caption,j=o.id,M=o.showHeader,B=o.components,L=o.emptyText,q=o.onRow,V=o.onHeaderRow,X=o.measureRowRender,U=o.onScroll,G=o.internalHooks,Q=o.transformColumns,J=o.internalRefs,$=o.tailor,Z=o.getContainerWidth,en=o.sticky,er=o.rowHoverable,ea=void 0===er||er,ec=b||ek,es=!!ec.length,eu=G===l,ef=r.useCallback(function(e,t){return(0,N.A)(B,e)||t},[B]),ep=r.useMemo(function(){return"function"==typeof h?h:function(e){return e&&e[h]}},[h]),em=ef(["body"]),eb=(tU=r.useState(-1),tQ=(tG=(0,a.A)(tU,2))[0],tJ=tG[1],t$=r.useState(-1),t0=(tZ=(0,a.A)(t$,2))[0],t1=tZ[1],[tQ,t0,r.useCallback(function(e,t){tJ(e),t1(t)},[])]),eh=(0,a.A)(eb,3),ey=eh[0],ew=eh[1],eA=eh[2],eI=(t5=(t4=o.expandable,t8=(0,T.A)(o,et),!1===(t2="expandable"in o?(0,A.A)((0,A.A)({},t8),t4):t8).showExpandColumn&&(t2.expandIconColumnIndex=-1),t3=t2).expandIcon,t6=t3.expandedRowKeys,t9=t3.defaultExpandedRowKeys,t7=t3.defaultExpandAllRows,ne=t3.expandedRowRender,nt=t3.onExpand,nn=t3.onExpandedRowsChange,nr=t3.childrenColumnName||"children",no=r.useMemo(function(){return ne?"row":!!(o.expandable&&o.internalHooks===l&&o.expandable.__PARENT_RENDER_ICON__||ec.some(function(e){return e&&"object"===(0,C.A)(e)&&e[nr]}))&&"nest"},[!!ne,ec]),nl=r.useState(function(){if(t9)return t9;if(t7){var e;return e=[],!function t(n){(n||[]).forEach(function(n,r){e.push(ep(n,r)),t(n[nr])})}(ec),e}return[]}),nc=(na=(0,a.A)(nl,2))[0],ni=na[1],ns=r.useMemo(function(){return new Set(t6||nc||[])},[t6,nc]),nd=r.useCallback(function(e){var t,n=ep(e,ec.indexOf(e)),r=ns.has(n);r?(ns.delete(n),t=(0,el.A)(ns)):t=[].concat((0,el.A)(ns),[n]),ni(t),nt&&nt(!r,e),nn&&nn(t)},[ep,ns,ec,nt,nn]),[t3,no,ns,t5||Y,nr,nd]),eR=(0,a.A)(eI,6),ez=eR[0],ej=eR[1],eM=eR[2],eP=eR[3],eB=eR[4],eT=eR[5],eL=null==g?void 0:g.x,eH=r.useState(0),eK=(0,a.A)(eH,2),eW=eK[0],e_=eK[1],eD=eg((0,A.A)((0,A.A)((0,A.A)({},o),ez),{},{expandable:!!ez.expandedRowRender,columnTitle:ez.columnTitle,expandedKeys:eM,getRowKey:ep,onTriggerExpand:eT,expandIcon:eP,expandIconColumnIndex:ez.expandIconColumnIndex,direction:x,scrollWidth:eu&&$&&"number"==typeof eL?eL:null,clientWidth:eW}),eu?Q:null),eF=(0,a.A)(eD,4),eq=eF[0],eV=eF[1],eX=eF[2],eY=eF[3],eU=null!=eX?eX:eL,eG=r.useMemo(function(){return{columns:eq,flattenColumns:eV}},[eq,eV]),eQ=r.useRef(),eJ=r.useRef(),e$=r.useRef(),eZ=r.useRef();r.useImperativeHandle(t,function(){return{nativeElement:eQ.current,scrollTo:function(e){var t;if(e$.current instanceof HTMLElement){var n=e.index,r=e.top,o=e.key;if("number"!=typeof r||Number.isNaN(r)){var l,a,c=null!=o?o:ep(ec[n]);null==(a=e$.current.querySelector('[data-row-key="'.concat(c,'"]')))||a.scrollIntoView()}else null==(l=e$.current)||l.scrollTo({top:r})}else null!=(t=e$.current)&&t.scrollTo&&e$.current.scrollTo(e)}}});var e0=r.useRef(),e1=r.useState(!1),e2=(0,a.A)(e1,2),e4=e2[0],e8=e2[1],e3=r.useState(!1),e5=(0,a.A)(e3,2),e6=e5[0],e9=e5[1],e7=r.useState(new Map),te=(0,a.A)(e7,2),tt=te[0],tn=te[1],tr=R(eV).map(function(e){return tt.get(e)}),to=r.useMemo(function(){return tr},[tr.join("_")]),tl=(0,r.useMemo)(function(){var e=eV.length,t=function(e,t,n){for(var r=[],o=0,l=e;l!==t;l+=n)r.push(o),eV[l].fixed&&(o+=to[l]||0);return r},n=t(0,e,1),r=t(e-1,-1,-1).reverse();return"rtl"===x?{left:r,right:n}:{left:n,right:r}},[to,eV,x]),ta=g&&null!=g.y,tc=g&&null!=eU||!!ez.fixed,ti=tc&&eV.some(function(e){return e.fixed}),ts=r.useRef(),td=(np=void 0===(nf=(nu="object"===(0,C.A)(en)?en:{}).offsetHeader)?0:nf,nb=void 0===(nm=nu.offsetSummary)?0:nm,ng=void 0===(nh=nu.offsetScroll)?0:nh,nx=(void 0===(nv=nu.getContainer)?function(){return ev}:nv)()||ev,ny=!!en,r.useMemo(function(){return{isSticky:ny,stickyClassName:ny?"".concat(d,"-sticky-holder"):"",offsetHeader:np,offsetSummary:nb,offsetScroll:ng,container:nx}},[ny,ng,np,nb,d,nx])),tu=td.isSticky,tf=td.offsetHeader,tp=td.offsetSummary,tm=td.offsetScroll,tb=td.stickyClassName,th=td.container,tg=r.useMemo(function(){return null==I?void 0:I(ec)},[I,ec]),tv=(ta||tu)&&r.isValidElement(tg)&&tg.type===H&&tg.props.fixed;ta&&(nC={overflowY:es?"scroll":"auto",maxHeight:g.y}),tc&&(nw={overflowX:"auto"},ta||(nC={overflowY:"hidden"}),nA={width:!0===eU?"auto":eU,minWidth:"100%"});var tx=r.useCallback(function(e,t){tn(function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n})},[]),ty=function(e){var t=(0,r.useRef)(null),n=(0,r.useRef)();function o(){window.clearTimeout(n.current)}return(0,r.useEffect)(function(){return o},[]),[function(e){t.current=e,o(),n.current=window.setTimeout(function(){t.current=null,n.current=void 0},100)},function(){return t.current}]}(0),tw=(0,a.A)(ty,2),tC=tw[0],tA=tw[1];function tE(e,t){t&&("function"==typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(function(){t.scrollLeft=e},0)))}var tS=(0,c.A)(function(e){var t,n=e.currentTarget,r=e.scrollLeft,o="rtl"===x,l="number"==typeof r?r:n.scrollLeft,a=n||eO;tA()&&tA()!==a||(tC(a),tE(l,eJ.current),tE(l,e$.current),tE(l,e0.current),tE(l,null==(t=ts.current)?void 0:t.setScrollLeft));var c=n||eJ.current;if(c){var i=eu&&$&&"number"==typeof eU?eU:c.scrollWidth,s=c.clientWidth;if(i===s){e8(!1),e9(!1);return}o?(e8(-l0)):(e8(l>0),e9(l1?y-B:0,pointerEvents:"auto"}),L=r.useMemo(function(){return b?P<=1:0===z||0===P||P>1},[P,z,b]);L?T.visibility="hidden":b&&(T.height=null==h?void 0:h(P));var H={};return(0===P||0===z)&&(H.rowSpan=1,H.colSpan=1),r.createElement(M,(0,p.A)({className:k()(x,m),ellipsis:o.ellipsis,align:o.align,scope:o.rowScope,component:i,prefixCls:n.prefixCls,key:E,record:d,index:c,renderIndex:s,dataIndex:v,render:L?function(){return null}:g,shouldCellUpdate:o.shouldCellUpdate},S,{appendNode:O,additionalProps:(0,A.A)((0,A.A)({},N),{},{style:T},H)}))};var eB=["data","index","className","rowKey","style","extra","getHeight"],eT=x(r.forwardRef(function(e,t){var n,o=e.data,l=e.index,a=e.className,c=e.rowKey,i=e.style,s=e.extra,d=e.getHeight,u=(0,T.A)(e,eB),m=o.record,b=o.indent,h=o.index,g=f(w,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,x=g.flattenColumns,y=g.prefixCls,C=g.fixColumn,S=g.componentWidth,O=f(ej,["getComponent"]).getComponent,N=V(m,c,l,b),I=O(["body","row"],"div"),R=O(["body","cell"],"div"),z=N.rowSupportExpand,j=N.expanded,P=N.rowProps,B=N.expandedRowRender,L=N.expandedRowClassName;if(z&&j){var H=B(m,l,b+1,j),K=U(L,m,l,b),W={};C&&(W={style:(0,E.A)({},"--virtual-width","".concat(S,"px"))});var _="".concat(y,"-expanded-row-cell");n=r.createElement(I,{className:k()("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(b+1),K)},r.createElement(M,{component:R,prefixCls:y,className:k()(_,(0,E.A)({},"".concat(_,"-fixed"),C)),additionalProps:W},H))}var D=(0,A.A)((0,A.A)({},i),{},{width:v});s&&(D.position="absolute",D.pointerEvents="none");var F=r.createElement(I,(0,p.A)({},P,u,{"data-row-key":c,ref:z?null:t,className:k()(a,"".concat(y,"-row"),null==P?void 0:P.className,(0,E.A)({},"".concat(y,"-row-extra"),s)),style:(0,A.A)((0,A.A)({},D),null==P?void 0:P.style)}),x.map(function(e,t){return r.createElement(eP,{key:t,component:R,rowInfo:N,column:e,colIndex:t,indent:b,index:l,renderIndex:h,record:m,inverse:s,getHeight:d})}));return z?r.createElement("div",{ref:t},F,n):F})),eL=x(r.forwardRef(function(e,t){var n=e.data,o=e.onScroll,l=f(w,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),c=l.flattenColumns,i=l.onColumnResize,s=l.getRowKey,d=l.expandedKeys,u=l.prefixCls,p=l.childrenColumnName,m=l.scrollX,b=l.direction,h=f(ej),g=h.sticky,v=h.scrollY,x=h.listItemHeight,y=h.getComponent,A=h.onScroll,E=r.useRef(),S=q(n,p,d,s),k=r.useMemo(function(){var e=0;return c.map(function(t){var n=t.width,r=t.minWidth,o=t.key,l=Math.max(n||0,r||0);return e+=l,[o,l,e]})},[c]),O=r.useMemo(function(){return k.map(function(e){return e[2]})},[k]);r.useEffect(function(){k.forEach(function(e){var t=(0,a.A)(e,2);i(t[0],t[1])})},[k]),r.useImperativeHandle(t,function(){var e,t={scrollTo:function(e){var t;null==(t=E.current)||t.scrollTo(e)},nativeElement:null==(e=E.current)?void 0:e.nativeElement};return Object.defineProperty(t,"scrollLeft",{get:function(){var e;return(null==(e=E.current)?void 0:e.getScrollInfo().x)||0},set:function(e){var t;null==(t=E.current)||t.scrollTo({left:e})}}),Object.defineProperty(t,"scrollTop",{get:function(){var e;return(null==(e=E.current)?void 0:e.getScrollInfo().y)||0},set:function(e){var t;null==(t=E.current)||t.scrollTo({top:e})}}),t});var N=function(e,t){var n=null==(o=S[t])?void 0:o.record,r=e.onCell;if(r){var o,l,a=r(n,t);return null!=(l=null==a?void 0:a.rowSpan)?l:1}return 1},I=r.useMemo(function(){return{columnsOffset:O}},[O]),R="".concat(u,"-tbody"),z=y(["body","wrapper"]),j={};return g&&(j.position="sticky",j.bottom=0,"object"===(0,C.A)(g)&&g.offsetScroll&&(j.bottom=g.offsetScroll)),r.createElement(eM.Provider,{value:I},r.createElement(ez.A,{fullHeight:!1,ref:E,prefixCls:"".concat(R,"-virtual"),styles:{horizontalScrollBar:j},className:R,height:v,itemHeight:x||24,data:S,itemKey:function(e){return s(e.record)},component:z,scrollWidth:m,direction:b,onVirtualScroll:function(e){var t,n=e.x;o({currentTarget:null==(t=E.current)?void 0:t.nativeElement,scrollLeft:n})},onScroll:A,extraRender:function(e){var t=e.start,n=e.end,o=e.getSize,l=e.offsetY;if(n<0)return null;for(var a=c.filter(function(e){return 0===N(e,t)}),i=t,d=function(e){if(!(a=a.filter(function(t){return 0===N(t,e)})).length)return i=e,1},u=t;u>=0&&!d(u);u-=1);for(var f=c.filter(function(e){return 1!==N(e,n)}),p=n,m=function(e){if(!(f=f.filter(function(t){return 1!==N(t,e)})).length)return p=Math.max(e-1,n),1},b=n;b1})&&h.push(e)},v=i;v<=p;v+=1)if(g(v))continue;return h.map(function(e){var t=S[e],n=s(t.record,e),a=o(n);return r.createElement(eT,{key:e,data:t,rowKey:n,index:e,style:{top:-l+a.top},extra:!0,getHeight:function(t){var r=e+t-1,l=o(n,s(S[r].record,r));return l.bottom-l.top}})})}},function(e,t,n){var o=s(e.record,t);return r.createElement(eT,{data:e,rowKey:o,index:t,style:n.style})}))})),eH=function(e,t){var n=t.ref,o=t.onScroll;return r.createElement(eL,{ref:n,data:e,onScroll:o})},eK=r.forwardRef(function(e,t){var n=e.data,o=e.columns,a=e.scroll,c=e.sticky,i=e.prefixCls,s=void 0===i?eS:i,d=e.className,u=e.listItemHeight,f=e.components,m=e.onScroll,b=a||{},h=b.x,g=b.y;"number"!=typeof h&&(h=1),"number"!=typeof g&&(g=500);var v=(0,z._q)(function(e,t){return(0,N.A)(f,e)||t}),x=(0,z._q)(m),y=r.useMemo(function(){return{sticky:c,scrollY:g,listItemHeight:u,getComponent:v,onScroll:x}},[c,g,u,v,x]);return r.createElement(ej.Provider,{value:y},r.createElement(eR,(0,p.A)({},e,{className:k()(d,"".concat(s,"-virtual")),scroll:(0,A.A)((0,A.A)({},a),{},{x:h}),components:(0,A.A)((0,A.A)({},f),{},{body:null!=n&&n.length?eH:void 0}),columns:o,internalHooks:l,tailor:!0,ref:t})))});v(eK,void 0);var eW=n(58464),e_=n(51685),eD=n(92629),eF=n(94879),eq=n(48804),eV=n(49172),eX=n(21103),eY=n(19696),eU=n(40344);let eG={},eQ="SELECT_ALL",eJ="SELECT_INVERT",e$="SELECT_NONE",eZ=[],e0=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&e0(e,t[e],n)}),n};var e1=n(17980),e2=n(22971),e4=n(57845),e8=n(15982),e3=n(29353),e5=n(68151),e6=n(9836),e9=n(51854),e7=n(16025),te=n(7744),tt=n(16467),tn=n(70042);let tr=(e,t)=>"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function to(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}let tl=(e,t)=>"function"==typeof e?e(t):e,ta={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};var tc=n(35030),ti=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:ta}))}),ts=n(85382),td=n(19110),tu=n(98696),tf=n(36768),tp=n(83803),tm=n(32653),tb=n(71081),th=n(44200),tg=n(82724);let tv=e=>{let{value:t,filterSearch:n,tablePrefixCls:o,locale:l,onChange:a}=e;return n?r.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},r.createElement(tg.A,{prefix:r.createElement(th.A,null),placeholder:l.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null};var tx=n(17233);let ty=e=>{let{keyCode:t}=e;t===tx.A.ENTER&&e.stopPropagation()},tw=r.forwardRef((e,t)=>r.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:ty,ref:t},e.children));function tC(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,el.A)(t),(0,el.A)(tC(r))))}),t}function tA(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}let tE=e=>{var t,n,o,l;let a,{tablePrefixCls:c,prefixCls:i,column:d,dropdownPrefixCls:u,columnKey:f,filterOnClose:p,filterMultiple:m,filterMode:b="menu",filterSearch:h=!1,filterState:g,triggerFilter:v,locale:x,children:y,getPopupContainer:w,rootClassName:C}=e,{filterResetToDefaultFilteredValue:A,defaultFilteredValue:E,filterDropdownProps:S={},filterDropdownOpen:O,filterDropdownVisible:N,onFilterDropdownVisibleChange:I,onFilterDropdownOpenChange:R}=d,[z,j]=r.useState(!1),M=!!(g&&((null==(t=g.filteredKeys)?void 0:t.length)||g.forceFiltered)),P=e=>{var t;j(e),null==(t=S.onOpenChange)||t.call(S,e),null==R||R(e),null==I||I(e)},B=null!=(l=null!=(o=null!=(n=S.open)?n:O)?o:N)?l:z,T=null==g?void 0:g.filteredKeys,[L,H]=(e=>{let t=r.useRef(e),[,n]=(0,td.C)();return[()=>t.current,e=>{t.current=e,n()}]})(T||[]),K=e=>{let{selectedKeys:t}=e;H(t)},W=(e,t)=>{let{node:n,checked:r}=t;m?K({selectedKeys:e}):K({selectedKeys:r&&n.key?[n.key]:[]})};r.useEffect(()=>{z&&K({selectedKeys:T||[]})},[T]);let[_,D]=r.useState([]),F=e=>{D(e)},[q,V]=r.useState(""),X=e=>{let{value:t}=e.target;V(t)};r.useEffect(()=>{z||V("")},[z]);let Y=e=>{let t=(null==e?void 0:e.length)?e:null;if(null===t&&(!g||!g.filteredKeys)||(0,s.A)(t,null==g?void 0:g.filteredKeys,!0))return null;v({column:d,key:f,filteredKeys:t})},U=()=>{P(!1),Y(L())},G=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&Y([]),t&&P(!1),V(""),A?H((E||[]).map(e=>String(e))):H([])},Q=k()({["".concat(u,"-menu-without-submenu")]:!(d.filters||[]).some(e=>{let{children:t}=e;return t})}),J=e=>{e.target.checked?H(tC(null==d?void 0:d.filters).map(e=>String(e))):H([])},$=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(r.children=$({filters:e.children})),r})},Z=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null==(t=e.children)?void 0:t.map(e=>Z(e)))||[]})},{direction:ee,renderEmpty:et}=r.useContext(e8.QO);if("function"==typeof d.filterDropdown)a=d.filterDropdown({prefixCls:"".concat(u,"-custom"),setSelectedKeys:e=>K({selectedKeys:e}),selectedKeys:L(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&P(!1),Y(L())},clearFilters:G,filters:d.filters,visible:B,close:()=>{P(!1)}});else if(d.filterDropdown)a=d.filterDropdown;else{let e=L()||[];a=r.createElement(r.Fragment,null,(()=>{var t,n;let o=null!=(t=null==et?void 0:et("Table.filter"))?t:r.createElement(tf.A,{image:tf.A.PRESENTED_IMAGE_SIMPLE,description:x.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if(0===(d.filters||[]).length)return o;if("tree"===b)return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:h,value:q,onChange:X,tablePrefixCls:c,locale:x}),r.createElement("div",{className:"".concat(c,"-filter-dropdown-tree")},m?r.createElement(eX.A,{checked:e.length===tC(d.filters).length,indeterminate:e.length>0&&e.length"function"==typeof h?h(q,Z(e)):tA(q,e.title):void 0})));let l=function e(t){let{filters:n,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:c,filterSearch:i}=t;return n.map((t,n)=>{let s=String(t.value);if(t.children)return{key:s||n,label:t.text,popupClassName:"".concat(o,"-dropdown-submenu"),children:e({filters:t.children,prefixCls:o,filteredKeys:l,filterMultiple:a,searchValue:c,filterSearch:i})};let d=a?eX.A:eU.Ay,u={key:void 0!==t.value?s:n,label:r.createElement(r.Fragment,null,r.createElement(d,{checked:l.includes(s)}),r.createElement("span",null,t.text))};return c.trim()?"function"==typeof i?i(c,t)?u:null:tA(c,t.text)?u:null:u})}({filters:d.filters||[],filterSearch:h,prefixCls:i,filteredKeys:L(),filterMultiple:m,searchValue:q}),a=l.every(e=>null===e);return r.createElement(r.Fragment,null,r.createElement(tv,{filterSearch:h,value:q,onChange:X,tablePrefixCls:c,locale:x}),a?o:r.createElement(tp.A,{selectable:!0,multiple:m,prefixCls:"".concat(u,"-menu"),className:Q,onSelect:K,onDeselect:K,selectedKeys:e,getPopupContainer:w,openKeys:_,onOpenChange:F,items:l}))})(),r.createElement("div",{className:"".concat(i,"-dropdown-btns")},r.createElement(tu.Ay,{type:"link",size:"small",disabled:A?(0,s.A)((E||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>G()},x.filterReset),r.createElement(tu.Ay,{type:"primary",size:"small",onClick:U},x.filterConfirm)))}d.filterDropdown&&(a=r.createElement(tm.A,{selectable:void 0},a)),a=r.createElement(tw,{className:"".concat(i,"-dropdown")},a);let en=(0,ts.A)({trigger:["click"],placement:"rtl"===ee?"bottomLeft":"bottomRight",children:(()=>{let e;return e="function"==typeof d.filterIcon?d.filterIcon(M):d.filterIcon?d.filterIcon:r.createElement(ti,null),r.createElement("span",{role:"button",tabIndex:-1,className:k()("".concat(i,"-trigger"),{active:M}),onClick:e=>{e.stopPropagation()}},e)})(),getPopupContainer:w},Object.assign(Object.assign({},S),{rootClassName:k()(C,S.rootClassName),open:B,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==T&&H(T||[]),P(e),e||d.filterDropdown||!p||U())},popupRender:()=>"function"==typeof(null==S?void 0:S.dropdownRender)?S.dropdownRender(a):a}));return r.createElement("div",{className:"".concat(i,"-column")},r.createElement("span",{className:"".concat(c,"-column-title")},y),r.createElement(eY.A,Object.assign({},en)))},tS=(e,t,n)=>{let r=[];return(e||[]).forEach((e,o)=>{var l;let a=to(o,n),c=void 0!==e.filterDropdown;if(e.filters||c||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;c||(t=null!=(l=null==t?void 0:t.map(String))?l:t),r.push({column:e,key:tr(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:tr(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat((0,el.A)(r),(0,el.A)(tS(e.children,t,a))))}),r},tk=e=>{let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:o}=e,{filters:l,filterDropdown:a}=o;if(a)t[n]=r||null;else if(Array.isArray(r)){let e=tC(l);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t},tO=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:o,filters:l},filteredKeys:a}=r;return o&&a&&a.length?e.map(e=>Object.assign({},e)).filter(e=>a.some(r=>{let a=tC(l),c=a.findIndex(e=>String(e)===String(r)),i=-1!==c?a[c]:r;return e[n]&&(e[n]=tO(e[n],t,n)),o(i,e)})):e},e),tN=e=>e.flatMap(e=>"children"in e?[e].concat((0,el.A)(tN(e.children||[]))):[e]);var tI=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 tR=function(e,t,n){let o=n&&"object"==typeof n?n:{},{total:l=0}=o,a=tI(o,["total"]),[c,i]=(0,r.useState)(()=>({current:"defaultCurrent"in a?a.defaultCurrent:1,pageSize:"defaultPageSize"in a?a.defaultPageSize:10})),s=(0,ts.A)(c,a,{total:l>0?l:e}),d=Math.ceil((l||e)/s.pageSize);s.current>d&&(s.current=d||1);let u=(e,t)=>{i({current:null!=e?e:1,pageSize:t||s.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:(e,r)=>{var o;n&&(null==(o=n.onChange)||o.call(n,e,r)),u(e,r),t(e,r||(null==s?void 0:s.pageSize))}}),u]},tz={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:"outlined"};var tj=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:tz}))});let tM={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};var tP=r.forwardRef(function(e,t){return r.createElement(tc.A,(0,p.A)({},e,{ref:t,icon:tM}))}),tB=n(97540);let tT="ascend",tL="descend",tH=e=>"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple,tK=e=>"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare,tW=(e,t,n)=>{let r=[],o=(e,t)=>{r.push({column:e,key:tr(e,t),multiplePriority:tH(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,l)=>{let a=to(l,n);e.children?("sortOrder"in e&&o(e,a),r=[].concat((0,el.A)(r),(0,el.A)(tW(e.children,t,a)))):e.sorter&&("sortOrder"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:tr(e,a),multiplePriority:tH(e),sortOrder:e.defaultSortOrder}))}),r},t_=(e,t,n,o,l,a,c,i)=>(t||[]).map((t,s)=>{let d=to(s,i),u=t;if(u.sorter){let i,s=u.sortDirections||l,f=void 0===u.showSorterTooltip?c:u.showSorterTooltip,p=tr(u,d),m=n.find(e=>{let{key:t}=e;return t===p}),b=m?m.sortOrder:null,h=((e,t)=>t?e[e.indexOf(t)+1]:e[0])(s,b);if(t.sortIcon)i=t.sortIcon({sortOrder:b});else{let t=s.includes(tT)&&r.createElement(tP,{className:k()("".concat(e,"-column-sorter-up"),{active:b===tT})}),n=s.includes(tL)&&r.createElement(tj,{className:k()("".concat(e,"-column-sorter-down"),{active:b===tL})});i=r.createElement("span",{className:k()("".concat(e,"-column-sorter"),{["".concat(e,"-column-sorter-full")]:!!(t&&n)})},r.createElement("span",{className:"".concat(e,"-column-sorter-inner"),"aria-hidden":"true"},t,n))}let{cancelSort:g,triggerAsc:v,triggerDesc:x}=a||{},y=g;h===tL?y=x:h===tT&&(y=v);let w="object"==typeof f?Object.assign({title:y},f):{title:y};u=Object.assign(Object.assign({},u),{className:k()(u.className,{["".concat(e,"-column-sort")]:b}),title:n=>{let o="".concat(e,"-column-sorters"),l=r.createElement("span",{className:"".concat(e,"-column-title")},tl(t.title,n)),a=r.createElement("div",{className:o},l,i);return f?"boolean"!=typeof f&&(null==f?void 0:f.target)==="sorter-icon"?r.createElement("div",{className:k()(o,"".concat(o,"-tooltip-target-sorter"))},l,r.createElement(tB.A,Object.assign({},w),i)):r.createElement(tB.A,Object.assign({},w),a):a},onHeaderCell:n=>{var r;let l=(null==(r=t.onHeaderCell)?void 0:r.call(t,n))||{},a=l.onClick,c=l.onKeyDown;l.onClick=e=>{o({column:t,key:p,sortOrder:h,multiplePriority:tH(t)}),null==a||a(e)},l.onKeyDown=e=>{e.keyCode===tx.A.ENTER&&(o({column:t,key:p,sortOrder:h,multiplePriority:tH(t)}),null==c||c(e))};let i=((e,t)=>{let n=tl(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n})(t.title,{}),s=null==i?void 0:i.toString();return b&&(l["aria-sort"]="ascend"===b?"ascending":"descending"),l["aria-label"]=s||"",l.className=k()(l.className,"".concat(e,"-column-has-sorters")),l.tabIndex=0,t.ellipsis&&(l.title=(null!=i?i:"").toString()),l}})}return"children"in u&&(u=Object.assign(Object.assign({},u),{children:t_(e,u.children,n,o,l,a,c,d)})),u}),tD=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tF=e=>{let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tD);if(0===t.length&&e.length){let t=e.length-1;return Object.assign(Object.assign({},tD(e[t])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},tq=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),o=e.slice(),l=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return tK(t)&&n});return l.length?o.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:tq(r,t,n)}):e}):o},tV=(e,t)=>e.map(e=>{let n=Object.assign({},e);return n.title=tl(e.title,t),"children"in n&&(n.children=tV(n.children,t)),n}),tX=v(eI,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),tY=v(eK,(e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});var tU=n(99841),tG=n(60872),tQ=n(18184),tJ=n(45431),t$=n(61388);let tZ=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:o}=e,l="".concat((0,tU.zA)(n)," ").concat(e.lineType," ").concat(r);return{["".concat(t,"-wrapper")]:{["".concat(t,"-summary")]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},["div".concat(t,"-summary")]:{boxShadow:"0 ".concat((0,tU.zA)(o(n).mul(-1).equal())," 0 ").concat(r)}}}},t0=(0,tJ.OF)("Table",e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:o,headerBg:l,headerColor:a,headerSortActiveBg:c,headerSortHoverBg:i,bodySortBg:s,rowHoverBg:d,rowSelectedBg:u,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:b,cellPaddingBlockMD:h,cellPaddingInlineMD:g,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:y,footerBg:w,footerColor:C,headerBorderRadius:A,cellFontSize:E,cellFontSizeMD:S,cellFontSizeSM:k,headerSplitColor:O,fixedHeaderSortActiveBg:N,headerFilterHoverBg:I,filterDropdownBg:R,expandIconBg:z,selectionColumnWidth:j,stickyScrollBarBg:M,calc:P}=e,B=(0,t$.oX)(e,{tableFontSize:E,tableBg:r,tableRadius:A,tablePaddingVertical:m,tablePaddingHorizontal:b,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:g,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:y,tableHeaderTextColor:a,tableHeaderBg:l,tableFooterTextColor:C,tableFooterBg:w,tableHeaderCellSplitColor:O,tableHeaderSortBg:c,tableHeaderSortHoverBg:i,tableBodySortBg:s,tableFixedHeaderSortActiveBg:N,tableHeaderFilterActiveBg:I,tableFilterDropdownBg:R,tableRowHoverBg:d,tableSelectedRowBg:u,tableSelectedRowHoverBg:f,zIndexTableFixed:2,zIndexTableSticky:P(2).add(1).equal({unit:!1}),tableFontSizeMiddle:S,tableFontSizeSmall:k,tableSelectionColumnWidth:j,tableExpandIconBg:z,tableExpandColumnWidth:P(o).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:M,tableScrollThumbBgHover:t,tableScrollBg:n});return[(e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:o,tableExpandColumnWidth:l,lineWidth:a,lineType:c,tableBorderColor:i,tableFontSize:s,tableBg:d,tableRadius:u,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:b,tableFooterTextColor:h,tableFooterBg:g,calc:v}=e,x="".concat((0,tU.zA)(a)," ").concat(c," ").concat(i);return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({clear:"both",maxWidth:"100%","--rc-virtual-list-scrollbar-bg":e.tableScrollBg},(0,tQ.t6)()),{[t]:Object.assign(Object.assign({},(0,tQ.dF)(e)),{fontSize:s,background:d,borderRadius:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(u)," 0 0"),scrollbarColor:"".concat(e.tableScrollThumbBg," ").concat(e.tableScrollBg)}),table:{width:"100%",textAlign:"start",borderRadius:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(u)," 0 0"),borderCollapse:"separate",borderSpacing:0},["\n ".concat(t,"-cell,\n ").concat(t,"-thead > tr > th,\n ").concat(t,"-tbody > tr > th,\n ").concat(t,"-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n ")]:{position:"relative",padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o)),overflowWrap:"break-word"},["".concat(t,"-title")]:{padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o))},["".concat(t,"-thead")]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:"background ".concat(p," ease"),"&[colspan]:not([colspan='1'])":{textAlign:"center"},["&:not(:last-child):not(".concat(t,"-selection-column):not(").concat(t,"-row-expand-icon-cell):not([colspan])::before")]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:b,transform:"translateY(-50%)",transition:"background-color ".concat(p),content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},["".concat(t,"-tbody")]:{"> tr":{"> th, > td":{transition:"background ".concat(p,", border-color ").concat(p),borderBottom:x,["\n > ".concat(t,"-wrapper:only-child,\n > ").concat(t,"-expanded-row-fixed > ").concat(t,"-wrapper:only-child\n ")]:{[t]:{marginBlock:(0,tU.zA)(v(r).mul(-1).equal()),marginInline:"".concat((0,tU.zA)(v(l).sub(o).equal()),"\n ").concat((0,tU.zA)(v(o).mul(-1).equal())),["".concat(t,"-tbody > tr:last-child > td")]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:x,transition:"background ".concat(p," ease")},["& > ".concat(t,"-measure-cell")]:{paddingBlock:"0 !important",borderBlock:"0 !important",["".concat(t,"-measure-cell-content")]:{height:0,overflow:"hidden",pointerEvents:"none"}}}},["".concat(t,"-footer")]:{padding:"".concat((0,tU.zA)(r)," ").concat((0,tU.zA)(o)),color:h,background:g}})}})(B),(e=>{let{componentCls:t,antCls:n,margin:r}=e;return{["".concat(t,"-wrapper ").concat(t,"-pagination").concat(n,"-pagination")]:{margin:"".concat((0,tU.zA)(r)," 0")}}})(B),tZ(B),(e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:o,headerIconHoverColor:l}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-thead th").concat(t,"-column-has-sorters")]:{outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow,", left 0s"),"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},["\n &".concat(t,"-cell-fix-left:hover,\n &").concat(t,"-cell-fix-right:hover\n ")]:{background:e.tableFixedHeaderSortActiveBg}},["".concat(t,"-thead th").concat(t,"-column-sort")]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},["td".concat(t,"-column-sort")]:{background:e.tableBodySortBg},["".concat(t,"-column-title")]:{position:"relative",zIndex:1,flex:1,minWidth:0},["".concat(t,"-column-sorters")]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},["".concat(t,"-column-sorters-tooltip-target-sorter")]:{"&::after":{content:"none"}},["".concat(t,"-column-sorter")]:{marginInlineStart:n,color:o,fontSize:0,transition:"color ".concat(e.motionDurationSlow),"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},["".concat(t,"-column-sorter-up + ").concat(t,"-column-sorter-down")]:{marginTop:"-0.3em"}},["".concat(t,"-column-sorters:hover ").concat(t,"-column-sorter")]:{color:l}}}})(B),(e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:o,tableFilterDropdownSearchWidth:l,paddingXXS:a,paddingXS:c,colorText:i,lineWidth:s,lineType:d,tableBorderColor:u,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:b,motionDurationSlow:h,colorIcon:g,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:A,controlItemBgActive:E,boxShadowSecondary:S,filterDropdownMenuBg:k,calc:O}=e,N="".concat(n,"-dropdown"),I="".concat(t,"-filter-dropdown"),R="".concat(n,"-tree"),z="".concat((0,tU.zA)(s)," ").concat(d," ").concat(u);return[{["".concat(t,"-wrapper")]:{["".concat(t,"-filter-column")]:{display:"flex",justifyContent:"space-between"},["".concat(t,"-filter-trigger")]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(a).mul(-1).equal(),marginInline:"".concat((0,tU.zA)(a)," ").concat((0,tU.zA)(O(m).div(2).mul(-1).equal())),padding:"0 ".concat((0,tU.zA)(a)),color:f,fontSize:p,borderRadius:b,cursor:"pointer",transition:"all ".concat(h),"&:hover":{color:g,background:x},"&.active":{color:v}}}},{["".concat(n,"-dropdown")]:{[I]:Object.assign(Object.assign({},(0,tQ.dF)(e)),{minWidth:o,backgroundColor:w,borderRadius:b,boxShadow:S,overflow:"hidden",["".concat(N,"-menu")]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:"".concat((0,tU.zA)(c)," 0"),color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},["".concat(I,"-tree")]:{paddingBlock:"".concat((0,tU.zA)(c)," 0"),paddingInline:c,[R]:{padding:0},["".concat(R,"-treenode ").concat(R,"-node-content-wrapper:hover")]:{backgroundColor:A},["".concat(R,"-treenode-checkbox-checked ").concat(R,"-node-content-wrapper")]:{"&, &:hover":{backgroundColor:E}}},["".concat(I,"-search")]:{padding:c,borderBottom:z,"&-input":{input:{minWidth:l},[r]:{color:y}}},["".concat(I,"-checkall")]:{width:"100%",marginBottom:a,marginInlineStart:a},["".concat(I,"-btns")]:{display:"flex",justifyContent:"space-between",padding:"".concat((0,tU.zA)(O(c).sub(s).equal())," ").concat((0,tU.zA)(c)),overflow:"hidden",borderTop:z}})}},{["".concat(n,"-dropdown ").concat(I,", ").concat(I,"-submenu")]:{["".concat(n,"-checkbox-wrapper + span")]:{paddingInlineStart:c,color:i},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]})(B),(e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:o,tableHeaderBg:l,tablePaddingVertical:a,tablePaddingHorizontal:c,calc:i}=e,s="".concat((0,tU.zA)(n)," ").concat(r," ").concat(o),d=(e,r,o)=>({["&".concat(t,"-").concat(e)]:{["> ".concat(t,"-container")]:{["> ".concat(t,"-content, > ").concat(t,"-body")]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(i(r).mul(-1).equal()),"\n ").concat((0,tU.zA)(i(i(o).add(n)).mul(-1).equal()))}}}}}});return{["".concat(t,"-wrapper")]:{["".concat(t).concat(t,"-bordered")]:Object.assign(Object.assign(Object.assign({["> ".concat(t,"-title")]:{border:s,borderBottom:0},["> ".concat(t,"-container")]:{borderInlineStart:s,borderTop:s,["\n > ".concat(t,"-content,\n > ").concat(t,"-header,\n > ").concat(t,"-body,\n > ").concat(t,"-summary\n ")]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:s},"> thead":{"> tr:not(:last-child) > th":{borderBottom:s},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{["> ".concat(t,"-cell-fix-right-first::after")]:{borderInlineEnd:s}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{["> ".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(i(a).mul(-1).equal())," ").concat((0,tU.zA)(i(i(c).add(n)).mul(-1).equal())),"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:s,content:'""'}}}}}},["&".concat(t,"-scroll-horizontal")]:{["> ".concat(t,"-container > ").concat(t,"-body")]:{"> table > tbody":{["\n > tr".concat(t,"-expanded-row,\n > tr").concat(t,"-placeholder\n ")]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{["> ".concat(t,"-footer")]:{border:s,borderTop:0}}),["".concat(t,"-cell")]:{["".concat(t,"-container:first-child")]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:"0 ".concat((0,tU.zA)(n)," 0 ").concat((0,tU.zA)(n)," ").concat(l)}},["".concat(t,"-bordered ").concat(t,"-cell-scrollbar")]:{borderInlineEnd:s}}}})(B),(e=>{let{componentCls:t,tableRadius:n}=e;return{["".concat(t,"-wrapper")]:{[t]:{["".concat(t,"-title, ").concat(t,"-header")]:{borderRadius:"".concat((0,tU.zA)(n)," ").concat((0,tU.zA)(n)," 0 0")},["".concat(t,"-title + ").concat(t,"-container")]:{borderStartStartRadius:0,borderStartEndRadius:0,["".concat(t,"-header, table")]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:"0 0 ".concat((0,tU.zA)(n)," ").concat((0,tU.zA)(n))}}}}})(B),(e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:o,paddingXS:l,lineType:a,tableBorderColor:c,tableExpandIconBg:i,tableExpandColumnWidth:s,borderRadius:d,tablePaddingVertical:u,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:b,expandIconSize:h,expandIconHalfInner:g,expandIconScale:v,calc:x}=e,y="".concat((0,tU.zA)(o)," ").concat(a," ").concat(c),w=x(m).sub(o).equal();return{["".concat(t,"-wrapper")]:{["".concat(t,"-expand-icon-col")]:{width:s},["".concat(t,"-row-expand-icon-cell")]:{textAlign:"center",["".concat(t,"-row-expand-icon")]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},["".concat(t,"-row-indent")]:{height:1,float:"left"},["".concat(t,"-row-expand-icon")]:Object.assign(Object.assign({},(0,tQ.Y1)(e)),{position:"relative",float:"left",width:h,height:h,color:"inherit",lineHeight:(0,tU.zA)(h),background:i,border:y,borderRadius:d,transform:"scale(".concat(v,")"),"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:"transform ".concat(r," ease-out"),content:'""'},"&::before":{top:g,insetInlineEnd:w,insetInlineStart:w,height:o},"&::after":{top:w,bottom:w,insetInlineStart:g,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),["".concat(t,"-row-indent + ").concat(t,"-row-expand-icon")]:{marginTop:b,marginInlineEnd:l},["tr".concat(t,"-expanded-row")]:{"&, &:hover":{"> th, > td":{background:p}},["".concat(n,"-descriptions-view")]:{display:"flex",table:{flex:"auto",width:"100%"}}},["".concat(t,"-expanded-row-fixed")]:{position:"relative",margin:"".concat((0,tU.zA)(x(u).mul(-1).equal())," ").concat((0,tU.zA)(x(f).mul(-1).equal())),padding:"".concat((0,tU.zA)(u)," ").concat((0,tU.zA)(f))}}}})(B),tZ(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody > tr").concat(t,"-placeholder")]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}})(B),(e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:o,padding:l,paddingXS:a,headerIconColor:c,headerIconHoverColor:i,tableSelectionColumnWidth:s,tableSelectedRowBg:d,tableSelectedRowHoverBg:u,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-selection-col")]:{width:s,["&".concat(t,"-selection-col-with-dropdown")]:{width:m(s).add(o).add(m(l).div(4)).equal()}},["".concat(t,"-bordered ").concat(t,"-selection-col")]:{width:m(s).add(m(a).mul(2)).equal(),["&".concat(t,"-selection-col-with-dropdown")]:{width:m(s).add(o).add(m(l).div(4)).add(m(a).mul(2)).equal()}},["\n table tr th".concat(t,"-selection-column,\n table tr td").concat(t,"-selection-column,\n ").concat(t,"-selection-column\n ")]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",["".concat(n,"-radio-wrapper")]:{marginInlineEnd:0}},["table tr th".concat(t,"-selection-column").concat(t,"-cell-fix-left")]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},["table tr th".concat(t,"-selection-column::after")]:{backgroundColor:"transparent !important"},["".concat(t,"-selection")]:{position:"relative",display:"inline-flex",flexDirection:"column"},["".concat(t,"-selection-extra")]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),marginInlineStart:"100%",paddingInlineStart:(0,tU.zA)(m(p).div(4).equal()),[r]:{color:c,fontSize:o,verticalAlign:"baseline","&:hover":{color:i}}},["".concat(t,"-tbody")]:{["".concat(t,"-row")]:{["&".concat(t,"-row-selected")]:{["> ".concat(t,"-cell")]:{background:d,"&-row-hover":{background:u}}},["> ".concat(t,"-cell-row-hover")]:{background:f}}}}}})(B),(e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:o,zIndexTableFixed:l,tableBg:a,zIndexTableSticky:c,calc:i}=e;return{["".concat(t,"-wrapper")]:{["\n ".concat(t,"-cell-fix-left,\n ").concat(t,"-cell-fix-right\n ")]:{position:"sticky !important",zIndex:l,background:a},["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after\n ")]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:i(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none",willChange:"transform"},["".concat(t,"-cell-fix-left-all::after")]:{display:"none"},["\n ".concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{position:"absolute",top:0,bottom:i(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},["".concat(t,"-container")]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:i(c).add(1).equal({unit:!1}),width:30,transition:"box-shadow ".concat(o),content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},["".concat(t,"-ping-left")]:{["&:not(".concat(t,"-has-fix-left) ").concat(t,"-container::before")]:{boxShadow:"inset 10px 0 8px -8px ".concat(r)},["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after\n ")]:{boxShadow:"inset 10px 0 8px -8px ".concat(r)},["".concat(t,"-cell-fix-left-last::before")]:{backgroundColor:"transparent !important"}},["".concat(t,"-ping-right")]:{["&:not(".concat(t,"-has-fix-right) ").concat(t,"-container::after")]:{boxShadow:"inset -10px 0 8px -8px ".concat(r)},["\n ".concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{boxShadow:"inset -10px 0 8px -8px ".concat(r)}},["".concat(t,"-fixed-column-gapped")]:{["\n ".concat(t,"-cell-fix-left-first::after,\n ").concat(t,"-cell-fix-left-last::after,\n ").concat(t,"-cell-fix-right-first::after,\n ").concat(t,"-cell-fix-right-last::after\n ")]:{boxShadow:"none"}}}}})(B),(e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:o,tableScrollThumbSize:l,tableScrollBg:a,zIndexTableSticky:c,stickyScrollBarBorderRadius:i,lineWidth:s,lineType:d,tableBorderColor:u}=e,f="".concat((0,tU.zA)(s)," ").concat(d," ").concat(u);return{["".concat(t,"-wrapper")]:{["".concat(t,"-sticky")]:{"&-holder":{position:"sticky",zIndex:c,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:"".concat((0,tU.zA)(l)," !important"),zIndex:c,display:"flex",alignItems:"center",background:a,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:r,borderRadius:i,transition:"all ".concat(e.motionDurationSlow,", transform 0s"),position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:o}}}}}}})(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper")]:{["".concat(t,"-cell-ellipsis")]:Object.assign(Object.assign({},tQ.L9),{wordBreak:"keep-all",["\n &".concat(t,"-cell-fix-left-last,\n &").concat(t,"-cell-fix-right-first\n ")]:{overflow:"visible",["".concat(t,"-cell-content")]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},["".concat(t,"-column-title")]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}})(B),(e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,o=(e,o,l,a)=>({["".concat(t).concat(t,"-").concat(e)]:{fontSize:a,["\n ".concat(t,"-title,\n ").concat(t,"-footer,\n ").concat(t,"-cell,\n ").concat(t,"-thead > tr > th,\n ").concat(t,"-tbody > tr > th,\n ").concat(t,"-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n ")]:{padding:"".concat((0,tU.zA)(o)," ").concat((0,tU.zA)(l))},["".concat(t,"-filter-trigger")]:{marginInlineEnd:(0,tU.zA)(r(l).div(2).mul(-1).equal())},["".concat(t,"-expanded-row-fixed")]:{margin:"".concat((0,tU.zA)(r(o).mul(-1).equal())," ").concat((0,tU.zA)(r(l).mul(-1).equal()))},["".concat(t,"-tbody")]:{["".concat(t,"-wrapper:only-child ").concat(t)]:{marginBlock:(0,tU.zA)(r(o).mul(-1).equal()),marginInline:"".concat((0,tU.zA)(r(n).sub(l).equal())," ").concat((0,tU.zA)(r(l).mul(-1).equal()))}},["".concat(t,"-selection-extra")]:{paddingInlineStart:(0,tU.zA)(r(l).div(4).equal())}}});return{["".concat(t,"-wrapper")]:Object.assign(Object.assign({},o("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),o("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}})(B),(e=>{let{componentCls:t}=e;return{["".concat(t,"-wrapper-rtl")]:{direction:"rtl",table:{direction:"rtl"},["".concat(t,"-pagination-left")]:{justifyContent:"flex-end"},["".concat(t,"-pagination-right")]:{justifyContent:"flex-start"},["".concat(t,"-row-expand-icon")]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},["".concat(t,"-container")]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},["".concat(t,"-row-indent")]:{float:"right"}}}}})(B),(e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:o,tableBorderColor:l,calc:a}=e,c="".concat((0,tU.zA)(r)," ").concat(o," ").concat(l),i="".concat(t,"-expanded-row-cell");return{["".concat(t,"-wrapper")]:{["".concat(t,"-tbody-virtual")]:{["".concat(t,"-tbody-virtual-holder-inner")]:{["\n & > ".concat(t,"-row, \n & > div:not(").concat(t,"-row) > ").concat(t,"-row\n ")]:{display:"flex",boxSizing:"border-box",width:"100%"}},["".concat(t,"-cell")]:{borderBottom:c,transition:"background ".concat(n)},["".concat(t,"-expanded-row")]:{["".concat(i).concat(i,"-fixed")]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:"calc(var(--virtual-width) - ".concat((0,tU.zA)(r),")"),borderInlineEnd:"none"}}},["".concat(t,"-bordered")]:{["".concat(t,"-tbody-virtual")]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:c,position:"absolute"},["".concat(t,"-cell")]:{borderInlineEnd:c,["&".concat(t,"-cell-fix-right-first:before")]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:a(r).mul(-1).equal(),borderInlineStart:c}}},["&".concat(t,"-virtual")]:{["".concat(t,"-placeholder ").concat(t,"-cell")]:{borderInlineEnd:c,borderBottom:c}}}}}})(B)]},e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:o,colorFillContent:l,controlItemBgActive:a,controlItemBgActiveHover:c,padding:i,paddingSM:s,paddingXS:d,colorBorderSecondary:u,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:b,fontSizeSM:h,lineHeight:g,lineWidth:v,colorIcon:x,colorIconHover:y,opacityLoading:w,controlInteractiveSize:C}=e,A=new tG.Y(o).onBackground(n).toHexString(),E=new tG.Y(l).onBackground(n).toHexString(),S=new tG.Y(t).onBackground(n).toHexString(),k=new tG.Y(x),O=new tG.Y(y),N=C/2-v,I=2*N+3*v;return{headerBg:S,headerColor:r,headerSortActiveBg:A,headerSortHoverBg:E,bodySortBg:S,rowHoverBg:S,rowSelectedBg:a,rowSelectedHoverBg:c,rowExpandedBg:t,cellPaddingBlock:i,cellPaddingInline:i,cellPaddingBlockMD:s,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:u,headerBorderRadius:f,footerBg:S,footerColor:r,cellFontSize:b,cellFontSizeMD:b,cellFontSizeSM:b,headerSplitColor:u,fixedHeaderSortActiveBg:A,headerFilterHoverBg:l,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(b*g-3*v)/2-Math.ceil((1.4*h-3*v)/2),headerIconColor:k.clone().setA(k.a*w).toRgbString(),headerIconHoverColor:O.clone().setA(O.a*w).toRgbString(),expandIconHalfInner:N,expandIconSize:I,expandIconScale:C/I}},{unitless:{expandIconScale:!0}}),t1=[],t2=r.forwardRef((e,t)=>{var n,o;let{prefixCls:a,className:c,rootClassName:i,style:s,size:d,bordered:u,dropdownPrefixCls:f,dataSource:p,pagination:m,rowSelection:b,rowKey:h="key",rowClassName:g,columns:v,children:x,childrenColumnName:y,onChange:w,getPopupContainer:C,loading:A,expandIcon:E,expandable:S,expandedRowRender:O,expandIconColumnIndex:N,indentSize:I,scroll:R,sortDirections:z,locale:j,showSorterTooltip:M={target:"full-header"},virtual:P}=e;(0,eV.rJ)("Table");let B=r.useMemo(()=>v||eb(x),[v,x]),T=r.useMemo(()=>B.some(e=>e.responsive),[B]),L=(0,e9.A)(T),H=r.useMemo(()=>{let e=new Set(Object.keys(L).filter(e=>L[e]));return B.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[B,L]),K=(0,e1.A)(e,["className","style","columns"]),{locale:W=e7.A,direction:_,table:D,renderEmpty:F,getPrefixCls:q,getPopupContainer:V}=r.useContext(e8.QO),X=(0,e6.A)(d),Y=Object.assign(Object.assign({},W.Table),j),U=p||t1,G=q("table",a),Q=q("dropdown",f),[,J]=(0,tn.Ay)(),$=(0,e5.A)(G),[Z,ee,et]=t0(G,$),er=Object.assign(Object.assign({childrenColumnName:y,expandIconColumnIndex:N},S),{expandIcon:null!=(n=null==S?void 0:S.expandIcon)?n:null==(o=null==D?void 0:D.expandable)?void 0:o.expandIcon}),{childrenColumnName:eo="children"}=er,ea=r.useMemo(()=>U.some(e=>null==e?void 0:e[eo])?"nest":O||(null==S?void 0:S.expandedRowRender)?"row":null,[U]),ec={body:r.useRef(null)},ei=(e,t)=>{let n=e.querySelector(".".concat(G,"-container")),r=t;if(n){let e=getComputedStyle(n);r=t-Number.parseInt(e.borderLeftWidth,10)-Number.parseInt(e.borderRightWidth,10)}return r},es=r.useRef(null),ed=r.useRef(null);(0,r.useImperativeHandle)(t,()=>{let e=(()=>Object.assign(Object.assign({},ed.current),{nativeElement:es.current}))(),{nativeElement:t}=e;return"undefined"!=typeof Proxy?new Proxy(t,{get:(t,n)=>e[n]?e[n]:Reflect.get(t,n)}):function(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){let r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}(t,e)});let eu=r.useMemo(()=>"function"==typeof h?h:e=>null==e?void 0:e[h],[h]),[ef]=((e,t,n)=>{let o=r.useRef({});return[function(r){var l;if(!o.current||o.current.data!==e||o.current.childrenColumnName!==t||o.current.getRowKey!==n){let r=new Map;!function e(o){o.forEach((o,l)=>{let a=n(o,l);r.set(a,o),o&&"object"==typeof o&&t in o&&e(o[t]||[])})}(e),o.current={data:e,childrenColumnName:t,kvMap:r,getRowKey:n}}return null==(l=o.current.kvMap)?void 0:l.get(r)}]})(U,eo,eu),ep={},em=function(e,t){var n,r,o,l;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=Object.assign(Object.assign({},ep),e);a&&(null==(n=ep.resetPagination)||n.call(ep),(null==(r=c.pagination)?void 0:r.current)&&(c.pagination.current=1),m&&(null==(o=m.onChange)||o.call(m,1,null==(l=c.pagination)?void 0:l.pageSize))),R&&!1!==R.scrollToFirstRowOnChange&&ec.body.current&&(0,e2.A)(0,{getContainer:()=>ec.body.current}),null==w||w(c.pagination,c.filters,c.sorter,{currentDataSource:tO(tq(U,c.sorterStates,eo),c.filterStates,eo),action:t})},[eh,eg,ev,ex]=(e=>{let{prefixCls:t,mergedColumns:n,sortDirections:o,tableLocale:l,showSorterTooltip:a,onSorterChange:c}=e,[i,s]=r.useState(()=>tW(n,!0)),d=(e,t)=>{let n=[];return e.forEach((e,r)=>{let o=to(r,t);if(n.push(tr(e,o)),Array.isArray(e.children)){let t=d(e.children,o);n.push.apply(n,(0,el.A)(t))}}),n},u=r.useMemo(()=>{let e=!0,t=tW(n,!1);if(!t.length){let e=d(n);return i.filter(t=>{let{key:n}=t;return e.includes(n)})}let r=[];function o(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let l=null;return t.forEach(t=>{null===l?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:l=!0)):(l&&!1!==t.multiplePriority||(e=!1),o(t))}),r},[n,i]),f=r.useMemo(()=>{var e,t;let n=u.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:n,sortColumn:null==(e=n[0])?void 0:e.column,sortOrder:null==(t=n[0])?void 0:t.order}},[u]),p=e=>{let t;s(t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,el.A)(u.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),c(tF(t),t)};return[e=>t_(t,e,u,p,o,l,a),u,f,()=>tF(u)]})({prefixCls:G,mergedColumns:H,onSorterChange:(e,t)=>{em({sorter:e,sorterStates:t},"sort",!1)},sortDirections:z||["ascend","descend"],tableLocale:Y,showSorterTooltip:M}),ey=r.useMemo(()=>tq(U,eg,eo),[U,eg]);ep.sorter=ex(),ep.sorterStates=eg;let[ew,eC,eA]=(e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:o,onFilterChange:l,getPopupContainer:a,locale:c,rootClassName:i}=e;(0,eV.rJ)("Table");let s=r.useMemo(()=>tN(o||[]),[o]),[d,u]=r.useState(()=>tS(s,!0)),f=r.useMemo(()=>{let e=tS(s,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(s||[]).map((e,t)=>tr(e,to(t)));return d.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=s[e.indexOf(t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[s,d]),p=r.useMemo(()=>tk(f),[f]),m=e=>{let t=f.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),u(t),l(tk(t),t)};return[e=>(function e(t,n,o,l,a,c,i,s,d){return o.map((o,u)=>{let f=to(u,s),{filterOnClose:p=!0,filterMultiple:m=!0,filterMode:b,filterSearch:h}=o,g=o;if(g.filters||g.filterDropdown){let e=tr(g,f),s=l.find(t=>{let{key:n}=t;return e===n});g=Object.assign(Object.assign({},g),{title:l=>r.createElement(tE,{tablePrefixCls:t,prefixCls:"".concat(t,"-filter"),dropdownPrefixCls:n,column:g,columnKey:e,filterState:s,filterOnClose:p,filterMultiple:m,filterMode:b,filterSearch:h,triggerFilter:c,locale:a,getPopupContainer:i,rootClassName:d},tl(o.title,l))})}return"children"in g&&(g=Object.assign(Object.assign({},g),{children:e(t,n,g.children,l,a,c,i,f,d)})),g})})(t,n,e,f,c,m,a,void 0,i),f,p]})({prefixCls:G,locale:Y,dropdownPrefixCls:Q,mergedColumns:H,onFilterChange:(e,t)=>{em({filters:e,filterStates:t},"filter",!0)},getPopupContainer:C||V,rootClassName:k()(i,$)}),eE=tO(ey,eC,eo);ep.filters=eA,ep.filterStates=eC;let[eS]=(e=>[r.useCallback(t=>tV(t,e),[e])])(r.useMemo(()=>{let e={};return Object.keys(eA).forEach(t=>{null!==eA[t]&&(e[t]=eA[t])}),Object.assign(Object.assign({},ev),{filters:e})},[ev,eA])),[ek,eO]=tR(eE.length,(e,t)=>{em({pagination:Object.assign(Object.assign({},ep.pagination),{current:e,pageSize:t})},"paginate")},m);ep.pagination=!1===m?{}:function(e,t){let n={current:e.current,pageSize:e.pageSize};return Object.keys(t&&"object"==typeof t?t:{}).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}(ek,m),ep.resetPagination=eO;let eN=r.useMemo(()=>{if(!1===m||!ek.pageSize)return eE;let{current:e=1,total:t,pageSize:n=10}=ek;return eE.lengthn?eE.slice((e-1)*n,e*n):eE:eE.slice((e-1)*n,e*n)},[!!m,eE,null==ek?void 0:ek.current,null==ek?void 0:ek.pageSize,null==ek?void 0:ek.total]),[eI,eR]=((e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:o,defaultSelectedRowKeys:l,getCheckboxProps:a,getTitleCheckboxProps:c,onChange:i,onSelect:s,onSelectAll:d,onSelectInvert:u,onSelectNone:f,onSelectMultiple:p,columnWidth:m,type:b,selections:h,fixed:g,renderCell:v,hideSelectAll:x,checkStrictly:y=!0}=t||{},{prefixCls:w,data:C,pageData:A,getRecordByKey:E,getRowKey:S,expandType:O,childrenColumnName:N,locale:I,getPopupContainer:R}=e,z=(0,eV.rJ)("Table"),[j,M]=(e=>{let[t,n]=(0,r.useState)(null);return[(0,r.useCallback)((r,o,l)=>{let a=null!=t?t:r,c=Math.min(a||0,r),i=Math.max(a||0,r),s=o.slice(c,i+1).map(e),d=s.some(e=>!l.has(e)),u=[];return s.forEach(e=>{d?(l.has(e)||u.push(e),l.add(e)):(l.delete(e),u.push(e))}),n(d?i:null),u},[t]),n]})(e=>e),[P,B]=(0,eq.A)(o||l||eZ,{value:o}),T=r.useRef(new Map),L=(0,r.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=E(e);!n&&T.current.has(e)&&(n=T.current.get(e)),t.set(e,n)}),T.current=t}},[E,n]);r.useEffect(()=>{L(P)},[P]);let H=(0,r.useMemo)(()=>e0(N,A),[N,A]),{keyEntities:K}=(0,r.useMemo)(()=>{if(y)return{keyEntities:null};let e=C;if(n){let t=new Set(H.map((e,t)=>S(e,t))),n=Array.from(T.current).reduce((e,n)=>{let[r,o]=n;return t.has(r)?e:e.concat(o)},[]);e=[].concat((0,el.A)(e),(0,el.A)(n))}return(0,eF.cG)(e,{externalGetKey:S,childrenPropName:N})},[C,S,y,N,n,H]),W=(0,r.useMemo)(()=>{let e=new Map;return H.forEach((t,n)=>{let r=S(t,n),o=(a?a(t):null)||{};e.set(r,o)}),e},[H,S,a]),_=(0,r.useCallback)(e=>{let t,n=S(e);return!!(null==(t=W.has(n)?W.get(S(e)):a?a(e):void 0)?void 0:t.disabled)},[W,S]),[D,F]=(0,r.useMemo)(()=>{if(y)return[P||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,eD.p)(P,!0,K,_);return[e||[],t]},[P,y,K,_]),q=(0,r.useMemo)(()=>new Set("radio"===b?D.slice(0,1):D),[D,b]),V=(0,r.useMemo)(()=>"radio"===b?new Set:new Set(F),[F,b]);r.useEffect(()=>{t||B(eZ)},[!!t]);let X=(0,r.useCallback)((e,t)=>{let r,o;L(e),n?(r=e,o=e.map(e=>T.current.get(e))):(r=[],o=[],e.forEach(e=>{let t=E(e);void 0!==t&&(r.push(e),o.push(t))})),B(r),null==i||i(r,o,{type:t})},[B,E,i,n]),Y=(0,r.useCallback)((e,t,n,r)=>{if(s){let o=n.map(e=>E(e));s(E(e),t,o,r)}X(n,"single")},[s,E,X]),U=(0,r.useMemo)(()=>!h||x?null:(!0===h?[eQ,eJ,e$]:h).map(e=>e===eQ?{key:"all",text:I.selectionAll,onSelect(){X(C.map((e,t)=>S(e,t)).filter(e=>{let t=W.get(e);return!(null==t?void 0:t.disabled)||q.has(e)}),"all")}}:e===eJ?{key:"invert",text:I.selectInvert,onSelect(){let e=new Set(q);A.forEach((t,n)=>{let r=S(t,n),o=W.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(z.deprecated(!1,"onSelectInvert","onChange"),u(t)),X(t,"invert")}}:e===e$?{key:"none",text:I.selectNone,onSelect(){null==f||f(),X(Array.from(q).filter(e=>{let t=W.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n=arguments.length,r=Array(n),o=0;o{var n;let o,l,a;if(!t)return e.filter(e=>e!==eG);let i=(0,el.A)(e),s=new Set(q),u=H.map(S).filter(e=>!W.get(e).disabled),f=u.every(e=>s.has(e)),C=u.some(e=>s.has(e));if("radio"!==b){let e;if(U){let t={getPopupContainer:R,items:U.map((e,t)=>{let{key:n,text:r,onSelect:o}=e;return{key:null!=n?n:t,onClick:()=>{null==o||o(u)},label:r}})};e=r.createElement("div",{className:"".concat(w,"-selection-extra")},r.createElement(eY.A,{menu:t,getPopupContainer:R},r.createElement("span",null,r.createElement(eW.A,null))))}let t=H.map((e,t)=>{let n=S(e,t),r=W.get(n)||{};return Object.assign({checked:s.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===H.length,a=n&&t.every(e=>{let{checked:t}=e;return t}),i=n&&t.some(e=>{let{checked:t}=e;return t}),p=(null==c?void 0:c())||{},{onChange:m,disabled:b}=p;l=r.createElement(eX.A,Object.assign({"aria-label":e?"Custom selection":"Select all"},p,{checked:n?a:!!H.length&&f,indeterminate:n?!a&&i:!f&&C,onChange:e=>{(()=>{let e=[];f?u.forEach(t=>{s.delete(t),e.push(t)}):u.forEach(t=>{s.has(t)||(s.add(t),e.push(t))});let t=Array.from(s);null==d||d(!f,t.map(e=>E(e)),e.map(e=>E(e))),X(t,"all"),M(null)})(),null==m||m(e)},disabled:null!=b?b:0===H.length||n,skipGroup:!0})),o=!x&&r.createElement("div",{className:"".concat(w,"-selection")},l,e)}if(a="radio"===b?(e,t,n)=>{let o=S(t,n),l=s.has(o),a=W.get(o);return{node:r.createElement(eU.Ay,Object.assign({},a,{checked:l,onClick:e=>{var t;e.stopPropagation(),null==(t=null==a?void 0:a.onClick)||t.call(a,e)},onChange:e=>{var t;s.has(o)||Y(o,!0,[o],e.nativeEvent),null==(t=null==a?void 0:a.onChange)||t.call(a,e)}})),checked:l}}:(e,t,n)=>{var o;let l,a=S(t,n),c=s.has(a),i=V.has(a),d=W.get(a);return l="nest"===O?i:null!=(o=null==d?void 0:d.indeterminate)?o:i,{node:r.createElement(eX.A,Object.assign({},d,{indeterminate:l,checked:c,skipGroup:!0,onClick:e=>{var t;e.stopPropagation(),null==(t=null==d?void 0:d.onClick)||t.call(d,e)},onChange:e=>{var t;let{nativeEvent:n}=e,{shiftKey:r}=n,o=u.indexOf(a),l=D.some(e=>u.includes(e));if(r&&y&&l){let e=j(o,u,s),t=Array.from(s);null==p||p(!c,t.map(e=>E(e)),e.map(e=>E(e))),X(t,"multiple")}else if(y){let e=c?(0,e_.BA)(D,a):(0,e_.$s)(D,a);Y(a,!c,e,n)}else{let{checkedKeys:e,halfCheckedKeys:t}=(0,eD.p)([].concat((0,el.A)(D),[a]),!0,K,_),r=e;if(c){let n=new Set(e);n.delete(a),r=(0,eD.p)(Array.from(n),{checked:!1,halfCheckedKeys:t},K,_).checkedKeys}Y(a,!c,r,n)}c?M(null):M(o),null==(t=null==d?void 0:d.onChange)||t.call(d,e)}})),checked:c}},!i.includes(eG))if(0===i.findIndex(e=>{var t;return(null==(t=e[en])?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=i;i=[e,eG].concat((0,el.A)(t))}else i=[eG].concat((0,el.A)(i));let A=i.indexOf(eG),N=(i=i.filter((e,t)=>e!==eG||t===A))[A-1],I=i[A+1],z=g;void 0===z&&((null==I?void 0:I.fixed)!==void 0?z=I.fixed:(null==N?void 0:N.fixed)!==void 0&&(z=N.fixed)),z&&N&&(null==(n=N[en])?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===N.fixed&&(N.fixed=z);let P=k()("".concat(w,"-selection-col"),{["".concat(w,"-selection-col-with-dropdown")]:h&&"checkbox"===b}),B={fixed:z,width:m,className:"".concat(w,"-selection-column"),title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(l):t.columnTitle:o,render:(e,t,n)=>{let{node:r,checked:o}=a(e,t,n);return v?v(o,t,n,r):r},onCell:t.onCell,align:t.align,[en]:{className:P}};return i.map(e=>e===eG?B:e)},[S,H,t,D,q,V,m,U,O,W,p,Y,_]),q]})({prefixCls:G,data:eE,pageData:eN,getRowKey:eu,getRecordByKey:ef,expandType:ea,childrenColumnName:eo,locale:Y,getPopupContainer:C||V},b);er.__PARENT_RENDER_ICON__=er.expandIcon,er.expandIcon=er.expandIcon||E||function(e){return t=>{let{prefixCls:n,onExpand:o,record:l,expanded:a,expandable:c}=t,i="".concat(n,"-row-expand-icon");return r.createElement("button",{type:"button",onClick:e=>{o(l,e),e.stopPropagation()},className:k()(i,{["".concat(i,"-spaced")]:!c,["".concat(i,"-expanded")]:c&&a,["".concat(i,"-collapsed")]:c&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}(Y),"nest"===ea&&void 0===er.expandIconColumnIndex?er.expandIconColumnIndex=+!!b:er.expandIconColumnIndex>0&&b&&(er.expandIconColumnIndex-=1),"number"!=typeof er.indentSize&&(er.indentSize="number"==typeof I?I:15);let ez=r.useCallback(e=>eS(eI(ew(eh(e)))),[eh,ew,eI]),ej=r.useMemo(()=>"boolean"==typeof A?{spinning:A}:"object"==typeof A&&null!==A?Object.assign({spinning:!0},A):void 0,[A]),eM=k()(et,$,"".concat(G,"-wrapper"),null==D?void 0:D.className,{["".concat(G,"-wrapper-rtl")]:"rtl"===_},c,i,ee),eP=Object.assign(Object.assign({},null==D?void 0:D.style),s),eB=r.useMemo(()=>(null==ej?void 0:ej.spinning)&&U===t1?null:void 0!==(null==j?void 0:j.emptyText)?j.emptyText:(null==F?void 0:F("Table"))||r.createElement(e3.A,{componentName:"Table"}),[null==ej?void 0:ej.spinning,U,null==j?void 0:j.emptyText,F]),eT={},eL=r.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:o,paddingSM:l}=J,a=Math.floor(e*t);switch(X){case"middle":return 2*l+a+n;case"small":return 2*o+a+n;default:return 2*r+a+n}},[J,X]);P&&(eT.listItemHeight=eL);let{top:eH,bottom:eK}=(()=>{if(!1===m||!(null==ek?void 0:ek.total))return{};let e=e=>r.createElement(te.A,Object.assign({},ek,{align:ek.align||("left"===e?"start":"right"===e?"end":e),className:k()("".concat(G,"-pagination"),ek.className),size:ek.size||("small"===X||"middle"===X?"small":void 0)})),t="rtl"===_?"left":"right",n=ek.position;if(null===n||!Array.isArray(n))return{bottom:e(t)};let o=n.find(e=>"string"==typeof e&&e.toLowerCase().includes("top")),l=n.find(e=>"string"==typeof e&&e.toLowerCase().includes("bottom")),a=n.every(e=>"none"==="".concat(e)),c=o?o.toLowerCase().replace("top",""):"",i=l?l.toLowerCase().replace("bottom",""):"",s=!o&&!l&&!a;return{top:c?e(c):void 0,bottom:i?e(i):s?e(t):void 0}})();return Z(r.createElement("div",{ref:es,className:eM,style:eP},r.createElement(tt.A,Object.assign({spinning:!1},ej),eH,r.createElement(P?tY:tX,Object.assign({},eT,K,{ref:ed,columns:H,direction:_,expandable:er,prefixCls:G,className:k()({["".concat(G,"-middle")]:"middle"===X,["".concat(G,"-small")]:"small"===X,["".concat(G,"-bordered")]:u,["".concat(G,"-empty")]:0===U.length},et,$,ee),data:eN,rowKey:eu,rowClassName:(e,t,n)=>{let r;return r="function"==typeof g?k()(g(e,t,n)):k()(g),k()({["".concat(G,"-row-selected")]:eR.has(eu(e,t))},r)},emptyText:eB,internalHooks:l,internalRefs:ec,transformColumns:ez,getContainerWidth:ei,measureRowRender:e=>r.createElement(e4.Ay,{getPopupContainer:e=>e},e)})),eK)))}),t4=r.forwardRef((e,t)=>{let n=r.useRef(0);return n.current+=1,r.createElement(t2,Object.assign({},e,{ref:t,_renderTimes:n.current}))});t4.SELECTION_COLUMN=eG,t4.EXPAND_COLUMN=o,t4.SELECTION_ALL=eQ,t4.SELECTION_INVERT=eJ,t4.SELECTION_NONE=e$,t4.Column=e=>null,t4.ColumnGroup=e=>null,t4.Summary=H;let t8=t4},56200:(e,t,n)=>{n.d(t,{A:()=>g});var r=n(12115),o=n(29300),l=n.n(o),a=n(48804),c=n(17233),i=n(44186),s=n(93666),d=n(80163),u=n(15982),f=n(97540),p=n(79092),m=n(60322),b=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 h=r.forwardRef((e,t)=>{var n,o;let{prefixCls:h,title:g,content:v,overlayClassName:x,placement:y="top",trigger:w="hover",children:C,mouseEnterDelay:A=.1,mouseLeaveDelay:E=.1,onOpenChange:S,overlayStyle:k={},styles:O,classNames:N}=e,I=b(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:R,className:z,style:j,classNames:M,styles:P}=(0,u.TP)("popover"),B=R("popover",h),[T,L,H]=(0,m.A)(B),K=R(),W=l()(x,L,H,z,M.root,null==N?void 0:N.root),_=l()(M.body,null==N?void 0:N.body),[D,F]=(0,a.A)(!1,{value:null!=(n=e.open)?n:e.visible,defaultValue:null!=(o=e.defaultOpen)?o:e.defaultVisible}),q=(e,t)=>{F(e,!0),null==S||S(e,t)},V=(0,i.b)(g),X=(0,i.b)(v);return T(r.createElement(f.A,Object.assign({placement:y,trigger:w,mouseEnterDelay:A,mouseLeaveDelay:E},I,{prefixCls:B,classNames:{root:W,body:_},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},P.root),j),k),null==O?void 0:O.root),body:Object.assign(Object.assign({},P.body),null==O?void 0:O.body)},ref:t,open:D,onOpenChange:e=>{q(e)},overlay:V||X?r.createElement(p.hJ,{prefixCls:B,title:V,content:X}):null,transitionName:(0,s.b)(K,"zoom-big",I.transitionName),"data-popover-inject":!0}),(0,d.Ob)(C,{onKeyDown:e=>{var t,n;(0,r.isValidElement)(C)&&(null==(n=null==C?void 0:(t=C.props).onKeyDown)||n.call(t,e)),(e=>{e.keyCode===c.A.ESC&&q(!1,e)})(e)}})))});h._InternalPanelDoNotUseOrYouWillBeFired=p.Ay;let g=h},60322:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(18184),o=n(47212),l=n(35464),a=n(45902),c=n(68495),i=n(45431),s=n(61388);let d=(0,i.OF)("Popover",e=>{let{colorBgElevated:t,colorText:n}=e,a=(0,s.oX)(e,{popoverBg:t,popoverColor:n});return[(e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:c,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:d,zIndexPopup:u,titleMarginBottom:f,colorBgElevated:p,popoverBg:m,titleBorderBottom:b,innerContentPadding:h,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},(0,r.dF)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},["".concat(t,"-content")]:{position:"relative"},["".concat(t,"-inner")]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:d,boxShadow:i,padding:c},["".concat(t,"-title")]:{minWidth:o,marginBottom:f,color:s,fontWeight:a,borderBottom:b,padding:g},["".concat(t,"-inner-content")]:{color:n,padding:h}})},(0,l.Ay)(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",["".concat(t,"-content")]:{display:"inline-block"}}}]})(a),(e=>{let{componentCls:t}=e;return{[t]:c.s.map(n=>{let r=e["".concat(n,"6")];return{["&".concat(t,"-").concat(n)]:{"--antd-arrow-background-color":r,["".concat(t,"-inner")]:{backgroundColor:r},["".concat(t,"-arrow")]:{background:"transparent"}}}})}})(a),(0,o.aB)(a,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:c,zIndexPopupBase:i,borderRadiusLG:s,marginXS:d,lineType:u,colorSplit:f,paddingSM:p}=e,m=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},(0,a.n)(e)),(0,l.Ke)({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:12*!c,titleMarginBottom:c?0:d,titlePadding:c?"".concat(m/2,"px ").concat(o,"px ").concat(m/2-t,"px"):0,titleBorderBottom:c?"".concat(t,"px ").concat(u," ").concat(f):"none",innerContentPadding:c?"".concat(p,"px ").concat(o,"px"):0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},79092:(e,t,n)=>{n.d(t,{Ay:()=>p,hJ:()=>u});var r=n(12115),o=n(29300),l=n.n(o),a=n(16598),c=n(44186),i=n(15982),s=n(60322),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 u=e=>{let{title:t,content:n,prefixCls:o}=e;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},t),n&&r.createElement("div",{className:"".concat(o,"-inner-content")},n)):null},f=e=>{let{hashId:t,prefixCls:n,className:o,style:i,placement:s="top",title:d,content:f,children:p}=e,m=(0,c.b)(d),b=(0,c.b)(f),h=l()(t,n,"".concat(n,"-pure"),"".concat(n,"-placement-").concat(s),o);return r.createElement("div",{className:h,style:i},r.createElement("div",{className:"".concat(n,"-arrow")}),r.createElement(a.z,Object.assign({},e,{className:t,prefixCls:n}),p||r.createElement(u,{prefixCls:n,title:m,content:b})))},p=e=>{let{prefixCls:t,className:n}=e,o=d(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(i.QO),c=a("popover",t),[u,p,m]=(0,s.A)(c);return u(r.createElement(f,Object.assign({},o,{prefixCls:c,hashId:p,className:l()(n,m)})))}},85845:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(47650);function o(e,t,n,o){var l=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,l,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,l,o)}}}}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-2be9467eea3d714b.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-2be9467eea3d714b.js deleted file mode 100644 index 06ef83ff..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-2be9467eea3d714b.js +++ /dev/null @@ -1,6 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9259],{916:(e,t,E)=>{"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}E.d(t,{A:()=>r})},2732:(e,t,E)=>{"use strict";E.d(t,{f:()=>a});var r=E(12115),n=E(18885);function o(){}let i=r.createContext({add:o,remove:o});function a(e){let t=r.useContext(i),E=r.useRef(null);return(0,n.A)(r=>{if(r){let n=e?r.querySelector(e):r;n&&(t.add(n),E.current=n)}else t.remove(E.current)})}},3201:(e,t,E)=>{"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var E=t;E;){if(E===e)return!0;E=E.parentNode}return!1}E.d(t,{A:()=>r})},3338:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,V:()=>a});var r,n=E(85440);function o(e){var t,E,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=r;var i=o.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var T=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(T.width,10),A=parseInt(T.height,10);try{var R=s?"width: ".concat(T.width,";"):"",S=A?"height: ".concat(T.height,";"):"";(0,n.BD)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(R,"\n").concat(S,"\n}"),r)}catch(e){console.error(e),t=s,E=A}}document.body.appendChild(o);var O=e&&t&&!isNaN(t)?t:o.offsetWidth-o.clientWidth,I=e&&E&&!isNaN(E)?E:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),(0,n.m6)(r),{width:O,height:I}}function i(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=o()),r.width)}function a(e){return"undefined"!=typeof document&&e&&e instanceof Element?o(e):{width:0,height:0}}},3617:(e,t,E)=>{"use strict";E.d(t,{D:()=>n});var r=E(15982);let n="".concat(r.yH,"-wave-target")},4697:(e,t,E)=>{"use strict";E.d(t,{BC:()=>l,Bq:()=>a,FK:()=>I,HC:()=>s,HT:()=>n,K5:()=>A,YW:()=>T,b2:()=>O,c1:()=>S,kg:()=>c,kp:()=>o,pb:()=>N,tW:()=>i,tn:()=>r,wN:()=>R});var r=Math.abs,n=String.fromCharCode,o=Object.assign;function i(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function a(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function s(e,t,E){return e.replace(t,E)}function A(e,t,E){return e.indexOf(t,E)}function R(e,t){return 0|e.charCodeAt(t)}function S(e,t,E){return e.slice(t,E)}function O(e){return e.length}function I(e){return e.length}function l(e,t){return t.push(e),e}function c(e,t){return e.map(t).join("")}function N(e,t){return e.filter(function(e){return!T(e,t)})}},5892:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(86608),n=E(55227);function o(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,n.A)(e)}},6212:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)(void 0)},6833:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=E(12115).createContext(void 0)},7884:(e,t,E)=>{"use strict";function r(e){return(e+8)/e}function n(e){let t=Array.from({length:10}).map((t,E)=>{let r=e*Math.pow(Math.E,(E-1)/5);return 2*Math.floor((E>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:r(e)}))}E.d(t,{A:()=>n,k:()=>r})},8357:(e,t,E)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var E=0,r=Array(t);Er})},8396:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)({})},8530:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(12115),n=E(6212),o=E(16025);let i=(e,t)=>{let E=r.useContext(n.A);return[r.useMemo(()=>{var r;let n=t||o.A[e],i=null!=(r=null==E?void 0:E[e])?r:{};return Object.assign(Object.assign({},"function"==typeof n?n():n),i||{})},[e,t,E]),r.useMemo(()=>{let e=null==E?void 0:E.locale;return(null==E?void 0:E.exist)&&!e?o.A.locale:e},[E])]}},9130:(e,t,E)=>{"use strict";E.d(t,{YK:()=>s,jH:()=>i});var r=E(12115),n=E(70042),o=E(6833);let i=1e3,a={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100,FloatButton:100},T={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},s=(e,t)=>{let E,[,i]=(0,n.Ay)(),s=r.useContext(o.A),A=e in a;if(void 0!==t)E=[t,t];else{let r=null!=s?s:0;A?r+=(s?0:i.zIndexPopupBase)+a[e]:r+=T[e],E=[void 0===s?t:r,r]}return E}},9184:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(12115),n=E(63568),o=E(96936);let i=e=>{let{space:t,form:E,children:i}=e;if(null==i)return null;let a=i;return E&&(a=r.createElement(n.XB,{override:!0,status:!0},a)),t&&(a=r.createElement(o.K6,null,a)),a}},9424:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(85522),n=E(45144),o=E(5892);function i(e){var t=(0,n.A)();return function(){var E,n=(0,r.A)(e);return E=t?Reflect.construct(n,arguments,(0,r.A)(this).constructor):n.apply(this,arguments),(0,o.A)(this,E)}}},9587:(e,t,E)=>{"use strict";E.d(t,{$e:()=>o,Ay:()=>s});var r={},n=[];function o(e,t){}function i(e,t){}function a(e,t,E){t||r[E]||(e(!1,E),r[E]=!0)}function T(e,t){a(o,e,t)}T.preMessage=function(e){n.push(e)},T.resetWarned=function(){r={}},T.noteOnce=function(e,t){a(i,e,t)};let s=T},9836:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(12115),n=E(39985);let o=e=>{let t=r.useContext(n.A);return r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:"function"==typeof e?e(t):t:t,[e,t])}},10337:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(86608),n=Symbol.for("react.element"),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(e){return e&&"object"===(0,r.A)(e)&&(e.$$typeof===n||e.$$typeof===o)&&e.type===i}},11719:(e,t,E)=>{"use strict";E.d(t,{Jt:()=>n.A,_q:()=>r.A,hZ:()=>o.A});var r=E(18885);E(48804),E(74686);var n=E(21349),o=E(74121);E(9587)},11823:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(86608);function n(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var E=e[Symbol.toPrimitive];if(void 0!==E){var n=E.call(e,t||"default");if("object"!=(0,r.A)(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},13418:(e,t,E)=>{"use strict";E.d(t,{A:()=>n,r:()=>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"},n=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,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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})},15549:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(7884);let n=e=>{let t=(0,r.A)(e),E=t.map(e=>e.size),n=t.map(e=>e.lineHeight),o=E[1],i=E[0],a=E[2],T=n[1],s=n[0],A=n[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:E[3],fontSizeHeading1:E[6],fontSizeHeading2:E[5],fontSizeHeading3:E[4],fontSizeHeading4:E[3],fontSizeHeading5:E[2],lineHeight:T,lineHeightLG:A,lineHeightSM:s,fontHeight:Math.round(T*o),fontHeightLG:Math.round(A*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}}},15982:(e,t,E)=>{"use strict";E.d(t,{QO:()=>a,TP:()=>A,lJ:()=>i,pM:()=>o,yH:()=>n});var r=E(12115);let n="ant",o="anticon",i=["outlined","borderless","filled","underlined"],a=r.createContext({getPrefixCls:(e,t)=>t||(e?"".concat(n,"-").concat(e):n),iconPrefixCls:o}),{Consumer:T}=a,s={};function A(e){let t=r.useContext(a),{getPrefixCls:E,direction:n,getPopupContainer:o}=t;return Object.assign(Object.assign({classNames:s,styles:s},t[e]),{getPrefixCls:E,direction:n,getPopupContainer:o})}},16025:(e,t,E)=>{"use strict";E.d(t,{A:()=>s});var r=E(86500),n=E(27061),o=(0,n.A)((0,n.A)({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"});let i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={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"]},o),timePickerLocale:Object.assign({},i)},T="${label} is not a valid ${type}",s={locale:"en",Pagination:r.A,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select",close:"Close"},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",deselectAll:"Deselect 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",collapse:"Collapse"},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:T,method:T,array:T,object:T,number:T,date:T,boolean:T,integer:T,float:T,regexp:T,email:T,url:T,hex:T},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},16962:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=function(e){return+setTimeout(e,16)},n=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},n=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,E=o+=1;return!function t(n){if(0===n)i.delete(E),e();else{var o=r(function(){t(n-1)});i.set(E,o)}}(t),E};a.cancel=function(e){var t=i.get(e);return i.delete(e),n(t)};let T=a},17233:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r={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>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};let n=r},17980:(e,t,E)=>{"use strict";function r(e,t){var E=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete E[e]}),E}E.d(t,{A:()=>r})},18184:(e,t,E)=>{"use strict";E.d(t,{K8:()=>R,L9:()=>n,Nk:()=>i,Y1:()=>O,av:()=>T,dF:()=>o,jk:()=>A,jz:()=>S,t6:()=>a,vj:()=>s});var r=E(99841);let n={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":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:'""'}}),T=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(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,E,r)=>{let n='[class^="'.concat(t,'"], [class*=" ').concat(t,'"]'),o=E?".".concat(E):n,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return!1!==r&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},a),i),{[n]:i})}},A=(e,t)=>({outline:"".concat((0,r.zA)(e.lineWidthFocus)," solid ").concat(e.colorPrimaryBorder),outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),R=(e,t)=>({"&:focus-visible":A(e,t)}),S=e=>({[".".concat(e)]:Object.assign(Object.assign({},i()),{[".".concat(e," .").concat(e,"-icon")]:{display:"block"}})}),O=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),border:0,padding:0,background:"none",userSelect:"none"},R(e)),{"&:hover":{color:e.colorLinkHover,textDecoration:e.linkHoverDecoration},"&:focus":{color:e.colorLinkHover,textDecoration:e.linkFocusDecoration},"&:active":{color:e.colorLinkActive,textDecoration:e.linkHoverDecoration}})},18885:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(12115);function n(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,E=arguments.length,r=Array(E),n=0;n{"use strict";E.d(t,{A:()=>r});let r={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"}},20235:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(93495);function n(e,t){if(null==e)return{};var E,n,o=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";function r(e,t){for(var E=e,r=0;rr})},21858:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(35145),n=E(73632),o=E(916);function i(e,t){return(0,r.A)(e)||function(e,t){var E=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=E){var r,n,o,i,a=[],T=!0,s=!1;try{if(o=(E=E.call(e)).next,0===t){if(Object(E)!==E)return;T=!1}else for(;!(T=(r=o.call(E)).done)&&(a.push(r.value),a.length!==t);T=!0);}catch(e){s=!0,n=e}finally{try{if(!T&&null!=E.return&&(i=E.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e,t)||(0,n.A)(e,t)||(0,o.A)()}},21949:(e,t,E)=>{"use strict";E.d(t,{GP:()=>EJ});var r,n,o,i={};E.r(i),E.d(i,{bigquery:()=>m,clickhouse:()=>H,db2:()=>w,db2i:()=>q,duckdb:()=>er,hive:()=>eA,mariadb:()=>eu,mysql:()=>eP,n1ql:()=>eB,plsql:()=>eK,postgresql:()=>ez,redshift:()=>e4,singlestoredb:()=>tF,snowflake:()=>tX,spark:()=>tE,sql:()=>tc,sqlite:()=>ts,tidb:()=>ey,transactsql:()=>tU,trino:()=>tf});let a=e=>e.flatMap(T),T=e=>c(A(e)).map(s),s=e=>e.replace(/ +/g," ").trim(),A=e=>({type:"mandatory_block",items:R(e,0)[0]}),R=(e,t,E)=>{let r=[];for(;e[t];){let[n,o]=S(e,t);if(r.push(n),"|"===e[t=o])t++;else if("}"===e[t]||"]"===e[t]){if(E!==e[t])throw Error(`Unbalanced parenthesis in: ${e}`);t++;break}else if(t===e.length){if(E)throw Error(`Unbalanced parenthesis in: ${e}`);break}else throw Error(`Unexpected "${e[t]}"`)}return[r,t]},S=(e,t)=>{let E=[];for(;;){let[r,n]=O(e,t);if(r)E.push(r),t=n;else break}return 1===E.length?[E[0],t]:[{type:"concatenation",items:E},t]},O=(e,t)=>{if("{"===e[t])return I(e,t+1);{if("["===e[t])return l(e,t+1);let E="";for(;e[t]&&/[A-Za-z0-9_ ]/.test(e[t]);)E+=e[t],t++;return[E,t]}},I=(e,t)=>{let[E,r]=R(e,t,"}");return[{type:"mandatory_block",items:E},r]},l=(e,t)=>{let[E,r]=R(e,t,"]");return[{type:"optional_block",items:E},r]},c=e=>{if("string"==typeof e)return[e];if("concatenation"===e.type)return e.items.map(c).reduce(N,[""]);if("mandatory_block"===e.type)return e.items.flatMap(c);if("optional_block"===e.type)return["",...e.items.flatMap(c)];throw Error(`Unknown node type: ${e}`)},N=(e,t)=>{let E=[];for(let r of e)for(let e of t)E.push(r+e);return E};!function(e){e.QUOTED_IDENTIFIER="QUOTED_IDENTIFIER",e.IDENTIFIER="IDENTIFIER",e.STRING="STRING",e.VARIABLE="VARIABLE",e.RESERVED_DATA_TYPE="RESERVED_DATA_TYPE",e.RESERVED_PARAMETERIZED_DATA_TYPE="RESERVED_PARAMETERIZED_DATA_TYPE",e.RESERVED_KEYWORD="RESERVED_KEYWORD",e.RESERVED_FUNCTION_NAME="RESERVED_FUNCTION_NAME",e.RESERVED_KEYWORD_PHRASE="RESERVED_KEYWORD_PHRASE",e.RESERVED_DATA_TYPE_PHRASE="RESERVED_DATA_TYPE_PHRASE",e.RESERVED_SET_OPERATION="RESERVED_SET_OPERATION",e.RESERVED_CLAUSE="RESERVED_CLAUSE",e.RESERVED_SELECT="RESERVED_SELECT",e.RESERVED_JOIN="RESERVED_JOIN",e.ARRAY_IDENTIFIER="ARRAY_IDENTIFIER",e.ARRAY_KEYWORD="ARRAY_KEYWORD",e.CASE="CASE",e.END="END",e.WHEN="WHEN",e.ELSE="ELSE",e.THEN="THEN",e.LIMIT="LIMIT",e.BETWEEN="BETWEEN",e.AND="AND",e.OR="OR",e.XOR="XOR",e.OPERATOR="OPERATOR",e.COMMA="COMMA",e.ASTERISK="ASTERISK",e.PROPERTY_ACCESS_OPERATOR="PROPERTY_ACCESS_OPERATOR",e.OPEN_PAREN="OPEN_PAREN",e.CLOSE_PAREN="CLOSE_PAREN",e.LINE_COMMENT="LINE_COMMENT",e.BLOCK_COMMENT="BLOCK_COMMENT",e.DISABLE_COMMENT="DISABLE_COMMENT",e.NUMBER="NUMBER",e.NAMED_PARAMETER="NAMED_PARAMETER",e.QUOTED_PARAMETER="QUOTED_PARAMETER",e.NUMBERED_PARAMETER="NUMBERED_PARAMETER",e.POSITIONAL_PARAMETER="POSITIONAL_PARAMETER",e.CUSTOM_PARAMETER="CUSTOM_PARAMETER",e.DELIMITER="DELIMITER",e.EOF="EOF"}(r=r||(r={}));let u=e=>({type:r.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),C=u(1/0),L=e=>t=>t.type===e.type&&t.text===e.text,_={ARRAY:L({text:"ARRAY",type:r.RESERVED_DATA_TYPE}),BY:L({text:"BY",type:r.RESERVED_KEYWORD}),SET:L({text:"SET",type:r.RESERVED_CLAUSE}),STRUCT:L({text:"STRUCT",type:r.RESERVED_DATA_TYPE}),WINDOW:L({text:"WINDOW",type:r.RESERVED_CLAUSE}),VALUES:L({text:"VALUES",type:r.RESERVED_CLAUSE})},d=e=>e===r.RESERVED_DATA_TYPE||e===r.RESERVED_KEYWORD||e===r.RESERVED_FUNCTION_NAME||e===r.RESERVED_KEYWORD_PHRASE||e===r.RESERVED_DATA_TYPE_PHRASE||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.ARRAY_KEYWORD||e===r.CASE||e===r.END||e===r.WHEN||e===r.ELSE||e===r.THEN||e===r.LIMIT||e===r.BETWEEN||e===r.AND||e===r.OR||e===r.XOR,f=a(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),D=a(["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","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),P=a(["CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]"]),p=a(["CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","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"]),h=a(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),M=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),m={name:"bigquery",tokenizerOptions:{reservedSelect:f,reservedClauses:[...D,...p,...P],reservedSetOperations:h,reservedJoins:M,reservedKeywordPhrases:a(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a([]),reservedKeywords:["ALL","AND","ANY","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","INTO","IS","JOIN","LATERAL","LEFT","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","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN","SAFE","LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"],reservedDataTypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],reservedFunctionNames:["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","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","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","APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM","ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL","BIT_COUNT","PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST","CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE","CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME","ERROR","EXTERNAL_QUERY","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","FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512","HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT","MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","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","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","FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC","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","RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER","SESSION_USER","CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE","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","CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME","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","GENERATE_UUID","COALESCE","IF","IFNULL","NULLIF","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","BIT_COUNT","BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING","COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL","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","FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP","JSON_EXTRACT","JSON_EXTRACT_SCALAR","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","REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE","CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER","TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY","HOST","DOMAIN","TLD","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","CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64","BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW","OPTIONS","PIVOT","UNPIVOT"],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 E;return t=function(e){var t;let E=[];for(let n=0;n"===t.text?E--:">>"===t.text&&(E-=2),0===E)return r}return e.length-1}(e,n+1),i=e.slice(n,t+1);E.push({type:r.IDENTIFIER,raw:i.map(U("raw")).join(""),text:i.map(U("text")).join(""),start:o.start}),n=t}else E.push(o)}return E}(e),E=C,t.map(e=>"OFFSET"===e.text&&"["===E.text?(E=e,Object.assign(Object.assign({},e),{type:r.RESERVED_FUNCTION_NAME})):(E=e,e))}},formatOptions:{onelineClauses:[...P,...p],tabularOnelineClauses:p}},U=e=>t=>t.type===r.IDENTIFIER||t.type===r.COMMA?t[e]+" ":t[e],g=a(["SELECT [DISTINCT]","MODIFY QUERY SELECT [DISTINCT]"]),y=a(["SET","WITH","FROM","SAMPLE","PREWHERE","WHERE","GROUP BY","HAVING","QUALIFY","ORDER BY","LIMIT","SETTINGS","INTO OUTFILE","FORMAT","WINDOW","PARTITION BY","INSERT INTO","VALUES","DEPENDS ON","MOVE {USER | ROLE | QUOTA | SETTINGS PROFILE | ROW POLICY}","GRANT","REVOKE","CHECK GRANT","SET [DEFAULT] ROLE [NONE | ALL | ALL EXCEPT]","DEDUPLICATE BY","MODIFY STATISTICS","TYPE","ALTER USER [IF EXISTS]","ALTER [ROW] POLICY [IF EXISTS]","DROP {USER | ROLE | QUOTA | PROFILE | SETTINGS PROFILE | ROW POLICY | POLICY} [IF EXISTS]"]),G=a(["CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]"]),b=a(["ALL EXCEPT","ON CLUSTER","UPDATE","SYSTEM RELOAD {DICTIONARIES | DICTIONARY | FUNCTIONS | FUNCTION | ASYNCHRONOUS METRICS}","SYSTEM DROP {DNS CACHE | MARK CACHE | ICEBERG METADATA CACHE | TEXT INDEX DICTIONARY CACHE | TEXT INDEX HEADER CACHE | TEXT INDEX POSTINGS CACHE | REPLICA | DATABASE REPLICA | UNCOMPRESSED CACHE | COMPILED EXPRESSION CACHE | QUERY CONDITION CACHE | QUERY CACHE | FORMAT SCHEMA CACHE | FILESYSTEM CACHE}","SYSTEM FLUSH LOGS","SYSTEM RELOAD {CONFIG | USERS}","SYSTEM SHUTDOWN","SYSTEM KILL","SYSTEM FLUSH DISTRIBUTED","SYSTEM START DISTRIBUTED SENDS","SYSTEM {STOP | START} {LISTEN | MERGES | TTL MERGES | MOVES | FETCHES | REPLICATED SENDS | REPLICATION QUEUES | PULLING REPLICATION LOG}","SYSTEM {SYNC | RESTART | RESTORE} REPLICA","SYSTEM {SYNC | RESTORE} DATABASE REPLICA","SYSTEM RESTART REPLICAS","SYSTEM UNFREEZE","SYSTEM WAIT LOADING PARTS","SYSTEM {LOAD | UNLOAD} PRIMARY KEY","SYSTEM {STOP | START} [REPLICATED] VIEW","SYSTEM {STOP | START} VIEWS","SYSTEM {REFRESH | CANCEL | WAIT} VIEW","WITH NAME","SHOW [CREATE] {TABLE | TEMPORARY TABLE | DICTIONARY | VIEW | DATABASE}","SHOW DATABASES [[NOT] {LIKE | ILIKE}]","SHOW [FULL] [TEMPORARY] TABLES [FROM | IN]","SHOW [EXTENDED] [FULL] COLUMNS {FROM | IN}","ATTACH {TABLE | DICTIONARY | DATABASE} [IF NOT EXISTS]","DETACH {TABLE | DICTIONARY | DATABASE} [IF EXISTS]","PERMANENTLY","SYNC","DROP {DICTIONARY | DATABASE | PROFILE | VIEW | FUNCTION | NAMED COLLECTION} [IF EXISTS]","DROP [TEMPORARY] TABLE [IF EXISTS] [IF EMPTY]","RENAME TO","EXISTS [TEMPORARY] {TABLE | DICTIONARY | DATABASE}","KILL QUERY","OPTIMIZE TABLE","RENAME {TABLE | DICTIONARY | DATABASE}","EXCHANGE {TABLES | DICTIONARIES}","TRUNCATE TABLE [IF EXISTS]","EXECUTE AS","USE","TO","UNDROP TABLE","CREATE {DATABASE | NAMED COLLECTION} [IF NOT EXISTS]","CREATE [OR REPLACE] {VIEW | DICTIONARY} [IF NOT EXISTS]","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE FUNCTION","CREATE {USER | ROLE | QUOTA | SETTINGS PROFILE} [IF NOT EXISTS | OR REPLACE]","CREATE [ROW] POLICY [IF NOT EXISTS | OR REPLACE]","REPLACE [TEMPORARY] TABLE [IF NOT EXISTS]","ALTER {ROLE | QUOTA | SETTINGS PROFILE} [IF EXISTS]","ALTER [TEMPORARY] TABLE","ALTER NAMED COLLECTION [IF EXISTS]","GRANTEES","NOT IDENTIFIED","RESET AUTHENTICATION METHODS TO NEW","{IDENTIFIED | ADD IDENTIFIED} [WITH | BY]","[ADD | DROP] HOST {LOCAL | NAME | REGEXP | IP | LIKE}","VALID UNTIL","DROP [ALL] {PROFILES | SETTINGS}","{ADD | MODIFY} SETTINGS","ADD PROFILES","APPLY DELETED MASK","IN PARTITION","{ADD | DROP | RENAME | CLEAR | COMMENT | MODIFY | ALTER | MATERIALIZE} COLUMN","{DETACH | DROP | ATTACH | FETCH | MOVE} {PART | PARTITION}","DROP DETACHED {PART | PARTITION}","{FORGET | REPLACE} PARTITION","CLEAR COLUMN","{FREEZE | UNFREEZE} [PARTITION]","CLEAR INDEX","TO {DISK | VOLUME}","[DELETE | REWRITE PARTS] IN PARTITION","{MODIFY | RESET} SETTING","DELETE WHERE","MODIFY ORDER BY","{MODIFY | REMOVE} SAMPLE BY","{ADD | MATERIALIZE | CLEAR} INDEX [IF NOT EXISTS]","DROP INDEX [IF EXISTS]","GRANULARITY","AFTER","FIRST","ADD CONSTRAINT [IF NOT EXISTS]","DROP CONSTRAINT [IF EXISTS]","MODIFY TTL","REMOVE TTL","ADD STATISTICS [IF NOT EXISTS]","{DROP | CLEAR} STATISTICS [IF EXISTS]","MATERIALIZE STATISTICS [ALL | IF EXISTS]","KEYED BY","NOT KEYED","FOR [RANDOMIZED] INTERVAL","AS {PERMISSIVE | RESTRICTIVE}","FOR SELECT","ADD PROJECTION [IF NOT EXISTS]","{DROP | MATERIALIZE | CLEAR} PROJECTION [IF EXISTS]","REFRESH {EVERY | AFTER}","RANDOMIZE FOR","APPEND","APPEND TO","DELETE FROM","EXPLAIN [AST | SYNTAX | QUERY TREE | PLAN | PIPELINE | ESTIMATE | TABLE OVERRIDE]","GRANT ON CLUSTER","GRANT CURRENT GRANTS","WITH GRANT OPTION","REVOKE ON CLUSTER","ADMIN OPTION FOR","CHECK TABLE","PARTITION ID","{DESC | DESCRIBE} TABLE"]),v=a(["UNION [ALL | DISTINCT]","PARALLEL WITH"]),H={name:"clickhouse",tokenizerOptions:{reservedSelect:g,reservedClauses:[...y,...G,...b],reservedSetOperations:v,reservedJoins:a(["[GLOBAL] [INNER|LEFT|RIGHT|FULL|CROSS] [OUTER|SEMI|ANTI|ANY|ALL|ASOF] JOIN","[LEFT] ARRAY JOIN"]),reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN","ALTER MATERIALIZE STATISTICS"]),reservedKeywords:["ACCESS","ACTION","ADD","ADMIN","AFTER","ALGORITHM","ALIAS","ALL","ALLOWED_LATENESS","ALTER","AND","ANTI","APPEND","APPLY","AS","ASC","ASCENDING","ASOF","ASSUME","AST","ASYNC","ATTACH","AUTO_INCREMENT","AZURE","BACKUP","BAGEXPANSION","BASE_BACKUP","BCRYPT_HASH","BCRYPT_PASSWORD","BEGIN","BETWEEN","BIDIRECTIONAL","BOTH","BY","CACHE","CACHES","CASCADE","CASE","CHANGE","CHANGEABLE_IN_READONLY","CHANGED","CHARACTER","CHECK","CLEANUP","CLEAR","CLUSTER","CLUSTERS","CLUSTER_HOST_IDS","CN","CODEC","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPRESSION","CONST","CONSTRAINT","CREATE","CROSS","CUBE","CURRENT","D","DATA","DATABASE","DATABASES","DAYS","DD","DDL","DEDUPLICATE","DEFAULT","DEFINER","DELAY","DELETE","DELETED","DEPENDS","DESC","DESCENDING","DESCRIBE","DETACH","DETACHED","DICTIONARIES","DICTIONARY","DISK","DISTINCT","DIV","DOUBLE_SHA1_HASH","DOUBLE_SHA1_PASSWORD","DROP","ELSE","ENABLED","END","ENFORCED","ENGINE","ENGINES","EPHEMERAL","ESTIMATE","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXISTS","EXPLAIN","EXPRESSION","EXTENDED","EXTERNAL","FAKE","FALSE","FETCH","FIELDS","FILESYSTEM","FILL","FILTER","FINAL","FIRST","FOLLOWING","FOR","FOREIGN","FORMAT","FREEZE","FROM","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GRANTEES","GRANTS","GRANULARITY","GROUP","GROUPING","GROUPS","H","HASH","HAVING","HDFS","HH","HIERARCHICAL","HOST","HOURS","HTTP","IDENTIFIED","ILIKE","IN","INDEX","INDEXES","INDICES","INFILE","INHERIT","INJECTIVE","INNER","INSERT","INTERPOLATE","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IP","IS","IS_OBJECT_ID","JOIN","JWT","KERBEROS","KEY","KEYED","KEYS","KILL","KIND","LARGE","LAST","LAYOUT","LDAP","LEADING","LEVEL","LIFETIME","LIGHTWEIGHT","LIKE","LIMIT","LIMITS","LINEAR","LIST","LIVE","LOCAL","M","MASK","MATERIALIZED","MCS","MEMORY","MERGES","METRICS","MI","MICROSECOND","MICROSECONDS","MILLISECONDS","MINUTES","MM","MODIFY","MONTHS","MOVE","MS","MUTATION","N","NAME","NAMED","NANOSECOND","NANOSECONDS","NEXT","NO","NONE","NOT","NO_PASSWORD","NS","NULL","NULLS","OBJECT","OFFSET","ON","ONLY","OPTIMIZE","OPTION","OR","ORDER","OUTER","OUTFILE","OVER","OVERRIDABLE","OVERRIDE","PART","PARTIAL","PARTITION","PARTITIONS","PART_MOVE_TO_SHARD","PASTE","PERIODIC","PERMANENTLY","PERMISSIVE","PERSISTENT","PIPELINE","PLAINTEXT_PASSWORD","PLAN","POLICY","POPULATE","PRECEDING","PRECISION","PREWHERE","PRIMARY","PRIVILEGES","PROCESSLIST","PROFILE","PROJECTION","PROTOBUF","PULL","Q","QQ","QUALIFY","QUARTERS","QUERY","QUOTA","RANDOMIZE","RANDOMIZED","RANGE","READONLY","REALM","RECOMPRESS","RECURSIVE","REFERENCES","REFRESH","REGEXP","REMOVE","RENAME","RESET","RESPECT","RESTORE","RESTRICT","RESTRICTIVE","RESUME","REVOKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","S","S3","SALT","SAMPLE","SAN","SCHEME","SECONDS","SECURITY","SELECT","SEMI","SEQUENTIAL","SERVER","SET","SETS","SETTING","SETTINGS","SHA256_HASH","SHA256_PASSWORD","SHARD","SHOW","SIGNED","SIMPLE","SNAPSHOT","SOURCE","SPATIAL","SQL","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MICROSECOND","SQL_TSI_MILLISECOND","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_NANOSECOND","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SS","SSH_KEY","SSL_CERTIFICATE","STALENESS","START","STATISTICS","STDOUT","STEP","STORAGE","STRICT","STRICTLY_ASCENDING","SUBPARTITION","SUBPARTITIONS","SUSPEND","SYNC","SYNTAX","SYSTEM","TABLE","TABLES","TAGS","TEMPORARY","TEST","THAN","THEN","TIES","TIME","TO","TOP","TOTALS","TRACKING","TRAILING","TRANSACTION","TREE","TRIGGER","TRUE","TRUNCATE","TTL","TYPE","TYPEOF","UNBOUNDED","UNDROP","UNFREEZE","UNION","UNIQUE","UNSET","UNSIGNED","UNTIL","UPDATE","URL","USE","USING","UUID","VALID","VALUES","VARYING","VIEW","VISIBLE","VOLUME","WATCH","WATERMARK","WEEKS","WHEN","WHERE","WINDOW","WITH","WITH_ITEMINDEX","WK","WRITABLE","WW","YEARS","YY","YYYY","ZKPATH"],reservedDataTypes:["AGGREGATEFUNCTION","ARRAY","BFLOAT16","BIGINT","BIGINT SIGNED","BIGINT UNSIGNED","BINARY","BINARY LARGE OBJECT","BINARY VARYING","BIT","BLOB","BYTE","BYTEA","BOOL","CHAR","CHAR LARGE OBJECT","CHAR VARYING","CHARACTER","CHARACTER LARGE OBJECT","CHARACTER VARYING","CLOB","DEC","DOUBLE","DOUBLE PRECISION","DATE","DATE32","DATETIME","DATETIME32","DATETIME64","DECIMAL","DECIMAL128","DECIMAL256","DECIMAL32","DECIMAL64","DYNAMIC","ENUM","ENUM","ENUM16","ENUM8","FIXED","FLOAT","FIXEDSTRING","FLOAT32","FLOAT64","GEOMETRY","INET4","INET6","INT","INT SIGNED","INT UNSIGNED","INT1","INT1 SIGNED","INT1 UNSIGNED","INTEGER","INTEGER SIGNED","INTEGER UNSIGNED","IPV4","IPV6","INT128","INT16","INT256","INT32","INT64","INT8","INTERVALDAY","INTERVALHOUR","INTERVALMICROSECOND","INTERVALMILLISECOND","INTERVALMINUTE","INTERVALMONTH","INTERVALNANOSECOND","INTERVALQUARTER","INTERVALSECOND","INTERVALWEEK","INTERVALYEAR","JSON","LONGBLOB","LONGTEXT","LINESTRING","LOWCARDINALITY","MEDIUMBLOB","MEDIUMINT","MEDIUMINT SIGNED","MEDIUMINT UNSIGNED","MEDIUMTEXT","MAP","MULTILINESTRING","MULTIPOLYGON","NATIONAL CHAR","NATIONAL CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHARACTER LARGE OBJECT","NATIONAL CHARACTER VARYING","NCHAR","NCHAR LARGE OBJECT","NCHAR VARYING","NUMERIC","NVARCHAR","NESTED","NOTHING","NULLABLE","OBJECT","POINT","POLYGON","REAL","RING","SET","SIGNED","SINGLE","SMALLINT","SMALLINT SIGNED","SMALLINT UNSIGNED","SIMPLEAGGREGATEFUNCTION","STRING","TEXT","TIMESTAMP","TINYBLOB","TINYINT","TINYINT SIGNED","TINYINT UNSIGNED","TINYTEXT","TIME","TIME64","TUPLE","UINT128","UINT16","UINT256","UINT32","UINT64","UINT8","UNSIGNED","UUID","VARBINARY","VARCHAR","VARCHAR2","VARIANT","YEAR","BOOL","BOOLEAN"],reservedFunctionNames:["BIT_AND","BIT_OR","BIT_XOR","BLAKE3","CAST","CHARACTER_LENGTH","CHAR_LENGTH","COVAR_POP","COVAR_SAMP","CRC32","CRC32IEEE","CRC64","DATE","DATE_DIFF","DATE_FORMAT","DATE_TRUNC","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","FORMAT_BYTES","FQDN","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","HOUR","INET6_ATON","INET6_NTOA","INET_ATON","INET_NTOA","IPv4CIDRToRange","IPv4NumToString","IPv4NumToStringClassC","IPv4StringToNum","IPv4StringToNumOrDefault","IPv4StringToNumOrNull","IPv4ToIPv6","IPv6CIDRToRange","IPv6NumToString","IPv6StringToNum","IPv6StringToNumOrDefault","IPv6StringToNumOrNull","JSONAllPaths","JSONAllPathsWithTypes","JSONArrayLength","JSONDynamicPaths","JSONDynamicPathsWithTypes","JSONExtract","JSONExtractArrayRaw","JSONExtractArrayRawCaseInsensitive","JSONExtractBool","JSONExtractBoolCaseInsensitive","JSONExtractCaseInsensitive","JSONExtractFloat","JSONExtractFloatCaseInsensitive","JSONExtractInt","JSONExtractIntCaseInsensitive","JSONExtractKeys","JSONExtractKeysAndValues","JSONExtractKeysAndValuesCaseInsensitive","JSONExtractKeysAndValuesRaw","JSONExtractKeysAndValuesRawCaseInsensitive","JSONExtractKeysCaseInsensitive","JSONExtractRaw","JSONExtractRawCaseInsensitive","JSONExtractString","JSONExtractStringCaseInsensitive","JSONExtractUInt","JSONExtractUIntCaseInsensitive","JSONHas","JSONKey","JSONLength","JSONMergePatch","JSONSharedDataPaths","JSONSharedDataPathsWithTypes","JSONType","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_QUERY","JSON_VALUE","L1Distance","L1Norm","L1Normalize","L2Distance","L2Norm","L2Normalize","L2SquaredDistance","L2SquaredNorm","LAST_DAY","LinfDistance","LinfNorm","LinfNormalize","LpDistance","LpNorm","LpNormalize","MACNumToString","MACStringToNum","MACStringToOUI","MAP_FROM_ARRAYS","MD4","MD5","MILLISECOND","MINUTE","MONTH","OCTET_LENGTH","QUARTER","REGEXP_EXTRACT","REGEXP_MATCHES","REGEXP_REPLACE","RIPEMD160","SCHEMA","SECOND","SHA1","SHA224","SHA256","SHA384","SHA512","SHA512_256","STD","STDDEV_POP","STDDEV_SAMP","ST_LineFromWKB","ST_MLineFromWKB","ST_MPolyFromWKB","ST_PointFromWKB","ST_PolyFromWKB","SUBSTRING_INDEX","SVG","TIMESTAMP_DIFF","TO_BASE64","TO_DAYS","TO_UNIXTIME","ULIDStringToDateTime","URLHash","URLHierarchy","URLPathHierarchy","UTCTimestamp","UTC_timestamp","UUIDNumToString","UUIDStringToNum","UUIDToNum","UUIDv7ToDateTime","VAR_POP","VAR_SAMP","YEAR","YYYYMMDDToDate","YYYYMMDDToDate32","YYYYMMDDhhmmssToDateTime","YYYYMMDDhhmmssToDateTime64","_CAST","__actionName","__bitBoolMaskAnd","__bitBoolMaskOr","__bitSwapLastTwo","__bitWrapperFunc","__getScalar","__patchPartitionID","__scalarSubqueryResult","abs","accurateCast","accurateCastOrDefault","accurateCastOrNull","acos","acosh","addDate","addDays","addHours","addInterval","addMicroseconds","addMilliseconds","addMinutes","addMonths","addNanoseconds","addQuarters","addSeconds","addTupleOfIntervals","addWeeks","addYears","addressToLine","addressToLineWithInlines","addressToSymbol","aes_decrypt_mysql","aes_encrypt_mysql","age","aggThrow","alphaTokens","analysisOfVariance","anova","any","anyHeavy","anyLast","anyLastRespectNulls","anyLast_respect_nulls","anyRespectNulls","anyValueRespectNulls","any_respect_nulls","any_value","any_value_respect_nulls","appendTrailingCharIfAbsent","approx_top_count","approx_top_k","approx_top_sum","argMax","argMin","array","arrayAUC","arrayAUCPR","arrayAll","arrayAvg","arrayCompact","arrayConcat","arrayCount","arrayCumSum","arrayCumSumNonNegative","arrayDifference","arrayDistinct","arrayDotProduct","arrayElement","arrayElementOrNull","arrayEnumerate","arrayEnumerateDense","arrayEnumerateDenseRanked","arrayEnumerateUniq","arrayEnumerateUniqRanked","arrayExists","arrayFill","arrayFilter","arrayFirst","arrayFirstIndex","arrayFirstOrNull","arrayFlatten","arrayFold","arrayIntersect","arrayJaccardIndex","arrayJoin","arrayLast","arrayLastIndex","arrayLastOrNull","arrayLevenshteinDistance","arrayLevenshteinDistanceWeighted","arrayMap","arrayMax","arrayMin","arrayNormalizedGini","arrayPRAUC","arrayPartialReverseSort","arrayPartialShuffle","arrayPartialSort","arrayPopBack","arrayPopFront","arrayProduct","arrayPushBack","arrayPushFront","arrayROCAUC","arrayRandomSample","arrayReduce","arrayReduceInRanges","arrayResize","arrayReverse","arrayReverseFill","arrayReverseSort","arrayReverseSplit","arrayRotateLeft","arrayRotateRight","arrayShiftLeft","arrayShiftRight","arrayShingles","arrayShuffle","arraySimilarity","arraySlice","arraySort","arraySplit","arrayStringConcat","arraySum","arraySymmetricDifference","arrayUnion","arrayUniq","arrayWithConstant","arrayZip","arrayZipUnaligned","array_agg","array_concat_agg","ascii","asin","asinh","assumeNotNull","atan","atan2","atanh","authenticatedUser","avg","avgWeighted","bar","base32Decode","base32Encode","base58Decode","base58Encode","base64Decode","base64Encode","base64URLDecode","base64URLEncode","basename","bech32Decode","bech32Encode","bin","bitAnd","bitCount","bitHammingDistance","bitNot","bitOr","bitPositionsToArray","bitRotateLeft","bitRotateRight","bitShiftLeft","bitShiftRight","bitSlice","bitTest","bitTestAll","bitTestAny","bitXor","bitmapAnd","bitmapAndCardinality","bitmapAndnot","bitmapAndnotCardinality","bitmapBuild","bitmapCardinality","bitmapContains","bitmapHasAll","bitmapHasAny","bitmapMax","bitmapMin","bitmapOr","bitmapOrCardinality","bitmapSubsetInRange","bitmapSubsetLimit","bitmapToArray","bitmapTransform","bitmapXor","bitmapXorCardinality","bitmaskToArray","bitmaskToList","blockNumber","blockSerializedSize","blockSize","boundingRatio","buildId","byteHammingDistance","byteSize","byteSlice","byteSwap","caseWithExpr","caseWithExpression","caseWithoutExpr","caseWithoutExpression","catboostEvaluate","categoricalInformationValue","cbrt","ceil","ceiling","changeDay","changeHour","changeMinute","changeMonth","changeSecond","changeYear","char","cityHash64","clamp","coalesce","colorOKLCHToSRGB","colorSRGBToOKLCH","compareSubstrings","concat","concatAssumeInjective","concatWithSeparator","concatWithSeparatorAssumeInjective","concat_ws","connectionId","connection_id","contingency","convertCharset","corr","corrMatrix","corrStable","cos","cosh","cosineDistance","count","countDigits","countEqual","countMatches","countMatchesCaseInsensitive","countSubstrings","countSubstringsCaseInsensitive","countSubstringsCaseInsensitiveUTF8","covarPop","covarPopMatrix","covarPopStable","covarSamp","covarSampMatrix","covarSampStable","cramersV","cramersVBiasCorrected","curdate","currentDatabase","currentProfiles","currentQueryID","currentRoles","currentSchemas","currentUser","current_database","current_date","current_query_id","current_schemas","current_timestamp","current_user","cutFragment","cutIPv6","cutQueryString","cutQueryStringAndFragment","cutToFirstSignificantSubdomain","cutToFirstSignificantSubdomainCustom","cutToFirstSignificantSubdomainCustomRFC","cutToFirstSignificantSubdomainCustomWithWWW","cutToFirstSignificantSubdomainCustomWithWWWRFC","cutToFirstSignificantSubdomainRFC","cutToFirstSignificantSubdomainWithWWW","cutToFirstSignificantSubdomainWithWWWRFC","cutURLParameter","cutWWW","damerauLevenshteinDistance","dateDiff","dateName","dateTime64ToSnowflake","dateTime64ToSnowflakeID","dateTimeToSnowflake","dateTimeToSnowflakeID","dateTimeToUUIDv7","dateTrunc","date_bin","date_diff","decodeHTMLComponent","decodeURLComponent","decodeURLFormComponent","decodeXMLComponent","decrypt","defaultProfiles","defaultRoles","defaultValueOfArgumentType","defaultValueOfTypeName","degrees","deltaSum","deltaSumTimestamp","demangle","denseRank","dense_rank","detectCharset","detectLanguage","detectLanguageMixed","detectLanguageUnknown","detectProgrammingLanguage","detectTonality","dictGet","dictGetAll","dictGetChildren","dictGetDate","dictGetDateOrDefault","dictGetDateTime","dictGetDateTimeOrDefault","dictGetDescendants","dictGetFloat32","dictGetFloat32OrDefault","dictGetFloat64","dictGetFloat64OrDefault","dictGetHierarchy","dictGetIPv4","dictGetIPv4OrDefault","dictGetIPv6","dictGetIPv6OrDefault","dictGetInt16","dictGetInt16OrDefault","dictGetInt32","dictGetInt32OrDefault","dictGetInt64","dictGetInt64OrDefault","dictGetInt8","dictGetInt8OrDefault","dictGetOrDefault","dictGetOrNull","dictGetString","dictGetStringOrDefault","dictGetUInt16","dictGetUInt16OrDefault","dictGetUInt32","dictGetUInt32OrDefault","dictGetUInt64","dictGetUInt64OrDefault","dictGetUInt8","dictGetUInt8OrDefault","dictGetUUID","dictGetUUIDOrDefault","dictHas","dictIsIn","displayName","distanceL1","distanceL2","distanceL2Squared","distanceLinf","distanceLp","distinctDynamicTypes","distinctJSONPaths","distinctJSONPathsAndTypes","divide","divideDecimal","divideOrNull","domain","domainRFC","domainWithoutWWW","domainWithoutWWWRFC","dotProduct","dumpColumnStructure","dynamicElement","dynamicType","e","editDistance","editDistanceUTF8","empty","emptyArrayDate","emptyArrayDateTime","emptyArrayFloat32","emptyArrayFloat64","emptyArrayInt16","emptyArrayInt32","emptyArrayInt64","emptyArrayInt8","emptyArrayString","emptyArrayToSingle","emptyArrayUInt16","emptyArrayUInt32","emptyArrayUInt64","emptyArrayUInt8","enabledProfiles","enabledRoles","encodeURLComponent","encodeURLFormComponent","encodeXMLComponent","encrypt","endsWith","endsWithUTF8","entropy","equals","erf","erfc","errorCodeToName","estimateCompressionRatio","evalMLMethod","exp","exp10","exp2","exponentialMovingAverage","exponentialTimeDecayedAvg","exponentialTimeDecayedCount","exponentialTimeDecayedMax","exponentialTimeDecayedSum","extract","extractAll","extractAllGroups","extractAllGroupsHorizontal","extractAllGroupsVertical","extractGroups","extractKeyValuePairs","extractKeyValuePairsWithEscaping","extractTextFromHTML","extractURLParameter","extractURLParameterNames","extractURLParameters","factorial","farmFingerprint64","farmHash64","file","filesystemAvailable","filesystemCapacity","filesystemUnreserved","finalizeAggregation","financialInternalRateOfReturn","financialInternalRateOfReturnExtended","financialNetPresentValue","financialNetPresentValueExtended","firstLine","firstSignificantSubdomain","firstSignificantSubdomainCustom","firstSignificantSubdomainCustomRFC","firstSignificantSubdomainRFC","firstValueRespectNulls","first_value","first_value_respect_nulls","flameGraph","flatten","flattenTuple","floor","formatDateTime","formatDateTimeInJodaSyntax","formatQuery","formatQueryOrNull","formatQuerySingleLine","formatQuerySingleLineOrNull","formatReadableDecimalSize","formatReadableQuantity","formatReadableSize","formatReadableTimeDelta","formatRow","formatRowNoNewline","fragment","fromDaysSinceYearZero","fromDaysSinceYearZero32","fromModifiedJulianDay","fromModifiedJulianDayOrNull","fromUTCTimestamp","fromUnixTimestamp","fromUnixTimestamp64Micro","fromUnixTimestamp64Milli","fromUnixTimestamp64Nano","fromUnixTimestamp64Second","fromUnixTimestampInJodaSyntax","from_utc_timestamp","fullHostName","fuzzBits","gccMurmurHash","gcd","generateRandomStructure","generateSerialID","generateSnowflakeID","generateULID","generateUUIDv4","generateUUIDv7","geoDistance","geoToH3","geoToS2","geohashDecode","geohashEncode","geohashesInBox","getClientHTTPHeader","getMacro","getMaxTableNameLengthForDatabase","getMergeTreeSetting","getOSKernelVersion","getServerPort","getServerSetting","getSetting","getSettingOrDefault","getSizeOfEnumType","getSubcolumn","getTypeSerializationStreams","globalIn","globalInIgnoreSet","globalNotIn","globalNotInIgnoreSet","globalNotNullIn","globalNotNullInIgnoreSet","globalNullIn","globalNullInIgnoreSet","globalVariable","greatCircleAngle","greatCircleDistance","greater","greaterOrEquals","greatest","groupArray","groupArrayInsertAt","groupArrayIntersect","groupArrayLast","groupArrayMovingAvg","groupArrayMovingSum","groupArraySample","groupArraySorted","groupBitAnd","groupBitOr","groupBitXor","groupBitmap","groupBitmapAnd","groupBitmapOr","groupBitmapXor","groupConcat","groupNumericIndexedVector","groupUniqArray","group_concat","h3CellAreaM2","h3CellAreaRads2","h3Distance","h3EdgeAngle","h3EdgeLengthKm","h3EdgeLengthM","h3ExactEdgeLengthKm","h3ExactEdgeLengthM","h3ExactEdgeLengthRads","h3GetBaseCell","h3GetDestinationIndexFromUnidirectionalEdge","h3GetFaces","h3GetIndexesFromUnidirectionalEdge","h3GetOriginIndexFromUnidirectionalEdge","h3GetPentagonIndexes","h3GetRes0Indexes","h3GetResolution","h3GetUnidirectionalEdge","h3GetUnidirectionalEdgeBoundary","h3GetUnidirectionalEdgesFromHexagon","h3HexAreaKm2","h3HexAreaM2","h3HexRing","h3IndexesAreNeighbors","h3IsPentagon","h3IsResClassIII","h3IsValid","h3Line","h3NumHexagons","h3PointDistKm","h3PointDistM","h3PointDistRads","h3ToCenterChild","h3ToChildren","h3ToGeo","h3ToGeoBoundary","h3ToParent","h3ToString","h3UnidirectionalEdgeIsValid","h3kRing","halfMD5","has","hasAll","hasAny","hasColumnInTable","hasSubsequence","hasSubsequenceCaseInsensitive","hasSubsequenceCaseInsensitiveUTF8","hasSubsequenceUTF8","hasSubstr","hasThreadFuzzer","hasToken","hasTokenCaseInsensitive","hasTokenCaseInsensitiveOrNull","hasTokenOrNull","hex","hilbertDecode","hilbertEncode","histogram","hiveHash","hop","hopEnd","hopStart","hostName","hostname","hypot","icebergBucket","icebergHash","icebergTruncate","identity","idnaDecode","idnaEncode","if","ifNotFinite","ifNull","ignore","inIgnoreSet","indexHint","indexOf","indexOfAssumeSorted","initcap","initcapUTF8","initialQueryID","initialQueryStartTime","initial_query_id","initial_query_start_time","initializeAggregation","instr","intDiv","intDivOrNull","intDivOrZero","intExp10","intExp2","intHash32","intHash64","intervalLengthSum","isConstant","isDecimalOverflow","isDynamicElementInSharedData","isFinite","isIPAddressInRange","isIPv4String","isIPv6String","isInfinite","isMergeTreePartCoveredBy","isNaN","isNotDistinctFrom","isNotNull","isNull","isNullable","isValidJSON","isValidUTF8","isZeroOrNull","jaroSimilarity","jaroWinklerSimilarity","javaHash","javaHashUTF16LE","joinGet","joinGetOrNull","jsonMergePatch","jumpConsistentHash","kafkaMurmurHash","keccak256","kolmogorovSmirnovTest","kostikConsistentHash","kql_array_sort_asc","kql_array_sort_desc","kurtPop","kurtSamp","lag","lagInFrame","largestTriangleThreeBuckets","lastValueRespectNulls","last_value","last_value_respect_nulls","lcase","lcm","lead","leadInFrame","least","left","leftPad","leftPadUTF8","leftUTF8","lemmatize","length","lengthUTF8","less","lessOrEquals","levenshteinDistance","levenshteinDistanceUTF8","lgamma","ln","locate","log","log10","log1p","log2","logTrace","lowCardinalityIndices","lowCardinalityKeys","lower","lowerUTF8","lpad","ltrim","lttb","makeDate","makeDate32","makeDateTime","makeDateTime64","mannWhitneyUTest","map","mapAdd","mapAll","mapApply","mapConcat","mapContains","mapContainsKey","mapContainsKeyLike","mapContainsValue","mapContainsValueLike","mapExists","mapExtractKeyLike","mapExtractValueLike","mapFilter","mapFromArrays","mapFromString","mapKeys","mapPartialReverseSort","mapPartialSort","mapPopulateSeries","mapReverseSort","mapSort","mapSubtract","mapUpdate","mapValues","match","materialize","max","max2","maxIntersections","maxIntersectionsPosition","maxMappedArrays","meanZTest","median","medianBFloat16","medianBFloat16Weighted","medianDD","medianDeterministic","medianExact","medianExactHigh","medianExactLow","medianExactWeighted","medianExactWeightedInterpolated","medianGK","medianInterpolatedWeighted","medianTDigest","medianTDigestWeighted","medianTiming","medianTimingWeighted","mergeTreePartInfo","metroHash64","mid","min","min2","minMappedArrays","minSampleSizeContinous","minSampleSizeContinuous","minSampleSizeConversion","minus","mismatches","mod","modOrNull","modulo","moduloLegacy","moduloOrNull","moduloOrZero","monthName","mortonDecode","mortonEncode","multiFuzzyMatchAllIndices","multiFuzzyMatchAny","multiFuzzyMatchAnyIndex","multiIf","multiMatchAllIndices","multiMatchAny","multiMatchAnyIndex","multiSearchAllPositions","multiSearchAllPositionsCaseInsensitive","multiSearchAllPositionsCaseInsensitiveUTF8","multiSearchAllPositionsUTF8","multiSearchAny","multiSearchAnyCaseInsensitive","multiSearchAnyCaseInsensitiveUTF8","multiSearchAnyUTF8","multiSearchFirstIndex","multiSearchFirstIndexCaseInsensitive","multiSearchFirstIndexCaseInsensitiveUTF8","multiSearchFirstIndexUTF8","multiSearchFirstPosition","multiSearchFirstPositionCaseInsensitive","multiSearchFirstPositionCaseInsensitiveUTF8","multiSearchFirstPositionUTF8","multiply","multiplyDecimal","murmurHash2_32","murmurHash2_64","murmurHash3_128","murmurHash3_32","murmurHash3_64","negate","neighbor","nested","netloc","ngramDistance","ngramDistanceCaseInsensitive","ngramDistanceCaseInsensitiveUTF8","ngramDistanceUTF8","ngramMinHash","ngramMinHashArg","ngramMinHashArgCaseInsensitive","ngramMinHashArgCaseInsensitiveUTF8","ngramMinHashArgUTF8","ngramMinHashCaseInsensitive","ngramMinHashCaseInsensitiveUTF8","ngramMinHashUTF8","ngramSearch","ngramSearchCaseInsensitive","ngramSearchCaseInsensitiveUTF8","ngramSearchUTF8","ngramSimHash","ngramSimHashCaseInsensitive","ngramSimHashCaseInsensitiveUTF8","ngramSimHashUTF8","ngrams","nonNegativeDerivative","normL1","normL2","normL2Squared","normLinf","normLp","normalizeL1","normalizeL2","normalizeLinf","normalizeLp","normalizeQuery","normalizeQueryKeepNames","normalizeUTF8NFC","normalizeUTF8NFD","normalizeUTF8NFKC","normalizeUTF8NFKD","normalizedQueryHash","normalizedQueryHashKeepNames","notEmpty","notEquals","notILike","notIn","notInIgnoreSet","notLike","notNullIn","notNullInIgnoreSet","nothing","nothingNull","nothingUInt64","now","now64","nowInBlock","nowInBlock64","nth_value","ntile","nullIf","nullIn","nullInIgnoreSet","numbers","numericIndexedVectorAllValueSum","numericIndexedVectorBuild","numericIndexedVectorCardinality","numericIndexedVectorGetValue","numericIndexedVectorPointwiseAdd","numericIndexedVectorPointwiseDivide","numericIndexedVectorPointwiseEqual","numericIndexedVectorPointwiseGreater","numericIndexedVectorPointwiseGreaterEqual","numericIndexedVectorPointwiseLess","numericIndexedVectorPointwiseLessEqual","numericIndexedVectorPointwiseMultiply","numericIndexedVectorPointwiseNotEqual","numericIndexedVectorPointwiseSubtract","numericIndexedVectorShortDebugString","numericIndexedVectorToMap","overlay","overlayUTF8","parseDateTime","parseDateTime32BestEffort","parseDateTime32BestEffortOrNull","parseDateTime32BestEffortOrZero","parseDateTime64","parseDateTime64BestEffort","parseDateTime64BestEffortOrNull","parseDateTime64BestEffortOrZero","parseDateTime64BestEffortUS","parseDateTime64BestEffortUSOrNull","parseDateTime64BestEffortUSOrZero","parseDateTime64InJodaSyntax","parseDateTime64InJodaSyntaxOrNull","parseDateTime64InJodaSyntaxOrZero","parseDateTime64OrNull","parseDateTime64OrZero","parseDateTimeBestEffort","parseDateTimeBestEffortOrNull","parseDateTimeBestEffortOrZero","parseDateTimeBestEffortUS","parseDateTimeBestEffortUSOrNull","parseDateTimeBestEffortUSOrZero","parseDateTimeInJodaSyntax","parseDateTimeInJodaSyntaxOrNull","parseDateTimeInJodaSyntaxOrZero","parseDateTimeOrNull","parseDateTimeOrZero","parseReadableSize","parseReadableSizeOrNull","parseReadableSizeOrZero","parseTimeDelta","partitionID","partitionId","path","pathFull","percentRank","percent_rank","pi","plus","pmod","pmodOrNull","pointInEllipses","pointInPolygon","polygonAreaCartesian","polygonAreaSpherical","polygonConvexHullCartesian","polygonPerimeterCartesian","polygonPerimeterSpherical","polygonsDistanceCartesian","polygonsDistanceSpherical","polygonsEqualsCartesian","polygonsIntersectCartesian","polygonsIntersectSpherical","polygonsIntersectionCartesian","polygonsIntersectionSpherical","polygonsSymDifferenceCartesian","polygonsSymDifferenceSpherical","polygonsUnionCartesian","polygonsUnionSpherical","polygonsWithinCartesian","polygonsWithinSpherical","port","portRFC","position","positionCaseInsensitive","positionCaseInsensitiveUTF8","positionUTF8","positiveModulo","positiveModuloOrNull","positive_modulo","positive_modulo_or_null","pow","power","printf","proportionsZTest","protocol","punycodeDecode","punycodeEncode","quantile","quantileBFloat16","quantileBFloat16Weighted","quantileDD","quantileDeterministic","quantileExact","quantileExactExclusive","quantileExactHigh","quantileExactInclusive","quantileExactLow","quantileExactWeighted","quantileExactWeightedInterpolated","quantileGK","quantileInterpolatedWeighted","quantileTDigest","quantileTDigestWeighted","quantileTiming","quantileTimingWeighted","quantiles","quantilesBFloat16","quantilesBFloat16Weighted","quantilesDD","quantilesDeterministic","quantilesExact","quantilesExactExclusive","quantilesExactHigh","quantilesExactInclusive","quantilesExactLow","quantilesExactWeighted","quantilesExactWeightedInterpolated","quantilesGK","quantilesInterpolatedWeighted","quantilesTDigest","quantilesTDigestWeighted","quantilesTiming","quantilesTimingWeighted","queryID","queryString","queryStringAndFragment","query_id","radians","rand","rand32","rand64","randBernoulli","randBinomial","randCanonical","randChiSquared","randConstant","randExponential","randFisherF","randLogNormal","randNegativeBinomial","randNormal","randPoisson","randStudentT","randUniform","randomFixedString","randomPrintableASCII","randomString","randomStringUTF8","rank","rankCorr","readWKBLineString","readWKBMultiLineString","readWKBMultiPolygon","readWKBPoint","readWKBPolygon","readWKTLineString","readWKTMultiLineString","readWKTMultiPolygon","readWKTPoint","readWKTPolygon","readWKTRing","regexpExtract","regexpQuoteMeta","regionHierarchy","regionIn","regionToArea","regionToCity","regionToContinent","regionToCountry","regionToDistrict","regionToName","regionToPopulation","regionToTopContinent","reinterpret","reinterpretAsDate","reinterpretAsDateTime","reinterpretAsFixedString","reinterpretAsFloat32","reinterpretAsFloat64","reinterpretAsInt128","reinterpretAsInt16","reinterpretAsInt256","reinterpretAsInt32","reinterpretAsInt64","reinterpretAsInt8","reinterpretAsString","reinterpretAsUInt128","reinterpretAsUInt16","reinterpretAsUInt256","reinterpretAsUInt32","reinterpretAsUInt64","reinterpretAsUInt8","reinterpretAsUUID","repeat","replace","replaceAll","replaceOne","replaceRegexpAll","replaceRegexpOne","replicate","retention","reverse","reverseUTF8","revision","right","rightPad","rightPadUTF8","rightUTF8","round","roundAge","roundBankers","roundDown","roundDuration","roundToExp2","rowNumberInAllBlocks","rowNumberInBlock","row_number","rpad","rtrim","runningAccumulate","runningConcurrency","runningDifference","runningDifferenceStartingWithFirstValue","s2CapContains","s2CapUnion","s2CellsIntersect","s2GetNeighbors","s2RectAdd","s2RectContains","s2RectIntersection","s2RectUnion","s2ToGeo","scalarProduct","searchAll","searchAny","sequenceCount","sequenceMatch","sequenceMatchEvents","sequenceNextNode","seriesDecomposeSTL","seriesOutliersDetectTukey","seriesPeriodDetectFFT","serverTimeZone","serverTimezone","serverUUID","shardCount","shardNum","showCertificate","sigmoid","sign","simpleJSONExtractBool","simpleJSONExtractFloat","simpleJSONExtractInt","simpleJSONExtractRaw","simpleJSONExtractString","simpleJSONExtractUInt","simpleJSONHas","simpleLinearRegression","sin","singleValueOrNull","sinh","sipHash128","sipHash128Keyed","sipHash128Reference","sipHash128ReferenceKeyed","sipHash64","sipHash64Keyed","skewPop","skewSamp","sleep","sleepEachRow","snowflakeIDToDateTime","snowflakeIDToDateTime64","snowflakeToDateTime","snowflakeToDateTime64","soundex","space","sparkBar","sparkbar","sparseGrams","sparseGramsHashes","sparseGramsHashesUTF8","sparseGramsUTF8","splitByAlpha","splitByChar","splitByNonAlpha","splitByRegexp","splitByString","splitByWhitespace","sqid","sqidDecode","sqidEncode","sqrt","startsWith","startsWithUTF8","stddevPop","stddevPopStable","stddevSamp","stddevSampStable","stem","stochasticLinearRegression","stochasticLogisticRegression","str_to_date","str_to_map","stringBytesEntropy","stringBytesUniq","stringJaccardIndex","stringJaccardIndexUTF8","stringToH3","structureToCapnProtoSchema","structureToProtobufSchema","studentTTest","subBitmap","subDate","substr","substring","substringIndex","substringIndexUTF8","substringUTF8","subtractDays","subtractHours","subtractInterval","subtractMicroseconds","subtractMilliseconds","subtractMinutes","subtractMonths","subtractNanoseconds","subtractQuarters","subtractSeconds","subtractTupleOfIntervals","subtractWeeks","subtractYears","sum","sumCount","sumKahan","sumMapFiltered","sumMapFilteredWithOverflow","sumMapWithOverflow","sumMappedArrays","sumWithOverflow","svg","synonyms","tan","tanh","tcpPort","tgamma","theilsU","throwIf","tid","timeDiff","timeSeriesDeltaToGrid","timeSeriesDerivToGrid","timeSeriesFromGrid","timeSeriesGroupArray","timeSeriesIdToTags","timeSeriesIdToTagsGroup","timeSeriesIdeltaToGrid","timeSeriesInstantDeltaToGrid","timeSeriesInstantRateToGrid","timeSeriesIrateToGrid","timeSeriesLastToGrid","timeSeriesLastTwoSamples","timeSeriesPredictLinearToGrid","timeSeriesRange","timeSeriesRateToGrid","timeSeriesResampleToGridWithStaleness","timeSeriesStoreTags","timeSeriesTagsGroupToTags","timeSlot","timeSlots","timeZone","timeZoneOf","timeZoneOffset","time_bucket","timestamp","timestampDiff","timestamp_diff","timezone","timezoneOf","timezoneOffset","toBFloat16","toBFloat16OrNull","toBFloat16OrZero","toBool","toColumnTypeName","toDate","toDate32","toDate32OrDefault","toDate32OrNull","toDate32OrZero","toDateOrDefault","toDateOrNull","toDateOrZero","toDateTime","toDateTime32","toDateTime64","toDateTime64OrDefault","toDateTime64OrNull","toDateTime64OrZero","toDateTimeOrDefault","toDateTimeOrNull","toDateTimeOrZero","toDayOfMonth","toDayOfWeek","toDayOfYear","toDaysSinceYearZero","toDecimal128","toDecimal128OrDefault","toDecimal128OrNull","toDecimal128OrZero","toDecimal256","toDecimal256OrDefault","toDecimal256OrNull","toDecimal256OrZero","toDecimal32","toDecimal32OrDefault","toDecimal32OrNull","toDecimal32OrZero","toDecimal64","toDecimal64OrDefault","toDecimal64OrNull","toDecimal64OrZero","toDecimalString","toFixedString","toFloat32","toFloat32OrDefault","toFloat32OrNull","toFloat32OrZero","toFloat64","toFloat64OrDefault","toFloat64OrNull","toFloat64OrZero","toHour","toIPv4","toIPv4OrDefault","toIPv4OrNull","toIPv4OrZero","toIPv6","toIPv6OrDefault","toIPv6OrNull","toIPv6OrZero","toISOWeek","toISOYear","toInt128","toInt128OrDefault","toInt128OrNull","toInt128OrZero","toInt16","toInt16OrDefault","toInt16OrNull","toInt16OrZero","toInt256","toInt256OrDefault","toInt256OrNull","toInt256OrZero","toInt32","toInt32OrDefault","toInt32OrNull","toInt32OrZero","toInt64","toInt64OrDefault","toInt64OrNull","toInt64OrZero","toInt8","toInt8OrDefault","toInt8OrNull","toInt8OrZero","toInterval","toIntervalDay","toIntervalHour","toIntervalMicrosecond","toIntervalMillisecond","toIntervalMinute","toIntervalMonth","toIntervalNanosecond","toIntervalQuarter","toIntervalSecond","toIntervalWeek","toIntervalYear","toJSONString","toLastDayOfMonth","toLastDayOfWeek","toLowCardinality","toMillisecond","toMinute","toModifiedJulianDay","toModifiedJulianDayOrNull","toMonday","toMonth","toMonthNumSinceEpoch","toNullable","toQuarter","toRelativeDayNum","toRelativeHourNum","toRelativeMinuteNum","toRelativeMonthNum","toRelativeQuarterNum","toRelativeSecondNum","toRelativeWeekNum","toRelativeYearNum","toSecond","toStartOfDay","toStartOfFifteenMinutes","toStartOfFiveMinute","toStartOfFiveMinutes","toStartOfHour","toStartOfISOYear","toStartOfInterval","toStartOfMicrosecond","toStartOfMillisecond","toStartOfMinute","toStartOfMonth","toStartOfNanosecond","toStartOfQuarter","toStartOfSecond","toStartOfTenMinutes","toStartOfWeek","toStartOfYear","toString","toStringCutToZero","toTime","toTime64","toTime64OrNull","toTime64OrZero","toTimeOrNull","toTimeOrZero","toTimeWithFixedDate","toTimeZone","toTimezone","toTypeName","toUInt128","toUInt128OrDefault","toUInt128OrNull","toUInt128OrZero","toUInt16","toUInt16OrDefault","toUInt16OrNull","toUInt16OrZero","toUInt256","toUInt256OrDefault","toUInt256OrNull","toUInt256OrZero","toUInt32","toUInt32OrDefault","toUInt32OrNull","toUInt32OrZero","toUInt64","toUInt64OrDefault","toUInt64OrNull","toUInt64OrZero","toUInt8","toUInt8OrDefault","toUInt8OrNull","toUInt8OrZero","toUTCTimestamp","toUUID","toUUIDOrDefault","toUUIDOrNull","toUUIDOrZero","toUnixTimestamp","toUnixTimestamp64Micro","toUnixTimestamp64Milli","toUnixTimestamp64Nano","toUnixTimestamp64Second","toValidUTF8","toWeek","toYYYYMM","toYYYYMMDD","toYYYYMMDDhhmmss","toYear","toYearNumSinceEpoch","toYearWeek","to_utc_timestamp","today","tokens","topK","topKWeighted","topLevelDomain","topLevelDomainRFC","transactionID","transactionLatestSnapshot","transactionOldestSnapshot","transform","translate","translateUTF8","trim","trimBoth","trimLeft","trimRight","trunc","tryBase32Decode","tryBase58Decode","tryBase64Decode","tryBase64URLDecode","tryDecrypt","tryIdnaEncode","tryPunycodeDecode","tumble","tumbleEnd","tumbleStart","tuple","tupleConcat","tupleDivide","tupleDivideByNumber","tupleElement","tupleHammingDistance","tupleIntDiv","tupleIntDivByNumber","tupleIntDivOrZero","tupleIntDivOrZeroByNumber","tupleMinus","tupleModulo","tupleModuloByNumber","tupleMultiply","tupleMultiplyByNumber","tupleNames","tupleNegate","tuplePlus","tupleToNameValuePairs","ucase","unbin","unhex","uniq","uniqCombined","uniqCombined64","uniqExact","uniqHLL12","uniqTheta","uniqThetaIntersect","uniqThetaNot","uniqThetaUnion","uniqUpTo","upper","upperUTF8","uptime","user","validateNestedArraySizes","varPop","varPopStable","varSamp","varSampStable","variantElement","variantType","vectorDifference","vectorSum","version","visibleWidth","visitParamExtractBool","visitParamExtractFloat","visitParamExtractInt","visitParamExtractRaw","visitParamExtractString","visitParamExtractUInt","visitParamHas","week","welchTTest","widthBucket","width_bucket","windowFunnel","windowID","wkb","wkt","wordShingleMinHash","wordShingleMinHashArg","wordShingleMinHashArgCaseInsensitive","wordShingleMinHashArgCaseInsensitiveUTF8","wordShingleMinHashArgUTF8","wordShingleMinHashCaseInsensitive","wordShingleMinHashCaseInsensitiveUTF8","wordShingleMinHashUTF8","wordShingleSimHash","wordShingleSimHashCaseInsensitive","wordShingleSimHashCaseInsensitiveUTF8","wordShingleSimHashUTF8","wyHash64","xor","xxHash32","xxHash64","xxh3","yandexConsistentHash","yearweek","yesterday","zookeeperSessionUptime","MergeTree","ReplacingMergeTree","SummingMergeTree","AggregatingMergeTree","CollapsingMergeTree","VersionedCollapsingMergeTree","GraphiteMergeTree","CoalescingMergeTree","Atomic","Shared","Lazy","Replicated","PostgreSQL","MySQL","SQLite","MaterializedPostgreSQL","DataLakeCatalog"],extraParens:["[]","{}"],lineCommentTypes:["#","--"],nestedBlockComments:!1,underscoresInNumbers:!0,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq-bs',"``"],paramTypes:{custom:[{regex:String.raw`\{[^:']+:[^}]+\}`,key:e=>{let t=/\{([^:]+):/.exec(e);return t?t[1].trim():e}}]},operators:["%","||","?",":","==","<=>","->"],postProcess:function(e){return e.map((t,E)=>{let n=e[E+1]||C,o=e[E-1]||C;return t.type===r.RESERVED_SELECT&&(n.type===r.COMMA||o.type===r.RESERVED_CLAUSE||o.type===r.COMMA)?Object.assign(Object.assign({},t),{type:r.RESERVED_KEYWORD}):_.SET(t)&&n.type===r.OPEN_PAREN?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):t})}},formatOptions:{onelineClauses:[...G,...b],tabularOnelineClauses:b}},F=a(["SELECT [ALL | DISTINCT]"]),B=a(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","LIMIT","OFFSET","FETCH NEXT","FOR UPDATE [OF]","FOR {READ | FETCH} ONLY","FOR {RR | CS | UR | RS} [USE AND KEEP {SHARE | UPDATE | EXCLUSIVE} LOCKS]","WAIT FOR OUTCOME","SKIP LOCKED DATA","INTO","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT"]),Y=a(["CREATE [GLOBAL TEMPORARY | EXTERNAL] TABLE [IF NOT EXISTS]"]),V=a(["CREATE [OR REPLACE] VIEW","UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME COLUMN","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {DEFAULT | GENERATED | NOT NULL}","TRUNCATE [TABLE]","ALLOCATE","ALTER AUDIT POLICY","ALTER BUFFERPOOL","ALTER DATABASE PARTITION GROUP","ALTER DATABASE","ALTER EVENT MONITOR","ALTER FUNCTION","ALTER HISTOGRAM TEMPLATE","ALTER INDEX","ALTER MASK","ALTER METHOD","ALTER MODULE","ALTER NICKNAME","ALTER PACKAGE","ALTER PERMISSION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SECURITY LABEL COMPONENT","ALTER SECURITY POLICY","ALTER SEQUENCE","ALTER SERVER","ALTER SERVICE CLASS","ALTER STOGROUP","ALTER TABLESPACE","ALTER THRESHOLD","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER TYPE","ALTER USAGE LIST","ALTER USER MAPPING","ALTER VIEW","ALTER WORK ACTION SET","ALTER WORK CLASS SET","ALTER WORKLOAD","ALTER WRAPPER","ALTER XSROBJECT","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE [RESULT SET] {LOCATOR | LOCATORS}","AUDIT","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT ON","COMMIT [WORK]","CONNECT","CREATE [OR REPLACE] [PUBLIC] ALIAS","CREATE AUDIT POLICY","CREATE BUFFERPOOL","CREATE DATABASE PARTITION GROUP","CREATE EVENT MONITOR","CREATE [OR REPLACE] FUNCTION","CREATE FUNCTION MAPPING","CREATE HISTOGRAM TEMPLATE","CREATE [UNIQUE] INDEX","CREATE INDEX EXTENSION","CREATE [OR REPLACE] MASK","CREATE [SPECIFIC] METHOD","CREATE [OR REPLACE] MODULE","CREATE [OR REPLACE] NICKNAME","CREATE [OR REPLACE] PERMISSION","CREATE [OR REPLACE] PROCEDURE","CREATE ROLE","CREATE SCHEMA","CREATE SECURITY LABEL [COMPONENT]","CREATE SECURITY POLICY","CREATE [OR REPLACE] SEQUENCE","CREATE SERVICE CLASS","CREATE SERVER","CREATE STOGROUP","CREATE SYNONYM","CREATE [LARGE | REGULAR | {SYSTEM | USER} TEMPORARY] TABLESPACE","CREATE THRESHOLD","CREATE {TRANSFORM | TRANSFORMS} FOR","CREATE [OR REPLACE] TRIGGER","CREATE TRUSTED CONTEXT","CREATE [OR REPLACE] TYPE","CREATE TYPE MAPPING","CREATE USAGE LIST","CREATE USER MAPPING FOR","CREATE [OR REPLACE] VARIABLE","CREATE WORK ACTION SET","CREATE WORK CLASS SET","CREATE WORKLOAD","CREATE WRAPPER","DECLARE","DECLARE GLOBAL TEMPORARY TABLE","DESCRIBE [INPUT | OUTPUT]","DISCONNECT","DROP [PUBLIC] ALIAS","DROP AUDIT POLICY","DROP BUFFERPOOL","DROP DATABASE PARTITION GROUP","DROP EVENT MONITOR","DROP [SPECIFIC] FUNCTION","DROP FUNCTION MAPPING","DROP HISTOGRAM TEMPLATE","DROP INDEX [EXTENSION]","DROP MASK","DROP [SPECIFIC] METHOD","DROP MODULE","DROP NICKNAME","DROP PACKAGE","DROP PERMISSION","DROP [SPECIFIC] PROCEDURE","DROP ROLE","DROP SCHEMA","DROP SECURITY LABEL [COMPONENT]","DROP SECURITY POLICY","DROP SEQUENCE","DROP SERVER","DROP SERVICE CLASS","DROP STOGROUP","DROP TABLE HIERARCHY","DROP {TABLESPACE | TABLESPACES}","DROP {TRANSFORM | TRANSFORMS}","DROP THRESHOLD","DROP TRIGGER","DROP TRUSTED CONTEXT","DROP TYPE [MAPPING]","DROP USAGE LIST","DROP USER MAPPING FOR","DROP VARIABLE","DROP VIEW [HIERARCHY]","DROP WORK {ACTION | CLASS} SET","DROP WORKLOAD","DROP WRAPPER","DROP XSROBJECT","END DECLARE SECTION","EXECUTE [IMMEDIATE]","EXPLAIN {PLAN [SECTION] | ALL}","FETCH [FROM]","FLUSH {BUFFERPOOL | BUFFERPOOLS} ALL","FLUSH EVENT MONITOR","FLUSH FEDERATED CACHE","FLUSH OPTIMIZATION PROFILE CACHE","FLUSH PACKAGE CACHE [DYNAMIC]","FLUSH AUTHENTICATION CACHE [FOR ALL]","FREE LOCATOR","GET DIAGNOSTICS","GOTO","GRANT","INCLUDE","ITERATE","LEAVE","LOCK TABLE","LOOP","OPEN","PIPE","PREPARE","REFRESH TABLE","RELEASE","RELEASE [TO] SAVEPOINT","RENAME [TABLE | INDEX | STOGROUP | TABLESPACE]","REPEAT","RESIGNAL","RETURN","REVOKE","ROLLBACK [WORK] [TO SAVEPOINT]","SAVEPOINT","SET COMPILATION ENVIRONMENT","SET CONNECTION","SET CURRENT","SET ENCRYPTION PASSWORD","SET EVENT MONITOR STATE","SET INTEGRITY","SET PASSTHRU","SET PATH","SET ROLE","SET SCHEMA","SET SERVER OPTION","SET {SESSION AUTHORIZATION | SESSION_USER}","SET USAGE LIST","SIGNAL","TRANSFER OWNERSHIP OF","WHENEVER {NOT FOUND | SQLERROR | SQLWARNING}","WHILE"]),x=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),W=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),w={name:"db2",tokenizerOptions:{reservedSelect:F,reservedClauses:[...B,...Y,...V],reservedSetOperations:x,reservedJoins:W,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ACTIVATE","ADD","AFTER","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","AND","ANY","AS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BINARY","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CHECK","CLONE","CLOSE","CLUSTER","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","COUNT","COUNT_BIG","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPT","EXCEPTION","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FENCED","FETCH","FIELDPROC","FILE","FINAL","FIRST1","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRAPHIC","GROUP","HANDLER","HASH","HASHED_VALUE","HAVING","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IMPORT","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INTEGRITY","INTERSECT","INTO","IS","ISNULL","ISOBID","ISOLATION","ITERATE","JAR","JAVA","JOIN","KEEP","KEY","LABEL","LANGUAGE","LAST3","LATERAL","LC_CTYPE","LEAVE","LEFT","LIKE","LIMIT","LINKTYPE","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LOOP","MAINTAINED","MATERIALIZED","MAXVALUE","MICROSECOND","MICROSECONDS","MINUTE","MINUTES","MINVALUE","MODE","MODIFIES","MONTH","MONTHS","NAN","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZED","NOT2","NOTNULL","NULL","NULLS","NUMPARTS","OBID","OF","OFF","OFFSET","OLD","OLD_TABLE","ON","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","OR","ORDER","OUT","OUTER","OVER","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENT","PIECESIZE","PLAN","POSITION","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","RECOVERY","REFERENCES","REFERENCING","REFRESH","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SELECT","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SET","SIGNAL","SIMPLE","SNAN","SOME","SOURCE","SPECIFIC","SQL","SQLID","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STOGROUP","STORES","STYLE","SUBSTRING","SUMMARY","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESPACE","THEN","TO","TRANSACTION","TRIGGER","TRIM","TRUNCATE","TYPE","UNDO","UNION","UNIQUE","UNTIL","UPDATE","USAGE","USER","USING","VALIDPROC","VALUE","VALUES","VARIABLE","VARIANT","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHERE","WHILE","WITH","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BLOB","BOOLEAN","CCSID","CHAR","CHARACTER","CLOB","DATE","DATETIME","DBCLOB","DEC","DECIMAL","DOUBLE","DOUBLE PRECISION","FLOAT","FLOAT4","FLOAT8","GRAPHIC","INT","INT2","INT4","INT8","INTEGER","INTERVAL","LONG VARCHAR","LONG VARGRAPHIC","NCHAR","NCHR","NCLOB","NVARCHAR","NUMERIC","SMALLINT","REAL","TIME","TIMESTAMP","VARBINARY","VARCHAR","VARGRAPHIC"],reservedFunctionNames:["ARRAY_AGG","AVG","CORRELATION","COUNT","COUNT_BIG","COVARIANCE","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","STDDEV_SAMP","SUM","VARIANCE","VARIANCE_SAMP","XMLAGG","XMLGROUP","ABS","ABSVAL","ACOS","ADD_DAYS","ADD_HOURS","ADD_MINUTES","ADD_MONTHS","ADD_SECONDS","ADD_YEARS","AGE","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ASCII","ASCII_STR","ASIN","ATAN","ATAN2","ATANH","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BPCHAR","BSON_TO_JSON","BTRIM","CARDINALITY","CEILING","CEIL","CHARACTER_LENGTH","CHR","COALESCE","COLLATION_KEY","COLLATION_KEY_BIT","COMPARE_DECFLOAT","CONCAT","COS","COSH","COT","CURSOR_ROWCOUNT","DATAPARTITIONNUM","DATE_PART","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DAYS_TO_END_OF_MONTH","DBPARTITIONNUM","DECFLOAT","DECFLOAT_FORMAT","DECODE","DECRYPT_BIN","DECRYPT_CHAR","DEGREES","DEREF","DIFFERENCE","DIGITS","DOUBLE_PRECISION","EMPTY_BLOB","EMPTY_CLOB","EMPTY_DBCLOB","EMPTY_NCLOB","ENCRYPT","EVENT_MON_STATE","EXP","EXTRACT","FIRST_DAY","FLOOR","FROM_UTC_TIMESTAMP","GENERATE_UNIQUE","GETHINT","GREATEST","HASH","HASH4","HASH8","HASHEDVALUE","HEX","HEXTORAW","HOUR","HOURS_BETWEEN","IDENTITY_VAL_LOCAL","IFNULL","INITCAP","INSERT","INSTR","INSTR2","INSTR4","INSTRB","INTNAND","INTNOR","INTNXOR","INTNNOT","ISNULL","JSON_ARRAY","JSON_OBJECT","JSON_QUERY","JSON_TO_BSON","JSON_VALUE","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LENGTH2","LENGTH4","LENGTHB","LN","LOCATE","LOCATE_IN_STRING","LOG10","LONG_VARCHAR","LONG_VARGRAPHIC","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MINUTES_BETWEEN","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NEXT_QUARTER","NEXT_WEEK","NEXT_YEAR","NORMALIZE_DECFLOAT","NOW","NULLIF","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARAMETER","POSITION","POSSTR","POW","POWER","QUANTIZE","QUARTER","QUOTE_IDENT","QUOTE_LITERAL","RADIANS","RAISE_ERROR","RAND","RANDOM","RAWTOHEX","REC2XML","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_MATCH_COUNT","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RID_BIT","RIGHT","ROUND","ROUND_TIMESTAMP","RPAD","RTRIM","SECLABEL","SECLABEL_BY_NAME","SECLABEL_TO_CHAR","SECOND","SECONDS_BETWEEN","SIGN","SIN","SINH","SOUNDEX","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTR2","SUBSTR4","SUBSTRB","SUBSTRING","TABLE_NAME","TABLE_SCHEMA","TAN","TANH","THIS_MONTH","THIS_QUARTER","THIS_WEEK","THIS_YEAR","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMPDIFF","TIMEZONE","TO_CHAR","TO_CLOB","TO_DATE","TO_HEX","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_UTC_TIMESTAMP","TOTALORDER","TRANSLATE","TRIM","TRIM_ARRAY","TRUNC_TIMESTAMP","TRUNCATE","TRUNC","TYPE_ID","TYPE_NAME","TYPE_SCHEMA","UCASE","UNICODE_STR","UPPER","VALUE","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARCHAR_FORMAT_BIT","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WEEKS_BETWEEN","WIDTH_BUCKET","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROW","XMLSERIALIZE","XMLTEXT","XMLVALIDATE","XMLXSROBJECTID","XSLTRANSFORM","YEAR","YEARS_BETWEEN","YMD_BETWEEN","BASE_TABLE","JSON_TABLE","UNNEST","XMLTABLE","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT","CAST"],extraParens:["[]"],stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$",rest:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","%","|","&","^","~","\xac=","\xac>","\xac<","!>","!<","^=","^>","^<","||","->","=>"]},formatOptions:{onelineClauses:[...Y,...V],tabularOnelineClauses:V}},X=a(["SELECT [ALL | DISTINCT]"]),K=a(["WITH [RECURSIVE]","INTO","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY [INPUT SEQUENCE]","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","FOR READ ONLY","OPTIMIZE FOR","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","DELETE","INSERT","FOR SYSTEM NAME"]),k=a(["CREATE [OR REPLACE] TABLE"]),J=a(["CREATE [OR REPLACE] [RECURSIVE] VIEW","UPDATE","WHERE CURRENT OF","WITH {NC | RR | RS | CS | UR}","DELETE FROM","DROP TABLE","ALTER TABLE","ADD [COLUMN]","ALTER [COLUMN]","DROP [COLUMN]","SET DATA TYPE","SET {GENERATED ALWAYS | GENERATED BY DEFAULT}","SET NOT NULL","SET {NOT HIDDEN | IMPLICITLY HIDDEN}","SET FIELDPROC","DROP {DEFAULT | NOT NULL | GENERATED | IDENTITY | ROW CHANGE TIMESTAMP | FIELDPROC}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","SET CURRENT_SCHEMA","ALLOCATE CURSOR","ALLOCATE [SQL] DESCRIPTOR [LOCAL | GLOBAL] SQL","ALTER [SPECIFIC] {FUNCTION | PROCEDURE}","ALTER {MASK | PERMISSION | SEQUENCE | TRIGGER}","ASSOCIATE [RESULT SET] {LOCATOR | LOCATORS}","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT ON {ALIAS | COLUMN | CONSTRAINT | INDEX | MASK | PACKAGE | PARAMETER | PERMISSION | SEQUENCE | TABLE | TRIGGER | VARIABLE | XSROBJECT}","COMMENT ON [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE}","COMMENT ON PARAMETER SPECIFIC {FUNCTION | PROCEDURE | ROUTINE}","COMMENT ON [TABLE FUNCTION] RETURN COLUMN","COMMENT ON [TABLE FUNCTION] RETURN COLUMN SPECIFIC [PROCEDURE | ROUTINE]","COMMIT [WORK] [HOLD]","CONNECT [TO | RESET] USER","CREATE [OR REPLACE] {ALIAS | FUNCTION | MASK | PERMISSION | PROCEDURE | SEQUENCE | TRIGGER | VARIABLE}","CREATE [ENCODED VECTOR] INDEX","CREATE UNIQUE [WHERE NOT NULL] INDEX","CREATE SCHEMA","CREATE TYPE","DEALLOCATE [SQL] DESCRIPTOR [LOCAL | GLOBAL]","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE [OUTPUT]","DESCRIBE {PROCEDURE | ROUTINE}","DESCRIBE TABLE","DISCONNECT ALL [SQL]","DISCONNECT [CURRENT]","DROP {ALIAS | INDEX | MASK | PACKAGE | PERMISSION | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT} [IF EXISTS]","DROP [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE} [IF EXISTS]","END DECLARE SECTION","EXECUTE [IMMEDIATE]","FREE LOCATOR","GET [SQL] DESCRIPTOR [LOCAL | GLOBAL]","GET [CURRENT | STACKED] DIAGNOSTICS","GRANT {ALL [PRIVILEGES] | ALTER | EXECUTE} ON {FUNCTION | PROCEDURE | ROUTINE | PACKAGE | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT}","HOLD LOCATOR","INCLUDE","LABEL ON {ALIAS | COLUMN | CONSTRAINT | INDEX | MASK | PACKAGE | PERMISSION | SEQUENCE | TABLE | TRIGGER | VARIABLE | XSROBJECT}","LABEL ON [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE}","LOCK TABLE","OPEN","PREPARE","REFRESH TABLE","RELEASE","RELEASE [TO] SAVEPOINT","RENAME [TABLE | INDEX] TO","REVOKE {ALL [PRIVILEGES] | ALTER | EXECUTE} ON {FUNCTION | PROCEDURE | ROUTINE | PACKAGE | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT}","ROLLBACK [WORK] [HOLD | TO SAVEPOINT]","SAVEPOINT","SET CONNECTION","SET CURRENT {DEBUG MODE | DECFLOAT ROUNDING MODE | DEGREE | IMPLICIT XMLPARSE OPTION | TEMPORAL SYSTEM_TIME}","SET [SQL] DESCRIPTOR [LOCAL | GLOBAL]","SET ENCRYPTION PASSWORD","SET OPTION","SET {[CURRENT [FUNCTION]] PATH | CURRENT_PATH}","SET RESULT SETS [WITH RETURN [TO CALLER | TO CLIENT]]","SET SESSION AUTHORIZATION","SET SESSION_USER","SET TRANSACTION","SIGNAL SQLSTATE [VALUE]","TAG","TRANSFER OWNERSHIP OF","WHENEVER {NOT FOUND | SQLERROR | SQLWARNING}"]),j=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),$=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT | RIGHT] EXCEPTION JOIN","{INNER | CROSS} JOIN"]),q={name:"db2i",tokenizerOptions:{reservedSelect:X,reservedClauses:[...K,...k,...J],reservedSetOperations:j,reservedJoins:$,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABSENT","ACCORDING","ACCTNG","ACTION","ACTIVATE","ADD","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","AND","ANY","APPEND","APPLNAME","ARRAY","ARRAY_AGG","ARRAY_TRIM","AS","ASC","ASENSITIVE","ASSOCIATE","ATOMIC","ATTACH","ATTRIBUTES","AUTHORIZATION","AUTONOMOUS","BEFORE","BEGIN","BETWEEN","BIND","BSON","BUFFERPOOL","BY","CACHE","CALL","CALLED","CARDINALITY","CASE","CAST","CHECK","CL","CLOSE","CLUSTER","COLLECT","COLLECTION","COLUMN","COMMENT","COMMIT","COMPACT","COMPARISONS","COMPRESS","CONCAT","CONCURRENT","CONDITION","CONNECT","CONNECT_BY_ROOT","CONNECTION","CONSTANT","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","COPY","COUNT","COUNT_BIG","CREATE","CREATEIN","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","CURSOR","CYCLE","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEACTIVATE","DEALLOCATE","DECLARE","DEFAULT","DEFAULTS","DEFER","DEFINE","DEFINITION","DELETE","DELETING","DENSE_RANK","DENSERANK","DESC","DESCRIBE","DESCRIPTOR","DETACH","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DROP","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ENFORCED","ERROR","ESCAPE","EVERY","EXCEPT","EXCEPTION","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTEND","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FINAL","FIRST_VALUE","FOR","FOREIGN","FORMAT","FREE","FREEPAGE","FROM","FULL","FUNCTION","GBPCACHE","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HANDLER","HASH","HASH_ROW","HASHED_VALUE","HAVING","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IGNORE","IMMEDIATE","IMPLICITLY","IN","INCLUDE","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDEXBP","INDICATOR","INF","INFINITY","INHERIT","INLINE","INNER","INOUT","INSENSITIVE","INSERT","INSERTING","INTEGRITY","INTERPRET","INTERSECT","INTO","IS","ISNULL","ISOLATION","ITERATE","JAVA","JOIN","JSON","JSON_ARRAY","JSON_ARRAYAGG","JSON_EXISTS","JSON_OBJECT","JSON_OBJECTAGG","JSON_QUERY","JSON_TABLE","JSON_VALUE","KEEP","KEY","KEYS","LABEL","LAG","LANGUAGE","LAST_VALUE","LATERAL","LEAD","LEAVE","LEFT","LEVEL2","LIKE","LIMIT","LINKTYPE","LISTAGG","LOCAL","LOCALDATE","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKSIZE","LOG","LOGGED","LOOP","MAINTAINED","MASK","MATCHED","MATERIALIZED","MAXVALUE","MERGE","MICROSECOND","MICROSECONDS","MINPCTUSED","MINUTE","MINUTES","MINVALUE","MIRROR","MIXED","MODE","MODIFIES","MONTH","MONTHS","NAMESPACE","NAN","NATIONAL","NCHAR","NCLOB","NESTED","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZED","NOT","NOTNULL","NTH_VALUE","NTILE","NULL","NULLS","NVARCHAR","OBID","OBJECT","OF","OFF","OFFSET","OLD","OLD_TABLE","OMIT","ON","ONLY","OPEN","OPTIMIZE","OPTION","OR","ORDER","ORDINALITY","ORGANIZE","OUT","OUTER","OVER","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGE","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PATH","PCTFREE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PERIOD","PERMISSION","PIECESIZE","PIPE","PLAN","POSITION","PREPARE","PREVVAL","PRIMARY","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PROGRAMID","QUERY","RANGE","RANK","RATIO_TO_REPORT","RCDFMT","READ","READS","RECOVERY","REFERENCES","REFERENCING","REFRESH","REGEXP_LIKE","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNING","RETURNS","REVOKE","RID","RIGHT","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_NUMBER","ROWNUMBER","ROWS","RRN","RUN","SAVEPOINT","SBCS","SCALAR","SCHEMA","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURED","SELECT","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SET","SIGNAL","SIMPLE","SKIP","SNAN","SOME","SOURCE","SPECIFIC","SQL","SQLID","SQLIND_DEFAULT","SQLIND_UNASSIGNED","STACKED","START","STARTING","STATEMENT","STATIC","STOGROUP","SUBSTRING","SUMMARY","SYNONYM","SYSTEM_TIME","SYSTEM_USER","TABLE","TABLESPACE","TABLESPACES","TAG","THEN","THREADSAFE","TO","TRANSACTION","TRANSFER","TRIGGER","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRY_CAST","TYPE","UNDO","UNION","UNIQUE","UNIT","UNKNOWN","UNNEST","UNTIL","UPDATE","UPDATING","URI","USAGE","USE","USER","USERID","USING","VALUE","VALUES","VARIABLE","VARIANT","VCAT","VERSION","VERSIONING","VIEW","VOLATILE","WAIT","WHEN","WHENEVER","WHERE","WHILE","WITH","WITHIN","WITHOUT","WRAPPED","WRAPPER","WRITE","WRKSTNNAME","XMLAGG","XMLATTRIBUTES","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLGROUP","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROW","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","XSLTRANSFORM","XSROBJECT","YEAR","YEARS","YES","ZONE"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BIT","BLOB","BOOLEAN","CCSID","CHAR","CHARACTER","CLOB","DATA","DATALINK","DATE","DBCLOB","DECFLOAT","DECIMAL","DEC","DOUBLE","DOUBLE PRECISION","FLOAT","GRAPHIC","INT","INTEGER","LONG","NUMERIC","REAL","ROWID","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR","VARGRAPHIC","XML"],reservedFunctionNames:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","EVERY","GROUPING","JSON_ARRAYAGG","JSON_OBJECTAGG","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","SOME","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG","XMLGROUP","ABS","ABSVAL","ACOS","ADD_DAYS","ADD_HOURS","ADD_MINUTES","ADD_MONTHS","ADD_SECONDS","ADD_YEARS","ANTILOG","ARRAY_MAX_CARDINALITY","ARRAY_TRIM","ASCII","ASIN","ATAN","ATAN2","ATANH","BASE64_DECODE","BASE64_ENCODE","BIT_LENGTH","BITAND","BITANDNOT","BITNOT","BITOR","BITXOR","BSON_TO_JSON","CARDINALITY","CEIL","CEILING","CHAR_LENGTH","CHARACTER_LENGTH","CHR","COALESCE","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","COT","CURDATE","CURTIME","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK_ISO","DAYOFWEEK","DAYOFYEAR","DAYS","DBPARTITIONNAME","DBPARTITIONNUM","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DEGREES","DIFFERENCE","DIGITS","DLCOMMENT","DLLINKTYPE","DLURLCOMPLETE","DLURLPATH","DLURLPATHONLY","DLURLSCHEME","DLURLSERVER","DLVALUE","DOUBLE_PRECISION","DOUBLE","ENCRPYT","ENCRYPT_AES","ENCRYPT_AES256","ENCRYPT_RC2","ENCRYPT_TDES","EXP","EXTRACT","FIRST_DAY","FLOOR","GENERATE_UNIQUE","GET_BLOB_FROM_FILE","GET_CLOB_FROM_FILE","GET_DBCLOB_FROM_FILE","GET_XML_FILE","GETHINT","GREATEST","HASH_MD5","HASH_ROW","HASH_SHA1","HASH_SHA256","HASH_SHA512","HASH_VALUES","HASHED_VALUE","HEX","HEXTORAW","HOUR","HTML_ENTITY_DECODE","HTML_ENTITY_ENCODE","HTTP_DELETE_BLOB","HTTP_DELETE","HTTP_GET_BLOB","HTTP_GET","HTTP_PATCH_BLOB","HTTP_PATCH","HTTP_POST_BLOB","HTTP_POST","HTTP_PUT_BLOB","HTTP_PUT","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTERPRET","ISFALSE","ISNOTFALSE","ISNOTTRUE","ISTRUE","JSON_ARRAY","JSON_OBJECT","JSON_QUERY","JSON_TO_BSON","JSON_UPDATE","JSON_VALUE","JULIAN_DAY","LAND","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LNOT","LOCATE_IN_STRING","LOCATE","LOG10","LOR","LOWER","LPAD","LTRIM","MAX_CARDINALITY","MAX","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NORMALIZE_DECFLOAT","NOW","NULLIF","NVL","OCTET_LENGTH","OVERLAY","PI","POSITION","POSSTR","POW","POWER","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND_TIMESTAMP","ROUND","RPAD","RRN","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SOUNDEX","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TABLE_NAME","TABLE_SCHEMA","TAN","TANH","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMPDIFF_BIG","TIMESTAMPDIFF","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TO_TIMESTAMP","TOTALORDER","TRANSLATE","TRIM_ARRAY","TRIM","TRUNC_TIMESTAMP","TRUNC","TRUNCATE","UCASE","UPPER","URL_DECODE","URL_ENCODE","VALUE","VARBINARY_FORMAT","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT_BINARY","VARCHAR_FORMAT","VERIFY_GROUP_FOR_USER","WEEK_ISO","WEEK","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROW","XMLSERIALIZE","XMLTEXT","XMLVALIDATE","XOR","XSLTRANSFORM","YEAR","ZONED","BASE_TABLE","HTTP_DELETE_BLOB_VERBOSE","HTTP_DELETE_VERBOSE","HTTP_GET_BLOB_VERBOSE","HTTP_GET_VERBOSE","HTTP_PATCH_BLOB_VERBOSE","HTTP_PATCH_VERBOSE","HTTP_POST_BLOB_VERBOSE","HTTP_POST_VERBOSE","HTTP_PUT_BLOB_VERBOSE","HTTP_PUT_VERBOSE","JSON_TABLE","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE","UNPACK","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","RATIO_TO_REPORT","ROW_NUMBER","CAST"],nestedBlockComments:!0,extraParens:["[]"],stringTypes:[{quote:"''-qq",prefixes:["G","N"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$",rest:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||","=>"]},formatOptions:{onelineClauses:[...k,...J],tabularOnelineClauses:J}},Q=a(["SELECT [ALL | DISTINCT]"]),z=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL]","HAVING","WINDOW","PARTITION BY","ORDER BY [ALL]","LIMIT","OFFSET","USING SAMPLE","QUALIFY","INSERT [OR REPLACE] INTO","VALUES","DEFAULT VALUES","SET","RETURNING"]),Z=a(["CREATE [OR REPLACE] [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ee=a(["UPDATE","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","TRUNCATE","ALTER TABLE","ADD [COLUMN] [IF NOT EXISTS]","ADD PRIMARY KEY","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","RENAME [COLUMN]","RENAME TO","SET [DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","CREATE [OR REPLACE] [TEMPORARY | TEMP] {MACRO | FUNCTION}","DROP MACRO [TABLE] [IF EXISTS]","DROP FUNCTION [IF EXISTS]","CREATE [UNIQUE] INDEX [IF NOT EXISTS]","DROP INDEX [IF EXISTS]","CREATE [OR REPLACE] SCHEMA [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","CREATE [OR REPLACE] [PERSISTENT | TEMPORARY] SECRET [IF NOT EXISTS]","DROP [PERSISTENT | TEMPORARY] SECRET [IF EXISTS]","CREATE [OR REPLACE] [TEMPORARY | TEMP] SEQUENCE","DROP SEQUENCE [IF EXISTS]","CREATE [OR REPLACE] [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","DROP VIEW [IF EXISTS]","ALTER VIEW","CREATE TYPE","DROP TYPE [IF EXISTS]","ANALYZE","ATTACH [DATABASE] [IF NOT EXISTS]","DETACH [DATABASE] [IF EXISTS]","CALL","[FORCE] CHECKPOINT","COMMENT ON [TABLE | COLUMN | VIEW | INDEX | SEQUENCE | TYPE | MACRO | MACRO TABLE]","COPY [FROM DATABASE]","DESCRIBE","EXPORT DATABASE","IMPORT DATABASE","INSTALL","LOAD","PIVOT","PIVOT_WIDER","UNPIVOT","EXPLAIN [ANALYZE]","SET {LOCAL | SESSION | GLOBAL}","RESET [LOCAL | SESSION | GLOBAL]","{SET | RESET} VARIABLE","SUMMARIZE","BEGIN TRANSACTION","ROLLBACK","COMMIT","ABORT","USE","VACUUM [ANALYZE]","PREPARE","EXECUTE","DEALLOCATE [PREPARE]"]),et=a(["UNION [ALL | BY NAME]","EXCEPT [ALL]","INTERSECT [ALL]"]),eE=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{NATURAL | ASOF} [INNER] JOIN","{NATURAL | ASOF} {LEFT | RIGHT | FULL} [OUTER] JOIN","POSITIONAL JOIN","ANTI JOIN","SEMI JOIN"]),er={name:"duckdb",tokenizerOptions:{reservedSelect:Q,reservedClauses:[...z,...Z,...ee],reservedSetOperations:et,reservedJoins:eE,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN","SIMILAR TO","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a(["TIMESTAMP WITH TIME ZONE"]),supportsXor:!0,reservedKeywords:["ALL","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ATTACH","ASYMMETRIC","BOTH","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","DEFAULT","DEFERRABLE","DESC","DESCRIBE","DETACH","DISTINCT","DO","ELSE","END","EXCEPT","FALSE","FETCH","FOR","FOREIGN","FROM","GRANT","GROUP","HAVING","IN","INITIALLY","INTERSECT","INTO","IS","LATERAL","LEADING","LIMIT","NOT","NULL","OFFSET","ON","ONLY","OR","ORDER","PIVOT","PIVOT_LONGER","PIVOT_WIDER","PLACING","PRIMARY","REFERENCES","RETURNING","SELECT","SHOW","SOME","SUMMARIZE","SYMMETRIC","TABLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","UNPIVOT","USING","VARIADIC","WHEN","WHERE","WINDOW","WITH"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BIT","BITSTRING","BLOB","BOOL","BOOLEAN","BPCHAR","BYTEA","CHAR","DATE","DATETIME","DEC","DECIMAL","DOUBLE","ENUM","FLOAT","FLOAT4","FLOAT8","GUID","HUGEINT","INET","INT","INT1","INT128","INT16","INT2","INT32","INT4","INT64","INT8","INTEGER","INTEGRAL","INTERVAL","JSON","LIST","LOGICAL","LONG","MAP","NUMERIC","NVARCHAR","OID","REAL","ROW","SHORT","SIGNED","SMALLINT","STRING","STRUCT","TEXT","TIME","TIMESTAMP_MS","TIMESTAMP_NS","TIMESTAMP_S","TIMESTAMP_US","TIMESTAMP","TIMESTAMPTZ","TIMETZ","TINYINT","UBIGINT","UHUGEINT","UINT128","UINT16","UINT32","UINT64","UINT8","UINTEGER","UNION","USMALLINT","UTINYINT","UUID","VARBINARY","VARCHAR"],reservedFunctionNames:["ABS","ACOS","ADD","ADD_PARQUET_KEY","AGE","AGGREGATE","ALIAS","ALL_PROFILING_OUTPUT","ANY_VALUE","APPLY","APPROX_COUNT_DISTINCT","APPROX_QUANTILE","ARBITRARY","ARGMAX","ARGMIN","ARG_MAX","ARG_MAX_NULL","ARG_MIN","ARG_MIN_NULL","ARRAY_AGG","ARRAY_AGGR","ARRAY_AGGREGATE","ARRAY_APPEND","ARRAY_APPLY","ARRAY_CAT","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COSINE_SIMILARITY","ARRAY_CROSS_PRODUCT","ARRAY_DISTANCE","ARRAY_DISTINCT","ARRAY_DOT_PRODUCT","ARRAY_EXTRACT","ARRAY_FILTER","ARRAY_GRADE_UP","ARRAY_HAS","ARRAY_HAS_ALL","ARRAY_HAS_ANY","ARRAY_INDEXOF","ARRAY_INNER_PRODUCT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_POP_BACK","ARRAY_POP_FRONT","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUSH_BACK","ARRAY_PUSH_FRONT","ARRAY_REDUCE","ARRAY_RESIZE","ARRAY_REVERSE","ARRAY_REVERSE_SORT","ARRAY_SELECT","ARRAY_SLICE","ARRAY_SORT","ARRAY_TO_JSON","ARRAY_TO_STRING","ARRAY_TRANSFORM","ARRAY_UNIQUE","ARRAY_VALUE","ARRAY_WHERE","ARRAY_ZIP","ARROW_SCAN","ARROW_SCAN_DUMB","ASCII","ASIN","ATAN","ATAN2","AVG","BASE64","BIN","BITSTRING","BITSTRING_AGG","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_POSITION","BIT_XOR","BOOL_AND","BOOL_OR","CARDINALITY","CBRT","CEIL","CEILING","CENTURY","CHECKPOINT","CHR","COLLATIONS","COL_DESCRIPTION","COMBINE","CONCAT","CONCAT_WS","CONSTANT_OR_NULL","CONTAINS","COPY_DATABASE","CORR","COS","COT","COUNT","COUNT_IF","COUNT_STAR","COVAR_POP","COVAR_SAMP","CREATE_SORT_KEY","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_DATE","CURRENT_LOCALTIME","CURRENT_LOCALTIMESTAMP","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SETTING","CURRENT_USER","CURRVAL","DAMERAU_LEVENSHTEIN","DATABASE_LIST","DATABASE_SIZE","DATEDIFF","DATEPART","DATESUB","DATETRUNC","DATE_ADD","DATE_DIFF","DATE_PART","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECADE","DECODE","DEGREES","DISABLE_CHECKPOINT_ON_SHUTDOWN","DISABLE_OBJECT_CACHE","DISABLE_OPTIMIZER","DISABLE_PRINT_PROGRESS_BAR","DISABLE_PROFILE","DISABLE_PROFILING","DISABLE_PROGRESS_BAR","DISABLE_VERIFICATION","DISABLE_VERIFY_EXTERNAL","DISABLE_VERIFY_FETCH_ROW","DISABLE_VERIFY_PARALLELISM","DISABLE_VERIFY_SERIALIZER","DIVIDE","DUCKDB_COLUMNS","DUCKDB_CONSTRAINTS","DUCKDB_DATABASES","DUCKDB_DEPENDENCIES","DUCKDB_EXTENSIONS","DUCKDB_FUNCTIONS","DUCKDB_INDEXES","DUCKDB_KEYWORDS","DUCKDB_MEMORY","DUCKDB_OPTIMIZERS","DUCKDB_SCHEMAS","DUCKDB_SECRETS","DUCKDB_SEQUENCES","DUCKDB_SETTINGS","DUCKDB_TABLES","DUCKDB_TEMPORARY_FILES","DUCKDB_TYPES","DUCKDB_VIEWS","EDIT","EDITDIST3","ELEMENT_AT","ENABLE_CHECKPOINT_ON_SHUTDOWN","ENABLE_OBJECT_CACHE","ENABLE_OPTIMIZER","ENABLE_PRINT_PROGRESS_BAR","ENABLE_PROFILE","ENABLE_PROFILING","ENABLE_PROGRESS_BAR","ENABLE_VERIFICATION","ENCODE","ENDS_WITH","ENTROPY","ENUM_CODE","ENUM_FIRST","ENUM_LAST","ENUM_RANGE","ENUM_RANGE_BOUNDARY","EPOCH","EPOCH_MS","EPOCH_NS","EPOCH_US","ERA","ERROR","EVEN","EXP","FACTORIAL","FAVG","FDIV","FILTER","FINALIZE","FIRST","FLATTEN","FLOOR","FMOD","FORCE_CHECKPOINT","FORMAT","FORMATREADABLEDECIMALSIZE","FORMATREADABLESIZE","FORMAT_BYTES","FORMAT_PG_TYPE","FORMAT_TYPE","FROM_BASE64","FROM_BINARY","FROM_HEX","FROM_JSON","FROM_JSON_STRICT","FSUM","FUNCTIONS","GAMMA","GCD","GENERATE_SERIES","GENERATE_SUBSCRIPTS","GEN_RANDOM_UUID","GEOMEAN","GEOMETRIC_MEAN","GETENV","GET_BIT","GET_BLOCK_SIZE","GET_CURRENT_TIME","GET_CURRENT_TIMESTAMP","GLOB","GRADE_UP","GREATEST","GREATEST_COMMON_DIVISOR","GROUP_CONCAT","HAMMING","HASH","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","HEX","HISTOGRAM","HOUR","ICU_CALENDAR_NAMES","ICU_SORT_KEY","ILIKE_ESCAPE","IMPORT_DATABASE","INDEX_SCAN","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","INSTR","IN_SEARCH_PATH","ISFINITE","ISINF","ISNAN","ISODOW","ISOYEAR","JACCARD","JARO_SIMILARITY","JARO_WINKLER_SIMILARITY","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_CONTAINS","JSON_DESERIALIZE_SQL","JSON_EXECUTE_SERIALIZED_SQL","JSON_EXTRACT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_EXTRACT_STRING","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_GROUP_STRUCTURE","JSON_KEYS","JSON_MERGE_PATCH","JSON_OBJECT","JSON_QUOTE","JSON_SERIALIZE_PLAN","JSON_SERIALIZE_SQL","JSON_STRUCTURE","JSON_TRANSFORM","JSON_TRANSFORM_STRICT","JSON_TYPE","JSON_VALID","JULIAN","KAHAN_SUM","KURTOSIS","KURTOSIS_POP","LAST","LAST_DAY","LCASE","LCM","LEAST","LEAST_COMMON_MULTIPLE","LEFT","LEFT_GRAPHEME","LEN","LENGTH","LENGTH_GRAPHEME","LEVENSHTEIN","LGAMMA","LIKE_ESCAPE","LIST","LISTAGG","LIST_AGGR","LIST_AGGREGATE","LIST_ANY_VALUE","LIST_APPEND","LIST_APPLY","LIST_APPROX_COUNT_DISTINCT","LIST_AVG","LIST_BIT_AND","LIST_BIT_OR","LIST_BIT_XOR","LIST_BOOL_AND","LIST_BOOL_OR","LIST_CAT","LIST_CONCAT","LIST_CONTAINS","LIST_COSINE_SIMILARITY","LIST_COUNT","LIST_DISTANCE","LIST_DISTINCT","LIST_DOT_PRODUCT","LIST_ELEMENT","LIST_ENTROPY","LIST_EXTRACT","LIST_FILTER","LIST_FIRST","LIST_GRADE_UP","LIST_HAS","LIST_HAS_ALL","LIST_HAS_ANY","LIST_HISTOGRAM","LIST_INDEXOF","LIST_INNER_PRODUCT","LIST_INTERSECT","LIST_KURTOSIS","LIST_KURTOSIS_POP","LIST_LAST","LIST_MAD","LIST_MAX","LIST_MEDIAN","LIST_MIN","LIST_MODE","LIST_PACK","LIST_POSITION","LIST_PREPEND","LIST_PRODUCT","LIST_REDUCE","LIST_RESIZE","LIST_REVERSE","LIST_REVERSE_SORT","LIST_SELECT","LIST_SEM","LIST_SKEWNESS","LIST_SLICE","LIST_SORT","LIST_STDDEV_POP","LIST_STDDEV_SAMP","LIST_STRING_AGG","LIST_SUM","LIST_TRANSFORM","LIST_UNIQUE","LIST_VALUE","LIST_VAR_POP","LIST_VAR_SAMP","LIST_WHERE","LIST_ZIP","LN","LOG","LOG10","LOG2","LOWER","LPAD","LSMODE","LTRIM","MAD","MAKE_DATE","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_EXTRACT","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","MAX","MAX_BY","MD5","MD5_NUMBER","MD5_NUMBER_LOWER","MD5_NUMBER_UPPER","MEAN","MEDIAN","METADATA_INFO","MICROSECOND","MILLENNIUM","MILLISECOND","MIN","MINUTE","MIN_BY","MISMATCHES","MOD","MODE","MONTH","MONTHNAME","MULTIPLY","NEXTAFTER","NEXTVAL","NFC_NORMALIZE","NOT_ILIKE_ESCAPE","NOT_LIKE_ESCAPE","NOW","NULLIF","OBJ_DESCRIPTION","OCTET_LENGTH","ORD","PARQUET_FILE_METADATA","PARQUET_KV_METADATA","PARQUET_METADATA","PARQUET_SCAN","PARQUET_SCHEMA","PARSE_DIRNAME","PARSE_DIRPATH","PARSE_FILENAME","PARSE_PATH","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONVERSION_IS_VISIBLE","PG_FUNCTION_IS_VISIBLE","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IS_OTHER_TEMP_SCHEMA","PG_MY_TEMP_SCHEMA","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_POSTMASTER_START_TIME","PG_SIZE_PRETTY","PG_TABLE_IS_VISIBLE","PG_TIMEZONE_NAMES","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","PI","PLATFORM","POSITION","POW","POWER","PRAGMA_COLLATIONS","PRAGMA_DATABASE_SIZE","PRAGMA_METADATA_INFO","PRAGMA_PLATFORM","PRAGMA_SHOW","PRAGMA_STORAGE_INFO","PRAGMA_TABLE_INFO","PRAGMA_USER_AGENT","PRAGMA_VERSION","PREFIX","PRINTF","PRODUCT","QUANTILE","QUANTILE_CONT","QUANTILE_DISC","QUARTER","RADIANS","RANDOM","RANGE","READFILE","READ_BLOB","READ_CSV","READ_CSV_AUTO","READ_JSON","READ_JSON_AUTO","READ_JSON_OBJECTS","READ_JSON_OBJECTS_AUTO","READ_NDJSON","READ_NDJSON_AUTO","READ_NDJSON_OBJECTS","READ_PARQUET","READ_TEXT","REDUCE","REGEXP_ESCAPE","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_FULL_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REPEAT","REPEAT_ROW","REPLACE","RESERVOIR_QUANTILE","REVERSE","RIGHT","RIGHT_GRAPHEME","ROUND","ROUNDBANKERS","ROUND_EVEN","ROW","ROW_TO_JSON","RPAD","RTRIM","SECOND","SEM","SEQ_SCAN","SESSION_USER","SETSEED","SET_BIT","SHA256","SHA3","SHELL_ADD_SCHEMA","SHELL_ESCAPE_CRNL","SHELL_IDQUOTE","SHELL_MODULE_SCHEMA","SHELL_PUTSNL","SHOBJ_DESCRIPTION","SHOW","SHOW_DATABASES","SHOW_TABLES","SHOW_TABLES_EXPANDED","SIGN","SIGNBIT","SIN","SKEWNESS","SNIFF_CSV","SPLIT","SPLIT_PART","SQL_AUTO_COMPLETE","SQRT","STARTS_WITH","STATS","STDDEV","STDDEV_POP","STDDEV_SAMP","STORAGE_INFO","STRFTIME","STRING_AGG","STRING_SPLIT","STRING_SPLIT_REGEX","STRING_TO_ARRAY","STRIP_ACCENTS","STRLEN","STRPOS","STRPTIME","STRUCT_EXTRACT","STRUCT_INSERT","STRUCT_PACK","STR_SPLIT","STR_SPLIT_REGEX","SUBSTR","SUBSTRING","SUBSTRING_GRAPHEME","SUBTRACT","SUFFIX","SUM","SUMKAHAN","SUMMARY","SUM_NO_OVERFLOW","TABLE_INFO","TAN","TEST_ALL_TYPES","TEST_VECTOR_TYPES","TIMEZONE","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIME_BUCKET","TODAY","TO_BASE","TO_BASE64","TO_BINARY","TO_CENTURIES","TO_DAYS","TO_DECADES","TO_HEX","TO_HOURS","TO_JSON","TO_MICROSECONDS","TO_MILLENNIA","TO_MILLISECONDS","TO_MINUTES","TO_MONTHS","TO_SECONDS","TO_TIMESTAMP","TO_WEEKS","TO_YEARS","TRANSACTION_TIMESTAMP","TRANSLATE","TRIM","TRUNC","TRY_STRPTIME","TXID_CURRENT","TYPEOF","UCASE","UNBIN","UNHEX","UNICODE","UNION_EXTRACT","UNION_TAG","UNION_VALUE","UNNEST","UNPIVOT_LIST","UPPER","USER","USER_AGENT","UUID","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_TYPE","VERIFY_EXTERNAL","VERIFY_FETCH_ROW","VERIFY_PARALLELISM","VERIFY_SERIALIZER","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","WHICH_SECRET","WRITEFILE","XOR","YEAR","YEARWEEK","CAST","COALESCE","RANK","ROW_NUMBER"],nestedBlockComments:!0,extraParens:["[]","{}"],underscoresInNumbers:!0,stringTypes:["$$","''-qq",{quote:"''-qq-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{rest:"$"},paramTypes:{positional:!0,numbered:["$"],quoted:["$"]},operators:["//","%","**","^","!","&","|","~","<<",">>","::","==","->","->>",":",":=","=>","~~","!~~","~~*","!~~*","~~~","~","!~","~*","!~*","^@","||",">>=","<<="]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...Z,...ee],tabularOnelineClauses:ee}},en=a(["SELECT [ALL | DISTINCT]"]),eo=a(["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"]),ei=a(["CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),ea=a(["CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","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"]),eT=a(["UNION [ALL | DISTINCT]"]),es=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),eA={name:"hive",tokenizerOptions:{reservedSelect:en,reservedClauses:[...eo,...ei,...ea],reservedSetOperations:eT,reservedJoins:es,reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","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","ALL","ALTER","AND","AS","AUTHORIZATION","BETWEEN","BOTH","BY","CASE","CAST","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DELETE","DESCRIBE","DISTINCT","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INTERSECT","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","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","TABLE","TABLESAMPLE","THEN","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","VIEWS","TIME","SYNC","TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BOOLEAN","CHAR","DATE","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","MAP","NUMERIC","PRECISION","SMALLINT","STRUCT","TIMESTAMP","VARCHAR"],reservedFunctionNames:["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_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY","BINARY","CAST","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","ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL","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","MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N","AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION","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","EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK","LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:[...ei,...ea],tabularOnelineClauses:ea}};function eR(e){return e.map((t,E)=>{let n=e[E+1]||C;if(_.SET(t)&&"("===n.text)return Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME});let o=e[E-1]||C;return _.VALUES(t)&&"="===o.text?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):t})}let eS=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eO=a(["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","ON DUPLICATE KEY UPDATE","SET","RETURNING"]),eI=a(["CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]"]),el=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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"]),ec=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eN=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eu={name:"mariadb",tokenizerOptions:{reservedSelect:eS,reservedClauses:[...eO,...eI,...el],reservedSetOperations:ec,reservedJoins:eN,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO_DOMAIN_IDS","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERAL","GRANT","GROUP","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INTERSECT","INTERVAL","INTO","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LOOP","LOW_PRIORITY","MASTER_HEARTBEAT_PERIOD","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NULL","OFFSET","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PAGE_CHECKSUM","PARSE_VCOL_EXPR","PARTITION","POSITION","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READS","READ_WRITE","RECURSIVE","REF_SYSTEM_ID","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","RETURNING","REVOKE","RIGHT","RLIKE","ROW_NUMBER","ROWS","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SLOW","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STRAIGHT_JOIN","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","CHAR BYTE","CHAR","CHARACTER","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONG","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["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"],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:eR},formatOptions:{onelineClauses:[...eI,...el],tabularOnelineClauses:el}},eC=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eL=a(["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","ON DUPLICATE KEY UPDATE","SET"]),e_=a(["CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),ed=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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"]),ef=a(["UNION [ALL | DISTINCT]"]),eD=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eP={name:"mysql",tokenizerOptions:{reservedSelect:eC,reservedClauses:[...eL,...e_,...ed],reservedSetOperations:ef,reservedJoins:eD,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","IN","INTERSECT","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","BOOL","BOOLEAN","CHAR","CHARACTER","DATE","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["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","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"],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:eR},formatOptions:{onelineClauses:[...e_,...ed],tabularOnelineClauses:ed}},ep=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eh=a(["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","ON DUPLICATE KEY UPDATE","SET"]),eM=a(["CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),em=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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 INSTANCE","ALTER RESOURCE GROUP","ALTER SEQUENCE","ALTER USER","ALTER VIEW","ANALYZE TABLE","CHECK TABLE","CHECKSUM TABLE","COMMIT","CREATE DATABASE","CREATE INDEX","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SEQUENCE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP INDEX","DROP RESOURCE GROUP","DROP ROLE","DROP TABLESPACE","DROP USER","DROP VIEW","EXPLAIN","FLUSH","GRANT","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOCK INSTANCE FOR BACKUP","LOCK TABLES","OPTIMIZE TABLE","PREPARE","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","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 TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE"]),eU=a(["UNION [ALL | DISTINCT]"]),eg=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),ey={name:"tidb",tokenizerOptions:{reservedSelect:ep,reservedClauses:[...eh,...eM,...em],reservedSetOperations:eU,reservedJoins:eg,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","ALL","ALTER","ANALYZE","AND","ARRAY","AS","ASC","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERATED","GRANT","GROUP","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","ILIKE","IN","INDEX","INFILE","INNER","INOUT","INSERT","INTERSECT","INTERVAL","INTO","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LOW_PRIORITY","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","NATURAL","NOT","NO_WRITE_TO_BINLOG","NULL","OF","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PRIMARY","PROCEDURE","RANGE","READ","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESTRICT","REVOKE","RIGHT","RLIKE","ROW","ROWS","SECOND_MICROSECOND","SELECT","SET","SHOW","SPATIAL","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STATS_EXTENDED","STORED","STRAIGHT_JOIN","TABLE","TABLESAMPLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","TiDB_CURRENT_TSO","UNION","UNIQUE","UNLOCK","UNSIGNED","UNTIL","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","BOOL","BOOLEAN","CHAR","CHARACTER","DATE","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","BITAND","BITNEG","BITOR","BITXOR","CASE","CAST","CEIL","CEILING","CHAR_FUNC","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_RESOURCE_GROUP","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT_FUNC","DEGREES","DENSE_RANK","DES_DECRYPT","DES_ENCRYPT","DIV","ELT","ENCODE","ENCRYPT","EQ","EXP","EXPORT_SET","EXTRACT","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_NANO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GE","GET_FORMAT","GET_LOCK","GETPARAM","GREATEST","GROUP_CONCAT","GROUPING","GT","HEX","HOUR","IF","IFNULL","ILIKE","INET6_ATON","INET6_NTOA","INET_ATON","INET_NTOA","INSERT_FUNC","INSTR","INTDIV","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IS_UUID","ISFALSE","ISNULL","ISTRUE","JSON_ARRAY","JSON_ARRAYAGG","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MEMBEROF","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LASTVAL","LCASE","LE","LEAD","LEAST","LEFT","LEFTSHIFT","LENGTH","LIKE","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LT","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MD5","MICROSECOND","MID","MIN","MINUS","MINUTE","MOD","MONTH","MONTHNAME","MUL","NAME_CONST","NE","NEXTVAL","NOT","NOW","NTH_VALUE","NTILE","NULLEQ","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","PASSWORD_FUNC","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","PLUS","POSITION","POW","POWER","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","RIGHTSHIFT","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SETVAL","SETVAR","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SM3","SPACE","SQRT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIDB_BOUNDED_STALENESS","TIDB_CURRENT_TSO","TIDB_DECODE_BINARY_PLAN","TIDB_DECODE_KEY","TIDB_DECODE_PLAN","TIDB_DECODE_SQL_DIGESTS","TIDB_ENCODE_SQL_DIGEST","TIDB_IS_DDL_OWNER","TIDB_PARSE_TSO","TIDB_PARSE_TSO_LOGICAL","TIDB_ROW_CHECKSUM","TIDB_SHARD","TIDB_VERSION","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRANSLATE","TRIM","TRUNCATE","UCASE","UNARYMINUS","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPPER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VAR_POP","VAR_SAMP","VARIANCE","VERSION","VITESS_HASH","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK"],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:eR},formatOptions:{onelineClauses:[...eM,...em],tabularOnelineClauses:em}},eG=a(["SELECT [ALL | DISTINCT]"]),eb=a(["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"]),ev=a(["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"]),eH=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),eF=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),eB={name:"n1ql",tokenizerOptions:{reservedSelect:eG,reservedClauses:[...eb,...ev],reservedSetOperations:eH,reservedJoins:eF,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["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","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","ISOLATION","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"],reservedDataTypes:[],reservedFunctionNames:["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"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:ev}},eY=a(["SELECT [ALL | DISTINCT | UNIQUE]"]),eV=a(["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","RETURNING"]),ex=a(["CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE"]),eW=a(["CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","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"]),ew=a(["UNION [ALL]","MINUS","INTERSECT"]),eX=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eK={name:"plsql",tokenizerOptions:{reservedSelect:eY,reservedClauses:[...eV,...ex,...eW],reservedSetOperations:ew,reservedJoins:eX,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DAY","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","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","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","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","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","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","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","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],reservedDataTypes:["ARRAY","BFILE_BASE","BINARY","BLOB_BASE","CHAR VARYING","CHAR_BASE","CHAR","CHARACTER VARYING","CHARACTER","CLOB_BASE","DATE_BASE","DATE","DECIMAL","DOUBLE","FLOAT","INT","INTERVAL DAY","INTERVAL YEAR","LONG","NATIONAL CHAR VARYING","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHARACTER","NCHAR VARYING","NCHAR","NCHAR","NUMBER_BASE","NUMBER","NUMBERIC","NVARCHAR","PRECISION","RAW","TIMESTAMP","UROWID","VARCHAR","VARCHAR2"],reservedFunctionNames:["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","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","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","GREATEST","LEAST","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","BFILENAME","EMPTY_BLOB,","EMPTY_CLOB","CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET","SYS_CONNECT_BY_PATH","CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET","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","DECODE","DUMP","ORA_HASH","VSIZE","COALESCE","LNNVL","NULLIF","NVL","NVL2","SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV","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","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER","DEREF","MAKE_REF","REF","REFTOHEX","VALUE","CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],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:[":"]},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=C;return e.map(e=>_.SET(e)&&_.BY(t)?Object.assign(Object.assign({},e),{type:r.RESERVED_KEYWORD}):(d(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:[...ex,...eW],tabularOnelineClauses:eW}},ek=a(["SELECT [ALL | DISTINCT]"]),eJ=a(["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","DEFAULT VALUES","SET","RETURNING"]),ej=a(["CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]"]),e$=a(["CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","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 ON","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE [OR REPLACE] AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE [DEFAULT] CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE [OR REPLACE] FUNCTION","CREATE GROUP","CREATE [UNIQUE] INDEX","CREATE [OR REPLACE] [TRUSTED] [PROCEDURAL] LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE [OR REPLACE] PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE [OR REPLACE] RULE","CREATE SCHEMA [AUTHORIZATION]","CREATE [TEMPORARY | TEMP | UNLOGGED] 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 [OR REPLACE] TRANSFORM","CREATE [OR REPLACE] [CONSTRAINT] 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 IDENTITY","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW [IF EXISTS]","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","OVERRIDING SYSTEM VALUE","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET [ALL|ROLE|SESSION AUTHORIZATION]","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"]),eq=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eQ=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ez={name:"postgresql",tokenizerOptions:{reservedSelect:ek,reservedClauses:[...eJ,...ej,...e$],reservedSetOperations:eq,reservedJoins:eQ,reservedKeywordPhrases:a(["PRIMARY KEY","GENERATED {ALWAYS | BY DEFAULT} AS IDENTITY","ON {UPDATE | DELETE} [NO ACTION | RESTRICT | CASCADE | SET NULL | SET DEFAULT]","DO {NOTHING | UPDATE}","AS MATERIALIZED","{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM","NULLS {FIRST | LAST}","WITH ORDINALITY"]),reservedDataTypePhrases:a(["[TIMESTAMP | TIME] {WITH | WITHOUT} TIME ZONE"]),reservedKeywords:["ALL","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASYMMETRIC","AUTHORIZATION","BETWEEN","BINARY","BOTH","CASE","CAST","CHECK","COLLATE","COLLATION","COLUMN","CONCURRENTLY","CONSTRAINT","CREATE","CROSS","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DAY","DEFAULT","DEFERRABLE","DESC","DISTINCT","DO","ELSE","END","EXCEPT","EXISTS","FALSE","FETCH","FILTER","FOR","FOREIGN","FREEZE","FROM","FULL","GRANT","GROUP","HAVING","HOUR","ILIKE","IN","INITIALLY","INNER","INOUT","INTERSECT","INTO","IS","ISNULL","JOIN","LATERAL","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","MINUTE","MONTH","NATURAL","NOT","NOTNULL","NULL","NULLIF","OFFSET","ON","ONLY","OR","ORDER","OUT","OUTER","OVER","OVERLAPS","PLACING","PRIMARY","REFERENCES","RETURNING","RIGHT","ROW","SECOND","SELECT","SESSION_USER","SIMILAR","SOME","SYMMETRIC","TABLE","TABLESAMPLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","USER","USING","VALUES","VARIADIC","VERBOSE","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","YEAR"],reservedDataTypes:["ARRAY","BIGINT","BIT","BIT VARYING","BOOL","BOOLEAN","CHAR","CHARACTER","CHARACTER VARYING","DECIMAL","DEC","DOUBLE","ENUM","FLOAT","INT","INTEGER","INTERVAL","NCHAR","NUMERIC","JSON","JSONB","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TIMESTAMPTZ","UUID","VARCHAR","XML","ZONE"],reservedFunctionNames:["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","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","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","BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP","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_FIRST","ENUM_LAST","ENUM_RANGE","AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH","ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TRUNC","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","GEN_RANDOM_UUID","UUIDV4","UUIDV7","UUID_EXTRACT_TIMESTAMP","UUID_EXTRACT_VERSION","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","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","CURRVAL","LASTVAL","NEXTVAL","SETVAL","COALESCE","GREATEST","LEAST","NULLIF","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","ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF","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","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER","GENERATE_SERIES","GENERATE_SUBSCRIPTS","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","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","SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN","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","PG_MCV_LIST_ITEMS","CAST"],nestedBlockComments:!0,extraParens:["[]"],underscoresInNumbers:!0,stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-qq-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","^@","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::",":","<#>","<=>","<+>","<~>","<%>"],operatorKeyword:!0},formatOptions:{alwaysDenseOperators:["::",":"],onelineClauses:[...ej,...e$],tabularOnelineClauses:e$}},eZ=a(["SELECT [ALL | DISTINCT]"]),e0=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET"]),e1=a(["CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),e2=a(["CREATE [OR REPLACE | MATERIALIZED] VIEW","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","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"]),e5=a(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e6=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e4={name:"redshift",tokenizerOptions:{reservedSelect:eZ,reservedClauses:[...e0,...e1,...e2],reservedSetOperations:e5,reservedJoins:e6,reservedKeywordPhrases:a(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","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","ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS","COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE","FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC","ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN","BZIP2","GZIP","LZOP","ZSTD","MANIFEST","READRATIO","REGION","SSH","RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K","CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],reservedDataTypes:["ARRAY","BIGINT","BPCHAR","CHAR","CHARACTER VARYING","CHARACTER","DECIMAL","INT","INT2","INT4","INT8","INTEGER","NCHAR","NUMERIC","NVARCHAR","SMALLINT","TEXT","VARBYTE","VARCHAR"],reservedFunctionNames:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP","array_concat","array_flatten","get_array_length","split_to_array","subarray","BIT_AND","BIT_OR","BOOL_AND","BOOL_OR","COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF","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","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","CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2","HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE","IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE","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","EXPLAIN_MODEL","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","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","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","CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT","CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG","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"],extraParens:["[]"],stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...e1,...e2],tabularOnelineClauses:e2}},e8=a(["SELECT [ALL | DISTINCT]"]),e3=a(["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"]),e9=a(["CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e7=a(["CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","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"]),te=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tt=a(["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"]),tE={name:"spark",tokenizerOptions:{reservedSelect:e8,reservedClauses:[...e3,...e9,...e7],reservedSetOperations:te,reservedJoins:tt,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","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","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","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","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","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BOOLEAN","BYTE","CHAR","DATE","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","LONG","MAP","NUMERIC","REAL","SHORT","SMALLINT","STRING","STRUCT","TIMESTAMP_LTZ","TIMESTAMP_NTZ","TIMESTAMP","TINYINT","VARCHAR"],reservedFunctionNames:["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","CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER","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","ELEMENT_AT","ELEMENT_AT","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP","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","FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON","ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIN","BIT_COUNT","BIT_GET","BIT_LENGTH","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DEGREES","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","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","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","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","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","COALESCE","NULLIF"],extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],identChars:{allowFirstCharNumber:!0},variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,E)=>{let n=e[E-1]||C,o=e[E+1]||C;return _.WINDOW(t)&&o.type===r.OPEN_PAREN?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):"ITEMS"===t.text&&t.type===r.RESERVED_KEYWORD&&("COLLECTION"!==n.text||"TERMINATED"!==o.text)?Object.assign(Object.assign({},t),{type:r.IDENTIFIER,text:t.raw}):t})}},formatOptions:{onelineClauses:[...e9,...e7],tabularOnelineClauses:e7}},tr=a(["SELECT [ALL | DISTINCT]"]),tn=a(["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","RETURNING"]),to=a(["CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ti=a(["CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","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"]),ta=a(["UNION [ALL]","EXCEPT","INTERSECT"]),tT=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ts={name:"sqlite",tokenizerOptions:{reservedSelect:tr,reservedClauses:[...tn,...to,...ti],reservedSetOperations:ta,reservedJoins:tT,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","DO UPDATE"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ARE","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","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"],reservedDataTypes:["ANY","ARRAY","BLOB","CHARACTER","DECIMAL","INT","INTEGER","NATIVE CHARACTER","NCHAR","NUMERIC","NVARCHAR","REAL","TEXT","VARCHAR","VARYING CHARACTER"],reservedFunctionNames:["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","AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL","DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME","row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value","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_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"],stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:[...to,...ti],tabularOnelineClauses:ti}},tA=a(["SELECT [ALL | DISTINCT]"]),tR=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET"]),tS=a(["CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tO=a(["CREATE [RECURSIVE] VIEW","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"]),tI=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tl=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tc={name:"sql",tokenizerOptions:{reservedSelect:tA,reservedClauses:[...tR,...tS,...tO],reservedSetOperations:tI,reservedJoins:tl,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ALL","ALLOCATE","ALTER","ANY","ARE","AS","ASC","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHECK","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","DEALLOCATE","DAY","DECLARE","DEFAULT","DELETE","DEREF","DESC","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INTERSECT","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","NATURAL","NEW","NO","NONE","NOT","NULL","NULLIF","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","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"],reservedDataTypes:["ARRAY","BIGINT","BINARY LARGE OBJECT","BINARY VARYING","BINARY","BLOB","BOOLEAN","CHAR LARGE OBJECT","CHAR VARYING","CHAR","CHARACTER LARGE OBJECT","CHARACTER VARYING","CHARACTER","CLOB","DATE","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","MULTISET","NATIONAL CHAR VARYING","NATIONAL CHAR","NATIONAL CHARACTER LARGE OBJECT","NATIONAL CHARACTER VARYING","NATIONAL CHARACTER","NCHAR LARGE OBJECT","NCHAR VARYING","NCHAR","NCLOB","NUMERIC","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR"],reservedFunctionNames:["GROUPING","RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER","POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET","SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE","CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP","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","COALESCE","NULLIF","ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:[...tS,...tO],tabularOnelineClauses:tO}},tN=a(["SELECT [ALL | DISTINCT]"]),tu=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tC=a(["CREATE TABLE [IF NOT EXISTS]"]),tL=a(["CREATE [OR REPLACE] [MATERIALIZED] VIEW","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","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"]),t_=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),td=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tf={name:"trino",tokenizerOptions:{reservedSelect:tN,reservedClauses:[...tu,...tC,...tL],reservedSetOperations:t_,reservedJoins:td,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","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"],reservedDataTypes:["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"],reservedFunctionNames:["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","CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"],extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:[...tC,...tL],tabularOnelineClauses:tL}},tD=a(["SELECT [ALL | DISTINCT]"]),tP=a(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","FOR {BROWSE | XML | JSON}","OPTION","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET"]),tp=a(["CREATE TABLE"]),th=a(["CREATE [OR ALTER] [MATERIALIZED] VIEW","UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","CREATE [UNIQUE] [CLUSTERED] INDEX","CREATE DATABASE","ALTER DATABASE","DROP DATABASE [IF EXISTS]","CREATE [OR ALTER] [PARTITION] {FUNCTION | PROCEDURE | PROC}","ALTER [PARTITION] {FUNCTION | PROCEDURE | PROC}","DROP [PARTITION] {FUNCTION | PROCEDURE | PROC} [IF EXISTS]","GO","USE","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","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","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 SCHEME","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"]),tM=a(["UNION [ALL]","EXCEPT","INTERSECT"]),tm=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tU={name:"transactsql",tokenizerOptions:{reservedSelect:tD,reservedClauses:[...tP,...tp,...th],reservedSetOperations:tM,reservedJoins:tm,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","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","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","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","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT","$ACTION"],reservedDataTypes:["BINARY","BIT","CHAR","CHAR","CHARACTER","DATE","DATETIME2","DATETIMEOFFSET","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","NATIONAL","NCHAR","NUMERIC","NVARCHAR","PRECISION","REAL","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR"],reservedFunctionNames:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","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_ROWS","@@FETCH_STATUS","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","@@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","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","@@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","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","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","ASCII","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER","$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","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","COALESCE","NULLIF"],nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]},"{}"],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::",":"],propertyAccessOperators:[".."]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...tp,...th],tabularOnelineClauses:th}},tg=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),ty=a(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","ON DUPLICATE KEY UPDATE","SET","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tG=a(["CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]"]),tb=a(["CREATE VIEW","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"]),tv=a(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),tH=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tF={name:"singlestoredb",tokenizerOptions:{reservedSelect:tg,reservedClauses:[...ty,...tG,...tb],reservedSetOperations:tv,reservedJoins:tH,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),reservedKeywords:["ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","_BINARY","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","EXTRA_JOIN","FALSE","FETCH","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREIGN","FROM","FULL","FULLTEXT","GRANT","GROUP","HAVING","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","IN","_INTERNAL_DYNAMIC_TYPECAST","INTERSECT","INTERVAL","INTO","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LOOP","LOW_PRIORITY","MATCH","MAXVALUE","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NO_QUERY_REWRITE","NOT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NULL","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READS","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESTRICT","RETURN","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SEMI_JOIN","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SPATIAL","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STRAIGHT_JOIN","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNBOUNDED","UNDO","UNION","UNIQUE","UNLOCK","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VALUES","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","CHAR","CHARACTER","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONG","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","UNSIGNED","VARBINARY","VARCHAR","VARCHARACTER","YEAR"],reservedFunctionNames:["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","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR"],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:eR},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:[...tG,...tb],tabularOnelineClauses:tb}},tB=a(["SELECT [ALL | DISTINCT]"]),tY=a(["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","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"]),tV=a(["CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]"]),tx=a(["CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","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"]),tW=a(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),tw=a(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),tX={name:"snowflake",tokenizerOptions:{reservedSelect:tB,reservedClauses:[...tY,...tV,...tx],reservedSetOperations:tW,reservedJoins:tw,reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","COMMENT"],reservedDataTypes:["NUMBER","DECIMAL","NUMERIC","INT","INTEGER","BIGINT","SMALLINT","TINYINT","BYTEINT","FLOAT","FLOAT4","FLOAT8","DOUBLE","DOUBLE PRECISION","REAL","VARCHAR","CHAR","CHARACTER","STRING","TEXT","BINARY","VARBINARY","BOOLEAN","DATE","DATETIME","TIME","TIMESTAMP","TIMESTAMP_LTZ","TIMESTAMP_NTZ","TIMESTAMP","TIMESTAMP_TZ","VARIANT","OBJECT","ARRAY","GEOGRAPHY","GEOMETRY"],reservedFunctionNames:["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","FILTER","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","GREATEST_IGNORE_NULLS","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","IDENTIFIER","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"],stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||","=>",":=","->"],propertyAccessOperators:[":"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...tV,...tx],tabularOnelineClauses:tx}},tK=e=>e[e.length-1],tk=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),tJ=e=>e.replace(/\s+/gu," "),tj=e=>/\n/.test(e),t$=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),tq=/\s+/uy,tQ=e=>RegExp(`(?:${e})`,"uy"),tz=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),tZ=(e,t=[])=>{let E=+("open"!==e);return tQ(["()",...t].map(e=>e[E]).map(t$).join("|"))},t0=e=>tQ(`${tk(e).map(t$).join("|")}`),t1=(e,t={})=>{if(0===e.length)return/^\b$/u;let E=(({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"")(t),r=tk(e).map(t$).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${r})${E}\\b`,"iuy")},t2=(e,t)=>{if(!e.length)return;let E=e.map(t$).join("|");return tQ(`(?:${E})(?:${t})`)},t5={"``":"(?:`[^`]*`)+","[]":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,t$(e)).replace(/{right}/g,t$(t))),E=t$(Object.keys(e).join("")),r=String.raw`(?[^\s${E}])(?:(?!\k').)*?\k`;return`[Qq]'(?:${r}|${t.join("|")})'`})()},t6=e=>"string"==typeof e?t5[e]:"regex"in e?e.regex:(({prefixes:e,requirePrefix:t})=>`(?:${e.map(tz).join("|")}${t?"":"|"})`)(e)+t5[e.quote],t4=e=>e.map(t6).join("|"),t8=e=>tQ(t4(e)),t3=({first:e,rest:t,dashes:E,allowFirstCharNumber:r}={})=>{let n="\\p{Alphabetic}\\p{Mark}_",o="\\p{Decimal_Number}",i=t$(null!=e?e:""),a=t$(null!=t?t:""),T=r?`[${n}${o}${i}][${n}${o}${a}]*`:`[${n}${i}][${n}${o}${a}]*`;return E?(e=>e+"(?:-"+e+")*")(T):T};function t9(e,t){let E=e.slice(0,t).split(/\n/);return{line:E.length,col:E[E.length-1].length+1}}class t7{constructor(e,t){this.rules=e,this.dialectName=t,this.input="",this.index=0}tokenize(e){let t;this.input=e,this.index=0;let E=[];for(;this.index0;)if(t=this.matchSection(Ee,e))E+=t,r++;else if(t=this.matchSection(EE,e))E+=t,r--;else{if(!(t=this.matchSection(Et,e)))return null;E+=t}return[E]}matchSection(e,t){e.lastIndex=this.lastIndex;let E=e.exec(t);return E&&(this.lastIndex+=E[0].length),E?E[0]:null}}class En{constructor(e,t){this.cfg=e,this.dialectName=t,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let E=new t7([...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],this.dialectName).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(E):E}buildRulesBeforeParams(e){var t,E,n;let o;return this.validRules([{type:r.DISABLE_COMMENT,regex:/(\/\* *sql-formatter-disable *\*\/[\s\S]*?(?:\/\* *sql-formatter-enable *\*\/|$))/uy},{type:r.BLOCK_COMMENT,regex:e.nestedBlockComments?new Er:/(\/\*[^]*?\*\/)/uy},{type:r.LINE_COMMENT,regex:(o=null!=(t=e.lineCommentTypes)?t:["--"],RegExp(`(?:${o.map(t$).join("|")}).*?(?=\r -|\r| -|$)`,"uy"))},{type:r.QUOTED_IDENTIFIER,regex:t8(e.identTypes)},{type:r.NUMBER,regex:e.underscoresInNumbers?/(?:0x[0-9a-fA-F_]+|0b[01_]+|(?:-\s*)?(?:[0-9_]*\.[0-9_]+|[0-9_]+(?:\.[0-9_]*)?)(?:[eE][-+]?[0-9_]+(?:\.[0-9_]+)?)?)(?![\w\p{Alphabetic}])/uy:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?(?:[0-9]*\.[0-9]+|[0-9]+(?:\.[0-9]*)?)(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?![\w\p{Alphabetic}])/uy},{type:r.RESERVED_KEYWORD_PHRASE,regex:t1(null!=(E=e.reservedKeywordPhrases)?E:[],e.identChars),text:Eo},{type:r.RESERVED_DATA_TYPE_PHRASE,regex:t1(null!=(n=e.reservedDataTypePhrases)?n:[],e.identChars),text:Eo},{type:r.CASE,regex:/CASE\b/iuy,text:Eo},{type:r.END,regex:/END\b/iuy,text:Eo},{type:r.BETWEEN,regex:/BETWEEN\b/iuy,text:Eo},{type:r.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:Eo},{type:r.RESERVED_CLAUSE,regex:t1(e.reservedClauses,e.identChars),text:Eo},{type:r.RESERVED_SELECT,regex:t1(e.reservedSelect,e.identChars),text:Eo},{type:r.RESERVED_SET_OPERATION,regex:t1(e.reservedSetOperations,e.identChars),text:Eo},{type:r.WHEN,regex:/WHEN\b/iuy,text:Eo},{type:r.ELSE,regex:/ELSE\b/iuy,text:Eo},{type:r.THEN,regex:/THEN\b/iuy,text:Eo},{type:r.RESERVED_JOIN,regex:t1(e.reservedJoins,e.identChars),text:Eo},{type:r.AND,regex:/AND\b/iuy,text:Eo},{type:r.OR,regex:/OR\b/iuy,text:Eo},{type:r.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:Eo},...e.operatorKeyword?[{type:r.OPERATOR,regex:/OPERATOR *\([^)]+\)/iuy}]:[],{type:r.RESERVED_FUNCTION_NAME,regex:t1(e.reservedFunctionNames,e.identChars),text:Eo},{type:r.RESERVED_DATA_TYPE,regex:t1(e.reservedDataTypes,e.identChars),text:Eo},{type:r.RESERVED_KEYWORD,regex:t1(e.reservedKeywords,e.identChars),text:Eo}])}buildRulesAfterParams(e){var t,E;return this.validRules([{type:r.VARIABLE,regex:e.variableTypes?tQ(e.variableTypes.map(e=>"regex"in e?e.regex:t6(e)).join("|")):void 0},{type:r.STRING,regex:t8(e.stringTypes)},{type:r.IDENTIFIER,regex:((e={})=>tQ(t3(e)))(e.identChars)},{type:r.DELIMITER,regex:/[;]/uy},{type:r.COMMA,regex:/[,]/y},{type:r.OPEN_PAREN,regex:tZ("open",e.extraParens)},{type:r.CLOSE_PAREN,regex:tZ("close",e.extraParens)},{type:r.OPERATOR,regex:t0(["+","-","/",">","<","=","<>","<=",">=","!=",...null!=(t=e.operators)?t:[]])},{type:r.ASTERISK,regex:/[*]/uy},{type:r.PROPERTY_ACCESS_OPERATOR,regex:t0([".",...null!=(E=e.propertyAccessOperators)?E:[]])}])}buildParamRules(e,t){var E,n,o,i,a;let T={named:(null==t?void 0:t.named)||(null==(E=e.paramTypes)?void 0:E.named)||[],quoted:(null==t?void 0:t.quoted)||(null==(n=e.paramTypes)?void 0:n.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null==(o=e.paramTypes)?void 0:o.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null==(i=e.paramTypes)?void 0:i.positional,custom:(null==t?void 0:t.custom)||(null==(a=e.paramTypes)?void 0:a.custom)||[]};return this.validRules([{type:r.NAMED_PARAMETER,regex:t2(T.named,t3(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:r.QUOTED_PARAMETER,regex:t2(T.quoted,t4(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t$("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:r.NUMBERED_PARAMETER,regex:t2(T.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:r.POSITIONAL_PARAMETER,regex:T.positional?/[?]/y:void 0},...T.custom.map(e=>{var t;return{type:r.CUSTOM_PARAMETER,regex:tQ(e.regex),key:null!=(t=e.key)?t:e=>e}})])}validRules(e){return e.filter(e=>!!e.regex)}}let Eo=e=>tJ(e.toUpperCase()),Ei=new Map,Ea=e=>{var t;return{alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0])),tabularOnelineClauses:Object.fromEntries((null!=(t=e.tabularOnelineClauses)?t:e.onelineClauses).map(e=>[e,!0]))}};function ET(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class Es{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 EA=E(25898);let ER=(e,t,E)=>{if(d(e.type)){let n=Ec(E,t);if(n&&n.type===r.PROPERTY_ACCESS_OPERATOR)return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw});let o=EN(E,t);if(o&&o.type===r.PROPERTY_ACCESS_OPERATOR)return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw})}return e},ES=(e,t,E)=>{if(e.type===r.RESERVED_FUNCTION_NAME){let n=EN(E,t);if(!n||!Eu(n))return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw})}return e},EO=(e,t,E)=>{if(e.type===r.RESERVED_DATA_TYPE){let n=EN(E,t);if(n&&Eu(n))return Object.assign(Object.assign({},e),{type:r.RESERVED_PARAMETERIZED_DATA_TYPE})}return e},EI=(e,t,E)=>{if(e.type===r.IDENTIFIER){let n=EN(E,t);if(n&&EC(n))return Object.assign(Object.assign({},e),{type:r.ARRAY_IDENTIFIER})}return e},El=(e,t,E)=>{if(e.type===r.RESERVED_DATA_TYPE){let n=EN(E,t);if(n&&EC(n))return Object.assign(Object.assign({},e),{type:r.ARRAY_KEYWORD})}return e},Ec=(e,t)=>EN(e,t,-1),EN=(e,t,E=1)=>{let r=1;for(;e[t+r*E]&&EL(e[t+r*E]);)r++;return e[t+r*E]},Eu=e=>e.type===r.OPEN_PAREN&&"("===e.text,EC=e=>e.type===r.OPEN_PAREN&&"["===e.text,EL=e=>e.type===r.BLOCK_COMMENT||e.type===r.LINE_COMMENT;class E_{constructor(e){this.tokenize=e,this.index=0,this.tokens=[],this.input=""}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:E}=t9(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${E}`}has(e){return e in r}}function Ed(e){return e[0]}!function(e){e.statement="statement",e.clause="clause",e.set_operation="set_operation",e.function_call="function_call",e.parameterized_data_type="parameterized_data_type",e.array_subscript="array_subscript",e.property_access="property_access",e.parenthesis="parenthesis",e.between_predicate="between_predicate",e.case_expression="case_expression",e.case_when="case_when",e.case_else="case_else",e.limit_clause="limit_clause",e.all_columns_asterisk="all_columns_asterisk",e.literal="literal",e.identifier="identifier",e.keyword="keyword",e.data_type="data_type",e.parameter="parameter",e.operator="operator",e.comma="comma",e.line_comment="line_comment",e.block_comment="block_comment",e.disable_comment="disable_comment"}(n=n||(n={}));let Ef=new E_(e=>[]),ED=([[e]])=>e,EP=e=>({type:n.keyword,tokenType:e.type,text:e.text,raw:e.raw}),Ep=e=>({type:n.data_type,text:e.text,raw:e.raw}),Eh=(e,{leading:t,trailing:E})=>((null==t?void 0:t.length)&&(e=Object.assign(Object.assign({},e),{leadingComments:t})),(null==E?void 0:E.length)&&(e=Object.assign(Object.assign({},e),{trailingComments:E})),e),EM={Lexer:Ef,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:[Ef.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[Ef.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:n.statement,children:e,hasSemicolon:t.type===r.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:ED},{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:[Ef.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:Ed},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[Ef.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,E,r])=>{if(!r)return{type:n.limit_clause,limitKw:Eh(EP(e),{trailing:t}),count:E};{let[o,i]=r;return{type:n.limit_clause,limitKw:Eh(EP(e),{trailing:t}),offset:E,count:i}}}},{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:[Ef.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,E]])=>({type:n.clause,nameKw:EP(e),children:[t,...E]})},{name:"select_clause",symbols:[Ef.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:n.clause,nameKw:EP(e),children:[]})},{name:"all_columns_asterisk",symbols:[Ef.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:n.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:[Ef.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:n.clause,nameKw:EP(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:[Ef.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:n.set_operation,nameKw:EP(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:Ed},{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])=>Eh(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>Eh(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>Eh(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:ED},{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:["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:ED},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:ED},{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:ED},{name:"asteriskless_andless_expression$subexpression$1",symbols:["atomic_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:ED},{name:"atomic_expression$subexpression$1",symbols:["array_subscript"]},{name:"atomic_expression$subexpression$1",symbols:["function_call"]},{name:"atomic_expression$subexpression$1",symbols:["property_access"]},{name:"atomic_expression$subexpression$1",symbols:["parenthesis"]},{name:"atomic_expression$subexpression$1",symbols:["curly_braces"]},{name:"atomic_expression$subexpression$1",symbols:["square_brackets"]},{name:"atomic_expression$subexpression$1",symbols:["operator"]},{name:"atomic_expression$subexpression$1",symbols:["identifier"]},{name:"atomic_expression$subexpression$1",symbols:["parameter"]},{name:"atomic_expression$subexpression$1",symbols:["literal"]},{name:"atomic_expression$subexpression$1",symbols:["data_type"]},{name:"atomic_expression$subexpression$1",symbols:["keyword"]},{name:"atomic_expression",symbols:["atomic_expression$subexpression$1"],postprocess:ED},{name:"array_subscript",symbols:[Ef.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,E])=>({type:n.array_subscript,array:Eh({type:n.identifier,quoted:!1,text:e.text},{trailing:t}),parenthesis:E})},{name:"array_subscript",symbols:[Ef.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,E])=>({type:n.array_subscript,array:Eh(EP(e),{trailing:t}),parenthesis:E})},{name:"function_call",symbols:[Ef.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,E])=>({type:n.function_call,nameKw:Eh(EP(e),{trailing:t}),parenthesis:E})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,E])=>({type:n.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,E])=>({type:n.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,E])=>({type:n.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$subexpression$1",symbols:["parameter"]},{name:"property_access",symbols:["atomic_expression","_",Ef.has("PROPERTY_ACCESS_OPERATOR")?{type:"PROPERTY_ACCESS_OPERATOR"}:PROPERTY_ACCESS_OPERATOR,"_","property_access$subexpression$1"],postprocess:([e,t,E,r,[o]])=>({type:n.property_access,object:Eh(e,{trailing:t}),operator:E.text,property:Eh(o,{leading:r})})},{name:"between_predicate",symbols:[Ef.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",Ef.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,E,r,o,i,a])=>({type:n.between_predicate,betweenKw:EP(e),expr1:((e,{leading:t,trailing:E})=>{if(null==t?void 0:t.length){let[E,...r]=e;e=[Eh(E,{leading:t}),...r]}return(null==E?void 0:E.length)&&(e=[...e.slice(0,-1),Eh(e[e.length-1],{trailing:E})]),e})(E,{leading:t,trailing:r}),andKw:EP(o),expr2:[Eh(a,{leading:i})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:Ed},{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:[Ef.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",Ef.has("END")?{type:"END"}:END],postprocess:([e,t,E,r,o])=>({type:n.case_expression,caseKw:Eh(EP(e),{trailing:t}),endKw:EP(o),expr:E||[],clauses:r})},{name:"case_clause",symbols:[Ef.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",Ef.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,E,r,o,i])=>({type:n.case_when,whenKw:Eh(EP(e),{trailing:t}),thenKw:Eh(EP(r),{trailing:o}),condition:E,result:i})},{name:"case_clause",symbols:[Ef.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,E])=>({type:n.case_else,elseKw:Eh(EP(e),{trailing:t}),result:E})},{name:"comma$subexpression$1",symbols:[Ef.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:n.comma})},{name:"asterisk$subexpression$1",symbols:[Ef.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:n.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[Ef.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:n.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[Ef.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[Ef.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[Ef.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:n.identifier,quoted:"IDENTIFIER"!==e.type,text:e.text})},{name:"parameter$subexpression$1",symbols:[Ef.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:n.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[Ef.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[Ef.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:n.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_KEYWORD_PHRASE")?{type:"RESERVED_KEYWORD_PHRASE"}:RESERVED_KEYWORD_PHRASE]},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>EP(e)},{name:"data_type$subexpression$1",symbols:[Ef.has("RESERVED_DATA_TYPE")?{type:"RESERVED_DATA_TYPE"}:RESERVED_DATA_TYPE]},{name:"data_type$subexpression$1",symbols:[Ef.has("RESERVED_DATA_TYPE_PHRASE")?{type:"RESERVED_DATA_TYPE_PHRASE"}:RESERVED_DATA_TYPE_PHRASE]},{name:"data_type",symbols:["data_type$subexpression$1"],postprocess:([[e]])=>Ep(e)},{name:"data_type",symbols:[Ef.has("RESERVED_PARAMETERIZED_DATA_TYPE")?{type:"RESERVED_PARAMETERIZED_DATA_TYPE"}:RESERVED_PARAMETERIZED_DATA_TYPE,"_","parenthesis"],postprocess:([e,t,E])=>({type:n.parameterized_data_type,dataType:Eh(Ep(e),{trailing:t}),parenthesis:E})},{name:"logic_operator$subexpression$1",symbols:[Ef.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[Ef.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[Ef.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>EP(e)},{name:"other_keyword$subexpression$1",symbols:[Ef.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>EP(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:[Ef.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:n.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[Ef.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:n.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[Ef.has("DISABLE_COMMENT")?{type:"DISABLE_COMMENT"}:DISABLE_COMMENT],postprocess:([e])=>({type:n.disable_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:Em,Grammar:EU}=EA;!function(e){e[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"}(o=o||(o={}));class Eg{constructor(e){this.indentation=e,this.items=[]}add(...e){for(let t of e)switch(t){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(t)}}trimHorizontalWhitespace(){for(;Ey(tK(this.items));)this.items.pop()}trimWhitespace(){for(;EG(tK(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(tK(this.items)){case o.NEWLINE:this.items.pop(),this.items.push(e);break;case o.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 o.SPACE:return" ";case o.NEWLINE:case o.MANDATORY_NEWLINE:return"\n";case o.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let Ey=e=>e===o.SPACE||e===o.SINGLE_INDENT,EG=e=>e===o.SPACE||e===o.SINGLE_INDENT||e===o.NEWLINE;function Eb(e,t){if("standard"===t)return e;let E=[];return e.length>=10&&e.includes(" ")&&([e,...E]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...E].join(" ")}function Ev(e){return e===r.AND||e===r.OR||e===r.XOR||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.LIMIT}let EH="top-level";class EF{constructor(e){this.indent=e,this.indentTypes=[]}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(EH)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&tK(this.indentTypes)===EH&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0&&this.indentTypes.pop()===EH;);}}class EB extends Eg{constructor(e){super(new EF("")),this.expressionWidth=e,this.length=0,this.trailingSpace=!1}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new EY;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===o.MANDATORY_NEWLINE||e===o.NEWLINE)throw new EY;else e===o.INDENT||e===o.SINGLE_INDENT||e===o.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===o.NO_NEWLINE||e===o.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class EY extends Error{}class EV{constructor({cfg:e,dialectCfg:t,params:E,layout:r,inline:n=!1}){this.inline=!1,this.nodes=[],this.index=-1,this.cfg=e,this.dialectCfg=t,this.inline=n,this.params=E,this.layout=r}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showFunctionKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatParameterizedDataType(e){this.withComments(e.dataType,()=>{this.layout.add(this.showDataType(e.dataType))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){let t;switch(e.array.type){case n.data_type:t=this.showDataType(e.array);break;case n.keyword:t=this.showKw(e.array);break;default:t=this.showIdentifier(e.array)}this.withComments(e.array,()=>{this.layout.add(t)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(o.NO_SPACE,e.operator),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(o.NO_SPACE,e.closeParen,o.SPACE)):(this.layout.add(e.openParen,o.NEWLINE),ET(this.cfg)?(this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(o.NEWLINE,o.INDENT,e.closeParen,o.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),o.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(o.NO_SPACE,o.SPACE,this.showNonTabularKw(e.andKw),o.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(o.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(o.NEWLINE,o.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(o.NEWLINE,o.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(o.NEWLINE,o.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):ET(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return ET(this.cfg)?this.dialectCfg.tabularOnelineClauses[e.nameKw.text]:this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.NEWLINE),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),ET(this.cfg)?this.layout.add(o.SPACE):this.layout.add(o.NEWLINE,o.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(o.NO_SPACE,",",o.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",o.SPACE)}formatLiteral(e){this.layout.add(e.text,o.SPACE)}formatIdentifier(e){this.layout.add(this.showIdentifier(e),o.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),o.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(o.NO_SPACE,e):":"===e?this.layout.add(o.NO_SPACE,e,o.SPACE):this.layout.add(e,o.SPACE)}formatComma(e){this.inline?this.layout.add(o.NO_SPACE,",",o.SPACE):this.layout.add(o.NO_SPACE,",",o.NEWLINE,o.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===n.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){tj(e.precedingWhitespace||"")?this.layout.add(o.NEWLINE,o.INDENT,e.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(o.NO_NEWLINE,o.SPACE,e.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.add(e.text,o.MANDATORY_NEWLINE,o.INDENT)}formatBlockComment(e){e.type===n.block_comment&&this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(o.NEWLINE,o.INDENT,e)}),this.layout.add(o.NEWLINE,o.INDENT)):this.layout.add(e.text,o.SPACE)}isMultilineBlockComment(e){return tj(e.text)||tj(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(tK(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 EV({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 EV({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new EB(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof EY)return void this.params.setPositionalParameterIndex(t);throw e}}formatKeywordNode(e){switch(e.tokenType){case r.RESERVED_JOIN:return this.formatJoin(e);case r.AND:case r.OR:case r.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){ET(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),o.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?ET(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE):this.layout.add(this.showKw(e),o.NEWLINE,o.INDENT)}formatDataType(e){this.layout.add(this.showDataType(e),o.SPACE)}showKw(e){return Ev(e.tokenType)?Eb(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}showFunctionKw(e){return Ev(e.tokenType)?Eb(this.showNonTabularFunctionKw(e),this.cfg.indentStyle):this.showNonTabularFunctionKw(e)}showNonTabularFunctionKw(e){switch(this.cfg.functionCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}showIdentifier(e){if(e.quoted)return e.text;switch(this.cfg.identifierCase){case"preserve":return e.text;case"upper":return e.text.toUpperCase();case"lower":return e.text.toLowerCase()}}showDataType(e){switch(this.cfg.dataTypeCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class Ex{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new Es(this.cfg.params)}format(e){let t=this.parse(e);return this.formatAst(t).trimEnd()}parse(e){return(function(e){let t={},E=new E_(E=>[...e.tokenize(E,t).map(ER).map(ES).map(EO).map(EI).map(El),u(E.length)]),r=new Em(EU.fromCompiled(EM),{lexer:E});return{parse:(e,E)=>{t=E;let{results:n}=r.feed(e);if(1===n.length)return n[0];if(0===n.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar -${JSON.stringify(n,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){var t;let E=new EV({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new Eg(new EF("tabularLeft"===(t=this.cfg).indentStyle||"tabularRight"===t.indentStyle?" ".repeat(10):t.useTabs?" ":" ".repeat(t.tabWidth)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?E.add(o.NEWLINE,";"):E.add(o.NO_NEWLINE,";")),E.toString()}}class EW extends Error{}var Ew=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let EX={bigquery:"bigquery",clickhouse:"clickhouse",db2:"db2",db2i:"db2i",duckdb:"duckdb",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",tidb:"tidb",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},EK=Object.keys(EX),Ek={tabWidth:2,useTabs:!1,keywordCase:"preserve",identifierCase:"preserve",dataTypeCase:"preserve",functionCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},EJ=(e,t={})=>{if("string"==typeof t.language&&!EK.includes(t.language))throw new EW(`Unsupported SQL dialect: ${t.language}`);let E=EX[t.language||"sql"];return Ej(e,Object.assign(Object.assign({},t),{dialect:i[E]}))},Ej=(e,t)=>{var{dialect:E}=t,r=Ew(t,["dialect"]);if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let n=function(e){var t,E;for(let t of["multilineLists","newlineBeforeOpenParen","newlineBeforeCloseParen","aliasAs","commaPosition","tabulateAlias"])if(t in e)throw new EW(`${t} config is no more supported.`);if(e.expressionWidth<=0)throw new EW(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if(e.params&&!((t=e.params)instanceof Array?t:Object.values(t)).every(e=>"string"==typeof e)&&console.warn('WARNING: All "params" option values should be strings.'),e.paramTypes&&!(!((E=e.paramTypes).custom&&Array.isArray(E.custom))||E.custom.every(e=>""!==e.regex)))throw new EW("Empty regex given in custom paramTypes. That would result in matching infinite amount of parameters.");return e}(Object.assign(Object.assign({},Ek),r));return new Ex((e=>{let t=Ei.get(e);return t||(t=(e=>({tokenizer:new En(e.tokenizerOptions,e.name),formatOptions:Ea(e.formatOptions)}))(e),Ei.set(e,t)),t})(E),n).format(e)}},22801:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(12115);function n(e,t,E){var n=r.useRef({});return(!("value"in n.current)||E(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}},23464:(e,t,E)=>{"use strict";E.d(t,{A:()=>tr});var r,n,o={};function i(e,t){return function(){return e.apply(t,arguments)}}E.r(o),E.d(o,{hasBrowserEnv:()=>eA,hasStandardBrowserEnv:()=>eS,hasStandardBrowserWebWorkerEnv:()=>eO,navigator:()=>eR,origin:()=>eI});var a=E(49509);let{toString:T}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:A,toStringTag:R}=Symbol,S=(e=>t=>{let E=T.call(t);return e[E]||(e[E]=E.slice(8,-1).toLowerCase())})(Object.create(null)),O=e=>(e=e.toLowerCase(),t=>S(t)===e),I=e=>t=>typeof t===e,{isArray:l}=Array,c=I("undefined");function N(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&L(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let u=O("ArrayBuffer"),C=I("string"),L=I("function"),_=I("number"),d=e=>null!==e&&"object"==typeof e,f=e=>{if("object"!==S(e))return!1;let t=s(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(R in e)&&!(A in e)},D=O("Date"),P=O("File"),p=O("Blob"),h=O("FileList"),M=O("URLSearchParams"),[m,U,g,y]=["ReadableStream","Request","Response","Headers"].map(O);function G(e,t,{allOwnKeys:E=!1}={}){let r,n;if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(r=0,n=e.length;r0;)if(t===(E=r[n]).toLowerCase())return E;return null}let v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,H=e=>!c(e)&&e!==v,F=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&s(Uint8Array)),B=O("HTMLFormElement"),Y=(({hasOwnProperty:e})=>(t,E)=>e.call(t,E))(Object.prototype),V=O("RegExp"),x=(e,t)=>{let E=Object.getOwnPropertyDescriptors(e),r={};G(E,(E,n)=>{let o;!1!==(o=t(E,n,e))&&(r[n]=o||E)}),Object.defineProperties(e,r)},W=O("AsyncFunction"),w=(r="function"==typeof setImmediate,n=L(v.postMessage),r?setImmediate:n?((e,t)=>(v.addEventListener("message",({source:E,data:r})=>{E===v&&r===e&&t.length&&t.shift()()},!1),E=>{t.push(E),v.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(v):void 0!==a&&a.nextTick||w,K={isArray:l,isArrayBuffer:u,isBuffer:N,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||L(e.append)&&("formdata"===(t=S(e))||"object"===t&&L(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:C,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:d,isPlainObject:f,isEmptyObject:e=>{if(!d(e)||N(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:m,isRequest:U,isResponse:g,isHeaders:y,isUndefined:c,isDate:D,isFile:P,isBlob:p,isRegExp:V,isFunction:L,isStream:e=>d(e)&&L(e.pipe),isURLSearchParams:M,isTypedArray:F,isFileList:h,forEach:G,merge:function e(){let{caseless:t,skipUndefined:E}=H(this)&&this||{},r={},n=(n,o)=>{let i=t&&b(r,o)||o;f(r[i])&&f(n)?r[i]=e(r[i],n):f(n)?r[i]=e({},n):l(n)?r[i]=n.slice():E&&c(n)||(r[i]=n)};for(let e=0,t=arguments.length;e(G(t,(t,r)=>{E&&L(t)?Object.defineProperty(e,r,{value:i(t,E),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,E,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),E&&Object.assign(e.prototype,E)},toFlatObject:(e,t,E,r)=>{let n,o,i,a={};if(t=t||{},null==e)return t;do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)i=n[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=!1!==E&&s(e)}while(e&&(!E||E(e,t))&&e!==Object.prototype);return t},kindOf:S,kindOfTest:O,endsWith:(e,t,E)=>{e=String(e),(void 0===E||E>e.length)&&(E=e.length),E-=t.length;let r=e.indexOf(t,E);return -1!==r&&r===E},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!_(t))return null;let E=Array(t);for(;t-- >0;)E[t]=e[t];return E},forEachEntry:(e,t)=>{let E,r=(e&&e[A]).call(e);for(;(E=r.next())&&!E.done;){let r=E.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let E,r=[];for(;null!==(E=e.exec(t));)r.push(E);return r},isHTMLForm:B,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:x,freezeMethods:e=>{x(e,(t,E)=>{if(L(e)&&-1!==["arguments","caller","callee"].indexOf(E))return!1;if(L(e[E])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+E+"'")})}})},toObjectSet:(e,t)=>{let E={};return(l(e)?e:String(e).split(t)).forEach(e=>{E[e]=!0}),E},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,E){return t.toUpperCase()+E}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:b,global:v,isContextDefined:H,isSpecCompliantForm:function(e){return!!(e&&L(e.append)&&"FormData"===e[R]&&e[A])},toJSONObject:e=>{let t=Array(10),E=(e,r)=>{if(d(e)){if(t.indexOf(e)>=0)return;if(N(e))return e;if(!("toJSON"in e)){t[r]=e;let n=l(e)?[]:{};return G(e,(e,t)=>{let o=E(e,r+1);c(o)||(n[t]=o)}),t[r]=void 0,n}}return e};return E(e,0)},isAsyncFn:W,isThenable:e=>e&&(d(e)||L(e))&&L(e.then)&&L(e.catch),setImmediate:w,asap:X,isIterable:e=>null!=e&&L(e[A])};class k extends Error{static from(e,t,E,r,n,o){let i=new k(e.message,t||e.code,E,r,n);return i.cause=e,i.name=e.name,o&&Object.assign(i,o),i}constructor(e,t,E,r,n){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),E&&(this.config=E),r&&(this.request=r),n&&(this.response=n,this.status=n.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}}k.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",k.ERR_BAD_OPTION="ERR_BAD_OPTION",k.ECONNABORTED="ECONNABORTED",k.ETIMEDOUT="ETIMEDOUT",k.ERR_NETWORK="ERR_NETWORK",k.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",k.ERR_DEPRECATED="ERR_DEPRECATED",k.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",k.ERR_BAD_REQUEST="ERR_BAD_REQUEST",k.ERR_CANCELED="ERR_CANCELED",k.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",k.ERR_INVALID_URL="ERR_INVALID_URL";let J=k;var j=E(49641).Buffer;function $(e){return K.isPlainObject(e)||K.isArray(e)}function q(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,E){return e?e.concat(t).map(function(e,t){return e=q(e),!E&&t?"["+e+"]":e}).join(E?".":""):t}let z=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)}),Z=function(e,t,E){if(!K.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(E=K.toFlatObject(E,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!K.isUndefined(t[e])})).metaTokens,n=E.visitor||s,o=E.dots,i=E.indexes,a=(E.Blob||"undefined"!=typeof Blob&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(n))throw TypeError("visitor must be a function");function T(e){if(null===e)return"";if(K.isDate(e))return e.toISOString();if(K.isBoolean(e))return e.toString();if(!a&&K.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(e)||K.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):j.from(e):e}function s(e,E,n){let a=e;if(e&&!n&&"object"==typeof e)if(K.endsWith(E,"{}"))E=r?E:E.slice(0,-2),e=JSON.stringify(e);else{var s;if(K.isArray(e)&&(s=e,K.isArray(s)&&!s.some($))||(K.isFileList(e)||K.endsWith(E,"[]"))&&(a=K.toArray(e)))return E=q(E),a.forEach(function(e,r){K.isUndefined(e)||null===e||t.append(!0===i?Q([E],r,o):null===i?E:E+"[]",T(e))}),!1}return!!$(e)||(t.append(Q(n,E,o),T(e)),!1)}let A=[],R=Object.assign(z,{defaultVisitor:s,convertValue:T,isVisitable:$});if(!K.isObject(e))throw TypeError("data must be an object");return!function e(E,r){if(!K.isUndefined(E)){if(-1!==A.indexOf(E))throw Error("Circular reference detected in "+r.join("."));A.push(E),K.forEach(E,function(E,o){!0===(!(K.isUndefined(E)||null===E)&&n.call(t,E,K.isString(o)?o.trim():o,r,R))&&e(E,r?r.concat(o):[o])}),A.pop()}}(e),t};function ee(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function et(e,t){this._pairs=[],e&&Z(e,this,t)}let eE=et.prototype;function er(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function en(e,t,E){let r;if(!t)return e;let n=E&&E.encode||er,o=K.isFunction(E)?{serialize:E}:E,i=o&&o.serialize;if(r=i?i(t,o):K.isURLSearchParams(t)?t.toString():new et(t,o).toString(n)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}eE.append=function(e,t){this._pairs.push([e,t])},eE.toString=function(e){let t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eo{constructor(){this.handlers=[]}use(e,t,E){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!E&&E.synchronous,runWhen:E?E.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(t){null!==t&&e(t)})}}let ei={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ea="undefined"!=typeof URLSearchParams?URLSearchParams:et,eT="undefined"!=typeof FormData?FormData:null,es="undefined"!=typeof Blob?Blob:null,eA="undefined"!=typeof window&&"undefined"!=typeof document,eR="object"==typeof navigator&&navigator||void 0,eS=eA&&(!eR||0>["ReactNative","NativeScript","NS"].indexOf(eR.product)),eO="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eI=eA&&window.location.href||"http://localhost",el={...o,isBrowser:!0,classes:{URLSearchParams:ea,FormData:eT,Blob:es},protocols:["http","https","file","blob","url","data"]},ec=function(e){if(K.isFormData(e)&&K.isFunction(e.entries)){let t={};return K.forEachEntry(e,(e,E)=>{!function e(t,E,r,n){let o=t[n++];if("__proto__"===o)return!0;let i=Number.isFinite(+o),a=n>=t.length;return(o=!o&&K.isArray(r)?r.length:o,a)?K.hasOwnProp(r,o)?r[o]=[r[o],E]:r[o]=E:(r[o]&&K.isObject(r[o])||(r[o]=[]),e(t,E,r[o],n)&&K.isArray(r[o])&&(r[o]=function(e){let t,E,r={},n=Object.keys(e),o=n.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),E,t,0)}),t}return null},eN={transitional:ei,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let E,r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=K.isObject(e);if(o&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return n?JSON.stringify(ec(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var i,a;return(i=e,a=this.formSerializer,Z(i,new el.classes.URLSearchParams,{visitor:function(e,t,E,r){return el.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...a})).toString()}if((E=K.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return Z(E?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||n){t.setContentType("application/json",!1);var T=e;if(K.isString(T))try{return(0,JSON.parse)(T),K.trim(T)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(T)}return e}],transformResponse:[function(e){let t=this.transitional||eN.transitional,E=t&&t.forcedJSONParsing,r="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(E&&!this.responseType||r)){let E=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!E&&r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:el.classes.FormData,Blob:el.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{eN.headers[e]={}});let eu=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eC=Symbol("internals");function eL(e){return e&&String(e).trim().toLowerCase()}function e_(e){return!1===e||null==e?e:K.isArray(e)?e.map(e_):String(e)}function ed(e,t,E,r,n){if(K.isFunction(r))return r.call(this,t,E);if(n&&(t=E),K.isString(t)){if(K.isString(r))return -1!==t.indexOf(r);if(K.isRegExp(r))return r.test(t)}}class ef{constructor(e){e&&this.set(e)}set(e,t,E){let r=this;function n(e,t,E){let n=eL(t);if(!n)throw Error("header name must be a non-empty string");let o=K.findKey(r,n);o&&void 0!==r[o]&&!0!==E&&(void 0!==E||!1===r[o])||(r[o||t]=e_(e))}let o=(e,t)=>K.forEach(e,(e,E)=>n(e,E,t));if(K.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let r;if(K.isString(e)&&(e=e.trim())&&(r=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim())))o((e=>{let t,E,r,n={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),E=e.substring(r+1).trim(),!t||n[t]&&eu[t]||("set-cookie"===t?n[t]?n[t].push(E):n[t]=[E]:n[t]=n[t]?n[t]+", "+E:E)}),n})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let E={},r,n;for(let t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");E[n=t[0]]=(r=E[n])?K.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}o(E,t)}else null!=e&&n(t,e,E)}return this}get(e,t){if(e=eL(e)){let E=K.findKey(this,e);if(E){let e=this[E];if(!t)return e;if(!0===t){let t,E=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)E[t[1]]=t[2];return E}if(K.isFunction(t))return t.call(this,e,E);if(K.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eL(e)){let E=K.findKey(this,e);return!!(E&&void 0!==this[E]&&(!t||ed(this,this[E],E,t)))}return!1}delete(e,t){let E=this,r=!1;function n(e){if(e=eL(e)){let n=K.findKey(E,e);n&&(!t||ed(E,E[n],n,t))&&(delete E[n],r=!0)}}return K.isArray(e)?e.forEach(n):n(e),r}clear(e){let t=Object.keys(this),E=t.length,r=!1;for(;E--;){let n=t[E];(!e||ed(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let t=this,E={};return K.forEach(this,(r,n)=>{let o=K.findKey(E,n);if(o){t[o]=e_(r),delete t[n];return}let i=e?n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,E)=>t.toUpperCase()+E):String(n).trim();i!==n&&delete t[n],t[i]=e_(r),E[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return K.forEach(this,(E,r)=>{null!=E&&!1!==E&&(t[r]=e&&K.isArray(E)?E.join(", "):E)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let E=new this(e);return t.forEach(e=>E.set(e)),E}static accessor(e){let t=(this[eC]=this[eC]={accessors:{}}).accessors,E=this.prototype;function r(e){let r=eL(e);if(!t[r]){let n=K.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(E,t+n,{value:function(E,r,n){return this[t].call(this,e,E,r,n)},configurable:!0})}),t[r]=!0}}return K.isArray(e)?e.forEach(r):r(e),this}}function eD(e,t){let E=this||eN,r=t||E,n=ef.from(r.headers),o=r.data;return K.forEach(e,function(e){o=e.call(E,o,n.normalize(),t?t.status:void 0)}),n.normalize(),o}function eP(e){return!!(e&&e.__CANCEL__)}ef.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(ef.prototype,({value:e},t)=>{let E=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[E]=e}}}),K.freezeMethods(ef);class ep extends J{constructor(e,t,E){super(null==e?"canceled":e,J.ERR_CANCELED,t,E),this.name="CanceledError",this.__CANCEL__=!0}}function eh(e,t,E){let r=E.config.validateStatus;!E.status||!r||r(E.status)?e(E):t(new J("Request failed with status code "+E.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(E.status/100)-4],E.config,E.request,E))}let eM=function(e,t){let E,r=Array(e=e||10),n=Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(a){let T=Date.now(),s=n[i];E||(E=T),r[o]=a,n[o]=T;let A=i,R=0;for(;A!==o;)R+=r[A++],A%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),T-E{n=o,E=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{let t=Date.now(),a=t-n;a>=o?i(e,t):(E=e,r||(r=setTimeout(()=>{r=null,i(E)},o-a)))},()=>E&&i(E)]},eU=(e,t,E=3)=>{let r=0,n=eM(50,250);return em(E=>{let o=E.loaded,i=E.lengthComputable?E.total:void 0,a=o-r,T=n(a);r=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:T||void 0,estimated:T&&i&&o<=i?(i-o)/T:void 0,event:E,lengthComputable:null!=i,[t?"download":"upload"]:!0})},E)},eg=(e,t)=>{let E=null!=e;return[r=>t[0]({lengthComputable:E,total:e,loaded:r}),t[1]]},ey=e=>(...t)=>K.asap(()=>e(...t)),eG=el.hasStandardBrowserEnv?((e,t)=>E=>(E=new URL(E,el.origin),e.protocol===E.protocol&&e.host===E.host&&(t||e.port===E.port)))(new URL(el.origin),el.navigator&&/(msie|trident)/i.test(el.navigator.userAgent)):()=>!0,eb=el.hasStandardBrowserEnv?{write(e,t,E,r,n,o,i){if("undefined"==typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];K.isNumber(E)&&a.push(`expires=${new Date(E).toUTCString()}`),K.isString(r)&&a.push(`path=${r}`),K.isString(n)&&a.push(`domain=${n}`),!0===o&&a.push("secure"),K.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function ev(e,t,E){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==E)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eH=e=>e instanceof ef?{...e}:e;function eF(e,t){t=t||{};let E={};function r(e,t,E,r){return K.isPlainObject(e)&&K.isPlainObject(t)?K.merge.call({caseless:r},e,t):K.isPlainObject(t)?K.merge({},t):K.isArray(t)?t.slice():t}function n(e,t,E,n){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e,E,n):r(e,t,E,n)}function o(e,t){if(!K.isUndefined(t))return r(void 0,t)}function i(e,t){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(E,n,o){return o in t?r(E,n):o in e?r(void 0,E):void 0}let T={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,E)=>n(eH(e),eH(t),E,!0)};return K.forEach(Object.keys({...e,...t}),function(r){let o=T[r]||n,i=o(e[r],t[r],r);K.isUndefined(i)&&o!==a||(E[r]=i)}),E}let eB=e=>{let t=eF({},e),{data:E,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:o,headers:i,auth:a}=t;if(t.headers=i=ef.from(i),t.url=en(ev(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),K.isFormData(E)){if(el.hasStandardBrowserEnv||el.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(K.isFunction(E.getHeaders)){let e=E.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,E])=>{t.includes(e.toLowerCase())&&i.set(e,E)})}}if(el.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||!1!==r&&eG(t.url))){let e=n&&o&&eb.read(o);e&&i.set(n,e)}return t},eY="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,E){let r,n,o,i,a,T=eB(e),s=T.data,A=ef.from(T.headers).normalize(),{responseType:R,onUploadProgress:S,onDownloadProgress:O}=T;function I(){i&&i(),a&&a(),T.cancelToken&&T.cancelToken.unsubscribe(r),T.signal&&T.signal.removeEventListener("abort",r)}let l=new XMLHttpRequest;function c(){if(!l)return;let r=ef.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());eh(function(e){t(e),I()},function(e){E(e),I()},{data:R&&"text"!==R&&"json"!==R?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}l.open(T.method.toUpperCase(),T.url,!0),l.timeout=T.timeout,"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(c)},l.onabort=function(){l&&(E(new J("Request aborted",J.ECONNABORTED,e,l)),l=null)},l.onerror=function(t){let r=new J(t&&t.message?t.message:"Network Error",J.ERR_NETWORK,e,l);r.event=t||null,E(r),l=null},l.ontimeout=function(){let t=T.timeout?"timeout of "+T.timeout+"ms exceeded":"timeout exceeded",r=T.transitional||ei;T.timeoutErrorMessage&&(t=T.timeoutErrorMessage),E(new J(t,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,l)),l=null},void 0===s&&A.setContentType(null),"setRequestHeader"in l&&K.forEach(A.toJSON(),function(e,t){l.setRequestHeader(t,e)}),K.isUndefined(T.withCredentials)||(l.withCredentials=!!T.withCredentials),R&&"json"!==R&&(l.responseType=T.responseType),O&&([o,a]=eU(O,!0),l.addEventListener("progress",o)),S&&l.upload&&([n,i]=eU(S),l.upload.addEventListener("progress",n),l.upload.addEventListener("loadend",i)),(T.cancelToken||T.signal)&&(r=t=>{l&&(E(!t||t.type?new ep(null,e,l):t),l.abort(),l=null)},T.cancelToken&&T.cancelToken.subscribe(r),T.signal&&(T.signal.aborted?r():T.signal.addEventListener("abort",r)));let N=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(T.url);if(N&&-1===el.protocols.indexOf(N))return void E(new J("Unsupported protocol "+N+":",J.ERR_BAD_REQUEST,e));l.send(s||null)})},eV=function*(e,t){let E,r=e.byteLength;if(!t||r{let n,o=ex(e,t),i=0,a=e=>{!n&&(n=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await o.next();if(t){a(),e.close();return}let n=r.byteLength;if(E){let e=i+=n;E(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},{isFunction:eX}=K,eK=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:ek,TextEncoder:eJ}=K.global,ej=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e$=e=>{let t,{fetch:E,Request:r,Response:n}=e=K.merge.call({skipUndefined:!0},eK,e),o=E?eX(E):"function"==typeof fetch,i=eX(r),a=eX(n);if(!o)return!1;let T=o&&eX(ek),s=o&&("function"==typeof eJ?(t=new eJ,e=>t.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer())),A=i&&T&&ej(()=>{let e=!1,t=new r(el.origin,{body:new ek,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),R=a&&T&&ej(()=>K.isReadableStream(new n("").body)),S={stream:R&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{S[e]||(S[e]=(t,E)=>{let r=t&&t[e];if(r)return r.call(t);throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,E)})});let O=async e=>{if(null==e)return 0;if(K.isBlob(e))return e.size;if(K.isSpecCompliantForm(e)){let t=new r(el.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return K.isArrayBufferView(e)||K.isArrayBuffer(e)?e.byteLength:(K.isURLSearchParams(e)&&(e+=""),K.isString(e))?(await s(e)).byteLength:void 0},I=async(e,t)=>{let E=K.toFiniteNumber(e.getContentLength());return null==E?O(t):E};return async e=>{let t,{url:o,method:a,data:T,signal:s,cancelToken:O,timeout:l,onDownloadProgress:c,onUploadProgress:N,responseType:u,headers:C,withCredentials:L="same-origin",fetchOptions:_}=eB(e),d=E||fetch;u=u?(u+"").toLowerCase():"text";let f=((e,t)=>{let{length:E}=e=e?e.filter(Boolean):[];if(t||E){let E,r=new AbortController,n=function(e){if(!E){E=!0,i();let t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new ep(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,n(new J(`timeout of ${t}ms exceeded`,J.ETIMEDOUT))},t),i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)}),e=null)};e.forEach(e=>e.addEventListener("abort",n));let{signal:a}=r;return a.unsubscribe=()=>K.asap(i),a}})([s,O&&O.toAbortSignal()],l),D=null,P=f&&f.unsubscribe&&(()=>{f.unsubscribe()});try{if(N&&A&&"get"!==a&&"head"!==a&&0!==(t=await I(C,T))){let e,E=new r(o,{method:"POST",body:T,duplex:"half"});if(K.isFormData(T)&&(e=E.headers.get("content-type"))&&C.setContentType(e),E.body){let[e,r]=eg(t,eU(ey(N)));T=ew(E.body,65536,e,r)}}K.isString(L)||(L=L?"include":"omit");let E=i&&"credentials"in r.prototype,s={..._,signal:f,method:a.toUpperCase(),headers:C.normalize().toJSON(),body:T,duplex:"half",credentials:E?L:void 0};D=i&&new r(o,s);let O=await (i?d(D,_):d(o,s)),l=R&&("stream"===u||"response"===u);if(R&&(c||l&&P)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=O[t]});let t=K.toFiniteNumber(O.headers.get("content-length")),[E,r]=c&&eg(t,eU(ey(c),!0))||[];O=new n(ew(O.body,65536,E,()=>{r&&r(),P&&P()}),e)}u=u||"text";let p=await S[K.findKey(S,u)||"text"](O,e);return!l&&P&&P(),await new Promise((t,E)=>{eh(t,E,{data:p,headers:ef.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:D})})}catch(t){if(P&&P(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,D),{cause:t.cause||t});throw J.from(t,t&&t.code,e,D)}}},eq=new Map,eQ=e=>{let t=e&&e.env||{},{fetch:E,Request:r,Response:n}=t,o=[r,n,E],i=o.length,a,T,s=eq;for(;i--;)a=o[i],void 0===(T=s.get(a))&&s.set(a,T=i?new Map:e$(t)),s=T;return T};eQ();let ez={http:null,xhr:eY,fetch:{get:eQ}};K.forEach(ez,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let eZ=e=>`- ${e}`,e0=e=>K.isFunction(e)||null===e||!1===e,e1={getAdapter:function(e,t){let E,r,{length:n}=e=K.isArray(e)?e:[e],o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(eZ).join("\n"):" "+eZ(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r}};function e2(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ep(null,e)}function e5(e){return e2(e),e.headers=ef.from(e.headers),e.data=eD.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e1.getAdapter(e.adapter||eN.adapter,e)(e).then(function(t){return e2(e),t.data=eD.call(e,e.transformResponse,t),t.headers=ef.from(t.headers),t},function(t){return!eP(t)&&(e2(e),t&&t.response&&(t.response.data=eD.call(e,e.transformResponse,t.response),t.response.headers=ef.from(t.response.headers))),Promise.reject(t)})}let e6="1.13.4",e4={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e4[e]=function(E){return typeof E===e||"a"+(t<1?"n ":" ")+e}});let e8={};e4.transitional=function(e,t,E){function r(e,t){return"[Axios v"+e6+"] Transitional option '"+e+"'"+t+(E?". "+E:"")}return(E,n,o)=>{if(!1===e)throw new J(r(n," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!e8[n]&&(e8[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(E,n,o)}},e4.spelling=function(e){return(t,E)=>(console.warn(`${E} is likely a misspelling of ${e}`),!0)};let e3={assertOptions:function(e,t,E){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),n=r.length;for(;n-- >0;){let o=r[n],i=t[o];if(i){let t=e[o],E=void 0===t||i(t,o,e);if(!0!==E)throw new J("option "+o+" must be "+E,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==E)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:e4},e9=e3.validators;class e7{constructor(e){this.defaults=e||{},this.interceptors={request:new eo,response:new eo}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let E=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?E&&!String(e.stack).endsWith(E.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+E):e.stack=E}catch(e){}}throw e}}_request(e,t){let E,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:n,paramsSerializer:o,headers:i}=t=eF(this.defaults,t);void 0!==n&&e3.assertOptions(n,{silentJSONParsing:e9.transitional(e9.boolean),forcedJSONParsing:e9.transitional(e9.boolean),clarifyTimeoutError:e9.transitional(e9.boolean)},!1),null!=o&&(K.isFunction(o)?t.paramsSerializer={serialize:o}:e3.assertOptions(o,{encode:e9.function,serialize:e9.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),e3.assertOptions(t,{baseUrl:e9.spelling("baseURL"),withXsrfToken:e9.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&K.merge(i.common,i[t.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=ef.concat(a,i);let T=[],s=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(s=s&&e.synchronous,T.unshift(e.fulfilled,e.rejected))});let A=[];this.interceptors.response.forEach(function(e){A.push(e.fulfilled,e.rejected)});let R=0;if(!s){let e=[e5.bind(this),void 0];for(e.unshift(...T),e.push(...A),r=e.length,E=Promise.resolve(t);R{if(!E._listeners)return;let t=E._listeners.length;for(;t-- >0;)E._listeners[t](e);E._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{E.subscribe(e),t=e}).then(e);return r.cancel=function(){E.unsubscribe(t)},r},e(function(e,r,n){E.reason||(E.reason=new ep(e,r,n),t(E.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new te(function(t){e=t}),cancel:e}}}let tt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tt).forEach(([e,t])=>{tt[t]=e});let tE=function e(t){let E=new e7(t),r=i(e7.prototype.request,E);return K.extend(r,e7.prototype,E,{allOwnKeys:!0}),K.extend(r,E,null,{allOwnKeys:!0}),r.create=function(E){return e(eF(t,E))},r}(eN);tE.Axios=e7,tE.CanceledError=ep,tE.CancelToken=te,tE.isCancel=eP,tE.VERSION=e6,tE.toFormData=Z,tE.AxiosError=J,tE.Cancel=tE.CanceledError,tE.all=function(e){return Promise.all(e)},tE.spread=function(e){return function(t){return e.apply(null,t)}},tE.isAxiosError=function(e){return K.isObject(e)&&!0===e.isAxiosError},tE.mergeConfig=eF,tE.AxiosHeaders=ef,tE.formToJSON=e=>ec(K.isHTMLForm(e)?new FormData(e):e),tE.getAdapter=e1.getAdapter,tE.HttpStatusCode=tt,tE.default=tE;let tr=tE},24756:(e,t,E)=>{"use strict";E.d(t,{A:()=>N});var r=E(21858),n=E(12115),o=E(47650),i=E(71367);E(9587);var a=E(74686),T=n.createContext(null),s=E(85757),A=E(49172),R=[],S=E(85440),O=E(3338),I="rc-util-locker-".concat(Date.now()),l=0,c=function(e){return!1!==e&&((0,i.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};let N=n.forwardRef(function(e,t){var E,N,u,C=e.open,L=e.autoLock,_=e.getContainer,d=(e.debug,e.autoDestroy),f=void 0===d||d,D=e.children,P=n.useState(C),p=(0,r.A)(P,2),h=p[0],M=p[1],m=h||C;n.useEffect(function(){(f||C)&&M(C)},[C,f]);var U=n.useState(function(){return c(_)}),g=(0,r.A)(U,2),y=g[0],G=g[1];n.useEffect(function(){var e=c(_);G(null!=e?e:null)});var b=function(e,t){var E=n.useState(function(){return(0,i.A)()?document.createElement("div"):null}),o=(0,r.A)(E,1)[0],a=n.useRef(!1),S=n.useContext(T),O=n.useState(R),I=(0,r.A)(O,2),l=I[0],c=I[1],N=S||(a.current?void 0:function(e){c(function(t){return[e].concat((0,s.A)(t))})});function u(){o.parentElement||document.body.appendChild(o),a.current=!0}function C(){var e;null==(e=o.parentElement)||e.removeChild(o),a.current=!1}return(0,A.A)(function(){return e?S?S(u):u():C(),C},[e]),(0,A.A)(function(){l.length&&(l.forEach(function(e){return e()}),c(R))},[l]),[o,N]}(m&&!y,0),v=(0,r.A)(b,2),H=v[0],F=v[1],B=null!=y?y:H;E=!!(L&&C&&(0,i.A)()&&(B===H||B===document.body)),N=n.useState(function(){return l+=1,"".concat(I,"_").concat(l)}),u=(0,r.A)(N,1)[0],(0,A.A)(function(){if(E){var e=(0,O.V)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,S.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),u)}else(0,S.m6)(u);return function(){(0,S.m6)(u)}},[E,u]);var Y=null;D&&(0,a.f3)(D)&&t&&(Y=D.ref);var V=(0,a.xK)(Y,t);if(!m||!(0,i.A)()||void 0===y)return null;var x=!1===B,W=D;return t&&(W=n.cloneElement(D,{ref:V})),n.createElement(T.Provider,{value:F},x?W:(0,o.createPortal)(W,B))})},25374:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=E(12115),n=E(28248),o=E(98696),i=E(37120);let a=e=>"function"==typeof(null==e?void 0:e.then),T=e=>{let{type:t,children:E,prefixCls:T,buttonProps:s,close:A,autoFocus:R,emitEvent:S,isSilent:O,quitOnNullishReturnValue:I,actionFn:l}=e,c=r.useRef(!1),N=r.useRef(null),[u,C]=(0,n.A)(!1),L=function(){for(var e=arguments.length,t=Array(e),E=0;E{let e=null;return R&&(e=setTimeout(()=>{var e;null==(e=N.current)||e.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[R]),r.createElement(o.Ay,Object.assign({},(0,i.DU)(t),{onClick:e=>{let t;if(!c.current){if(c.current=!0,!l)return void L();if(S){if(t=l(e),I&&!a(t)){c.current=!1,L(e);return}}else if(l.length)t=l(A),c.current=!1;else if(!a(t=l()))return void L();(e=>{a(e)&&(C(!0),e.then(function(){for(var e=arguments.length,t=Array(e),E=0;E{if(C(!1,!0),c.current=!1,null==O||!O())return Promise.reject(e)}))})(t)}},loading:u,prefixCls:T},s,{ref:N}),E)}},25856:(e,t,E)=>{"use strict";E.d(t,{L:()=>u}),E(12115);var r,n=E(47650),o=E.t(n,2),i=E(42115),a=E(94251),T=E(86608),s=(0,E(27061).A)({},o),A=s.version,R=s.render,S=s.unmountComponentAtNode;try{Number((A||"").split(".")[0])>=18&&(r=s.createRoot)}catch(e){}function O(e){var t=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,T.A)(t)&&(t.usingClientEntryPoint=e)}var I="__rc_react_root__";function l(){return(l=(0,a.A)((0,i.A)().mark(function e(t){return(0,i.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null==(e=t[I])||e.unmount(),delete t[I]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function c(){return(c=(0,a.A)((0,i.A)().mark(function e(t){return(0,i.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt("return",function(e){return l.apply(this,arguments)}(t));case 2:S(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}let N=(e,t)=>(!function(e,t){var E;if(r)return O(!0),E=t[I]||r(t),O(!1),E.render(e),t[I]=E;null==R||R(e,t)}(e,t),()=>(function(e){return c.apply(this,arguments)})(t));function u(e){return e&&(N=e),N}},25898:function(e){var t;t=function(){function e(t,E,r){return this.id=++e.highestId,this.name=t,this.symbols=E,this.postprocess=r,this}function t(e,t,E,r){this.rule=e,this.dot=t,this.reference=E,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}function E(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function r(e,t){this.rules=e,this.start=t||this.rules[0].name;var E=this.byName={};this.rules.forEach(function(e){E.hasOwnProperty(e.name)||(E[e.name]=[]),E[e.name].push(e)})}function n(){this.reset("")}function o(e,t,o){if(e instanceof r)var i=e,o=t;else var i=r.fromCompiled(e,t);for(var a in this.grammar=i,this.options={keepHistory:!1,lexer:i.lexer||new n},o||{})this.options[a]=o[a];this.lexer=this.options.lexer,this.lexerState=void 0;var T=new E(i,0);this.table=[T],T.wants[i.start]=[],T.predict(i.start),T.process(),this.current=0}function i(e){var t=typeof e;if("string"===t)return e;if("object"===t)if(e.literal)return JSON.stringify(e.literal);else if(e instanceof RegExp)return e.toString();else if(e.type)return"%"+e.type;else 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(i).join(" "):this.symbols.slice(0,e).map(i).join(" ")+" ● "+this.symbols.slice(e).map(i).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 E=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return E.left=this,E.right=e,E.isComplete&&(E.data=E.build(),E.right=void 0),E},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,o.fail))},E.prototype.process=function(e){for(var t=this.states,E=this.wants,r=this.completed,n=0;n0&&t.push(" ^ "+r+" more lines identical to this"),r=0,t.push(" "+i)),E=i}},o.prototype.getSymbolDisplay=function(e){var t=e,E=typeof t;if("string"===E)return t;if("object"===E)if(t.literal)return JSON.stringify(t.literal);else if(t instanceof RegExp)return"character matching "+t;else if(t.type)return t.type+" token";else if(t.test)return"token matching "+String(t.test);else throw Error("Unknown symbol type: "+t)},o.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var E=e.wantedBy[0],r=[e].concat(t),n=this.buildFirstStateStack(E,r);return null===n?null:[e].concat(n)},o.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},o.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()},o.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},o.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(E){E.rule.name===t&&E.dot===E.rule.symbols.length&&0===E.reference&&E.data!==o.fail&&e.push(E)}),e.map(function(e){return e.data})},{Parser:o,Grammar:r,Rule:e}},e.exports?e.exports=t():this.nearley=t()},26791:(e,t,E)=>{"use strict";E.d(t,{_n:()=>o,rJ:()=>i});var r=E(12115);function n(){}E(9587);let o=r.createContext({}),i=()=>{let e=()=>{};return e.deprecated=n,e}},27061:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(40419);function n(e,t){var E=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),E.push.apply(E,r)}return E}function o(e){for(var t=1;t{"use strict";E.d(t,{A:()=>o});var r=E(21858),n=E(12115);function o(e){var t=n.useRef(!1),E=n.useState(e),o=(0,r.A)(E,2),i=o[0],a=o[1];return n.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[i,function(e,E){E&&t.current||a(e)}]}},28296:(e,t,E)=>{"use strict";E.d(t,{wE:()=>i});var r=E(38194),n=E(4697),o=E(68448);function i(e){return(0,o.VF)(function e(t,E,i,s,A,R,S,O,I){for(var l,c,N,u,C=0,L=0,_=S,d=0,f=0,D=0,P=1,p=1,h=1,M=0,m="",U=A,g=R,y=s,G=m;p;)switch(D=M,M=(0,o.K2)()){case 40:if(108!=D&&58==(0,n.wN)(G,_-1)){-1!=(0,n.K5)(G+=(0,n.HC)((0,o.Tb)(M),"&","&\f"),"&\f",(0,n.tn)(C?O[C-1]:0))&&(h=-1);break}case 34:case 39:case 91:G+=(0,o.Tb)(M);break;case 9:case 10:case 13:case 32:G+=(0,o.mw)(D);break;case 92:G+=(0,o.Nc)((0,o.OW)()-1,7);continue;case 47:switch((0,o.se)()){case 42:case 47:(0,n.BC)((l=(0,o.nf)((0,o.K2)(),(0,o.OW)()),c=E,N=i,u=I,(0,o.rH)(l,c,N,r.YK,(0,n.HT)((0,o.Tp)()),(0,n.c1)(l,2,-2),0,u)),I),(5==(0,o.Sh)(D||1)||5==(0,o.Sh)((0,o.se)()||1))&&(0,n.b2)(G)&&" "!==(0,n.c1)(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*P:O[C++]=(0,n.b2)(G)*h;case 125*P:case 59:case 0:switch(M){case 0:case 125:p=0;case 59+L:-1==h&&(G=(0,n.HC)(G,/\f/g,"")),f>0&&((0,n.b2)(G)-_||0===P&&47===D)&&(0,n.BC)(f>32?T(G+";",s,i,_-1,I):T((0,n.HC)(G," ","")+";",s,i,_-2,I),I);break;case 59:G+=";";default:if((0,n.BC)(y=a(G,E,i,C,L,A,O,m,U=[],g=[],_,R),R),123===M)if(0===L)e(G,E,y,y,U,R,_,O,g);else{switch(d){case 99:if(110===(0,n.wN)(G,3))break;case 108:if(97===(0,n.wN)(G,2))break;default:L=0;case 100:case 109:case 115:}L?e(t,y,y,s&&(0,n.BC)(a(t,y,y,0,0,A,O,m,A,U=[],_,g),g),A,g,_,O,s?U:g):e(G,y,y,y,[""],g,0,O,g)}}C=L=f=0,P=h=1,m=G="",_=S;break;case 58:_=1+(0,n.b2)(G),f=D;default:if(P<1){if(123==M)--P;else if(125==M&&0==P++&&125==(0,o.YL)())continue}switch(G+=(0,n.HT)(M),M*P){case 38:h=L>0?1:(G+="\f",-1);break;case 44:O[C++]=((0,n.b2)(G)-1)*h,h=1;break;case 64:45===(0,o.se)()&&(G+=(0,o.Tb)((0,o.K2)())),d=(0,o.se)(),L=_=(0,n.b2)(m=G+=(0,o.Cv)((0,o.OW)())),M++;break;case 45:45===D&&2==(0,n.b2)(G)&&(P=0)}}return R}("",null,null,null,[""],e=(0,o.c4)(e),0,[0],e))}function a(e,t,E,i,a,T,s,A,R,S,O,I){for(var l=a-1,c=0===a?T:[""],N=(0,n.FK)(c),u=0,C=0,L=0;u0?c[_]+" "+d:(0,n.HC)(d,/&\f/g,c[_])))&&(R[L++]=f);return(0,o.rH)(e,t,E,0===a?r.XZ:A,R,S,O,I)}function T(e,t,E,i,a){return(0,o.rH)(e,t,E,r.LU,(0,n.c1)(e,0,i),(0,n.c1)(e,i+1,-1),i,a)}},28383:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(11823);function n(e,t){for(var E=0;E{var E;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t{"use strict";let r;E.d(t,{A:()=>f});var n=E(12115),o=E(48776),i=E(29300),a=E.n(i),T=E(55121),s=E(74686),A=E(9184),R=E(50497),S=E(9130),O=E(93666),I=E(71367),l=E(6833),c=E(15982),N=E(68151),u=E(70802),C=E(2732),L=E(94480),_=E(41222),d=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};(0,I.A)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);let f=e=>{let{prefixCls:t,className:E,rootClassName:i,open:I,wrapClassName:f,centered:D,getContainer:P,focusTriggerAfterClose:p=!0,style:h,visible:M,width:m=520,footer:U,classNames:g,styles:y,children:G,loading:b,confirmLoading:v,zIndex:H,mousePosition:F,onOk:B,onCancel:Y,destroyOnHidden:V,destroyOnClose:x,panelRef:W=null,modalRender:w}=e,X=d(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel","destroyOnHidden","destroyOnClose","panelRef","modalRender"]),{getPopupContainer:K,getPrefixCls:k,direction:J,modal:j}=n.useContext(c.QO),$=e=>{v||null==Y||Y(e)},q=k("modal",t),Q=k(),z=(0,N.A)(q),[Z,ee,et]=(0,_.Ay)(q,z),eE=a()(f,{["".concat(q,"-centered")]:null!=D?D:null==j?void 0:j.centered,["".concat(q,"-wrap-rtl")]:"rtl"===J}),er=null===U||b?null:n.createElement(L.w,Object.assign({},e,{onOk:e=>{null==B||B(e)},onCancel:$})),[en,eo,ei,ea]=(0,R.$)((0,R.d)(e),(0,R.d)(j),{closable:!0,closeIcon:n.createElement(o.A,{className:"".concat(q,"-close-icon")}),closeIconRender:e=>(0,L.O)(q,e)}),eT=w?e=>n.createElement("div",{className:"".concat(q,"-render")},w(e)):void 0,es=".".concat(q,"-").concat(w?"render":"content"),eA=(0,C.f)(es),eR=(0,s.K4)(W,eA),[eS,eO]=(0,S.YK)("Modal",H),[eI,el]=n.useMemo(()=>m&&"object"==typeof m?[void 0,m]:[m,void 0],[m]),ec=n.useMemo(()=>{let e={};return el&&Object.keys(el).forEach(t=>{let E=el[t];void 0!==E&&(e["--".concat(q,"-").concat(t,"-width")]="number"==typeof E?"".concat(E,"px"):E)}),e},[q,el]);return Z(n.createElement(A.A,{form:!0,space:!0},n.createElement(l.A.Provider,{value:eO},n.createElement(T.A,Object.assign({width:eI},X,{zIndex:eS,getContainer:void 0===P?K:P,prefixCls:q,rootClassName:a()(ee,i,et,z),footer:er,visible:null!=I?I:M,mousePosition:null!=F?F:r,onClose:$,closable:en?Object.assign({disabled:ei,closeIcon:eo},ea):en,closeIcon:eo,focusTriggerAfterClose:p,transitionName:(0,O.b)(Q,"zoom",e.transitionName),maskTransitionName:(0,O.b)(Q,"fade",e.maskTransitionName),className:a()(ee,E,null==j?void 0:j.className),style:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.style),h),ec),classNames:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.classNames),g),{wrapper:a()(eE,null==g?void 0:g.wrapper)}),styles:Object.assign(Object.assign({},null==j?void 0:j.styles),y),panelRef:eR,destroyOnClose:null!=V?V:x,modalRender:eT}),b?n.createElement(u.A,{active:!0,title:!1,paragraph:{rows:4},className:"".concat(q,"-body-skeleton")}):G))))}},30857:(e,t,E)=>{"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}E.d(t,{A:()=>r})},31474:(e,t,E)=>{"use strict";E.d(t,{Q1:()=>L}),E(12115);var r=E(30857),n=E(28383),o=E(38289),i=E(9424),a=E(27061),T=E(20235),s=E(86608),A=E(40419);let R=Math.round;function S(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let O=(e,t,E)=>0===E?e:e/100;function I(e,t){let E=t||255;return e>E?E:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,A.A)(this,"isValid",!0),(0,A.A)(this,"r",0),(0,A.A)(this,"g",0),(0,A.A)(this,"b",0),(0,A.A)(this,"a",1),(0,A.A)(this,"_h",void 0),(0,A.A)(this,"_s",void 0),(0,A.A)(this,"_l",void 0),(0,A.A)(this,"_v",void 0),(0,A.A)(this,"_max",void 0),(0,A.A)(this,"_min",void 0),(0,A.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):E("rgb")?this.fromRgbString(t):E("hsl")?this.fromHslString(t):(E("hsv")||E("hsb"))&&this.fromHsvString(t)}else if(e instanceof l)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=I(e.r),this.g=I(e.g),this.b=I(e.b),this.a="number"==typeof e.a?I(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=R(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e,t=50){let E=this._c(e),r=t/100,n=e=>(E[e]-this[e])*r+this[e],o={r:R(n("r")),g:R(n("g")),b:R(n("b")),a:R(100*n("a"))/100};return this._c(o)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>R((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=R(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=R(100*this.getSaturation()),E=R(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${E}%,${this.a})`:`hsl(${e},${t}%,${E}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=I(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl({h:e,s:t,l:E,a:r}){if(this._h=e%360,this._s=t,this._l=E,this.a="number"==typeof r?r:1,t<=0){let e=R(255*E);this.r=e,this.g=e,this.b=e}let n=0,o=0,i=0,a=e/60,T=(1-Math.abs(2*E-1))*t,s=T*(1-Math.abs(a%2-1));a>=0&&a<1?(n=T,o=s):a>=1&&a<2?(n=s,o=T):a>=2&&a<3?(o=T,i=s):a>=3&&a<4?(o=s,i=T):a>=4&&a<5?(n=s,i=T):a>=5&&a<6&&(n=T,i=s);let A=E-T/2;this.r=R((n+A)*255),this.g=R((o+A)*255),this.b=R((i+A)*255)}fromHsv({h:e,s:t,v:E,a:r}){this._h=e%360,this._s=t,this._v=E,this.a="number"==typeof r?r:1;let n=R(255*E);if(this.r=n,this.g=n,this.b=n,t<=0)return;let o=e/60,i=Math.floor(o),a=o-i,T=R(E*(1-t)*255),s=R(E*(1-t*a)*255),A=R(E*(1-t*(1-a))*255);switch(i){case 0:this.g=A,this.b=T;break;case 1:this.r=s,this.b=T;break;case 2:this.r=T,this.b=A;break;case 3:this.r=T,this.g=s;break;case 4:this.r=A,this.g=T;break;default:this.g=T,this.b=s}}fromHsvString(e){let t=S(e,O);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=S(e,O);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=S(e,(e,t)=>t.includes("%")?R(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var c=["b"],N=["v"],u=function(e){return Math.round(Number(e||0))},C=function(e){if(e instanceof l)return e;if(e&&"object"===(0,s.A)(e)&&"h"in e&&"b"in e){var t=e.b,E=(0,T.A)(e,c);return(0,a.A)((0,a.A)({},E),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},L=function(e){(0,o.A)(E,e);var t=(0,i.A)(E);function E(e){return(0,r.A)(this,E),t.call(this,C(e))}return(0,n.A)(E,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=u(100*e.s),E=u(100*e.b),r=u(e.h),n=e.a,o="hsb(".concat(r,", ").concat(t,"%, ").concat(E,"%)"),i="hsba(".concat(r,", ").concat(t,"%, ").concat(E,"%, ").concat(n.toFixed(2*(0!==n)),")");return 1===n?o:i}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,E=(0,T.A)(e,N);return(0,a.A)((0,a.A)({},E),{},{b:t,a:this.a})}}]),E}(l);!function(e){e instanceof L||new L(e)}("#1677ff"),E(29300),E(11719)},32110:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},32655:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=[]},32934:(e,t,E)=>{"use strict";E.d(t,{A:()=>s});var r,n=E(21858),o=E(27061),i=E(12115),a=0,T=(0,o.A)({},r||(r=E.t(i,2))).useId;let s=T?function(e){var t=T();return e||t}:function(e){var t=i.useState("ssr-id"),E=(0,n.A)(t,2),r=E[0],o=E[1];return(i.useEffect(function(){var e=a;a+=1,o("rc_unique_".concat(e))},[]),e)?e:r}},35030:(e,t,E)=>{"use strict";E.d(t,{A:()=>M});var r=E(79630),n=E(21858),o=E(40419),i=E(20235),a=E(12115),T=E(29300),s=E.n(T),A=E(68057),R=E(97089),S=E(27061),O=E(86608),I=E(85440),l=E(48680),c=E(9587);function N(e){return"object"===(0,O.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,O.A)(e.icon)||"function"==typeof e.icon)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,E){var r=e[E];return"class"===E?(t.className=r,delete t.class):(delete t[E],t[E.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function C(e){return(0,A.cM)(e)[0]}function L(e){return e?Array.isArray(e)?e:[e]:[]}var _=function(e){var t=(0,a.useContext)(R.A),E=t.csp,r=t.prefixCls,n=t.layer,o="\n.anticon {\n display: inline-flex;\n align-items: center;\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)),n&&(o="@layer ".concat(n," {\n").concat(o,"\n}")),(0,a.useEffect)(function(){var t=e.current,r=(0,l.j)(t);(0,I.BD)(o,"@ant-design-icons",{prepend:!n,csp:E,attachTo:r})},[])},d=["icon","className","onClick","style","primaryColor","secondaryColor"],f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},D=function(e){var t,E,r=e.icon,n=e.className,o=e.onClick,T=e.style,s=e.primaryColor,A=e.secondaryColor,R=(0,i.A)(e,d),O=a.useRef(),I=f;if(s&&(I={primaryColor:s,secondaryColor:A||C(s)}),_(O),t=N(r),E="icon should be icon definiton, but got ".concat(r),(0,c.Ay)(t,"[@ant-design/icons] ".concat(E)),!N(r))return null;var l=r;return l&&"function"==typeof l.icon&&(l=(0,S.A)((0,S.A)({},l),{},{icon:l.icon(I.primaryColor,I.secondaryColor)})),function e(t,E,r){return r?a.createElement(t.tag,(0,S.A)((0,S.A)({key:E},u(t.attrs)),r),(t.children||[]).map(function(r,n){return e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))})):a.createElement(t.tag,(0,S.A)({key:E},u(t.attrs)),(t.children||[]).map(function(r,n){return e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))}))}(l.icon,"svg-".concat(l.name),(0,S.A)((0,S.A)({className:n,onClick:o,style:T,"data-icon":l.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},R),{},{ref:O}))};function P(e){var t=L(e),E=(0,n.A)(t,2),r=E[0],o=E[1];return D.setTwoToneColors({primaryColor:r,secondaryColor:o})}D.displayName="IconReact",D.getTwoToneColors=function(){return(0,S.A)({},f)},D.setTwoToneColors=function(e){var t=e.primaryColor,E=e.secondaryColor;f.primaryColor=t,f.secondaryColor=E||C(t),f.calculated=!!E};var p=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];P(A.z1.primary);var h=a.forwardRef(function(e,t){var E=e.className,T=e.icon,A=e.spin,S=e.rotate,O=e.tabIndex,I=e.onClick,l=e.twoToneColor,c=(0,i.A)(e,p),N=a.useContext(R.A),u=N.prefixCls,C=void 0===u?"anticon":u,_=N.rootClassName,d=s()(_,C,(0,o.A)((0,o.A)({},"".concat(C,"-").concat(T.name),!!T.name),"".concat(C,"-spin"),!!A||"loading"===T.name),E),f=O;void 0===f&&I&&(f=-1);var P=L(l),h=(0,n.A)(P,2),M=h[0],m=h[1];return a.createElement("span",(0,r.A)({role:"img","aria-label":T.name},c,{ref:t,tabIndex:f,onClick:I,className:d}),a.createElement(D,{icon:T,primaryColor:M,secondaryColor:m,style:S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0}))});h.displayName="AntdIcon",h.getTwoToneColor=function(){var e=D.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},h.setTwoToneColor=P;let M=h},35145:(e,t,E)=>{"use strict";function r(e){if(Array.isArray(e))return e}E.d(t,{A:()=>r})},35149:(e,t,E)=>{"use strict";E.d(t,{A:()=>l});var r=E(85757),n=E(12115),o=E(61216),i=E(32655),a=E(15982),T=E(16025),s=E(8530),A=E(85051),R=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let S=n.forwardRef((e,t)=>{var E,{afterClose:o,config:i}=e,S=R(e,["afterClose","config"]);let[O,I]=n.useState(!0),[l,c]=n.useState(i),{direction:N,getPrefixCls:u}=n.useContext(a.QO),C=u("modal"),L=u(),_=function(){for(var e,t=arguments.length,E=Array(t),n=0;nnull==e?void 0:e.triggerCancel)&&(null==(e=l.onCancel)||e.call.apply(e,[l,()=>{}].concat((0,r.A)(E.slice(1)))))};n.useImperativeHandle(t,()=>({destroy:_,update:e=>{c(t=>{let E="function"==typeof e?e(t):e;return Object.assign(Object.assign({},t),E)})}}));let d=null!=(E=l.okCancel)?E:"confirm"===l.type,[f]=(0,s.A)("Modal",T.A.Modal);return n.createElement(A.A,Object.assign({prefixCls:C,rootPrefixCls:L},l,{close:_,open:O,afterClose:()=>{var e;o(),null==(e=l.afterClose)||e.call(l)},okText:l.okText||(d?null==f?void 0:f.okText:null==f?void 0:f.justOkText),direction:l.direction||N,cancelText:l.cancelText||(null==f?void 0:f.cancelText)},S))}),O=0,I=n.memo(n.forwardRef((e,t)=>{let[E,o]=(()=>{let[e,t]=n.useState([]);return[e,n.useCallback(e=>(t(t=>[].concat((0,r.A)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]})();return n.useImperativeHandle(t,()=>({patchElement:o}),[o]),n.createElement(n.Fragment,null,E)})),l=function(){let e=n.useRef(null),[t,E]=n.useState([]);n.useEffect(()=>{t.length&&((0,r.A)(t).forEach(e=>{e()}),E([]))},[t]);let a=n.useCallback(t=>function(o){var a;let T,s;O+=1;let A=n.createRef(),R=new Promise(e=>{T=e}),I=!1,l=n.createElement(S,{key:"modal-".concat(O),config:t(o),ref:A,afterClose:()=>{null==s||s()},isSilent:()=>I,onConfirm:e=>{T(e)}});return(s=null==(a=e.current)?void 0:a.patchElement(l))&&i.A.push(s),{destroy:()=>{function e(){var e;null==(e=A.current)||e.destroy()}A.current?e():E(t=>[].concat((0,r.A)(t),[e]))},update:e=>{function t(){var t;null==(t=A.current)||t.update(e)}A.current?t():E(e=>[].concat((0,r.A)(e),[t]))},then:e=>(I=!0,R.then(e))}},[]);return[n.useMemo(()=>({info:a(o.$D),success:a(o.Ej),error:a(o.jT),warning:a(o.fp),confirm:a(o.lr)}),[a]),n.createElement(I,{key:"modal-holder",ref:e})]}},35519:(e,t,E)=>{"use strict";E.d(t,{sb:()=>o,vG:()=>i});var r=E(12115),n=E(13418);let o={token:n.A,override:{override:n.A},hashed:!0},i=r.createContext(o)},37120:(e,t,E)=>{"use strict";E.d(t,{Ap:()=>T,DU:()=>s,u1:()=>R,uR:()=>S});var r=E(85757),n=E(12115),o=E(80163),i=E(68495);let a=/^[\u4E00-\u9FA5]{2}$/,T=a.test.bind(a);function s(e){return"danger"===e?{danger:!0}:{type:e}}function A(e){return"string"==typeof e}function R(e){return"text"===e||"link"===e}function S(e,t){let E=!1,r=[];return n.Children.forEach(e,e=>{let t=typeof e,n="string"===t||"number"===t;if(E&&n){let t=r.length-1,E=r[t];r[t]="".concat(E).concat(e)}else r.push(e);E=n}),n.Children.map(r,e=>(function(e,t){if(null==e)return;let E=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&A(e.type)&&T(e.props.children)?(0,o.Ob)(e,{children:e.props.children.split("").join(E)}):A(e)?T(e)?n.createElement("span",null,e.split("").join(E)):n.createElement("span",null,e):(0,o.zv)(e)?n.createElement("span",null,e):e})(e,t))}["default","primary","danger"].concat((0,r.A)(i.s))},37930:(e,t,E)=>{"use strict";E.d(t,{cM:()=>function e(t,E,r){return r?u.createElement(t.tag,{key:E,...d(t.attrs),...r},(t.children||[]).map((r,n)=>e(r,"".concat(E,"-").concat(t.tag,"-").concat(n)))):u.createElement(t.tag,{key:E,...d(t.attrs)},(t.children||[]).map((r,n)=>e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))))},Em:()=>f,P3:()=>_,al:()=>D,yf:()=>P,lf:()=>p,$e:()=>L});var r=E(61706);let n="data-rc-order",o="data-rc-priority",i=new Map;function a({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:"rc-util-key"}function T(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function s(e){return Array.from((i.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function A(e,t={}){if(!("undefined"!=typeof window&&window.document&&window.document.createElement))return null;let{csp:E,prepend:r,priority:i=0}=t,a="queue"===r?"prependQueue":r?"prepend":"append",R="prependQueue"===a,S=document.createElement("style");S.setAttribute(n,a),R&&i&&S.setAttribute(o,`${i}`),E?.nonce&&(S.nonce=E?.nonce),S.innerHTML=e;let O=T(t),{firstChild:I}=O;if(r){if(R){let e=(t.styles||s(O)).filter(e=>!!["prepend","prependQueue"].includes(e.getAttribute(n))&&i>=Number(e.getAttribute(o)||0));if(e.length)return O.insertBefore(S,e[e.length-1].nextSibling),S}O.insertBefore(S,I)}else O.appendChild(S);return S}function R(e){return e?.getRootNode?.()}let S={},O=[];function I(e,t){}function l(e,t){}function c(e,t,E){t||S[E]||(e(!1,E),S[E]=!0)}function N(e,t){c(I,e,t)}N.preMessage=e=>{O.push(e)},N.resetWarned=function(){S={}},N.noteOnce=function(e,t){c(l,e,t)};var u=E(12115),C=E(8396);function L(e,t){N(e,"[@ant-design/icons] ".concat(t))}function _(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"==typeof e.icon||"function"==typeof e.icon)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((t,E)=>{let r=e[E];return"class"===E?(t.className=r,delete t.class):(delete t[E],t[E.replace(/-(.)/g,(e,t)=>t.toUpperCase())]=r),t},{})}function f(e){return(0,r.cM)(e)[0]}function D(e){return e?Array.isArray(e)?e:[e]:[]}let P={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},p=e=>{let{csp:t,prefixCls:E,layer:r}=(0,u.useContext)(C.A),n="\n.anticon {\n display: inline-flex;\n align-items: center;\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 vertical-align: inherit;\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";E&&(n=n.replace(/anticon/g,E)),r&&(n="@layer ".concat(r," {\n").concat(n,"\n}")),(0,u.useEffect)(()=>{let E=function(e){return R(e)instanceof ShadowRoot?R(e):null}(e.current);!function(e,t,E={}){let r=T(E),n=s(r),o={...E,styles:n},R=i.get(r);if(!R||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let E=t;for(;E;){if(E===e)return!0;E=E.parentNode}return!1}(document,R)){let e=A("",o),{parentNode:t}=e;i.set(r,t),r.removeChild(e)}let S=function(e,t={}){let{styles:E}=t;return(E||=s(T(t))).find(E=>E.getAttribute(a(t))===e)}(t,o);if(S)return o.csp?.nonce&&S.nonce!==o.csp?.nonce&&(S.nonce=o.csp?.nonce),S.innerHTML!==e&&(S.innerHTML=e);A(e,o).setAttribute(a(o),t)}(n,"@ant-design-icons",{prepend:!r,csp:t,attachTo:E})},[])}},38194:(e,t,E)=>{"use strict";E.d(t,{CU:()=>A,IO:()=>S,LU:()=>T,MS:()=>r,Sv:()=>R,XZ:()=>a,YK:()=>i,j:()=>o,vd:()=>n,yE:()=>s});var r="-ms-",n="-moz-",o="-webkit-",i="comm",a="rule",T="decl",s="@import",A="@namespace",R="@keyframes",S="@layer"},38289:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(42222);function n(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},39985:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,c:()=>o});var r=E(12115);let n=r.createContext(void 0),o=e=>{let{children:t,size:E}=e,o=r.useContext(n);return r.createElement(n.Provider,{value:E||o},t)},i=n},40032:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(27061),n="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function o(e,t){return 0===e.indexOf(t)}function i(e){var t,E=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===E?{aria:!0,data:!0,attr:!0}:!0===E?{aria:!0}:(0,r.A)({},E);var i={};return Object.keys(e).forEach(function(E){(t.aria&&("role"===E||o(E,"aria-"))||t.data&&o(E,"data-")||t.attr&&n.includes(E))&&(i[E]=e[E])}),i}},40419:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(11823);function n(e,t,E){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:E,enumerable:!0,configurable:!0,writable:!0}):e[t]=E,e}},40578:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},41197:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>T,fk:()=>i,rb:()=>a});var r=E(86608),n=E(12115),o=E(47650);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return e&&"object"===(0,r.A)(e)&&i(e.nativeElement)?e.nativeElement:i(e)?e:null}function T(e){var t,E=a(e);return E||(e instanceof n.Component?null==(t=o.findDOMNode)?void 0:t.call(o,e):null)}},41222:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>l,Dk:()=>S,FY:()=>O,cH:()=>I});var r=E(85757),n=E(99841),o=E(50199),i=E(18184),a=E(85665),T=E(47212),s=E(61388),A=E(45431);function R(e){return{position:e,inset:0}}let S=e=>{let{componentCls:t,antCls:E}=e;return[{["".concat(t,"-root")]:{["".concat(t).concat(E,"-zoom-enter, ").concat(t).concat(E,"-zoom-appear")]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},["".concat(t).concat(E,"-zoom-leave ").concat(t,"-content")]:{pointerEvents:"none"},["".concat(t,"-mask")]:Object.assign(Object.assign({},R("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",["".concat(t,"-hidden")]:{display:"none"}}),["".concat(t,"-wrap")]:Object.assign(Object.assign({},R("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{["".concat(t,"-root")]:(0,a.p9)(e)}]},O=e=>{let t=e.padding,E=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,s.oX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(E).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},I=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:"".concat((0,n.zA)(e.paddingMD)," ").concat((0,n.zA)(e.paddingContentHorizontalLG)),headerPadding:e.wireframe?"".concat((0,n.zA)(e.padding)," ").concat((0,n.zA)(e.paddingLG)):0,headerBorderBottom:e.wireframe?"".concat((0,n.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?"".concat((0,n.zA)(e.paddingXS)," ").concat((0,n.zA)(e.padding)):0,footerBorderTop:e.wireframe?"".concat((0,n.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",footerBorderRadius:e.wireframe?"0 0 ".concat((0,n.zA)(e.borderRadiusLG)," ").concat((0,n.zA)(e.borderRadiusLG)):0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?"".concat((0,n.zA)(2*e.padding)," ").concat((0,n.zA)(2*e.padding)," ").concat((0,n.zA)(e.paddingLG)):0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),l=(0,A.OF)("Modal",e=>{let t=O(e);return[(e=>{let{componentCls:t}=e;return[{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl"},["".concat(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: ".concat(e.screenSMMax,"px)")]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:"".concat((0,n.zA)(e.marginXS)," auto")},["".concat(t,"-centered")]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,i.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:"calc(100vw - ".concat((0,n.zA)(e.calc(e.margin).mul(2).equal()),")"),margin:"0 auto",paddingBottom:e.paddingLG,["".concat(t,"-title")]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},["".concat(t,"-content")]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},["".concat(t,"-close")]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),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 ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:(0,n.zA)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,i.K8)(e)),["".concat(t,"-header")]:{color:e.colorText,background:e.headerBg,borderRadius:"".concat((0,n.zA)(e.borderRadiusLG)," ").concat((0,n.zA)(e.borderRadiusLG)," 0 0"),marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},["".concat(t,"-body")]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,["".concat(t,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:"".concat((0,n.zA)(e.margin)," auto")}},["".concat(t,"-footer")]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,["> ".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginInlineStart:e.marginXS}},["".concat(t,"-open")]:{overflow:"hidden"}})},{["".concat(t,"-pure-panel")]:{top:"auto",padding:0,display:"flex",flexDirection:"column",["".concat(t,"-content,\n ").concat(t,"-body,\n ").concat(t,"-confirm-body-wrapper")]:{display:"flex",flexDirection:"column",flex:"auto"},["".concat(t,"-confirm-body")]:{marginBottom:"auto"}}}]})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl",["".concat(t,"-confirm-body")]:{direction:"rtl"}}}}})(t),S(t),(0,T.aB)(t,"zoom"),(e=>{let{componentCls:t}=e,E=(0,o.i4)(e),i=Object.assign({},E);delete i.xs;let a="--".concat(t.replace(".",""),"-"),T=Object.keys(i).map(e=>({["@media (min-width: ".concat((0,n.zA)(i[e]),")")]:{width:"var(".concat(a).concat(e,"-width)")}}));return{["".concat(t,"-root")]:{[t]:[].concat((0,r.A)(Object.keys(E).map((e,t)=>{let r=Object.keys(E)[t-1];return r?{["".concat(a).concat(e,"-width")]:"var(".concat(a).concat(r,"-width)")}:null})),[{width:"var(".concat(a,"xs-width)")}],(0,r.A)(T))}}})(t)]},I,{unitless:{titleLineHeight:!0}})},41401:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},42115:(e,t,E)=>{"use strict";function r(e,t){this.v=e,this.k=t}function n(e,t,E,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(n=function(e,t,E,r){function i(t,E){n(e,t,function(e){return this._invoke(t,E,e)})}t?o?o(e,t,{value:E,enumerable:!r,configurable:!r,writable:!r}):e[t]=E:(i("next",0),i("throw",1),i("return",2))})(e,t,E,r)}function o(){var e,t,E="function"==typeof Symbol?Symbol:{},r=E.iterator||"@@iterator",i=E.toStringTag||"@@toStringTag";function a(E,r,o,i){var a=Object.create((r&&r.prototype instanceof s?r:s).prototype);return n(a,"_invoke",function(E,r,n){var o,i,a,s=0,A=n||[],R=!1,S={p:0,n:0,v:e,a:O,f:O.bind(e,4),d:function(t,E){return o=t,i=0,a=e,S.n=E,T}};function O(E,r){for(i=E,a=r,t=0;!R&&s&&!n&&t3?(n=I===r)&&(a=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=O&&((n=E<2&&Or||r>I)&&(o[4]=E,o[5]=r,S.n=I,i=0))}if(n||E>1)return T;throw R=!0,r}return function(n,A,I){if(s>1)throw TypeError("Generator is already running");for(R&&1===A&&O(A,I),i=A,a=I;(t=i<2?e:a)||!R;){o||(i?i<3?(i>1&&(S.n=-1),O(i,a)):S.n=a:S.v=a);try{if(s=2,o){if(i||(n="next"),t=o[n]){if(!(t=t.call(o,a)))throw TypeError("iterator result is not an object");if(!t.done)return t;a=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(a=TypeError("The iterator does not provide a '"+n+"' method"),i=1);o=e}else if((t=(R=S.n<0)?a:E.call(r,S))!==T)break}catch(t){o=e,i=1,a=t}finally{s=1}}return{value:t,done:R}}}(E,o,i),!0),a}var T={};function s(){}function A(){}function R(){}t=Object.getPrototypeOf;var S=R.prototype=s.prototype=Object.create([][r]?t(t([][r]())):(n(t={},r,function(){return this}),t));function O(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,R):(e.__proto__=R,n(e,i,"GeneratorFunction")),e.prototype=Object.create(S),e}return A.prototype=R,n(S,"constructor",R),n(R,"constructor",A),A.displayName="GeneratorFunction",n(R,i,"GeneratorFunction"),n(S),n(S,i,"Generator"),n(S,r,function(){return this}),n(S,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:O}})()}function i(e,t){var E;this.next||(n(i.prototype),n(i.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(n,o,i){function a(){return new t(function(E,o){!function E(n,o,i,a){try{var T=e[n](o),s=T.value;return s instanceof r?t.resolve(s.v).then(function(e){E("next",e,i,a)},function(e){E("throw",e,i,a)}):t.resolve(s).then(function(e){T.value=e,i(T)},function(e){return E("throw",e,i,a)})}catch(e){a(e)}}(n,i,E,o)})}return E=E?E.then(a,a):a()},!0)}function a(e,t,E,r,n){return new i(o().w(e,t,E,r),n||Promise)}function T(e){var t=Object(e),E=[];for(var r in t)E.unshift(r);return function e(){for(;E.length;)if((r=E.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}E.d(t,{A:()=>R});var s=E(86608);function A(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],E=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&E>=e.length&&(e=void 0),{value:e&&e[E++],done:!e}}}}throw TypeError((0,s.A)(e)+" is not iterable")}function R(){var e=o(),t=e.m(R),E=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function n(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))}var s={throw:1,return:2,break:3,continue:3};function S(e){var t,E;return function(r){t||(t={stop:function(){return E(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return E(r.a,s[e],t)},delegateYield:function(e,n,o){return t.resultName=n,E(r.d,A(e),o)},finish:function(e){return E(r.f,e)}},E=function(e,E,n){r.p=t.prev,r.n=t.next;try{return e(E,n)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(R=function(){return{wrap:function(t,E,r,n){return e.w(S(t),E,r,n&&n.reverse())},isGeneratorFunction:n,mark:e.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:i,async:function(e,t,E,r,o){return(n(t)?a:function(e,t,E,r,n){var o=a(e,t,E,r,n);return o.next().then(function(e){return e.done?e.value:o.next()})})(S(e),t,E,r,o)},keys:T,values:A}})()}},42222:(e,t,E)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}E.d(t,{A:()=>r})},44494:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,X:()=>o});var r=E(12115);let n=r.createContext(!1),o=e=>{let{children:t,disabled:E}=e,o=r.useContext(n);return r.createElement(n.Provider,{value:null!=E?E:o},t)},i=n},45144:(e,t,E)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}E.d(t,{A:()=>r})},45431:(e,t,E)=>{"use strict";E.d(t,{OF:()=>T,Or:()=>s,bf:()=>A});var r=E(12115),n=E(61388),o=E(15982),i=E(18184),a=E(70042);let{genStyleHooks:T,genComponentStyleHook:s,genSubStyleComponent:A}=(0,n.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(o.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,E,r,n]=(0,a.Ay)();return{theme:e,realToken:t,hashId:E,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=(0,r.useContext)(o.QO);return null!=e?e:{}},getResetStyles:(e,t)=>{var E;let r=(0,i.av)(e);return[r,{"&":r},(0,i.jz)(null!=(E=null==t?void 0:t.prefix.iconPrefixCls)?E:o.pM)]},getCommonStyle:i.vj,getCompUnitless:()=>a.Is})},47195:(e,t,E)=>{"use strict";E.d(t,{A:()=>L});var r=E(12115),n=E(29300),o=E.n(n),i=E(53930),a=E(74686),T=E(15982),s=E(80163);let A=(0,E(45431).Or)("Wave",e=>{let{componentCls:t,colorPrimary:E}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(E,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(e.motionEaseOutCirc),"opacity 2s ".concat(e.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"opacity ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)].join(",")}}}}});var R=E(18885),S=E(16962),O=E(70042),I=E(3617),l=E(82870),c=E(25856);function N(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e&&"canvastext"!==e}function u(e){return Number.isNaN(e)?0:e}let C=e=>{let{className:t,target:E,component:n,registerUnmount:i}=e,T=r.useRef(null),s=r.useRef(null);r.useEffect(()=>{s.current=i()},[]);let[A,R]=r.useState(null),[O,c]=r.useState([]),[C,L]=r.useState(0),[_,d]=r.useState(0),[f,D]=r.useState(0),[P,p]=r.useState(0),[h,M]=r.useState(!1),m={left:C,top:_,width:f,height:P,borderRadius:O.map(e=>"".concat(e,"px")).join(" ")};function U(){let e=getComputedStyle(E);R(function(e){var t;let{borderTopColor:E,borderColor:r,backgroundColor:n}=getComputedStyle(e);return null!=(t=[E,r,n].find(N))?t:null}(E));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:n}=e;L(t?E.offsetLeft:u(-Number.parseFloat(r))),d(t?E.offsetTop:u(-Number.parseFloat(n))),D(E.offsetWidth),p(E.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:i,borderBottomLeftRadius:a,borderBottomRightRadius:T}=e;c([o,i,T,a].map(e=>u(Number.parseFloat(e))))}if(A&&(m["--wave-color"]=A),r.useEffect(()=>{if(E){let e,t=(0,S.A)(()=>{U(),M(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(U)).observe(E),()=>{S.A.cancel(t),null==e||e.disconnect()}}},[E]),!h)return null;let g=("Checkbox"===n||"Radio"===n)&&(null==E?void 0:E.classList.contains(I.D));return r.createElement(l.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var E,r;if(t.deadline||"opacity"===t.propertyName){let e=null==(E=T.current)?void 0:E.parentElement;null==(r=s.current)||r.call(s).then(()=>{null==e||e.remove()})}return!1}},(e,E)=>{let{className:n}=e;return r.createElement("div",{ref:(0,a.K4)(T,E),className:o()(t,n,{"wave-quick":g}),style:m})})},L=e=>{let{children:t,disabled:E,component:n}=e,{getPrefixCls:l}=(0,r.useContext)(T.QO),N=(0,r.useRef)(null),u=l("wave"),[,L]=A(u),_=((e,t,E)=>{let{wave:n}=r.useContext(T.QO),[,o,i]=(0,O.Ay)(),a=(0,R.A)(a=>{let T=e.current;if((null==n?void 0:n.disabled)||!T)return;let s=T.querySelector(".".concat(I.D))||T,{showEffect:A}=n||{};(A||((e,t)=>{var E;let{component:n}=t;if("Checkbox"===n&&!(null==(E=e.querySelector("input"))?void 0:E.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild);let i=(0,c.L)(),a=null;a=i(r.createElement(C,Object.assign({},t,{target:e,registerUnmount:function(){return a}})),o)}))(s,{className:t,token:o,component:E,event:a,hashId:i})}),s=r.useRef(null);return e=>{S.A.cancel(s.current),s.current=(0,S.A)(()=>{a(e)})}})(N,o()(u,L),n);if(r.useEffect(()=>{let e=N.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||E)return;let t=t=>{!(0,i.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")&&!e.className.includes("disabled:")||"true"===e.getAttribute("aria-disabled")||e.className.includes("-leave")||_(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[E]),!r.isValidElement(t))return null!=t?t:null;let d=(0,a.f3)(t)?(0,a.K4)((0,a.A9)(t),N):N;return(0,s.Ob)(t,{ref:d})}},47212:(e,t,E)=>{"use strict";E.d(t,{aB:()=>c,nF:()=>o});var r=E(99841),n=E(64717);let o=new r.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),i=new r.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),a=new r.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),T=new r.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),s=new r.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),A=new r.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),R=new r.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),S=new r.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),O=new r.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),I=new r.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),l={zoom:{inKeyframes:o,outKeyframes:i},"zoom-big":{inKeyframes:a,outKeyframes:T},"zoom-big-fast":{inKeyframes:a,outKeyframes:T},"zoom-left":{inKeyframes:R,outKeyframes:S},"zoom-right":{inKeyframes:O,outKeyframes:I},"zoom-up":{inKeyframes:s,outKeyframes:A},"zoom-down":{inKeyframes:new r.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new r.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},c=(e,t)=>{let{antCls:E}=e,r="".concat(E,"-").concat(t),{inKeyframes:o,outKeyframes:i}=l[t];return[(0,n.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{["\n ".concat(r,"-enter,\n ").concat(r,"-appear\n ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},48680:(e,t,E)=>{"use strict";function r(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}function n(e){return r(e)instanceof ShadowRoot?r(e):null}E.d(t,{j:()=>n})},48776:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(40578),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},48804:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=E(21858),n=E(18885),o=E(49172),i=E(28248);function a(e){return void 0!==e}function T(e,t){var E=t||{},T=E.defaultValue,s=E.value,A=E.onChange,R=E.postState,S=(0,i.A)(function(){return a(s)?s:a(T)?"function"==typeof T?T():T:"function"==typeof e?e():e}),O=(0,r.A)(S,2),I=O[0],l=O[1],c=void 0!==s?s:I,N=R?R(c):c,u=(0,n.A)(A),C=(0,i.A)([c]),L=(0,r.A)(C,2),_=L[0],d=L[1];return(0,o.o)(function(){var e=_[0];I!==e&&u(I,e)},[_]),(0,o.o)(function(){a(s)||l(s)},[s]),[N,(0,n.A)(function(e,t){l(e,t),d([c],t)})]}},49172:(e,t,E)=>{"use strict";E.d(t,{A:()=>a,o:()=>i});var r=E(12115),n=(0,E(71367).A)()?r.useLayoutEffect:r.useEffect,o=function(e,t){var E=r.useRef(!0);n(function(){return e(E.current)},t),n(function(){return E.current=!1,function(){E.current=!0}},[])},i=function(e,t){o(function(t){if(!t)return e()},t)};let a=o},49641:e=>{!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=T(e),E=t[0],r=t[1];return(E+r)*3/4-r},t.toByteArray=function(e){var t,E,o=T(e),i=o[0],a=o[1],s=new n((i+a)*3/4-a),A=0,R=a>0?i-4:i;for(E=0;E>16&255,s[A++]=t>>8&255,s[A++]=255&t;return 2===a&&(t=r[e.charCodeAt(E)]<<2|r[e.charCodeAt(E+1)]>>4,s[A++]=255&t),1===a&&(t=r[e.charCodeAt(E)]<<10|r[e.charCodeAt(E+1)]<<4|r[e.charCodeAt(E+2)]>>2,s[A++]=t>>8&255,s[A++]=255&t),s},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,o=[],i=0,a=r-n;i>18&63]+E[n>>12&63]+E[n>>6&63]+E[63&n]);return o.join("")}(e,i,i+16383>a?a:i+16383));return 1===n?o.push(E[(t=e[r-1])>>2]+E[t<<4&63]+"=="):2===n&&o.push(E[(t=(e[r-2]<<8)+e[r-1])>>10]+E[t>>4&63]+E[t<<2&63]+"="),o.join("")};for(var E=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i0)throw Error("Invalid string. Length must be a multiple of 4");var E=e.indexOf("=");-1===E&&(E=t);var r=E===t?0:4-E%4;return[E,r]}r[45]=62,r[95]=63},72:function(e,t,E){"use strict";var r=E(675),n=E(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function i(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,E){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return A(e)}return T(e,t,E)}function T(e,t,E){if("string"==typeof e){var r=e,n=t;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var o=0|O(r,n),T=i(o),s=T.write(r,n);return s!==o&&(T=T.slice(0,s)),T}if(ArrayBuffer.isView(e))return R(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(m(e,ArrayBuffer)||e&&m(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(m(e,SharedArrayBuffer)||e&&m(e.buffer,SharedArrayBuffer)))return function(e,t,E){var r;if(t<0||e.byteLength=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function O(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||m(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 E=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===E)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*E;case"hex":return E>>>1;case"base64":return h(e).length;default:if(n)return r?-1:P(e).length;t=(""+t).toLowerCase(),n=!0}}function I(e,t,E){var n,o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===E||E>this.length)&&(E=this.length),E<=0||(E>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,E){var r=e.length;(!t||t<0)&&(t=0),(!E||E<0||E>r)&&(E=r);for(var n="",o=t;o0x7fffffff?E=0x7fffffff:E<-0x80000000&&(E=-0x80000000),(o=E*=1)!=o&&(E=n?0:e.length-1),E<0&&(E=e.length+E),E>=e.length)if(n)return -1;else E=e.length-1;else if(E<0)if(!n)return -1;else E=0;if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:N(e,t,E,r,n);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,t,E);else return Uint8Array.prototype.lastIndexOf.call(e,t,E);return N(e,[t],E,r,n)}throw TypeError("val must be string, number or Buffer")}function N(e,t,E,r,n){var o,i=1,a=e.length,T=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;i=2,a/=2,T/=2,E/=2}function s(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var A=-1;for(o=E;oa&&(E=a-T),o=E;o>=0;o--){for(var R=!0,S=0;SE&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,E,r,n){if(m(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===E&&(E=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||E>e.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&t>=E)return 0;if(r>=n)return -1;if(t>=E)return 1;if(t>>>=0,E>>>=0,r>>>=0,n>>>=0,this===e)return 0;for(var o=n-r,i=E-t,T=Math.min(o,i),s=this.slice(r,n),A=e.slice(t,E),R=0;R239?4:s>223?3:s>191?2:1;if(n+R<=E)switch(R){case 1:s<128&&(A=s);break;case 2:(192&(o=e[n+1]))==128&&(T=(31&s)<<6|63&o)>127&&(A=T);break;case 3:o=e[n+1],i=e[n+2],(192&o)==128&&(192&i)==128&&(T=(15&s)<<12|(63&o)<<6|63&i)>2047&&(T<55296||T>57343)&&(A=T);break;case 4:o=e[n+1],i=e[n+2],a=e[n+3],(192&o)==128&&(192&i)==128&&(192&a)==128&&(T=(15&s)<<18|(63&o)<<12|(63&i)<<6|63&a)>65535&&T<1114112&&(A=T)}null===A?(A=65533,R=1):A>65535&&(A-=65536,r.push(A>>>10&1023|55296),A=56320|1023&A),r.push(A),n+=R}var S=r,O=S.length;if(O<=4096)return String.fromCharCode.apply(String,S);for(var I="",l=0;lE)throw RangeError("Trying to access beyond buffer length")}function L(e,t,E,r,n,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw RangeError("Index out of range")}function _(e,t,E,r,n,o){if(E+r>e.length||E<0)throw RangeError("Index out of range")}function d(e,t,E,r,o){return t*=1,E>>>=0,o||_(e,t,E,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,E,r,23,4),E+4}function f(e,t,E,r,o){return t*=1,E>>>=0,o||_(e,t,E,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,E,r,52,8),E+8}a.prototype.write=function(e,t,E,r){if(void 0===t)r="utf8",E=this.length,t=0;else if(void 0===E&&"string"==typeof t)r=t,E=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(E)?(E>>>=0,void 0===r&&(r="utf8")):(r=E,E=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,i,a,T,s,A,R,S=this.length-t;if((void 0===E||E>S)&&(E=S),e.length>0&&(E<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var O=!1;;)switch(r){case"hex":return function(e,t,E,r){E=Number(E)||0;var n=e.length-E;r?(r=Number(r))>n&&(r=n):r=n;var o=t.length;r>o/2&&(r=o/2);for(var i=0;i>8,n.push(E%256),n.push(r);return n}(e,this.length-A),this,A,R);default:if(O)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),O=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var E=this.length;e=~~e,t=void 0===t?E:~~t,e<0?(e+=E)<0&&(e=0):e>E&&(e=E),t<0?(t+=E)<0&&(t=0):t>E&&(t=E),t>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e],n=1,o=0;++o>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e+--t],n=1;t>0&&(n*=256);)r+=this[e+--t]*n;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,E){e>>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e],n=1,o=0;++o=(n*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,E){e>>>=0,t>>>=0,E||C(e,t,this.length);for(var r=t,n=1,o=this[e+--r];r>0&&(n*=256);)o+=this[e+--r]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||C(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var E=this[e]|this[e+1]<<8;return 32768&E?0xffff0000|E:E},a.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var E=this[e+1]|this[e]<<8;return 32768&E?0xffff0000|E:E},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,E,r){if(e*=1,t>>>=0,E>>>=0,!r){var n=Math.pow(2,8*E)-1;L(this,e,t,E,n,0)}var o=1,i=0;for(this[t]=255&e;++i>>=0,E>>>=0,!r){var n=Math.pow(2,8*E)-1;L(this,e,t,E,n,0)}var o=E-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+E},a.prototype.writeUInt8=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,E,r){if(e*=1,t>>>=0,!r){var n=Math.pow(2,8*E-1);L(this,e,t,E,n-1,-n)}var o=0,i=1,a=0;for(this[t]=255&e;++o>>=0,!r){var n=Math.pow(2,8*E-1);L(this,e,t,E,n-1,-n)}var o=E-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+E},a.prototype.writeInt8=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,E){return d(this,e,t,!0,E)},a.prototype.writeFloatBE=function(e,t,E){return d(this,e,t,!1,E)},a.prototype.writeDoubleLE=function(e,t,E){return f(this,e,t,!0,E)},a.prototype.writeDoubleBE=function(e,t,E){return f(this,e,t,!1,E)},a.prototype.copy=function(e,t,E,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(E||(E=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;--o)e[o+t]=this[o+E];else Uint8Array.prototype.set.call(e,this.subarray(E,r),t);return n},a.prototype.fill=function(e,t,E,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,E=this.length):"string"==typeof E&&(r=E,E=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var n,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,E=void 0===E?this.length:E>>>0,e||(e=0),"number"==typeof e)for(n=t;n55295&&E<57344){if(!n){if(E>56319||i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}n=E;continue}if(E<56320){(t-=3)>-1&&o.push(239,191,189),n=E;continue}E=(n-55296<<10|E-56320)+65536}else n&&(t-=3)>-1&&o.push(239,191,189);if(n=null,E<128){if((t-=1)<0)break;o.push(E)}else if(E<2048){if((t-=2)<0)break;o.push(E>>6|192,63&E|128)}else if(E<65536){if((t-=3)<0)break;o.push(E>>12|224,E>>6&63|128,63&E|128)}else if(E<1114112){if((t-=4)<0)break;o.push(E>>18|240,E>>12&63|128,E>>6&63|128,63&E|128)}else throw Error("Invalid code point")}return o}function p(e){for(var t=[],E=0;E=t.length)&&!(n>=e.length);++n)t[n+E]=e[n];return n}function m(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var U=function(){for(var e="0123456789abcdef",t=Array(256),E=0;E<16;++E)for(var r=16*E,n=0;n<16;++n)t[r+n]=e[E]+e[n];return t}()},783:function(e,t){t.read=function(e,t,E,r,n){var o,i,a=8*n-r-1,T=(1<>1,A=-7,R=E?n-1:0,S=E?-1:1,O=e[t+R];for(R+=S,o=O&(1<<-A)-1,O>>=-A,A+=a;A>0;o=256*o+e[t+R],R+=S,A-=8);for(i=o&(1<<-A)-1,o>>=-A,A+=r;A>0;i=256*i+e[t+R],R+=S,A-=8);if(0===o)o=1-s;else{if(o===T)return i?NaN:1/0*(O?-1:1);i+=Math.pow(2,r),o-=s}return(O?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,E,r,n,o){var i,a,T,s=8*o-n-1,A=(1<>1,S=5960464477539062e-23*(23===n),O=r?0:o-1,I=r?1:-1,l=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),i=A):(i=Math.floor(Math.log(t)/Math.LN2),t*(T=Math.pow(2,-i))<1&&(i--,T*=2),i+R>=1?t+=S/T:t+=S*Math.pow(2,1-R),t*T>=2&&(i++,T/=2),i+R>=A?(a=0,i=A):i+R>=1?(a=(t*T-1)*Math.pow(2,n),i+=R):(a=t*Math.pow(2,R-1)*Math.pow(2,n),i=0));n>=8;e[E+O]=255&a,O+=I,a/=256,n-=8);for(i=i<0;e[E+O]=255&i,O+=I,i/=256,s-=8);e[E+O-I]|=128*l}}},E={};function r(e){var n=E[e];if(void 0!==n)return n.exports;var o=E[e]={exports:{}},i=!0;try{t[e](o,o.exports,r),i=!1}finally{i&&delete E[e]}return o.exports}r.ab="//",e.exports=r(72)}()},50199:(e,t,E)=>{"use strict";E.d(t,{L3:()=>a,i4:()=>T,xV:()=>s});var r=E(99841),n=E(45431),o=E(61388);let i=(e,t)=>((e,t)=>{let{prefixCls:E,componentCls:r,gridColumns:n}=e,o={};for(let e=n;e>=0;e--)0===e?(o["".concat(r).concat(t,"-").concat(e)]={display:"none"},o["".concat(r,"-push-").concat(e)]={insetInlineStart:"auto"},o["".concat(r,"-pull-").concat(e)]={insetInlineEnd:"auto"},o["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"auto"},o["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"auto"},o["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:0},o["".concat(r).concat(t,"-order-").concat(e)]={order:0}):(o["".concat(r).concat(t,"-").concat(e)]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:"0 0 ".concat(e/n*100,"%"),maxWidth:"".concat(e/n*100,"%")}],o["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-order-").concat(e)]={order:e});return o["".concat(r).concat(t,"-flex")]={flex:"var(--".concat(E).concat(t,"-flex)")},o})(e,t),a=(0,n.OF)("Grid",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"}}}},()=>({})),T=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),s=(0,n.OF)("Grid",e=>{let t=(0,o.oX)(e,{gridColumns:24}),E=T(t);return delete E.xs,[(e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}})(t),i(t,""),i(t,"-xs"),Object.keys(E).map(e=>{let n,o;return n=E[e],o="-".concat(e),{["@media (min-width: ".concat((0,r.zA)(n),")")]:Object.assign({},i(t,o))}}).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},50497:(e,t,E)=>{"use strict";E.d(t,{$:()=>S,d:()=>s});var r=E(12115),n=E(48776),o=E(40032),i=E(8530),a=E(16025),T=E(85382);function s(e){if(!e)return;let{closable:t,closeIcon:E}=e;return{closable:t,closeIcon:E}}function A(e){let{closable:t,closeIcon:E}=e||{};return r.useMemo(()=>{if(!t&&(!1===t||!1===E||null===E))return!1;if(void 0===t&&void 0===E)return null;let e={closeIcon:"boolean"!=typeof E&&null!==E?E:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,E])}let R={},S=function(e,t){let E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,s=A(e),S=A(t),[O]=(0,i.A)("global",a.A.global),I="boolean"!=typeof s&&!!(null==s?void 0:s.disabled),l=r.useMemo(()=>Object.assign({closeIcon:r.createElement(n.A,null)},E),[E]),c=r.useMemo(()=>!1!==s&&(s?(0,T.A)(l,S,s):!1!==S&&(S?(0,T.A)(l,S):!!l.closable&&l)),[s,S,l]);return r.useMemo(()=>{var e,t;if(!1===c)return[!1,null,I,{}];let{closeIconRender:E}=l,{closeIcon:n}=c,i=n,a=(0,o.A)(c,!0);return null!=i&&(E&&(i=E(n)),i=r.isValidElement(i)?r.cloneElement(i,Object.assign(Object.assign(Object.assign({},i.props),{"aria-label":null!=(t=null==(e=i.props)?void 0:e["aria-label"])?t:O.close}),a)):r.createElement("span",Object.assign({"aria-label":O.close},a),i)),[!0,i,I,a]},[I,O.close,c,l])}},50907:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},51280:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(89450),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},51754:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115);let o={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"};var i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o}))})},52270:(e,t,E)=>{"use strict";e.exports=E(97314)},52596:(e,t,E)=>{"use strict";function r(){for(var e,t,E=0,r="",n=arguments.length;Er,A:()=>n});let n=r},53930:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),E=t.width,r=t.height;if(E||r)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),o=n.width,i=n.height;if(o||i)return!0}}return!1}},55121:(e,t,E)=>{"use strict";E.d(t,{Z:()=>f,A:()=>M});var r=E(79630),n=E(21858),o=E(24756),i=E(12115),a=i.createContext({}),T=E(27061),s=E(29300),A=E.n(s),R=E(3201),S=E(32934),O=E(17233),I=E(40032);function l(e,t,E){var r=t;return!r&&E&&(r="".concat(e,"-").concat(E)),r}function c(e,t){var E=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof E){var n=e.document;"number"!=typeof(E=n.documentElement[r])&&(E=n.body[r])}return E}var N=E(82870),u=E(86608),C=E(74686);let L=i.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate});var _={width:0,height:0,overflow:"hidden",outline:"none"},d={outline:"none"};let f=i.forwardRef(function(e,t){var E=e.prefixCls,n=e.className,o=e.style,s=e.title,R=e.ariaId,S=e.footer,O=e.closable,l=e.closeIcon,c=e.onClose,N=e.children,f=e.bodyStyle,D=e.bodyProps,P=e.modalRender,p=e.onMouseDown,h=e.onMouseUp,M=e.holderRef,m=e.visible,U=e.forceRender,g=e.width,y=e.height,G=e.classNames,b=e.styles,v=i.useContext(a).panel,H=(0,C.xK)(M,v),F=(0,i.useRef)(),B=(0,i.useRef)();i.useImperativeHandle(t,function(){return{focus:function(){var e;null==(e=F.current)||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===B.current?F.current.focus({preventScroll:!0}):e||t!==F.current||B.current.focus({preventScroll:!0})}}});var Y={};void 0!==g&&(Y.width=g),void 0!==y&&(Y.height=y);var V=S?i.createElement("div",{className:A()("".concat(E,"-footer"),null==G?void 0:G.footer),style:(0,T.A)({},null==b?void 0:b.footer)},S):null,x=s?i.createElement("div",{className:A()("".concat(E,"-header"),null==G?void 0:G.header),style:(0,T.A)({},null==b?void 0:b.header)},i.createElement("div",{className:"".concat(E,"-title"),id:R},s)):null,W=(0,i.useMemo)(function(){return"object"===(0,u.A)(O)&&null!==O?O:O?{closeIcon:null!=l?l:i.createElement("span",{className:"".concat(E,"-close-x")})}:{}},[O,l,E]),w=(0,I.A)(W,!0),X="object"===(0,u.A)(O)&&O.disabled,K=O?i.createElement("button",(0,r.A)({type:"button",onClick:c,"aria-label":"Close"},w,{className:"".concat(E,"-close"),disabled:X}),W.closeIcon):null,k=i.createElement("div",{className:A()("".concat(E,"-content"),null==G?void 0:G.content),style:null==b?void 0:b.content},K,x,i.createElement("div",(0,r.A)({className:A()("".concat(E,"-body"),null==G?void 0:G.body),style:(0,T.A)((0,T.A)({},f),null==b?void 0:b.body)},D),N),V);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":s?R:null,"aria-modal":"true",ref:H,style:(0,T.A)((0,T.A)({},o),Y),className:A()(E,n),onMouseDown:p,onMouseUp:h},i.createElement("div",{ref:F,tabIndex:0,style:d},i.createElement(L,{shouldUpdate:m||U},P?P(k):k)),i.createElement("div",{tabIndex:0,ref:B,style:_}))});var D=i.forwardRef(function(e,t){var E=e.prefixCls,o=e.title,a=e.style,s=e.className,R=e.visible,S=e.forceRender,O=e.destroyOnClose,I=e.motionName,l=e.ariaId,u=e.onVisibleChanged,C=e.mousePosition,L=(0,i.useRef)(),_=i.useState(),d=(0,n.A)(_,2),D=d[0],P=d[1],p={};function h(){var e,t,E,r,n,o=(E={left:(t=(e=L.current).getBoundingClientRect()).left,top:t.top},n=(r=e.ownerDocument).defaultView||r.parentWindow,E.left+=c(n),E.top+=c(n,!0),E);P(C&&(C.x||C.y)?"".concat(C.x-o.left,"px ").concat(C.y-o.top,"px"):"")}return D&&(p.transformOrigin=D),i.createElement(N.Ay,{visible:R,onVisibleChanged:u,onAppearPrepare:h,onEnterPrepare:h,forceRender:S,motionName:I,removeOnLeave:O,ref:L},function(n,R){var S=n.className,O=n.style;return i.createElement(f,(0,r.A)({},e,{ref:t,title:o,ariaId:l,prefixCls:E,holderRef:R,style:(0,T.A)((0,T.A)((0,T.A)({},O),a),p),className:A()(s,S)}))})});D.displayName="Content";let P=function(e){var t=e.prefixCls,E=e.style,n=e.visible,o=e.maskProps,a=e.motionName,s=e.className;return i.createElement(N.Ay,{key:"mask",visible:n,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},function(e,n){var a=e.className,R=e.style;return i.createElement("div",(0,r.A)({ref:n,style:(0,T.A)((0,T.A)({},R),E),className:A()("".concat(t,"-mask"),a,s)},o))})};E(9587);let p=function(e){var t=e.prefixCls,E=void 0===t?"rc-dialog":t,o=e.zIndex,a=e.visible,s=void 0!==a&&a,c=e.keyboard,N=void 0===c||c,u=e.focusTriggerAfterClose,C=void 0===u||u,L=e.wrapStyle,_=e.wrapClassName,d=e.wrapProps,f=e.onClose,p=e.afterOpenChange,h=e.afterClose,M=e.transitionName,m=e.animation,U=e.closable,g=e.mask,y=void 0===g||g,G=e.maskTransitionName,b=e.maskAnimation,v=e.maskClosable,H=e.maskStyle,F=e.maskProps,B=e.rootClassName,Y=e.classNames,V=e.styles,x=(0,i.useRef)(),W=(0,i.useRef)(),w=(0,i.useRef)(),X=i.useState(s),K=(0,n.A)(X,2),k=K[0],J=K[1],j=(0,S.A)();function $(e){null==f||f(e)}var q=(0,i.useRef)(!1),Q=(0,i.useRef)(),z=null;(void 0===v||v)&&(z=function(e){q.current?q.current=!1:W.current===e.target&&$(e)}),(0,i.useEffect)(function(){s&&(J(!0),(0,R.A)(W.current,document.activeElement)||(x.current=document.activeElement))},[s]),(0,i.useEffect)(function(){return function(){clearTimeout(Q.current)}},[]);var Z=(0,T.A)((0,T.A)((0,T.A)({zIndex:o},L),null==V?void 0:V.wrapper),{},{display:k?null:"none"});return i.createElement("div",(0,r.A)({className:A()("".concat(E,"-root"),B)},(0,I.A)(e,{data:!0})),i.createElement(P,{prefixCls:E,visible:y&&s,motionName:l(E,G,b),style:(0,T.A)((0,T.A)({zIndex:o},H),null==V?void 0:V.mask),maskProps:F,className:null==Y?void 0:Y.mask}),i.createElement("div",(0,r.A)({tabIndex:-1,onKeyDown:function(e){if(N&&e.keyCode===O.A.ESC){e.stopPropagation(),$(e);return}s&&e.keyCode===O.A.TAB&&w.current.changeActive(!e.shiftKey)},className:A()("".concat(E,"-wrap"),_,null==Y?void 0:Y.wrapper),ref:W,onClick:z,style:Z},d),i.createElement(D,(0,r.A)({},e,{onMouseDown:function(){clearTimeout(Q.current),q.current=!0},onMouseUp:function(){Q.current=setTimeout(function(){q.current=!1})},ref:w,closable:void 0===U||U,ariaId:j,prefixCls:E,visible:s&&k,onClose:$,onVisibleChanged:function(e){if(e){if(!(0,R.A)(W.current,document.activeElement)){var t;null==(t=w.current)||t.focus()}}else{if(J(!1),y&&x.current&&C){try{x.current.focus({preventScroll:!0})}catch(e){}x.current=null}k&&(null==h||h())}null==p||p(e)},motionName:l(E,M,m)}))))};var h=function(e){var t=e.visible,E=e.getContainer,T=e.forceRender,s=e.destroyOnClose,A=void 0!==s&&s,R=e.afterClose,S=e.panelRef,O=i.useState(t),I=(0,n.A)(O,2),l=I[0],c=I[1],N=i.useMemo(function(){return{panel:S}},[S]);return(i.useEffect(function(){t&&c(!0)},[t]),T||!A||l)?i.createElement(a.Provider,{value:N},i.createElement(o.A,{open:t||T||l,autoDestroy:!1,getContainer:E,autoLock:t||l},i.createElement(p,(0,r.A)({},e,{destroyOnClose:A,afterClose:function(){null==R||R(),c(!1)}})))):null};h.displayName="Dialog";let M=h},55227:(e,t,E)=>{"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}E.d(t,{A:()=>r})},57845:(e,t,E)=>{"use strict";let r,n,o,i;E.d(t,{Ay:()=>k,cr:()=>w});var a=E(12115),T=E.t(a,2),s=E(99841),A=E(97089),R=E(22801),S=E(74121),O=E(26791),I=E(61958),l=E(94134),c=E(6212);let N=e=>{let{locale:t={},children:E,_ANT_MARK__:r}=e;a.useEffect(()=>(0,l.L)(null==t?void 0:t.Modal),[t]);let n=a.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return a.createElement(c.A.Provider,{value:n},E)};var u=E(16025),C=E(66154),L=E(35519),_=E(13418),d=E(15982),f=E(68057),D=E(60872),P=E(71367),p=E(85440);let h="-ant-".concat(Date.now(),"-").concat(Math.random());var M=E(44494),m=E(39985),U=E(80227);let{useId:g}=Object.assign({},T),y=void 0===g?()=>"":g;var G=E(82870),b=E(70042);let v=a.createContext(!0);function H(e){let t=a.useContext(v),{children:E}=e,[,r]=(0,b.Ay)(),{motion:n}=r,o=a.useRef(!1);return(o.current||(o.current=t!==n),o.current)?a.createElement(v.Provider,{value:n},a.createElement(G.Kq,{motion:n},E)):E}let F=()=>null;var B=E(18184),Y=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let V=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function x(){return r||d.yH}function W(){return n||d.pM}let w=()=>({getPrefixCls:(e,t)=>t||(e?"".concat(x(),"-").concat(e):x()),getIconPrefixCls:W,getRootPrefixCls:()=>r||x(),getTheme:()=>o,holderRender:i}),X=e=>{let{children:t,csp:E,autoInsertSpaceInButton:r,alert:n,anchor:o,form:i,locale:T,componentSize:l,direction:c,space:f,splitter:D,virtual:P,dropdownMatchSelectWidth:p,popupMatchSelectWidth:h,popupOverflow:g,legacyLocale:G,parentContext:v,iconPrefixCls:x,theme:W,componentDisabled:w,segmented:X,statistic:K,spin:k,calendar:J,carousel:j,cascader:$,collapse:q,typography:Q,checkbox:z,descriptions:Z,divider:ee,drawer:et,skeleton:eE,steps:er,image:en,layout:eo,list:ei,mentions:ea,modal:eT,progress:es,result:eA,slider:eR,breadcrumb:eS,menu:eO,pagination:eI,input:el,textArea:ec,empty:eN,badge:eu,radio:eC,rate:eL,switch:e_,transfer:ed,avatar:ef,message:eD,tag:eP,table:ep,card:eh,tabs:eM,timeline:em,timePicker:eU,upload:eg,notification:ey,tree:eG,colorPicker:eb,datePicker:ev,rangePicker:eH,flex:eF,wave:eB,dropdown:eY,warning:eV,tour:ex,tooltip:eW,popover:ew,popconfirm:eX,floatButton:eK,floatButtonGroup:ek,variant:eJ,inputNumber:ej,treeSelect:e$}=e,eq=a.useCallback((t,E)=>{let{prefixCls:r}=e;if(E)return E;let n=r||v.getPrefixCls("");return t?"".concat(n,"-").concat(t):n},[v.getPrefixCls,e.prefixCls]),eQ=x||v.iconPrefixCls||d.pM,ez=E||v.csp;((e,t)=>{let[E,r]=(0,b.Ay)();return(0,s.IV)({theme:E,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>(0,B.jz)(e))})(eQ,ez);let eZ=function(e,t,E){var r;(0,O.rJ)("ConfigProvider");let n=e||{},o=!1!==n.inherit&&t?t:Object.assign(Object.assign({},L.sb),{hashed:null!=(r=null==t?void 0:t.hashed)?r:L.sb.hashed,cssVar:null==t?void 0:t.cssVar}),i=y();return(0,R.A)(()=>{var r,a;if(!e)return t;let T=Object.assign({},o.components);Object.keys(e.components||{}).forEach(t=>{T[t]=Object.assign(Object.assign({},T[t]),e.components[t])});let s="css-var-".concat(i.replace(/:/g,"")),A=(null!=(r=n.cssVar)?r:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==E?void 0:E.prefixCls},"object"==typeof o.cssVar?o.cssVar:{}),"object"==typeof n.cssVar?n.cssVar:{}),{key:"object"==typeof n.cssVar&&(null==(a=n.cssVar)?void 0:a.key)||s});return Object.assign(Object.assign(Object.assign({},o),n),{token:Object.assign(Object.assign({},o.token),n.token),components:T,cssVar:A})},[n,o],(e,t)=>e.some((e,E)=>{let r=t[E];return!(0,U.A)(e,r,!0)}))}(W,v.theme,{prefixCls:eq("")}),e0={csp:ez,autoInsertSpaceInButton:r,alert:n,anchor:o,locale:T||G,direction:c,space:f,splitter:D,virtual:P,popupMatchSelectWidth:null!=h?h:p,popupOverflow:g,getPrefixCls:eq,iconPrefixCls:eQ,theme:eZ,segmented:X,statistic:K,spin:k,calendar:J,carousel:j,cascader:$,collapse:q,typography:Q,checkbox:z,descriptions:Z,divider:ee,drawer:et,skeleton:eE,steps:er,image:en,input:el,textArea:ec,layout:eo,list:ei,mentions:ea,modal:eT,progress:es,result:eA,slider:eR,breadcrumb:eS,menu:eO,pagination:eI,empty:eN,badge:eu,radio:eC,rate:eL,switch:e_,transfer:ed,avatar:ef,message:eD,tag:eP,table:ep,card:eh,tabs:eM,timeline:em,timePicker:eU,upload:eg,notification:ey,tree:eG,colorPicker:eb,datePicker:ev,rangePicker:eH,flex:eF,wave:eB,dropdown:eY,warning:eV,tour:ex,tooltip:eW,popover:ew,popconfirm:eX,floatButton:eK,floatButtonGroup:ek,variant:eJ,inputNumber:ej,treeSelect:e$},e1=Object.assign({},v);Object.keys(e0).forEach(e=>{void 0!==e0[e]&&(e1[e]=e0[e])}),V.forEach(t=>{let E=e[t];E&&(e1[t]=E)}),void 0!==r&&(e1.button=Object.assign({autoInsertSpace:r},e1.button));let e2=(0,R.A)(()=>e1,e1,(e,t)=>{let E=Object.keys(e),r=Object.keys(t);return E.length!==r.length||E.some(E=>e[E]!==t[E])}),{layer:e5}=a.useContext(s.J),e6=a.useMemo(()=>({prefixCls:eQ,csp:ez,layer:e5?"antd":void 0}),[eQ,ez,e5]),e4=a.createElement(a.Fragment,null,a.createElement(F,{dropdownMatchSelectWidth:p}),t),e8=a.useMemo(()=>{var e,t,E,r;return(0,S.h)((null==(e=u.A.Form)?void 0:e.defaultValidateMessages)||{},(null==(E=null==(t=e2.locale)?void 0:t.Form)?void 0:E.defaultValidateMessages)||{},(null==(r=e2.form)?void 0:r.validateMessages)||{},(null==i?void 0:i.validateMessages)||{})},[e2,null==i?void 0:i.validateMessages]);Object.keys(e8).length>0&&(e4=a.createElement(I.A.Provider,{value:e8},e4)),T&&(e4=a.createElement(N,{locale:T,_ANT_MARK__:"internalMark"},e4)),(eQ||ez)&&(e4=a.createElement(A.A.Provider,{value:e6},e4)),l&&(e4=a.createElement(m.c,{size:l},e4)),e4=a.createElement(H,null,e4);let e3=a.useMemo(()=>{let e=eZ||{},{algorithm:t,token:E,components:r,cssVar:n}=e,o=Y(e,["algorithm","token","components","cssVar"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,s.an)(t):C.A,a={};Object.entries(r||{}).forEach(e=>{let[t,E]=e,r=Object.assign({},E);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,s.an)(r.algorithm)),delete r.algorithm),a[t]=r});let T=Object.assign(Object.assign({},_.A),E);return Object.assign(Object.assign({},o),{theme:i,token:T,components:a,override:Object.assign({override:T},a),cssVar:n})},[eZ]);return W&&(e4=a.createElement(L.vG.Provider,{value:e3},e4)),e2.warning&&(e4=a.createElement(O._n.Provider,{value:e2.warning},e4)),void 0!==w&&(e4=a.createElement(M.X,{disabled:w},e4)),a.createElement(d.QO.Provider,{value:e2},e4)},K=e=>{let t=a.useContext(d.QO),E=a.useContext(c.A);return a.createElement(X,Object.assign({parentContext:t,legacyLocale:E},e))};K.ConfigContext=d.QO,K.SizeContext=m.A,K.config=e=>{let{prefixCls:t,iconPrefixCls:E,theme:a,holderRender:T}=e;void 0!==t&&(r=t),void 0!==E&&(n=E),"holderRender"in e&&(i=T),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?!function(e,t){let E=function(e,t){let E={},r=(e,t)=>{let E=e.clone();return(E=(null==t?void 0:t(E))||E).toRgbString()},n=(e,t)=>{let n=new D.Y(e),o=(0,f.cM)(n.toRgbString());E["".concat(t,"-color")]=r(n),E["".concat(t,"-color-disabled")]=o[1],E["".concat(t,"-color-hover")]=o[4],E["".concat(t,"-color-active")]=o[6],E["".concat(t,"-color-outline")]=n.clone().setA(.2).toRgbString(),E["".concat(t,"-color-deprecated-bg")]=o[0],E["".concat(t,"-color-deprecated-border")]=o[2]};if(t.primaryColor){n(t.primaryColor,"primary");let e=new D.Y(t.primaryColor),o=(0,f.cM)(e.toRgbString());o.forEach((e,t)=>{E["primary-".concat(t+1)]=e}),E["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),E["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),E["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),E["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),E["primary-color-deprecated-f-12"]=r(e,e=>e.setA(.12*e.a));let i=new D.Y(o[0]);E["primary-color-active-deprecated-f-30"]=r(i,e=>e.setA(.3*e.a)),E["primary-color-active-deprecated-d-02"]=r(i,e=>e.darken(2))}t.successColor&&n(t.successColor,"success"),t.warningColor&&n(t.warningColor,"warning"),t.errorColor&&n(t.errorColor,"error"),t.infoColor&&n(t.infoColor,"info");let o=Object.keys(E).map(t=>"--".concat(e,"-").concat(t,": ").concat(E[t],";"));return"\n :root {\n ".concat(o.join("\n"),"\n }\n ").trim()}(e,t);(0,P.A)()&&(0,p.BD)(E,"".concat(h,"-dynamic-theme"))}(x(),a):o=a)},K.useConfig=function(){return{componentDisabled:(0,a.useContext)(M.A),componentSize:(0,a.useContext)(m.A)}},Object.defineProperty(K,"SizeContext",{get:()=>m.A});let k=K},59362:(e,t,E)=>{"use strict";E.d(t,{pe:()=>n});let{Axios:r,AxiosError:n,CanceledError:o,isCancel:i,CancelToken:a,VERSION:T,all:s,Cancel:A,isAxiosError:R,spread:S,toFormData:O,AxiosHeaders:I,HttpStatusCode:l,formToJSON:c,getAdapter:N,mergeConfig:u}=E(23464).A},60872:(e,t,E)=>{"use strict";E.d(t,{Y:()=>T});var r=E(40419);let n=Math.round;function o(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let i=(e,t,E)=>0===E?e:e/100;function a(e,t){let E=t||255;return e>E?E:e<0?0:e}class T{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=n(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:E,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,E=this._c(e),r=t/100,o=e=>(E[e]-this[e])*r+this[e],i={r:n(o("r")),g:n(o("g")),b:n(o("b")),a:n(100*o("a"))/100};return this._c(i)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>n((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=n(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=n(100*this.getSaturation()),E=n(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(E,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(E,"%)")}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=a(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl(e){let{h:t,s:E,l:r,a:o}=e;if(this._h=t%360,this._s=E,this._l=r,this.a="number"==typeof o?o:1,E<=0){let e=n(255*r);this.r=e,this.g=e,this.b=e}let i=0,a=0,T=0,s=t/60,A=(1-Math.abs(2*r-1))*E,R=A*(1-Math.abs(s%2-1));s>=0&&s<1?(i=A,a=R):s>=1&&s<2?(i=R,a=A):s>=2&&s<3?(a=A,T=R):s>=3&&s<4?(a=R,T=A):s>=4&&s<5?(i=R,T=A):s>=5&&s<6&&(i=A,T=R);let S=r-A/2;this.r=n((i+S)*255),this.g=n((a+S)*255),this.b=n((T+S)*255)}fromHsv(e){let{h:t,s:E,v:r,a:o}=e;this._h=t%360,this._s=E,this._v=r,this.a="number"==typeof o?o:1;let i=n(255*r);if(this.r=i,this.g=i,this.b=i,E<=0)return;let a=t/60,T=Math.floor(a),s=a-T,A=n(r*(1-E)*255),R=n(r*(1-E*s)*255),S=n(r*(1-E*(1-s))*255);switch(T){case 0:this.g=S,this.b=A;break;case 1:this.r=R,this.b=A;break;case 2:this.r=A,this.b=S;break;case 3:this.r=A,this.g=R;break;case 4:this.r=S,this.g=A;break;default:this.g=A,this.b=R}}fromHsvString(e){let t=o(e,i);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=o(e,i);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=o(e,(e,t)=>t.includes("%")?n(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.A)(this,"isValid",!0),(0,r.A)(this,"r",0),(0,r.A)(this,"g",0),(0,r.A)(this,"b",0),(0,r.A)(this,"a",1),(0,r.A)(this,"_h",void 0),(0,r.A)(this,"_s",void 0),(0,r.A)(this,"_l",void 0),(0,r.A)(this,"_v",void 0),(0,r.A)(this,"_max",void 0),(0,r.A)(this,"_min",void 0),(0,r.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):E("rgb")?this.fromRgbString(t):E("hsl")?this.fromHslString(t):(E("hsv")||E("hsb"))&&this.fromHsvString(t)}else if(e instanceof T)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=a(e.r),this.g=a(e.g),this.b=a(e.b),this.a="number"==typeof e.a?a(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}},61051:(e,t,E)=>{"use strict";E.d(t,{V:()=>r,i:()=>n});let r=E(12115).createContext({}),{Provider:n}=r},61216:(e,t,E)=>{"use strict";E.d(t,{$D:()=>l,Ay:()=>O,Ej:()=>c,FB:()=>C,fp:()=>I,jT:()=>N,lr:()=>u});var r=E(85757),n=E(12115),o=E(15982),i=E(57845),a=E(25856),T=E(85051),s=E(32655),A=E(94134);let R="",S=e=>{var t,E;let{prefixCls:r,getContainer:i,direction:a}=e,s=(0,A.l)(),S=(0,n.useContext)(o.QO),O=R||S.getPrefixCls(),I=r||"".concat(O,"-modal"),l=i;return!1===l&&(l=void 0),n.createElement(T.A,Object.assign({},e,{rootPrefixCls:O,prefixCls:I,iconPrefixCls:S.iconPrefixCls,theme:S.theme,direction:null!=a?a:S.direction,locale:null!=(E=null==(t=S.locale)?void 0:t.Modal)?E:s,getContainer:l}))};function O(e){let t,E,o=(0,i.cr)(),T=document.createDocumentFragment(),A=Object.assign(Object.assign({},e),{close:l,open:!0});function O(){for(var t,n=arguments.length,o=Array(n),i=0;inull==e?void 0:e.triggerCancel)&&(null==(t=e.onCancel)||t.call.apply(t,[e,()=>{}].concat((0,r.A)(o.slice(1)))));for(let e=0;e{clearTimeout(t),t=setTimeout(()=>{let t=o.getPrefixCls(void 0,R),r=o.getIconPrefixCls(),s=o.getTheme(),A=n.createElement(S,Object.assign({},e));E=(0,a.L)()(n.createElement(i.Ay,{prefixCls:t,iconPrefixCls:r,theme:s},"function"==typeof o.holderRender?o.holderRender(A):A),T)})};function l(){for(var t=arguments.length,E=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),O.apply(this,E)}})).visible&&delete A.visible,I(A)}return I(A),s.A.push(l),{destroy:l,update:function(e){I(A="function"==typeof e?e(A):Object.assign(Object.assign({},A),e))}}}function I(e){return Object.assign(Object.assign({},e),{type:"warning"})}function l(e){return Object.assign(Object.assign({},e),{type:"info"})}function c(e){return Object.assign(Object.assign({},e),{type:"success"})}function N(e){return Object.assign(Object.assign({},e),{type:"error"})}function u(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function C(e){let{rootPrefixCls:t}=e;R=t}},61388:(e,t,E)=>{"use strict";E.d(t,{L_:()=>y,oX:()=>P});var r=E(86608),n=E(21858),o=E(40419),i=E(27061),a=E(12115),T=E(99841),s=E(30857),A=E(28383),R=E(55227),S=E(38289),O=E(9424),I=(0,A.A)(function e(){(0,s.A)(this,e)}),l="CALC_UNIT",c=RegExp(l,"g");function N(e){return"number"==typeof e?"".concat(e).concat(l):e}var u=function(e){(0,S.A)(E,e);var t=(0,O.A)(E);function E(e,n){(0,s.A)(this,E),i=t.call(this),(0,o.A)((0,R.A)(i),"result",""),(0,o.A)((0,R.A)(i),"unitlessCssVar",void 0),(0,o.A)((0,R.A)(i),"lowPriority",void 0);var i,a=(0,r.A)(e);return i.unitlessCssVar=n,e instanceof E?i.result="(".concat(e.result,")"):"number"===a?i.result=N(e):"string"===a&&(i.result=e),i}return(0,A.A)(E,[{key:"add",value:function(e){return e instanceof E?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(N(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof E?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(N(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof E?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof E?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,E=(e||{}).unit,r=!0;return("boolean"==typeof E?r=E:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(c,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),E}(I),C=function(e){(0,S.A)(E,e);var t=(0,O.A)(E);function E(e){var r;return(0,s.A)(this,E),r=t.call(this),(0,o.A)((0,R.A)(r),"result",0),e instanceof E?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,A.A)(E,[{key:"add",value:function(e){return e instanceof E?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof E?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof E?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof E?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),E}(I);let L=function(e,t){var E="css"===e?u:C;return function(e){return new E(e,t)}},_=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};E(11719);let d=function(e,t,E,r){var o=(0,i.A)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t=(0,n.A)(e,2),E=t[0],r=t[1];(null!=o&&o[E]||null!=o&&o[r])&&(null!=o[r]||(o[r]=null==o?void 0:o[E]))});var a=(0,i.A)((0,i.A)({},E),o);return Object.keys(a).forEach(function(e){a[e]===t[e]&&delete a[e]}),a};var f="undefined"!=typeof CSSINJS_STATISTIC,D=!0;function P(){for(var e=arguments.length,t=Array(e),E=0;E1e4){var t=Date.now();this.lastAccessBeat.forEach(function(E,r){t-E>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let g=function(){return{}},y=function(e){var t=e.useCSP,E=void 0===t?g:t,s=e.useToken,A=e.usePrefix,R=e.getResetStyles,S=e.getCommonStyle,O=e.getCompUnitless;function I(t,o,O){var I=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=Array.isArray(t)?t:[t,t],c=(0,n.A)(l,1)[0],N=l.join("-"),u=e.layer||{name:"antd"};return function(e){var t,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,C=s(),f=C.theme,D=C.realToken,p=C.hashId,h=C.token,g=C.cssVar,y=A(),G=y.rootPrefixCls,b=y.iconPrefixCls,v=E(),H=g?"css":"js",F=(t=function(){var e=new Set;return g&&Object.keys(I.unitless||{}).forEach(function(t){e.add((0,T.Ki)(t,g.prefix)),e.add((0,T.Ki)(t,_(c,g.prefix)))}),L(H,e)},n=[H,c,null==g?void 0:g.prefix],a.useMemo(function(){var e=U.get(n);if(e)return e;var E=t();return U.set(n,E),E},n)),B="js"===H?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),E=0;E1&&void 0!==arguments[1]?arguments[1]:e,E=M(e,t),r=(0,n.A)(E,2)[1],o=U(t),i=(0,n.A)(o,2);return[i[0],r,i[1]]}},genSubStyleComponent:function(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=I(e,t,E,(0,i.A)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,E=e.rootCls,r=void 0===E?t:E;return n(t,r),null}},genComponentStyleHook:I}}},61706:(e,t,E)=>{"use strict";E.d(t,{z1:()=>d,cM:()=>O});let r={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},n=Math.round;function o(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let i=(e,t,E)=>0===E?e:e/100;function a(e,t){let E=t||255;return e>E?E:e<0?0:e}class T{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=n(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:E,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,E=this._c(e),r=t/100,o=e=>(E[e]-this[e])*r+this[e],i={r:n(o("r")),g:n(o("g")),b:n(o("b")),a:n(100*o("a"))/100};return this._c(i)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>n((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=n(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=n(100*this.getHSLSaturation()),E=n(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(E,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(E,"%)")}toHsv(){return{h:this.getHue(),s:this.getHSVSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=a(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl(e){let{h:t,s:E,l:r,a:o}=e,i=(t%360+360)%360;if(this._h=i,this._hsl_s=E,this._l=r,this.a="number"==typeof o?o:1,E<=0){let e=n(255*r);this.r=e,this.g=e,this.b=e;return}let a=0,T=0,s=0,A=i/60,R=(1-Math.abs(2*r-1))*E,S=R*(1-Math.abs(A%2-1));A>=0&&A<1?(a=R,T=S):A>=1&&A<2?(a=S,T=R):A>=2&&A<3?(T=R,s=S):A>=3&&A<4?(T=S,s=R):A>=4&&A<5?(a=S,s=R):A>=5&&A<6&&(a=R,s=S);let O=r-R/2;this.r=n((a+O)*255),this.g=n((T+O)*255),this.b=n((s+O)*255)}fromHsv(e){let{h:t,s:E,v:r,a:o}=e,i=(t%360+360)%360;this._h=i,this._hsv_s=E,this._v=r,this.a="number"==typeof o?o:1;let a=n(255*r);if(this.r=a,this.g=a,this.b=a,E<=0)return;let T=i/60,s=Math.floor(T),A=T-s,R=n(r*(1-E)*255),S=n(r*(1-E*A)*255),O=n(r*(1-E*(1-A))*255);switch(s){case 0:this.g=O,this.b=R;break;case 1:this.r=S,this.b=R;break;case 2:this.r=R,this.b=O;break;case 3:this.r=R,this.g=S;break;case 4:this.r=O,this.g=R;break;default:this.g=R,this.b=S}}fromHsvString(e){let t=o(e,i);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=o(e,i);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=o(e,(e,t)=>t.includes("%")?n(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(this.isValid=!0,this.r=0,this.g=0,this.b=0,this.a=1,e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}if(/^#?[A-F\d]{3,8}$/i.test(t))this.fromHexString(t);else if(E("rgb"))this.fromRgbString(t);else if(E("hsl"))this.fromHslString(t);else if(E("hsv")||E("hsb"))this.fromHsvString(t);else{let e=r[t.toLowerCase()];e&&this.fromHexString(parseInt(e,36).toString(16).padStart(6,"0"))}}else if(e instanceof T)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._hsl_s=e._hsl_s,this._hsv_s=e._hsv_s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=a(e.r),this.g=a(e.g),this.b=a(e.b),this.a="number"==typeof e.a?a(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}let s=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function A(e,t,E){let r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?E?Math.round(e.h)-2*t:Math.round(e.h)+2*t:E?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function R(e,t,E){let r;return 0===e.h&&0===e.s?e.s:((r=E?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),E&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function S(e,t,E){return Math.round(100*Math.max(0,Math.min(1,E?e.v+.05*t:e.v-.15*t)))/100}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=[],r=new T(e),n=r.toHsv();for(let e=5;e>0;e-=1){let t=new T({h:A(n,e,!0),s:R(n,e,!0),v:S(n,e,!0)});E.push(t)}E.push(r);for(let e=1;e<=4;e+=1){let t=new T({h:A(n,e),s:R(n,e),v:S(n,e)});E.push(t)}return"dark"===t.theme?s.map(e=>{let{index:r,amount:n}=e;return new T(t.backgroundColor||"#141414").mix(E[r],n).toHexString()}):E.map(e=>e.toHexString())}let I=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];I.primary=I[5];let l=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];l.primary=l[5];let c=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];c.primary=c[5];let N=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];N.primary=N[5];let u=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];u.primary=u[5];let C=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];C.primary=C[5];let L=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];L.primary=L[5];let _=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];_.primary=_[5];let d=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];d.primary=d[5];let f=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];f.primary=f[5];let D=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];D.primary=D[5];let P=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];P.primary=P[5];let p=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];p.primary=p[5];let h=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];h.primary=h[5];let M=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];M.primary=M[5];let m=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];m.primary=m[5];let U=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];U.primary=U[5];let g=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];g.primary=g[5];let y=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];y.primary=y[5];let G=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];G.primary=G[5];let b=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];b.primary=b[5];let v=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];v.primary=v[5];let H=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];H.primary=H[5];let F=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];F.primary=F[5];let B=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];B.primary=B[5];let Y=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Y.primary=Y[5]},61958:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)(void 0)},63568:(e,t,E)=>{"use strict";E.d(t,{$W:()=>A,Op:()=>T,Pp:()=>S,XB:()=>R,cK:()=>i,hb:()=>s,jC:()=>a});var r=E(12115),n=E(74251),o=E(17980);let i=r.createContext({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),a=r.createContext(null),T=e=>{let t=(0,o.A)(e,["prefixCls"]);return r.createElement(n.Op,Object.assign({},t))},s=r.createContext({prefixCls:""}),A=r.createContext({}),R=e=>{let{children:t,status:E,override:n}=e,o=r.useContext(A),i=r.useMemo(()=>{let e=Object.assign({},o);return n&&delete e.isFormItemInput,E&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[E,n,o]);return r.createElement(A.Provider,{value:i},t)},S=r.createContext(void 0)},63583:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(41401),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},63715:(e,t,E)=>{"use strict";E.d(t,{A:()=>function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[];return n.Children.forEach(t,function(t){(null!=t||E.keepEmpty)&&(Array.isArray(t)?o=o.concat(e(t)):(0,r.A)(t)&&t.props?o=o.concat(e(t.props.children,E)):o.push(t))}),o}});var r=E(10337),n=E(12115)},64717:(e,t,E)=>{"use strict";E.d(t,{b:()=>r});let r=function(e,t,E,r){let n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=n?"&":"";return{["\n ".concat(o).concat(e,"-enter,\n ").concat(o).concat(e,"-appear\n ")]:Object.assign(Object.assign({},{animationDuration:r,animationFillMode:"both"}),{animationPlayState:"paused"}),["".concat(o).concat(e,"-leave")]:Object.assign(Object.assign({},{animationDuration:r,animationFillMode:"both"}),{animationPlayState:"paused"}),["\n ".concat(o).concat(e,"-enter").concat(e,"-enter-active,\n ").concat(o).concat(e,"-appear").concat(e,"-appear-active\n ")]:{animationName:t,animationPlayState:"running"},["".concat(o).concat(e,"-leave").concat(e,"-leave-active")]:{animationName:E,animationPlayState:"running",pointerEvents:"none"}}}},66154:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(99841),n=E(79453);let o=(0,r.an)(n.A)},66383:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115);let o={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"};var i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o}))})},67302:(e,t,E)=>{"use strict";E.d(t,{kf:()=>i});var r=E(30857),n=E(28383),o=E(31474);let i=(0,n.A)(function e(t){var E;if((0,r.A)(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null==(E=t.colors)?void 0:E.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(t=>{let{color:E,percent:r}=t;return{color:new e(E),percent:r}}),this.metaColor=new o.Q1(this.colors[0].color.metaColor)):this.metaColor=new o.Q1(n?"":t),t&&(!n||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){let e,t;return e=this.toHexString(),t=this.metaColor.a<1,e&&(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||""}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>"".concat(e.color.toRgbString()," ").concat(e.percent,"%")).join(", ");return"linear-gradient(90deg, ".concat(t,")")}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,E)=>{let r=e.colors[E];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString())}}])},67831:(e,t,E)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:E}=e,{componentCls:r}=t,n=r||E,o="".concat(n,"-compact");return{[o]:Object.assign(Object.assign({},function(e,t,E,r){let{focusElCls:n,focus:o,borderElCls:i}=E,a=i?"> *":"",T=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>"&:".concat(e," ").concat(a)).join(",");return{["&-item:not(".concat(t,"-last-item)")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},["&-item:not(".concat(r,"-status-success)")]:{zIndex:2},"&-item":Object.assign(Object.assign({[T]:{zIndex:3}},n?{["&".concat(n)]:{zIndex:3}}:{}),{["&[disabled] ".concat(a)]:{zIndex:0}})}}(e,o,t,n)),function(e,t,E){let{borderElCls:r}=E,n=r?"> ".concat(r):"";return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item) ").concat(n)]:{borderRadius:0},["&-item:not(".concat(t,"-last-item)").concat(t,"-first-item")]:{["& ".concat(n,", &").concat(e,"-sm ").concat(n,", &").concat(e,"-lg ").concat(n)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(t,"-first-item)").concat(t,"-last-item")]:{["& ".concat(n,", &").concat(e,"-sm ").concat(n,", &").concat(e,"-lg ").concat(n)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,o,t))}}E.d(t,{G:()=>r})},68057:(e,t,E)=>{"use strict";E.d(t,{z1:()=>u,cM:()=>T,bK:()=>O,UA:()=>f,uy:()=>s});var r=E(60872),n=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function o(e,t,E){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?E?Math.round(e.h)-2*t:Math.round(e.h)+2*t:E?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function i(e,t,E){var r;return 0===e.h&&0===e.s?e.s:((r=E?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),E&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function a(e,t,E){return Math.round(100*Math.max(0,Math.min(1,E?e.v+.05*t:e.v-.15*t)))/100}function T(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=[],T=new r.Y(e),s=T.toHsv(),A=5;A>0;A-=1){var R=new r.Y({h:o(s,A,!0),s:i(s,A,!0),v:a(s,A,!0)});E.push(R)}E.push(T);for(var S=1;S<=4;S+=1){var O=new r.Y({h:o(s,S),s:i(s,S),v:a(s,S)});E.push(O)}return"dark"===t.theme?n.map(function(e){var n=e.index,o=e.amount;return new r.Y(t.backgroundColor||"#141414").mix(E[n],o).toHexString()}):E.map(function(e){return e.toHexString()})}var s={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"},A=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];A.primary=A[5];var R=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];R.primary=R[5];var S=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];S.primary=S[5];var O=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];O.primary=O[5];var I=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];I.primary=I[5];var l=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];l.primary=l[5];var c=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];c.primary=c[5];var N=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];N.primary=N[5];var u=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];u.primary=u[5];var C=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];C.primary=C[5];var L=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];L.primary=L[5];var _=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];_.primary=_[5];var d=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];d.primary=d[5];var f={red:A,volcano:R,orange:S,gold:O,yellow:I,lime:l,green:c,cyan:N,blue:u,geekblue:C,purple:L,magenta:_,grey:d},D=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];D.primary=D[5];var P=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];P.primary=P[5];var p=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];p.primary=p[5];var h=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];h.primary=h[5];var M=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];M.primary=M[5];var m=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];m.primary=m[5];var U=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];U.primary=U[5];var g=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];g.primary=g[5];var y=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];y.primary=y[5];var G=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];G.primary=G[5];var b=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];b.primary=b[5];var v=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];v.primary=v[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5]},68151:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(70042);let n=e=>{let[,,,,t]=(0,r.Ay)();return t?"".concat(e,"-css-var"):""}},68448:(e,t,E)=>{"use strict";E.d(t,{C:()=>R,Cv:()=>p,K2:()=>l,Nc:()=>D,OW:()=>N,Sh:()=>C,Tb:()=>d,Tp:()=>O,VF:()=>_,YL:()=>I,c4:()=>L,mw:()=>f,nf:()=>P,rH:()=>A,se:()=>c,yY:()=>S});var r=E(4697),n=1,o=1,i=0,a=0,T=0,s="";function A(e,t,E,r,i,a,T,s){return{value:e,root:t,parent:E,type:r,props:i,children:a,line:n,column:o,length:T,return:"",siblings:s}}function R(e,t){return(0,r.kp)(A("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function S(e){for(;e.root;)e=R(e.root,{children:[e]});(0,r.BC)(e,e.siblings)}function O(){return T}function I(){return T=a>0?(0,r.wN)(s,--a):0,o--,10===T&&(o=1,n--),T}function l(){return T=a2||C(T)>3?"":" "}function D(e,t){for(;--t&&l()&&!(T<48)&&!(T>102)&&(!(T>57)||!(T<65))&&(!(T>70)||!(T<97)););return u(e,a+(t<6&&32==c()&&32==l()))}function P(e,t){for(;l();)if(e+T===57)break;else if(e+T===84&&47===c())break;return"/*"+u(t,a-1)+"*"+(0,r.HT)(47===e?e:l())}function p(e){for(;!C(c());)l();return u(e,a)}},68495:(e,t,E)=>{"use strict";E.d(t,{s:()=>r});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},70042:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>I,Xe:()=>R,Is:()=>A});var r=E(12115),n=E(99841),o=E(35519),i=E(66154),a=E(13418),T=E(73383),s=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let A={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},R={motionBase:!0,motionUnit:!0},S={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},O=(e,t,E)=>{let r=E.getDerivativeToken(e),{override:n}=t,o=s(t,["override"]),i=Object.assign(Object.assign({},r),{override:n});return i=(0,T.A)(i),o&&Object.entries(o).forEach(e=>{let[t,E]=e,{theme:r}=E,n=s(E,["theme"]),o=n;r&&(o=O(Object.assign(Object.assign({},i),n),{override:n},r)),i[t]=o}),i};function I(){let{token:e,hashed:t,theme:E,override:s,cssVar:I}=r.useContext(o.vG),l="".concat("5.29.3","-").concat(t||""),c=E||i.A,[N,u,C]=(0,n.hV)(c,[a.A,e],{salt:l,override:s,getComputedToken:O,formatToken:T.A,cssVar:I&&{prefix:I.prefix,key:I.key,unitless:A,ignore:R,preserve:S}});return[c,C,t?u:"",N,I]}},70802:(e,t,E)=>{"use strict";E.d(t,{A:()=>D});var r=E(12115),n=E(29300),o=E.n(n),i=E(15982),a=E(17980);let T=e=>{let{prefixCls:t,className:E,style:n,size:i,shape:a}=e,T=o()({["".concat(t,"-lg")]:"large"===i,["".concat(t,"-sm")]:"small"===i}),s=o()({["".concat(t,"-circle")]:"circle"===a,["".concat(t,"-square")]:"square"===a,["".concat(t,"-round")]:"round"===a}),A=r.useMemo(()=>"number"==typeof i?{width:i,height:i,lineHeight:"".concat(i,"px")}:{},[i]);return r.createElement("span",{className:o()(t,T,s,E),style:Object.assign(Object.assign({},A),n)})};var s=E(99841),A=E(45431),R=E(61388);let S=new s.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),O=e=>({height:e,lineHeight:(0,s.zA)(e)}),I=e=>Object.assign({width:e},O(e)),l=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},O(e)),c=e=>Object.assign({width:e},O(e)),N=(e,t,E)=>{let{skeletonButtonCls:r}=e;return{["".concat(E).concat(r,"-circle")]:{width:t,minWidth:t,borderRadius:"50%"},["".concat(E).concat(r,"-round")]:{borderRadius:t}}},u=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},O(e)),C=(0,A.OF)("Skeleton",e=>{let{componentCls:t,calc:E}=e;return(e=>{let{componentCls:t,skeletonAvatarCls:E,skeletonTitleCls:r,skeletonParagraphCls:n,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:a,controlHeight:T,controlHeightLG:s,controlHeightSM:A,gradientFromColor:R,padding:O,marginSM:C,borderRadius:L,titleHeight:_,blockRadius:d,paragraphLiHeight:f,controlHeightXS:D,paragraphMarginTop:P}=e;return{[t]:{display:"table",width:"100%",["".concat(t,"-header")]:{display:"table-cell",paddingInlineEnd:O,verticalAlign:"top",[E]:Object.assign({display:"inline-block",verticalAlign:"top",background:R},I(T)),["".concat(E,"-circle")]:{borderRadius:"50%"},["".concat(E,"-lg")]:Object.assign({},I(s)),["".concat(E,"-sm")]:Object.assign({},I(A))},["".concat(t,"-content")]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:_,background:R,borderRadius:d,["+ ".concat(n)]:{marginBlockStart:A}},[n]:{padding:0,"> li":{width:"100%",height:f,listStyle:"none",background:R,borderRadius:d,"+ li":{marginBlockStart:D}}},["".concat(n,"> li:last-child:not(:first-child):not(:nth-child(2))")]:{width:"61%"}},["&-round ".concat(t,"-content")]:{["".concat(r,", ").concat(n," > li")]:{borderRadius:L}}},["".concat(t,"-with-avatar ").concat(t,"-content")]:{[r]:{marginBlockStart:C,["+ ".concat(n)]:{marginBlockStart:P}}},["".concat(t).concat(t,"-element")]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},(e=>{let{borderRadiusSM:t,skeletonButtonCls:E,controlHeight:r,controlHeightLG:n,controlHeightSM:o,gradientFromColor:i,calc:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[E]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:a(r).mul(2).equal(),minWidth:a(r).mul(2).equal()},u(r,a))},N(e,r,E)),{["".concat(E,"-lg")]:Object.assign({},u(n,a))}),N(e,n,"".concat(E,"-lg"))),{["".concat(E,"-sm")]:Object.assign({},u(o,a))}),N(e,o,"".concat(E,"-sm")))})(e)),(e=>{let{skeletonAvatarCls:t,gradientFromColor:E,controlHeight:r,controlHeightLG:n,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:E},I(r)),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"},["".concat(t).concat(t,"-lg")]:Object.assign({},I(n)),["".concat(t).concat(t,"-sm")]:Object.assign({},I(o))}})(e)),(e=>{let{controlHeight:t,borderRadiusSM:E,skeletonInputCls:r,controlHeightLG:n,controlHeightSM:o,gradientFromColor:i,calc:a}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:E},l(t,a)),["".concat(r,"-lg")]:Object.assign({},l(n,a)),["".concat(r,"-sm")]:Object.assign({},l(o,a))}})(e)),(e=>{let{skeletonImageCls:t,imageSizeBase:E,gradientFromColor:r,borderRadiusSM:n,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:n},c(o(E).mul(2).equal())),{["".concat(t,"-path")]:{fill:"#bfbfbf"},["".concat(t,"-svg")]:Object.assign(Object.assign({},c(E)),{maxWidth:o(E).mul(4).equal(),maxHeight:o(E).mul(4).equal()}),["".concat(t,"-svg").concat(t,"-svg-circle")]:{borderRadius:"50%"}}),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"}}})(e)),["".concat(t).concat(t,"-block")]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},["".concat(t).concat(t,"-active")]:{["\n ".concat(r,",\n ").concat(n," > li,\n ").concat(E,",\n ").concat(o,",\n ").concat(i,",\n ").concat(a,"\n ")]:Object.assign({},(e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:S,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}))(e))}}})((0,R.oX)(e,{skeletonAvatarCls:"".concat(t,"-avatar"),skeletonTitleCls:"".concat(t,"-title"),skeletonParagraphCls:"".concat(t,"-paragraph"),skeletonButtonCls:"".concat(t,"-button"),skeletonInputCls:"".concat(t,"-input"),skeletonImageCls:"".concat(t,"-image"),imageSizeBase:E(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:"linear-gradient(90deg, ".concat(e.gradientFromColor," 25%, ").concat(e.gradientToColor," 37%, ").concat(e.gradientFromColor," 63%)"),skeletonLoadingMotionDuration:"1.4s"}))},e=>{let{colorFillContent:t,colorFill:E}=e;return{color:t,colorGradientEnd:E,gradientFromColor:t,gradientToColor:E,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),L=e=>{let{prefixCls:t,className:E,style:n,rows:i=0}=e,a=Array.from({length:i}).map((t,E)=>r.createElement("li",{key:E,style:{width:((e,t)=>{let{width:E,rows:r=2}=t;return Array.isArray(E)?E[e]:r-1===e?E:void 0})(E,e)}}));return r.createElement("ul",{className:o()(t,E),style:n},a)},_=e=>{let{prefixCls:t,className:E,width:n,style:i}=e;return r.createElement("h3",{className:o()(t,E),style:Object.assign({width:n},i)})};function d(e){return e&&"object"==typeof e?e:{}}let f=e=>{let{prefixCls:t,loading:E,className:n,rootClassName:a,style:s,children:A,avatar:R=!1,title:S=!0,paragraph:O=!0,active:I,round:l}=e,{getPrefixCls:c,direction:N,className:u,style:f}=(0,i.TP)("skeleton"),D=c("skeleton",t),[P,p,h]=C(D);if(E||!("loading"in e)){let e,t,E=!!R,i=!!S,A=!!O;if(E){let t=Object.assign(Object.assign({prefixCls:"".concat(D,"-avatar")},i&&!A?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),d(R));e=r.createElement("div",{className:"".concat(D,"-header")},r.createElement(T,Object.assign({},t)))}if(i||A){let e,n;if(i){let t=Object.assign(Object.assign({prefixCls:"".concat(D,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(E,A)),d(S));e=r.createElement(_,Object.assign({},t))}if(A){let e=Object.assign(Object.assign({prefixCls:"".concat(D,"-paragraph")},function(e,t){let E={};return e&&t||(E.width="61%"),!e&&t?E.rows=3:E.rows=2,E}(E,i)),d(O));n=r.createElement(L,Object.assign({},e))}t=r.createElement("div",{className:"".concat(D,"-content")},e,n)}let c=o()(D,{["".concat(D,"-with-avatar")]:E,["".concat(D,"-active")]:I,["".concat(D,"-rtl")]:"rtl"===N,["".concat(D,"-round")]:l},u,n,a,p,h);return P(r.createElement("div",{className:c,style:Object.assign(Object.assign({},f),s)},e,t))}return null!=A?A:null};f.Button=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,block:A=!1,size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s,["".concat(O,"-block")]:A},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-button"),size:R},N))))},f.Avatar=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,shape:A="circle",size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls","className"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-avatar"),shape:A,size:R},N))))},f.Input=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,block:A,size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s,["".concat(O,"-block")]:A},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-input"),size:R},N))))},f.Image=e=>{let{prefixCls:t,className:E,rootClassName:n,style:a,active:T}=e,{getPrefixCls:s}=r.useContext(i.QO),A=s("skeleton",t),[R,S,O]=C(A),I=o()(A,"".concat(A,"-element"),{["".concat(A,"-active")]:T},E,n,S,O);return R(r.createElement("div",{className:I},r.createElement("div",{className:o()("".concat(A,"-image"),E),style:a},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(A,"-image-svg")},r.createElement("title",null,"Image placeholder"),r.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:"".concat(A,"-image-path")})))))},f.Node=e=>{let{prefixCls:t,className:E,rootClassName:n,style:a,active:T,children:s}=e,{getPrefixCls:A}=r.useContext(i.QO),R=A("skeleton",t),[S,O,I]=C(R),l=o()(R,"".concat(R,"-element"),{["".concat(R,"-active")]:T},O,E,n,I);return S(r.createElement("div",{className:l},r.createElement("div",{className:o()("".concat(R,"-image"),E),style:a},s)))};let D=f},71367:(e,t,E)=>{"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}E.d(t,{A:()=>r})},73383:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(60872),n=E(13418),o=E(88860),i=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};function a(e){let{override:t}=e,E=i(e,["override"]),a=Object.assign({},t);Object.keys(n.A).forEach(e=>{delete a[e]});let T=Object.assign(Object.assign({},E),a);return!1===T.motion&&(T.motionDurationFast="0s",T.motionDurationMid="0s",T.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},T),{colorFillContent:T.colorFillSecondary,colorFillContentHover:T.colorFill,colorFillAlter:T.colorFillQuaternary,colorBgContainerDisabled:T.colorFillTertiary,colorBorderBg:T.colorBgContainer,colorSplit:(0,o.A)(T.colorBorderSecondary,T.colorBgContainer),colorTextPlaceholder:T.colorTextQuaternary,colorTextDisabled:T.colorTextQuaternary,colorTextHeading:T.colorText,colorTextLabel:T.colorTextSecondary,colorTextDescription:T.colorTextTertiary,colorTextLightSolid:T.colorWhite,colorHighlight:T.colorError,colorBgTextHover:T.colorFillSecondary,colorBgTextActive:T.colorFill,colorIcon:T.colorTextTertiary,colorIconHover:T.colorText,colorErrorOutline:(0,o.A)(T.colorErrorBg,T.colorBgContainer),colorWarningOutline:(0,o.A)(T.colorWarningBg,T.colorBgContainer),fontSizeIcon:T.fontSizeSM,lineWidthFocus:3*T.lineWidth,lineWidth:T.lineWidth,controlOutlineWidth:2*T.lineWidth,controlInteractiveSize:T.controlHeight/2,controlItemBgHover:T.colorFillTertiary,controlItemBgActive:T.colorPrimaryBg,controlItemBgActiveHover:T.colorPrimaryBgHover,controlItemBgActiveDisabled:T.colorFill,controlTmpOutline:T.colorFillQuaternary,controlOutline:(0,o.A)(T.colorPrimaryBg,T.colorBgContainer),lineType:T.lineType,borderRadius:T.borderRadius,borderRadiusXS:T.borderRadiusXS,borderRadiusSM:T.borderRadiusSM,borderRadiusLG:T.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:T.sizeXXS,paddingXS:T.sizeXS,paddingSM:T.sizeSM,padding:T.size,paddingMD:T.sizeMD,paddingLG:T.sizeLG,paddingXL:T.sizeXL,paddingContentHorizontalLG:T.sizeLG,paddingContentVerticalLG:T.sizeMS,paddingContentHorizontal:T.sizeMS,paddingContentVertical:T.sizeSM,paddingContentHorizontalSM:T.size,paddingContentVerticalSM:T.sizeXS,marginXXS:T.sizeXXS,marginXS:T.sizeXS,marginSM:T.sizeSM,margin:T.size,marginMD:T.sizeMD,marginLG:T.sizeLG,marginXL:T.sizeXL,marginXXL:T.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",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:"\n 0 1px 2px -2px ".concat(new r.Y("rgba(0, 0, 0, 0.16)").toRgbString(),",\n 0 3px 6px 0 ").concat(new r.Y("rgba(0, 0, 0, 0.12)").toRgbString(),",\n 0 5px 12px 4px ").concat(new r.Y("rgba(0, 0, 0, 0.09)").toRgbString(),"\n "),boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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)"}),a)}},73632:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(8357);function n(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var E=({}).toString.call(e).slice(8,-1);return"Object"===E&&e.constructor&&(E=e.constructor.name),"Map"===E||"Set"===E?Array.from(e):"Arguments"===E||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?(0,r.A)(e,t):void 0}}},74121:(e,t,E)=>{"use strict";E.d(t,{A:()=>T,h:()=>R});var r=E(86608),n=E(27061),o=E(85757),i=E(93821),a=E(21349);function T(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===E&&!(0,a.A)(e,t.slice(0,-1))?e:function e(t,E,r,a){if(!E.length)return r;var T,s=(0,i.A)(E),A=s[0],R=s.slice(1);return T=t||"number"!=typeof A?Array.isArray(t)?(0,o.A)(t):(0,n.A)({},t):[],a&&void 0===r&&1===R.length?delete T[A][R[0]]:T[A]=e(T[A],R,r,a),T}(e,t,E,r)}function s(e){return Array.isArray(e)?[]:{}}var A="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function R(){for(var e=arguments.length,t=Array(e),E=0;E{"use strict";E.d(t,{D0:()=>el,_z:()=>d,Op:()=>eP,B8:()=>ec,EF:()=>f,Ay:()=>eg,mN:()=>ef,FH:()=>em});var r,n=E(12115),o=E(79630),i=E(20235),a=E(42115),T=E(94251),s=E(27061),A=E(85757),R=E(30857),S=E(28383),O=E(55227),I=E(38289),l=E(9424),c=E(40419),N=E(63715),u=E(80227),C=E(9587),L="RC_FORM_INTERNAL_HOOKS",_=function(){(0,C.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};let d=n.createContext({getFieldValue:_,getFieldsValue:_,getFieldError:_,getFieldWarning:_,getFieldsError:_,isFieldsTouched:_,isFieldTouched:_,isFieldValidating:_,isFieldsValidating:_,resetFields:_,setFields:_,setFieldValue:_,setFieldsValue:_,validateFields:_,submit:_,getInternalHooks:function(){return _(),{dispatch:_,initEntityValue:_,registerField:_,useSubscribe:_,setInitialValues:_,destroyForm:_,setCallbacks:_,registerWatch:_,getFields:_,setValidateMessages:_,setPreserve:_,getInitialValue:_}}}),f=n.createContext(null);function D(e){return null==e?[]:Array.isArray(e)?e:[e]}var P=E(86608);function p(){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 h=p(),M=E(85522),m=E(42222),U=E(45144);function g(e){var t="function"==typeof Map?new Map:void 0;return(g=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,E)}function E(){return function(e,t,E){if((0,U.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var n=new(e.bind.apply(e,r));return E&&(0,m.A)(n,E.prototype),n}(e,arguments,(0,M.A)(this).constructor)}return E.prototype=Object.create(e.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),(0,m.A)(E,e)})(e)}var y=E(49509),G=/%[sdj%]/g;function b(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var E=e.field;t[E]=t[E]||[],t[E].push(e)}),t}function v(e){for(var t=arguments.length,E=Array(t>1?t-1:0),r=1;r=o)return e;switch(e){case"%s":return String(E[n++]);case"%d":return Number(E[n++]);case"%j":try{return JSON.stringify(E[n++])}catch(e){return"[Circular]"}default:return e}}):e}function H(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||!1}function F(e,t,E){var r=0,n=e.length;!function o(i){if(i&&i.length)return void E(i);var a=r;r+=1,a()\[\]\\.,;:\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},K={integer:function(e){return K.number(e)&&parseInt(e,10)===e},float:function(e){return K.number(e)&&!K.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"===(0,P.A)(e)&&!K.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(X.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(w())},hex:function(e){return"string"==typeof e&&!!e.match(X.hex)}};let k={required:W,whitespace:function(e,t,E,r,n){(/^\s+$/.test(t)||""===t)&&r.push(v(n.messages.whitespace,e.fullField))},type:function(e,t,E,r,n){if(e.required&&void 0===t)return void W(e,t,E,r,n);var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?K[o](t)||r.push(v(n.messages.types[o],e.fullField,e.type)):o&&(0,P.A)(t)!==e.type&&r.push(v(n.messages.types[o],e.fullField,e.type))},range:function(e,t,E,r,n){var o="number"==typeof e.len,i="number"==typeof e.min,a="number"==typeof e.max,T=t,s=null,A="number"==typeof t,R="string"==typeof t,S=Array.isArray(t);if(A?s="number":R?s="string":S&&(s="array"),!s)return!1;S&&(T=t.length),R&&(T=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?T!==e.len&&r.push(v(n.messages[s].len,e.fullField,e.len)):i&&!a&&Te.max?r.push(v(n.messages[s].max,e.fullField,e.max)):i&&a&&(Te.max)&&r.push(v(n.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,E,r,n){e[x]=Array.isArray(e[x])?e[x]:[],-1===e[x].indexOf(t)&&r.push(v(n.messages[x],e.fullField,e[x].join(", ")))},pattern:function(e,t,E,r,n){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(v(n.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(v(n.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},J=function(e,t,E,r,n){var o=e.type,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,o)&&!e.required)return E();k.required(e,t,r,i,n,o),H(t,o)||k.type(e,t,r,i,n)}E(i)},j={string:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"string")&&!e.required)return E();k.required(e,t,r,o,n,"string"),H(t,"string")||(k.type(e,t,r,o,n),k.range(e,t,r,o,n),k.pattern(e,t,r,o,n),!0===e.whitespace&&k.whitespace(e,t,r,o,n))}E(o)},method:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},number:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},boolean:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},regexp:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),H(t)||k.type(e,t,r,o,n)}E(o)},integer:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},float:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},array:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return E();k.required(e,t,r,o,n,"array"),null!=t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},object:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},enum:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.enum(e,t,r,o,n)}E(o)},pattern:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"string")&&!e.required)return E();k.required(e,t,r,o,n),H(t,"string")||k.pattern(e,t,r,o,n)}E(o)},date:function(e,t,E,r,n){var o,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"date")&&!e.required)return E();k.required(e,t,r,i,n),!H(t,"date")&&(o=t instanceof Date?t:new Date(t),k.type(e,o,r,i,n),o&&k.range(e,o.getTime(),r,i,n))}E(i)},url:J,hex:J,email:J,required:function(e,t,E,r,n){var o=[],i=Array.isArray(t)?"array":(0,P.A)(t);k.required(e,t,r,o,n,i),E(o)},any:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n)}E(o)}};var $=function(){function e(t){(0,R.A)(this,e),(0,c.A)(this,"rules",null),(0,c.A)(this,"_messages",h),this.define(t)}return(0,S.A)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,P.A)(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(E){var r=e[E];t.rules[E]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=V(p(),e)),this._messages}},{key:"validate",value:function(t){var E=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=t,i=r,a=n;if("function"==typeof i&&(a=i,i={}),!this.rules||0===Object.keys(this.rules).length)return a&&a(null,o),Promise.resolve(o);if(i.messages){var T=this.messages();T===h&&(T=p()),V(T,i.messages),i.messages=T}else i.messages=this.messages();var R={};(i.keys||Object.keys(this.rules)).forEach(function(e){var r=E.rules[e],n=o[e];r.forEach(function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=(0,s.A)({},o)),null!=(n=o[e]=i.transform(n))&&(i.type=i.type||(Array.isArray(n)?"array":(0,P.A)(n)))),(i="function"==typeof i?{validator:i}:(0,s.A)({},i)).validator=E.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=E.getType(i),R[e]=R[e]||[],R[e].push({rule:i,value:n,source:o,field:e}))})});var S={};return function(e,t,E,r,n){if(t.first){var o=new Promise(function(t,o){var i;F((i=[],Object.keys(e).forEach(function(t){i.push.apply(i,(0,A.A)(e[t]||[]))}),i),E,function(e){return r(e),e.length?o(new B(e,b(e))):t(n)})});return o.catch(function(e){return e}),o}var i=!0===t.firstFields?Object.keys(e):t.firstFields||[],a=Object.keys(e),T=a.length,s=0,R=[],S=new Promise(function(t,o){var S=function(e){if(R.push.apply(R,e),++s===T)return r(R),R.length?o(new B(R,b(R))):t(n)};a.length||(r(R),t(n)),a.forEach(function(t){var r=e[t];if(-1!==i.indexOf(t))F(r,E,S);else{var n=[],o=0,a=r.length;function T(e){n.push.apply(n,(0,A.A)(e||[])),++o===a&&S(n)}r.forEach(function(e){E(e,T)})}})});return S.catch(function(e){return e}),S}(R,i,function(t,E){var r,n,a,T=t.rule,R=("object"===T.type||"array"===T.type)&&("object"===(0,P.A)(T.fields)||"object"===(0,P.A)(T.defaultField));function O(e,t){return(0,s.A)((0,s.A)({},t),{},{fullField:"".concat(T.fullField,".").concat(e),fullFields:T.fullFields?[].concat((0,A.A)(T.fullFields),[e]):[e]})}function I(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Array.isArray(r)?r:[r];!i.suppressWarning&&n.length&&e.warning("async-validator:",n),n.length&&void 0!==T.message&&(n=[].concat(T.message));var a=n.map(Y(T,o));if(i.first&&a.length)return S[T.field]=1,E(a);if(R){if(T.required&&!t.value)return void 0!==T.message?a=[].concat(T.message).map(Y(T,o)):i.error&&(a=[i.error(T,v(i.messages.required,T.field))]),E(a);var I={};T.defaultField&&Object.keys(t.value).map(function(e){I[e]=T.defaultField});var l={};Object.keys(I=(0,s.A)((0,s.A)({},I),t.rule.fields)).forEach(function(e){var t=I[e],E=Array.isArray(t)?t:[t];l[e]=E.map(O.bind(null,e))});var c=new e(l);c.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),c.validate(t.value,t.rule.options||i,function(e){var t=[];a&&a.length&&t.push.apply(t,(0,A.A)(a)),e&&e.length&&t.push.apply(t,(0,A.A)(e)),E(t.length?t:null)})}else E(a)}if(R=R&&(T.required||!T.required&&t.value),T.field=t.field,T.asyncValidator)r=T.asyncValidator(T,t.value,I,t.source,i);else if(T.validator){try{r=T.validator(T,t.value,I,t.source,i)}catch(e){null==(n=(a=console).error)||n.call(a,e),i.suppressValidatorError||setTimeout(function(){throw e},0),I(e.message)}!0===r?I():!1===r?I("function"==typeof T.message?T.message(T.fullField||T.field):T.message||"".concat(T.fullField||T.field," fails")):r instanceof Array?I(r):r instanceof Error&&I(r.message)}r&&r.then&&r.then(function(){return I()},function(e){return I(e)})},function(e){!function(e){for(var t=[],E={},r=0;r0)){e.next=23;break}return e.next=21,Promise.all(E.map(function(e,E){return ee("".concat(t,".").concat(E),e,S,o,i)}));case 21:return N=e.sent,e.abrupt("return",N.reduce(function(e,t){return[].concat((0,A.A)(e),(0,A.A)(t))},[]));case 23:return u=(0,s.A)((0,s.A)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),C=l.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\\?\$\{\w+\}/g,function(e){return e.startsWith("\\")?e.slice(1):t[e.slice(2,-1)]})}(e,u):e}),e.abrupt("return",C);case 26:case"end":return e.stop()}},e,null,[[10,15]])}))).apply(this,arguments)}function eE(){return(eE=(0,T.A)((0,a.A)().mark(function e(t){return(0,a.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,A.A)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function er(){return(er=(0,T.A)((0,a.A)().mark(function e(t){var E;return(0,a.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return E=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(E+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var en=E(21349);function eo(e){return D(e)}function ei(e,t){var E={};return t.forEach(function(t){var r=(0,en.A)(e,t);E=(0,z.A)(E,t,r)}),E}function ea(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return eT(t,e,E)})}function eT(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!E||e.length===t.length)&&t.every(function(t,E){return e[E]===t})}function es(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,P.A)(t.target)&&e in t.target?t.target[e]:t}function eA(e,t,E){var r=e.length;if(t<0||t>=r||E<0||E>=r)return e;var n=e[t],o=t-E;return o>0?[].concat((0,A.A)(e.slice(0,E)),[n],(0,A.A)(e.slice(E,t)),(0,A.A)(e.slice(t+1,r))):o<0?[].concat((0,A.A)(e.slice(0,t)),(0,A.A)(e.slice(t+1,E+1)),[n],(0,A.A)(e.slice(E+1,r))):e}var eR=["name"],eS=[];function eO(e,t,E,r,n,o){return"function"==typeof e?e(t,E,"source"in o?{source:o.source}:{}):r!==n}var eI=function(e){(0,I.A)(E,e);var t=(0,l.A)(E);function E(e){var r;return(0,R.A)(this,E),r=t.call(this,e),(0,c.A)((0,O.A)(r),"state",{resetCount:0}),(0,c.A)((0,O.A)(r),"cancelRegisterFunc",null),(0,c.A)((0,O.A)(r),"mounted",!1),(0,c.A)((0,O.A)(r),"touched",!1),(0,c.A)((0,O.A)(r),"dirty",!1),(0,c.A)((0,O.A)(r),"validatePromise",void 0),(0,c.A)((0,O.A)(r),"prevValidating",void 0),(0,c.A)((0,O.A)(r),"errors",eS),(0,c.A)((0,O.A)(r),"warnings",eS),(0,c.A)((0,O.A)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,E=e.isListField,n=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(E,t,eo(n)),r.cancelRegisterFunc=null}),(0,c.A)((0,O.A)(r),"getNamePath",function(){var e=r.props,t=e.name,E=e.fieldContext.prefixName;return void 0!==t?[].concat((0,A.A)(void 0===E?[]:E),(0,A.A)(t)):[]}),(0,c.A)((0,O.A)(r),"getRules",function(){var e=r.props,t=e.rules,E=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(E):e})}),(0,c.A)((0,O.A)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,c.A)((0,O.A)(r),"metaCache",null),(0,c.A)((0,O.A)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var E=(0,s.A)((0,s.A)({},r.getMeta()),{},{destroy:e});(0,u.A)(r.metaCache,E)||t(E),r.metaCache=E}else r.metaCache=null}),(0,c.A)((0,O.A)(r),"onStoreChange",function(e,t,E){var n=r.props,o=n.shouldUpdate,i=n.dependencies,a=void 0===i?[]:i,T=n.onReset,s=E.store,A=r.getNamePath(),R=r.getValue(e),S=r.getValue(s),O=t&&ea(t,A);switch("valueUpdate"===E.type&&"external"===E.source&&!(0,u.A)(R,S)&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eS,r.warnings=eS,r.triggerMetaEvent()),E.type){case"reset":if(!t||O){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eS,r.warnings=eS,r.triggerMetaEvent(),null==T||T(),r.refresh();return}break;case"remove":if(o&&eO(o,e,s,R,S,E))return void r.reRender();break;case"setField":var I=E.data;if(O){"touched"in I&&(r.touched=I.touched),"validating"in I&&!("originRCField"in I)&&(r.validatePromise=I.validating?Promise.resolve([]):null),"errors"in I&&(r.errors=I.errors||eS),"warnings"in I&&(r.warnings=I.warnings||eS),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in I&&ea(t,A,!0)||o&&!A.length&&eO(o,e,s,R,S,E))return void r.reRender();break;case"dependenciesUpdate":if(a.map(eo).some(function(e){return ea(E.relatedFields,e)}))return void r.reRender();break;default:if(O||(!a.length||A.length||o)&&eO(o,e,s,R,S,E))return void r.reRender()}!0===o&&r.reRender()}),(0,c.A)((0,O.A)(r),"validateRules",function(e){var t=r.getNamePath(),E=r.getValue(),n=e||{},o=n.triggerName,i=n.validateOnly,R=Promise.resolve().then((0,T.A)((0,a.A)().mark(function n(){var i,S,O,I,l,c,N;return(0,a.A)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r.mounted){n.next=2;break}return n.abrupt("return",[]);case 2:if(O=void 0!==(S=(i=r.props).validateFirst)&&S,I=i.messageVariables,l=i.validateDebounce,c=r.getRules(),o&&(c=c.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||D(t).includes(o)})),!(l&&o)){n.next=10;break}return n.next=8,new Promise(function(e){setTimeout(e,l)});case 8:if(r.validatePromise===R){n.next=10;break}return n.abrupt("return",[]);case 10:return(N=function(e,t,E,r,n,o){var i,A,R=e.join("."),S=E.map(function(e,t){var E=e.validator,r=(0,s.A)((0,s.A)({},e),{},{ruleIndex:t});return E&&(r.validator=function(e,t,r){var n=!1,o=E(e,t,function(){for(var e=arguments.length,t=Array(e),E=0;E0&&void 0!==arguments[0]?arguments[0]:eS;if(r.validatePromise===R){r.validatePromise=null;var t,E=[],n=[];null==(t=e.forEach)||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?eS:r;t?n.push.apply(n,(0,A.A)(o)):E.push.apply(E,(0,A.A)(o))}),r.errors=E,r.warnings=n,r.triggerMetaEvent(),r.reRender()}}),n.abrupt("return",N);case 13:case"end":return n.stop()}},n)})));return void 0!==i&&i||(r.validatePromise=R,r.dirty=!0,r.errors=eS,r.warnings=eS,r.triggerMetaEvent(),r.reRender()),R}),(0,c.A)((0,O.A)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,c.A)((0,O.A)(r),"isFieldTouched",function(){return r.touched}),(0,c.A)((0,O.A)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(L).getInitialValue)(r.getNamePath())}),(0,c.A)((0,O.A)(r),"getErrors",function(){return r.errors}),(0,c.A)((0,O.A)(r),"getWarnings",function(){return r.warnings}),(0,c.A)((0,O.A)(r),"isListField",function(){return r.props.isListField}),(0,c.A)((0,O.A)(r),"isList",function(){return r.props.isList}),(0,c.A)((0,O.A)(r),"isPreserve",function(){return r.props.preserve}),(0,c.A)((0,O.A)(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,c.A)((0,O.A)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,s.A)((0,s.A)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var E=(0,N.A)(e);return 1===E.length&&n.isValidElement(E[0])?{child:E[0],isFunction:!1}:{child:E,isFunction:!1}}),(0,c.A)((0,O.A)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,E=r.getNamePath();return(0,en.A)(e||t(!0),E)}),(0,c.A)((0,O.A)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,E=t.name,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,T=t.valuePropName,A=t.getValueProps,R=t.fieldContext,S=void 0!==o?o:R.validateTrigger,O=r.getNamePath(),I=R.getInternalHooks,l=R.getFieldsValue,N=I(L).dispatch,u=r.getValue(),C=A||function(e){return(0,c.A)({},T,e)},_=e[n],d=void 0!==E?C(u):{},f=(0,s.A)((0,s.A)({},e),d);return f[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,E=Array(t),n=0;n=0&&t<=E.length?(S.keys=[].concat((0,A.A)(S.keys.slice(0,t)),[S.id],(0,A.A)(S.keys.slice(t))),n([].concat((0,A.A)(E.slice(0,t)),[e],(0,A.A)(E.slice(t))))):(S.keys=[].concat((0,A.A)(S.keys),[S.id]),n([].concat((0,A.A)(E),[e]))),S.id+=1},remove:function(e){var t=i(),E=new Set(Array.isArray(e)?e:[e]);E.size<=0||(S.keys=S.keys.filter(function(e,t){return!E.has(t)}),n(t.filter(function(e,t){return!E.has(t)})))},move:function(e,t){if(e!==t){var E=i();e<0||e>=E.length||t<0||t>=E.length||(S.keys=eA(S.keys,e,t),n(eA(E,e,t)))}}},t)})))};var eN=E(21858),eu="__@field_split__";function eC(e){return e.map(function(e){return"".concat((0,P.A)(e),":").concat(e)}).join(eu)}var eL=function(){function e(){(0,R.A)(this,e),(0,c.A)(this,"kvs",new Map)}return(0,S.A)(e,[{key:"set",value:function(e,t){this.kvs.set(eC(e),t)}},{key:"get",value:function(e){return this.kvs.get(eC(e))}},{key:"update",value:function(e,t){var E=t(this.get(e));E?this.set(e,E):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eC(e))}},{key:"map",value:function(e){return(0,A.A)(this.kvs.entries()).map(function(t){var E=(0,eN.A)(t,2),r=E[0],n=E[1];return e({key:r.split(eu).map(function(e){var t=e.match(/^([^:]*):(.*)$/),E=(0,eN.A)(t,3),r=E[1],n=E[2];return"number"===r?Number(n):n}),value:n})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var E=t.key,r=t.value;return e[E.join(".")]=r,null}),e}}]),e}(),e_=["name"],ed=(0,S.A)(function e(t){var E=this;(0,R.A)(this,e),(0,c.A)(this,"formHooked",!1),(0,c.A)(this,"forceRootUpdate",void 0),(0,c.A)(this,"subscribable",!0),(0,c.A)(this,"store",{}),(0,c.A)(this,"fieldEntities",[]),(0,c.A)(this,"initialValues",{}),(0,c.A)(this,"callbacks",{}),(0,c.A)(this,"validateMessages",null),(0,c.A)(this,"preserve",null),(0,c.A)(this,"lastValidatePromise",null),(0,c.A)(this,"getForm",function(){return{getFieldValue:E.getFieldValue,getFieldsValue:E.getFieldsValue,getFieldError:E.getFieldError,getFieldWarning:E.getFieldWarning,getFieldsError:E.getFieldsError,isFieldsTouched:E.isFieldsTouched,isFieldTouched:E.isFieldTouched,isFieldValidating:E.isFieldValidating,isFieldsValidating:E.isFieldsValidating,resetFields:E.resetFields,setFields:E.setFields,setFieldValue:E.setFieldValue,setFieldsValue:E.setFieldsValue,validateFields:E.validateFields,submit:E.submit,_init:!0,getInternalHooks:E.getInternalHooks}}),(0,c.A)(this,"getInternalHooks",function(e){return e===L?(E.formHooked=!0,{dispatch:E.dispatch,initEntityValue:E.initEntityValue,registerField:E.registerField,useSubscribe:E.useSubscribe,setInitialValues:E.setInitialValues,destroyForm:E.destroyForm,setCallbacks:E.setCallbacks,setValidateMessages:E.setValidateMessages,getFields:E.getFields,setPreserve:E.setPreserve,getInitialValue:E.getInitialValue,registerWatch:E.registerWatch}):((0,C.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,c.A)(this,"useSubscribe",function(e){E.subscribable=e}),(0,c.A)(this,"prevWithoutPreserves",null),(0,c.A)(this,"setInitialValues",function(e,t){if(E.initialValues=e||{},t){var r,n=(0,z.h)(e,E.store);null==(r=E.prevWithoutPreserves)||r.map(function(t){var E=t.key;n=(0,z.A)(n,E,(0,en.A)(e,E))}),E.prevWithoutPreserves=null,E.updateStore(n)}}),(0,c.A)(this,"destroyForm",function(e){if(e)E.updateStore({});else{var t=new eL;E.getFieldEntities(!0).forEach(function(e){E.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),E.prevWithoutPreserves=t}}),(0,c.A)(this,"getInitialValue",function(e){var t=(0,en.A)(E.initialValues,e);return e.length?(0,z.h)(t):t}),(0,c.A)(this,"setCallbacks",function(e){E.callbacks=e}),(0,c.A)(this,"setValidateMessages",function(e){E.validateMessages=e}),(0,c.A)(this,"setPreserve",function(e){E.preserve=e}),(0,c.A)(this,"watchList",[]),(0,c.A)(this,"registerWatch",function(e){return E.watchList.push(e),function(){E.watchList=E.watchList.filter(function(t){return t!==e})}}),(0,c.A)(this,"notifyWatch",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(E.watchList.length){var t=E.getFieldsValue(),r=E.getFieldsValue(!0);E.watchList.forEach(function(E){E(t,r,e)})}}),(0,c.A)(this,"timeoutId",null),(0,c.A)(this,"warningUnhooked",function(){}),(0,c.A)(this,"updateStore",function(e){E.store=e}),(0,c.A)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?E.fieldEntities.filter(function(e){return e.getNamePath().length}):E.fieldEntities}),(0,c.A)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eL;return E.getFieldEntities(e).forEach(function(e){var E=e.getNamePath();t.set(E,e)}),t}),(0,c.A)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return E.getFieldEntities(!0);var t=E.getFieldsMap(!0);return e.map(function(e){var E=eo(e);return t.get(E)||{INVALIDATE_NAME_PATH:eo(e)}})}),(0,c.A)(this,"getFieldsValue",function(e,t){if(E.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,n=t):e&&"object"===(0,P.A)(e)&&(o=e.strict,n=e.filter),!0===r&&!n)return E.store;var r,n,o,i=E.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),a=[];return i.forEach(function(e){var t,E,i,T="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(o){if(null!=(i=e.isList)&&i.call(e))return}else if(!r&&null!=(t=(E=e).isListField)&&t.call(E))return;if(n){var s="getMeta"in e?e.getMeta():null;n(s)&&a.push(T)}else a.push(T)}),ei(E.store,a.map(eo))}),(0,c.A)(this,"getFieldValue",function(e){E.warningUnhooked();var t=eo(e);return(0,en.A)(E.store,t)}),(0,c.A)(this,"getFieldsError",function(e){return E.warningUnhooked(),E.getFieldEntitiesForNamePathList(e).map(function(t,E){return!t||"INVALIDATE_NAME_PATH"in t?{name:eo(e[E]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,c.A)(this,"getFieldError",function(e){E.warningUnhooked();var t=eo(e);return E.getFieldsError([t])[0].errors}),(0,c.A)(this,"getFieldWarning",function(e){E.warningUnhooked();var t=eo(e);return E.getFieldsError([t])[0].warnings}),(0,c.A)(this,"isFieldsTouched",function(){E.warningUnhooked();for(var e,t=arguments.length,r=Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},r=new eL,n=E.getFieldEntities(!0);n.forEach(function(e){var t=e.props.initialValue,E=e.getNamePath();if(void 0!==t){var n=r.get(E)||new Set;n.add({entity:e,value:t}),r.set(E,n)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var E,n=r.get(t);n&&(E=e).push.apply(E,(0,A.A)((0,A.A)(n).map(function(e){return e.entity})))})):e=n,e.forEach(function(e){if(void 0!==e.props.initialValue){var n=e.getNamePath();if(void 0!==E.getInitialValue(n))(0,C.Ay)(!1,"Form already set 'initialValues' with path '".concat(n.join("."),"'. Field can not overwrite it."));else{var o=r.get(n);if(o&&o.size>1)(0,C.Ay)(!1,"Multiple Field with path '".concat(n.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var i=E.getFieldValue(n);e.isListField()||t.skipExist&&void 0!==i||E.updateStore((0,z.A)(E.store,n,(0,A.A)(o)[0].value))}}}})}),(0,c.A)(this,"resetFields",function(e){E.warningUnhooked();var t=E.store;if(!e){E.updateStore((0,z.h)(E.initialValues)),E.resetWithFieldInitialValue(),E.notifyObservers(t,null,{type:"reset"}),E.notifyWatch();return}var r=e.map(eo);r.forEach(function(e){var t=E.getInitialValue(e);E.updateStore((0,z.A)(E.store,e,t))}),E.resetWithFieldInitialValue({namePathList:r}),E.notifyObservers(t,r,{type:"reset"}),E.notifyWatch(r)}),(0,c.A)(this,"setFields",function(e){E.warningUnhooked();var t=E.store,r=[];e.forEach(function(e){var n=e.name,o=(0,i.A)(e,e_),a=eo(n);r.push(a),"value"in o&&E.updateStore((0,z.A)(E.store,a,o.value)),E.notifyObservers(t,[a],{type:"setField",data:e})}),E.notifyWatch(r)}),(0,c.A)(this,"getFields",function(){return E.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),n=(0,s.A)((0,s.A)({},r),{},{name:t,value:E.getFieldValue(t)});return Object.defineProperty(n,"originRCField",{value:!0}),n})}),(0,c.A)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,en.A)(E.store,r)&&E.updateStore((0,z.A)(E.store,r,t))}}),(0,c.A)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:E.preserve;return null==t||t}),(0,c.A)(this,"registerField",function(e){E.fieldEntities.push(e);var t=e.getNamePath();if(E.notifyWatch([t]),void 0!==e.props.initialValue){var r=E.store;E.resetWithFieldInitialValue({entities:[e],skipExist:!0}),E.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(E.fieldEntities=E.fieldEntities.filter(function(t){return t!==e}),!E.isMergedPreserve(n)&&(!r||o.length>1)){var i=r?void 0:E.getInitialValue(t);if(t.length&&E.getFieldValue(t)!==i&&E.fieldEntities.every(function(e){return!eT(e.getNamePath(),t)})){var a=E.store;E.updateStore((0,z.A)(a,t,i,!0)),E.notifyObservers(a,[t],{type:"remove"}),E.triggerDependenciesUpdate(a,t)}}E.notifyWatch([t])}}),(0,c.A)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;E.updateValue(t,r);break;case"validateField":var n=e.namePath,o=e.triggerName;E.validateFields([n],{triggerName:o})}}),(0,c.A)(this,"notifyObservers",function(e,t,r){if(E.subscribable){var n=(0,s.A)((0,s.A)({},r),{},{store:E.getFieldsValue(!0)});E.getFieldEntities().forEach(function(E){(0,E.onStoreChange)(e,t,n)})}else E.forceRootUpdate()}),(0,c.A)(this,"triggerDependenciesUpdate",function(e,t){var r=E.getDependencyChildrenFields(t);return r.length&&E.validateFields(r),E.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,A.A)(r))}),r}),(0,c.A)(this,"updateValue",function(e,t){var r=eo(e),n=E.store;E.updateStore((0,z.A)(E.store,r,t)),E.notifyObservers(n,[r],{type:"valueUpdate",source:"internal"}),E.notifyWatch([r]);var o=E.triggerDependenciesUpdate(n,r),i=E.callbacks.onValuesChange;i&&i(ei(E.store,[r]),E.getFieldsValue()),E.triggerOnFieldsChange([r].concat((0,A.A)(o)))}),(0,c.A)(this,"setFieldsValue",function(e){E.warningUnhooked();var t=E.store;if(e){var r=(0,z.h)(E.store,e);E.updateStore(r)}E.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),E.notifyWatch()}),(0,c.A)(this,"setFieldValue",function(e,t){E.setFields([{name:e,value:t,errors:[],warnings:[]}])}),(0,c.A)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],n=new eL;return E.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var E=eo(t);n.update(E,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),!function e(E){(n.get(E)||new Set).forEach(function(E){if(!t.has(E)){t.add(E);var n=E.getNamePath();E.isFieldDirty()&&n.length&&(r.push(n),e(n))}})}(e),r}),(0,c.A)(this,"triggerOnFieldsChange",function(e,t){var r=E.callbacks.onFieldsChange;if(r){var n=E.getFields();if(t){var o=new eL;t.forEach(function(e){var t=e.name,E=e.errors;o.set(t,E)}),n.forEach(function(e){e.errors=o.get(e.name)||e.errors})}var i=n.filter(function(t){return ea(e,t.name)});i.length&&r(i,n)}}),(0,c.A)(this,"validateFields",function(e,t){E.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(i=e,a=t):a=e;var r,n,o,i,a,T=!!i,R=T?i.map(eo):[],S=[],O=String(Date.now()),I=new Set,l=a||{},c=l.recursive,N=l.dirty;E.getFieldEntities(!0).forEach(function(e){if((T||R.push(e.getNamePath()),e.props.rules&&e.props.rules.length)&&(!N||e.isFieldDirty())){var t=e.getNamePath();if(I.add(t.join(O)),!T||ea(R,t,c)){var r=e.validateRules((0,s.A)({validateMessages:(0,s.A)((0,s.A)({},Q),E.validateMessages)},a));S.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var E,r=[],n=[];return(null==(E=e.forEach)||E.call(e,function(e){var t=e.rule.warningOnly,E=e.errors;t?n.push.apply(n,(0,A.A)(E)):r.push.apply(r,(0,A.A)(E))}),r.length)?Promise.reject({name:t,errors:r,warnings:n}):{name:t,errors:r,warnings:n}}))}}});var u=(r=!1,n=S.length,o=[],S.length?new Promise(function(e,t){S.forEach(function(E,i){E.catch(function(e){return r=!0,e}).then(function(E){n-=1,o[i]=E,n>0||(r&&t(o),e(o))})})}):Promise.resolve([]));E.lastValidatePromise=u,u.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});E.notifyObservers(E.store,t,{type:"validateFinish"}),E.triggerOnFieldsChange(t,e)});var C=u.then(function(){return E.lastValidatePromise===u?Promise.resolve(E.getFieldsValue(R)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:E.getFieldsValue(R),errorFields:t,outOfDate:E.lastValidatePromise!==u})});C.catch(function(e){return e});var L=R.filter(function(e){return I.has(e.join(O))});return E.triggerOnFieldsChange(L),C}),(0,c.A)(this,"submit",function(){E.warningUnhooked(),E.validateFields().then(function(e){var t=E.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=E.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t});let ef=function(e){var t=n.useRef(),E=n.useState({}),r=(0,eN.A)(E,2)[1];return t.current||(e?t.current=e:t.current=new ed(function(){r({})}).getForm()),[t.current]};var eD=n.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eP=function(e){var t=e.validateMessages,E=e.onFormChange,r=e.onFormFinish,o=e.children,i=n.useContext(eD),a=n.useRef({});return n.createElement(eD.Provider,{value:(0,s.A)((0,s.A)({},i),{},{validateMessages:(0,s.A)((0,s.A)({},i.validateMessages),t),triggerFormChange:function(e,t){E&&E(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=(0,s.A)((0,s.A)({},a.current),{},(0,c.A)({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.A)({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},ep=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function eh(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eM=function(){};let em=function(){for(var e=arguments.length,t=Array(e),E=0;E1?t-1:0),n=1;n{"use strict";E.d(t,{A9:()=>l,H3:()=>I,K4:()=>A,Xf:()=>s,f3:()=>S,xK:()=>R});var r=E(86608),n=E(12115),o=E(52270),i=E(22801),a=E(10337),T=Number(n.version.split(".")[0]),s=function(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)},A=function(){for(var e=arguments.length,t=Array(e),E=0;E=19)return!0;var t,E,r=(0,o.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||!!(null!=(t=r.prototype)&&t.render)||r.$$typeof===o.ForwardRef)&&("function"!=typeof e||!!(null!=(E=e.prototype)&&E.render)||e.$$typeof===o.ForwardRef)};function O(e){return(0,n.isValidElement)(e)&&!(0,a.A)(e)}var I=function(e){return O(e)&&S(e)},l=function(e){return e&&O(e)?e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref:null}},75659:(e,t,E)=>{"use strict";E.d(t,{A:()=>O});var r=E(12115),n=E(52596),o=E(61706),i=E(8396),a=E(37930);let T={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},s=e=>{let{icon:t,className:E,onClick:n,style:o,primaryColor:i,secondaryColor:s,...A}=e,R=r.useRef(null),S=T;if(i&&(S={primaryColor:i,secondaryColor:s||(0,a.Em)(i)}),(0,a.lf)(R),(0,a.$e)((0,a.P3)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.P3)(t))return null;let O=t;return O&&"function"==typeof O.icon&&(O={...O,icon:O.icon(S.primaryColor,S.secondaryColor)}),(0,a.cM)(O.icon,"svg-".concat(O.name),{className:E,onClick:n,style:o,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...A,ref:R})};function A(e){let[t,E]=(0,a.al)(e);return s.setTwoToneColors({primaryColor:t,secondaryColor:E})}function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:E,icon:o,spin:T,rotate:A,tabIndex:S,onClick:O,twoToneColor:I,...l}=e,{prefixCls:c="anticon",rootClassName:N}=r.useContext(i.A),u=(0,n.$)(N,c,{["".concat(c,"-").concat(o.name)]:!!o.name,["".concat(c,"-spin")]:!!T||"loading"===o.name},E),C=S;void 0===C&&O&&(C=-1);let[L,_]=(0,a.al)(I);return r.createElement("span",R({role:"img","aria-label":o.name},l,{ref:t,tabIndex:C,onClick:O,className:u}),r.createElement(s,{icon:o,primaryColor:L,secondaryColor:_,style:A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0}))});S.getTwoToneColor=function(){let e=s.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=A;let O=S},79453:(e,t,E)=>{"use strict";E.d(t,{A:()=>O});var r=E(68057),n=E(13418),o=E(83829),i=E(50907),a=E(15549),T=E(60872);let s=(e,t)=>new T.Y(e).setA(t).toRgbString(),A=(e,t)=>new T.Y(e).darken(t).toHexString(),R=e=>{let t=(0,r.cM)(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]}},S=(e,t)=>{let E=e||"#fff",r=t||"#000";return{colorBgBase:E,colorTextBase:r,colorText:s(r,.88),colorTextSecondary:s(r,.65),colorTextTertiary:s(r,.45),colorTextQuaternary:s(r,.25),colorFill:s(r,.15),colorFillSecondary:s(r,.06),colorFillTertiary:s(r,.04),colorFillQuaternary:s(r,.02),colorBgSolid:s(r,1),colorBgSolidHover:s(r,.75),colorBgSolidActive:s(r,.95),colorBgLayout:A(E,4),colorBgContainer:A(E,0),colorBgElevated:A(E,0),colorBgSpotlight:s(r,.85),colorBgBlur:"transparent",colorBorder:A(E,15),colorBorderSecondary:A(E,6)}};function O(e){r.uy.pink=r.uy.magenta,r.UA.pink=r.UA.magenta;let t=Object.keys(n.r).map(t=>{let E=e[t]===r.uy[t]?r.UA[t]:(0,r.cM)(e[t]);return Array.from({length:10},()=>1).reduce((e,r,n)=>(e["".concat(t,"-").concat(n+1)]=E[n],e["".concat(t).concat(n+1)]=E[n],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),(0,o.A)(e,{generateColorPalettes:R,generateNeutralColorPalettes:S})),(0,a.A)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:E}=e;return{sizeXXL:t*(E+8),sizeXL:t*(E+4),sizeLG:t*(E+2),sizeMD:t*(E+1),sizeMS:t*E,size:t*E,sizeSM:t*(E-1),sizeXS:t*(E-2),sizeXXS:t*(E-3)}}(e)),(0,i.A)(e)),function(e){let t,E,r,n,{motionUnit:o,motionBase:i,borderRadius:a,lineWidth:T}=e;return Object.assign({motionDurationFast:"".concat((i+o).toFixed(1),"s"),motionDurationMid:"".concat((i+2*o).toFixed(1),"s"),motionDurationSlow:"".concat((i+3*o).toFixed(1),"s"),lineWidthBold:T+1},(t=a,E=a,r=a,n=a,a<6&&a>=5?t=a+1:a<16&&a>=6?t=a+2:a>=16&&(t=16),a<7&&a>=5?E=4:a<8&&a>=7?E=5:a<14&&a>=8?E=6:a<16&&a>=14?E=7:a>=16&&(E=8),a<6&&a>=2?r=1:a>=6&&(r=2),a>4&&a<8?n=4:a>=8&&(n=6),{borderRadius:a,borderRadiusXS:r,borderRadiusSM:E,borderRadiusLG:t,borderRadiusOuter:n}))}(e))}},79630:(e,t,E)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},80163:(e,t,E)=>{"use strict";E.d(t,{Ob:()=>i,fx:()=>o,zv:()=>n});var r=E(12115);function n(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let o=(e,t,E)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof E?E(e.props||{}):E):t;function i(e,t){return o(e,e,t)}},80227:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(86608),n=E(9587);let o=function(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,T=o.has(t);if((0,n.Ay)(!T,"Warning: There may be circular references"),T)return!1;if(t===i)return!0;if(E&&a>1)return!1;o.add(t);var s=a+1;if(Array.isArray(t)){if(!Array.isArray(i)||t.length!==i.length)return!1;for(var A=0;A{"use strict";E.d(t,{aF:()=>eA,Kq:()=>l,Ay:()=>eR});var r=E(40419),n=E(27061),o=E(21858),i=E(86608),a=E(29300),T=E.n(a),s=E(41197),A=E(74686),R=E(12115),S=E(20235),O=["children"],I=R.createContext({});function l(e){var t=e.children,E=(0,S.A)(e,O);return R.createElement(I.Provider,{value:E},t)}var c=E(30857),N=E(28383),u=E(38289),C=E(9424),L=function(e){(0,u.A)(E,e);var t=(0,C.A)(E);function E(){return(0,c.A)(this,E),t.apply(this,arguments)}return(0,N.A)(E,[{key:"render",value:function(){return this.props.children}}]),E}(R.Component),_=E(11719),d=E(28248),f=E(18885),D="none",P="appear",p="enter",h="leave",M="none",m="prepare",U="start",g="active",y="prepared",G=E(71367);function b(e,t){var E={};return E[e.toLowerCase()]=t.toLowerCase(),E["Webkit".concat(e)]="webkit".concat(t),E["Moz".concat(e)]="moz".concat(t),E["ms".concat(e)]="MS".concat(t),E["O".concat(e)]="o".concat(t.toLowerCase()),E}var v=function(e,t){var E={animationend:b("Animation","AnimationEnd"),transitionend:b("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete E.animationend.animation,"TransitionEvent"in t||delete E.transitionend.transition),E}((0,G.A)(),"undefined"!=typeof window?window:{}),H={};(0,G.A)()&&(H=document.createElement("div").style);var F={};function B(e){if(F[e])return F[e];var t=v[e];if(t)for(var E=Object.keys(t),r=E.length,n=0;n1&&void 0!==arguments[1]?arguments[1]:2;t();var o=(0,J.A)(function(){n<=1?r({isCanceled:function(){return o!==e.current}}):E(r,n-1)});e.current=o},t]};var $=[m,U,g,"end"],q=[m,y];function Q(e){return e===g||"end"===e}let z=function(e,t,E){var r=(0,d.A)(M),n=(0,o.A)(r,2),i=n[0],a=n[1],T=j(),s=(0,o.A)(T,2),A=s[0],S=s[1],O=t?q:$;return k(function(){if(i!==M&&"end"!==i){var e=O.indexOf(i),t=O[e+1],r=E(i);!1===r?a(t,!0):t&&A(function(e){function E(){e.isCanceled()||a(t,!0)}!0===r?E():Promise.resolve(r).then(E)})}},[e,i]),R.useEffect(function(){return function(){S()}},[]),[function(){a(m,!0)},i]},Z=function(e){var t=e;"object"===(0,i.A)(e)&&(t=e.transitionSupport);var E=R.forwardRef(function(e,E){var i=e.visible,a=void 0===i||i,S=e.removeOnLeave,O=void 0===S||S,l=e.forceRender,c=e.children,N=e.motionName,u=e.leavedClassName,C=e.eventProps,M=R.useContext(I).motion,G=!!(e.motionName&&t&&!1!==M),b=(0,R.useRef)(),v=(0,R.useRef)(),H=function(e,t,E,i){var a,T,s,A=i.motionEnter,S=void 0===A||A,O=i.motionAppear,I=void 0===O||O,l=i.motionLeave,c=void 0===l||l,N=i.motionDeadline,u=i.motionLeaveImmediately,C=i.onAppearPrepare,L=i.onEnterPrepare,M=i.onLeavePrepare,G=i.onAppearStart,b=i.onEnterStart,v=i.onLeaveStart,H=i.onAppearActive,F=i.onEnterActive,B=i.onLeaveActive,Y=i.onAppearEnd,V=i.onEnterEnd,x=i.onLeaveEnd,W=i.onVisibleChanged,w=(0,d.A)(),X=(0,o.A)(w,2),J=X[0],j=X[1],$=(a=R.useReducer(function(e){return e+1},0),T=(0,o.A)(a,2)[1],s=R.useRef(D),[(0,f.A)(function(){return s.current}),(0,f.A)(function(e){s.current="function"==typeof e?e(s.current):e,T()})]),q=(0,o.A)($,2),Z=q[0],ee=q[1],et=(0,d.A)(null),eE=(0,o.A)(et,2),er=eE[0],en=eE[1],eo=Z(),ei=(0,R.useRef)(!1),ea=(0,R.useRef)(null),eT=(0,R.useRef)(!1);function es(){ee(D),en(null,!0)}var eA=(0,_._q)(function(e){var t,r=Z();if(r!==D){var n=E();if(!e||e.deadline||e.target===n){var o=eT.current;r===P&&o?t=null==Y?void 0:Y(n,e):r===p&&o?t=null==V?void 0:V(n,e):r===h&&o&&(t=null==x?void 0:x(n,e)),o&&!1!==t&&es()}}}),eR=K(eA),eS=(0,o.A)(eR,1)[0],eO=function(e){switch(e){case P:return(0,r.A)((0,r.A)((0,r.A)({},m,C),U,G),g,H);case p:return(0,r.A)((0,r.A)((0,r.A)({},m,L),U,b),g,F);case h:return(0,r.A)((0,r.A)((0,r.A)({},m,M),U,v),g,B);default:return{}}},eI=R.useMemo(function(){return eO(eo)},[eo]),el=z(eo,!e,function(e){if(e===m){var t,r=eI[m];return!!r&&r(E())}return eu in eI&&en((null==(t=eI[eu])?void 0:t.call(eI,E(),null))||null),eu===g&&eo!==D&&(eS(E()),N>0&&(clearTimeout(ea.current),ea.current=setTimeout(function(){eA({deadline:!0})},N))),eu===y&&es(),!0}),ec=(0,o.A)(el,2),eN=ec[0],eu=ec[1];eT.current=Q(eu);var eC=(0,R.useRef)(null);k(function(){if(!ei.current||eC.current!==t){j(t);var E,r=ei.current;ei.current=!0,!r&&t&&I&&(E=P),r&&t&&S&&(E=p),(r&&!t&&c||!r&&u&&!t&&c)&&(E=h);var n=eO(E);E&&(e||n[m])?(ee(E),eN()):ee(D),eC.current=t}},[t]),(0,R.useEffect)(function(){(eo!==P||I)&&(eo!==p||S)&&(eo!==h||c)||ee(D)},[I,S,c]),(0,R.useEffect)(function(){return function(){ei.current=!1,clearTimeout(ea.current)}},[]);var eL=R.useRef(!1);(0,R.useEffect)(function(){J&&(eL.current=!0),void 0!==J&&eo===D&&((eL.current||J)&&(null==W||W(J)),eL.current=!0)},[J,eo]);var e_=er;return eI[m]&&eu===U&&(e_=(0,n.A)({transition:"none"},e_)),[eo,eu,e_,null!=J?J:t]}(G,a,function(){try{return b.current instanceof HTMLElement?b.current:(0,s.Ay)(v.current)}catch(e){return null}},e),F=(0,o.A)(H,4),B=F[0],Y=F[1],V=F[2],x=F[3],W=R.useRef(x);x&&(W.current=!0);var w=R.useCallback(function(e){b.current=e,(0,A.Xf)(E,e)},[E]),J=(0,n.A)((0,n.A)({},C),{},{visible:a});if(c)if(B===D)j=x?c((0,n.A)({},J),w):!O&&W.current&&u?c((0,n.A)((0,n.A)({},J),{},{className:u}),w):!l&&(O||u)?null:c((0,n.A)((0,n.A)({},J),{},{style:{display:"none"}}),w);else{Y===m?$="prepare":Q(Y)?$="active":Y===U&&($="start");var j,$,q=X(N,"".concat(B,"-").concat($));j=c((0,n.A)((0,n.A)({},J),{},{className:T()(X(N,B),(0,r.A)((0,r.A)({},q,q&&$),N,"string"==typeof N)),style:V}),w)}else j=null;return R.isValidElement(j)&&(0,A.f3)(j)&&((0,A.A9)(j)||(j=R.cloneElement(j,{ref:w}))),R.createElement(L,{ref:v},j)});return E.displayName="CSSMotion",E}(x);var ee=E(79630),et=E(55227),eE="keep",er="remove",en="removed";function eo(e){var t;return t=e&&"object"===(0,i.A)(e)&&"key"in e?e:{key:e},(0,n.A)((0,n.A)({},t),{},{key:String(t.key)})}function ei(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eo)}var ea=["component","children","onVisibleChanged","onAllRemoved"],eT=["status"],es=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];let eA=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,E=function(e){(0,u.A)(o,e);var E=(0,C.A)(o);function o(){var e;(0,c.A)(this,o);for(var t=arguments.length,i=Array(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],E=[],r=0,o=t.length,i=ei(e),a=ei(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(E=E.filter(function(t){var E=t.key,r=t.status;return E!==e||r!==er})).forEach(function(t){t.key===e&&(t.status=eE)})}),E})(r,ei(E)).filter(function(e){var t=r.find(function(t){var E=t.key;return e.key===E});return!t||t.status!==en||e.status!==er})}}}]),o}(R.Component);return(0,r.A)(E,"defaultProps",{component:"div"}),E}(x),eR=Z},83829:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(60872);function n(e,t){let{generateColorPalettes:E,generateNeutralColorPalettes:n}=t,{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:T,colorPrimary:s,colorBgBase:A,colorTextBase:R}=e,S=E(s),O=E(o),I=E(i),l=E(a),c=E(T),N=n(A,R),u=E(e.colorLink||e.colorInfo),C=new r.Y(l[1]).mix(new r.Y(l[3]),50).toHexString();return Object.assign(Object.assign({},N),{colorPrimaryBg:S[1],colorPrimaryBgHover:S[2],colorPrimaryBorder:S[3],colorPrimaryBorderHover:S[4],colorPrimaryHover:S[5],colorPrimary:S[6],colorPrimaryActive:S[7],colorPrimaryTextHover:S[8],colorPrimaryText:S[9],colorPrimaryTextActive:S[10],colorSuccessBg:O[1],colorSuccessBgHover:O[2],colorSuccessBorder:O[3],colorSuccessBorderHover:O[4],colorSuccessHover:O[4],colorSuccess:O[6],colorSuccessActive:O[7],colorSuccessTextHover:O[8],colorSuccessText:O[9],colorSuccessTextActive:O[10],colorErrorBg:l[1],colorErrorBgHover:l[2],colorErrorBgFilledHover:C,colorErrorBgActive:l[3],colorErrorBorder:l[3],colorErrorBorderHover:l[4],colorErrorHover:l[5],colorError:l[6],colorErrorActive:l[7],colorErrorTextHover:l[8],colorErrorText:l[9],colorErrorTextActive:l[10],colorWarningBg:I[1],colorWarningBgHover:I[2],colorWarningBorder:I[3],colorWarningBorderHover:I[4],colorWarningHover:I[4],colorWarning:I[6],colorWarningActive:I[7],colorWarningTextHover:I[8],colorWarningText:I[9],colorWarningTextActive:I[10],colorInfoBg:c[1],colorInfoBgHover:c[2],colorInfoBorder:c[3],colorInfoBorderHover:c[4],colorInfoHover:c[4],colorInfo:c[6],colorInfoActive:c[7],colorInfoTextHover:c[8],colorInfoText:c[9],colorInfoTextActive:c[10],colorLinkHover:u[4],colorLink:u[6],colorLinkActive:u[7],colorBgMask:new r.Y("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}},83855:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,l:()=>o});var r=E(38194),n=E(4697);function o(e,t){for(var E="",r=0;r{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(20083),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},85051:(e,t,E)=>{"use strict";E.d(t,{k:()=>P,A:()=>h});var r=E(12115),n=E(84630),o=E(51754),i=E(63583),a=E(66383),T=E(29300),s=E.n(T),A=E(9130),R=E(93666),S=E(57845),O=E(8530),I=E(70042),l=E(25374),c=E(61051);let N=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:E,isSilent:n,mergedOkCancel:o,rootPrefixCls:i,close:a,onCancel:T,onConfirm:s}=(0,r.useContext)(c.V);return o?r.createElement(l.A,{isSilent:n,actionFn:T,close:function(){for(var e=arguments.length,t=Array(e),E=0;E{let{autoFocusButton:e,close:t,isSilent:E,okButtonProps:n,rootPrefixCls:o,okTextLocale:i,okType:a,onConfirm:T,onOk:s}=(0,r.useContext)(c.V);return r.createElement(l.A,{isSilent:E,type:a||"primary",actionFn:s,close:function(){for(var e=arguments.length,E=Array(e),r=0;r(e=>{let{componentCls:t,titleFontSize:E,titleLineHeight:r,modalConfirmIconSize:n,fontSize:o,lineHeight:i,modalTitleHeight:a,fontHeight:T,confirmBodyPadding:s}=e,A="".concat(t,"-confirm");return{[A]:{"&-rtl":{direction:"rtl"},["".concat(e.antCls,"-modal-header")]:{display:"none"},["".concat(A,"-body-wrapper")]:Object.assign({},(0,d.t6)()),["&".concat(t," ").concat(t,"-body")]:{padding:s},["".concat(A,"-body")]:{display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(e.iconCls)]:{flex:"none",fontSize:n,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(T).sub(n).equal()).div(2).equal()},["&-has-title > ".concat(e.iconCls)]:{marginTop:e.calc(e.calc(a).sub(n).equal()).div(2).equal()}},["".concat(A,"-paragraph")]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:"calc(100% - ".concat((0,L.zA)(e.marginSM),")")},["".concat(e.iconCls," + ").concat(A,"-paragraph")]:{maxWidth:"calc(100% - ".concat((0,L.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal()),")")},["".concat(A,"-title")]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:E,lineHeight:r},["".concat(A,"-content")]:{color:e.colorText,fontSize:o,lineHeight:i},["".concat(A,"-btns")]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,["".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginBottom:0,marginInlineStart:e.marginXS}}},["".concat(A,"-error ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorError},["".concat(A,"-warning ").concat(A,"-body > ").concat(e.iconCls,",\n ").concat(A,"-confirm ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorWarning},["".concat(A,"-info ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorInfo},["".concat(A,"-success ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorSuccess}}})((0,_.FY)(e)),_.cH,{order:-1e3});var D=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let P=e=>{let{prefixCls:t,icon:E,okText:T,cancelText:A,confirmPrefixCls:R,type:S,okCancel:I,footer:l,locale:C}=e,L=D(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),_=E;if(!E&&null!==E)switch(S){case"info":_=r.createElement(a.A,null);break;case"success":_=r.createElement(n.A,null);break;case"error":_=r.createElement(o.A,null);break;default:_=r.createElement(i.A,null)}let d=null!=I?I:"confirm"===S,P=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[p]=(0,O.A)("Modal"),h=C||p,M=T||(d?null==h?void 0:h.okText:null==h?void 0:h.justOkText),m=A||(null==h?void 0:h.cancelText),U=r.useMemo(()=>Object.assign({autoFocusButton:P,cancelTextLocale:m,okTextLocale:M,mergedOkCancel:d},L),[P,m,M,d,L]),g=r.createElement(r.Fragment,null,r.createElement(N,null),r.createElement(u,null)),y=void 0!==e.title&&null!==e.title,G="".concat(R,"-body");return r.createElement("div",{className:"".concat(R,"-body-wrapper")},r.createElement("div",{className:s()(G,{["".concat(G,"-has-title")]:y})},_,r.createElement("div",{className:"".concat(R,"-paragraph")},y&&r.createElement("span",{className:"".concat(R,"-title")},e.title),r.createElement("div",{className:"".concat(R,"-content")},e.content))),void 0===l||"function"==typeof l?r.createElement(c.i,{value:U},r.createElement("div",{className:"".concat(R,"-btns")},"function"==typeof l?l(g,{OkBtn:u,CancelBtn:N}):g)):l,r.createElement(f,{prefixCls:t}))},p=e=>{let{close:t,zIndex:E,maskStyle:n,direction:o,prefixCls:i,wrapClassName:a,rootPrefixCls:T,bodyStyle:S,closable:O=!1,onConfirm:l,styles:c,title:N}=e,u="".concat(i,"-confirm"),L=e.width||416,_=e.style||{},d=void 0===e.mask||e.mask,f=void 0!==e.maskClosable&&e.maskClosable,D=s()(u,"".concat(u,"-").concat(e.type),{["".concat(u,"-rtl")]:"rtl"===o},e.className),[,p]=(0,I.Ay)(),h=r.useMemo(()=>void 0!==E?E:p.zIndexPopupBase+A.jH,[E,p]);return r.createElement(C.A,Object.assign({},e,{className:D,wrapClassName:s()({["".concat(u,"-centered")]:!!e.centered},a),onCancel:()=>{null==t||t({triggerCancel:!0}),null==l||l(!1)},title:N,footer:null,transitionName:(0,R.b)(T||"","zoom",e.transitionName),maskTransitionName:(0,R.b)(T||"","fade",e.maskTransitionName),mask:d,maskClosable:f,style:_,styles:Object.assign({body:S,mask:n},c),width:L,zIndex:h,closable:O}),r.createElement(P,Object.assign({},e,{confirmPrefixCls:u})))},h=e=>{let{rootPrefixCls:t,iconPrefixCls:E,direction:n,theme:o}=e;return r.createElement(S.Ay,{prefixCls:t,iconPrefixCls:E,direction:n,theme:o},r.createElement(p,Object.assign({},e)))}},85382:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=function(){for(var e=arguments.length,t=Array(e),E=0;E{e&&Object.keys(e).forEach(t=>{void 0!==e[t]&&(r[t]=e[t])})}),r}},85440:(e,t,E)=>{"use strict";E.d(t,{BD:()=>l,m6:()=>I});var r=E(27061),n=E(71367),o=E(3201),i="data-rc-order",a="data-rc-priority",T=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 A(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function R(e){return Array.from((T.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.A)())return null;var E=t.csp,r=t.prepend,o=t.priority,T=void 0===o?0:o,s="queue"===r?"prependQueue":r?"prepend":"append",S="prependQueue"===s,O=document.createElement("style");O.setAttribute(i,s),S&&T&&O.setAttribute(a,"".concat(T)),null!=E&&E.nonce&&(O.nonce=null==E?void 0:E.nonce),O.innerHTML=e;var I=A(t),l=I.firstChild;if(r){if(S){var c=(t.styles||R(I)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&T>=Number(e.getAttribute(a)||0)});if(c.length)return I.insertBefore(O,c[c.length-1].nextSibling),O}I.insertBefore(O,l)}else I.appendChild(O);return O}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=A(t);return(t.styles||R(E)).find(function(E){return E.getAttribute(s(t))===e})}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=O(e,t);E&&A(t).removeChild(E)}function l(e,t){var E,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=A(a),l=R(I),c=(0,r.A)((0,r.A)({},a),{},{styles:l}),N=T.get(I);if(!N||!(0,o.A)(document,N)){var u=S("",c),C=u.parentNode;T.set(I,C),I.removeChild(u)}var L=O(t,c);if(L)return null!=(E=c.csp)&&E.nonce&&L.nonce!==(null==(n=c.csp)?void 0:n.nonce)&&(L.nonce=null==(i=c.csp)?void 0:i.nonce),L.innerHTML!==e&&(L.innerHTML=e),L;var _=S(e,c);return _.setAttribute(s(c),t),_}},85522:(e,t,E)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}E.d(t,{A:()=>r})},85665:(e,t,E)=>{"use strict";E.d(t,{p9:()=>a});var r=E(99841),n=E(64717);let o=new r.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),i=new r.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:E}=e,r="".concat(E,"-fade"),a=t?"&":"";return[(0,n.b)(r,o,i,e.motionDurationMid,t),{["\n ".concat(a).concat(r,"-enter,\n ").concat(a).concat(r,"-appear\n ")]:{opacity:0,animationTimingFunction:"linear"},["".concat(a).concat(r,"-leave")]:{animationTimingFunction:"linear"}}]}},85757:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(8357),n=E(99823),o=E(73632);function i(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,n.A)(e)||(0,o.A)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},86500:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},86608:(e,t,E)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}E.d(t,{A:()=>r})},88860:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(60872);function n(e){return e>=0&&e<=255}let o=function(e,t){let{r:E,g:o,b:i,a:a}=new r.Y(e).toRgb();if(a<1)return e;let{r:T,g:s,b:A}=new r.Y(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((E-T*(1-e))/e),a=Math.round((o-s*(1-e))/e),R=Math.round((i-A*(1-e))/e);if(n(t)&&n(a)&&n(R))return new r.Y({r:t,g:a,b:R,a:Math.round(100*e)/100}).toRgbString()}return new r.Y({r:E,g:o,b:i,a:1}).toRgbString()}},89450:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},93495:(e,t,E)=>{"use strict";function r(e,t){if(null==e)return{};var E={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;E[r]=e[r]}return E}E.d(t,{A:()=>r})},93666:(e,t,E)=>{"use strict";E.d(t,{A:()=>s,b:()=>T});var r=E(15982);let n=()=>({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,T=(e,t,E)=>void 0!==E?E:"".concat(e,"-").concat(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.yH;return{motionName:"".concat(e,"-motion-collapse"),onAppearStart:n,onEnterStart:n,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:n,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},93821:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(35145),n=E(99823),o=E(73632),i=E(916);function a(e){return(0,r.A)(e)||(0,n.A)(e)||(0,o.A)(e)||(0,i.A)()}},94134:(e,t,E)=>{"use strict";E.d(t,{L:()=>a,l:()=>T});var r=E(16025);let n=Object.assign({},r.A.Modal),o=[],i=()=>o.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.A.Modal);function a(e){if(e){let t=Object.assign({},e);return o.push(t),n=i(),()=>{o=o.filter(e=>e!==t),n=i()}}n=Object.assign({},r.A.Modal)}function T(){return n}},94251:(e,t,E)=>{"use strict";function r(e,t,E,r,n,o,i){try{var a=e[o](i),T=a.value}catch(e){return void E(e)}a.done?t(T):Promise.resolve(T).then(r,n)}function n(e){return function(){var t=this,E=arguments;return new Promise(function(n,o){var i=e.apply(t,E);function a(e){r(i,n,o,a,T,"next",e)}function T(e){r(i,n,o,a,T,"throw",e)}a(void 0)})}}E.d(t,{A:()=>n})},94480:(e,t,E)=>{"use strict";E.d(t,{w:()=>I,O:()=>O});var r=E(12115),n=E(48776),o=E(44494),i=E(8530),a=E(98696),T=E(61051);let s=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:E}=(0,r.useContext)(T.V);return r.createElement(a.Ay,Object.assign({onClick:E},e),t)};var A=E(37120);let R=()=>{let{confirmLoading:e,okButtonProps:t,okType:E,okTextLocale:n,onOk:o}=(0,r.useContext)(T.V);return r.createElement(a.Ay,Object.assign({},(0,A.DU)(E),{loading:e,onClick:o},t),n)};var S=E(94134);function O(e,t){return r.createElement("span",{className:"".concat(e,"-close-x")},t||r.createElement(n.A,{className:"".concat(e,"-close-icon")}))}let I=e=>{let t,{okText:E,okType:n="primary",cancelText:a,confirmLoading:A,onOk:O,onCancel:I,okButtonProps:l,cancelButtonProps:c,footer:N}=e,[u]=(0,i.A)("Modal",(0,S.l)()),C=E||(null==u?void 0:u.okText),L=a||(null==u?void 0:u.cancelText),_=r.useMemo(()=>({confirmLoading:A,okButtonProps:l,cancelButtonProps:c,okTextLocale:C,cancelTextLocale:L,okType:n,onOk:O,onCancel:I}),[A,l,c,C,L,n,O,I]);return"function"==typeof N||void 0===N?(t=r.createElement(r.Fragment,null,r.createElement(s,null),r.createElement(R,null)),"function"==typeof N&&(t=N(t,{OkBtn:R,CancelBtn:s})),t=r.createElement(T.i,{value:_},t)):t=N,r.createElement(o.X,{disabled:!1},t)}},96936:(e,t,E)=>{"use strict";E.d(t,{K6:()=>O,Ay:()=>l,RQ:()=>S});var r=E(12115),n=E(29300),o=E.n(n),i=E(63715),a=E(15982),T=E(9836);let s=(0,E(45431).OF)(["Space","Compact"],e=>[(e=>{let{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}})(e)],()=>({}),{resetStyle:!1});var A=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let R=r.createContext(null),S=(e,t)=>{let E=r.useContext(R),n=r.useMemo(()=>{if(!E)return"";let{compactDirection:r,isFirstItem:n,isLastItem:i}=E,a="vertical"===r?"-vertical-":"-";return o()("".concat(e,"-compact").concat(a,"item"),{["".concat(e,"-compact").concat(a,"first-item")]:n,["".concat(e,"-compact").concat(a,"last-item")]:i,["".concat(e,"-compact").concat(a,"item-rtl")]:"rtl"===t})},[e,t,E]);return{compactSize:null==E?void 0:E.compactSize,compactDirection:null==E?void 0:E.compactDirection,compactItemClassnames:n}},O=e=>{let{children:t}=e;return r.createElement(R.Provider,{value:null},t)},I=e=>{let{children:t}=e,E=A(e,["children"]);return r.createElement(R.Provider,{value:r.useMemo(()=>E,[E])},t)},l=e=>{let{getPrefixCls:t,direction:E}=r.useContext(a.QO),{size:n,direction:S,block:O,prefixCls:l,className:c,rootClassName:N,children:u}=e,C=A(e,["size","direction","block","prefixCls","className","rootClassName","children"]),L=(0,T.A)(e=>null!=n?n:e),_=t("space-compact",l),[d,f]=s(_),D=o()(_,f,{["".concat(_,"-rtl")]:"rtl"===E,["".concat(_,"-block")]:O,["".concat(_,"-vertical")]:"vertical"===S},c,N),P=r.useContext(R),p=(0,i.A)(u),h=r.useMemo(()=>p.map((e,t)=>{let E=(null==e?void 0:e.key)||"".concat(_,"-item-").concat(t);return r.createElement(I,{key:E,compactSize:L,compactDirection:S,isFirstItem:0===t&&(!P||(null==P?void 0:P.isFirstItem)),isLastItem:t===p.length-1&&(!P||(null==P?void 0:P.isLastItem))},e)}),[p,P,S,L,_]);return 0===p.length?null:d(r.createElement("div",Object.assign({className:D},C),h))}},97089:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)({})},97314:(e,t)=>{"use strict";var E=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),T=Symbol.for("react.context"),s=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=A,t.isMemo=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case E:switch(e=e.type){case n:case i:case o:case R:case S:return e;default:switch(e=e&&e.$$typeof){case s:case T:case A:case I:case O:case a:return e;default:return t}}case r:return t}}}(e)===O}},98696:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>z});var r=E(12115),n=E(29300),o=E.n(n),i=E(49172),a=E(17980),T=E(74686),s=E(47195),A=E(15982),R=E(44494),S=E(9836),O=E(96936),I=E(70042),l=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let c=r.createContext(void 0);var N=E(37120),u=E(51280),C=E(82870);let L=(0,r.forwardRef)((e,t)=>{let{className:E,style:n,children:i,prefixCls:a}=e,T=o()("".concat(a,"-icon"),E);return r.createElement("span",{ref:t,className:T,style:n},i)}),_=(0,r.forwardRef)((e,t)=>{let{prefixCls:E,className:n,style:i,iconClassName:a}=e,T=o()("".concat(E,"-loading-icon"),n);return r.createElement(L,{prefixCls:E,className:T,style:i,ref:t},r.createElement(u.A,{className:a}))}),d=()=>({width:0,opacity:0,transform:"scale(0)"}),f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),D=e=>{let{prefixCls:t,loading:E,existIcon:n,className:i,style:a,mount:T}=e;return n?r.createElement(_,{prefixCls:t,className:i,style:a}):r.createElement(C.Ay,{visible:!!E,motionName:"".concat(t,"-loading-icon-motion"),motionAppear:!T,motionEnter:!T,motionLeave:!T,removeOnLeave:!0,onAppearStart:d,onAppearActive:f,onEnterStart:d,onEnterActive:f,onLeaveStart:f,onLeaveActive:d},(e,E)=>{let{className:n,style:T}=e,s=Object.assign(Object.assign({},a),T);return r.createElement(_,{prefixCls:t,className:o()(i,n),style:s,ref:E})})};var P=E(99841),p=E(18184),h=E(68495),M=E(61388),m=E(45431);let U=(e,t)=>({["> span, > ".concat(e)]:{"&:not(:last-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var g=E(67302),y=E(31474);E(48804);var G=E(7884),b=E(88860);let v=e=>{let{paddingInline:t,onlyIconSize:E}=e;return(0,M.oX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:E})},H=e=>{var t,E,r,n,o,i;let a=null!=(t=e.contentFontSize)?t:e.fontSize,T=null!=(E=e.contentFontSizeSM)?E:e.fontSize,s=null!=(r=e.contentFontSizeLG)?r:e.fontSizeLG,A=null!=(n=e.contentLineHeight)?n:(0,G.k)(a),R=null!=(o=e.contentLineHeightSM)?o:(0,G.k)(T),S=null!=(i=e.contentLineHeightLG)?i:(0,G.k)(s),O=((e,t)=>{let{r:E,g:r,b:n,a:o}=e.toRgb(),i=new y.Q1(e.toRgbString()).onBackground(t).toHsv();return o<=.5?i.v>.5:.299*E+.587*r+.114*n>192})(new g.kf(e.colorBgSolid),"#fff")?"#000":"#fff";return Object.assign(Object.assign({},h.s.reduce((t,E)=>Object.assign(Object.assign({},t),{["".concat(E,"ShadowColor")]:"0 ".concat((0,P.zA)(e.controlOutlineWidth)," 0 ").concat((0,b.A)(e["".concat(E,"1")],e.colorBgContainer))}),{})),{fontWeight:400,iconGap:e.marginXS,defaultShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlTmpOutline),primaryShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlOutline),dangerShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(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:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:O,contentFontSize:a,contentFontSizeSM:T,contentFontSizeLG:s,contentLineHeight:A,contentLineHeightSM:R,contentLineHeightLG:S,paddingBlock:Math.max((e.controlHeight-a*A)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-T*R)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*S)/2-e.lineWidth,0)})},F=(e,t,E)=>({["&:not(:disabled):not(".concat(e,"-disabled)")]:{"&:hover":t,"&:active":E}}),B=(e,t,E,r,n,o,i,a)=>({["&".concat(e,"-background-ghost")]:Object.assign(Object.assign({color:E||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},F(e,Object.assign({background:t},i),Object.assign({background:t},a))),{"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:o||void 0}})}),Y=(e,t,E,r)=>Object.assign(Object.assign({},(r&&["link","text"].includes(r)?e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:{cursor:"not-allowed",color:e.colorTextDisabled}}):e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:Object.assign({},(e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}))(e))}))(e)),F(e.componentCls,t,E)),V=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-solid")]:Object.assign({color:t,background:E},Y(e,r,n))}),x=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-outlined, &").concat(e.componentCls,"-variant-dashed")]:Object.assign({borderColor:t,background:E},Y(e,r,n))}),W=e=>({["&".concat(e.componentCls,"-variant-dashed")]:{borderStyle:"dashed"}}),w=(e,t,E,r)=>({["&".concat(e.componentCls,"-variant-filled")]:Object.assign({boxShadow:"none",background:t},Y(e,E,r))}),X=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-").concat(E)]:Object.assign({color:t,boxShadow:"none"},Y(e,r,n,E))}),K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:E,controlHeight:r,fontSize:n,borderRadius:o,buttonPaddingHorizontal:i,iconCls:a,buttonPaddingVertical:T,buttonIconOnlyFontSize:s}=e;return[{[t]:{fontSize:n,height:r,padding:"".concat((0,P.zA)(T)," ").concat((0,P.zA)(i)),borderRadius:o,["&".concat(E,"-icon-only")]:{width:r,[a]:{fontSize:s}}}},{["".concat(E).concat(E,"-circle").concat(t)]:{minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}},{["".concat(E).concat(E,"-round").concat(t)]:{borderRadius:e.controlHeight,["&:not(".concat(E,"-icon-only)")]:{paddingInline:e.buttonPaddingHorizontal}}}]},k=(0,m.OF)("Button",e=>{let t=v(e);return[(e=>{let{componentCls:t,iconCls:E,fontWeight:r,opacityLoading:n,motionDurationSlow:o,motionEaseInOut:i,iconGap:a,calc:T}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:a,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:"".concat((0,P.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),cursor:"pointer",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},["".concat(t,"-icon > svg")]:(0,p.Nk)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,p.K8)(e),["&".concat(t,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(t,"-two-chinese-chars > *:not(").concat(E,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},["&".concat(t,"-icon-only")]:{paddingInline:0,["&".concat(t,"-compact-item")]:{flex:"none"}},["&".concat(t,"-loading")]:{opacity:n,cursor:"default"},["".concat(t,"-loading-icon")]:{transition:["width","opacity","margin"].map(e=>"".concat(e," ").concat(o," ").concat(i)).join(",")},["&:not(".concat(t,"-icon-end)")]:{["".concat(t,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineEnd:T(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:T(a).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",["".concat(t,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineStart:T(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:T(a).mul(-1).equal()}}}}}})(t),(e=>K((0,M.oX)(e,{fontSize:e.contentFontSize}),e.componentCls))(t),(e=>K((0,M.oX)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),"".concat(e.componentCls,"-sm")))(t),(e=>K((0,M.oX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),"".concat(e.componentCls,"-lg")))(t),(e=>{let{componentCls:t}=e;return{[t]:{["&".concat(t,"-block")]:{width:"100%"}}}})(t),(e=>{let{componentCls:t}=e;return Object.assign({["".concat(t,"-color-default")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},V(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),W(e)),w(e,e.colorFillTertiary,{color:e.defaultColor,background:e.colorFillSecondary},{color:e.defaultColor,background:e.colorFill})),B(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),X(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})))(e),["".concat(t,"-color-primary")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},x(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),W(e)),w(e,e.colorPrimaryBg,{color:e.colorPrimary,background:e.colorPrimaryBgHover},{color:e.colorPrimary,background:e.colorPrimaryBorder})),X(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),X(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),B(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),["".concat(t,"-color-dangerous")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},V(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),x(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),W(e)),w(e,e.colorErrorBg,{color:e.colorError,background:e.colorErrorBgFilledHover},{color:e.colorError,background:e.colorErrorBgActive})),X(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),X(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),B(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})))(e),["".concat(t,"-color-link")]:(e=>Object.assign(Object.assign({},X(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),B(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})))(e)},(e=>{let{componentCls:t}=e;return h.s.reduce((E,r)=>{let n=e["".concat(r,"6")],o=e["".concat(r,"1")],i=e["".concat(r,"5")],a=e["".concat(r,"2")],T=e["".concat(r,"3")],s=e["".concat(r,"7")];return Object.assign(Object.assign({},E),{["&".concat(t,"-color-").concat(r)]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:n,boxShadow:e["".concat(r,"ShadowColor")]},V(e,e.colorTextLightSolid,n,{background:i},{background:s})),x(e,n,e.colorBgContainer,{color:i,borderColor:i,background:e.colorBgContainer},{color:s,borderColor:s,background:e.colorBgContainer})),W(e)),w(e,o,{color:n,background:a},{color:n,background:T})),X(e,n,"link",{color:i},{color:s})),X(e,n,"text",{color:i,background:o},{color:s,background:T}))})},{})})(e))})(t),(e=>Object.assign(Object.assign(Object.assign(Object.assign({},x(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),X(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),V(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),X(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})))(t),(e=>{let{componentCls:t,fontSize:E,lineWidth:r,groupBorderColor:n,colorErrorHover:o}=e;return{["".concat(t,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(t)]:{"&:not(:last-child)":{["&, & > ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),["&, & > ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(t,"-icon-only")]:{fontSize:E}},U("".concat(t,"-primary"),n),U("".concat(t,"-danger"),o)]}})(t)]},H,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var J=E(67831);let j=(0,m.bf)(["Button","compact"],e=>{let t=v(e);return[(0,J.G)(t),function(e){var t,E;let r="".concat(e.componentCls,"-compact-vertical");return{[r]:Object.assign(Object.assign({},(t=e.componentCls,{["&-item:not(".concat(r,"-last-item)")]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},["&-item:not(".concat(t,"-status-success)")]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}})),(E=e.componentCls,{["&-item:not(".concat(r,"-first-item):not(").concat(r,"-last-item)")]:{borderRadius:0},["&-item".concat(r,"-first-item:not(").concat(r,"-last-item)")]:{["&, &".concat(E,"-sm, &").concat(E,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(r,"-last-item:not(").concat(r,"-first-item)")]:{["&, &".concat(E,"-sm, &").concat(E,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t),(e=>{let{componentCls:t,colorPrimaryHover:E,lineWidth:r,calc:n}=e,o=n(r).mul(-1).equal(),i=e=>{let n="".concat(t,"-compact").concat(e?"-vertical":"","-item").concat(t,"-primary:not([disabled])");return{["".concat(n," + ").concat(n,"::before")]:{position:"absolute",top:e?o:0,insetInlineStart:e?0:o,backgroundColor:E,content:'""',width:e?"100%":r,height:e?r:"100%"}}};return Object.assign(Object.assign({},i()),i(!0))})(t)]},H);var $=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let q={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},Q=r.forwardRef((e,t)=>{var E,n;let I,{loading:l=!1,prefixCls:u,color:C,variant:_,type:d,danger:f=!1,shape:P,size:p,styles:h,disabled:M,className:m,rootClassName:U,children:g,icon:y,iconPosition:G="start",ghost:b=!1,block:v=!1,htmlType:H="button",classNames:F,style:B={},autoInsertSpace:Y,autoFocus:V}=e,x=$(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),W=d||"default",{button:w}=r.useContext(A.QO),X=P||(null==w?void 0:w.shape)||"default",[K,J]=(0,r.useMemo)(()=>{if(C&&_)return[C,_];if(d||f){let e=q[W]||[];return f?["danger",e[1]]:e}return(null==w?void 0:w.color)&&(null==w?void 0:w.variant)?[w.color,w.variant]:["default","outlined"]},[C,_,d,f,null==w?void 0:w.color,null==w?void 0:w.variant,W]),Q="danger"===K?"dangerous":K,{getPrefixCls:z,direction:Z,autoInsertSpace:ee,className:et,style:eE,classNames:er,styles:en}=(0,A.TP)("button"),eo=null==(E=null!=Y?Y:ee)||E,ei=z("btn",u),[ea,eT,es]=k(ei),eA=(0,r.useContext)(R.A),eR=null!=M?M:eA,eS=(0,r.useContext)(c),eO=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(l),[l]),[eI,el]=(0,r.useState)(eO.loading),[ec,eN]=(0,r.useState)(!1),eu=(0,r.useRef)(null),eC=(0,T.xK)(t,eu),eL=1===r.Children.count(g)&&!y&&!(0,N.u1)(J),e_=(0,r.useRef)(!0);r.useEffect(()=>(e_.current=!1,()=>{e_.current=!0}),[]),(0,i.A)(()=>{let e=null;return eO.delay>0?e=setTimeout(()=>{e=null,el(!0)},eO.delay):el(eO.loading),function(){e&&(clearTimeout(e),e=null)}},[eO.delay,eO.loading]),(0,r.useEffect)(()=>{if(!eu.current||!eo)return;let e=eu.current.textContent||"";eL&&(0,N.Ap)(e)?ec||eN(!0):ec&&eN(!1)}),(0,r.useEffect)(()=>{V&&eu.current&&eu.current.focus()},[]);let ed=r.useCallback(t=>{var E;if(eI||eR)return void t.preventDefault();null==(E=e.onClick)||E.call(e,("href"in e,t))},[e.onClick,eI,eR]),{compactSize:ef,compactItemClassnames:eD}=(0,O.RQ)(ei,Z),eP=(0,S.A)(e=>{var t,E;return null!=(E=null!=(t=null!=p?p:ef)?t:eS)?E:e}),ep=eP&&null!=(n=({large:"lg",small:"sm",middle:void 0})[eP])?n:"",eh=eI?"loading":y,eM=(0,a.A)(x,["navigate"]),em=o()(ei,eT,es,{["".concat(ei,"-").concat(X)]:"default"!==X&&X,["".concat(ei,"-").concat(W)]:W,["".concat(ei,"-dangerous")]:f,["".concat(ei,"-color-").concat(Q)]:Q,["".concat(ei,"-variant-").concat(J)]:J,["".concat(ei,"-").concat(ep)]:ep,["".concat(ei,"-icon-only")]:!g&&0!==g&&!!eh,["".concat(ei,"-background-ghost")]:b&&!(0,N.u1)(J),["".concat(ei,"-loading")]:eI,["".concat(ei,"-two-chinese-chars")]:ec&&eo&&!eI,["".concat(ei,"-block")]:v,["".concat(ei,"-rtl")]:"rtl"===Z,["".concat(ei,"-icon-end")]:"end"===G},eD,m,U,et),eU=Object.assign(Object.assign({},eE),B),eg=o()(null==F?void 0:F.icon,er.icon),ey=Object.assign(Object.assign({},(null==h?void 0:h.icon)||{}),en.icon||{}),eG=e=>r.createElement(L,{prefixCls:ei,className:eg,style:ey},e);I=y&&!eI?eG(y):l&&"object"==typeof l&&l.icon?eG(l.icon):r.createElement(D,{existIcon:!!y,prefixCls:ei,loading:eI,mount:e_.current});let eb=g||0===g?(0,N.uR)(g,eL&&eo):null;if(void 0!==eM.href)return ea(r.createElement("a",Object.assign({},eM,{className:o()(em,{["".concat(ei,"-disabled")]:eR}),href:eR?void 0:eM.href,style:eU,onClick:ed,ref:eC,tabIndex:eR?-1:0,"aria-disabled":eR}),I,eb));let ev=r.createElement("button",Object.assign({},x,{type:H,className:em,style:eU,onClick:ed,disabled:eR,ref:eC}),I,eb,eD&&r.createElement(j,{prefixCls:ei}));return(0,N.u1)(J)||(ev=r.createElement(s.A,{component:"Button",disabled:eI},ev)),ea(ev)});Q.Group=e=>{let{getPrefixCls:t,direction:E}=r.useContext(A.QO),{prefixCls:n,size:i,className:a}=e,T=l(e,["prefixCls","size","className"]),s=t("btn-group",n),[,,R]=(0,I.Ay)(),S=r.useMemo(()=>{switch(i){case"large":return"lg";case"small":return"sm";default:return""}},[i]),O=o()(s,{["".concat(s,"-").concat(S)]:S,["".concat(s,"-rtl")]:"rtl"===E},a,R);return r.createElement(c.Provider,{value:i},r.createElement("div",Object.assign({},T,{className:O})))},Q.__ANT_BUTTON=!0;let z=Q},99823:(e,t,E)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}E.d(t,{A:()=>r})},99841:(e,t,E)=>{"use strict";E.d(t,{Mo:()=>eR,J:()=>C,an:()=>h,lO:()=>K,Ki:()=>H,zA:()=>b,RC:()=>eA,hV:()=>J,IV:()=>eT});var r,n=E(40419),o=E(21858),i=E(85757),a=E(27061);let T=function(e){for(var t,E=0,r=0,n=e.length;n>=4;++r,n-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,E=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&E)*0x5bd1e995+((E>>>16)*59797<<16);switch(n){case 3:E^=(255&e.charCodeAt(r+2))<<16;case 2:E^=(255&e.charCodeAt(r+1))<<8;case 1:E^=255&e.charCodeAt(r),E=(65535&E)*0x5bd1e995+((E>>>16)*59797<<16)}return E^=E>>>13,(((E=(65535&E)*0x5bd1e995+((E>>>16)*59797<<16))^E>>>15)>>>0).toString(36)};var s=E(85440),A=E(12115),R=E.t(A,2);E(22801),E(80227);var S=E(30857),O=E(28383);function I(e){return e.join("%")}var l=function(){function e(t){(0,S.A)(this,e),(0,n.A)(this,"instanceId",void 0),(0,n.A)(this,"cache",new Map),(0,n.A)(this,"extracted",new Set),this.instanceId=t}return(0,O.A)(e,[{key:"get",value:function(e){return this.opGet(I(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(I(e),t)}},{key:"opUpdate",value:function(e,t){var E=t(this.cache.get(e));null===E?this.cache.delete(e):this.cache.set(e,E)}}]),e}(),c="data-token-hash",N="data-css-hash",u="__cssinjs_instance__";let C=A.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(N,"]"))||[],E=document.head.firstChild;Array.from(t).forEach(function(t){t[u]=t[u]||e,t[u]===e&&document.head.insertBefore(t,E)});var r={};Array.from(document.querySelectorAll("style[".concat(N,"]"))).forEach(function(t){var E,n=t.getAttribute(N);r[n]?t[u]===e&&(null==(E=t.parentNode)||E.removeChild(t)):r[n]=!0})}return new l(e)}(),defaultCache:!0});var L=E(86608),_=E(71367),d=function(){function e(){(0,S.A)(this,e),(0,n.A)(this,"cache",void 0),(0,n.A)(this,"keys",void 0),(0,n.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,O.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,E,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={map:this.cache};return e.forEach(function(e){if(n){var t;n=null==(t=n)||null==(t=t.map)?void 0:t.get(e)}else n=void 0}),null!=(t=n)&&t.value&&r&&(n.value[1]=this.cacheCallTimes++),null==(E=n)?void 0:E.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,E){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var n=this.keys.reduce(function(e,t){var E=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),D+=1}return(0,O.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,E){return E(e,t)},void 0)}}]),e}(),p=new d;function h(e){var t=Array.isArray(e)?e:[e];return p.has(t)||p.set(t,new P(t)),p.get(t)}var M=new WeakMap,m={},U=new WeakMap;function g(e){var t=U.get(e)||"";return t||(Object.keys(e).forEach(function(E){var r=e[E];t+=E,r instanceof P?t+=r.id:r&&"object"===(0,L.A)(r)?t+=g(r):t+=r}),t=T(t),U.set(e,t)),t}function y(e,t){return T("".concat(t,"_").concat(g(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var G=(0,_.A)();function b(e){return"number"==typeof e?"".concat(e,"px"):e}function v(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var i=(0,a.A)((0,a.A)({},r),{},(0,n.A)((0,n.A)({},c,t),N,E)),T=Object.keys(i).map(function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},F=function(e,t,E){var r,n={},i={};return Object.entries(e).forEach(function(e){var t=(0,o.A)(e,2),r=t[0],a=t[1];if(null!=E&&null!=(T=E.preserve)&&T[r])i[r]=a;else if(("string"==typeof a||"number"==typeof a)&&!(null!=E&&null!=(s=E.ignore)&&s[r])){var T,s,A,R=H(r,null==E?void 0:E.prefix);n[R]="number"!=typeof a||null!=E&&null!=(A=E.unitless)&&A[r]?String(a):"".concat(a,"px"),i[r]="var(".concat(R,")")}}),[i,(r={scope:null==E?void 0:E.scope},Object.keys(n).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(n).map(function(e){var t=(0,o.A)(e,2),E=t[0],r=t[1];return"".concat(E,":").concat(r,";")}).join(""),"}"):"")]},B=E(49172),Y=(0,a.A)({},R).useInsertionEffect,V=Y?function(e,t,E){return Y(function(){return e(),t()},E)}:function(e,t,E){A.useMemo(e,E),(0,B.A)(function(){return t(!0)},E)},x=void 0!==(0,a.A)({},R).useInsertionEffect?function(e){var t=[],E=!1;return A.useEffect(function(){return E=!1,function(){E=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){E||t.push(e)}}:function(){return function(e){e()}};function W(e,t,E,r,n){var a=A.useContext(C).cache,T=I([e].concat((0,i.A)(t))),s=x([T]),R=function(e){a.opUpdate(T,function(t){var r=(0,o.A)(t||[void 0,void 0],2),n=r[0],i=[void 0===n?0:n,r[1]||E()];return e?e(i):i})};A.useMemo(function(){R()},[T]);var S=a.opGet(T)[1];return V(function(){null==n||n(S)},function(e){return R(function(t){var E=(0,o.A)(t,2),r=E[0],i=E[1];return e&&0===r&&(null==n||n(S)),[r+1,i]}),function(){a.opUpdate(T,function(t){var E=(0,o.A)(t||[],2),n=E[0],i=void 0===n?0:n,A=E[1];return 0==i-1?(s(function(){(e||!a.opGet(T))&&(null==r||r(A,!1))}),null):[i-1,A]})}},[T]),S}var w={},X=new Map,K=function(e,t,E,r){var n=E.getDerivativeToken(e),o=(0,a.A)((0,a.A)({},n),t);return r&&(o=r(o)),o},k="token";function J(e,t){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,A.useContext)(C),n=r.cache.instanceId,R=r.container,S=E.salt,O=void 0===S?"":S,I=E.override,l=void 0===I?w:I,L=E.formatToken,_=E.getComputedToken,d=E.cssVar,f=function(e,t){for(var E=M,r=0;r0&&E.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(c,'="').concat(e,'"]')).forEach(function(e){if(e[u]===n){var t;null==(t=e.parentNode)||t.removeChild(e)}}),X.delete(e)})},function(e){var t=(0,o.A)(e,4),E=t[0],r=t[3];if(d&&r){var i=(0,s.BD)(r,T("css-variables-".concat(E._themeKey)),{mark:N,prepend:"queue",attachTo:R,priority:-999});i[u]=n,i.setAttribute(c,E._themeKey)}})}var j=E(79630);let $={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};var q=E(83855),Q=E(28296),z="data-ant-cssinjs-cache-path",Z="_FILE_STYLE__",ee=!0,et="_multi_value_";function eE(e){return(0,q.l)((0,Q.wE)(e),q.A).replace(/\{%%%\:[^;];}/g,";")}function er(e,t,E){if(!t)return e;var r=".".concat(t),n="low"===E?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,E=e.trim().split(/\s+/),r=E[0]||"",o=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(o).concat(n).concat(r.slice(o.length))].concat((0,i.A)(E.slice(1))).join(" ")}).join(",")}var en=function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},n=r.root,T=r.injectHash,s=r.parentSelectors,A=E.hashId,R=E.layer,S=(E.path,E.hashPriority),O=E.transformers,I=void 0===O?[]:O,l=(E.linters,""),c={};function N(t){var r=t.getName(A);if(!c[r]){var n=e(t.style,E,{root:!1,parentSelectors:s}),i=(0,o.A)(n,1)[0];c[r]="@keyframes ".concat(t.getName(A)).concat(i)}}return(function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,E):t&&E.push(t)}),E})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||n?t:{};if("string"==typeof r)l+="".concat(r,"\n");else if(r._keyframe)N(r);else{var R=I.reduce(function(e,t){var E;return(null==t||null==(E=t.visit)?void 0:E.call(t,e))||e},r);Object.keys(R).forEach(function(t){var r=R[t];if("object"!==(0,L.A)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,L.A)(r)&&r&&("_skip_check_"in r||et in r)){function O(e,t){var E=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;$[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(N(t),r=t.getName(A)),l+="".concat(E,":").concat(r,";")}var I,u=null!=(I=null==r?void 0:r.value)?I:r;"object"===(0,L.A)(r)&&null!=r&&r[et]&&Array.isArray(u)?u.forEach(function(e){O(t,e)}):O(t,u)}else{var C=!1,_=t.trim(),d=!1;(n||T)&&A?_.startsWith("@")?C=!0:_="&"===_?er("",A,S):er(t,A,S):n&&!A&&("&"===_||""===_)&&(_="",d=!0);var f=e(r,E,{root:d,injectHash:C,parentSelectors:[].concat((0,i.A)(s),[_])}),D=(0,o.A)(f,2),P=D[0],p=D[1];c=(0,a.A)((0,a.A)({},c),p),l+="".concat(_).concat(P)}})}}),n?R&&(l&&(l="@layer ".concat(R.name," {").concat(l,"}")),R.dependencies&&(c["@layer ".concat(R.name)]=R.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(R.name,";")}).join("\n"))):l="{".concat(l,"}"),[l,c]};function eo(e,t){return T("".concat(e.join("%")).concat(t))}function ei(){return null}var ea="style";function eT(e,t){var E=e.token,T=e.path,R=e.hashId,S=e.layer,O=e.nonce,I=e.clientOnly,l=e.order,L=void 0===l?0:l,d=A.useContext(C),f=d.autoClear,D=(d.mock,d.defaultCache),P=d.hashPriority,p=d.container,h=d.ssrInline,M=d.transformers,m=d.linters,U=d.cache,g=d.layer,y=E._tokenKey,b=[y];g&&b.push("layer"),b.push.apply(b,(0,i.A)(T));var v=W(ea,b,function(){var e=b.join("|");if(function(e){if(!r&&(r={},(0,_.A)())){var t,E=document.createElement("div");E.className=z,E.style.position="fixed",E.style.visibility="hidden",E.style.top="-9999px",document.body.appendChild(E);var n=getComputedStyle(E).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),E=(0,o.A)(t,2),n=E[0],i=E[1];r[n]=i});var i=document.querySelector("style[".concat(z,"]"));i&&(ee=!1,null==(t=i.parentNode)||t.removeChild(i)),document.body.removeChild(E)}return!!r[e]}(e)){var E=function(e){var t=r[e],E=null;if(t&&(0,_.A)())if(ee)E=Z;else{var n=document.querySelector("style[".concat(N,'="').concat(r[e],'"]'));n?E=n.innerHTML:delete r[e]}return[E,t]}(e),n=(0,o.A)(E,2),i=n[0],a=n[1];if(i)return[i,y,a,{},I,L]}var s=en(t(),{hashId:R,hashPriority:P,layer:g?S:void 0,path:T.join("-"),transformers:M,linters:m}),A=(0,o.A)(s,2),O=A[0],l=A[1],c=eE(O),u=eo(b,c);return[c,y,u,l,I,L]},function(e,t){var E=(0,o.A)(e,3)[2];(t||f)&&G&&(0,s.m6)(E,{mark:N,attachTo:p})},function(e){var t=(0,o.A)(e,4),E=t[0],r=(t[1],t[2]),n=t[3];if(G&&E!==Z){var i={mark:N,prepend:!g&&"queue",attachTo:p,priority:L},T="function"==typeof O?O():O;T&&(i.csp={nonce:T});var A=[],R=[];Object.keys(n).forEach(function(e){e.startsWith("@layer")?A.push(e):R.push(e)}),A.forEach(function(e){(0,s.BD)(eE(n[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},i),{},{prepend:!0}))});var S=(0,s.BD)(E,r,i);S[u]=U.instanceId,S.setAttribute(c,y),R.forEach(function(e){(0,s.BD)(eE(n[e]),"_effect-".concat(e),i)})}}),H=(0,o.A)(v,3),F=H[0],B=H[1],Y=H[2];return function(e){var t;return t=h&&!G&&D?A.createElement("style",(0,j.A)({},(0,n.A)((0,n.A)({},c,B),N,Y),{dangerouslySetInnerHTML:{__html:F}})):A.createElement(ei,null),A.createElement(A.Fragment,null,t,e)}}var es="cssVar";let eA=function(e,t){var E=e.key,r=e.prefix,n=e.unitless,a=e.ignore,T=e.token,R=e.scope,S=void 0===R?"":R,O=(0,A.useContext)(C),I=O.cache.instanceId,l=O.container,L=T._tokenKey,_=[].concat((0,i.A)(e.path),[E,S,L]);return W(es,_,function(){var e=F(t(),E,{prefix:r,unitless:n,ignore:a,scope:S}),i=(0,o.A)(e,2),T=i[0],s=i[1],A=eo(_,s);return[T,s,A,E]},function(e){var t=(0,o.A)(e,3)[2];G&&(0,s.m6)(t,{mark:N,attachTo:l})},function(e){var t=(0,o.A)(e,3),r=t[1],n=t[2];if(r){var i=(0,s.BD)(r,n,{mark:N,prepend:"queue",attachTo:l,priority:-999});i[u]=I,i.setAttribute(c,E)}})};(0,n.A)((0,n.A)((0,n.A)({},ea,function(e,t,E){var r=(0,o.A)(e,6),n=r[0],i=r[1],a=r[2],T=r[3],s=r[4],A=r[5],R=(E||{}).plain;if(s)return null;var S=n,O={"data-rc-order":"prependQueue","data-rc-priority":"".concat(A)};return S=v(n,i,a,O,R),T&&Object.keys(T).forEach(function(e){if(!t[e]){t[e]=!0;var E=v(eE(T[e]),i,"_effect-".concat(e),O,R);e.startsWith("@layer")?S=E+S:S+=E}}),[A,a,S]}),k,function(e,t,E){var r=(0,o.A)(e,5),n=r[2],i=r[3],a=r[4],T=(E||{}).plain;if(!i)return null;var s=n._tokenKey,A=v(i,a,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},T);return[-999,s,A]}),es,function(e,t,E){var r=(0,o.A)(e,4),n=r[1],i=r[2],a=r[3],T=(E||{}).plain;if(!n)return null;var s=v(n,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},T);return[-999,i,s]});let eR=function(){function e(t,E){(0,S.A)(this,e),(0,n.A)(this,"name",void 0),(0,n.A)(this,"style",void 0),(0,n.A)(this,"_keyframe",!0),this.name=t,this.style=E}return(0,O.A)(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 eS(e){return e.notSplit=!0,e}eS(["borderTop","borderBottom"]),eS(["borderTop"]),eS(["borderBottom"]),eS(["borderLeft","borderRight"]),eS(["borderLeft"]),eS(["borderRight"])}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-9692405059044978.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-9692405059044978.js new file mode 100644 index 00000000..c0806abd --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9259-9692405059044978.js @@ -0,0 +1,6 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9259],{916:(e,t,E)=>{"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}E.d(t,{A:()=>r})},2732:(e,t,E)=>{"use strict";E.d(t,{f:()=>a});var r=E(12115),n=E(18885);function o(){}let i=r.createContext({add:o,remove:o});function a(e){let t=r.useContext(i),E=r.useRef(null);return(0,n.A)(r=>{if(r){let n=e?r.querySelector(e):r;n&&(t.add(n),E.current=n)}else t.remove(E.current)})}},3201:(e,t,E)=>{"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var E=t;E;){if(E===e)return!0;E=E.parentNode}return!1}E.d(t,{A:()=>r})},3338:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,V:()=>a});var r,n=E(85440);function o(e){var t,E,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=r;var i=o.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var T=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(T.width,10),A=parseInt(T.height,10);try{var R=s?"width: ".concat(T.width,";"):"",S=A?"height: ".concat(T.height,";"):"";(0,n.BD)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(R,"\n").concat(S,"\n}"),r)}catch(e){console.error(e),t=s,E=A}}document.body.appendChild(o);var O=e&&t&&!isNaN(t)?t:o.offsetWidth-o.clientWidth,I=e&&E&&!isNaN(E)?E:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),(0,n.m6)(r),{width:O,height:I}}function i(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=o()),r.width)}function a(e){return"undefined"!=typeof document&&e&&e instanceof Element?o(e):{width:0,height:0}}},3617:(e,t,E)=>{"use strict";E.d(t,{D:()=>n});var r=E(15982);let n="".concat(r.yH,"-wave-target")},4697:(e,t,E)=>{"use strict";E.d(t,{BC:()=>l,Bq:()=>a,FK:()=>I,HC:()=>s,HT:()=>n,K5:()=>A,YW:()=>T,b2:()=>O,c1:()=>S,kg:()=>c,kp:()=>o,pb:()=>N,tW:()=>i,tn:()=>r,wN:()=>R});var r=Math.abs,n=String.fromCharCode,o=Object.assign;function i(e,t){return 45^R(e,0)?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function a(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function s(e,t,E){return e.replace(t,E)}function A(e,t,E){return e.indexOf(t,E)}function R(e,t){return 0|e.charCodeAt(t)}function S(e,t,E){return e.slice(t,E)}function O(e){return e.length}function I(e){return e.length}function l(e,t){return t.push(e),e}function c(e,t){return e.map(t).join("")}function N(e,t){return e.filter(function(e){return!T(e,t)})}},5892:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(86608),n=E(55227);function o(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return(0,n.A)(e)}},6212:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)(void 0)},6833:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=E(12115).createContext(void 0)},7884:(e,t,E)=>{"use strict";function r(e){return(e+8)/e}function n(e){let t=Array.from({length:10}).map((t,E)=>{let r=e*Math.pow(Math.E,(E-1)/5);return 2*Math.floor((E>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:r(e)}))}E.d(t,{A:()=>n,k:()=>r})},8357:(e,t,E)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var E=0,r=Array(t);Er})},8396:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)({})},8530:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(12115),n=E(6212),o=E(16025);let i=(e,t)=>{let E=r.useContext(n.A);return[r.useMemo(()=>{var r;let n=t||o.A[e],i=null!=(r=null==E?void 0:E[e])?r:{};return Object.assign(Object.assign({},"function"==typeof n?n():n),i||{})},[e,t,E]),r.useMemo(()=>{let e=null==E?void 0:E.locale;return(null==E?void 0:E.exist)&&!e?o.A.locale:e},[E])]}},9130:(e,t,E)=>{"use strict";E.d(t,{YK:()=>s,jH:()=>i});var r=E(12115),n=E(70042),o=E(6833);let i=1e3,a={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100,FloatButton:100},T={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},s=(e,t)=>{let E,[,i]=(0,n.Ay)(),s=r.useContext(o.A),A=e in a;if(void 0!==t)E=[t,t];else{let r=null!=s?s:0;A?r+=(s?0:i.zIndexPopupBase)+a[e]:r+=T[e],E=[void 0===s?t:r,r]}return E}},9184:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(12115),n=E(63568),o=E(96936);let i=e=>{let{space:t,form:E,children:i}=e;if(null==i)return null;let a=i;return E&&(a=r.createElement(n.XB,{override:!0,status:!0},a)),t&&(a=r.createElement(o.K6,null,a)),a}},9424:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(85522),n=E(45144),o=E(5892);function i(e){var t=(0,n.A)();return function(){var E,n=(0,r.A)(e);return E=t?Reflect.construct(n,arguments,(0,r.A)(this).constructor):n.apply(this,arguments),(0,o.A)(this,E)}}},9587:(e,t,E)=>{"use strict";E.d(t,{$e:()=>o,Ay:()=>s});var r={},n=[];function o(e,t){}function i(e,t){}function a(e,t,E){t||r[E]||(e(!1,E),r[E]=!0)}function T(e,t){a(o,e,t)}T.preMessage=function(e){n.push(e)},T.resetWarned=function(){r={}},T.noteOnce=function(e,t){a(i,e,t)};let s=T},9836:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(12115),n=E(39985);let o=e=>{let t=r.useContext(n.A);return r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:"function"==typeof e?e(t):t:t,[e,t])}},10337:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(86608),n=Symbol.for("react.element"),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(e){return e&&"object"===(0,r.A)(e)&&(e.$$typeof===n||e.$$typeof===o)&&e.type===i}},11719:(e,t,E)=>{"use strict";E.d(t,{Jt:()=>n.A,_q:()=>r.A,hZ:()=>o.A});var r=E(18885);E(48804),E(74686);var n=E(21349),o=E(74121);E(9587)},11823:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(86608);function n(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var E=e[Symbol.toPrimitive];if(void 0!==E){var n=E.call(e,t||"default");if("object"!=(0,r.A)(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},13418:(e,t,E)=>{"use strict";E.d(t,{A:()=>n,r:()=>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"},n=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,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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})},15549:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(7884);let n=e=>{let t=(0,r.A)(e),E=t.map(e=>e.size),n=t.map(e=>e.lineHeight),o=E[1],i=E[0],a=E[2],T=n[1],s=n[0],A=n[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:E[3],fontSizeHeading1:E[6],fontSizeHeading2:E[5],fontSizeHeading3:E[4],fontSizeHeading4:E[3],fontSizeHeading5:E[2],lineHeight:T,lineHeightLG:A,lineHeightSM:s,fontHeight:Math.round(T*o),fontHeightLG:Math.round(A*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}}},15982:(e,t,E)=>{"use strict";E.d(t,{QO:()=>a,TP:()=>A,lJ:()=>i,pM:()=>o,yH:()=>n});var r=E(12115);let n="ant",o="anticon",i=["outlined","borderless","filled","underlined"],a=r.createContext({getPrefixCls:(e,t)=>t||(e?"".concat(n,"-").concat(e):n),iconPrefixCls:o}),{Consumer:T}=a,s={};function A(e){let t=r.useContext(a),{getPrefixCls:E,direction:n,getPopupContainer:o}=t;return Object.assign(Object.assign({classNames:s,styles:s},t[e]),{getPrefixCls:E,direction:n,getPopupContainer:o})}},16025:(e,t,E)=>{"use strict";E.d(t,{A:()=>s});var r=E(86500),n=E(27061),o=(0,n.A)((0,n.A)({},{yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"});let i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={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"]},o),timePickerLocale:Object.assign({},i)},T="${label} is not a valid ${type}",s={locale:"en",Pagination:r.A,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select",close:"Close"},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",deselectAll:"Deselect 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",collapse:"Collapse"},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:T,method:T,array:T,object:T,number:T,date:T,boolean:T,integer:T,float:T,regexp:T,email:T,url:T,hex:T},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},16962:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=function(e){return+setTimeout(e,16)},n=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},n=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,E=o+=1;return!function t(n){if(0===n)i.delete(E),e();else{var o=r(function(){t(n-1)});i.set(E,o)}}(t),E};a.cancel=function(e){var t=i.get(e);return i.delete(e),n(t)};let T=a},17233:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r={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>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};let n=r},17980:(e,t,E)=>{"use strict";function r(e,t){var E=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete E[e]}),E}E.d(t,{A:()=>r})},18184:(e,t,E)=>{"use strict";E.d(t,{K8:()=>R,L9:()=>n,Nk:()=>i,Y1:()=>O,av:()=>T,dF:()=>o,jk:()=>A,jz:()=>S,t6:()=>a,vj:()=>s});var r=E(99841);let n={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":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:'""'}}),T=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(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,E,r)=>{let n='[class^="'.concat(t,'"], [class*=" ').concat(t,'"]'),o=E?".".concat(E):n,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return!1!==r&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},a),i),{[n]:i})}},A=(e,t)=>({outline:"".concat((0,r.zA)(e.lineWidthFocus)," solid ").concat(e.colorPrimaryBorder),outlineOffset:null!=t?t:1,transition:"outline-offset 0s, outline 0s"}),R=(e,t)=>({"&:focus-visible":A(e,t)}),S=e=>({[".".concat(e)]:Object.assign(Object.assign({},i()),{[".".concat(e," .").concat(e,"-icon")]:{display:"block"}})}),O=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:"all ".concat(e.motionDurationSlow),border:0,padding:0,background:"none",userSelect:"none"},R(e)),{"&:hover":{color:e.colorLinkHover,textDecoration:e.linkHoverDecoration},"&:focus":{color:e.colorLinkHover,textDecoration:e.linkFocusDecoration},"&:active":{color:e.colorLinkActive,textDecoration:e.linkHoverDecoration}})},18885:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(12115);function n(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,E=arguments.length,r=Array(E),n=0;n{"use strict";E.d(t,{A:()=>n});var r=E(93495);function n(e,t){if(null==e)return{};var E,n,o=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";function r(e,t){for(var E=e,r=0;rr})},21858:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(35145),n=E(73632),o=E(916);function i(e,t){return(0,r.A)(e)||function(e,t){var E=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=E){var r,n,o,i,a=[],T=!0,s=!1;try{if(o=(E=E.call(e)).next,0===t){if(Object(E)!==E)return;T=!1}else for(;!(T=(r=o.call(E)).done)&&(a.push(r.value),a.length!==t);T=!0);}catch(e){s=!0,n=e}finally{try{if(!T&&null!=E.return&&(i=E.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e,t)||(0,n.A)(e,t)||(0,o.A)()}},21949:(e,t,E)=>{"use strict";E.d(t,{GP:()=>EJ});var r,n,o,i={};E.r(i),E.d(i,{bigquery:()=>m,clickhouse:()=>H,db2:()=>w,db2i:()=>q,duckdb:()=>er,hive:()=>eA,mariadb:()=>eu,mysql:()=>eP,n1ql:()=>eB,plsql:()=>eK,postgresql:()=>ez,redshift:()=>e4,singlestoredb:()=>tF,snowflake:()=>tX,spark:()=>tE,sql:()=>tc,sqlite:()=>ts,tidb:()=>ey,transactsql:()=>tU,trino:()=>tf});let a=e=>e.flatMap(T),T=e=>c(A(e)).map(s),s=e=>e.replace(/ +/g," ").trim(),A=e=>({type:"mandatory_block",items:R(e,0)[0]}),R=(e,t,E)=>{let r=[];for(;e[t];){let[n,o]=S(e,t);if(r.push(n),"|"===e[t=o])t++;else if("}"===e[t]||"]"===e[t]){if(E!==e[t])throw Error(`Unbalanced parenthesis in: ${e}`);t++;break}else if(t===e.length){if(E)throw Error(`Unbalanced parenthesis in: ${e}`);break}else throw Error(`Unexpected "${e[t]}"`)}return[r,t]},S=(e,t)=>{let E=[];for(;;){let[r,n]=O(e,t);if(r)E.push(r),t=n;else break}return 1===E.length?[E[0],t]:[{type:"concatenation",items:E},t]},O=(e,t)=>{if("{"===e[t])return I(e,t+1);{if("["===e[t])return l(e,t+1);let E="";for(;e[t]&&/[A-Za-z0-9_ ]/.test(e[t]);)E+=e[t],t++;return[E,t]}},I=(e,t)=>{let[E,r]=R(e,t,"}");return[{type:"mandatory_block",items:E},r]},l=(e,t)=>{let[E,r]=R(e,t,"]");return[{type:"optional_block",items:E},r]},c=e=>{if("string"==typeof e)return[e];if("concatenation"===e.type)return e.items.map(c).reduce(N,[""]);if("mandatory_block"===e.type)return e.items.flatMap(c);if("optional_block"===e.type)return["",...e.items.flatMap(c)];throw Error(`Unknown node type: ${e}`)},N=(e,t)=>{let E=[];for(let r of e)for(let e of t)E.push(r+e);return E};!function(e){e.QUOTED_IDENTIFIER="QUOTED_IDENTIFIER",e.IDENTIFIER="IDENTIFIER",e.STRING="STRING",e.VARIABLE="VARIABLE",e.RESERVED_DATA_TYPE="RESERVED_DATA_TYPE",e.RESERVED_PARAMETERIZED_DATA_TYPE="RESERVED_PARAMETERIZED_DATA_TYPE",e.RESERVED_KEYWORD="RESERVED_KEYWORD",e.RESERVED_FUNCTION_NAME="RESERVED_FUNCTION_NAME",e.RESERVED_KEYWORD_PHRASE="RESERVED_KEYWORD_PHRASE",e.RESERVED_DATA_TYPE_PHRASE="RESERVED_DATA_TYPE_PHRASE",e.RESERVED_SET_OPERATION="RESERVED_SET_OPERATION",e.RESERVED_CLAUSE="RESERVED_CLAUSE",e.RESERVED_SELECT="RESERVED_SELECT",e.RESERVED_JOIN="RESERVED_JOIN",e.ARRAY_IDENTIFIER="ARRAY_IDENTIFIER",e.ARRAY_KEYWORD="ARRAY_KEYWORD",e.CASE="CASE",e.END="END",e.WHEN="WHEN",e.ELSE="ELSE",e.THEN="THEN",e.LIMIT="LIMIT",e.BETWEEN="BETWEEN",e.AND="AND",e.OR="OR",e.XOR="XOR",e.OPERATOR="OPERATOR",e.COMMA="COMMA",e.ASTERISK="ASTERISK",e.PROPERTY_ACCESS_OPERATOR="PROPERTY_ACCESS_OPERATOR",e.OPEN_PAREN="OPEN_PAREN",e.CLOSE_PAREN="CLOSE_PAREN",e.LINE_COMMENT="LINE_COMMENT",e.BLOCK_COMMENT="BLOCK_COMMENT",e.DISABLE_COMMENT="DISABLE_COMMENT",e.NUMBER="NUMBER",e.NAMED_PARAMETER="NAMED_PARAMETER",e.QUOTED_PARAMETER="QUOTED_PARAMETER",e.NUMBERED_PARAMETER="NUMBERED_PARAMETER",e.POSITIONAL_PARAMETER="POSITIONAL_PARAMETER",e.CUSTOM_PARAMETER="CUSTOM_PARAMETER",e.DELIMITER="DELIMITER",e.EOF="EOF"}(r=r||(r={}));let u=e=>({type:r.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),C=u(1/0),L=e=>t=>t.type===e.type&&t.text===e.text,_={ARRAY:L({text:"ARRAY",type:r.RESERVED_DATA_TYPE}),BY:L({text:"BY",type:r.RESERVED_KEYWORD}),SET:L({text:"SET",type:r.RESERVED_CLAUSE}),STRUCT:L({text:"STRUCT",type:r.RESERVED_DATA_TYPE}),WINDOW:L({text:"WINDOW",type:r.RESERVED_CLAUSE}),VALUES:L({text:"VALUES",type:r.RESERVED_CLAUSE})},d=e=>e===r.RESERVED_DATA_TYPE||e===r.RESERVED_KEYWORD||e===r.RESERVED_FUNCTION_NAME||e===r.RESERVED_KEYWORD_PHRASE||e===r.RESERVED_DATA_TYPE_PHRASE||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.ARRAY_KEYWORD||e===r.CASE||e===r.END||e===r.WHEN||e===r.ELSE||e===r.THEN||e===r.LIMIT||e===r.BETWEEN||e===r.AND||e===r.OR||e===r.XOR,f=a(["SELECT [ALL | DISTINCT] [AS STRUCT | AS VALUE]"]),D=a(["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","CLUSTER BY","FOR SYSTEM_TIME AS OF","WITH CONNECTION","WITH PARTITION COLUMNS","REMOTE WITH CONNECTION"]),P=a(["CREATE [OR REPLACE] [TEMP|TEMPORARY|SNAPSHOT|EXTERNAL] TABLE [IF NOT EXISTS]"]),p=a(["CREATE [OR REPLACE] [MATERIALIZED] VIEW [IF NOT EXISTS]","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"]),h=a(["UNION {ALL | DISTINCT}","EXCEPT DISTINCT","INTERSECT DISTINCT"]),M=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),m={name:"bigquery",tokenizerOptions:{reservedSelect:f,reservedClauses:[...D,...p,...P],reservedSetOperations:h,reservedJoins:M,reservedKeywordPhrases:a(["TABLESAMPLE SYSTEM","ANY TYPE","ALL COLUMNS","NOT DETERMINISTIC","{ROWS | RANGE} BETWEEN","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a([]),reservedKeywords:["ALL","AND","ANY","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","INTO","IS","JOIN","LATERAL","LEFT","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","TABLE","TABLESAMPLE","THEN","TO","TREAT","TRUE","UNBOUNDED","UNION","UNNEST","USING","WHEN","WHERE","WINDOW","WITH","WITHIN","SAFE","LIKE","COPY","CLONE","IN","OUT","INOUT","RETURNS","LANGUAGE","CASCADE","RESTRICT","DETERMINISTIC"],reservedDataTypes:["ARRAY","BOOL","BYTES","DATE","DATETIME","GEOGRAPHY","INTERVAL","INT64","INT","SMALLINT","INTEGER","BIGINT","TINYINT","BYTEINT","NUMERIC","DECIMAL","BIGNUMERIC","BIGDECIMAL","FLOAT64","STRING","STRUCT","TIME","TIMEZONE"],reservedFunctionNames:["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","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","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","APPROX_COUNT_DISTINCT","APPROX_QUANTILES","APPROX_TOP_COUNT","APPROX_TOP_SUM","ARRAY_CONCAT","ARRAY_LENGTH","ARRAY_TO_STRING","GENERATE_ARRAY","GENERATE_DATE_ARRAY","GENERATE_TIMESTAMP_ARRAY","ARRAY_REVERSE","OFFSET","SAFE_OFFSET","ORDINAL","SAFE_ORDINAL","BIT_COUNT","PARSE_BIGNUMERIC","PARSE_NUMERIC","SAFE_CAST","CURRENT_DATE","EXTRACT","DATE","DATE_ADD","DATE_SUB","DATE_DIFF","DATE_TRUNC","DATE_FROM_UNIX_DATE","FORMAT_DATE","LAST_DAY","PARSE_DATE","UNIX_DATE","CURRENT_DATETIME","DATETIME","EXTRACT","DATETIME_ADD","DATETIME_SUB","DATETIME_DIFF","DATETIME_TRUNC","FORMAT_DATETIME","LAST_DAY","PARSE_DATETIME","ERROR","EXTERNAL_QUERY","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","FARM_FINGERPRINT","MD5","SHA1","SHA256","SHA512","HLL_COUNT.INIT","HLL_COUNT.MERGE","HLL_COUNT.MERGE_PARTIAL","HLL_COUNT.EXTRACT","MAKE_INTERVAL","EXTRACT","JUSTIFY_DAYS","JUSTIFY_HOURS","JUSTIFY_INTERVAL","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","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","FIRST_VALUE","LAST_VALUE","NTH_VALUE","LEAD","LAG","PERCENTILE_CONT","PERCENTILE_DISC","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","RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","NTILE","ROW_NUMBER","SESSION_USER","CORR","COVAR_POP","COVAR_SAMP","STDDEV_POP","STDDEV_SAMP","STDDEV","VAR_POP","VAR_SAMP","VARIANCE","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","CURRENT_TIME","TIME","EXTRACT","TIME_ADD","TIME_SUB","TIME_DIFF","TIME_TRUNC","FORMAT_TIME","PARSE_TIME","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","GENERATE_UUID","COALESCE","IF","IFNULL","NULLIF","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","BIT_COUNT","BOOLEAN","BYTES","CAST","FLOAT","HEX_STRING","INTEGER","STRING","COALESCE","GREATEST","IFNULL","IS_INF","IS_NAN","IS_EXPLICITLY_DEFINED","LEAST","NVL","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","FORMAT_IP","PARSE_IP","FORMAT_PACKED_IP","PARSE_PACKED_IP","JSON_EXTRACT","JSON_EXTRACT_SCALAR","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","REGEXP_MATCH","REGEXP_EXTRACT","REGEXP_REPLACE","CONCAT","INSTR","LEFT","LENGTH","LOWER","LPAD","LTRIM","REPLACE","RIGHT","RPAD","RTRIM","SPLIT","SUBSTR","UPPER","TABLE_DATE_RANGE","TABLE_DATE_RANGE_STRICT","TABLE_QUERY","HOST","DOMAIN","TLD","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","CURRENT_USER","EVERY","FROM_BASE64","HASH","FARM_FINGERPRINT","IF","POSITION","SHA1","SOME","TO_BASE64","BQ.JOBS.CANCEL","BQ.REFRESH_MATERIALIZED_VIEW","OPTIONS","PIVOT","UNPIVOT"],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 E;return t=function(e){var t;let E=[];for(let n=0;n"===t.text?E--:">>"===t.text&&(E-=2),0===E)return r}return e.length-1}(e,n+1),i=e.slice(n,t+1);E.push({type:r.IDENTIFIER,raw:i.map(U("raw")).join(""),text:i.map(U("text")).join(""),start:o.start}),n=t}else E.push(o)}return E}(e),E=C,t.map(e=>"OFFSET"===e.text&&"["===E.text?(E=e,Object.assign(Object.assign({},e),{type:r.RESERVED_FUNCTION_NAME})):(E=e,e))}},formatOptions:{onelineClauses:[...P,...p],tabularOnelineClauses:p}},U=e=>t=>t.type===r.IDENTIFIER||t.type===r.COMMA?t[e]+" ":t[e],g=a(["SELECT [DISTINCT]","MODIFY QUERY SELECT [DISTINCT]"]),y=a(["SET","WITH","FROM","SAMPLE","PREWHERE","WHERE","GROUP BY","HAVING","QUALIFY","ORDER BY","LIMIT","SETTINGS","INTO OUTFILE","FORMAT","WINDOW","PARTITION BY","INSERT INTO","VALUES","DEPENDS ON","MOVE {USER | ROLE | QUOTA | SETTINGS PROFILE | ROW POLICY}","GRANT","REVOKE","CHECK GRANT","SET [DEFAULT] ROLE [NONE | ALL | ALL EXCEPT]","DEDUPLICATE BY","MODIFY STATISTICS","TYPE","ALTER USER [IF EXISTS]","ALTER [ROW] POLICY [IF EXISTS]","DROP {USER | ROLE | QUOTA | PROFILE | SETTINGS PROFILE | ROW POLICY | POLICY} [IF EXISTS]"]),G=a(["CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]"]),b=a(["ALL EXCEPT","ON CLUSTER","UPDATE","SYSTEM RELOAD {DICTIONARIES | DICTIONARY | FUNCTIONS | FUNCTION | ASYNCHRONOUS METRICS}","SYSTEM DROP {DNS CACHE | MARK CACHE | ICEBERG METADATA CACHE | TEXT INDEX DICTIONARY CACHE | TEXT INDEX HEADER CACHE | TEXT INDEX POSTINGS CACHE | REPLICA | DATABASE REPLICA | UNCOMPRESSED CACHE | COMPILED EXPRESSION CACHE | QUERY CONDITION CACHE | QUERY CACHE | FORMAT SCHEMA CACHE | FILESYSTEM CACHE}","SYSTEM FLUSH LOGS","SYSTEM RELOAD {CONFIG | USERS}","SYSTEM SHUTDOWN","SYSTEM KILL","SYSTEM FLUSH DISTRIBUTED","SYSTEM START DISTRIBUTED SENDS","SYSTEM {STOP | START} {LISTEN | MERGES | TTL MERGES | MOVES | FETCHES | REPLICATED SENDS | REPLICATION QUEUES | PULLING REPLICATION LOG}","SYSTEM {SYNC | RESTART | RESTORE} REPLICA","SYSTEM {SYNC | RESTORE} DATABASE REPLICA","SYSTEM RESTART REPLICAS","SYSTEM UNFREEZE","SYSTEM WAIT LOADING PARTS","SYSTEM {LOAD | UNLOAD} PRIMARY KEY","SYSTEM {STOP | START} [REPLICATED] VIEW","SYSTEM {STOP | START} VIEWS","SYSTEM {REFRESH | CANCEL | WAIT} VIEW","WITH NAME","SHOW [CREATE] {TABLE | TEMPORARY TABLE | DICTIONARY | VIEW | DATABASE}","SHOW DATABASES [[NOT] {LIKE | ILIKE}]","SHOW [FULL] [TEMPORARY] TABLES [FROM | IN]","SHOW [EXTENDED] [FULL] COLUMNS {FROM | IN}","ATTACH {TABLE | DICTIONARY | DATABASE} [IF NOT EXISTS]","DETACH {TABLE | DICTIONARY | DATABASE} [IF EXISTS]","PERMANENTLY","SYNC","DROP {DICTIONARY | DATABASE | PROFILE | VIEW | FUNCTION | NAMED COLLECTION} [IF EXISTS]","DROP [TEMPORARY] TABLE [IF EXISTS] [IF EMPTY]","RENAME TO","EXISTS [TEMPORARY] {TABLE | DICTIONARY | DATABASE}","KILL QUERY","OPTIMIZE TABLE","RENAME {TABLE | DICTIONARY | DATABASE}","EXCHANGE {TABLES | DICTIONARIES}","TRUNCATE TABLE [IF EXISTS]","EXECUTE AS","USE","TO","UNDROP TABLE","CREATE {DATABASE | NAMED COLLECTION} [IF NOT EXISTS]","CREATE [OR REPLACE] {VIEW | DICTIONARY} [IF NOT EXISTS]","CREATE MATERIALIZED VIEW [IF NOT EXISTS]","CREATE FUNCTION","CREATE {USER | ROLE | QUOTA | SETTINGS PROFILE} [IF NOT EXISTS | OR REPLACE]","CREATE [ROW] POLICY [IF NOT EXISTS | OR REPLACE]","REPLACE [TEMPORARY] TABLE [IF NOT EXISTS]","ALTER {ROLE | QUOTA | SETTINGS PROFILE} [IF EXISTS]","ALTER [TEMPORARY] TABLE","ALTER NAMED COLLECTION [IF EXISTS]","GRANTEES","NOT IDENTIFIED","RESET AUTHENTICATION METHODS TO NEW","{IDENTIFIED | ADD IDENTIFIED} [WITH | BY]","[ADD | DROP] HOST {LOCAL | NAME | REGEXP | IP | LIKE}","VALID UNTIL","DROP [ALL] {PROFILES | SETTINGS}","{ADD | MODIFY} SETTINGS","ADD PROFILES","APPLY DELETED MASK","IN PARTITION","{ADD | DROP | RENAME | CLEAR | COMMENT | MODIFY | ALTER | MATERIALIZE} COLUMN","{DETACH | DROP | ATTACH | FETCH | MOVE} {PART | PARTITION}","DROP DETACHED {PART | PARTITION}","{FORGET | REPLACE} PARTITION","CLEAR COLUMN","{FREEZE | UNFREEZE} [PARTITION]","CLEAR INDEX","TO {DISK | VOLUME}","[DELETE | REWRITE PARTS] IN PARTITION","{MODIFY | RESET} SETTING","DELETE WHERE","MODIFY ORDER BY","{MODIFY | REMOVE} SAMPLE BY","{ADD | MATERIALIZE | CLEAR} INDEX [IF NOT EXISTS]","DROP INDEX [IF EXISTS]","GRANULARITY","AFTER","FIRST","ADD CONSTRAINT [IF NOT EXISTS]","DROP CONSTRAINT [IF EXISTS]","MODIFY TTL","REMOVE TTL","ADD STATISTICS [IF NOT EXISTS]","{DROP | CLEAR} STATISTICS [IF EXISTS]","MATERIALIZE STATISTICS [ALL | IF EXISTS]","KEYED BY","NOT KEYED","FOR [RANDOMIZED] INTERVAL","AS {PERMISSIVE | RESTRICTIVE}","FOR SELECT","ADD PROJECTION [IF NOT EXISTS]","{DROP | MATERIALIZE | CLEAR} PROJECTION [IF EXISTS]","REFRESH {EVERY | AFTER}","RANDOMIZE FOR","APPEND","APPEND TO","DELETE FROM","EXPLAIN [AST | SYNTAX | QUERY TREE | PLAN | PIPELINE | ESTIMATE | TABLE OVERRIDE]","GRANT ON CLUSTER","GRANT CURRENT GRANTS","WITH GRANT OPTION","REVOKE ON CLUSTER","ADMIN OPTION FOR","CHECK TABLE","PARTITION ID","{DESC | DESCRIBE} TABLE"]),v=a(["UNION [ALL | DISTINCT]","PARALLEL WITH"]),H={name:"clickhouse",tokenizerOptions:{reservedSelect:g,reservedClauses:[...y,...G,...b],reservedSetOperations:v,reservedJoins:a(["[GLOBAL] [INNER|LEFT|RIGHT|FULL|CROSS] [OUTER|SEMI|ANTI|ANY|ALL|ASOF] JOIN","[LEFT] ARRAY JOIN"]),reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN","ALTER MATERIALIZE STATISTICS"]),reservedKeywords:["ACCESS","ACTION","ADD","ADMIN","AFTER","ALGORITHM","ALIAS","ALL","ALLOWED_LATENESS","ALTER","AND","ANTI","APPEND","APPLY","AS","ASC","ASCENDING","ASOF","ASSUME","AST","ASYNC","ATTACH","AUTO_INCREMENT","AZURE","BACKUP","BAGEXPANSION","BASE_BACKUP","BCRYPT_HASH","BCRYPT_PASSWORD","BEGIN","BETWEEN","BIDIRECTIONAL","BOTH","BY","CACHE","CACHES","CASCADE","CASE","CHANGE","CHANGEABLE_IN_READONLY","CHANGED","CHARACTER","CHECK","CLEANUP","CLEAR","CLUSTER","CLUSTERS","CLUSTER_HOST_IDS","CN","CODEC","COLLATE","COLLECTION","COLUMN","COLUMNS","COMMENT","COMMIT","COMPRESSION","CONST","CONSTRAINT","CREATE","CROSS","CUBE","CURRENT","D","DATA","DATABASE","DATABASES","DAYS","DD","DDL","DEDUPLICATE","DEFAULT","DEFINER","DELAY","DELETE","DELETED","DEPENDS","DESC","DESCENDING","DESCRIBE","DETACH","DETACHED","DICTIONARIES","DICTIONARY","DISK","DISTINCT","DIV","DOUBLE_SHA1_HASH","DOUBLE_SHA1_PASSWORD","DROP","ELSE","ENABLED","END","ENFORCED","ENGINE","ENGINES","EPHEMERAL","ESTIMATE","EVENT","EVENTS","EVERY","EXCEPT","EXCHANGE","EXISTS","EXPLAIN","EXPRESSION","EXTENDED","EXTERNAL","FAKE","FALSE","FETCH","FIELDS","FILESYSTEM","FILL","FILTER","FINAL","FIRST","FOLLOWING","FOR","FOREIGN","FORMAT","FREEZE","FROM","FULL","FULLTEXT","FUNCTION","FUNCTIONS","GLOBAL","GRANT","GRANTEES","GRANTS","GRANULARITY","GROUP","GROUPING","GROUPS","H","HASH","HAVING","HDFS","HH","HIERARCHICAL","HOST","HOURS","HTTP","IDENTIFIED","ILIKE","IN","INDEX","INDEXES","INDICES","INFILE","INHERIT","INJECTIVE","INNER","INSERT","INTERPOLATE","INTERSECT","INTERVAL","INTO","INVISIBLE","INVOKER","IP","IS","IS_OBJECT_ID","JOIN","JWT","KERBEROS","KEY","KEYED","KEYS","KILL","KIND","LARGE","LAST","LAYOUT","LDAP","LEADING","LEVEL","LIFETIME","LIGHTWEIGHT","LIKE","LIMIT","LIMITS","LINEAR","LIST","LIVE","LOCAL","M","MASK","MATERIALIZED","MCS","MEMORY","MERGES","METRICS","MI","MICROSECOND","MICROSECONDS","MILLISECONDS","MINUTES","MM","MODIFY","MONTHS","MOVE","MS","MUTATION","N","NAME","NAMED","NANOSECOND","NANOSECONDS","NEXT","NO","NONE","NOT","NO_PASSWORD","NS","NULL","NULLS","OBJECT","OFFSET","ON","ONLY","OPTIMIZE","OPTION","OR","ORDER","OUTER","OUTFILE","OVER","OVERRIDABLE","OVERRIDE","PART","PARTIAL","PARTITION","PARTITIONS","PART_MOVE_TO_SHARD","PASTE","PERIODIC","PERMANENTLY","PERMISSIVE","PERSISTENT","PIPELINE","PLAINTEXT_PASSWORD","PLAN","POLICY","POPULATE","PRECEDING","PRECISION","PREWHERE","PRIMARY","PRIVILEGES","PROCESSLIST","PROFILE","PROJECTION","PROTOBUF","PULL","Q","QQ","QUALIFY","QUARTERS","QUERY","QUOTA","RANDOMIZE","RANDOMIZED","RANGE","READONLY","REALM","RECOMPRESS","RECURSIVE","REFERENCES","REFRESH","REGEXP","REMOVE","RENAME","RESET","RESPECT","RESTORE","RESTRICT","RESTRICTIVE","RESUME","REVOKE","ROLE","ROLES","ROLLBACK","ROLLUP","ROW","ROWS","S","S3","SALT","SAMPLE","SAN","SCHEME","SECONDS","SECURITY","SELECT","SEMI","SEQUENTIAL","SERVER","SET","SETS","SETTING","SETTINGS","SHA256_HASH","SHA256_PASSWORD","SHARD","SHOW","SIGNED","SIMPLE","SNAPSHOT","SOURCE","SPATIAL","SQL","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MICROSECOND","SQL_TSI_MILLISECOND","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_NANOSECOND","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SS","SSH_KEY","SSL_CERTIFICATE","STALENESS","START","STATISTICS","STDOUT","STEP","STORAGE","STRICT","STRICTLY_ASCENDING","SUBPARTITION","SUBPARTITIONS","SUSPEND","SYNC","SYNTAX","SYSTEM","TABLE","TABLES","TAGS","TEMPORARY","TEST","THAN","THEN","TIES","TIME","TO","TOP","TOTALS","TRACKING","TRAILING","TRANSACTION","TREE","TRIGGER","TRUE","TRUNCATE","TTL","TYPE","TYPEOF","UNBOUNDED","UNDROP","UNFREEZE","UNION","UNIQUE","UNSET","UNSIGNED","UNTIL","UPDATE","URL","USE","USING","UUID","VALID","VALUES","VARYING","VIEW","VISIBLE","VOLUME","WATCH","WATERMARK","WEEKS","WHEN","WHERE","WINDOW","WITH","WITH_ITEMINDEX","WK","WRITABLE","WW","YEARS","YY","YYYY","ZKPATH"],reservedDataTypes:["AGGREGATEFUNCTION","ARRAY","BFLOAT16","BIGINT","BIGINT SIGNED","BIGINT UNSIGNED","BINARY","BINARY LARGE OBJECT","BINARY VARYING","BIT","BLOB","BYTE","BYTEA","BOOL","CHAR","CHAR LARGE OBJECT","CHAR VARYING","CHARACTER","CHARACTER LARGE OBJECT","CHARACTER VARYING","CLOB","DEC","DOUBLE","DOUBLE PRECISION","DATE","DATE32","DATETIME","DATETIME32","DATETIME64","DECIMAL","DECIMAL128","DECIMAL256","DECIMAL32","DECIMAL64","DYNAMIC","ENUM","ENUM","ENUM16","ENUM8","FIXED","FLOAT","FIXEDSTRING","FLOAT32","FLOAT64","GEOMETRY","INET4","INET6","INT","INT SIGNED","INT UNSIGNED","INT1","INT1 SIGNED","INT1 UNSIGNED","INTEGER","INTEGER SIGNED","INTEGER UNSIGNED","IPV4","IPV6","INT128","INT16","INT256","INT32","INT64","INT8","INTERVALDAY","INTERVALHOUR","INTERVALMICROSECOND","INTERVALMILLISECOND","INTERVALMINUTE","INTERVALMONTH","INTERVALNANOSECOND","INTERVALQUARTER","INTERVALSECOND","INTERVALWEEK","INTERVALYEAR","JSON","LONGBLOB","LONGTEXT","LINESTRING","LOWCARDINALITY","MEDIUMBLOB","MEDIUMINT","MEDIUMINT SIGNED","MEDIUMINT UNSIGNED","MEDIUMTEXT","MAP","MULTILINESTRING","MULTIPOLYGON","NATIONAL CHAR","NATIONAL CHAR VARYING","NATIONAL CHARACTER","NATIONAL CHARACTER LARGE OBJECT","NATIONAL CHARACTER VARYING","NCHAR","NCHAR LARGE OBJECT","NCHAR VARYING","NUMERIC","NVARCHAR","NESTED","NOTHING","NULLABLE","OBJECT","POINT","POLYGON","REAL","RING","SET","SIGNED","SINGLE","SMALLINT","SMALLINT SIGNED","SMALLINT UNSIGNED","SIMPLEAGGREGATEFUNCTION","STRING","TEXT","TIMESTAMP","TINYBLOB","TINYINT","TINYINT SIGNED","TINYINT UNSIGNED","TINYTEXT","TIME","TIME64","TUPLE","UINT128","UINT16","UINT256","UINT32","UINT64","UINT8","UNSIGNED","UUID","VARBINARY","VARCHAR","VARCHAR2","VARIANT","YEAR","BOOL","BOOLEAN"],reservedFunctionNames:["BIT_AND","BIT_OR","BIT_XOR","BLAKE3","CAST","CHARACTER_LENGTH","CHAR_LENGTH","COVAR_POP","COVAR_SAMP","CRC32","CRC32IEEE","CRC64","DATE","DATE_DIFF","DATE_FORMAT","DATE_TRUNC","DAY","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","FORMAT_BYTES","FQDN","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","HOUR","INET6_ATON","INET6_NTOA","INET_ATON","INET_NTOA","IPv4CIDRToRange","IPv4NumToString","IPv4NumToStringClassC","IPv4StringToNum","IPv4StringToNumOrDefault","IPv4StringToNumOrNull","IPv4ToIPv6","IPv6CIDRToRange","IPv6NumToString","IPv6StringToNum","IPv6StringToNumOrDefault","IPv6StringToNumOrNull","JSONAllPaths","JSONAllPathsWithTypes","JSONArrayLength","JSONDynamicPaths","JSONDynamicPathsWithTypes","JSONExtract","JSONExtractArrayRaw","JSONExtractArrayRawCaseInsensitive","JSONExtractBool","JSONExtractBoolCaseInsensitive","JSONExtractCaseInsensitive","JSONExtractFloat","JSONExtractFloatCaseInsensitive","JSONExtractInt","JSONExtractIntCaseInsensitive","JSONExtractKeys","JSONExtractKeysAndValues","JSONExtractKeysAndValuesCaseInsensitive","JSONExtractKeysAndValuesRaw","JSONExtractKeysAndValuesRawCaseInsensitive","JSONExtractKeysCaseInsensitive","JSONExtractRaw","JSONExtractRawCaseInsensitive","JSONExtractString","JSONExtractStringCaseInsensitive","JSONExtractUInt","JSONExtractUIntCaseInsensitive","JSONHas","JSONKey","JSONLength","JSONMergePatch","JSONSharedDataPaths","JSONSharedDataPathsWithTypes","JSONType","JSON_ARRAY_LENGTH","JSON_EXISTS","JSON_QUERY","JSON_VALUE","L1Distance","L1Norm","L1Normalize","L2Distance","L2Norm","L2Normalize","L2SquaredDistance","L2SquaredNorm","LAST_DAY","LinfDistance","LinfNorm","LinfNormalize","LpDistance","LpNorm","LpNormalize","MACNumToString","MACStringToNum","MACStringToOUI","MAP_FROM_ARRAYS","MD4","MD5","MILLISECOND","MINUTE","MONTH","OCTET_LENGTH","QUARTER","REGEXP_EXTRACT","REGEXP_MATCHES","REGEXP_REPLACE","RIPEMD160","SCHEMA","SECOND","SHA1","SHA224","SHA256","SHA384","SHA512","SHA512_256","STD","STDDEV_POP","STDDEV_SAMP","ST_LineFromWKB","ST_MLineFromWKB","ST_MPolyFromWKB","ST_PointFromWKB","ST_PolyFromWKB","SUBSTRING_INDEX","SVG","TIMESTAMP_DIFF","TO_BASE64","TO_DAYS","TO_UNIXTIME","ULIDStringToDateTime","URLHash","URLHierarchy","URLPathHierarchy","UTCTimestamp","UTC_timestamp","UUIDNumToString","UUIDStringToNum","UUIDToNum","UUIDv7ToDateTime","VAR_POP","VAR_SAMP","YEAR","YYYYMMDDToDate","YYYYMMDDToDate32","YYYYMMDDhhmmssToDateTime","YYYYMMDDhhmmssToDateTime64","_CAST","__actionName","__bitBoolMaskAnd","__bitBoolMaskOr","__bitSwapLastTwo","__bitWrapperFunc","__getScalar","__patchPartitionID","__scalarSubqueryResult","abs","accurateCast","accurateCastOrDefault","accurateCastOrNull","acos","acosh","addDate","addDays","addHours","addInterval","addMicroseconds","addMilliseconds","addMinutes","addMonths","addNanoseconds","addQuarters","addSeconds","addTupleOfIntervals","addWeeks","addYears","addressToLine","addressToLineWithInlines","addressToSymbol","aes_decrypt_mysql","aes_encrypt_mysql","age","aggThrow","alphaTokens","analysisOfVariance","anova","any","anyHeavy","anyLast","anyLastRespectNulls","anyLast_respect_nulls","anyRespectNulls","anyValueRespectNulls","any_respect_nulls","any_value","any_value_respect_nulls","appendTrailingCharIfAbsent","approx_top_count","approx_top_k","approx_top_sum","argMax","argMin","array","arrayAUC","arrayAUCPR","arrayAll","arrayAvg","arrayCompact","arrayConcat","arrayCount","arrayCumSum","arrayCumSumNonNegative","arrayDifference","arrayDistinct","arrayDotProduct","arrayElement","arrayElementOrNull","arrayEnumerate","arrayEnumerateDense","arrayEnumerateDenseRanked","arrayEnumerateUniq","arrayEnumerateUniqRanked","arrayExists","arrayFill","arrayFilter","arrayFirst","arrayFirstIndex","arrayFirstOrNull","arrayFlatten","arrayFold","arrayIntersect","arrayJaccardIndex","arrayJoin","arrayLast","arrayLastIndex","arrayLastOrNull","arrayLevenshteinDistance","arrayLevenshteinDistanceWeighted","arrayMap","arrayMax","arrayMin","arrayNormalizedGini","arrayPRAUC","arrayPartialReverseSort","arrayPartialShuffle","arrayPartialSort","arrayPopBack","arrayPopFront","arrayProduct","arrayPushBack","arrayPushFront","arrayROCAUC","arrayRandomSample","arrayReduce","arrayReduceInRanges","arrayResize","arrayReverse","arrayReverseFill","arrayReverseSort","arrayReverseSplit","arrayRotateLeft","arrayRotateRight","arrayShiftLeft","arrayShiftRight","arrayShingles","arrayShuffle","arraySimilarity","arraySlice","arraySort","arraySplit","arrayStringConcat","arraySum","arraySymmetricDifference","arrayUnion","arrayUniq","arrayWithConstant","arrayZip","arrayZipUnaligned","array_agg","array_concat_agg","ascii","asin","asinh","assumeNotNull","atan","atan2","atanh","authenticatedUser","avg","avgWeighted","bar","base32Decode","base32Encode","base58Decode","base58Encode","base64Decode","base64Encode","base64URLDecode","base64URLEncode","basename","bech32Decode","bech32Encode","bin","bitAnd","bitCount","bitHammingDistance","bitNot","bitOr","bitPositionsToArray","bitRotateLeft","bitRotateRight","bitShiftLeft","bitShiftRight","bitSlice","bitTest","bitTestAll","bitTestAny","bitXor","bitmapAnd","bitmapAndCardinality","bitmapAndnot","bitmapAndnotCardinality","bitmapBuild","bitmapCardinality","bitmapContains","bitmapHasAll","bitmapHasAny","bitmapMax","bitmapMin","bitmapOr","bitmapOrCardinality","bitmapSubsetInRange","bitmapSubsetLimit","bitmapToArray","bitmapTransform","bitmapXor","bitmapXorCardinality","bitmaskToArray","bitmaskToList","blockNumber","blockSerializedSize","blockSize","boundingRatio","buildId","byteHammingDistance","byteSize","byteSlice","byteSwap","caseWithExpr","caseWithExpression","caseWithoutExpr","caseWithoutExpression","catboostEvaluate","categoricalInformationValue","cbrt","ceil","ceiling","changeDay","changeHour","changeMinute","changeMonth","changeSecond","changeYear","char","cityHash64","clamp","coalesce","colorOKLCHToSRGB","colorSRGBToOKLCH","compareSubstrings","concat","concatAssumeInjective","concatWithSeparator","concatWithSeparatorAssumeInjective","concat_ws","connectionId","connection_id","contingency","convertCharset","corr","corrMatrix","corrStable","cos","cosh","cosineDistance","count","countDigits","countEqual","countMatches","countMatchesCaseInsensitive","countSubstrings","countSubstringsCaseInsensitive","countSubstringsCaseInsensitiveUTF8","covarPop","covarPopMatrix","covarPopStable","covarSamp","covarSampMatrix","covarSampStable","cramersV","cramersVBiasCorrected","curdate","currentDatabase","currentProfiles","currentQueryID","currentRoles","currentSchemas","currentUser","current_database","current_date","current_query_id","current_schemas","current_timestamp","current_user","cutFragment","cutIPv6","cutQueryString","cutQueryStringAndFragment","cutToFirstSignificantSubdomain","cutToFirstSignificantSubdomainCustom","cutToFirstSignificantSubdomainCustomRFC","cutToFirstSignificantSubdomainCustomWithWWW","cutToFirstSignificantSubdomainCustomWithWWWRFC","cutToFirstSignificantSubdomainRFC","cutToFirstSignificantSubdomainWithWWW","cutToFirstSignificantSubdomainWithWWWRFC","cutURLParameter","cutWWW","damerauLevenshteinDistance","dateDiff","dateName","dateTime64ToSnowflake","dateTime64ToSnowflakeID","dateTimeToSnowflake","dateTimeToSnowflakeID","dateTimeToUUIDv7","dateTrunc","date_bin","date_diff","decodeHTMLComponent","decodeURLComponent","decodeURLFormComponent","decodeXMLComponent","decrypt","defaultProfiles","defaultRoles","defaultValueOfArgumentType","defaultValueOfTypeName","degrees","deltaSum","deltaSumTimestamp","demangle","denseRank","dense_rank","detectCharset","detectLanguage","detectLanguageMixed","detectLanguageUnknown","detectProgrammingLanguage","detectTonality","dictGet","dictGetAll","dictGetChildren","dictGetDate","dictGetDateOrDefault","dictGetDateTime","dictGetDateTimeOrDefault","dictGetDescendants","dictGetFloat32","dictGetFloat32OrDefault","dictGetFloat64","dictGetFloat64OrDefault","dictGetHierarchy","dictGetIPv4","dictGetIPv4OrDefault","dictGetIPv6","dictGetIPv6OrDefault","dictGetInt16","dictGetInt16OrDefault","dictGetInt32","dictGetInt32OrDefault","dictGetInt64","dictGetInt64OrDefault","dictGetInt8","dictGetInt8OrDefault","dictGetOrDefault","dictGetOrNull","dictGetString","dictGetStringOrDefault","dictGetUInt16","dictGetUInt16OrDefault","dictGetUInt32","dictGetUInt32OrDefault","dictGetUInt64","dictGetUInt64OrDefault","dictGetUInt8","dictGetUInt8OrDefault","dictGetUUID","dictGetUUIDOrDefault","dictHas","dictIsIn","displayName","distanceL1","distanceL2","distanceL2Squared","distanceLinf","distanceLp","distinctDynamicTypes","distinctJSONPaths","distinctJSONPathsAndTypes","divide","divideDecimal","divideOrNull","domain","domainRFC","domainWithoutWWW","domainWithoutWWWRFC","dotProduct","dumpColumnStructure","dynamicElement","dynamicType","e","editDistance","editDistanceUTF8","empty","emptyArrayDate","emptyArrayDateTime","emptyArrayFloat32","emptyArrayFloat64","emptyArrayInt16","emptyArrayInt32","emptyArrayInt64","emptyArrayInt8","emptyArrayString","emptyArrayToSingle","emptyArrayUInt16","emptyArrayUInt32","emptyArrayUInt64","emptyArrayUInt8","enabledProfiles","enabledRoles","encodeURLComponent","encodeURLFormComponent","encodeXMLComponent","encrypt","endsWith","endsWithUTF8","entropy","equals","erf","erfc","errorCodeToName","estimateCompressionRatio","evalMLMethod","exp","exp10","exp2","exponentialMovingAverage","exponentialTimeDecayedAvg","exponentialTimeDecayedCount","exponentialTimeDecayedMax","exponentialTimeDecayedSum","extract","extractAll","extractAllGroups","extractAllGroupsHorizontal","extractAllGroupsVertical","extractGroups","extractKeyValuePairs","extractKeyValuePairsWithEscaping","extractTextFromHTML","extractURLParameter","extractURLParameterNames","extractURLParameters","factorial","farmFingerprint64","farmHash64","file","filesystemAvailable","filesystemCapacity","filesystemUnreserved","finalizeAggregation","financialInternalRateOfReturn","financialInternalRateOfReturnExtended","financialNetPresentValue","financialNetPresentValueExtended","firstLine","firstSignificantSubdomain","firstSignificantSubdomainCustom","firstSignificantSubdomainCustomRFC","firstSignificantSubdomainRFC","firstValueRespectNulls","first_value","first_value_respect_nulls","flameGraph","flatten","flattenTuple","floor","formatDateTime","formatDateTimeInJodaSyntax","formatQuery","formatQueryOrNull","formatQuerySingleLine","formatQuerySingleLineOrNull","formatReadableDecimalSize","formatReadableQuantity","formatReadableSize","formatReadableTimeDelta","formatRow","formatRowNoNewline","fragment","fromDaysSinceYearZero","fromDaysSinceYearZero32","fromModifiedJulianDay","fromModifiedJulianDayOrNull","fromUTCTimestamp","fromUnixTimestamp","fromUnixTimestamp64Micro","fromUnixTimestamp64Milli","fromUnixTimestamp64Nano","fromUnixTimestamp64Second","fromUnixTimestampInJodaSyntax","from_utc_timestamp","fullHostName","fuzzBits","gccMurmurHash","gcd","generateRandomStructure","generateSerialID","generateSnowflakeID","generateULID","generateUUIDv4","generateUUIDv7","geoDistance","geoToH3","geoToS2","geohashDecode","geohashEncode","geohashesInBox","getClientHTTPHeader","getMacro","getMaxTableNameLengthForDatabase","getMergeTreeSetting","getOSKernelVersion","getServerPort","getServerSetting","getSetting","getSettingOrDefault","getSizeOfEnumType","getSubcolumn","getTypeSerializationStreams","globalIn","globalInIgnoreSet","globalNotIn","globalNotInIgnoreSet","globalNotNullIn","globalNotNullInIgnoreSet","globalNullIn","globalNullInIgnoreSet","globalVariable","greatCircleAngle","greatCircleDistance","greater","greaterOrEquals","greatest","groupArray","groupArrayInsertAt","groupArrayIntersect","groupArrayLast","groupArrayMovingAvg","groupArrayMovingSum","groupArraySample","groupArraySorted","groupBitAnd","groupBitOr","groupBitXor","groupBitmap","groupBitmapAnd","groupBitmapOr","groupBitmapXor","groupConcat","groupNumericIndexedVector","groupUniqArray","group_concat","h3CellAreaM2","h3CellAreaRads2","h3Distance","h3EdgeAngle","h3EdgeLengthKm","h3EdgeLengthM","h3ExactEdgeLengthKm","h3ExactEdgeLengthM","h3ExactEdgeLengthRads","h3GetBaseCell","h3GetDestinationIndexFromUnidirectionalEdge","h3GetFaces","h3GetIndexesFromUnidirectionalEdge","h3GetOriginIndexFromUnidirectionalEdge","h3GetPentagonIndexes","h3GetRes0Indexes","h3GetResolution","h3GetUnidirectionalEdge","h3GetUnidirectionalEdgeBoundary","h3GetUnidirectionalEdgesFromHexagon","h3HexAreaKm2","h3HexAreaM2","h3HexRing","h3IndexesAreNeighbors","h3IsPentagon","h3IsResClassIII","h3IsValid","h3Line","h3NumHexagons","h3PointDistKm","h3PointDistM","h3PointDistRads","h3ToCenterChild","h3ToChildren","h3ToGeo","h3ToGeoBoundary","h3ToParent","h3ToString","h3UnidirectionalEdgeIsValid","h3kRing","halfMD5","has","hasAll","hasAny","hasColumnInTable","hasSubsequence","hasSubsequenceCaseInsensitive","hasSubsequenceCaseInsensitiveUTF8","hasSubsequenceUTF8","hasSubstr","hasThreadFuzzer","hasToken","hasTokenCaseInsensitive","hasTokenCaseInsensitiveOrNull","hasTokenOrNull","hex","hilbertDecode","hilbertEncode","histogram","hiveHash","hop","hopEnd","hopStart","hostName","hostname","hypot","icebergBucket","icebergHash","icebergTruncate","identity","idnaDecode","idnaEncode","if","ifNotFinite","ifNull","ignore","inIgnoreSet","indexHint","indexOf","indexOfAssumeSorted","initcap","initcapUTF8","initialQueryID","initialQueryStartTime","initial_query_id","initial_query_start_time","initializeAggregation","instr","intDiv","intDivOrNull","intDivOrZero","intExp10","intExp2","intHash32","intHash64","intervalLengthSum","isConstant","isDecimalOverflow","isDynamicElementInSharedData","isFinite","isIPAddressInRange","isIPv4String","isIPv6String","isInfinite","isMergeTreePartCoveredBy","isNaN","isNotDistinctFrom","isNotNull","isNull","isNullable","isValidJSON","isValidUTF8","isZeroOrNull","jaroSimilarity","jaroWinklerSimilarity","javaHash","javaHashUTF16LE","joinGet","joinGetOrNull","jsonMergePatch","jumpConsistentHash","kafkaMurmurHash","keccak256","kolmogorovSmirnovTest","kostikConsistentHash","kql_array_sort_asc","kql_array_sort_desc","kurtPop","kurtSamp","lag","lagInFrame","largestTriangleThreeBuckets","lastValueRespectNulls","last_value","last_value_respect_nulls","lcase","lcm","lead","leadInFrame","least","left","leftPad","leftPadUTF8","leftUTF8","lemmatize","length","lengthUTF8","less","lessOrEquals","levenshteinDistance","levenshteinDistanceUTF8","lgamma","ln","locate","log","log10","log1p","log2","logTrace","lowCardinalityIndices","lowCardinalityKeys","lower","lowerUTF8","lpad","ltrim","lttb","makeDate","makeDate32","makeDateTime","makeDateTime64","mannWhitneyUTest","map","mapAdd","mapAll","mapApply","mapConcat","mapContains","mapContainsKey","mapContainsKeyLike","mapContainsValue","mapContainsValueLike","mapExists","mapExtractKeyLike","mapExtractValueLike","mapFilter","mapFromArrays","mapFromString","mapKeys","mapPartialReverseSort","mapPartialSort","mapPopulateSeries","mapReverseSort","mapSort","mapSubtract","mapUpdate","mapValues","match","materialize","max","max2","maxIntersections","maxIntersectionsPosition","maxMappedArrays","meanZTest","median","medianBFloat16","medianBFloat16Weighted","medianDD","medianDeterministic","medianExact","medianExactHigh","medianExactLow","medianExactWeighted","medianExactWeightedInterpolated","medianGK","medianInterpolatedWeighted","medianTDigest","medianTDigestWeighted","medianTiming","medianTimingWeighted","mergeTreePartInfo","metroHash64","mid","min","min2","minMappedArrays","minSampleSizeContinous","minSampleSizeContinuous","minSampleSizeConversion","minus","mismatches","mod","modOrNull","modulo","moduloLegacy","moduloOrNull","moduloOrZero","monthName","mortonDecode","mortonEncode","multiFuzzyMatchAllIndices","multiFuzzyMatchAny","multiFuzzyMatchAnyIndex","multiIf","multiMatchAllIndices","multiMatchAny","multiMatchAnyIndex","multiSearchAllPositions","multiSearchAllPositionsCaseInsensitive","multiSearchAllPositionsCaseInsensitiveUTF8","multiSearchAllPositionsUTF8","multiSearchAny","multiSearchAnyCaseInsensitive","multiSearchAnyCaseInsensitiveUTF8","multiSearchAnyUTF8","multiSearchFirstIndex","multiSearchFirstIndexCaseInsensitive","multiSearchFirstIndexCaseInsensitiveUTF8","multiSearchFirstIndexUTF8","multiSearchFirstPosition","multiSearchFirstPositionCaseInsensitive","multiSearchFirstPositionCaseInsensitiveUTF8","multiSearchFirstPositionUTF8","multiply","multiplyDecimal","murmurHash2_32","murmurHash2_64","murmurHash3_128","murmurHash3_32","murmurHash3_64","negate","neighbor","nested","netloc","ngramDistance","ngramDistanceCaseInsensitive","ngramDistanceCaseInsensitiveUTF8","ngramDistanceUTF8","ngramMinHash","ngramMinHashArg","ngramMinHashArgCaseInsensitive","ngramMinHashArgCaseInsensitiveUTF8","ngramMinHashArgUTF8","ngramMinHashCaseInsensitive","ngramMinHashCaseInsensitiveUTF8","ngramMinHashUTF8","ngramSearch","ngramSearchCaseInsensitive","ngramSearchCaseInsensitiveUTF8","ngramSearchUTF8","ngramSimHash","ngramSimHashCaseInsensitive","ngramSimHashCaseInsensitiveUTF8","ngramSimHashUTF8","ngrams","nonNegativeDerivative","normL1","normL2","normL2Squared","normLinf","normLp","normalizeL1","normalizeL2","normalizeLinf","normalizeLp","normalizeQuery","normalizeQueryKeepNames","normalizeUTF8NFC","normalizeUTF8NFD","normalizeUTF8NFKC","normalizeUTF8NFKD","normalizedQueryHash","normalizedQueryHashKeepNames","notEmpty","notEquals","notILike","notIn","notInIgnoreSet","notLike","notNullIn","notNullInIgnoreSet","nothing","nothingNull","nothingUInt64","now","now64","nowInBlock","nowInBlock64","nth_value","ntile","nullIf","nullIn","nullInIgnoreSet","numbers","numericIndexedVectorAllValueSum","numericIndexedVectorBuild","numericIndexedVectorCardinality","numericIndexedVectorGetValue","numericIndexedVectorPointwiseAdd","numericIndexedVectorPointwiseDivide","numericIndexedVectorPointwiseEqual","numericIndexedVectorPointwiseGreater","numericIndexedVectorPointwiseGreaterEqual","numericIndexedVectorPointwiseLess","numericIndexedVectorPointwiseLessEqual","numericIndexedVectorPointwiseMultiply","numericIndexedVectorPointwiseNotEqual","numericIndexedVectorPointwiseSubtract","numericIndexedVectorShortDebugString","numericIndexedVectorToMap","overlay","overlayUTF8","parseDateTime","parseDateTime32BestEffort","parseDateTime32BestEffortOrNull","parseDateTime32BestEffortOrZero","parseDateTime64","parseDateTime64BestEffort","parseDateTime64BestEffortOrNull","parseDateTime64BestEffortOrZero","parseDateTime64BestEffortUS","parseDateTime64BestEffortUSOrNull","parseDateTime64BestEffortUSOrZero","parseDateTime64InJodaSyntax","parseDateTime64InJodaSyntaxOrNull","parseDateTime64InJodaSyntaxOrZero","parseDateTime64OrNull","parseDateTime64OrZero","parseDateTimeBestEffort","parseDateTimeBestEffortOrNull","parseDateTimeBestEffortOrZero","parseDateTimeBestEffortUS","parseDateTimeBestEffortUSOrNull","parseDateTimeBestEffortUSOrZero","parseDateTimeInJodaSyntax","parseDateTimeInJodaSyntaxOrNull","parseDateTimeInJodaSyntaxOrZero","parseDateTimeOrNull","parseDateTimeOrZero","parseReadableSize","parseReadableSizeOrNull","parseReadableSizeOrZero","parseTimeDelta","partitionID","partitionId","path","pathFull","percentRank","percent_rank","pi","plus","pmod","pmodOrNull","pointInEllipses","pointInPolygon","polygonAreaCartesian","polygonAreaSpherical","polygonConvexHullCartesian","polygonPerimeterCartesian","polygonPerimeterSpherical","polygonsDistanceCartesian","polygonsDistanceSpherical","polygonsEqualsCartesian","polygonsIntersectCartesian","polygonsIntersectSpherical","polygonsIntersectionCartesian","polygonsIntersectionSpherical","polygonsSymDifferenceCartesian","polygonsSymDifferenceSpherical","polygonsUnionCartesian","polygonsUnionSpherical","polygonsWithinCartesian","polygonsWithinSpherical","port","portRFC","position","positionCaseInsensitive","positionCaseInsensitiveUTF8","positionUTF8","positiveModulo","positiveModuloOrNull","positive_modulo","positive_modulo_or_null","pow","power","printf","proportionsZTest","protocol","punycodeDecode","punycodeEncode","quantile","quantileBFloat16","quantileBFloat16Weighted","quantileDD","quantileDeterministic","quantileExact","quantileExactExclusive","quantileExactHigh","quantileExactInclusive","quantileExactLow","quantileExactWeighted","quantileExactWeightedInterpolated","quantileGK","quantileInterpolatedWeighted","quantileTDigest","quantileTDigestWeighted","quantileTiming","quantileTimingWeighted","quantiles","quantilesBFloat16","quantilesBFloat16Weighted","quantilesDD","quantilesDeterministic","quantilesExact","quantilesExactExclusive","quantilesExactHigh","quantilesExactInclusive","quantilesExactLow","quantilesExactWeighted","quantilesExactWeightedInterpolated","quantilesGK","quantilesInterpolatedWeighted","quantilesTDigest","quantilesTDigestWeighted","quantilesTiming","quantilesTimingWeighted","queryID","queryString","queryStringAndFragment","query_id","radians","rand","rand32","rand64","randBernoulli","randBinomial","randCanonical","randChiSquared","randConstant","randExponential","randFisherF","randLogNormal","randNegativeBinomial","randNormal","randPoisson","randStudentT","randUniform","randomFixedString","randomPrintableASCII","randomString","randomStringUTF8","rank","rankCorr","readWKBLineString","readWKBMultiLineString","readWKBMultiPolygon","readWKBPoint","readWKBPolygon","readWKTLineString","readWKTMultiLineString","readWKTMultiPolygon","readWKTPoint","readWKTPolygon","readWKTRing","regexpExtract","regexpQuoteMeta","regionHierarchy","regionIn","regionToArea","regionToCity","regionToContinent","regionToCountry","regionToDistrict","regionToName","regionToPopulation","regionToTopContinent","reinterpret","reinterpretAsDate","reinterpretAsDateTime","reinterpretAsFixedString","reinterpretAsFloat32","reinterpretAsFloat64","reinterpretAsInt128","reinterpretAsInt16","reinterpretAsInt256","reinterpretAsInt32","reinterpretAsInt64","reinterpretAsInt8","reinterpretAsString","reinterpretAsUInt128","reinterpretAsUInt16","reinterpretAsUInt256","reinterpretAsUInt32","reinterpretAsUInt64","reinterpretAsUInt8","reinterpretAsUUID","repeat","replace","replaceAll","replaceOne","replaceRegexpAll","replaceRegexpOne","replicate","retention","reverse","reverseUTF8","revision","right","rightPad","rightPadUTF8","rightUTF8","round","roundAge","roundBankers","roundDown","roundDuration","roundToExp2","rowNumberInAllBlocks","rowNumberInBlock","row_number","rpad","rtrim","runningAccumulate","runningConcurrency","runningDifference","runningDifferenceStartingWithFirstValue","s2CapContains","s2CapUnion","s2CellsIntersect","s2GetNeighbors","s2RectAdd","s2RectContains","s2RectIntersection","s2RectUnion","s2ToGeo","scalarProduct","searchAll","searchAny","sequenceCount","sequenceMatch","sequenceMatchEvents","sequenceNextNode","seriesDecomposeSTL","seriesOutliersDetectTukey","seriesPeriodDetectFFT","serverTimeZone","serverTimezone","serverUUID","shardCount","shardNum","showCertificate","sigmoid","sign","simpleJSONExtractBool","simpleJSONExtractFloat","simpleJSONExtractInt","simpleJSONExtractRaw","simpleJSONExtractString","simpleJSONExtractUInt","simpleJSONHas","simpleLinearRegression","sin","singleValueOrNull","sinh","sipHash128","sipHash128Keyed","sipHash128Reference","sipHash128ReferenceKeyed","sipHash64","sipHash64Keyed","skewPop","skewSamp","sleep","sleepEachRow","snowflakeIDToDateTime","snowflakeIDToDateTime64","snowflakeToDateTime","snowflakeToDateTime64","soundex","space","sparkBar","sparkbar","sparseGrams","sparseGramsHashes","sparseGramsHashesUTF8","sparseGramsUTF8","splitByAlpha","splitByChar","splitByNonAlpha","splitByRegexp","splitByString","splitByWhitespace","sqid","sqidDecode","sqidEncode","sqrt","startsWith","startsWithUTF8","stddevPop","stddevPopStable","stddevSamp","stddevSampStable","stem","stochasticLinearRegression","stochasticLogisticRegression","str_to_date","str_to_map","stringBytesEntropy","stringBytesUniq","stringJaccardIndex","stringJaccardIndexUTF8","stringToH3","structureToCapnProtoSchema","structureToProtobufSchema","studentTTest","subBitmap","subDate","substr","substring","substringIndex","substringIndexUTF8","substringUTF8","subtractDays","subtractHours","subtractInterval","subtractMicroseconds","subtractMilliseconds","subtractMinutes","subtractMonths","subtractNanoseconds","subtractQuarters","subtractSeconds","subtractTupleOfIntervals","subtractWeeks","subtractYears","sum","sumCount","sumKahan","sumMapFiltered","sumMapFilteredWithOverflow","sumMapWithOverflow","sumMappedArrays","sumWithOverflow","svg","synonyms","tan","tanh","tcpPort","tgamma","theilsU","throwIf","tid","timeDiff","timeSeriesDeltaToGrid","timeSeriesDerivToGrid","timeSeriesFromGrid","timeSeriesGroupArray","timeSeriesIdToTags","timeSeriesIdToTagsGroup","timeSeriesIdeltaToGrid","timeSeriesInstantDeltaToGrid","timeSeriesInstantRateToGrid","timeSeriesIrateToGrid","timeSeriesLastToGrid","timeSeriesLastTwoSamples","timeSeriesPredictLinearToGrid","timeSeriesRange","timeSeriesRateToGrid","timeSeriesResampleToGridWithStaleness","timeSeriesStoreTags","timeSeriesTagsGroupToTags","timeSlot","timeSlots","timeZone","timeZoneOf","timeZoneOffset","time_bucket","timestamp","timestampDiff","timestamp_diff","timezone","timezoneOf","timezoneOffset","toBFloat16","toBFloat16OrNull","toBFloat16OrZero","toBool","toColumnTypeName","toDate","toDate32","toDate32OrDefault","toDate32OrNull","toDate32OrZero","toDateOrDefault","toDateOrNull","toDateOrZero","toDateTime","toDateTime32","toDateTime64","toDateTime64OrDefault","toDateTime64OrNull","toDateTime64OrZero","toDateTimeOrDefault","toDateTimeOrNull","toDateTimeOrZero","toDayOfMonth","toDayOfWeek","toDayOfYear","toDaysSinceYearZero","toDecimal128","toDecimal128OrDefault","toDecimal128OrNull","toDecimal128OrZero","toDecimal256","toDecimal256OrDefault","toDecimal256OrNull","toDecimal256OrZero","toDecimal32","toDecimal32OrDefault","toDecimal32OrNull","toDecimal32OrZero","toDecimal64","toDecimal64OrDefault","toDecimal64OrNull","toDecimal64OrZero","toDecimalString","toFixedString","toFloat32","toFloat32OrDefault","toFloat32OrNull","toFloat32OrZero","toFloat64","toFloat64OrDefault","toFloat64OrNull","toFloat64OrZero","toHour","toIPv4","toIPv4OrDefault","toIPv4OrNull","toIPv4OrZero","toIPv6","toIPv6OrDefault","toIPv6OrNull","toIPv6OrZero","toISOWeek","toISOYear","toInt128","toInt128OrDefault","toInt128OrNull","toInt128OrZero","toInt16","toInt16OrDefault","toInt16OrNull","toInt16OrZero","toInt256","toInt256OrDefault","toInt256OrNull","toInt256OrZero","toInt32","toInt32OrDefault","toInt32OrNull","toInt32OrZero","toInt64","toInt64OrDefault","toInt64OrNull","toInt64OrZero","toInt8","toInt8OrDefault","toInt8OrNull","toInt8OrZero","toInterval","toIntervalDay","toIntervalHour","toIntervalMicrosecond","toIntervalMillisecond","toIntervalMinute","toIntervalMonth","toIntervalNanosecond","toIntervalQuarter","toIntervalSecond","toIntervalWeek","toIntervalYear","toJSONString","toLastDayOfMonth","toLastDayOfWeek","toLowCardinality","toMillisecond","toMinute","toModifiedJulianDay","toModifiedJulianDayOrNull","toMonday","toMonth","toMonthNumSinceEpoch","toNullable","toQuarter","toRelativeDayNum","toRelativeHourNum","toRelativeMinuteNum","toRelativeMonthNum","toRelativeQuarterNum","toRelativeSecondNum","toRelativeWeekNum","toRelativeYearNum","toSecond","toStartOfDay","toStartOfFifteenMinutes","toStartOfFiveMinute","toStartOfFiveMinutes","toStartOfHour","toStartOfISOYear","toStartOfInterval","toStartOfMicrosecond","toStartOfMillisecond","toStartOfMinute","toStartOfMonth","toStartOfNanosecond","toStartOfQuarter","toStartOfSecond","toStartOfTenMinutes","toStartOfWeek","toStartOfYear","toString","toStringCutToZero","toTime","toTime64","toTime64OrNull","toTime64OrZero","toTimeOrNull","toTimeOrZero","toTimeWithFixedDate","toTimeZone","toTimezone","toTypeName","toUInt128","toUInt128OrDefault","toUInt128OrNull","toUInt128OrZero","toUInt16","toUInt16OrDefault","toUInt16OrNull","toUInt16OrZero","toUInt256","toUInt256OrDefault","toUInt256OrNull","toUInt256OrZero","toUInt32","toUInt32OrDefault","toUInt32OrNull","toUInt32OrZero","toUInt64","toUInt64OrDefault","toUInt64OrNull","toUInt64OrZero","toUInt8","toUInt8OrDefault","toUInt8OrNull","toUInt8OrZero","toUTCTimestamp","toUUID","toUUIDOrDefault","toUUIDOrNull","toUUIDOrZero","toUnixTimestamp","toUnixTimestamp64Micro","toUnixTimestamp64Milli","toUnixTimestamp64Nano","toUnixTimestamp64Second","toValidUTF8","toWeek","toYYYYMM","toYYYYMMDD","toYYYYMMDDhhmmss","toYear","toYearNumSinceEpoch","toYearWeek","to_utc_timestamp","today","tokens","topK","topKWeighted","topLevelDomain","topLevelDomainRFC","transactionID","transactionLatestSnapshot","transactionOldestSnapshot","transform","translate","translateUTF8","trim","trimBoth","trimLeft","trimRight","trunc","tryBase32Decode","tryBase58Decode","tryBase64Decode","tryBase64URLDecode","tryDecrypt","tryIdnaEncode","tryPunycodeDecode","tumble","tumbleEnd","tumbleStart","tuple","tupleConcat","tupleDivide","tupleDivideByNumber","tupleElement","tupleHammingDistance","tupleIntDiv","tupleIntDivByNumber","tupleIntDivOrZero","tupleIntDivOrZeroByNumber","tupleMinus","tupleModulo","tupleModuloByNumber","tupleMultiply","tupleMultiplyByNumber","tupleNames","tupleNegate","tuplePlus","tupleToNameValuePairs","ucase","unbin","unhex","uniq","uniqCombined","uniqCombined64","uniqExact","uniqHLL12","uniqTheta","uniqThetaIntersect","uniqThetaNot","uniqThetaUnion","uniqUpTo","upper","upperUTF8","uptime","user","validateNestedArraySizes","varPop","varPopStable","varSamp","varSampStable","variantElement","variantType","vectorDifference","vectorSum","version","visibleWidth","visitParamExtractBool","visitParamExtractFloat","visitParamExtractInt","visitParamExtractRaw","visitParamExtractString","visitParamExtractUInt","visitParamHas","week","welchTTest","widthBucket","width_bucket","windowFunnel","windowID","wkb","wkt","wordShingleMinHash","wordShingleMinHashArg","wordShingleMinHashArgCaseInsensitive","wordShingleMinHashArgCaseInsensitiveUTF8","wordShingleMinHashArgUTF8","wordShingleMinHashCaseInsensitive","wordShingleMinHashCaseInsensitiveUTF8","wordShingleMinHashUTF8","wordShingleSimHash","wordShingleSimHashCaseInsensitive","wordShingleSimHashCaseInsensitiveUTF8","wordShingleSimHashUTF8","wyHash64","xor","xxHash32","xxHash64","xxh3","yandexConsistentHash","yearweek","yesterday","zookeeperSessionUptime","MergeTree","ReplacingMergeTree","SummingMergeTree","AggregatingMergeTree","CollapsingMergeTree","VersionedCollapsingMergeTree","GraphiteMergeTree","CoalescingMergeTree","Atomic","Shared","Lazy","Replicated","PostgreSQL","MySQL","SQLite","MaterializedPostgreSQL","DataLakeCatalog"],extraParens:["[]","{}"],lineCommentTypes:["#","--"],nestedBlockComments:!1,underscoresInNumbers:!0,stringTypes:["$$","''-qq-bs"],identTypes:['""-qq-bs',"``"],paramTypes:{custom:[{regex:String.raw`\{[^:']+:[^}]+\}`,key:e=>{let t=/\{([^:]+):/.exec(e);return t?t[1].trim():e}}]},operators:["%","||","?",":","==","<=>","->"],postProcess:function(e){return e.map((t,E)=>{let n=e[E+1]||C,o=e[E-1]||C;return t.type===r.RESERVED_SELECT&&(n.type===r.COMMA||o.type===r.RESERVED_CLAUSE||o.type===r.COMMA)?Object.assign(Object.assign({},t),{type:r.RESERVED_KEYWORD}):_.SET(t)&&n.type===r.OPEN_PAREN?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):t})}},formatOptions:{onelineClauses:[...G,...b],tabularOnelineClauses:b}},F=a(["SELECT [ALL | DISTINCT]"]),B=a(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY [INPUT SEQUENCE]","LIMIT","OFFSET","FETCH NEXT","FOR UPDATE [OF]","FOR {READ | FETCH} ONLY","FOR {RR | CS | UR | RS} [USE AND KEEP {SHARE | UPDATE | EXCLUSIVE} LOCKS]","WAIT FOR OUTCOME","SKIP LOCKED DATA","INTO","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","INSERT"]),Y=a(["CREATE [GLOBAL TEMPORARY | EXTERNAL] TABLE [IF NOT EXISTS]"]),V=a(["CREATE [OR REPLACE] VIEW","UPDATE","WHERE CURRENT OF","WITH {RR | RS | CS | UR}","DELETE FROM","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD [COLUMN]","DROP [COLUMN]","RENAME COLUMN","ALTER [COLUMN]","SET DATA TYPE","SET NOT NULL","DROP {DEFAULT | GENERATED | NOT NULL}","TRUNCATE [TABLE]","ALLOCATE","ALTER AUDIT POLICY","ALTER BUFFERPOOL","ALTER DATABASE PARTITION GROUP","ALTER DATABASE","ALTER EVENT MONITOR","ALTER FUNCTION","ALTER HISTOGRAM TEMPLATE","ALTER INDEX","ALTER MASK","ALTER METHOD","ALTER MODULE","ALTER NICKNAME","ALTER PACKAGE","ALTER PERMISSION","ALTER PROCEDURE","ALTER SCHEMA","ALTER SECURITY LABEL COMPONENT","ALTER SECURITY POLICY","ALTER SEQUENCE","ALTER SERVER","ALTER SERVICE CLASS","ALTER STOGROUP","ALTER TABLESPACE","ALTER THRESHOLD","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER TYPE","ALTER USAGE LIST","ALTER USER MAPPING","ALTER VIEW","ALTER WORK ACTION SET","ALTER WORK CLASS SET","ALTER WORKLOAD","ALTER WRAPPER","ALTER XSROBJECT","ALTER STOGROUP","ALTER TABLESPACE","ALTER TRIGGER","ALTER TRUSTED CONTEXT","ALTER VIEW","ASSOCIATE [RESULT SET] {LOCATOR | LOCATORS}","AUDIT","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT ON","COMMIT [WORK]","CONNECT","CREATE [OR REPLACE] [PUBLIC] ALIAS","CREATE AUDIT POLICY","CREATE BUFFERPOOL","CREATE DATABASE PARTITION GROUP","CREATE EVENT MONITOR","CREATE [OR REPLACE] FUNCTION","CREATE FUNCTION MAPPING","CREATE HISTOGRAM TEMPLATE","CREATE [UNIQUE] INDEX","CREATE INDEX EXTENSION","CREATE [OR REPLACE] MASK","CREATE [SPECIFIC] METHOD","CREATE [OR REPLACE] MODULE","CREATE [OR REPLACE] NICKNAME","CREATE [OR REPLACE] PERMISSION","CREATE [OR REPLACE] PROCEDURE","CREATE ROLE","CREATE SCHEMA","CREATE SECURITY LABEL [COMPONENT]","CREATE SECURITY POLICY","CREATE [OR REPLACE] SEQUENCE","CREATE SERVICE CLASS","CREATE SERVER","CREATE STOGROUP","CREATE SYNONYM","CREATE [LARGE | REGULAR | {SYSTEM | USER} TEMPORARY] TABLESPACE","CREATE THRESHOLD","CREATE {TRANSFORM | TRANSFORMS} FOR","CREATE [OR REPLACE] TRIGGER","CREATE TRUSTED CONTEXT","CREATE [OR REPLACE] TYPE","CREATE TYPE MAPPING","CREATE USAGE LIST","CREATE USER MAPPING FOR","CREATE [OR REPLACE] VARIABLE","CREATE WORK ACTION SET","CREATE WORK CLASS SET","CREATE WORKLOAD","CREATE WRAPPER","DECLARE","DECLARE GLOBAL TEMPORARY TABLE","DESCRIBE [INPUT | OUTPUT]","DISCONNECT","DROP [PUBLIC] ALIAS","DROP AUDIT POLICY","DROP BUFFERPOOL","DROP DATABASE PARTITION GROUP","DROP EVENT MONITOR","DROP [SPECIFIC] FUNCTION","DROP FUNCTION MAPPING","DROP HISTOGRAM TEMPLATE","DROP INDEX [EXTENSION]","DROP MASK","DROP [SPECIFIC] METHOD","DROP MODULE","DROP NICKNAME","DROP PACKAGE","DROP PERMISSION","DROP [SPECIFIC] PROCEDURE","DROP ROLE","DROP SCHEMA","DROP SECURITY LABEL [COMPONENT]","DROP SECURITY POLICY","DROP SEQUENCE","DROP SERVER","DROP SERVICE CLASS","DROP STOGROUP","DROP TABLE HIERARCHY","DROP {TABLESPACE | TABLESPACES}","DROP {TRANSFORM | TRANSFORMS}","DROP THRESHOLD","DROP TRIGGER","DROP TRUSTED CONTEXT","DROP TYPE [MAPPING]","DROP USAGE LIST","DROP USER MAPPING FOR","DROP VARIABLE","DROP VIEW [HIERARCHY]","DROP WORK {ACTION | CLASS} SET","DROP WORKLOAD","DROP WRAPPER","DROP XSROBJECT","END DECLARE SECTION","EXECUTE [IMMEDIATE]","EXPLAIN {PLAN [SECTION] | ALL}","FETCH [FROM]","FLUSH {BUFFERPOOL | BUFFERPOOLS} ALL","FLUSH EVENT MONITOR","FLUSH FEDERATED CACHE","FLUSH OPTIMIZATION PROFILE CACHE","FLUSH PACKAGE CACHE [DYNAMIC]","FLUSH AUTHENTICATION CACHE [FOR ALL]","FREE LOCATOR","GET DIAGNOSTICS","GOTO","GRANT","INCLUDE","ITERATE","LEAVE","LOCK TABLE","LOOP","OPEN","PIPE","PREPARE","REFRESH TABLE","RELEASE","RELEASE [TO] SAVEPOINT","RENAME [TABLE | INDEX | STOGROUP | TABLESPACE]","REPEAT","RESIGNAL","RETURN","REVOKE","ROLLBACK [WORK] [TO SAVEPOINT]","SAVEPOINT","SET COMPILATION ENVIRONMENT","SET CONNECTION","SET CURRENT","SET ENCRYPTION PASSWORD","SET EVENT MONITOR STATE","SET INTEGRITY","SET PASSTHRU","SET PATH","SET ROLE","SET SCHEMA","SET SERVER OPTION","SET {SESSION AUTHORIZATION | SESSION_USER}","SET USAGE LIST","SIGNAL","TRANSFER OWNERSHIP OF","WHENEVER {NOT FOUND | SQLERROR | SQLWARNING}","WHILE"]),x=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),W=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN"]),w={name:"db2",tokenizerOptions:{reservedSelect:F,reservedClauses:[...B,...Y,...V],reservedSetOperations:x,reservedJoins:W,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ACTIVATE","ADD","AFTER","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","AND","ANY","AS","ASENSITIVE","ASSOCIATE","ASUTIME","AT","ATTRIBUTES","AUDIT","AUTHORIZATION","AUX","AUXILIARY","BEFORE","BEGIN","BETWEEN","BINARY","BUFFERPOOL","BY","CACHE","CALL","CALLED","CAPTURE","CARDINALITY","CASCADED","CASE","CAST","CHECK","CLONE","CLOSE","CLUSTER","COLLECTION","COLLID","COLUMN","COMMENT","COMMIT","CONCAT","CONDITION","CONNECT","CONNECTION","CONSTRAINT","CONTAINS","CONTINUE","COUNT","COUNT_BIG","CREATE","CROSS","CURRENT","CURRENT_DATE","CURRENT_LC_CTYPE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","CURSOR","CYCLE","DATA","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEALLOCATE","DECLARE","DEFAULT","DEFAULTS","DEFINITION","DELETE","DENSERANK","DENSE_RANK","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DROP","DSSIZE","DYNAMIC","EACH","EDITPROC","ELSE","ELSEIF","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ERASE","ESCAPE","EVERY","EXCEPT","EXCEPTION","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXPLAIN","EXTENDED","EXTERNAL","EXTRACT","FENCED","FETCH","FIELDPROC","FILE","FINAL","FIRST1","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRAPHIC","GROUP","HANDLER","HASH","HASHED_VALUE","HAVING","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IMMEDIATE","IMPORT","IN","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDICATOR","INDICATORS","INF","INFINITY","INHERIT","INNER","INOUT","INSENSITIVE","INSERT","INTEGRITY","INTERSECT","INTO","IS","ISNULL","ISOBID","ISOLATION","ITERATE","JAR","JAVA","JOIN","KEEP","KEY","LABEL","LANGUAGE","LAST3","LATERAL","LC_CTYPE","LEAVE","LEFT","LIKE","LIMIT","LINKTYPE","LOCAL","LOCALDATE","LOCALE","LOCALTIME","LOCALTIMESTAMP","LOCATOR","LOCATORS","LOCK","LOCKMAX","LOCKSIZE","LOOP","MAINTAINED","MATERIALIZED","MAXVALUE","MICROSECOND","MICROSECONDS","MINUTE","MINUTES","MINVALUE","MODE","MODIFIES","MONTH","MONTHS","NAN","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZED","NOT2","NOTNULL","NULL","NULLS","NUMPARTS","OBID","OF","OFF","OFFSET","OLD","OLD_TABLE","ON","OPEN","OPTIMIZATION","OPTIMIZE","OPTION","OR","ORDER","OUT","OUTER","OVER","OVERRIDING","PACKAGE","PADDED","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSWORD","PATH","PERCENT","PIECESIZE","PLAN","POSITION","PRECISION","PREPARE","PREVVAL","PRIMARY","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PSID","PUBLIC","QUERY","QUERYNO","RANGE","RANK","READ","READS","RECOVERY","REFERENCES","REFERENCING","REFRESH","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESTRICT","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROUND_CEILING","ROUND_DOWN","ROUND_FLOOR","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_UP","ROUND_UP","ROUTINE","ROW","ROWNUMBER","ROWS","ROWSET","ROW_NUMBER","RRN","RUN","SAVEPOINT","SCHEMA","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURITY","SELECT","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SET","SIGNAL","SIMPLE","SNAN","SOME","SOURCE","SPECIFIC","SQL","SQLID","STACKED","STANDARD","START","STARTING","STATEMENT","STATIC","STATMENT","STAY","STOGROUP","STORES","STYLE","SUBSTRING","SUMMARY","SYNONYM","SYSFUN","SYSIBM","SYSPROC","SYSTEM","SYSTEM_USER","TABLE","TABLESPACE","THEN","TO","TRANSACTION","TRIGGER","TRIM","TRUNCATE","TYPE","UNDO","UNION","UNIQUE","UNTIL","UPDATE","USAGE","USER","USING","VALIDPROC","VALUE","VALUES","VARIABLE","VARIANT","VCAT","VERSION","VIEW","VOLATILE","VOLUMES","WHEN","WHENEVER","WHERE","WHILE","WITH","WITHOUT","WLM","WRITE","XMLELEMENT","XMLEXISTS","XMLNAMESPACES","YEAR","YEARS"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BLOB","BOOLEAN","CCSID","CHAR","CHARACTER","CLOB","DATE","DATETIME","DBCLOB","DEC","DECIMAL","DOUBLE","DOUBLE PRECISION","FLOAT","FLOAT4","FLOAT8","GRAPHIC","INT","INT2","INT4","INT8","INTEGER","INTERVAL","LONG VARCHAR","LONG VARGRAPHIC","NCHAR","NCHR","NCLOB","NVARCHAR","NUMERIC","SMALLINT","REAL","TIME","TIMESTAMP","VARBINARY","VARCHAR","VARGRAPHIC"],reservedFunctionNames:["ARRAY_AGG","AVG","CORRELATION","COUNT","COUNT_BIG","COVARIANCE","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","STDDEV_SAMP","SUM","VARIANCE","VARIANCE_SAMP","XMLAGG","XMLGROUP","ABS","ABSVAL","ACOS","ADD_DAYS","ADD_HOURS","ADD_MINUTES","ADD_MONTHS","ADD_SECONDS","ADD_YEARS","AGE","ARRAY_DELETE","ARRAY_FIRST","ARRAY_LAST","ARRAY_NEXT","ARRAY_PRIOR","ASCII","ASCII_STR","ASIN","ATAN","ATAN2","ATANH","BITAND","BITANDNOT","BITOR","BITXOR","BITNOT","BPCHAR","BSON_TO_JSON","BTRIM","CARDINALITY","CEILING","CEIL","CHARACTER_LENGTH","CHR","COALESCE","COLLATION_KEY","COLLATION_KEY_BIT","COMPARE_DECFLOAT","CONCAT","COS","COSH","COT","CURSOR_ROWCOUNT","DATAPARTITIONNUM","DATE_PART","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFWEEK_ISO","DAYOFYEAR","DAYS","DAYS_BETWEEN","DAYS_TO_END_OF_MONTH","DBPARTITIONNUM","DECFLOAT","DECFLOAT_FORMAT","DECODE","DECRYPT_BIN","DECRYPT_CHAR","DEGREES","DEREF","DIFFERENCE","DIGITS","DOUBLE_PRECISION","EMPTY_BLOB","EMPTY_CLOB","EMPTY_DBCLOB","EMPTY_NCLOB","ENCRYPT","EVENT_MON_STATE","EXP","EXTRACT","FIRST_DAY","FLOOR","FROM_UTC_TIMESTAMP","GENERATE_UNIQUE","GETHINT","GREATEST","HASH","HASH4","HASH8","HASHEDVALUE","HEX","HEXTORAW","HOUR","HOURS_BETWEEN","IDENTITY_VAL_LOCAL","IFNULL","INITCAP","INSERT","INSTR","INSTR2","INSTR4","INSTRB","INTNAND","INTNOR","INTNXOR","INTNNOT","ISNULL","JSON_ARRAY","JSON_OBJECT","JSON_QUERY","JSON_TO_BSON","JSON_VALUE","JULIAN_DAY","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LENGTH2","LENGTH4","LENGTHB","LN","LOCATE","LOCATE_IN_STRING","LOG10","LONG_VARCHAR","LONG_VARGRAPHIC","LOWER","LPAD","LTRIM","MAX","MAX_CARDINALITY","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MINUTES_BETWEEN","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","MULTIPLY_ALT","NEXT_DAY","NEXT_MONTH","NEXT_QUARTER","NEXT_WEEK","NEXT_YEAR","NORMALIZE_DECFLOAT","NOW","NULLIF","NVL","NVL2","OCTET_LENGTH","OVERLAY","PARAMETER","POSITION","POSSTR","POW","POWER","QUANTIZE","QUARTER","QUOTE_IDENT","QUOTE_LITERAL","RADIANS","RAISE_ERROR","RAND","RANDOM","RAWTOHEX","REC2XML","REGEXP_COUNT","REGEXP_EXTRACT","REGEXP_INSTR","REGEXP_LIKE","REGEXP_MATCH_COUNT","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RID_BIT","RIGHT","ROUND","ROUND_TIMESTAMP","RPAD","RTRIM","SECLABEL","SECLABEL_BY_NAME","SECLABEL_TO_CHAR","SECOND","SECONDS_BETWEEN","SIGN","SIN","SINH","SOUNDEX","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTR2","SUBSTR4","SUBSTRB","SUBSTRING","TABLE_NAME","TABLE_SCHEMA","TAN","TANH","THIS_MONTH","THIS_QUARTER","THIS_WEEK","THIS_YEAR","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMPDIFF","TIMEZONE","TO_CHAR","TO_CLOB","TO_DATE","TO_HEX","TO_MULTI_BYTE","TO_NCHAR","TO_NCLOB","TO_NUMBER","TO_SINGLE_BYTE","TO_TIMESTAMP","TO_UTC_TIMESTAMP","TOTALORDER","TRANSLATE","TRIM","TRIM_ARRAY","TRUNC_TIMESTAMP","TRUNCATE","TRUNC","TYPE_ID","TYPE_NAME","TYPE_SCHEMA","UCASE","UNICODE_STR","UPPER","VALUE","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT","VARCHAR_FORMAT_BIT","VERIFY_GROUP_FOR_USER","VERIFY_ROLE_FOR_USER","VERIFY_TRUSTED_CONTEXT_ROLE_FOR_USER","WEEK","WEEK_ISO","WEEKS_BETWEEN","WIDTH_BUCKET","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROW","XMLSERIALIZE","XMLTEXT","XMLVALIDATE","XMLXSROBJECTID","XSLTRANSFORM","YEAR","YEARS_BETWEEN","YMD_BETWEEN","BASE_TABLE","JSON_TABLE","UNNEST","XMLTABLE","RANK","DENSE_RANK","NTILE","LAG","LEAD","ROW_NUMBER","FIRST_VALUE","LAST_VALUE","NTH_VALUE","RATIO_TO_REPORT","CAST"],extraParens:["[]"],stringTypes:[{quote:"''-qq",prefixes:["G","N","U&"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$",rest:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","%","|","&","^","~","\xac=","\xac>","\xac<","!>","!<","^=","^>","^<","||","->","=>"]},formatOptions:{onelineClauses:[...Y,...V],tabularOnelineClauses:V}},X=a(["SELECT [ALL | DISTINCT]"]),K=a(["WITH [RECURSIVE]","INTO","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER [SIBLINGS] BY [INPUT SEQUENCE]","LIMIT","OFFSET","FETCH {FIRST | NEXT}","FOR UPDATE [OF]","FOR READ ONLY","OPTIMIZE FOR","INSERT INTO","VALUES","SET","MERGE INTO","WHEN [NOT] MATCHED [THEN]","UPDATE SET","DELETE","INSERT","FOR SYSTEM NAME"]),k=a(["CREATE [OR REPLACE] TABLE"]),J=a(["CREATE [OR REPLACE] [RECURSIVE] VIEW","UPDATE","WHERE CURRENT OF","WITH {NC | RR | RS | CS | UR}","DELETE FROM","DROP TABLE","ALTER TABLE","ADD [COLUMN]","ALTER [COLUMN]","DROP [COLUMN]","SET DATA TYPE","SET {GENERATED ALWAYS | GENERATED BY DEFAULT}","SET NOT NULL","SET {NOT HIDDEN | IMPLICITLY HIDDEN}","SET FIELDPROC","DROP {DEFAULT | NOT NULL | GENERATED | IDENTITY | ROW CHANGE TIMESTAMP | FIELDPROC}","TRUNCATE [TABLE]","SET [CURRENT] SCHEMA","SET CURRENT_SCHEMA","ALLOCATE CURSOR","ALLOCATE [SQL] DESCRIPTOR [LOCAL | GLOBAL] SQL","ALTER [SPECIFIC] {FUNCTION | PROCEDURE}","ALTER {MASK | PERMISSION | SEQUENCE | TRIGGER}","ASSOCIATE [RESULT SET] {LOCATOR | LOCATORS}","BEGIN DECLARE SECTION","CALL","CLOSE","COMMENT ON {ALIAS | COLUMN | CONSTRAINT | INDEX | MASK | PACKAGE | PARAMETER | PERMISSION | SEQUENCE | TABLE | TRIGGER | VARIABLE | XSROBJECT}","COMMENT ON [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE}","COMMENT ON PARAMETER SPECIFIC {FUNCTION | PROCEDURE | ROUTINE}","COMMENT ON [TABLE FUNCTION] RETURN COLUMN","COMMENT ON [TABLE FUNCTION] RETURN COLUMN SPECIFIC [PROCEDURE | ROUTINE]","COMMIT [WORK] [HOLD]","CONNECT [TO | RESET] USER","CREATE [OR REPLACE] {ALIAS | FUNCTION | MASK | PERMISSION | PROCEDURE | SEQUENCE | TRIGGER | VARIABLE}","CREATE [ENCODED VECTOR] INDEX","CREATE UNIQUE [WHERE NOT NULL] INDEX","CREATE SCHEMA","CREATE TYPE","DEALLOCATE [SQL] DESCRIPTOR [LOCAL | GLOBAL]","DECLARE CURSOR","DECLARE GLOBAL TEMPORARY TABLE","DECLARE","DESCRIBE CURSOR","DESCRIBE INPUT","DESCRIBE [OUTPUT]","DESCRIBE {PROCEDURE | ROUTINE}","DESCRIBE TABLE","DISCONNECT ALL [SQL]","DISCONNECT [CURRENT]","DROP {ALIAS | INDEX | MASK | PACKAGE | PERMISSION | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT} [IF EXISTS]","DROP [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE} [IF EXISTS]","END DECLARE SECTION","EXECUTE [IMMEDIATE]","FREE LOCATOR","GET [SQL] DESCRIPTOR [LOCAL | GLOBAL]","GET [CURRENT | STACKED] DIAGNOSTICS","GRANT {ALL [PRIVILEGES] | ALTER | EXECUTE} ON {FUNCTION | PROCEDURE | ROUTINE | PACKAGE | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT}","HOLD LOCATOR","INCLUDE","LABEL ON {ALIAS | COLUMN | CONSTRAINT | INDEX | MASK | PACKAGE | PERMISSION | SEQUENCE | TABLE | TRIGGER | VARIABLE | XSROBJECT}","LABEL ON [SPECIFIC] {FUNCTION | PROCEDURE | ROUTINE}","LOCK TABLE","OPEN","PREPARE","REFRESH TABLE","RELEASE","RELEASE [TO] SAVEPOINT","RENAME [TABLE | INDEX] TO","REVOKE {ALL [PRIVILEGES] | ALTER | EXECUTE} ON {FUNCTION | PROCEDURE | ROUTINE | PACKAGE | SCHEMA | SEQUENCE | TABLE | TYPE | VARIABLE | XSROBJECT}","ROLLBACK [WORK] [HOLD | TO SAVEPOINT]","SAVEPOINT","SET CONNECTION","SET CURRENT {DEBUG MODE | DECFLOAT ROUNDING MODE | DEGREE | IMPLICIT XMLPARSE OPTION | TEMPORAL SYSTEM_TIME}","SET [SQL] DESCRIPTOR [LOCAL | GLOBAL]","SET ENCRYPTION PASSWORD","SET OPTION","SET {[CURRENT [FUNCTION]] PATH | CURRENT_PATH}","SET RESULT SETS [WITH RETURN [TO CALLER | TO CLIENT]]","SET SESSION AUTHORIZATION","SET SESSION_USER","SET TRANSACTION","SIGNAL SQLSTATE [VALUE]","TAG","TRANSFER OWNERSHIP OF","WHENEVER {NOT FOUND | SQLERROR | SQLWARNING}"]),j=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),$=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","[LEFT | RIGHT] EXCEPTION JOIN","{INNER | CROSS} JOIN"]),q={name:"db2i",tokenizerOptions:{reservedSelect:X,reservedClauses:[...K,...k,...J],reservedSetOperations:j,reservedJoins:$,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","SET NULL","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABSENT","ACCORDING","ACCTNG","ACTION","ACTIVATE","ADD","ALIAS","ALL","ALLOCATE","ALLOW","ALTER","AND","ANY","APPEND","APPLNAME","ARRAY","ARRAY_AGG","ARRAY_TRIM","AS","ASC","ASENSITIVE","ASSOCIATE","ATOMIC","ATTACH","ATTRIBUTES","AUTHORIZATION","AUTONOMOUS","BEFORE","BEGIN","BETWEEN","BIND","BSON","BUFFERPOOL","BY","CACHE","CALL","CALLED","CARDINALITY","CASE","CAST","CHECK","CL","CLOSE","CLUSTER","COLLECT","COLLECTION","COLUMN","COMMENT","COMMIT","COMPACT","COMPARISONS","COMPRESS","CONCAT","CONCURRENT","CONDITION","CONNECT","CONNECT_BY_ROOT","CONNECTION","CONSTANT","CONSTRAINT","CONTAINS","CONTENT","CONTINUE","COPY","COUNT","COUNT_BIG","CREATE","CREATEIN","CROSS","CUBE","CUME_DIST","CURRENT","CURRENT_DATE","CURRENT_PATH","CURRENT_SCHEMA","CURRENT_SERVER","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TIMEZONE","CURRENT_USER","CURSOR","CYCLE","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYS","DB2GENERAL","DB2GENRL","DB2SQL","DBINFO","DBPARTITIONNAME","DBPARTITIONNUM","DEACTIVATE","DEALLOCATE","DECLARE","DEFAULT","DEFAULTS","DEFER","DEFINE","DEFINITION","DELETE","DELETING","DENSE_RANK","DENSERANK","DESC","DESCRIBE","DESCRIPTOR","DETACH","DETERMINISTIC","DIAGNOSTICS","DISABLE","DISALLOW","DISCONNECT","DISTINCT","DO","DOCUMENT","DROP","DYNAMIC","EACH","ELSE","ELSEIF","EMPTY","ENABLE","ENCODING","ENCRYPTION","END","END-EXEC","ENDING","ENFORCED","ERROR","ESCAPE","EVERY","EXCEPT","EXCEPTION","EXCLUDING","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTEND","EXTERNAL","EXTRACT","FALSE","FENCED","FETCH","FIELDPROC","FILE","FINAL","FIRST_VALUE","FOR","FOREIGN","FORMAT","FREE","FREEPAGE","FROM","FULL","FUNCTION","GBPCACHE","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GROUP","HANDLER","HASH","HASH_ROW","HASHED_VALUE","HAVING","HINT","HOLD","HOUR","HOURS","IDENTITY","IF","IGNORE","IMMEDIATE","IMPLICITLY","IN","INCLUDE","INCLUDING","INCLUSIVE","INCREMENT","INDEX","INDEXBP","INDICATOR","INF","INFINITY","INHERIT","INLINE","INNER","INOUT","INSENSITIVE","INSERT","INSERTING","INTEGRITY","INTERPRET","INTERSECT","INTO","IS","ISNULL","ISOLATION","ITERATE","JAVA","JOIN","JSON","JSON_ARRAY","JSON_ARRAYAGG","JSON_EXISTS","JSON_OBJECT","JSON_OBJECTAGG","JSON_QUERY","JSON_TABLE","JSON_VALUE","KEEP","KEY","KEYS","LABEL","LAG","LANGUAGE","LAST_VALUE","LATERAL","LEAD","LEAVE","LEFT","LEVEL2","LIKE","LIMIT","LINKTYPE","LISTAGG","LOCAL","LOCALDATE","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKSIZE","LOG","LOGGED","LOOP","MAINTAINED","MASK","MATCHED","MATERIALIZED","MAXVALUE","MERGE","MICROSECOND","MICROSECONDS","MINPCTUSED","MINUTE","MINUTES","MINVALUE","MIRROR","MIXED","MODE","MODIFIES","MONTH","MONTHS","NAMESPACE","NAN","NATIONAL","NCHAR","NCLOB","NESTED","NEW","NEW_TABLE","NEXTVAL","NO","NOCACHE","NOCYCLE","NODENAME","NODENUMBER","NOMAXVALUE","NOMINVALUE","NONE","NOORDER","NORMALIZED","NOT","NOTNULL","NTH_VALUE","NTILE","NULL","NULLS","NVARCHAR","OBID","OBJECT","OF","OFF","OFFSET","OLD","OLD_TABLE","OMIT","ON","ONLY","OPEN","OPTIMIZE","OPTION","OR","ORDER","ORDINALITY","ORGANIZE","OUT","OUTER","OVER","OVERLAY","OVERRIDING","PACKAGE","PADDED","PAGE","PAGESIZE","PARAMETER","PART","PARTITION","PARTITIONED","PARTITIONING","PARTITIONS","PASSING","PASSWORD","PATH","PCTFREE","PERCENT_RANK","PERCENTILE_CONT","PERCENTILE_DISC","PERIOD","PERMISSION","PIECESIZE","PIPE","PLAN","POSITION","PREPARE","PREVVAL","PRIMARY","PRIOR","PRIQTY","PRIVILEGES","PROCEDURE","PROGRAM","PROGRAMID","QUERY","RANGE","RANK","RATIO_TO_REPORT","RCDFMT","READ","READS","RECOVERY","REFERENCES","REFERENCING","REFRESH","REGEXP_LIKE","RELEASE","RENAME","REPEAT","RESET","RESIGNAL","RESTART","RESULT","RESULT_SET_LOCATOR","RETURN","RETURNING","RETURNS","REVOKE","RID","RIGHT","ROLLBACK","ROLLUP","ROUTINE","ROW","ROW_NUMBER","ROWNUMBER","ROWS","RRN","RUN","SAVEPOINT","SBCS","SCALAR","SCHEMA","SCRATCHPAD","SCROLL","SEARCH","SECOND","SECONDS","SECQTY","SECURED","SELECT","SENSITIVE","SEQUENCE","SESSION","SESSION_USER","SET","SIGNAL","SIMPLE","SKIP","SNAN","SOME","SOURCE","SPECIFIC","SQL","SQLID","SQLIND_DEFAULT","SQLIND_UNASSIGNED","STACKED","START","STARTING","STATEMENT","STATIC","STOGROUP","SUBSTRING","SUMMARY","SYNONYM","SYSTEM_TIME","SYSTEM_USER","TABLE","TABLESPACE","TABLESPACES","TAG","THEN","THREADSAFE","TO","TRANSACTION","TRANSFER","TRIGGER","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRY_CAST","TYPE","UNDO","UNION","UNIQUE","UNIT","UNKNOWN","UNNEST","UNTIL","UPDATE","UPDATING","URI","USAGE","USE","USER","USERID","USING","VALUE","VALUES","VARIABLE","VARIANT","VCAT","VERSION","VERSIONING","VIEW","VOLATILE","WAIT","WHEN","WHENEVER","WHERE","WHILE","WITH","WITHIN","WITHOUT","WRAPPED","WRAPPER","WRITE","WRKSTNNAME","XMLAGG","XMLATTRIBUTES","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLGROUP","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROW","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","XSLTRANSFORM","XSROBJECT","YEAR","YEARS","YES","ZONE"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BIT","BLOB","BOOLEAN","CCSID","CHAR","CHARACTER","CLOB","DATA","DATALINK","DATE","DBCLOB","DECFLOAT","DECIMAL","DEC","DOUBLE","DOUBLE PRECISION","FLOAT","GRAPHIC","INT","INTEGER","LONG","NUMERIC","REAL","ROWID","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR","VARGRAPHIC","XML"],reservedFunctionNames:["ARRAY_AGG","AVG","CORR","CORRELATION","COUNT","COUNT_BIG","COVAR_POP","COVARIANCE","COVAR","COVAR_SAMP","COVARIANCE_SAMP","EVERY","GROUPING","JSON_ARRAYAGG","JSON_OBJECTAGG","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","PERCENTILE_DISC","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","SOME","STDDEV_POP","STDDEV","STDDEV_SAMP","SUM","VAR_POP","VARIANCE","VAR","VAR_SAMP","VARIANCE_SAMP","XMLAGG","XMLGROUP","ABS","ABSVAL","ACOS","ADD_DAYS","ADD_HOURS","ADD_MINUTES","ADD_MONTHS","ADD_SECONDS","ADD_YEARS","ANTILOG","ARRAY_MAX_CARDINALITY","ARRAY_TRIM","ASCII","ASIN","ATAN","ATAN2","ATANH","BASE64_DECODE","BASE64_ENCODE","BIT_LENGTH","BITAND","BITANDNOT","BITNOT","BITOR","BITXOR","BSON_TO_JSON","CARDINALITY","CEIL","CEILING","CHAR_LENGTH","CHARACTER_LENGTH","CHR","COALESCE","COMPARE_DECFLOAT","CONCAT","CONTAINS","COS","COSH","COT","CURDATE","CURTIME","DATABASE","DATAPARTITIONNAME","DATAPARTITIONNUM","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK_ISO","DAYOFWEEK","DAYOFYEAR","DAYS","DBPARTITIONNAME","DBPARTITIONNUM","DECFLOAT_FORMAT","DECFLOAT_SORTKEY","DECRYPT_BINARY","DECRYPT_BIT","DECRYPT_CHAR","DECRYPT_DB","DEGREES","DIFFERENCE","DIGITS","DLCOMMENT","DLLINKTYPE","DLURLCOMPLETE","DLURLPATH","DLURLPATHONLY","DLURLSCHEME","DLURLSERVER","DLVALUE","DOUBLE_PRECISION","DOUBLE","ENCRPYT","ENCRYPT_AES","ENCRYPT_AES256","ENCRYPT_RC2","ENCRYPT_TDES","EXP","EXTRACT","FIRST_DAY","FLOOR","GENERATE_UNIQUE","GET_BLOB_FROM_FILE","GET_CLOB_FROM_FILE","GET_DBCLOB_FROM_FILE","GET_XML_FILE","GETHINT","GREATEST","HASH_MD5","HASH_ROW","HASH_SHA1","HASH_SHA256","HASH_SHA512","HASH_VALUES","HASHED_VALUE","HEX","HEXTORAW","HOUR","HTML_ENTITY_DECODE","HTML_ENTITY_ENCODE","HTTP_DELETE_BLOB","HTTP_DELETE","HTTP_GET_BLOB","HTTP_GET","HTTP_PATCH_BLOB","HTTP_PATCH","HTTP_POST_BLOB","HTTP_POST","HTTP_PUT_BLOB","HTTP_PUT","IDENTITY_VAL_LOCAL","IFNULL","INSERT","INSTR","INTERPRET","ISFALSE","ISNOTFALSE","ISNOTTRUE","ISTRUE","JSON_ARRAY","JSON_OBJECT","JSON_QUERY","JSON_TO_BSON","JSON_UPDATE","JSON_VALUE","JULIAN_DAY","LAND","LAST_DAY","LCASE","LEAST","LEFT","LENGTH","LN","LNOT","LOCATE_IN_STRING","LOCATE","LOG10","LOR","LOWER","LPAD","LTRIM","MAX_CARDINALITY","MAX","MICROSECOND","MIDNIGHT_SECONDS","MIN","MINUTE","MOD","MONTH","MONTHNAME","MONTHS_BETWEEN","MQREAD","MQREADCLOB","MQRECEIVE","MQRECEIVECLOB","MQSEND","MULTIPLY_ALT","NEXT_DAY","NORMALIZE_DECFLOAT","NOW","NULLIF","NVL","OCTET_LENGTH","OVERLAY","PI","POSITION","POSSTR","POW","POWER","QUANTIZE","QUARTER","RADIANS","RAISE_ERROR","RANDOM","RAND","REGEXP_COUNT","REGEXP_INSTR","REGEXP_REPLACE","REGEXP_SUBSTR","REPEAT","REPLACE","RID","RIGHT","ROUND_TIMESTAMP","ROUND","RPAD","RRN","RTRIM","SCORE","SECOND","SIGN","SIN","SINH","SOUNDEX","SPACE","SQRT","STRIP","STRLEFT","STRPOS","STRRIGHT","SUBSTR","SUBSTRING","TABLE_NAME","TABLE_SCHEMA","TAN","TANH","TIMESTAMP_FORMAT","TIMESTAMP_ISO","TIMESTAMPDIFF_BIG","TIMESTAMPDIFF","TO_CHAR","TO_CLOB","TO_DATE","TO_NUMBER","TO_TIMESTAMP","TOTALORDER","TRANSLATE","TRIM_ARRAY","TRIM","TRUNC_TIMESTAMP","TRUNC","TRUNCATE","UCASE","UPPER","URL_DECODE","URL_ENCODE","VALUE","VARBINARY_FORMAT","VARCHAR_BIT_FORMAT","VARCHAR_FORMAT_BINARY","VARCHAR_FORMAT","VERIFY_GROUP_FOR_USER","WEEK_ISO","WEEK","WRAP","XMLATTRIBUTES","XMLCOMMENT","XMLCONCAT","XMLDOCUMENT","XMLELEMENT","XMLFOREST","XMLNAMESPACES","XMLPARSE","XMLPI","XMLROW","XMLSERIALIZE","XMLTEXT","XMLVALIDATE","XOR","XSLTRANSFORM","YEAR","ZONED","BASE_TABLE","HTTP_DELETE_BLOB_VERBOSE","HTTP_DELETE_VERBOSE","HTTP_GET_BLOB_VERBOSE","HTTP_GET_VERBOSE","HTTP_PATCH_BLOB_VERBOSE","HTTP_PATCH_VERBOSE","HTTP_POST_BLOB_VERBOSE","HTTP_POST_VERBOSE","HTTP_PUT_BLOB_VERBOSE","HTTP_PUT_VERBOSE","JSON_TABLE","MQREADALL","MQREADALLCLOB","MQRECEIVEALL","MQRECEIVEALLCLOB","XMLTABLE","UNPACK","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","RATIO_TO_REPORT","ROW_NUMBER","CAST"],nestedBlockComments:!0,extraParens:["[]"],stringTypes:[{quote:"''-qq",prefixes:["G","N"]},{quote:"''-raw",prefixes:["X","BX","GX","UX"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{first:"@#$",rest:"@#$"},paramTypes:{positional:!0,named:[":"]},paramChars:{first:"@#$",rest:"@#$"},operators:["**","\xac=","\xac>","\xac<","!>","!<","||","=>"]},formatOptions:{onelineClauses:[...k,...J],tabularOnelineClauses:J}},Q=a(["SELECT [ALL | DISTINCT]"]),z=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL]","HAVING","WINDOW","PARTITION BY","ORDER BY [ALL]","LIMIT","OFFSET","USING SAMPLE","QUALIFY","INSERT [OR REPLACE] INTO","VALUES","DEFAULT VALUES","SET","RETURNING"]),Z=a(["CREATE [OR REPLACE] [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ee=a(["UPDATE","ON CONFLICT","DELETE FROM","DROP TABLE [IF EXISTS]","TRUNCATE","ALTER TABLE","ADD [COLUMN] [IF NOT EXISTS]","ADD PRIMARY KEY","DROP [COLUMN] [IF EXISTS]","ALTER [COLUMN]","RENAME [COLUMN]","RENAME TO","SET [DATA] TYPE","{SET | DROP} DEFAULT","{SET | DROP} NOT NULL","CREATE [OR REPLACE] [TEMPORARY | TEMP] {MACRO | FUNCTION}","DROP MACRO [TABLE] [IF EXISTS]","DROP FUNCTION [IF EXISTS]","CREATE [UNIQUE] INDEX [IF NOT EXISTS]","DROP INDEX [IF EXISTS]","CREATE [OR REPLACE] SCHEMA [IF NOT EXISTS]","DROP SCHEMA [IF EXISTS]","CREATE [OR REPLACE] [PERSISTENT | TEMPORARY] SECRET [IF NOT EXISTS]","DROP [PERSISTENT | TEMPORARY] SECRET [IF EXISTS]","CREATE [OR REPLACE] [TEMPORARY | TEMP] SEQUENCE","DROP SEQUENCE [IF EXISTS]","CREATE [OR REPLACE] [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","DROP VIEW [IF EXISTS]","ALTER VIEW","CREATE TYPE","DROP TYPE [IF EXISTS]","ANALYZE","ATTACH [DATABASE] [IF NOT EXISTS]","DETACH [DATABASE] [IF EXISTS]","CALL","[FORCE] CHECKPOINT","COMMENT ON [TABLE | COLUMN | VIEW | INDEX | SEQUENCE | TYPE | MACRO | MACRO TABLE]","COPY [FROM DATABASE]","DESCRIBE","EXPORT DATABASE","IMPORT DATABASE","INSTALL","LOAD","PIVOT","PIVOT_WIDER","UNPIVOT","EXPLAIN [ANALYZE]","SET {LOCAL | SESSION | GLOBAL}","RESET [LOCAL | SESSION | GLOBAL]","{SET | RESET} VARIABLE","SUMMARIZE","BEGIN TRANSACTION","ROLLBACK","COMMIT","ABORT","USE","VACUUM [ANALYZE]","PREPARE","EXECUTE","DEALLOCATE [PREPARE]"]),et=a(["UNION [ALL | BY NAME]","EXCEPT [ALL]","INTERSECT [ALL]"]),eE=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{NATURAL | ASOF} [INNER] JOIN","{NATURAL | ASOF} {LEFT | RIGHT | FULL} [OUTER] JOIN","POSITIONAL JOIN","ANTI JOIN","SEMI JOIN"]),er={name:"duckdb",tokenizerOptions:{reservedSelect:Q,reservedClauses:[...z,...Z,...ee],reservedSetOperations:et,reservedJoins:eE,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN","SIMILAR TO","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a(["TIMESTAMP WITH TIME ZONE"]),supportsXor:!0,reservedKeywords:["ALL","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ATTACH","ASYMMETRIC","BOTH","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","DEFAULT","DEFERRABLE","DESC","DESCRIBE","DETACH","DISTINCT","DO","ELSE","END","EXCEPT","FALSE","FETCH","FOR","FOREIGN","FROM","GRANT","GROUP","HAVING","IN","INITIALLY","INTERSECT","INTO","IS","LATERAL","LEADING","LIMIT","NOT","NULL","OFFSET","ON","ONLY","OR","ORDER","PIVOT","PIVOT_LONGER","PIVOT_WIDER","PLACING","PRIMARY","REFERENCES","RETURNING","SELECT","SHOW","SOME","SUMMARIZE","SYMMETRIC","TABLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","UNPIVOT","USING","VARIADIC","WHEN","WHERE","WINDOW","WITH"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BIT","BITSTRING","BLOB","BOOL","BOOLEAN","BPCHAR","BYTEA","CHAR","DATE","DATETIME","DEC","DECIMAL","DOUBLE","ENUM","FLOAT","FLOAT4","FLOAT8","GUID","HUGEINT","INET","INT","INT1","INT128","INT16","INT2","INT32","INT4","INT64","INT8","INTEGER","INTEGRAL","INTERVAL","JSON","LIST","LOGICAL","LONG","MAP","NUMERIC","NVARCHAR","OID","REAL","ROW","SHORT","SIGNED","SMALLINT","STRING","STRUCT","TEXT","TIME","TIMESTAMP_MS","TIMESTAMP_NS","TIMESTAMP_S","TIMESTAMP_US","TIMESTAMP","TIMESTAMPTZ","TIMETZ","TINYINT","UBIGINT","UHUGEINT","UINT128","UINT16","UINT32","UINT64","UINT8","UINTEGER","UNION","USMALLINT","UTINYINT","UUID","VARBINARY","VARCHAR"],reservedFunctionNames:["ABS","ACOS","ADD","ADD_PARQUET_KEY","AGE","AGGREGATE","ALIAS","ALL_PROFILING_OUTPUT","ANY_VALUE","APPLY","APPROX_COUNT_DISTINCT","APPROX_QUANTILE","ARBITRARY","ARGMAX","ARGMIN","ARG_MAX","ARG_MAX_NULL","ARG_MIN","ARG_MIN_NULL","ARRAY_AGG","ARRAY_AGGR","ARRAY_AGGREGATE","ARRAY_APPEND","ARRAY_APPLY","ARRAY_CAT","ARRAY_CONCAT","ARRAY_CONTAINS","ARRAY_COSINE_SIMILARITY","ARRAY_CROSS_PRODUCT","ARRAY_DISTANCE","ARRAY_DISTINCT","ARRAY_DOT_PRODUCT","ARRAY_EXTRACT","ARRAY_FILTER","ARRAY_GRADE_UP","ARRAY_HAS","ARRAY_HAS_ALL","ARRAY_HAS_ANY","ARRAY_INDEXOF","ARRAY_INNER_PRODUCT","ARRAY_INTERSECT","ARRAY_LENGTH","ARRAY_POP_BACK","ARRAY_POP_FRONT","ARRAY_POSITION","ARRAY_PREPEND","ARRAY_PUSH_BACK","ARRAY_PUSH_FRONT","ARRAY_REDUCE","ARRAY_RESIZE","ARRAY_REVERSE","ARRAY_REVERSE_SORT","ARRAY_SELECT","ARRAY_SLICE","ARRAY_SORT","ARRAY_TO_JSON","ARRAY_TO_STRING","ARRAY_TRANSFORM","ARRAY_UNIQUE","ARRAY_VALUE","ARRAY_WHERE","ARRAY_ZIP","ARROW_SCAN","ARROW_SCAN_DUMB","ASCII","ASIN","ATAN","ATAN2","AVG","BASE64","BIN","BITSTRING","BITSTRING_AGG","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_POSITION","BIT_XOR","BOOL_AND","BOOL_OR","CARDINALITY","CBRT","CEIL","CEILING","CENTURY","CHECKPOINT","CHR","COLLATIONS","COL_DESCRIPTION","COMBINE","CONCAT","CONCAT_WS","CONSTANT_OR_NULL","CONTAINS","COPY_DATABASE","CORR","COS","COT","COUNT","COUNT_IF","COUNT_STAR","COVAR_POP","COVAR_SAMP","CREATE_SORT_KEY","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_DATE","CURRENT_LOCALTIME","CURRENT_LOCALTIMESTAMP","CURRENT_QUERY","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_SCHEMAS","CURRENT_SETTING","CURRENT_USER","CURRVAL","DAMERAU_LEVENSHTEIN","DATABASE_LIST","DATABASE_SIZE","DATEDIFF","DATEPART","DATESUB","DATETRUNC","DATE_ADD","DATE_DIFF","DATE_PART","DATE_SUB","DATE_TRUNC","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECADE","DECODE","DEGREES","DISABLE_CHECKPOINT_ON_SHUTDOWN","DISABLE_OBJECT_CACHE","DISABLE_OPTIMIZER","DISABLE_PRINT_PROGRESS_BAR","DISABLE_PROFILE","DISABLE_PROFILING","DISABLE_PROGRESS_BAR","DISABLE_VERIFICATION","DISABLE_VERIFY_EXTERNAL","DISABLE_VERIFY_FETCH_ROW","DISABLE_VERIFY_PARALLELISM","DISABLE_VERIFY_SERIALIZER","DIVIDE","DUCKDB_COLUMNS","DUCKDB_CONSTRAINTS","DUCKDB_DATABASES","DUCKDB_DEPENDENCIES","DUCKDB_EXTENSIONS","DUCKDB_FUNCTIONS","DUCKDB_INDEXES","DUCKDB_KEYWORDS","DUCKDB_MEMORY","DUCKDB_OPTIMIZERS","DUCKDB_SCHEMAS","DUCKDB_SECRETS","DUCKDB_SEQUENCES","DUCKDB_SETTINGS","DUCKDB_TABLES","DUCKDB_TEMPORARY_FILES","DUCKDB_TYPES","DUCKDB_VIEWS","EDIT","EDITDIST3","ELEMENT_AT","ENABLE_CHECKPOINT_ON_SHUTDOWN","ENABLE_OBJECT_CACHE","ENABLE_OPTIMIZER","ENABLE_PRINT_PROGRESS_BAR","ENABLE_PROFILE","ENABLE_PROFILING","ENABLE_PROGRESS_BAR","ENABLE_VERIFICATION","ENCODE","ENDS_WITH","ENTROPY","ENUM_CODE","ENUM_FIRST","ENUM_LAST","ENUM_RANGE","ENUM_RANGE_BOUNDARY","EPOCH","EPOCH_MS","EPOCH_NS","EPOCH_US","ERA","ERROR","EVEN","EXP","FACTORIAL","FAVG","FDIV","FILTER","FINALIZE","FIRST","FLATTEN","FLOOR","FMOD","FORCE_CHECKPOINT","FORMAT","FORMATREADABLEDECIMALSIZE","FORMATREADABLESIZE","FORMAT_BYTES","FORMAT_PG_TYPE","FORMAT_TYPE","FROM_BASE64","FROM_BINARY","FROM_HEX","FROM_JSON","FROM_JSON_STRICT","FSUM","FUNCTIONS","GAMMA","GCD","GENERATE_SERIES","GENERATE_SUBSCRIPTS","GEN_RANDOM_UUID","GEOMEAN","GEOMETRIC_MEAN","GETENV","GET_BIT","GET_BLOCK_SIZE","GET_CURRENT_TIME","GET_CURRENT_TIMESTAMP","GLOB","GRADE_UP","GREATEST","GREATEST_COMMON_DIVISOR","GROUP_CONCAT","HAMMING","HASH","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","HEX","HISTOGRAM","HOUR","ICU_CALENDAR_NAMES","ICU_SORT_KEY","ILIKE_ESCAPE","IMPORT_DATABASE","INDEX_SCAN","INET_CLIENT_ADDR","INET_CLIENT_PORT","INET_SERVER_ADDR","INET_SERVER_PORT","INSTR","IN_SEARCH_PATH","ISFINITE","ISINF","ISNAN","ISODOW","ISOYEAR","JACCARD","JARO_SIMILARITY","JARO_WINKLER_SIMILARITY","JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_CONTAINS","JSON_DESERIALIZE_SQL","JSON_EXECUTE_SERIALIZED_SQL","JSON_EXTRACT","JSON_EXTRACT_PATH","JSON_EXTRACT_PATH_TEXT","JSON_EXTRACT_STRING","JSON_GROUP_ARRAY","JSON_GROUP_OBJECT","JSON_GROUP_STRUCTURE","JSON_KEYS","JSON_MERGE_PATCH","JSON_OBJECT","JSON_QUOTE","JSON_SERIALIZE_PLAN","JSON_SERIALIZE_SQL","JSON_STRUCTURE","JSON_TRANSFORM","JSON_TRANSFORM_STRICT","JSON_TYPE","JSON_VALID","JULIAN","KAHAN_SUM","KURTOSIS","KURTOSIS_POP","LAST","LAST_DAY","LCASE","LCM","LEAST","LEAST_COMMON_MULTIPLE","LEFT","LEFT_GRAPHEME","LEN","LENGTH","LENGTH_GRAPHEME","LEVENSHTEIN","LGAMMA","LIKE_ESCAPE","LIST","LISTAGG","LIST_AGGR","LIST_AGGREGATE","LIST_ANY_VALUE","LIST_APPEND","LIST_APPLY","LIST_APPROX_COUNT_DISTINCT","LIST_AVG","LIST_BIT_AND","LIST_BIT_OR","LIST_BIT_XOR","LIST_BOOL_AND","LIST_BOOL_OR","LIST_CAT","LIST_CONCAT","LIST_CONTAINS","LIST_COSINE_SIMILARITY","LIST_COUNT","LIST_DISTANCE","LIST_DISTINCT","LIST_DOT_PRODUCT","LIST_ELEMENT","LIST_ENTROPY","LIST_EXTRACT","LIST_FILTER","LIST_FIRST","LIST_GRADE_UP","LIST_HAS","LIST_HAS_ALL","LIST_HAS_ANY","LIST_HISTOGRAM","LIST_INDEXOF","LIST_INNER_PRODUCT","LIST_INTERSECT","LIST_KURTOSIS","LIST_KURTOSIS_POP","LIST_LAST","LIST_MAD","LIST_MAX","LIST_MEDIAN","LIST_MIN","LIST_MODE","LIST_PACK","LIST_POSITION","LIST_PREPEND","LIST_PRODUCT","LIST_REDUCE","LIST_RESIZE","LIST_REVERSE","LIST_REVERSE_SORT","LIST_SELECT","LIST_SEM","LIST_SKEWNESS","LIST_SLICE","LIST_SORT","LIST_STDDEV_POP","LIST_STDDEV_SAMP","LIST_STRING_AGG","LIST_SUM","LIST_TRANSFORM","LIST_UNIQUE","LIST_VALUE","LIST_VAR_POP","LIST_VAR_SAMP","LIST_WHERE","LIST_ZIP","LN","LOG","LOG10","LOG2","LOWER","LPAD","LSMODE","LTRIM","MAD","MAKE_DATE","MAKE_TIME","MAKE_TIMESTAMP","MAKE_TIMESTAMPTZ","MAP","MAP_CONCAT","MAP_ENTRIES","MAP_EXTRACT","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","MAX","MAX_BY","MD5","MD5_NUMBER","MD5_NUMBER_LOWER","MD5_NUMBER_UPPER","MEAN","MEDIAN","METADATA_INFO","MICROSECOND","MILLENNIUM","MILLISECOND","MIN","MINUTE","MIN_BY","MISMATCHES","MOD","MODE","MONTH","MONTHNAME","MULTIPLY","NEXTAFTER","NEXTVAL","NFC_NORMALIZE","NOT_ILIKE_ESCAPE","NOT_LIKE_ESCAPE","NOW","NULLIF","OBJ_DESCRIPTION","OCTET_LENGTH","ORD","PARQUET_FILE_METADATA","PARQUET_KV_METADATA","PARQUET_METADATA","PARQUET_SCAN","PARQUET_SCHEMA","PARSE_DIRNAME","PARSE_DIRPATH","PARSE_FILENAME","PARSE_PATH","PG_COLLATION_IS_VISIBLE","PG_CONF_LOAD_TIME","PG_CONVERSION_IS_VISIBLE","PG_FUNCTION_IS_VISIBLE","PG_GET_CONSTRAINTDEF","PG_GET_EXPR","PG_GET_VIEWDEF","PG_HAS_ROLE","PG_IS_OTHER_TEMP_SCHEMA","PG_MY_TEMP_SCHEMA","PG_OPCLASS_IS_VISIBLE","PG_OPERATOR_IS_VISIBLE","PG_OPFAMILY_IS_VISIBLE","PG_POSTMASTER_START_TIME","PG_SIZE_PRETTY","PG_TABLE_IS_VISIBLE","PG_TIMEZONE_NAMES","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","PI","PLATFORM","POSITION","POW","POWER","PRAGMA_COLLATIONS","PRAGMA_DATABASE_SIZE","PRAGMA_METADATA_INFO","PRAGMA_PLATFORM","PRAGMA_SHOW","PRAGMA_STORAGE_INFO","PRAGMA_TABLE_INFO","PRAGMA_USER_AGENT","PRAGMA_VERSION","PREFIX","PRINTF","PRODUCT","QUANTILE","QUANTILE_CONT","QUANTILE_DISC","QUARTER","RADIANS","RANDOM","RANGE","READFILE","READ_BLOB","READ_CSV","READ_CSV_AUTO","READ_JSON","READ_JSON_AUTO","READ_JSON_OBJECTS","READ_JSON_OBJECTS_AUTO","READ_NDJSON","READ_NDJSON_AUTO","READ_NDJSON_OBJECTS","READ_PARQUET","READ_TEXT","REDUCE","REGEXP_ESCAPE","REGEXP_EXTRACT","REGEXP_EXTRACT_ALL","REGEXP_FULL_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REPEAT","REPEAT_ROW","REPLACE","RESERVOIR_QUANTILE","REVERSE","RIGHT","RIGHT_GRAPHEME","ROUND","ROUNDBANKERS","ROUND_EVEN","ROW","ROW_TO_JSON","RPAD","RTRIM","SECOND","SEM","SEQ_SCAN","SESSION_USER","SETSEED","SET_BIT","SHA256","SHA3","SHELL_ADD_SCHEMA","SHELL_ESCAPE_CRNL","SHELL_IDQUOTE","SHELL_MODULE_SCHEMA","SHELL_PUTSNL","SHOBJ_DESCRIPTION","SHOW","SHOW_DATABASES","SHOW_TABLES","SHOW_TABLES_EXPANDED","SIGN","SIGNBIT","SIN","SKEWNESS","SNIFF_CSV","SPLIT","SPLIT_PART","SQL_AUTO_COMPLETE","SQRT","STARTS_WITH","STATS","STDDEV","STDDEV_POP","STDDEV_SAMP","STORAGE_INFO","STRFTIME","STRING_AGG","STRING_SPLIT","STRING_SPLIT_REGEX","STRING_TO_ARRAY","STRIP_ACCENTS","STRLEN","STRPOS","STRPTIME","STRUCT_EXTRACT","STRUCT_INSERT","STRUCT_PACK","STR_SPLIT","STR_SPLIT_REGEX","SUBSTR","SUBSTRING","SUBSTRING_GRAPHEME","SUBTRACT","SUFFIX","SUM","SUMKAHAN","SUMMARY","SUM_NO_OVERFLOW","TABLE_INFO","TAN","TEST_ALL_TYPES","TEST_VECTOR_TYPES","TIMEZONE","TIMEZONE_HOUR","TIMEZONE_MINUTE","TIME_BUCKET","TODAY","TO_BASE","TO_BASE64","TO_BINARY","TO_CENTURIES","TO_DAYS","TO_DECADES","TO_HEX","TO_HOURS","TO_JSON","TO_MICROSECONDS","TO_MILLENNIA","TO_MILLISECONDS","TO_MINUTES","TO_MONTHS","TO_SECONDS","TO_TIMESTAMP","TO_WEEKS","TO_YEARS","TRANSACTION_TIMESTAMP","TRANSLATE","TRIM","TRUNC","TRY_STRPTIME","TXID_CURRENT","TYPEOF","UCASE","UNBIN","UNHEX","UNICODE","UNION_EXTRACT","UNION_TAG","UNION_VALUE","UNNEST","UNPIVOT_LIST","UPPER","USER","USER_AGENT","UUID","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_TYPE","VERIFY_EXTERNAL","VERIFY_FETCH_ROW","VERIFY_PARALLELISM","VERIFY_SERIALIZER","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","WHICH_SECRET","WRITEFILE","XOR","YEAR","YEARWEEK","CAST","COALESCE","RANK","ROW_NUMBER"],nestedBlockComments:!0,extraParens:["[]","{}"],underscoresInNumbers:!0,stringTypes:["$$","''-qq",{quote:"''-qq-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:['""-qq'],identChars:{rest:"$"},paramTypes:{positional:!0,numbered:["$"],quoted:["$"]},operators:["//","%","**","^","!","&","|","~","<<",">>","::","==","->","->>",":",":=","=>","~~","!~~","~~*","!~~*","~~~","~","!~","~*","!~*","^@","||",">>=","<<="]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...Z,...ee],tabularOnelineClauses:ee}},en=a(["SELECT [ALL | DISTINCT]"]),eo=a(["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"]),ei=a(["CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS]"]),ea=a(["CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","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"]),eT=a(["UNION [ALL | DISTINCT]"]),es=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","LEFT SEMI JOIN"]),eA={name:"hive",tokenizerOptions:{reservedSelect:en,reservedClauses:[...eo,...ei,...ea],reservedSetOperations:eT,reservedJoins:es,reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","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","ALL","ALTER","AND","AS","AUTHORIZATION","BETWEEN","BOTH","BY","CASE","CAST","COLUMN","CONF","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIMESTAMP","CURSOR","DATABASE","DELETE","DESCRIBE","DISTINCT","DROP","ELSE","END","EXCHANGE","EXISTS","EXTENDED","EXTERNAL","FALSE","FETCH","FOLLOWING","FOR","FROM","FULL","FUNCTION","GRANT","GROUP","GROUPING","HAVING","IF","IMPORT","IN","INNER","INSERT","INTERSECT","INTO","IS","JOIN","LATERAL","LEFT","LESS","LIKE","LOCAL","MACRO","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","TABLE","TABLESAMPLE","THEN","TO","TRANSFORM","TRIGGER","TRUE","TRUNCATE","UNBOUNDED","UNION","UNIQUEJOIN","UPDATE","USER","USING","UTC_TMESTAMP","VALUES","WHEN","WHERE","WINDOW","WITH","COMMIT","ONLY","REGEXP","RLIKE","ROLLBACK","START","CACHE","CONSTRAINT","FOREIGN","PRIMARY","REFERENCES","DAYOFWEEK","EXTRACT","FLOOR","VIEWS","TIME","SYNC","TEXTFILE","SEQUENCEFILE","ORC","CSV","TSV","PARQUET","AVRO","RCFILE","JSONFILE","INPUTFORMAT","OUTPUTFORMAT"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BOOLEAN","CHAR","DATE","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","MAP","NUMERIC","PRECISION","SMALLINT","STRUCT","TIMESTAMP","VARCHAR"],reservedFunctionNames:["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_CONTAINS","MAP_KEYS","MAP_VALUES","SIZE","SORT_ARRAY","BINARY","CAST","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","ASSERT_TRUE","COALESCE","IF","ISNOTNULL","ISNULL","NULLIF","NVL","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","MASK","MASK_FIRST_N","MASK_HASH","MASK_LAST_N","MASK_SHOW_FIRST_N","MASK_SHOW_LAST_N","AES_DECRYPT","AES_ENCRYPT","CRC32","CURRENT_DATABASE","CURRENT_USER","HASH","JAVA_METHOD","LOGGED_IN_USER","MD5","REFLECT","SHA","SHA1","SHA2","SURROGATE_KEY","VERSION","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","EXPLODE","INLINE","JSON_TUPLE","PARSE_URL_TUPLE","POSEXPLODE","STACK","LEAD","LAG","FIRST_VALUE","LAST_VALUE","RANK","ROW_NUMBER","DENSE_RANK","CUME_DIST","PERCENT_RANK","NTILE"],extraParens:["[]"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||"]},formatOptions:{onelineClauses:[...ei,...ea],tabularOnelineClauses:ea}};function eR(e){return e.map((t,E)=>{let n=e[E+1]||C;if(_.SET(t)&&"("===n.text)return Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME});let o=e[E-1]||C;return _.VALUES(t)&&"="===o.text?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):t})}let eS=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eO=a(["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","ON DUPLICATE KEY UPDATE","SET","RETURNING"]),eI=a(["CREATE [OR REPLACE] [TEMPORARY] TABLE [IF NOT EXISTS]"]),el=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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"]),ec=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eN=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eu={name:"mariadb",tokenizerOptions:{reservedSelect:eS,reservedClauses:[...eO,...eI,...el],reservedSetOperations:ec,reservedJoins:eN,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DELETE_DOMAIN_ID","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DO_DOMAIN_IDS","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERAL","GRANT","GROUP","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IGNORE_DOMAIN_IDS","IGNORE_SERVER_IDS","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","INTERSECT","INTERVAL","INTO","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LOOP","LOW_PRIORITY","MASTER_HEARTBEAT_PERIOD","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NULL","OFFSET","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PAGE_CHECKSUM","PARSE_VCOL_EXPR","PARTITION","POSITION","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READS","READ_WRITE","RECURSIVE","REF_SYSTEM_ID","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","RETURNING","REVOKE","RIGHT","RLIKE","ROW_NUMBER","ROWS","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SLOW","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STRAIGHT_JOIN","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","CHAR BYTE","CHAR","CHARACTER","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONG","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["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"],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:eR},formatOptions:{onelineClauses:[...eI,...el],tabularOnelineClauses:el}},eC=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eL=a(["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","ON DUPLICATE KEY UPDATE","SET"]),e_=a(["CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),ed=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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"]),ef=a(["UNION [ALL | DISTINCT]"]),eD=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),eP={name:"mysql",tokenizerOptions:{reservedSelect:eC,reservedClauses:[...eL,...e_,...ed],reservedSetOperations:ef,reservedJoins:eD,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ACCESSIBLE","ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CUBE","CUME_DIST","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DENSE_RANK","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DROP","DUAL","EACH","ELSE","ELSEIF","EMPTY","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FIRST_VALUE","FOR","FORCE","FOREIGN","FROM","FULLTEXT","FUNCTION","GENERATED","GET","GRANT","GROUP","GROUPING","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","IN","INTERSECT","INTERVAL","INTO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IS","ITERATE","JOIN","JSON_TABLE","KEY","KEYS","KILL","LAG","LAST_VALUE","LATERAL","LEAD","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LOOP","LOW_PRIORITY","MASTER_BIND","MASTER_SSL_VERIFY_SERVER_CERT","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NOT","NO_WRITE_TO_BINLOG","NTH_VALUE","NTILE","NULL","OF","ON","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PERCENT_RANK","PRIMARY","PROCEDURE","PURGE","RANGE","RANK","READ","READS","READ_WRITE","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESIGNAL","RESTRICT","RETURN","REVOKE","RIGHT","RLIKE","ROW","ROWS","ROW_NUMBER","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STORED","STRAIGHT_JOIN","SYSTEM","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNDO","UNION","UNIQUE","UNLOCK","UNSIGNED","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","BOOL","BOOLEAN","CHAR","CHARACTER","DATE","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["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","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"],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:eR},formatOptions:{onelineClauses:[...e_,...ed],tabularOnelineClauses:ed}},ep=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),eh=a(["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","ON DUPLICATE KEY UPDATE","SET"]),eM=a(["CREATE [TEMPORARY] TABLE [IF NOT EXISTS]"]),em=a(["CREATE [OR REPLACE] [SQL SECURITY DEFINER | SQL SECURITY INVOKER] VIEW [IF NOT EXISTS]","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 INSTANCE","ALTER RESOURCE GROUP","ALTER SEQUENCE","ALTER USER","ALTER VIEW","ANALYZE TABLE","CHECK TABLE","CHECKSUM TABLE","COMMIT","CREATE DATABASE","CREATE INDEX","CREATE RESOURCE GROUP","CREATE ROLE","CREATE SEQUENCE","CREATE USER","DEALLOCATE PREPARE","DESCRIBE","DROP DATABASE","DROP INDEX","DROP RESOURCE GROUP","DROP ROLE","DROP TABLESPACE","DROP USER","DROP VIEW","EXPLAIN","FLUSH","GRANT","IMPORT TABLE","INSTALL COMPONENT","INSTALL PLUGIN","KILL","LOAD DATA","LOCK INSTANCE FOR BACKUP","LOCK TABLES","OPTIMIZE TABLE","PREPARE","RELEASE SAVEPOINT","RENAME TABLE","RENAME USER","REPAIR TABLE","RESET","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 TABLE","SHOW CREATE USER","SHOW CREATE VIEW","SHOW DATABASES","SHOW ENGINE","SHOW ENGINES","SHOW ERRORS","SHOW EVENTS","SHOW GRANTS","SHOW INDEX","SHOW MASTER STATUS","SHOW OPEN TABLES","SHOW PLUGINS","SHOW PRIVILEGES","SHOW PROCESSLIST","SHOW PROFILE","SHOW PROFILES","SHOW STATUS","SHOW TABLE STATUS","SHOW TABLES","SHOW TRIGGERS","SHOW VARIABLES","SHOW WARNINGS","TABLE","UNINSTALL COMPONENT","UNINSTALL PLUGIN","UNLOCK INSTANCE","UNLOCK TABLES","USE"]),eU=a(["UNION [ALL | DISTINCT]"]),eg=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),ey={name:"tidb",tokenizerOptions:{reservedSelect:ep,reservedClauses:[...eh,...eM,...em],reservedSetOperations:eU,reservedJoins:eg,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","ALL","ALTER","ANALYZE","AND","ARRAY","AS","ASC","BETWEEN","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DISTINCT","DISTINCTROW","DIV","DOUBLE","DROP","DUAL","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","FALSE","FETCH","FOR","FORCE","FOREIGN","FROM","FULLTEXT","GENERATED","GRANT","GROUP","GROUPS","HAVING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","ILIKE","IN","INDEX","INFILE","INNER","INOUT","INSERT","INTERSECT","INTERVAL","INTO","IS","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINEAR","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LONG","LOW_PRIORITY","MATCH","MAXVALUE","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","NATURAL","NOT","NO_WRITE_TO_BINLOG","NULL","OF","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PARTITION","PRIMARY","PROCEDURE","RANGE","READ","RECURSIVE","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESTRICT","REVOKE","RIGHT","RLIKE","ROW","ROWS","SECOND_MICROSECOND","SELECT","SET","SHOW","SPATIAL","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_BIG_RESULT","SQL_CALC_FOUND_ROWS","SQL_SMALL_RESULT","SSL","STARTING","STATS_EXTENDED","STORED","STRAIGHT_JOIN","TABLE","TABLESAMPLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","TiDB_CURRENT_TSO","UNION","UNIQUE","UNLOCK","UNSIGNED","UNTIL","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALUES","VIRTUAL","WHEN","WHERE","WHILE","WINDOW","WITH","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","BOOL","BOOLEAN","CHAR","CHARACTER","DATE","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","VARBINARY","VARCHAR","VARCHARACTER","VARYING","YEAR"],reservedFunctionNames:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","ASCII","ASIN","ATAN","ATAN2","AVG","BENCHMARK","BIN","BIN_TO_UUID","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","BITAND","BITNEG","BITOR","BITXOR","CASE","CAST","CEIL","CEILING","CHAR_FUNC","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_RESOURCE_GROUP","CURRENT_ROLE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT_FUNC","DEGREES","DENSE_RANK","DES_DECRYPT","DES_ENCRYPT","DIV","ELT","ENCODE","ENCRYPT","EQ","EXP","EXPORT_SET","EXTRACT","FIELD","FIND_IN_SET","FIRST_VALUE","FLOOR","FORMAT","FORMAT_BYTES","FORMAT_NANO_TIME","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GE","GET_FORMAT","GET_LOCK","GETPARAM","GREATEST","GROUP_CONCAT","GROUPING","GT","HEX","HOUR","IF","IFNULL","ILIKE","INET6_ATON","INET6_NTOA","INET_ATON","INET_NTOA","INSERT_FUNC","INSTR","INTDIV","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IS_UUID","ISFALSE","ISNULL","ISTRUE","JSON_ARRAY","JSON_ARRAYAGG","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MEMBEROF","JSON_MERGE","JSON_MERGE_PATCH","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_OBJECTAGG","JSON_OVERLAPS","JSON_PRETTY","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_STORAGE_FREE","JSON_STORAGE_SIZE","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAG","LAST_DAY","LAST_INSERT_ID","LAST_VALUE","LASTVAL","LCASE","LE","LEAD","LEAST","LEFT","LEFTSHIFT","LENGTH","LIKE","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LT","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MD5","MICROSECOND","MID","MIN","MINUS","MINUTE","MOD","MONTH","MONTHNAME","MUL","NAME_CONST","NE","NEXTVAL","NOT","NOW","NTH_VALUE","NTILE","NULLEQ","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","PASSWORD_FUNC","PERCENT_RANK","PERIOD_ADD","PERIOD_DIFF","PI","PLUS","POSITION","POW","POWER","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","RIGHTSHIFT","ROUND","ROW_COUNT","ROW_NUMBER","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SETVAL","SETVAR","SHA","SHA1","SHA2","SIGN","SIN","SLEEP","SM3","SPACE","SQRT","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIDB_BOUNDED_STALENESS","TIDB_CURRENT_TSO","TIDB_DECODE_BINARY_PLAN","TIDB_DECODE_KEY","TIDB_DECODE_PLAN","TIDB_DECODE_SQL_DIGESTS","TIDB_ENCODE_SQL_DIGEST","TIDB_IS_DDL_OWNER","TIDB_PARSE_TSO","TIDB_PARSE_TSO_LOGICAL","TIDB_ROW_CHECKSUM","TIDB_SHARD","TIDB_VERSION","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","TRANSLATE","TRIM","TRUNCATE","UCASE","UNARYMINUS","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UPPER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","UUID_TO_BIN","VALIDATE_PASSWORD_STRENGTH","VAR_POP","VAR_SAMP","VARIANCE","VERSION","VITESS_HASH","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","YEAR","YEARWEEK"],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:eR},formatOptions:{onelineClauses:[...eM,...em],tabularOnelineClauses:em}},eG=a(["SELECT [ALL | DISTINCT]"]),eb=a(["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"]),ev=a(["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"]),eH=a(["UNION [ALL]","EXCEPT [ALL]","INTERSECT [ALL]"]),eF=a(["JOIN","{LEFT | RIGHT} [OUTER] JOIN","INNER JOIN"]),eB={name:"n1ql",tokenizerOptions:{reservedSelect:eG,reservedClauses:[...eb,...ev],reservedSetOperations:eH,reservedJoins:eF,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["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","IGNORE","ILIKE","IN","INCLUDE","INCREMENT","INDEX","INFER","INLINE","INNER","INSERT","INTERSECT","INTO","IS","ISOLATION","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"],reservedDataTypes:[],reservedFunctionNames:["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"],stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:ev}},eY=a(["SELECT [ALL | DISTINCT | UNIQUE]"]),eV=a(["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","RETURNING"]),ex=a(["CREATE [GLOBAL TEMPORARY | PRIVATE TEMPORARY | SHARDED | DUPLICATED | IMMUTABLE BLOCKCHAIN | BLOCKCHAIN | IMMUTABLE] TABLE"]),eW=a(["CREATE [OR REPLACE] [NO FORCE | FORCE] [EDITIONING | EDITIONABLE | EDITIONABLE EDITIONING | NONEDITIONABLE] VIEW","CREATE MATERIALIZED VIEW","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"]),ew=a(["UNION [ALL]","MINUS","INTERSECT"]),eX=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | OUTER} APPLY"]),eK={name:"plsql",tokenizerOptions:{reservedSelect:eY,reservedClauses:[...eV,...ex,...eW],reservedSetOperations:ew,reservedJoins:eX,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL]","ON COMMIT","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","AGENT","AGGREGATE","ALL","ALTER","AND","ANY","ARROW","AS","ASC","AT","ATTRIBUTE","AUTHID","AVG","BEGIN","BETWEEN","BLOCK","BODY","BOTH","BOUND","BULK","BY","BYTE","CALL","CALLING","CASCADE","CASE","CHARSET","CHARSETFORM","CHARSETID","CHECK","CLOSE","CLUSTER","CLUSTERS","COLAUTH","COLLECT","COLUMNS","COMMENT","COMMIT","COMMITTED","COMPILED","COMPRESS","CONNECT","CONSTANT","CONSTRUCTOR","CONTEXT","CONVERT","COUNT","CRASH","CREATE","CURRENT","CURSOR","CUSTOMDATUM","DANGLING","DATA","DAY","DECLARE","DEFAULT","DEFINE","DELETE","DESC","DETERMINISTIC","DISTINCT","DROP","DURATION","ELEMENT","ELSE","ELSIF","EMPTY","END","ESCAPE","EXCEPT","EXCEPTION","EXCEPTIONS","EXCLUSIVE","EXECUTE","EXISTS","EXIT","EXTERNAL","FETCH","FINAL","FIXED","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","INTERFACE","INTERSECT","INTERVAL","INTO","INVALIDATE","IS","ISOLATION","JAVA","LANGUAGE","LARGE","LEADING","LENGTH","LEVEL","LIBRARY","LIKE","LIKE2","LIKE4","LIKEC","LIMIT","LIMITED","LOCAL","LOCK","LOOP","MAP","MAX","MAXLEN","MEMBER","MERGE","MIN","MINUS","MINUTE","MOD","MODE","MODIFY","MONTH","MULTISET","NAME","NAN","NATIONAL","NATIVE","NEW","NOCOMPRESS","NOCOPY","NOT","NOWAIT","NULL","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","PRIOR","PRIVATE","PROCEDURE","PUBLIC","RAISE","RANGE","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","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","VIEW","VIEWS","VOID","WHEN","WHERE","WHILE","WITH","WORK","WRAPPED","WRITE","YEAR","ZONE"],reservedDataTypes:["ARRAY","BFILE_BASE","BINARY","BLOB_BASE","CHAR VARYING","CHAR_BASE","CHAR","CHARACTER VARYING","CHARACTER","CLOB_BASE","DATE_BASE","DATE","DECIMAL","DOUBLE","FLOAT","INT","INTERVAL DAY","INTERVAL YEAR","LONG","NATIONAL CHAR VARYING","NATIONAL CHAR","NATIONAL CHARACTER VARYING","NATIONAL CHARACTER","NCHAR VARYING","NCHAR","NCHAR","NUMBER_BASE","NUMBER","NUMBERIC","NVARCHAR","PRECISION","RAW","TIMESTAMP","UROWID","VARCHAR","VARCHAR2"],reservedFunctionNames:["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","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","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","GREATEST","LEAST","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","BFILENAME","EMPTY_BLOB,","EMPTY_CLOB","CARDINALITY","COLLECT","POWERMULTISET","POWERMULTISET_BY_CARDINALITY","SET","SYS_CONNECT_BY_PATH","CLUSTER_ID","CLUSTER_PROBABILITY","CLUSTER_SET","FEATURE_ID","FEATURE_SET","FEATURE_VALUE","PREDICTION","PREDICTION_COST","PREDICTION_DETAILS","PREDICTION_PROBABILITY","PREDICTION_SET","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","DECODE","DUMP","ORA_HASH","VSIZE","COALESCE","LNNVL","NULLIF","NVL","NVL2","SYS_CONTEXT","SYS_GUID","SYS_TYPEID","UID","USER","USERENV","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","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTILE","RATIO_TO_REPORT","ROW_NUMBER","DEREF","MAKE_REF","REF","REFTOHEX","VALUE","CV","ITERATION_NUMBER","PRESENTNNV","PRESENTV","PREVIOUS"],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:[":"]},operators:["**",":=","%","~=","^=",">>","<<","=>","@","||"],postProcess:function(e){let t=C;return e.map(e=>_.SET(e)&&_.BY(t)?Object.assign(Object.assign({},e),{type:r.RESERVED_KEYWORD}):(d(e.type)&&(t=e),e))}},formatOptions:{alwaysDenseOperators:["@"],onelineClauses:[...ex,...eW],tabularOnelineClauses:eW}},ek=a(["SELECT [ALL | DISTINCT]"]),eJ=a(["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","DEFAULT VALUES","SET","RETURNING"]),ej=a(["CREATE [GLOBAL | LOCAL] [TEMPORARY | TEMP | UNLOGGED] TABLE [IF NOT EXISTS]"]),e$=a(["CREATE [OR REPLACE] [TEMP | TEMPORARY] [RECURSIVE] VIEW","CREATE [MATERIALIZED] VIEW [IF NOT EXISTS]","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 ON","COMMIT","COMMIT PREPARED","COPY","CREATE ACCESS METHOD","CREATE [OR REPLACE] AGGREGATE","CREATE CAST","CREATE COLLATION","CREATE [DEFAULT] CONVERSION","CREATE DATABASE","CREATE DOMAIN","CREATE EVENT TRIGGER","CREATE EXTENSION","CREATE FOREIGN DATA WRAPPER","CREATE FOREIGN TABLE","CREATE [OR REPLACE] FUNCTION","CREATE GROUP","CREATE [UNIQUE] INDEX","CREATE [OR REPLACE] [TRUSTED] [PROCEDURAL] LANGUAGE","CREATE OPERATOR","CREATE OPERATOR CLASS","CREATE OPERATOR FAMILY","CREATE POLICY","CREATE [OR REPLACE] PROCEDURE","CREATE PUBLICATION","CREATE ROLE","CREATE [OR REPLACE] RULE","CREATE SCHEMA [AUTHORIZATION]","CREATE [TEMPORARY | TEMP | UNLOGGED] 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 [OR REPLACE] TRANSFORM","CREATE [OR REPLACE] [CONSTRAINT] 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 IDENTITY","DROP INDEX","DROP LANGUAGE","DROP MATERIALIZED VIEW [IF EXISTS]","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","OVERRIDING SYSTEM VALUE","PREPARE","PREPARE TRANSACTION","REASSIGN OWNED","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE SAVEPOINT","RESET [ALL|ROLE|SESSION AUTHORIZATION]","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"]),eq=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),eQ=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ez={name:"postgresql",tokenizerOptions:{reservedSelect:ek,reservedClauses:[...eJ,...ej,...e$],reservedSetOperations:eq,reservedJoins:eQ,reservedKeywordPhrases:a(["PRIMARY KEY","GENERATED {ALWAYS | BY DEFAULT} AS IDENTITY","ON {UPDATE | DELETE} [NO ACTION | RESTRICT | CASCADE | SET NULL | SET DEFAULT]","DO {NOTHING | UPDATE}","AS MATERIALIZED","{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM","NULLS {FIRST | LAST}","WITH ORDINALITY"]),reservedDataTypePhrases:a(["[TIMESTAMP | TIME] {WITH | WITHOUT} TIME ZONE"]),reservedKeywords:["ALL","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASYMMETRIC","AUTHORIZATION","BETWEEN","BINARY","BOTH","CASE","CAST","CHECK","COLLATE","COLLATION","COLUMN","CONCURRENTLY","CONSTRAINT","CREATE","CROSS","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DAY","DEFAULT","DEFERRABLE","DESC","DISTINCT","DO","ELSE","END","EXCEPT","EXISTS","FALSE","FETCH","FILTER","FOR","FOREIGN","FREEZE","FROM","FULL","GRANT","GROUP","HAVING","HOUR","ILIKE","IN","INITIALLY","INNER","INOUT","INTERSECT","INTO","IS","ISNULL","JOIN","LATERAL","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","MINUTE","MONTH","NATURAL","NOT","NOTNULL","NULL","NULLIF","OFFSET","ON","ONLY","OR","ORDER","OUT","OUTER","OVER","OVERLAPS","PLACING","PRIMARY","REFERENCES","RETURNING","RIGHT","ROW","SECOND","SELECT","SESSION_USER","SIMILAR","SOME","SYMMETRIC","TABLE","TABLESAMPLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","USER","USING","VALUES","VARIADIC","VERBOSE","WHEN","WHERE","WINDOW","WITH","WITHIN","WITHOUT","YEAR"],reservedDataTypes:["ARRAY","BIGINT","BIT","BIT VARYING","BOOL","BOOLEAN","CHAR","CHARACTER","CHARACTER VARYING","DECIMAL","DEC","DOUBLE","ENUM","FLOAT","INT","INTEGER","INTERVAL","NCHAR","NUMERIC","JSON","JSONB","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TIMESTAMPTZ","UUID","VARCHAR","XML","ZONE"],reservedFunctionNames:["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","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","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","BIT_COUNT","BIT_LENGTH","GET_BIT","LENGTH","OCTET_LENGTH","OVERLAY","POSITION","SET_BIT","SUBSTRING","REGEXP_MATCH","REGEXP_MATCHES","REGEXP_REPLACE","REGEXP_SPLIT_TO_ARRAY","REGEXP_SPLIT_TO_TABLE","TO_CHAR","TO_DATE","TO_NUMBER","TO_TIMESTAMP","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_FIRST","ENUM_LAST","ENUM_RANGE","AREA","BOUND_BOX","BOX","CENTER","CIRCLE","DIAGONAL","DIAMETER","HEIGHT","ISCLOSED","ISOPEN","LENGTH","LINE","LSEG","NPOINTS","PATH","PCLOSE","POINT","POLYGON","POPEN","RADIUS","SLOPE","WIDTH","ABBREV","BROADCAST","FAMILY","HOST","HOSTMASK","INET_MERGE","INET_SAME_FAMILY","MACADDR8_SET7BIT","MASKLEN","NETMASK","NETWORK","SET_MASKLEN","TRUNC","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","GEN_RANDOM_UUID","UUIDV4","UUIDV7","UUID_EXTRACT_TIMESTAMP","UUID_EXTRACT_VERSION","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","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","CURRVAL","LASTVAL","NEXTVAL","SETVAL","COALESCE","GREATEST","LEAST","NULLIF","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","ISEMPTY","LOWER","LOWER_INC","LOWER_INF","MULTIRANGE","RANGE_MERGE","UPPER","UPPER_INC","UPPER_INF","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","CUME_DIST","DENSE_RANK","FIRST_VALUE","LAG","LAST_VALUE","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER","GENERATE_SERIES","GENERATE_SUBSCRIPTS","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","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","SUPPRESS_REDUNDANT_UPDATES_TRIGGER","TSVECTOR_UPDATE_TRIGGER","TSVECTOR_UPDATE_TRIGGER_COLUMN","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","PG_MCV_LIST_ITEMS","CAST"],nestedBlockComments:!0,extraParens:["[]"],underscoresInNumbers:!0,stringTypes:["$$",{quote:"''-qq",prefixes:["U&"]},{quote:"''-qq-bs",prefixes:["E"],requirePrefix:!0},{quote:"''-raw",prefixes:["B","X"],requirePrefix:!0}],identTypes:[{quote:'""-qq',prefixes:["U&"]}],identChars:{rest:"$"},paramTypes:{numbered:["$"]},operators:["%","^","|/","||/","@",":=","&","|","#","~","<<",">>","~>~","~<~","~>=~","~<=~","@-@","@@","##","<->","&&","&<","&>","<<|","&<|","|>>","|&>","<^","^>","?#","?-","?|","?-|","?||","@>","<@","~=","?","@?","?&","->","->>","#>","#>>","#-","=>",">>=","<<=","~~","~~*","!~~","!~~*","~","~*","!~","!~*","-|-","||","@@@","!!","^@","<%","%>","<<%","%>>","<<->","<->>","<<<->","<->>>","::",":","<#>","<=>","<+>","<~>","<%>"],operatorKeyword:!0},formatOptions:{alwaysDenseOperators:["::",":"],onelineClauses:[...ej,...e$],tabularOnelineClauses:e$}},eZ=a(["SELECT [ALL | DISTINCT]"]),e0=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY","HAVING","QUALIFY","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT INTO","VALUES","SET"]),e1=a(["CREATE [TEMPORARY | TEMP | LOCAL TEMPORARY | LOCAL TEMP] TABLE [IF NOT EXISTS]"]),e2=a(["CREATE [OR REPLACE | MATERIALIZED] VIEW","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","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"]),e5=a(["UNION [ALL]","EXCEPT","INTERSECT","MINUS"]),e6=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),e4={name:"redshift",tokenizerOptions:{reservedSelect:eZ,reservedClauses:[...e0,...e1,...e2],reservedSetOperations:e5,reservedJoins:e6,reservedKeywordPhrases:a(["NULL AS","DATA CATALOG","HIVE METASTORE","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANY","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","ACCEPTANYDATE","ACCEPTINVCHARS","BLANKSASNULL","DATEFORMAT","EMPTYASNULL","ENCODING","ESCAPE","EXPLICIT_IDS","FILLRECORD","IGNOREBLANKLINES","IGNOREHEADER","REMOVEQUOTES","ROUNDEC","TIMEFORMAT","TRIMBLANKS","TRUNCATECOLUMNS","COMPROWS","COMPUPDATE","MAXERROR","NOLOAD","STATUPDATE","FORMAT","CSV","DELIMITER","FIXEDWIDTH","SHAPEFILE","AVRO","JSON","PARQUET","ORC","ACCESS_KEY_ID","CREDENTIALS","ENCRYPTED","IAM_ROLE","MASTER_SYMMETRIC_KEY","SECRET_ACCESS_KEY","SESSION_TOKEN","BZIP2","GZIP","LZOP","ZSTD","MANIFEST","READRATIO","REGION","SSH","RAW","AZ64","BYTEDICT","DELTA","DELTA32K","LZO","MOSTLY8","MOSTLY16","MOSTLY32","RUNLENGTH","TEXT255","TEXT32K","CATALOG_ROLE","SECRET_ARN","EXTERNAL","AUTO","EVEN","KEY","PREDICATE","COMPRESSION"],reservedDataTypes:["ARRAY","BIGINT","BPCHAR","CHAR","CHARACTER VARYING","CHARACTER","DECIMAL","INT","INT2","INT4","INT8","INTEGER","NCHAR","NUMERIC","NVARCHAR","SMALLINT","TEXT","VARBYTE","VARCHAR"],reservedFunctionNames:["ANY_VALUE","APPROXIMATE PERCENTILE_DISC","AVG","COUNT","LISTAGG","MAX","MEDIAN","MIN","PERCENTILE_CONT","STDDEV_SAMP","STDDEV_POP","SUM","VAR_SAMP","VAR_POP","array_concat","array_flatten","get_array_length","split_to_array","subarray","BIT_AND","BIT_OR","BOOL_AND","BOOL_OR","COALESCE","DECODE","GREATEST","LEAST","NVL","NVL2","NULLIF","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","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","CHECKSUM","FUNC_SHA1","FNV_HASH","MD5","SHA","SHA1","SHA2","HLL","HLL_CREATE_SKETCH","HLL_CARDINALITY","HLL_COMBINE","IS_VALID_JSON","IS_VALID_JSON_ARRAY","JSON_ARRAY_LENGTH","JSON_EXTRACT_ARRAY_ELEMENT_TEXT","JSON_EXTRACT_PATH_TEXT","JSON_PARSE","JSON_SERIALIZE","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","EXPLAIN_MODEL","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","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","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","CAST","CONVERT","TO_CHAR","TO_DATE","TO_NUMBER","TEXT_TO_INT_ALT","TEXT_TO_NUMERIC_ALT","CHANGE_QUERY_PRIORITY","CHANGE_SESSION_PRIORITY","CHANGE_USER_PRIORITY","CURRENT_SETTING","PG_CANCEL_BACKEND","PG_TERMINATE_BACKEND","REBOOT_CLUSTER","SET_CONFIG","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"],extraParens:["[]"],stringTypes:["''-qq"],identTypes:['""-qq'],identChars:{first:"#"},paramTypes:{numbered:["$"]},operators:["^","%","@","|/","||/","&","|","~","<<",">>","||","::"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...e1,...e2],tabularOnelineClauses:e2}},e8=a(["SELECT [ALL | DISTINCT]"]),e3=a(["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"]),e9=a(["CREATE [EXTERNAL] TABLE [IF NOT EXISTS]"]),e7=a(["CREATE [OR REPLACE] [GLOBAL TEMPORARY | TEMPORARY] VIEW [IF NOT EXISTS]","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"]),te=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tt=a(["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"]),tE={name:"spark",tokenizerOptions:{reservedSelect:e8,reservedClauses:[...e3,...e9,...e7],reservedSetOperations:te,reservedJoins:tt,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","CURRENT ROW","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),supportsXor:!0,reservedKeywords:["ADD","AFTER","ALL","ALTER","ANALYZE","AND","ANTI","ANY","ARCHIVE","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","INTO","IS","ITEMS","KEYS","LAST","LAST_VALUE","LATERAL","LAZY","LEADING","LEFT","LIKE","LINES","LIST","LOCAL","LOCATION","LOCK","LOCKS","LOGICAL","MACRO","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","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","TYPE","TYPES","UNSIGNED","VARIABLES","YEAR_MONTH"],reservedDataTypes:["ARRAY","BIGINT","BINARY","BOOLEAN","BYTE","CHAR","DATE","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","LONG","MAP","NUMERIC","REAL","SHORT","SMALLINT","STRING","STRUCT","TIMESTAMP_LTZ","TIMESTAMP_NTZ","TIMESTAMP","TINYINT","VARCHAR"],reservedFunctionNames:["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","CUME_DIST","DENSE_RANK","LAG","LEAD","NTH_VALUE","NTILE","PERCENT_RANK","RANK","ROW_NUMBER","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","ELEMENT_AT","ELEMENT_AT","MAP_CONCAT","MAP_ENTRIES","MAP_FROM_ARRAYS","MAP_FROM_ENTRIES","MAP_KEYS","MAP_VALUES","STR_TO_MAP","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","FROM_JSON","GET_JSON_OBJECT","JSON_ARRAY_LENGTH","JSON_OBJECT_KEYS","JSON_TUPLE","SCHEMA_OF_JSON","TO_JSON","ABS","ACOS","ACOSH","AGGREGATE","ARRAY_SORT","ASCII","ASIN","ASINH","ASSERT_TRUE","ATAN","ATAN2","ATANH","BASE64","BIN","BIT_COUNT","BIT_GET","BIT_LENGTH","BROUND","BTRIM","CARDINALITY","CBRT","CEIL","CEILING","CHAR_LENGTH","CHARACTER_LENGTH","CHR","CONCAT","CONCAT_WS","CONV","COS","COSH","COT","CRC32","CURRENT_CATALOG","CURRENT_DATABASE","CURRENT_USER","DEGREES","ELT","EXP","EXPM1","FACTORIAL","FIND_IN_SET","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","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","SOUNDEX","SPACE","SPARK_PARTITION_ID","SPLIT","SQRT","STACK","SUBSTR","SUBSTRING","SUBSTRING_INDEX","TAN","TANH","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","COALESCE","NULLIF"],extraParens:["[]"],stringTypes:["''-bs",'""-bs',{quote:"''-raw",prefixes:["R","X"],requirePrefix:!0},{quote:'""-raw',prefixes:["R","X"],requirePrefix:!0}],identTypes:["``"],identChars:{allowFirstCharNumber:!0},variableTypes:[{quote:"{}",prefixes:["$"],requirePrefix:!0}],operators:["%","~","^","|","&","<=>","==","!","||","->"],postProcess:function(e){return e.map((t,E)=>{let n=e[E-1]||C,o=e[E+1]||C;return _.WINDOW(t)&&o.type===r.OPEN_PAREN?Object.assign(Object.assign({},t),{type:r.RESERVED_FUNCTION_NAME}):"ITEMS"===t.text&&t.type===r.RESERVED_KEYWORD&&("COLLECTION"!==n.text||"TERMINATED"!==o.text)?Object.assign(Object.assign({},t),{type:r.IDENTIFIER,text:t.raw}):t})}},formatOptions:{onelineClauses:[...e9,...e7],tabularOnelineClauses:e7}},tr=a(["SELECT [ALL | DISTINCT]"]),tn=a(["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","RETURNING"]),to=a(["CREATE [TEMPORARY | TEMP] TABLE [IF NOT EXISTS]"]),ti=a(["CREATE [TEMPORARY | TEMP] VIEW [IF NOT EXISTS]","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"]),ta=a(["UNION [ALL]","EXCEPT","INTERSECT"]),tT=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),ts={name:"sqlite",tokenizerOptions:{reservedSelect:tr,reservedClauses:[...tn,...to,...ti],reservedSetOperations:ta,reservedJoins:tT,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN","DO UPDATE"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABORT","ACTION","ADD","AFTER","ALL","ALTER","AND","ARE","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","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"],reservedDataTypes:["ANY","ARRAY","BLOB","CHARACTER","DECIMAL","INT","INTEGER","NATIVE CHARACTER","NCHAR","NUMERIC","NVARCHAR","REAL","TEXT","VARCHAR","VARYING CHARACTER"],reservedFunctionNames:["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","AVG","COUNT","GROUP_CONCAT","MAX","MIN","SUM","TOTAL","DATE","TIME","DATETIME","JULIANDAY","UNIXEPOCH","STRFTIME","row_number","rank","dense_rank","percent_rank","cume_dist","ntile","lag","lead","first_value","last_value","nth_value","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_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"],stringTypes:["''-qq",{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``","[]"],paramTypes:{positional:!0,numbered:["?"],named:[":","@","$"]},operators:["%","~","&","|","<<",">>","==","->","->>","||"]},formatOptions:{onelineClauses:[...to,...ti],tabularOnelineClauses:ti}},tA=a(["SELECT [ALL | DISTINCT]"]),tR=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET"]),tS=a(["CREATE [GLOBAL TEMPORARY | LOCAL TEMPORARY] TABLE"]),tO=a(["CREATE [RECURSIVE] VIEW","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"]),tI=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),tl=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tc={name:"sql",tokenizerOptions:{reservedSelect:tA,reservedClauses:[...tR,...tS,...tO],reservedSetOperations:tI,reservedJoins:tl,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["ALL","ALLOCATE","ALTER","ANY","ARE","AS","ASC","ASENSITIVE","ASYMMETRIC","AT","ATOMIC","AUTHORIZATION","BEGIN","BETWEEN","BOTH","BY","CALL","CALLED","CASCADED","CAST","CHECK","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","DEALLOCATE","DAY","DECLARE","DEFAULT","DELETE","DEREF","DESC","DESCRIBE","DETERMINISTIC","DISCONNECT","DISTINCT","DROP","DYNAMIC","EACH","ELEMENT","END-EXEC","ESCAPE","EVERY","EXCEPT","EXEC","EXECUTE","EXISTS","EXTERNAL","FALSE","FETCH","FILTER","FOR","FOREIGN","FREE","FROM","FULL","FUNCTION","GET","GLOBAL","GRANT","GROUP","HAVING","HOLD","HOUR","IDENTITY","IN","INDICATOR","INNER","INOUT","INSENSITIVE","INSERT","INTERSECT","INTO","IS","LANGUAGE","LARGE","LATERAL","LEADING","LEFT","LIKE","LIKE_REGEX","LOCAL","MATCH","MEMBER","MERGE","METHOD","MINUTE","MODIFIES","MODULE","MONTH","NATURAL","NEW","NO","NONE","NOT","NULL","NULLIF","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","SOME","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","START","STATIC","SUBMULTISET","SYMMETRIC","SYSTEM","SYSTEM_USER","TABLE","TABLESAMPLE","THEN","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TRAILING","TRANSLATION","TREAT","TRIGGER","TRUE","UESCAPE","UNION","UNIQUE","UNKNOWN","UNNEST","UPDATE","USER","USING","VALUE","VALUES","WHENEVER","WINDOW","WITHIN","WITHOUT","YEAR"],reservedDataTypes:["ARRAY","BIGINT","BINARY LARGE OBJECT","BINARY VARYING","BINARY","BLOB","BOOLEAN","CHAR LARGE OBJECT","CHAR VARYING","CHAR","CHARACTER LARGE OBJECT","CHARACTER VARYING","CHARACTER","CLOB","DATE","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","INTERVAL","MULTISET","NATIONAL CHAR VARYING","NATIONAL CHAR","NATIONAL CHARACTER LARGE OBJECT","NATIONAL CHARACTER VARYING","NATIONAL CHARACTER","NCHAR LARGE OBJECT","NCHAR VARYING","NCHAR","NCLOB","NUMERIC","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR"],reservedFunctionNames:["GROUPING","RANK","DENSE_RANK","PERCENT_RANK","CUME_DIST","ROW_NUMBER","POSITION","OCCURRENCES_REGEX","POSITION_REGEX","EXTRACT","CHAR_LENGTH","CHARACTER_LENGTH","OCTET_LENGTH","CARDINALITY","ABS","MOD","LN","EXP","POWER","SQRT","FLOOR","CEIL","CEILING","WIDTH_BUCKET","SUBSTRING","SUBSTRING_REGEX","UPPER","LOWER","CONVERT","TRANSLATE","TRANSLATE_REGEX","TRIM","OVERLAY","NORMALIZE","SPECIFICTYPE","CURRENT_DATE","CURRENT_TIME","LOCALTIME","CURRENT_TIMESTAMP","LOCALTIMESTAMP","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","COALESCE","NULLIF","ROUND","SIN","COS","TAN","ASIN","ACOS","ATAN"],stringTypes:[{quote:"''-qq-bs",prefixes:["N","U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq',"``"],paramTypes:{positional:!0},operators:["||"]},formatOptions:{onelineClauses:[...tS,...tO],tabularOnelineClauses:tO}},tN=a(["SELECT [ALL | DISTINCT]"]),tu=a(["WITH [RECURSIVE]","FROM","WHERE","GROUP BY [ALL | DISTINCT]","HAVING","WINDOW","PARTITION BY","ORDER BY","LIMIT","OFFSET","FETCH {FIRST | NEXT}","INSERT INTO","VALUES","SET","MATCH_RECOGNIZE","MEASURES","ONE ROW PER MATCH","ALL ROWS PER MATCH","AFTER MATCH","PATTERN","SUBSET","DEFINE"]),tC=a(["CREATE TABLE [IF NOT EXISTS]"]),tL=a(["CREATE [OR REPLACE] [MATERIALIZED] VIEW","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","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"]),t_=a(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]"]),td=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tf={name:"trino",tokenizerOptions:{reservedSelect:tN,reservedClauses:[...tu,...tC,...tL],reservedSetOperations:t_,reservedJoins:td,reservedKeywordPhrases:a(["{ROWS | RANGE | GROUPS} BETWEEN","IS [NOT] DISTINCT FROM"]),reservedDataTypePhrases:a([]),reservedKeywords:["ABSENT","ADD","ADMIN","AFTER","ALL","ALTER","ANALYZE","AND","ANY","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"],reservedDataTypes:["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"],reservedFunctionNames:["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","CLASSIFIER","FIRST","LAST","MATCH_NUMBER","NEXT","PERMUTE","PREV"],extraParens:["[]","{}"],stringTypes:[{quote:"''-qq",prefixes:["U&"]},{quote:"''-raw",prefixes:["X"],requirePrefix:!0}],identTypes:['""-qq'],paramTypes:{positional:!0},operators:["%","->","=>",":","||","|","^","$"]},formatOptions:{onelineClauses:[...tC,...tL],tabularOnelineClauses:tL}},tD=a(["SELECT [ALL | DISTINCT]"]),tP=a(["WITH","INTO","FROM","WHERE","GROUP BY","HAVING","WINDOW","PARTITION BY","ORDER BY","OFFSET","FETCH {FIRST | NEXT}","FOR {BROWSE | XML | JSON}","OPTION","INSERT [INTO]","VALUES","SET","MERGE [INTO]","WHEN [NOT] MATCHED [BY TARGET | BY SOURCE] [THEN]","UPDATE SET"]),tp=a(["CREATE TABLE"]),th=a(["CREATE [OR ALTER] [MATERIALIZED] VIEW","UPDATE","WHERE CURRENT OF","DELETE [FROM]","DROP TABLE [IF EXISTS]","ALTER TABLE","ADD","DROP COLUMN [IF EXISTS]","ALTER COLUMN","TRUNCATE TABLE","CREATE [UNIQUE] [CLUSTERED] INDEX","CREATE DATABASE","ALTER DATABASE","DROP DATABASE [IF EXISTS]","CREATE [OR ALTER] [PARTITION] {FUNCTION | PROCEDURE | PROC}","ALTER [PARTITION] {FUNCTION | PROCEDURE | PROC}","DROP [PARTITION] {FUNCTION | PROCEDURE | PROC} [IF EXISTS]","GO","USE","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","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","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 SCHEME","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"]),tM=a(["UNION [ALL]","EXCEPT","INTERSECT"]),tm=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","{CROSS | OUTER} APPLY"]),tU={name:"transactsql",tokenizerOptions:{reservedSelect:tD,reservedClauses:[...tP,...tp,...th],reservedSetOperations:tM,reservedJoins:tm,reservedKeywordPhrases:a(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE} BETWEEN"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","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","NOCHECK","NONCLUSTERED","NOT","NULL","NULLIF","OF","OFF","OFFSETS","ON","OPEN","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","OPTION","OR","ORDER","OUTER","OVER","PERCENT","PIVOT","PLAN","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","VIEW","WAITFOR","WHERE","WHILE","WITH","WITHIN GROUP","WRITETEXT","$ACTION"],reservedDataTypes:["BINARY","BIT","CHAR","CHAR","CHARACTER","DATE","DATETIME2","DATETIMEOFFSET","DEC","DECIMAL","DOUBLE","FLOAT","INT","INTEGER","NATIONAL","NCHAR","NUMERIC","NVARCHAR","PRECISION","REAL","SMALLINT","TIME","TIMESTAMP","VARBINARY","VARCHAR"],reservedFunctionNames:["APPROX_COUNT_DISTINCT","AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","STDEV","STDEVP","SUM","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","Collation - COLLATIONPROPERTY","Collation - TERTIARY_WEIGHTS","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","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_ROWS","@@FETCH_STATUS","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","@@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","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","@@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","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","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","ASCII","CHARINDEX","CONCAT","CONCAT_WS","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STRING_AGG","STRING_ESCAPE","STUFF","SUBSTRING","TRANSLATE","TRIM","UNICODE","UPPER","$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","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACK_SENT","@@PACKET_ERRORS","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","COALESCE","NULLIF"],nestedBlockComments:!0,stringTypes:[{quote:"''-qq",prefixes:["N"]},"{}"],identTypes:['""-qq',"[]"],identChars:{first:"#@",rest:"#@$"},paramTypes:{named:["@"],quoted:["@"]},operators:["%","&","|","^","~","!<","!>","+=","-=","*=","/=","%=","|=","&=","^=","::",":"],propertyAccessOperators:[".."]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...tp,...th],tabularOnelineClauses:th}},tg=a(["SELECT [ALL | DISTINCT | DISTINCTROW]"]),ty=a(["WITH","FROM","WHERE","GROUP BY","HAVING","PARTITION BY","ORDER BY","LIMIT","OFFSET","INSERT [IGNORE] [INTO]","VALUES","REPLACE [INTO]","ON DUPLICATE KEY UPDATE","SET","CREATE [OR REPLACE] [TEMPORARY] PROCEDURE [IF NOT EXISTS]","CREATE [OR REPLACE] [EXTERNAL] FUNCTION"]),tG=a(["CREATE [ROWSTORE] [REFERENCE | TEMPORARY | GLOBAL TEMPORARY] TABLE [IF NOT EXISTS]"]),tb=a(["CREATE VIEW","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"]),tv=a(["UNION [ALL | DISTINCT]","EXCEPT","INTERSECT","MINUS"]),tH=a(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL {LEFT | RIGHT} [OUTER] JOIN","STRAIGHT_JOIN"]),tF={name:"singlestoredb",tokenizerOptions:{reservedSelect:tg,reservedClauses:[...ty,...tG,...tb],reservedSetOperations:tv,reservedJoins:tH,reservedKeywordPhrases:a(["ON DELETE","ON UPDATE","CHARACTER SET","{ROWS | RANGE} BETWEEN","IDENTIFIED BY"]),reservedDataTypePhrases:a([]),reservedKeywords:["ADD","ALL","ALTER","ANALYZE","AND","AS","ASC","ASENSITIVE","BEFORE","BETWEEN","_BINARY","BOTH","BY","CALL","CASCADE","CASE","CHANGE","CHECK","COLLATE","COLUMN","CONDITION","CONSTRAINT","CONTINUE","CONVERT","CREATE","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","DATABASE","DATABASES","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DECLARE","DEFAULT","DELAYED","DELETE","DESC","DESCRIBE","DETERMINISTIC","DISTINCT","DISTINCTROW","DIV","DROP","DUAL","EACH","ELSE","ELSEIF","ENCLOSED","ESCAPED","EXCEPT","EXISTS","EXIT","EXPLAIN","EXTRA_JOIN","FALSE","FETCH","FOR","FORCE","FORCE_COMPILED_MODE","FORCE_INTERPRETER_MODE","FOREIGN","FROM","FULL","FULLTEXT","GRANT","GROUP","HAVING","HEARTBEAT_NO_LOGGING","HIGH_PRIORITY","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IF","IGNORE","IN","INDEX","INFILE","INNER","INOUT","INSENSITIVE","INSERT","IN","_INTERNAL_DYNAMIC_TYPECAST","INTERSECT","INTERVAL","INTO","ITERATE","JOIN","KEY","KEYS","KILL","LEADING","LEAVE","LEFT","LIKE","LIMIT","LINES","LOAD","LOCALTIME","LOCALTIMESTAMP","LOCK","LOOP","LOW_PRIORITY","MATCH","MAXVALUE","MINUS","MINUTE_MICROSECOND","MINUTE_SECOND","MOD","MODIFIES","NATURAL","NO_QUERY_REWRITE","NOT","NO_WRITE_TO_BINLOG","NO_QUERY_REWRITE","NULL","ON","OPTIMIZE","OPTION","OPTIONALLY","OR","ORDER","OUT","OUTER","OUTFILE","OVER","PRIMARY","PROCEDURE","PURGE","RANGE","READ","READS","REFERENCES","REGEXP","RELEASE","RENAME","REPEAT","REPLACE","REQUIRE","RESTRICT","RETURN","REVOKE","RIGHT","RIGHT_ANTI_JOIN","RIGHT_SEMI_JOIN","RIGHT_STRAIGHT_JOIN","RLIKE","SCHEMA","SCHEMAS","SECOND_MICROSECOND","SELECT","SEMI_JOIN","SENSITIVE","SEPARATOR","SET","SHOW","SIGNAL","SPATIAL","SPECIFIC","SQL","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQLEXCEPTION","SQL_NO_CACHE","SQL_NO_LOGGING","SQL_SMALL_RESULT","SQLSTATE","SQLWARNING","STRAIGHT_JOIN","TABLE","TERMINATED","THEN","TO","TRAILING","TRIGGER","TRUE","UNBOUNDED","UNDO","UNION","UNIQUE","UNLOCK","UPDATE","USAGE","USE","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","_UTF8","VALUES","WHEN","WHERE","WHILE","WINDOW","WITH","WITHIN","WRITE","XOR","YEAR_MONTH","ZEROFILL"],reservedDataTypes:["BIGINT","BINARY","BIT","BLOB","CHAR","CHARACTER","DATETIME","DEC","DECIMAL","DOUBLE PRECISION","DOUBLE","ENUM","FIXED","FLOAT","FLOAT4","FLOAT8","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","LONG","LONGBLOB","LONGTEXT","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MIDDLEINT","NATIONAL CHAR","NATIONAL VARCHAR","NUMERIC","PRECISION","REAL","SMALLINT","TEXT","TIME","TIMESTAMP","TINYBLOB","TINYINT","TINYTEXT","UNSIGNED","VARBINARY","VARCHAR","VARCHARACTER","YEAR"],reservedFunctionNames:["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","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","VALUES","VARIANCE","VAR_POP","VAR_SAMP","VECTOR_SUB","VERSION","WEEK","WEEKDAY","WEEKOFYEAR","YEAR"],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:eR},formatOptions:{alwaysDenseOperators:["::","::$","::%"],onelineClauses:[...tG,...tb],tabularOnelineClauses:tb}},tB=a(["SELECT [ALL | DISTINCT]"]),tY=a(["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","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"]),tV=a(["CREATE [OR REPLACE] [VOLATILE] TABLE [IF NOT EXISTS]","CREATE [OR REPLACE] [LOCAL | GLOBAL] {TEMP|TEMPORARY} TABLE [IF NOT EXISTS]"]),tx=a(["CREATE [OR REPLACE] [SECURE] [RECURSIVE] VIEW [IF NOT EXISTS]","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"]),tW=a(["UNION [ALL]","MINUS","EXCEPT","INTERSECT"]),tw=a(["[INNER] JOIN","[NATURAL] {LEFT | RIGHT | FULL} [OUTER] JOIN","{CROSS | NATURAL} JOIN"]),tX={name:"snowflake",tokenizerOptions:{reservedSelect:tB,reservedClauses:[...tY,...tV,...tx],reservedSetOperations:tW,reservedJoins:tw,reservedKeywordPhrases:a(["{ROWS | RANGE} BETWEEN","ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]"]),reservedDataTypePhrases:a([]),reservedKeywords:["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","COMMENT"],reservedDataTypes:["NUMBER","DECIMAL","NUMERIC","INT","INTEGER","BIGINT","SMALLINT","TINYINT","BYTEINT","FLOAT","FLOAT4","FLOAT8","DOUBLE","DOUBLE PRECISION","REAL","VARCHAR","CHAR","CHARACTER","STRING","TEXT","BINARY","VARBINARY","BOOLEAN","DATE","DATETIME","TIME","TIMESTAMP","TIMESTAMP_LTZ","TIMESTAMP_NTZ","TIMESTAMP","TIMESTAMP_TZ","VARIANT","OBJECT","ARRAY","GEOGRAPHY","GEOMETRY"],reservedFunctionNames:["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","FILTER","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","GREATEST_IGNORE_NULLS","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","IDENTIFIER","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"],stringTypes:["$$","''-qq-bs"],identTypes:['""-qq'],variableTypes:[{regex:"[$][1-9]\\d*"},{regex:"[$][_a-zA-Z][_a-zA-Z0-9$]*"}],extraParens:["[]"],identChars:{rest:"$"},lineCommentTypes:["--","//"],operators:["%","::","||","=>",":=","->"],propertyAccessOperators:[":"]},formatOptions:{alwaysDenseOperators:["::"],onelineClauses:[...tV,...tx],tabularOnelineClauses:tx}},tK=e=>e[e.length-1],tk=e=>e.sort((e,t)=>t.length-e.length||e.localeCompare(t)),tJ=e=>e.replace(/\s+/gu," "),tj=e=>/\n/.test(e),t$=e=>e.replace(/[.*+?^${}()|[\]\\]/gu,"\\$&"),tq=/\s+/uy,tQ=e=>RegExp(`(?:${e})`,"uy"),tz=e=>e.split("").map(e=>/ /gu.test(e)?"\\s+":`[${e.toUpperCase()}${e.toLowerCase()}]`).join(""),tZ=(e,t=[])=>{let E=+("open"!==e);return tQ(["()",...t].map(e=>e[E]).map(t$).join("|"))},t0=e=>tQ(`${tk(e).map(t$).join("|")}`),t1=(e,t={})=>{if(0===e.length)return/^\b$/u;let E=(({rest:e,dashes:t})=>e||t?`(?![${e||""}${t?"-":""}])`:"")(t),r=tk(e).map(t$).join("|").replace(/ /gu,"\\s+");return RegExp(`(?:${r})${E}\\b`,"iuy")},t2=(e,t)=>{if(!e.length)return;let E=e.map(t$).join("|");return tQ(`(?:${E})(?:${t})`)},t5={"``":"(?:`[^`]*`)+","[]":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,t$(e)).replace(/{right}/g,t$(t))),E=t$(Object.keys(e).join("")),r=String.raw`(?[^\s${E}])(?:(?!\k').)*?\k`;return`[Qq]'(?:${r}|${t.join("|")})'`})()},t6=e=>"string"==typeof e?t5[e]:"regex"in e?e.regex:(({prefixes:e,requirePrefix:t})=>`(?:${e.map(tz).join("|")}${t?"":"|"})`)(e)+t5[e.quote],t4=e=>e.map(t6).join("|"),t8=e=>tQ(t4(e)),t3=({first:e,rest:t,dashes:E,allowFirstCharNumber:r}={})=>{let n="\\p{Alphabetic}\\p{Mark}_",o="\\p{Decimal_Number}",i=t$(null!=e?e:""),a=t$(null!=t?t:""),T=r?`[${n}${o}${i}][${n}${o}${a}]*`:`[${n}${i}][${n}${o}${a}]*`;return E?(e=>e+"(?:-"+e+")*")(T):T};function t9(e,t){let E=e.slice(0,t).split(/\n/);return{line:E.length,col:E[E.length-1].length+1}}class t7{constructor(e,t){this.rules=e,this.dialectName=t,this.input="",this.index=0}tokenize(e){let t;this.input=e,this.index=0;let E=[];for(;this.index0;)if(t=this.matchSection(Ee,e))E+=t,r++;else if(t=this.matchSection(EE,e))E+=t,r--;else{if(!(t=this.matchSection(Et,e)))return null;E+=t}return[E]}matchSection(e,t){e.lastIndex=this.lastIndex;let E=e.exec(t);return E&&(this.lastIndex+=E[0].length),E?E[0]:null}}class En{constructor(e,t){this.cfg=e,this.dialectName=t,this.rulesBeforeParams=this.buildRulesBeforeParams(e),this.rulesAfterParams=this.buildRulesAfterParams(e)}tokenize(e,t){let E=new t7([...this.rulesBeforeParams,...this.buildParamRules(this.cfg,t),...this.rulesAfterParams],this.dialectName).tokenize(e);return this.cfg.postProcess?this.cfg.postProcess(E):E}buildRulesBeforeParams(e){var t,E,n;let o;return this.validRules([{type:r.DISABLE_COMMENT,regex:/(\/\* *sql-formatter-disable *\*\/[\s\S]*?(?:\/\* *sql-formatter-enable *\*\/|$))/uy},{type:r.BLOCK_COMMENT,regex:e.nestedBlockComments?new Er:/(\/\*[^]*?\*\/)/uy},{type:r.LINE_COMMENT,regex:(o=null!=(t=e.lineCommentTypes)?t:["--"],RegExp(`(?:${o.map(t$).join("|")}).*?(?=\r +|\r| +|$)`,"uy"))},{type:r.QUOTED_IDENTIFIER,regex:t8(e.identTypes)},{type:r.NUMBER,regex:e.underscoresInNumbers?/(?:0x[0-9a-fA-F_]+|0b[01_]+|(?:-\s*)?(?:[0-9_]*\.[0-9_]+|[0-9_]+(?:\.[0-9_]*)?)(?:[eE][-+]?[0-9_]+(?:\.[0-9_]+)?)?)(?![\w\p{Alphabetic}])/uy:/(?:0x[0-9a-fA-F]+|0b[01]+|(?:-\s*)?(?:[0-9]*\.[0-9]+|[0-9]+(?:\.[0-9]*)?)(?:[eE][-+]?[0-9]+(?:\.[0-9]+)?)?)(?![\w\p{Alphabetic}])/uy},{type:r.RESERVED_KEYWORD_PHRASE,regex:t1(null!=(E=e.reservedKeywordPhrases)?E:[],e.identChars),text:Eo},{type:r.RESERVED_DATA_TYPE_PHRASE,regex:t1(null!=(n=e.reservedDataTypePhrases)?n:[],e.identChars),text:Eo},{type:r.CASE,regex:/CASE\b/iuy,text:Eo},{type:r.END,regex:/END\b/iuy,text:Eo},{type:r.BETWEEN,regex:/BETWEEN\b/iuy,text:Eo},{type:r.LIMIT,regex:e.reservedClauses.includes("LIMIT")?/LIMIT\b/iuy:void 0,text:Eo},{type:r.RESERVED_CLAUSE,regex:t1(e.reservedClauses,e.identChars),text:Eo},{type:r.RESERVED_SELECT,regex:t1(e.reservedSelect,e.identChars),text:Eo},{type:r.RESERVED_SET_OPERATION,regex:t1(e.reservedSetOperations,e.identChars),text:Eo},{type:r.WHEN,regex:/WHEN\b/iuy,text:Eo},{type:r.ELSE,regex:/ELSE\b/iuy,text:Eo},{type:r.THEN,regex:/THEN\b/iuy,text:Eo},{type:r.RESERVED_JOIN,regex:t1(e.reservedJoins,e.identChars),text:Eo},{type:r.AND,regex:/AND\b/iuy,text:Eo},{type:r.OR,regex:/OR\b/iuy,text:Eo},{type:r.XOR,regex:e.supportsXor?/XOR\b/iuy:void 0,text:Eo},...e.operatorKeyword?[{type:r.OPERATOR,regex:/OPERATOR *\([^)]+\)/iuy}]:[],{type:r.RESERVED_FUNCTION_NAME,regex:t1(e.reservedFunctionNames,e.identChars),text:Eo},{type:r.RESERVED_DATA_TYPE,regex:t1(e.reservedDataTypes,e.identChars),text:Eo},{type:r.RESERVED_KEYWORD,regex:t1(e.reservedKeywords,e.identChars),text:Eo}])}buildRulesAfterParams(e){var t,E;return this.validRules([{type:r.VARIABLE,regex:e.variableTypes?tQ(e.variableTypes.map(e=>"regex"in e?e.regex:t6(e)).join("|")):void 0},{type:r.STRING,regex:t8(e.stringTypes)},{type:r.IDENTIFIER,regex:((e={})=>tQ(t3(e)))(e.identChars)},{type:r.DELIMITER,regex:/[;]/uy},{type:r.COMMA,regex:/[,]/y},{type:r.OPEN_PAREN,regex:tZ("open",e.extraParens)},{type:r.CLOSE_PAREN,regex:tZ("close",e.extraParens)},{type:r.OPERATOR,regex:t0(["+","-","/",">","<","=","<>","<=",">=","!=",...null!=(t=e.operators)?t:[]])},{type:r.ASTERISK,regex:/[*]/uy},{type:r.PROPERTY_ACCESS_OPERATOR,regex:t0([".",...null!=(E=e.propertyAccessOperators)?E:[]])}])}buildParamRules(e,t){var E,n,o,i,a;let T={named:(null==t?void 0:t.named)||(null==(E=e.paramTypes)?void 0:E.named)||[],quoted:(null==t?void 0:t.quoted)||(null==(n=e.paramTypes)?void 0:n.quoted)||[],numbered:(null==t?void 0:t.numbered)||(null==(o=e.paramTypes)?void 0:o.numbered)||[],positional:"boolean"==typeof(null==t?void 0:t.positional)?t.positional:null==(i=e.paramTypes)?void 0:i.positional,custom:(null==t?void 0:t.custom)||(null==(a=e.paramTypes)?void 0:a.custom)||[]};return this.validRules([{type:r.NAMED_PARAMETER,regex:t2(T.named,t3(e.paramChars||e.identChars)),key:e=>e.slice(1)},{type:r.QUOTED_PARAMETER,regex:t2(T.quoted,t4(e.identTypes)),key:e=>(({tokenKey:e,quoteChar:t})=>e.replace(RegExp(t$("\\"+t),"gu"),t))({tokenKey:e.slice(2,-1),quoteChar:e.slice(-1)})},{type:r.NUMBERED_PARAMETER,regex:t2(T.numbered,"[0-9]+"),key:e=>e.slice(1)},{type:r.POSITIONAL_PARAMETER,regex:T.positional?/[?]/y:void 0},...T.custom.map(e=>{var t;return{type:r.CUSTOM_PARAMETER,regex:tQ(e.regex),key:null!=(t=e.key)?t:e=>e}})])}validRules(e){return e.filter(e=>!!e.regex)}}let Eo=e=>tJ(e.toUpperCase()),Ei=new Map,Ea=e=>{var t;return{alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0])),tabularOnelineClauses:Object.fromEntries((null!=(t=e.tabularOnelineClauses)?t:e.onelineClauses).map(e=>[e,!0]))}};function ET(e){return"tabularLeft"===e.indentStyle||"tabularRight"===e.indentStyle}class Es{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 EA=E(25898);let ER=(e,t,E)=>{if(d(e.type)){let n=Ec(E,t);if(n&&n.type===r.PROPERTY_ACCESS_OPERATOR)return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw});let o=EN(E,t);if(o&&o.type===r.PROPERTY_ACCESS_OPERATOR)return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw})}return e},ES=(e,t,E)=>{if(e.type===r.RESERVED_FUNCTION_NAME){let n=EN(E,t);if(!n||!Eu(n))return Object.assign(Object.assign({},e),{type:r.IDENTIFIER,text:e.raw})}return e},EO=(e,t,E)=>{if(e.type===r.RESERVED_DATA_TYPE){let n=EN(E,t);if(n&&Eu(n))return Object.assign(Object.assign({},e),{type:r.RESERVED_PARAMETERIZED_DATA_TYPE})}return e},EI=(e,t,E)=>{if(e.type===r.IDENTIFIER){let n=EN(E,t);if(n&&EC(n))return Object.assign(Object.assign({},e),{type:r.ARRAY_IDENTIFIER})}return e},El=(e,t,E)=>{if(e.type===r.RESERVED_DATA_TYPE){let n=EN(E,t);if(n&&EC(n))return Object.assign(Object.assign({},e),{type:r.ARRAY_KEYWORD})}return e},Ec=(e,t)=>EN(e,t,-1),EN=(e,t,E=1)=>{let r=1;for(;e[t+r*E]&&EL(e[t+r*E]);)r++;return e[t+r*E]},Eu=e=>e.type===r.OPEN_PAREN&&"("===e.text,EC=e=>e.type===r.OPEN_PAREN&&"["===e.text,EL=e=>e.type===r.BLOCK_COMMENT||e.type===r.LINE_COMMENT;class E_{constructor(e){this.tokenize=e,this.index=0,this.tokens=[],this.input=""}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:E}=t9(this.input,e.start);return`Parse error at token: ${e.text} at line ${t} column ${E}`}has(e){return e in r}}function Ed(e){return e[0]}!function(e){e.statement="statement",e.clause="clause",e.set_operation="set_operation",e.function_call="function_call",e.parameterized_data_type="parameterized_data_type",e.array_subscript="array_subscript",e.property_access="property_access",e.parenthesis="parenthesis",e.between_predicate="between_predicate",e.case_expression="case_expression",e.case_when="case_when",e.case_else="case_else",e.limit_clause="limit_clause",e.all_columns_asterisk="all_columns_asterisk",e.literal="literal",e.identifier="identifier",e.keyword="keyword",e.data_type="data_type",e.parameter="parameter",e.operator="operator",e.comma="comma",e.line_comment="line_comment",e.block_comment="block_comment",e.disable_comment="disable_comment"}(n=n||(n={}));let Ef=new E_(e=>[]),ED=([[e]])=>e,EP=e=>({type:n.keyword,tokenType:e.type,text:e.text,raw:e.raw}),Ep=e=>({type:n.data_type,text:e.text,raw:e.raw}),Eh=(e,{leading:t,trailing:E})=>((null==t?void 0:t.length)&&(e=Object.assign(Object.assign({},e),{leadingComments:t})),(null==E?void 0:E.length)&&(e=Object.assign(Object.assign({},e),{trailingComments:E})),e),EM={Lexer:Ef,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:[Ef.has("DELIMITER")?{type:"DELIMITER"}:DELIMITER]},{name:"statement$subexpression$1",symbols:[Ef.has("EOF")?{type:"EOF"}:EOF]},{name:"statement",symbols:["expressions_or_clauses","statement$subexpression$1"],postprocess:([e,[t]])=>({type:n.statement,children:e,hasSemicolon:t.type===r.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:ED},{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:[Ef.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:Ed},{name:"limit_clause$ebnf$1",symbols:[],postprocess:()=>null},{name:"limit_clause",symbols:[Ef.has("LIMIT")?{type:"LIMIT"}:LIMIT,"_","expression_chain_","limit_clause$ebnf$1"],postprocess:([e,t,E,r])=>{if(!r)return{type:n.limit_clause,limitKw:Eh(EP(e),{trailing:t}),count:E};{let[o,i]=r;return{type:n.limit_clause,limitKw:Eh(EP(e),{trailing:t}),offset:E,count:i}}}},{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:[Ef.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT,"select_clause$subexpression$1"],postprocess:([e,[t,E]])=>({type:n.clause,nameKw:EP(e),children:[t,...E]})},{name:"select_clause",symbols:[Ef.has("RESERVED_SELECT")?{type:"RESERVED_SELECT"}:RESERVED_SELECT],postprocess:([e])=>({type:n.clause,nameKw:EP(e),children:[]})},{name:"all_columns_asterisk",symbols:[Ef.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK],postprocess:()=>({type:n.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:[Ef.has("RESERVED_CLAUSE")?{type:"RESERVED_CLAUSE"}:RESERVED_CLAUSE,"other_clause$ebnf$1"],postprocess:([e,t])=>({type:n.clause,nameKw:EP(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:[Ef.has("RESERVED_SET_OPERATION")?{type:"RESERVED_SET_OPERATION"}:RESERVED_SET_OPERATION,"set_operation$ebnf$1"],postprocess:([e,t])=>({type:n.set_operation,nameKw:EP(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:Ed},{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])=>Eh(e,{trailing:t})},{name:"_expression_with_comments",symbols:["_","expression"],postprocess:([e,t])=>Eh(t,{leading:e})},{name:"_andless_expression_with_comments",symbols:["_","andless_expression"],postprocess:([e,t])=>Eh(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:ED},{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:["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:ED},{name:"expression$subexpression$1",symbols:["andless_expression"]},{name:"expression$subexpression$1",symbols:["logic_operator"]},{name:"expression",symbols:["expression$subexpression$1"],postprocess:ED},{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:ED},{name:"asteriskless_andless_expression$subexpression$1",symbols:["atomic_expression"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["between_predicate"]},{name:"asteriskless_andless_expression$subexpression$1",symbols:["case_expression"]},{name:"asteriskless_andless_expression",symbols:["asteriskless_andless_expression$subexpression$1"],postprocess:ED},{name:"atomic_expression$subexpression$1",symbols:["array_subscript"]},{name:"atomic_expression$subexpression$1",symbols:["function_call"]},{name:"atomic_expression$subexpression$1",symbols:["property_access"]},{name:"atomic_expression$subexpression$1",symbols:["parenthesis"]},{name:"atomic_expression$subexpression$1",symbols:["curly_braces"]},{name:"atomic_expression$subexpression$1",symbols:["square_brackets"]},{name:"atomic_expression$subexpression$1",symbols:["operator"]},{name:"atomic_expression$subexpression$1",symbols:["identifier"]},{name:"atomic_expression$subexpression$1",symbols:["parameter"]},{name:"atomic_expression$subexpression$1",symbols:["literal"]},{name:"atomic_expression$subexpression$1",symbols:["data_type"]},{name:"atomic_expression$subexpression$1",symbols:["keyword"]},{name:"atomic_expression",symbols:["atomic_expression$subexpression$1"],postprocess:ED},{name:"array_subscript",symbols:[Ef.has("ARRAY_IDENTIFIER")?{type:"ARRAY_IDENTIFIER"}:ARRAY_IDENTIFIER,"_","square_brackets"],postprocess:([e,t,E])=>({type:n.array_subscript,array:Eh({type:n.identifier,quoted:!1,text:e.text},{trailing:t}),parenthesis:E})},{name:"array_subscript",symbols:[Ef.has("ARRAY_KEYWORD")?{type:"ARRAY_KEYWORD"}:ARRAY_KEYWORD,"_","square_brackets"],postprocess:([e,t,E])=>({type:n.array_subscript,array:Eh(EP(e),{trailing:t}),parenthesis:E})},{name:"function_call",symbols:[Ef.has("RESERVED_FUNCTION_NAME")?{type:"RESERVED_FUNCTION_NAME"}:RESERVED_FUNCTION_NAME,"_","parenthesis"],postprocess:([e,t,E])=>({type:n.function_call,nameKw:Eh(EP(e),{trailing:t}),parenthesis:E})},{name:"parenthesis",symbols:[{literal:"("},"expressions_or_clauses",{literal:")"}],postprocess:([e,t,E])=>({type:n.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,E])=>({type:n.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,E])=>({type:n.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$subexpression$1",symbols:["parameter"]},{name:"property_access",symbols:["atomic_expression","_",Ef.has("PROPERTY_ACCESS_OPERATOR")?{type:"PROPERTY_ACCESS_OPERATOR"}:PROPERTY_ACCESS_OPERATOR,"_","property_access$subexpression$1"],postprocess:([e,t,E,r,[o]])=>({type:n.property_access,object:Eh(e,{trailing:t}),operator:E.text,property:Eh(o,{leading:r})})},{name:"between_predicate",symbols:[Ef.has("BETWEEN")?{type:"BETWEEN"}:BETWEEN,"_","andless_expression_chain","_",Ef.has("AND")?{type:"AND"}:AND,"_","andless_expression"],postprocess:([e,t,E,r,o,i,a])=>({type:n.between_predicate,betweenKw:EP(e),expr1:((e,{leading:t,trailing:E})=>{if(null==t?void 0:t.length){let[E,...r]=e;e=[Eh(E,{leading:t}),...r]}return(null==E?void 0:E.length)&&(e=[...e.slice(0,-1),Eh(e[e.length-1],{trailing:E})]),e})(E,{leading:t,trailing:r}),andKw:EP(o),expr2:[Eh(a,{leading:i})]})},{name:"case_expression$ebnf$1",symbols:["expression_chain_"],postprocess:Ed},{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:[Ef.has("CASE")?{type:"CASE"}:CASE,"_","case_expression$ebnf$1","case_expression$ebnf$2",Ef.has("END")?{type:"END"}:END],postprocess:([e,t,E,r,o])=>({type:n.case_expression,caseKw:Eh(EP(e),{trailing:t}),endKw:EP(o),expr:E||[],clauses:r})},{name:"case_clause",symbols:[Ef.has("WHEN")?{type:"WHEN"}:WHEN,"_","expression_chain_",Ef.has("THEN")?{type:"THEN"}:THEN,"_","expression_chain_"],postprocess:([e,t,E,r,o,i])=>({type:n.case_when,whenKw:Eh(EP(e),{trailing:t}),thenKw:Eh(EP(r),{trailing:o}),condition:E,result:i})},{name:"case_clause",symbols:[Ef.has("ELSE")?{type:"ELSE"}:ELSE,"_","expression_chain_"],postprocess:([e,t,E])=>({type:n.case_else,elseKw:Eh(EP(e),{trailing:t}),result:E})},{name:"comma$subexpression$1",symbols:[Ef.has("COMMA")?{type:"COMMA"}:COMMA]},{name:"comma",symbols:["comma$subexpression$1"],postprocess:([[e]])=>({type:n.comma})},{name:"asterisk$subexpression$1",symbols:[Ef.has("ASTERISK")?{type:"ASTERISK"}:ASTERISK]},{name:"asterisk",symbols:["asterisk$subexpression$1"],postprocess:([[e]])=>({type:n.operator,text:e.text})},{name:"operator$subexpression$1",symbols:[Ef.has("OPERATOR")?{type:"OPERATOR"}:OPERATOR]},{name:"operator",symbols:["operator$subexpression$1"],postprocess:([[e]])=>({type:n.operator,text:e.text})},{name:"identifier$subexpression$1",symbols:[Ef.has("IDENTIFIER")?{type:"IDENTIFIER"}:IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[Ef.has("QUOTED_IDENTIFIER")?{type:"QUOTED_IDENTIFIER"}:QUOTED_IDENTIFIER]},{name:"identifier$subexpression$1",symbols:[Ef.has("VARIABLE")?{type:"VARIABLE"}:VARIABLE]},{name:"identifier",symbols:["identifier$subexpression$1"],postprocess:([[e]])=>({type:n.identifier,quoted:"IDENTIFIER"!==e.type,text:e.text})},{name:"parameter$subexpression$1",symbols:[Ef.has("NAMED_PARAMETER")?{type:"NAMED_PARAMETER"}:NAMED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("QUOTED_PARAMETER")?{type:"QUOTED_PARAMETER"}:QUOTED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("NUMBERED_PARAMETER")?{type:"NUMBERED_PARAMETER"}:NUMBERED_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("POSITIONAL_PARAMETER")?{type:"POSITIONAL_PARAMETER"}:POSITIONAL_PARAMETER]},{name:"parameter$subexpression$1",symbols:[Ef.has("CUSTOM_PARAMETER")?{type:"CUSTOM_PARAMETER"}:CUSTOM_PARAMETER]},{name:"parameter",symbols:["parameter$subexpression$1"],postprocess:([[e]])=>({type:n.parameter,key:e.key,text:e.text})},{name:"literal$subexpression$1",symbols:[Ef.has("NUMBER")?{type:"NUMBER"}:NUMBER]},{name:"literal$subexpression$1",symbols:[Ef.has("STRING")?{type:"STRING"}:STRING]},{name:"literal",symbols:["literal$subexpression$1"],postprocess:([[e]])=>({type:n.literal,text:e.text})},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_KEYWORD")?{type:"RESERVED_KEYWORD"}:RESERVED_KEYWORD]},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_KEYWORD_PHRASE")?{type:"RESERVED_KEYWORD_PHRASE"}:RESERVED_KEYWORD_PHRASE]},{name:"keyword$subexpression$1",symbols:[Ef.has("RESERVED_JOIN")?{type:"RESERVED_JOIN"}:RESERVED_JOIN]},{name:"keyword",symbols:["keyword$subexpression$1"],postprocess:([[e]])=>EP(e)},{name:"data_type$subexpression$1",symbols:[Ef.has("RESERVED_DATA_TYPE")?{type:"RESERVED_DATA_TYPE"}:RESERVED_DATA_TYPE]},{name:"data_type$subexpression$1",symbols:[Ef.has("RESERVED_DATA_TYPE_PHRASE")?{type:"RESERVED_DATA_TYPE_PHRASE"}:RESERVED_DATA_TYPE_PHRASE]},{name:"data_type",symbols:["data_type$subexpression$1"],postprocess:([[e]])=>Ep(e)},{name:"data_type",symbols:[Ef.has("RESERVED_PARAMETERIZED_DATA_TYPE")?{type:"RESERVED_PARAMETERIZED_DATA_TYPE"}:RESERVED_PARAMETERIZED_DATA_TYPE,"_","parenthesis"],postprocess:([e,t,E])=>({type:n.parameterized_data_type,dataType:Eh(Ep(e),{trailing:t}),parenthesis:E})},{name:"logic_operator$subexpression$1",symbols:[Ef.has("AND")?{type:"AND"}:AND]},{name:"logic_operator$subexpression$1",symbols:[Ef.has("OR")?{type:"OR"}:OR]},{name:"logic_operator$subexpression$1",symbols:[Ef.has("XOR")?{type:"XOR"}:XOR]},{name:"logic_operator",symbols:["logic_operator$subexpression$1"],postprocess:([[e]])=>EP(e)},{name:"other_keyword$subexpression$1",symbols:[Ef.has("WHEN")?{type:"WHEN"}:WHEN]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("THEN")?{type:"THEN"}:THEN]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("ELSE")?{type:"ELSE"}:ELSE]},{name:"other_keyword$subexpression$1",symbols:[Ef.has("END")?{type:"END"}:END]},{name:"other_keyword",symbols:["other_keyword$subexpression$1"],postprocess:([[e]])=>EP(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:[Ef.has("LINE_COMMENT")?{type:"LINE_COMMENT"}:LINE_COMMENT],postprocess:([e])=>({type:n.line_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[Ef.has("BLOCK_COMMENT")?{type:"BLOCK_COMMENT"}:BLOCK_COMMENT],postprocess:([e])=>({type:n.block_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})},{name:"comment",symbols:[Ef.has("DISABLE_COMMENT")?{type:"DISABLE_COMMENT"}:DISABLE_COMMENT],postprocess:([e])=>({type:n.disable_comment,text:e.text,precedingWhitespace:e.precedingWhitespace})}],ParserStart:"main"},{Parser:Em,Grammar:EU}=EA;!function(e){e[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"}(o=o||(o={}));class Eg{constructor(e){this.indentation=e,this.items=[]}add(...e){for(let t of e)switch(t){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(t)}}trimHorizontalWhitespace(){for(;Ey(tK(this.items));)this.items.pop()}trimWhitespace(){for(;EG(tK(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(tK(this.items)){case o.NEWLINE:this.items.pop(),this.items.push(e);break;case o.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 o.SPACE:return" ";case o.NEWLINE:case o.MANDATORY_NEWLINE:return"\n";case o.SINGLE_INDENT:return this.indentation.getSingleIndent();default:return e}}}let Ey=e=>e===o.SPACE||e===o.SINGLE_INDENT,EG=e=>e===o.SPACE||e===o.SINGLE_INDENT||e===o.NEWLINE;function Eb(e,t){if("standard"===t)return e;let E=[];return e.length>=10&&e.includes(" ")&&([e,...E]=e.split(" ")),(e="tabularLeft"===t?e.padEnd(9," "):e.padStart(9," "))+["",...E].join(" ")}function Ev(e){return e===r.AND||e===r.OR||e===r.XOR||e===r.RESERVED_CLAUSE||e===r.RESERVED_SELECT||e===r.RESERVED_SET_OPERATION||e===r.RESERVED_JOIN||e===r.LIMIT}let EH="top-level";class EF{constructor(e){this.indent=e,this.indentTypes=[]}getSingleIndent(){return this.indent}getLevel(){return this.indentTypes.length}increaseTopLevel(){this.indentTypes.push(EH)}increaseBlockLevel(){this.indentTypes.push("block-level")}decreaseTopLevel(){this.indentTypes.length>0&&tK(this.indentTypes)===EH&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0&&this.indentTypes.pop()===EH;);}}class EB extends Eg{constructor(e){super(new EF("")),this.expressionWidth=e,this.length=0,this.trailingSpace=!1}add(...e){if(e.forEach(e=>this.addToLength(e)),this.length>this.expressionWidth)throw new EY;super.add(...e)}addToLength(e){if("string"==typeof e)this.length+=e.length,this.trailingSpace=!1;else if(e===o.MANDATORY_NEWLINE||e===o.NEWLINE)throw new EY;else e===o.INDENT||e===o.SINGLE_INDENT||e===o.SPACE?this.trailingSpace||(this.length++,this.trailingSpace=!0):(e===o.NO_NEWLINE||e===o.NO_SPACE)&&this.trailingSpace&&(this.trailingSpace=!1,this.length--)}}class EY extends Error{}class EV{constructor({cfg:e,dialectCfg:t,params:E,layout:r,inline:n=!1}){this.inline=!1,this.nodes=[],this.index=-1,this.cfg=e,this.dialectCfg=t,this.inline=n,this.params=E,this.layout=r}format(e){for(this.nodes=e,this.index=0;this.index{this.layout.add(this.showFunctionKw(e.nameKw))}),this.formatNode(e.parenthesis)}formatParameterizedDataType(e){this.withComments(e.dataType,()=>{this.layout.add(this.showDataType(e.dataType))}),this.formatNode(e.parenthesis)}formatArraySubscript(e){let t;switch(e.array.type){case n.data_type:t=this.showDataType(e.array);break;case n.keyword:t=this.showKw(e.array);break;default:t=this.showIdentifier(e.array)}this.withComments(e.array,()=>{this.layout.add(t)}),this.formatNode(e.parenthesis)}formatPropertyAccess(e){this.formatNode(e.object),this.layout.add(o.NO_SPACE,e.operator),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(o.NO_SPACE,e.closeParen,o.SPACE)):(this.layout.add(e.openParen,o.NEWLINE),ET(this.cfg)?(this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children)):(this.layout.indentation.increaseBlockLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseBlockLevel()),this.layout.add(o.NEWLINE,o.INDENT,e.closeParen,o.SPACE))}formatBetweenPredicate(e){this.layout.add(this.showKw(e.betweenKw),o.SPACE),this.layout=this.formatSubExpression(e.expr1),this.layout.add(o.NO_SPACE,o.SPACE,this.showNonTabularKw(e.andKw),o.SPACE),this.layout=this.formatSubExpression(e.expr2),this.layout.add(o.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(o.NEWLINE,o.INDENT),this.formatNode(e.endKw)}formatCaseWhen(e){this.layout.add(o.NEWLINE,o.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(o.NEWLINE,o.INDENT),this.formatNode(e.elseKw),this.layout=this.formatSubExpression(e.result)}formatClause(e){this.isOnelineClause(e)?this.formatClauseInOnelineStyle(e):ET(this.cfg)?this.formatClauseInTabularStyle(e):this.formatClauseInIndentedStyle(e)}isOnelineClause(e){return ET(this.cfg)?this.dialectCfg.tabularOnelineClauses[e.nameKw.text]:this.dialectCfg.onelineClauses[e.nameKw.text]}formatClauseInIndentedStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.NEWLINE),this.layout.indentation.increaseTopLevel(),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatClauseInOnelineStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.SPACE),this.layout=this.formatSubExpression(e.children)}formatClauseInTabularStyle(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.SPACE),this.layout.indentation.increaseTopLevel(),this.layout=this.formatSubExpression(e.children),this.layout.indentation.decreaseTopLevel()}formatSetOperation(e){this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.nameKw),o.NEWLINE),this.layout.add(o.INDENT),this.layout=this.formatSubExpression(e.children)}formatLimitClause(e){this.withComments(e.limitKw,()=>{this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e.limitKw))}),this.layout.indentation.increaseTopLevel(),ET(this.cfg)?this.layout.add(o.SPACE):this.layout.add(o.NEWLINE,o.INDENT),e.offset&&(this.layout=this.formatSubExpression(e.offset),this.layout.add(o.NO_SPACE,",",o.SPACE)),this.layout=this.formatSubExpression(e.count),this.layout.indentation.decreaseTopLevel()}formatAllColumnsAsterisk(e){this.layout.add("*",o.SPACE)}formatLiteral(e){this.layout.add(e.text,o.SPACE)}formatIdentifier(e){this.layout.add(this.showIdentifier(e),o.SPACE)}formatParameter(e){this.layout.add(this.params.get(e),o.SPACE)}formatOperator({text:e}){this.cfg.denseOperators||this.dialectCfg.alwaysDenseOperators.includes(e)?this.layout.add(o.NO_SPACE,e):":"===e?this.layout.add(o.NO_SPACE,e,o.SPACE):this.layout.add(e,o.SPACE)}formatComma(e){this.inline?this.layout.add(o.NO_SPACE,",",o.SPACE):this.layout.add(o.NO_SPACE,",",o.NEWLINE,o.INDENT)}withComments(e,t){this.formatComments(e.leadingComments),t(),this.formatComments(e.trailingComments)}formatComments(e){e&&e.forEach(e=>{e.type===n.line_comment?this.formatLineComment(e):this.formatBlockComment(e)})}formatLineComment(e){tj(e.precedingWhitespace||"")?this.layout.add(o.NEWLINE,o.INDENT,e.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.getLayoutItems().length>0?this.layout.add(o.NO_NEWLINE,o.SPACE,e.text,o.MANDATORY_NEWLINE,o.INDENT):this.layout.add(e.text,o.MANDATORY_NEWLINE,o.INDENT)}formatBlockComment(e){e.type===n.block_comment&&this.isMultilineBlockComment(e)?(this.splitBlockComment(e.text).forEach(e=>{this.layout.add(o.NEWLINE,o.INDENT,e)}),this.layout.add(o.NEWLINE,o.INDENT)):this.layout.add(e.text,o.SPACE)}isMultilineBlockComment(e){return tj(e.text)||tj(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(tK(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 EV({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 EV({cfg:this.cfg,dialectCfg:this.dialectCfg,params:this.params,layout:new EB(this.cfg.expressionWidth),inline:!0}).format(e)}catch(e){if(e instanceof EY)return void this.params.setPositionalParameterIndex(t);throw e}}formatKeywordNode(e){switch(e.tokenType){case r.RESERVED_JOIN:return this.formatJoin(e);case r.AND:case r.OR:case r.XOR:return this.formatLogicalOperator(e);default:return this.formatKeyword(e)}}formatJoin(e){ET(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE)}formatKeyword(e){this.layout.add(this.showKw(e),o.SPACE)}formatLogicalOperator(e){"before"===this.cfg.logicalOperatorNewline?ET(this.cfg)?(this.layout.indentation.decreaseTopLevel(),this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE),this.layout.indentation.increaseTopLevel()):this.layout.add(o.NEWLINE,o.INDENT,this.showKw(e),o.SPACE):this.layout.add(this.showKw(e),o.NEWLINE,o.INDENT)}formatDataType(e){this.layout.add(this.showDataType(e),o.SPACE)}showKw(e){return Ev(e.tokenType)?Eb(this.showNonTabularKw(e),this.cfg.indentStyle):this.showNonTabularKw(e)}showNonTabularKw(e){switch(this.cfg.keywordCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}showFunctionKw(e){return Ev(e.tokenType)?Eb(this.showNonTabularFunctionKw(e),this.cfg.indentStyle):this.showNonTabularFunctionKw(e)}showNonTabularFunctionKw(e){switch(this.cfg.functionCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}showIdentifier(e){if(e.quoted)return e.text;switch(this.cfg.identifierCase){case"preserve":return e.text;case"upper":return e.text.toUpperCase();case"lower":return e.text.toLowerCase()}}showDataType(e){switch(this.cfg.dataTypeCase){case"preserve":return tJ(e.raw);case"upper":return e.text;case"lower":return e.text.toLowerCase()}}}class Ex{constructor(e,t){this.dialect=e,this.cfg=t,this.params=new Es(this.cfg.params)}format(e){let t=this.parse(e);return this.formatAst(t).trimEnd()}parse(e){return(function(e){let t={},E=new E_(E=>[...e.tokenize(E,t).map(ER).map(ES).map(EO).map(EI).map(El),u(E.length)]),r=new Em(EU.fromCompiled(EM),{lexer:E});return{parse:(e,E)=>{t=E;let{results:n}=r.feed(e);if(1===n.length)return n[0];if(0===n.length)throw Error("Parse error: Invalid SQL");throw Error(`Parse error: Ambiguous grammar +${JSON.stringify(n,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){var t;let E=new EV({cfg:this.cfg,dialectCfg:this.dialect.formatOptions,params:this.params,layout:new Eg(new EF("tabularLeft"===(t=this.cfg).indentStyle||"tabularRight"===t.indentStyle?" ".repeat(10):t.useTabs?" ":" ".repeat(t.tabWidth)))}).format(e.children);return e.hasSemicolon&&(this.cfg.newlineBeforeSemicolon?E.add(o.NEWLINE,";"):E.add(o.NO_NEWLINE,";")),E.toString()}}class EW extends Error{}var Ew=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let EX={bigquery:"bigquery",clickhouse:"clickhouse",db2:"db2",db2i:"db2i",duckdb:"duckdb",hive:"hive",mariadb:"mariadb",mysql:"mysql",n1ql:"n1ql",plsql:"plsql",postgresql:"postgresql",redshift:"redshift",spark:"spark",sqlite:"sqlite",sql:"sql",tidb:"tidb",trino:"trino",transactsql:"transactsql",tsql:"transactsql",singlestoredb:"singlestoredb",snowflake:"snowflake"},EK=Object.keys(EX),Ek={tabWidth:2,useTabs:!1,keywordCase:"preserve",identifierCase:"preserve",dataTypeCase:"preserve",functionCase:"preserve",indentStyle:"standard",logicalOperatorNewline:"before",expressionWidth:50,linesBetweenQueries:1,denseOperators:!1,newlineBeforeSemicolon:!1},EJ=(e,t={})=>{if("string"==typeof t.language&&!EK.includes(t.language))throw new EW(`Unsupported SQL dialect: ${t.language}`);let E=EX[t.language||"sql"];return Ej(e,Object.assign(Object.assign({},t),{dialect:i[E]}))},Ej=(e,t)=>{var{dialect:E}=t,r=Ew(t,["dialect"]);if("string"!=typeof e)throw Error("Invalid query argument. Expected string, instead got "+typeof e);let n=function(e){var t,E;for(let t of["multilineLists","newlineBeforeOpenParen","newlineBeforeCloseParen","aliasAs","commaPosition","tabulateAlias"])if(t in e)throw new EW(`${t} config is no more supported.`);if(e.expressionWidth<=0)throw new EW(`expressionWidth config must be positive number. Received ${e.expressionWidth} instead.`);if(e.params&&!((t=e.params)instanceof Array?t:Object.values(t)).every(e=>"string"==typeof e)&&console.warn('WARNING: All "params" option values should be strings.'),e.paramTypes&&!(!((E=e.paramTypes).custom&&Array.isArray(E.custom))||E.custom.every(e=>""!==e.regex)))throw new EW("Empty regex given in custom paramTypes. That would result in matching infinite amount of parameters.");return e}(Object.assign(Object.assign({},Ek),r));return new Ex((e=>{let t=Ei.get(e);return t||(t=(e=>({tokenizer:new En(e.tokenizerOptions,e.name),formatOptions:Ea(e.formatOptions)}))(e),Ei.set(e,t)),t})(E),n).format(e)}},22801:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(12115);function n(e,t,E){var n=r.useRef({});return(!("value"in n.current)||E(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}},23464:(e,t,E)=>{"use strict";E.d(t,{A:()=>tr});var r,n,o={};function i(e,t){return function(){return e.apply(t,arguments)}}E.r(o),E.d(o,{hasBrowserEnv:()=>eA,hasStandardBrowserEnv:()=>eS,hasStandardBrowserWebWorkerEnv:()=>eO,navigator:()=>eR,origin:()=>eI});var a=E(49509);let{toString:T}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:A,toStringTag:R}=Symbol,S=(e=>t=>{let E=T.call(t);return e[E]||(e[E]=E.slice(8,-1).toLowerCase())})(Object.create(null)),O=e=>(e=e.toLowerCase(),t=>S(t)===e),I=e=>t=>typeof t===e,{isArray:l}=Array,c=I("undefined");function N(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&L(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let u=O("ArrayBuffer"),C=I("string"),L=I("function"),_=I("number"),d=e=>null!==e&&"object"==typeof e,f=e=>{if("object"!==S(e))return!1;let t=s(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(R in e)&&!(A in e)},D=O("Date"),P=O("File"),p=O("Blob"),h=O("FileList"),M=O("URLSearchParams"),[m,U,g,y]=["ReadableStream","Request","Response","Headers"].map(O);function G(e,t,{allOwnKeys:E=!1}={}){let r,n;if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(r=0,n=e.length;r0;)if(t===(E=r[n]).toLowerCase())return E;return null}let v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,H=e=>!c(e)&&e!==v,F=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&s(Uint8Array)),B=O("HTMLFormElement"),Y=(({hasOwnProperty:e})=>(t,E)=>e.call(t,E))(Object.prototype),V=O("RegExp"),x=(e,t)=>{let E=Object.getOwnPropertyDescriptors(e),r={};G(E,(E,n)=>{let o;!1!==(o=t(E,n,e))&&(r[n]=o||E)}),Object.defineProperties(e,r)},W=O("AsyncFunction"),w=(r="function"==typeof setImmediate,n=L(v.postMessage),r?setImmediate:n?((e,t)=>(v.addEventListener("message",({source:E,data:r})=>{E===v&&r===e&&t.length&&t.shift()()},!1),E=>{t.push(E),v.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(v):void 0!==a&&a.nextTick||w,K={isArray:l,isArrayBuffer:u,isBuffer:N,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||L(e.append)&&("formdata"===(t=S(e))||"object"===t&&L(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:C,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:d,isPlainObject:f,isEmptyObject:e=>{if(!d(e)||N(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:m,isRequest:U,isResponse:g,isHeaders:y,isUndefined:c,isDate:D,isFile:P,isBlob:p,isRegExp:V,isFunction:L,isStream:e=>d(e)&&L(e.pipe),isURLSearchParams:M,isTypedArray:F,isFileList:h,forEach:G,merge:function e(){let{caseless:t,skipUndefined:E}=H(this)&&this||{},r={},n=(n,o)=>{let i=t&&b(r,o)||o;f(r[i])&&f(n)?r[i]=e(r[i],n):f(n)?r[i]=e({},n):l(n)?r[i]=n.slice():E&&c(n)||(r[i]=n)};for(let e=0,t=arguments.length;e(G(t,(t,r)=>{E&&L(t)?Object.defineProperty(e,r,{value:i(t,E),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,E,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),E&&Object.assign(e.prototype,E)},toFlatObject:(e,t,E,r)=>{let n,o,i,a={};if(t=t||{},null==e)return t;do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)i=n[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=!1!==E&&s(e)}while(e&&(!E||E(e,t))&&e!==Object.prototype);return t},kindOf:S,kindOfTest:O,endsWith:(e,t,E)=>{e=String(e),(void 0===E||E>e.length)&&(E=e.length),E-=t.length;let r=e.indexOf(t,E);return -1!==r&&r===E},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!_(t))return null;let E=Array(t);for(;t-- >0;)E[t]=e[t];return E},forEachEntry:(e,t)=>{let E,r=(e&&e[A]).call(e);for(;(E=r.next())&&!E.done;){let r=E.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let E,r=[];for(;null!==(E=e.exec(t));)r.push(E);return r},isHTMLForm:B,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:x,freezeMethods:e=>{x(e,(t,E)=>{if(L(e)&&-1!==["arguments","caller","callee"].indexOf(E))return!1;if(L(e[E])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+E+"'")})}})},toObjectSet:(e,t)=>{let E={};return(l(e)?e:String(e).split(t)).forEach(e=>{E[e]=!0}),E},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,E){return t.toUpperCase()+E}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:b,global:v,isContextDefined:H,isSpecCompliantForm:function(e){return!!(e&&L(e.append)&&"FormData"===e[R]&&e[A])},toJSONObject:e=>{let t=Array(10),E=(e,r)=>{if(d(e)){if(t.indexOf(e)>=0)return;if(N(e))return e;if(!("toJSON"in e)){t[r]=e;let n=l(e)?[]:{};return G(e,(e,t)=>{let o=E(e,r+1);c(o)||(n[t]=o)}),t[r]=void 0,n}}return e};return E(e,0)},isAsyncFn:W,isThenable:e=>e&&(d(e)||L(e))&&L(e.then)&&L(e.catch),setImmediate:w,asap:X,isIterable:e=>null!=e&&L(e[A])};class k extends Error{static from(e,t,E,r,n,o){let i=new k(e.message,t||e.code,E,r,n);return i.cause=e,i.name=e.name,o&&Object.assign(i,o),i}constructor(e,t,E,r,n){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),E&&(this.config=E),r&&(this.request=r),n&&(this.response=n,this.status=n.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.status}}}k.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",k.ERR_BAD_OPTION="ERR_BAD_OPTION",k.ECONNABORTED="ECONNABORTED",k.ETIMEDOUT="ETIMEDOUT",k.ERR_NETWORK="ERR_NETWORK",k.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",k.ERR_DEPRECATED="ERR_DEPRECATED",k.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",k.ERR_BAD_REQUEST="ERR_BAD_REQUEST",k.ERR_CANCELED="ERR_CANCELED",k.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",k.ERR_INVALID_URL="ERR_INVALID_URL";let J=k;var j=E(49641).Buffer;function $(e){return K.isPlainObject(e)||K.isArray(e)}function q(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,E){return e?e.concat(t).map(function(e,t){return e=q(e),!E&&t?"["+e+"]":e}).join(E?".":""):t}let z=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)}),Z=function(e,t,E){if(!K.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(E=K.toFlatObject(E,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!K.isUndefined(t[e])})).metaTokens,n=E.visitor||s,o=E.dots,i=E.indexes,a=(E.Blob||"undefined"!=typeof Blob&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(n))throw TypeError("visitor must be a function");function T(e){if(null===e)return"";if(K.isDate(e))return e.toISOString();if(K.isBoolean(e))return e.toString();if(!a&&K.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(e)||K.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):j.from(e):e}function s(e,E,n){let a=e;if(e&&!n&&"object"==typeof e)if(K.endsWith(E,"{}"))E=r?E:E.slice(0,-2),e=JSON.stringify(e);else{var s;if(K.isArray(e)&&(s=e,K.isArray(s)&&!s.some($))||(K.isFileList(e)||K.endsWith(E,"[]"))&&(a=K.toArray(e)))return E=q(E),a.forEach(function(e,r){K.isUndefined(e)||null===e||t.append(!0===i?Q([E],r,o):null===i?E:E+"[]",T(e))}),!1}return!!$(e)||(t.append(Q(n,E,o),T(e)),!1)}let A=[],R=Object.assign(z,{defaultVisitor:s,convertValue:T,isVisitable:$});if(!K.isObject(e))throw TypeError("data must be an object");return!function e(E,r){if(!K.isUndefined(E)){if(-1!==A.indexOf(E))throw Error("Circular reference detected in "+r.join("."));A.push(E),K.forEach(E,function(E,o){!0===(!(K.isUndefined(E)||null===E)&&n.call(t,E,K.isString(o)?o.trim():o,r,R))&&e(E,r?r.concat(o):[o])}),A.pop()}}(e),t};function ee(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function et(e,t){this._pairs=[],e&&Z(e,this,t)}let eE=et.prototype;function er(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function en(e,t,E){let r;if(!t)return e;let n=E&&E.encode||er,o=K.isFunction(E)?{serialize:E}:E,i=o&&o.serialize;if(r=i?i(t,o):K.isURLSearchParams(t)?t.toString():new et(t,o).toString(n)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}eE.append=function(e,t){this._pairs.push([e,t])},eE.toString=function(e){let t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eo{constructor(){this.handlers=[]}use(e,t,E){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!E&&E.synchronous,runWhen:E?E.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(t){null!==t&&e(t)})}}let ei={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ea="undefined"!=typeof URLSearchParams?URLSearchParams:et,eT="undefined"!=typeof FormData?FormData:null,es="undefined"!=typeof Blob?Blob:null,eA="undefined"!=typeof window&&"undefined"!=typeof document,eR="object"==typeof navigator&&navigator||void 0,eS=eA&&(!eR||0>["ReactNative","NativeScript","NS"].indexOf(eR.product)),eO="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eI=eA&&window.location.href||"http://localhost",el={...o,isBrowser:!0,classes:{URLSearchParams:ea,FormData:eT,Blob:es},protocols:["http","https","file","blob","url","data"]},ec=function(e){if(K.isFormData(e)&&K.isFunction(e.entries)){let t={};return K.forEachEntry(e,(e,E)=>{!function e(t,E,r,n){let o=t[n++];if("__proto__"===o)return!0;let i=Number.isFinite(+o),a=n>=t.length;return(o=!o&&K.isArray(r)?r.length:o,a)?K.hasOwnProp(r,o)?r[o]=[r[o],E]:r[o]=E:(r[o]&&K.isObject(r[o])||(r[o]=[]),e(t,E,r[o],n)&&K.isArray(r[o])&&(r[o]=function(e){let t,E,r={},n=Object.keys(e),o=n.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),E,t,0)}),t}return null},eN={transitional:ei,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let E,r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=K.isObject(e);if(o&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return n?JSON.stringify(ec(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var i,a;return(i=e,a=this.formSerializer,Z(i,new el.classes.URLSearchParams,{visitor:function(e,t,E,r){return el.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...a})).toString()}if((E=K.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return Z(E?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||n){t.setContentType("application/json",!1);var T=e;if(K.isString(T))try{return(0,JSON.parse)(T),K.trim(T)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(T)}return e}],transformResponse:[function(e){let t=this.transitional||eN.transitional,E=t&&t.forcedJSONParsing,r="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(E&&!this.responseType||r)){let E=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!E&&r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:el.classes.FormData,Blob:el.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{eN.headers[e]={}});let eu=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eC=Symbol("internals");function eL(e){return e&&String(e).trim().toLowerCase()}function e_(e){return!1===e||null==e?e:K.isArray(e)?e.map(e_):String(e)}function ed(e,t,E,r,n){if(K.isFunction(r))return r.call(this,t,E);if(n&&(t=E),K.isString(t)){if(K.isString(r))return -1!==t.indexOf(r);if(K.isRegExp(r))return r.test(t)}}class ef{constructor(e){e&&this.set(e)}set(e,t,E){let r=this;function n(e,t,E){let n=eL(t);if(!n)throw Error("header name must be a non-empty string");let o=K.findKey(r,n);o&&void 0!==r[o]&&!0!==E&&(void 0!==E||!1===r[o])||(r[o||t]=e_(e))}let o=(e,t)=>K.forEach(e,(e,E)=>n(e,E,t));if(K.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{let r;if(K.isString(e)&&(e=e.trim())&&(r=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim())))o((e=>{let t,E,r,n={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),E=e.substring(r+1).trim(),!t||n[t]&&eu[t]||("set-cookie"===t?n[t]?n[t].push(E):n[t]=[E]:n[t]=n[t]?n[t]+", "+E:E)}),n})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let E={},r,n;for(let t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");E[n=t[0]]=(r=E[n])?K.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}o(E,t)}else null!=e&&n(t,e,E)}return this}get(e,t){if(e=eL(e)){let E=K.findKey(this,e);if(E){let e=this[E];if(!t)return e;if(!0===t){let t,E=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)E[t[1]]=t[2];return E}if(K.isFunction(t))return t.call(this,e,E);if(K.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eL(e)){let E=K.findKey(this,e);return!!(E&&void 0!==this[E]&&(!t||ed(this,this[E],E,t)))}return!1}delete(e,t){let E=this,r=!1;function n(e){if(e=eL(e)){let n=K.findKey(E,e);n&&(!t||ed(E,E[n],n,t))&&(delete E[n],r=!0)}}return K.isArray(e)?e.forEach(n):n(e),r}clear(e){let t=Object.keys(this),E=t.length,r=!1;for(;E--;){let n=t[E];(!e||ed(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let t=this,E={};return K.forEach(this,(r,n)=>{let o=K.findKey(E,n);if(o){t[o]=e_(r),delete t[n];return}let i=e?n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,E)=>t.toUpperCase()+E):String(n).trim();i!==n&&delete t[n],t[i]=e_(r),E[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return K.forEach(this,(E,r)=>{null!=E&&!1!==E&&(t[r]=e&&K.isArray(E)?E.join(", "):E)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let E=new this(e);return t.forEach(e=>E.set(e)),E}static accessor(e){let t=(this[eC]=this[eC]={accessors:{}}).accessors,E=this.prototype;function r(e){let r=eL(e);if(!t[r]){let n=K.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(E,t+n,{value:function(E,r,n){return this[t].call(this,e,E,r,n)},configurable:!0})}),t[r]=!0}}return K.isArray(e)?e.forEach(r):r(e),this}}function eD(e,t){let E=this||eN,r=t||E,n=ef.from(r.headers),o=r.data;return K.forEach(e,function(e){o=e.call(E,o,n.normalize(),t?t.status:void 0)}),n.normalize(),o}function eP(e){return!!(e&&e.__CANCEL__)}ef.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(ef.prototype,({value:e},t)=>{let E=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[E]=e}}}),K.freezeMethods(ef);class ep extends J{constructor(e,t,E){super(null==e?"canceled":e,J.ERR_CANCELED,t,E),this.name="CanceledError",this.__CANCEL__=!0}}function eh(e,t,E){let r=E.config.validateStatus;!E.status||!r||r(E.status)?e(E):t(new J("Request failed with status code "+E.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(E.status/100)-4],E.config,E.request,E))}let eM=function(e,t){let E,r=Array(e=e||10),n=Array(e),o=0,i=0;return t=void 0!==t?t:1e3,function(a){let T=Date.now(),s=n[i];E||(E=T),r[o]=a,n[o]=T;let A=i,R=0;for(;A!==o;)R+=r[A++],A%=e;if((o=(o+1)%e)===i&&(i=(i+1)%e),T-E{n=o,E=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{let t=Date.now(),a=t-n;a>=o?i(e,t):(E=e,r||(r=setTimeout(()=>{r=null,i(E)},o-a)))},()=>E&&i(E)]},eU=(e,t,E=3)=>{let r=0,n=eM(50,250);return em(E=>{let o=E.loaded,i=E.lengthComputable?E.total:void 0,a=o-r,T=n(a);r=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:T||void 0,estimated:T&&i&&o<=i?(i-o)/T:void 0,event:E,lengthComputable:null!=i,[t?"download":"upload"]:!0})},E)},eg=(e,t)=>{let E=null!=e;return[r=>t[0]({lengthComputable:E,total:e,loaded:r}),t[1]]},ey=e=>(...t)=>K.asap(()=>e(...t)),eG=el.hasStandardBrowserEnv?((e,t)=>E=>(E=new URL(E,el.origin),e.protocol===E.protocol&&e.host===E.host&&(t||e.port===E.port)))(new URL(el.origin),el.navigator&&/(msie|trident)/i.test(el.navigator.userAgent)):()=>!0,eb=el.hasStandardBrowserEnv?{write(e,t,E,r,n,o,i){if("undefined"==typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];K.isNumber(E)&&a.push(`expires=${new Date(E).toUTCString()}`),K.isString(r)&&a.push(`path=${r}`),K.isString(n)&&a.push(`domain=${n}`),!0===o&&a.push("secure"),K.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function ev(e,t,E){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||!1==E)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eH=e=>e instanceof ef?{...e}:e;function eF(e,t){t=t||{};let E={};function r(e,t,E,r){return K.isPlainObject(e)&&K.isPlainObject(t)?K.merge.call({caseless:r},e,t):K.isPlainObject(t)?K.merge({},t):K.isArray(t)?t.slice():t}function n(e,t,E,n){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e,E,n):r(e,t,E,n)}function o(e,t){if(!K.isUndefined(t))return r(void 0,t)}function i(e,t){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(E,n,o){return o in t?r(E,n):o in e?r(void 0,E):void 0}let T={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,E)=>n(eH(e),eH(t),E,!0)};return K.forEach(Object.keys({...e,...t}),function(r){let o=T[r]||n,i=o(e[r],t[r],r);K.isUndefined(i)&&o!==a||(E[r]=i)}),E}let eB=e=>{let t=eF({},e),{data:E,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:o,headers:i,auth:a}=t;if(t.headers=i=ef.from(i),t.url=en(ev(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),K.isFormData(E)){if(el.hasStandardBrowserEnv||el.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(K.isFunction(E.getHeaders)){let e=E.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,E])=>{t.includes(e.toLowerCase())&&i.set(e,E)})}}if(el.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||!1!==r&&eG(t.url))){let e=n&&o&&eb.read(o);e&&i.set(n,e)}return t},eY="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,E){let r,n,o,i,a,T=eB(e),s=T.data,A=ef.from(T.headers).normalize(),{responseType:R,onUploadProgress:S,onDownloadProgress:O}=T;function I(){i&&i(),a&&a(),T.cancelToken&&T.cancelToken.unsubscribe(r),T.signal&&T.signal.removeEventListener("abort",r)}let l=new XMLHttpRequest;function c(){if(!l)return;let r=ef.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());eh(function(e){t(e),I()},function(e){E(e),I()},{data:R&&"text"!==R&&"json"!==R?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}l.open(T.method.toUpperCase(),T.url,!0),l.timeout=T.timeout,"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(c)},l.onabort=function(){l&&(E(new J("Request aborted",J.ECONNABORTED,e,l)),l=null)},l.onerror=function(t){let r=new J(t&&t.message?t.message:"Network Error",J.ERR_NETWORK,e,l);r.event=t||null,E(r),l=null},l.ontimeout=function(){let t=T.timeout?"timeout of "+T.timeout+"ms exceeded":"timeout exceeded",r=T.transitional||ei;T.timeoutErrorMessage&&(t=T.timeoutErrorMessage),E(new J(t,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,l)),l=null},void 0===s&&A.setContentType(null),"setRequestHeader"in l&&K.forEach(A.toJSON(),function(e,t){l.setRequestHeader(t,e)}),K.isUndefined(T.withCredentials)||(l.withCredentials=!!T.withCredentials),R&&"json"!==R&&(l.responseType=T.responseType),O&&([o,a]=eU(O,!0),l.addEventListener("progress",o)),S&&l.upload&&([n,i]=eU(S),l.upload.addEventListener("progress",n),l.upload.addEventListener("loadend",i)),(T.cancelToken||T.signal)&&(r=t=>{l&&(E(!t||t.type?new ep(null,e,l):t),l.abort(),l=null)},T.cancelToken&&T.cancelToken.subscribe(r),T.signal&&(T.signal.aborted?r():T.signal.addEventListener("abort",r)));let N=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(T.url);if(N&&-1===el.protocols.indexOf(N))return void E(new J("Unsupported protocol "+N+":",J.ERR_BAD_REQUEST,e));l.send(s||null)})},eV=function*(e,t){let E,r=e.byteLength;if(!t||r{let n,o=ex(e,t),i=0,a=e=>{!n&&(n=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await o.next();if(t){a(),e.close();return}let n=r.byteLength;if(E){let e=i+=n;E(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},{isFunction:eX}=K,eK=(({Request:e,Response:t})=>({Request:e,Response:t}))(K.global),{ReadableStream:ek,TextEncoder:eJ}=K.global,ej=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e$=e=>{let t,{fetch:E,Request:r,Response:n}=e=K.merge.call({skipUndefined:!0},eK,e),o=E?eX(E):"function"==typeof fetch,i=eX(r),a=eX(n);if(!o)return!1;let T=o&&eX(ek),s=o&&("function"==typeof eJ?(t=new eJ,e=>t.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer())),A=i&&T&&ej(()=>{let e=!1,t=new r(el.origin,{body:new ek,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),R=a&&T&&ej(()=>K.isReadableStream(new n("").body)),S={stream:R&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{S[e]||(S[e]=(t,E)=>{let r=t&&t[e];if(r)return r.call(t);throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,E)})});let O=async e=>{if(null==e)return 0;if(K.isBlob(e))return e.size;if(K.isSpecCompliantForm(e)){let t=new r(el.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return K.isArrayBufferView(e)||K.isArrayBuffer(e)?e.byteLength:(K.isURLSearchParams(e)&&(e+=""),K.isString(e))?(await s(e)).byteLength:void 0},I=async(e,t)=>{let E=K.toFiniteNumber(e.getContentLength());return null==E?O(t):E};return async e=>{let t,{url:o,method:a,data:T,signal:s,cancelToken:O,timeout:l,onDownloadProgress:c,onUploadProgress:N,responseType:u,headers:C,withCredentials:L="same-origin",fetchOptions:_}=eB(e),d=E||fetch;u=u?(u+"").toLowerCase():"text";let f=((e,t)=>{let{length:E}=e=e?e.filter(Boolean):[];if(t||E){let E,r=new AbortController,n=function(e){if(!E){E=!0,i();let t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new ep(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,n(new J(`timeout of ${t}ms exceeded`,J.ETIMEDOUT))},t),i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)}),e=null)};e.forEach(e=>e.addEventListener("abort",n));let{signal:a}=r;return a.unsubscribe=()=>K.asap(i),a}})([s,O&&O.toAbortSignal()],l),D=null,P=f&&f.unsubscribe&&(()=>{f.unsubscribe()});try{if(N&&A&&"get"!==a&&"head"!==a&&0!==(t=await I(C,T))){let e,E=new r(o,{method:"POST",body:T,duplex:"half"});if(K.isFormData(T)&&(e=E.headers.get("content-type"))&&C.setContentType(e),E.body){let[e,r]=eg(t,eU(ey(N)));T=ew(E.body,65536,e,r)}}K.isString(L)||(L=L?"include":"omit");let E=i&&"credentials"in r.prototype,s={..._,signal:f,method:a.toUpperCase(),headers:C.normalize().toJSON(),body:T,duplex:"half",credentials:E?L:void 0};D=i&&new r(o,s);let O=await (i?d(D,_):d(o,s)),l=R&&("stream"===u||"response"===u);if(R&&(c||l&&P)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=O[t]});let t=K.toFiniteNumber(O.headers.get("content-length")),[E,r]=c&&eg(t,eU(ey(c),!0))||[];O=new n(ew(O.body,65536,E,()=>{r&&r(),P&&P()}),e)}u=u||"text";let p=await S[K.findKey(S,u)||"text"](O,e);return!l&&P&&P(),await new Promise((t,E)=>{eh(t,E,{data:p,headers:ef.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:D})})}catch(t){if(P&&P(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,D),{cause:t.cause||t});throw J.from(t,t&&t.code,e,D)}}},eq=new Map,eQ=e=>{let t=e&&e.env||{},{fetch:E,Request:r,Response:n}=t,o=[r,n,E],i=o.length,a,T,s=eq;for(;i--;)a=o[i],void 0===(T=s.get(a))&&s.set(a,T=i?new Map:e$(t)),s=T;return T};eQ();let ez={http:null,xhr:eY,fetch:{get:eQ}};K.forEach(ez,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let eZ=e=>`- ${e}`,e0=e=>K.isFunction(e)||null===e||!1===e,e1={getAdapter:function(e,t){let E,r,{length:n}=e=K.isArray(e)?e:[e],o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(eZ).join("\n"):" "+eZ(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r}};function e2(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ep(null,e)}function e5(e){return e2(e),e.headers=ef.from(e.headers),e.data=eD.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e1.getAdapter(e.adapter||eN.adapter,e)(e).then(function(t){return e2(e),t.data=eD.call(e,e.transformResponse,t),t.headers=ef.from(t.headers),t},function(t){return!eP(t)&&(e2(e),t&&t.response&&(t.response.data=eD.call(e,e.transformResponse,t.response),t.response.headers=ef.from(t.response.headers))),Promise.reject(t)})}let e6="1.13.4",e4={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e4[e]=function(E){return typeof E===e||"a"+(t<1?"n ":" ")+e}});let e8={};e4.transitional=function(e,t,E){function r(e,t){return"[Axios v"+e6+"] Transitional option '"+e+"'"+t+(E?". "+E:"")}return(E,n,o)=>{if(!1===e)throw new J(r(n," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!e8[n]&&(e8[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(E,n,o)}},e4.spelling=function(e){return(t,E)=>(console.warn(`${E} is likely a misspelling of ${e}`),!0)};let e3={assertOptions:function(e,t,E){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),n=r.length;for(;n-- >0;){let o=r[n],i=t[o];if(i){let t=e[o],E=void 0===t||i(t,o,e);if(!0!==E)throw new J("option "+o+" must be "+E,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==E)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:e4},e9=e3.validators;class e7{constructor(e){this.defaults=e||{},this.interceptors={request:new eo,response:new eo}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let E=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?E&&!String(e.stack).endsWith(E.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+E):e.stack=E}catch(e){}}throw e}}_request(e,t){let E,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:n,paramsSerializer:o,headers:i}=t=eF(this.defaults,t);void 0!==n&&e3.assertOptions(n,{silentJSONParsing:e9.transitional(e9.boolean),forcedJSONParsing:e9.transitional(e9.boolean),clarifyTimeoutError:e9.transitional(e9.boolean)},!1),null!=o&&(K.isFunction(o)?t.paramsSerializer={serialize:o}:e3.assertOptions(o,{encode:e9.function,serialize:e9.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),e3.assertOptions(t,{baseUrl:e9.spelling("baseURL"),withXsrfToken:e9.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&K.merge(i.common,i[t.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=ef.concat(a,i);let T=[],s=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(s=s&&e.synchronous,T.unshift(e.fulfilled,e.rejected))});let A=[];this.interceptors.response.forEach(function(e){A.push(e.fulfilled,e.rejected)});let R=0;if(!s){let e=[e5.bind(this),void 0];for(e.unshift(...T),e.push(...A),r=e.length,E=Promise.resolve(t);R{if(!E._listeners)return;let t=E._listeners.length;for(;t-- >0;)E._listeners[t](e);E._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{E.subscribe(e),t=e}).then(e);return r.cancel=function(){E.unsubscribe(t)},r},e(function(e,r,n){E.reason||(E.reason=new ep(e,r,n),t(E.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new te(function(t){e=t}),cancel:e}}}let tt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tt).forEach(([e,t])=>{tt[t]=e});let tE=function e(t){let E=new e7(t),r=i(e7.prototype.request,E);return K.extend(r,e7.prototype,E,{allOwnKeys:!0}),K.extend(r,E,null,{allOwnKeys:!0}),r.create=function(E){return e(eF(t,E))},r}(eN);tE.Axios=e7,tE.CanceledError=ep,tE.CancelToken=te,tE.isCancel=eP,tE.VERSION=e6,tE.toFormData=Z,tE.AxiosError=J,tE.Cancel=tE.CanceledError,tE.all=function(e){return Promise.all(e)},tE.spread=function(e){return function(t){return e.apply(null,t)}},tE.isAxiosError=function(e){return K.isObject(e)&&!0===e.isAxiosError},tE.mergeConfig=eF,tE.AxiosHeaders=ef,tE.formToJSON=e=>ec(K.isHTMLForm(e)?new FormData(e):e),tE.getAdapter=e1.getAdapter,tE.HttpStatusCode=tt,tE.default=tE;let tr=tE},24756:(e,t,E)=>{"use strict";E.d(t,{A:()=>N});var r=E(21858),n=E(12115),o=E(47650),i=E(71367);E(9587);var a=E(74686),T=n.createContext(null),s=E(85757),A=E(26791),R=[],S=E(85440),O=E(3338),I="rc-util-locker-".concat(Date.now()),l=0,c=function(e){return!1!==e&&((0,i.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};let N=n.forwardRef(function(e,t){var E,N,u,C=e.open,L=e.autoLock,_=e.getContainer,d=(e.debug,e.autoDestroy),f=void 0===d||d,D=e.children,P=n.useState(C),p=(0,r.A)(P,2),h=p[0],M=p[1],m=h||C;n.useEffect(function(){(f||C)&&M(C)},[C,f]);var U=n.useState(function(){return c(_)}),g=(0,r.A)(U,2),y=g[0],G=g[1];n.useEffect(function(){var e=c(_);G(null!=e?e:null)});var b=function(e,t){var E=n.useState(function(){return(0,i.A)()?document.createElement("div"):null}),o=(0,r.A)(E,1)[0],a=n.useRef(!1),S=n.useContext(T),O=n.useState(R),I=(0,r.A)(O,2),l=I[0],c=I[1],N=S||(a.current?void 0:function(e){c(function(t){return[e].concat((0,s.A)(t))})});function u(){o.parentElement||document.body.appendChild(o),a.current=!0}function C(){var e;null==(e=o.parentElement)||e.removeChild(o),a.current=!1}return(0,A.A)(function(){return e?S?S(u):u():C(),C},[e]),(0,A.A)(function(){l.length&&(l.forEach(function(e){return e()}),c(R))},[l]),[o,N]}(m&&!y,0),v=(0,r.A)(b,2),H=v[0],F=v[1],B=null!=y?y:H;E=!!(L&&C&&(0,i.A)()&&(B===H||B===document.body)),N=n.useState(function(){return l+=1,"".concat(I,"_").concat(l)}),u=(0,r.A)(N,1)[0],(0,A.A)(function(){if(E){var e=(0,O.V)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,S.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),u)}else(0,S.m6)(u);return function(){(0,S.m6)(u)}},[E,u]);var Y=null;D&&(0,a.f3)(D)&&t&&(Y=D.ref);var V=(0,a.xK)(Y,t);if(!m||!(0,i.A)()||void 0===y)return null;var x=!1===B,W=D;return t&&(W=n.cloneElement(D,{ref:V})),n.createElement(T.Provider,{value:F},x?W:(0,o.createPortal)(W,B))})},25374:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=E(12115),n=E(28248),o=E(98696),i=E(37120);let a=e=>"function"==typeof(null==e?void 0:e.then),T=e=>{let{type:t,children:E,prefixCls:T,buttonProps:s,close:A,autoFocus:R,emitEvent:S,isSilent:O,quitOnNullishReturnValue:I,actionFn:l}=e,c=r.useRef(!1),N=r.useRef(null),[u,C]=(0,n.A)(!1),L=function(){for(var e=arguments.length,t=Array(e),E=0;E{let e=null;return R&&(e=setTimeout(()=>{var e;null==(e=N.current)||e.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[R]),r.createElement(o.Ay,Object.assign({},(0,i.DU)(t),{onClick:e=>{let t;if(!c.current){if(c.current=!0,!l)return void L();if(S){if(t=l(e),I&&!a(t)){c.current=!1,L(e);return}}else if(l.length)t=l(A),c.current=!1;else if(!a(t=l()))return void L();(e=>{a(e)&&(C(!0),e.then(function(){for(var e=arguments.length,t=Array(e),E=0;E{if(C(!1,!0),c.current=!1,null==O||!O())return Promise.reject(e)}))})(t)}},loading:u,prefixCls:T},s,{ref:N}),E)}},25856:(e,t,E)=>{"use strict";E.d(t,{L:()=>u}),E(12115);var r,n=E(47650),o=E.t(n,2),i=E(42115),a=E(94251),T=E(86608),s=(0,E(27061).A)({},o),A=s.version,R=s.render,S=s.unmountComponentAtNode;try{Number((A||"").split(".")[0])>=18&&(r=s.createRoot)}catch(e){}function O(e){var t=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,T.A)(t)&&(t.usingClientEntryPoint=e)}var I="__rc_react_root__";function l(){return(l=(0,a.A)((0,i.A)().mark(function e(t){return(0,i.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null==(e=t[I])||e.unmount(),delete t[I]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function c(){return(c=(0,a.A)((0,i.A)().mark(function e(t){return(0,i.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt("return",function(e){return l.apply(this,arguments)}(t));case 2:S(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}let N=(e,t)=>(!function(e,t){var E;if(r)return O(!0),E=t[I]||r(t),O(!1),E.render(e),t[I]=E;null==R||R(e,t)}(e,t),()=>(function(e){return c.apply(this,arguments)})(t));function u(e){return e&&(N=e),N}},25898:function(e){var t;t=function(){function e(t,E,r){return this.id=++e.highestId,this.name=t,this.symbols=E,this.postprocess=r,this}function t(e,t,E,r){this.rule=e,this.dot=t,this.reference=E,this.data=[],this.wantedBy=r,this.isComplete=this.dot===e.symbols.length}function E(e,t){this.grammar=e,this.index=t,this.states=[],this.wants={},this.scannable=[],this.completed={}}function r(e,t){this.rules=e,this.start=t||this.rules[0].name;var E=this.byName={};this.rules.forEach(function(e){E.hasOwnProperty(e.name)||(E[e.name]=[]),E[e.name].push(e)})}function n(){this.reset("")}function o(e,t,o){if(e instanceof r)var i=e,o=t;else var i=r.fromCompiled(e,t);for(var a in this.grammar=i,this.options={keepHistory:!1,lexer:i.lexer||new n},o||{})this.options[a]=o[a];this.lexer=this.options.lexer,this.lexerState=void 0;var T=new E(i,0);this.table=[T],T.wants[i.start]=[],T.predict(i.start),T.process(),this.current=0}function i(e){var t=typeof e;if("string"===t)return e;if("object"===t)if(e.literal)return JSON.stringify(e.literal);else if(e instanceof RegExp)return e.toString();else if(e.type)return"%"+e.type;else 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(i).join(" "):this.symbols.slice(0,e).map(i).join(" ")+" ● "+this.symbols.slice(e).map(i).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 E=new t(this.rule,this.dot+1,this.reference,this.wantedBy);return E.left=this,E.right=e,E.isComplete&&(E.data=E.build(),E.right=void 0),E},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,o.fail))},E.prototype.process=function(e){for(var t=this.states,E=this.wants,r=this.completed,n=0;n0&&t.push(" ^ "+r+" more lines identical to this"),r=0,t.push(" "+i)),E=i}},o.prototype.getSymbolDisplay=function(e){var t=e,E=typeof t;if("string"===E)return t;if("object"===E)if(t.literal)return JSON.stringify(t.literal);else if(t instanceof RegExp)return"character matching "+t;else if(t.type)return t.type+" token";else if(t.test)return"token matching "+String(t.test);else throw Error("Unknown symbol type: "+t)},o.prototype.buildFirstStateStack=function(e,t){if(-1!==t.indexOf(e))return null;if(0===e.wantedBy.length)return[e];var E=e.wantedBy[0],r=[e].concat(t),n=this.buildFirstStateStack(E,r);return null===n?null:[e].concat(n)},o.prototype.save=function(){var e=this.table[this.current];return e.lexerState=this.lexerState,e},o.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()},o.prototype.rewind=function(e){if(!this.options.keepHistory)throw Error("set option `keepHistory` to enable rewinding");this.restore(this.table[e])},o.prototype.finish=function(){var e=[],t=this.grammar.start;return this.table[this.table.length-1].states.forEach(function(E){E.rule.name===t&&E.dot===E.rule.symbols.length&&0===E.reference&&E.data!==o.fail&&e.push(E)}),e.map(function(e){return e.data})},{Parser:o,Grammar:r,Rule:e}},e.exports?e.exports=t():this.nearley=t()},26791:(e,t,E)=>{"use strict";E.d(t,{A:()=>a,o:()=>i});var r=E(12115),n=(0,E(71367).A)()?r.useLayoutEffect:r.useEffect,o=function(e,t){var E=r.useRef(!0);n(function(){return e(E.current)},t),n(function(){return E.current=!1,function(){E.current=!0}},[])},i=function(e,t){o(function(t){if(!t)return e()},t)};let a=o},27061:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(40419);function n(e,t){var E=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),E.push.apply(E,r)}return E}function o(e){for(var t=1;t{"use strict";E.d(t,{A:()=>o});var r=E(21858),n=E(12115);function o(e){var t=n.useRef(!1),E=n.useState(e),o=(0,r.A)(E,2),i=o[0],a=o[1];return n.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]),[i,function(e,E){E&&t.current||a(e)}]}},28296:(e,t,E)=>{"use strict";E.d(t,{wE:()=>i});var r=E(38194),n=E(4697),o=E(68448);function i(e){return(0,o.VF)(function e(t,E,i,s,A,R,S,O,I){for(var l,c,N,u,C=0,L=0,_=S,d=0,f=0,D=0,P=1,p=1,h=1,M=0,m="",U=A,g=R,y=s,G=m;p;)switch(D=M,M=(0,o.K2)()){case 40:if(108!=D&&58==(0,n.wN)(G,_-1)){-1!=(0,n.K5)(G+=(0,n.HC)((0,o.Tb)(M),"&","&\f"),"&\f",(0,n.tn)(C?O[C-1]:0))&&(h=-1);break}case 34:case 39:case 91:G+=(0,o.Tb)(M);break;case 9:case 10:case 13:case 32:G+=(0,o.mw)(D);break;case 92:G+=(0,o.Nc)((0,o.OW)()-1,7);continue;case 47:switch((0,o.se)()){case 42:case 47:(0,n.BC)((l=(0,o.nf)((0,o.K2)(),(0,o.OW)()),c=E,N=i,u=I,(0,o.rH)(l,c,N,r.YK,(0,n.HT)((0,o.Tp)()),(0,n.c1)(l,2,-2),0,u)),I),(5==(0,o.Sh)(D||1)||5==(0,o.Sh)((0,o.se)()||1))&&(0,n.b2)(G)&&" "!==(0,n.c1)(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*P:O[C++]=(0,n.b2)(G)*h;case 125*P:case 59:case 0:switch(M){case 0:case 125:p=0;case 59+L:-1==h&&(G=(0,n.HC)(G,/\f/g,"")),f>0&&((0,n.b2)(G)-_||0===P&&47===D)&&(0,n.BC)(f>32?T(G+";",s,i,_-1,I):T((0,n.HC)(G," ","")+";",s,i,_-2,I),I);break;case 59:G+=";";default:if((0,n.BC)(y=a(G,E,i,C,L,A,O,m,U=[],g=[],_,R),R),123===M)if(0===L)e(G,E,y,y,U,R,_,O,g);else{switch(d){case 99:if(110===(0,n.wN)(G,3))break;case 108:if(97===(0,n.wN)(G,2))break;default:L=0;case 100:case 109:case 115:}L?e(t,y,y,s&&(0,n.BC)(a(t,y,y,0,0,A,O,m,A,U=[],_,g),g),A,g,_,O,s?U:g):e(G,y,y,y,[""],g,0,O,g)}}C=L=f=0,P=h=1,m=G="",_=S;break;case 58:_=1+(0,n.b2)(G),f=D;default:if(P<1){if(123==M)--P;else if(125==M&&0==P++&&125==(0,o.YL)())continue}switch(G+=(0,n.HT)(M),M*P){case 38:h=L>0?1:(G+="\f",-1);break;case 44:O[C++]=((0,n.b2)(G)-1)*h,h=1;break;case 64:45===(0,o.se)()&&(G+=(0,o.Tb)((0,o.K2)())),d=(0,o.se)(),L=_=(0,n.b2)(m=G+=(0,o.Cv)((0,o.OW)())),M++;break;case 45:45===D&&2==(0,n.b2)(G)&&(P=0)}}return R}("",null,null,null,[""],e=(0,o.c4)(e),0,[0],e))}function a(e,t,E,i,a,T,s,A,R,S,O,I){for(var l=a-1,c=0===a?T:[""],N=(0,n.FK)(c),u=0,C=0,L=0;u0?c[_]+" "+d:(0,n.HC)(d,/&\f/g,c[_])))&&(R[L++]=f);return(0,o.rH)(e,t,E,0===a?r.XZ:A,R,S,O,I)}function T(e,t,E,i,a){return(0,o.rH)(e,t,E,r.LU,(0,n.c1)(e,0,i),(0,n.c1)(e,i+1,-1),i,a)}},28383:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(11823);function n(e,t){for(var E=0;E{var E;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t{"use strict";let r;E.d(t,{A:()=>f});var n=E(12115),o=E(48776),i=E(29300),a=E.n(i),T=E(55121),s=E(74686),A=E(9184),R=E(50497),S=E(9130),O=E(93666),I=E(71367),l=E(6833),c=E(15982),N=E(68151),u=E(70802),C=E(2732),L=E(94480),_=E(41222),d=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};(0,I.A)()&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);let f=e=>{let{prefixCls:t,className:E,rootClassName:i,open:I,wrapClassName:f,centered:D,getContainer:P,focusTriggerAfterClose:p=!0,style:h,visible:M,width:m=520,footer:U,classNames:g,styles:y,children:G,loading:b,confirmLoading:v,zIndex:H,mousePosition:F,onOk:B,onCancel:Y,destroyOnHidden:V,destroyOnClose:x,panelRef:W=null,modalRender:w}=e,X=d(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel","destroyOnHidden","destroyOnClose","panelRef","modalRender"]),{getPopupContainer:K,getPrefixCls:k,direction:J,modal:j}=n.useContext(c.QO),$=e=>{v||null==Y||Y(e)},q=k("modal",t),Q=k(),z=(0,N.A)(q),[Z,ee,et]=(0,_.Ay)(q,z),eE=a()(f,{["".concat(q,"-centered")]:null!=D?D:null==j?void 0:j.centered,["".concat(q,"-wrap-rtl")]:"rtl"===J}),er=null===U||b?null:n.createElement(L.w,Object.assign({},e,{onOk:e=>{null==B||B(e)},onCancel:$})),[en,eo,ei,ea]=(0,R.$)((0,R.d)(e),(0,R.d)(j),{closable:!0,closeIcon:n.createElement(o.A,{className:"".concat(q,"-close-icon")}),closeIconRender:e=>(0,L.O)(q,e)}),eT=w?e=>n.createElement("div",{className:"".concat(q,"-render")},w(e)):void 0,es=".".concat(q,"-").concat(w?"render":"content"),eA=(0,C.f)(es),eR=(0,s.K4)(W,eA),[eS,eO]=(0,S.YK)("Modal",H),[eI,el]=n.useMemo(()=>m&&"object"==typeof m?[void 0,m]:[m,void 0],[m]),ec=n.useMemo(()=>{let e={};return el&&Object.keys(el).forEach(t=>{let E=el[t];void 0!==E&&(e["--".concat(q,"-").concat(t,"-width")]="number"==typeof E?"".concat(E,"px"):E)}),e},[q,el]);return Z(n.createElement(A.A,{form:!0,space:!0},n.createElement(l.A.Provider,{value:eO},n.createElement(T.A,Object.assign({width:eI},X,{zIndex:eS,getContainer:void 0===P?K:P,prefixCls:q,rootClassName:a()(ee,i,et,z),footer:er,visible:null!=I?I:M,mousePosition:null!=F?F:r,onClose:$,closable:en?Object.assign({disabled:ei,closeIcon:eo},ea):en,closeIcon:eo,focusTriggerAfterClose:p,transitionName:(0,O.b)(Q,"zoom",e.transitionName),maskTransitionName:(0,O.b)(Q,"fade",e.maskTransitionName),className:a()(ee,E,null==j?void 0:j.className),style:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.style),h),ec),classNames:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.classNames),g),{wrapper:a()(eE,null==g?void 0:g.wrapper)}),styles:Object.assign(Object.assign({},null==j?void 0:j.styles),y),panelRef:eR,destroyOnClose:null!=V?V:x,modalRender:eT}),b?n.createElement(u.A,{active:!0,title:!1,paragraph:{rows:4},className:"".concat(q,"-body-skeleton")}):G))))}},30857:(e,t,E)=>{"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}E.d(t,{A:()=>r})},31474:(e,t,E)=>{"use strict";E.d(t,{Q1:()=>L}),E(12115);var r=E(30857),n=E(28383),o=E(38289),i=E(9424),a=E(27061),T=E(20235),s=E(86608),A=E(40419);let R=Math.round;function S(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let O=(e,t,E)=>0===E?e:e/100;function I(e,t){let E=t||255;return e>E?E:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,A.A)(this,"isValid",!0),(0,A.A)(this,"r",0),(0,A.A)(this,"g",0),(0,A.A)(this,"b",0),(0,A.A)(this,"a",1),(0,A.A)(this,"_h",void 0),(0,A.A)(this,"_s",void 0),(0,A.A)(this,"_l",void 0),(0,A.A)(this,"_v",void 0),(0,A.A)(this,"_max",void 0),(0,A.A)(this,"_min",void 0),(0,A.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):E("rgb")?this.fromRgbString(t):E("hsl")?this.fromHslString(t):(E("hsv")||E("hsb"))&&this.fromHsvString(t)}else if(e instanceof l)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=I(e.r),this.g=I(e.g),this.b=I(e.b),this.a="number"==typeof e.a?I(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=R(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e,t=50){let E=this._c(e),r=t/100,n=e=>(E[e]-this[e])*r+this[e],o={r:R(n("r")),g:R(n("g")),b:R(n("b")),a:R(100*n("a"))/100};return this._c(o)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>R((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=R(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=R(100*this.getSaturation()),E=R(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${E}%,${this.a})`:`hsl(${e},${t}%,${E}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=I(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl({h:e,s:t,l:E,a:r}){if(this._h=e%360,this._s=t,this._l=E,this.a="number"==typeof r?r:1,t<=0){let e=R(255*E);this.r=e,this.g=e,this.b=e}let n=0,o=0,i=0,a=e/60,T=(1-Math.abs(2*E-1))*t,s=T*(1-Math.abs(a%2-1));a>=0&&a<1?(n=T,o=s):a>=1&&a<2?(n=s,o=T):a>=2&&a<3?(o=T,i=s):a>=3&&a<4?(o=s,i=T):a>=4&&a<5?(n=s,i=T):a>=5&&a<6&&(n=T,i=s);let A=E-T/2;this.r=R((n+A)*255),this.g=R((o+A)*255),this.b=R((i+A)*255)}fromHsv({h:e,s:t,v:E,a:r}){this._h=e%360,this._s=t,this._v=E,this.a="number"==typeof r?r:1;let n=R(255*E);if(this.r=n,this.g=n,this.b=n,t<=0)return;let o=e/60,i=Math.floor(o),a=o-i,T=R(E*(1-t)*255),s=R(E*(1-t*a)*255),A=R(E*(1-t*(1-a))*255);switch(i){case 0:this.g=A,this.b=T;break;case 1:this.r=s,this.b=T;break;case 2:this.r=T,this.b=A;break;case 3:this.r=T,this.g=s;break;case 4:this.r=A,this.g=T;break;default:this.g=T,this.b=s}}fromHsvString(e){let t=S(e,O);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=S(e,O);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=S(e,(e,t)=>t.includes("%")?R(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var c=["b"],N=["v"],u=function(e){return Math.round(Number(e||0))},C=function(e){if(e instanceof l)return e;if(e&&"object"===(0,s.A)(e)&&"h"in e&&"b"in e){var t=e.b,E=(0,T.A)(e,c);return(0,a.A)((0,a.A)({},E),{},{v:t})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e},L=function(e){(0,o.A)(E,e);var t=(0,i.A)(E);function E(e){return(0,r.A)(this,E),t.call(this,C(e))}return(0,n.A)(E,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=u(100*e.s),E=u(100*e.b),r=u(e.h),n=e.a,o="hsb(".concat(r,", ").concat(t,"%, ").concat(E,"%)"),i="hsba(".concat(r,", ").concat(t,"%, ").concat(E,"%, ").concat(n.toFixed(2*(0!==n)),")");return 1===n?o:i}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,E=(0,T.A)(e,N);return(0,a.A)((0,a.A)({},E),{},{b:t,a:this.a})}}]),E}(l);!function(e){e instanceof L||new L(e)}("#1677ff"),E(29300),E(11719)},32110:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},32655:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=[]},32934:(e,t,E)=>{"use strict";E.d(t,{A:()=>s});var r,n=E(21858),o=E(27061),i=E(12115),a=0,T=(0,o.A)({},r||(r=E.t(i,2))).useId;let s=T?function(e){var t=T();return e||t}:function(e){var t=i.useState("ssr-id"),E=(0,n.A)(t,2),r=E[0],o=E[1];return(i.useEffect(function(){var e=a;a+=1,o("rc_unique_".concat(e))},[]),e)?e:r}},35030:(e,t,E)=>{"use strict";E.d(t,{A:()=>M});var r=E(79630),n=E(21858),o=E(40419),i=E(20235),a=E(12115),T=E(29300),s=E.n(T),A=E(68057),R=E(97089),S=E(27061),O=E(86608),I=E(85440),l=E(48680),c=E(9587);function N(e){return"object"===(0,O.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,O.A)(e.icon)||"function"==typeof e.icon)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,E){var r=e[E];return"class"===E?(t.className=r,delete t.class):(delete t[E],t[E.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function C(e){return(0,A.cM)(e)[0]}function L(e){return e?Array.isArray(e)?e:[e]:[]}var _=function(e){var t=(0,a.useContext)(R.A),E=t.csp,r=t.prefixCls,n=t.layer,o="\n.anticon {\n display: inline-flex;\n align-items: center;\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)),n&&(o="@layer ".concat(n," {\n").concat(o,"\n}")),(0,a.useEffect)(function(){var t=e.current,r=(0,l.j)(t);(0,I.BD)(o,"@ant-design-icons",{prepend:!n,csp:E,attachTo:r})},[])},d=["icon","className","onClick","style","primaryColor","secondaryColor"],f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},D=function(e){var t,E,r=e.icon,n=e.className,o=e.onClick,T=e.style,s=e.primaryColor,A=e.secondaryColor,R=(0,i.A)(e,d),O=a.useRef(),I=f;if(s&&(I={primaryColor:s,secondaryColor:A||C(s)}),_(O),t=N(r),E="icon should be icon definiton, but got ".concat(r),(0,c.Ay)(t,"[@ant-design/icons] ".concat(E)),!N(r))return null;var l=r;return l&&"function"==typeof l.icon&&(l=(0,S.A)((0,S.A)({},l),{},{icon:l.icon(I.primaryColor,I.secondaryColor)})),function e(t,E,r){return r?a.createElement(t.tag,(0,S.A)((0,S.A)({key:E},u(t.attrs)),r),(t.children||[]).map(function(r,n){return e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))})):a.createElement(t.tag,(0,S.A)({key:E},u(t.attrs)),(t.children||[]).map(function(r,n){return e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))}))}(l.icon,"svg-".concat(l.name),(0,S.A)((0,S.A)({className:n,onClick:o,style:T,"data-icon":l.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},R),{},{ref:O}))};function P(e){var t=L(e),E=(0,n.A)(t,2),r=E[0],o=E[1];return D.setTwoToneColors({primaryColor:r,secondaryColor:o})}D.displayName="IconReact",D.getTwoToneColors=function(){return(0,S.A)({},f)},D.setTwoToneColors=function(e){var t=e.primaryColor,E=e.secondaryColor;f.primaryColor=t,f.secondaryColor=E||C(t),f.calculated=!!E};var p=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];P(A.z1.primary);var h=a.forwardRef(function(e,t){var E=e.className,T=e.icon,A=e.spin,S=e.rotate,O=e.tabIndex,I=e.onClick,l=e.twoToneColor,c=(0,i.A)(e,p),N=a.useContext(R.A),u=N.prefixCls,C=void 0===u?"anticon":u,_=N.rootClassName,d=s()(_,C,(0,o.A)((0,o.A)({},"".concat(C,"-").concat(T.name),!!T.name),"".concat(C,"-spin"),!!A||"loading"===T.name),E),f=O;void 0===f&&I&&(f=-1);var P=L(l),h=(0,n.A)(P,2),M=h[0],m=h[1];return a.createElement("span",(0,r.A)({role:"img","aria-label":T.name},c,{ref:t,tabIndex:f,onClick:I,className:d}),a.createElement(D,{icon:T,primaryColor:M,secondaryColor:m,style:S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0}))});h.displayName="AntdIcon",h.getTwoToneColor=function(){var e=D.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},h.setTwoToneColor=P;let M=h},35145:(e,t,E)=>{"use strict";function r(e){if(Array.isArray(e))return e}E.d(t,{A:()=>r})},35149:(e,t,E)=>{"use strict";E.d(t,{A:()=>l});var r=E(85757),n=E(12115),o=E(61216),i=E(32655),a=E(15982),T=E(16025),s=E(8530),A=E(85051),R=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let S=n.forwardRef((e,t)=>{var E,{afterClose:o,config:i}=e,S=R(e,["afterClose","config"]);let[O,I]=n.useState(!0),[l,c]=n.useState(i),{direction:N,getPrefixCls:u}=n.useContext(a.QO),C=u("modal"),L=u(),_=function(){for(var e,t=arguments.length,E=Array(t),n=0;nnull==e?void 0:e.triggerCancel)&&(null==(e=l.onCancel)||e.call.apply(e,[l,()=>{}].concat((0,r.A)(E.slice(1)))))};n.useImperativeHandle(t,()=>({destroy:_,update:e=>{c(t=>{let E="function"==typeof e?e(t):e;return Object.assign(Object.assign({},t),E)})}}));let d=null!=(E=l.okCancel)?E:"confirm"===l.type,[f]=(0,s.A)("Modal",T.A.Modal);return n.createElement(A.A,Object.assign({prefixCls:C,rootPrefixCls:L},l,{close:_,open:O,afterClose:()=>{var e;o(),null==(e=l.afterClose)||e.call(l)},okText:l.okText||(d?null==f?void 0:f.okText:null==f?void 0:f.justOkText),direction:l.direction||N,cancelText:l.cancelText||(null==f?void 0:f.cancelText)},S))}),O=0,I=n.memo(n.forwardRef((e,t)=>{let[E,o]=(()=>{let[e,t]=n.useState([]);return[e,n.useCallback(e=>(t(t=>[].concat((0,r.A)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[])]})();return n.useImperativeHandle(t,()=>({patchElement:o}),[o]),n.createElement(n.Fragment,null,E)})),l=function(){let e=n.useRef(null),[t,E]=n.useState([]);n.useEffect(()=>{t.length&&((0,r.A)(t).forEach(e=>{e()}),E([]))},[t]);let a=n.useCallback(t=>function(o){var a;let T,s;O+=1;let A=n.createRef(),R=new Promise(e=>{T=e}),I=!1,l=n.createElement(S,{key:"modal-".concat(O),config:t(o),ref:A,afterClose:()=>{null==s||s()},isSilent:()=>I,onConfirm:e=>{T(e)}});return(s=null==(a=e.current)?void 0:a.patchElement(l))&&i.A.push(s),{destroy:()=>{function e(){var e;null==(e=A.current)||e.destroy()}A.current?e():E(t=>[].concat((0,r.A)(t),[e]))},update:e=>{function t(){var t;null==(t=A.current)||t.update(e)}A.current?t():E(e=>[].concat((0,r.A)(e),[t]))},then:e=>(I=!0,R.then(e))}},[]);return[n.useMemo(()=>({info:a(o.$D),success:a(o.Ej),error:a(o.jT),warning:a(o.fp),confirm:a(o.lr)}),[a]),n.createElement(I,{key:"modal-holder",ref:e})]}},35519:(e,t,E)=>{"use strict";E.d(t,{sb:()=>o,vG:()=>i});var r=E(12115),n=E(13418);let o={token:n.A,override:{override:n.A},hashed:!0},i=r.createContext(o)},37120:(e,t,E)=>{"use strict";E.d(t,{Ap:()=>T,DU:()=>s,u1:()=>R,uR:()=>S});var r=E(85757),n=E(12115),o=E(80163),i=E(68495);let a=/^[\u4E00-\u9FA5]{2}$/,T=a.test.bind(a);function s(e){return"danger"===e?{danger:!0}:{type:e}}function A(e){return"string"==typeof e}function R(e){return"text"===e||"link"===e}function S(e,t){let E=!1,r=[];return n.Children.forEach(e,e=>{let t=typeof e,n="string"===t||"number"===t;if(E&&n){let t=r.length-1,E=r[t];r[t]="".concat(E).concat(e)}else r.push(e);E=n}),n.Children.map(r,e=>(function(e,t){if(null==e)return;let E=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&A(e.type)&&T(e.props.children)?(0,o.Ob)(e,{children:e.props.children.split("").join(E)}):A(e)?T(e)?n.createElement("span",null,e.split("").join(E)):n.createElement("span",null,e):(0,o.zv)(e)?n.createElement("span",null,e):e})(e,t))}["default","primary","danger"].concat((0,r.A)(i.s))},37930:(e,t,E)=>{"use strict";E.d(t,{cM:()=>function e(t,E,r){return r?u.createElement(t.tag,{key:E,...d(t.attrs),...r},(t.children||[]).map((r,n)=>e(r,"".concat(E,"-").concat(t.tag,"-").concat(n)))):u.createElement(t.tag,{key:E,...d(t.attrs)},(t.children||[]).map((r,n)=>e(r,"".concat(E,"-").concat(t.tag,"-").concat(n))))},Em:()=>f,P3:()=>_,al:()=>D,yf:()=>P,lf:()=>p,$e:()=>L});var r=E(61706);let n="data-rc-order",o="data-rc-priority",i=new Map;function a({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:"rc-util-key"}function T(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function s(e){return Array.from((i.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function A(e,t={}){if(!("undefined"!=typeof window&&window.document&&window.document.createElement))return null;let{csp:E,prepend:r,priority:i=0}=t,a="queue"===r?"prependQueue":r?"prepend":"append",R="prependQueue"===a,S=document.createElement("style");S.setAttribute(n,a),R&&i&&S.setAttribute(o,`${i}`),E?.nonce&&(S.nonce=E?.nonce),S.innerHTML=e;let O=T(t),{firstChild:I}=O;if(r){if(R){let e=(t.styles||s(O)).filter(e=>!!["prepend","prependQueue"].includes(e.getAttribute(n))&&i>=Number(e.getAttribute(o)||0));if(e.length)return O.insertBefore(S,e[e.length-1].nextSibling),S}O.insertBefore(S,I)}else O.appendChild(S);return S}function R(e){return e?.getRootNode?.()}let S={},O=[];function I(e,t){}function l(e,t){}function c(e,t,E){t||S[E]||(e(!1,E),S[E]=!0)}function N(e,t){c(I,e,t)}N.preMessage=e=>{O.push(e)},N.resetWarned=function(){S={}},N.noteOnce=function(e,t){c(l,e,t)};var u=E(12115),C=E(8396);function L(e,t){N(e,"[@ant-design/icons] ".concat(t))}function _(e){return"object"==typeof e&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"==typeof e.icon||"function"==typeof e.icon)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((t,E)=>{let r=e[E];return"class"===E?(t.className=r,delete t.class):(delete t[E],t[E.replace(/-(.)/g,(e,t)=>t.toUpperCase())]=r),t},{})}function f(e){return(0,r.cM)(e)[0]}function D(e){return e?Array.isArray(e)?e:[e]:[]}let P={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},p=e=>{let{csp:t,prefixCls:E,layer:r}=(0,u.useContext)(C.A),n="\n.anticon {\n display: inline-flex;\n align-items: center;\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 vertical-align: inherit;\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";E&&(n=n.replace(/anticon/g,E)),r&&(n="@layer ".concat(r," {\n").concat(n,"\n}")),(0,u.useEffect)(()=>{let E=function(e){return R(e)instanceof ShadowRoot?R(e):null}(e.current);!function(e,t,E={}){let r=T(E),n=s(r),o={...E,styles:n},R=i.get(r);if(!R||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let E=t;for(;E;){if(E===e)return!0;E=E.parentNode}return!1}(document,R)){let e=A("",o),{parentNode:t}=e;i.set(r,t),r.removeChild(e)}let S=function(e,t={}){let{styles:E}=t;return(E||=s(T(t))).find(E=>E.getAttribute(a(t))===e)}(t,o);if(S)return o.csp?.nonce&&S.nonce!==o.csp?.nonce&&(S.nonce=o.csp?.nonce),S.innerHTML!==e&&(S.innerHTML=e);A(e,o).setAttribute(a(o),t)}(n,"@ant-design-icons",{prepend:!r,csp:t,attachTo:E})},[])}},38194:(e,t,E)=>{"use strict";E.d(t,{CU:()=>A,IO:()=>S,LU:()=>T,MS:()=>r,Sv:()=>R,XZ:()=>a,YK:()=>i,j:()=>o,vd:()=>n,yE:()=>s});var r="-ms-",n="-moz-",o="-webkit-",i="comm",a="rule",T="decl",s="@import",A="@namespace",R="@keyframes",S="@layer"},38289:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(42222);function n(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},39985:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,c:()=>o});var r=E(12115);let n=r.createContext(void 0),o=e=>{let{children:t,size:E}=e,o=r.useContext(n);return r.createElement(n.Provider,{value:E||o},t)},i=n},40032:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(27061),n="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function o(e,t){return 0===e.indexOf(t)}function i(e){var t,E=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===E?{aria:!0,data:!0,attr:!0}:!0===E?{aria:!0}:(0,r.A)({},E);var i={};return Object.keys(e).forEach(function(E){(t.aria&&("role"===E||o(E,"aria-"))||t.data&&o(E,"data-")||t.attr&&n.includes(E))&&(i[E]=e[E])}),i}},40419:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(11823);function n(e,t,E){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:E,enumerable:!0,configurable:!0,writable:!0}):e[t]=E,e}},40578:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},41197:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>T,fk:()=>i,rb:()=>a});var r=E(86608),n=E(12115),o=E(47650);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return e&&"object"===(0,r.A)(e)&&i(e.nativeElement)?e.nativeElement:i(e)?e:null}function T(e){var t,E=a(e);return E||(e instanceof n.Component?null==(t=o.findDOMNode)?void 0:t.call(o,e):null)}},41222:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>l,Dk:()=>S,FY:()=>O,cH:()=>I});var r=E(85757),n=E(99841),o=E(50199),i=E(18184),a=E(85665),T=E(47212),s=E(61388),A=E(45431);function R(e){return{position:e,inset:0}}let S=e=>{let{componentCls:t,antCls:E}=e;return[{["".concat(t,"-root")]:{["".concat(t).concat(E,"-zoom-enter, ").concat(t).concat(E,"-zoom-appear")]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},["".concat(t).concat(E,"-zoom-leave ").concat(t,"-content")]:{pointerEvents:"none"},["".concat(t,"-mask")]:Object.assign(Object.assign({},R("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",["".concat(t,"-hidden")]:{display:"none"}}),["".concat(t,"-wrap")]:Object.assign(Object.assign({},R("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{["".concat(t,"-root")]:(0,a.p9)(e)}]},O=e=>{let t=e.padding,E=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,s.oX)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(E).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},I=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:"".concat((0,n.zA)(e.paddingMD)," ").concat((0,n.zA)(e.paddingContentHorizontalLG)),headerPadding:e.wireframe?"".concat((0,n.zA)(e.padding)," ").concat((0,n.zA)(e.paddingLG)):0,headerBorderBottom:e.wireframe?"".concat((0,n.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?"".concat((0,n.zA)(e.paddingXS)," ").concat((0,n.zA)(e.padding)):0,footerBorderTop:e.wireframe?"".concat((0,n.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit):"none",footerBorderRadius:e.wireframe?"0 0 ".concat((0,n.zA)(e.borderRadiusLG)," ").concat((0,n.zA)(e.borderRadiusLG)):0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?"".concat((0,n.zA)(2*e.padding)," ").concat((0,n.zA)(2*e.padding)," ").concat((0,n.zA)(e.paddingLG)):0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),l=(0,A.OF)("Modal",e=>{let t=O(e);return[(e=>{let{componentCls:t}=e;return[{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl"},["".concat(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: ".concat(e.screenSMMax,"px)")]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:"".concat((0,n.zA)(e.marginXS)," auto")},["".concat(t,"-centered")]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,i.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:"calc(100vw - ".concat((0,n.zA)(e.calc(e.margin).mul(2).equal()),")"),margin:"0 auto",paddingBottom:e.paddingLG,["".concat(t,"-title")]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},["".concat(t,"-content")]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},["".concat(t,"-close")]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),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 ".concat(e.motionDurationMid,", background-color ").concat(e.motionDurationMid),"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:(0,n.zA)(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,i.K8)(e)),["".concat(t,"-header")]:{color:e.colorText,background:e.headerBg,borderRadius:"".concat((0,n.zA)(e.borderRadiusLG)," ").concat((0,n.zA)(e.borderRadiusLG)," 0 0"),marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},["".concat(t,"-body")]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,["".concat(t,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:"".concat((0,n.zA)(e.margin)," auto")}},["".concat(t,"-footer")]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,["> ".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginInlineStart:e.marginXS}},["".concat(t,"-open")]:{overflow:"hidden"}})},{["".concat(t,"-pure-panel")]:{top:"auto",padding:0,display:"flex",flexDirection:"column",["".concat(t,"-content,\n ").concat(t,"-body,\n ").concat(t,"-confirm-body-wrapper")]:{display:"flex",flexDirection:"column",flex:"auto"},["".concat(t,"-confirm-body")]:{marginBottom:"auto"}}}]})(t),(e=>{let{componentCls:t}=e;return{["".concat(t,"-root")]:{["".concat(t,"-wrap-rtl")]:{direction:"rtl",["".concat(t,"-confirm-body")]:{direction:"rtl"}}}}})(t),S(t),(0,T.aB)(t,"zoom"),(e=>{let{componentCls:t}=e,E=(0,o.i4)(e),i=Object.assign({},E);delete i.xs;let a="--".concat(t.replace(".",""),"-"),T=Object.keys(i).map(e=>({["@media (min-width: ".concat((0,n.zA)(i[e]),")")]:{width:"var(".concat(a).concat(e,"-width)")}}));return{["".concat(t,"-root")]:{[t]:[].concat((0,r.A)(Object.keys(E).map((e,t)=>{let r=Object.keys(E)[t-1];return r?{["".concat(a).concat(e,"-width")]:"var(".concat(a).concat(r,"-width)")}:null})),[{width:"var(".concat(a,"xs-width)")}],(0,r.A)(T))}}})(t)]},I,{unitless:{titleLineHeight:!0}})},41401:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},42115:(e,t,E)=>{"use strict";function r(e,t){this.v=e,this.k=t}function n(e,t,E,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(n=function(e,t,E,r){function i(t,E){n(e,t,function(e){return this._invoke(t,E,e)})}t?o?o(e,t,{value:E,enumerable:!r,configurable:!r,writable:!r}):e[t]=E:(i("next",0),i("throw",1),i("return",2))})(e,t,E,r)}function o(){var e,t,E="function"==typeof Symbol?Symbol:{},r=E.iterator||"@@iterator",i=E.toStringTag||"@@toStringTag";function a(E,r,o,i){var a=Object.create((r&&r.prototype instanceof s?r:s).prototype);return n(a,"_invoke",function(E,r,n){var o,i,a,s=0,A=n||[],R=!1,S={p:0,n:0,v:e,a:O,f:O.bind(e,4),d:function(t,E){return o=t,i=0,a=e,S.n=E,T}};function O(E,r){for(i=E,a=r,t=0;!R&&s&&!n&&t3?(n=I===r)&&(a=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=O&&((n=E<2&&Or||r>I)&&(o[4]=E,o[5]=r,S.n=I,i=0))}if(n||E>1)return T;throw R=!0,r}return function(n,A,I){if(s>1)throw TypeError("Generator is already running");for(R&&1===A&&O(A,I),i=A,a=I;(t=i<2?e:a)||!R;){o||(i?i<3?(i>1&&(S.n=-1),O(i,a)):S.n=a:S.v=a);try{if(s=2,o){if(i||(n="next"),t=o[n]){if(!(t=t.call(o,a)))throw TypeError("iterator result is not an object");if(!t.done)return t;a=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(a=TypeError("The iterator does not provide a '"+n+"' method"),i=1);o=e}else if((t=(R=S.n<0)?a:E.call(r,S))!==T)break}catch(t){o=e,i=1,a=t}finally{s=1}}return{value:t,done:R}}}(E,o,i),!0),a}var T={};function s(){}function A(){}function R(){}t=Object.getPrototypeOf;var S=R.prototype=s.prototype=Object.create([][r]?t(t([][r]())):(n(t={},r,function(){return this}),t));function O(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,R):(e.__proto__=R,n(e,i,"GeneratorFunction")),e.prototype=Object.create(S),e}return A.prototype=R,n(S,"constructor",R),n(R,"constructor",A),A.displayName="GeneratorFunction",n(R,i,"GeneratorFunction"),n(S),n(S,i,"Generator"),n(S,r,function(){return this}),n(S,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:O}})()}function i(e,t){var E;this.next||(n(i.prototype),n(i.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(n,o,i){function a(){return new t(function(E,o){!function E(n,o,i,a){try{var T=e[n](o),s=T.value;return s instanceof r?t.resolve(s.v).then(function(e){E("next",e,i,a)},function(e){E("throw",e,i,a)}):t.resolve(s).then(function(e){T.value=e,i(T)},function(e){return E("throw",e,i,a)})}catch(e){a(e)}}(n,i,E,o)})}return E=E?E.then(a,a):a()},!0)}function a(e,t,E,r,n){return new i(o().w(e,t,E,r),n||Promise)}function T(e){var t=Object(e),E=[];for(var r in t)E.unshift(r);return function e(){for(;E.length;)if((r=E.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}E.d(t,{A:()=>R});var s=E(86608);function A(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],E=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&E>=e.length&&(e=void 0),{value:e&&e[E++],done:!e}}}}throw TypeError((0,s.A)(e)+" is not iterable")}function R(){var e=o(),t=e.m(R),E=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function n(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))}var s={throw:1,return:2,break:3,continue:3};function S(e){var t,E;return function(r){t||(t={stop:function(){return E(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return E(r.a,s[e],t)},delegateYield:function(e,n,o){return t.resultName=n,E(r.d,A(e),o)},finish:function(e){return E(r.f,e)}},E=function(e,E,n){r.p=t.prev,r.n=t.next;try{return e(E,n)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(R=function(){return{wrap:function(t,E,r,n){return e.w(S(t),E,r,n&&n.reverse())},isGeneratorFunction:n,mark:e.m,awrap:function(e,t){return new r(e,t)},AsyncIterator:i,async:function(e,t,E,r,o){return(n(t)?a:function(e,t,E,r,n){var o=a(e,t,E,r,n);return o.next().then(function(e){return e.done?e.value:o.next()})})(S(e),t,E,r,o)},keys:T,values:A}})()}},42222:(e,t,E)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}E.d(t,{A:()=>r})},42464:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},44494:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,X:()=>o});var r=E(12115);let n=r.createContext(!1),o=e=>{let{children:t,disabled:E}=e,o=r.useContext(n);return r.createElement(n.Provider,{value:null!=E?E:o},t)},i=n},45144:(e,t,E)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}E.d(t,{A:()=>r})},45431:(e,t,E)=>{"use strict";E.d(t,{OF:()=>T,Or:()=>s,bf:()=>A});var r=E(12115),n=E(61388),o=E(15982),i=E(18184),a=E(70042);let{genStyleHooks:T,genComponentStyleHook:s,genSubStyleComponent:A}=(0,n.L_)({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=(0,r.useContext)(o.QO);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,E,r,n]=(0,a.Ay)();return{theme:e,realToken:t,hashId:E,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=(0,r.useContext)(o.QO);return null!=e?e:{}},getResetStyles:(e,t)=>{var E;let r=(0,i.av)(e);return[r,{"&":r},(0,i.jz)(null!=(E=null==t?void 0:t.prefix.iconPrefixCls)?E:o.pM)]},getCommonStyle:i.vj,getCompUnitless:()=>a.Is})},47195:(e,t,E)=>{"use strict";E.d(t,{A:()=>L});var r=E(12115),n=E(29300),o=E.n(n),i=E(53930),a=E(74686),T=E(15982),s=E(80163);let A=(0,E(45431).Or)("Wave",e=>{let{componentCls:t,colorPrimary:E}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(E,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(e.motionEaseOutCirc),"opacity 2s ".concat(e.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"opacity ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)].join(",")}}}}});var R=E(18885),S=E(16962),O=E(70042),I=E(3617),l=E(82870),c=E(25856);function N(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e&&"canvastext"!==e}function u(e){return Number.isNaN(e)?0:e}let C=e=>{let{className:t,target:E,component:n,registerUnmount:i}=e,T=r.useRef(null),s=r.useRef(null);r.useEffect(()=>{s.current=i()},[]);let[A,R]=r.useState(null),[O,c]=r.useState([]),[C,L]=r.useState(0),[_,d]=r.useState(0),[f,D]=r.useState(0),[P,p]=r.useState(0),[h,M]=r.useState(!1),m={left:C,top:_,width:f,height:P,borderRadius:O.map(e=>"".concat(e,"px")).join(" ")};function U(){let e=getComputedStyle(E);R(function(e){var t;let{borderTopColor:E,borderColor:r,backgroundColor:n}=getComputedStyle(e);return null!=(t=[E,r,n].find(N))?t:null}(E));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:n}=e;L(t?E.offsetLeft:u(-Number.parseFloat(r))),d(t?E.offsetTop:u(-Number.parseFloat(n))),D(E.offsetWidth),p(E.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:i,borderBottomLeftRadius:a,borderBottomRightRadius:T}=e;c([o,i,T,a].map(e=>u(Number.parseFloat(e))))}if(A&&(m["--wave-color"]=A),r.useEffect(()=>{if(E){let e,t=(0,S.A)(()=>{U(),M(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(U)).observe(E),()=>{S.A.cancel(t),null==e||e.disconnect()}}},[E]),!h)return null;let g=("Checkbox"===n||"Radio"===n)&&(null==E?void 0:E.classList.contains(I.D));return r.createElement(l.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var E,r;if(t.deadline||"opacity"===t.propertyName){let e=null==(E=T.current)?void 0:E.parentElement;null==(r=s.current)||r.call(s).then(()=>{null==e||e.remove()})}return!1}},(e,E)=>{let{className:n}=e;return r.createElement("div",{ref:(0,a.K4)(T,E),className:o()(t,n,{"wave-quick":g}),style:m})})},L=e=>{let{children:t,disabled:E,component:n}=e,{getPrefixCls:l}=(0,r.useContext)(T.QO),N=(0,r.useRef)(null),u=l("wave"),[,L]=A(u),_=((e,t,E)=>{let{wave:n}=r.useContext(T.QO),[,o,i]=(0,O.Ay)(),a=(0,R.A)(a=>{let T=e.current;if((null==n?void 0:n.disabled)||!T)return;let s=T.querySelector(".".concat(I.D))||T,{showEffect:A}=n||{};(A||((e,t)=>{var E;let{component:n}=t;if("Checkbox"===n&&!(null==(E=e.querySelector("input"))?void 0:E.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild);let i=(0,c.L)(),a=null;a=i(r.createElement(C,Object.assign({},t,{target:e,registerUnmount:function(){return a}})),o)}))(s,{className:t,token:o,component:E,event:a,hashId:i})}),s=r.useRef(null);return e=>{S.A.cancel(s.current),s.current=(0,S.A)(()=>{a(e)})}})(N,o()(u,L),n);if(r.useEffect(()=>{let e=N.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||E)return;let t=t=>{!(0,i.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")&&!e.className.includes("disabled:")||"true"===e.getAttribute("aria-disabled")||e.className.includes("-leave")||_(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[E]),!r.isValidElement(t))return null!=t?t:null;let d=(0,a.f3)(t)?(0,a.K4)((0,a.A9)(t),N):N;return(0,s.Ob)(t,{ref:d})}},47212:(e,t,E)=>{"use strict";E.d(t,{aB:()=>c,nF:()=>o});var r=E(99841),n=E(64717);let o=new r.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),i=new r.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),a=new r.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),T=new r.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),s=new r.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),A=new r.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),R=new r.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),S=new r.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),O=new r.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),I=new r.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),l={zoom:{inKeyframes:o,outKeyframes:i},"zoom-big":{inKeyframes:a,outKeyframes:T},"zoom-big-fast":{inKeyframes:a,outKeyframes:T},"zoom-left":{inKeyframes:R,outKeyframes:S},"zoom-right":{inKeyframes:O,outKeyframes:I},"zoom-up":{inKeyframes:s,outKeyframes:A},"zoom-down":{inKeyframes:new r.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new r.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},c=(e,t)=>{let{antCls:E}=e,r="".concat(E,"-").concat(t),{inKeyframes:o,outKeyframes:i}=l[t];return[(0,n.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{["\n ".concat(r,"-enter,\n ").concat(r,"-appear\n ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},48680:(e,t,E)=>{"use strict";function r(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}function n(e){return r(e)instanceof ShadowRoot?r(e):null}E.d(t,{j:()=>n})},48776:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(40578),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},48804:(e,t,E)=>{"use strict";E.d(t,{A:()=>T});var r=E(21858),n=E(18885),o=E(26791),i=E(28248);function a(e){return void 0!==e}function T(e,t){var E=t||{},T=E.defaultValue,s=E.value,A=E.onChange,R=E.postState,S=(0,i.A)(function(){return a(s)?s:a(T)?"function"==typeof T?T():T:"function"==typeof e?e():e}),O=(0,r.A)(S,2),I=O[0],l=O[1],c=void 0!==s?s:I,N=R?R(c):c,u=(0,n.A)(A),C=(0,i.A)([c]),L=(0,r.A)(C,2),_=L[0],d=L[1];return(0,o.o)(function(){var e=_[0];I!==e&&u(I,e)},[_]),(0,o.o)(function(){a(s)||l(s)},[s]),[N,(0,n.A)(function(e,t){l(e,t),d([c],t)})]}},49172:(e,t,E)=>{"use strict";E.d(t,{_n:()=>o,rJ:()=>i});var r=E(12115);function n(){}E(9587);let o=r.createContext({}),i=()=>{let e=()=>{};return e.deprecated=n,e}},49641:e=>{!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=T(e),E=t[0],r=t[1];return(E+r)*3/4-r},t.toByteArray=function(e){var t,E,o=T(e),i=o[0],a=o[1],s=new n((i+a)*3/4-a),A=0,R=a>0?i-4:i;for(E=0;E>16&255,s[A++]=t>>8&255,s[A++]=255&t;return 2===a&&(t=r[e.charCodeAt(E)]<<2|r[e.charCodeAt(E+1)]>>4,s[A++]=255&t),1===a&&(t=r[e.charCodeAt(E)]<<10|r[e.charCodeAt(E+1)]<<4|r[e.charCodeAt(E+2)]>>2,s[A++]=t>>8&255,s[A++]=255&t),s},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,o=[],i=0,a=r-n;i>18&63]+E[n>>12&63]+E[n>>6&63]+E[63&n]);return o.join("")}(e,i,i+16383>a?a:i+16383));return 1===n?o.push(E[(t=e[r-1])>>2]+E[t<<4&63]+"=="):2===n&&o.push(E[(t=(e[r-2]<<8)+e[r-1])>>10]+E[t>>4&63]+E[t<<2&63]+"="),o.join("")};for(var E=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i0)throw Error("Invalid string. Length must be a multiple of 4");var E=e.indexOf("=");-1===E&&(E=t);var r=E===t?0:4-E%4;return[E,r]}r[45]=62,r[95]=63},72:function(e,t,E){"use strict";var r=E(675),n=E(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function i(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,E){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return A(e)}return T(e,t,E)}function T(e,t,E){if("string"==typeof e){var r=e,n=t;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var o=0|O(r,n),T=i(o),s=T.write(r,n);return s!==o&&(T=T.slice(0,s)),T}if(ArrayBuffer.isView(e))return R(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(m(e,ArrayBuffer)||e&&m(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(m(e,SharedArrayBuffer)||e&&m(e.buffer,SharedArrayBuffer)))return function(e,t,E){var r;if(t<0||e.byteLength=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function O(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||m(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 E=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===E)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*E;case"hex":return E>>>1;case"base64":return h(e).length;default:if(n)return r?-1:P(e).length;t=(""+t).toLowerCase(),n=!0}}function I(e,t,E){var n,o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===E||E>this.length)&&(E=this.length),E<=0||(E>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,E){var r=e.length;(!t||t<0)&&(t=0),(!E||E<0||E>r)&&(E=r);for(var n="",o=t;o0x7fffffff?E=0x7fffffff:E<-0x80000000&&(E=-0x80000000),(o=E*=1)!=o&&(E=n?0:e.length-1),E<0&&(E=e.length+E),E>=e.length)if(n)return -1;else E=e.length-1;else if(E<0)if(!n)return -1;else E=0;if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:N(e,t,E,r,n);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,t,E);else return Uint8Array.prototype.lastIndexOf.call(e,t,E);return N(e,[t],E,r,n)}throw TypeError("val must be string, number or Buffer")}function N(e,t,E,r,n){var o,i=1,a=e.length,T=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;i=2,a/=2,T/=2,E/=2}function s(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(n){var A=-1;for(o=E;oa&&(E=a-T),o=E;o>=0;o--){for(var R=!0,S=0;SE&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,E,r,n){if(m(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===E&&(E=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||E>e.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&t>=E)return 0;if(r>=n)return -1;if(t>=E)return 1;if(t>>>=0,E>>>=0,r>>>=0,n>>>=0,this===e)return 0;for(var o=n-r,i=E-t,T=Math.min(o,i),s=this.slice(r,n),A=e.slice(t,E),R=0;R239?4:s>223?3:s>191?2:1;if(n+R<=E)switch(R){case 1:s<128&&(A=s);break;case 2:(192&(o=e[n+1]))==128&&(T=(31&s)<<6|63&o)>127&&(A=T);break;case 3:o=e[n+1],i=e[n+2],(192&o)==128&&(192&i)==128&&(T=(15&s)<<12|(63&o)<<6|63&i)>2047&&(T<55296||T>57343)&&(A=T);break;case 4:o=e[n+1],i=e[n+2],a=e[n+3],(192&o)==128&&(192&i)==128&&(192&a)==128&&(T=(15&s)<<18|(63&o)<<12|(63&i)<<6|63&a)>65535&&T<1114112&&(A=T)}null===A?(A=65533,R=1):A>65535&&(A-=65536,r.push(A>>>10&1023|55296),A=56320|1023&A),r.push(A),n+=R}var S=r,O=S.length;if(O<=4096)return String.fromCharCode.apply(String,S);for(var I="",l=0;lE)throw RangeError("Trying to access beyond buffer length")}function L(e,t,E,r,n,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||te.length)throw RangeError("Index out of range")}function _(e,t,E,r,n,o){if(E+r>e.length||E<0)throw RangeError("Index out of range")}function d(e,t,E,r,o){return t*=1,E>>>=0,o||_(e,t,E,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,E,r,23,4),E+4}function f(e,t,E,r,o){return t*=1,E>>>=0,o||_(e,t,E,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,E,r,52,8),E+8}a.prototype.write=function(e,t,E,r){if(void 0===t)r="utf8",E=this.length,t=0;else if(void 0===E&&"string"==typeof t)r=t,E=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(E)?(E>>>=0,void 0===r&&(r="utf8")):(r=E,E=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,i,a,T,s,A,R,S=this.length-t;if((void 0===E||E>S)&&(E=S),e.length>0&&(E<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var O=!1;;)switch(r){case"hex":return function(e,t,E,r){E=Number(E)||0;var n=e.length-E;r?(r=Number(r))>n&&(r=n):r=n;var o=t.length;r>o/2&&(r=o/2);for(var i=0;i>8,n.push(E%256),n.push(r);return n}(e,this.length-A),this,A,R);default:if(O)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),O=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var E=this.length;e=~~e,t=void 0===t?E:~~t,e<0?(e+=E)<0&&(e=0):e>E&&(e=E),t<0?(t+=E)<0&&(t=0):t>E&&(t=E),t>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e],n=1,o=0;++o>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e+--t],n=1;t>0&&(n*=256);)r+=this[e+--t]*n;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,E){e>>>=0,t>>>=0,E||C(e,t,this.length);for(var r=this[e],n=1,o=0;++o=(n*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,E){e>>>=0,t>>>=0,E||C(e,t,this.length);for(var r=t,n=1,o=this[e+--r];r>0&&(n*=256);)o+=this[e+--r]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||C(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var E=this[e]|this[e+1]<<8;return 32768&E?0xffff0000|E:E},a.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var E=this[e+1]|this[e]<<8;return 32768&E?0xffff0000|E:E},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),n.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),n.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),n.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),n.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,E,r){if(e*=1,t>>>=0,E>>>=0,!r){var n=Math.pow(2,8*E)-1;L(this,e,t,E,n,0)}var o=1,i=0;for(this[t]=255&e;++i>>=0,E>>>=0,!r){var n=Math.pow(2,8*E)-1;L(this,e,t,E,n,0)}var o=E-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+E},a.prototype.writeUInt8=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,E,r){if(e*=1,t>>>=0,!r){var n=Math.pow(2,8*E-1);L(this,e,t,E,n-1,-n)}var o=0,i=1,a=0;for(this[t]=255&e;++o>>=0,!r){var n=Math.pow(2,8*E-1);L(this,e,t,E,n-1,-n)}var o=E-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i|0)-a&255;return t+E},a.prototype.writeInt8=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,E){return e*=1,t>>>=0,E||L(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,E){return d(this,e,t,!0,E)},a.prototype.writeFloatBE=function(e,t,E){return d(this,e,t,!1,E)},a.prototype.writeDoubleLE=function(e,t,E){return f(this,e,t,!0,E)},a.prototype.writeDoubleBE=function(e,t,E){return f(this,e,t,!1,E)},a.prototype.copy=function(e,t,E,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(E||(E=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;--o)e[o+t]=this[o+E];else Uint8Array.prototype.set.call(e,this.subarray(E,r),t);return n},a.prototype.fill=function(e,t,E,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,E=this.length):"string"==typeof E&&(r=E,E=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var n,o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,E=void 0===E?this.length:E>>>0,e||(e=0),"number"==typeof e)for(n=t;n55295&&E<57344){if(!n){if(E>56319||i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}n=E;continue}if(E<56320){(t-=3)>-1&&o.push(239,191,189),n=E;continue}E=(n-55296<<10|E-56320)+65536}else n&&(t-=3)>-1&&o.push(239,191,189);if(n=null,E<128){if((t-=1)<0)break;o.push(E)}else if(E<2048){if((t-=2)<0)break;o.push(E>>6|192,63&E|128)}else if(E<65536){if((t-=3)<0)break;o.push(E>>12|224,E>>6&63|128,63&E|128)}else if(E<1114112){if((t-=4)<0)break;o.push(E>>18|240,E>>12&63|128,E>>6&63|128,63&E|128)}else throw Error("Invalid code point")}return o}function p(e){for(var t=[],E=0;E=t.length)&&!(n>=e.length);++n)t[n+E]=e[n];return n}function m(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var U=function(){for(var e="0123456789abcdef",t=Array(256),E=0;E<16;++E)for(var r=16*E,n=0;n<16;++n)t[r+n]=e[E]+e[n];return t}()},783:function(e,t){t.read=function(e,t,E,r,n){var o,i,a=8*n-r-1,T=(1<>1,A=-7,R=E?n-1:0,S=E?-1:1,O=e[t+R];for(R+=S,o=O&(1<<-A)-1,O>>=-A,A+=a;A>0;o=256*o+e[t+R],R+=S,A-=8);for(i=o&(1<<-A)-1,o>>=-A,A+=r;A>0;i=256*i+e[t+R],R+=S,A-=8);if(0===o)o=1-s;else{if(o===T)return i?NaN:1/0*(O?-1:1);i+=Math.pow(2,r),o-=s}return(O?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,E,r,n,o){var i,a,T,s=8*o-n-1,A=(1<>1,S=5960464477539062e-23*(23===n),O=r?0:o-1,I=r?1:-1,l=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),i=A):(i=Math.floor(Math.log(t)/Math.LN2),t*(T=Math.pow(2,-i))<1&&(i--,T*=2),i+R>=1?t+=S/T:t+=S*Math.pow(2,1-R),t*T>=2&&(i++,T/=2),i+R>=A?(a=0,i=A):i+R>=1?(a=(t*T-1)*Math.pow(2,n),i+=R):(a=t*Math.pow(2,R-1)*Math.pow(2,n),i=0));n>=8;e[E+O]=255&a,O+=I,a/=256,n-=8);for(i=i<0;e[E+O]=255&i,O+=I,i/=256,s-=8);e[E+O-I]|=128*l}}},E={};function r(e){var n=E[e];if(void 0!==n)return n.exports;var o=E[e]={exports:{}},i=!0;try{t[e](o,o.exports,r),i=!1}finally{i&&delete E[e]}return o.exports}r.ab="//",e.exports=r(72)}()},50199:(e,t,E)=>{"use strict";E.d(t,{L3:()=>a,i4:()=>T,xV:()=>s});var r=E(99841),n=E(45431),o=E(61388);let i=(e,t)=>((e,t)=>{let{prefixCls:E,componentCls:r,gridColumns:n}=e,o={};for(let e=n;e>=0;e--)0===e?(o["".concat(r).concat(t,"-").concat(e)]={display:"none"},o["".concat(r,"-push-").concat(e)]={insetInlineStart:"auto"},o["".concat(r,"-pull-").concat(e)]={insetInlineEnd:"auto"},o["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"auto"},o["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"auto"},o["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:0},o["".concat(r).concat(t,"-order-").concat(e)]={order:0}):(o["".concat(r).concat(t,"-").concat(e)]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:"0 0 ".concat(e/n*100,"%"),maxWidth:"".concat(e/n*100,"%")}],o["".concat(r).concat(t,"-push-").concat(e)]={insetInlineStart:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-pull-").concat(e)]={insetInlineEnd:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-offset-").concat(e)]={marginInlineStart:"".concat(e/n*100,"%")},o["".concat(r).concat(t,"-order-").concat(e)]={order:e});return o["".concat(r).concat(t,"-flex")]={flex:"var(--".concat(E).concat(t,"-flex)")},o})(e,t),a=(0,n.OF)("Grid",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"}}}},()=>({})),T=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),s=(0,n.OF)("Grid",e=>{let t=(0,o.oX)(e,{gridColumns:24}),E=T(t);return delete E.xs,[(e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}})(t),i(t,""),i(t,"-xs"),Object.keys(E).map(e=>{let n,o;return n=E[e],o="-".concat(e),{["@media (min-width: ".concat((0,r.zA)(n),")")]:Object.assign({},i(t,o))}}).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},50497:(e,t,E)=>{"use strict";E.d(t,{$:()=>S,d:()=>s});var r=E(12115),n=E(48776),o=E(40032),i=E(8530),a=E(16025),T=E(85382);function s(e){if(!e)return;let{closable:t,closeIcon:E}=e;return{closable:t,closeIcon:E}}function A(e){let{closable:t,closeIcon:E}=e||{};return r.useMemo(()=>{if(!t&&(!1===t||!1===E||null===E))return!1;if(void 0===t&&void 0===E)return null;let e={closeIcon:"boolean"!=typeof E&&null!==E?E:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e},[t,E])}let R={},S=function(e,t){let E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,s=A(e),S=A(t),[O]=(0,i.A)("global",a.A.global),I="boolean"!=typeof s&&!!(null==s?void 0:s.disabled),l=r.useMemo(()=>Object.assign({closeIcon:r.createElement(n.A,null)},E),[E]),c=r.useMemo(()=>!1!==s&&(s?(0,T.A)(l,S,s):!1!==S&&(S?(0,T.A)(l,S):!!l.closable&&l)),[s,S,l]);return r.useMemo(()=>{var e,t;if(!1===c)return[!1,null,I,{}];let{closeIconRender:E}=l,{closeIcon:n}=c,i=n,a=(0,o.A)(c,!0);return null!=i&&(E&&(i=E(n)),i=r.isValidElement(i)?r.cloneElement(i,Object.assign(Object.assign(Object.assign({},i.props),{"aria-label":null!=(t=null==(e=i.props)?void 0:e["aria-label"])?t:O.close}),a)):r.createElement("span",Object.assign({"aria-label":O.close},a),i)),[!0,i,I,a]},[I,O.close,c,l])}},50907:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},51280:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(89450),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},51754:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115);let o={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"};var i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o}))})},52270:(e,t,E)=>{"use strict";e.exports=E(97314)},52596:(e,t,E)=>{"use strict";function r(){for(var e,t,E=0,r="",n=arguments.length;Er,A:()=>n});let n=r},53930:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),E=t.width,r=t.height;if(E||r)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),o=n.width,i=n.height;if(o||i)return!0}}return!1}},55121:(e,t,E)=>{"use strict";E.d(t,{Z:()=>f,A:()=>M});var r=E(79630),n=E(21858),o=E(24756),i=E(12115),a=i.createContext({}),T=E(27061),s=E(29300),A=E.n(s),R=E(3201),S=E(32934),O=E(17233),I=E(40032);function l(e,t,E){var r=t;return!r&&E&&(r="".concat(e,"-").concat(E)),r}function c(e,t){var E=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof E){var n=e.document;"number"!=typeof(E=n.documentElement[r])&&(E=n.body[r])}return E}var N=E(82870),u=E(86608),C=E(74686);let L=i.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate});var _={width:0,height:0,overflow:"hidden",outline:"none"},d={outline:"none"};let f=i.forwardRef(function(e,t){var E=e.prefixCls,n=e.className,o=e.style,s=e.title,R=e.ariaId,S=e.footer,O=e.closable,l=e.closeIcon,c=e.onClose,N=e.children,f=e.bodyStyle,D=e.bodyProps,P=e.modalRender,p=e.onMouseDown,h=e.onMouseUp,M=e.holderRef,m=e.visible,U=e.forceRender,g=e.width,y=e.height,G=e.classNames,b=e.styles,v=i.useContext(a).panel,H=(0,C.xK)(M,v),F=(0,i.useRef)(),B=(0,i.useRef)();i.useImperativeHandle(t,function(){return{focus:function(){var e;null==(e=F.current)||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===B.current?F.current.focus({preventScroll:!0}):e||t!==F.current||B.current.focus({preventScroll:!0})}}});var Y={};void 0!==g&&(Y.width=g),void 0!==y&&(Y.height=y);var V=S?i.createElement("div",{className:A()("".concat(E,"-footer"),null==G?void 0:G.footer),style:(0,T.A)({},null==b?void 0:b.footer)},S):null,x=s?i.createElement("div",{className:A()("".concat(E,"-header"),null==G?void 0:G.header),style:(0,T.A)({},null==b?void 0:b.header)},i.createElement("div",{className:"".concat(E,"-title"),id:R},s)):null,W=(0,i.useMemo)(function(){return"object"===(0,u.A)(O)&&null!==O?O:O?{closeIcon:null!=l?l:i.createElement("span",{className:"".concat(E,"-close-x")})}:{}},[O,l,E]),w=(0,I.A)(W,!0),X="object"===(0,u.A)(O)&&O.disabled,K=O?i.createElement("button",(0,r.A)({type:"button",onClick:c,"aria-label":"Close"},w,{className:"".concat(E,"-close"),disabled:X}),W.closeIcon):null,k=i.createElement("div",{className:A()("".concat(E,"-content"),null==G?void 0:G.content),style:null==b?void 0:b.content},K,x,i.createElement("div",(0,r.A)({className:A()("".concat(E,"-body"),null==G?void 0:G.body),style:(0,T.A)((0,T.A)({},f),null==b?void 0:b.body)},D),N),V);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":s?R:null,"aria-modal":"true",ref:H,style:(0,T.A)((0,T.A)({},o),Y),className:A()(E,n),onMouseDown:p,onMouseUp:h},i.createElement("div",{ref:F,tabIndex:0,style:d},i.createElement(L,{shouldUpdate:m||U},P?P(k):k)),i.createElement("div",{tabIndex:0,ref:B,style:_}))});var D=i.forwardRef(function(e,t){var E=e.prefixCls,o=e.title,a=e.style,s=e.className,R=e.visible,S=e.forceRender,O=e.destroyOnClose,I=e.motionName,l=e.ariaId,u=e.onVisibleChanged,C=e.mousePosition,L=(0,i.useRef)(),_=i.useState(),d=(0,n.A)(_,2),D=d[0],P=d[1],p={};function h(){var e,t,E,r,n,o=(E={left:(t=(e=L.current).getBoundingClientRect()).left,top:t.top},n=(r=e.ownerDocument).defaultView||r.parentWindow,E.left+=c(n),E.top+=c(n,!0),E);P(C&&(C.x||C.y)?"".concat(C.x-o.left,"px ").concat(C.y-o.top,"px"):"")}return D&&(p.transformOrigin=D),i.createElement(N.Ay,{visible:R,onVisibleChanged:u,onAppearPrepare:h,onEnterPrepare:h,forceRender:S,motionName:I,removeOnLeave:O,ref:L},function(n,R){var S=n.className,O=n.style;return i.createElement(f,(0,r.A)({},e,{ref:t,title:o,ariaId:l,prefixCls:E,holderRef:R,style:(0,T.A)((0,T.A)((0,T.A)({},O),a),p),className:A()(s,S)}))})});D.displayName="Content";let P=function(e){var t=e.prefixCls,E=e.style,n=e.visible,o=e.maskProps,a=e.motionName,s=e.className;return i.createElement(N.Ay,{key:"mask",visible:n,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},function(e,n){var a=e.className,R=e.style;return i.createElement("div",(0,r.A)({ref:n,style:(0,T.A)((0,T.A)({},R),E),className:A()("".concat(t,"-mask"),a,s)},o))})};E(9587);let p=function(e){var t=e.prefixCls,E=void 0===t?"rc-dialog":t,o=e.zIndex,a=e.visible,s=void 0!==a&&a,c=e.keyboard,N=void 0===c||c,u=e.focusTriggerAfterClose,C=void 0===u||u,L=e.wrapStyle,_=e.wrapClassName,d=e.wrapProps,f=e.onClose,p=e.afterOpenChange,h=e.afterClose,M=e.transitionName,m=e.animation,U=e.closable,g=e.mask,y=void 0===g||g,G=e.maskTransitionName,b=e.maskAnimation,v=e.maskClosable,H=e.maskStyle,F=e.maskProps,B=e.rootClassName,Y=e.classNames,V=e.styles,x=(0,i.useRef)(),W=(0,i.useRef)(),w=(0,i.useRef)(),X=i.useState(s),K=(0,n.A)(X,2),k=K[0],J=K[1],j=(0,S.A)();function $(e){null==f||f(e)}var q=(0,i.useRef)(!1),Q=(0,i.useRef)(),z=null;(void 0===v||v)&&(z=function(e){q.current?q.current=!1:W.current===e.target&&$(e)}),(0,i.useEffect)(function(){s&&(J(!0),(0,R.A)(W.current,document.activeElement)||(x.current=document.activeElement))},[s]),(0,i.useEffect)(function(){return function(){clearTimeout(Q.current)}},[]);var Z=(0,T.A)((0,T.A)((0,T.A)({zIndex:o},L),null==V?void 0:V.wrapper),{},{display:k?null:"none"});return i.createElement("div",(0,r.A)({className:A()("".concat(E,"-root"),B)},(0,I.A)(e,{data:!0})),i.createElement(P,{prefixCls:E,visible:y&&s,motionName:l(E,G,b),style:(0,T.A)((0,T.A)({zIndex:o},H),null==V?void 0:V.mask),maskProps:F,className:null==Y?void 0:Y.mask}),i.createElement("div",(0,r.A)({tabIndex:-1,onKeyDown:function(e){if(N&&e.keyCode===O.A.ESC){e.stopPropagation(),$(e);return}s&&e.keyCode===O.A.TAB&&w.current.changeActive(!e.shiftKey)},className:A()("".concat(E,"-wrap"),_,null==Y?void 0:Y.wrapper),ref:W,onClick:z,style:Z},d),i.createElement(D,(0,r.A)({},e,{onMouseDown:function(){clearTimeout(Q.current),q.current=!0},onMouseUp:function(){Q.current=setTimeout(function(){q.current=!1})},ref:w,closable:void 0===U||U,ariaId:j,prefixCls:E,visible:s&&k,onClose:$,onVisibleChanged:function(e){if(e){if(!(0,R.A)(W.current,document.activeElement)){var t;null==(t=w.current)||t.focus()}}else{if(J(!1),y&&x.current&&C){try{x.current.focus({preventScroll:!0})}catch(e){}x.current=null}k&&(null==h||h())}null==p||p(e)},motionName:l(E,M,m)}))))};var h=function(e){var t=e.visible,E=e.getContainer,T=e.forceRender,s=e.destroyOnClose,A=void 0!==s&&s,R=e.afterClose,S=e.panelRef,O=i.useState(t),I=(0,n.A)(O,2),l=I[0],c=I[1],N=i.useMemo(function(){return{panel:S}},[S]);return(i.useEffect(function(){t&&c(!0)},[t]),T||!A||l)?i.createElement(a.Provider,{value:N},i.createElement(o.A,{open:t||T||l,autoDestroy:!1,getContainer:E,autoLock:t||l},i.createElement(p,(0,r.A)({},e,{destroyOnClose:A,afterClose:function(){null==R||R(),c(!1)}})))):null};h.displayName="Dialog";let M=h},55227:(e,t,E)=>{"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}E.d(t,{A:()=>r})},57845:(e,t,E)=>{"use strict";let r,n,o,i;E.d(t,{Ay:()=>k,cr:()=>w});var a=E(12115),T=E.t(a,2),s=E(99841),A=E(97089),R=E(22801),S=E(74121),O=E(49172),I=E(61958),l=E(94134),c=E(6212);let N=e=>{let{locale:t={},children:E,_ANT_MARK__:r}=e;a.useEffect(()=>(0,l.L)(null==t?void 0:t.Modal),[t]);let n=a.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return a.createElement(c.A.Provider,{value:n},E)};var u=E(16025),C=E(66154),L=E(35519),_=E(13418),d=E(15982),f=E(68057),D=E(60872),P=E(71367),p=E(85440);let h="-ant-".concat(Date.now(),"-").concat(Math.random());var M=E(44494),m=E(39985),U=E(80227);let{useId:g}=Object.assign({},T),y=void 0===g?()=>"":g;var G=E(82870),b=E(70042);let v=a.createContext(!0);function H(e){let t=a.useContext(v),{children:E}=e,[,r]=(0,b.Ay)(),{motion:n}=r,o=a.useRef(!1);return(o.current||(o.current=t!==n),o.current)?a.createElement(v.Provider,{value:n},a.createElement(G.Kq,{motion:n},E)):E}let F=()=>null;var B=E(18184),Y=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let V=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];function x(){return r||d.yH}function W(){return n||d.pM}let w=()=>({getPrefixCls:(e,t)=>t||(e?"".concat(x(),"-").concat(e):x()),getIconPrefixCls:W,getRootPrefixCls:()=>r||x(),getTheme:()=>o,holderRender:i}),X=e=>{let{children:t,csp:E,autoInsertSpaceInButton:r,alert:n,anchor:o,form:i,locale:T,componentSize:l,direction:c,space:f,splitter:D,virtual:P,dropdownMatchSelectWidth:p,popupMatchSelectWidth:h,popupOverflow:g,legacyLocale:G,parentContext:v,iconPrefixCls:x,theme:W,componentDisabled:w,segmented:X,statistic:K,spin:k,calendar:J,carousel:j,cascader:$,collapse:q,typography:Q,checkbox:z,descriptions:Z,divider:ee,drawer:et,skeleton:eE,steps:er,image:en,layout:eo,list:ei,mentions:ea,modal:eT,progress:es,result:eA,slider:eR,breadcrumb:eS,menu:eO,pagination:eI,input:el,textArea:ec,empty:eN,badge:eu,radio:eC,rate:eL,switch:e_,transfer:ed,avatar:ef,message:eD,tag:eP,table:ep,card:eh,tabs:eM,timeline:em,timePicker:eU,upload:eg,notification:ey,tree:eG,colorPicker:eb,datePicker:ev,rangePicker:eH,flex:eF,wave:eB,dropdown:eY,warning:eV,tour:ex,tooltip:eW,popover:ew,popconfirm:eX,floatButton:eK,floatButtonGroup:ek,variant:eJ,inputNumber:ej,treeSelect:e$}=e,eq=a.useCallback((t,E)=>{let{prefixCls:r}=e;if(E)return E;let n=r||v.getPrefixCls("");return t?"".concat(n,"-").concat(t):n},[v.getPrefixCls,e.prefixCls]),eQ=x||v.iconPrefixCls||d.pM,ez=E||v.csp;((e,t)=>{let[E,r]=(0,b.Ay)();return(0,s.IV)({theme:E,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},()=>(0,B.jz)(e))})(eQ,ez);let eZ=function(e,t,E){var r;(0,O.rJ)("ConfigProvider");let n=e||{},o=!1!==n.inherit&&t?t:Object.assign(Object.assign({},L.sb),{hashed:null!=(r=null==t?void 0:t.hashed)?r:L.sb.hashed,cssVar:null==t?void 0:t.cssVar}),i=y();return(0,R.A)(()=>{var r,a;if(!e)return t;let T=Object.assign({},o.components);Object.keys(e.components||{}).forEach(t=>{T[t]=Object.assign(Object.assign({},T[t]),e.components[t])});let s="css-var-".concat(i.replace(/:/g,"")),A=(null!=(r=n.cssVar)?r:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==E?void 0:E.prefixCls},"object"==typeof o.cssVar?o.cssVar:{}),"object"==typeof n.cssVar?n.cssVar:{}),{key:"object"==typeof n.cssVar&&(null==(a=n.cssVar)?void 0:a.key)||s});return Object.assign(Object.assign(Object.assign({},o),n),{token:Object.assign(Object.assign({},o.token),n.token),components:T,cssVar:A})},[n,o],(e,t)=>e.some((e,E)=>{let r=t[E];return!(0,U.A)(e,r,!0)}))}(W,v.theme,{prefixCls:eq("")}),e0={csp:ez,autoInsertSpaceInButton:r,alert:n,anchor:o,locale:T||G,direction:c,space:f,splitter:D,virtual:P,popupMatchSelectWidth:null!=h?h:p,popupOverflow:g,getPrefixCls:eq,iconPrefixCls:eQ,theme:eZ,segmented:X,statistic:K,spin:k,calendar:J,carousel:j,cascader:$,collapse:q,typography:Q,checkbox:z,descriptions:Z,divider:ee,drawer:et,skeleton:eE,steps:er,image:en,input:el,textArea:ec,layout:eo,list:ei,mentions:ea,modal:eT,progress:es,result:eA,slider:eR,breadcrumb:eS,menu:eO,pagination:eI,empty:eN,badge:eu,radio:eC,rate:eL,switch:e_,transfer:ed,avatar:ef,message:eD,tag:eP,table:ep,card:eh,tabs:eM,timeline:em,timePicker:eU,upload:eg,notification:ey,tree:eG,colorPicker:eb,datePicker:ev,rangePicker:eH,flex:eF,wave:eB,dropdown:eY,warning:eV,tour:ex,tooltip:eW,popover:ew,popconfirm:eX,floatButton:eK,floatButtonGroup:ek,variant:eJ,inputNumber:ej,treeSelect:e$},e1=Object.assign({},v);Object.keys(e0).forEach(e=>{void 0!==e0[e]&&(e1[e]=e0[e])}),V.forEach(t=>{let E=e[t];E&&(e1[t]=E)}),void 0!==r&&(e1.button=Object.assign({autoInsertSpace:r},e1.button));let e2=(0,R.A)(()=>e1,e1,(e,t)=>{let E=Object.keys(e),r=Object.keys(t);return E.length!==r.length||E.some(E=>e[E]!==t[E])}),{layer:e5}=a.useContext(s.J),e6=a.useMemo(()=>({prefixCls:eQ,csp:ez,layer:e5?"antd":void 0}),[eQ,ez,e5]),e4=a.createElement(a.Fragment,null,a.createElement(F,{dropdownMatchSelectWidth:p}),t),e8=a.useMemo(()=>{var e,t,E,r;return(0,S.h)((null==(e=u.A.Form)?void 0:e.defaultValidateMessages)||{},(null==(E=null==(t=e2.locale)?void 0:t.Form)?void 0:E.defaultValidateMessages)||{},(null==(r=e2.form)?void 0:r.validateMessages)||{},(null==i?void 0:i.validateMessages)||{})},[e2,null==i?void 0:i.validateMessages]);Object.keys(e8).length>0&&(e4=a.createElement(I.A.Provider,{value:e8},e4)),T&&(e4=a.createElement(N,{locale:T,_ANT_MARK__:"internalMark"},e4)),(eQ||ez)&&(e4=a.createElement(A.A.Provider,{value:e6},e4)),l&&(e4=a.createElement(m.c,{size:l},e4)),e4=a.createElement(H,null,e4);let e3=a.useMemo(()=>{let e=eZ||{},{algorithm:t,token:E,components:r,cssVar:n}=e,o=Y(e,["algorithm","token","components","cssVar"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,s.an)(t):C.A,a={};Object.entries(r||{}).forEach(e=>{let[t,E]=e,r=Object.assign({},E);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,s.an)(r.algorithm)),delete r.algorithm),a[t]=r});let T=Object.assign(Object.assign({},_.A),E);return Object.assign(Object.assign({},o),{theme:i,token:T,components:a,override:Object.assign({override:T},a),cssVar:n})},[eZ]);return W&&(e4=a.createElement(L.vG.Provider,{value:e3},e4)),e2.warning&&(e4=a.createElement(O._n.Provider,{value:e2.warning},e4)),void 0!==w&&(e4=a.createElement(M.X,{disabled:w},e4)),a.createElement(d.QO.Provider,{value:e2},e4)},K=e=>{let t=a.useContext(d.QO),E=a.useContext(c.A);return a.createElement(X,Object.assign({parentContext:t,legacyLocale:E},e))};K.ConfigContext=d.QO,K.SizeContext=m.A,K.config=e=>{let{prefixCls:t,iconPrefixCls:E,theme:a,holderRender:T}=e;void 0!==t&&(r=t),void 0!==E&&(n=E),"holderRender"in e&&(i=T),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?!function(e,t){let E=function(e,t){let E={},r=(e,t)=>{let E=e.clone();return(E=(null==t?void 0:t(E))||E).toRgbString()},n=(e,t)=>{let n=new D.Y(e),o=(0,f.cM)(n.toRgbString());E["".concat(t,"-color")]=r(n),E["".concat(t,"-color-disabled")]=o[1],E["".concat(t,"-color-hover")]=o[4],E["".concat(t,"-color-active")]=o[6],E["".concat(t,"-color-outline")]=n.clone().setA(.2).toRgbString(),E["".concat(t,"-color-deprecated-bg")]=o[0],E["".concat(t,"-color-deprecated-border")]=o[2]};if(t.primaryColor){n(t.primaryColor,"primary");let e=new D.Y(t.primaryColor),o=(0,f.cM)(e.toRgbString());o.forEach((e,t)=>{E["primary-".concat(t+1)]=e}),E["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),E["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),E["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),E["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),E["primary-color-deprecated-f-12"]=r(e,e=>e.setA(.12*e.a));let i=new D.Y(o[0]);E["primary-color-active-deprecated-f-30"]=r(i,e=>e.setA(.3*e.a)),E["primary-color-active-deprecated-d-02"]=r(i,e=>e.darken(2))}t.successColor&&n(t.successColor,"success"),t.warningColor&&n(t.warningColor,"warning"),t.errorColor&&n(t.errorColor,"error"),t.infoColor&&n(t.infoColor,"info");let o=Object.keys(E).map(t=>"--".concat(e,"-").concat(t,": ").concat(E[t],";"));return"\n :root {\n ".concat(o.join("\n"),"\n }\n ").trim()}(e,t);(0,P.A)()&&(0,p.BD)(E,"".concat(h,"-dynamic-theme"))}(x(),a):o=a)},K.useConfig=function(){return{componentDisabled:(0,a.useContext)(M.A),componentSize:(0,a.useContext)(m.A)}},Object.defineProperty(K,"SizeContext",{get:()=>m.A});let k=K},59362:(e,t,E)=>{"use strict";E.d(t,{pe:()=>n});let{Axios:r,AxiosError:n,CanceledError:o,isCancel:i,CancelToken:a,VERSION:T,all:s,Cancel:A,isAxiosError:R,spread:S,toFormData:O,AxiosHeaders:I,HttpStatusCode:l,formToJSON:c,getAdapter:N,mergeConfig:u}=E(23464).A},60872:(e,t,E)=>{"use strict";E.d(t,{Y:()=>T});var r=E(40419);let n=Math.round;function o(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let i=(e,t,E)=>0===E?e:e/100;function a(e,t){let E=t||255;return e>E?E:e<0?0:e}class T{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=n(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:E,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,E=this._c(e),r=t/100,o=e=>(E[e]-this[e])*r+this[e],i={r:n(o("r")),g:n(o("g")),b:n(o("b")),a:n(100*o("a"))/100};return this._c(i)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>n((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=n(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=n(100*this.getSaturation()),E=n(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(E,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(E,"%)")}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=a(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl(e){let{h:t,s:E,l:r,a:o}=e;if(this._h=t%360,this._s=E,this._l=r,this.a="number"==typeof o?o:1,E<=0){let e=n(255*r);this.r=e,this.g=e,this.b=e}let i=0,a=0,T=0,s=t/60,A=(1-Math.abs(2*r-1))*E,R=A*(1-Math.abs(s%2-1));s>=0&&s<1?(i=A,a=R):s>=1&&s<2?(i=R,a=A):s>=2&&s<3?(a=A,T=R):s>=3&&s<4?(a=R,T=A):s>=4&&s<5?(i=R,T=A):s>=5&&s<6&&(i=A,T=R);let S=r-A/2;this.r=n((i+S)*255),this.g=n((a+S)*255),this.b=n((T+S)*255)}fromHsv(e){let{h:t,s:E,v:r,a:o}=e;this._h=t%360,this._s=E,this._v=r,this.a="number"==typeof o?o:1;let i=n(255*r);if(this.r=i,this.g=i,this.b=i,E<=0)return;let a=t/60,T=Math.floor(a),s=a-T,A=n(r*(1-E)*255),R=n(r*(1-E*s)*255),S=n(r*(1-E*(1-s))*255);switch(T){case 0:this.g=S,this.b=A;break;case 1:this.r=R,this.b=A;break;case 2:this.r=A,this.b=S;break;case 3:this.r=A,this.g=R;break;case 4:this.r=S,this.g=A;break;default:this.g=A,this.b=R}}fromHsvString(e){let t=o(e,i);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=o(e,i);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=o(e,(e,t)=>t.includes("%")?n(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.A)(this,"isValid",!0),(0,r.A)(this,"r",0),(0,r.A)(this,"g",0),(0,r.A)(this,"b",0),(0,r.A)(this,"a",1),(0,r.A)(this,"_h",void 0),(0,r.A)(this,"_s",void 0),(0,r.A)(this,"_l",void 0),(0,r.A)(this,"_v",void 0),(0,r.A)(this,"_max",void 0),(0,r.A)(this,"_min",void 0),(0,r.A)(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):E("rgb")?this.fromRgbString(t):E("hsl")?this.fromHslString(t):(E("hsv")||E("hsb"))&&this.fromHsvString(t)}else if(e instanceof T)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=a(e.r),this.g=a(e.g),this.b=a(e.b),this.a="number"==typeof e.a?a(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}},61051:(e,t,E)=>{"use strict";E.d(t,{V:()=>r,i:()=>n});let r=E(12115).createContext({}),{Provider:n}=r},61216:(e,t,E)=>{"use strict";E.d(t,{$D:()=>l,Ay:()=>O,Ej:()=>c,FB:()=>C,fp:()=>I,jT:()=>N,lr:()=>u});var r=E(85757),n=E(12115),o=E(15982),i=E(57845),a=E(25856),T=E(85051),s=E(32655),A=E(94134);let R="",S=e=>{var t,E;let{prefixCls:r,getContainer:i,direction:a}=e,s=(0,A.l)(),S=(0,n.useContext)(o.QO),O=R||S.getPrefixCls(),I=r||"".concat(O,"-modal"),l=i;return!1===l&&(l=void 0),n.createElement(T.A,Object.assign({},e,{rootPrefixCls:O,prefixCls:I,iconPrefixCls:S.iconPrefixCls,theme:S.theme,direction:null!=a?a:S.direction,locale:null!=(E=null==(t=S.locale)?void 0:t.Modal)?E:s,getContainer:l}))};function O(e){let t,E,o=(0,i.cr)(),T=document.createDocumentFragment(),A=Object.assign(Object.assign({},e),{close:l,open:!0});function O(){for(var t,n=arguments.length,o=Array(n),i=0;inull==e?void 0:e.triggerCancel)&&(null==(t=e.onCancel)||t.call.apply(t,[e,()=>{}].concat((0,r.A)(o.slice(1)))));for(let e=0;e{clearTimeout(t),t=setTimeout(()=>{let t=o.getPrefixCls(void 0,R),r=o.getIconPrefixCls(),s=o.getTheme(),A=n.createElement(S,Object.assign({},e));E=(0,a.L)()(n.createElement(i.Ay,{prefixCls:t,iconPrefixCls:r,theme:s},"function"==typeof o.holderRender?o.holderRender(A):A),T)})};function l(){for(var t=arguments.length,E=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),O.apply(this,E)}})).visible&&delete A.visible,I(A)}return I(A),s.A.push(l),{destroy:l,update:function(e){I(A="function"==typeof e?e(A):Object.assign(Object.assign({},A),e))}}}function I(e){return Object.assign(Object.assign({},e),{type:"warning"})}function l(e){return Object.assign(Object.assign({},e),{type:"info"})}function c(e){return Object.assign(Object.assign({},e),{type:"success"})}function N(e){return Object.assign(Object.assign({},e),{type:"error"})}function u(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function C(e){let{rootPrefixCls:t}=e;R=t}},61388:(e,t,E)=>{"use strict";E.d(t,{L_:()=>y,oX:()=>P});var r=E(86608),n=E(21858),o=E(40419),i=E(27061),a=E(12115),T=E(99841),s=E(30857),A=E(28383),R=E(55227),S=E(38289),O=E(9424),I=(0,A.A)(function e(){(0,s.A)(this,e)}),l="CALC_UNIT",c=RegExp(l,"g");function N(e){return"number"==typeof e?"".concat(e).concat(l):e}var u=function(e){(0,S.A)(E,e);var t=(0,O.A)(E);function E(e,n){(0,s.A)(this,E),i=t.call(this),(0,o.A)((0,R.A)(i),"result",""),(0,o.A)((0,R.A)(i),"unitlessCssVar",void 0),(0,o.A)((0,R.A)(i),"lowPriority",void 0);var i,a=(0,r.A)(e);return i.unitlessCssVar=n,e instanceof E?i.result="(".concat(e.result,")"):"number"===a?i.result=N(e):"string"===a&&(i.result=e),i}return(0,A.A)(E,[{key:"add",value:function(e){return e instanceof E?this.result="".concat(this.result," + ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," + ").concat(N(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof E?this.result="".concat(this.result," - ").concat(e.getResult()):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," - ").concat(N(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof E?this.result="".concat(this.result," * ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof E?this.result="".concat(this.result," / ").concat(e.getResult(!0)):("number"==typeof e||"string"==typeof e)&&(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,E=(e||{}).unit,r=!0;return("boolean"==typeof E?r=E:Array.from(this.unitlessCssVar).some(function(e){return t.result.includes(e)})&&(r=!1),this.result=this.result.replace(c,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),E}(I),C=function(e){(0,S.A)(E,e);var t=(0,O.A)(E);function E(e){var r;return(0,s.A)(this,E),r=t.call(this),(0,o.A)((0,R.A)(r),"result",0),e instanceof E?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,A.A)(E,[{key:"add",value:function(e){return e instanceof E?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof E?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof E?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof E?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),E}(I);let L=function(e,t){var E="css"===e?u:C;return function(e){return new E(e,t)}},_=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};E(11719);let d=function(e,t,E,r){var o=(0,i.A)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t=(0,n.A)(e,2),E=t[0],r=t[1];(null!=o&&o[E]||null!=o&&o[r])&&(null!=o[r]||(o[r]=null==o?void 0:o[E]))});var a=(0,i.A)((0,i.A)({},E),o);return Object.keys(a).forEach(function(e){a[e]===t[e]&&delete a[e]}),a};var f="undefined"!=typeof CSSINJS_STATISTIC,D=!0;function P(){for(var e=arguments.length,t=Array(e),E=0;E1e4){var t=Date.now();this.lastAccessBeat.forEach(function(E,r){t-E>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))}),this.accessBeat=0}}}]),e}());let g=function(){return{}},y=function(e){var t=e.useCSP,E=void 0===t?g:t,s=e.useToken,A=e.usePrefix,R=e.getResetStyles,S=e.getCommonStyle,O=e.getCompUnitless;function I(t,o,O){var I=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=Array.isArray(t)?t:[t,t],c=(0,n.A)(l,1)[0],N=l.join("-"),u=e.layer||{name:"antd"};return function(e){var t,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,C=s(),f=C.theme,D=C.realToken,p=C.hashId,h=C.token,g=C.cssVar,y=A(),G=y.rootPrefixCls,b=y.iconPrefixCls,v=E(),H=g?"css":"js",F=(t=function(){var e=new Set;return g&&Object.keys(I.unitless||{}).forEach(function(t){e.add((0,T.Ki)(t,g.prefix)),e.add((0,T.Ki)(t,_(c,g.prefix)))}),L(H,e)},n=[H,c,null==g?void 0:g.prefix],a.useMemo(function(){var e=U.get(n);if(e)return e;var E=t();return U.set(n,E),E},n)),B="js"===H?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=Array(e),E=0;E1&&void 0!==arguments[1]?arguments[1]:e,E=M(e,t),r=(0,n.A)(E,2)[1],o=U(t),i=(0,n.A)(o,2);return[i[0],r,i[1]]}},genSubStyleComponent:function(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=I(e,t,E,(0,i.A)({resetStyle:!1,order:-998},r));return function(e){var t=e.prefixCls,E=e.rootCls,r=void 0===E?t:E;return n(t,r),null}},genComponentStyleHook:I}}},61706:(e,t,E)=>{"use strict";E.d(t,{z1:()=>d,cM:()=>O});let r={aliceblue:"9ehhb",antiquewhite:"9sgk7",aqua:"1ekf",aquamarine:"4zsno",azure:"9eiv3",beige:"9lhp8",bisque:"9zg04",black:"0",blanchedalmond:"9zhe5",blue:"73",blueviolet:"5e31e",brown:"6g016",burlywood:"8ouiv",cadetblue:"3qba8",chartreuse:"4zshs",chocolate:"87k0u",coral:"9yvyo",cornflowerblue:"3xael",cornsilk:"9zjz0",crimson:"8l4xo",cyan:"1ekf",darkblue:"3v",darkcyan:"rkb",darkgoldenrod:"776yz",darkgray:"6mbhl",darkgreen:"jr4",darkgrey:"6mbhl",darkkhaki:"7ehkb",darkmagenta:"5f91n",darkolivegreen:"3bzfz",darkorange:"9yygw",darkorchid:"5z6x8",darkred:"5f8xs",darksalmon:"9441m",darkseagreen:"5lwgf",darkslateblue:"2th1n",darkslategray:"1ugcv",darkslategrey:"1ugcv",darkturquoise:"14up",darkviolet:"5rw7n",deeppink:"9yavn",deepskyblue:"11xb",dimgray:"442g9",dimgrey:"442g9",dodgerblue:"16xof",firebrick:"6y7tu",floralwhite:"9zkds",forestgreen:"1cisi",fuchsia:"9y70f",gainsboro:"8m8kc",ghostwhite:"9pq0v",goldenrod:"8j4f4",gold:"9zda8",gray:"50i2o",green:"pa8",greenyellow:"6senj",grey:"50i2o",honeydew:"9eiuo",hotpink:"9yrp0",indianred:"80gnw",indigo:"2xcoy",ivory:"9zldc",khaki:"9edu4",lavenderblush:"9ziet",lavender:"90c8q",lawngreen:"4vk74",lemonchiffon:"9zkct",lightblue:"6s73a",lightcoral:"9dtog",lightcyan:"8s1rz",lightgoldenrodyellow:"9sjiq",lightgray:"89jo3",lightgreen:"5nkwg",lightgrey:"89jo3",lightpink:"9z6wx",lightsalmon:"9z2ii",lightseagreen:"19xgq",lightskyblue:"5arju",lightslategray:"4nwk9",lightslategrey:"4nwk9",lightsteelblue:"6wau6",lightyellow:"9zlcw",lime:"1edc",limegreen:"1zcxe",linen:"9shk6",magenta:"9y70f",maroon:"4zsow",mediumaquamarine:"40eju",mediumblue:"5p",mediumorchid:"79qkz",mediumpurple:"5r3rv",mediumseagreen:"2d9ip",mediumslateblue:"4tcku",mediumspringgreen:"1di2",mediumturquoise:"2uabw",mediumvioletred:"7rn9h",midnightblue:"z980",mintcream:"9ljp6",mistyrose:"9zg0x",moccasin:"9zfzp",navajowhite:"9zest",navy:"3k",oldlace:"9wq92",olive:"50hz4",olivedrab:"472ub",orange:"9z3eo",orangered:"9ykg0",orchid:"8iu3a",palegoldenrod:"9bl4a",palegreen:"5yw0o",paleturquoise:"6v4ku",palevioletred:"8k8lv",papayawhip:"9zi6t",peachpuff:"9ze0p",peru:"80oqn",pink:"9z8wb",plum:"8nba5",powderblue:"6wgdi",purple:"4zssg",rebeccapurple:"3zk49",red:"9y6tc",rosybrown:"7cv4f",royalblue:"2jvtt",saddlebrown:"5fmkz",salmon:"9rvci",sandybrown:"9jn1c",seagreen:"1tdnb",seashell:"9zje6",sienna:"6973h",silver:"7ir40",skyblue:"5arjf",slateblue:"45e4t",slategray:"4e100",slategrey:"4e100",snow:"9zke2",springgreen:"1egv",steelblue:"2r1kk",tan:"87yx8",teal:"pds",thistle:"8ggk8",tomato:"9yqfb",turquoise:"2j4r4",violet:"9b10u",wheat:"9ld4j",white:"9zldr",whitesmoke:"9lhpx",yellow:"9zl6o",yellowgreen:"61fzm"},n=Math.round;function o(e,t){let E=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=E.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,E[e]||"",e);return E[3]?r[3]=E[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}let i=(e,t,E)=>0===E?e:e/100;function a(e,t){let E=t||255;return e>E?E:e<0?0:e}class T{setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=n(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()-e/100;return r<0&&(r=0),this._c({h:t,s:E,l:r,a:this.a})}lighten(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=this.getHue(),E=this.getSaturation(),r=this.getLightness()+e/100;return r>1&&(r=1),this._c({h:t,s:E,l:r,a:this.a})}mix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,E=this._c(e),r=t/100,o=e=>(E[e]-this[e])*r+this[e],i={r:n(o("r")),g:n(o("g")),b:n(o("b")),a:n(100*o("a"))/100};return this._c(i)}tint(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:255,g:255,b:255,a:1},e)}shade(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),E=this.a+t.a*(1-this.a),r=e=>n((this[e]*this.a+t[e]*t.a*(1-this.a))/E);return this._c({r:r("r"),g:r("g"),b:r("b"),a:E})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let E=(this.g||0).toString(16);e+=2===E.length?E:"0"+E;let r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=n(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getHSLSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=n(100*this.getHSLSaturation()),E=n(100*this.getLightness());return 1!==this.a?"hsla(".concat(e,",").concat(t,"%,").concat(E,"%,").concat(this.a,")"):"hsl(".concat(e,",").concat(t,"%,").concat(E,"%)")}toHsv(){return{h:this.getHue(),s:this.getHSVSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?"rgba(".concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.a,")"):"rgb(".concat(this.r,",").concat(this.g,",").concat(this.b,")")}toString(){return this.toRgbString()}_sc(e,t,E){let r=this.clone();return r[e]=a(t,E),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function E(e,E){return parseInt(t[e]+t[E||e],16)}t.length<6?(this.r=E(0),this.g=E(1),this.b=E(2),this.a=t[3]?E(3)/255:1):(this.r=E(0,1),this.g=E(2,3),this.b=E(4,5),this.a=t[6]?E(6,7)/255:1)}fromHsl(e){let{h:t,s:E,l:r,a:o}=e,i=(t%360+360)%360;if(this._h=i,this._hsl_s=E,this._l=r,this.a="number"==typeof o?o:1,E<=0){let e=n(255*r);this.r=e,this.g=e,this.b=e;return}let a=0,T=0,s=0,A=i/60,R=(1-Math.abs(2*r-1))*E,S=R*(1-Math.abs(A%2-1));A>=0&&A<1?(a=R,T=S):A>=1&&A<2?(a=S,T=R):A>=2&&A<3?(T=R,s=S):A>=3&&A<4?(T=S,s=R):A>=4&&A<5?(a=S,s=R):A>=5&&A<6&&(a=R,s=S);let O=r-R/2;this.r=n((a+O)*255),this.g=n((T+O)*255),this.b=n((s+O)*255)}fromHsv(e){let{h:t,s:E,v:r,a:o}=e,i=(t%360+360)%360;this._h=i,this._hsv_s=E,this._v=r,this.a="number"==typeof o?o:1;let a=n(255*r);if(this.r=a,this.g=a,this.b=a,E<=0)return;let T=i/60,s=Math.floor(T),A=T-s,R=n(r*(1-E)*255),S=n(r*(1-E*A)*255),O=n(r*(1-E*(1-A))*255);switch(s){case 0:this.g=O,this.b=R;break;case 1:this.r=S,this.b=R;break;case 2:this.r=R,this.b=O;break;case 3:this.r=R,this.g=S;break;case 4:this.r=O,this.g=R;break;default:this.g=R,this.b=S}}fromHsvString(e){let t=o(e,i);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=o(e,i);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=o(e,(e,t)=>t.includes("%")?n(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(this.isValid=!0,this.r=0,this.g=0,this.b=0,this.a=1,e)if("string"==typeof e){let t=e.trim();function E(e){return t.startsWith(e)}if(/^#?[A-F\d]{3,8}$/i.test(t))this.fromHexString(t);else if(E("rgb"))this.fromRgbString(t);else if(E("hsl"))this.fromHslString(t);else if(E("hsv")||E("hsb"))this.fromHsvString(t);else{let e=r[t.toLowerCase()];e&&this.fromHexString(parseInt(e,36).toString(16).padStart(6,"0"))}}else if(e instanceof T)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._hsl_s=e._hsl_s,this._hsv_s=e._hsv_s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=a(e.r),this.g=a(e.g),this.b=a(e.b),this.a="number"==typeof e.a?a(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}}let s=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function A(e,t,E){let r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?E?Math.round(e.h)-2*t:Math.round(e.h)+2*t:E?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function R(e,t,E){let r;return 0===e.h&&0===e.s?e.s:((r=E?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),E&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function S(e,t,E){return Math.round(100*Math.max(0,Math.min(1,E?e.v+.05*t:e.v-.15*t)))/100}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=[],r=new T(e),n=r.toHsv();for(let e=5;e>0;e-=1){let t=new T({h:A(n,e,!0),s:R(n,e,!0),v:S(n,e,!0)});E.push(t)}E.push(r);for(let e=1;e<=4;e+=1){let t=new T({h:A(n,e),s:R(n,e),v:S(n,e)});E.push(t)}return"dark"===t.theme?s.map(e=>{let{index:r,amount:n}=e;return new T(t.backgroundColor||"#141414").mix(E[r],n).toHexString()}):E.map(e=>e.toHexString())}let I=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];I.primary=I[5];let l=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];l.primary=l[5];let c=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];c.primary=c[5];let N=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];N.primary=N[5];let u=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];u.primary=u[5];let C=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];C.primary=C[5];let L=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];L.primary=L[5];let _=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];_.primary=_[5];let d=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];d.primary=d[5];let f=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];f.primary=f[5];let D=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];D.primary=D[5];let P=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];P.primary=P[5];let p=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];p.primary=p[5];let h=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];h.primary=h[5];let M=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];M.primary=M[5];let m=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];m.primary=m[5];let U=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];U.primary=U[5];let g=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];g.primary=g[5];let y=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];y.primary=y[5];let G=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];G.primary=G[5];let b=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];b.primary=b[5];let v=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];v.primary=v[5];let H=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];H.primary=H[5];let F=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];F.primary=F[5];let B=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];B.primary=B[5];let Y=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Y.primary=Y[5]},61958:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)(void 0)},63568:(e,t,E)=>{"use strict";E.d(t,{$W:()=>A,Op:()=>T,Pp:()=>S,XB:()=>R,cK:()=>i,hb:()=>s,jC:()=>a});var r=E(12115),n=E(74251),o=E(17980);let i=r.createContext({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),a=r.createContext(null),T=e=>{let t=(0,o.A)(e,["prefixCls"]);return r.createElement(n.Op,Object.assign({},t))},s=r.createContext({prefixCls:""}),A=r.createContext({}),R=e=>{let{children:t,status:E,override:n}=e,o=r.useContext(A),i=r.useMemo(()=>{let e=Object.assign({},o);return n&&delete e.isFormItemInput,E&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[E,n,o]);return r.createElement(A.Provider,{value:i},t)},S=r.createContext(void 0)},63583:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(41401),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},63715:(e,t,E)=>{"use strict";E.d(t,{A:()=>function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[];return n.Children.forEach(t,function(t){(null!=t||E.keepEmpty)&&(Array.isArray(t)?o=o.concat(e(t)):(0,r.A)(t)&&t.props?o=o.concat(e(t.props.children,E)):o.push(t))}),o}});var r=E(10337),n=E(12115)},64717:(e,t,E)=>{"use strict";E.d(t,{b:()=>r});let r=function(e,t,E,r){let n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=n?"&":"";return{["\n ".concat(o).concat(e,"-enter,\n ").concat(o).concat(e,"-appear\n ")]:Object.assign(Object.assign({},{animationDuration:r,animationFillMode:"both"}),{animationPlayState:"paused"}),["".concat(o).concat(e,"-leave")]:Object.assign(Object.assign({},{animationDuration:r,animationFillMode:"both"}),{animationPlayState:"paused"}),["\n ".concat(o).concat(e,"-enter").concat(e,"-enter-active,\n ").concat(o).concat(e,"-appear").concat(e,"-appear-active\n ")]:{animationName:t,animationPlayState:"running"},["".concat(o).concat(e,"-leave").concat(e,"-leave-active")]:{animationName:E,animationPlayState:"running",pointerEvents:"none"}}}},66154:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(99841),n=E(79453);let o=(0,r.an)(n.A)},66383:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115);let o={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"};var i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o}))})},67302:(e,t,E)=>{"use strict";E.d(t,{kf:()=>i});var r=E(30857),n=E(28383),o=E(31474);let i=(0,n.A)(function e(t){var E;if((0,r.A)(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null==(E=t.colors)?void 0:E.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(t=>{let{color:E,percent:r}=t;return{color:new e(E),percent:r}}),this.metaColor=new o.Q1(this.colors[0].color.metaColor)):this.metaColor=new o.Q1(n?"":t),t&&(!n||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){let e,t;return e=this.toHexString(),t=this.metaColor.a<1,e&&(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||""}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>"".concat(e.color.toRgbString()," ").concat(e.percent,"%")).join(", ");return"linear-gradient(90deg, ".concat(t,")")}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,E)=>{let r=e.colors[E];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString())}}])},67831:(e,t,E)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:E}=e,{componentCls:r}=t,n=r||E,o="".concat(n,"-compact");return{[o]:Object.assign(Object.assign({},function(e,t,E,r){let{focusElCls:n,focus:o,borderElCls:i}=E,a=i?"> *":"",T=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>"&:".concat(e," ").concat(a)).join(",");return{["&-item:not(".concat(t,"-last-item)")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},["&-item:not(".concat(r,"-status-success)")]:{zIndex:2},"&-item":Object.assign(Object.assign({[T]:{zIndex:3}},n?{["&".concat(n)]:{zIndex:3}}:{}),{["&[disabled] ".concat(a)]:{zIndex:0}})}}(e,o,t,n)),function(e,t,E){let{borderElCls:r}=E,n=r?"> ".concat(r):"";return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item) ").concat(n)]:{borderRadius:0},["&-item:not(".concat(t,"-last-item)").concat(t,"-first-item")]:{["& ".concat(n,", &").concat(e,"-sm ").concat(n,", &").concat(e,"-lg ").concat(n)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(t,"-first-item)").concat(t,"-last-item")]:{["& ".concat(n,", &").concat(e,"-sm ").concat(n,", &").concat(e,"-lg ").concat(n)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,o,t))}}E.d(t,{G:()=>r})},68057:(e,t,E)=>{"use strict";E.d(t,{z1:()=>u,cM:()=>T,bK:()=>O,UA:()=>f,uy:()=>s});var r=E(60872),n=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function o(e,t,E){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?E?Math.round(e.h)-2*t:Math.round(e.h)+2*t:E?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function i(e,t,E){var r;return 0===e.h&&0===e.s?e.s:((r=E?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),E&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100)}function a(e,t,E){return Math.round(100*Math.max(0,Math.min(1,E?e.v+.05*t:e.v-.15*t)))/100}function T(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=[],T=new r.Y(e),s=T.toHsv(),A=5;A>0;A-=1){var R=new r.Y({h:o(s,A,!0),s:i(s,A,!0),v:a(s,A,!0)});E.push(R)}E.push(T);for(var S=1;S<=4;S+=1){var O=new r.Y({h:o(s,S),s:i(s,S),v:a(s,S)});E.push(O)}return"dark"===t.theme?n.map(function(e){var n=e.index,o=e.amount;return new r.Y(t.backgroundColor||"#141414").mix(E[n],o).toHexString()}):E.map(function(e){return e.toHexString()})}var s={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"},A=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];A.primary=A[5];var R=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];R.primary=R[5];var S=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];S.primary=S[5];var O=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];O.primary=O[5];var I=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];I.primary=I[5];var l=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];l.primary=l[5];var c=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];c.primary=c[5];var N=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];N.primary=N[5];var u=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];u.primary=u[5];var C=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];C.primary=C[5];var L=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];L.primary=L[5];var _=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];_.primary=_[5];var d=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];d.primary=d[5];var f={red:A,volcano:R,orange:S,gold:O,yellow:I,lime:l,green:c,cyan:N,blue:u,geekblue:C,purple:L,magenta:_,grey:d},D=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];D.primary=D[5];var P=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];P.primary=P[5];var p=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];p.primary=p[5];var h=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];h.primary=h[5];var M=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];M.primary=M[5];var m=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];m.primary=m[5];var U=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];U.primary=U[5];var g=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];g.primary=g[5];var y=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];y.primary=y[5];var G=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];G.primary=G[5];var b=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];b.primary=b[5];var v=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];v.primary=v[5];var H=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];H.primary=H[5]},68151:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(70042);let n=e=>{let[,,,,t]=(0,r.Ay)();return t?"".concat(e,"-css-var"):""}},68448:(e,t,E)=>{"use strict";E.d(t,{C:()=>R,Cv:()=>p,K2:()=>l,Nc:()=>D,OW:()=>N,Sh:()=>C,Tb:()=>d,Tp:()=>O,VF:()=>_,YL:()=>I,c4:()=>L,mw:()=>f,nf:()=>P,rH:()=>A,se:()=>c,yY:()=>S});var r=E(4697),n=1,o=1,i=0,a=0,T=0,s="";function A(e,t,E,r,i,a,T,s){return{value:e,root:t,parent:E,type:r,props:i,children:a,line:n,column:o,length:T,return:"",siblings:s}}function R(e,t){return(0,r.kp)(A("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function S(e){for(;e.root;)e=R(e.root,{children:[e]});(0,r.BC)(e,e.siblings)}function O(){return T}function I(){return T=a>0?(0,r.wN)(s,--a):0,o--,10===T&&(o=1,n--),T}function l(){return T=a2||C(T)>3?"":" "}function D(e,t){for(;--t&&l()&&!(T<48)&&!(T>102)&&(!(T>57)||!(T<65))&&(!(T>70)||!(T<97)););return u(e,a+(t<6&&32==c()&&32==l()))}function P(e,t){for(;l();)if(e+T===57)break;else if(e+T===84&&47===c())break;return"/*"+u(t,a-1)+"*"+(0,r.HT)(47===e?e:l())}function p(e){for(;!C(c());)l();return u(e,a)}},68495:(e,t,E)=>{"use strict";E.d(t,{s:()=>r});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},70042:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>I,Xe:()=>R,Is:()=>A});var r=E(12115),n=E(99841),o=E(35519),i=E(66154),a=E(13418),T=E(73383),s=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let A={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},R={motionBase:!0,motionUnit:!0},S={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},O=(e,t,E)=>{let r=E.getDerivativeToken(e),{override:n}=t,o=s(t,["override"]),i=Object.assign(Object.assign({},r),{override:n});return i=(0,T.A)(i),o&&Object.entries(o).forEach(e=>{let[t,E]=e,{theme:r}=E,n=s(E,["theme"]),o=n;r&&(o=O(Object.assign(Object.assign({},i),n),{override:n},r)),i[t]=o}),i};function I(){let{token:e,hashed:t,theme:E,override:s,cssVar:I}=r.useContext(o.vG),l="".concat("5.29.3","-").concat(t||""),c=E||i.A,[N,u,C]=(0,n.hV)(c,[a.A,e],{salt:l,override:s,getComputedToken:O,formatToken:T.A,cssVar:I&&{prefix:I.prefix,key:I.key,unitless:A,ignore:R,preserve:S}});return[c,C,t?u:"",N,I]}},70802:(e,t,E)=>{"use strict";E.d(t,{A:()=>D});var r=E(12115),n=E(29300),o=E.n(n),i=E(15982),a=E(17980);let T=e=>{let{prefixCls:t,className:E,style:n,size:i,shape:a}=e,T=o()({["".concat(t,"-lg")]:"large"===i,["".concat(t,"-sm")]:"small"===i}),s=o()({["".concat(t,"-circle")]:"circle"===a,["".concat(t,"-square")]:"square"===a,["".concat(t,"-round")]:"round"===a}),A=r.useMemo(()=>"number"==typeof i?{width:i,height:i,lineHeight:"".concat(i,"px")}:{},[i]);return r.createElement("span",{className:o()(t,T,s,E),style:Object.assign(Object.assign({},A),n)})};var s=E(99841),A=E(45431),R=E(61388);let S=new s.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),O=e=>({height:e,lineHeight:(0,s.zA)(e)}),I=e=>Object.assign({width:e},O(e)),l=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},O(e)),c=e=>Object.assign({width:e},O(e)),N=(e,t,E)=>{let{skeletonButtonCls:r}=e;return{["".concat(E).concat(r,"-circle")]:{width:t,minWidth:t,borderRadius:"50%"},["".concat(E).concat(r,"-round")]:{borderRadius:t}}},u=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},O(e)),C=(0,A.OF)("Skeleton",e=>{let{componentCls:t,calc:E}=e;return(e=>{let{componentCls:t,skeletonAvatarCls:E,skeletonTitleCls:r,skeletonParagraphCls:n,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:a,controlHeight:T,controlHeightLG:s,controlHeightSM:A,gradientFromColor:R,padding:O,marginSM:C,borderRadius:L,titleHeight:_,blockRadius:d,paragraphLiHeight:f,controlHeightXS:D,paragraphMarginTop:P}=e;return{[t]:{display:"table",width:"100%",["".concat(t,"-header")]:{display:"table-cell",paddingInlineEnd:O,verticalAlign:"top",[E]:Object.assign({display:"inline-block",verticalAlign:"top",background:R},I(T)),["".concat(E,"-circle")]:{borderRadius:"50%"},["".concat(E,"-lg")]:Object.assign({},I(s)),["".concat(E,"-sm")]:Object.assign({},I(A))},["".concat(t,"-content")]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:_,background:R,borderRadius:d,["+ ".concat(n)]:{marginBlockStart:A}},[n]:{padding:0,"> li":{width:"100%",height:f,listStyle:"none",background:R,borderRadius:d,"+ li":{marginBlockStart:D}}},["".concat(n,"> li:last-child:not(:first-child):not(:nth-child(2))")]:{width:"61%"}},["&-round ".concat(t,"-content")]:{["".concat(r,", ").concat(n," > li")]:{borderRadius:L}}},["".concat(t,"-with-avatar ").concat(t,"-content")]:{[r]:{marginBlockStart:C,["+ ".concat(n)]:{marginBlockStart:P}}},["".concat(t).concat(t,"-element")]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},(e=>{let{borderRadiusSM:t,skeletonButtonCls:E,controlHeight:r,controlHeightLG:n,controlHeightSM:o,gradientFromColor:i,calc:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[E]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:a(r).mul(2).equal(),minWidth:a(r).mul(2).equal()},u(r,a))},N(e,r,E)),{["".concat(E,"-lg")]:Object.assign({},u(n,a))}),N(e,n,"".concat(E,"-lg"))),{["".concat(E,"-sm")]:Object.assign({},u(o,a))}),N(e,o,"".concat(E,"-sm")))})(e)),(e=>{let{skeletonAvatarCls:t,gradientFromColor:E,controlHeight:r,controlHeightLG:n,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:E},I(r)),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"},["".concat(t).concat(t,"-lg")]:Object.assign({},I(n)),["".concat(t).concat(t,"-sm")]:Object.assign({},I(o))}})(e)),(e=>{let{controlHeight:t,borderRadiusSM:E,skeletonInputCls:r,controlHeightLG:n,controlHeightSM:o,gradientFromColor:i,calc:a}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:E},l(t,a)),["".concat(r,"-lg")]:Object.assign({},l(n,a)),["".concat(r,"-sm")]:Object.assign({},l(o,a))}})(e)),(e=>{let{skeletonImageCls:t,imageSizeBase:E,gradientFromColor:r,borderRadiusSM:n,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:n},c(o(E).mul(2).equal())),{["".concat(t,"-path")]:{fill:"#bfbfbf"},["".concat(t,"-svg")]:Object.assign(Object.assign({},c(E)),{maxWidth:o(E).mul(4).equal(),maxHeight:o(E).mul(4).equal()}),["".concat(t,"-svg").concat(t,"-svg-circle")]:{borderRadius:"50%"}}),["".concat(t).concat(t,"-circle")]:{borderRadius:"50%"}}})(e)),["".concat(t).concat(t,"-block")]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},["".concat(t).concat(t,"-active")]:{["\n ".concat(r,",\n ").concat(n," > li,\n ").concat(E,",\n ").concat(o,",\n ").concat(i,",\n ").concat(a,"\n ")]:Object.assign({},(e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:S,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}))(e))}}})((0,R.oX)(e,{skeletonAvatarCls:"".concat(t,"-avatar"),skeletonTitleCls:"".concat(t,"-title"),skeletonParagraphCls:"".concat(t,"-paragraph"),skeletonButtonCls:"".concat(t,"-button"),skeletonInputCls:"".concat(t,"-input"),skeletonImageCls:"".concat(t,"-image"),imageSizeBase:E(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:"linear-gradient(90deg, ".concat(e.gradientFromColor," 25%, ").concat(e.gradientToColor," 37%, ").concat(e.gradientFromColor," 63%)"),skeletonLoadingMotionDuration:"1.4s"}))},e=>{let{colorFillContent:t,colorFill:E}=e;return{color:t,colorGradientEnd:E,gradientFromColor:t,gradientToColor:E,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),L=e=>{let{prefixCls:t,className:E,style:n,rows:i=0}=e,a=Array.from({length:i}).map((t,E)=>r.createElement("li",{key:E,style:{width:((e,t)=>{let{width:E,rows:r=2}=t;return Array.isArray(E)?E[e]:r-1===e?E:void 0})(E,e)}}));return r.createElement("ul",{className:o()(t,E),style:n},a)},_=e=>{let{prefixCls:t,className:E,width:n,style:i}=e;return r.createElement("h3",{className:o()(t,E),style:Object.assign({width:n},i)})};function d(e){return e&&"object"==typeof e?e:{}}let f=e=>{let{prefixCls:t,loading:E,className:n,rootClassName:a,style:s,children:A,avatar:R=!1,title:S=!0,paragraph:O=!0,active:I,round:l}=e,{getPrefixCls:c,direction:N,className:u,style:f}=(0,i.TP)("skeleton"),D=c("skeleton",t),[P,p,h]=C(D);if(E||!("loading"in e)){let e,t,E=!!R,i=!!S,A=!!O;if(E){let t=Object.assign(Object.assign({prefixCls:"".concat(D,"-avatar")},i&&!A?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),d(R));e=r.createElement("div",{className:"".concat(D,"-header")},r.createElement(T,Object.assign({},t)))}if(i||A){let e,n;if(i){let t=Object.assign(Object.assign({prefixCls:"".concat(D,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(E,A)),d(S));e=r.createElement(_,Object.assign({},t))}if(A){let e=Object.assign(Object.assign({prefixCls:"".concat(D,"-paragraph")},function(e,t){let E={};return e&&t||(E.width="61%"),!e&&t?E.rows=3:E.rows=2,E}(E,i)),d(O));n=r.createElement(L,Object.assign({},e))}t=r.createElement("div",{className:"".concat(D,"-content")},e,n)}let c=o()(D,{["".concat(D,"-with-avatar")]:E,["".concat(D,"-active")]:I,["".concat(D,"-rtl")]:"rtl"===N,["".concat(D,"-round")]:l},u,n,a,p,h);return P(r.createElement("div",{className:c,style:Object.assign(Object.assign({},f),s)},e,t))}return null!=A?A:null};f.Button=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,block:A=!1,size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s,["".concat(O,"-block")]:A},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-button"),size:R},N))))},f.Avatar=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,shape:A="circle",size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls","className"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-avatar"),shape:A,size:R},N))))},f.Input=e=>{let{prefixCls:t,className:E,rootClassName:n,active:s,block:A,size:R="default"}=e,{getPrefixCls:S}=r.useContext(i.QO),O=S("skeleton",t),[I,l,c]=C(O),N=(0,a.A)(e,["prefixCls"]),u=o()(O,"".concat(O,"-element"),{["".concat(O,"-active")]:s,["".concat(O,"-block")]:A},E,n,l,c);return I(r.createElement("div",{className:u},r.createElement(T,Object.assign({prefixCls:"".concat(O,"-input"),size:R},N))))},f.Image=e=>{let{prefixCls:t,className:E,rootClassName:n,style:a,active:T}=e,{getPrefixCls:s}=r.useContext(i.QO),A=s("skeleton",t),[R,S,O]=C(A),I=o()(A,"".concat(A,"-element"),{["".concat(A,"-active")]:T},E,n,S,O);return R(r.createElement("div",{className:I},r.createElement("div",{className:o()("".concat(A,"-image"),E),style:a},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(A,"-image-svg")},r.createElement("title",null,"Image placeholder"),r.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:"".concat(A,"-image-path")})))))},f.Node=e=>{let{prefixCls:t,className:E,rootClassName:n,style:a,active:T,children:s}=e,{getPrefixCls:A}=r.useContext(i.QO),R=A("skeleton",t),[S,O,I]=C(R),l=o()(R,"".concat(R,"-element"),{["".concat(R,"-active")]:T},O,E,n,I);return S(r.createElement("div",{className:l},r.createElement("div",{className:o()("".concat(R,"-image"),E),style:a},s)))};let D=f},71367:(e,t,E)=>{"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}E.d(t,{A:()=>r})},73383:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(60872),n=E(13418),o=E(88860),i=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};function a(e){let{override:t}=e,E=i(e,["override"]),a=Object.assign({},t);Object.keys(n.A).forEach(e=>{delete a[e]});let T=Object.assign(Object.assign({},E),a);return!1===T.motion&&(T.motionDurationFast="0s",T.motionDurationMid="0s",T.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},T),{colorFillContent:T.colorFillSecondary,colorFillContentHover:T.colorFill,colorFillAlter:T.colorFillQuaternary,colorBgContainerDisabled:T.colorFillTertiary,colorBorderBg:T.colorBgContainer,colorSplit:(0,o.A)(T.colorBorderSecondary,T.colorBgContainer),colorTextPlaceholder:T.colorTextQuaternary,colorTextDisabled:T.colorTextQuaternary,colorTextHeading:T.colorText,colorTextLabel:T.colorTextSecondary,colorTextDescription:T.colorTextTertiary,colorTextLightSolid:T.colorWhite,colorHighlight:T.colorError,colorBgTextHover:T.colorFillSecondary,colorBgTextActive:T.colorFill,colorIcon:T.colorTextTertiary,colorIconHover:T.colorText,colorErrorOutline:(0,o.A)(T.colorErrorBg,T.colorBgContainer),colorWarningOutline:(0,o.A)(T.colorWarningBg,T.colorBgContainer),fontSizeIcon:T.fontSizeSM,lineWidthFocus:3*T.lineWidth,lineWidth:T.lineWidth,controlOutlineWidth:2*T.lineWidth,controlInteractiveSize:T.controlHeight/2,controlItemBgHover:T.colorFillTertiary,controlItemBgActive:T.colorPrimaryBg,controlItemBgActiveHover:T.colorPrimaryBgHover,controlItemBgActiveDisabled:T.colorFill,controlTmpOutline:T.colorFillQuaternary,controlOutline:(0,o.A)(T.colorPrimaryBg,T.colorBgContainer),lineType:T.lineType,borderRadius:T.borderRadius,borderRadiusXS:T.borderRadiusXS,borderRadiusSM:T.borderRadiusSM,borderRadiusLG:T.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:T.sizeXXS,paddingXS:T.sizeXS,paddingSM:T.sizeSM,padding:T.size,paddingMD:T.sizeMD,paddingLG:T.sizeLG,paddingXL:T.sizeXL,paddingContentHorizontalLG:T.sizeLG,paddingContentVerticalLG:T.sizeMS,paddingContentHorizontal:T.sizeMS,paddingContentVertical:T.sizeSM,paddingContentHorizontalSM:T.size,paddingContentVerticalSM:T.sizeXS,marginXXS:T.sizeXXS,marginXS:T.sizeXS,marginSM:T.sizeSM,margin:T.size,marginMD:T.sizeMD,marginLG:T.sizeLG,marginXL:T.sizeXL,marginXXL:T.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",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:"\n 0 1px 2px -2px ".concat(new r.Y("rgba(0, 0, 0, 0.16)").toRgbString(),",\n 0 3px 6px 0 ").concat(new r.Y("rgba(0, 0, 0, 0.12)").toRgbString(),",\n 0 5px 12px 4px ").concat(new r.Y("rgba(0, 0, 0, 0.09)").toRgbString(),"\n "),boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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)"}),a)}},73632:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(8357);function n(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var E=({}).toString.call(e).slice(8,-1);return"Object"===E&&e.constructor&&(E=e.constructor.name),"Map"===E||"Set"===E?Array.from(e):"Arguments"===E||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?(0,r.A)(e,t):void 0}}},74121:(e,t,E)=>{"use strict";E.d(t,{A:()=>T,h:()=>R});var r=E(86608),n=E(27061),o=E(85757),i=E(93821),a=E(21349);function T(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===E&&!(0,a.A)(e,t.slice(0,-1))?e:function e(t,E,r,a){if(!E.length)return r;var T,s=(0,i.A)(E),A=s[0],R=s.slice(1);return T=t||"number"!=typeof A?Array.isArray(t)?(0,o.A)(t):(0,n.A)({},t):[],a&&void 0===r&&1===R.length?delete T[A][R[0]]:T[A]=e(T[A],R,r,a),T}(e,t,E,r)}function s(e){return Array.isArray(e)?[]:{}}var A="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function R(){for(var e=arguments.length,t=Array(e),E=0;E{"use strict";E.d(t,{D0:()=>el,_z:()=>d,Op:()=>eP,B8:()=>ec,EF:()=>f,Ay:()=>eg,mN:()=>ef,FH:()=>em});var r,n=E(12115),o=E(79630),i=E(20235),a=E(42115),T=E(94251),s=E(27061),A=E(85757),R=E(30857),S=E(28383),O=E(55227),I=E(38289),l=E(9424),c=E(40419),N=E(63715),u=E(80227),C=E(9587),L="RC_FORM_INTERNAL_HOOKS",_=function(){(0,C.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};let d=n.createContext({getFieldValue:_,getFieldsValue:_,getFieldError:_,getFieldWarning:_,getFieldsError:_,isFieldsTouched:_,isFieldTouched:_,isFieldValidating:_,isFieldsValidating:_,resetFields:_,setFields:_,setFieldValue:_,setFieldsValue:_,validateFields:_,submit:_,getInternalHooks:function(){return _(),{dispatch:_,initEntityValue:_,registerField:_,useSubscribe:_,setInitialValues:_,destroyForm:_,setCallbacks:_,registerWatch:_,getFields:_,setValidateMessages:_,setPreserve:_,getInitialValue:_}}}),f=n.createContext(null);function D(e){return null==e?[]:Array.isArray(e)?e:[e]}var P=E(86608);function p(){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 h=p(),M=E(85522),m=E(42222),U=E(45144);function g(e){var t="function"==typeof Map?new Map:void 0;return(g=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,E)}function E(){return function(e,t,E){if((0,U.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var n=new(e.bind.apply(e,r));return E&&(0,m.A)(n,E.prototype),n}(e,arguments,(0,M.A)(this).constructor)}return E.prototype=Object.create(e.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),(0,m.A)(E,e)})(e)}var y=E(49509),G=/%[sdj%]/g;function b(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var E=e.field;t[E]=t[E]||[],t[E].push(e)}),t}function v(e){for(var t=arguments.length,E=Array(t>1?t-1:0),r=1;r=o)return e;switch(e){case"%s":return String(E[n++]);case"%d":return Number(E[n++]);case"%j":try{return JSON.stringify(E[n++])}catch(e){return"[Circular]"}default:return e}}):e}function H(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||!1}function F(e,t,E){var r=0,n=e.length;!function o(i){if(i&&i.length)return void E(i);var a=r;r+=1,a()\[\]\\.,;:\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},K={integer:function(e){return K.number(e)&&parseInt(e,10)===e},float:function(e){return K.number(e)&&!K.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"===(0,P.A)(e)&&!K.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(X.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(w())},hex:function(e){return"string"==typeof e&&!!e.match(X.hex)}};let k={required:W,whitespace:function(e,t,E,r,n){(/^\s+$/.test(t)||""===t)&&r.push(v(n.messages.whitespace,e.fullField))},type:function(e,t,E,r,n){if(e.required&&void 0===t)return void W(e,t,E,r,n);var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?K[o](t)||r.push(v(n.messages.types[o],e.fullField,e.type)):o&&(0,P.A)(t)!==e.type&&r.push(v(n.messages.types[o],e.fullField,e.type))},range:function(e,t,E,r,n){var o="number"==typeof e.len,i="number"==typeof e.min,a="number"==typeof e.max,T=t,s=null,A="number"==typeof t,R="string"==typeof t,S=Array.isArray(t);if(A?s="number":R?s="string":S&&(s="array"),!s)return!1;S&&(T=t.length),R&&(T=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?T!==e.len&&r.push(v(n.messages[s].len,e.fullField,e.len)):i&&!a&&Te.max?r.push(v(n.messages[s].max,e.fullField,e.max)):i&&a&&(Te.max)&&r.push(v(n.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,E,r,n){e[x]=Array.isArray(e[x])?e[x]:[],-1===e[x].indexOf(t)&&r.push(v(n.messages[x],e.fullField,e[x].join(", ")))},pattern:function(e,t,E,r,n){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(v(n.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(v(n.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},J=function(e,t,E,r,n){var o=e.type,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,o)&&!e.required)return E();k.required(e,t,r,i,n,o),H(t,o)||k.type(e,t,r,i,n)}E(i)},j={string:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"string")&&!e.required)return E();k.required(e,t,r,o,n,"string"),H(t,"string")||(k.type(e,t,r,o,n),k.range(e,t,r,o,n),k.pattern(e,t,r,o,n),!0===e.whitespace&&k.whitespace(e,t,r,o,n))}E(o)},method:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},number:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},boolean:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},regexp:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),H(t)||k.type(e,t,r,o,n)}E(o)},integer:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},float:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},array:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return E();k.required(e,t,r,o,n,"array"),null!=t&&(k.type(e,t,r,o,n),k.range(e,t,r,o,n))}E(o)},object:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.type(e,t,r,o,n)}E(o)},enum:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n),void 0!==t&&k.enum(e,t,r,o,n)}E(o)},pattern:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"string")&&!e.required)return E();k.required(e,t,r,o,n),H(t,"string")||k.pattern(e,t,r,o,n)}E(o)},date:function(e,t,E,r,n){var o,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t,"date")&&!e.required)return E();k.required(e,t,r,i,n),!H(t,"date")&&(o=t instanceof Date?t:new Date(t),k.type(e,o,r,i,n),o&&k.range(e,o.getTime(),r,i,n))}E(i)},url:J,hex:J,email:J,required:function(e,t,E,r,n){var o=[],i=Array.isArray(t)?"array":(0,P.A)(t);k.required(e,t,r,o,n,i),E(o)},any:function(e,t,E,r,n){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(H(t)&&!e.required)return E();k.required(e,t,r,o,n)}E(o)}};var $=function(){function e(t){(0,R.A)(this,e),(0,c.A)(this,"rules",null),(0,c.A)(this,"_messages",h),this.define(t)}return(0,S.A)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,P.A)(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(E){var r=e[E];t.rules[E]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=V(p(),e)),this._messages}},{key:"validate",value:function(t){var E=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=t,i=r,a=n;if("function"==typeof i&&(a=i,i={}),!this.rules||0===Object.keys(this.rules).length)return a&&a(null,o),Promise.resolve(o);if(i.messages){var T=this.messages();T===h&&(T=p()),V(T,i.messages),i.messages=T}else i.messages=this.messages();var R={};(i.keys||Object.keys(this.rules)).forEach(function(e){var r=E.rules[e],n=o[e];r.forEach(function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=(0,s.A)({},o)),null!=(n=o[e]=i.transform(n))&&(i.type=i.type||(Array.isArray(n)?"array":(0,P.A)(n)))),(i="function"==typeof i?{validator:i}:(0,s.A)({},i)).validator=E.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=E.getType(i),R[e]=R[e]||[],R[e].push({rule:i,value:n,source:o,field:e}))})});var S={};return function(e,t,E,r,n){if(t.first){var o=new Promise(function(t,o){var i;F((i=[],Object.keys(e).forEach(function(t){i.push.apply(i,(0,A.A)(e[t]||[]))}),i),E,function(e){return r(e),e.length?o(new B(e,b(e))):t(n)})});return o.catch(function(e){return e}),o}var i=!0===t.firstFields?Object.keys(e):t.firstFields||[],a=Object.keys(e),T=a.length,s=0,R=[],S=new Promise(function(t,o){var S=function(e){if(R.push.apply(R,e),++s===T)return r(R),R.length?o(new B(R,b(R))):t(n)};a.length||(r(R),t(n)),a.forEach(function(t){var r=e[t];if(-1!==i.indexOf(t))F(r,E,S);else{var n=[],o=0,a=r.length;function T(e){n.push.apply(n,(0,A.A)(e||[])),++o===a&&S(n)}r.forEach(function(e){E(e,T)})}})});return S.catch(function(e){return e}),S}(R,i,function(t,E){var r,n,a,T=t.rule,R=("object"===T.type||"array"===T.type)&&("object"===(0,P.A)(T.fields)||"object"===(0,P.A)(T.defaultField));function O(e,t){return(0,s.A)((0,s.A)({},t),{},{fullField:"".concat(T.fullField,".").concat(e),fullFields:T.fullFields?[].concat((0,A.A)(T.fullFields),[e]):[e]})}function I(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Array.isArray(r)?r:[r];!i.suppressWarning&&n.length&&e.warning("async-validator:",n),n.length&&void 0!==T.message&&(n=[].concat(T.message));var a=n.map(Y(T,o));if(i.first&&a.length)return S[T.field]=1,E(a);if(R){if(T.required&&!t.value)return void 0!==T.message?a=[].concat(T.message).map(Y(T,o)):i.error&&(a=[i.error(T,v(i.messages.required,T.field))]),E(a);var I={};T.defaultField&&Object.keys(t.value).map(function(e){I[e]=T.defaultField});var l={};Object.keys(I=(0,s.A)((0,s.A)({},I),t.rule.fields)).forEach(function(e){var t=I[e],E=Array.isArray(t)?t:[t];l[e]=E.map(O.bind(null,e))});var c=new e(l);c.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),c.validate(t.value,t.rule.options||i,function(e){var t=[];a&&a.length&&t.push.apply(t,(0,A.A)(a)),e&&e.length&&t.push.apply(t,(0,A.A)(e)),E(t.length?t:null)})}else E(a)}if(R=R&&(T.required||!T.required&&t.value),T.field=t.field,T.asyncValidator)r=T.asyncValidator(T,t.value,I,t.source,i);else if(T.validator){try{r=T.validator(T,t.value,I,t.source,i)}catch(e){null==(n=(a=console).error)||n.call(a,e),i.suppressValidatorError||setTimeout(function(){throw e},0),I(e.message)}!0===r?I():!1===r?I("function"==typeof T.message?T.message(T.fullField||T.field):T.message||"".concat(T.fullField||T.field," fails")):r instanceof Array?I(r):r instanceof Error&&I(r.message)}r&&r.then&&r.then(function(){return I()},function(e){return I(e)})},function(e){!function(e){for(var t=[],E={},r=0;r0)){e.next=23;break}return e.next=21,Promise.all(E.map(function(e,E){return ee("".concat(t,".").concat(E),e,S,o,i)}));case 21:return N=e.sent,e.abrupt("return",N.reduce(function(e,t){return[].concat((0,A.A)(e),(0,A.A)(t))},[]));case 23:return u=(0,s.A)((0,s.A)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),C=l.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\\?\$\{\w+\}/g,function(e){return e.startsWith("\\")?e.slice(1):t[e.slice(2,-1)]})}(e,u):e}),e.abrupt("return",C);case 26:case"end":return e.stop()}},e,null,[[10,15]])}))).apply(this,arguments)}function eE(){return(eE=(0,T.A)((0,a.A)().mark(function e(t){return(0,a.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,A.A)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function er(){return(er=(0,T.A)((0,a.A)().mark(function e(t){var E;return(0,a.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return E=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(E+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var en=E(21349);function eo(e){return D(e)}function ei(e,t){var E={};return t.forEach(function(t){var r=(0,en.A)(e,t);E=(0,z.A)(E,t,r)}),E}function ea(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return eT(t,e,E)})}function eT(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!E||e.length===t.length)&&t.every(function(t,E){return e[E]===t})}function es(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,P.A)(t.target)&&e in t.target?t.target[e]:t}function eA(e,t,E){var r=e.length;if(t<0||t>=r||E<0||E>=r)return e;var n=e[t],o=t-E;return o>0?[].concat((0,A.A)(e.slice(0,E)),[n],(0,A.A)(e.slice(E,t)),(0,A.A)(e.slice(t+1,r))):o<0?[].concat((0,A.A)(e.slice(0,t)),(0,A.A)(e.slice(t+1,E+1)),[n],(0,A.A)(e.slice(E+1,r))):e}var eR=["name"],eS=[];function eO(e,t,E,r,n,o){return"function"==typeof e?e(t,E,"source"in o?{source:o.source}:{}):r!==n}var eI=function(e){(0,I.A)(E,e);var t=(0,l.A)(E);function E(e){var r;return(0,R.A)(this,E),r=t.call(this,e),(0,c.A)((0,O.A)(r),"state",{resetCount:0}),(0,c.A)((0,O.A)(r),"cancelRegisterFunc",null),(0,c.A)((0,O.A)(r),"mounted",!1),(0,c.A)((0,O.A)(r),"touched",!1),(0,c.A)((0,O.A)(r),"dirty",!1),(0,c.A)((0,O.A)(r),"validatePromise",void 0),(0,c.A)((0,O.A)(r),"prevValidating",void 0),(0,c.A)((0,O.A)(r),"errors",eS),(0,c.A)((0,O.A)(r),"warnings",eS),(0,c.A)((0,O.A)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,E=e.isListField,n=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(E,t,eo(n)),r.cancelRegisterFunc=null}),(0,c.A)((0,O.A)(r),"getNamePath",function(){var e=r.props,t=e.name,E=e.fieldContext.prefixName;return void 0!==t?[].concat((0,A.A)(void 0===E?[]:E),(0,A.A)(t)):[]}),(0,c.A)((0,O.A)(r),"getRules",function(){var e=r.props,t=e.rules,E=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(E):e})}),(0,c.A)((0,O.A)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,c.A)((0,O.A)(r),"metaCache",null),(0,c.A)((0,O.A)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var E=(0,s.A)((0,s.A)({},r.getMeta()),{},{destroy:e});(0,u.A)(r.metaCache,E)||t(E),r.metaCache=E}else r.metaCache=null}),(0,c.A)((0,O.A)(r),"onStoreChange",function(e,t,E){var n=r.props,o=n.shouldUpdate,i=n.dependencies,a=void 0===i?[]:i,T=n.onReset,s=E.store,A=r.getNamePath(),R=r.getValue(e),S=r.getValue(s),O=t&&ea(t,A);switch("valueUpdate"===E.type&&"external"===E.source&&!(0,u.A)(R,S)&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=eS,r.warnings=eS,r.triggerMetaEvent()),E.type){case"reset":if(!t||O){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=eS,r.warnings=eS,r.triggerMetaEvent(),null==T||T(),r.refresh();return}break;case"remove":if(o&&eO(o,e,s,R,S,E))return void r.reRender();break;case"setField":var I=E.data;if(O){"touched"in I&&(r.touched=I.touched),"validating"in I&&!("originRCField"in I)&&(r.validatePromise=I.validating?Promise.resolve([]):null),"errors"in I&&(r.errors=I.errors||eS),"warnings"in I&&(r.warnings=I.warnings||eS),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in I&&ea(t,A,!0)||o&&!A.length&&eO(o,e,s,R,S,E))return void r.reRender();break;case"dependenciesUpdate":if(a.map(eo).some(function(e){return ea(E.relatedFields,e)}))return void r.reRender();break;default:if(O||(!a.length||A.length||o)&&eO(o,e,s,R,S,E))return void r.reRender()}!0===o&&r.reRender()}),(0,c.A)((0,O.A)(r),"validateRules",function(e){var t=r.getNamePath(),E=r.getValue(),n=e||{},o=n.triggerName,i=n.validateOnly,R=Promise.resolve().then((0,T.A)((0,a.A)().mark(function n(){var i,S,O,I,l,c,N;return(0,a.A)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r.mounted){n.next=2;break}return n.abrupt("return",[]);case 2:if(O=void 0!==(S=(i=r.props).validateFirst)&&S,I=i.messageVariables,l=i.validateDebounce,c=r.getRules(),o&&(c=c.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||D(t).includes(o)})),!(l&&o)){n.next=10;break}return n.next=8,new Promise(function(e){setTimeout(e,l)});case 8:if(r.validatePromise===R){n.next=10;break}return n.abrupt("return",[]);case 10:return(N=function(e,t,E,r,n,o){var i,A,R=e.join("."),S=E.map(function(e,t){var E=e.validator,r=(0,s.A)((0,s.A)({},e),{},{ruleIndex:t});return E&&(r.validator=function(e,t,r){var n=!1,o=E(e,t,function(){for(var e=arguments.length,t=Array(e),E=0;E0&&void 0!==arguments[0]?arguments[0]:eS;if(r.validatePromise===R){r.validatePromise=null;var t,E=[],n=[];null==(t=e.forEach)||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?eS:r;t?n.push.apply(n,(0,A.A)(o)):E.push.apply(E,(0,A.A)(o))}),r.errors=E,r.warnings=n,r.triggerMetaEvent(),r.reRender()}}),n.abrupt("return",N);case 13:case"end":return n.stop()}},n)})));return void 0!==i&&i||(r.validatePromise=R,r.dirty=!0,r.errors=eS,r.warnings=eS,r.triggerMetaEvent(),r.reRender()),R}),(0,c.A)((0,O.A)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,c.A)((0,O.A)(r),"isFieldTouched",function(){return r.touched}),(0,c.A)((0,O.A)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(L).getInitialValue)(r.getNamePath())}),(0,c.A)((0,O.A)(r),"getErrors",function(){return r.errors}),(0,c.A)((0,O.A)(r),"getWarnings",function(){return r.warnings}),(0,c.A)((0,O.A)(r),"isListField",function(){return r.props.isListField}),(0,c.A)((0,O.A)(r),"isList",function(){return r.props.isList}),(0,c.A)((0,O.A)(r),"isPreserve",function(){return r.props.preserve}),(0,c.A)((0,O.A)(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,c.A)((0,O.A)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,s.A)((0,s.A)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var E=(0,N.A)(e);return 1===E.length&&n.isValidElement(E[0])?{child:E[0],isFunction:!1}:{child:E,isFunction:!1}}),(0,c.A)((0,O.A)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,E=r.getNamePath();return(0,en.A)(e||t(!0),E)}),(0,c.A)((0,O.A)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,E=t.name,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,T=t.valuePropName,A=t.getValueProps,R=t.fieldContext,S=void 0!==o?o:R.validateTrigger,O=r.getNamePath(),I=R.getInternalHooks,l=R.getFieldsValue,N=I(L).dispatch,u=r.getValue(),C=A||function(e){return(0,c.A)({},T,e)},_=e[n],d=void 0!==E?C(u):{},f=(0,s.A)((0,s.A)({},e),d);return f[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,E=Array(t),n=0;n=0&&t<=E.length?(S.keys=[].concat((0,A.A)(S.keys.slice(0,t)),[S.id],(0,A.A)(S.keys.slice(t))),n([].concat((0,A.A)(E.slice(0,t)),[e],(0,A.A)(E.slice(t))))):(S.keys=[].concat((0,A.A)(S.keys),[S.id]),n([].concat((0,A.A)(E),[e]))),S.id+=1},remove:function(e){var t=i(),E=new Set(Array.isArray(e)?e:[e]);E.size<=0||(S.keys=S.keys.filter(function(e,t){return!E.has(t)}),n(t.filter(function(e,t){return!E.has(t)})))},move:function(e,t){if(e!==t){var E=i();e<0||e>=E.length||t<0||t>=E.length||(S.keys=eA(S.keys,e,t),n(eA(E,e,t)))}}},t)})))};var eN=E(21858),eu="__@field_split__";function eC(e){return e.map(function(e){return"".concat((0,P.A)(e),":").concat(e)}).join(eu)}var eL=function(){function e(){(0,R.A)(this,e),(0,c.A)(this,"kvs",new Map)}return(0,S.A)(e,[{key:"set",value:function(e,t){this.kvs.set(eC(e),t)}},{key:"get",value:function(e){return this.kvs.get(eC(e))}},{key:"update",value:function(e,t){var E=t(this.get(e));E?this.set(e,E):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eC(e))}},{key:"map",value:function(e){return(0,A.A)(this.kvs.entries()).map(function(t){var E=(0,eN.A)(t,2),r=E[0],n=E[1];return e({key:r.split(eu).map(function(e){var t=e.match(/^([^:]*):(.*)$/),E=(0,eN.A)(t,3),r=E[1],n=E[2];return"number"===r?Number(n):n}),value:n})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var E=t.key,r=t.value;return e[E.join(".")]=r,null}),e}}]),e}(),e_=["name"],ed=(0,S.A)(function e(t){var E=this;(0,R.A)(this,e),(0,c.A)(this,"formHooked",!1),(0,c.A)(this,"forceRootUpdate",void 0),(0,c.A)(this,"subscribable",!0),(0,c.A)(this,"store",{}),(0,c.A)(this,"fieldEntities",[]),(0,c.A)(this,"initialValues",{}),(0,c.A)(this,"callbacks",{}),(0,c.A)(this,"validateMessages",null),(0,c.A)(this,"preserve",null),(0,c.A)(this,"lastValidatePromise",null),(0,c.A)(this,"getForm",function(){return{getFieldValue:E.getFieldValue,getFieldsValue:E.getFieldsValue,getFieldError:E.getFieldError,getFieldWarning:E.getFieldWarning,getFieldsError:E.getFieldsError,isFieldsTouched:E.isFieldsTouched,isFieldTouched:E.isFieldTouched,isFieldValidating:E.isFieldValidating,isFieldsValidating:E.isFieldsValidating,resetFields:E.resetFields,setFields:E.setFields,setFieldValue:E.setFieldValue,setFieldsValue:E.setFieldsValue,validateFields:E.validateFields,submit:E.submit,_init:!0,getInternalHooks:E.getInternalHooks}}),(0,c.A)(this,"getInternalHooks",function(e){return e===L?(E.formHooked=!0,{dispatch:E.dispatch,initEntityValue:E.initEntityValue,registerField:E.registerField,useSubscribe:E.useSubscribe,setInitialValues:E.setInitialValues,destroyForm:E.destroyForm,setCallbacks:E.setCallbacks,setValidateMessages:E.setValidateMessages,getFields:E.getFields,setPreserve:E.setPreserve,getInitialValue:E.getInitialValue,registerWatch:E.registerWatch}):((0,C.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,c.A)(this,"useSubscribe",function(e){E.subscribable=e}),(0,c.A)(this,"prevWithoutPreserves",null),(0,c.A)(this,"setInitialValues",function(e,t){if(E.initialValues=e||{},t){var r,n=(0,z.h)(e,E.store);null==(r=E.prevWithoutPreserves)||r.map(function(t){var E=t.key;n=(0,z.A)(n,E,(0,en.A)(e,E))}),E.prevWithoutPreserves=null,E.updateStore(n)}}),(0,c.A)(this,"destroyForm",function(e){if(e)E.updateStore({});else{var t=new eL;E.getFieldEntities(!0).forEach(function(e){E.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)}),E.prevWithoutPreserves=t}}),(0,c.A)(this,"getInitialValue",function(e){var t=(0,en.A)(E.initialValues,e);return e.length?(0,z.h)(t):t}),(0,c.A)(this,"setCallbacks",function(e){E.callbacks=e}),(0,c.A)(this,"setValidateMessages",function(e){E.validateMessages=e}),(0,c.A)(this,"setPreserve",function(e){E.preserve=e}),(0,c.A)(this,"watchList",[]),(0,c.A)(this,"registerWatch",function(e){return E.watchList.push(e),function(){E.watchList=E.watchList.filter(function(t){return t!==e})}}),(0,c.A)(this,"notifyWatch",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(E.watchList.length){var t=E.getFieldsValue(),r=E.getFieldsValue(!0);E.watchList.forEach(function(E){E(t,r,e)})}}),(0,c.A)(this,"timeoutId",null),(0,c.A)(this,"warningUnhooked",function(){}),(0,c.A)(this,"updateStore",function(e){E.store=e}),(0,c.A)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?E.fieldEntities.filter(function(e){return e.getNamePath().length}):E.fieldEntities}),(0,c.A)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eL;return E.getFieldEntities(e).forEach(function(e){var E=e.getNamePath();t.set(E,e)}),t}),(0,c.A)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return E.getFieldEntities(!0);var t=E.getFieldsMap(!0);return e.map(function(e){var E=eo(e);return t.get(E)||{INVALIDATE_NAME_PATH:eo(e)}})}),(0,c.A)(this,"getFieldsValue",function(e,t){if(E.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,n=t):e&&"object"===(0,P.A)(e)&&(o=e.strict,n=e.filter),!0===r&&!n)return E.store;var r,n,o,i=E.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),a=[];return i.forEach(function(e){var t,E,i,T="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(o){if(null!=(i=e.isList)&&i.call(e))return}else if(!r&&null!=(t=(E=e).isListField)&&t.call(E))return;if(n){var s="getMeta"in e?e.getMeta():null;n(s)&&a.push(T)}else a.push(T)}),ei(E.store,a.map(eo))}),(0,c.A)(this,"getFieldValue",function(e){E.warningUnhooked();var t=eo(e);return(0,en.A)(E.store,t)}),(0,c.A)(this,"getFieldsError",function(e){return E.warningUnhooked(),E.getFieldEntitiesForNamePathList(e).map(function(t,E){return!t||"INVALIDATE_NAME_PATH"in t?{name:eo(e[E]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,c.A)(this,"getFieldError",function(e){E.warningUnhooked();var t=eo(e);return E.getFieldsError([t])[0].errors}),(0,c.A)(this,"getFieldWarning",function(e){E.warningUnhooked();var t=eo(e);return E.getFieldsError([t])[0].warnings}),(0,c.A)(this,"isFieldsTouched",function(){E.warningUnhooked();for(var e,t=arguments.length,r=Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},r=new eL,n=E.getFieldEntities(!0);n.forEach(function(e){var t=e.props.initialValue,E=e.getNamePath();if(void 0!==t){var n=r.get(E)||new Set;n.add({entity:e,value:t}),r.set(E,n)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var E,n=r.get(t);n&&(E=e).push.apply(E,(0,A.A)((0,A.A)(n).map(function(e){return e.entity})))})):e=n,e.forEach(function(e){if(void 0!==e.props.initialValue){var n=e.getNamePath();if(void 0!==E.getInitialValue(n))(0,C.Ay)(!1,"Form already set 'initialValues' with path '".concat(n.join("."),"'. Field can not overwrite it."));else{var o=r.get(n);if(o&&o.size>1)(0,C.Ay)(!1,"Multiple Field with path '".concat(n.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var i=E.getFieldValue(n);e.isListField()||t.skipExist&&void 0!==i||E.updateStore((0,z.A)(E.store,n,(0,A.A)(o)[0].value))}}}})}),(0,c.A)(this,"resetFields",function(e){E.warningUnhooked();var t=E.store;if(!e){E.updateStore((0,z.h)(E.initialValues)),E.resetWithFieldInitialValue(),E.notifyObservers(t,null,{type:"reset"}),E.notifyWatch();return}var r=e.map(eo);r.forEach(function(e){var t=E.getInitialValue(e);E.updateStore((0,z.A)(E.store,e,t))}),E.resetWithFieldInitialValue({namePathList:r}),E.notifyObservers(t,r,{type:"reset"}),E.notifyWatch(r)}),(0,c.A)(this,"setFields",function(e){E.warningUnhooked();var t=E.store,r=[];e.forEach(function(e){var n=e.name,o=(0,i.A)(e,e_),a=eo(n);r.push(a),"value"in o&&E.updateStore((0,z.A)(E.store,a,o.value)),E.notifyObservers(t,[a],{type:"setField",data:e})}),E.notifyWatch(r)}),(0,c.A)(this,"getFields",function(){return E.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),n=(0,s.A)((0,s.A)({},r),{},{name:t,value:E.getFieldValue(t)});return Object.defineProperty(n,"originRCField",{value:!0}),n})}),(0,c.A)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,en.A)(E.store,r)&&E.updateStore((0,z.A)(E.store,r,t))}}),(0,c.A)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:E.preserve;return null==t||t}),(0,c.A)(this,"registerField",function(e){E.fieldEntities.push(e);var t=e.getNamePath();if(E.notifyWatch([t]),void 0!==e.props.initialValue){var r=E.store;E.resetWithFieldInitialValue({entities:[e],skipExist:!0}),E.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(E.fieldEntities=E.fieldEntities.filter(function(t){return t!==e}),!E.isMergedPreserve(n)&&(!r||o.length>1)){var i=r?void 0:E.getInitialValue(t);if(t.length&&E.getFieldValue(t)!==i&&E.fieldEntities.every(function(e){return!eT(e.getNamePath(),t)})){var a=E.store;E.updateStore((0,z.A)(a,t,i,!0)),E.notifyObservers(a,[t],{type:"remove"}),E.triggerDependenciesUpdate(a,t)}}E.notifyWatch([t])}}),(0,c.A)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;E.updateValue(t,r);break;case"validateField":var n=e.namePath,o=e.triggerName;E.validateFields([n],{triggerName:o})}}),(0,c.A)(this,"notifyObservers",function(e,t,r){if(E.subscribable){var n=(0,s.A)((0,s.A)({},r),{},{store:E.getFieldsValue(!0)});E.getFieldEntities().forEach(function(E){(0,E.onStoreChange)(e,t,n)})}else E.forceRootUpdate()}),(0,c.A)(this,"triggerDependenciesUpdate",function(e,t){var r=E.getDependencyChildrenFields(t);return r.length&&E.validateFields(r),E.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,A.A)(r))}),r}),(0,c.A)(this,"updateValue",function(e,t){var r=eo(e),n=E.store;E.updateStore((0,z.A)(E.store,r,t)),E.notifyObservers(n,[r],{type:"valueUpdate",source:"internal"}),E.notifyWatch([r]);var o=E.triggerDependenciesUpdate(n,r),i=E.callbacks.onValuesChange;i&&i(ei(E.store,[r]),E.getFieldsValue()),E.triggerOnFieldsChange([r].concat((0,A.A)(o)))}),(0,c.A)(this,"setFieldsValue",function(e){E.warningUnhooked();var t=E.store;if(e){var r=(0,z.h)(E.store,e);E.updateStore(r)}E.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),E.notifyWatch()}),(0,c.A)(this,"setFieldValue",function(e,t){E.setFields([{name:e,value:t,errors:[],warnings:[]}])}),(0,c.A)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],n=new eL;return E.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var E=eo(t);n.update(E,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),!function e(E){(n.get(E)||new Set).forEach(function(E){if(!t.has(E)){t.add(E);var n=E.getNamePath();E.isFieldDirty()&&n.length&&(r.push(n),e(n))}})}(e),r}),(0,c.A)(this,"triggerOnFieldsChange",function(e,t){var r=E.callbacks.onFieldsChange;if(r){var n=E.getFields();if(t){var o=new eL;t.forEach(function(e){var t=e.name,E=e.errors;o.set(t,E)}),n.forEach(function(e){e.errors=o.get(e.name)||e.errors})}var i=n.filter(function(t){return ea(e,t.name)});i.length&&r(i,n)}}),(0,c.A)(this,"validateFields",function(e,t){E.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(i=e,a=t):a=e;var r,n,o,i,a,T=!!i,R=T?i.map(eo):[],S=[],O=String(Date.now()),I=new Set,l=a||{},c=l.recursive,N=l.dirty;E.getFieldEntities(!0).forEach(function(e){if((T||R.push(e.getNamePath()),e.props.rules&&e.props.rules.length)&&(!N||e.isFieldDirty())){var t=e.getNamePath();if(I.add(t.join(O)),!T||ea(R,t,c)){var r=e.validateRules((0,s.A)({validateMessages:(0,s.A)((0,s.A)({},Q),E.validateMessages)},a));S.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var E,r=[],n=[];return(null==(E=e.forEach)||E.call(e,function(e){var t=e.rule.warningOnly,E=e.errors;t?n.push.apply(n,(0,A.A)(E)):r.push.apply(r,(0,A.A)(E))}),r.length)?Promise.reject({name:t,errors:r,warnings:n}):{name:t,errors:r,warnings:n}}))}}});var u=(r=!1,n=S.length,o=[],S.length?new Promise(function(e,t){S.forEach(function(E,i){E.catch(function(e){return r=!0,e}).then(function(E){n-=1,o[i]=E,n>0||(r&&t(o),e(o))})})}):Promise.resolve([]));E.lastValidatePromise=u,u.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});E.notifyObservers(E.store,t,{type:"validateFinish"}),E.triggerOnFieldsChange(t,e)});var C=u.then(function(){return E.lastValidatePromise===u?Promise.resolve(E.getFieldsValue(R)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:E.getFieldsValue(R),errorFields:t,outOfDate:E.lastValidatePromise!==u})});C.catch(function(e){return e});var L=R.filter(function(e){return I.has(e.join(O))});return E.triggerOnFieldsChange(L),C}),(0,c.A)(this,"submit",function(){E.warningUnhooked(),E.validateFields().then(function(e){var t=E.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=E.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t});let ef=function(e){var t=n.useRef(),E=n.useState({}),r=(0,eN.A)(E,2)[1];return t.current||(e?t.current=e:t.current=new ed(function(){r({})}).getForm()),[t.current]};var eD=n.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eP=function(e){var t=e.validateMessages,E=e.onFormChange,r=e.onFormFinish,o=e.children,i=n.useContext(eD),a=n.useRef({});return n.createElement(eD.Provider,{value:(0,s.A)((0,s.A)({},i),{},{validateMessages:(0,s.A)((0,s.A)({},i.validateMessages),t),triggerFormChange:function(e,t){E&&E(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=(0,s.A)((0,s.A)({},a.current),{},(0,c.A)({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.A)({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},ep=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function eh(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eM=function(){};let em=function(){for(var e=arguments.length,t=Array(e),E=0;E1?t-1:0),n=1;n{"use strict";E.d(t,{A9:()=>l,H3:()=>I,K4:()=>A,Xf:()=>s,f3:()=>S,xK:()=>R});var r=E(86608),n=E(12115),o=E(52270),i=E(22801),a=E(10337),T=Number(n.version.split(".")[0]),s=function(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)},A=function(){for(var e=arguments.length,t=Array(e),E=0;E=19)return!0;var t,E,r=(0,o.isMemo)(e)?e.type.type:e.type;return("function"!=typeof r||!!(null!=(t=r.prototype)&&t.render)||r.$$typeof===o.ForwardRef)&&("function"!=typeof e||!!(null!=(E=e.prototype)&&E.render)||e.$$typeof===o.ForwardRef)};function O(e){return(0,n.isValidElement)(e)&&!(0,a.A)(e)}var I=function(e){return O(e)&&S(e)},l=function(e){return e&&O(e)?e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref:null}},75659:(e,t,E)=>{"use strict";E.d(t,{A:()=>O});var r=E(12115),n=E(52596),o=E(61706),i=E(8396),a=E(37930);let T={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},s=e=>{let{icon:t,className:E,onClick:n,style:o,primaryColor:i,secondaryColor:s,...A}=e,R=r.useRef(null),S=T;if(i&&(S={primaryColor:i,secondaryColor:s||(0,a.Em)(i)}),(0,a.lf)(R),(0,a.$e)((0,a.P3)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.P3)(t))return null;let O=t;return O&&"function"==typeof O.icon&&(O={...O,icon:O.icon(S.primaryColor,S.secondaryColor)}),(0,a.cM)(O.icon,"svg-".concat(O.name),{className:E,onClick:n,style:o,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...A,ref:R})};function A(e){let[t,E]=(0,a.al)(e);return s.setTwoToneColors({primaryColor:t,secondaryColor:E})}function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:E,icon:o,spin:T,rotate:A,tabIndex:S,onClick:O,twoToneColor:I,...l}=e,{prefixCls:c="anticon",rootClassName:N}=r.useContext(i.A),u=(0,n.$)(N,c,{["".concat(c,"-").concat(o.name)]:!!o.name,["".concat(c,"-spin")]:!!T||"loading"===o.name},E),C=S;void 0===C&&O&&(C=-1);let[L,_]=(0,a.al)(I);return r.createElement("span",R({role:"img","aria-label":o.name},l,{ref:t,tabIndex:C,onClick:O,className:u}),r.createElement(s,{icon:o,primaryColor:L,secondaryColor:_,style:A?{msTransform:"rotate(".concat(A,"deg)"),transform:"rotate(".concat(A,"deg)")}:void 0}))});S.getTwoToneColor=function(){let e=s.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=A;let O=S},79453:(e,t,E)=>{"use strict";E.d(t,{A:()=>O});var r=E(68057),n=E(13418),o=E(83829),i=E(50907),a=E(15549),T=E(60872);let s=(e,t)=>new T.Y(e).setA(t).toRgbString(),A=(e,t)=>new T.Y(e).darken(t).toHexString(),R=e=>{let t=(0,r.cM)(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]}},S=(e,t)=>{let E=e||"#fff",r=t||"#000";return{colorBgBase:E,colorTextBase:r,colorText:s(r,.88),colorTextSecondary:s(r,.65),colorTextTertiary:s(r,.45),colorTextQuaternary:s(r,.25),colorFill:s(r,.15),colorFillSecondary:s(r,.06),colorFillTertiary:s(r,.04),colorFillQuaternary:s(r,.02),colorBgSolid:s(r,1),colorBgSolidHover:s(r,.75),colorBgSolidActive:s(r,.95),colorBgLayout:A(E,4),colorBgContainer:A(E,0),colorBgElevated:A(E,0),colorBgSpotlight:s(r,.85),colorBgBlur:"transparent",colorBorder:A(E,15),colorBorderSecondary:A(E,6)}};function O(e){r.uy.pink=r.uy.magenta,r.UA.pink=r.UA.magenta;let t=Object.keys(n.r).map(t=>{let E=e[t]===r.uy[t]?r.UA[t]:(0,r.cM)(e[t]);return Array.from({length:10},()=>1).reduce((e,r,n)=>(e["".concat(t,"-").concat(n+1)]=E[n],e["".concat(t).concat(n+1)]=E[n],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),(0,o.A)(e,{generateColorPalettes:R,generateNeutralColorPalettes:S})),(0,a.A)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:E}=e;return{sizeXXL:t*(E+8),sizeXL:t*(E+4),sizeLG:t*(E+2),sizeMD:t*(E+1),sizeMS:t*E,size:t*E,sizeSM:t*(E-1),sizeXS:t*(E-2),sizeXXS:t*(E-3)}}(e)),(0,i.A)(e)),function(e){let t,E,r,n,{motionUnit:o,motionBase:i,borderRadius:a,lineWidth:T}=e;return Object.assign({motionDurationFast:"".concat((i+o).toFixed(1),"s"),motionDurationMid:"".concat((i+2*o).toFixed(1),"s"),motionDurationSlow:"".concat((i+3*o).toFixed(1),"s"),lineWidthBold:T+1},(t=a,E=a,r=a,n=a,a<6&&a>=5?t=a+1:a<16&&a>=6?t=a+2:a>=16&&(t=16),a<7&&a>=5?E=4:a<8&&a>=7?E=5:a<14&&a>=8?E=6:a<16&&a>=14?E=7:a>=16&&(E=8),a<6&&a>=2?r=1:a>=6&&(r=2),a>4&&a<8?n=4:a>=8&&(n=6),{borderRadius:a,borderRadiusXS:r,borderRadiusSM:E,borderRadiusLG:t,borderRadiusOuter:n}))}(e))}},79630:(e,t,E)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},80163:(e,t,E)=>{"use strict";E.d(t,{Ob:()=>i,fx:()=>o,zv:()=>n});var r=E(12115);function n(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let o=(e,t,E)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof E?E(e.props||{}):E):t;function i(e,t){return o(e,e,t)}},80227:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(86608),n=E(9587);let o=function(e,t){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,T=o.has(t);if((0,n.Ay)(!T,"Warning: There may be circular references"),T)return!1;if(t===i)return!0;if(E&&a>1)return!1;o.add(t);var s=a+1;if(Array.isArray(t)){if(!Array.isArray(i)||t.length!==i.length)return!1;for(var A=0;A{"use strict";E.d(t,{aF:()=>eA,Kq:()=>l,Ay:()=>eR});var r=E(40419),n=E(27061),o=E(21858),i=E(86608),a=E(29300),T=E.n(a),s=E(41197),A=E(74686),R=E(12115),S=E(20235),O=["children"],I=R.createContext({});function l(e){var t=e.children,E=(0,S.A)(e,O);return R.createElement(I.Provider,{value:E},t)}var c=E(30857),N=E(28383),u=E(38289),C=E(9424),L=function(e){(0,u.A)(E,e);var t=(0,C.A)(E);function E(){return(0,c.A)(this,E),t.apply(this,arguments)}return(0,N.A)(E,[{key:"render",value:function(){return this.props.children}}]),E}(R.Component),_=E(11719),d=E(28248),f=E(18885),D="none",P="appear",p="enter",h="leave",M="none",m="prepare",U="start",g="active",y="prepared",G=E(71367);function b(e,t){var E={};return E[e.toLowerCase()]=t.toLowerCase(),E["Webkit".concat(e)]="webkit".concat(t),E["Moz".concat(e)]="moz".concat(t),E["ms".concat(e)]="MS".concat(t),E["O".concat(e)]="o".concat(t.toLowerCase()),E}var v=function(e,t){var E={animationend:b("Animation","AnimationEnd"),transitionend:b("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete E.animationend.animation,"TransitionEvent"in t||delete E.transitionend.transition),E}((0,G.A)(),"undefined"!=typeof window?window:{}),H={};(0,G.A)()&&(H=document.createElement("div").style);var F={};function B(e){if(F[e])return F[e];var t=v[e];if(t)for(var E=Object.keys(t),r=E.length,n=0;n1&&void 0!==arguments[1]?arguments[1]:2;t();var o=(0,J.A)(function(){n<=1?r({isCanceled:function(){return o!==e.current}}):E(r,n-1)});e.current=o},t]};var $=[m,U,g,"end"],q=[m,y];function Q(e){return e===g||"end"===e}let z=function(e,t,E){var r=(0,d.A)(M),n=(0,o.A)(r,2),i=n[0],a=n[1],T=j(),s=(0,o.A)(T,2),A=s[0],S=s[1],O=t?q:$;return k(function(){if(i!==M&&"end"!==i){var e=O.indexOf(i),t=O[e+1],r=E(i);!1===r?a(t,!0):t&&A(function(e){function E(){e.isCanceled()||a(t,!0)}!0===r?E():Promise.resolve(r).then(E)})}},[e,i]),R.useEffect(function(){return function(){S()}},[]),[function(){a(m,!0)},i]},Z=function(e){var t=e;"object"===(0,i.A)(e)&&(t=e.transitionSupport);var E=R.forwardRef(function(e,E){var i=e.visible,a=void 0===i||i,S=e.removeOnLeave,O=void 0===S||S,l=e.forceRender,c=e.children,N=e.motionName,u=e.leavedClassName,C=e.eventProps,M=R.useContext(I).motion,G=!!(e.motionName&&t&&!1!==M),b=(0,R.useRef)(),v=(0,R.useRef)(),H=function(e,t,E,i){var a,T,s,A=i.motionEnter,S=void 0===A||A,O=i.motionAppear,I=void 0===O||O,l=i.motionLeave,c=void 0===l||l,N=i.motionDeadline,u=i.motionLeaveImmediately,C=i.onAppearPrepare,L=i.onEnterPrepare,M=i.onLeavePrepare,G=i.onAppearStart,b=i.onEnterStart,v=i.onLeaveStart,H=i.onAppearActive,F=i.onEnterActive,B=i.onLeaveActive,Y=i.onAppearEnd,V=i.onEnterEnd,x=i.onLeaveEnd,W=i.onVisibleChanged,w=(0,d.A)(),X=(0,o.A)(w,2),J=X[0],j=X[1],$=(a=R.useReducer(function(e){return e+1},0),T=(0,o.A)(a,2)[1],s=R.useRef(D),[(0,f.A)(function(){return s.current}),(0,f.A)(function(e){s.current="function"==typeof e?e(s.current):e,T()})]),q=(0,o.A)($,2),Z=q[0],ee=q[1],et=(0,d.A)(null),eE=(0,o.A)(et,2),er=eE[0],en=eE[1],eo=Z(),ei=(0,R.useRef)(!1),ea=(0,R.useRef)(null),eT=(0,R.useRef)(!1);function es(){ee(D),en(null,!0)}var eA=(0,_._q)(function(e){var t,r=Z();if(r!==D){var n=E();if(!e||e.deadline||e.target===n){var o=eT.current;r===P&&o?t=null==Y?void 0:Y(n,e):r===p&&o?t=null==V?void 0:V(n,e):r===h&&o&&(t=null==x?void 0:x(n,e)),o&&!1!==t&&es()}}}),eR=K(eA),eS=(0,o.A)(eR,1)[0],eO=function(e){switch(e){case P:return(0,r.A)((0,r.A)((0,r.A)({},m,C),U,G),g,H);case p:return(0,r.A)((0,r.A)((0,r.A)({},m,L),U,b),g,F);case h:return(0,r.A)((0,r.A)((0,r.A)({},m,M),U,v),g,B);default:return{}}},eI=R.useMemo(function(){return eO(eo)},[eo]),el=z(eo,!e,function(e){if(e===m){var t,r=eI[m];return!!r&&r(E())}return eu in eI&&en((null==(t=eI[eu])?void 0:t.call(eI,E(),null))||null),eu===g&&eo!==D&&(eS(E()),N>0&&(clearTimeout(ea.current),ea.current=setTimeout(function(){eA({deadline:!0})},N))),eu===y&&es(),!0}),ec=(0,o.A)(el,2),eN=ec[0],eu=ec[1];eT.current=Q(eu);var eC=(0,R.useRef)(null);k(function(){if(!ei.current||eC.current!==t){j(t);var E,r=ei.current;ei.current=!0,!r&&t&&I&&(E=P),r&&t&&S&&(E=p),(r&&!t&&c||!r&&u&&!t&&c)&&(E=h);var n=eO(E);E&&(e||n[m])?(ee(E),eN()):ee(D),eC.current=t}},[t]),(0,R.useEffect)(function(){(eo!==P||I)&&(eo!==p||S)&&(eo!==h||c)||ee(D)},[I,S,c]),(0,R.useEffect)(function(){return function(){ei.current=!1,clearTimeout(ea.current)}},[]);var eL=R.useRef(!1);(0,R.useEffect)(function(){J&&(eL.current=!0),void 0!==J&&eo===D&&((eL.current||J)&&(null==W||W(J)),eL.current=!0)},[J,eo]);var e_=er;return eI[m]&&eu===U&&(e_=(0,n.A)({transition:"none"},e_)),[eo,eu,e_,null!=J?J:t]}(G,a,function(){try{return b.current instanceof HTMLElement?b.current:(0,s.Ay)(v.current)}catch(e){return null}},e),F=(0,o.A)(H,4),B=F[0],Y=F[1],V=F[2],x=F[3],W=R.useRef(x);x&&(W.current=!0);var w=R.useCallback(function(e){b.current=e,(0,A.Xf)(E,e)},[E]),J=(0,n.A)((0,n.A)({},C),{},{visible:a});if(c)if(B===D)j=x?c((0,n.A)({},J),w):!O&&W.current&&u?c((0,n.A)((0,n.A)({},J),{},{className:u}),w):!l&&(O||u)?null:c((0,n.A)((0,n.A)({},J),{},{style:{display:"none"}}),w);else{Y===m?$="prepare":Q(Y)?$="active":Y===U&&($="start");var j,$,q=X(N,"".concat(B,"-").concat($));j=c((0,n.A)((0,n.A)({},J),{},{className:T()(X(N,B),(0,r.A)((0,r.A)({},q,q&&$),N,"string"==typeof N)),style:V}),w)}else j=null;return R.isValidElement(j)&&(0,A.f3)(j)&&((0,A.A9)(j)||(j=R.cloneElement(j,{ref:w}))),R.createElement(L,{ref:v},j)});return E.displayName="CSSMotion",E}(x);var ee=E(79630),et=E(55227),eE="keep",er="remove",en="removed";function eo(e){var t;return t=e&&"object"===(0,i.A)(e)&&"key"in e?e:{key:e},(0,n.A)((0,n.A)({},t),{},{key:String(t.key)})}function ei(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eo)}var ea=["component","children","onVisibleChanged","onAllRemoved"],eT=["status"],es=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];let eA=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,E=function(e){(0,u.A)(o,e);var E=(0,C.A)(o);function o(){var e;(0,c.A)(this,o);for(var t=arguments.length,i=Array(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],E=[],r=0,o=t.length,i=ei(e),a=ei(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(E=E.filter(function(t){var E=t.key,r=t.status;return E!==e||r!==er})).forEach(function(t){t.key===e&&(t.status=eE)})}),E})(r,ei(E)).filter(function(e){var t=r.find(function(t){var E=t.key;return e.key===E});return!t||t.status!==en||e.status!==er})}}}]),o}(R.Component);return(0,r.A)(E,"defaultProps",{component:"div"}),E}(x),eR=Z},83829:(e,t,E)=>{"use strict";E.d(t,{A:()=>n});var r=E(60872);function n(e,t){let{generateColorPalettes:E,generateNeutralColorPalettes:n}=t,{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:T,colorPrimary:s,colorBgBase:A,colorTextBase:R}=e,S=E(s),O=E(o),I=E(i),l=E(a),c=E(T),N=n(A,R),u=E(e.colorLink||e.colorInfo),C=new r.Y(l[1]).mix(new r.Y(l[3]),50).toHexString();return Object.assign(Object.assign({},N),{colorPrimaryBg:S[1],colorPrimaryBgHover:S[2],colorPrimaryBorder:S[3],colorPrimaryBorderHover:S[4],colorPrimaryHover:S[5],colorPrimary:S[6],colorPrimaryActive:S[7],colorPrimaryTextHover:S[8],colorPrimaryText:S[9],colorPrimaryTextActive:S[10],colorSuccessBg:O[1],colorSuccessBgHover:O[2],colorSuccessBorder:O[3],colorSuccessBorderHover:O[4],colorSuccessHover:O[4],colorSuccess:O[6],colorSuccessActive:O[7],colorSuccessTextHover:O[8],colorSuccessText:O[9],colorSuccessTextActive:O[10],colorErrorBg:l[1],colorErrorBgHover:l[2],colorErrorBgFilledHover:C,colorErrorBgActive:l[3],colorErrorBorder:l[3],colorErrorBorderHover:l[4],colorErrorHover:l[5],colorError:l[6],colorErrorActive:l[7],colorErrorTextHover:l[8],colorErrorText:l[9],colorErrorTextActive:l[10],colorWarningBg:I[1],colorWarningBgHover:I[2],colorWarningBorder:I[3],colorWarningBorderHover:I[4],colorWarningHover:I[4],colorWarning:I[6],colorWarningActive:I[7],colorWarningTextHover:I[8],colorWarningText:I[9],colorWarningTextActive:I[10],colorInfoBg:c[1],colorInfoBgHover:c[2],colorInfoBorder:c[3],colorInfoBorderHover:c[4],colorInfoHover:c[4],colorInfo:c[6],colorInfoActive:c[7],colorInfoTextHover:c[8],colorInfoText:c[9],colorInfoTextActive:c[10],colorLinkHover:u[4],colorLink:u[6],colorLinkActive:u[7],colorBgMask:new r.Y("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}},83855:(e,t,E)=>{"use strict";E.d(t,{A:()=>i,l:()=>o});var r=E(38194),n=E(4697);function o(e,t){for(var E="",r=0;r{"use strict";E.d(t,{A:()=>a});var r=E(79630),n=E(12115),o=E(42464),i=E(35030);let a=n.forwardRef(function(e,t){return n.createElement(i.A,(0,r.A)({},e,{ref:t,icon:o.A}))})},85051:(e,t,E)=>{"use strict";E.d(t,{k:()=>P,A:()=>h});var r=E(12115),n=E(84630),o=E(51754),i=E(63583),a=E(66383),T=E(29300),s=E.n(T),A=E(9130),R=E(93666),S=E(57845),O=E(8530),I=E(70042),l=E(25374),c=E(61051);let N=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:E,isSilent:n,mergedOkCancel:o,rootPrefixCls:i,close:a,onCancel:T,onConfirm:s}=(0,r.useContext)(c.V);return o?r.createElement(l.A,{isSilent:n,actionFn:T,close:function(){for(var e=arguments.length,t=Array(e),E=0;E{let{autoFocusButton:e,close:t,isSilent:E,okButtonProps:n,rootPrefixCls:o,okTextLocale:i,okType:a,onConfirm:T,onOk:s}=(0,r.useContext)(c.V);return r.createElement(l.A,{isSilent:E,type:a||"primary",actionFn:s,close:function(){for(var e=arguments.length,E=Array(e),r=0;r(e=>{let{componentCls:t,titleFontSize:E,titleLineHeight:r,modalConfirmIconSize:n,fontSize:o,lineHeight:i,modalTitleHeight:a,fontHeight:T,confirmBodyPadding:s}=e,A="".concat(t,"-confirm");return{[A]:{"&-rtl":{direction:"rtl"},["".concat(e.antCls,"-modal-header")]:{display:"none"},["".concat(A,"-body-wrapper")]:Object.assign({},(0,d.t6)()),["&".concat(t," ").concat(t,"-body")]:{padding:s},["".concat(A,"-body")]:{display:"flex",flexWrap:"nowrap",alignItems:"start",["> ".concat(e.iconCls)]:{flex:"none",fontSize:n,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(T).sub(n).equal()).div(2).equal()},["&-has-title > ".concat(e.iconCls)]:{marginTop:e.calc(e.calc(a).sub(n).equal()).div(2).equal()}},["".concat(A,"-paragraph")]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:"calc(100% - ".concat((0,L.zA)(e.marginSM),")")},["".concat(e.iconCls," + ").concat(A,"-paragraph")]:{maxWidth:"calc(100% - ".concat((0,L.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal()),")")},["".concat(A,"-title")]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:E,lineHeight:r},["".concat(A,"-content")]:{color:e.colorText,fontSize:o,lineHeight:i},["".concat(A,"-btns")]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,["".concat(e.antCls,"-btn + ").concat(e.antCls,"-btn")]:{marginBottom:0,marginInlineStart:e.marginXS}}},["".concat(A,"-error ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorError},["".concat(A,"-warning ").concat(A,"-body > ").concat(e.iconCls,",\n ").concat(A,"-confirm ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorWarning},["".concat(A,"-info ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorInfo},["".concat(A,"-success ").concat(A,"-body > ").concat(e.iconCls)]:{color:e.colorSuccess}}})((0,_.FY)(e)),_.cH,{order:-1e3});var D=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let P=e=>{let{prefixCls:t,icon:E,okText:T,cancelText:A,confirmPrefixCls:R,type:S,okCancel:I,footer:l,locale:C}=e,L=D(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),_=E;if(!E&&null!==E)switch(S){case"info":_=r.createElement(a.A,null);break;case"success":_=r.createElement(n.A,null);break;case"error":_=r.createElement(o.A,null);break;default:_=r.createElement(i.A,null)}let d=null!=I?I:"confirm"===S,P=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[p]=(0,O.A)("Modal"),h=C||p,M=T||(d?null==h?void 0:h.okText:null==h?void 0:h.justOkText),m=A||(null==h?void 0:h.cancelText),U=r.useMemo(()=>Object.assign({autoFocusButton:P,cancelTextLocale:m,okTextLocale:M,mergedOkCancel:d},L),[P,m,M,d,L]),g=r.createElement(r.Fragment,null,r.createElement(N,null),r.createElement(u,null)),y=void 0!==e.title&&null!==e.title,G="".concat(R,"-body");return r.createElement("div",{className:"".concat(R,"-body-wrapper")},r.createElement("div",{className:s()(G,{["".concat(G,"-has-title")]:y})},_,r.createElement("div",{className:"".concat(R,"-paragraph")},y&&r.createElement("span",{className:"".concat(R,"-title")},e.title),r.createElement("div",{className:"".concat(R,"-content")},e.content))),void 0===l||"function"==typeof l?r.createElement(c.i,{value:U},r.createElement("div",{className:"".concat(R,"-btns")},"function"==typeof l?l(g,{OkBtn:u,CancelBtn:N}):g)):l,r.createElement(f,{prefixCls:t}))},p=e=>{let{close:t,zIndex:E,maskStyle:n,direction:o,prefixCls:i,wrapClassName:a,rootPrefixCls:T,bodyStyle:S,closable:O=!1,onConfirm:l,styles:c,title:N}=e,u="".concat(i,"-confirm"),L=e.width||416,_=e.style||{},d=void 0===e.mask||e.mask,f=void 0!==e.maskClosable&&e.maskClosable,D=s()(u,"".concat(u,"-").concat(e.type),{["".concat(u,"-rtl")]:"rtl"===o},e.className),[,p]=(0,I.Ay)(),h=r.useMemo(()=>void 0!==E?E:p.zIndexPopupBase+A.jH,[E,p]);return r.createElement(C.A,Object.assign({},e,{className:D,wrapClassName:s()({["".concat(u,"-centered")]:!!e.centered},a),onCancel:()=>{null==t||t({triggerCancel:!0}),null==l||l(!1)},title:N,footer:null,transitionName:(0,R.b)(T||"","zoom",e.transitionName),maskTransitionName:(0,R.b)(T||"","fade",e.maskTransitionName),mask:d,maskClosable:f,style:_,styles:Object.assign({body:S,mask:n},c),width:L,zIndex:h,closable:O}),r.createElement(P,Object.assign({},e,{confirmPrefixCls:u})))},h=e=>{let{rootPrefixCls:t,iconPrefixCls:E,direction:n,theme:o}=e;return r.createElement(S.Ay,{prefixCls:t,iconPrefixCls:E,direction:n,theme:o},r.createElement(p,Object.assign({},e)))}},85382:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=function(){for(var e=arguments.length,t=Array(e),E=0;E{e&&Object.keys(e).forEach(t=>{void 0!==e[t]&&(r[t]=e[t])})}),r}},85440:(e,t,E)=>{"use strict";E.d(t,{BD:()=>l,m6:()=>I});var r=E(27061),n=E(71367),o=E(3201),i="data-rc-order",a="data-rc-priority",T=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 A(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function R(e){return Array.from((T.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.A)())return null;var E=t.csp,r=t.prepend,o=t.priority,T=void 0===o?0:o,s="queue"===r?"prependQueue":r?"prepend":"append",S="prependQueue"===s,O=document.createElement("style");O.setAttribute(i,s),S&&T&&O.setAttribute(a,"".concat(T)),null!=E&&E.nonce&&(O.nonce=null==E?void 0:E.nonce),O.innerHTML=e;var I=A(t),l=I.firstChild;if(r){if(S){var c=(t.styles||R(I)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&T>=Number(e.getAttribute(a)||0)});if(c.length)return I.insertBefore(O,c[c.length-1].nextSibling),O}I.insertBefore(O,l)}else I.appendChild(O);return O}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=A(t);return(t.styles||R(E)).find(function(E){return E.getAttribute(s(t))===e})}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=O(e,t);E&&A(t).removeChild(E)}function l(e,t){var E,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=A(a),l=R(I),c=(0,r.A)((0,r.A)({},a),{},{styles:l}),N=T.get(I);if(!N||!(0,o.A)(document,N)){var u=S("",c),C=u.parentNode;T.set(I,C),I.removeChild(u)}var L=O(t,c);if(L)return null!=(E=c.csp)&&E.nonce&&L.nonce!==(null==(n=c.csp)?void 0:n.nonce)&&(L.nonce=null==(i=c.csp)?void 0:i.nonce),L.innerHTML!==e&&(L.innerHTML=e),L;var _=S(e,c);return _.setAttribute(s(c),t),_}},85522:(e,t,E)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}E.d(t,{A:()=>r})},85665:(e,t,E)=>{"use strict";E.d(t,{p9:()=>a});var r=E(99841),n=E(64717);let o=new r.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),i=new r.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:E}=e,r="".concat(E,"-fade"),a=t?"&":"";return[(0,n.b)(r,o,i,e.motionDurationMid,t),{["\n ".concat(a).concat(r,"-enter,\n ").concat(a).concat(r,"-appear\n ")]:{opacity:0,animationTimingFunction:"linear"},["".concat(a).concat(r,"-leave")]:{animationTimingFunction:"linear"}}]}},85757:(e,t,E)=>{"use strict";E.d(t,{A:()=>i});var r=E(8357),n=E(99823),o=E(73632);function i(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,n.A)(e)||(0,o.A)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},86500:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},86608:(e,t,E)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}E.d(t,{A:()=>r})},88860:(e,t,E)=>{"use strict";E.d(t,{A:()=>o});var r=E(60872);function n(e){return e>=0&&e<=255}let o=function(e,t){let{r:E,g:o,b:i,a:a}=new r.Y(e).toRgb();if(a<1)return e;let{r:T,g:s,b:A}=new r.Y(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((E-T*(1-e))/e),a=Math.round((o-s*(1-e))/e),R=Math.round((i-A*(1-e))/e);if(n(t)&&n(a)&&n(R))return new r.Y({r:t,g:a,b:R,a:Math.round(100*e)/100}).toRgbString()}return new r.Y({r:E,g:o,b:i,a:1}).toRgbString()}},89450:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r={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"}},93495:(e,t,E)=>{"use strict";function r(e,t){if(null==e)return{};var E={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;E[r]=e[r]}return E}E.d(t,{A:()=>r})},93666:(e,t,E)=>{"use strict";E.d(t,{A:()=>s,b:()=>T});var r=E(15982);let n=()=>({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,T=(e,t,E)=>void 0!==E?E:"".concat(e,"-").concat(t),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.yH;return{motionName:"".concat(e,"-motion-collapse"),onAppearStart:n,onEnterStart:n,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:n,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},93821:(e,t,E)=>{"use strict";E.d(t,{A:()=>a});var r=E(35145),n=E(99823),o=E(73632),i=E(916);function a(e){return(0,r.A)(e)||(0,n.A)(e)||(0,o.A)(e)||(0,i.A)()}},94134:(e,t,E)=>{"use strict";E.d(t,{L:()=>a,l:()=>T});var r=E(16025);let n=Object.assign({},r.A.Modal),o=[],i=()=>o.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.A.Modal);function a(e){if(e){let t=Object.assign({},e);return o.push(t),n=i(),()=>{o=o.filter(e=>e!==t),n=i()}}n=Object.assign({},r.A.Modal)}function T(){return n}},94251:(e,t,E)=>{"use strict";function r(e,t,E,r,n,o,i){try{var a=e[o](i),T=a.value}catch(e){return void E(e)}a.done?t(T):Promise.resolve(T).then(r,n)}function n(e){return function(){var t=this,E=arguments;return new Promise(function(n,o){var i=e.apply(t,E);function a(e){r(i,n,o,a,T,"next",e)}function T(e){r(i,n,o,a,T,"throw",e)}a(void 0)})}}E.d(t,{A:()=>n})},94480:(e,t,E)=>{"use strict";E.d(t,{w:()=>I,O:()=>O});var r=E(12115),n=E(48776),o=E(44494),i=E(8530),a=E(98696),T=E(61051);let s=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:E}=(0,r.useContext)(T.V);return r.createElement(a.Ay,Object.assign({onClick:E},e),t)};var A=E(37120);let R=()=>{let{confirmLoading:e,okButtonProps:t,okType:E,okTextLocale:n,onOk:o}=(0,r.useContext)(T.V);return r.createElement(a.Ay,Object.assign({},(0,A.DU)(E),{loading:e,onClick:o},t),n)};var S=E(94134);function O(e,t){return r.createElement("span",{className:"".concat(e,"-close-x")},t||r.createElement(n.A,{className:"".concat(e,"-close-icon")}))}let I=e=>{let t,{okText:E,okType:n="primary",cancelText:a,confirmLoading:A,onOk:O,onCancel:I,okButtonProps:l,cancelButtonProps:c,footer:N}=e,[u]=(0,i.A)("Modal",(0,S.l)()),C=E||(null==u?void 0:u.okText),L=a||(null==u?void 0:u.cancelText),_=r.useMemo(()=>({confirmLoading:A,okButtonProps:l,cancelButtonProps:c,okTextLocale:C,cancelTextLocale:L,okType:n,onOk:O,onCancel:I}),[A,l,c,C,L,n,O,I]);return"function"==typeof N||void 0===N?(t=r.createElement(r.Fragment,null,r.createElement(s,null),r.createElement(R,null)),"function"==typeof N&&(t=N(t,{OkBtn:R,CancelBtn:s})),t=r.createElement(T.i,{value:_},t)):t=N,r.createElement(o.X,{disabled:!1},t)}},96936:(e,t,E)=>{"use strict";E.d(t,{K6:()=>O,Ay:()=>l,RQ:()=>S});var r=E(12115),n=E(29300),o=E.n(n),i=E(63715),a=E(15982),T=E(9836);let s=(0,E(45431).OF)(["Space","Compact"],e=>[(e=>{let{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}})(e)],()=>({}),{resetStyle:!1});var A=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let R=r.createContext(null),S=(e,t)=>{let E=r.useContext(R),n=r.useMemo(()=>{if(!E)return"";let{compactDirection:r,isFirstItem:n,isLastItem:i}=E,a="vertical"===r?"-vertical-":"-";return o()("".concat(e,"-compact").concat(a,"item"),{["".concat(e,"-compact").concat(a,"first-item")]:n,["".concat(e,"-compact").concat(a,"last-item")]:i,["".concat(e,"-compact").concat(a,"item-rtl")]:"rtl"===t})},[e,t,E]);return{compactSize:null==E?void 0:E.compactSize,compactDirection:null==E?void 0:E.compactDirection,compactItemClassnames:n}},O=e=>{let{children:t}=e;return r.createElement(R.Provider,{value:null},t)},I=e=>{let{children:t}=e,E=A(e,["children"]);return r.createElement(R.Provider,{value:r.useMemo(()=>E,[E])},t)},l=e=>{let{getPrefixCls:t,direction:E}=r.useContext(a.QO),{size:n,direction:S,block:O,prefixCls:l,className:c,rootClassName:N,children:u}=e,C=A(e,["size","direction","block","prefixCls","className","rootClassName","children"]),L=(0,T.A)(e=>null!=n?n:e),_=t("space-compact",l),[d,f]=s(_),D=o()(_,f,{["".concat(_,"-rtl")]:"rtl"===E,["".concat(_,"-block")]:O,["".concat(_,"-vertical")]:"vertical"===S},c,N),P=r.useContext(R),p=(0,i.A)(u),h=r.useMemo(()=>p.map((e,t)=>{let E=(null==e?void 0:e.key)||"".concat(_,"-item-").concat(t);return r.createElement(I,{key:E,compactSize:L,compactDirection:S,isFirstItem:0===t&&(!P||(null==P?void 0:P.isFirstItem)),isLastItem:t===p.length-1&&(!P||(null==P?void 0:P.isLastItem))},e)}),[p,P,S,L,_]);return 0===p.length?null:d(r.createElement("div",Object.assign({className:D},C),h))}},97089:(e,t,E)=>{"use strict";E.d(t,{A:()=>r});let r=(0,E(12115).createContext)({})},97314:(e,t)=>{"use strict";var E=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),T=Symbol.for("react.context"),s=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=A,t.isMemo=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case E:switch(e=e.type){case n:case i:case o:case R:case S:return e;default:switch(e=e&&e.$$typeof){case s:case T:case A:case I:case O:case a:return e;default:return t}}case r:return t}}}(e)===O}},98696:(e,t,E)=>{"use strict";E.d(t,{Ay:()=>z});var r=E(12115),n=E(29300),o=E.n(n),i=E(26791),a=E(17980),T=E(74686),s=E(47195),A=E(15982),R=E(44494),S=E(9836),O=E(96936),I=E(70042),l=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let c=r.createContext(void 0);var N=E(37120),u=E(51280),C=E(82870);let L=(0,r.forwardRef)((e,t)=>{let{className:E,style:n,children:i,prefixCls:a}=e,T=o()("".concat(a,"-icon"),E);return r.createElement("span",{ref:t,className:T,style:n},i)}),_=(0,r.forwardRef)((e,t)=>{let{prefixCls:E,className:n,style:i,iconClassName:a}=e,T=o()("".concat(E,"-loading-icon"),n);return r.createElement(L,{prefixCls:E,className:T,style:i,ref:t},r.createElement(u.A,{className:a}))}),d=()=>({width:0,opacity:0,transform:"scale(0)"}),f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),D=e=>{let{prefixCls:t,loading:E,existIcon:n,className:i,style:a,mount:T}=e;return n?r.createElement(_,{prefixCls:t,className:i,style:a}):r.createElement(C.Ay,{visible:!!E,motionName:"".concat(t,"-loading-icon-motion"),motionAppear:!T,motionEnter:!T,motionLeave:!T,removeOnLeave:!0,onAppearStart:d,onAppearActive:f,onEnterStart:d,onEnterActive:f,onLeaveStart:f,onLeaveActive:d},(e,E)=>{let{className:n,style:T}=e,s=Object.assign(Object.assign({},a),T);return r.createElement(_,{prefixCls:t,className:o()(i,n),style:s,ref:E})})};var P=E(99841),p=E(18184),h=E(68495),M=E(61388),m=E(45431);let U=(e,t)=>({["> span, > ".concat(e)]:{"&:not(:last-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var g=E(67302),y=E(31474);E(48804);var G=E(7884),b=E(88860);let v=e=>{let{paddingInline:t,onlyIconSize:E}=e;return(0,M.oX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:E})},H=e=>{var t,E,r,n,o,i;let a=null!=(t=e.contentFontSize)?t:e.fontSize,T=null!=(E=e.contentFontSizeSM)?E:e.fontSize,s=null!=(r=e.contentFontSizeLG)?r:e.fontSizeLG,A=null!=(n=e.contentLineHeight)?n:(0,G.k)(a),R=null!=(o=e.contentLineHeightSM)?o:(0,G.k)(T),S=null!=(i=e.contentLineHeightLG)?i:(0,G.k)(s),O=((e,t)=>{let{r:E,g:r,b:n,a:o}=e.toRgb(),i=new y.Q1(e.toRgbString()).onBackground(t).toHsv();return o<=.5?i.v>.5:.299*E+.587*r+.114*n>192})(new g.kf(e.colorBgSolid),"#fff")?"#000":"#fff";return Object.assign(Object.assign({},h.s.reduce((t,E)=>Object.assign(Object.assign({},t),{["".concat(E,"ShadowColor")]:"0 ".concat((0,P.zA)(e.controlOutlineWidth)," 0 ").concat((0,b.A)(e["".concat(E,"1")],e.colorBgContainer))}),{})),{fontWeight:400,iconGap:e.marginXS,defaultShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlTmpOutline),primaryShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlOutline),dangerShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(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:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:O,contentFontSize:a,contentFontSizeSM:T,contentFontSizeLG:s,contentLineHeight:A,contentLineHeightSM:R,contentLineHeightLG:S,paddingBlock:Math.max((e.controlHeight-a*A)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-T*R)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*S)/2-e.lineWidth,0)})},F=(e,t,E)=>({["&:not(:disabled):not(".concat(e,"-disabled)")]:{"&:hover":t,"&:active":E}}),B=(e,t,E,r,n,o,i,a)=>({["&".concat(e,"-background-ghost")]:Object.assign(Object.assign({color:E||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},F(e,Object.assign({background:t},i),Object.assign({background:t},a))),{"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:o||void 0}})}),Y=(e,t,E,r)=>Object.assign(Object.assign({},(r&&["link","text"].includes(r)?e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:{cursor:"not-allowed",color:e.colorTextDisabled}}):e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:Object.assign({},(e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}))(e))}))(e)),F(e.componentCls,t,E)),V=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-solid")]:Object.assign({color:t,background:E},Y(e,r,n))}),x=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-outlined, &").concat(e.componentCls,"-variant-dashed")]:Object.assign({borderColor:t,background:E},Y(e,r,n))}),W=e=>({["&".concat(e.componentCls,"-variant-dashed")]:{borderStyle:"dashed"}}),w=(e,t,E,r)=>({["&".concat(e.componentCls,"-variant-filled")]:Object.assign({boxShadow:"none",background:t},Y(e,E,r))}),X=(e,t,E,r,n)=>({["&".concat(e.componentCls,"-variant-").concat(E)]:Object.assign({color:t,boxShadow:"none"},Y(e,r,n,E))}),K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:E,controlHeight:r,fontSize:n,borderRadius:o,buttonPaddingHorizontal:i,iconCls:a,buttonPaddingVertical:T,buttonIconOnlyFontSize:s}=e;return[{[t]:{fontSize:n,height:r,padding:"".concat((0,P.zA)(T)," ").concat((0,P.zA)(i)),borderRadius:o,["&".concat(E,"-icon-only")]:{width:r,[a]:{fontSize:s}}}},{["".concat(E).concat(E,"-circle").concat(t)]:{minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}},{["".concat(E).concat(E,"-round").concat(t)]:{borderRadius:e.controlHeight,["&:not(".concat(E,"-icon-only)")]:{paddingInline:e.buttonPaddingHorizontal}}}]},k=(0,m.OF)("Button",e=>{let t=v(e);return[(e=>{let{componentCls:t,iconCls:E,fontWeight:r,opacityLoading:n,motionDurationSlow:o,motionEaseInOut:i,iconGap:a,calc:T}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:a,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:"".concat((0,P.zA)(e.lineWidth)," ").concat(e.lineType," transparent"),cursor:"pointer",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},["".concat(t,"-icon > svg")]:(0,p.Nk)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,p.K8)(e),["&".concat(t,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(t,"-two-chinese-chars > *:not(").concat(E,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},["&".concat(t,"-icon-only")]:{paddingInline:0,["&".concat(t,"-compact-item")]:{flex:"none"}},["&".concat(t,"-loading")]:{opacity:n,cursor:"default"},["".concat(t,"-loading-icon")]:{transition:["width","opacity","margin"].map(e=>"".concat(e," ").concat(o," ").concat(i)).join(",")},["&:not(".concat(t,"-icon-end)")]:{["".concat(t,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineEnd:T(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:T(a).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",["".concat(t,"-loading-icon-motion")]:{"&-appear-start, &-enter-start":{marginInlineStart:T(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:T(a).mul(-1).equal()}}}}}})(t),(e=>K((0,M.oX)(e,{fontSize:e.contentFontSize}),e.componentCls))(t),(e=>K((0,M.oX)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),"".concat(e.componentCls,"-sm")))(t),(e=>K((0,M.oX)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),"".concat(e.componentCls,"-lg")))(t),(e=>{let{componentCls:t}=e;return{[t]:{["&".concat(t,"-block")]:{width:"100%"}}}})(t),(e=>{let{componentCls:t}=e;return Object.assign({["".concat(t,"-color-default")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},V(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),W(e)),w(e,e.colorFillTertiary,{color:e.defaultColor,background:e.colorFillSecondary},{color:e.defaultColor,background:e.colorFill})),B(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),X(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})))(e),["".concat(t,"-color-primary")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},x(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),W(e)),w(e,e.colorPrimaryBg,{color:e.colorPrimary,background:e.colorPrimaryBgHover},{color:e.colorPrimary,background:e.colorPrimaryBorder})),X(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),X(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),B(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),["".concat(t,"-color-dangerous")]:(e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},V(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),x(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),W(e)),w(e,e.colorErrorBg,{color:e.colorError,background:e.colorErrorBgFilledHover},{color:e.colorError,background:e.colorErrorBgActive})),X(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),X(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),B(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})))(e),["".concat(t,"-color-link")]:(e=>Object.assign(Object.assign({},X(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),B(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})))(e)},(e=>{let{componentCls:t}=e;return h.s.reduce((E,r)=>{let n=e["".concat(r,"6")],o=e["".concat(r,"1")],i=e["".concat(r,"5")],a=e["".concat(r,"2")],T=e["".concat(r,"3")],s=e["".concat(r,"7")];return Object.assign(Object.assign({},E),{["&".concat(t,"-color-").concat(r)]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:n,boxShadow:e["".concat(r,"ShadowColor")]},V(e,e.colorTextLightSolid,n,{background:i},{background:s})),x(e,n,e.colorBgContainer,{color:i,borderColor:i,background:e.colorBgContainer},{color:s,borderColor:s,background:e.colorBgContainer})),W(e)),w(e,o,{color:n,background:a},{color:n,background:T})),X(e,n,"link",{color:i},{color:s})),X(e,n,"text",{color:i,background:o},{color:s,background:T}))})},{})})(e))})(t),(e=>Object.assign(Object.assign(Object.assign(Object.assign({},x(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),X(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),V(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),X(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})))(t),(e=>{let{componentCls:t,fontSize:E,lineWidth:r,groupBorderColor:n,colorErrorHover:o}=e;return{["".concat(t,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(t)]:{"&:not(:last-child)":{["&, & > ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),["&, & > ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(t,"-icon-only")]:{fontSize:E}},U("".concat(t,"-primary"),n),U("".concat(t,"-danger"),o)]}})(t)]},H,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var J=E(67831);let j=(0,m.bf)(["Button","compact"],e=>{let t=v(e);return[(0,J.G)(t),function(e){var t,E;let r="".concat(e.componentCls,"-compact-vertical");return{[r]:Object.assign(Object.assign({},(t=e.componentCls,{["&-item:not(".concat(r,"-last-item)")]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},["&-item:not(".concat(t,"-status-success)")]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}})),(E=e.componentCls,{["&-item:not(".concat(r,"-first-item):not(").concat(r,"-last-item)")]:{borderRadius:0},["&-item".concat(r,"-first-item:not(").concat(r,"-last-item)")]:{["&, &".concat(E,"-sm, &").concat(E,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(r,"-last-item:not(").concat(r,"-first-item)")]:{["&, &".concat(E,"-sm, &").concat(E,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t),(e=>{let{componentCls:t,colorPrimaryHover:E,lineWidth:r,calc:n}=e,o=n(r).mul(-1).equal(),i=e=>{let n="".concat(t,"-compact").concat(e?"-vertical":"","-item").concat(t,"-primary:not([disabled])");return{["".concat(n," + ").concat(n,"::before")]:{position:"absolute",top:e?o:0,insetInlineStart:e?0:o,backgroundColor:E,content:'""',width:e?"100%":r,height:e?r:"100%"}}};return Object.assign(Object.assign({},i()),i(!0))})(t)]},H);var $=function(e,t){var E={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(E[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(E[r[n]]=e[r[n]]);return E};let q={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},Q=r.forwardRef((e,t)=>{var E,n;let I,{loading:l=!1,prefixCls:u,color:C,variant:_,type:d,danger:f=!1,shape:P,size:p,styles:h,disabled:M,className:m,rootClassName:U,children:g,icon:y,iconPosition:G="start",ghost:b=!1,block:v=!1,htmlType:H="button",classNames:F,style:B={},autoInsertSpace:Y,autoFocus:V}=e,x=$(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),W=d||"default",{button:w}=r.useContext(A.QO),X=P||(null==w?void 0:w.shape)||"default",[K,J]=(0,r.useMemo)(()=>{if(C&&_)return[C,_];if(d||f){let e=q[W]||[];return f?["danger",e[1]]:e}return(null==w?void 0:w.color)&&(null==w?void 0:w.variant)?[w.color,w.variant]:["default","outlined"]},[C,_,d,f,null==w?void 0:w.color,null==w?void 0:w.variant,W]),Q="danger"===K?"dangerous":K,{getPrefixCls:z,direction:Z,autoInsertSpace:ee,className:et,style:eE,classNames:er,styles:en}=(0,A.TP)("button"),eo=null==(E=null!=Y?Y:ee)||E,ei=z("btn",u),[ea,eT,es]=k(ei),eA=(0,r.useContext)(R.A),eR=null!=M?M:eA,eS=(0,r.useContext)(c),eO=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return{loading:(t=Number.isNaN(t)||"number"!=typeof t?0:t)<=0,delay:t}}return{loading:!!e,delay:0}})(l),[l]),[eI,el]=(0,r.useState)(eO.loading),[ec,eN]=(0,r.useState)(!1),eu=(0,r.useRef)(null),eC=(0,T.xK)(t,eu),eL=1===r.Children.count(g)&&!y&&!(0,N.u1)(J),e_=(0,r.useRef)(!0);r.useEffect(()=>(e_.current=!1,()=>{e_.current=!0}),[]),(0,i.A)(()=>{let e=null;return eO.delay>0?e=setTimeout(()=>{e=null,el(!0)},eO.delay):el(eO.loading),function(){e&&(clearTimeout(e),e=null)}},[eO.delay,eO.loading]),(0,r.useEffect)(()=>{if(!eu.current||!eo)return;let e=eu.current.textContent||"";eL&&(0,N.Ap)(e)?ec||eN(!0):ec&&eN(!1)}),(0,r.useEffect)(()=>{V&&eu.current&&eu.current.focus()},[]);let ed=r.useCallback(t=>{var E;if(eI||eR)return void t.preventDefault();null==(E=e.onClick)||E.call(e,("href"in e,t))},[e.onClick,eI,eR]),{compactSize:ef,compactItemClassnames:eD}=(0,O.RQ)(ei,Z),eP=(0,S.A)(e=>{var t,E;return null!=(E=null!=(t=null!=p?p:ef)?t:eS)?E:e}),ep=eP&&null!=(n=({large:"lg",small:"sm",middle:void 0})[eP])?n:"",eh=eI?"loading":y,eM=(0,a.A)(x,["navigate"]),em=o()(ei,eT,es,{["".concat(ei,"-").concat(X)]:"default"!==X&&X,["".concat(ei,"-").concat(W)]:W,["".concat(ei,"-dangerous")]:f,["".concat(ei,"-color-").concat(Q)]:Q,["".concat(ei,"-variant-").concat(J)]:J,["".concat(ei,"-").concat(ep)]:ep,["".concat(ei,"-icon-only")]:!g&&0!==g&&!!eh,["".concat(ei,"-background-ghost")]:b&&!(0,N.u1)(J),["".concat(ei,"-loading")]:eI,["".concat(ei,"-two-chinese-chars")]:ec&&eo&&!eI,["".concat(ei,"-block")]:v,["".concat(ei,"-rtl")]:"rtl"===Z,["".concat(ei,"-icon-end")]:"end"===G},eD,m,U,et),eU=Object.assign(Object.assign({},eE),B),eg=o()(null==F?void 0:F.icon,er.icon),ey=Object.assign(Object.assign({},(null==h?void 0:h.icon)||{}),en.icon||{}),eG=e=>r.createElement(L,{prefixCls:ei,className:eg,style:ey},e);I=y&&!eI?eG(y):l&&"object"==typeof l&&l.icon?eG(l.icon):r.createElement(D,{existIcon:!!y,prefixCls:ei,loading:eI,mount:e_.current});let eb=g||0===g?(0,N.uR)(g,eL&&eo):null;if(void 0!==eM.href)return ea(r.createElement("a",Object.assign({},eM,{className:o()(em,{["".concat(ei,"-disabled")]:eR}),href:eR?void 0:eM.href,style:eU,onClick:ed,ref:eC,tabIndex:eR?-1:0,"aria-disabled":eR}),I,eb));let ev=r.createElement("button",Object.assign({},x,{type:H,className:em,style:eU,onClick:ed,disabled:eR,ref:eC}),I,eb,eD&&r.createElement(j,{prefixCls:ei}));return(0,N.u1)(J)||(ev=r.createElement(s.A,{component:"Button",disabled:eI},ev)),ea(ev)});Q.Group=e=>{let{getPrefixCls:t,direction:E}=r.useContext(A.QO),{prefixCls:n,size:i,className:a}=e,T=l(e,["prefixCls","size","className"]),s=t("btn-group",n),[,,R]=(0,I.Ay)(),S=r.useMemo(()=>{switch(i){case"large":return"lg";case"small":return"sm";default:return""}},[i]),O=o()(s,{["".concat(s,"-").concat(S)]:S,["".concat(s,"-rtl")]:"rtl"===E},a,R);return r.createElement(c.Provider,{value:i},r.createElement("div",Object.assign({},T,{className:O})))},Q.__ANT_BUTTON=!0;let z=Q},99823:(e,t,E)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}E.d(t,{A:()=>r})},99841:(e,t,E)=>{"use strict";E.d(t,{Mo:()=>eR,J:()=>C,an:()=>h,lO:()=>K,Ki:()=>H,zA:()=>b,RC:()=>eA,hV:()=>J,IV:()=>eT});var r,n=E(40419),o=E(21858),i=E(85757),a=E(27061);let T=function(e){for(var t,E=0,r=0,n=e.length;n>=4;++r,n-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,E=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&E)*0x5bd1e995+((E>>>16)*59797<<16);switch(n){case 3:E^=(255&e.charCodeAt(r+2))<<16;case 2:E^=(255&e.charCodeAt(r+1))<<8;case 1:E^=255&e.charCodeAt(r),E=(65535&E)*0x5bd1e995+((E>>>16)*59797<<16)}return E^=E>>>13,(((E=(65535&E)*0x5bd1e995+((E>>>16)*59797<<16))^E>>>15)>>>0).toString(36)};var s=E(85440),A=E(12115),R=E.t(A,2);E(22801),E(80227);var S=E(30857),O=E(28383);function I(e){return e.join("%")}var l=function(){function e(t){(0,S.A)(this,e),(0,n.A)(this,"instanceId",void 0),(0,n.A)(this,"cache",new Map),(0,n.A)(this,"extracted",new Set),this.instanceId=t}return(0,O.A)(e,[{key:"get",value:function(e){return this.opGet(I(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(I(e),t)}},{key:"opUpdate",value:function(e,t){var E=t(this.cache.get(e));null===E?this.cache.delete(e):this.cache.set(e,E)}}]),e}(),c="data-token-hash",N="data-css-hash",u="__cssinjs_instance__";let C=A.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(N,"]"))||[],E=document.head.firstChild;Array.from(t).forEach(function(t){t[u]=t[u]||e,t[u]===e&&document.head.insertBefore(t,E)});var r={};Array.from(document.querySelectorAll("style[".concat(N,"]"))).forEach(function(t){var E,n=t.getAttribute(N);r[n]?t[u]===e&&(null==(E=t.parentNode)||E.removeChild(t)):r[n]=!0})}return new l(e)}(),defaultCache:!0});var L=E(86608),_=E(71367),d=function(){function e(){(0,S.A)(this,e),(0,n.A)(this,"cache",void 0),(0,n.A)(this,"keys",void 0),(0,n.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,O.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,E,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={map:this.cache};return e.forEach(function(e){if(n){var t;n=null==(t=n)||null==(t=t.map)?void 0:t.get(e)}else n=void 0}),null!=(t=n)&&t.value&&r&&(n.value[1]=this.cacheCallTimes++),null==(E=n)?void 0:E.value}},{key:"get",value:function(e){var t;return null==(t=this.internalGet(e,!0))?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,E){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var n=this.keys.reduce(function(e,t){var E=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),D+=1}return(0,O.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,E){return E(e,t)},void 0)}}]),e}(),p=new d;function h(e){var t=Array.isArray(e)?e:[e];return p.has(t)||p.set(t,new P(t)),p.get(t)}var M=new WeakMap,m={},U=new WeakMap;function g(e){var t=U.get(e)||"";return t||(Object.keys(e).forEach(function(E){var r=e[E];t+=E,r instanceof P?t+=r.id:r&&"object"===(0,L.A)(r)?t+=g(r):t+=r}),t=T(t),U.set(e,t)),t}function y(e,t){return T("".concat(t,"_").concat(g(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var G=(0,_.A)();function b(e){return"number"==typeof e?"".concat(e,"px"):e}function v(e,t,E){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var i=(0,a.A)((0,a.A)({},r),{},(0,n.A)((0,n.A)({},c,t),N,E)),T=Object.keys(i).map(function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},F=function(e,t,E){var r,n={},i={};return Object.entries(e).forEach(function(e){var t=(0,o.A)(e,2),r=t[0],a=t[1];if(null!=E&&null!=(T=E.preserve)&&T[r])i[r]=a;else if(("string"==typeof a||"number"==typeof a)&&!(null!=E&&null!=(s=E.ignore)&&s[r])){var T,s,A,R=H(r,null==E?void 0:E.prefix);n[R]="number"!=typeof a||null!=E&&null!=(A=E.unitless)&&A[r]?String(a):"".concat(a,"px"),i[r]="var(".concat(R,")")}}),[i,(r={scope:null==E?void 0:E.scope},Object.keys(n).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(n).map(function(e){var t=(0,o.A)(e,2),E=t[0],r=t[1];return"".concat(E,":").concat(r,";")}).join(""),"}"):"")]},B=E(26791),Y=(0,a.A)({},R).useInsertionEffect,V=Y?function(e,t,E){return Y(function(){return e(),t()},E)}:function(e,t,E){A.useMemo(e,E),(0,B.A)(function(){return t(!0)},E)},x=void 0!==(0,a.A)({},R).useInsertionEffect?function(e){var t=[],E=!1;return A.useEffect(function(){return E=!1,function(){E=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){E||t.push(e)}}:function(){return function(e){e()}};function W(e,t,E,r,n){var a=A.useContext(C).cache,T=I([e].concat((0,i.A)(t))),s=x([T]),R=function(e){a.opUpdate(T,function(t){var r=(0,o.A)(t||[void 0,void 0],2),n=r[0],i=[void 0===n?0:n,r[1]||E()];return e?e(i):i})};A.useMemo(function(){R()},[T]);var S=a.opGet(T)[1];return V(function(){null==n||n(S)},function(e){return R(function(t){var E=(0,o.A)(t,2),r=E[0],i=E[1];return e&&0===r&&(null==n||n(S)),[r+1,i]}),function(){a.opUpdate(T,function(t){var E=(0,o.A)(t||[],2),n=E[0],i=void 0===n?0:n,A=E[1];return 0==i-1?(s(function(){(e||!a.opGet(T))&&(null==r||r(A,!1))}),null):[i-1,A]})}},[T]),S}var w={},X=new Map,K=function(e,t,E,r){var n=E.getDerivativeToken(e),o=(0,a.A)((0,a.A)({},n),t);return r&&(o=r(o)),o},k="token";function J(e,t){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,A.useContext)(C),n=r.cache.instanceId,R=r.container,S=E.salt,O=void 0===S?"":S,I=E.override,l=void 0===I?w:I,L=E.formatToken,_=E.getComputedToken,d=E.cssVar,f=function(e,t){for(var E=M,r=0;r0&&E.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(c,'="').concat(e,'"]')).forEach(function(e){if(e[u]===n){var t;null==(t=e.parentNode)||t.removeChild(e)}}),X.delete(e)})},function(e){var t=(0,o.A)(e,4),E=t[0],r=t[3];if(d&&r){var i=(0,s.BD)(r,T("css-variables-".concat(E._themeKey)),{mark:N,prepend:"queue",attachTo:R,priority:-999});i[u]=n,i.setAttribute(c,E._themeKey)}})}var j=E(79630);let $={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};var q=E(83855),Q=E(28296),z="data-ant-cssinjs-cache-path",Z="_FILE_STYLE__",ee=!0,et="_multi_value_";function eE(e){return(0,q.l)((0,Q.wE)(e),q.A).replace(/\{%%%\:[^;];}/g,";")}function er(e,t,E){if(!t)return e;var r=".".concat(t),n="low"===E?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,E=e.trim().split(/\s+/),r=E[0]||"",o=(null==(t=r.match(/^\w+/))?void 0:t[0])||"";return[r="".concat(o).concat(n).concat(r.slice(o.length))].concat((0,i.A)(E.slice(1))).join(" ")}).join(",")}var en=function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},n=r.root,T=r.injectHash,s=r.parentSelectors,A=E.hashId,R=E.layer,S=(E.path,E.hashPriority),O=E.transformers,I=void 0===O?[]:O,l=(E.linters,""),c={};function N(t){var r=t.getName(A);if(!c[r]){var n=e(t.style,E,{root:!1,parentSelectors:s}),i=(0,o.A)(n,1)[0];c[r]="@keyframes ".concat(t.getName(A)).concat(i)}}return(function e(t){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,E):t&&E.push(t)}),E})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||n?t:{};if("string"==typeof r)l+="".concat(r,"\n");else if(r._keyframe)N(r);else{var R=I.reduce(function(e,t){var E;return(null==t||null==(E=t.visit)?void 0:E.call(t,e))||e},r);Object.keys(R).forEach(function(t){var r=R[t];if("object"!==(0,L.A)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,L.A)(r)&&r&&("_skip_check_"in r||et in r)){function O(e,t){var E=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;$[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(N(t),r=t.getName(A)),l+="".concat(E,":").concat(r,";")}var I,u=null!=(I=null==r?void 0:r.value)?I:r;"object"===(0,L.A)(r)&&null!=r&&r[et]&&Array.isArray(u)?u.forEach(function(e){O(t,e)}):O(t,u)}else{var C=!1,_=t.trim(),d=!1;(n||T)&&A?_.startsWith("@")?C=!0:_="&"===_?er("",A,S):er(t,A,S):n&&!A&&("&"===_||""===_)&&(_="",d=!0);var f=e(r,E,{root:d,injectHash:C,parentSelectors:[].concat((0,i.A)(s),[_])}),D=(0,o.A)(f,2),P=D[0],p=D[1];c=(0,a.A)((0,a.A)({},c),p),l+="".concat(_).concat(P)}})}}),n?R&&(l&&(l="@layer ".concat(R.name," {").concat(l,"}")),R.dependencies&&(c["@layer ".concat(R.name)]=R.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(R.name,";")}).join("\n"))):l="{".concat(l,"}"),[l,c]};function eo(e,t){return T("".concat(e.join("%")).concat(t))}function ei(){return null}var ea="style";function eT(e,t){var E=e.token,T=e.path,R=e.hashId,S=e.layer,O=e.nonce,I=e.clientOnly,l=e.order,L=void 0===l?0:l,d=A.useContext(C),f=d.autoClear,D=(d.mock,d.defaultCache),P=d.hashPriority,p=d.container,h=d.ssrInline,M=d.transformers,m=d.linters,U=d.cache,g=d.layer,y=E._tokenKey,b=[y];g&&b.push("layer"),b.push.apply(b,(0,i.A)(T));var v=W(ea,b,function(){var e=b.join("|");if(function(e){if(!r&&(r={},(0,_.A)())){var t,E=document.createElement("div");E.className=z,E.style.position="fixed",E.style.visibility="hidden",E.style.top="-9999px",document.body.appendChild(E);var n=getComputedStyle(E).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),E=(0,o.A)(t,2),n=E[0],i=E[1];r[n]=i});var i=document.querySelector("style[".concat(z,"]"));i&&(ee=!1,null==(t=i.parentNode)||t.removeChild(i)),document.body.removeChild(E)}return!!r[e]}(e)){var E=function(e){var t=r[e],E=null;if(t&&(0,_.A)())if(ee)E=Z;else{var n=document.querySelector("style[".concat(N,'="').concat(r[e],'"]'));n?E=n.innerHTML:delete r[e]}return[E,t]}(e),n=(0,o.A)(E,2),i=n[0],a=n[1];if(i)return[i,y,a,{},I,L]}var s=en(t(),{hashId:R,hashPriority:P,layer:g?S:void 0,path:T.join("-"),transformers:M,linters:m}),A=(0,o.A)(s,2),O=A[0],l=A[1],c=eE(O),u=eo(b,c);return[c,y,u,l,I,L]},function(e,t){var E=(0,o.A)(e,3)[2];(t||f)&&G&&(0,s.m6)(E,{mark:N,attachTo:p})},function(e){var t=(0,o.A)(e,4),E=t[0],r=(t[1],t[2]),n=t[3];if(G&&E!==Z){var i={mark:N,prepend:!g&&"queue",attachTo:p,priority:L},T="function"==typeof O?O():O;T&&(i.csp={nonce:T});var A=[],R=[];Object.keys(n).forEach(function(e){e.startsWith("@layer")?A.push(e):R.push(e)}),A.forEach(function(e){(0,s.BD)(eE(n[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},i),{},{prepend:!0}))});var S=(0,s.BD)(E,r,i);S[u]=U.instanceId,S.setAttribute(c,y),R.forEach(function(e){(0,s.BD)(eE(n[e]),"_effect-".concat(e),i)})}}),H=(0,o.A)(v,3),F=H[0],B=H[1],Y=H[2];return function(e){var t;return t=h&&!G&&D?A.createElement("style",(0,j.A)({},(0,n.A)((0,n.A)({},c,B),N,Y),{dangerouslySetInnerHTML:{__html:F}})):A.createElement(ei,null),A.createElement(A.Fragment,null,t,e)}}var es="cssVar";let eA=function(e,t){var E=e.key,r=e.prefix,n=e.unitless,a=e.ignore,T=e.token,R=e.scope,S=void 0===R?"":R,O=(0,A.useContext)(C),I=O.cache.instanceId,l=O.container,L=T._tokenKey,_=[].concat((0,i.A)(e.path),[E,S,L]);return W(es,_,function(){var e=F(t(),E,{prefix:r,unitless:n,ignore:a,scope:S}),i=(0,o.A)(e,2),T=i[0],s=i[1],A=eo(_,s);return[T,s,A,E]},function(e){var t=(0,o.A)(e,3)[2];G&&(0,s.m6)(t,{mark:N,attachTo:l})},function(e){var t=(0,o.A)(e,3),r=t[1],n=t[2];if(r){var i=(0,s.BD)(r,n,{mark:N,prepend:"queue",attachTo:l,priority:-999});i[u]=I,i.setAttribute(c,E)}})};(0,n.A)((0,n.A)((0,n.A)({},ea,function(e,t,E){var r=(0,o.A)(e,6),n=r[0],i=r[1],a=r[2],T=r[3],s=r[4],A=r[5],R=(E||{}).plain;if(s)return null;var S=n,O={"data-rc-order":"prependQueue","data-rc-priority":"".concat(A)};return S=v(n,i,a,O,R),T&&Object.keys(T).forEach(function(e){if(!t[e]){t[e]=!0;var E=v(eE(T[e]),i,"_effect-".concat(e),O,R);e.startsWith("@layer")?S=E+S:S+=E}}),[A,a,S]}),k,function(e,t,E){var r=(0,o.A)(e,5),n=r[2],i=r[3],a=r[4],T=(E||{}).plain;if(!i)return null;var s=n._tokenKey,A=v(i,a,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},T);return[-999,s,A]}),es,function(e,t,E){var r=(0,o.A)(e,4),n=r[1],i=r[2],a=r[3],T=(E||{}).plain;if(!n)return null;var s=v(n,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},T);return[-999,i,s]});let eR=function(){function e(t,E){(0,S.A)(this,e),(0,n.A)(this,"name",void 0),(0,n.A)(this,"style",void 0),(0,n.A)(this,"_keyframe",!0),this.name=t,this.style=E}return(0,O.A)(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 eS(e){return e.notSplit=!0,e}eS(["borderTop","borderBottom"]),eS(["borderTop"]),eS(["borderBottom"]),eS(["borderLeft","borderRight"]),eS(["borderLeft"]),eS(["borderRight"])}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-79e2746f6831402b.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-3c17d84a1fa8df42.js similarity index 99% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-79e2746f6831402b.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-3c17d84a1fa8df42.js index 7c5217ae..ed2789cc 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-79e2746f6831402b.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9776-3c17d84a1fa8df42.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9776],{25702:(e,t,n)=>{n.d(t,{A:()=>F});var a=n(85757),o=n(12115),r=n(29300),c=n.n(r),l=n(85382),i=n(39496),s=n(15982),d=n(29353),m=n(9836),u=n(90510),p=n(51854),h=n(7744),f=n(16467);let g=o.createContext({});g.Consumer;var v=n(80163),b=n(62623),k=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let E=o.forwardRef((e,t)=>{let{prefixCls:n,children:a,actions:r,extra:l,styles:i,className:d,classNames:m,colStyle:u}=e,p=k(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:h,itemLayout:f}=(0,o.useContext)(g),{getPrefixCls:E,list:y}=(0,o.useContext)(s.QO),x=e=>{var t,n;return c()(null==(n=null==(t=null==y?void 0:y.item)?void 0:t.classNames)?void 0:n[e],null==m?void 0:m[e])},C=e=>{var t,n;return Object.assign(Object.assign({},null==(n=null==(t=null==y?void 0:y.item)?void 0:t.styles)?void 0:n[e]),null==i?void 0:i[e])},A=E("list",n),O=r&&r.length>0&&o.createElement("ul",{className:c()("".concat(A,"-item-action"),x("actions")),key:"actions",style:C("actions")},r.map((e,t)=>o.createElement("li",{key:"".concat(A,"-item-action-").concat(t)},e,t!==r.length-1&&o.createElement("em",{className:"".concat(A,"-item-action-split")})))),M=o.createElement(h?"div":"li",Object.assign({},p,h?{}:{ref:t},{className:c()("".concat(A,"-item"),{["".concat(A,"-item-no-flex")]:!("vertical"===f?!!l:!(()=>{let e=!1;return o.Children.forEach(a,t=>{"string"==typeof t&&(e=!0)}),e&&o.Children.count(a)>1})())},d)}),"vertical"===f&&l?[o.createElement("div",{className:"".concat(A,"-item-main"),key:"content"},a,O),o.createElement("div",{className:c()("".concat(A,"-item-extra"),x("extra")),key:"extra",style:C("extra")},l)]:[a,O,(0,v.Ob)(l,{key:"extra"})]);return h?o.createElement(b.A,{ref:t,flex:1,style:u},M):M});E.Meta=e=>{var{prefixCls:t,className:n,avatar:a,title:r,description:l}=e,i=k(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:d}=(0,o.useContext)(s.QO),m=d("list",t),u=c()("".concat(m,"-item-meta"),n),p=o.createElement("div",{className:"".concat(m,"-item-meta-content")},r&&o.createElement("h4",{className:"".concat(m,"-item-meta-title")},r),l&&o.createElement("div",{className:"".concat(m,"-item-meta-description")},l));return o.createElement("div",Object.assign({},i,{className:u}),a&&o.createElement("div",{className:"".concat(m,"-item-meta-avatar")},a),(r||l)&&p)};var y=n(99841),x=n(18184),C=n(45431),A=n(61388);let O=(0,C.OF)("List",e=>{let t=(0,A.oX)(e,{listBorderedCls:"".concat(e.componentCls,"-bordered"),minHeight:e.controlHeightLG});return[(e=>{let{componentCls:t,antCls:n,controlHeight:a,minHeight:o,paddingSM:r,marginLG:c,padding:l,itemPadding:i,colorPrimary:s,itemPaddingSM:d,itemPaddingLG:m,paddingXS:u,margin:p,colorText:h,colorTextDescription:f,motionDurationSlow:g,lineWidth:v,headerBg:b,footerBg:k,emptyTextPadding:E,metaMarginBottom:C,avatarMarginRight:A,titleMarginBottom:O,descriptionFontSize:M}=e;return{[t]:Object.assign(Object.assign({},(0,x.dF)(e)),{position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:"none"},["".concat(t,"-header")]:{background:b},["".concat(t,"-footer")]:{background:k},["".concat(t,"-header, ").concat(t,"-footer")]:{paddingBlock:r},["".concat(t,"-pagination")]:{marginBlockStart:c,["".concat(n,"-pagination-options")]:{textAlign:"start"}},["".concat(t,"-spin")]:{minHeight:o,textAlign:"center"},["".concat(t,"-items")]:{margin:0,padding:0,listStyle:"none"},["".concat(t,"-item")]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:i,color:h,["".concat(t,"-item-meta")]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",["".concat(t,"-item-meta-avatar")]:{marginInlineEnd:A},["".concat(t,"-item-meta-content")]:{flex:"1 0",width:0,color:h},["".concat(t,"-item-meta-title")]:{margin:"0 0 ".concat((0,y.zA)(e.marginXXS)," 0"),color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:h,transition:"all ".concat(g),"&:hover":{color:s}}},["".concat(t,"-item-meta-description")]:{color:f,fontSize:M,lineHeight:e.lineHeight}},["".concat(t,"-item-action")]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:"0 ".concat((0,y.zA)(u)),color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},["".concat(t,"-item-action-split")]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},["".concat(t,"-empty")]:{padding:"".concat((0,y.zA)(l)," 0"),color:f,fontSize:e.fontSizeSM,textAlign:"center"},["".concat(t,"-empty-text")]:{padding:E,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},["".concat(t,"-item-no-flex")]:{display:"block"}}),["".concat(t,"-grid ").concat(n,"-col > ").concat(t,"-item")]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},["".concat(t,"-vertical ").concat(t,"-item")]:{alignItems:"initial",["".concat(t,"-item-main")]:{display:"block",flex:1},["".concat(t,"-item-extra")]:{marginInlineStart:c},["".concat(t,"-item-meta")]:{marginBlockEnd:C,["".concat(t,"-item-meta-title")]:{marginBlockStart:0,marginBlockEnd:O,color:h,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},["".concat(t,"-item-action")]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:"0 ".concat((0,y.zA)(l)),"&:first-child":{paddingInlineStart:0}}}},["".concat(t,"-split ").concat(t,"-item")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderBlockEnd:"none"}},["".concat(t,"-split ").concat(t,"-header")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-split").concat(t,"-empty ").concat(t,"-footer")]:{borderTop:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-loading ").concat(t,"-spin-nested-loading")]:{minHeight:a},["".concat(t,"-split").concat(t,"-something-after-last-item ").concat(n,"-spin-container > ").concat(t,"-items > ").concat(t,"-item:last-child")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-lg ").concat(t,"-item")]:{padding:m},["".concat(t,"-sm ").concat(t,"-item")]:{padding:d},["".concat(t,":not(").concat(t,"-vertical)")]:{["".concat(t,"-item-no-flex")]:{["".concat(t,"-item-action")]:{float:"right"}}}}})(t),(e=>{let{listBorderedCls:t,componentCls:n,paddingLG:a,margin:o,itemPaddingSM:r,itemPaddingLG:c,marginLG:l,borderRadiusLG:i}=e,s=(0,y.zA)(e.calc(i).sub(e.lineWidth).equal());return{[t]:{border:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:i,["".concat(n,"-header")]:{borderRadius:"".concat(s," ").concat(s," 0 0")},["".concat(n,"-footer")]:{borderRadius:"0 0 ".concat(s," ").concat(s)},["".concat(n,"-header,").concat(n,"-footer,").concat(n,"-item")]:{paddingInline:a},["".concat(n,"-pagination")]:{margin:"".concat((0,y.zA)(o)," ").concat((0,y.zA)(l))}},["".concat(t).concat(n,"-sm")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:r}},["".concat(t).concat(n,"-lg")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:c}}}})(t),(e=>{let{componentCls:t,screenSM:n,screenMD:a,marginLG:o,marginSM:r,margin:c}=e;return{["@media screen and (max-width:".concat(a,"px)")]:{[t]:{["".concat(t,"-item")]:{["".concat(t,"-item-action")]:{marginInlineStart:o}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{["".concat(t,"-item-extra")]:{marginInlineStart:o}}}},["@media screen and (max-width: ".concat(n,"px)")]:{[t]:{["".concat(t,"-item")]:{flexWrap:"wrap",["".concat(t,"-action")]:{marginInlineStart:r}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{flexWrap:"wrap-reverse",["".concat(t,"-item-main")]:{minWidth:e.contentWidth},["".concat(t,"-item-extra")]:{margin:"auto auto ".concat((0,y.zA)(c))}}}}}})(t)]},e=>({contentWidth:220,itemPadding:"".concat((0,y.zA)(e.paddingContentVertical)," 0"),itemPaddingSM:"".concat((0,y.zA)(e.paddingContentVerticalSM)," ").concat((0,y.zA)(e.paddingContentHorizontal)),itemPaddingLG:"".concat((0,y.zA)(e.paddingContentVerticalLG)," ").concat((0,y.zA)(e.paddingContentHorizontalLG)),headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}));var M=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let S=o.forwardRef(function(e,t){let{pagination:n=!1,prefixCls:r,bordered:v=!1,split:b=!0,className:k,rootClassName:E,style:y,children:x,itemLayout:C,loadMore:A,grid:S,dataSource:F=[],size:w,header:j,footer:z,loading:B=!1,rowKey:L,renderItem:N,locale:D}=e,W=M(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),I=n&&"object"==typeof n?n:{},[P,H]=o.useState(I.defaultCurrent||1),[R,T]=o.useState(I.defaultPageSize||10),{getPrefixCls:X,direction:_,className:V,style:K}=(0,s.TP)("list"),{renderEmpty:G}=o.useContext(s.QO),Y=e=>(t,a)=>{var o;H(t),T(a),n&&(null==(o=null==n?void 0:n[e])||o.call(n,t,a))},q=Y("onChange"),Q=Y("onShowSizeChange"),U=!!(A||n||z),$=X("list",r),[Z,J,ee]=O($),et=B;"boolean"==typeof et&&(et={spinning:et});let en=!!(null==et?void 0:et.spinning),ea=(0,m.A)(w),eo="";switch(ea){case"large":eo="lg";break;case"small":eo="sm"}let er=c()($,{["".concat($,"-vertical")]:"vertical"===C,["".concat($,"-").concat(eo)]:eo,["".concat($,"-split")]:b,["".concat($,"-bordered")]:v,["".concat($,"-loading")]:en,["".concat($,"-grid")]:!!S,["".concat($,"-something-after-last-item")]:U,["".concat($,"-rtl")]:"rtl"===_},V,k,E,J,ee),ec=(0,l.A)({current:1,total:0,position:"bottom"},{total:F.length,current:P,pageSize:R},n||{}),el=Math.ceil(ec.total/ec.pageSize);ec.current=Math.min(ec.current,el);let ei=n&&o.createElement("div",{className:c()("".concat($,"-pagination"))},o.createElement(h.A,Object.assign({align:"end"},ec,{onChange:q,onShowSizeChange:Q}))),es=(0,a.A)(F);n&&F.length>(ec.current-1)*ec.pageSize&&(es=(0,a.A)(F).splice((ec.current-1)*ec.pageSize,ec.pageSize));let ed=Object.keys(S||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),em=(0,p.A)(ed),eu=o.useMemo(()=>{for(let e=0;e{if(!S)return;let e=eu&&S[eu]?S[eu]:S.column;if(e)return{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}},[JSON.stringify(S),eu]),eh=en&&o.createElement("div",{style:{minHeight:53}});if(es.length>0){let e=es.map((e,t)=>{let n;return N?((n="function"==typeof L?L(e):L?e[L]:e.key)||(n="list-item-".concat(t)),o.createElement(o.Fragment,{key:n},N(e,t))):null});eh=S?o.createElement(u.A,{gutter:S.gutter},o.Children.map(e,e=>o.createElement("div",{key:null==e?void 0:e.key,style:ep},e))):o.createElement("ul",{className:"".concat($,"-items")},e)}else x||en||(eh=o.createElement("div",{className:"".concat($,"-empty-text")},(null==D?void 0:D.emptyText)||(null==G?void 0:G("List"))||o.createElement(d.A,{componentName:"List"})));let ef=ec.position,eg=o.useMemo(()=>({grid:S,itemLayout:C}),[JSON.stringify(S),C]);return Z(o.createElement(g.Provider,{value:eg},o.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},K),y),className:er},W),("top"===ef||"both"===ef)&&ei,j&&o.createElement("div",{className:"".concat($,"-header")},j),o.createElement(f.A,Object.assign({},et),eh,x),z&&o.createElement("div",{className:"".concat($,"-footer")},z),A||("bottom"===ef||"both"===ef)&&ei)))});S.Item=E;let F=S},34140:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},37974:(e,t,n)=>{n.d(t,{A:()=>F});var a=n(12115),o=n(29300),r=n.n(o),c=n(17980),l=n(77696),i=n(50497),s=n(80163),d=n(47195),m=n(15982),u=n(99841),p=n(60872),h=n(18184),f=n(61388),g=n(45431);let v=e=>{let{lineWidth:t,fontSizeIcon:n,calc:a}=e,o=e.fontSizeSM;return(0,f.oX)(e,{tagFontSize:o,tagLineHeight:(0,u.zA)(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(n).sub(a(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},b=e=>({defaultBg:new p.Y(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),k=(0,g.OF)("Tag",e=>(e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:a,componentCls:o,calc:r}=e,c=r(a).sub(n).equal(),l=r(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,h.dF)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:"".concat((0,u.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,opacity:1,transition:"all ".concat(e.motionDurationMid),textAlign:"start",position:"relative",["&".concat(o,"-rtl")]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},["".concat(o,"-close-icon")]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),"&:hover":{color:e.colorTextHeading}},["&".concat(o,"-has-color")]:{borderColor:"transparent",["&, a, a:hover, ".concat(e.iconCls,"-close, ").concat(e.iconCls,"-close:hover")]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",["&:not(".concat(o,"-checkable-checked):hover")]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},["> ".concat(e.iconCls," + span, > span + ").concat(e.iconCls)]:{marginInlineStart:c}}),["".concat(o,"-borderless")]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(v(e)),b);var E=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let y=a.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:c,checked:l,children:i,icon:s,onChange:d,onClick:u}=e,p=E(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:h,tag:f}=a.useContext(m.QO),g=h("tag",n),[v,b,y]=k(g),x=r()(g,"".concat(g,"-checkable"),{["".concat(g,"-checkable-checked")]:l},null==f?void 0:f.className,c,b,y);return v(a.createElement("span",Object.assign({},p,{ref:t,style:Object.assign(Object.assign({},o),null==f?void 0:f.style),className:x,onClick:e=>{null==d||d(!l),null==u||u(e)}}),s,a.createElement("span",null,i)))});var x=n(18741);let C=(0,g.bf)(["Tag","preset"],e=>(e=>(0,x.A)(e,(t,n)=>{let{textColor:a,lightBorderColor:o,lightColor:r,darkColor:c}=n;return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:a,background:r,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}}))(v(e)),b),A=(e,t,n)=>{let a=function(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}(n);return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:e["color".concat(n)],background:e["color".concat(a,"Bg")],borderColor:e["color".concat(a,"Border")],["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}},O=(0,g.bf)(["Tag","status"],e=>{let t=v(e);return[A(t,"success","Success"),A(t,"processing","Info"),A(t,"error","Error"),A(t,"warning","Warning")]},b);var M=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let S=a.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:u,style:p,children:h,icon:f,color:g,onClose:v,bordered:b=!0,visible:E}=e,y=M(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:A,tag:S}=a.useContext(m.QO),[F,w]=a.useState(!0),j=(0,c.A)(y,["closeIcon","closable"]);a.useEffect(()=>{void 0!==E&&w(E)},[E]);let z=(0,l.nP)(g),B=(0,l.ZZ)(g),L=z||B,N=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==S?void 0:S.style),p),D=x("tag",n),[W,I,P]=k(D),H=r()(D,null==S?void 0:S.className,{["".concat(D,"-").concat(g)]:L,["".concat(D,"-has-color")]:g&&!L,["".concat(D,"-hidden")]:!F,["".concat(D,"-rtl")]:"rtl"===A,["".concat(D,"-borderless")]:!b},o,u,I,P),R=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||w(!1)},[,T]=(0,i.$)((0,i.d)(e),(0,i.d)(S),{closable:!1,closeIconRender:e=>{let t=a.createElement("span",{className:"".concat(D,"-close-icon"),onClick:R},e);return(0,s.fx)(e,t,e=>({onClick:t=>{var n;null==(n=null==e?void 0:e.onClick)||n.call(e,t),R(t)},className:r()(null==e?void 0:e.className,"".concat(D,"-close-icon"))}))}}),X="function"==typeof y.onClick||h&&"a"===h.type,_=f||null,V=_?a.createElement(a.Fragment,null,_,h&&a.createElement("span",null,h)):h,K=a.createElement("span",Object.assign({},j,{ref:t,className:H,style:N}),V,T,z&&a.createElement(C,{key:"preset",prefixCls:D}),B&&a.createElement(O,{key:"status",prefixCls:D}));return W(X?a.createElement(d.A,{component:"Tag"},K):K)});S.CheckableTag=y;let F=S},49410:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},52059:(e,t,n)=>{n.d(t,{Ay:()=>A});var a=n(12115),o=n(84630),r=n(51754),c=n(63583),l=n(79630);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};var s=n(35030),d=a.forwardRef(function(e,t){return a.createElement(s.A,(0,l.A)({},e,{ref:t,icon:i}))}),m=n(29300),u=n.n(m),p=n(15982),h=n(99841),f=n(45431),g=n(61388);let v=(0,f.OF)("Result",e=>{let t=e.colorInfo,n=e.colorError,a=e.colorSuccess,o=e.colorWarning;return[(e=>[(e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:a,padding:o,paddingXL:r,paddingXS:c,paddingLG:l,marginXS:i,lineHeight:s}=e;return{[t]:{padding:"".concat((0,h.zA)(e.calc(l).mul(2).equal())," ").concat((0,h.zA)(r)),"&-rtl":{direction:"rtl"}},["".concat(t," ").concat(t,"-image")]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},["".concat(t," ").concat(t,"-icon")]:{marginBottom:l,textAlign:"center",["& > ".concat(a)]:{fontSize:e.iconFontSize}},["".concat(t," ").concat(t,"-title")]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:i,textAlign:"center"},["".concat(t," ").concat(t,"-subtitle")]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:s,textAlign:"center"},["".concat(t," ").concat(t,"-content")]:{marginTop:l,padding:"".concat((0,h.zA)(l)," ").concat((0,h.zA)(e.calc(o).mul(2.5).equal())),backgroundColor:e.colorFillAlter},["".concat(t," ").concat(t,"-extra")]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:c,"&:last-child":{marginInlineEnd:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n}=e;return{["".concat(t,"-success ").concat(t,"-icon > ").concat(n)]:{color:e.resultSuccessIconColor},["".concat(t,"-error ").concat(t,"-icon > ").concat(n)]:{color:e.resultErrorIconColor},["".concat(t,"-info ").concat(t,"-icon > ").concat(n)]:{color:e.resultInfoIconColor},["".concat(t,"-warning ").concat(t,"-icon > ").concat(n)]:{color:e.resultWarningIconColor}}})(e)])((0,g.oX)(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:a,resultWarningIconColor:o,imageWidth:250,imageHeight:295}))]},e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:"".concat(e.paddingLG,"px 0 0 0")})),b={success:o.A,error:r.A,info:c.A,warning:d},k={404:()=>a.createElement("svg",{width:"252",height:"294"},a.createElement("title",null,"No Found"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),a.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),a.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),a.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),a.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),a.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),a.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),a.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),a.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),a.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),a.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),a.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),a.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),a.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),a.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),a.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>a.createElement("svg",{width:"254",height:"294"},a.createElement("title",null,"Server Error"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),a.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),a.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),a.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),a.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),a.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),a.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),a.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),a.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),a.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),a.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),a.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),a.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),a.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),a.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),a.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),a.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),a.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),a.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),a.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),a.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),a.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),a.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),a.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),a.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),a.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),a.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),a.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>a.createElement("svg",{width:"251",height:"294"},a.createElement("title",null,"Unauthorized"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),a.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),a.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),a.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),a.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),a.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),a.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),a.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),a.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),a.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),a.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),a.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),a.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),a.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),a.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),a.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),a.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),a.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),a.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),a.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),a.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),a.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),a.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),a.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),a.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),a.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},E=Object.keys(k),y=e=>{let{prefixCls:t,icon:n,status:o}=e,r=u()("".concat(t,"-icon"));if(E.includes("".concat(o))){let e=k[o];return a.createElement("div",{className:"".concat(r," ").concat(t,"-image")},a.createElement(e,null))}let c=a.createElement(b[o]);return null===n||!1===n?null:a.createElement("div",{className:r},n||c)},x=e=>{let{prefixCls:t,extra:n}=e;return n?a.createElement("div",{className:"".concat(t,"-extra")},n):null},C=e=>{let{prefixCls:t,className:n,rootClassName:o,subTitle:r,title:c,style:l,children:i,status:s="info",icon:d,extra:m}=e,{getPrefixCls:h,direction:f,result:g}=a.useContext(p.QO),b=h("result",t),[k,E,C]=v(b),A=u()(b,"".concat(b,"-").concat(s),n,null==g?void 0:g.className,o,{["".concat(b,"-rtl")]:"rtl"===f},E,C),O=Object.assign(Object.assign({},null==g?void 0:g.style),l);return k(a.createElement("div",{className:A,style:O},a.createElement(y,{prefixCls:b,status:s,icon:d}),a.createElement("div",{className:"".concat(b,"-title")},c),r&&a.createElement("div",{className:"".concat(b,"-subtitle")},r),a.createElement(x,{prefixCls:b,extra:m}),i&&a.createElement("div",{className:"".concat(b,"-content")},i)))};C.PRESENTED_IMAGE_403=k["403"],C.PRESENTED_IMAGE_404=k["404"],C.PRESENTED_IMAGE_500=k["500"];let A=C},59474:(e,t,n)=>{n.d(t,{A:()=>U});var a=n(12115),o=n(60872),r=n(84630),c=n(93084),l=n(51754),i=n(48776),s=n(29300),d=n.n(s),m=n(17980),u=n(15982),p=n(79630),h=n(27061),f=n(20235),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},v=function(){var e=(0,a.useRef)([]),t=(0,a.useRef)(null);return(0,a.useEffect)(function(){var n=Date.now(),a=!1;e.current.forEach(function(e){if(e){a=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(t.current=Date.now())}),e.current},b=n(86608),k=n(21858),E=n(71367),y=0,x=(0,E.A)();let C=function(e){var t=a.useState(),n=(0,k.A)(t,2),o=n[0],r=n[1];return a.useEffect(function(){var e;r("rc_progress_".concat((x?(e=y,y+=1):e="TEST_OR_SSR",e)))},[]),e||o};var A=function(e){var t=e.bg,n=e.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function O(e,t){return Object.keys(e).map(function(n){var a=parseFloat(n),o="".concat(Math.floor(a*t),"%");return"".concat(e[n]," ").concat(o)})}var M=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.color,r=e.gradientId,c=e.radius,l=e.style,i=e.ptg,s=e.strokeLinecap,d=e.strokeWidth,m=e.size,u=e.gapDegree,p=o&&"object"===(0,b.A)(o),h=m/2,f=a.createElement("circle",{className:"".concat(n,"-circle-path"),r:c,cx:h,cy:h,stroke:p?"#FFF":void 0,strokeLinecap:s,strokeWidth:d,opacity:+(0!==i),style:l,ref:t});if(!p)return f;var g="".concat(r,"-conic"),v=O(o,(360-u)/360),k=O(o,1),E="conic-gradient(from ".concat(u?"".concat(180+u/2,"deg"):"0deg",", ").concat(v.join(", "),")"),y="linear-gradient(to ".concat(u?"bottom":"top",", ").concat(k.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:g},f),a.createElement("foreignObject",{x:0,y:0,width:m,height:m,mask:"url(#".concat(g,")")},a.createElement(A,{bg:y},a.createElement(A,{bg:E}))))}),S=function(e,t,n,a,o,r,c,l,i,s){var d=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,m=(100-a)/100*t;return"round"===i&&100!==a&&(m+=s/2)>=t&&(m=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:m+d,transform:"rotate(".concat(o+n/100*360*((360-r)/360)+(0===r?0:({bottom:0,top:180,left:90,right:-90})[c]),"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}},F=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function w(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}let j=function(e){var t,n,o,r,c=(0,h.A)((0,h.A)({},g),e),l=c.id,i=c.prefixCls,s=c.steps,m=c.strokeWidth,u=c.trailWidth,k=c.gapDegree,E=void 0===k?0:k,y=c.gapPosition,x=c.trailColor,A=c.strokeLinecap,O=c.style,j=c.className,z=c.strokeColor,B=c.percent,L=(0,f.A)(c,F),N=C(l),D="".concat(N,"-gradient"),W=50-m/2,I=2*Math.PI*W,P=E>0?90+E/2:-90,H=(360-E)/360*I,R="object"===(0,b.A)(s)?s:{count:s,gap:2},T=R.count,X=R.gap,_=w(B),V=w(z),K=V.find(function(e){return e&&"object"===(0,b.A)(e)}),G=K&&"object"===(0,b.A)(K)?"butt":A,Y=S(I,H,0,100,P,E,y,x,G,m),q=v();return a.createElement("svg",(0,p.A)({className:d()("".concat(i,"-circle"),j),viewBox:"0 0 ".concat(100," ").concat(100),style:O,id:l,role:"presentation"},L),!T&&a.createElement("circle",{className:"".concat(i,"-circle-trail"),r:W,cx:50,cy:50,stroke:x,strokeLinecap:G,strokeWidth:u||m,style:Y}),T?(t=Math.round(T*(_[0]/100)),n=100/T,o=0,Array(T).fill(null).map(function(e,r){var c=r<=t-1?V[0]:x,l=c&&"object"===(0,b.A)(c)?"url(#".concat(D,")"):void 0,s=S(I,H,o,n,P,E,y,c,"butt",m,X);return o+=(H-s.strokeDashoffset+X)*100/H,a.createElement("circle",{key:r,className:"".concat(i,"-circle-path"),r:W,cx:50,cy:50,stroke:l,strokeWidth:m,opacity:1,style:s,ref:function(e){q[r]=e}})})):(r=0,_.map(function(e,t){var n=V[t]||V[V.length-1],o=S(I,H,r,e,P,E,y,n,G,m);return r+=e,a.createElement(M,{key:t,color:n,ptg:e,radius:W,prefixCls:i,gradientId:D,style:o,strokeLinecap:G,strokeWidth:m,gapDegree:E,ref:function(e){q[t]=e},size:100})}).reverse()))};var z=n(97540),B=n(68057);function L(e){return!e||e<0?0:e>100?100:e}function N(e){let{success:t,successPercent:n}=e,a=n;return t&&"progress"in t&&(a=t.progress),t&&"percent"in t&&(a=t.percent),a}let D=(e,t,n)=>{var a,o,r,c;let l=-1,i=-1;if("step"===t){let t=n.steps,a=n.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,i=null!=a?a:8):"number"==typeof e?[l,i]=[e,e]:[l=14,i=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){let t=null==n?void 0:n.strokeWidth;"string"==typeof e||void 0===e?i=t||("small"===e?6:8):"number"==typeof e?[l,i]=[e,e]:[l=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,i]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,i]=[e,e]:Array.isArray(e)&&(l=null!=(o=null!=(a=e[0])?a:e[1])?o:120,i=null!=(c=null!=(r=e[0])?r:e[1])?c:120));return[l,i]},W=e=>{let{prefixCls:t,trailColor:n=null,strokeLinecap:o="round",gapPosition:r,gapDegree:c,width:l=120,type:i,children:s,success:m,size:u=l,steps:p}=e,[h,f]=D(u,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(3/h*100,6));let v=a.useMemo(()=>c||0===c?c:"dashboard"===i?75:void 0,[c,i]),b=(e=>{let{percent:t,success:n,successPercent:a}=e,o=L(N({success:n,successPercent:a}));return[o,L(L(t)-o)]})(e),k="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=(e=>{let{success:t={},strokeColor:n}=e,{strokeColor:a}=t;return[a||B.uy.green,n||null]})({success:m,strokeColor:e.strokeColor}),y=d()("".concat(t,"-inner"),{["".concat(t,"-circle-gradient")]:k}),x=a.createElement(j,{steps:p,percent:p?b[1]:b,strokeWidth:g,trailWidth:g,strokeColor:p?E[1]:E,strokeLinecap:o,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:r||"dashboard"===i&&"bottom"||void 0}),C=h<=20,A=a.createElement("div",{className:y,style:{width:h,height:f,fontSize:.15*h+6}},x,!C&&s);return C?a.createElement(z.A,{title:s},A):A};var I=n(99841),P=n(18184),H=n(45431),R=n(61388);let T="--progress-line-stroke-color",X="--progress-percent",_=e=>{let t=e?"100%":"-100%";return new I.Mo("antProgress".concat(e?"RTL":"LTR","Active"),{"0%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.1},"20%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=(0,H.OF)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=(0,R.oX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,P.dF)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},["".concat(t,"-outer")]:{display:"inline-flex",alignItems:"center",width:"100%"},["".concat(t,"-inner")]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},["".concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.defaultColor}},["".concat(t,"-success-bg, ").concat(t,"-bg")]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOutCirc)},["".concat(t,"-layout-bottom")]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",["".concat(t,"-text")]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},["".concat(t,"-bg")]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit","var(".concat(T,")")]},height:"100%",width:"calc(1 / var(".concat(X,") * 100%)"),display:"block"},["&".concat(t,"-bg-inner")]:{minWidth:"max-content","&::after":{content:"none"},["".concat(t,"-text-inner")]:{color:e.colorWhite,["&".concat(t,"-text-bright")]:{color:"rgba(0, 0, 0, 0.45)"}}}},["".concat(t,"-success-bg")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},["&".concat(t,"-text-outer")]:{width:"max-content"},["&".concat(t,"-text-outer").concat(t,"-text-start")]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},["".concat(t,"-text-inner")]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:"0 ".concat((0,I.zA)(e.paddingXXS)),["&".concat(t,"-text-start")]:{justifyContent:"start"},["&".concat(t,"-text-end")]:{justifyContent:"end"}},["&".concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:_(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},["&".concat(t,"-rtl").concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{animationName:_(!0)}},["&".concat(t,"-status-exception")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorError},["".concat(t,"-text")]:{color:e.colorError}},["&".concat(t,"-status-exception ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorError}},["&".concat(t,"-status-success")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{color:e.colorSuccess}},["&".concat(t,"-status-success ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorSuccess}}})}})(n),(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-circle-trail")]:{stroke:e.remainingColor},["&".concat(t,"-circle ").concat(t,"-inner")]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},["&".concat(t,"-circle ").concat(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%)",[n]:{fontSize:e.circleIconFontSize}},["".concat(t,"-circle&-status-exception")]:{["".concat(t,"-text")]:{color:e.colorError}},["".concat(t,"-circle&-status-success")]:{["".concat(t,"-text")]:{color:e.colorSuccess}}},["".concat(t,"-inline-circle")]:{lineHeight:1,["".concat(t,"-inner")]:{verticalAlign:"bottom"}}}})(n),(e=>{let{componentCls:t}=e;return{[t]:{["".concat(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 ".concat(e.motionDurationSlow),"&-active":{backgroundColor:e.defaultColor}}}}}})(n),(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-small&-line, ").concat(t,"-small&-line ").concat(t,"-text ").concat(n)]:{fontSize:e.fontSizeSM}}}})(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:"".concat(e.fontSize/e.fontSizeSM,"em")}));var K=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let G=e=>{let{prefixCls:t,direction:n,percent:o,size:r,strokeWidth:c,strokeColor:l,strokeLinecap:i="round",children:s,trailColor:m=null,percentPosition:u,success:p}=e,{align:h,type:f}=u,g=l&&"string"!=typeof l?((e,t)=>{let{from:n=B.uy.blue,to:a=B.uy.blue,direction:o="rtl"===t?"to left":"to right"}=e,r=K(e,["from","to","direction"]);if(0!==Object.keys(r).length){let e=(e=>{let t=[];return Object.keys(e).forEach(n=>{let a=Number.parseFloat(n.replace(/%/g,""));Number.isNaN(a)||t.push({key:a,value:e[n]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:n}=e;return"".concat(n," ").concat(t,"%")}).join(", ")})(r),t="linear-gradient(".concat(o,", ").concat(e,")");return{background:t,[T]:t}}let c="linear-gradient(".concat(o,", ").concat(n,", ").concat(a,")");return{background:c,[T]:c}})(l,n):{[T]:l,background:l},v="square"===i||"butt"===i?0:void 0,[b,k]=D(null!=r?r:[-1,c||("small"===r?6:8)],"line",{strokeWidth:c}),E=Object.assign(Object.assign({width:"".concat(L(o),"%"),height:k,borderRadius:v},g),{[X]:L(o)/100}),y=N(e),x={width:"".concat(L(y),"%"),height:k,borderRadius:v,backgroundColor:null==p?void 0:p.strokeColor},C=a.createElement("div",{className:"".concat(t,"-inner"),style:{backgroundColor:m||void 0,borderRadius:v}},a.createElement("div",{className:d()("".concat(t,"-bg"),"".concat(t,"-bg-").concat(f)),style:E},"inner"===f&&s),void 0!==y&&a.createElement("div",{className:"".concat(t,"-success-bg"),style:x})),A="outer"===f&&"start"===h,O="outer"===f&&"end"===h;return"outer"===f&&"center"===h?a.createElement("div",{className:"".concat(t,"-layout-bottom")},C,s):a.createElement("div",{className:"".concat(t,"-outer"),style:{width:b<0?"100%":b}},A&&s,C,O&&s)},Y=e=>{let{size:t,steps:n,rounding:o=Math.round,percent:r=0,strokeWidth:c=8,strokeColor:l,trailColor:i=null,prefixCls:s,children:m}=e,u=o(r/100*n),[p,h]=D(null!=t?t:["small"===t?2:14,c],"step",{steps:n,strokeWidth:c}),f=p/n,g=Array.from({length:n});for(let e=0;et.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let Q=["normal","exception","active","success"],U=a.forwardRef((e,t)=>{let n,{prefixCls:s,className:p,rootClassName:h,steps:f,strokeColor:g,percent:v=0,size:b="default",showInfo:k=!0,type:E="line",status:y,format:x,style:C,percentPosition:A={}}=e,O=q(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:M="end",type:S="outer"}=A,F=Array.isArray(g)?g[0]:g,w="string"==typeof g||Array.isArray(g)?g:void 0,j=a.useMemo(()=>{if(F){let e="string"==typeof F?F:Object.values(F)[0];return new o.Y(e).isLight()}return!1},[g]),z=a.useMemo(()=>{var t,n;let a=N(e);return Number.parseInt(void 0!==a?null==(t=null!=a?a:0)?void 0:t.toString():null==(n=null!=v?v:0)?void 0:n.toString(),10)},[v,e.success,e.successPercent]),B=a.useMemo(()=>!Q.includes(y)&&z>=100?"success":y||"normal",[y,z]),{getPrefixCls:I,direction:P,progress:H}=a.useContext(u.QO),R=I("progress",s),[T,X,_]=V(R),K="line"===E,U=K&&!f,$=a.useMemo(()=>{let t;if(!k)return null;let n=N(e),o=x||(e=>"".concat(e,"%")),s=K&&j&&"inner"===S;return"inner"===S||x||"exception"!==B&&"success"!==B?t=o(L(v),L(n)):"exception"===B?t=K?a.createElement(l.A,null):a.createElement(i.A,null):"success"===B&&(t=K?a.createElement(r.A,null):a.createElement(c.A,null)),a.createElement("span",{className:d()("".concat(R,"-text"),{["".concat(R,"-text-bright")]:s,["".concat(R,"-text-").concat(M)]:U,["".concat(R,"-text-").concat(S)]:U}),title:"string"==typeof t?t:void 0},t)},[k,v,z,B,E,R,x]);"line"===E?n=f?a.createElement(Y,Object.assign({},e,{strokeColor:w,prefixCls:R,steps:"object"==typeof f?f.count:f}),$):a.createElement(G,Object.assign({},e,{strokeColor:F,prefixCls:R,direction:P,percentPosition:{align:M,type:S}}),$):("circle"===E||"dashboard"===E)&&(n=a.createElement(W,Object.assign({},e,{strokeColor:F,prefixCls:R,progressStatus:B}),$));let Z=d()(R,"".concat(R,"-status-").concat(B),{["".concat(R,"-").concat("dashboard"===E&&"circle"||E)]:"line"!==E,["".concat(R,"-inline-circle")]:"circle"===E&&D(b,"circle")[0]<=20,["".concat(R,"-line")]:U,["".concat(R,"-line-align-").concat(M)]:U,["".concat(R,"-line-position-").concat(S)]:U,["".concat(R,"-steps")]:f,["".concat(R,"-show-info")]:k,["".concat(R,"-").concat(b)]:"string"==typeof b,["".concat(R,"-rtl")]:"rtl"===P},null==H?void 0:H.className,p,h,X,_);return T(a.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==H?void 0:H.style),C),className:Z,role:"progressbar","aria-valuenow":z,"aria-valuemin":0,"aria-valuemax":100},(0,m.A)(O,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})},60924:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},81094:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},81106:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115),o=n(89593),r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o.A})))},85189:(e,t,n)=>{n.d(t,{A:()=>G});var a=n(12115),o=n(29300),r=n.n(o),c=n(27061),l=n(21858),i=n(24756),s=n(49172),d=a.createContext(null),m=a.createContext({}),u=n(40419),p=n(79630),h=n(82870),f=n(17233),g=n(40032),v=n(20235),b=n(74686),k=["prefixCls","className","containerRef"];let E=function(e){var t=e.prefixCls,n=e.className,o=e.containerRef,c=(0,v.A)(e,k),l=a.useContext(m).panel,i=(0,b.xK)(l,o);return a.createElement("div",(0,p.A)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,g.A)(e,{aria:!0}),{"aria-modal":"true"},c))};var y=n(9587);function x(e){return"string"==typeof e&&String(Number(e))===e?((0,y.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=a.forwardRef(function(e,t){var n,o,i,s=e.prefixCls,m=e.open,v=e.placement,b=e.inline,k=e.push,y=e.forceRender,A=e.autoFocus,O=e.keyboard,M=e.classNames,S=e.rootClassName,F=e.rootStyle,w=e.zIndex,j=e.className,z=e.id,B=e.style,L=e.motion,N=e.width,D=e.height,W=e.children,I=e.mask,P=e.maskClosable,H=e.maskMotion,R=e.maskClassName,T=e.maskStyle,X=e.afterOpenChange,_=e.onClose,V=e.onMouseEnter,K=e.onMouseOver,G=e.onMouseLeave,Y=e.onClick,q=e.onKeyDown,Q=e.onKeyUp,U=e.styles,$=e.drawerRender,Z=a.useRef(),J=a.useRef(),ee=a.useRef();a.useImperativeHandle(t,function(){return Z.current}),a.useEffect(function(){if(m&&A){var e;null==(e=Z.current)||e.focus({preventScroll:!0})}},[m]);var et=a.useState(!1),en=(0,l.A)(et,2),ea=en[0],eo=en[1],er=a.useContext(d),ec=null!=(n=null!=(o=null==(i="boolean"==typeof k?k?{}:{distance:0}:k||{})?void 0:i.distance)?o:null==er?void 0:er.pushDistance)?n:180,el=a.useMemo(function(){return{pushDistance:ec,push:function(){eo(!0)},pull:function(){eo(!1)}}},[ec]);a.useEffect(function(){var e,t;m?null==er||null==(e=er.push)||e.call(er):null==er||null==(t=er.pull)||t.call(er)},[m]),a.useEffect(function(){return function(){var e;null==er||null==(e=er.pull)||e.call(er)}},[]);var ei=a.createElement(h.Ay,(0,p.A)({key:"mask"},H,{visible:I&&m}),function(e,t){var n=e.className,o=e.style;return a.createElement("div",{className:r()("".concat(s,"-mask"),n,null==M?void 0:M.mask,R),style:(0,c.A)((0,c.A)((0,c.A)({},o),T),null==U?void 0:U.mask),onClick:P&&m?_:void 0,ref:t})}),es="function"==typeof L?L(v):L,ed={};if(ea&&ec)switch(v){case"top":ed.transform="translateY(".concat(ec,"px)");break;case"bottom":ed.transform="translateY(".concat(-ec,"px)");break;case"left":ed.transform="translateX(".concat(ec,"px)");break;default:ed.transform="translateX(".concat(-ec,"px)")}"left"===v||"right"===v?ed.width=x(N):ed.height=x(D);var em={onMouseEnter:V,onMouseOver:K,onMouseLeave:G,onClick:Y,onKeyDown:q,onKeyUp:Q},eu=a.createElement(h.Ay,(0,p.A)({key:"panel"},es,{visible:m,forceRender:y,onVisibleChanged:function(e){null==X||X(e)},removeOnLeave:!1,leavedClassName:"".concat(s,"-content-wrapper-hidden")}),function(t,n){var o=t.className,l=t.style,i=a.createElement(E,(0,p.A)({id:z,containerRef:n,prefixCls:s,className:r()(j,null==M?void 0:M.content),style:(0,c.A)((0,c.A)({},B),null==U?void 0:U.content)},(0,g.A)(e,{aria:!0}),em),W);return a.createElement("div",(0,p.A)({className:r()("".concat(s,"-content-wrapper"),null==M?void 0:M.wrapper,o),style:(0,c.A)((0,c.A)((0,c.A)({},ed),l),null==U?void 0:U.wrapper)},(0,g.A)(e,{data:!0})),$?$(i):i)}),ep=(0,c.A)({},F);return w&&(ep.zIndex=w),a.createElement(d.Provider,{value:el},a.createElement("div",{className:r()(s,"".concat(s,"-").concat(v),S,(0,u.A)((0,u.A)({},"".concat(s,"-open"),m),"".concat(s,"-inline"),b)),style:ep,tabIndex:-1,ref:Z,onKeyDown:function(e){var t,n,a=e.keyCode,o=e.shiftKey;switch(a){case f.A.TAB:a===f.A.TAB&&(o||document.activeElement!==ee.current?o&&document.activeElement===J.current&&(null==(n=ee.current)||n.focus({preventScroll:!0})):null==(t=J.current)||t.focus({preventScroll:!0}));break;case f.A.ESC:_&&O&&(e.stopPropagation(),_(e))}}},ei,a.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),eu,a.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))});let O=function(e){var t=e.open,n=e.prefixCls,o=e.placement,r=e.autoFocus,d=e.keyboard,u=e.width,p=e.mask,h=void 0===p||p,f=e.maskClosable,g=e.getContainer,v=e.forceRender,b=e.afterOpenChange,k=e.destroyOnClose,E=e.onMouseEnter,y=e.onMouseOver,x=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,M=e.onKeyUp,S=e.panelRef,F=a.useState(!1),w=(0,l.A)(F,2),j=w[0],z=w[1],B=a.useState(!1),L=(0,l.A)(B,2),N=L[0],D=L[1];(0,s.A)(function(){D(!0)},[]);var W=!!N&&void 0!==t&&t,I=a.useRef(),P=a.useRef();(0,s.A)(function(){W&&(P.current=document.activeElement)},[W]);var H=a.useMemo(function(){return{panel:S}},[S]);if(!v&&!j&&!W&&k)return null;var R=(0,c.A)((0,c.A)({},e),{},{open:W,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===o?"right":o,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===u?378:u,mask:h,maskClosable:void 0===f||f,inline:!1===g,afterOpenChange:function(e){var t,n;z(e),null==b||b(e),e||!P.current||null!=(t=I.current)&&t.contains(P.current)||null==(n=P.current)||n.focus({preventScroll:!0})},ref:I},{onMouseEnter:E,onMouseOver:y,onMouseLeave:x,onClick:C,onKeyDown:O,onKeyUp:M});return a.createElement(m.Provider,{value:H},a.createElement(i.A,{open:W||v||j,autoDestroy:!1,getContainer:g,autoLock:h&&(W||j)},a.createElement(A,R)))};var M=n(32934),S=n(9184),F=n(9130),w=n(93666),j=n(6833),z=n(15982),B=n(2732),L=n(50497),N=n(70802);let D=e=>{var t,n;let o,{prefixCls:c,ariaId:l,title:i,footer:s,extra:d,closable:m,loading:u,onClose:p,headerStyle:h,bodyStyle:f,footerStyle:g,children:v,classNames:b,styles:k}=e,E=(0,z.TP)("drawer");o=!1===m?void 0:void 0===m||!0===m?"start":(null==m?void 0:m.placement)==="end"?"end":"start";let y=a.useCallback(e=>a.createElement("button",{type:"button",onClick:p,className:r()("".concat(c,"-close"),{["".concat(c,"-close-").concat(o)]:"end"===o})},e),[p,c,o]),[x,C]=(0,L.$)((0,L.d)(e),(0,L.d)(E),{closable:!0,closeIconRender:y});return a.createElement(a.Fragment,null,(()=>{var e,t;return i||x?a.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=E.styles)?void 0:e.header),h),null==k?void 0:k.header),className:r()("".concat(c,"-header"),{["".concat(c,"-header-close-only")]:x&&!i&&!d},null==(t=E.classNames)?void 0:t.header,null==b?void 0:b.header)},a.createElement("div",{className:"".concat(c,"-header-title")},"start"===o&&C,i&&a.createElement("div",{className:"".concat(c,"-title"),id:l},i)),d&&a.createElement("div",{className:"".concat(c,"-extra")},d),"end"===o&&C):null})(),a.createElement("div",{className:r()("".concat(c,"-body"),null==b?void 0:b.body,null==(t=E.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=E.styles)?void 0:n.body),f),null==k?void 0:k.body)},u?a.createElement(N.A,{active:!0,title:!1,paragraph:{rows:5},className:"".concat(c,"-body-skeleton")}):v),(()=>{var e,t;return s?a.createElement("div",{className:r()("".concat(c,"-footer"),null==(e=E.classNames)?void 0:e.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=E.styles)?void 0:t.footer),g),null==k?void 0:k.footer)},s):null})())};var W=n(99841),I=n(18184),P=n(45431),H=n(61388);let R=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),T=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(t)}}},R({opacity:e},{opacity:1})),X=(0,P.OF)("Drawer",e=>{let t=(0,H.oX)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:a,colorBgMask:o,colorBgElevated:r,motionDurationSlow:c,motionDurationMid:l,paddingXS:i,padding:s,paddingLG:d,fontSizeLG:m,lineHeightLG:u,lineWidth:p,lineType:h,colorSplit:f,marginXS:g,colorIcon:v,colorIconHover:b,colorBgTextHover:k,colorBgTextActive:E,colorText:y,fontWeightStrong:x,footerPaddingBlock:C,footerPaddingInline:A,calc:O}=e,M="".concat(n,"-content-wrapper");return{[n]:{position:"fixed",inset:0,zIndex:a,pointerEvents:"none",color:y,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",["&".concat(n,"-left")]:{boxShadow:e.boxShadowDrawerLeft},["&".concat(n,"-right")]:{boxShadow:e.boxShadowDrawerRight},["&".concat(n,"-top")]:{boxShadow:e.boxShadowDrawerUp},["&".concat(n,"-bottom")]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},["".concat(n,"-mask")]:{position:"absolute",inset:0,zIndex:a,background:o,pointerEvents:"auto"},[M]:{position:"absolute",zIndex:a,maxWidth:"100vw",transition:"all ".concat(c),"&-hidden":{display:"none"}},["&-left > ".concat(M)]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > ".concat(M)]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > ".concat(M)]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > ".concat(M)]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},["".concat(n,"-content")]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},["".concat(n,"-header")]:{display:"flex",flex:0,alignItems:"center",padding:"".concat((0,W.zA)(s)," ").concat((0,W.zA)(d)),fontSize:m,lineHeight:u,borderBottom:"".concat((0,W.zA)(p)," ").concat(h," ").concat(f),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},["".concat(n,"-extra")]:{flex:"none"},["".concat(n,"-close")]:Object.assign({display:"inline-flex",width:O(m).add(i).equal(),height:O(m).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:v,fontWeight:x,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all ".concat(l),textRendering:"auto",["&".concat(n,"-close-end")]:{marginInlineStart:g},["&:not(".concat(n,"-close-end)")]:{marginInlineEnd:g},"&:hover":{color:b,backgroundColor:k,textDecoration:"none"},"&:active":{backgroundColor:E}},(0,I.K8)(e)),["".concat(n,"-title")]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:u},["".concat(n,"-body")]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",["".concat(n,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},["".concat(n,"-footer")]:{flexShrink:0,padding:"".concat((0,W.zA)(C)," ").concat((0,W.zA)(A)),borderTop:"".concat((0,W.zA)(p)," ").concat(h," ").concat(f)},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{["".concat(t,"-mask-motion")]:T(0,n),["".concat(t,"-panel-motion")]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-".concat(t)]:[T(.7,n),R({transform:(e=>{let t="100%";return({left:"translateX(-".concat(t,")"),right:"translateX(".concat(t,")"),top:"translateY(-".concat(t,")"),bottom:"translateY(".concat(t,")")})[e]})(t)},{transform:"none"})]}),{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var _=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let V={distance:180},K=e=>{let{rootClassName:t,width:n,height:o,size:c="default",mask:l=!0,push:i=V,open:s,afterOpenChange:d,onClose:m,prefixCls:u,getContainer:p,panelRef:h=null,style:f,className:g,"aria-labelledby":v,visible:k,afterVisibleChange:E,maskStyle:y,drawerStyle:x,contentWrapperStyle:C,destroyOnClose:A,destroyOnHidden:L}=e,N=_(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),W=(0,M.A)(),I=N.title?W:void 0,{getPopupContainer:P,getPrefixCls:H,direction:R,className:T,style:K,classNames:G,styles:Y}=(0,z.TP)("drawer"),q=H("drawer",u),[Q,U,$]=X(q),Z=void 0===p&&P?()=>P(document.body):p,J=r()({"no-mask":!l,["".concat(q,"-rtl")]:"rtl"===R},t,U,$),ee=a.useMemo(()=>null!=n?n:"large"===c?736:378,[n,c]),et=a.useMemo(()=>null!=o?o:"large"===c?736:378,[o,c]),en={motionName:(0,w.b)(q,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ea=(0,B.f)(),eo=(0,b.K4)(h,ea),[er,ec]=(0,F.YK)("Drawer",N.zIndex),{classNames:el={},styles:ei={}}=N;return Q(a.createElement(S.A,{form:!0,space:!0},a.createElement(j.A.Provider,{value:ec},a.createElement(O,Object.assign({prefixCls:q,onClose:m,maskMotion:en,motion:e=>({motionName:(0,w.b)(q,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},N,{classNames:{mask:r()(el.mask,G.mask),content:r()(el.content,G.content),wrapper:r()(el.wrapper,G.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ei.mask),y),Y.mask),content:Object.assign(Object.assign(Object.assign({},ei.content),x),Y.content),wrapper:Object.assign(Object.assign(Object.assign({},ei.wrapper),C),Y.wrapper)},open:null!=s?s:k,mask:l,push:i,width:ee,height:et,style:Object.assign(Object.assign({},K),f),className:r()(T,g),rootClassName:J,getContainer:Z,afterOpenChange:null!=d?d:E,panelRef:eo,zIndex:er,"aria-labelledby":null!=v?v:I,destroyOnClose:null!=L?L:A}),a.createElement(D,Object.assign({prefixCls:q},N,{ariaId:I,onClose:m}))))))};K._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:o,placement:c="right"}=e,l=_(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=a.useContext(z.QO),s=i("drawer",t),[d,m,u]=X(s),p=r()(s,"".concat(s,"-pure"),"".concat(s,"-").concat(c),m,u,o);return d(a.createElement("div",{className:p,style:n},a.createElement(D,Object.assign({prefixCls:s},l))))};let G=K},94326:(e,t,n)=>{n.d(t,{Ay:()=>y});var a=n(85757),o=n(12115),r=n(99209),c=n(15982),l=n(57845),i=n(25856),s=n(16622),d=n(24848),m=n(31390);let u=null,p=e=>e(),h=[],f={};function g(){let{getContainer:e,duration:t,rtl:n,maxCount:a,top:o}=f,r=(null==e?void 0:e())||document.body;return{getContainer:()=>r,duration:t,rtl:n,maxCount:a,top:o}}let v=o.forwardRef((e,t)=>{let{messageConfig:n,sync:a}=e,{getPrefixCls:l}=(0,o.useContext)(c.QO),i=f.prefixCls||l("message"),s=(0,o.useContext)(r.B),[m,u]=(0,d.y)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},m);return Object.keys(e).forEach(t=>{e[t]=function(){for(var e=arguments.length,n=Array(e),o=0;o{let[n,a]=o.useState(g),r=()=>{a(g)};o.useEffect(r,[]);let c=(0,l.cr)(),i=c.getRootPrefixCls(),s=c.getIconPrefixCls(),d=c.getTheme(),m=o.createElement(v,{ref:t,sync:r,messageConfig:n});return o.createElement(l.Ay,{prefixCls:i,iconPrefixCls:s,theme:d},c.holderRender?c.holderRender(m):m)}),k=()=>{if(!u){let e=document.createDocumentFragment(),t={fragment:e};u=t,p(()=>{(0,i.L)()(o.createElement(b,{ref:e=>{let{instance:n,sync:a}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=a,k())})}}),e)});return}u.instance&&(h.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":p(()=>{let t=u.instance.open(Object.assign(Object.assign({},f),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":p(()=>{null==u||u.instance.destroy(e.key)});break;default:p(()=>{var n;let o=(n=u.instance)[t].apply(n,(0,a.A)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),h=[])},E={open:function(e){let t=(0,m.E)(t=>{let n,a={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return h.push(a),()=>{n?p(()=>{n()}):a.skipped=!0}});return k(),t},destroy:e=>{h.push({type:"destroy",key:e}),k()},config:function(e){f=Object.assign(Object.assign({},f),e),p(()=>{var e;null==(e=null==u?void 0:u.sync)||e.call(u)})},useMessage:d.A,_InternalPanelDoNotUseOrYouWillBeFired:s.Ay};["success","info","warning","error","loading"].forEach(e=>{E[e]=function(){for(var t=arguments.length,n=Array(t),a=0;a{let a,o={type:e,args:n,resolve:t,setCloseFn:e=>{a=e}};return h.push(o),()=>{a?p(()=>{a()}):o.skipped=!0}});return k(),o}});let y=E},94600:(e,t,n)=>{n.d(t,{A:()=>f});var a=n(12115),o=n(29300),r=n.n(o),c=n(15982),l=n(9836),i=n(99841),s=n(18184),d=n(45431),m=n(61388);let u=(0,d.OF)("Divider",e=>{let t=(0,m.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:a,lineWidth:o,textPaddingInline:r,orientationMargin:c,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},(0,s.dF)(e)),{borderBlockStart:"".concat((0,i.zA)(o)," solid ").concat(a),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,i.zA)(o)," solid ").concat(a)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,i.zA)(e.marginLG)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,i.zA)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(a),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,i.zA)(o)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(c," * 100%)")},"&::after":{width:"calc(100% - ".concat(c," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(c," * 100%)")},"&::after":{width:"calc(".concat(c," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:"".concat((0,i.zA)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:"".concat((0,i.zA)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{["&".concat(t)]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var p=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let h={small:"sm",middle:"md"},f=e=>{let{getPrefixCls:t,direction:n,className:o,style:i}=(0,c.TP)("divider"),{prefixCls:s,type:d="horizontal",orientation:m="center",orientationMargin:f,className:g,rootClassName:v,children:b,dashed:k,variant:E="solid",plain:y,style:x,size:C}=e,A=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),O=t("divider",s),[M,S,F]=u(O),w=h[(0,l.A)(C)],j=!!b,z=a.useMemo(()=>"left"===m?"rtl"===n?"end":"start":"right"===m?"rtl"===n?"start":"end":m,[n,m]),B="start"===z&&null!=f,L="end"===z&&null!=f,N=r()(O,o,S,F,"".concat(O,"-").concat(d),{["".concat(O,"-with-text")]:j,["".concat(O,"-with-text-").concat(z)]:j,["".concat(O,"-dashed")]:!!k,["".concat(O,"-").concat(E)]:"solid"!==E,["".concat(O,"-plain")]:!!y,["".concat(O,"-rtl")]:"rtl"===n,["".concat(O,"-no-default-orientation-margin-start")]:B,["".concat(O,"-no-default-orientation-margin-end")]:L,["".concat(O,"-").concat(w)]:!!w},g,v),D=a.useMemo(()=>"number"==typeof f?f:/^\d+$/.test(f)?Number(f):f,[f]);return M(a.createElement("div",Object.assign({className:N,style:Object.assign(Object.assign({},i),x)},A,{role:"separator"}),b&&"vertical"!==d&&a.createElement("span",{className:"".concat(O,"-inner-text"),style:{marginInlineStart:B?D:void 0,marginInlineEnd:L?D:void 0}},b)))}},96194:(e,t,n)=>{n.d(t,{A:()=>y});var a=n(61216),o=n(32655),r=n(30041),c=n(12115),l=n(29300),i=n.n(l),s=n(55121),d=n(31776),m=n(15982),u=n(68151),p=n(85051),h=n(94480),f=n(41222),g=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let v=(0,d.U)(e=>{let{prefixCls:t,className:n,closeIcon:a,closable:o,type:r,title:l,children:d,footer:v}=e,b=g(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:k}=c.useContext(m.QO),E=k(),y=t||k("modal"),x=(0,u.A)(E),[C,A,O]=(0,f.Ay)(y,x),M="".concat(y,"-confirm"),S={};return S=r?{closable:null!=o&&o,title:"",footer:"",children:c.createElement(p.k,Object.assign({},e,{prefixCls:y,confirmPrefixCls:M,rootPrefixCls:E,content:d}))}:{closable:null==o||o,title:l,footer:null!==v&&c.createElement(h.w,Object.assign({},e)),children:d},C(c.createElement(s.Z,Object.assign({prefixCls:y,className:i()(A,"".concat(y,"-pure-panel"),r&&M,r&&"".concat(M,"-").concat(r),n,O,x)},b,{closeIcon:(0,h.O)(y,a),closable:o},S)))});var b=n(35149);function k(e){return(0,a.Ay)((0,a.fp)(e))}let E=r.A;E.useModal=b.A,E.info=function(e){return(0,a.Ay)((0,a.$D)(e))},E.success=function(e){return(0,a.Ay)((0,a.Ej)(e))},E.error=function(e){return(0,a.Ay)((0,a.jT)(e))},E.warning=k,E.warn=k,E.confirm=function(e){return(0,a.Ay)((0,a.lr)(e))},E.destroyAll=function(){for(;o.A.length;){let e=o.A.pop();e&&e()}},E.config=a.FB,E._InternalPanelDoNotUseOrYouWillBeFired=v;let y=E},98527:(e,t,n)=>{n.d(t,{A:()=>a});let a={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"}},99165:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={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-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9776],{25702:(e,t,n)=>{n.d(t,{A:()=>F});var a=n(85757),o=n(12115),r=n(29300),c=n.n(r),l=n(85382),i=n(39496),s=n(15982),d=n(29353),m=n(9836),u=n(90510),p=n(51854),h=n(7744),f=n(16467);let g=o.createContext({});g.Consumer;var v=n(80163),b=n(62623),k=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let E=o.forwardRef((e,t)=>{let{prefixCls:n,children:a,actions:r,extra:l,styles:i,className:d,classNames:m,colStyle:u}=e,p=k(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:h,itemLayout:f}=(0,o.useContext)(g),{getPrefixCls:E,list:y}=(0,o.useContext)(s.QO),x=e=>{var t,n;return c()(null==(n=null==(t=null==y?void 0:y.item)?void 0:t.classNames)?void 0:n[e],null==m?void 0:m[e])},C=e=>{var t,n;return Object.assign(Object.assign({},null==(n=null==(t=null==y?void 0:y.item)?void 0:t.styles)?void 0:n[e]),null==i?void 0:i[e])},A=E("list",n),O=r&&r.length>0&&o.createElement("ul",{className:c()("".concat(A,"-item-action"),x("actions")),key:"actions",style:C("actions")},r.map((e,t)=>o.createElement("li",{key:"".concat(A,"-item-action-").concat(t)},e,t!==r.length-1&&o.createElement("em",{className:"".concat(A,"-item-action-split")})))),M=o.createElement(h?"div":"li",Object.assign({},p,h?{}:{ref:t},{className:c()("".concat(A,"-item"),{["".concat(A,"-item-no-flex")]:!("vertical"===f?!!l:!(()=>{let e=!1;return o.Children.forEach(a,t=>{"string"==typeof t&&(e=!0)}),e&&o.Children.count(a)>1})())},d)}),"vertical"===f&&l?[o.createElement("div",{className:"".concat(A,"-item-main"),key:"content"},a,O),o.createElement("div",{className:c()("".concat(A,"-item-extra"),x("extra")),key:"extra",style:C("extra")},l)]:[a,O,(0,v.Ob)(l,{key:"extra"})]);return h?o.createElement(b.A,{ref:t,flex:1,style:u},M):M});E.Meta=e=>{var{prefixCls:t,className:n,avatar:a,title:r,description:l}=e,i=k(e,["prefixCls","className","avatar","title","description"]);let{getPrefixCls:d}=(0,o.useContext)(s.QO),m=d("list",t),u=c()("".concat(m,"-item-meta"),n),p=o.createElement("div",{className:"".concat(m,"-item-meta-content")},r&&o.createElement("h4",{className:"".concat(m,"-item-meta-title")},r),l&&o.createElement("div",{className:"".concat(m,"-item-meta-description")},l));return o.createElement("div",Object.assign({},i,{className:u}),a&&o.createElement("div",{className:"".concat(m,"-item-meta-avatar")},a),(r||l)&&p)};var y=n(99841),x=n(18184),C=n(45431),A=n(61388);let O=(0,C.OF)("List",e=>{let t=(0,A.oX)(e,{listBorderedCls:"".concat(e.componentCls,"-bordered"),minHeight:e.controlHeightLG});return[(e=>{let{componentCls:t,antCls:n,controlHeight:a,minHeight:o,paddingSM:r,marginLG:c,padding:l,itemPadding:i,colorPrimary:s,itemPaddingSM:d,itemPaddingLG:m,paddingXS:u,margin:p,colorText:h,colorTextDescription:f,motionDurationSlow:g,lineWidth:v,headerBg:b,footerBg:k,emptyTextPadding:E,metaMarginBottom:C,avatarMarginRight:A,titleMarginBottom:O,descriptionFontSize:M}=e;return{[t]:Object.assign(Object.assign({},(0,x.dF)(e)),{position:"relative","--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:"none"},["".concat(t,"-header")]:{background:b},["".concat(t,"-footer")]:{background:k},["".concat(t,"-header, ").concat(t,"-footer")]:{paddingBlock:r},["".concat(t,"-pagination")]:{marginBlockStart:c,["".concat(n,"-pagination-options")]:{textAlign:"start"}},["".concat(t,"-spin")]:{minHeight:o,textAlign:"center"},["".concat(t,"-items")]:{margin:0,padding:0,listStyle:"none"},["".concat(t,"-item")]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:i,color:h,["".concat(t,"-item-meta")]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",["".concat(t,"-item-meta-avatar")]:{marginInlineEnd:A},["".concat(t,"-item-meta-content")]:{flex:"1 0",width:0,color:h},["".concat(t,"-item-meta-title")]:{margin:"0 0 ".concat((0,y.zA)(e.marginXXS)," 0"),color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:h,transition:"all ".concat(g),"&:hover":{color:s}}},["".concat(t,"-item-meta-description")]:{color:f,fontSize:M,lineHeight:e.lineHeight}},["".concat(t,"-item-action")]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:"0 ".concat((0,y.zA)(u)),color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},["".concat(t,"-item-action-split")]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:v,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},["".concat(t,"-empty")]:{padding:"".concat((0,y.zA)(l)," 0"),color:f,fontSize:e.fontSizeSM,textAlign:"center"},["".concat(t,"-empty-text")]:{padding:E,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},["".concat(t,"-item-no-flex")]:{display:"block"}}),["".concat(t,"-grid ").concat(n,"-col > ").concat(t,"-item")]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},["".concat(t,"-vertical ").concat(t,"-item")]:{alignItems:"initial",["".concat(t,"-item-main")]:{display:"block",flex:1},["".concat(t,"-item-extra")]:{marginInlineStart:c},["".concat(t,"-item-meta")]:{marginBlockEnd:C,["".concat(t,"-item-meta-title")]:{marginBlockStart:0,marginBlockEnd:O,color:h,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},["".concat(t,"-item-action")]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:"0 ".concat((0,y.zA)(l)),"&:first-child":{paddingInlineStart:0}}}},["".concat(t,"-split ").concat(t,"-item")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit),"&:last-child":{borderBlockEnd:"none"}},["".concat(t,"-split ").concat(t,"-header")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-split").concat(t,"-empty ").concat(t,"-footer")]:{borderTop:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-loading ").concat(t,"-spin-nested-loading")]:{minHeight:a},["".concat(t,"-split").concat(t,"-something-after-last-item ").concat(n,"-spin-container > ").concat(t,"-items > ").concat(t,"-item:last-child")]:{borderBlockEnd:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},["".concat(t,"-lg ").concat(t,"-item")]:{padding:m},["".concat(t,"-sm ").concat(t,"-item")]:{padding:d},["".concat(t,":not(").concat(t,"-vertical)")]:{["".concat(t,"-item-no-flex")]:{["".concat(t,"-item-action")]:{float:"right"}}}}})(t),(e=>{let{listBorderedCls:t,componentCls:n,paddingLG:a,margin:o,itemPaddingSM:r,itemPaddingLG:c,marginLG:l,borderRadiusLG:i}=e,s=(0,y.zA)(e.calc(i).sub(e.lineWidth).equal());return{[t]:{border:"".concat((0,y.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:i,["".concat(n,"-header")]:{borderRadius:"".concat(s," ").concat(s," 0 0")},["".concat(n,"-footer")]:{borderRadius:"0 0 ".concat(s," ").concat(s)},["".concat(n,"-header,").concat(n,"-footer,").concat(n,"-item")]:{paddingInline:a},["".concat(n,"-pagination")]:{margin:"".concat((0,y.zA)(o)," ").concat((0,y.zA)(l))}},["".concat(t).concat(n,"-sm")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:r}},["".concat(t).concat(n,"-lg")]:{["".concat(n,"-item,").concat(n,"-header,").concat(n,"-footer")]:{padding:c}}}})(t),(e=>{let{componentCls:t,screenSM:n,screenMD:a,marginLG:o,marginSM:r,margin:c}=e;return{["@media screen and (max-width:".concat(a,"px)")]:{[t]:{["".concat(t,"-item")]:{["".concat(t,"-item-action")]:{marginInlineStart:o}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{["".concat(t,"-item-extra")]:{marginInlineStart:o}}}},["@media screen and (max-width: ".concat(n,"px)")]:{[t]:{["".concat(t,"-item")]:{flexWrap:"wrap",["".concat(t,"-action")]:{marginInlineStart:r}}},["".concat(t,"-vertical")]:{["".concat(t,"-item")]:{flexWrap:"wrap-reverse",["".concat(t,"-item-main")]:{minWidth:e.contentWidth},["".concat(t,"-item-extra")]:{margin:"auto auto ".concat((0,y.zA)(c))}}}}}})(t)]},e=>({contentWidth:220,itemPadding:"".concat((0,y.zA)(e.paddingContentVertical)," 0"),itemPaddingSM:"".concat((0,y.zA)(e.paddingContentVerticalSM)," ").concat((0,y.zA)(e.paddingContentHorizontal)),itemPaddingLG:"".concat((0,y.zA)(e.paddingContentVerticalLG)," ").concat((0,y.zA)(e.paddingContentHorizontalLG)),headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}));var M=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let S=o.forwardRef(function(e,t){let{pagination:n=!1,prefixCls:r,bordered:v=!1,split:b=!0,className:k,rootClassName:E,style:y,children:x,itemLayout:C,loadMore:A,grid:S,dataSource:F=[],size:w,header:j,footer:z,loading:B=!1,rowKey:L,renderItem:N,locale:D}=e,W=M(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),I=n&&"object"==typeof n?n:{},[P,H]=o.useState(I.defaultCurrent||1),[R,T]=o.useState(I.defaultPageSize||10),{getPrefixCls:X,direction:_,className:V,style:K}=(0,s.TP)("list"),{renderEmpty:G}=o.useContext(s.QO),Y=e=>(t,a)=>{var o;H(t),T(a),n&&(null==(o=null==n?void 0:n[e])||o.call(n,t,a))},q=Y("onChange"),Q=Y("onShowSizeChange"),U=!!(A||n||z),$=X("list",r),[Z,J,ee]=O($),et=B;"boolean"==typeof et&&(et={spinning:et});let en=!!(null==et?void 0:et.spinning),ea=(0,m.A)(w),eo="";switch(ea){case"large":eo="lg";break;case"small":eo="sm"}let er=c()($,{["".concat($,"-vertical")]:"vertical"===C,["".concat($,"-").concat(eo)]:eo,["".concat($,"-split")]:b,["".concat($,"-bordered")]:v,["".concat($,"-loading")]:en,["".concat($,"-grid")]:!!S,["".concat($,"-something-after-last-item")]:U,["".concat($,"-rtl")]:"rtl"===_},V,k,E,J,ee),ec=(0,l.A)({current:1,total:0,position:"bottom"},{total:F.length,current:P,pageSize:R},n||{}),el=Math.ceil(ec.total/ec.pageSize);ec.current=Math.min(ec.current,el);let ei=n&&o.createElement("div",{className:c()("".concat($,"-pagination"))},o.createElement(h.A,Object.assign({align:"end"},ec,{onChange:q,onShowSizeChange:Q}))),es=(0,a.A)(F);n&&F.length>(ec.current-1)*ec.pageSize&&(es=(0,a.A)(F).splice((ec.current-1)*ec.pageSize,ec.pageSize));let ed=Object.keys(S||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),em=(0,p.A)(ed),eu=o.useMemo(()=>{for(let e=0;e{if(!S)return;let e=eu&&S[eu]?S[eu]:S.column;if(e)return{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}},[JSON.stringify(S),eu]),eh=en&&o.createElement("div",{style:{minHeight:53}});if(es.length>0){let e=es.map((e,t)=>{let n;return N?((n="function"==typeof L?L(e):L?e[L]:e.key)||(n="list-item-".concat(t)),o.createElement(o.Fragment,{key:n},N(e,t))):null});eh=S?o.createElement(u.A,{gutter:S.gutter},o.Children.map(e,e=>o.createElement("div",{key:null==e?void 0:e.key,style:ep},e))):o.createElement("ul",{className:"".concat($,"-items")},e)}else x||en||(eh=o.createElement("div",{className:"".concat($,"-empty-text")},(null==D?void 0:D.emptyText)||(null==G?void 0:G("List"))||o.createElement(d.A,{componentName:"List"})));let ef=ec.position,eg=o.useMemo(()=>({grid:S,itemLayout:C}),[JSON.stringify(S),C]);return Z(o.createElement(g.Provider,{value:eg},o.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},K),y),className:er},W),("top"===ef||"both"===ef)&&ei,j&&o.createElement("div",{className:"".concat($,"-header")},j),o.createElement(f.A,Object.assign({},et),eh,x),z&&o.createElement("div",{className:"".concat($,"-footer")},z),A||("bottom"===ef||"both"===ef)&&ei)))});S.Item=E;let F=S},34140:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},37974:(e,t,n)=>{n.d(t,{A:()=>F});var a=n(12115),o=n(29300),r=n.n(o),c=n(17980),l=n(77696),i=n(50497),s=n(80163),d=n(47195),m=n(15982),u=n(99841),p=n(60872),h=n(18184),f=n(61388),g=n(45431);let v=e=>{let{lineWidth:t,fontSizeIcon:n,calc:a}=e,o=e.fontSizeSM;return(0,f.oX)(e,{tagFontSize:o,tagLineHeight:(0,u.zA)(a(e.lineHeightSM).mul(o).equal()),tagIconSize:a(n).sub(a(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},b=e=>({defaultBg:new p.Y(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),k=(0,g.OF)("Tag",e=>(e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:a,componentCls:o,calc:r}=e,c=r(a).sub(n).equal(),l=r(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,h.dF)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:"".concat((0,u.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,opacity:1,transition:"all ".concat(e.motionDurationMid),textAlign:"start",position:"relative",["&".concat(o,"-rtl")]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},["".concat(o,"-close-icon")]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),"&:hover":{color:e.colorTextHeading}},["&".concat(o,"-has-color")]:{borderColor:"transparent",["&, a, a:hover, ".concat(e.iconCls,"-close, ").concat(e.iconCls,"-close:hover")]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",["&:not(".concat(o,"-checkable-checked):hover")]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},["> ".concat(e.iconCls," + span, > span + ").concat(e.iconCls)]:{marginInlineStart:c}}),["".concat(o,"-borderless")]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(v(e)),b);var E=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let y=a.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:c,checked:l,children:i,icon:s,onChange:d,onClick:u}=e,p=E(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:h,tag:f}=a.useContext(m.QO),g=h("tag",n),[v,b,y]=k(g),x=r()(g,"".concat(g,"-checkable"),{["".concat(g,"-checkable-checked")]:l},null==f?void 0:f.className,c,b,y);return v(a.createElement("span",Object.assign({},p,{ref:t,style:Object.assign(Object.assign({},o),null==f?void 0:f.style),className:x,onClick:e=>{null==d||d(!l),null==u||u(e)}}),s,a.createElement("span",null,i)))});var x=n(18741);let C=(0,g.bf)(["Tag","preset"],e=>(e=>(0,x.A)(e,(t,n)=>{let{textColor:a,lightBorderColor:o,lightColor:r,darkColor:c}=n;return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:a,background:r,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}}))(v(e)),b),A=(e,t,n)=>{let a=function(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}(n);return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(t)]:{color:e["color".concat(n)],background:e["color".concat(a,"Bg")],borderColor:e["color".concat(a,"Border")],["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}},O=(0,g.bf)(["Tag","status"],e=>{let t=v(e);return[A(t,"success","Success"),A(t,"processing","Info"),A(t,"error","Error"),A(t,"warning","Warning")]},b);var M=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let S=a.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:u,style:p,children:h,icon:f,color:g,onClose:v,bordered:b=!0,visible:E}=e,y=M(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:A,tag:S}=a.useContext(m.QO),[F,w]=a.useState(!0),j=(0,c.A)(y,["closeIcon","closable"]);a.useEffect(()=>{void 0!==E&&w(E)},[E]);let z=(0,l.nP)(g),B=(0,l.ZZ)(g),L=z||B,N=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==S?void 0:S.style),p),D=x("tag",n),[W,I,P]=k(D),H=r()(D,null==S?void 0:S.className,{["".concat(D,"-").concat(g)]:L,["".concat(D,"-has-color")]:g&&!L,["".concat(D,"-hidden")]:!F,["".concat(D,"-rtl")]:"rtl"===A,["".concat(D,"-borderless")]:!b},o,u,I,P),R=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||w(!1)},[,T]=(0,i.$)((0,i.d)(e),(0,i.d)(S),{closable:!1,closeIconRender:e=>{let t=a.createElement("span",{className:"".concat(D,"-close-icon"),onClick:R},e);return(0,s.fx)(e,t,e=>({onClick:t=>{var n;null==(n=null==e?void 0:e.onClick)||n.call(e,t),R(t)},className:r()(null==e?void 0:e.className,"".concat(D,"-close-icon"))}))}}),X="function"==typeof y.onClick||h&&"a"===h.type,_=f||null,V=_?a.createElement(a.Fragment,null,_,h&&a.createElement("span",null,h)):h,K=a.createElement("span",Object.assign({},j,{ref:t,className:H,style:N}),V,T,z&&a.createElement(C,{key:"preset",prefixCls:D}),B&&a.createElement(O,{key:"status",prefixCls:D}));return W(X?a.createElement(d.A,{component:"Tag"},K):K)});S.CheckableTag=y;let F=S},49410:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},52059:(e,t,n)=>{n.d(t,{Ay:()=>A});var a=n(12115),o=n(84630),r=n(51754),c=n(63583),l=n(79630);let i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"};var s=n(35030),d=a.forwardRef(function(e,t){return a.createElement(s.A,(0,l.A)({},e,{ref:t,icon:i}))}),m=n(29300),u=n.n(m),p=n(15982),h=n(99841),f=n(45431),g=n(61388);let v=(0,f.OF)("Result",e=>{let t=e.colorInfo,n=e.colorError,a=e.colorSuccess,o=e.colorWarning;return[(e=>[(e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:a,padding:o,paddingXL:r,paddingXS:c,paddingLG:l,marginXS:i,lineHeight:s}=e;return{[t]:{padding:"".concat((0,h.zA)(e.calc(l).mul(2).equal())," ").concat((0,h.zA)(r)),"&-rtl":{direction:"rtl"}},["".concat(t," ").concat(t,"-image")]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},["".concat(t," ").concat(t,"-icon")]:{marginBottom:l,textAlign:"center",["& > ".concat(a)]:{fontSize:e.iconFontSize}},["".concat(t," ").concat(t,"-title")]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:i,textAlign:"center"},["".concat(t," ").concat(t,"-subtitle")]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:s,textAlign:"center"},["".concat(t," ").concat(t,"-content")]:{marginTop:l,padding:"".concat((0,h.zA)(l)," ").concat((0,h.zA)(e.calc(o).mul(2.5).equal())),backgroundColor:e.colorFillAlter},["".concat(t," ").concat(t,"-extra")]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:c,"&:last-child":{marginInlineEnd:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n}=e;return{["".concat(t,"-success ").concat(t,"-icon > ").concat(n)]:{color:e.resultSuccessIconColor},["".concat(t,"-error ").concat(t,"-icon > ").concat(n)]:{color:e.resultErrorIconColor},["".concat(t,"-info ").concat(t,"-icon > ").concat(n)]:{color:e.resultInfoIconColor},["".concat(t,"-warning ").concat(t,"-icon > ").concat(n)]:{color:e.resultWarningIconColor}}})(e)])((0,g.oX)(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:a,resultWarningIconColor:o,imageWidth:250,imageHeight:295}))]},e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:3*e.fontSizeHeading3,extraMargin:"".concat(e.paddingLG,"px 0 0 0")})),b={success:o.A,error:r.A,info:c.A,warning:d},k={404:()=>a.createElement("svg",{width:"252",height:"294"},a.createElement("title",null,"No Found"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),a.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),a.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),a.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),a.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),a.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),a.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),a.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),a.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),a.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),a.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),a.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),a.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),a.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),a.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),a.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>a.createElement("svg",{width:"254",height:"294"},a.createElement("title",null,"Server Error"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),a.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),a.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),a.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),a.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),a.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),a.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),a.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),a.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),a.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),a.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),a.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),a.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),a.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),a.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),a.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),a.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),a.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),a.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),a.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),a.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),a.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),a.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),a.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),a.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),a.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),a.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),a.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>a.createElement("svg",{width:"251",height:"294"},a.createElement("title",null,"Unauthorized"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),a.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),a.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),a.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),a.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),a.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),a.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),a.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),a.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),a.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),a.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),a.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),a.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),a.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),a.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),a.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),a.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),a.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),a.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),a.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),a.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),a.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),a.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),a.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),a.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),a.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},E=Object.keys(k),y=e=>{let{prefixCls:t,icon:n,status:o}=e,r=u()("".concat(t,"-icon"));if(E.includes("".concat(o))){let e=k[o];return a.createElement("div",{className:"".concat(r," ").concat(t,"-image")},a.createElement(e,null))}let c=a.createElement(b[o]);return null===n||!1===n?null:a.createElement("div",{className:r},n||c)},x=e=>{let{prefixCls:t,extra:n}=e;return n?a.createElement("div",{className:"".concat(t,"-extra")},n):null},C=e=>{let{prefixCls:t,className:n,rootClassName:o,subTitle:r,title:c,style:l,children:i,status:s="info",icon:d,extra:m}=e,{getPrefixCls:h,direction:f,result:g}=a.useContext(p.QO),b=h("result",t),[k,E,C]=v(b),A=u()(b,"".concat(b,"-").concat(s),n,null==g?void 0:g.className,o,{["".concat(b,"-rtl")]:"rtl"===f},E,C),O=Object.assign(Object.assign({},null==g?void 0:g.style),l);return k(a.createElement("div",{className:A,style:O},a.createElement(y,{prefixCls:b,status:s,icon:d}),a.createElement("div",{className:"".concat(b,"-title")},c),r&&a.createElement("div",{className:"".concat(b,"-subtitle")},r),a.createElement(x,{prefixCls:b,extra:m}),i&&a.createElement("div",{className:"".concat(b,"-content")},i)))};C.PRESENTED_IMAGE_403=k["403"],C.PRESENTED_IMAGE_404=k["404"],C.PRESENTED_IMAGE_500=k["500"];let A=C},59474:(e,t,n)=>{n.d(t,{A:()=>U});var a=n(12115),o=n(60872),r=n(84630),c=n(93084),l=n(51754),i=n(48776),s=n(29300),d=n.n(s),m=n(17980),u=n(15982),p=n(79630),h=n(27061),f=n(20235),g={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},v=function(){var e=(0,a.useRef)([]),t=(0,a.useRef)(null);return(0,a.useEffect)(function(){var n=Date.now(),a=!1;e.current.forEach(function(e){if(e){a=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(t.current=Date.now())}),e.current},b=n(86608),k=n(21858),E=n(71367),y=0,x=(0,E.A)();let C=function(e){var t=a.useState(),n=(0,k.A)(t,2),o=n[0],r=n[1];return a.useEffect(function(){var e;r("rc_progress_".concat((x?(e=y,y+=1):e="TEST_OR_SSR",e)))},[]),e||o};var A=function(e){var t=e.bg,n=e.children;return a.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function O(e,t){return Object.keys(e).map(function(n){var a=parseFloat(n),o="".concat(Math.floor(a*t),"%");return"".concat(e[n]," ").concat(o)})}var M=a.forwardRef(function(e,t){var n=e.prefixCls,o=e.color,r=e.gradientId,c=e.radius,l=e.style,i=e.ptg,s=e.strokeLinecap,d=e.strokeWidth,m=e.size,u=e.gapDegree,p=o&&"object"===(0,b.A)(o),h=m/2,f=a.createElement("circle",{className:"".concat(n,"-circle-path"),r:c,cx:h,cy:h,stroke:p?"#FFF":void 0,strokeLinecap:s,strokeWidth:d,opacity:+(0!==i),style:l,ref:t});if(!p)return f;var g="".concat(r,"-conic"),v=O(o,(360-u)/360),k=O(o,1),E="conic-gradient(from ".concat(u?"".concat(180+u/2,"deg"):"0deg",", ").concat(v.join(", "),")"),y="linear-gradient(to ".concat(u?"bottom":"top",", ").concat(k.join(", "),")");return a.createElement(a.Fragment,null,a.createElement("mask",{id:g},f),a.createElement("foreignObject",{x:0,y:0,width:m,height:m,mask:"url(#".concat(g,")")},a.createElement(A,{bg:y},a.createElement(A,{bg:E}))))}),S=function(e,t,n,a,o,r,c,l,i,s){var d=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,m=(100-a)/100*t;return"round"===i&&100!==a&&(m+=s/2)>=t&&(m=t-.01),{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:m+d,transform:"rotate(".concat(o+n/100*360*((360-r)/360)+(0===r?0:({bottom:0,top:180,left:90,right:-90})[c]),"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}},F=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function w(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}let j=function(e){var t,n,o,r,c=(0,h.A)((0,h.A)({},g),e),l=c.id,i=c.prefixCls,s=c.steps,m=c.strokeWidth,u=c.trailWidth,k=c.gapDegree,E=void 0===k?0:k,y=c.gapPosition,x=c.trailColor,A=c.strokeLinecap,O=c.style,j=c.className,z=c.strokeColor,B=c.percent,L=(0,f.A)(c,F),N=C(l),D="".concat(N,"-gradient"),W=50-m/2,I=2*Math.PI*W,P=E>0?90+E/2:-90,H=(360-E)/360*I,R="object"===(0,b.A)(s)?s:{count:s,gap:2},T=R.count,X=R.gap,_=w(B),V=w(z),K=V.find(function(e){return e&&"object"===(0,b.A)(e)}),G=K&&"object"===(0,b.A)(K)?"butt":A,Y=S(I,H,0,100,P,E,y,x,G,m),q=v();return a.createElement("svg",(0,p.A)({className:d()("".concat(i,"-circle"),j),viewBox:"0 0 ".concat(100," ").concat(100),style:O,id:l,role:"presentation"},L),!T&&a.createElement("circle",{className:"".concat(i,"-circle-trail"),r:W,cx:50,cy:50,stroke:x,strokeLinecap:G,strokeWidth:u||m,style:Y}),T?(t=Math.round(T*(_[0]/100)),n=100/T,o=0,Array(T).fill(null).map(function(e,r){var c=r<=t-1?V[0]:x,l=c&&"object"===(0,b.A)(c)?"url(#".concat(D,")"):void 0,s=S(I,H,o,n,P,E,y,c,"butt",m,X);return o+=(H-s.strokeDashoffset+X)*100/H,a.createElement("circle",{key:r,className:"".concat(i,"-circle-path"),r:W,cx:50,cy:50,stroke:l,strokeWidth:m,opacity:1,style:s,ref:function(e){q[r]=e}})})):(r=0,_.map(function(e,t){var n=V[t]||V[V.length-1],o=S(I,H,r,e,P,E,y,n,G,m);return r+=e,a.createElement(M,{key:t,color:n,ptg:e,radius:W,prefixCls:i,gradientId:D,style:o,strokeLinecap:G,strokeWidth:m,gapDegree:E,ref:function(e){q[t]=e},size:100})}).reverse()))};var z=n(97540),B=n(68057);function L(e){return!e||e<0?0:e>100?100:e}function N(e){let{success:t,successPercent:n}=e,a=n;return t&&"progress"in t&&(a=t.progress),t&&"percent"in t&&(a=t.percent),a}let D=(e,t,n)=>{var a,o,r,c;let l=-1,i=-1;if("step"===t){let t=n.steps,a=n.strokeWidth;"string"==typeof e||void 0===e?(l="small"===e?2:14,i=null!=a?a:8):"number"==typeof e?[l,i]=[e,e]:[l=14,i=8]=Array.isArray(e)?e:[e.width,e.height],l*=t}else if("line"===t){let t=null==n?void 0:n.strokeWidth;"string"==typeof e||void 0===e?i=t||("small"===e?6:8):"number"==typeof e?[l,i]=[e,e]:[l=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[l,i]="small"===e?[60,60]:[120,120]:"number"==typeof e?[l,i]=[e,e]:Array.isArray(e)&&(l=null!=(o=null!=(a=e[0])?a:e[1])?o:120,i=null!=(c=null!=(r=e[0])?r:e[1])?c:120));return[l,i]},W=e=>{let{prefixCls:t,trailColor:n=null,strokeLinecap:o="round",gapPosition:r,gapDegree:c,width:l=120,type:i,children:s,success:m,size:u=l,steps:p}=e,[h,f]=D(u,"circle"),{strokeWidth:g}=e;void 0===g&&(g=Math.max(3/h*100,6));let v=a.useMemo(()=>c||0===c?c:"dashboard"===i?75:void 0,[c,i]),b=(e=>{let{percent:t,success:n,successPercent:a}=e,o=L(N({success:n,successPercent:a}));return[o,L(L(t)-o)]})(e),k="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=(e=>{let{success:t={},strokeColor:n}=e,{strokeColor:a}=t;return[a||B.uy.green,n||null]})({success:m,strokeColor:e.strokeColor}),y=d()("".concat(t,"-inner"),{["".concat(t,"-circle-gradient")]:k}),x=a.createElement(j,{steps:p,percent:p?b[1]:b,strokeWidth:g,trailWidth:g,strokeColor:p?E[1]:E,strokeLinecap:o,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:r||"dashboard"===i&&"bottom"||void 0}),C=h<=20,A=a.createElement("div",{className:y,style:{width:h,height:f,fontSize:.15*h+6}},x,!C&&s);return C?a.createElement(z.A,{title:s},A):A};var I=n(99841),P=n(18184),H=n(45431),R=n(61388);let T="--progress-line-stroke-color",X="--progress-percent",_=e=>{let t=e?"100%":"-100%";return new I.Mo("antProgress".concat(e?"RTL":"LTR","Active"),{"0%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.1},"20%":{transform:"translateX(".concat(t,") scaleX(0)"),opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=(0,H.OF)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=(0,R.oX)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,P.dF)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},["".concat(t,"-outer")]:{display:"inline-flex",alignItems:"center",width:"100%"},["".concat(t,"-inner")]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},["".concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.defaultColor}},["".concat(t,"-success-bg, ").concat(t,"-bg")]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOutCirc)},["".concat(t,"-layout-bottom")]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",["".concat(t,"-text")]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},["".concat(t,"-bg")]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit","var(".concat(T,")")]},height:"100%",width:"calc(1 / var(".concat(X,") * 100%)"),display:"block"},["&".concat(t,"-bg-inner")]:{minWidth:"max-content","&::after":{content:"none"},["".concat(t,"-text-inner")]:{color:e.colorWhite,["&".concat(t,"-text-bright")]:{color:"rgba(0, 0, 0, 0.45)"}}}},["".concat(t,"-success-bg")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},["&".concat(t,"-text-outer")]:{width:"max-content"},["&".concat(t,"-text-outer").concat(t,"-text-start")]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},["".concat(t,"-text-inner")]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:"0 ".concat((0,I.zA)(e.paddingXXS)),["&".concat(t,"-text-start")]:{justifyContent:"start"},["&".concat(t,"-text-end")]:{justifyContent:"end"}},["&".concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:_(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},["&".concat(t,"-rtl").concat(t,"-status-active")]:{["".concat(t,"-bg::before")]:{animationName:_(!0)}},["&".concat(t,"-status-exception")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorError},["".concat(t,"-text")]:{color:e.colorError}},["&".concat(t,"-status-exception ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorError}},["&".concat(t,"-status-success")]:{["".concat(t,"-bg")]:{backgroundColor:e.colorSuccess},["".concat(t,"-text")]:{color:e.colorSuccess}},["&".concat(t,"-status-success ").concat(t,"-inner:not(").concat(t,"-circle-gradient)")]:{["".concat(t,"-circle-path")]:{stroke:e.colorSuccess}}})}})(n),(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-circle-trail")]:{stroke:e.remainingColor},["&".concat(t,"-circle ").concat(t,"-inner")]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},["&".concat(t,"-circle ").concat(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%)",[n]:{fontSize:e.circleIconFontSize}},["".concat(t,"-circle&-status-exception")]:{["".concat(t,"-text")]:{color:e.colorError}},["".concat(t,"-circle&-status-success")]:{["".concat(t,"-text")]:{color:e.colorSuccess}}},["".concat(t,"-inline-circle")]:{lineHeight:1,["".concat(t,"-inner")]:{verticalAlign:"bottom"}}}})(n),(e=>{let{componentCls:t}=e;return{[t]:{["".concat(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 ".concat(e.motionDurationSlow),"&-active":{backgroundColor:e.defaultColor}}}}}})(n),(e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{["".concat(t,"-small&-line, ").concat(t,"-small&-line ").concat(t,"-text ").concat(n)]:{fontSize:e.fontSizeSM}}}})(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:"".concat(e.fontSize/e.fontSizeSM,"em")}));var K=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let G=e=>{let{prefixCls:t,direction:n,percent:o,size:r,strokeWidth:c,strokeColor:l,strokeLinecap:i="round",children:s,trailColor:m=null,percentPosition:u,success:p}=e,{align:h,type:f}=u,g=l&&"string"!=typeof l?((e,t)=>{let{from:n=B.uy.blue,to:a=B.uy.blue,direction:o="rtl"===t?"to left":"to right"}=e,r=K(e,["from","to","direction"]);if(0!==Object.keys(r).length){let e=(e=>{let t=[];return Object.keys(e).forEach(n=>{let a=Number.parseFloat(n.replace(/%/g,""));Number.isNaN(a)||t.push({key:a,value:e[n]})}),(t=t.sort((e,t)=>e.key-t.key)).map(e=>{let{key:t,value:n}=e;return"".concat(n," ").concat(t,"%")}).join(", ")})(r),t="linear-gradient(".concat(o,", ").concat(e,")");return{background:t,[T]:t}}let c="linear-gradient(".concat(o,", ").concat(n,", ").concat(a,")");return{background:c,[T]:c}})(l,n):{[T]:l,background:l},v="square"===i||"butt"===i?0:void 0,[b,k]=D(null!=r?r:[-1,c||("small"===r?6:8)],"line",{strokeWidth:c}),E=Object.assign(Object.assign({width:"".concat(L(o),"%"),height:k,borderRadius:v},g),{[X]:L(o)/100}),y=N(e),x={width:"".concat(L(y),"%"),height:k,borderRadius:v,backgroundColor:null==p?void 0:p.strokeColor},C=a.createElement("div",{className:"".concat(t,"-inner"),style:{backgroundColor:m||void 0,borderRadius:v}},a.createElement("div",{className:d()("".concat(t,"-bg"),"".concat(t,"-bg-").concat(f)),style:E},"inner"===f&&s),void 0!==y&&a.createElement("div",{className:"".concat(t,"-success-bg"),style:x})),A="outer"===f&&"start"===h,O="outer"===f&&"end"===h;return"outer"===f&&"center"===h?a.createElement("div",{className:"".concat(t,"-layout-bottom")},C,s):a.createElement("div",{className:"".concat(t,"-outer"),style:{width:b<0?"100%":b}},A&&s,C,O&&s)},Y=e=>{let{size:t,steps:n,rounding:o=Math.round,percent:r=0,strokeWidth:c=8,strokeColor:l,trailColor:i=null,prefixCls:s,children:m}=e,u=o(r/100*n),[p,h]=D(null!=t?t:["small"===t?2:14,c],"step",{steps:n,strokeWidth:c}),f=p/n,g=Array.from({length:n});for(let e=0;et.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let Q=["normal","exception","active","success"],U=a.forwardRef((e,t)=>{let n,{prefixCls:s,className:p,rootClassName:h,steps:f,strokeColor:g,percent:v=0,size:b="default",showInfo:k=!0,type:E="line",status:y,format:x,style:C,percentPosition:A={}}=e,O=q(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:M="end",type:S="outer"}=A,F=Array.isArray(g)?g[0]:g,w="string"==typeof g||Array.isArray(g)?g:void 0,j=a.useMemo(()=>{if(F){let e="string"==typeof F?F:Object.values(F)[0];return new o.Y(e).isLight()}return!1},[g]),z=a.useMemo(()=>{var t,n;let a=N(e);return Number.parseInt(void 0!==a?null==(t=null!=a?a:0)?void 0:t.toString():null==(n=null!=v?v:0)?void 0:n.toString(),10)},[v,e.success,e.successPercent]),B=a.useMemo(()=>!Q.includes(y)&&z>=100?"success":y||"normal",[y,z]),{getPrefixCls:I,direction:P,progress:H}=a.useContext(u.QO),R=I("progress",s),[T,X,_]=V(R),K="line"===E,U=K&&!f,$=a.useMemo(()=>{let t;if(!k)return null;let n=N(e),o=x||(e=>"".concat(e,"%")),s=K&&j&&"inner"===S;return"inner"===S||x||"exception"!==B&&"success"!==B?t=o(L(v),L(n)):"exception"===B?t=K?a.createElement(l.A,null):a.createElement(i.A,null):"success"===B&&(t=K?a.createElement(r.A,null):a.createElement(c.A,null)),a.createElement("span",{className:d()("".concat(R,"-text"),{["".concat(R,"-text-bright")]:s,["".concat(R,"-text-").concat(M)]:U,["".concat(R,"-text-").concat(S)]:U}),title:"string"==typeof t?t:void 0},t)},[k,v,z,B,E,R,x]);"line"===E?n=f?a.createElement(Y,Object.assign({},e,{strokeColor:w,prefixCls:R,steps:"object"==typeof f?f.count:f}),$):a.createElement(G,Object.assign({},e,{strokeColor:F,prefixCls:R,direction:P,percentPosition:{align:M,type:S}}),$):("circle"===E||"dashboard"===E)&&(n=a.createElement(W,Object.assign({},e,{strokeColor:F,prefixCls:R,progressStatus:B}),$));let Z=d()(R,"".concat(R,"-status-").concat(B),{["".concat(R,"-").concat("dashboard"===E&&"circle"||E)]:"line"!==E,["".concat(R,"-inline-circle")]:"circle"===E&&D(b,"circle")[0]<=20,["".concat(R,"-line")]:U,["".concat(R,"-line-align-").concat(M)]:U,["".concat(R,"-line-position-").concat(S)]:U,["".concat(R,"-steps")]:f,["".concat(R,"-show-info")]:k,["".concat(R,"-").concat(b)]:"string"==typeof b,["".concat(R,"-rtl")]:"rtl"===P},null==H?void 0:H.className,p,h,X,_);return T(a.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==H?void 0:H.style),C),className:Z,role:"progressbar","aria-valuenow":z,"aria-valuemin":0,"aria-valuemax":100},(0,m.A)(O,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})},60924:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},81094:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))},81106:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115),o=n(89593),r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o.A})))},85189:(e,t,n)=>{n.d(t,{A:()=>G});var a=n(12115),o=n(29300),r=n.n(o),c=n(27061),l=n(21858),i=n(24756),s=n(26791),d=a.createContext(null),m=a.createContext({}),u=n(40419),p=n(79630),h=n(82870),f=n(17233),g=n(40032),v=n(20235),b=n(74686),k=["prefixCls","className","containerRef"];let E=function(e){var t=e.prefixCls,n=e.className,o=e.containerRef,c=(0,v.A)(e,k),l=a.useContext(m).panel,i=(0,b.xK)(l,o);return a.createElement("div",(0,p.A)({className:r()("".concat(t,"-content"),n),role:"dialog",ref:i},(0,g.A)(e,{aria:!0}),{"aria-modal":"true"},c))};var y=n(9587);function x(e){return"string"==typeof e&&String(Number(e))===e?((0,y.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var C={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=a.forwardRef(function(e,t){var n,o,i,s=e.prefixCls,m=e.open,v=e.placement,b=e.inline,k=e.push,y=e.forceRender,A=e.autoFocus,O=e.keyboard,M=e.classNames,S=e.rootClassName,F=e.rootStyle,w=e.zIndex,j=e.className,z=e.id,B=e.style,L=e.motion,N=e.width,D=e.height,W=e.children,I=e.mask,P=e.maskClosable,H=e.maskMotion,R=e.maskClassName,T=e.maskStyle,X=e.afterOpenChange,_=e.onClose,V=e.onMouseEnter,K=e.onMouseOver,G=e.onMouseLeave,Y=e.onClick,q=e.onKeyDown,Q=e.onKeyUp,U=e.styles,$=e.drawerRender,Z=a.useRef(),J=a.useRef(),ee=a.useRef();a.useImperativeHandle(t,function(){return Z.current}),a.useEffect(function(){if(m&&A){var e;null==(e=Z.current)||e.focus({preventScroll:!0})}},[m]);var et=a.useState(!1),en=(0,l.A)(et,2),ea=en[0],eo=en[1],er=a.useContext(d),ec=null!=(n=null!=(o=null==(i="boolean"==typeof k?k?{}:{distance:0}:k||{})?void 0:i.distance)?o:null==er?void 0:er.pushDistance)?n:180,el=a.useMemo(function(){return{pushDistance:ec,push:function(){eo(!0)},pull:function(){eo(!1)}}},[ec]);a.useEffect(function(){var e,t;m?null==er||null==(e=er.push)||e.call(er):null==er||null==(t=er.pull)||t.call(er)},[m]),a.useEffect(function(){return function(){var e;null==er||null==(e=er.pull)||e.call(er)}},[]);var ei=a.createElement(h.Ay,(0,p.A)({key:"mask"},H,{visible:I&&m}),function(e,t){var n=e.className,o=e.style;return a.createElement("div",{className:r()("".concat(s,"-mask"),n,null==M?void 0:M.mask,R),style:(0,c.A)((0,c.A)((0,c.A)({},o),T),null==U?void 0:U.mask),onClick:P&&m?_:void 0,ref:t})}),es="function"==typeof L?L(v):L,ed={};if(ea&&ec)switch(v){case"top":ed.transform="translateY(".concat(ec,"px)");break;case"bottom":ed.transform="translateY(".concat(-ec,"px)");break;case"left":ed.transform="translateX(".concat(ec,"px)");break;default:ed.transform="translateX(".concat(-ec,"px)")}"left"===v||"right"===v?ed.width=x(N):ed.height=x(D);var em={onMouseEnter:V,onMouseOver:K,onMouseLeave:G,onClick:Y,onKeyDown:q,onKeyUp:Q},eu=a.createElement(h.Ay,(0,p.A)({key:"panel"},es,{visible:m,forceRender:y,onVisibleChanged:function(e){null==X||X(e)},removeOnLeave:!1,leavedClassName:"".concat(s,"-content-wrapper-hidden")}),function(t,n){var o=t.className,l=t.style,i=a.createElement(E,(0,p.A)({id:z,containerRef:n,prefixCls:s,className:r()(j,null==M?void 0:M.content),style:(0,c.A)((0,c.A)({},B),null==U?void 0:U.content)},(0,g.A)(e,{aria:!0}),em),W);return a.createElement("div",(0,p.A)({className:r()("".concat(s,"-content-wrapper"),null==M?void 0:M.wrapper,o),style:(0,c.A)((0,c.A)((0,c.A)({},ed),l),null==U?void 0:U.wrapper)},(0,g.A)(e,{data:!0})),$?$(i):i)}),ep=(0,c.A)({},F);return w&&(ep.zIndex=w),a.createElement(d.Provider,{value:el},a.createElement("div",{className:r()(s,"".concat(s,"-").concat(v),S,(0,u.A)((0,u.A)({},"".concat(s,"-open"),m),"".concat(s,"-inline"),b)),style:ep,tabIndex:-1,ref:Z,onKeyDown:function(e){var t,n,a=e.keyCode,o=e.shiftKey;switch(a){case f.A.TAB:a===f.A.TAB&&(o||document.activeElement!==ee.current?o&&document.activeElement===J.current&&(null==(n=ee.current)||n.focus({preventScroll:!0})):null==(t=J.current)||t.focus({preventScroll:!0}));break;case f.A.ESC:_&&O&&(e.stopPropagation(),_(e))}}},ei,a.createElement("div",{tabIndex:0,ref:J,style:C,"aria-hidden":"true","data-sentinel":"start"}),eu,a.createElement("div",{tabIndex:0,ref:ee,style:C,"aria-hidden":"true","data-sentinel":"end"})))});let O=function(e){var t=e.open,n=e.prefixCls,o=e.placement,r=e.autoFocus,d=e.keyboard,u=e.width,p=e.mask,h=void 0===p||p,f=e.maskClosable,g=e.getContainer,v=e.forceRender,b=e.afterOpenChange,k=e.destroyOnClose,E=e.onMouseEnter,y=e.onMouseOver,x=e.onMouseLeave,C=e.onClick,O=e.onKeyDown,M=e.onKeyUp,S=e.panelRef,F=a.useState(!1),w=(0,l.A)(F,2),j=w[0],z=w[1],B=a.useState(!1),L=(0,l.A)(B,2),N=L[0],D=L[1];(0,s.A)(function(){D(!0)},[]);var W=!!N&&void 0!==t&&t,I=a.useRef(),P=a.useRef();(0,s.A)(function(){W&&(P.current=document.activeElement)},[W]);var H=a.useMemo(function(){return{panel:S}},[S]);if(!v&&!j&&!W&&k)return null;var R=(0,c.A)((0,c.A)({},e),{},{open:W,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===o?"right":o,autoFocus:void 0===r||r,keyboard:void 0===d||d,width:void 0===u?378:u,mask:h,maskClosable:void 0===f||f,inline:!1===g,afterOpenChange:function(e){var t,n;z(e),null==b||b(e),e||!P.current||null!=(t=I.current)&&t.contains(P.current)||null==(n=P.current)||n.focus({preventScroll:!0})},ref:I},{onMouseEnter:E,onMouseOver:y,onMouseLeave:x,onClick:C,onKeyDown:O,onKeyUp:M});return a.createElement(m.Provider,{value:H},a.createElement(i.A,{open:W||v||j,autoDestroy:!1,getContainer:g,autoLock:h&&(W||j)},a.createElement(A,R)))};var M=n(32934),S=n(9184),F=n(9130),w=n(93666),j=n(6833),z=n(15982),B=n(2732),L=n(50497),N=n(70802);let D=e=>{var t,n;let o,{prefixCls:c,ariaId:l,title:i,footer:s,extra:d,closable:m,loading:u,onClose:p,headerStyle:h,bodyStyle:f,footerStyle:g,children:v,classNames:b,styles:k}=e,E=(0,z.TP)("drawer");o=!1===m?void 0:void 0===m||!0===m?"start":(null==m?void 0:m.placement)==="end"?"end":"start";let y=a.useCallback(e=>a.createElement("button",{type:"button",onClick:p,className:r()("".concat(c,"-close"),{["".concat(c,"-close-").concat(o)]:"end"===o})},e),[p,c,o]),[x,C]=(0,L.$)((0,L.d)(e),(0,L.d)(E),{closable:!0,closeIconRender:y});return a.createElement(a.Fragment,null,(()=>{var e,t;return i||x?a.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null==(e=E.styles)?void 0:e.header),h),null==k?void 0:k.header),className:r()("".concat(c,"-header"),{["".concat(c,"-header-close-only")]:x&&!i&&!d},null==(t=E.classNames)?void 0:t.header,null==b?void 0:b.header)},a.createElement("div",{className:"".concat(c,"-header-title")},"start"===o&&C,i&&a.createElement("div",{className:"".concat(c,"-title"),id:l},i)),d&&a.createElement("div",{className:"".concat(c,"-extra")},d),"end"===o&&C):null})(),a.createElement("div",{className:r()("".concat(c,"-body"),null==b?void 0:b.body,null==(t=E.classNames)?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null==(n=E.styles)?void 0:n.body),f),null==k?void 0:k.body)},u?a.createElement(N.A,{active:!0,title:!1,paragraph:{rows:5},className:"".concat(c,"-body-skeleton")}):v),(()=>{var e,t;return s?a.createElement("div",{className:r()("".concat(c,"-footer"),null==(e=E.classNames)?void 0:e.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign(Object.assign({},null==(t=E.styles)?void 0:t.footer),g),null==k?void 0:k.footer)},s):null})())};var W=n(99841),I=n(18184),P=n(45431),H=n(61388);let R=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),T=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(t)}}},R({opacity:e},{opacity:1})),X=(0,P.OF)("Drawer",e=>{let t=(0,H.oX)(e,{});return[(e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:a,colorBgMask:o,colorBgElevated:r,motionDurationSlow:c,motionDurationMid:l,paddingXS:i,padding:s,paddingLG:d,fontSizeLG:m,lineHeightLG:u,lineWidth:p,lineType:h,colorSplit:f,marginXS:g,colorIcon:v,colorIconHover:b,colorBgTextHover:k,colorBgTextActive:E,colorText:y,fontWeightStrong:x,footerPaddingBlock:C,footerPaddingInline:A,calc:O}=e,M="".concat(n,"-content-wrapper");return{[n]:{position:"fixed",inset:0,zIndex:a,pointerEvents:"none",color:y,"&-pure":{position:"relative",background:r,display:"flex",flexDirection:"column",["&".concat(n,"-left")]:{boxShadow:e.boxShadowDrawerLeft},["&".concat(n,"-right")]:{boxShadow:e.boxShadowDrawerRight},["&".concat(n,"-top")]:{boxShadow:e.boxShadowDrawerUp},["&".concat(n,"-bottom")]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},["".concat(n,"-mask")]:{position:"absolute",inset:0,zIndex:a,background:o,pointerEvents:"auto"},[M]:{position:"absolute",zIndex:a,maxWidth:"100vw",transition:"all ".concat(c),"&-hidden":{display:"none"}},["&-left > ".concat(M)]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},["&-right > ".concat(M)]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},["&-top > ".concat(M)]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},["&-bottom > ".concat(M)]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},["".concat(n,"-content")]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:r,pointerEvents:"auto"},["".concat(n,"-header")]:{display:"flex",flex:0,alignItems:"center",padding:"".concat((0,W.zA)(s)," ").concat((0,W.zA)(d)),fontSize:m,lineHeight:u,borderBottom:"".concat((0,W.zA)(p)," ").concat(h," ").concat(f),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},["".concat(n,"-extra")]:{flex:"none"},["".concat(n,"-close")]:Object.assign({display:"inline-flex",width:O(m).add(i).equal(),height:O(m).add(i).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:v,fontWeight:x,fontSize:m,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:"all ".concat(l),textRendering:"auto",["&".concat(n,"-close-end")]:{marginInlineStart:g},["&:not(".concat(n,"-close-end)")]:{marginInlineEnd:g},"&:hover":{color:b,backgroundColor:k,textDecoration:"none"},"&:active":{backgroundColor:E}},(0,I.K8)(e)),["".concat(n,"-title")]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:m,lineHeight:u},["".concat(n,"-body")]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",["".concat(n,"-body-skeleton")]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},["".concat(n,"-footer")]:{flexShrink:0,padding:"".concat((0,W.zA)(C)," ").concat((0,W.zA)(A)),borderTop:"".concat((0,W.zA)(p)," ").concat(h," ").concat(f)},"&-rtl":{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{["".concat(t,"-mask-motion")]:T(0,n),["".concat(t,"-panel-motion")]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{["&-".concat(t)]:[T(.7,n),R({transform:(e=>{let t="100%";return({left:"translateX(-".concat(t,")"),right:"translateX(".concat(t,")"),top:"translateY(-".concat(t,")"),bottom:"translateY(".concat(t,")")})[e]})(t)},{transform:"none"})]}),{})}}})(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var _=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let V={distance:180},K=e=>{let{rootClassName:t,width:n,height:o,size:c="default",mask:l=!0,push:i=V,open:s,afterOpenChange:d,onClose:m,prefixCls:u,getContainer:p,panelRef:h=null,style:f,className:g,"aria-labelledby":v,visible:k,afterVisibleChange:E,maskStyle:y,drawerStyle:x,contentWrapperStyle:C,destroyOnClose:A,destroyOnHidden:L}=e,N=_(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),W=(0,M.A)(),I=N.title?W:void 0,{getPopupContainer:P,getPrefixCls:H,direction:R,className:T,style:K,classNames:G,styles:Y}=(0,z.TP)("drawer"),q=H("drawer",u),[Q,U,$]=X(q),Z=void 0===p&&P?()=>P(document.body):p,J=r()({"no-mask":!l,["".concat(q,"-rtl")]:"rtl"===R},t,U,$),ee=a.useMemo(()=>null!=n?n:"large"===c?736:378,[n,c]),et=a.useMemo(()=>null!=o?o:"large"===c?736:378,[o,c]),en={motionName:(0,w.b)(q,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ea=(0,B.f)(),eo=(0,b.K4)(h,ea),[er,ec]=(0,F.YK)("Drawer",N.zIndex),{classNames:el={},styles:ei={}}=N;return Q(a.createElement(S.A,{form:!0,space:!0},a.createElement(j.A.Provider,{value:ec},a.createElement(O,Object.assign({prefixCls:q,onClose:m,maskMotion:en,motion:e=>({motionName:(0,w.b)(q,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},N,{classNames:{mask:r()(el.mask,G.mask),content:r()(el.content,G.content),wrapper:r()(el.wrapper,G.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ei.mask),y),Y.mask),content:Object.assign(Object.assign(Object.assign({},ei.content),x),Y.content),wrapper:Object.assign(Object.assign(Object.assign({},ei.wrapper),C),Y.wrapper)},open:null!=s?s:k,mask:l,push:i,width:ee,height:et,style:Object.assign(Object.assign({},K),f),className:r()(T,g),rootClassName:J,getContainer:Z,afterOpenChange:null!=d?d:E,panelRef:eo,zIndex:er,"aria-labelledby":null!=v?v:I,destroyOnClose:null!=L?L:A}),a.createElement(D,Object.assign({prefixCls:q},N,{ariaId:I,onClose:m}))))))};K._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:o,placement:c="right"}=e,l=_(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=a.useContext(z.QO),s=i("drawer",t),[d,m,u]=X(s),p=r()(s,"".concat(s,"-pure"),"".concat(s,"-").concat(c),m,u,o);return d(a.createElement("div",{className:p,style:n},a.createElement(D,Object.assign({prefixCls:s},l))))};let G=K},94326:(e,t,n)=>{n.d(t,{Ay:()=>y});var a=n(85757),o=n(12115),r=n(99209),c=n(15982),l=n(57845),i=n(25856),s=n(16622),d=n(24848),m=n(31390);let u=null,p=e=>e(),h=[],f={};function g(){let{getContainer:e,duration:t,rtl:n,maxCount:a,top:o}=f,r=(null==e?void 0:e())||document.body;return{getContainer:()=>r,duration:t,rtl:n,maxCount:a,top:o}}let v=o.forwardRef((e,t)=>{let{messageConfig:n,sync:a}=e,{getPrefixCls:l}=(0,o.useContext)(c.QO),i=f.prefixCls||l("message"),s=(0,o.useContext)(r.B),[m,u]=(0,d.y)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},m);return Object.keys(e).forEach(t=>{e[t]=function(){for(var e=arguments.length,n=Array(e),o=0;o{let[n,a]=o.useState(g),r=()=>{a(g)};o.useEffect(r,[]);let c=(0,l.cr)(),i=c.getRootPrefixCls(),s=c.getIconPrefixCls(),d=c.getTheme(),m=o.createElement(v,{ref:t,sync:r,messageConfig:n});return o.createElement(l.Ay,{prefixCls:i,iconPrefixCls:s,theme:d},c.holderRender?c.holderRender(m):m)}),k=()=>{if(!u){let e=document.createDocumentFragment(),t={fragment:e};u=t,p(()=>{(0,i.L)()(o.createElement(b,{ref:e=>{let{instance:n,sync:a}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=a,k())})}}),e)});return}u.instance&&(h.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":p(()=>{let t=u.instance.open(Object.assign(Object.assign({},f),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":p(()=>{null==u||u.instance.destroy(e.key)});break;default:p(()=>{var n;let o=(n=u.instance)[t].apply(n,(0,a.A)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),h=[])},E={open:function(e){let t=(0,m.E)(t=>{let n,a={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return h.push(a),()=>{n?p(()=>{n()}):a.skipped=!0}});return k(),t},destroy:e=>{h.push({type:"destroy",key:e}),k()},config:function(e){f=Object.assign(Object.assign({},f),e),p(()=>{var e;null==(e=null==u?void 0:u.sync)||e.call(u)})},useMessage:d.A,_InternalPanelDoNotUseOrYouWillBeFired:s.Ay};["success","info","warning","error","loading"].forEach(e=>{E[e]=function(){for(var t=arguments.length,n=Array(t),a=0;a{let a,o={type:e,args:n,resolve:t,setCloseFn:e=>{a=e}};return h.push(o),()=>{a?p(()=>{a()}):o.skipped=!0}});return k(),o}});let y=E},94600:(e,t,n)=>{n.d(t,{A:()=>f});var a=n(12115),o=n(29300),r=n.n(o),c=n(15982),l=n(9836),i=n(99841),s=n(18184),d=n(45431),m=n(61388);let u=(0,d.OF)("Divider",e=>{let t=(0,m.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:a,lineWidth:o,textPaddingInline:r,orientationMargin:c,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},(0,s.dF)(e)),{borderBlockStart:"".concat((0,i.zA)(o)," solid ").concat(a),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,i.zA)(o)," solid ").concat(a)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,i.zA)(e.marginLG)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,i.zA)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(a),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,i.zA)(o)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(c," * 100%)")},"&::after":{width:"calc(100% - ".concat(c," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(c," * 100%)")},"&::after":{width:"calc(".concat(c," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:r},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:"".concat((0,i.zA)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:"".concat((0,i.zA)(o)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{["&".concat(t)]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var p=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let h={small:"sm",middle:"md"},f=e=>{let{getPrefixCls:t,direction:n,className:o,style:i}=(0,c.TP)("divider"),{prefixCls:s,type:d="horizontal",orientation:m="center",orientationMargin:f,className:g,rootClassName:v,children:b,dashed:k,variant:E="solid",plain:y,style:x,size:C}=e,A=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),O=t("divider",s),[M,S,F]=u(O),w=h[(0,l.A)(C)],j=!!b,z=a.useMemo(()=>"left"===m?"rtl"===n?"end":"start":"right"===m?"rtl"===n?"start":"end":m,[n,m]),B="start"===z&&null!=f,L="end"===z&&null!=f,N=r()(O,o,S,F,"".concat(O,"-").concat(d),{["".concat(O,"-with-text")]:j,["".concat(O,"-with-text-").concat(z)]:j,["".concat(O,"-dashed")]:!!k,["".concat(O,"-").concat(E)]:"solid"!==E,["".concat(O,"-plain")]:!!y,["".concat(O,"-rtl")]:"rtl"===n,["".concat(O,"-no-default-orientation-margin-start")]:B,["".concat(O,"-no-default-orientation-margin-end")]:L,["".concat(O,"-").concat(w)]:!!w},g,v),D=a.useMemo(()=>"number"==typeof f?f:/^\d+$/.test(f)?Number(f):f,[f]);return M(a.createElement("div",Object.assign({className:N,style:Object.assign(Object.assign({},i),x)},A,{role:"separator"}),b&&"vertical"!==d&&a.createElement("span",{className:"".concat(O,"-inner-text"),style:{marginInlineStart:B?D:void 0,marginInlineEnd:L?D:void 0}},b)))}},96194:(e,t,n)=>{n.d(t,{A:()=>y});var a=n(61216),o=n(32655),r=n(30041),c=n(12115),l=n(29300),i=n.n(l),s=n(55121),d=n(31776),m=n(15982),u=n(68151),p=n(85051),h=n(94480),f=n(41222),g=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 o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let v=(0,d.U)(e=>{let{prefixCls:t,className:n,closeIcon:a,closable:o,type:r,title:l,children:d,footer:v}=e,b=g(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:k}=c.useContext(m.QO),E=k(),y=t||k("modal"),x=(0,u.A)(E),[C,A,O]=(0,f.Ay)(y,x),M="".concat(y,"-confirm"),S={};return S=r?{closable:null!=o&&o,title:"",footer:"",children:c.createElement(p.k,Object.assign({},e,{prefixCls:y,confirmPrefixCls:M,rootPrefixCls:E,content:d}))}:{closable:null==o||o,title:l,footer:null!==v&&c.createElement(h.w,Object.assign({},e)),children:d},C(c.createElement(s.Z,Object.assign({prefixCls:y,className:i()(A,"".concat(y,"-pure-panel"),r&&M,r&&"".concat(M,"-").concat(r),n,O,x)},b,{closeIcon:(0,h.O)(y,a),closable:o},S)))});var b=n(35149);function k(e){return(0,a.Ay)((0,a.fp)(e))}let E=r.A;E.useModal=b.A,E.info=function(e){return(0,a.Ay)((0,a.$D)(e))},E.success=function(e){return(0,a.Ay)((0,a.Ej)(e))},E.error=function(e){return(0,a.Ay)((0,a.jT)(e))},E.warning=k,E.warn=k,E.confirm=function(e){return(0,a.Ay)((0,a.lr)(e))},E.destroyAll=function(){for(;o.A.length;){let e=o.A.pop();e&&e()}},E.config=a.FB,E._InternalPanelDoNotUseOrYouWillBeFired=v;let y=E},98527:(e,t,n)=>{n.d(t,{A:()=>a});let a={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"}},99165:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(12115);let o={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-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z"}}]},name:"folder-open",theme:"filled"};var r=n(75659);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement(r.A,c({},e,{ref:t,icon:o})))}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-1b7be1dabaeee7b9.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-e8b0e6ebd55a6930.js similarity index 98% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-1b7be1dabaeee7b9.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-e8b0e6ebd55a6930.js index 0468be7d..1605a105 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-1b7be1dabaeee7b9.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9879-e8b0e6ebd55a6930.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9879],{11261:(t,e,o)=>{o.d(e,{a:()=>d,A:()=>w});var n=o(27061),r=o(79630),a=o(40419),i=o(86608),c=o(29300),l=o.n(c),s=o(12115),u=o(43717);let d=s.forwardRef(function(t,e){var o,c,d,p=t.inputElement,f=t.children,h=t.prefixCls,m=t.prefix,g=t.suffix,v=t.addonBefore,b=t.addonAfter,w=t.className,y=t.style,x=t.disabled,A=t.readOnly,C=t.focused,E=t.triggerFocus,S=t.allowClear,O=t.value,R=t.handleReset,k=t.hidden,z=t.classes,j=t.classNames,_=t.dataAttrs,B=t.styles,M=t.components,P=t.onClear,N=null!=f?f:p,I=(null==M?void 0:M.affixWrapper)||"span",T=(null==M?void 0:M.groupWrapper)||"span",L=(null==M?void 0:M.wrapper)||"span",W=(null==M?void 0:M.groupAddon)||"span",H=(0,s.useRef)(null),D=(0,u.OL)(t),F=(0,s.cloneElement)(N,{value:O,className:l()(null==(o=N.props)?void 0:o.className,!D&&(null==j?void 0:j.variant))||null}),V=(0,s.useRef)(null);if(s.useImperativeHandle(e,function(){return{nativeElement:V.current||H.current}}),D){var X=null;if(S){var q=!x&&!A&&O,Y="".concat(h,"-clear-icon"),G="object"===(0,i.A)(S)&&null!=S&&S.clearIcon?S.clearIcon:"✖";X=s.createElement("button",{type:"button",tabIndex:-1,onClick:function(t){null==R||R(t),null==P||P()},onMouseDown:function(t){return t.preventDefault()},className:l()(Y,(0,a.A)((0,a.A)({},"".concat(Y,"-hidden"),!q),"".concat(Y,"-has-suffix"),!!g))},G)}var K="".concat(h,"-affix-wrapper"),U=l()(K,(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},"".concat(h,"-disabled"),x),"".concat(K,"-disabled"),x),"".concat(K,"-focused"),C),"".concat(K,"-readonly"),A),"".concat(K,"-input-with-clear-btn"),g&&S&&O),null==z?void 0:z.affixWrapper,null==j?void 0:j.affixWrapper,null==j?void 0:j.variant),Z=(g||S)&&s.createElement("span",{className:l()("".concat(h,"-suffix"),null==j?void 0:j.suffix),style:null==B?void 0:B.suffix},X,g);F=s.createElement(I,(0,r.A)({className:U,style:null==B?void 0:B.affixWrapper,onClick:function(t){var e;null!=(e=H.current)&&e.contains(t.target)&&(null==E||E())}},null==_?void 0:_.affixWrapper,{ref:H}),m&&s.createElement("span",{className:l()("".concat(h,"-prefix"),null==j?void 0:j.prefix),style:null==B?void 0:B.prefix},m),F,Z)}if((0,u.bk)(t)){var Q="".concat(h,"-group"),J="".concat(Q,"-addon"),$="".concat(Q,"-wrapper"),tt=l()("".concat(h,"-wrapper"),Q,null==z?void 0:z.wrapper,null==j?void 0:j.wrapper),te=l()($,(0,a.A)({},"".concat($,"-disabled"),x),null==z?void 0:z.group,null==j?void 0:j.groupWrapper);F=s.createElement(T,{className:te,ref:V},s.createElement(L,{className:tt},v&&s.createElement(W,{className:J},v),F,b&&s.createElement(W,{className:J},b)))}return s.cloneElement(F,{className:l()(null==(c=F.props)?void 0:c.className,w)||null,style:(0,n.A)((0,n.A)({},null==(d=F.props)?void 0:d.style),y),hidden:k})});var p=o(85757),f=o(21858),h=o(20235),m=o(48804),g=o(17980),v=o(52032),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];let w=(0,s.forwardRef)(function(t,e){var o,i=t.autoComplete,c=t.onChange,w=t.onFocus,y=t.onBlur,x=t.onPressEnter,A=t.onKeyDown,C=t.onKeyUp,E=t.prefixCls,S=void 0===E?"rc-input":E,O=t.disabled,R=t.htmlSize,k=t.className,z=t.maxLength,j=t.suffix,_=t.showCount,B=t.count,M=t.type,P=t.classes,N=t.classNames,I=t.styles,T=t.onCompositionStart,L=t.onCompositionEnd,W=(0,h.A)(t,b),H=(0,s.useState)(!1),D=(0,f.A)(H,2),F=D[0],V=D[1],X=(0,s.useRef)(!1),q=(0,s.useRef)(!1),Y=(0,s.useRef)(null),G=(0,s.useRef)(null),K=function(t){Y.current&&(0,u.F4)(Y.current,t)},U=(0,m.A)(t.defaultValue,{value:t.value}),Z=(0,f.A)(U,2),Q=Z[0],J=Z[1],$=null==Q?"":String(Q),tt=(0,s.useState)(null),te=(0,f.A)(tt,2),to=te[0],tn=te[1],tr=(0,v.A)(B,_),ta=tr.max||z,ti=tr.strategy($),tc=!!ta&&ti>ta;(0,s.useImperativeHandle)(e,function(){var t;return{focus:K,blur:function(){var t;null==(t=Y.current)||t.blur()},setSelectionRange:function(t,e,o){var n;null==(n=Y.current)||n.setSelectionRange(t,e,o)},select:function(){var t;null==(t=Y.current)||t.select()},input:Y.current,nativeElement:(null==(t=G.current)?void 0:t.nativeElement)||Y.current}}),(0,s.useEffect)(function(){q.current&&(q.current=!1),V(function(t){return(!t||!O)&&t})},[O]);var tl=function(t,e,o){var n,r,a=e;if(!X.current&&tr.exceedFormatter&&tr.max&&tr.strategy(e)>tr.max)a=tr.exceedFormatter(e,{max:tr.max}),e!==a&&tn([(null==(n=Y.current)?void 0:n.selectionStart)||0,(null==(r=Y.current)?void 0:r.selectionEnd)||0]);else if("compositionEnd"===o.source)return;J(a),Y.current&&(0,u.gS)(Y.current,t,c,a)};(0,s.useEffect)(function(){if(to){var t;null==(t=Y.current)||t.setSelectionRange.apply(t,(0,p.A)(to))}},[to]);var ts=tc&&"".concat(S,"-out-of-range");return s.createElement(d,(0,r.A)({},W,{prefixCls:S,className:l()(k,ts),handleReset:function(t){J(""),K(),Y.current&&(0,u.gS)(Y.current,t,c)},value:$,focused:F,triggerFocus:K,suffix:function(){var t=Number(ta)>0;if(j||tr.show){var e=tr.showFormatter?tr.showFormatter({value:$,count:ti,maxLength:ta}):"".concat(ti).concat(t?" / ".concat(ta):"");return s.createElement(s.Fragment,null,tr.show&&s.createElement("span",{className:l()("".concat(S,"-show-count-suffix"),(0,a.A)({},"".concat(S,"-show-count-has-suffix"),!!j),null==N?void 0:N.count),style:(0,n.A)({},null==I?void 0:I.count)},e),j)}return null}(),disabled:O,classes:P,classNames:N,styles:I,ref:G}),(o=(0,g.A)(t,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),s.createElement("input",(0,r.A)({autoComplete:i},o,{onChange:function(t){tl(t,t.target.value,{source:"change"})},onFocus:function(t){V(!0),null==w||w(t)},onBlur:function(t){q.current&&(q.current=!1),V(!1),null==y||y(t)},onKeyDown:function(t){x&&"Enter"===t.key&&!q.current&&(q.current=!0,x(t)),null==A||A(t)},onKeyUp:function(t){"Enter"===t.key&&(q.current=!1),null==C||C(t)},className:l()(S,(0,a.A)({},"".concat(S,"-disabled"),O),null==N?void 0:N.input),style:null==I?void 0:I.input,ref:Y,size:R,type:void 0===M?"text":M,onCompositionStart:function(t){X.current=!0,null==T||T(t)},onCompositionEnd:function(t){X.current=!1,tl(t,t.currentTarget.value,{source:"compositionEnd"}),null==L||L(t)}}))))})},16598:(t,e,o)=>{o.d(e,{z:()=>i,A:()=>v});var n=o(29300),r=o.n(n),a=o(12115);function i(t){var e=t.children,o=t.prefixCls,n=t.id,i=t.overlayInnerStyle,c=t.bodyClassName,l=t.className,s=t.style;return a.createElement("div",{className:r()("".concat(o,"-content"),l),style:s},a.createElement("div",{className:r()("".concat(o,"-inner"),c),id:n,role:"tooltip",style:i},"function"==typeof e?e():e))}var c=o(79630),l=o(27061),s=o(20235),u=o(56980),d={shiftX:64,adjustY:1},p={adjustX:1,shiftY:!0},f=[0,0],h={left:{points:["cr","cl"],overflow:p,offset:[-4,0],targetOffset:f},right:{points:["cl","cr"],overflow:p,offset:[4,0],targetOffset:f},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:f},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:f},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:f},leftTop:{points:["tr","tl"],overflow:p,offset:[-4,0],targetOffset:f},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:f},rightTop:{points:["tl","tr"],overflow:p,offset:[4,0],targetOffset:f},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:f},rightBottom:{points:["bl","br"],overflow:p,offset:[4,0],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:f},leftBottom:{points:["br","bl"],overflow:p,offset:[-4,0],targetOffset:f}},m=o(32934),g=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"];let v=(0,a.forwardRef)(function(t,e){var o,n,d,p=t.overlayClassName,f=t.trigger,v=t.mouseEnterDelay,b=t.mouseLeaveDelay,w=t.overlayStyle,y=t.prefixCls,x=void 0===y?"rc-tooltip":y,A=t.children,C=t.onVisibleChange,E=t.afterVisibleChange,S=t.transitionName,O=t.animation,R=t.motion,k=t.placement,z=t.align,j=t.destroyTooltipOnHide,_=t.defaultVisible,B=t.getTooltipContainer,M=t.overlayInnerStyle,P=(t.arrowContent,t.overlay),N=t.id,I=t.showArrow,T=t.classNames,L=t.styles,W=(0,s.A)(t,g),H=(0,m.A)(N),D=(0,a.useRef)(null);(0,a.useImperativeHandle)(e,function(){return D.current});var F=(0,l.A)({},W);return"visible"in t&&(F.popupVisible=t.visible),a.createElement(u.A,(0,c.A)({popupClassName:r()(p,null==T?void 0:T.root),prefixCls:x,popup:function(){return a.createElement(i,{key:"content",prefixCls:x,id:H,bodyClassName:null==T?void 0:T.body,overlayInnerStyle:(0,l.A)((0,l.A)({},M),null==L?void 0:L.body)},P)},action:void 0===f?["hover"]:f,builtinPlacements:h,popupPlacement:void 0===k?"right":k,ref:D,popupAlign:void 0===z?{}:z,getPopupContainer:B,onPopupVisibleChange:C,afterPopupVisibleChange:E,popupTransitionName:S,popupAnimation:O,popupMotion:R,defaultPopupVisible:_,autoDestroy:void 0!==j&&j,mouseLeaveDelay:void 0===b?.1:b,popupStyle:(0,l.A)((0,l.A)({},w),null==L?void 0:L.root),mouseEnterDelay:void 0===v?0:v,arrow:void 0===I||I},F),(n=(null==(o=a.Children.only(A))?void 0:o.props)||{},d=(0,l.A)((0,l.A)({},n),{},{"aria-describedby":P?H:null}),a.cloneElement(A,d)))})},18741:(t,e,o)=>{o.d(e,{A:()=>r});var n=o(68495);function r(t,e){return n.s.reduce((o,n)=>{let r=t["".concat(n,"1")],a=t["".concat(n,"3")],i=t["".concat(n,"6")],c=t["".concat(n,"7")];return Object.assign(Object.assign({},o),e(n,{lightColor:r,lightBorderColor:a,darkColor:i,textColor:c}))},{})}},19086:(t,e,o)=>{o.d(e,{C:()=>r,b:()=>a});var n=o(61388);function r(t){return(0,n.oX)(t,{inputAffixPadding:t.paddingXXS})}let a=t=>{let{controlHeight:e,fontSize:o,lineHeight:n,lineWidth:r,controlHeightSM:a,controlHeightLG:i,fontSizeLG:c,lineHeightLG:l,paddingSM:s,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:h,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:w,inputFontSize:y,inputFontSizeLG:x,inputFontSizeSM:A}=t,C=y||o,E=A||C,S=x||c;return{paddingBlock:Math.max(Math.round((e-C*n)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((a-E*n)/2*10)/10-r,0),paddingBlockLG:Math.max(Math.ceil((i-S*l)/2*10)/10-r,0),paddingInline:s-r,paddingInlineSM:u-r,paddingInlineLG:d-r,addonBg:p,activeBorderColor:h,hoverBorderColor:f,activeShadow:"0 0 0 ".concat(m,"px ").concat(g),errorActiveShadow:"0 0 0 ".concat(m,"px ").concat(v),warningActiveShadow:"0 0 0 ".concat(m,"px ").concat(b),hoverBg:w,activeBg:w,inputFontSize:C,inputFontSizeLG:S,inputFontSizeSM:E}}},19110:(t,e,o)=>{o.d(e,{C:()=>r});var n=o(12115);let r=()=>n.useReducer(t=>t+1,0)},30611:(t,e,o)=>{o.d(e,{Ay:()=>g,BZ:()=>p,MG:()=>m,XM:()=>h,j_:()=>u,wj:()=>f});var n=o(99841),r=o(18184),a=o(67831),i=o(45431),c=o(61388),l=o(19086),s=o(35271);let u=t=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:t,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=t=>{let{paddingBlockLG:e,lineHeightLG:o,borderRadiusLG:r,paddingInlineLG:a}=t;return{padding:"".concat((0,n.zA)(e)," ").concat((0,n.zA)(a)),fontSize:t.inputFontSizeLG,lineHeight:o,borderRadius:r}},p=t=>({padding:"".concat((0,n.zA)(t.paddingBlockSM)," ").concat((0,n.zA)(t.paddingInlineSM)),fontSize:t.inputFontSizeSM,borderRadius:t.borderRadiusSM}),f=t=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:"".concat((0,n.zA)(t.paddingBlock)," ").concat((0,n.zA)(t.paddingInline)),color:t.colorText,fontSize:t.inputFontSize,lineHeight:t.lineHeight,borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationMid)},u(t.colorTextPlaceholder)),{"&-lg":Object.assign({},d(t)),"&-sm":Object.assign({},p(t)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=t=>{let{componentCls:e,antCls:o}=t;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:t.paddingXS,"&:last-child":{paddingInlineEnd:0}},["&-lg ".concat(e,", &-lg > ").concat(e,"-group-addon")]:Object.assign({},d(t)),["&-sm ".concat(e,", &-sm > ").concat(e,"-group-addon")]:Object.assign({},p(t)),["&-lg ".concat(o,"-select-single ").concat(o,"-select-selector")]:{height:t.controlHeightLG},["&-sm ".concat(o,"-select-single ").concat(o,"-select-selector")]:{height:t.controlHeightSM},["> ".concat(e)]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},["".concat(e,"-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 ".concat((0,n.zA)(t.paddingInline)),color:t.colorText,fontWeight:"normal",fontSize:t.inputFontSize,textAlign:"center",borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationSlow),lineHeight:1,["".concat(o,"-select")]:{margin:"".concat((0,n.zA)(t.calc(t.paddingBlock).add(1).mul(-1).equal())," ").concat((0,n.zA)(t.calc(t.paddingInline).mul(-1).equal())),["&".concat(o,"-select-single:not(").concat(o,"-select-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["".concat(o,"-select-selector")]:{backgroundColor:"inherit",border:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," transparent"),boxShadow:"none"}}},["".concat(o,"-cascader-picker")]:{margin:"-9px ".concat((0,n.zA)(t.calc(t.paddingInline).mul(-1).equal())),backgroundColor:"transparent",["".concat(o,"-cascader-input")]:{textAlign:"start",border:0,boxShadow:"none"}}}},[e]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,["".concat(e,"-search-with-button &")]:{zIndex:0}}},["> ".concat(e,":first-child, ").concat(e,"-group-addon:first-child")]:{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(o,"-select ").concat(o,"-select-selector")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(e,"-affix-wrapper")]:{["&:not(:first-child) ".concat(e)]:{borderStartStartRadius:0,borderEndStartRadius:0},["&:not(:last-child) ".concat(e)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(e,":last-child, ").concat(e,"-group-addon:last-child")]:{borderStartStartRadius:0,borderEndStartRadius:0,["".concat(o,"-select ").concat(o,"-select-selector")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["".concat(e,"-affix-wrapper")]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(e,"-search &")]:{borderStartStartRadius:t.borderRadius,borderEndStartRadius:t.borderRadius}},["&:not(:first-child), ".concat(e,"-search &:not(:first-child)")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&".concat(e,"-group-compact")]:Object.assign(Object.assign({display:"block"},(0,r.t6)()),{["".concat(e,"-group-addon, ").concat(e,"-group-wrap, > ").concat(e)]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:t.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},["\n & > ".concat(e,"-affix-wrapper,\n & > ").concat(e,"-number-affix-wrapper,\n & > ").concat(o,"-picker-range\n ")]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:t.calc(t.lineWidth).mul(-1).equal(),borderInlineEndWidth:t.lineWidth},[e]:{float:"none"},["& > ".concat(o,"-select > ").concat(o,"-select-selector,\n & > ").concat(o,"-select-auto-complete ").concat(e,",\n & > ").concat(o,"-cascader-picker ").concat(e,",\n & > ").concat(e,"-group-wrapper ").concat(e)]:{borderInlineEndWidth:t.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},["& > ".concat(o,"-select-focused")]:{zIndex:1},["& > ".concat(o,"-select > ").concat(o,"-select-arrow")]:{zIndex:1},["& > *:first-child,\n & > ".concat(o,"-select:first-child > ").concat(o,"-select-selector,\n & > ").concat(o,"-select-auto-complete:first-child ").concat(e,",\n & > ").concat(o,"-cascader-picker:first-child ").concat(e)]:{borderStartStartRadius:t.borderRadius,borderEndStartRadius:t.borderRadius},["& > *:last-child,\n & > ".concat(o,"-select:last-child > ").concat(o,"-select-selector,\n & > ").concat(o,"-cascader-picker:last-child ").concat(e,",\n & > ").concat(o,"-cascader-picker-focused:last-child ").concat(e)]:{borderInlineEndWidth:t.lineWidth,borderStartEndRadius:t.borderRadius,borderEndEndRadius:t.borderRadius},["& > ".concat(o,"-select-auto-complete ").concat(e)]:{verticalAlign:"top"},["".concat(e,"-group-wrapper + ").concat(e,"-group-wrapper")]:{marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),["".concat(e,"-affix-wrapper")]:{borderRadius:0}},["".concat(e,"-group-wrapper:not(:last-child)")]:{["&".concat(e,"-search > ").concat(e,"-group")]:{["& > ".concat(e,"-group-addon > ").concat(e,"-search-button")]:{borderRadius:0},["& > ".concat(e)]:{borderStartStartRadius:t.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:t.borderRadius}}}})}},m=(0,i.OF)(["Input","Shared"],t=>{let e=(0,c.oX)(t,(0,l.C)(t));return[(t=>{let{componentCls:e,controlHeightSM:o,lineWidth:n,calc:a}=t,i=a(o).sub(a(n).mul(2)).sub(16).div(2).equal();return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.dF)(t)),f(t)),(0,s.Eb)(t)),(0,s.sA)(t)),(0,s.lB)(t)),(0,s.aP)(t)),{'&[type="color"]':{height:t.controlHeight,["&".concat(e,"-lg")]:{height:t.controlHeightLG},["&".concat(e,"-sm")]:{height:o,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}})(e),(t=>{let{componentCls:e,inputAffixPadding:o,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:c,iconCls:l}=t,s="".concat(e,"-affix-wrapper"),u="".concat(e,"-affix-wrapper-disabled");return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},f(t)),{display:"inline-flex",["&:not(".concat(e,"-disabled):hover")]:{zIndex:1,["".concat(e,"-search-with-button &")]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},["> input".concat(e)]:{padding:0},["> input".concat(e,", > textarea").concat(e)]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[e]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:t.paddingXS}},"&-show-count-suffix":{color:r,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:t.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}}}),(t=>{let{componentCls:e}=t;return{["".concat(e,"-clear-icon")]:{margin:0,padding:0,lineHeight:0,color:t.colorTextQuaternary,fontSize:t.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:"color ".concat(t.motionDurationSlow),border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:t.colorIcon},"&:active":{color:t.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:"0 ".concat((0,n.zA)(t.inputAffixPadding))}}}})(t)),{["".concat(l).concat(e,"-password-icon")]:{color:i,cursor:"pointer",transition:"all ".concat(a),"&:hover":{color:c}}}),["".concat(e,"-underlined")]:{borderRadius:0},[u]:{["".concat(l).concat(e,"-password-icon")]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}})(e)]},l.b,{resetFont:!1}),g=(0,i.OF)(["Input","Component"],t=>{let e=(0,c.oX)(t,(0,l.C)(t));return[(t=>{let{componentCls:e,borderRadiusLG:o,borderRadiusSM:n}=t;return{["".concat(e,"-group")]:Object.assign(Object.assign(Object.assign({},(0,r.dF)(t)),h(t)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{["".concat(e,"-group-addon")]:{borderRadius:o,fontSize:t.inputFontSizeLG}},"&-sm":{["".concat(e,"-group-addon")]:{borderRadius:n}}},(0,s.nm)(t)),(0,s.Vy)(t)),{["&:not(".concat(e,"-compact-first-item):not(").concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-first-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-last-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,"-affix-wrapper")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-item")]:{["".concat(e,"-affix-wrapper")]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}})(e),(t=>{let{componentCls:e,antCls:o}=t,n="".concat(e,"-search");return{[n]:{[e]:{"&:not([disabled]):hover, &:not([disabled]):focus":{["+ ".concat(e,"-group-addon ").concat(n,"-button:not(").concat(o,"-btn-color-primary):not(").concat(o,"-btn-variant-text)")]:{borderInlineStartColor:t.colorPrimaryHover}}},["".concat(e,"-affix-wrapper")]:{height:t.controlHeight,borderRadius:0},["".concat(e,"-lg")]:{lineHeight:t.calc(t.lineHeightLG).sub(2e-4).equal()},["> ".concat(e,"-group")]:{["> ".concat(e,"-group-addon:last-child")]:{insetInlineStart:-1,padding:0,border:0,["".concat(n,"-button")]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},["".concat(n,"-button:not(").concat(o,"-btn-color-primary)")]:{color:t.colorTextDescription,"&:not([disabled]):hover":{color:t.colorPrimaryHover},"&:active":{color:t.colorPrimaryActive},["&".concat(o,"-btn-loading::before")]:{inset:0}}}},["".concat(n,"-button")]:{height:t.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{["".concat(e,"-affix-wrapper, ").concat(n,"-button")]:{height:t.controlHeightLG}},"&-small":{["".concat(e,"-affix-wrapper, ").concat(n,"-button")]:{height:t.controlHeightSM}},"&-rtl":{direction:"rtl"},["&".concat(e,"-compact-item")]:{["&:not(".concat(e,"-compact-last-item)")]:{["".concat(e,"-group-addon")]:{["".concat(e,"-search-button")]:{marginInlineEnd:t.calc(t.lineWidth).mul(-1).equal(),borderRadius:0}}},["&:not(".concat(e,"-compact-first-item)")]:{["".concat(e,",").concat(e,"-affix-wrapper")]:{borderRadius:0}},["> ".concat(e,"-group-addon ").concat(e,"-search-button,\n > ").concat(e,",\n ").concat(e,"-affix-wrapper")]:{"&:hover, &:focus, &:active":{zIndex:2}},["> ".concat(e,"-affix-wrapper-focused")]:{zIndex:2}}}}})(e),(t=>{let{componentCls:e}=t;return{["".concat(e,"-out-of-range")]:{["&, & input, & textarea, ".concat(e,"-show-count-suffix, ").concat(e,"-data-count")]:{color:t.colorError}}}})(e),(0,a.G)(e)]},l.b,{resetFont:!1})},32417:(t,e,o)=>{o.d(e,{A:()=>H});var n=o(79630),r=o(12115),a=o(63715);o(9587);var i=o(27061),c=o(86608),l=o(41197),s=o(74686),u=r.createContext(null),d=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var o=-1;return t.some(function(t,n){return t[0]===e&&(o=n,!0)}),o}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 o=t(this.__entries__,e),n=this.__entries__[o];return n&&n[1]},e.prototype.set=function(e,o){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=o:this.__entries__.push([e,o])},e.prototype.delete=function(e){var o=this.__entries__,n=t(o,e);~n&&o.splice(n,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 o=0,n=this.__entries__;o0},t.prototype.connect_=function(){p&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),g?(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(){p&&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,o=void 0===e?"":e;m.some(function(t){return!!~o.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),b=function(t,e){for(var o=0,n=Object.keys(e);o0},t}(),k="undefined"!=typeof WeakMap?new WeakMap:new d,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 o=new R(e,v.getInstance(),this);k.set(this,o)};["observe","unobserve","disconnect"].forEach(function(t){z.prototype[t]=function(){var e;return(e=k.get(this))[t].apply(e,arguments)}});var j=void 0!==f.ResizeObserver?f.ResizeObserver:z,_=new Map,B=new j(function(t){t.forEach(function(t){var e,o=t.target;null==(e=_.get(o))||e.forEach(function(t){return t(o)})})}),M=o(30857),P=o(28383),N=o(38289),I=o(9424),T=function(t){(0,N.A)(o,t);var e=(0,I.A)(o);function o(){return(0,M.A)(this,o),e.apply(this,arguments)}return(0,P.A)(o,[{key:"render",value:function(){return this.props.children}}]),o}(r.Component),L=r.forwardRef(function(t,e){var o=t.children,n=t.disabled,a=r.useRef(null),d=r.useRef(null),p=r.useContext(u),f="function"==typeof o,h=f?o(a):o,m=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!f&&r.isValidElement(h)&&(0,s.f3)(h),v=g?(0,s.A9)(h):null,b=(0,s.xK)(v,a),w=function(){var t;return(0,l.Ay)(a.current)||(a.current&&"object"===(0,c.A)(a.current)?(0,l.Ay)(null==(t=a.current)?void 0:t.nativeElement):null)||(0,l.Ay)(d.current)};r.useImperativeHandle(e,function(){return w()});var y=r.useRef(t);y.current=t;var x=r.useCallback(function(t){var e=y.current,o=e.onResize,n=e.data,r=t.getBoundingClientRect(),a=r.width,c=r.height,l=t.offsetWidth,s=t.offsetHeight,u=Math.floor(a),d=Math.floor(c);if(m.current.width!==u||m.current.height!==d||m.current.offsetWidth!==l||m.current.offsetHeight!==s){var f={width:u,height:d,offsetWidth:l,offsetHeight:s};m.current=f;var h=l===Math.round(a)?a:l,g=s===Math.round(c)?c:s,v=(0,i.A)((0,i.A)({},f),{},{offsetWidth:h,offsetHeight:g});null==p||p(v,t,n),o&&Promise.resolve().then(function(){o(v,t)})}},[]);return r.useEffect(function(){var t=w();return t&&!n&&(_.has(t)||(_.set(t,new Set),B.observe(t)),_.get(t).add(x)),function(){_.has(t)&&(_.get(t).delete(x),!_.get(t).size&&(B.unobserve(t),_.delete(t)))}},[a.current,n]),r.createElement(T,{ref:d},g?r.cloneElement(h,{ref:b}):h)}),W=r.forwardRef(function(t,e){var o=t.children;return("function"==typeof o?[o]:(0,a.A)(o)).map(function(o,a){var i=(null==o?void 0:o.key)||"".concat("rc-observer-key","-").concat(a);return r.createElement(L,(0,n.A)({},t,{key:i,ref:0===a?e:void 0}),o)})});W.Collection=function(t){var e=t.children,o=t.onBatchResize,n=r.useRef(0),a=r.useRef([]),i=r.useContext(u),c=r.useCallback(function(t,e,r){n.current+=1;var c=n.current;a.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){c===n.current&&(null==o||o(a.current),a.current=[])}),null==i||i(t,e,r)},[o,i]);return r.createElement(u.Provider,{value:c},e)};let H=W},35271:(t,e,o)=>{o.d(e,{Eb:()=>l,Vy:()=>g,aP:()=>w,eT:()=>a,lB:()=>d,nI:()=>i,nm:()=>u,sA:()=>h});var n=o(99841),r=o(61388);let a=t=>({color:t.colorTextDisabled,backgroundColor:t.colorBgContainerDisabled,borderColor:t.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},(t=>({borderColor:t.hoverBorderColor,backgroundColor:t.hoverBg}))((0,r.oX)(t,{hoverBorderColor:t.colorBorder,hoverBg:t.colorBgContainerDisabled})))}),i=(t,e)=>({background:t.colorBgContainer,borderWidth:t.lineWidth,borderStyle:t.lineType,borderColor:e.borderColor,"&:hover":{borderColor:e.hoverBorderColor,backgroundColor:t.hoverBg},"&:focus, &:focus-within":{borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:t.activeBg}}),c=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},i(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}}),["&".concat(t.componentCls,"-status-").concat(e.status).concat(t.componentCls,"-disabled")]:{borderColor:e.borderColor}}),l=(t,e)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(t,{borderColor:t.colorBorder,hoverBorderColor:t.hoverBorderColor,activeBorderColor:t.activeBorderColor,activeShadow:t.activeShadow})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(t))}),c(t,{status:"error",borderColor:t.colorError,hoverBorderColor:t.colorErrorBorderHover,activeBorderColor:t.colorError,activeShadow:t.errorActiveShadow,affixColor:t.colorError})),c(t,{status:"warning",borderColor:t.colorWarning,hoverBorderColor:t.colorWarningBorderHover,activeBorderColor:t.colorWarning,activeShadow:t.warningActiveShadow,affixColor:t.colorWarning})),e)}),s=(t,e)=>({["&".concat(t.componentCls,"-group-wrapper-status-").concat(e.status)]:{["".concat(t.componentCls,"-group-addon")]:{borderColor:e.addonBorderColor,color:e.addonColor}}}),u=t=>({"&-outlined":Object.assign(Object.assign(Object.assign({["".concat(t.componentCls,"-group")]:{"&-addon":{background:t.addonBg,border:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},s(t,{status:"error",addonBorderColor:t.colorError,addonColor:t.colorErrorText})),s(t,{status:"warning",addonBorderColor:t.colorWarning,addonColor:t.colorWarningText})),{["&".concat(t.componentCls,"-group-wrapper-disabled")]:{["".concat(t.componentCls,"-group-addon")]:Object.assign({},a(t))}})}),d=(t,e)=>{let{componentCls:o}=t;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},["&".concat(o,"-disabled, &[disabled]")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(o,"-status-error")]:{"&, & input, & textarea":{color:t.colorError}},["&".concat(o,"-status-warning")]:{"&, & input, & textarea":{color:t.colorWarning}}},e)}},p=(t,e)=>{var o;return{background:e.bg,borderWidth:t.lineWidth,borderStyle:t.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null!=(o=null==e?void 0:e.inputColor)?o:"unset"},"&:hover":{background:e.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:e.activeBorderColor,backgroundColor:t.activeBg}}},f=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},p(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}})}),h=(t,e)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(t,{bg:t.colorFillTertiary,hoverBg:t.colorFillSecondary,activeBorderColor:t.activeBorderColor})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(t))}),f(t,{status:"error",bg:t.colorErrorBg,hoverBg:t.colorErrorBgHover,activeBorderColor:t.colorError,inputColor:t.colorErrorText,affixColor:t.colorError})),f(t,{status:"warning",bg:t.colorWarningBg,hoverBg:t.colorWarningBgHover,activeBorderColor:t.colorWarning,inputColor:t.colorWarningText,affixColor:t.colorWarning})),e)}),m=(t,e)=>({["&".concat(t.componentCls,"-group-wrapper-status-").concat(e.status)]:{["".concat(t.componentCls,"-group-addon")]:{background:e.addonBg,color:e.addonColor}}}),g=t=>({"&-filled":Object.assign(Object.assign(Object.assign({["".concat(t.componentCls,"-group-addon")]:{background:t.colorFillTertiary,"&:last-child":{position:"static"}}},m(t,{status:"error",addonBg:t.colorErrorBg,addonColor:t.colorErrorText})),m(t,{status:"warning",addonBg:t.colorWarningBg,addonColor:t.colorWarningText})),{["&".concat(t.componentCls,"-group-wrapper-disabled")]:{["".concat(t.componentCls,"-group")]:{"&-addon":{background:t.colorFillTertiary,color:t.colorTextDisabled},"&-addon:first-child":{borderInlineStart:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderTop:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderBottom:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},"&-addon:last-child":{borderInlineEnd:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderTop:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderBottom:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)}}}})}),v=(t,e)=>({background:t.colorBgContainer,borderWidth:"".concat((0,n.zA)(t.lineWidth)," 0"),borderStyle:"".concat(t.lineType," none"),borderColor:"transparent transparent ".concat(e.borderColor," transparent"),borderRadius:0,"&:hover":{borderColor:"transparent transparent ".concat(e.hoverBorderColor," transparent"),backgroundColor:t.hoverBg},"&:focus, &:focus-within":{borderColor:"transparent transparent ".concat(e.activeBorderColor," transparent"),outline:0,backgroundColor:t.activeBg}}),b=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},v(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}}),["&".concat(t.componentCls,"-status-").concat(e.status).concat(t.componentCls,"-disabled")]:{borderColor:"transparent transparent ".concat(e.borderColor," transparent")}}),w=(t,e)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v(t,{borderColor:t.colorBorder,hoverBorderColor:t.hoverBorderColor,activeBorderColor:t.activeBorderColor,activeShadow:t.activeShadow})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:{color:t.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:"transparent transparent ".concat(t.colorBorder," transparent")}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),b(t,{status:"error",borderColor:t.colorError,hoverBorderColor:t.colorErrorBorderHover,activeBorderColor:t.colorError,activeShadow:t.errorActiveShadow,affixColor:t.colorError})),b(t,{status:"warning",borderColor:t.colorWarning,hoverBorderColor:t.colorWarningBorderHover,activeBorderColor:t.colorWarning,activeShadow:t.warningActiveShadow,affixColor:t.colorWarning})),e)})},35464:(t,e,o)=>{o.d(e,{Ay:()=>c,Ke:()=>i,Zs:()=>a});var n=o(99841),r=o(45902);let a=8;function i(t){let{contentRadius:e,limitVerticalRadius:o}=t,n=e>12?e+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:o?a:n}}function c(t,e,o){var a,i,c,l,s,u,d,p;let{componentCls:f,boxShadowPopoverArrow:h,arrowOffsetVertical:m,arrowOffsetHorizontal:g}=t,{arrowDistance:v=0,arrowPlacement:b={left:!0,right:!0,top:!0,bottom:!0}}=o||{};return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(f,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.j)(t,e,h)),{"&:before":{background:e}})]},(a=!!b.top,i={[["&-placement-top > ".concat(f,"-arrow"),"&-placement-topLeft > ".concat(f,"-arrow"),"&-placement-topRight > ".concat(f,"-arrow")].join(",")]:{bottom:v,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":g,["> ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:g}}},"&-placement-topRight":{"--arrow-offset-horizontal":"calc(100% - ".concat((0,n.zA)(g),")"),["> ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:g}}}},a?i:{})),(c=!!b.bottom,l={[["&-placement-bottom > ".concat(f,"-arrow"),"&-placement-bottomLeft > ".concat(f,"-arrow"),"&-placement-bottomRight > ".concat(f,"-arrow")].join(",")]:{top:v,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":g,["> ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:g}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":"calc(100% - ".concat((0,n.zA)(g),")"),["> ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:g}}}},c?l:{})),(s=!!b.left,u={[["&-placement-left > ".concat(f,"-arrow"),"&-placement-leftTop > ".concat(f,"-arrow"),"&-placement-leftBottom > ".concat(f,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:v},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(f,"-arrow")]:{top:m},["&-placement-leftBottom > ".concat(f,"-arrow")]:{bottom:m}},s?u:{})),(d=!!b.right,p={[["&-placement-right > ".concat(f,"-arrow"),"&-placement-rightTop > ".concat(f,"-arrow"),"&-placement-rightBottom > ".concat(f,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:v},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(f,"-arrow")]:{top:m},["&-placement-rightBottom > ".concat(f,"-arrow")]:{bottom:m}},d?p:{}))}}},35695:(t,e,o)=>{var n=o(18999);o.o(n,"useParams")&&o.d(e,{useParams:function(){return n.useParams}}),o.o(n,"usePathname")&&o.d(e,{usePathname:function(){return n.usePathname}}),o.o(n,"useRouter")&&o.d(e,{useRouter:function(){return n.useRouter}}),o.o(n,"useSearchParams")&&o.d(e,{useSearchParams:function(){return n.useSearchParams}})},37497:(t,e,o)=>{o.d(e,{A:()=>F});var n,r=o(12115),a=o(29300),i=o.n(a),c=o(79630),l=o(40419),s=o(27061),u=o(85757),d=o(21858),p=o(20235),f=o(11261),h=o(52032),m=o(43717),g=o(48804),v=o(86608),b=o(32417),w=o(49172),y=o(16962),x=["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"],A={},C=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],E=r.forwardRef(function(t,e){var o=t.prefixCls,a=t.defaultValue,u=t.value,f=t.autoSize,h=t.onResize,m=t.className,E=t.style,S=t.disabled,O=t.onChange,R=(t.onInternalAutoSize,(0,p.A)(t,C)),k=(0,g.A)(a,{value:u,postState:function(t){return null!=t?t:""}}),z=(0,d.A)(k,2),j=z[0],_=z[1],B=r.useRef();r.useImperativeHandle(e,function(){return{textArea:B.current}});var M=r.useMemo(function(){return f&&"object"===(0,v.A)(f)?[f.minRows,f.maxRows]:[]},[f]),P=(0,d.A)(M,2),N=P[0],I=P[1],T=!!f,L=r.useState(2),W=(0,d.A)(L,2),H=W[0],D=W[1],F=r.useState(),V=(0,d.A)(F,2),X=V[0],q=V[1],Y=function(){D(0)};(0,w.A)(function(){T&&Y()},[u,N,I,T]),(0,w.A)(function(){if(0===H)D(1);else if(1===H){var t=function(t){var e,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n||((n=document.createElement("textarea")).setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),n.setAttribute("name","hiddenTextarea"),document.body.appendChild(n)),t.getAttribute("wrap")?n.setAttribute("wrap",t.getAttribute("wrap")):n.removeAttribute("wrap");var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.getAttribute("id")||t.getAttribute("data-reactid")||t.getAttribute("name");if(e&&A[o])return A[o];var n=window.getComputedStyle(t),r=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),a=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),c={sizingStyle:x.map(function(t){return"".concat(t,":").concat(n.getPropertyValue(t))}).join(";"),paddingSize:a,borderSize:i,boxSizing:r};return e&&o&&(A[o]=c),c}(t,o),c=i.paddingSize,l=i.borderSize,s=i.boxSizing,u=i.sizingStyle;n.setAttribute("style","".concat(u,";").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")),n.value=t.value||t.placeholder||"";var d=void 0,p=void 0,f=n.scrollHeight;if("border-box"===s?f+=l:"content-box"===s&&(f-=c),null!==r||null!==a){n.value=" ";var h=n.scrollHeight-c;null!==r&&(d=h*r,"border-box"===s&&(d=d+c+l),f=Math.max(d,f)),null!==a&&(p=h*a,"border-box"===s&&(p=p+c+l),e=f>p?"":"hidden",f=Math.min(p,f))}var m={height:f,overflowY:e,resize:"none"};return d&&(m.minHeight=d),p&&(m.maxHeight=p),m}(B.current,!1,N,I);D(2),q(t)}},[H]);var G=r.useRef(),K=function(){y.A.cancel(G.current)};r.useEffect(function(){return K},[]);var U=(0,s.A)((0,s.A)({},E),T?X:null);return(0===H||1===H)&&(U.overflowY="hidden",U.overflowX="hidden"),r.createElement(b.A,{onResize:function(t){2===H&&(null==h||h(t),f&&(K(),G.current=(0,y.A)(function(){Y()})))},disabled:!(f||h)},r.createElement("textarea",(0,c.A)({},R,{ref:B,style:U,className:i()(o,m,(0,l.A)({},"".concat(o,"-disabled"),S)),disabled:S,value:j,onChange:function(t){_(t.target.value),null==O||O(t)}})))}),S=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],O=r.forwardRef(function(t,e){var o,n,a=t.defaultValue,v=t.value,b=t.onFocus,w=t.onBlur,y=t.onChange,x=t.allowClear,A=t.maxLength,C=t.onCompositionStart,O=t.onCompositionEnd,R=t.suffix,k=t.prefixCls,z=void 0===k?"rc-textarea":k,j=t.showCount,_=t.count,B=t.className,M=t.style,P=t.disabled,N=t.hidden,I=t.classNames,T=t.styles,L=t.onResize,W=t.onClear,H=t.onPressEnter,D=t.readOnly,F=t.autoSize,V=t.onKeyDown,X=(0,p.A)(t,S),q=(0,g.A)(a,{value:v,defaultValue:a}),Y=(0,d.A)(q,2),G=Y[0],K=Y[1],U=null==G?"":String(G),Z=r.useState(!1),Q=(0,d.A)(Z,2),J=Q[0],$=Q[1],tt=r.useRef(!1),te=r.useState(null),to=(0,d.A)(te,2),tn=to[0],tr=to[1],ta=(0,r.useRef)(null),ti=(0,r.useRef)(null),tc=function(){var t;return null==(t=ti.current)?void 0:t.textArea},tl=function(){tc().focus()};(0,r.useImperativeHandle)(e,function(){var t;return{resizableTextArea:ti.current,focus:tl,blur:function(){tc().blur()},nativeElement:(null==(t=ta.current)?void 0:t.nativeElement)||tc()}}),(0,r.useEffect)(function(){$(function(t){return!P&&t})},[P]);var ts=r.useState(null),tu=(0,d.A)(ts,2),td=tu[0],tp=tu[1];r.useEffect(function(){if(td){var t;(t=tc()).setSelectionRange.apply(t,(0,u.A)(td))}},[td]);var tf=(0,h.A)(_,j),th=null!=(o=tf.max)?o:A,tm=Number(th)>0,tg=tf.strategy(U),tv=!!th&&tg>th,tb=function(t,e){var o=e;!tt.current&&tf.exceedFormatter&&tf.max&&tf.strategy(e)>tf.max&&(o=tf.exceedFormatter(e,{max:tf.max}),e!==o&&tp([tc().selectionStart||0,tc().selectionEnd||0])),K(o),(0,m.gS)(t.currentTarget,t,y,o)},tw=R;tf.show&&(n=tf.showFormatter?tf.showFormatter({value:U,count:tg,maxLength:th}):"".concat(tg).concat(tm?" / ".concat(th):""),tw=r.createElement(r.Fragment,null,tw,r.createElement("span",{className:i()("".concat(z,"-data-count"),null==I?void 0:I.count),style:null==T?void 0:T.count},n)));var ty=!F&&!j&&!x;return r.createElement(f.a,{ref:ta,value:U,allowClear:x,handleReset:function(t){K(""),tl(),(0,m.gS)(tc(),t,y)},suffix:tw,prefixCls:z,classNames:(0,s.A)((0,s.A)({},I),{},{affixWrapper:i()(null==I?void 0:I.affixWrapper,(0,l.A)((0,l.A)({},"".concat(z,"-show-count"),j),"".concat(z,"-textarea-allow-clear"),x))}),disabled:P,focused:J,className:i()(B,tv&&"".concat(z,"-out-of-range")),style:(0,s.A)((0,s.A)({},M),tn&&!ty?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof n?n:void 0}},hidden:N,readOnly:D,onClear:W},r.createElement(E,(0,c.A)({},X,{autoSize:F,maxLength:A,onKeyDown:function(t){"Enter"===t.key&&H&&H(t),null==V||V(t)},onChange:function(t){tb(t,t.target.value)},onFocus:function(t){$(!0),null==b||b(t)},onBlur:function(t){$(!1),null==w||w(t)},onCompositionStart:function(t){tt.current=!0,null==C||C(t)},onCompositionEnd:function(t){tt.current=!1,tb(t,t.currentTarget.value),null==O||O(t)},className:i()(null==I?void 0:I.textarea),style:(0,s.A)((0,s.A)({},null==T?void 0:T.textarea),{},{resize:null==M?void 0:M.resize}),disabled:P,prefixCls:z,onResize:function(t){var e;null==L||L(t),null!=(e=tc())&&e.style.height&&tr(!0)},ref:ti,readOnly:D})))}),R=o(53014),k=o(79007),z=o(15982),j=o(44494),_=o(68151),B=o(9836),M=o(63568),P=o(63893),N=o(96936),I=o(30611),T=o(45431),L=o(61388),W=o(19086);let H=(0,T.OF)(["Input","TextArea"],t=>(t=>{let{componentCls:e,paddingLG:o}=t,n="".concat(e,"-textarea");return{["textarea".concat(e)]:{maxWidth:"100%",height:"auto",minHeight:t.controlHeight,lineHeight:t.lineHeight,verticalAlign:"bottom",transition:"all ".concat(t.motionDurationSlow),resize:"vertical",["&".concat(e,"-mouse-active")]:{transition:"all ".concat(t.motionDurationSlow,", height 0s, width 0s")}},["".concat(e,"-textarea-affix-wrapper-resize-dirty")]:{width:"auto"},[n]:{position:"relative","&-show-count":{["".concat(e,"-data-count")]:{position:"absolute",bottom:t.calc(t.fontSize).mul(t.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:t.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},["\n &-allow-clear > ".concat(e,",\n &-affix-wrapper").concat(n,"-has-feedback ").concat(e,"\n ")]:{paddingInlineEnd:o},["&-affix-wrapper".concat(e,"-affix-wrapper")]:{padding:0,["> textarea".concat(e)]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:t.calc(t.controlHeight).sub(t.calc(t.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},["".concat(e,"-suffix")]:{margin:0,"> *:not(:last-child)":{marginInline:0},["".concat(e,"-clear-icon")]:{position:"absolute",insetInlineEnd:t.paddingInline,insetBlockStart:t.paddingXS},["".concat(n,"-suffix")]:{position:"absolute",top:0,insetInlineEnd:t.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},["&-affix-wrapper".concat(e,"-affix-wrapper-rtl")]:{["".concat(e,"-suffix")]:{["".concat(e,"-data-count")]:{direction:"ltr",insetInlineStart:0}}},["&-affix-wrapper".concat(e,"-affix-wrapper-sm")]:{["".concat(e,"-suffix")]:{["".concat(e,"-clear-icon")]:{insetInlineEnd:t.paddingInlineSM}}}}}})((0,L.oX)(t,(0,W.C)(t))),W.b,{resetFont:!1});var D=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(t);re.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]]);return o};let F=(0,r.forwardRef)((t,e)=>{var o;let{prefixCls:n,bordered:a=!0,size:c,disabled:l,status:s,allowClear:u,classNames:d,rootClassName:p,className:f,style:h,styles:g,variant:v,showCount:b,onMouseDown:w,onResize:y}=t,x=D(t,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:A,direction:C,allowClear:E,autoComplete:S,className:T,style:L,classNames:W,styles:F}=(0,z.TP)("textArea"),V=r.useContext(j.A),{status:X,hasFeedback:q,feedbackIcon:Y}=r.useContext(M.$W),G=(0,k.v)(X,s),K=r.useRef(null);r.useImperativeHandle(e,()=>{var t;return{resizableTextArea:null==(t=K.current)?void 0:t.resizableTextArea,focus:t=>{var e,o;(0,m.F4)(null==(o=null==(e=K.current)?void 0:e.resizableTextArea)?void 0:o.textArea,t)},blur:()=>{var t;return null==(t=K.current)?void 0:t.blur()}}});let U=A("input",n),Z=(0,_.A)(U),[Q,J,$]=(0,I.MG)(U,p),[tt]=H(U,Z),{compactSize:te,compactItemClassnames:to}=(0,N.RQ)(U,C),tn=(0,B.A)(t=>{var e;return null!=(e=null!=c?c:te)?e:t}),[tr,ta]=(0,P.A)("textArea",v,a),ti=(0,R.A)(null!=u?u:E),[tc,tl]=r.useState(!1),[ts,tu]=r.useState(!1);return Q(tt(r.createElement(O,Object.assign({autoComplete:S},x,{style:Object.assign(Object.assign({},L),h),styles:Object.assign(Object.assign({},F),g),disabled:null!=l?l:V,allowClear:ti,className:i()($,Z,f,p,to,T,ts&&"".concat(U,"-textarea-affix-wrapper-resize-dirty")),classNames:Object.assign(Object.assign(Object.assign({},d),W),{textarea:i()({["".concat(U,"-sm")]:"small"===tn,["".concat(U,"-lg")]:"large"===tn},J,null==d?void 0:d.textarea,W.textarea,tc&&"".concat(U,"-mouse-active")),variant:i()({["".concat(U,"-").concat(tr)]:ta},(0,k.L)(U,G)),affixWrapper:i()("".concat(U,"-textarea-affix-wrapper"),{["".concat(U,"-affix-wrapper-rtl")]:"rtl"===C,["".concat(U,"-affix-wrapper-sm")]:"small"===tn,["".concat(U,"-affix-wrapper-lg")]:"large"===tn,["".concat(U,"-textarea-show-count")]:b||(null==(o=t.count)?void 0:o.show)},J)}),prefixCls:U,suffix:q&&r.createElement("span",{className:"".concat(U,"-textarea-suffix")},Y),showCount:b,ref:K,onResize:t=>{var e,o;if(null==y||y(t),tc&&"function"==typeof getComputedStyle){let t=null==(o=null==(e=K.current)?void 0:e.nativeElement)?void 0:o.querySelector("textarea");t&&"both"===getComputedStyle(t).resize&&tu(!0)}},onMouseDown:t=>{tl(!0),null==w||w(t);let e=()=>{tl(!1),document.removeEventListener("mouseup",e)};document.addEventListener("mouseup",e)}}))))})},39496:(t,e,o)=>{o.d(e,{Ay:()=>l,ko:()=>c,ye:()=>i});var n=o(12115),r=o(70042),a=o(76592);let i=["xxl","xl","lg","md","sm","xs"],c=(t,e)=>{if(e){for(let o of i)if(t[o]&&(null==e?void 0:e[o])!==void 0)return e[o]}},l=()=>{let[,t]=(0,r.Ay)(),e=(t=>({xs:"(max-width: ".concat(t.screenXSMax,"px)"),sm:"(min-width: ".concat(t.screenSM,"px)"),md:"(min-width: ".concat(t.screenMD,"px)"),lg:"(min-width: ".concat(t.screenLG,"px)"),xl:"(min-width: ".concat(t.screenXL,"px)"),xxl:"(min-width: ".concat(t.screenXXL,"px)")}))((t=>{let e=[].concat(i).reverse();return e.forEach((o,n)=>{let r=o.toUpperCase(),a="screen".concat(r,"Min"),i="screen".concat(r);if(!(t[a]<=t[i]))throw Error("".concat(a,"<=").concat(i," fails : !(").concat(t[a],"<=").concat(t[i],")"));if(n{let t=new Map,o=-1,n={};return{responsiveMap:e,matchHandlers:{},dispatch:e=>(n=e,t.forEach(t=>t(n)),t.size>=1),subscribe(e){return t.size||this.register(),o+=1,t.set(o,e),e(n),o},unsubscribe(e){t.delete(e),t.size||this.unregister()},register(){Object.entries(e).forEach(t=>{let[e,o]=t,r=t=>{let{matches:o}=t;this.dispatch(Object.assign(Object.assign({},n),{[e]:o}))},i=window.matchMedia(o);(0,a.e)(i,r),this.matchHandlers[o]={mql:i,listener:r},r(i)})},unregister(){Object.values(e).forEach(t=>{let e=this.matchHandlers[t];(0,a.p)(null==e?void 0:e.mql,null==e?void 0:e.listener)}),t.clear()}}},[e])}},43717:(t,e,o)=>{function n(t){return!!(t.addonBefore||t.addonAfter)}function r(t){return!!(t.prefix||t.suffix||t.allowClear)}function a(t,e,o){var n=e.cloneNode(!0),r=Object.create(t,{target:{value:n},currentTarget:{value:n}});return n.value=o,"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd&&(n.selectionStart=e.selectionStart,n.selectionEnd=e.selectionEnd),n.setSelectionRange=function(){e.setSelectionRange.apply(e,arguments)},r}function i(t,e,o,n){if(o){var r=e;if("click"===e.type)return void o(r=a(e,t,""));if("file"!==t.type&&void 0!==n)return void o(r=a(e,t,n));o(r)}}function c(t,e){if(t){t.focus(e);var o=(e||{}).cursor;if(o){var n=t.value.length;switch(o){case"start":t.setSelectionRange(0,0);break;case"end":t.setSelectionRange(n,n);break;default:t.setSelectionRange(0,n)}}}}o.d(e,{F4:()=>c,OL:()=>r,bk:()=>n,gS:()=>i})},45902:(t,e,o)=>{o.d(e,{j:()=>a,n:()=>r});var n=o(99841);function r(t){let{sizePopupArrow:e,borderRadiusXS:o,borderRadiusOuter:n}=t,r=e/2,a=n/Math.sqrt(2),i=r-n*(1-1/Math.sqrt(2)),c=r-1/Math.sqrt(2)*o,l=n*(Math.sqrt(2)-1)+1/Math.sqrt(2)*o,s=2*r-c,u=2*r-a,d=2*r-0,p=r*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1),h="polygon(".concat(f,"px 100%, 50% ").concat(f,"px, ").concat(2*r-f,"px 100%, ").concat(f,"px 100%)");return{arrowShadowWidth:p,arrowPath:"path('M ".concat(0," ").concat(r," A ").concat(n," ").concat(n," 0 0 0 ").concat(a," ").concat(i," L ").concat(c," ").concat(l," A ").concat(o," ").concat(o," 0 0 1 ").concat(s," ").concat(l," L ").concat(u," ").concat(i," A ").concat(n," ").concat(n," 0 0 0 ").concat(d," ").concat(r," Z')"),arrowPolygon:h}}let a=(t,e,o)=>{let{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:c,borderRadiusXS:l,calc:s}=t;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:e,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:c,height:c,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat((0,n.zA)(l)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},51854:(t,e,o)=>{o.d(e,{A:()=>c});var n=o(12115),r=o(49172),a=o(19110),i=o(39496);let c=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,n.useRef)(e),[,c]=(0,a.C)(),l=(0,i.Ay)();return(0,r.A)(()=>{let e=l.subscribe(e=>{o.current=e,t&&c()});return()=>l.unsubscribe(e)},[]),o.current}},52032:(t,e,o)=>{o.d(e,{A:()=>l});var n=o(20235),r=o(27061),a=o(86608),i=o(12115),c=["show"];function l(t,e){return i.useMemo(function(){var o={};e&&(o.show="object"===(0,a.A)(e)&&e.formatter?e.formatter:!!e);var i=o=(0,r.A)((0,r.A)({},o),t),l=i.show,s=(0,n.A)(i,c);return(0,r.A)((0,r.A)({},s),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:s.strategy||function(t){return t.length}})},[t,e])}},52824:(t,e,o)=>{o.d(e,{A:()=>c});var n=o(35464);let r={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"]}},a={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"]}},i=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function c(t){let{arrowWidth:e,autoAdjustOverflow:o,arrowPointAtCenter:c,offset:l,borderRadius:s,visibleFirst:u}=t,d=e/2,p={},f=(0,n.Ke)({contentRadius:s,limitVerticalRadius:!0});return Object.keys(r).forEach(t=>{let n=Object.assign(Object.assign({},c&&a[t]||r[t]),{offset:[0,0],dynamicInset:!0});switch(p[t]=n,i.has(t)&&(n.autoArrow=!1),t){case"top":case"topLeft":case"topRight":n.offset[1]=-d-l;break;case"bottom":case"bottomLeft":case"bottomRight":n.offset[1]=d+l;break;case"left":case"leftTop":case"leftBottom":n.offset[0]=-d-l;break;case"right":case"rightTop":case"rightBottom":n.offset[0]=d+l}if(c)switch(t){case"topLeft":case"bottomLeft":n.offset[0]=-f.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":n.offset[0]=f.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":n.offset[1]=-(2*f.arrowOffsetHorizontal)+d;break;case"leftBottom":case"rightBottom":n.offset[1]=2*f.arrowOffsetHorizontal-d}n.overflow=function(t,e,o,n){if(!1===n)return{adjustX:!1,adjustY:!1};let r={};switch(t){case"top":case"bottom":r.shiftX=2*e.arrowOffsetHorizontal+o,r.shiftY=!0,r.adjustY=!0;break;case"left":case"right":r.shiftY=2*e.arrowOffsetVertical+o,r.shiftX=!0,r.adjustX=!0}let a=Object.assign(Object.assign({},r),n&&"object"==typeof n?n:{});return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(t,f,e,o),u&&(n.htmlRegion="visibleFirst")}),p}},53014:(t,e,o)=>{o.d(e,{A:()=>a});var n=o(12115),r=o(51754);let a=t=>{let e;return"object"==typeof t&&(null==t?void 0:t.clearIcon)?e=t:t&&(e={clearIcon:n.createElement(r.A,null)}),e}},56980:(t,e,o)=>{o.d(e,{A:()=>D});var n=o(27061),r=o(21858),a=o(20235),i=o(24756),c=o(29300),l=o.n(c),s=o(32417),u=o(41197),d=o(48680),p=o(18885),f=o(32934),h=o(49172),m=o(96951),g=o(12115),v=o(79630),b=o(82870),w=o(74686);function y(t){var e=t.prefixCls,o=t.align,n=t.arrow,r=t.arrowPos,a=n||{},i=a.className,c=a.content,s=r.x,u=r.y,d=g.useRef();if(!o||!o.points)return null;var p={position:"absolute"};if(!1!==o.autoArrow){var f=o.points[0],h=o.points[1],m=f[0],v=f[1],b=h[0],w=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,v!==w&&["l","r"].includes(v)?"l"===v?p.left=0:p.right=0:p.left=void 0===s?0:s}return g.createElement("div",{ref:d,className:l()("".concat(e,"-arrow"),i),style:p},c)}function x(t){var e=t.prefixCls,o=t.open,n=t.zIndex,r=t.mask,a=t.motion;return r?g.createElement(b.Ay,(0,v.A)({},a,{motionAppear:!0,visible:o,removeOnLeave:!0}),function(t){var o=t.className;return g.createElement("div",{style:{zIndex:n},className:l()("".concat(e,"-mask"),o)})}):null}var A=g.memo(function(t){return t.children},function(t,e){return e.cache}),C=g.forwardRef(function(t,e){var o=t.popup,a=t.className,i=t.prefixCls,c=t.style,u=t.target,d=t.onVisibleChanged,p=t.open,f=t.keepDom,m=t.fresh,C=t.onClick,E=t.mask,S=t.arrow,O=t.arrowPos,R=t.align,k=t.motion,z=t.maskMotion,j=t.forceRender,_=t.getPopupContainer,B=t.autoDestroy,M=t.portal,P=t.zIndex,N=t.onMouseEnter,I=t.onMouseLeave,T=t.onPointerEnter,L=t.onPointerDownCapture,W=t.ready,H=t.offsetX,D=t.offsetY,F=t.offsetR,V=t.offsetB,X=t.onAlign,q=t.onPrepare,Y=t.stretch,G=t.targetWidth,K=t.targetHeight,U="function"==typeof o?o():o,Z=p||f,Q=(null==_?void 0:_.length)>0,J=g.useState(!_||!Q),$=(0,r.A)(J,2),tt=$[0],te=$[1];if((0,h.A)(function(){!tt&&Q&&u&&te(!0)},[tt,Q,u]),!tt)return null;var to="auto",tn={left:"-1000vw",top:"-1000vh",right:to,bottom:to};if(W||!p){var tr,ta=R.points,ti=R.dynamicInset||(null==(tr=R._experimental)?void 0:tr.dynamicInset),tc=ti&&"r"===ta[0][1],tl=ti&&"b"===ta[0][0];tc?(tn.right=F,tn.left=to):(tn.left=H,tn.right=to),tl?(tn.bottom=V,tn.top=to):(tn.top=D,tn.bottom=to)}var ts={};return Y&&(Y.includes("height")&&K?ts.height=K:Y.includes("minHeight")&&K&&(ts.minHeight=K),Y.includes("width")&&G?ts.width=G:Y.includes("minWidth")&&G&&(ts.minWidth=G)),p||(ts.pointerEvents="none"),g.createElement(M,{open:j||Z,getContainer:_&&function(){return _(u)},autoDestroy:B},g.createElement(x,{prefixCls:i,open:p,zIndex:P,mask:E,motion:z}),g.createElement(s.A,{onResize:X,disabled:!p},function(t){return g.createElement(b.Ay,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:j,leavedClassName:"".concat(i,"-hidden")},k,{onAppearPrepare:q,onEnterPrepare:q,visible:p,onVisibleChanged:function(t){var e;null==k||null==(e=k.onVisibleChanged)||e.call(k,t),d(t)}}),function(o,r){var s=o.className,u=o.style,d=l()(i,s,a);return g.createElement("div",{ref:(0,w.K4)(t,e,r),className:d,style:(0,n.A)((0,n.A)((0,n.A)((0,n.A)({"--arrow-x":"".concat(O.x||0,"px"),"--arrow-y":"".concat(O.y||0,"px")},tn),ts),u),{},{boxSizing:"border-box",zIndex:P},c),onMouseEnter:N,onMouseLeave:I,onPointerEnter:T,onClick:C,onPointerDownCapture:L},S&&g.createElement(y,{prefixCls:i,arrow:S,arrowPos:O,align:R}),g.createElement(A,{cache:!p&&!m},U))})}))}),E=g.forwardRef(function(t,e){var o=t.children,n=t.getTriggerDOMNode,r=(0,w.f3)(o),a=g.useCallback(function(t){(0,w.Xf)(e,n?n(t):t)},[n]),i=(0,w.xK)(a,(0,w.A9)(o));return r?g.cloneElement(o,{ref:i}):o}),S=g.createContext(null);function O(t){return t?Array.isArray(t)?t:[t]:[]}var R=o(53930);function k(t,e,o,n){return e||(o?{motionName:"".concat(t,"-").concat(o)}:n?{motionName:n}:null)}function z(t){return t.ownerDocument.defaultView}function j(t){for(var e=[],o=null==t?void 0:t.parentElement,n=["hidden","scroll","clip","auto"];o;){var r=z(o).getComputedStyle(o);[r.overflowX,r.overflowY,r.overflow].some(function(t){return n.includes(t)})&&e.push(o),o=o.parentElement}return e}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function B(t){return _(parseFloat(t),0)}function M(t,e){var o=(0,n.A)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=z(t).getComputedStyle(t),n=e.overflow,r=e.overflowClipMargin,a=e.borderTopWidth,i=e.borderBottomWidth,c=e.borderLeftWidth,l=e.borderRightWidth,s=t.getBoundingClientRect(),u=t.offsetHeight,d=t.clientHeight,p=t.offsetWidth,f=t.clientWidth,h=B(a),m=B(i),g=B(c),v=B(l),b=_(Math.round(s.width/p*1e3)/1e3),w=_(Math.round(s.height/u*1e3)/1e3),y=h*w,x=g*b,A=0,C=0;if("clip"===n){var E=B(r);A=E*b,C=E*w}var S=s.x+x-A,O=s.y+y-C,R=S+s.width+2*A-x-v*b-(p-f-g-v)*b,k=O+s.height+2*C-y-m*w-(u-d-h-m)*w;o.left=Math.max(o.left,S),o.top=Math.max(o.top,O),o.right=Math.min(o.right,R),o.bottom=Math.min(o.bottom,k)}}),o}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="".concat(e),n=o.match(/^(.*)\%$/);return n?t*(parseFloat(n[1])/100):parseFloat(o)}function N(t,e){var o=(0,r.A)(e||[],2),n=o[0],a=o[1];return[P(t.width,n),P(t.height,a)]}function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function T(t,e){var o,n=e[0],r=e[1];return o="t"===n?t.y:"b"===n?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:o}}function L(t,e){var o={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,n){return n===e?o[t]||"c":t}).join("")}var W=o(85757);o(9587);var 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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.A;return g.forwardRef(function(e,o){var i,c,v,b,w,y,x,A,B,P,D,F,V,X,q,Y,G,K=e.prefixCls,U=void 0===K?"rc-trigger-popup":K,Z=e.children,Q=e.action,J=e.showAction,$=e.hideAction,tt=e.popupVisible,te=e.defaultPopupVisible,to=e.onPopupVisibleChange,tn=e.afterPopupVisibleChange,tr=e.mouseEnterDelay,ta=e.mouseLeaveDelay,ti=void 0===ta?.1:ta,tc=e.focusDelay,tl=e.blurDelay,ts=e.mask,tu=e.maskClosable,td=e.getPopupContainer,tp=e.forceRender,tf=e.autoDestroy,th=e.destroyPopupOnHide,tm=e.popup,tg=e.popupClassName,tv=e.popupStyle,tb=e.popupPlacement,tw=e.builtinPlacements,ty=void 0===tw?{}:tw,tx=e.popupAlign,tA=e.zIndex,tC=e.stretch,tE=e.getPopupClassNameFromAlign,tS=e.fresh,tO=e.alignPoint,tR=e.onPopupClick,tk=e.onPopupAlign,tz=e.arrow,tj=e.popupMotion,t_=e.maskMotion,tB=e.popupTransitionName,tM=e.popupAnimation,tP=e.maskTransitionName,tN=e.maskAnimation,tI=e.className,tT=e.getTriggerDOMNode,tL=(0,a.A)(e,H),tW=g.useState(!1),tH=(0,r.A)(tW,2),tD=tH[0],tF=tH[1];(0,h.A)(function(){tF((0,m.A)())},[]);var tV=g.useRef({}),tX=g.useContext(S),tq=g.useMemo(function(){return{registerSubPopup:function(t,e){tV.current[t]=e,null==tX||tX.registerSubPopup(t,e)}}},[tX]),tY=(0,f.A)(),tG=g.useState(null),tK=(0,r.A)(tG,2),tU=tK[0],tZ=tK[1],tQ=g.useRef(null),tJ=(0,p.A)(function(t){tQ.current=t,(0,u.fk)(t)&&tU!==t&&tZ(t),null==tX||tX.registerSubPopup(tY,t)}),t$=g.useState(null),t0=(0,r.A)(t$,2),t1=t0[0],t2=t0[1],t5=g.useRef(null),t3=(0,p.A)(function(t){(0,u.fk)(t)&&t1!==t&&(t2(t),t5.current=t)}),t4=g.Children.only(Z),t8=(null==t4?void 0:t4.props)||{},t9={},t6=(0,p.A)(function(t){var e,o;return(null==t1?void 0:t1.contains(t))||(null==(e=(0,d.j)(t1))?void 0:e.host)===t||t===t1||(null==tU?void 0:tU.contains(t))||(null==(o=(0,d.j)(tU))?void 0:o.host)===t||t===tU||Object.values(tV.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=k(U,tj,tM,tB),et=k(U,t_,tN,tP),ee=g.useState(te||!1),eo=(0,r.A)(ee,2),en=eo[0],er=eo[1],ea=null!=tt?tt:en,ei=(0,p.A)(function(t){void 0===tt&&er(t)});(0,h.A)(function(){er(tt||!1)},[tt]);var ec=g.useRef(ea);ec.current=ea;var el=g.useRef([]);el.current=[];var es=(0,p.A)(function(t){var e;ei(t),(null!=(e=el.current[el.current.length-1])?e:ea)!==t&&(el.current.push(t),null==to||to(t))}),eu=g.useRef(),ed=function(){clearTimeout(eu.current)},ep=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ed(),0===e?es(t):eu.current=setTimeout(function(){es(t)},1e3*e)};g.useEffect(function(){return ed},[]);var ef=g.useState(!1),eh=(0,r.A)(ef,2),em=eh[0],eg=eh[1];(0,h.A)(function(t){(!t||ea)&&eg(!0)},[ea]);var ev=g.useState(null),eb=(0,r.A)(ev,2),ew=eb[0],ey=eb[1],ex=g.useState(null),eA=(0,r.A)(ex,2),eC=eA[0],eE=eA[1],eS=function(t){eE([t.clientX,t.clientY])},eO=(i=tO&&null!==eC?eC:t1,c=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ty[tb]||{}}),b=(v=(0,r.A)(c,2))[0],w=v[1],y=g.useRef(0),x=g.useMemo(function(){return tU?j(tU):[]},[tU]),A=g.useRef({}),ea||(A.current={}),B=(0,p.A)(function(){if(tU&&i&&ea){var t=tU.ownerDocument,e=z(tU),o=e.getComputedStyle(tU).position,a=tU.style.left,c=tU.style.top,l=tU.style.right,s=tU.style.bottom,d=tU.style.overflow,p=(0,n.A)((0,n.A)({},ty[tb]),tx),f=t.createElement("div");if(null==(b=tU.parentElement)||b.appendChild(f),f.style.left="".concat(tU.offsetLeft,"px"),f.style.top="".concat(tU.offsetTop,"px"),f.style.position=o,f.style.height="".concat(tU.offsetHeight,"px"),f.style.width="".concat(tU.offsetWidth,"px"),tU.style.left="0",tU.style.top="0",tU.style.right="auto",tU.style.bottom="auto",tU.style.overflow="hidden",Array.isArray(i))S={x:i[0],y:i[1],width:0,height:0};else{var h,m,g,v,b,y,C,E,S,O,k,j=i.getBoundingClientRect();j.x=null!=(O=j.x)?O:j.left,j.y=null!=(k=j.y)?k:j.top,S={x:j.x,y:j.y,width:j.width,height:j.height}}var B=tU.getBoundingClientRect(),P=e.getComputedStyle(tU),W=P.height,H=P.width;B.x=null!=(y=B.x)?y:B.left,B.y=null!=(C=B.y)?C:B.top;var D=t.documentElement,F=D.clientWidth,V=D.clientHeight,X=D.scrollWidth,q=D.scrollHeight,Y=D.scrollTop,G=D.scrollLeft,K=B.height,U=B.width,Z=S.height,Q=S.width,J=p.htmlRegion,$="visible",tt="visibleFirst";"scroll"!==J&&J!==tt&&(J=$);var te=J===tt,to=M({left:-G,top:-Y,right:X-G,bottom:q-Y},x),tn=M({left:0,top:0,right:F,bottom:V},x),tr=J===$?tn:to,ta=te?tn:tr;tU.style.left="auto",tU.style.top="auto",tU.style.right="0",tU.style.bottom="0";var ti=tU.getBoundingClientRect();tU.style.left=a,tU.style.top=c,tU.style.right=l,tU.style.bottom=s,tU.style.overflow=d,null==(E=tU.parentElement)||E.removeChild(f);var tc=_(Math.round(U/parseFloat(H)*1e3)/1e3),tl=_(Math.round(K/parseFloat(W)*1e3)/1e3);if(!(0===tc||0===tl||(0,u.fk)(i)&&!(0,R.A)(i))){var ts=p.offset,tu=p.targetOffset,td=N(B,ts),tp=(0,r.A)(td,2),tf=tp[0],th=tp[1],tm=N(S,tu),tg=(0,r.A)(tm,2),tv=tg[0],tw=tg[1];S.x-=tv,S.y-=tw;var tA=p.points||[],tC=(0,r.A)(tA,2),tE=tC[0],tS=I(tC[1]),tO=I(tE),tR=T(S,tS),tz=T(B,tO),tj=(0,n.A)({},p),t_=tR.x-tz.x+tf,tB=tR.y-tz.y+th,tM=ed(t_,tB),tP=ed(t_,tB,tn),tN=T(S,["t","l"]),tI=T(B,["t","l"]),tT=T(S,["b","r"]),tL=T(B,["b","r"]),tW=p.overflow||{},tH=tW.adjustX,tD=tW.adjustY,tF=tW.shiftX,tV=tW.shiftY,tX=function(t){return"boolean"==typeof t?t:t>=0};ep();var tq=tX(tD),tY=tO[0]===tS[0];if(tq&&"t"===tO[0]&&(m>ta.bottom||A.current.bt)){var tG=tB;tY?tG-=K-Z:tG=tN.y-tL.y-th;var tK=ed(t_,tG),tZ=ed(t_,tG,tn);tK>tM||tK===tM&&(!te||tZ>=tP)?(A.current.bt=!0,tB=tG,th=-th,tj.points=[L(tO,0),L(tS,0)]):A.current.bt=!1}if(tq&&"b"===tO[0]&&(htM||tJ===tM&&(!te||t$>=tP)?(A.current.tb=!0,tB=tQ,th=-th,tj.points=[L(tO,0),L(tS,0)]):A.current.tb=!1}var t0=tX(tH),t1=tO[1]===tS[1];if(t0&&"l"===tO[1]&&(v>ta.right||A.current.rl)){var t2=t_;t1?t2-=U-Q:t2=tN.x-tL.x-tf;var t5=ed(t2,tB),t3=ed(t2,tB,tn);t5>tM||t5===tM&&(!te||t3>=tP)?(A.current.rl=!0,t_=t2,tf=-tf,tj.points=[L(tO,1),L(tS,1)]):A.current.rl=!1}if(t0&&"r"===tO[1]&&(gtM||t8===tM&&(!te||t9>=tP)?(A.current.lr=!0,t_=t4,tf=-tf,tj.points=[L(tO,1),L(tS,1)]):A.current.lr=!1}ep();var t6=!0===tF?0:tF;"number"==typeof t6&&(gtn.right&&(t_-=v-tn.right-tf,S.x>tn.right-t6&&(t_+=S.x-tn.right+t6)));var t7=!0===tV?0:tV;"number"==typeof t7&&(htn.bottom&&(tB-=m-tn.bottom-th,S.y>tn.bottom-t7&&(tB+=S.y-tn.bottom+t7)));var et=B.x+t_,ee=B.y+tB,eo=S.x,en=S.y,er=Math.max(et,eo),ei=Math.min(et+U,eo+Q),ec=Math.max(ee,en),el=Math.min(ee+K,en+Z);null==tk||tk(tU,tj);var es=ti.right-B.x-(t_+B.width),eu=ti.bottom-B.y-(tB+B.height);1===tc&&(t_=Math.round(t_),es=Math.round(es)),1===tl&&(tB=Math.round(tB),eu=Math.round(eu)),w({ready:!0,offsetX:t_/tc,offsetY:tB/tl,offsetR:es/tc,offsetB:eu/tl,arrowX:((er+ei)/2-et)/tc,arrowY:((ec+el)/2-ee)/tl,scaleX:tc,scaleY:tl,align:tj})}function ed(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tr,n=B.x+t,r=B.y+e,a=Math.max(n,o.left),i=Math.max(r,o.top);return Math.max(0,(Math.min(n+U,o.right)-a)*(Math.min(r+K,o.bottom)-i))}function ep(){m=(h=B.y+tB)+K,v=(g=B.x+t_)+U}}}),P=function(){w(function(t){return(0,n.A)((0,n.A)({},t),{},{ready:!1})})},(0,h.A)(P,[tb]),(0,h.A)(function(){ea||P()},[ea]),[b.ready,b.offsetX,b.offsetY,b.offsetR,b.offsetB,b.arrowX,b.arrowY,b.scaleX,b.scaleY,b.align,function(){y.current+=1;var t=y.current;Promise.resolve().then(function(){y.current===t&&B()})}]),eR=(0,r.A)(eO,11),ek=eR[0],ez=eR[1],ej=eR[2],e_=eR[3],eB=eR[4],eM=eR[5],eP=eR[6],eN=eR[7],eI=eR[8],eT=eR[9],eL=eR[10],eW=(D=void 0===Q?"hover":Q,g.useMemo(function(){var t=O(null!=J?J:D),e=O(null!=$?$:D),o=new Set(t),n=new Set(e);return tD&&(o.has("hover")&&(o.delete("hover"),o.add("click")),n.has("hover")&&(n.delete("hover"),n.add("click"))),[o,n]},[tD,D,J,$])),eH=(0,r.A)(eW,2),eD=eH[0],eF=eH[1],eV=eD.has("click"),eX=eF.has("click")||eF.has("contextMenu"),eq=(0,p.A)(function(){em||eL()});F=function(){ec.current&&tO&&eX&&ep(!1)},(0,h.A)(function(){if(ea&&t1&&tU){var t=j(t1),e=j(tU),o=z(tU),n=new Set([o].concat((0,W.A)(t),(0,W.A)(e)));function r(){eq(),F()}return n.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),o.addEventListener("resize",r,{passive:!0}),eq(),function(){n.forEach(function(t){t.removeEventListener("scroll",r),o.removeEventListener("resize",r)})}}},[ea,t1,tU]),(0,h.A)(function(){eq()},[eC,tb]),(0,h.A)(function(){ea&&!(null!=ty&&ty[tb])&&eq()},[JSON.stringify(tx)]);var eY=g.useMemo(function(){var t=function(t,e,o,n){for(var r=o.points,a=Object.keys(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return o?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null==(c=t[l])?void 0:c.points,r,n))return"".concat(e,"-placement-").concat(l)}return""}(ty,U,eT,tO);return l()(t,null==tE?void 0:tE(eT))},[eT,tE,ty,U,tO]);g.useImperativeHandle(o,function(){return{nativeElement:t5.current,popupElement:tQ.current,forceAlign:eq}});var eG=g.useState(0),eK=(0,r.A)(eG,2),eU=eK[0],eZ=eK[1],eQ=g.useState(0),eJ=(0,r.A)(eQ,2),e$=eJ[0],e0=eJ[1],e1=function(){if(tC&&t1){var t=t1.getBoundingClientRect();eZ(t.width),e0(t.height)}};function e2(t,e,o,n){t9[t]=function(r){var a;null==n||n(r),ep(e,o);for(var i=arguments.length,c=Array(i>1?i-1:0),l=1;l1?o-1:0),r=1;r1?o-1:0),r=1;r{o.d(e,{A:()=>i});var n=o(12115),r=o(15982),a=o(63568);let i=(t,e,o)=>{var i,c;let l,{variant:s,[t]:u}=n.useContext(r.QO),d=n.useContext(a.Pp),p=null==u?void 0:u.variant;l=void 0!==e?e:!1===o?"borderless":null!=(c=null!=(i=null!=d?d:p)?i:s)?c:"outlined";let f=r.lJ.includes(l);return[l,f]}},76592:(t,e,o)=>{o.d(e,{e:()=>n,p:()=>r});let n=(t,e)=>{void 0!==(null==t?void 0:t.addEventListener)?t.addEventListener("change",e):void 0!==(null==t?void 0:t.addListener)&&t.addListener(e)},r=(t,e)=>{void 0!==(null==t?void 0:t.removeEventListener)?t.removeEventListener("change",e):void 0!==(null==t?void 0:t.removeListener)&&t.removeListener(e)}},77696:(t,e,o)=>{o.d(e,{ZZ:()=>l,nP:()=>c});var n=o(85757),r=o(68495);let a=r.s.map(t=>"".concat(t,"-inverse")),i=["success","processing","error","default","warning"];function c(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,n.A)(a),(0,n.A)(r.s)).includes(t):r.s.includes(t)}function l(t){return i.includes(t)}},79007:(t,e,o)=>{o.d(e,{L:()=>a,v:()=>i});var n=o(29300),r=o.n(n);function a(t,e,o){return r()({["".concat(t,"-status-success")]:"success"===e,["".concat(t,"-status-warning")]:"warning"===e,["".concat(t,"-status-error")]:"error"===e,["".concat(t,"-status-validating")]:"validating"===e,["".concat(t,"-has-feedback")]:o})}let i=(t,e)=>e||t},96951:(t,e,o)=>{o.d(e,{A:()=>n});let n=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))}},97540:(t,e,o)=>{o.d(e,{A:()=>B});var n=o(12115),r=o(29300),a=o.n(r),i=o(16598),c=o(48804),l=o(9184),s=o(9130),u=o(93666),d=o(52824),p=o(80163),f=o(26791),h=o(6833),m=o(15982),g=o(70042),v=o(99841),b=o(18184),w=o(47212),y=o(35464),x=o(45902),A=o(18741),C=o(61388),E=o(45431);let S=t=>Object.assign(Object.assign({zIndexPopup:t.zIndexPopupBase+70},(0,y.Ke)({contentRadius:t.borderRadius,limitVerticalRadius:!0})),(0,x.n)((0,C.oX)(t,{borderRadiusOuter:Math.min(t.borderRadiusOuter,4)})));function O(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,E.OF)("Tooltip",t=>{let{borderRadius:e,colorTextLightSolid:o,colorBgSpotlight:n}=t;return[(t=>{let{calc:e,componentCls:o,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:c,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:p,sizePopupArrow:f}=t,h=e(i).add(f).add(p).equal(),m=e(i).mul(2).add(f).equal();return[{[o]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.dF)(t)),{position:"absolute",zIndex:c,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":a,["".concat(o,"-inner")]:{minWidth:m,minHeight:l,padding:"".concat((0,v.zA)(t.calc(u).div(2).equal())," ").concat((0,v.zA)(d)),color:"var(--ant-tooltip-color, ".concat(r,")"),textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:s,boxSizing:"border-box"},"&-placement-topLeft,&-placement-topRight,&-placement-bottomLeft,&-placement-bottomRight":{minWidth:h},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{["".concat(o,"-inner")]:{borderRadius:t.min(i,y.Zs)}},["".concat(o,"-content")]:{position:"relative"}}),(0,A.A)(t,(t,e)=>{let{darkColor:n}=e;return{["&".concat(o,"-").concat(t)]:{["".concat(o,"-inner")]:{backgroundColor:n},["".concat(o,"-arrow")]:{"--antd-arrow-background-color":n}}}})),{"&-rtl":{direction:"rtl"}})},(0,y.Ay)(t,"var(--antd-arrow-background-color)"),{["".concat(o,"-pure")]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]})((0,C.oX)(t,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:e,tooltipBg:n})),(0,w.aB)(t,"zoom-big-fast")]},S,{resetStyle:!1,injectStyle:e})(t)}var R=o(77696);o(31474);var k=o(67302);function z(t,e){let o=(0,R.nP)(e),n=a()({["".concat(t,"-").concat(e)]:e&&o}),r={},i={},c=(e instanceof k.kf?e:new k.kf(e)).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255;return e&&!o&&(r.background=e,r["--ant-tooltip-color"]=l<.5?"#FFF":"#000",i["--antd-arrow-background-color"]=e),{className:n,overlayStyle:r,arrowStyle:i}}var j=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(t);re.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]]);return o};let _=n.forwardRef((t,e)=>{var o,r;let{prefixCls:v,openClassName:b,getTooltipContainer:w,color:y,overlayInnerStyle:x,children:A,afterOpenChange:C,afterVisibleChange:E,destroyTooltipOnHide:S,destroyOnHidden:R,arrow:k=!0,title:_,overlay:B,builtinPlacements:M,arrowPointAtCenter:P=!1,autoAdjustOverflow:N=!0,motion:I,getPopupContainer:T,placement:L="top",mouseEnterDelay:W=.1,mouseLeaveDelay:H=.1,overlayStyle:D,rootClassName:F,overlayClassName:V,styles:X,classNames:q}=t,Y=j(t,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),G=!!k,[,K]=(0,g.Ay)(),{getPopupContainer:U,getPrefixCls:Z,direction:Q,className:J,style:$,classNames:tt,styles:te}=(0,m.TP)("tooltip"),to=(0,f.rJ)("Tooltip"),tn=n.useRef(null),tr=()=>{var t;null==(t=tn.current)||t.forceAlign()};n.useImperativeHandle(e,()=>{var t,e;return{forceAlign:tr,forcePopupAlign:()=>{to.deprecated(!1,"forcePopupAlign","forceAlign"),tr()},nativeElement:null==(t=tn.current)?void 0:t.nativeElement,popupElement:null==(e=tn.current)?void 0:e.popupElement}});let[ta,ti]=(0,c.A)(!1,{value:null!=(o=t.open)?o:t.visible,defaultValue:null!=(r=t.defaultOpen)?r:t.defaultVisible}),tc=!_&&!B&&0!==_,tl=n.useMemo(()=>{var t,e;let o=P;return"object"==typeof k&&(o=null!=(e=null!=(t=k.pointAtCenter)?t:k.arrowPointAtCenter)?e:P),M||(0,d.A)({arrowPointAtCenter:o,autoAdjustOverflow:N,arrowWidth:G?K.sizePopupArrow:0,borderRadius:K.borderRadius,offset:K.marginXXS,visibleFirst:!0})},[P,k,M,K]),ts=n.useMemo(()=>0===_?_:B||_||"",[B,_]),tu=n.createElement(l.A,{space:!0},"function"==typeof ts?ts():ts),td=Z("tooltip",v),tp=Z(),tf=t["data-popover-inject"],th=ta;"open"in t||"visible"in t||!tc||(th=!1);let tm=n.isValidElement(A)&&!(0,p.zv)(A)?A:n.createElement("span",null,A),tg=tm.props,tv=tg.className&&"string"!=typeof tg.className?tg.className:a()(tg.className,b||"".concat(td,"-open")),[tb,tw,ty]=O(td,!tf),tx=z(td,y),tA=tx.arrowStyle,tC=a()(V,{["".concat(td,"-rtl")]:"rtl"===Q},tx.className,F,tw,ty,J,tt.root,null==q?void 0:q.root),tE=a()(tt.body,null==q?void 0:q.body),[tS,tO]=(0,s.YK)("Tooltip",Y.zIndex),tR=n.createElement(i.A,Object.assign({},Y,{zIndex:tS,showArrow:G,placement:L,mouseEnterDelay:W,mouseLeaveDelay:H,prefixCls:td,classNames:{root:tC,body:tE},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tA),te.root),$),D),null==X?void 0:X.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},te.body),x),null==X?void 0:X.body),tx.overlayStyle)},getTooltipContainer:T||w||U,ref:tn,builtinPlacements:tl,overlay:tu,visible:th,onVisibleChange:e=>{var o,n;ti(!tc&&e),tc||(null==(o=t.onOpenChange)||o.call(t,e),null==(n=t.onVisibleChange)||n.call(t,e))},afterVisibleChange:null!=C?C:E,arrowContent:n.createElement("span",{className:"".concat(td,"-arrow-content")}),motion:{motionName:(0,u.b)(tp,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:null!=R?R:!!S}),th?(0,p.Ob)(tm,{className:tv}):tm);return tb(n.createElement(h.A.Provider,{value:tO},tR))});_._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:o,placement:r="top",title:c,color:l,overlayInnerStyle:s}=t,{getPrefixCls:u}=n.useContext(m.QO),d=u("tooltip",e),[p,f,h]=O(d),g=z(d,l),v=g.arrowStyle,b=Object.assign(Object.assign({},s),g.overlayStyle),w=a()(f,h,d,"".concat(d,"-pure"),"".concat(d,"-placement-").concat(r),o,g.className);return p(n.createElement("div",{className:w,style:v},n.createElement("div",{className:"".concat(d,"-arrow")}),n.createElement(i.z,Object.assign({},t,{className:f,prefixCls:d,overlayInnerStyle:b}),c)))};let B=_}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9879],{11261:(t,e,o)=>{o.d(e,{a:()=>d,A:()=>w});var n=o(27061),r=o(79630),a=o(40419),i=o(86608),c=o(29300),l=o.n(c),s=o(12115),u=o(43717);let d=s.forwardRef(function(t,e){var o,c,d,p=t.inputElement,f=t.children,h=t.prefixCls,m=t.prefix,g=t.suffix,v=t.addonBefore,b=t.addonAfter,w=t.className,y=t.style,x=t.disabled,A=t.readOnly,C=t.focused,E=t.triggerFocus,S=t.allowClear,O=t.value,R=t.handleReset,k=t.hidden,z=t.classes,j=t.classNames,_=t.dataAttrs,B=t.styles,M=t.components,P=t.onClear,N=null!=f?f:p,I=(null==M?void 0:M.affixWrapper)||"span",T=(null==M?void 0:M.groupWrapper)||"span",L=(null==M?void 0:M.wrapper)||"span",W=(null==M?void 0:M.groupAddon)||"span",H=(0,s.useRef)(null),D=(0,u.OL)(t),F=(0,s.cloneElement)(N,{value:O,className:l()(null==(o=N.props)?void 0:o.className,!D&&(null==j?void 0:j.variant))||null}),V=(0,s.useRef)(null);if(s.useImperativeHandle(e,function(){return{nativeElement:V.current||H.current}}),D){var X=null;if(S){var q=!x&&!A&&O,Y="".concat(h,"-clear-icon"),G="object"===(0,i.A)(S)&&null!=S&&S.clearIcon?S.clearIcon:"✖";X=s.createElement("button",{type:"button",tabIndex:-1,onClick:function(t){null==R||R(t),null==P||P()},onMouseDown:function(t){return t.preventDefault()},className:l()(Y,(0,a.A)((0,a.A)({},"".concat(Y,"-hidden"),!q),"".concat(Y,"-has-suffix"),!!g))},G)}var K="".concat(h,"-affix-wrapper"),U=l()(K,(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},"".concat(h,"-disabled"),x),"".concat(K,"-disabled"),x),"".concat(K,"-focused"),C),"".concat(K,"-readonly"),A),"".concat(K,"-input-with-clear-btn"),g&&S&&O),null==z?void 0:z.affixWrapper,null==j?void 0:j.affixWrapper,null==j?void 0:j.variant),Z=(g||S)&&s.createElement("span",{className:l()("".concat(h,"-suffix"),null==j?void 0:j.suffix),style:null==B?void 0:B.suffix},X,g);F=s.createElement(I,(0,r.A)({className:U,style:null==B?void 0:B.affixWrapper,onClick:function(t){var e;null!=(e=H.current)&&e.contains(t.target)&&(null==E||E())}},null==_?void 0:_.affixWrapper,{ref:H}),m&&s.createElement("span",{className:l()("".concat(h,"-prefix"),null==j?void 0:j.prefix),style:null==B?void 0:B.prefix},m),F,Z)}if((0,u.bk)(t)){var Q="".concat(h,"-group"),J="".concat(Q,"-addon"),$="".concat(Q,"-wrapper"),tt=l()("".concat(h,"-wrapper"),Q,null==z?void 0:z.wrapper,null==j?void 0:j.wrapper),te=l()($,(0,a.A)({},"".concat($,"-disabled"),x),null==z?void 0:z.group,null==j?void 0:j.groupWrapper);F=s.createElement(T,{className:te,ref:V},s.createElement(L,{className:tt},v&&s.createElement(W,{className:J},v),F,b&&s.createElement(W,{className:J},b)))}return s.cloneElement(F,{className:l()(null==(c=F.props)?void 0:c.className,w)||null,style:(0,n.A)((0,n.A)({},null==(d=F.props)?void 0:d.style),y),hidden:k})});var p=o(85757),f=o(21858),h=o(20235),m=o(48804),g=o(17980),v=o(52032),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];let w=(0,s.forwardRef)(function(t,e){var o,i=t.autoComplete,c=t.onChange,w=t.onFocus,y=t.onBlur,x=t.onPressEnter,A=t.onKeyDown,C=t.onKeyUp,E=t.prefixCls,S=void 0===E?"rc-input":E,O=t.disabled,R=t.htmlSize,k=t.className,z=t.maxLength,j=t.suffix,_=t.showCount,B=t.count,M=t.type,P=t.classes,N=t.classNames,I=t.styles,T=t.onCompositionStart,L=t.onCompositionEnd,W=(0,h.A)(t,b),H=(0,s.useState)(!1),D=(0,f.A)(H,2),F=D[0],V=D[1],X=(0,s.useRef)(!1),q=(0,s.useRef)(!1),Y=(0,s.useRef)(null),G=(0,s.useRef)(null),K=function(t){Y.current&&(0,u.F4)(Y.current,t)},U=(0,m.A)(t.defaultValue,{value:t.value}),Z=(0,f.A)(U,2),Q=Z[0],J=Z[1],$=null==Q?"":String(Q),tt=(0,s.useState)(null),te=(0,f.A)(tt,2),to=te[0],tn=te[1],tr=(0,v.A)(B,_),ta=tr.max||z,ti=tr.strategy($),tc=!!ta&&ti>ta;(0,s.useImperativeHandle)(e,function(){var t;return{focus:K,blur:function(){var t;null==(t=Y.current)||t.blur()},setSelectionRange:function(t,e,o){var n;null==(n=Y.current)||n.setSelectionRange(t,e,o)},select:function(){var t;null==(t=Y.current)||t.select()},input:Y.current,nativeElement:(null==(t=G.current)?void 0:t.nativeElement)||Y.current}}),(0,s.useEffect)(function(){q.current&&(q.current=!1),V(function(t){return(!t||!O)&&t})},[O]);var tl=function(t,e,o){var n,r,a=e;if(!X.current&&tr.exceedFormatter&&tr.max&&tr.strategy(e)>tr.max)a=tr.exceedFormatter(e,{max:tr.max}),e!==a&&tn([(null==(n=Y.current)?void 0:n.selectionStart)||0,(null==(r=Y.current)?void 0:r.selectionEnd)||0]);else if("compositionEnd"===o.source)return;J(a),Y.current&&(0,u.gS)(Y.current,t,c,a)};(0,s.useEffect)(function(){if(to){var t;null==(t=Y.current)||t.setSelectionRange.apply(t,(0,p.A)(to))}},[to]);var ts=tc&&"".concat(S,"-out-of-range");return s.createElement(d,(0,r.A)({},W,{prefixCls:S,className:l()(k,ts),handleReset:function(t){J(""),K(),Y.current&&(0,u.gS)(Y.current,t,c)},value:$,focused:F,triggerFocus:K,suffix:function(){var t=Number(ta)>0;if(j||tr.show){var e=tr.showFormatter?tr.showFormatter({value:$,count:ti,maxLength:ta}):"".concat(ti).concat(t?" / ".concat(ta):"");return s.createElement(s.Fragment,null,tr.show&&s.createElement("span",{className:l()("".concat(S,"-show-count-suffix"),(0,a.A)({},"".concat(S,"-show-count-has-suffix"),!!j),null==N?void 0:N.count),style:(0,n.A)({},null==I?void 0:I.count)},e),j)}return null}(),disabled:O,classes:P,classNames:N,styles:I,ref:G}),(o=(0,g.A)(t,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),s.createElement("input",(0,r.A)({autoComplete:i},o,{onChange:function(t){tl(t,t.target.value,{source:"change"})},onFocus:function(t){V(!0),null==w||w(t)},onBlur:function(t){q.current&&(q.current=!1),V(!1),null==y||y(t)},onKeyDown:function(t){x&&"Enter"===t.key&&!q.current&&(q.current=!0,x(t)),null==A||A(t)},onKeyUp:function(t){"Enter"===t.key&&(q.current=!1),null==C||C(t)},className:l()(S,(0,a.A)({},"".concat(S,"-disabled"),O),null==N?void 0:N.input),style:null==I?void 0:I.input,ref:Y,size:R,type:void 0===M?"text":M,onCompositionStart:function(t){X.current=!0,null==T||T(t)},onCompositionEnd:function(t){X.current=!1,tl(t,t.currentTarget.value,{source:"compositionEnd"}),null==L||L(t)}}))))})},16598:(t,e,o)=>{o.d(e,{z:()=>i,A:()=>v});var n=o(29300),r=o.n(n),a=o(12115);function i(t){var e=t.children,o=t.prefixCls,n=t.id,i=t.overlayInnerStyle,c=t.bodyClassName,l=t.className,s=t.style;return a.createElement("div",{className:r()("".concat(o,"-content"),l),style:s},a.createElement("div",{className:r()("".concat(o,"-inner"),c),id:n,role:"tooltip",style:i},"function"==typeof e?e():e))}var c=o(79630),l=o(27061),s=o(20235),u=o(56980),d={shiftX:64,adjustY:1},p={adjustX:1,shiftY:!0},f=[0,0],h={left:{points:["cr","cl"],overflow:p,offset:[-4,0],targetOffset:f},right:{points:["cl","cr"],overflow:p,offset:[4,0],targetOffset:f},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:f},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:f},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:f},leftTop:{points:["tr","tl"],overflow:p,offset:[-4,0],targetOffset:f},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:f},rightTop:{points:["tl","tr"],overflow:p,offset:[4,0],targetOffset:f},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:f},rightBottom:{points:["bl","br"],overflow:p,offset:[4,0],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:f},leftBottom:{points:["br","bl"],overflow:p,offset:[-4,0],targetOffset:f}},m=o(32934),g=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"];let v=(0,a.forwardRef)(function(t,e){var o,n,d,p=t.overlayClassName,f=t.trigger,v=t.mouseEnterDelay,b=t.mouseLeaveDelay,w=t.overlayStyle,y=t.prefixCls,x=void 0===y?"rc-tooltip":y,A=t.children,C=t.onVisibleChange,E=t.afterVisibleChange,S=t.transitionName,O=t.animation,R=t.motion,k=t.placement,z=t.align,j=t.destroyTooltipOnHide,_=t.defaultVisible,B=t.getTooltipContainer,M=t.overlayInnerStyle,P=(t.arrowContent,t.overlay),N=t.id,I=t.showArrow,T=t.classNames,L=t.styles,W=(0,s.A)(t,g),H=(0,m.A)(N),D=(0,a.useRef)(null);(0,a.useImperativeHandle)(e,function(){return D.current});var F=(0,l.A)({},W);return"visible"in t&&(F.popupVisible=t.visible),a.createElement(u.A,(0,c.A)({popupClassName:r()(p,null==T?void 0:T.root),prefixCls:x,popup:function(){return a.createElement(i,{key:"content",prefixCls:x,id:H,bodyClassName:null==T?void 0:T.body,overlayInnerStyle:(0,l.A)((0,l.A)({},M),null==L?void 0:L.body)},P)},action:void 0===f?["hover"]:f,builtinPlacements:h,popupPlacement:void 0===k?"right":k,ref:D,popupAlign:void 0===z?{}:z,getPopupContainer:B,onPopupVisibleChange:C,afterPopupVisibleChange:E,popupTransitionName:S,popupAnimation:O,popupMotion:R,defaultPopupVisible:_,autoDestroy:void 0!==j&&j,mouseLeaveDelay:void 0===b?.1:b,popupStyle:(0,l.A)((0,l.A)({},w),null==L?void 0:L.root),mouseEnterDelay:void 0===v?0:v,arrow:void 0===I||I},F),(n=(null==(o=a.Children.only(A))?void 0:o.props)||{},d=(0,l.A)((0,l.A)({},n),{},{"aria-describedby":P?H:null}),a.cloneElement(A,d)))})},18741:(t,e,o)=>{o.d(e,{A:()=>r});var n=o(68495);function r(t,e){return n.s.reduce((o,n)=>{let r=t["".concat(n,"1")],a=t["".concat(n,"3")],i=t["".concat(n,"6")],c=t["".concat(n,"7")];return Object.assign(Object.assign({},o),e(n,{lightColor:r,lightBorderColor:a,darkColor:i,textColor:c}))},{})}},19086:(t,e,o)=>{o.d(e,{C:()=>r,b:()=>a});var n=o(61388);function r(t){return(0,n.oX)(t,{inputAffixPadding:t.paddingXXS})}let a=t=>{let{controlHeight:e,fontSize:o,lineHeight:n,lineWidth:r,controlHeightSM:a,controlHeightLG:i,fontSizeLG:c,lineHeightLG:l,paddingSM:s,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:h,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:v,colorWarningOutline:b,colorBgContainer:w,inputFontSize:y,inputFontSizeLG:x,inputFontSizeSM:A}=t,C=y||o,E=A||C,S=x||c;return{paddingBlock:Math.max(Math.round((e-C*n)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((a-E*n)/2*10)/10-r,0),paddingBlockLG:Math.max(Math.ceil((i-S*l)/2*10)/10-r,0),paddingInline:s-r,paddingInlineSM:u-r,paddingInlineLG:d-r,addonBg:p,activeBorderColor:h,hoverBorderColor:f,activeShadow:"0 0 0 ".concat(m,"px ").concat(g),errorActiveShadow:"0 0 0 ".concat(m,"px ").concat(v),warningActiveShadow:"0 0 0 ".concat(m,"px ").concat(b),hoverBg:w,activeBg:w,inputFontSize:C,inputFontSizeLG:S,inputFontSizeSM:E}}},19110:(t,e,o)=>{o.d(e,{C:()=>r});var n=o(12115);let r=()=>n.useReducer(t=>t+1,0)},30611:(t,e,o)=>{o.d(e,{Ay:()=>g,BZ:()=>p,MG:()=>m,XM:()=>h,j_:()=>u,wj:()=>f});var n=o(99841),r=o(18184),a=o(67831),i=o(45431),c=o(61388),l=o(19086),s=o(35271);let u=t=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:t,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=t=>{let{paddingBlockLG:e,lineHeightLG:o,borderRadiusLG:r,paddingInlineLG:a}=t;return{padding:"".concat((0,n.zA)(e)," ").concat((0,n.zA)(a)),fontSize:t.inputFontSizeLG,lineHeight:o,borderRadius:r}},p=t=>({padding:"".concat((0,n.zA)(t.paddingBlockSM)," ").concat((0,n.zA)(t.paddingInlineSM)),fontSize:t.inputFontSizeSM,borderRadius:t.borderRadiusSM}),f=t=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:"".concat((0,n.zA)(t.paddingBlock)," ").concat((0,n.zA)(t.paddingInline)),color:t.colorText,fontSize:t.inputFontSize,lineHeight:t.lineHeight,borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationMid)},u(t.colorTextPlaceholder)),{"&-lg":Object.assign({},d(t)),"&-sm":Object.assign({},p(t)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=t=>{let{componentCls:e,antCls:o}=t;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:t.paddingXS,"&:last-child":{paddingInlineEnd:0}},["&-lg ".concat(e,", &-lg > ").concat(e,"-group-addon")]:Object.assign({},d(t)),["&-sm ".concat(e,", &-sm > ").concat(e,"-group-addon")]:Object.assign({},p(t)),["&-lg ".concat(o,"-select-single ").concat(o,"-select-selector")]:{height:t.controlHeightLG},["&-sm ".concat(o,"-select-single ").concat(o,"-select-selector")]:{height:t.controlHeightSM},["> ".concat(e)]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},["".concat(e,"-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 ".concat((0,n.zA)(t.paddingInline)),color:t.colorText,fontWeight:"normal",fontSize:t.inputFontSize,textAlign:"center",borderRadius:t.borderRadius,transition:"all ".concat(t.motionDurationSlow),lineHeight:1,["".concat(o,"-select")]:{margin:"".concat((0,n.zA)(t.calc(t.paddingBlock).add(1).mul(-1).equal())," ").concat((0,n.zA)(t.calc(t.paddingInline).mul(-1).equal())),["&".concat(o,"-select-single:not(").concat(o,"-select-customize-input):not(").concat(o,"-pagination-size-changer)")]:{["".concat(o,"-select-selector")]:{backgroundColor:"inherit",border:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," transparent"),boxShadow:"none"}}},["".concat(o,"-cascader-picker")]:{margin:"-9px ".concat((0,n.zA)(t.calc(t.paddingInline).mul(-1).equal())),backgroundColor:"transparent",["".concat(o,"-cascader-input")]:{textAlign:"start",border:0,boxShadow:"none"}}}},[e]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,["".concat(e,"-search-with-button &")]:{zIndex:0}}},["> ".concat(e,":first-child, ").concat(e,"-group-addon:first-child")]:{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(o,"-select ").concat(o,"-select-selector")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(e,"-affix-wrapper")]:{["&:not(:first-child) ".concat(e)]:{borderStartStartRadius:0,borderEndStartRadius:0},["&:not(:last-child) ".concat(e)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(e,":last-child, ").concat(e,"-group-addon:last-child")]:{borderStartStartRadius:0,borderEndStartRadius:0,["".concat(o,"-select ").concat(o,"-select-selector")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["".concat(e,"-affix-wrapper")]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(e,"-search &")]:{borderStartStartRadius:t.borderRadius,borderEndStartRadius:t.borderRadius}},["&:not(:first-child), ".concat(e,"-search &:not(:first-child)")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&".concat(e,"-group-compact")]:Object.assign(Object.assign({display:"block"},(0,r.t6)()),{["".concat(e,"-group-addon, ").concat(e,"-group-wrap, > ").concat(e)]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:t.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},["\n & > ".concat(e,"-affix-wrapper,\n & > ").concat(e,"-number-affix-wrapper,\n & > ").concat(o,"-picker-range\n ")]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:t.calc(t.lineWidth).mul(-1).equal(),borderInlineEndWidth:t.lineWidth},[e]:{float:"none"},["& > ".concat(o,"-select > ").concat(o,"-select-selector,\n & > ").concat(o,"-select-auto-complete ").concat(e,",\n & > ").concat(o,"-cascader-picker ").concat(e,",\n & > ").concat(e,"-group-wrapper ").concat(e)]:{borderInlineEndWidth:t.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},["& > ".concat(o,"-select-focused")]:{zIndex:1},["& > ".concat(o,"-select > ").concat(o,"-select-arrow")]:{zIndex:1},["& > *:first-child,\n & > ".concat(o,"-select:first-child > ").concat(o,"-select-selector,\n & > ").concat(o,"-select-auto-complete:first-child ").concat(e,",\n & > ").concat(o,"-cascader-picker:first-child ").concat(e)]:{borderStartStartRadius:t.borderRadius,borderEndStartRadius:t.borderRadius},["& > *:last-child,\n & > ".concat(o,"-select:last-child > ").concat(o,"-select-selector,\n & > ").concat(o,"-cascader-picker:last-child ").concat(e,",\n & > ").concat(o,"-cascader-picker-focused:last-child ").concat(e)]:{borderInlineEndWidth:t.lineWidth,borderStartEndRadius:t.borderRadius,borderEndEndRadius:t.borderRadius},["& > ".concat(o,"-select-auto-complete ").concat(e)]:{verticalAlign:"top"},["".concat(e,"-group-wrapper + ").concat(e,"-group-wrapper")]:{marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),["".concat(e,"-affix-wrapper")]:{borderRadius:0}},["".concat(e,"-group-wrapper:not(:last-child)")]:{["&".concat(e,"-search > ").concat(e,"-group")]:{["& > ".concat(e,"-group-addon > ").concat(e,"-search-button")]:{borderRadius:0},["& > ".concat(e)]:{borderStartStartRadius:t.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:t.borderRadius}}}})}},m=(0,i.OF)(["Input","Shared"],t=>{let e=(0,c.oX)(t,(0,l.C)(t));return[(t=>{let{componentCls:e,controlHeightSM:o,lineWidth:n,calc:a}=t,i=a(o).sub(a(n).mul(2)).sub(16).div(2).equal();return{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,r.dF)(t)),f(t)),(0,s.Eb)(t)),(0,s.sA)(t)),(0,s.lB)(t)),(0,s.aP)(t)),{'&[type="color"]':{height:t.controlHeight,["&".concat(e,"-lg")]:{height:t.controlHeightLG},["&".concat(e,"-sm")]:{height:o,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}})(e),(t=>{let{componentCls:e,inputAffixPadding:o,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:c,iconCls:l}=t,s="".concat(e,"-affix-wrapper"),u="".concat(e,"-affix-wrapper-disabled");return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},f(t)),{display:"inline-flex",["&:not(".concat(e,"-disabled):hover")]:{zIndex:1,["".concat(e,"-search-with-button &")]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},["> input".concat(e)]:{padding:0},["> input".concat(e,", > textarea").concat(e)]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[e]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:t.paddingXS}},"&-show-count-suffix":{color:r,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:t.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}}}),(t=>{let{componentCls:e}=t;return{["".concat(e,"-clear-icon")]:{margin:0,padding:0,lineHeight:0,color:t.colorTextQuaternary,fontSize:t.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:"color ".concat(t.motionDurationSlow),border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:t.colorIcon},"&:active":{color:t.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:"0 ".concat((0,n.zA)(t.inputAffixPadding))}}}})(t)),{["".concat(l).concat(e,"-password-icon")]:{color:i,cursor:"pointer",transition:"all ".concat(a),"&:hover":{color:c}}}),["".concat(e,"-underlined")]:{borderRadius:0},[u]:{["".concat(l).concat(e,"-password-icon")]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}})(e)]},l.b,{resetFont:!1}),g=(0,i.OF)(["Input","Component"],t=>{let e=(0,c.oX)(t,(0,l.C)(t));return[(t=>{let{componentCls:e,borderRadiusLG:o,borderRadiusSM:n}=t;return{["".concat(e,"-group")]:Object.assign(Object.assign(Object.assign({},(0,r.dF)(t)),h(t)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{["".concat(e,"-group-addon")]:{borderRadius:o,fontSize:t.inputFontSizeLG}},"&-sm":{["".concat(e,"-group-addon")]:{borderRadius:n}}},(0,s.nm)(t)),(0,s.Vy)(t)),{["&:not(".concat(e,"-compact-first-item):not(").concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-first-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-last-item")]:{["".concat(e,", ").concat(e,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&:not(".concat(e,"-compact-last-item)").concat(e,"-compact-item")]:{["".concat(e,"-affix-wrapper")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(e,"-compact-first-item)").concat(e,"-compact-item")]:{["".concat(e,"-affix-wrapper")]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}})(e),(t=>{let{componentCls:e,antCls:o}=t,n="".concat(e,"-search");return{[n]:{[e]:{"&:not([disabled]):hover, &:not([disabled]):focus":{["+ ".concat(e,"-group-addon ").concat(n,"-button:not(").concat(o,"-btn-color-primary):not(").concat(o,"-btn-variant-text)")]:{borderInlineStartColor:t.colorPrimaryHover}}},["".concat(e,"-affix-wrapper")]:{height:t.controlHeight,borderRadius:0},["".concat(e,"-lg")]:{lineHeight:t.calc(t.lineHeightLG).sub(2e-4).equal()},["> ".concat(e,"-group")]:{["> ".concat(e,"-group-addon:last-child")]:{insetInlineStart:-1,padding:0,border:0,["".concat(n,"-button")]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},["".concat(n,"-button:not(").concat(o,"-btn-color-primary)")]:{color:t.colorTextDescription,"&:not([disabled]):hover":{color:t.colorPrimaryHover},"&:active":{color:t.colorPrimaryActive},["&".concat(o,"-btn-loading::before")]:{inset:0}}}},["".concat(n,"-button")]:{height:t.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{["".concat(e,"-affix-wrapper, ").concat(n,"-button")]:{height:t.controlHeightLG}},"&-small":{["".concat(e,"-affix-wrapper, ").concat(n,"-button")]:{height:t.controlHeightSM}},"&-rtl":{direction:"rtl"},["&".concat(e,"-compact-item")]:{["&:not(".concat(e,"-compact-last-item)")]:{["".concat(e,"-group-addon")]:{["".concat(e,"-search-button")]:{marginInlineEnd:t.calc(t.lineWidth).mul(-1).equal(),borderRadius:0}}},["&:not(".concat(e,"-compact-first-item)")]:{["".concat(e,",").concat(e,"-affix-wrapper")]:{borderRadius:0}},["> ".concat(e,"-group-addon ").concat(e,"-search-button,\n > ").concat(e,",\n ").concat(e,"-affix-wrapper")]:{"&:hover, &:focus, &:active":{zIndex:2}},["> ".concat(e,"-affix-wrapper-focused")]:{zIndex:2}}}}})(e),(t=>{let{componentCls:e}=t;return{["".concat(e,"-out-of-range")]:{["&, & input, & textarea, ".concat(e,"-show-count-suffix, ").concat(e,"-data-count")]:{color:t.colorError}}}})(e),(0,a.G)(e)]},l.b,{resetFont:!1})},32417:(t,e,o)=>{o.d(e,{A:()=>H});var n=o(79630),r=o(12115),a=o(63715);o(9587);var i=o(27061),c=o(86608),l=o(41197),s=o(74686),u=r.createContext(null),d=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var o=-1;return t.some(function(t,n){return t[0]===e&&(o=n,!0)}),o}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 o=t(this.__entries__,e),n=this.__entries__[o];return n&&n[1]},e.prototype.set=function(e,o){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=o:this.__entries__.push([e,o])},e.prototype.delete=function(e){var o=this.__entries__,n=t(o,e);~n&&o.splice(n,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 o=0,n=this.__entries__;o0},t.prototype.connect_=function(){p&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),g?(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(){p&&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,o=void 0===e?"":e;m.some(function(t){return!!~o.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),b=function(t,e){for(var o=0,n=Object.keys(e);o0},t}(),k="undefined"!=typeof WeakMap?new WeakMap:new d,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 o=new R(e,v.getInstance(),this);k.set(this,o)};["observe","unobserve","disconnect"].forEach(function(t){z.prototype[t]=function(){var e;return(e=k.get(this))[t].apply(e,arguments)}});var j=void 0!==f.ResizeObserver?f.ResizeObserver:z,_=new Map,B=new j(function(t){t.forEach(function(t){var e,o=t.target;null==(e=_.get(o))||e.forEach(function(t){return t(o)})})}),M=o(30857),P=o(28383),N=o(38289),I=o(9424),T=function(t){(0,N.A)(o,t);var e=(0,I.A)(o);function o(){return(0,M.A)(this,o),e.apply(this,arguments)}return(0,P.A)(o,[{key:"render",value:function(){return this.props.children}}]),o}(r.Component),L=r.forwardRef(function(t,e){var o=t.children,n=t.disabled,a=r.useRef(null),d=r.useRef(null),p=r.useContext(u),f="function"==typeof o,h=f?o(a):o,m=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!f&&r.isValidElement(h)&&(0,s.f3)(h),v=g?(0,s.A9)(h):null,b=(0,s.xK)(v,a),w=function(){var t;return(0,l.Ay)(a.current)||(a.current&&"object"===(0,c.A)(a.current)?(0,l.Ay)(null==(t=a.current)?void 0:t.nativeElement):null)||(0,l.Ay)(d.current)};r.useImperativeHandle(e,function(){return w()});var y=r.useRef(t);y.current=t;var x=r.useCallback(function(t){var e=y.current,o=e.onResize,n=e.data,r=t.getBoundingClientRect(),a=r.width,c=r.height,l=t.offsetWidth,s=t.offsetHeight,u=Math.floor(a),d=Math.floor(c);if(m.current.width!==u||m.current.height!==d||m.current.offsetWidth!==l||m.current.offsetHeight!==s){var f={width:u,height:d,offsetWidth:l,offsetHeight:s};m.current=f;var h=l===Math.round(a)?a:l,g=s===Math.round(c)?c:s,v=(0,i.A)((0,i.A)({},f),{},{offsetWidth:h,offsetHeight:g});null==p||p(v,t,n),o&&Promise.resolve().then(function(){o(v,t)})}},[]);return r.useEffect(function(){var t=w();return t&&!n&&(_.has(t)||(_.set(t,new Set),B.observe(t)),_.get(t).add(x)),function(){_.has(t)&&(_.get(t).delete(x),!_.get(t).size&&(B.unobserve(t),_.delete(t)))}},[a.current,n]),r.createElement(T,{ref:d},g?r.cloneElement(h,{ref:b}):h)}),W=r.forwardRef(function(t,e){var o=t.children;return("function"==typeof o?[o]:(0,a.A)(o)).map(function(o,a){var i=(null==o?void 0:o.key)||"".concat("rc-observer-key","-").concat(a);return r.createElement(L,(0,n.A)({},t,{key:i,ref:0===a?e:void 0}),o)})});W.Collection=function(t){var e=t.children,o=t.onBatchResize,n=r.useRef(0),a=r.useRef([]),i=r.useContext(u),c=r.useCallback(function(t,e,r){n.current+=1;var c=n.current;a.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){c===n.current&&(null==o||o(a.current),a.current=[])}),null==i||i(t,e,r)},[o,i]);return r.createElement(u.Provider,{value:c},e)};let H=W},35271:(t,e,o)=>{o.d(e,{Eb:()=>l,Vy:()=>g,aP:()=>w,eT:()=>a,lB:()=>d,nI:()=>i,nm:()=>u,sA:()=>h});var n=o(99841),r=o(61388);let a=t=>({color:t.colorTextDisabled,backgroundColor:t.colorBgContainerDisabled,borderColor:t.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},(t=>({borderColor:t.hoverBorderColor,backgroundColor:t.hoverBg}))((0,r.oX)(t,{hoverBorderColor:t.colorBorder,hoverBg:t.colorBgContainerDisabled})))}),i=(t,e)=>({background:t.colorBgContainer,borderWidth:t.lineWidth,borderStyle:t.lineType,borderColor:e.borderColor,"&:hover":{borderColor:e.hoverBorderColor,backgroundColor:t.hoverBg},"&:focus, &:focus-within":{borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:t.activeBg}}),c=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},i(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}}),["&".concat(t.componentCls,"-status-").concat(e.status).concat(t.componentCls,"-disabled")]:{borderColor:e.borderColor}}),l=(t,e)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i(t,{borderColor:t.colorBorder,hoverBorderColor:t.hoverBorderColor,activeBorderColor:t.activeBorderColor,activeShadow:t.activeShadow})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(t))}),c(t,{status:"error",borderColor:t.colorError,hoverBorderColor:t.colorErrorBorderHover,activeBorderColor:t.colorError,activeShadow:t.errorActiveShadow,affixColor:t.colorError})),c(t,{status:"warning",borderColor:t.colorWarning,hoverBorderColor:t.colorWarningBorderHover,activeBorderColor:t.colorWarning,activeShadow:t.warningActiveShadow,affixColor:t.colorWarning})),e)}),s=(t,e)=>({["&".concat(t.componentCls,"-group-wrapper-status-").concat(e.status)]:{["".concat(t.componentCls,"-group-addon")]:{borderColor:e.addonBorderColor,color:e.addonColor}}}),u=t=>({"&-outlined":Object.assign(Object.assign(Object.assign({["".concat(t.componentCls,"-group")]:{"&-addon":{background:t.addonBg,border:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},s(t,{status:"error",addonBorderColor:t.colorError,addonColor:t.colorErrorText})),s(t,{status:"warning",addonBorderColor:t.colorWarning,addonColor:t.colorWarningText})),{["&".concat(t.componentCls,"-group-wrapper-disabled")]:{["".concat(t.componentCls,"-group-addon")]:Object.assign({},a(t))}})}),d=(t,e)=>{let{componentCls:o}=t;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},["&".concat(o,"-disabled, &[disabled]")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(o,"-status-error")]:{"&, & input, & textarea":{color:t.colorError}},["&".concat(o,"-status-warning")]:{"&, & input, & textarea":{color:t.colorWarning}}},e)}},p=(t,e)=>{var o;return{background:e.bg,borderWidth:t.lineWidth,borderStyle:t.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null!=(o=null==e?void 0:e.inputColor)?o:"unset"},"&:hover":{background:e.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:e.activeBorderColor,backgroundColor:t.activeBg}}},f=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},p(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}})}),h=(t,e)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(t,{bg:t.colorFillTertiary,hoverBg:t.colorFillSecondary,activeBorderColor:t.activeBorderColor})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:Object.assign({},a(t))}),f(t,{status:"error",bg:t.colorErrorBg,hoverBg:t.colorErrorBgHover,activeBorderColor:t.colorError,inputColor:t.colorErrorText,affixColor:t.colorError})),f(t,{status:"warning",bg:t.colorWarningBg,hoverBg:t.colorWarningBgHover,activeBorderColor:t.colorWarning,inputColor:t.colorWarningText,affixColor:t.colorWarning})),e)}),m=(t,e)=>({["&".concat(t.componentCls,"-group-wrapper-status-").concat(e.status)]:{["".concat(t.componentCls,"-group-addon")]:{background:e.addonBg,color:e.addonColor}}}),g=t=>({"&-filled":Object.assign(Object.assign(Object.assign({["".concat(t.componentCls,"-group-addon")]:{background:t.colorFillTertiary,"&:last-child":{position:"static"}}},m(t,{status:"error",addonBg:t.colorErrorBg,addonColor:t.colorErrorText})),m(t,{status:"warning",addonBg:t.colorWarningBg,addonColor:t.colorWarningText})),{["&".concat(t.componentCls,"-group-wrapper-disabled")]:{["".concat(t.componentCls,"-group")]:{"&-addon":{background:t.colorFillTertiary,color:t.colorTextDisabled},"&-addon:first-child":{borderInlineStart:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderTop:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderBottom:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)},"&-addon:last-child":{borderInlineEnd:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderTop:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder),borderBottom:"".concat((0,n.zA)(t.lineWidth)," ").concat(t.lineType," ").concat(t.colorBorder)}}}})}),v=(t,e)=>({background:t.colorBgContainer,borderWidth:"".concat((0,n.zA)(t.lineWidth)," 0"),borderStyle:"".concat(t.lineType," none"),borderColor:"transparent transparent ".concat(e.borderColor," transparent"),borderRadius:0,"&:hover":{borderColor:"transparent transparent ".concat(e.hoverBorderColor," transparent"),backgroundColor:t.hoverBg},"&:focus, &:focus-within":{borderColor:"transparent transparent ".concat(e.activeBorderColor," transparent"),outline:0,backgroundColor:t.activeBg}}),b=(t,e)=>({["&".concat(t.componentCls,"-status-").concat(e.status,":not(").concat(t.componentCls,"-disabled)")]:Object.assign(Object.assign({},v(t,e)),{["".concat(t.componentCls,"-prefix, ").concat(t.componentCls,"-suffix")]:{color:e.affixColor}}),["&".concat(t.componentCls,"-status-").concat(e.status).concat(t.componentCls,"-disabled")]:{borderColor:"transparent transparent ".concat(e.borderColor," transparent")}}),w=(t,e)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v(t,{borderColor:t.colorBorder,hoverBorderColor:t.hoverBorderColor,activeBorderColor:t.activeBorderColor,activeShadow:t.activeShadow})),{["&".concat(t.componentCls,"-disabled, &[disabled]")]:{color:t.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:"transparent transparent ".concat(t.colorBorder," transparent")}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),b(t,{status:"error",borderColor:t.colorError,hoverBorderColor:t.colorErrorBorderHover,activeBorderColor:t.colorError,activeShadow:t.errorActiveShadow,affixColor:t.colorError})),b(t,{status:"warning",borderColor:t.colorWarning,hoverBorderColor:t.colorWarningBorderHover,activeBorderColor:t.colorWarning,activeShadow:t.warningActiveShadow,affixColor:t.colorWarning})),e)})},35464:(t,e,o)=>{o.d(e,{Ay:()=>c,Ke:()=>i,Zs:()=>a});var n=o(99841),r=o(45902);let a=8;function i(t){let{contentRadius:e,limitVerticalRadius:o}=t,n=e>12?e+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:o?a:n}}function c(t,e,o){var a,i,c,l,s,u,d,p;let{componentCls:f,boxShadowPopoverArrow:h,arrowOffsetVertical:m,arrowOffsetHorizontal:g}=t,{arrowDistance:v=0,arrowPlacement:b={left:!0,right:!0,top:!0,bottom:!0}}=o||{};return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(f,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.j)(t,e,h)),{"&:before":{background:e}})]},(a=!!b.top,i={[["&-placement-top > ".concat(f,"-arrow"),"&-placement-topLeft > ".concat(f,"-arrow"),"&-placement-topRight > ".concat(f,"-arrow")].join(",")]:{bottom:v,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":g,["> ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:g}}},"&-placement-topRight":{"--arrow-offset-horizontal":"calc(100% - ".concat((0,n.zA)(g),")"),["> ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:g}}}},a?i:{})),(c=!!b.bottom,l={[["&-placement-bottom > ".concat(f,"-arrow"),"&-placement-bottomLeft > ".concat(f,"-arrow"),"&-placement-bottomRight > ".concat(f,"-arrow")].join(",")]:{top:v,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":g,["> ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:g}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":"calc(100% - ".concat((0,n.zA)(g),")"),["> ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:g}}}},c?l:{})),(s=!!b.left,u={[["&-placement-left > ".concat(f,"-arrow"),"&-placement-leftTop > ".concat(f,"-arrow"),"&-placement-leftBottom > ".concat(f,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:v},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(f,"-arrow")]:{top:m},["&-placement-leftBottom > ".concat(f,"-arrow")]:{bottom:m}},s?u:{})),(d=!!b.right,p={[["&-placement-right > ".concat(f,"-arrow"),"&-placement-rightTop > ".concat(f,"-arrow"),"&-placement-rightBottom > ".concat(f,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:v},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(f,"-arrow")]:{top:m},["&-placement-rightBottom > ".concat(f,"-arrow")]:{bottom:m}},d?p:{}))}}},35695:(t,e,o)=>{var n=o(18999);o.o(n,"useParams")&&o.d(e,{useParams:function(){return n.useParams}}),o.o(n,"usePathname")&&o.d(e,{usePathname:function(){return n.usePathname}}),o.o(n,"useRouter")&&o.d(e,{useRouter:function(){return n.useRouter}}),o.o(n,"useSearchParams")&&o.d(e,{useSearchParams:function(){return n.useSearchParams}})},37497:(t,e,o)=>{o.d(e,{A:()=>F});var n,r=o(12115),a=o(29300),i=o.n(a),c=o(79630),l=o(40419),s=o(27061),u=o(85757),d=o(21858),p=o(20235),f=o(11261),h=o(52032),m=o(43717),g=o(48804),v=o(86608),b=o(32417),w=o(26791),y=o(16962),x=["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"],A={},C=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],E=r.forwardRef(function(t,e){var o=t.prefixCls,a=t.defaultValue,u=t.value,f=t.autoSize,h=t.onResize,m=t.className,E=t.style,S=t.disabled,O=t.onChange,R=(t.onInternalAutoSize,(0,p.A)(t,C)),k=(0,g.A)(a,{value:u,postState:function(t){return null!=t?t:""}}),z=(0,d.A)(k,2),j=z[0],_=z[1],B=r.useRef();r.useImperativeHandle(e,function(){return{textArea:B.current}});var M=r.useMemo(function(){return f&&"object"===(0,v.A)(f)?[f.minRows,f.maxRows]:[]},[f]),P=(0,d.A)(M,2),N=P[0],I=P[1],T=!!f,L=r.useState(2),W=(0,d.A)(L,2),H=W[0],D=W[1],F=r.useState(),V=(0,d.A)(F,2),X=V[0],q=V[1],Y=function(){D(0)};(0,w.A)(function(){T&&Y()},[u,N,I,T]),(0,w.A)(function(){if(0===H)D(1);else if(1===H){var t=function(t){var e,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n||((n=document.createElement("textarea")).setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),n.setAttribute("name","hiddenTextarea"),document.body.appendChild(n)),t.getAttribute("wrap")?n.setAttribute("wrap",t.getAttribute("wrap")):n.removeAttribute("wrap");var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.getAttribute("id")||t.getAttribute("data-reactid")||t.getAttribute("name");if(e&&A[o])return A[o];var n=window.getComputedStyle(t),r=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),a=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),c={sizingStyle:x.map(function(t){return"".concat(t,":").concat(n.getPropertyValue(t))}).join(";"),paddingSize:a,borderSize:i,boxSizing:r};return e&&o&&(A[o]=c),c}(t,o),c=i.paddingSize,l=i.borderSize,s=i.boxSizing,u=i.sizingStyle;n.setAttribute("style","".concat(u,";").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")),n.value=t.value||t.placeholder||"";var d=void 0,p=void 0,f=n.scrollHeight;if("border-box"===s?f+=l:"content-box"===s&&(f-=c),null!==r||null!==a){n.value=" ";var h=n.scrollHeight-c;null!==r&&(d=h*r,"border-box"===s&&(d=d+c+l),f=Math.max(d,f)),null!==a&&(p=h*a,"border-box"===s&&(p=p+c+l),e=f>p?"":"hidden",f=Math.min(p,f))}var m={height:f,overflowY:e,resize:"none"};return d&&(m.minHeight=d),p&&(m.maxHeight=p),m}(B.current,!1,N,I);D(2),q(t)}},[H]);var G=r.useRef(),K=function(){y.A.cancel(G.current)};r.useEffect(function(){return K},[]);var U=(0,s.A)((0,s.A)({},E),T?X:null);return(0===H||1===H)&&(U.overflowY="hidden",U.overflowX="hidden"),r.createElement(b.A,{onResize:function(t){2===H&&(null==h||h(t),f&&(K(),G.current=(0,y.A)(function(){Y()})))},disabled:!(f||h)},r.createElement("textarea",(0,c.A)({},R,{ref:B,style:U,className:i()(o,m,(0,l.A)({},"".concat(o,"-disabled"),S)),disabled:S,value:j,onChange:function(t){_(t.target.value),null==O||O(t)}})))}),S=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],O=r.forwardRef(function(t,e){var o,n,a=t.defaultValue,v=t.value,b=t.onFocus,w=t.onBlur,y=t.onChange,x=t.allowClear,A=t.maxLength,C=t.onCompositionStart,O=t.onCompositionEnd,R=t.suffix,k=t.prefixCls,z=void 0===k?"rc-textarea":k,j=t.showCount,_=t.count,B=t.className,M=t.style,P=t.disabled,N=t.hidden,I=t.classNames,T=t.styles,L=t.onResize,W=t.onClear,H=t.onPressEnter,D=t.readOnly,F=t.autoSize,V=t.onKeyDown,X=(0,p.A)(t,S),q=(0,g.A)(a,{value:v,defaultValue:a}),Y=(0,d.A)(q,2),G=Y[0],K=Y[1],U=null==G?"":String(G),Z=r.useState(!1),Q=(0,d.A)(Z,2),J=Q[0],$=Q[1],tt=r.useRef(!1),te=r.useState(null),to=(0,d.A)(te,2),tn=to[0],tr=to[1],ta=(0,r.useRef)(null),ti=(0,r.useRef)(null),tc=function(){var t;return null==(t=ti.current)?void 0:t.textArea},tl=function(){tc().focus()};(0,r.useImperativeHandle)(e,function(){var t;return{resizableTextArea:ti.current,focus:tl,blur:function(){tc().blur()},nativeElement:(null==(t=ta.current)?void 0:t.nativeElement)||tc()}}),(0,r.useEffect)(function(){$(function(t){return!P&&t})},[P]);var ts=r.useState(null),tu=(0,d.A)(ts,2),td=tu[0],tp=tu[1];r.useEffect(function(){if(td){var t;(t=tc()).setSelectionRange.apply(t,(0,u.A)(td))}},[td]);var tf=(0,h.A)(_,j),th=null!=(o=tf.max)?o:A,tm=Number(th)>0,tg=tf.strategy(U),tv=!!th&&tg>th,tb=function(t,e){var o=e;!tt.current&&tf.exceedFormatter&&tf.max&&tf.strategy(e)>tf.max&&(o=tf.exceedFormatter(e,{max:tf.max}),e!==o&&tp([tc().selectionStart||0,tc().selectionEnd||0])),K(o),(0,m.gS)(t.currentTarget,t,y,o)},tw=R;tf.show&&(n=tf.showFormatter?tf.showFormatter({value:U,count:tg,maxLength:th}):"".concat(tg).concat(tm?" / ".concat(th):""),tw=r.createElement(r.Fragment,null,tw,r.createElement("span",{className:i()("".concat(z,"-data-count"),null==I?void 0:I.count),style:null==T?void 0:T.count},n)));var ty=!F&&!j&&!x;return r.createElement(f.a,{ref:ta,value:U,allowClear:x,handleReset:function(t){K(""),tl(),(0,m.gS)(tc(),t,y)},suffix:tw,prefixCls:z,classNames:(0,s.A)((0,s.A)({},I),{},{affixWrapper:i()(null==I?void 0:I.affixWrapper,(0,l.A)((0,l.A)({},"".concat(z,"-show-count"),j),"".concat(z,"-textarea-allow-clear"),x))}),disabled:P,focused:J,className:i()(B,tv&&"".concat(z,"-out-of-range")),style:(0,s.A)((0,s.A)({},M),tn&&!ty?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof n?n:void 0}},hidden:N,readOnly:D,onClear:W},r.createElement(E,(0,c.A)({},X,{autoSize:F,maxLength:A,onKeyDown:function(t){"Enter"===t.key&&H&&H(t),null==V||V(t)},onChange:function(t){tb(t,t.target.value)},onFocus:function(t){$(!0),null==b||b(t)},onBlur:function(t){$(!1),null==w||w(t)},onCompositionStart:function(t){tt.current=!0,null==C||C(t)},onCompositionEnd:function(t){tt.current=!1,tb(t,t.currentTarget.value),null==O||O(t)},className:i()(null==I?void 0:I.textarea),style:(0,s.A)((0,s.A)({},null==T?void 0:T.textarea),{},{resize:null==M?void 0:M.resize}),disabled:P,prefixCls:z,onResize:function(t){var e;null==L||L(t),null!=(e=tc())&&e.style.height&&tr(!0)},ref:ti,readOnly:D})))}),R=o(53014),k=o(79007),z=o(15982),j=o(44494),_=o(68151),B=o(9836),M=o(63568),P=o(63893),N=o(96936),I=o(30611),T=o(45431),L=o(61388),W=o(19086);let H=(0,T.OF)(["Input","TextArea"],t=>(t=>{let{componentCls:e,paddingLG:o}=t,n="".concat(e,"-textarea");return{["textarea".concat(e)]:{maxWidth:"100%",height:"auto",minHeight:t.controlHeight,lineHeight:t.lineHeight,verticalAlign:"bottom",transition:"all ".concat(t.motionDurationSlow),resize:"vertical",["&".concat(e,"-mouse-active")]:{transition:"all ".concat(t.motionDurationSlow,", height 0s, width 0s")}},["".concat(e,"-textarea-affix-wrapper-resize-dirty")]:{width:"auto"},[n]:{position:"relative","&-show-count":{["".concat(e,"-data-count")]:{position:"absolute",bottom:t.calc(t.fontSize).mul(t.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:t.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},["\n &-allow-clear > ".concat(e,",\n &-affix-wrapper").concat(n,"-has-feedback ").concat(e,"\n ")]:{paddingInlineEnd:o},["&-affix-wrapper".concat(e,"-affix-wrapper")]:{padding:0,["> textarea".concat(e)]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:t.calc(t.controlHeight).sub(t.calc(t.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},["".concat(e,"-suffix")]:{margin:0,"> *:not(:last-child)":{marginInline:0},["".concat(e,"-clear-icon")]:{position:"absolute",insetInlineEnd:t.paddingInline,insetBlockStart:t.paddingXS},["".concat(n,"-suffix")]:{position:"absolute",top:0,insetInlineEnd:t.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},["&-affix-wrapper".concat(e,"-affix-wrapper-rtl")]:{["".concat(e,"-suffix")]:{["".concat(e,"-data-count")]:{direction:"ltr",insetInlineStart:0}}},["&-affix-wrapper".concat(e,"-affix-wrapper-sm")]:{["".concat(e,"-suffix")]:{["".concat(e,"-clear-icon")]:{insetInlineEnd:t.paddingInlineSM}}}}}})((0,L.oX)(t,(0,W.C)(t))),W.b,{resetFont:!1});var D=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(t);re.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]]);return o};let F=(0,r.forwardRef)((t,e)=>{var o;let{prefixCls:n,bordered:a=!0,size:c,disabled:l,status:s,allowClear:u,classNames:d,rootClassName:p,className:f,style:h,styles:g,variant:v,showCount:b,onMouseDown:w,onResize:y}=t,x=D(t,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:A,direction:C,allowClear:E,autoComplete:S,className:T,style:L,classNames:W,styles:F}=(0,z.TP)("textArea"),V=r.useContext(j.A),{status:X,hasFeedback:q,feedbackIcon:Y}=r.useContext(M.$W),G=(0,k.v)(X,s),K=r.useRef(null);r.useImperativeHandle(e,()=>{var t;return{resizableTextArea:null==(t=K.current)?void 0:t.resizableTextArea,focus:t=>{var e,o;(0,m.F4)(null==(o=null==(e=K.current)?void 0:e.resizableTextArea)?void 0:o.textArea,t)},blur:()=>{var t;return null==(t=K.current)?void 0:t.blur()}}});let U=A("input",n),Z=(0,_.A)(U),[Q,J,$]=(0,I.MG)(U,p),[tt]=H(U,Z),{compactSize:te,compactItemClassnames:to}=(0,N.RQ)(U,C),tn=(0,B.A)(t=>{var e;return null!=(e=null!=c?c:te)?e:t}),[tr,ta]=(0,P.A)("textArea",v,a),ti=(0,R.A)(null!=u?u:E),[tc,tl]=r.useState(!1),[ts,tu]=r.useState(!1);return Q(tt(r.createElement(O,Object.assign({autoComplete:S},x,{style:Object.assign(Object.assign({},L),h),styles:Object.assign(Object.assign({},F),g),disabled:null!=l?l:V,allowClear:ti,className:i()($,Z,f,p,to,T,ts&&"".concat(U,"-textarea-affix-wrapper-resize-dirty")),classNames:Object.assign(Object.assign(Object.assign({},d),W),{textarea:i()({["".concat(U,"-sm")]:"small"===tn,["".concat(U,"-lg")]:"large"===tn},J,null==d?void 0:d.textarea,W.textarea,tc&&"".concat(U,"-mouse-active")),variant:i()({["".concat(U,"-").concat(tr)]:ta},(0,k.L)(U,G)),affixWrapper:i()("".concat(U,"-textarea-affix-wrapper"),{["".concat(U,"-affix-wrapper-rtl")]:"rtl"===C,["".concat(U,"-affix-wrapper-sm")]:"small"===tn,["".concat(U,"-affix-wrapper-lg")]:"large"===tn,["".concat(U,"-textarea-show-count")]:b||(null==(o=t.count)?void 0:o.show)},J)}),prefixCls:U,suffix:q&&r.createElement("span",{className:"".concat(U,"-textarea-suffix")},Y),showCount:b,ref:K,onResize:t=>{var e,o;if(null==y||y(t),tc&&"function"==typeof getComputedStyle){let t=null==(o=null==(e=K.current)?void 0:e.nativeElement)?void 0:o.querySelector("textarea");t&&"both"===getComputedStyle(t).resize&&tu(!0)}},onMouseDown:t=>{tl(!0),null==w||w(t);let e=()=>{tl(!1),document.removeEventListener("mouseup",e)};document.addEventListener("mouseup",e)}}))))})},39496:(t,e,o)=>{o.d(e,{Ay:()=>l,ko:()=>c,ye:()=>i});var n=o(12115),r=o(70042),a=o(76592);let i=["xxl","xl","lg","md","sm","xs"],c=(t,e)=>{if(e){for(let o of i)if(t[o]&&(null==e?void 0:e[o])!==void 0)return e[o]}},l=()=>{let[,t]=(0,r.Ay)(),e=(t=>({xs:"(max-width: ".concat(t.screenXSMax,"px)"),sm:"(min-width: ".concat(t.screenSM,"px)"),md:"(min-width: ".concat(t.screenMD,"px)"),lg:"(min-width: ".concat(t.screenLG,"px)"),xl:"(min-width: ".concat(t.screenXL,"px)"),xxl:"(min-width: ".concat(t.screenXXL,"px)")}))((t=>{let e=[].concat(i).reverse();return e.forEach((o,n)=>{let r=o.toUpperCase(),a="screen".concat(r,"Min"),i="screen".concat(r);if(!(t[a]<=t[i]))throw Error("".concat(a,"<=").concat(i," fails : !(").concat(t[a],"<=").concat(t[i],")"));if(n{let t=new Map,o=-1,n={};return{responsiveMap:e,matchHandlers:{},dispatch:e=>(n=e,t.forEach(t=>t(n)),t.size>=1),subscribe(e){return t.size||this.register(),o+=1,t.set(o,e),e(n),o},unsubscribe(e){t.delete(e),t.size||this.unregister()},register(){Object.entries(e).forEach(t=>{let[e,o]=t,r=t=>{let{matches:o}=t;this.dispatch(Object.assign(Object.assign({},n),{[e]:o}))},i=window.matchMedia(o);(0,a.e)(i,r),this.matchHandlers[o]={mql:i,listener:r},r(i)})},unregister(){Object.values(e).forEach(t=>{let e=this.matchHandlers[t];(0,a.p)(null==e?void 0:e.mql,null==e?void 0:e.listener)}),t.clear()}}},[e])}},43717:(t,e,o)=>{function n(t){return!!(t.addonBefore||t.addonAfter)}function r(t){return!!(t.prefix||t.suffix||t.allowClear)}function a(t,e,o){var n=e.cloneNode(!0),r=Object.create(t,{target:{value:n},currentTarget:{value:n}});return n.value=o,"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd&&(n.selectionStart=e.selectionStart,n.selectionEnd=e.selectionEnd),n.setSelectionRange=function(){e.setSelectionRange.apply(e,arguments)},r}function i(t,e,o,n){if(o){var r=e;if("click"===e.type)return void o(r=a(e,t,""));if("file"!==t.type&&void 0!==n)return void o(r=a(e,t,n));o(r)}}function c(t,e){if(t){t.focus(e);var o=(e||{}).cursor;if(o){var n=t.value.length;switch(o){case"start":t.setSelectionRange(0,0);break;case"end":t.setSelectionRange(n,n);break;default:t.setSelectionRange(0,n)}}}}o.d(e,{F4:()=>c,OL:()=>r,bk:()=>n,gS:()=>i})},45902:(t,e,o)=>{o.d(e,{j:()=>a,n:()=>r});var n=o(99841);function r(t){let{sizePopupArrow:e,borderRadiusXS:o,borderRadiusOuter:n}=t,r=e/2,a=n/Math.sqrt(2),i=r-n*(1-1/Math.sqrt(2)),c=r-1/Math.sqrt(2)*o,l=n*(Math.sqrt(2)-1)+1/Math.sqrt(2)*o,s=2*r-c,u=2*r-a,d=2*r-0,p=r*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1),h="polygon(".concat(f,"px 100%, 50% ").concat(f,"px, ").concat(2*r-f,"px 100%, ").concat(f,"px 100%)");return{arrowShadowWidth:p,arrowPath:"path('M ".concat(0," ").concat(r," A ").concat(n," ").concat(n," 0 0 0 ").concat(a," ").concat(i," L ").concat(c," ").concat(l," A ").concat(o," ").concat(o," 0 0 1 ").concat(s," ").concat(l," L ").concat(u," ").concat(i," A ").concat(n," ").concat(n," 0 0 0 ").concat(d," ").concat(r," Z')"),arrowPolygon:h}}let a=(t,e,o)=>{let{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:c,borderRadiusXS:l,calc:s}=t;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:e,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:c,height:c,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat((0,n.zA)(l)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},51854:(t,e,o)=>{o.d(e,{A:()=>c});var n=o(12115),r=o(26791),a=o(19110),i=o(39496);let c=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,n.useRef)(e),[,c]=(0,a.C)(),l=(0,i.Ay)();return(0,r.A)(()=>{let e=l.subscribe(e=>{o.current=e,t&&c()});return()=>l.unsubscribe(e)},[]),o.current}},52032:(t,e,o)=>{o.d(e,{A:()=>l});var n=o(20235),r=o(27061),a=o(86608),i=o(12115),c=["show"];function l(t,e){return i.useMemo(function(){var o={};e&&(o.show="object"===(0,a.A)(e)&&e.formatter?e.formatter:!!e);var i=o=(0,r.A)((0,r.A)({},o),t),l=i.show,s=(0,n.A)(i,c);return(0,r.A)((0,r.A)({},s),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:s.strategy||function(t){return t.length}})},[t,e])}},52824:(t,e,o)=>{o.d(e,{A:()=>c});var n=o(35464);let r={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"]}},a={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"]}},i=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function c(t){let{arrowWidth:e,autoAdjustOverflow:o,arrowPointAtCenter:c,offset:l,borderRadius:s,visibleFirst:u}=t,d=e/2,p={},f=(0,n.Ke)({contentRadius:s,limitVerticalRadius:!0});return Object.keys(r).forEach(t=>{let n=Object.assign(Object.assign({},c&&a[t]||r[t]),{offset:[0,0],dynamicInset:!0});switch(p[t]=n,i.has(t)&&(n.autoArrow=!1),t){case"top":case"topLeft":case"topRight":n.offset[1]=-d-l;break;case"bottom":case"bottomLeft":case"bottomRight":n.offset[1]=d+l;break;case"left":case"leftTop":case"leftBottom":n.offset[0]=-d-l;break;case"right":case"rightTop":case"rightBottom":n.offset[0]=d+l}if(c)switch(t){case"topLeft":case"bottomLeft":n.offset[0]=-f.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":n.offset[0]=f.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":n.offset[1]=-(2*f.arrowOffsetHorizontal)+d;break;case"leftBottom":case"rightBottom":n.offset[1]=2*f.arrowOffsetHorizontal-d}n.overflow=function(t,e,o,n){if(!1===n)return{adjustX:!1,adjustY:!1};let r={};switch(t){case"top":case"bottom":r.shiftX=2*e.arrowOffsetHorizontal+o,r.shiftY=!0,r.adjustY=!0;break;case"left":case"right":r.shiftY=2*e.arrowOffsetVertical+o,r.shiftX=!0,r.adjustX=!0}let a=Object.assign(Object.assign({},r),n&&"object"==typeof n?n:{});return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(t,f,e,o),u&&(n.htmlRegion="visibleFirst")}),p}},53014:(t,e,o)=>{o.d(e,{A:()=>a});var n=o(12115),r=o(51754);let a=t=>{let e;return"object"==typeof t&&(null==t?void 0:t.clearIcon)?e=t:t&&(e={clearIcon:n.createElement(r.A,null)}),e}},56980:(t,e,o)=>{o.d(e,{A:()=>D});var n=o(27061),r=o(21858),a=o(20235),i=o(24756),c=o(29300),l=o.n(c),s=o(32417),u=o(41197),d=o(48680),p=o(18885),f=o(32934),h=o(26791),m=o(96951),g=o(12115),v=o(79630),b=o(82870),w=o(74686);function y(t){var e=t.prefixCls,o=t.align,n=t.arrow,r=t.arrowPos,a=n||{},i=a.className,c=a.content,s=r.x,u=r.y,d=g.useRef();if(!o||!o.points)return null;var p={position:"absolute"};if(!1!==o.autoArrow){var f=o.points[0],h=o.points[1],m=f[0],v=f[1],b=h[0],w=h[1];m!==b&&["t","b"].includes(m)?"t"===m?p.top=0:p.bottom=0:p.top=void 0===u?0:u,v!==w&&["l","r"].includes(v)?"l"===v?p.left=0:p.right=0:p.left=void 0===s?0:s}return g.createElement("div",{ref:d,className:l()("".concat(e,"-arrow"),i),style:p},c)}function x(t){var e=t.prefixCls,o=t.open,n=t.zIndex,r=t.mask,a=t.motion;return r?g.createElement(b.Ay,(0,v.A)({},a,{motionAppear:!0,visible:o,removeOnLeave:!0}),function(t){var o=t.className;return g.createElement("div",{style:{zIndex:n},className:l()("".concat(e,"-mask"),o)})}):null}var A=g.memo(function(t){return t.children},function(t,e){return e.cache}),C=g.forwardRef(function(t,e){var o=t.popup,a=t.className,i=t.prefixCls,c=t.style,u=t.target,d=t.onVisibleChanged,p=t.open,f=t.keepDom,m=t.fresh,C=t.onClick,E=t.mask,S=t.arrow,O=t.arrowPos,R=t.align,k=t.motion,z=t.maskMotion,j=t.forceRender,_=t.getPopupContainer,B=t.autoDestroy,M=t.portal,P=t.zIndex,N=t.onMouseEnter,I=t.onMouseLeave,T=t.onPointerEnter,L=t.onPointerDownCapture,W=t.ready,H=t.offsetX,D=t.offsetY,F=t.offsetR,V=t.offsetB,X=t.onAlign,q=t.onPrepare,Y=t.stretch,G=t.targetWidth,K=t.targetHeight,U="function"==typeof o?o():o,Z=p||f,Q=(null==_?void 0:_.length)>0,J=g.useState(!_||!Q),$=(0,r.A)(J,2),tt=$[0],te=$[1];if((0,h.A)(function(){!tt&&Q&&u&&te(!0)},[tt,Q,u]),!tt)return null;var to="auto",tn={left:"-1000vw",top:"-1000vh",right:to,bottom:to};if(W||!p){var tr,ta=R.points,ti=R.dynamicInset||(null==(tr=R._experimental)?void 0:tr.dynamicInset),tc=ti&&"r"===ta[0][1],tl=ti&&"b"===ta[0][0];tc?(tn.right=F,tn.left=to):(tn.left=H,tn.right=to),tl?(tn.bottom=V,tn.top=to):(tn.top=D,tn.bottom=to)}var ts={};return Y&&(Y.includes("height")&&K?ts.height=K:Y.includes("minHeight")&&K&&(ts.minHeight=K),Y.includes("width")&&G?ts.width=G:Y.includes("minWidth")&&G&&(ts.minWidth=G)),p||(ts.pointerEvents="none"),g.createElement(M,{open:j||Z,getContainer:_&&function(){return _(u)},autoDestroy:B},g.createElement(x,{prefixCls:i,open:p,zIndex:P,mask:E,motion:z}),g.createElement(s.A,{onResize:X,disabled:!p},function(t){return g.createElement(b.Ay,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:j,leavedClassName:"".concat(i,"-hidden")},k,{onAppearPrepare:q,onEnterPrepare:q,visible:p,onVisibleChanged:function(t){var e;null==k||null==(e=k.onVisibleChanged)||e.call(k,t),d(t)}}),function(o,r){var s=o.className,u=o.style,d=l()(i,s,a);return g.createElement("div",{ref:(0,w.K4)(t,e,r),className:d,style:(0,n.A)((0,n.A)((0,n.A)((0,n.A)({"--arrow-x":"".concat(O.x||0,"px"),"--arrow-y":"".concat(O.y||0,"px")},tn),ts),u),{},{boxSizing:"border-box",zIndex:P},c),onMouseEnter:N,onMouseLeave:I,onPointerEnter:T,onClick:C,onPointerDownCapture:L},S&&g.createElement(y,{prefixCls:i,arrow:S,arrowPos:O,align:R}),g.createElement(A,{cache:!p&&!m},U))})}))}),E=g.forwardRef(function(t,e){var o=t.children,n=t.getTriggerDOMNode,r=(0,w.f3)(o),a=g.useCallback(function(t){(0,w.Xf)(e,n?n(t):t)},[n]),i=(0,w.xK)(a,(0,w.A9)(o));return r?g.cloneElement(o,{ref:i}):o}),S=g.createContext(null);function O(t){return t?Array.isArray(t)?t:[t]:[]}var R=o(53930);function k(t,e,o,n){return e||(o?{motionName:"".concat(t,"-").concat(o)}:n?{motionName:n}:null)}function z(t){return t.ownerDocument.defaultView}function j(t){for(var e=[],o=null==t?void 0:t.parentElement,n=["hidden","scroll","clip","auto"];o;){var r=z(o).getComputedStyle(o);[r.overflowX,r.overflowY,r.overflow].some(function(t){return n.includes(t)})&&e.push(o),o=o.parentElement}return e}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function B(t){return _(parseFloat(t),0)}function M(t,e){var o=(0,n.A)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=z(t).getComputedStyle(t),n=e.overflow,r=e.overflowClipMargin,a=e.borderTopWidth,i=e.borderBottomWidth,c=e.borderLeftWidth,l=e.borderRightWidth,s=t.getBoundingClientRect(),u=t.offsetHeight,d=t.clientHeight,p=t.offsetWidth,f=t.clientWidth,h=B(a),m=B(i),g=B(c),v=B(l),b=_(Math.round(s.width/p*1e3)/1e3),w=_(Math.round(s.height/u*1e3)/1e3),y=h*w,x=g*b,A=0,C=0;if("clip"===n){var E=B(r);A=E*b,C=E*w}var S=s.x+x-A,O=s.y+y-C,R=S+s.width+2*A-x-v*b-(p-f-g-v)*b,k=O+s.height+2*C-y-m*w-(u-d-h-m)*w;o.left=Math.max(o.left,S),o.top=Math.max(o.top,O),o.right=Math.min(o.right,R),o.bottom=Math.min(o.bottom,k)}}),o}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="".concat(e),n=o.match(/^(.*)\%$/);return n?t*(parseFloat(n[1])/100):parseFloat(o)}function N(t,e){var o=(0,r.A)(e||[],2),n=o[0],a=o[1];return[P(t.width,n),P(t.height,a)]}function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function T(t,e){var o,n=e[0],r=e[1];return o="t"===n?t.y:"b"===n?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:o}}function L(t,e){var o={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,n){return n===e?o[t]||"c":t}).join("")}var W=o(85757);o(9587);var 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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.A;return g.forwardRef(function(e,o){var i,c,v,b,w,y,x,A,B,P,D,F,V,X,q,Y,G,K=e.prefixCls,U=void 0===K?"rc-trigger-popup":K,Z=e.children,Q=e.action,J=e.showAction,$=e.hideAction,tt=e.popupVisible,te=e.defaultPopupVisible,to=e.onPopupVisibleChange,tn=e.afterPopupVisibleChange,tr=e.mouseEnterDelay,ta=e.mouseLeaveDelay,ti=void 0===ta?.1:ta,tc=e.focusDelay,tl=e.blurDelay,ts=e.mask,tu=e.maskClosable,td=e.getPopupContainer,tp=e.forceRender,tf=e.autoDestroy,th=e.destroyPopupOnHide,tm=e.popup,tg=e.popupClassName,tv=e.popupStyle,tb=e.popupPlacement,tw=e.builtinPlacements,ty=void 0===tw?{}:tw,tx=e.popupAlign,tA=e.zIndex,tC=e.stretch,tE=e.getPopupClassNameFromAlign,tS=e.fresh,tO=e.alignPoint,tR=e.onPopupClick,tk=e.onPopupAlign,tz=e.arrow,tj=e.popupMotion,t_=e.maskMotion,tB=e.popupTransitionName,tM=e.popupAnimation,tP=e.maskTransitionName,tN=e.maskAnimation,tI=e.className,tT=e.getTriggerDOMNode,tL=(0,a.A)(e,H),tW=g.useState(!1),tH=(0,r.A)(tW,2),tD=tH[0],tF=tH[1];(0,h.A)(function(){tF((0,m.A)())},[]);var tV=g.useRef({}),tX=g.useContext(S),tq=g.useMemo(function(){return{registerSubPopup:function(t,e){tV.current[t]=e,null==tX||tX.registerSubPopup(t,e)}}},[tX]),tY=(0,f.A)(),tG=g.useState(null),tK=(0,r.A)(tG,2),tU=tK[0],tZ=tK[1],tQ=g.useRef(null),tJ=(0,p.A)(function(t){tQ.current=t,(0,u.fk)(t)&&tU!==t&&tZ(t),null==tX||tX.registerSubPopup(tY,t)}),t$=g.useState(null),t0=(0,r.A)(t$,2),t1=t0[0],t2=t0[1],t5=g.useRef(null),t3=(0,p.A)(function(t){(0,u.fk)(t)&&t1!==t&&(t2(t),t5.current=t)}),t8=g.Children.only(Z),t4=(null==t8?void 0:t8.props)||{},t9={},t6=(0,p.A)(function(t){var e,o;return(null==t1?void 0:t1.contains(t))||(null==(e=(0,d.j)(t1))?void 0:e.host)===t||t===t1||(null==tU?void 0:tU.contains(t))||(null==(o=(0,d.j)(tU))?void 0:o.host)===t||t===tU||Object.values(tV.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t7=k(U,tj,tM,tB),et=k(U,t_,tN,tP),ee=g.useState(te||!1),eo=(0,r.A)(ee,2),en=eo[0],er=eo[1],ea=null!=tt?tt:en,ei=(0,p.A)(function(t){void 0===tt&&er(t)});(0,h.A)(function(){er(tt||!1)},[tt]);var ec=g.useRef(ea);ec.current=ea;var el=g.useRef([]);el.current=[];var es=(0,p.A)(function(t){var e;ei(t),(null!=(e=el.current[el.current.length-1])?e:ea)!==t&&(el.current.push(t),null==to||to(t))}),eu=g.useRef(),ed=function(){clearTimeout(eu.current)},ep=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ed(),0===e?es(t):eu.current=setTimeout(function(){es(t)},1e3*e)};g.useEffect(function(){return ed},[]);var ef=g.useState(!1),eh=(0,r.A)(ef,2),em=eh[0],eg=eh[1];(0,h.A)(function(t){(!t||ea)&&eg(!0)},[ea]);var ev=g.useState(null),eb=(0,r.A)(ev,2),ew=eb[0],ey=eb[1],ex=g.useState(null),eA=(0,r.A)(ex,2),eC=eA[0],eE=eA[1],eS=function(t){eE([t.clientX,t.clientY])},eO=(i=tO&&null!==eC?eC:t1,c=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ty[tb]||{}}),b=(v=(0,r.A)(c,2))[0],w=v[1],y=g.useRef(0),x=g.useMemo(function(){return tU?j(tU):[]},[tU]),A=g.useRef({}),ea||(A.current={}),B=(0,p.A)(function(){if(tU&&i&&ea){var t=tU.ownerDocument,e=z(tU),o=e.getComputedStyle(tU).position,a=tU.style.left,c=tU.style.top,l=tU.style.right,s=tU.style.bottom,d=tU.style.overflow,p=(0,n.A)((0,n.A)({},ty[tb]),tx),f=t.createElement("div");if(null==(b=tU.parentElement)||b.appendChild(f),f.style.left="".concat(tU.offsetLeft,"px"),f.style.top="".concat(tU.offsetTop,"px"),f.style.position=o,f.style.height="".concat(tU.offsetHeight,"px"),f.style.width="".concat(tU.offsetWidth,"px"),tU.style.left="0",tU.style.top="0",tU.style.right="auto",tU.style.bottom="auto",tU.style.overflow="hidden",Array.isArray(i))S={x:i[0],y:i[1],width:0,height:0};else{var h,m,g,v,b,y,C,E,S,O,k,j=i.getBoundingClientRect();j.x=null!=(O=j.x)?O:j.left,j.y=null!=(k=j.y)?k:j.top,S={x:j.x,y:j.y,width:j.width,height:j.height}}var B=tU.getBoundingClientRect(),P=e.getComputedStyle(tU),W=P.height,H=P.width;B.x=null!=(y=B.x)?y:B.left,B.y=null!=(C=B.y)?C:B.top;var D=t.documentElement,F=D.clientWidth,V=D.clientHeight,X=D.scrollWidth,q=D.scrollHeight,Y=D.scrollTop,G=D.scrollLeft,K=B.height,U=B.width,Z=S.height,Q=S.width,J=p.htmlRegion,$="visible",tt="visibleFirst";"scroll"!==J&&J!==tt&&(J=$);var te=J===tt,to=M({left:-G,top:-Y,right:X-G,bottom:q-Y},x),tn=M({left:0,top:0,right:F,bottom:V},x),tr=J===$?tn:to,ta=te?tn:tr;tU.style.left="auto",tU.style.top="auto",tU.style.right="0",tU.style.bottom="0";var ti=tU.getBoundingClientRect();tU.style.left=a,tU.style.top=c,tU.style.right=l,tU.style.bottom=s,tU.style.overflow=d,null==(E=tU.parentElement)||E.removeChild(f);var tc=_(Math.round(U/parseFloat(H)*1e3)/1e3),tl=_(Math.round(K/parseFloat(W)*1e3)/1e3);if(!(0===tc||0===tl||(0,u.fk)(i)&&!(0,R.A)(i))){var ts=p.offset,tu=p.targetOffset,td=N(B,ts),tp=(0,r.A)(td,2),tf=tp[0],th=tp[1],tm=N(S,tu),tg=(0,r.A)(tm,2),tv=tg[0],tw=tg[1];S.x-=tv,S.y-=tw;var tA=p.points||[],tC=(0,r.A)(tA,2),tE=tC[0],tS=I(tC[1]),tO=I(tE),tR=T(S,tS),tz=T(B,tO),tj=(0,n.A)({},p),t_=tR.x-tz.x+tf,tB=tR.y-tz.y+th,tM=ed(t_,tB),tP=ed(t_,tB,tn),tN=T(S,["t","l"]),tI=T(B,["t","l"]),tT=T(S,["b","r"]),tL=T(B,["b","r"]),tW=p.overflow||{},tH=tW.adjustX,tD=tW.adjustY,tF=tW.shiftX,tV=tW.shiftY,tX=function(t){return"boolean"==typeof t?t:t>=0};ep();var tq=tX(tD),tY=tO[0]===tS[0];if(tq&&"t"===tO[0]&&(m>ta.bottom||A.current.bt)){var tG=tB;tY?tG-=K-Z:tG=tN.y-tL.y-th;var tK=ed(t_,tG),tZ=ed(t_,tG,tn);tK>tM||tK===tM&&(!te||tZ>=tP)?(A.current.bt=!0,tB=tG,th=-th,tj.points=[L(tO,0),L(tS,0)]):A.current.bt=!1}if(tq&&"b"===tO[0]&&(htM||tJ===tM&&(!te||t$>=tP)?(A.current.tb=!0,tB=tQ,th=-th,tj.points=[L(tO,0),L(tS,0)]):A.current.tb=!1}var t0=tX(tH),t1=tO[1]===tS[1];if(t0&&"l"===tO[1]&&(v>ta.right||A.current.rl)){var t2=t_;t1?t2-=U-Q:t2=tN.x-tL.x-tf;var t5=ed(t2,tB),t3=ed(t2,tB,tn);t5>tM||t5===tM&&(!te||t3>=tP)?(A.current.rl=!0,t_=t2,tf=-tf,tj.points=[L(tO,1),L(tS,1)]):A.current.rl=!1}if(t0&&"r"===tO[1]&&(gtM||t4===tM&&(!te||t9>=tP)?(A.current.lr=!0,t_=t8,tf=-tf,tj.points=[L(tO,1),L(tS,1)]):A.current.lr=!1}ep();var t6=!0===tF?0:tF;"number"==typeof t6&&(gtn.right&&(t_-=v-tn.right-tf,S.x>tn.right-t6&&(t_+=S.x-tn.right+t6)));var t7=!0===tV?0:tV;"number"==typeof t7&&(htn.bottom&&(tB-=m-tn.bottom-th,S.y>tn.bottom-t7&&(tB+=S.y-tn.bottom+t7)));var et=B.x+t_,ee=B.y+tB,eo=S.x,en=S.y,er=Math.max(et,eo),ei=Math.min(et+U,eo+Q),ec=Math.max(ee,en),el=Math.min(ee+K,en+Z);null==tk||tk(tU,tj);var es=ti.right-B.x-(t_+B.width),eu=ti.bottom-B.y-(tB+B.height);1===tc&&(t_=Math.round(t_),es=Math.round(es)),1===tl&&(tB=Math.round(tB),eu=Math.round(eu)),w({ready:!0,offsetX:t_/tc,offsetY:tB/tl,offsetR:es/tc,offsetB:eu/tl,arrowX:((er+ei)/2-et)/tc,arrowY:((ec+el)/2-ee)/tl,scaleX:tc,scaleY:tl,align:tj})}function ed(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tr,n=B.x+t,r=B.y+e,a=Math.max(n,o.left),i=Math.max(r,o.top);return Math.max(0,(Math.min(n+U,o.right)-a)*(Math.min(r+K,o.bottom)-i))}function ep(){m=(h=B.y+tB)+K,v=(g=B.x+t_)+U}}}),P=function(){w(function(t){return(0,n.A)((0,n.A)({},t),{},{ready:!1})})},(0,h.A)(P,[tb]),(0,h.A)(function(){ea||P()},[ea]),[b.ready,b.offsetX,b.offsetY,b.offsetR,b.offsetB,b.arrowX,b.arrowY,b.scaleX,b.scaleY,b.align,function(){y.current+=1;var t=y.current;Promise.resolve().then(function(){y.current===t&&B()})}]),eR=(0,r.A)(eO,11),ek=eR[0],ez=eR[1],ej=eR[2],e_=eR[3],eB=eR[4],eM=eR[5],eP=eR[6],eN=eR[7],eI=eR[8],eT=eR[9],eL=eR[10],eW=(D=void 0===Q?"hover":Q,g.useMemo(function(){var t=O(null!=J?J:D),e=O(null!=$?$:D),o=new Set(t),n=new Set(e);return tD&&(o.has("hover")&&(o.delete("hover"),o.add("click")),n.has("hover")&&(n.delete("hover"),n.add("click"))),[o,n]},[tD,D,J,$])),eH=(0,r.A)(eW,2),eD=eH[0],eF=eH[1],eV=eD.has("click"),eX=eF.has("click")||eF.has("contextMenu"),eq=(0,p.A)(function(){em||eL()});F=function(){ec.current&&tO&&eX&&ep(!1)},(0,h.A)(function(){if(ea&&t1&&tU){var t=j(t1),e=j(tU),o=z(tU),n=new Set([o].concat((0,W.A)(t),(0,W.A)(e)));function r(){eq(),F()}return n.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),o.addEventListener("resize",r,{passive:!0}),eq(),function(){n.forEach(function(t){t.removeEventListener("scroll",r),o.removeEventListener("resize",r)})}}},[ea,t1,tU]),(0,h.A)(function(){eq()},[eC,tb]),(0,h.A)(function(){ea&&!(null!=ty&&ty[tb])&&eq()},[JSON.stringify(tx)]);var eY=g.useMemo(function(){var t=function(t,e,o,n){for(var r=o.points,a=Object.keys(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;return o?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null==(c=t[l])?void 0:c.points,r,n))return"".concat(e,"-placement-").concat(l)}return""}(ty,U,eT,tO);return l()(t,null==tE?void 0:tE(eT))},[eT,tE,ty,U,tO]);g.useImperativeHandle(o,function(){return{nativeElement:t5.current,popupElement:tQ.current,forceAlign:eq}});var eG=g.useState(0),eK=(0,r.A)(eG,2),eU=eK[0],eZ=eK[1],eQ=g.useState(0),eJ=(0,r.A)(eQ,2),e$=eJ[0],e0=eJ[1],e1=function(){if(tC&&t1){var t=t1.getBoundingClientRect();eZ(t.width),e0(t.height)}};function e2(t,e,o,n){t9[t]=function(r){var a;null==n||n(r),ep(e,o);for(var i=arguments.length,c=Array(i>1?i-1:0),l=1;l1?o-1:0),r=1;r1?o-1:0),r=1;r{o.d(e,{A:()=>i});var n=o(12115),r=o(15982),a=o(63568);let i=(t,e,o)=>{var i,c;let l,{variant:s,[t]:u}=n.useContext(r.QO),d=n.useContext(a.Pp),p=null==u?void 0:u.variant;l=void 0!==e?e:!1===o?"borderless":null!=(c=null!=(i=null!=d?d:p)?i:s)?c:"outlined";let f=r.lJ.includes(l);return[l,f]}},76592:(t,e,o)=>{o.d(e,{e:()=>n,p:()=>r});let n=(t,e)=>{void 0!==(null==t?void 0:t.addEventListener)?t.addEventListener("change",e):void 0!==(null==t?void 0:t.addListener)&&t.addListener(e)},r=(t,e)=>{void 0!==(null==t?void 0:t.removeEventListener)?t.removeEventListener("change",e):void 0!==(null==t?void 0:t.removeListener)&&t.removeListener(e)}},77696:(t,e,o)=>{o.d(e,{ZZ:()=>l,nP:()=>c});var n=o(85757),r=o(68495);let a=r.s.map(t=>"".concat(t,"-inverse")),i=["success","processing","error","default","warning"];function c(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,n.A)(a),(0,n.A)(r.s)).includes(t):r.s.includes(t)}function l(t){return i.includes(t)}},79007:(t,e,o)=>{o.d(e,{L:()=>a,v:()=>i});var n=o(29300),r=o.n(n);function a(t,e,o){return r()({["".concat(t,"-status-success")]:"success"===e,["".concat(t,"-status-warning")]:"warning"===e,["".concat(t,"-status-error")]:"error"===e,["".concat(t,"-status-validating")]:"validating"===e,["".concat(t,"-has-feedback")]:o})}let i=(t,e)=>e||t},96951:(t,e,o)=>{o.d(e,{A:()=>n});let n=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))}},97540:(t,e,o)=>{o.d(e,{A:()=>B});var n=o(12115),r=o(29300),a=o.n(r),i=o(16598),c=o(48804),l=o(9184),s=o(9130),u=o(93666),d=o(52824),p=o(80163),f=o(49172),h=o(6833),m=o(15982),g=o(70042),v=o(99841),b=o(18184),w=o(47212),y=o(35464),x=o(45902),A=o(18741),C=o(61388),E=o(45431);let S=t=>Object.assign(Object.assign({zIndexPopup:t.zIndexPopupBase+70},(0,y.Ke)({contentRadius:t.borderRadius,limitVerticalRadius:!0})),(0,x.n)((0,C.oX)(t,{borderRadiusOuter:Math.min(t.borderRadiusOuter,4)})));function O(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,E.OF)("Tooltip",t=>{let{borderRadius:e,colorTextLightSolid:o,colorBgSpotlight:n}=t;return[(t=>{let{calc:e,componentCls:o,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:c,controlHeight:l,boxShadowSecondary:s,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:p,sizePopupArrow:f}=t,h=e(i).add(f).add(p).equal(),m=e(i).mul(2).add(f).equal();return[{[o]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.dF)(t)),{position:"absolute",zIndex:c,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:"var(--valid-offset-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":a,["".concat(o,"-inner")]:{minWidth:m,minHeight:l,padding:"".concat((0,v.zA)(t.calc(u).div(2).equal())," ").concat((0,v.zA)(d)),color:"var(--ant-tooltip-color, ".concat(r,")"),textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:s,boxSizing:"border-box"},"&-placement-topLeft,&-placement-topRight,&-placement-bottomLeft,&-placement-bottomRight":{minWidth:h},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{["".concat(o,"-inner")]:{borderRadius:t.min(i,y.Zs)}},["".concat(o,"-content")]:{position:"relative"}}),(0,A.A)(t,(t,e)=>{let{darkColor:n}=e;return{["&".concat(o,"-").concat(t)]:{["".concat(o,"-inner")]:{backgroundColor:n},["".concat(o,"-arrow")]:{"--antd-arrow-background-color":n}}}})),{"&-rtl":{direction:"rtl"}})},(0,y.Ay)(t,"var(--antd-arrow-background-color)"),{["".concat(o,"-pure")]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]})((0,C.oX)(t,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:e,tooltipBg:n})),(0,w.aB)(t,"zoom-big-fast")]},S,{resetStyle:!1,injectStyle:e})(t)}var R=o(77696);o(31474);var k=o(67302);function z(t,e){let o=(0,R.nP)(e),n=a()({["".concat(t,"-").concat(e)]:e&&o}),r={},i={},c=(e instanceof k.kf?e:new k.kf(e)).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255;return e&&!o&&(r.background=e,r["--ant-tooltip-color"]=l<.5?"#FFF":"#000",i["--antd-arrow-background-color"]=e),{className:n,overlayStyle:r,arrowStyle:i}}var j=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(t);re.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(t,n[r])&&(o[n[r]]=t[n[r]]);return o};let _=n.forwardRef((t,e)=>{var o,r;let{prefixCls:v,openClassName:b,getTooltipContainer:w,color:y,overlayInnerStyle:x,children:A,afterOpenChange:C,afterVisibleChange:E,destroyTooltipOnHide:S,destroyOnHidden:R,arrow:k=!0,title:_,overlay:B,builtinPlacements:M,arrowPointAtCenter:P=!1,autoAdjustOverflow:N=!0,motion:I,getPopupContainer:T,placement:L="top",mouseEnterDelay:W=.1,mouseLeaveDelay:H=.1,overlayStyle:D,rootClassName:F,overlayClassName:V,styles:X,classNames:q}=t,Y=j(t,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),G=!!k,[,K]=(0,g.Ay)(),{getPopupContainer:U,getPrefixCls:Z,direction:Q,className:J,style:$,classNames:tt,styles:te}=(0,m.TP)("tooltip"),to=(0,f.rJ)("Tooltip"),tn=n.useRef(null),tr=()=>{var t;null==(t=tn.current)||t.forceAlign()};n.useImperativeHandle(e,()=>{var t,e;return{forceAlign:tr,forcePopupAlign:()=>{to.deprecated(!1,"forcePopupAlign","forceAlign"),tr()},nativeElement:null==(t=tn.current)?void 0:t.nativeElement,popupElement:null==(e=tn.current)?void 0:e.popupElement}});let[ta,ti]=(0,c.A)(!1,{value:null!=(o=t.open)?o:t.visible,defaultValue:null!=(r=t.defaultOpen)?r:t.defaultVisible}),tc=!_&&!B&&0!==_,tl=n.useMemo(()=>{var t,e;let o=P;return"object"==typeof k&&(o=null!=(e=null!=(t=k.pointAtCenter)?t:k.arrowPointAtCenter)?e:P),M||(0,d.A)({arrowPointAtCenter:o,autoAdjustOverflow:N,arrowWidth:G?K.sizePopupArrow:0,borderRadius:K.borderRadius,offset:K.marginXXS,visibleFirst:!0})},[P,k,M,K]),ts=n.useMemo(()=>0===_?_:B||_||"",[B,_]),tu=n.createElement(l.A,{space:!0},"function"==typeof ts?ts():ts),td=Z("tooltip",v),tp=Z(),tf=t["data-popover-inject"],th=ta;"open"in t||"visible"in t||!tc||(th=!1);let tm=n.isValidElement(A)&&!(0,p.zv)(A)?A:n.createElement("span",null,A),tg=tm.props,tv=tg.className&&"string"!=typeof tg.className?tg.className:a()(tg.className,b||"".concat(td,"-open")),[tb,tw,ty]=O(td,!tf),tx=z(td,y),tA=tx.arrowStyle,tC=a()(V,{["".concat(td,"-rtl")]:"rtl"===Q},tx.className,F,tw,ty,J,tt.root,null==q?void 0:q.root),tE=a()(tt.body,null==q?void 0:q.body),[tS,tO]=(0,s.YK)("Tooltip",Y.zIndex),tR=n.createElement(i.A,Object.assign({},Y,{zIndex:tS,showArrow:G,placement:L,mouseEnterDelay:W,mouseLeaveDelay:H,prefixCls:td,classNames:{root:tC,body:tE},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tA),te.root),$),D),null==X?void 0:X.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},te.body),x),null==X?void 0:X.body),tx.overlayStyle)},getTooltipContainer:T||w||U,ref:tn,builtinPlacements:tl,overlay:tu,visible:th,onVisibleChange:e=>{var o,n;ti(!tc&&e),tc||(null==(o=t.onOpenChange)||o.call(t,e),null==(n=t.onVisibleChange)||n.call(t,e))},afterVisibleChange:null!=C?C:E,arrowContent:n.createElement("span",{className:"".concat(td,"-arrow-content")}),motion:{motionName:(0,u.b)(tp,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:null!=R?R:!!S}),th?(0,p.Ob)(tm,{className:tv}):tm);return tb(n.createElement(h.A.Provider,{value:tO},tR))});_._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:o,placement:r="top",title:c,color:l,overlayInnerStyle:s}=t,{getPrefixCls:u}=n.useContext(m.QO),d=u("tooltip",e),[p,f,h]=O(d),g=z(d,l),v=g.arrowStyle,b=Object.assign(Object.assign({},s),g.overlayStyle),w=a()(f,h,d,"".concat(d,"-pure"),"".concat(d,"-placement-").concat(r),o,g.className);return p(n.createElement("div",{className:w,style:v},n.createElement("div",{className:"".concat(d,"-arrow")}),n.createElement(i.z,Object.assign({},t,{className:f,prefixCls:d,overlayInnerStyle:b}),c)))};let B=_}}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-6b2fb6820b349571.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-6b2fb6820b349571.js deleted file mode 100644 index cdc00e74..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-6b2fb6820b349571.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2283],{23407:()=>{},40011:(e,l,a)=>{Promise.resolve().then(a.bind(a,80649))},80649:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>eW});var t=a(95155),n=a(67773),r=a(91070),s=a(54099),o=a(55887),i=a(16467),d=a(12115),c=a(91218),u=a(64227),m=a(34140),p=a(44261),x=a(18610),g=a(50715),h=a(97540),f=a(98696),b=a(73775),_=a(66766),v=a(95388),y=a(57845),j=a(96194);a(29300);var w=a(35695);a(23407);let N=[{value:"/icons/colorful-plugin.png",label:"agent0"},{value:"/agents/agent1.jpg",label:"agent1"},{value:"/agents/agent2.jpg",label:"agent2"},{value:"/agents/agent3.jpg",label:"agent3"},{value:"/agents/agent4.jpg",label:"agent4"},{value:"/agents/agent5.jpg",label:"agent5"}],k=e=>{let{open:l,onCancel:a,type:r="add",refresh:u,skipRedirect:m=!1}=e,{notification:p}=o.A.useApp(),[x,g]=(0,d.useState)("/icons/colorful-plugin.png"),{t:h,i18n:f}=(0,c.Bd)(),k=JSON.parse(localStorage.getItem("new_app_info")||"{}"),{message:A}=o.A.useApp(),[C]=v.A.useForm(),S=(0,w.useRouter)(),{data:B,loading:I}=(0,s.A)(async()=>{let[e,l]=await (0,n.VbY)((0,n.XrS)());return null!=l?l:[]}),{run:M,loading:O}=(0,s.A)(async e=>"edit"===r?await (0,n.VbY)((0,n.fyc)({app_code:null==k?void 0:k.app_code,language:"zh",...e})):await (0,n.VbY)((0,n.$qV)({language:"zh",...e}),p),{manual:!0,onSuccess:async e=>{let[l,t]=e;if(l)A.error("edit"===r?h("Update_failure"):h("Create_failure")),await (null==u?void 0:u());else if("edit"===r){var s;let[,e]=await (0,n.VbY)((0,n.eHG)({})),l=null==e||null==(s=e.app_list)?void 0:s.find(e=>e.app_code===(null==k?void 0:k.app_code));localStorage.setItem("new_app_info",JSON.stringify({...l,isEdit:!0})),A.success(h("Update_successfully")),await (null==u?void 0:u(l))}else(null==t?void 0:t.app_code)?(A.success(h("Create_successfully")),m?await (null==u?void 0:u(t)):S.replace("/application/app")):(A.error(h("Create_failure")),await (null==u?void 0:u()));a()}}),z=(0,d.useMemo)(()=>{var e;return null==B||null==(e=B.filter(e=>e.value===(null==k?void 0:k.team_mode)))?void 0:e[0]},[k,B]);return I?null:(0,t.jsx)(y.Ay,{theme:{components:{Button:{defaultBorderColor:"#d9d9d9"}}},children:(0,t.jsx)(j.A,{className:"create-app-modal-container",title:h("create_app"),width:480,open:l,onOk:async()=>{C.validateFields().then(async e=>{var l;await M({app_name:null==e?void 0:e.app_name,app_describe:null==e?void 0:e.app_describe,team_mode:null==e||null==(l=e.team_mode)?void 0:l.value,icon:(null==e?void 0:e.icon)||x})})},onCancel:a,centered:!0,children:(0,t.jsx)(i.A,{spinning:O,children:(0,t.jsx)("div",{className:"flex flex-1",children:(0,t.jsxs)(v.A,{layout:"vertical",className:"w-full",form:C,initialValues:"edit"===r?{team_mode:z||(null==B?void 0:B[0]),app_name:null==k?void 0:k.app_name,app_describe:null==k?void 0:k.app_describe}:{},children:[(0,t.jsx)(v.A.Item,{label:"".concat(h("app_name"),":"),name:"app_name",required:!0,rules:[{required:!0,message:h("input_app_name")}],children:(0,t.jsx)(b.A,{placeholder:h("input_app_name"),autoComplete:"off",className:"h-8"})}),(0,t.jsx)(v.A.Item,{label:"".concat(h("Description"),":"),name:"app_describe",required:!0,rules:[{required:!0,message:h("Please_input_the_description")}],children:(0,t.jsx)(b.A.TextArea,{autoComplete:"off",placeholder:h("Please_input_the_description"),autoSize:{minRows:2.5}})}),(0,t.jsx)(v.A.Item,{label:"".concat(h("App_icon")),name:"icon",children:(0,t.jsxs)("div",{className:"flex items-end gap-4",children:[(0,t.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,t.jsx)(_.default,{src:x,width:48,height:48,alt:"app icon",className:"rounded-md border-2"})}),(0,t.jsx)("div",{className:"flex items-end h-12",children:(0,t.jsx)("div",{className:"w-px h-7 bg-gray-300"})}),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2 max-w-[300px]",children:N.map(e=>(0,t.jsx)("div",{className:"cursor-pointer rounded-md border-2 transition-all duration-200 hover:border-[#0c75fc] ".concat(x===e.value?"border-[#0c75fc] bg-[#f5faff]":"border-gray-100 hover:bg-gray-50"),onClick:()=>{g(e.value),C.setFieldValue("icon",e.value)},children:(0,t.jsx)(_.default,{src:e.value,width:28,height:28,alt:e.label,className:"rounded-md"})},e.value))})})]})})]})})})})})};function A(e){let{selectedAppCode:l,onSelect:a,onListLoaded:r}=e,{t:v}=(0,c.Bd)(),{modal:y,notification:j}=o.A.useApp(),[w,N]=(0,d.useState)([]),[A,C]=(0,d.useState)(""),[S,B]=(0,d.useState)(!1),I=(0,d.useRef)(r);I.current=r;let{run:M,loading:O}=(0,s.A)(async e=>{let l={page:1,page_size:200,...e},[a,t]=await (0,n.VbY)((0,n.eHG)(l),j);if(a||!t)return;let r=t.app_list||[];return N(r),r},{manual:!0,onSuccess:e=>{if(e&&e.length>0){var l;null==(l=I.current)||l.call(I,e)}}}),z=(0,g.A)(e=>{M({name_filter:e})},{wait:300});(0,d.useEffect)(()=>{M()},[]);let T=async e=>{await M(),e&&a(e)};return(0,t.jsxs)("div",{className:"flex flex-col h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)]",children:[(0,t.jsxs)("div",{className:"px-4 py-3 border-b border-gray-100/60",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("h3",{className:"font-semibold text-[14px] text-gray-800 tracking-[-0.01em]",children:v("builder_agent_list_title")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400 bg-gray-100/60 rounded-full px-2 py-0.5 font-medium",children:w.length})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(h.A,{title:v("builder_agent_list_refresh"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),className:"text-gray-400 hover:text-blue-500 rounded-lg h-7 w-7",onClick:()=>M(),loading:O})}),(0,t.jsx)(h.A,{title:v("create_app"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(p.A,{}),className:"text-blue-500 hover:bg-blue-50/80 rounded-lg h-7 w-7",onClick:()=>{B(!0)}})})]})]}),(0,t.jsx)(b.A,{size:"small",placeholder:v("builder_search_placeholder"),value:A,onChange:e=>{let l=e.target.value;C(l),z.run(l)},allowClear:!0,className:"rounded-lg h-8"})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-2 py-2 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:O&&0===w.length,className:"w-full",children:w.length>0?(0,t.jsx)("div",{className:"flex flex-col gap-0.5",children:w.map(e=>(0,t.jsxs)("div",{className:"group flex items-center gap-3 px-3 py-2.5 rounded-xl cursor-pointer transition-all duration-200 ".concat(l===e.app_code?"bg-gradient-to-r from-blue-50 to-indigo-50/50 border border-blue-200/60 shadow-sm":"hover:bg-gray-50/80 border border-transparent"),onClick:()=>a(e),children:[(0,t.jsx)("div",{className:"w-9 h-9 rounded-xl overflow-hidden ring-1 ring-gray-200/60 shadow-sm flex-shrink-0",children:(0,t.jsx)(_.default,{src:e.icon||"/icons/colorful-plugin.png",alt:e.app_name||"Agent",width:36,height:36,className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"text-[13px] truncate ".concat(l===e.app_code?"text-blue-700 font-semibold":"text-gray-700 font-medium"),children:e.app_name||"Untitled Agent"}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.app_describe||"--"})]}),(0,t.jsx)(h.A,{title:v("Delete"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",danger:!0,icon:(0,t.jsx)(x.A,{className:"text-[12px]"}),className:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 rounded-lg h-6 w-6 flex items-center justify-center",onClick:l=>{l.stopPropagation(),y.confirm({title:v("Tips"),icon:(0,t.jsx)(u.A,{}),content:v("app_delete_confirm"),okText:v("app_delete_yes"),okType:"danger",cancelText:v("app_delete_no"),async onOk(){await (0,n.VbY)((0,n.TTF)({app_code:e.app_code})),await M()}})}})})]},e.app_code))}):!O&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:v("builder_agent_list_empty")})})}),(0,t.jsx)(k,{open:S,onCancel:()=>B(!1),refresh:T,type:"add",skipRedirect:!0})]})}var C=a(90765),S=a(3231),B=a(66709),I=a(59964),M=a(37152),O=a(19696),z=a(37974);let T=[{key:"overview",labelKey:"builder_tab_overview"},{key:"prompts",labelKey:"builder_tab_prompts"},{key:"tools",labelKey:"builder_tab_tools"},{key:"skills",labelKey:"builder_tab_skills"},{key:"sub-agents",labelKey:"builder_tab_sub_agents"},{key:"knowledge",labelKey:"builder_tab_knowledge"}];function V(e){let{activeTab:l,onTabChange:a}=e,{t:i}=(0,c.Bd)(),{modal:u}=o.A.useApp(),[m,p]=(0,d.useState)(!1),{appInfo:x,refreshAppInfo:g,fetchUpdateAppLoading:h,refreshAppInfoLoading:b,refetchVersionData:v,versionData:y,queryAppInfo:w}=(0,d.useContext)(r.BR),{runAsync:N,loading:k}=(0,s.A)(async e=>await (0,n.LUb)(e),{manual:!0,onSuccess:async()=>{u.success({content:i("header_publish_success")}),"function"==typeof g&&await g(),"function"==typeof v&&await v()},onError:()=>{u.error({content:i("header_publish_failed")})}}),A=async()=>{await N({app_code:null==x?void 0:x.app_code,config_code:null==x?void 0:x.config_code}),p(!1)},V=(0,d.useMemo)(()=>{var e,l,a;return(null==y||null==(a=y.data)||null==(l=a.data)||null==(e=l.items)?void 0:e.map(e=>({...e,key:e.version_info,label:(0,t.jsxs)("div",{className:"flex items-center justify-between min-w-[150px]",children:[(0,t.jsx)("span",{className:e.version_info===(null==x?void 0:x.config_version)?"font-medium text-blue-600":"text-gray-700",children:e.version_info}),e.version_info===(null==x?void 0:x.config_version)&&(0,t.jsx)(C.A,{className:"ml-2 text-green-500"})]})})))||[]},[y,null==x?void 0:x.config_version]),E=async e=>{var l,a;let t=null==y||null==(a=y.data)||null==(l=a.data)?void 0:l.items.find(l=>l.version_info===e.key);t&&"function"==typeof w&&w(x.app_code,t.code)};return(0,t.jsxs)("div",{className:"bg-white/80 backdrop-blur-xl rounded-t-2xl border-b border-gray-100/60",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 py-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl overflow-hidden ring-2 ring-white shadow-lg shadow-gray-200/50",children:(0,t.jsx)(_.default,{src:(null==x?void 0:x.icon)||"/agents/agent1.jpg",alt:"Agent Icon",width:40,height:40,className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"font-semibold text-gray-800 text-[15px] leading-tight tracking-[-0.01em]",children:(null==x?void 0:x.app_name)||"Untitled Agent"}),(null==x?void 0:x.app_describe)&&(0,t.jsx)("div",{className:"text-[12px] text-gray-400 mt-0.5 truncate max-w-[300px]",children:x.app_describe})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(null==x?void 0:x.config_version)&&(0,t.jsx)(O.A,{menu:{items:V,onClick:E},trigger:["click"],children:(0,t.jsxs)(z.A,{className:"cursor-pointer m-0 border-0 bg-gradient-to-r from-gray-50 to-gray-100 hover:from-gray-100 hover:to-gray-150 text-gray-600 rounded-lg px-3 py-1 text-[12px] font-medium flex items-center gap-1.5 transition-all shadow-sm hover:shadow-md",children:[(0,t.jsx)(S.A,{className:"text-[10px] text-gray-400"}),null==x?void 0:x.config_version,(0,t.jsx)(B.A,{className:"text-[9px] opacity-60"})]})}),(0,t.jsx)(f.Ay,{type:"primary",icon:(0,t.jsx)(I.A,{}),className:"border-none shadow-lg shadow-blue-500/25 hover:shadow-xl hover:shadow-blue-500/30 transition-all duration-300 rounded-xl h-9 px-5 font-medium bg-gradient-to-r from-blue-500 via-blue-600 to-indigo-600",onClick:()=>p(!0),loading:k,children:i("builder_publish")})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 border-t border-gray-50/80",children:[(0,t.jsx)("div",{className:"flex items-center gap-0",children:T.map(e=>(0,t.jsx)("button",{className:"px-4 py-2.5 text-[13px] font-medium transition-all duration-200 border-b-2 relative ".concat(l===e.key?"text-blue-600 border-blue-500":"text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-200"),onClick:()=>a(e.key),children:i(e.labelKey)},e.key))}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-[11px] py-2",children:[h?(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-blue-500 font-medium",children:[(0,t.jsx)(S.A,{spin:!0,className:"text-[10px]"})," Saving..."]}):(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-emerald-500 font-medium",children:[(0,t.jsx)(C.A,{className:"text-[10px]"})," Saved"]}),(null==x?void 0:x.updated_at)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"w-px h-3 bg-gray-200 inline-block"}),(0,t.jsx)("span",{className:"text-gray-400 font-normal",children:x.updated_at})]})]})]}),(0,t.jsx)(j.A,{title:(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-xl bg-amber-50 flex items-center justify-center",children:(0,t.jsx)(M.A,{className:"text-amber-500 text-base"})}),(0,t.jsx)("span",{className:"text-gray-800 font-semibold text-[15px]",children:i("header_publish_app")})]}),open:m,onCancel:()=>p(!1),okButtonProps:{loading:b||h||k,className:"rounded-xl h-9 bg-gradient-to-r from-blue-500 to-indigo-600 border-none shadow-lg shadow-blue-500/25"},cancelButtonProps:{className:"rounded-xl h-9"},onOk:A,centered:!0,width:420,className:"[&_.ant-modal-content]:rounded-2xl [&_.ant-modal-content]:overflow-hidden",children:(0,t.jsx)("div",{className:"py-5 text-gray-500 text-sm leading-relaxed",children:i("header_publish_confirm")})})]})}var E=a(95849),L=a(32013),P=a(21103),R=a(15438),F=a.n(R),J=a(3711),q=a.n(J),Y=a(40799),D=a(13993),U=a(10544);let K=[{value:"/icons/colorful-plugin.png",label:"agent0"},{value:"/agents/agent1.jpg",label:"agent1"},{value:"/agents/agent2.jpg",label:"agent2"},{value:"/agents/agent3.jpg",label:"agent3"},{value:"/agents/agent4.jpg",label:"agent4"},{value:"/agents/agent5.jpg",label:"agent5"}],G=["chat_in_layout","resource_sub_type","model_sub_type","temperature_sub_type","max_new_tokens_sub_type","resource_value","model_value"],H=["temperature_value","max_new_tokens_value"];function W(){var e,l;let{t:a}=(0,c.Bd)(),{appInfo:o,fetchUpdateApp:i}=(0,d.useContext)(r.BR),[u]=v.A.useForm(),[m,p]=(0,d.useState)((null==o?void 0:o.icon)||"/agents/agent1.jpg"),[x,g]=(0,d.useState)(!1),[h,f]=(0,d.useState)([]);(0,d.useEffect)(()=>{if(o){var e,l,a,t,n,r;let{layout:s}=o||{},i=null==o||null==(e=o.resources)?void 0:e.find(e=>"reasoning_engine"===e.type),d=F()(null==i?void 0:i.value)?(0,E.j)(null==i?void 0:i.value,{}):null==i?void 0:i.value,c=(null==s||null==(l=s.chat_in_layout)?void 0:l.map(e=>e.param_type))||[],m={};c.forEach(e=>{var l;let a=null==s||null==(l=s.chat_in_layout)?void 0:l.find(l=>l.param_type===e);a&&("resource"===e?m={...m,resource_sub_type:a.sub_type,resource_value:a.param_default_value}:"model"===e?m={...m,model_sub_type:a.sub_type,model_value:a.param_default_value}:"temperature"===e?m={...m,temperature_sub_type:a.sub_type,temperature_value:a.param_default_value}:"max_new_tokens"===e&&(m={...m,max_new_tokens_sub_type:a.sub_type,max_new_tokens_value:a.param_default_value}))}),u.setFieldsValue({app_name:o.app_name,app_describe:o.app_describe,agent:o.agent,llm_strategy:null==o||null==(a=o.llm_config)?void 0:a.llm_strategy,llm_strategy_value:(null==o||null==(t=o.llm_config)?void 0:t.llm_strategy_value)||[],chat_layout:(null==s||null==(n=s.chat_layout)?void 0:n.name)||"",chat_in_layout:c||[],reasoning_engine:null!=(r=null==d?void 0:d.key)?r:null==d?void 0:d.name,...m}),p(o.icon||"/agents/agent1.jpg")}},[o,u]);let{data:y}=(0,s.A)(async()=>await (0,n.rW9)()),{data:w,run:N}=(0,s.A)(async e=>await (0,n.Dbc)(e),{manual:!0}),{data:k}=(0,s.A)(async()=>await (0,n.C5B)("Agent")),{data:A}=(0,s.A)(async()=>await (0,n.POX)()),{data:C}=(0,s.A)(async()=>await (0,n.BNu)({type:"reasoning_engine"})),{data:S}=(0,s.A)(async()=>await (0,n.d_7)()),{run:B}=(0,s.A)(async e=>await (0,n.PSN)([e]),{manual:!0,onSuccess:e=>{var l,a;let t=null==e||null==(a=e.data)||null==(l=a.data[0])?void 0:l.param_type_options;t&&f(t.map(e=>({...e,label:e.label,value:e.key||e.value})))}}),{data:I=[]}=(0,s.A)(async()=>{let[,e]=await (0,n.VbY)((0,n.TzU)());return null!=e?e:[]});(0,d.useEffect)(()=>{var e;N((null==o||null==(e=o.llm_config)?void 0:e.llm_strategy)||"priority")},[null==o||null==(e=o.llm_config)?void 0:e.llm_strategy]),(0,d.useEffect)(()=>{var e,l;let a=null==o||null==(l=o.layout)||null==(e=l.chat_in_layout)?void 0:e.find(e=>"resource"===e.param_type);a&&B(a)},[null==o||null==(l=o.layout)?void 0:l.chat_in_layout]);let M=(0,d.useMemo)(()=>{var e,l;return null==y||null==(l=y.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.value,label:e.name_cn}))},[y]),O=(0,d.useMemo)(()=>{var e,l;return null==w||null==(l=w.data)||null==(e=l.data)?void 0:e.map(e=>({value:e,label:e}))},[w]),T=(0,d.useMemo)(()=>{var e,l;return null==k||null==(l=k.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.name,label:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)("span",{className:"text-gray-400 text-xs",children:e.desc})]})}))},[k]),V=(0,d.useMemo)(()=>{var e,l;return null==A||null==(l=A.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.name,label:"".concat(e.description,"[").concat(e.name,"]")}))},[A]),R=(0,d.useMemo)(()=>{var e,l;return null==C||null==(l=C.data)||null==(e=l.data)?void 0:e.flatMap(e=>{var l;return(null==(l=e.valid_values)?void 0:l.map(e=>({item:e,value:e.key,label:e.label,selected:!0})))||[]})},[C]),J=(0,d.useMemo)(()=>{var e,l;return null==S||null==(l=S.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.param_type,label:e.param_description}))},[S]),W=(0,d.useMemo)(()=>I.map(e=>({value:e,label:e})),[I]),X=v.A.useWatch("chat_in_layout",u),Z=(0,d.useMemo)(()=>null==o?void 0:o.is_reasoning_engine_agent,[o]),Q=()=>{let e=(u.getFieldValue("chat_in_layout")||[]).map(e=>{let{label:l,value:a,sub_types:t,...n}=(null==J?void 0:J.find(l=>e===l.param_type))||{};return"resource"===e?{...n,param_default_value:u.getFieldValue("resource_value")||null,sub_type:u.getFieldValue("resource_sub_type")||null}:"model"===e?{...n,param_default_value:u.getFieldValue("model_value")||null,sub_type:u.getFieldValue("model_sub_type")||null}:"temperature"===e?{...n,param_default_value:Number(u.getFieldValue("temperature_value")||n.param_default_value||null),sub_type:u.getFieldValue("temperature_sub_type")||null}:"max_new_tokens"===e?{...n,param_default_value:Number(u.getFieldValue("max_new_tokens_value")||n.param_default_value),sub_type:u.getFieldValue("max_new_tokens_sub_type")||null}:(null==J?void 0:J.find(l=>e.includes(l.param_type)))||{}}).filter(e=>Object.keys(e).length>0);i({...o,layout:{...o.layout,chat_in_layout:e}})},$=e=>{H.includes(e)?Q():o[e]!==u.getFieldValue(e)&&i({...o,[e]:u.getFieldValue(e)})};return(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-6 py-5 custom-scrollbar",children:[(0,t.jsxs)(v.A,{form:u,layout:"vertical",onValuesChange:e=>{var l,a;let[t]=Object.keys(null!=e?e:{}),[n]=Object.values(null!=e?e:{});if("agent"===t)i({...o,agent:n});else if("llm_strategy"===t)i({...o,llm_config:{llm_strategy:n,llm_strategy_value:(null==(l=o.llm_config)?void 0:l.llm_strategy_value)||[]}});else if("llm_strategy_value"===t)i({...o,llm_config:{llm_strategy:u.getFieldValue("llm_strategy"),llm_strategy_value:n}});else if("chat_layout"===t){let e=null==V?void 0:V.find(e=>e.value===n);i({...o,layout:{...o.layout,chat_layout:e}})}else if("reasoning_engine"===t){let e=null==R?void 0:R.find(e=>e.value===n);e&&i({...o,resources:q()([{type:"reasoning_engine",value:e.item},...null!=(a=o.resources)?a:[]],"type")})}else G.includes(t)&&Q()},className:"[&_.ant-form-item-label>label]:text-gray-500 [&_.ant-form-item-label>label]:text-xs [&_.ant-form-item-label>label]:font-medium [&_.ant-form-item-label>label]:uppercase [&_.ant-form-item-label>label]:tracking-wider",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-blue-500 to-indigo-500"}),a("baseinfo_basic_info")]}),(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsxs)("div",{className:"relative group w-16 h-16 rounded-2xl border border-gray-200/60 overflow-hidden shadow-sm hover:shadow-lg hover:border-blue-200/60 transition-all duration-300 cursor-pointer ring-2 ring-white",onClick:()=>g(!0),children:[(0,t.jsx)(_.default,{src:m,width:64,height:64,alt:"agent icon",className:"object-cover w-full h-full",unoptimized:!0}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-all duration-300 backdrop-blur-[2px]",style:{backgroundColor:"rgba(0,0,0,0.35)"},children:(0,t.jsx)(D.A,{className:"text-white text-lg drop-shadow-sm"})})]}),(0,t.jsx)("span",{className:"text-[10px] text-gray-400 font-medium uppercase tracking-wider",children:a("App_icon")})]}),(0,t.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,t.jsx)(v.A.Item,{name:"app_name",label:a("input_app_name"),required:!0,rules:[{required:!0,message:a("input_app_name")}],className:"mb-0",children:(0,t.jsx)(b.A,{placeholder:a("input_app_name"),autoComplete:"off",className:"h-9 rounded-lg",onBlur:()=>$("app_name")})}),(0,t.jsx)(v.A.Item,{name:"app_describe",label:a("Please_input_the_description"),required:!0,rules:[{required:!0,message:a("Please_input_the_description")}],className:"mb-0",children:(0,t.jsx)(b.A.TextArea,{autoComplete:"off",placeholder:a("Please_input_the_description"),autoSize:{minRows:3,maxRows:5},className:"resize-none rounded-lg",onBlur:()=>$("app_describe")})})]})]})]}),(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-violet-500 to-purple-500"}),a("baseinfo_agent_config")]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(v.A.Item,{label:a("baseinfo_select_agent_type"),name:"agent",rules:[{required:!0,message:a("baseinfo_select_agent_type")}],className:"mb-0",children:(0,t.jsx)(L.A,{placeholder:a("baseinfo_select_agent_type"),options:T,allowClear:!0,className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),Z&&(0,t.jsx)(v.A.Item,{name:"reasoning_engine",label:a("baseinfo_reasoning_engine"),rules:[{required:!0,message:a("baseinfo_select_reasoning_engine")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:R,placeholder:a("baseinfo_select_reasoning_engine"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(v.A.Item,{label:a("baseinfo_llm_strategy"),name:"llm_strategy",rules:[{required:!0,message:a("baseinfo_select_llm_strategy")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:M,placeholder:a("baseinfo_select_llm_strategy"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(v.A.Item,{label:a("baseinfo_llm_strategy_value"),name:"llm_strategy_value",rules:[{required:!0,message:a("baseinfo_select_llm_model")}],className:"mb-0",children:(0,t.jsx)(L.A,{mode:"multiple",allowClear:!0,options:O,placeholder:a("baseinfo_select_llm_model"),className:"w-full [&_.ant-select-selector]:!rounded-lg",maxTagCount:"responsive",maxTagPlaceholder:e=>(0,t.jsxs)(z.A,{className:"rounded-md text-[10px] font-medium",children:["+",e.length," ..."]})})})]})]})]}),(0,t.jsx)("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-200/60 to-transparent my-6"}),(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-emerald-500 to-green-500"}),a("baseinfo_layout")]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-4",children:[(0,t.jsx)(v.A.Item,{label:a("baseinfo_layout_type"),name:"chat_layout",rules:[{required:!0,message:a("baseinfo_select_layout_type")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:V,placeholder:a("baseinfo_select_layout_type"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(v.A.Item,{label:a("baseinfo_chat_config"),name:"chat_in_layout",className:"mb-0",children:(0,t.jsx)(P.A.Group,{options:J,className:"flex flex-wrap gap-2"})}),X&&X.length>0&&(0,t.jsx)("div",{className:"col-span-2 bg-white/60 p-3.5 rounded-xl border border-gray-100/60 mt-1",children:(0,t.jsx)(Y.A,{form:u,selectedChatConfigs:X,chatConfigOptions:J,onInputBlur:$,resourceOptions:h,modelOptions:W})})]})]})]}),(0,t.jsx)(j.A,{title:(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"w-6 h-6 rounded-lg bg-gradient-to-br from-blue-100 to-indigo-50 flex items-center justify-center",children:(0,t.jsx)(U.A,{className:"text-blue-500 text-xs"})}),(0,t.jsx)("span",{className:"font-semibold text-gray-700",children:a("App_icon")})]}),open:x,onCancel:()=>g(!1),footer:null,width:420,centered:!0,className:"[&_.ant-modal-content]:rounded-2xl [&_.ant-modal-content]:shadow-2xl [&_.ant-modal-header]:border-b-0 [&_.ant-modal-header]:pb-0",children:(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3 p-5",children:K.map(e=>(0,t.jsxs)("div",{className:"cursor-pointer rounded-2xl border-2 transition-all duration-300 p-1.5 relative group hover:scale-105 ".concat(m===e.value?"border-blue-500 bg-blue-50/60 shadow-md shadow-blue-500/10":"border-transparent hover:border-gray-200/80 hover:bg-gray-50/60 hover:shadow-sm"),onClick:()=>{var l;p(l=e.value),g(!1),i({...o,icon:l})},children:[(0,t.jsx)(_.default,{src:e.value,width:60,height:60,alt:e.label,className:"rounded-xl mx-auto shadow-sm"}),m===e.value&&(0,t.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-gradient-to-br from-blue-500 to-indigo-600 rounded-full border-2 border-white flex items-center justify-center shadow-sm",children:(0,t.jsx)("span",{className:"text-white text-[8px] font-bold",children:"✓"})})]},e.value))})})]})}var X=a(32195),Z=a(71750),Q=a(34449),$=a(47562),ee=a(30961),el=a(73603),ea=a(12669),et=a(56200),en=a(90797),er=a(94600),es=a(15933),eo=a(40827);function ei(){let e=(0,es._)(["\n max-width: 287px;\n /* padding: 4px; */\n /* background-color: #fff; */\n .custom_popover_content_name {\n font-size: 14px;\n color: #525964;\n line-height: 22px;\n font-weight: 600;\n display: flex;\n justify-content: space-between;\n align-items: center;\n .custom_popover_content_switch {\n color: #1b62ff;\n cursor: pointer;\n font-size: 14px;\n font-weight: normal;\n margin-left: 8px;\n }\n }\n .custom_popover_content_desc {\n font-size: 12px;\n color: #000a1a78;\n line-height: 22px;\n }\n .custom_popover_content_code {\n max-height: 226px;\n background: #f4f4f6;\n border-radius: 10px;\n margin-top: 8px;\n .tech-highlight-light {\n background: #f4f4f6;\n }\n }\n"]);return ei=function(){return e},e}function ed(){let e=(0,es._)(["\n display: inline-flex;\n align-items: center;\n background: #e6f4ff;\n border: 1px solid #91caff;\n border-radius: 4px;\n cursor: pointer;\n font-size: 13px;\n color: #1677ff;\n line-height: 20px;\n padding: 0 6px;\n margin: 0 2px;\n vertical-align: baseline;\n transition: all 0.2s;\n \n &:hover {\n background: #bae0ff;\n border-color: #69b1ff;\n }\n\n img {\n margin-right: 4px;\n width: 14px !important;\n height: 14px !important;\n }\n"]);return ed=function(){return e},e}function ec(){let e=(0,es._)(["\n .ant-popover-inner {\n background-image: linear-gradient(114deg, #3595ff 12%, #185cff 98%);\n }\n .ant-popover-arrow::before {\n background: #3595ff;\n }\n .init_popover_content {\n width: 205px;\n /* padding: 4px; */\n font-size: 14px;\n color: #ffffff;\n line-height: 24px;\n font-weight: 500;\n .ant-btn {\n color: #1b62ff;\n width: 100%;\n margin-top: 8px;\n }\n }\n"]);return ec=function(){return e},e}let eu=eo.I4.div(ei()),em=eo.I4.div(ed()),ep=eo.I4.span(ec()),ex=e=>{let{data:l,handleClickChangeVariable:a}=e,[n,r]=(0,d.useState)(!1),[s,o]=(0,d.useState)("");return(0,d.useEffect)(()=>{"true"!==localStorage.getItem("taskAgentInitTipFlag")&&(null==l?void 0:l.isFirst)?r(!0):r(!1)},[]),(0,t.jsx)(ep,{children:(0,t.jsx)(et.A,{content:(0,t.jsxs)("div",{className:"init_popover_content",children:[(0,t.jsx)("div",{children:"鼠标悬停可查看参数取值逻辑,输入 { 可快速引用参数。"}),(0,t.jsx)(f.Ay,{onClick:()=>{r(!1),localStorage.setItem("taskAgentInitTipFlag","true")},children:"我知道了"})]}),open:n,placement:"right",trigger:"click",getPopupContainer:e=>e,children:(0,t.jsx)(et.A,{placement:"bottom",content:(0,t.jsxs)(eu,{children:[(0,t.jsxs)("div",{className:"custom_popover_content_name",children:[(0,t.jsx)(en.A.Text,{ellipsis:{tooltip:!0},children:(null==l?void 0:l.name)||""}),!(null==l?void 0:l.readonly)&&(0,t.jsx)("div",{className:"custom_popover_content_switch",onClick:()=>{a(null==l?void 0:l.matchPos)},children:"切换"})]}),(0,t.jsx)("div",{children:(null==l?void 0:l.description)&&(0,t.jsx)(en.A.Text,{className:"custom_popover_content_desc",ellipsis:{tooltip:null==l?void 0:l.description},children:(null==l?void 0:l.description)||""})}),(0,t.jsx)(er.A,{style:{margin:"8px 0"}}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[(0,t.jsx)(en.A.Text,{type:"secondary",style:{fontSize:"12px"},children:"变量测试 / Value Preview"}),(0,t.jsx)(b.A,{placeholder:"输入测试值 / Input test value",size:"small",value:s,onChange:e=>o(e.target.value),onClick:e=>e.stopPropagation()}),s&&(0,t.jsx)("div",{style:{background:"#f5f5f5",padding:"6px",borderRadius:"4px",fontSize:"12px",color:"#333",wordBreak:"break-all"},children:s})]})]}),children:(0,t.jsxs)(em,{children:[(0,t.jsx)("img",{style:{width:"16px"},src:"/icons/variable_blue.png"}),(0,t.jsx)("span",{children:(null==l?void 0:l.renderName)||(null==l?void 0:l.name)})]})})})})};class eg extends el.xO{eq(e){return JSON.stringify(this.data||{})===JSON.stringify(e.data||{})}toDOM(){let e=document.createElement("span");return ea.createRoot(e).render((0,t.jsx)(ex,{data:this.data,handleClickChangeVariable:this.handleClickChangeVariable})),e}ignoreEvent(){return!1}constructor(e,l){super(),this.data=e,this.handleClickChangeVariable=l}}let eh=/{{([^{}]+)}}/;function ef(){let e=(0,es._)(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n transition: all 0.2s;\n word-break: break-all;\n height: 100%;\n cursor: text;\n flex: 1;\n overflow-y: auto;\n scrollbar-width: thin;\n scrollbar-gutter: stable;\n \n .cm-editor {\n background: transparent;\n padding: 16px 20px;\n }\n\n .cm-scroller {\n padding: 0 !important;\n }\n\n .cm-content {\n white-space: pre-wrap !important;\n width: 100% !important;\n line-height: 24px !important;\n font-size: 14px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n }\n\n .cm-placeholder {\n color: rgba(0, 10, 26, 26%) !important;\n }\n\n .cm-focused {\n outline: none !important;\n }\n"]);return ef=function(){return e},e}let eb=eo.I4.div(ef()),e_=e=>{var l,a;let t=null==e||null==(a=e.state)||null==(l=a.selection)?void 0:l.main;return null==e?void 0:e.coordsAtPos(null==t?void 0:t.head)},ev=e=>{let l=e.state.selection.main;return{from:l.from,to:l.to}},ey=d.memo(e=>{let{value:l,readonly:a,placeholder:n,onChange:r,variableList:s=[],style:o,setReasoningArgSuppliers:i,reasoningArgSuppliers:c=[],skillList:u=[],agentList:m=[],knowledgeList:p=[],className:x,teamMode:g,showPreview:b=!1}=e,[_,v]=(0,d.useState)(),[y,j]=(0,d.useState)(null),w=(0,d.useRef)(null),[N,k]=(0,d.useState)(!1),[A,C]=(0,d.useState)(!1),[S,B]=(0,d.useState)(!1),I=(0,d.useRef)(null),[M,O]=(0,d.useState)({}),z=[(e=>{let{variableList:l,clickChangeVariable:a,reasoningArgSuppliers:t,readonly:n}=e,r=new el.dT({regexp:/{{([^{}]+)}}/g,decoration:(e,r,s)=>{var o,i,d;let c=!1;(null==(d=(null==r||null==(i=r.state)||null==(o=i.doc)?void 0:o.toString()).match(eh))?void 0:d.index)===s&&(c=!0);let u=l;(null==t?void 0:t.length)>0&&(u=null==l?void 0:l.filter(e=>null==t?void 0:t.includes(e.name)));let m=e[1],p=(null==u?void 0:u.find(e=>(null==e?void 0:e.arg)===m))||(null==l?void 0:l.find(e=>(null==e?void 0:e.arg)===m))||{},{description:x,arg:g,script:h}=p||{},f={name:e[1],description:x,script:h,renderName:g,isFirst:c,matchPos:s,readonly:n};return el.NZ.replace({widget:new eg(f,()=>{a({from:s,to:s+e[0].length},p)})})}});return el.Z9.fromClass(class{update(e){this.placeholders=r.updateDeco(e,this.placeholders)}constructor(e){this.placeholders=r.createDeco(e)}},{decorations:e=>e.placeholders,provide:e=>el.Lz.atomicRanges.of(l=>{var a;return(null==(a=l.plugin(e))?void 0:a.placeholders)||el.NZ.none})})})({variableList:s,clickChangeVariable:(e,l)=>{O(l),C(!0),v({from:null==e?void 0:e.from,to:null==e?void 0:e.to})},reasoningArgSuppliers:c,readonly:a})],T=(0,X.a)({theme:"light",settings:{background:"#ffffff",backgroundImage:"",caret:"#000",selection:"#afd1ff",gutterBackground:"#fff",gutterForeground:"#8a919966",fontSize:14},styles:[]}),V=e=>{let l=w.current;l&&!a&&setTimeout(()=>{var a,t,n;let r=ev(l),s=null==l||null==(n=l.state)||null==(t=n.doc)||null==(a=t.toString())?void 0:a.slice(r.from,r.to+1);(null==e?void 0:e.key)==="{"?(v({...r,from:r.from-1,to:"}"===s?r.to+1:r.to}),j(e_(l)),k(!0)):(k(!1),v(r))})},E=e=>{let l=w.current;if(!l||a)return;let t=ev(l),n=e_(l),r=document.querySelector(".ant-modal-root"),s=document.querySelector(".custom-command-modal"),o=document.querySelector(".custom-choose-modal"),i=!1;(s&&(null==s?void 0:s.contains(null==e?void 0:e.target))||r&&(null==r?void 0:r.contains(null==e?void 0:e.target))||o&&(null==o?void 0:o.contains(null==e?void 0:e.target)))&&(i=!0),i||(k(!1),j(n),v(t))};return(0,d.useEffect)(()=>()=>{if(document.removeEventListener("mouseup",E),w.current){var e,l;null==(l=w.current)||null==(e=l.dom)||e.removeEventListener("keydown",V)}},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(eb,{style:o,className:"".concat(x," relative"),children:[b&&(0,t.jsx)("div",{className:"absolute top-2 right-4 z-30",children:(0,t.jsx)(h.A,{title:S?"关闭预览 / Close Preview":"开启预览 / Open Preview",children:(0,t.jsx)(f.Ay,{type:"text",icon:S?(0,t.jsx)(Q.A,{}):(0,t.jsx)($.A,{}),onClick:()=>B(!S),size:"small",className:"bg-white/90 backdrop-blur-sm shadow-md hover:bg-white border border-gray-200"})})}),(0,t.jsxs)("div",{className:"flex h-full w-full relative",children:[(0,t.jsx)("div",{className:"h-full w-full",children:(0,t.jsx)(Z.Ay,{theme:T,className:"InputCodeMirror",readOnly:a,value:l,onChange:e=>{r&&r(e)},onCreateEditor:e=>{var l;w.current=e,null==e||null==(l=e.dom)||l.addEventListener("keydown",V),document.addEventListener("mouseup",E)},placeholder:n,basicSetup:{lineNumbers:!1,highlightActiveLineGutter:!1,foldGutter:!1,autocompletion:!1,indentOnInput:!1,highlightActiveLine:!1,highlightSelectionMatches:!1},extensions:z,height:"100%",style:{fontSize:14,height:"100%",minHeight:"200px"}})}),b&&S&&(0,t.jsx)("div",{ref:I,className:"absolute inset-0 z-20 overflow-y-auto px-5 py-4 pt-12 bg-gray-50/95 backdrop-blur-sm prose prose-sm max-w-none",children:(0,t.jsx)(ee.oz,{children:l||""})})]})]})})});var ej=a(92366),ew=a(61037),eN=a(50274),ek=a(94326),eA=a(23512),eC=a(45964),eS=a.n(eC);function eB(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),{system_prompt_template:n="",user_prompt_template:o=""}=l||{},[i,u]=(0,d.useState)(""),[p,x]=(0,d.useState)(""),h=(null==l?void 0:l.agent)||"",{run:b,loading:_}=(0,s.A)(async a=>{if(!h)return ek.Ay.warning(e("baseinfo_select_agent_type")),null;let t=(null==l?void 0:l.language)||"en";try{var n;let e=await (0,ej.PU)(h,t);if(null==(n=e.data)?void 0:n.data)return e.data.data;return null}catch(l){return ek.Ay.error(e("application_update_failed")),null}},{manual:!0,onSuccess:(t,n)=>{let r=n[0];t&&("system"===r?(u(t.system_prompt_template),a({...l,system_prompt_template:t.system_prompt_template})):(x(t.user_prompt_template),a({...l,user_prompt_template:t.user_prompt_template})),ek.Ay.success(e("update_success")))}});(0,d.useEffect)(()=>{n&&!i&&u(n),o&&!p&&x(o)},[n,o,i,p]);let{run:v}=(0,g.A)(e=>{u(e),a({...l,system_prompt_template:e})},{wait:500}),{run:y}=(0,g.A)(e=>{x(e),a({...l,user_prompt_template:e})},{wait:500}),j=eS()(e=>v(e),800),w=eS()(e=>y(e),800),N=(0,d.useMemo)(()=>i||n||"",[i,n]),k=(0,d.useMemo)(()=>p||o||"",[p,o]),A=[{key:"system",label:(0,t.jsxs)("span",{className:"flex items-center gap-2 px-2 py-1",children:[(0,t.jsx)(ew.A,{className:"text-amber-500"}),(0,t.jsx)("span",{className:"font-medium",children:e("character_config_system_prompt")})]}),children:(0,t.jsxs)("div",{className:"flex flex-col h-full w-full",children:[(0,t.jsx)("div",{className:"flex items-center justify-end px-4 py-2.5 border-b border-gray-100/40",children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),loading:_,onClick:()=>b("system"),className:"text-gray-400 hover:text-amber-600 hover:bg-amber-50/60 text-xs rounded-lg h-7 px-2.5 font-medium transition-all duration-200",children:e("Reset")})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,t.jsx)(ey,{value:N,onChange:j,showPreview:!0})})]})},{key:"user",label:(0,t.jsxs)("span",{className:"flex items-center gap-2 px-2 py-1",children:[(0,t.jsx)(eN.A,{className:"text-blue-500"}),(0,t.jsx)("span",{className:"font-medium",children:e("character_config_user_prompt")})]}),children:(0,t.jsxs)("div",{className:"flex flex-col h-full w-full",children:[(0,t.jsx)("div",{className:"flex items-center justify-end px-4 py-2.5 border-b border-gray-100/40",children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),loading:_,onClick:()=>b("user"),className:"text-gray-400 hover:text-blue-600 hover:bg-blue-50/60 text-xs rounded-lg h-7 px-2.5 font-medium transition-all duration-200",children:e("Reset")})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,t.jsx)(ey,{value:k,onChange:w,showPreview:!0})})]})}];return(0,t.jsx)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:(0,t.jsx)(eA.A,{items:A,defaultActiveKey:"system",type:"line",className:"h-full flex flex-col prompt-tabs [&_.ant-tabs-content]:flex-1 [&_.ant-tabs-content]:h-full [&_.ant-tabs-content]:overflow-hidden [&_.ant-tabs-nav]:mb-0 [&_.ant-tabs-nav]:px-5 [&_.ant-tabs-nav]:pt-3 [&_.ant-tabs-tabpane]:h-full [&_.ant-tabs-tab]:!py-2.5 [&_.ant-tabs-tab]:!px-0 [&_.ant-tabs-tab]:!mr-6 [&_.ant-tabs-ink-bar]:!bg-gradient-to-r [&_.ant-tabs-ink-bar]:from-amber-500 [&_.ant-tabs-ink-bar]:to-orange-500 [&_.ant-tabs-ink-bar]:!h-[2.5px] [&_.ant-tabs-ink-bar]:!rounded-full",tabBarStyle:{borderBottom:"1px solid rgba(0,0,0,0.04)",background:"transparent"}})})}var eI=a(54696),eM=a(50747),eO=a(3377),ez=a(8365),eT=a(49929);function eV(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[x,g]=(0,d.useState)("all"),{data:f,loading:_,refresh:v}=(0,s.A)(async()=>await (0,n.VbY)((0,eI.Gk)({filter:""},{page:1,page_size:200}))),{data:y,loading:j,refresh:w}=(0,s.A)(async()=>await (0,n.VbY)((0,n.NQM)({filter:""},{page:1,page_size:200}))),N=(0,d.useMemo)(()=>{let[,e]=f||[];return((null==e?void 0:e.items)||[]).map(e=>({key:e.skill_code,name:e.name,label:e.name,skill_name:e.name,description:e.description||"",skill_description:e.description||"",toolType:"skill(derisk)",groupName:"skill",isBuiltIn:!1,skillCode:e.skill_code,skill_path:e.path||e.skill_code,skill_author:e.author,skill_branch:e.branch||"main",type:"skill"}))},[f]),k=(0,d.useMemo)(()=>{let[,e]=y||[];return((null==e?void 0:e.items)||[]).map(e=>({key:e.mcp_code,name:e.name,label:e.name,description:e.description||"",toolType:"mcp(derisk)",groupName:"mcp",isBuiltIn:!1,mcp_code:e.mcp_code,available:e.available,author:e.author,version:e.version,icon:e.icon,type:"mcp(derisk)"}))},[y]),A=(0,d.useMemo)(()=>{switch(x){case"skills":return N;case"mcp":return k;default:return[...N,...k]}},[N,k,x]),C=(0,d.useMemo)(()=>((null==l?void 0:l.resource_tool)||[]).map(e=>{let l=JSON.parse(e.value||"{}");return(null==l?void 0:l.key)||(null==l?void 0:l.name)}).filter(Boolean),[null==l?void 0:l.resource_tool]),S=(0,d.useMemo)(()=>{if(!o)return A;let e=o.toLowerCase();return A.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[A,o]),B=N.length,I=k.length,M=[{key:"skill",icon:(0,t.jsx)(ew.A,{className:"text-blue-500"}),label:(0,t.jsxs)("div",{className:"flex flex-col py-0.5",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700",children:e("builder_create_skill")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400",children:e("builder_create_skill_desc")})]})},{key:"mcp",icon:(0,t.jsx)(eM.A,{className:"text-purple-500"}),label:(0,t.jsxs)("div",{className:"flex flex-col py-0.5",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700",children:e("builder_create_mcp")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400",children:e("builder_create_mcp_desc")})]})}],T=_||j;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(eO.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{v(),w()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(T?"animate-spin":"")})})}),(0,t.jsx)(O.A,{menu:{items:M,onClick:e=>{switch(e.key){case"skill":window.open("/agent-skills","_blank");break;case"mcp":window.open("/mcp","_blank")}}},trigger:["click"],placement:"bottomRight",children:(0,t.jsxs)("button",{className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-blue-500 to-indigo-600 text-white text-[13px] font-medium shadow-lg shadow-blue-500/25 hover:shadow-xl hover:shadow-blue-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_skill_all"),count:B+I},{key:"skills",label:"Skills",count:B},{key:"mcp",label:"MCP",count:I}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(x===e.key?"text-blue-600 border-blue-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>g(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(x===e.key?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:T,children:S.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:S.map((e,n)=>{let r=e.key||e.name,s=C.includes(r),o="mcp(derisk)"===e.type||"mcp"===e.type?{label:"MCP",color:"purple"}:{label:"Skill",color:"orange"};return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-blue-200/80 bg-blue-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name,n=e.toolType||e.type,r=e.label||e.name;if(C.includes(t)){let e=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.key)||(null==l?void 0:l.name),s=(null==l?void 0:l.toolType)||(null==l?void 0:l.type)||e.type,o=(null==l?void 0:l.name)||e.name,i=s===n&&o===r;return a!==t&&!i});a({...l,resource_tool:e})}else{let s={type:n,name:r,value:JSON.stringify({key:t,name:r,...e})},o=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}");return((null==l?void 0:l.toolType)||(null==l?void 0:l.type)||e.type)!==n||((null==l?void 0:l.name)||e.name)!==r});a({...l,resource_tool:[...o,s]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-blue-100":"bg-gray-100"),children:"mcp(derisk)"===e.type||"mcp"===e.type?(0,t.jsx)(eM.A,{className:"text-sm ".concat(s?"text-purple-500":"text-gray-400")}):(0,t.jsx)(ez.A,{className:"text-sm ".concat(s?"text-orange-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsxs)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:[e.description||e.toolType,e.author&&" \xb7 ".concat(e.author)]})]}),(0,t.jsx)(z.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:o.color,children:o.label})]}),s&&(0,t.jsx)(eT.A,{className:"text-blue-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!T&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eE=a(81064);function eL(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[p,x]=(0,d.useState)("all"),{data:g,loading:f,refresh:_}=(0,s.A)(async()=>await (0,n.BNu)({type:"tool"})),{data:v,loading:y,refresh:j}=(0,s.A)(async()=>await (0,n.BNu)({type:"tool(local)"})),w=(0,d.useMemo)(()=>{let e=[],l=(l,a)=>{var t,n;null==l||null==(n=l.data)||null==(t=n.data)||t.forEach(l=>{var t;null==(t=l.valid_values)||t.forEach(t=>{e.push({...t,toolType:a,groupName:l.param_name,isBuiltIn:!0})})})};return l(g,"tool"),l(v,"tool(local)"),e},[g,v]),N=(0,d.useMemo)(()=>{switch(p){case"tool":return w.filter(e=>"tool"===e.toolType);case"local":return w.filter(e=>"tool(local)"===e.toolType);default:return w}},[w,p]),k=(0,d.useMemo)(()=>((null==l?void 0:l.resource_tool)||[]).map(e=>{let l=JSON.parse(e.value||"{}");return(null==l?void 0:l.key)||(null==l?void 0:l.name)}).filter(Boolean),[null==l?void 0:l.resource_tool]),A=(0,d.useMemo)(()=>{if(!o)return N;let e=o.toLowerCase();return N.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[N,o]),C=w.filter(e=>"tool"===e.toolType).length,S=w.filter(e=>"tool(local)"===e.toolType).length,B=f||y;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(eO.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{_(),j()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(B?"animate-spin":"")})})})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_tool_all"),count:w.length},{key:"tool",label:e("builder_tool_builtin"),count:C},{key:"local",label:e("builder_tool_local"),count:S}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(p===e.key?"text-blue-600 border-blue-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>x(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(p===e.key?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:B,children:A.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:A.map((e,n)=>{let r=e.key||e.name,s=k.includes(r),o=e.toolType.includes("local")?{label:"Local",color:"green"}:{label:"Built-IN",color:"blue"};return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-blue-200/80 bg-blue-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name,n=e.toolType,r=e.label||e.name;if(k.includes(t)){let e=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.key)||(null==l?void 0:l.name),s=(null==l?void 0:l.toolType)||e.type,o=(null==l?void 0:l.name)||e.name,i=s===n&&o===r;return a!==t&&!i});a({...l,resource_tool:e})}else{let s={type:n,name:r,value:JSON.stringify({key:t,name:r,...e})},o=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.toolType)||e.type,t=(null==l?void 0:l.name)||e.name;return a!==n||t!==r});a({...l,resource_tool:[...o,s]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-blue-100":"bg-gray-100"),children:(0,t.jsx)(eE.A,{className:"text-sm ".concat(s?"text-blue-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.toolType})]}),(0,t.jsx)(z.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:o.color,children:o.label})]}),s&&(0,t.jsx)(eT.A,{className:"text-blue-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!B&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eP=a(67678),eR=a(87344);function eF(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[x,g]=(0,d.useState)("all"),{data:f,loading:v,refresh:y}=(0,s.A)(async()=>await (0,n.BNu)({type:"app"})),{data:j,loading:w,refresh:N}=(0,s.A)(async()=>await (0,n.VbY)((0,n.eHG)({page:1,page_size:200}))),k=(0,d.useMemo)(()=>{var e,l;let a=[];return null==f||null==(l=f.data)||null==(e=l.data)||e.forEach(e=>{if("app_code"===e.param_name){var l;null==(l=e.valid_values)||l.forEach(e=>{a.push({...e,isBuiltIn:!0})})}}),a},[f]),A=(0,d.useMemo)(()=>{let[,e]=j||[],a=(null==e?void 0:e.app_list)||[],t=new Set(k.map(e=>e.key||e.name));return a.filter(e=>e.app_code!==(null==l?void 0:l.app_code)&&!t.has(e.app_code)).map(e=>({key:e.app_code,name:e.app_name||"Untitled Agent",label:e.app_name||"Untitled Agent",description:e.app_describe||"",icon:e.icon,isBuiltIn:!1}))},[j,null==l?void 0:l.app_code,k]),C=(0,d.useMemo)(()=>{switch(x){case"built-in":return k;case"custom":return A;default:return[...k,...A]}},[k,A,x]),S=(0,d.useMemo)(()=>((null==l?void 0:l.resource_agent)||[]).map(e=>{var l;return null==(l=JSON.parse(e.value||"{}"))?void 0:l.key}).filter(Boolean),[null==l?void 0:l.resource_agent]),B=(0,d.useMemo)(()=>{if(!o)return C;let e=o.toLowerCase();return C.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[C,o]),I=k.length,M=A.length,O=v||w;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(eO.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{y(),N()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(O?"animate-spin":"")})})}),(0,t.jsxs)("button",{onClick:()=>{window.open("/application/app","_blank")},className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-emerald-500 to-teal-600 text-white text-[13px] font-medium shadow-lg shadow-emerald-500/25 hover:shadow-xl hover:shadow-emerald-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_agent_source_all"),count:I+M},{key:"built-in",label:e("builder_agent_source_built_in"),count:I},{key:"custom",label:e("builder_agent_source_custom"),count:M}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(x===e.key?"text-emerald-600 border-emerald-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>g(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(x===e.key?"bg-emerald-100 text-emerald-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:O,children:B.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:B.map((e,n)=>{let r=e.key||e.name,s=S.includes(r);return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-emerald-200/80 bg-emerald-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name;if(S.includes(t)){let e=(l.resource_agent||[]).filter(e=>{var l;return(null==(l=JSON.parse(e.value||"{}"))?void 0:l.key)!==t});a({...l,resource_agent:e})}else{let t={type:"app",name:e.label||e.name,value:JSON.stringify({key:e.key||e.name,name:e.label||e.name,...e})},n=l.resource_agent||[];a({...l,resource_agent:[...n,t]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 overflow-hidden ".concat(s?"bg-emerald-100":"bg-gray-100"),children:!e.isBuiltIn&&e.icon?(0,t.jsx)(_.default,{src:e.icon,width:32,height:32,alt:e.label||e.name,className:"object-cover w-full h-full"}):e.isBuiltIn?(0,t.jsx)(eP.A,{className:"text-sm ".concat(s?"text-emerald-500":"text-gray-400")}):(0,t.jsx)(eR.A,{className:"text-sm ".concat(s?"text-orange-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.key||"--"})]}),(0,t.jsx)(z.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:e.isBuiltIn?"blue":"orange",children:e.isBuiltIn?"Built-IN":"Custom"})]}),s&&(0,t.jsx)(eT.A,{className:"text-emerald-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!O&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eJ=a(44407);function eq(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),{data:x,loading:g,refresh:f}=(0,s.A)(async()=>await (0,n.BNu)({type:"knowledge"})),_=(0,d.useMemo)(()=>{var e,l;let a=[];return null==x||null==(l=x.data)||null==(e=l.data)||e.forEach(e=>{if("knowledge"===e.param_name){var l;null==(l=e.valid_values)||l.forEach(e=>{a.push({...e})})}}),a},[x]),v=(0,d.useMemo)(()=>{var e,a;let t=null==l||null==(a=l.resource_knowledge)||null==(e=a[0])?void 0:e.value;if(!t)return[];try{let e=JSON.parse(t);return((null==e?void 0:e.knowledges)||[]).map(e=>e.knowledge_id)}catch(e){return[]}},[null==l?void 0:l.resource_knowledge]),y=(0,d.useMemo)(()=>{if(!o)return _;let e=o.toLowerCase();return _.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[_,o]);return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(eO.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:f,className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(g?"animate-spin":"")})})}),(0,t.jsxs)("button",{onClick:()=>{window.open("/knowledge","_blank")},className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-sky-500 to-cyan-600 text-white text-[13px] font-medium shadow-lg shadow-sky-500/25 hover:shadow-xl hover:shadow-sky-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:g,children:y.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:y.map((e,n)=>{let r=e.key||e.value,s=v.includes(r);return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-sky-200/80 bg-sky-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{var t,n,r,s,o;let i=e.key||e.value,d=e.label||e.name,c=v.includes(i),u=[];try{let e=null==l||null==(n=l.resource_knowledge)||null==(t=n[0])?void 0:t.value;e&&(u=(null==(r=JSON.parse(e))?void 0:r.knowledges)||[])}catch(e){u=[]}if(c){let e=u.filter(e=>e.knowledge_id!==i),t=[{...(null==(s=l.resource_knowledge)?void 0:s[0])||{},type:"knowledge_pack",name:"knowledge",value:JSON.stringify({knowledges:e})}];a({...l,resource_knowledge:e.length>0?t:[]})}else{let e=[...u,{knowledge_id:i,knowledge_name:d}],t=[{...(null==(o=l.resource_knowledge)?void 0:o[0])||{},type:"knowledge_pack",name:"knowledge",value:JSON.stringify({knowledges:e})}];a({...l,resource_knowledge:t})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-sky-100":"bg-gray-100"),children:(0,t.jsx)(eJ.A,{className:"text-sm ".concat(s?"text-sky-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.key||"--"})]})]}),s&&(0,t.jsx)(eT.A,{className:"text-sky-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!g&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eY=a(86253),eD=a(62315),eU=a(93640),eK=a(47937);let{Content:eG}=eY.A,eH=function(){var e;let{appInfo:l,setCollapsed:a,collapsed:n,refreshAppInfo:s,chatId:o}=(0,d.useContext)(r.BR),[i,c]=(0,d.useState)([]),[u]=(0,d.useState)(),[m,p]=(0,d.useState)(!1),[x,g]=(0,d.useState)(!1),[h,f]=(0,d.useState)(""),[b,_]=(0,d.useState)(.6),[v,y]=(0,d.useState)(4e3),[j,w]=(0,d.useState)(),[N,k]=(0,d.useState)([]),[A,C]=(0,d.useState)(""),S=(0,d.useRef)(null),[B]=(0,d.useState)(null),{chat:I,ctrl:M}=(0,eU.A)({app_code:l.app_code||""}),O=(0,d.useRef)(1),z=(0,d.useCallback)((e,t)=>new Promise(n=>{var r,s,d,u,m,x;let h=(0,eK.oF)(),f=new AbortController;if(setTimeout(()=>{a(!0)},50),p(!0),i&&i.length>0){let e=null==i?void 0:i.filter(e=>"view"===e.role),l=null==i?void 0:i.filter(e=>"human"===e.role);O.current=((null==(m=e[e.length-1])?void 0:m.order)||(null==(x=l[l.length-1])?void 0:x.order))+1}let b="";if("string"==typeof e)b=e;else{let l=e.content||[],a=l.filter(e=>"text"===e.type),t=l.filter(e=>"text"!==e.type);a.length>0&&(b=a.map(e=>e.text).join(" "));let n=t.map(e=>{if("image_url"===e.type){var l,a;let t=(null==(l=e.image_url)?void 0:l.url)||"",n=(0,eK.sC)(t),r=(null==(a=e.image_url)?void 0:a.fileName)||"image";return"\n![".concat(r,"](").concat(n,")")}if("video"===e.type){let l=e.video||"",a=(0,eK.sC)(l);return"\n[Video](".concat(a,")")}{let l=(0,eK.UX)(e.file_url);return"\n".concat(l)}}).join("\n");n&&(b=b+"\n"+n)}let _=[...h&&h.id===o?[]:i,{role:"human",context:b,model_name:(null==t?void 0:t.model_name)||A,order:O.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||A,order:O.current,time_stamp:0,thinking:!0}],v=_.length-1;c([..._]),I({data:{user_input:e,team_mode:(null==l?void 0:l.team_mode)||"",app_config_code:(null==l?void 0:l.config_code)||"",conv_uid:o,ext_info:{vis_render:(null==l||null==(s=l.layout)||null==(r=s.chat_layout)?void 0:r.name)||"",incremental:(null==l||null==(u=l.layout)||null==(d=u.chat_layout)?void 0:d.incremental)||!1},...t},ctrl:f,onMessage:e=>{g(!0),e&&((null==t?void 0:t.incremental)?_[v].context+=e:_[v].context=e,_[v].thinking=!1,c([..._]))},onDone:()=>{p(!1),g(!1),n()},onClose:()=>{p(!1),g(!1),n()},onError:e=>{p(!1),g(!1),_[v].context=e,_[v].thinking=!1,c([..._]),n()}})}),[i,A,I,l,o]);return(0,d.useEffect)(()=>{var e,a,t;if(null==l||null==(a=l.layout)||null==(e=a.chat_in_layout)?void 0:e.length){let e=null==l||null==(t=l.layout)?void 0:t.chat_in_layout,a=e.find(e=>"temperature"===e.param_type),n=e.find(e=>"max_new_tokens"===e.param_type),r=e.find(e=>"resource"===e.param_type),s=e.find(e=>"model"===e.param_type);_(Number(null==a?void 0:a.param_default_value)||.6),y(Number(null==n?void 0:n.param_default_value)||4e3),C((null==s?void 0:s.param_default_value)||""),w((null==r?void 0:r.param_default_value)||null),k([...a?[{param_type:"temperature",param_value:JSON.stringify(null==a?void 0:a.param_default_value),sub_type:null==a?void 0:a.sub_type}]:[],...n?[{param_type:"max_new_tokens",param_value:JSON.stringify(null==n?void 0:n.param_default_value),sub_type:null==n?void 0:n.sub_type}]:[],...r?[{param_type:"resource",param_value:JSON.stringify(null==r?void 0:r.param_default_value),sub_type:null==r?void 0:r.sub_type}]:[],...s?[{param_type:"model",param_value:JSON.stringify(null==s?void 0:s.param_default_value),sub_type:null==s?void 0:s.sub_type}]:[]])}},[null==l||null==(e=l.layout)?void 0:e.chat_in_layout]),(0,t.jsx)(r.zo.Provider,{value:{history:i,replyLoading:m,scrollRef:S,canAbort:x,chartsData:u||[],agent:h,currentDialogue:B,appInfo:l,temperatureValue:b,maxNewTokensValue:v,resourceValue:j,modelValue:A,setModelValue:C,setResourceValue:w,setTemperatureValue:_,setMaxNewTokensValue:y,setChatInParams:k,chatInParams:N,setAgent:f,setCanAbort:g,setReplyLoading:p,handleChat:z,refreshHistory:()=>{},refreshAppInfo:null!=s?s:()=>{},setHistory:c,isShowDetail:n,isDebug:!0,setAppInfo:()=>{},refreshDialogList:()=>{}},children:(0,t.jsx)("div",{className:"flex-1 flex flex-col h-full relative bg-transparent",children:(0,t.jsx)("div",{className:"flex-1 bg-transparent overflow-hidden",children:(0,t.jsx)(eG,{className:"flex flex-col flex-1 h-full",children:(0,t.jsx)(eD.A,{ref:S,ctrl:M})})})})})};function eW(){var e;let{message:l,notification:a}=o.A.useApp(),{t:u}=(0,c.Bd)(),[m,p]=(0,d.useState)(null),[x,g]=(0,d.useState)("overview"),[h,f]=(0,d.useState)(!1),[b,_]=(0,d.useState)({}),[v,y]=(0,d.useState)(null),[j,w]=(0,d.useState)(""),{run:N,refresh:k,loading:C}=(0,s.A)(async(e,l)=>await (0,n.VbY)((0,n.Y6h)({app_code:e,config_code:l}),a),{manual:!0,onSuccess:e=>{let[,l]=e;_(l||{})}}),{run:S,loading:B}=(0,s.A)(async e=>await (0,n.VbY)((0,n.fyc)(e),a),{manual:!0,onSuccess:e=>{let[,a]=e;if(!a)return void l.error(u("application_update_failed"));_(a||{})},onError:e=>{l.error(u("application_update_failed")),console.error("update app error",e)}}),{refreshAsync:I}=(0,s.A)(async()=>await (0,n.suT)({app_code:b.app_code}),{manual:!(null==b?void 0:b.app_code),ready:!!(null==b?void 0:b.app_code),refreshDeps:[null!=(e=null==b?void 0:b.app_code)?e:""],onSuccess:e=>{y(e)}}),M=(0,d.useCallback)(async e=>{let[,l]=await (0,n.VbY)((0,n.j_h)({app_code:e}),a);l&&w(l.conv_uid)},[a]),O=(0,d.useCallback)(e=>{e.app_code!==m&&(p(e.app_code),g("overview"),f(!1),N(e.app_code),M(e.app_code))},[m,N,M]),z=(0,d.useRef)(!1),T=(0,d.useCallback)(e=>{if(!z.current&&e.length>0&&!m){z.current=!0;let l=e[0];p(l.app_code),N(l.app_code),M(l.app_code)}},[m,N,M]);return(0,t.jsx)(r.BR.Provider,{value:{collapsed:h,setCollapsed:f,appInfo:b,setAppInfo:_,refreshAppInfo:k,queryAppInfo:N,refreshAppInfoLoading:C,chatId:j,setChatId:w,initChatId:M,fetchUpdateApp:S,fetchUpdateAppLoading:B,refetchVersionData:I,versionData:v},children:(0,t.jsxs)("div",{className:"flex h-screen w-full bg-gradient-to-br from-slate-50 via-gray-50 to-blue-50/30 overflow-hidden",children:[(0,t.jsx)("div",{className:"w-[280px] flex-shrink-0 p-3 pr-0",children:(0,t.jsx)(A,{selectedAppCode:m,onSelect:O,onListLoaded:T})}),(0,t.jsx)("div",{className:"flex-shrink-0 p-3 flex flex-col transition-all duration-400 ease-[cubic-bezier(0.4,0,0.2,1)] overflow-hidden ".concat(h?"w-0 min-w-0 opacity-0 p-0 pointer-events-none":"flex-1 min-w-[320px] opacity-100"),children:m&&(null==b?void 0:b.app_code)?(0,t.jsx)(i.A,{spinning:C,wrapperClassName:"flex-1 flex flex-col overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-col h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:[(0,t.jsx)(V,{activeTab:x,onTabChange:g}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(()=>{if(!m||!(null==b?void 0:b.app_code))return null;switch(x){case"overview":default:return(0,t.jsx)(W,{});case"prompts":return(0,t.jsx)(eB,{});case"tools":return(0,t.jsx)(eL,{});case"skills":return(0,t.jsx)(eV,{});case"sub-agents":return(0,t.jsx)(eF,{});case"knowledge":return(0,t.jsx)(eq,{})}})()})]})}):(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)]",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-2xl bg-gradient-to-br from-gray-100 to-gray-50 flex items-center justify-center",children:(0,t.jsx)(ez.A,{className:"text-2xl text-gray-300"})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_select_agent")}),(0,t.jsx)("p",{className:"text-gray-300 text-xs mt-1",children:u("builder_select_agent")})]})})}),(0,t.jsx)("div",{className:"flex-shrink-0 p-3 pl-0 transition-all duration-400 ease-[cubic-bezier(0.4,0,0.2,1)] ".concat(h?"flex-1":"w-[480px]"),children:(0,t.jsx)("div",{className:"h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:m&&(null==b?void 0:b.app_code)?(0,t.jsx)(eH,{}):(0,t.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 mx-auto mb-3 rounded-2xl bg-gradient-to-br from-green-50 to-emerald-50 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-green-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_chat_preview")}),(0,t.jsx)("p",{className:"text-gray-300 text-xs mt-1",children:u("builder_chat_preview_desc")})]})})})})]})})}}},e=>{e.O(0,[342,562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,6079,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,2783,7773,9960,1236,6074,8441,5964,7358],()=>e(e.s=40011)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-ec5d890230a5bc47.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-ec5d890230a5bc47.js new file mode 100644 index 00000000..91a10b74 --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/app/page-ec5d890230a5bc47.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2283],{23407:()=>{},40011:(e,l,a)=>{Promise.resolve().then(a.bind(a,80649))},80649:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>eX});var t=a(95155),n=a(67773),r=a(91070),s=a(54099),o=a(55887),i=a(16467),d=a(12115),c=a(91218),u=a(64227),m=a(34140),p=a(44261),x=a(18610),g=a(50715),h=a(97540),f=a(98696),b=a(73775),v=a(66766),_=a(95388),y=a(57845),j=a(96194);a(29300);var w=a(35695);a(23407);let N=[{value:"/icons/colorful-plugin.png",label:"agent0"},{value:"/agents/agent1.jpg",label:"agent1"},{value:"/agents/agent2.jpg",label:"agent2"},{value:"/agents/agent3.jpg",label:"agent3"},{value:"/agents/agent4.jpg",label:"agent4"},{value:"/agents/agent5.jpg",label:"agent5"}],k=e=>{let{open:l,onCancel:a,type:r="add",refresh:u,skipRedirect:m=!1}=e,{notification:p}=o.A.useApp(),[x,g]=(0,d.useState)("/icons/colorful-plugin.png"),{t:h,i18n:f}=(0,c.Bd)(),k=JSON.parse(localStorage.getItem("new_app_info")||"{}"),{message:A}=o.A.useApp(),[C]=_.A.useForm(),S=(0,w.useRouter)(),{data:B,loading:I}=(0,s.A)(async()=>{let[e,l]=await (0,n.VbY)((0,n.XrS)());return null!=l?l:[]}),{run:M,loading:z}=(0,s.A)(async e=>"edit"===r?await (0,n.VbY)((0,n.fyc)({app_code:null==k?void 0:k.app_code,language:"zh",...e})):await (0,n.VbY)((0,n.$qV)({language:"zh",...e}),p),{manual:!0,onSuccess:async e=>{let[l,t]=e;if(l)A.error("edit"===r?h("Update_failure"):h("Create_failure")),await (null==u?void 0:u());else if("edit"===r){var s;let[,e]=await (0,n.VbY)((0,n.eHG)({})),l=null==e||null==(s=e.app_list)?void 0:s.find(e=>e.app_code===(null==k?void 0:k.app_code));localStorage.setItem("new_app_info",JSON.stringify({...l,isEdit:!0})),A.success(h("Update_successfully")),await (null==u?void 0:u(l))}else(null==t?void 0:t.app_code)?(A.success(h("Create_successfully")),m?await (null==u?void 0:u(t)):S.replace("/application/app")):(A.error(h("Create_failure")),await (null==u?void 0:u()));a()}}),O=(0,d.useMemo)(()=>{var e;return null==B||null==(e=B.filter(e=>e.value===(null==k?void 0:k.team_mode)))?void 0:e[0]},[k,B]);return I?null:(0,t.jsx)(y.Ay,{theme:{components:{Button:{defaultBorderColor:"#d9d9d9"}}},children:(0,t.jsx)(j.A,{className:"create-app-modal-container",title:h("create_app"),width:480,open:l,onOk:async()=>{C.validateFields().then(async e=>{var l;await M({app_name:null==e?void 0:e.app_name,app_describe:null==e?void 0:e.app_describe,team_mode:null==e||null==(l=e.team_mode)?void 0:l.value,icon:(null==e?void 0:e.icon)||x})})},onCancel:a,centered:!0,children:(0,t.jsx)(i.A,{spinning:z,children:(0,t.jsx)("div",{className:"flex flex-1",children:(0,t.jsxs)(_.A,{layout:"vertical",className:"w-full",form:C,initialValues:"edit"===r?{team_mode:O||(null==B?void 0:B[0]),app_name:null==k?void 0:k.app_name,app_describe:null==k?void 0:k.app_describe}:{},children:[(0,t.jsx)(_.A.Item,{label:"".concat(h("app_name"),":"),name:"app_name",required:!0,rules:[{required:!0,message:h("input_app_name")}],children:(0,t.jsx)(b.A,{placeholder:h("input_app_name"),autoComplete:"off",className:"h-8"})}),(0,t.jsx)(_.A.Item,{label:"".concat(h("Description"),":"),name:"app_describe",required:!0,rules:[{required:!0,message:h("Please_input_the_description")}],children:(0,t.jsx)(b.A.TextArea,{autoComplete:"off",placeholder:h("Please_input_the_description"),autoSize:{minRows:2.5}})}),(0,t.jsx)(_.A.Item,{label:"".concat(h("App_icon")),name:"icon",children:(0,t.jsxs)("div",{className:"flex items-end gap-4",children:[(0,t.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,t.jsx)(v.default,{src:x,width:48,height:48,alt:"app icon",className:"rounded-md border-2"})}),(0,t.jsx)("div",{className:"flex items-end h-12",children:(0,t.jsx)("div",{className:"w-px h-7 bg-gray-300"})}),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2 max-w-[300px]",children:N.map(e=>(0,t.jsx)("div",{className:"cursor-pointer rounded-md border-2 transition-all duration-200 hover:border-[#0c75fc] ".concat(x===e.value?"border-[#0c75fc] bg-[#f5faff]":"border-gray-100 hover:bg-gray-50"),onClick:()=>{g(e.value),C.setFieldValue("icon",e.value)},children:(0,t.jsx)(v.default,{src:e.value,width:28,height:28,alt:e.label,className:"rounded-md"})},e.value))})})]})})]})})})})})};function A(e){let{selectedAppCode:l,onSelect:a,onListLoaded:r}=e,{t:_}=(0,c.Bd)(),{modal:y,notification:j}=o.A.useApp(),[w,N]=(0,d.useState)([]),[A,C]=(0,d.useState)(""),[S,B]=(0,d.useState)(!1),I=(0,d.useRef)(r);I.current=r;let{run:M,loading:z}=(0,s.A)(async e=>{let l={page:1,page_size:200,...e},[a,t]=await (0,n.VbY)((0,n.eHG)(l),j);if(a||!t)return;let r=t.app_list||[];return N(r),r},{manual:!0,onSuccess:e=>{if(e&&e.length>0){var l;null==(l=I.current)||l.call(I,e)}}}),O=(0,g.A)(e=>{M({name_filter:e})},{wait:300});(0,d.useEffect)(()=>{M()},[]);let T=async e=>{await M(),e&&a(e)};return(0,t.jsxs)("div",{className:"flex flex-col h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)]",children:[(0,t.jsxs)("div",{className:"px-4 py-3 border-b border-gray-100/60",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("h3",{className:"font-semibold text-[14px] text-gray-800 tracking-[-0.01em]",children:_("builder_agent_list_title")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400 bg-gray-100/60 rounded-full px-2 py-0.5 font-medium",children:w.length})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(h.A,{title:_("builder_agent_list_refresh"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),className:"text-gray-400 hover:text-blue-500 rounded-lg h-7 w-7",onClick:()=>M(),loading:z})}),(0,t.jsx)(h.A,{title:_("create_app"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(p.A,{}),className:"text-blue-500 hover:bg-blue-50/80 rounded-lg h-7 w-7",onClick:()=>{B(!0)}})})]})]}),(0,t.jsx)(b.A,{size:"small",placeholder:_("builder_search_placeholder"),value:A,onChange:e=>{let l=e.target.value;C(l),O.run(l)},allowClear:!0,className:"rounded-lg h-8"})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-2 py-2 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:z&&0===w.length,className:"w-full",children:w.length>0?(0,t.jsx)("div",{className:"flex flex-col gap-0.5",children:w.map(e=>(0,t.jsxs)("div",{className:"group flex items-center gap-3 px-3 py-2.5 rounded-xl cursor-pointer transition-all duration-200 ".concat(l===e.app_code?"bg-gradient-to-r from-blue-50 to-indigo-50/50 border border-blue-200/60 shadow-sm":"hover:bg-gray-50/80 border border-transparent"),onClick:()=>a(e),children:[(0,t.jsx)("div",{className:"w-9 h-9 rounded-xl overflow-hidden ring-1 ring-gray-200/60 shadow-sm flex-shrink-0",children:(0,t.jsx)(v.default,{src:e.icon||"/icons/colorful-plugin.png",alt:e.app_name||"Agent",width:36,height:36,className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"text-[13px] truncate ".concat(l===e.app_code?"text-blue-700 font-semibold":"text-gray-700 font-medium"),children:e.app_name||"Untitled Agent"}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.app_describe||"--"})]}),(0,t.jsx)(h.A,{title:_("Delete"),children:(0,t.jsx)(f.Ay,{type:"text",size:"small",danger:!0,icon:(0,t.jsx)(x.A,{className:"text-[12px]"}),className:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 rounded-lg h-6 w-6 flex items-center justify-center",onClick:l=>{l.stopPropagation(),y.confirm({title:_("Tips"),icon:(0,t.jsx)(u.A,{}),content:_("app_delete_confirm"),okText:_("app_delete_yes"),okType:"danger",cancelText:_("app_delete_no"),async onOk(){await (0,n.VbY)((0,n.TTF)({app_code:e.app_code})),await M()}})}})})]},e.app_code))}):!z&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:_("builder_agent_list_empty")})})}),(0,t.jsx)(k,{open:S,onCancel:()=>B(!1),refresh:T,type:"add",skipRedirect:!0})]})}var C=a(90765),S=a(3231),B=a(66709),I=a(59964),M=a(37152),z=a(19696),O=a(37974);let T=[{key:"overview",labelKey:"builder_tab_overview"},{key:"prompts",labelKey:"builder_tab_prompts"},{key:"tools",labelKey:"builder_tab_tools"},{key:"skills",labelKey:"builder_tab_skills"},{key:"sub-agents",labelKey:"builder_tab_sub_agents"},{key:"knowledge",labelKey:"builder_tab_knowledge"}];function V(e){let{activeTab:l,onTabChange:a}=e,{t:i}=(0,c.Bd)(),{modal:u}=o.A.useApp(),[m,p]=(0,d.useState)(!1),{appInfo:x,refreshAppInfo:g,fetchUpdateAppLoading:h,refreshAppInfoLoading:b,refetchVersionData:_,versionData:y,queryAppInfo:w}=(0,d.useContext)(r.BR),{runAsync:N,loading:k}=(0,s.A)(async e=>await (0,n.LUb)(e),{manual:!0,onSuccess:async()=>{u.success({content:i("header_publish_success")}),"function"==typeof g&&await g(),"function"==typeof _&&await _()},onError:()=>{u.error({content:i("header_publish_failed")})}}),A=async()=>{await N({app_code:null==x?void 0:x.app_code,config_code:null==x?void 0:x.config_code}),p(!1)},V=(0,d.useMemo)(()=>{var e,l,a;return(null==y||null==(a=y.data)||null==(l=a.data)||null==(e=l.items)?void 0:e.map(e=>({...e,key:e.version_info,label:(0,t.jsxs)("div",{className:"flex items-center justify-between min-w-[150px]",children:[(0,t.jsx)("span",{className:e.version_info===(null==x?void 0:x.config_version)?"font-medium text-blue-600":"text-gray-700",children:e.version_info}),e.version_info===(null==x?void 0:x.config_version)&&(0,t.jsx)(C.A,{className:"ml-2 text-green-500"})]})})))||[]},[y,null==x?void 0:x.config_version]),E=async e=>{var l,a;let t=null==y||null==(a=y.data)||null==(l=a.data)?void 0:l.items.find(l=>l.version_info===e.key);t&&"function"==typeof w&&w(x.app_code,t.code)};return(0,t.jsxs)("div",{className:"bg-white/80 backdrop-blur-xl rounded-t-2xl border-b border-gray-100/60",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 py-3 gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl overflow-hidden ring-2 ring-white shadow-lg shadow-gray-200/50 flex-shrink-0",children:(0,t.jsx)(v.default,{src:(null==x?void 0:x.icon)||"/agents/agent1.jpg",alt:"Agent Icon",width:40,height:40,className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,t.jsx)("div",{className:"font-semibold text-gray-800 text-[15px] leading-tight tracking-[-0.01em] truncate",children:(null==x?void 0:x.app_name)||"Untitled Agent"}),(null==x?void 0:x.app_describe)&&(0,t.jsx)("div",{className:"text-[12px] text-gray-400 mt-0.5 truncate",children:x.app_describe})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 flex-shrink-0",children:[(null==x?void 0:x.config_version)&&(0,t.jsx)(z.A,{menu:{items:V,onClick:E},trigger:["click"],children:(0,t.jsxs)(O.A,{className:"cursor-pointer m-0 border-0 bg-gradient-to-r from-gray-50 to-gray-100 hover:from-gray-100 hover:to-gray-150 text-gray-600 rounded-lg px-3 py-1 text-[12px] font-medium flex items-center gap-1.5 transition-all shadow-sm hover:shadow-md",children:[(0,t.jsx)(S.A,{className:"text-[10px] text-gray-400"}),null==x?void 0:x.config_version,(0,t.jsx)(B.A,{className:"text-[9px] opacity-60"})]})}),(0,t.jsx)(f.Ay,{type:"primary",icon:(0,t.jsx)(I.A,{}),className:"border-none shadow-lg shadow-blue-500/25 hover:shadow-xl hover:shadow-blue-500/30 transition-all duration-300 rounded-xl h-9 px-5 font-medium bg-gradient-to-r from-blue-500 via-blue-600 to-indigo-600",onClick:()=>p(!0),loading:k,children:i("builder_publish")})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 border-t border-gray-50/80 gap-3",children:[(0,t.jsx)("div",{className:"flex items-center gap-0 overflow-x-auto flex-1 min-w-0",children:T.map(e=>(0,t.jsx)("button",{className:"px-4 py-2.5 text-[13px] font-medium transition-all duration-200 border-b-2 relative whitespace-nowrap flex-shrink-0 ".concat(l===e.key?"text-blue-600 border-blue-500":"text-gray-500 border-transparent hover:text-gray-700 hover:border-gray-200"),onClick:()=>a(e.key),children:i(e.labelKey)},e.key))}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-[11px] py-2 flex-shrink-0",children:[h?(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-blue-500 font-medium",children:[(0,t.jsx)(S.A,{spin:!0,className:"text-[10px]"})," Saving..."]}):(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-emerald-500 font-medium",children:[(0,t.jsx)(C.A,{className:"text-[10px]"})," Saved"]}),(null==x?void 0:x.updated_at)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"w-px h-3 bg-gray-200 inline-block"}),(0,t.jsx)("span",{className:"text-gray-400 font-normal",children:x.updated_at})]})]})]}),(0,t.jsx)(j.A,{title:(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-xl bg-amber-50 flex items-center justify-center",children:(0,t.jsx)(M.A,{className:"text-amber-500 text-base"})}),(0,t.jsx)("span",{className:"text-gray-800 font-semibold text-[15px]",children:i("header_publish_app")})]}),open:m,onCancel:()=>p(!1),okButtonProps:{loading:b||h||k,className:"rounded-xl h-9 bg-gradient-to-r from-blue-500 to-indigo-600 border-none shadow-lg shadow-blue-500/25"},cancelButtonProps:{className:"rounded-xl h-9"},onOk:A,centered:!0,width:420,className:"[&_.ant-modal-content]:rounded-2xl [&_.ant-modal-content]:overflow-hidden",children:(0,t.jsx)("div",{className:"py-5 text-gray-500 text-sm leading-relaxed",children:i("header_publish_confirm")})})]})}var E=a(95849),L=a(32013),F=a(21103),P=a(15438),R=a.n(P),J=a(3711),q=a.n(J),Y=a(40799),D=a(13993),U=a(10544);let K=[{value:"/icons/colorful-plugin.png",label:"agent0"},{value:"/agents/agent1.jpg",label:"agent1"},{value:"/agents/agent2.jpg",label:"agent2"},{value:"/agents/agent3.jpg",label:"agent3"},{value:"/agents/agent4.jpg",label:"agent4"},{value:"/agents/agent5.jpg",label:"agent5"}],G=["chat_in_layout","resource_sub_type","model_sub_type","temperature_sub_type","max_new_tokens_sub_type","resource_value","model_value"],H=["temperature_value","max_new_tokens_value"];function W(){var e,l;let{t:a}=(0,c.Bd)(),{appInfo:o,fetchUpdateApp:i}=(0,d.useContext)(r.BR),[u]=_.A.useForm(),[m,p]=(0,d.useState)((null==o?void 0:o.icon)||"/agents/agent1.jpg"),[x,g]=(0,d.useState)(!1),[h,f]=(0,d.useState)([]);(0,d.useEffect)(()=>{if(o){var e,l,a,t,n,r;let{layout:s}=o||{},i=null==o||null==(e=o.resources)?void 0:e.find(e=>"reasoning_engine"===e.type),d=R()(null==i?void 0:i.value)?(0,E.j)(null==i?void 0:i.value,{}):null==i?void 0:i.value,c=(null==s||null==(l=s.chat_in_layout)?void 0:l.map(e=>e.param_type))||[],m={};c.forEach(e=>{var l;let a=null==s||null==(l=s.chat_in_layout)?void 0:l.find(l=>l.param_type===e);a&&("resource"===e?m={...m,resource_sub_type:a.sub_type,resource_value:a.param_default_value}:"model"===e?m={...m,model_sub_type:a.sub_type,model_value:a.param_default_value}:"temperature"===e?m={...m,temperature_sub_type:a.sub_type,temperature_value:a.param_default_value}:"max_new_tokens"===e&&(m={...m,max_new_tokens_sub_type:a.sub_type,max_new_tokens_value:a.param_default_value}))}),u.setFieldsValue({app_name:o.app_name,app_describe:o.app_describe,agent:o.agent,llm_strategy:null==o||null==(a=o.llm_config)?void 0:a.llm_strategy,llm_strategy_value:(null==o||null==(t=o.llm_config)?void 0:t.llm_strategy_value)||[],chat_layout:(null==s||null==(n=s.chat_layout)?void 0:n.name)||"",chat_in_layout:c||[],reasoning_engine:null!=(r=null==d?void 0:d.key)?r:null==d?void 0:d.name,...m}),p(o.icon||"/agents/agent1.jpg")}},[o,u]);let{data:y}=(0,s.A)(async()=>await (0,n.rW9)()),{data:w,run:N}=(0,s.A)(async e=>await (0,n.Dbc)(e),{manual:!0}),{data:k}=(0,s.A)(async()=>await (0,n.C5B)("Agent")),{data:A}=(0,s.A)(async()=>await (0,n.POX)()),{data:C}=(0,s.A)(async()=>await (0,n.BNu)({type:"reasoning_engine"})),{data:S}=(0,s.A)(async()=>await (0,n.d_7)()),{run:B}=(0,s.A)(async e=>await (0,n.PSN)([e]),{manual:!0,onSuccess:e=>{var l,a;let t=null==e||null==(a=e.data)||null==(l=a.data[0])?void 0:l.param_type_options;t&&f(t.map(e=>({...e,label:e.label,value:e.key||e.value})))}}),{data:I=[]}=(0,s.A)(async()=>{let[,e]=await (0,n.VbY)((0,n.TzU)());return null!=e?e:[]});(0,d.useEffect)(()=>{var e;N((null==o||null==(e=o.llm_config)?void 0:e.llm_strategy)||"priority")},[null==o||null==(e=o.llm_config)?void 0:e.llm_strategy]),(0,d.useEffect)(()=>{var e,l;let a=null==o||null==(l=o.layout)||null==(e=l.chat_in_layout)?void 0:e.find(e=>"resource"===e.param_type);a&&B(a)},[null==o||null==(l=o.layout)?void 0:l.chat_in_layout]);let M=(0,d.useMemo)(()=>{var e,l;return null==y||null==(l=y.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.value,label:e.name_cn}))},[y]),z=(0,d.useMemo)(()=>{var e,l;return null==w||null==(l=w.data)||null==(e=l.data)?void 0:e.map(e=>({value:e,label:e}))},[w]),T=(0,d.useMemo)(()=>{var e,l;return null==k||null==(l=k.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.name,label:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)("span",{className:"text-gray-400 text-xs",children:e.desc})]})}))},[k]),V=(0,d.useMemo)(()=>{var e,l;return null==A||null==(l=A.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.name,label:"".concat(e.description,"[").concat(e.name,"]")}))},[A]),P=(0,d.useMemo)(()=>{var e,l;return null==C||null==(l=C.data)||null==(e=l.data)?void 0:e.flatMap(e=>{var l;return(null==(l=e.valid_values)?void 0:l.map(e=>({item:e,value:e.key,label:e.label,selected:!0})))||[]})},[C]),J=(0,d.useMemo)(()=>{var e,l;return null==S||null==(l=S.data)||null==(e=l.data)?void 0:e.map(e=>({...e,value:e.param_type,label:e.param_description}))},[S]),W=(0,d.useMemo)(()=>I.map(e=>({value:e,label:e})),[I]),X=_.A.useWatch("chat_in_layout",u),Z=(0,d.useMemo)(()=>null==o?void 0:o.is_reasoning_engine_agent,[o]),Q=()=>{let e=(u.getFieldValue("chat_in_layout")||[]).map(e=>{let{label:l,value:a,sub_types:t,...n}=(null==J?void 0:J.find(l=>e===l.param_type))||{};return"resource"===e?{...n,param_default_value:u.getFieldValue("resource_value")||null,sub_type:u.getFieldValue("resource_sub_type")||null}:"model"===e?{...n,param_default_value:u.getFieldValue("model_value")||null,sub_type:u.getFieldValue("model_sub_type")||null}:"temperature"===e?{...n,param_default_value:Number(u.getFieldValue("temperature_value")||n.param_default_value||null),sub_type:u.getFieldValue("temperature_sub_type")||null}:"max_new_tokens"===e?{...n,param_default_value:Number(u.getFieldValue("max_new_tokens_value")||n.param_default_value),sub_type:u.getFieldValue("max_new_tokens_sub_type")||null}:(null==J?void 0:J.find(l=>e.includes(l.param_type)))||{}}).filter(e=>Object.keys(e).length>0);i({...o,layout:{...o.layout,chat_in_layout:e}})},$=e=>{H.includes(e)?Q():o[e]!==u.getFieldValue(e)&&i({...o,[e]:u.getFieldValue(e)})};return(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-6 py-5 custom-scrollbar",children:[(0,t.jsxs)(_.A,{form:u,layout:"vertical",onValuesChange:e=>{var l,a;let[t]=Object.keys(null!=e?e:{}),[n]=Object.values(null!=e?e:{});if("agent"===t)i({...o,agent:n});else if("llm_strategy"===t)i({...o,llm_config:{llm_strategy:n,llm_strategy_value:(null==(l=o.llm_config)?void 0:l.llm_strategy_value)||[]}});else if("llm_strategy_value"===t)i({...o,llm_config:{llm_strategy:u.getFieldValue("llm_strategy"),llm_strategy_value:n}});else if("chat_layout"===t){let e=null==V?void 0:V.find(e=>e.value===n);i({...o,layout:{...o.layout,chat_layout:e}})}else if("reasoning_engine"===t){let e=null==P?void 0:P.find(e=>e.value===n);e&&i({...o,resources:q()([{type:"reasoning_engine",value:e.item},...null!=(a=o.resources)?a:[]],"type")})}else G.includes(t)&&Q()},className:"[&_.ant-form-item-label>label]:text-gray-500 [&_.ant-form-item-label>label]:text-xs [&_.ant-form-item-label>label]:font-medium [&_.ant-form-item-label>label]:uppercase [&_.ant-form-item-label>label]:tracking-wider",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-blue-500 to-indigo-500"}),a("baseinfo_basic_info")]}),(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,t.jsxs)("div",{className:"relative group w-16 h-16 rounded-2xl border border-gray-200/60 overflow-hidden shadow-sm hover:shadow-lg hover:border-blue-200/60 transition-all duration-300 cursor-pointer ring-2 ring-white",onClick:()=>g(!0),children:[(0,t.jsx)(v.default,{src:m,width:64,height:64,alt:"agent icon",className:"object-cover w-full h-full",unoptimized:!0}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-all duration-300 backdrop-blur-[2px]",style:{backgroundColor:"rgba(0,0,0,0.35)"},children:(0,t.jsx)(D.A,{className:"text-white text-lg drop-shadow-sm"})})]}),(0,t.jsx)("span",{className:"text-[10px] text-gray-400 font-medium uppercase tracking-wider",children:a("App_icon")})]}),(0,t.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,t.jsx)(_.A.Item,{name:"app_name",label:a("input_app_name"),required:!0,rules:[{required:!0,message:a("input_app_name")}],className:"mb-0",children:(0,t.jsx)(b.A,{placeholder:a("input_app_name"),autoComplete:"off",className:"h-9 rounded-lg",onBlur:()=>$("app_name")})}),(0,t.jsx)(_.A.Item,{name:"app_describe",label:a("Please_input_the_description"),required:!0,rules:[{required:!0,message:a("Please_input_the_description")}],className:"mb-0",children:(0,t.jsx)(b.A.TextArea,{autoComplete:"off",placeholder:a("Please_input_the_description"),autoSize:{minRows:3,maxRows:5},className:"resize-none rounded-lg",onBlur:()=>$("app_describe")})})]})]})]}),(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-violet-500 to-purple-500"}),a("baseinfo_agent_config")]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(_.A.Item,{label:a("baseinfo_select_agent_type"),name:"agent",rules:[{required:!0,message:a("baseinfo_select_agent_type")}],className:"mb-0",children:(0,t.jsx)(L.A,{placeholder:a("baseinfo_select_agent_type"),options:T,allowClear:!0,className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),Z&&(0,t.jsx)(_.A.Item,{name:"reasoning_engine",label:a("baseinfo_reasoning_engine"),rules:[{required:!0,message:a("baseinfo_select_reasoning_engine")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:P,placeholder:a("baseinfo_select_reasoning_engine"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(_.A.Item,{label:a("baseinfo_llm_strategy"),name:"llm_strategy",rules:[{required:!0,message:a("baseinfo_select_llm_strategy")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:M,placeholder:a("baseinfo_select_llm_strategy"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(_.A.Item,{label:a("baseinfo_llm_strategy_value"),name:"llm_strategy_value",rules:[{required:!0,message:a("baseinfo_select_llm_model")}],className:"mb-0",children:(0,t.jsx)(L.A,{mode:"multiple",allowClear:!0,options:z,placeholder:a("baseinfo_select_llm_model"),className:"w-full [&_.ant-select-selector]:!rounded-lg",maxTagCount:"responsive",maxTagPlaceholder:e=>(0,t.jsxs)(O.A,{className:"rounded-md text-[10px] font-medium",children:["+",e.length," ..."]})})})]})]})]}),(0,t.jsx)("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-200/60 to-transparent my-6"}),(0,t.jsxs)("div",{className:"bg-gray-50/30 rounded-xl border border-gray-100/60 p-5",children:[(0,t.jsxs)("h3",{className:"text-[13px] font-semibold text-gray-700 mb-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-1 h-4 rounded-full bg-gradient-to-b from-emerald-500 to-green-500"}),a("baseinfo_layout")]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-4",children:[(0,t.jsx)(_.A.Item,{label:a("baseinfo_layout_type"),name:"chat_layout",rules:[{required:!0,message:a("baseinfo_select_layout_type")}],className:"mb-0",children:(0,t.jsx)(L.A,{options:V,placeholder:a("baseinfo_select_layout_type"),className:"w-full [&_.ant-select-selector]:!rounded-lg"})}),(0,t.jsx)(_.A.Item,{label:a("baseinfo_chat_config"),name:"chat_in_layout",className:"mb-0",children:(0,t.jsx)(F.A.Group,{options:J,className:"flex flex-wrap gap-2"})}),X&&X.length>0&&(0,t.jsx)("div",{className:"col-span-2 bg-white/60 p-3.5 rounded-xl border border-gray-100/60 mt-1",children:(0,t.jsx)(Y.A,{form:u,selectedChatConfigs:X,chatConfigOptions:J,onInputBlur:$,resourceOptions:h,modelOptions:W})})]})]})]}),(0,t.jsx)(j.A,{title:(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"w-6 h-6 rounded-lg bg-gradient-to-br from-blue-100 to-indigo-50 flex items-center justify-center",children:(0,t.jsx)(U.A,{className:"text-blue-500 text-xs"})}),(0,t.jsx)("span",{className:"font-semibold text-gray-700",children:a("App_icon")})]}),open:x,onCancel:()=>g(!1),footer:null,width:420,centered:!0,className:"[&_.ant-modal-content]:rounded-2xl [&_.ant-modal-content]:shadow-2xl [&_.ant-modal-header]:border-b-0 [&_.ant-modal-header]:pb-0",children:(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3 p-5",children:K.map(e=>(0,t.jsxs)("div",{className:"cursor-pointer rounded-2xl border-2 transition-all duration-300 p-1.5 relative group hover:scale-105 ".concat(m===e.value?"border-blue-500 bg-blue-50/60 shadow-md shadow-blue-500/10":"border-transparent hover:border-gray-200/80 hover:bg-gray-50/60 hover:shadow-sm"),onClick:()=>{var l;p(l=e.value),g(!1),i({...o,icon:l})},children:[(0,t.jsx)(v.default,{src:e.value,width:60,height:60,alt:e.label,className:"rounded-xl mx-auto shadow-sm"}),m===e.value&&(0,t.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-gradient-to-br from-blue-500 to-indigo-600 rounded-full border-2 border-white flex items-center justify-center shadow-sm",children:(0,t.jsx)("span",{className:"text-white text-[8px] font-bold",children:"✓"})})]},e.value))})})]})}var X=a(32195),Z=a(71750),Q=a(34449),$=a(47562),ee=a(30961),el=a(73603),ea=a(12669),et=a(56200),en=a(90797),er=a(94600),es=a(15933),eo=a(40827);function ei(){let e=(0,es._)(["\n max-width: 287px;\n /* padding: 4px; */\n /* background-color: #fff; */\n .custom_popover_content_name {\n font-size: 14px;\n color: #525964;\n line-height: 22px;\n font-weight: 600;\n display: flex;\n justify-content: space-between;\n align-items: center;\n .custom_popover_content_switch {\n color: #1b62ff;\n cursor: pointer;\n font-size: 14px;\n font-weight: normal;\n margin-left: 8px;\n }\n }\n .custom_popover_content_desc {\n font-size: 12px;\n color: #000a1a78;\n line-height: 22px;\n }\n .custom_popover_content_code {\n max-height: 226px;\n background: #f4f4f6;\n border-radius: 10px;\n margin-top: 8px;\n .tech-highlight-light {\n background: #f4f4f6;\n }\n }\n"]);return ei=function(){return e},e}function ed(){let e=(0,es._)(["\n display: inline-flex;\n align-items: center;\n background: #e6f4ff;\n border: 1px solid #91caff;\n border-radius: 4px;\n cursor: pointer;\n font-size: 13px;\n color: #1677ff;\n line-height: 20px;\n padding: 0 6px;\n margin: 0 2px;\n vertical-align: baseline;\n transition: all 0.2s;\n \n &:hover {\n background: #bae0ff;\n border-color: #69b1ff;\n }\n\n img {\n margin-right: 4px;\n width: 14px !important;\n height: 14px !important;\n }\n"]);return ed=function(){return e},e}function ec(){let e=(0,es._)(["\n .ant-popover-inner {\n background-image: linear-gradient(114deg, #3595ff 12%, #185cff 98%);\n }\n .ant-popover-arrow::before {\n background: #3595ff;\n }\n .init_popover_content {\n width: 205px;\n /* padding: 4px; */\n font-size: 14px;\n color: #ffffff;\n line-height: 24px;\n font-weight: 500;\n .ant-btn {\n color: #1b62ff;\n width: 100%;\n margin-top: 8px;\n }\n }\n"]);return ec=function(){return e},e}let eu=eo.I4.div(ei()),em=eo.I4.div(ed()),ep=eo.I4.span(ec()),ex=e=>{let{data:l,handleClickChangeVariable:a}=e,[n,r]=(0,d.useState)(!1),[s,o]=(0,d.useState)("");return(0,d.useEffect)(()=>{"true"!==localStorage.getItem("taskAgentInitTipFlag")&&(null==l?void 0:l.isFirst)?r(!0):r(!1)},[]),(0,t.jsx)(ep,{children:(0,t.jsx)(et.A,{content:(0,t.jsxs)("div",{className:"init_popover_content",children:[(0,t.jsx)("div",{children:"鼠标悬停可查看参数取值逻辑,输入 { 可快速引用参数。"}),(0,t.jsx)(f.Ay,{onClick:()=>{r(!1),localStorage.setItem("taskAgentInitTipFlag","true")},children:"我知道了"})]}),open:n,placement:"right",trigger:"click",getPopupContainer:e=>e,children:(0,t.jsx)(et.A,{placement:"bottom",content:(0,t.jsxs)(eu,{children:[(0,t.jsxs)("div",{className:"custom_popover_content_name",children:[(0,t.jsx)(en.A.Text,{ellipsis:{tooltip:!0},children:(null==l?void 0:l.name)||""}),!(null==l?void 0:l.readonly)&&(0,t.jsx)("div",{className:"custom_popover_content_switch",onClick:()=>{a(null==l?void 0:l.matchPos)},children:"切换"})]}),(0,t.jsx)("div",{children:(null==l?void 0:l.description)&&(0,t.jsx)(en.A.Text,{className:"custom_popover_content_desc",ellipsis:{tooltip:null==l?void 0:l.description},children:(null==l?void 0:l.description)||""})}),(0,t.jsx)(er.A,{style:{margin:"8px 0"}}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:[(0,t.jsx)(en.A.Text,{type:"secondary",style:{fontSize:"12px"},children:"变量测试 / Value Preview"}),(0,t.jsx)(b.A,{placeholder:"输入测试值 / Input test value",size:"small",value:s,onChange:e=>o(e.target.value),onClick:e=>e.stopPropagation()}),s&&(0,t.jsx)("div",{style:{background:"#f5f5f5",padding:"6px",borderRadius:"4px",fontSize:"12px",color:"#333",wordBreak:"break-all"},children:s})]})]}),children:(0,t.jsxs)(em,{children:[(0,t.jsx)("img",{style:{width:"16px"},src:"/icons/variable_blue.png"}),(0,t.jsx)("span",{children:(null==l?void 0:l.renderName)||(null==l?void 0:l.name)})]})})})})};class eg extends el.xO{eq(e){return JSON.stringify(this.data||{})===JSON.stringify(e.data||{})}toDOM(){let e=document.createElement("span");return ea.createRoot(e).render((0,t.jsx)(ex,{data:this.data,handleClickChangeVariable:this.handleClickChangeVariable})),e}ignoreEvent(){return!1}constructor(e,l){super(),this.data=e,this.handleClickChangeVariable=l}}let eh=/{{([^{}]+)}}/;function ef(){let e=(0,es._)(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n transition: all 0.2s;\n word-break: break-all;\n height: 100%;\n cursor: text;\n flex: 1;\n overflow-y: auto;\n scrollbar-width: thin;\n scrollbar-gutter: stable;\n \n .cm-editor {\n background: transparent;\n padding: 16px 20px;\n }\n\n .cm-scroller {\n padding: 0 !important;\n }\n\n .cm-content {\n white-space: pre-wrap !important;\n width: 100% !important;\n line-height: 24px !important;\n font-size: 14px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n }\n\n .cm-placeholder {\n color: rgba(0, 10, 26, 26%) !important;\n }\n\n .cm-focused {\n outline: none !important;\n }\n"]);return ef=function(){return e},e}let eb=eo.I4.div(ef()),ev=e=>{var l,a;let t=null==e||null==(a=e.state)||null==(l=a.selection)?void 0:l.main;return null==e?void 0:e.coordsAtPos(null==t?void 0:t.head)},e_=e=>{let l=e.state.selection.main;return{from:l.from,to:l.to}},ey=d.memo(e=>{let{value:l,readonly:a,placeholder:n,onChange:r,variableList:s=[],style:o,setReasoningArgSuppliers:i,reasoningArgSuppliers:c=[],skillList:u=[],agentList:m=[],knowledgeList:p=[],className:x,teamMode:g,showPreview:b=!1}=e,[v,_]=(0,d.useState)(),[y,j]=(0,d.useState)(null),w=(0,d.useRef)(null),[N,k]=(0,d.useState)(!1),[A,C]=(0,d.useState)(!1),[S,B]=(0,d.useState)(!1),I=(0,d.useRef)(null),[M,z]=(0,d.useState)({}),O=[(e=>{let{variableList:l,clickChangeVariable:a,reasoningArgSuppliers:t,readonly:n}=e,r=new el.dT({regexp:/{{([^{}]+)}}/g,decoration:(e,r,s)=>{var o,i,d;let c=!1;(null==(d=(null==r||null==(i=r.state)||null==(o=i.doc)?void 0:o.toString()).match(eh))?void 0:d.index)===s&&(c=!0);let u=l;(null==t?void 0:t.length)>0&&(u=null==l?void 0:l.filter(e=>null==t?void 0:t.includes(e.name)));let m=e[1],p=(null==u?void 0:u.find(e=>(null==e?void 0:e.arg)===m))||(null==l?void 0:l.find(e=>(null==e?void 0:e.arg)===m))||{},{description:x,arg:g,script:h}=p||{},f={name:e[1],description:x,script:h,renderName:g,isFirst:c,matchPos:s,readonly:n};return el.NZ.replace({widget:new eg(f,()=>{a({from:s,to:s+e[0].length},p)})})}});return el.Z9.fromClass(class{update(e){this.placeholders=r.updateDeco(e,this.placeholders)}constructor(e){this.placeholders=r.createDeco(e)}},{decorations:e=>e.placeholders,provide:e=>el.Lz.atomicRanges.of(l=>{var a;return(null==(a=l.plugin(e))?void 0:a.placeholders)||el.NZ.none})})})({variableList:s,clickChangeVariable:(e,l)=>{z(l),C(!0),_({from:null==e?void 0:e.from,to:null==e?void 0:e.to})},reasoningArgSuppliers:c,readonly:a})],T=(0,X.a)({theme:"light",settings:{background:"#ffffff",backgroundImage:"",caret:"#000",selection:"#afd1ff",gutterBackground:"#fff",gutterForeground:"#8a919966",fontSize:14},styles:[]}),V=e=>{let l=w.current;l&&!a&&setTimeout(()=>{var a,t,n;let r=e_(l),s=null==l||null==(n=l.state)||null==(t=n.doc)||null==(a=t.toString())?void 0:a.slice(r.from,r.to+1);(null==e?void 0:e.key)==="{"?(_({...r,from:r.from-1,to:"}"===s?r.to+1:r.to}),j(ev(l)),k(!0)):(k(!1),_(r))})},E=e=>{let l=w.current;if(!l||a)return;let t=e_(l),n=ev(l),r=document.querySelector(".ant-modal-root"),s=document.querySelector(".custom-command-modal"),o=document.querySelector(".custom-choose-modal"),i=!1;(s&&(null==s?void 0:s.contains(null==e?void 0:e.target))||r&&(null==r?void 0:r.contains(null==e?void 0:e.target))||o&&(null==o?void 0:o.contains(null==e?void 0:e.target)))&&(i=!0),i||(k(!1),j(n),_(t))};return(0,d.useEffect)(()=>()=>{if(document.removeEventListener("mouseup",E),w.current){var e,l;null==(l=w.current)||null==(e=l.dom)||e.removeEventListener("keydown",V)}},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(eb,{style:o,className:"".concat(x," relative"),children:[b&&(0,t.jsx)("div",{className:"absolute top-2 right-4 z-30",children:(0,t.jsx)(h.A,{title:S?"关闭预览 / Close Preview":"开启预览 / Open Preview",children:(0,t.jsx)(f.Ay,{type:"text",icon:S?(0,t.jsx)(Q.A,{}):(0,t.jsx)($.A,{}),onClick:()=>B(!S),size:"small",className:"bg-white/90 backdrop-blur-sm shadow-md hover:bg-white border border-gray-200"})})}),(0,t.jsxs)("div",{className:"flex h-full w-full relative",children:[(0,t.jsx)("div",{className:"h-full w-full",children:(0,t.jsx)(Z.Ay,{theme:T,className:"InputCodeMirror",readOnly:a,value:l,onChange:e=>{r&&r(e)},onCreateEditor:e=>{var l;w.current=e,null==e||null==(l=e.dom)||l.addEventListener("keydown",V),document.addEventListener("mouseup",E)},placeholder:n,basicSetup:{lineNumbers:!1,highlightActiveLineGutter:!1,foldGutter:!1,autocompletion:!1,indentOnInput:!1,highlightActiveLine:!1,highlightSelectionMatches:!1},extensions:O,height:"100%",style:{fontSize:14,height:"100%",minHeight:"200px"}})}),b&&S&&(0,t.jsx)("div",{ref:I,className:"absolute inset-0 z-20 overflow-y-auto px-5 py-4 pt-12 bg-gray-50/95 backdrop-blur-sm prose prose-sm max-w-none",children:(0,t.jsx)(ee.oz,{children:l||""})})]})]})})});var ej=a(92366),ew=a(61037),eN=a(50274),ek=a(94326),eA=a(23512),eC=a(45964),eS=a.n(eC);function eB(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),{system_prompt_template:n="",user_prompt_template:o=""}=l||{},[i,u]=(0,d.useState)(""),[p,x]=(0,d.useState)(""),h=(null==l?void 0:l.agent)||"",{run:b,loading:v}=(0,s.A)(async a=>{if(!h)return ek.Ay.warning(e("baseinfo_select_agent_type")),null;let t=(null==l?void 0:l.language)||"en";try{var n;let e=await (0,ej.PU)(h,t);if(null==(n=e.data)?void 0:n.data)return e.data.data;return null}catch(l){return ek.Ay.error(e("application_update_failed")),null}},{manual:!0,onSuccess:(t,n)=>{let r=n[0];t&&("system"===r?(u(t.system_prompt_template),a({...l,system_prompt_template:t.system_prompt_template})):(x(t.user_prompt_template),a({...l,user_prompt_template:t.user_prompt_template})),ek.Ay.success(e("update_success")))}});(0,d.useEffect)(()=>{n&&!i&&u(n),o&&!p&&x(o)},[n,o,i,p]);let{run:_}=(0,g.A)(e=>{u(e),a({...l,system_prompt_template:e})},{wait:500}),{run:y}=(0,g.A)(e=>{x(e),a({...l,user_prompt_template:e})},{wait:500}),j=eS()(e=>_(e),800),w=eS()(e=>y(e),800),N=(0,d.useMemo)(()=>i||n||"",[i,n]),k=(0,d.useMemo)(()=>p||o||"",[p,o]),A=[{key:"system",label:(0,t.jsxs)("span",{className:"flex items-center gap-2 px-2 py-1",children:[(0,t.jsx)(ew.A,{className:"text-amber-500"}),(0,t.jsx)("span",{className:"font-medium",children:e("character_config_system_prompt")})]}),children:(0,t.jsxs)("div",{className:"flex flex-col h-full w-full",children:[(0,t.jsx)("div",{className:"flex items-center justify-end px-4 py-2.5 border-b border-gray-100/40",children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),loading:v,onClick:()=>b("system"),className:"text-gray-400 hover:text-amber-600 hover:bg-amber-50/60 text-xs rounded-lg h-7 px-2.5 font-medium transition-all duration-200",children:e("Reset")})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,t.jsx)(ey,{value:N,onChange:j,showPreview:!0})})]})},{key:"user",label:(0,t.jsxs)("span",{className:"flex items-center gap-2 px-2 py-1",children:[(0,t.jsx)(eN.A,{className:"text-blue-500"}),(0,t.jsx)("span",{className:"font-medium",children:e("character_config_user_prompt")})]}),children:(0,t.jsxs)("div",{className:"flex flex-col h-full w-full",children:[(0,t.jsx)("div",{className:"flex items-center justify-end px-4 py-2.5 border-b border-gray-100/40",children:(0,t.jsx)(f.Ay,{type:"text",size:"small",icon:(0,t.jsx)(m.A,{}),loading:v,onClick:()=>b("user"),className:"text-gray-400 hover:text-blue-600 hover:bg-blue-50/60 text-xs rounded-lg h-7 px-2.5 font-medium transition-all duration-200",children:e("Reset")})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,t.jsx)(ey,{value:k,onChange:w,showPreview:!0})})]})}];return(0,t.jsx)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:(0,t.jsx)(eA.A,{items:A,defaultActiveKey:"system",type:"line",className:"h-full flex flex-col prompt-tabs [&_.ant-tabs-content]:flex-1 [&_.ant-tabs-content]:h-full [&_.ant-tabs-content]:overflow-hidden [&_.ant-tabs-nav]:mb-0 [&_.ant-tabs-nav]:px-5 [&_.ant-tabs-nav]:pt-3 [&_.ant-tabs-tabpane]:h-full [&_.ant-tabs-tab]:!py-2.5 [&_.ant-tabs-tab]:!px-0 [&_.ant-tabs-tab]:!mr-6 [&_.ant-tabs-ink-bar]:!bg-gradient-to-r [&_.ant-tabs-ink-bar]:from-amber-500 [&_.ant-tabs-ink-bar]:to-orange-500 [&_.ant-tabs-ink-bar]:!h-[2.5px] [&_.ant-tabs-ink-bar]:!rounded-full",tabBarStyle:{borderBottom:"1px solid rgba(0,0,0,0.04)",background:"transparent"}})})}var eI=a(54696),eM=a(50747),ez=a(3377),eO=a(8365),eT=a(49929);function eV(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[x,g]=(0,d.useState)("all"),{data:f,loading:v,refresh:_}=(0,s.A)(async()=>await (0,n.VbY)((0,eI.Gk)({filter:""},{page:1,page_size:200}))),{data:y,loading:j,refresh:w}=(0,s.A)(async()=>await (0,n.VbY)((0,n.NQM)({filter:""},{page:1,page_size:200}))),N=(0,d.useMemo)(()=>{let[,e]=f||[];return((null==e?void 0:e.items)||[]).map(e=>({key:e.skill_code,name:e.name,label:e.name,skill_name:e.name,description:e.description||"",skill_description:e.description||"",toolType:"skill(derisk)",groupName:"skill",isBuiltIn:!1,skillCode:e.skill_code,skill_path:e.path||e.skill_code,skill_author:e.author,skill_branch:e.branch||"main",type:"skill"}))},[f]),k=(0,d.useMemo)(()=>{let[,e]=y||[];return((null==e?void 0:e.items)||[]).map(e=>({key:e.mcp_code,name:e.name,label:e.name,description:e.description||"",toolType:"mcp(derisk)",groupName:"mcp",isBuiltIn:!1,mcp_code:e.mcp_code,available:e.available,author:e.author,version:e.version,icon:e.icon,type:"mcp(derisk)"}))},[y]),A=(0,d.useMemo)(()=>{switch(x){case"skills":return N;case"mcp":return k;default:return[...N,...k]}},[N,k,x]),C=(0,d.useMemo)(()=>((null==l?void 0:l.resource_tool)||[]).map(e=>{let l=JSON.parse(e.value||"{}");return(null==l?void 0:l.key)||(null==l?void 0:l.name)}).filter(Boolean),[null==l?void 0:l.resource_tool]),S=(0,d.useMemo)(()=>{if(!o)return A;let e=o.toLowerCase();return A.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[A,o]),B=N.length,I=k.length,M=[{key:"skill",icon:(0,t.jsx)(ew.A,{className:"text-blue-500"}),label:(0,t.jsxs)("div",{className:"flex flex-col py-0.5",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700",children:e("builder_create_skill")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400",children:e("builder_create_skill_desc")})]})},{key:"mcp",icon:(0,t.jsx)(eM.A,{className:"text-purple-500"}),label:(0,t.jsxs)("div",{className:"flex flex-col py-0.5",children:[(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700",children:e("builder_create_mcp")}),(0,t.jsx)("span",{className:"text-[11px] text-gray-400",children:e("builder_create_mcp_desc")})]})}],T=v||j;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(ez.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{_(),w()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(T?"animate-spin":"")})})}),(0,t.jsx)(z.A,{menu:{items:M,onClick:e=>{switch(e.key){case"skill":window.open("/agent-skills","_blank");break;case"mcp":window.open("/mcp","_blank")}}},trigger:["click"],placement:"bottomRight",children:(0,t.jsxs)("button",{className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-blue-500 to-indigo-600 text-white text-[13px] font-medium shadow-lg shadow-blue-500/25 hover:shadow-xl hover:shadow-blue-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_skill_all"),count:B+I},{key:"skills",label:"Skills",count:B},{key:"mcp",label:"MCP",count:I}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(x===e.key?"text-blue-600 border-blue-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>g(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(x===e.key?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:T,children:S.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:S.map((e,n)=>{let r=e.key||e.name,s=C.includes(r),o="mcp(derisk)"===e.type||"mcp"===e.type?{label:"MCP",color:"purple"}:{label:"Skill",color:"orange"};return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-blue-200/80 bg-blue-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name,n=e.toolType||e.type,r=e.label||e.name;if(C.includes(t)){let e=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.key)||(null==l?void 0:l.name),s=(null==l?void 0:l.toolType)||(null==l?void 0:l.type)||e.type,o=(null==l?void 0:l.name)||e.name,i=s===n&&o===r;return a!==t&&!i});a({...l,resource_tool:e})}else{let s={type:n,name:r,value:JSON.stringify({key:t,name:r,...e})},o=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}");return((null==l?void 0:l.toolType)||(null==l?void 0:l.type)||e.type)!==n||((null==l?void 0:l.name)||e.name)!==r});a({...l,resource_tool:[...o,s]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-blue-100":"bg-gray-100"),children:"mcp(derisk)"===e.type||"mcp"===e.type?(0,t.jsx)(eM.A,{className:"text-sm ".concat(s?"text-purple-500":"text-gray-400")}):(0,t.jsx)(eO.A,{className:"text-sm ".concat(s?"text-orange-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsxs)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:[e.description||e.toolType,e.author&&" \xb7 ".concat(e.author)]})]}),(0,t.jsx)(O.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:o.color,children:o.label})]}),s&&(0,t.jsx)(eT.A,{className:"text-blue-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!T&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eE=a(81064);function eL(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[p,x]=(0,d.useState)("all"),{data:g,loading:f,refresh:v}=(0,s.A)(async()=>await (0,n.BNu)({type:"tool"})),{data:_,loading:y,refresh:j}=(0,s.A)(async()=>await (0,n.BNu)({type:"tool(local)"})),w=(0,d.useMemo)(()=>{let e=[],l=(l,a)=>{var t,n;null==l||null==(n=l.data)||null==(t=n.data)||t.forEach(l=>{var t;null==(t=l.valid_values)||t.forEach(t=>{e.push({...t,toolType:a,groupName:l.param_name,isBuiltIn:!0})})})};return l(g,"tool"),l(_,"tool(local)"),e},[g,_]),N=(0,d.useMemo)(()=>{switch(p){case"tool":return w.filter(e=>"tool"===e.toolType);case"local":return w.filter(e=>"tool(local)"===e.toolType);default:return w}},[w,p]),k=(0,d.useMemo)(()=>((null==l?void 0:l.resource_tool)||[]).map(e=>{let l=JSON.parse(e.value||"{}");return(null==l?void 0:l.key)||(null==l?void 0:l.name)}).filter(Boolean),[null==l?void 0:l.resource_tool]),A=(0,d.useMemo)(()=>{if(!o)return N;let e=o.toLowerCase();return N.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[N,o]),C=w.filter(e=>"tool"===e.toolType).length,S=w.filter(e=>"tool(local)"===e.toolType).length,B=f||y;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(ez.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{v(),j()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(B?"animate-spin":"")})})})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_tool_all"),count:w.length},{key:"tool",label:e("builder_tool_builtin"),count:C},{key:"local",label:e("builder_tool_local"),count:S}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(p===e.key?"text-blue-600 border-blue-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>x(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(p===e.key?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:B,children:A.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:A.map((e,n)=>{let r=e.key||e.name,s=k.includes(r),o=e.toolType.includes("local")?{label:"Local",color:"green"}:{label:"Built-IN",color:"blue"};return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-blue-200/80 bg-blue-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name,n=e.toolType,r=e.label||e.name;if(k.includes(t)){let e=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.key)||(null==l?void 0:l.name),s=(null==l?void 0:l.toolType)||e.type,o=(null==l?void 0:l.name)||e.name,i=s===n&&o===r;return a!==t&&!i});a({...l,resource_tool:e})}else{let s={type:n,name:r,value:JSON.stringify({key:t,name:r,...e})},o=(l.resource_tool||[]).filter(e=>{let l=JSON.parse(e.value||"{}"),a=(null==l?void 0:l.toolType)||e.type,t=(null==l?void 0:l.name)||e.name;return a!==n||t!==r});a({...l,resource_tool:[...o,s]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-blue-100":"bg-gray-100"),children:(0,t.jsx)(eE.A,{className:"text-sm ".concat(s?"text-blue-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.toolType})]}),(0,t.jsx)(O.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:o.color,children:o.label})]}),s&&(0,t.jsx)(eT.A,{className:"text-blue-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!B&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eF=a(67678),eP=a(87344);function eR(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),[x,g]=(0,d.useState)("all"),{data:f,loading:_,refresh:y}=(0,s.A)(async()=>await (0,n.BNu)({type:"app"})),{data:j,loading:w,refresh:N}=(0,s.A)(async()=>await (0,n.VbY)((0,n.eHG)({page:1,page_size:200}))),k=(0,d.useMemo)(()=>{var e,l;let a=[];return null==f||null==(l=f.data)||null==(e=l.data)||e.forEach(e=>{if("app_code"===e.param_name){var l;null==(l=e.valid_values)||l.forEach(e=>{a.push({...e,isBuiltIn:!0})})}}),a},[f]),A=(0,d.useMemo)(()=>{let[,e]=j||[],a=(null==e?void 0:e.app_list)||[],t=new Set(k.map(e=>e.key||e.name));return a.filter(e=>e.app_code!==(null==l?void 0:l.app_code)&&!t.has(e.app_code)).map(e=>({key:e.app_code,name:e.app_name||"Untitled Agent",label:e.app_name||"Untitled Agent",description:e.app_describe||"",icon:e.icon,isBuiltIn:!1}))},[j,null==l?void 0:l.app_code,k]),C=(0,d.useMemo)(()=>{switch(x){case"built-in":return k;case"custom":return A;default:return[...k,...A]}},[k,A,x]),S=(0,d.useMemo)(()=>((null==l?void 0:l.resource_agent)||[]).map(e=>{var l;return null==(l=JSON.parse(e.value||"{}"))?void 0:l.key}).filter(Boolean),[null==l?void 0:l.resource_agent]),B=(0,d.useMemo)(()=>{if(!o)return C;let e=o.toLowerCase();return C.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[C,o]),I=k.length,M=A.length,z=_||w;return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(ez.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:()=>{y(),N()},className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(z?"animate-spin":"")})})}),(0,t.jsxs)("button",{onClick:()=>{window.open("/application/app","_blank")},className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-emerald-500 to-teal-600 text-white text-[13px] font-medium shadow-lg shadow-emerald-500/25 hover:shadow-xl hover:shadow-emerald-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})]}),(0,t.jsx)("div",{className:"px-5 pt-2 pb-0 border-b border-gray-100/40",children:(0,t.jsx)("div",{className:"flex items-center gap-0",children:[{key:"all",label:e("builder_agent_source_all"),count:I+M},{key:"built-in",label:e("builder_agent_source_built_in"),count:I},{key:"custom",label:e("builder_agent_source_custom"),count:M}].map(e=>(0,t.jsxs)("button",{className:"px-3 py-2 text-[12px] font-medium transition-all duration-200 border-b-2 ".concat(x===e.key?"text-emerald-600 border-emerald-500":"text-gray-400 border-transparent hover:text-gray-600"),onClick:()=>g(e.key),children:[e.label,(0,t.jsx)("span",{className:"ml-1.5 text-[10px] px-1.5 py-0.5 rounded-full ".concat(x===e.key?"bg-emerald-100 text-emerald-600":"bg-gray-100 text-gray-400"),children:e.count})]},e.key))})}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:z,children:B.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:B.map((e,n)=>{let r=e.key||e.name,s=S.includes(r);return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-emerald-200/80 bg-emerald-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{let t=e.key||e.name;if(S.includes(t)){let e=(l.resource_agent||[]).filter(e=>{var l;return(null==(l=JSON.parse(e.value||"{}"))?void 0:l.key)!==t});a({...l,resource_agent:e})}else{let t={type:"app",name:e.label||e.name,value:JSON.stringify({key:e.key||e.name,name:e.label||e.name,...e})},n=l.resource_agent||[];a({...l,resource_agent:[...n,t]})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 overflow-hidden ".concat(s?"bg-emerald-100":"bg-gray-100"),children:!e.isBuiltIn&&e.icon?(0,t.jsx)(v.default,{src:e.icon,width:32,height:32,alt:e.label||e.name,className:"object-cover w-full h-full"}):e.isBuiltIn?(0,t.jsx)(eF.A,{className:"text-sm ".concat(s?"text-emerald-500":"text-gray-400")}):(0,t.jsx)(eP.A,{className:"text-sm ".concat(s?"text-orange-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2",children:(0,t.jsx)("span",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name})}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.key||"--"})]}),(0,t.jsx)(O.A,{className:"mr-0 text-[10px] rounded-md border-0 font-medium px-1.5",color:e.isBuiltIn?"blue":"orange",children:e.isBuiltIn?"Built-IN":"Custom"})]}),s&&(0,t.jsx)(eT.A,{className:"text-emerald-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!z&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eJ=a(44407);function eq(){let{t:e}=(0,c.Bd)(),{appInfo:l,fetchUpdateApp:a}=(0,d.useContext)(r.BR),[o,u]=(0,d.useState)(""),{data:x,loading:g,refresh:f}=(0,s.A)(async()=>await (0,n.BNu)({type:"knowledge"})),v=(0,d.useMemo)(()=>{var e,l;let a=[];return null==x||null==(l=x.data)||null==(e=l.data)||e.forEach(e=>{if("knowledge"===e.param_name){var l;null==(l=e.valid_values)||l.forEach(e=>{a.push({...e})})}}),a},[x]),_=(0,d.useMemo)(()=>{var e,a;let t=null==l||null==(a=l.resource_knowledge)||null==(e=a[0])?void 0:e.value;if(!t)return[];try{let e=JSON.parse(t);return((null==e?void 0:e.knowledges)||[]).map(e=>e.knowledge_id)}catch(e){return[]}},[null==l?void 0:l.resource_knowledge]),y=(0,d.useMemo)(()=>{if(!o)return v;let e=o.toLowerCase();return v.filter(l=>(l.label||l.name||"").toLowerCase().includes(e)||(l.key||"").toLowerCase().includes(e))},[v,o]);return(0,t.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"px-5 py-3 border-b border-gray-100/40 flex items-center gap-2",children:[(0,t.jsx)(b.A,{prefix:(0,t.jsx)(ez.A,{className:"text-gray-400"}),placeholder:e("builder_search_placeholder"),value:o,onChange:e=>u(e.target.value),allowClear:!0,className:"rounded-lg h-9 flex-1"}),(0,t.jsx)(h.A,{title:e("builder_refresh"),children:(0,t.jsx)("button",{onClick:f,className:"w-9 h-9 flex items-center justify-center rounded-lg border border-gray-200/80 bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 transition-all flex-shrink-0",children:(0,t.jsx)(m.A,{className:"text-sm ".concat(g?"animate-spin":"")})})}),(0,t.jsxs)("button",{onClick:()=>{window.open("/knowledge","_blank")},className:"h-9 px-3 flex items-center gap-1.5 rounded-lg bg-gradient-to-r from-sky-500 to-cyan-600 text-white text-[13px] font-medium shadow-lg shadow-sky-500/25 hover:shadow-xl hover:shadow-sky-500/30 transition-all flex-shrink-0",children:[(0,t.jsx)(p.A,{className:"text-xs"}),e("builder_create_new")]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-3 custom-scrollbar",children:(0,t.jsx)(i.A,{spinning:g,children:y.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",children:y.map((e,n)=>{let r=e.key||e.value,s=_.includes(r);return(0,t.jsxs)("div",{className:"group flex items-center justify-between p-3 rounded-xl border cursor-pointer transition-all duration-200 ".concat(s?"border-sky-200/80 bg-sky-50/30 shadow-sm":"border-gray-100/80 bg-gray-50/20 hover:border-gray-200/80 hover:bg-gray-50/40"),onClick:()=>(e=>{var t,n,r,s,o;let i=e.key||e.value,d=e.label||e.name,c=_.includes(i),u=[];try{let e=null==l||null==(n=l.resource_knowledge)||null==(t=n[0])?void 0:t.value;e&&(u=(null==(r=JSON.parse(e))?void 0:r.knowledges)||[])}catch(e){u=[]}if(c){let e=u.filter(e=>e.knowledge_id!==i),t=[{...(null==(s=l.resource_knowledge)?void 0:s[0])||{},type:"knowledge_pack",name:"knowledge",value:JSON.stringify({knowledges:e})}];a({...l,resource_knowledge:e.length>0?t:[]})}else{let e=[...u,{knowledge_id:i,knowledge_name:d}],t=[{...(null==(o=l.resource_knowledge)?void 0:o[0])||{},type:"knowledge_pack",name:"knowledge",value:JSON.stringify({knowledges:e})}];a({...l,resource_knowledge:t})}})(e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s?"bg-sky-100":"bg-gray-100"),children:(0,t.jsx)(eJ.A,{className:"text-sm ".concat(s?"text-sky-500":"text-gray-400")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"text-[13px] font-medium text-gray-700 truncate",children:e.label||e.name}),(0,t.jsx)("div",{className:"text-[11px] text-gray-400 truncate mt-0.5",children:e.description||e.key||"--"})]})]}),s&&(0,t.jsx)(eT.A,{className:"text-sky-500 text-base ml-2 flex-shrink-0"})]},"".concat(r,"-").concat(n))})}):!g&&(0,t.jsx)("div",{className:"text-center py-12 text-gray-300 text-xs",children:e("builder_no_items")})})})]})}var eY=a(86253),eD=a(62315),eU=a(93640),eK=a(47937);let{Content:eG}=eY.A,eH=function(){var e;let{appInfo:l,setCollapsed:a,collapsed:n,refreshAppInfo:s,chatId:o}=(0,d.useContext)(r.BR),[i,c]=(0,d.useState)([]),[u]=(0,d.useState)(),[m,p]=(0,d.useState)(!1),[x,g]=(0,d.useState)(!1),[h,f]=(0,d.useState)(""),[b,v]=(0,d.useState)(.6),[_,y]=(0,d.useState)(4e3),[j,w]=(0,d.useState)(),[N,k]=(0,d.useState)([]),[A,C]=(0,d.useState)(""),[S,B]=(0,d.useState)([]),I=(0,d.useRef)(null),[M]=(0,d.useState)(null),{chat:z,ctrl:O}=(0,eU.A)({app_code:l.app_code||""}),T=(0,d.useRef)(1),V=(0,d.useCallback)((e,t)=>new Promise(n=>{var r,s,d,u,m,x;let h=(0,eK.oF)(),f=new AbortController;if(setTimeout(()=>{a(!0)},50),p(!0),i&&i.length>0){let e=null==i?void 0:i.filter(e=>"view"===e.role),l=null==i?void 0:i.filter(e=>"human"===e.role);T.current=((null==(m=e[e.length-1])?void 0:m.order)||(null==(x=l[l.length-1])?void 0:x.order))+1}let b="";if("string"==typeof e)b=e;else{let l=e.content||[],a=l.filter(e=>"text"===e.type),t=l.filter(e=>"text"!==e.type);a.length>0&&(b=a.map(e=>e.text).join(" "));let n=t.map(e=>{if("image_url"===e.type){var l,a;let t=(null==(l=e.image_url)?void 0:l.url)||"",n=(0,eK.sC)(t),r=(null==(a=e.image_url)?void 0:a.fileName)||"image";return"\n![".concat(r,"](").concat(n,")")}if("video"===e.type){let l=e.video||"",a=(0,eK.sC)(l);return"\n[Video](".concat(a,")")}{let l=(0,eK.UX)(e.file_url);return"\n".concat(l)}}).join("\n");n&&(b=b+"\n"+n)}let v=[...h&&h.id===o?[]:i,{role:"human",context:b,model_name:(null==t?void 0:t.model_name)||A,order:T.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||A,order:T.current,time_stamp:0,thinking:!0}],_=v.length-1;c([...v]),z({data:{user_input:e,team_mode:(null==l?void 0:l.team_mode)||"",app_config_code:(null==l?void 0:l.config_code)||"",conv_uid:o,ext_info:{vis_render:(null==l||null==(s=l.layout)||null==(r=s.chat_layout)?void 0:r.name)||"",incremental:(null==l||null==(u=l.layout)||null==(d=u.chat_layout)?void 0:d.incremental)||!1},...t},ctrl:f,onMessage:e=>{g(!0),e&&((null==t?void 0:t.incremental)?v[_].context+=e:v[_].context=e,v[_].thinking=!1,c([...v]))},onDone:()=>{p(!1),g(!1),n()},onClose:()=>{p(!1),g(!1),n()},onError:e=>{p(!1),g(!1),v[_].context=e,v[_].thinking=!1,c([...v]),n()}})}),[i,A,z,l,o]);return(0,d.useEffect)(()=>{var e,a,t;if(null==l||null==(a=l.layout)||null==(e=a.chat_in_layout)?void 0:e.length){let e=null==l||null==(t=l.layout)?void 0:t.chat_in_layout,a=e.find(e=>"temperature"===e.param_type),n=e.find(e=>"max_new_tokens"===e.param_type),r=e.find(e=>"resource"===e.param_type),s=e.find(e=>"model"===e.param_type);v(Number(null==a?void 0:a.param_default_value)||.6),y(Number(null==n?void 0:n.param_default_value)||4e3),C((null==s?void 0:s.param_default_value)||""),w((null==r?void 0:r.param_default_value)||null),k([...a?[{param_type:"temperature",param_value:JSON.stringify(null==a?void 0:a.param_default_value),sub_type:null==a?void 0:a.sub_type}]:[],...n?[{param_type:"max_new_tokens",param_value:JSON.stringify(null==n?void 0:n.param_default_value),sub_type:null==n?void 0:n.sub_type}]:[],...r?[{param_type:"resource",param_value:JSON.stringify(null==r?void 0:r.param_default_value),sub_type:null==r?void 0:r.sub_type}]:[],...s?[{param_type:"model",param_value:JSON.stringify(null==s?void 0:s.param_default_value),sub_type:null==s?void 0:s.sub_type}]:[]])}},[null==l||null==(e=l.layout)?void 0:e.chat_in_layout]),(0,t.jsx)(r.zo.Provider,{value:{history:i,replyLoading:m,scrollRef:I,canAbort:x,chartsData:u||[],agent:h,currentDialogue:M,appInfo:l,temperatureValue:b,maxNewTokensValue:_,resourceValue:j,modelValue:A,selectedSkills:S,setModelValue:C,setResourceValue:w,setSelectedSkills:B,setTemperatureValue:v,setMaxNewTokensValue:y,setChatInParams:k,chatInParams:N,setAgent:f,setCanAbort:g,setReplyLoading:p,handleChat:V,refreshHistory:()=>{},refreshAppInfo:null!=s?s:()=>{},setHistory:c,isShowDetail:n,isDebug:!0,setAppInfo:()=>{},refreshDialogList:()=>{}},children:(0,t.jsx)("div",{className:"flex-1 flex flex-col h-full relative bg-transparent",children:(0,t.jsx)("div",{className:"flex-1 bg-transparent overflow-hidden",children:(0,t.jsx)(eG,{className:"flex flex-col flex-1 h-full",children:(0,t.jsx)(eD.A,{ref:I,ctrl:O})})})})})};var eW=a(58735);function eX(){var e;let{message:l,notification:a}=o.A.useApp(),{t:u}=(0,c.Bd)(),[m,p]=(0,d.useState)(null),[x,g]=(0,d.useState)("overview"),[h,f]=(0,d.useState)("editor"),[b,v]=(0,d.useState)("large"),[_,y]=(0,d.useState)(!1),[j,w]=(0,d.useState)({}),[N,k]=(0,d.useState)(null),[C,S]=(0,d.useState)("");(0,d.useEffect)(()=>{let e=()=>{let e=window.innerWidth;e<1280?v("small"):e<1536?v("medium"):v("large")};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let{run:B,refresh:I,loading:M}=(0,s.A)(async(e,l)=>await (0,n.VbY)((0,n.Y6h)({app_code:e,config_code:l}),a),{manual:!0,onSuccess:e=>{let[,l]=e;w(l||{})}}),{run:z,loading:O}=(0,s.A)(async e=>await (0,n.VbY)((0,n.fyc)(e),a),{manual:!0,onSuccess:e=>{let[,a]=e;if(!a)return void l.error(u("application_update_failed"));w(a||{})},onError:e=>{l.error(u("application_update_failed")),console.error("update app error",e)}}),{refreshAsync:T}=(0,s.A)(async()=>await (0,n.suT)({app_code:j.app_code}),{manual:!(null==j?void 0:j.app_code),ready:!!(null==j?void 0:j.app_code),refreshDeps:[null!=(e=null==j?void 0:j.app_code)?e:""],onSuccess:e=>{k(e)}}),E=(0,d.useCallback)(async e=>{let[,l]=await (0,n.VbY)((0,n.j_h)({app_code:e}),a);l&&S(l.conv_uid)},[a]),L=(0,d.useCallback)(e=>{e.app_code!==m&&(p(e.app_code),g("overview"),y(!1),B(e.app_code),E(e.app_code))},[m,B,E]),F=(0,d.useRef)(!1),P=(0,d.useCallback)(e=>{if(!F.current&&e.length>0&&!m){F.current=!0;let l=e[0];p(l.app_code),B(l.app_code),E(l.app_code)}},[m,B,E]),R=()=>{if(!m||!(null==j?void 0:j.app_code))return null;switch(x){case"overview":default:return(0,t.jsx)(W,{});case"prompts":return(0,t.jsx)(eB,{});case"tools":return(0,t.jsx)(eL,{});case"skills":return(0,t.jsx)(eV,{});case"sub-agents":return(0,t.jsx)(eR,{});case"knowledge":return(0,t.jsx)(eq,{})}};return(0,t.jsx)(r.BR.Provider,{value:{collapsed:_,setCollapsed:y,appInfo:j,setAppInfo:w,refreshAppInfo:I,queryAppInfo:B,refreshAppInfoLoading:M,chatId:C,setChatId:S,initChatId:E,fetchUpdateApp:z,fetchUpdateAppLoading:O,refetchVersionData:T,versionData:N},children:(0,t.jsxs)("div",{className:"flex h-screen w-full bg-gradient-to-br from-slate-50 via-gray-50 to-blue-50/30 overflow-hidden",children:[(0,t.jsx)("div",{className:"flex-shrink-0 p-3 pr-0 ".concat("small"===b?"w-[200px]":"medium"===b?"w-[240px]":"w-[280px]"),children:(0,t.jsx)(A,{selectedAppCode:m,onSelect:L,onListLoaded:P})}),"small"===b?(0,t.jsxs)("div",{className:"flex-1 flex flex-col min-w-0 p-3 pl-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsxs)("button",{onClick:()=>f("editor"),className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-all ".concat("editor"===h?"bg-blue-500 text-white shadow-md":"bg-white/80 text-gray-600 hover:bg-gray-100 border border-gray-200"),children:[(0,t.jsx)(D.A,{}),u("builder_edit","编辑")]}),(0,t.jsxs)("button",{onClick:()=>f("chat"),className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm font-medium transition-all ".concat("chat"===h?"bg-blue-500 text-white shadow-md":"bg-white/80 text-gray-600 hover:bg-gray-100 border border-gray-200"),children:[(0,t.jsx)(eW.A,{}),u("builder_preview","预览")]})]}),(0,t.jsx)("div",{className:"flex-1 min-h-0",children:"editor"===h?m&&(null==j?void 0:j.app_code)?(0,t.jsx)(i.A,{spinning:M,wrapperClassName:"h-full",children:(0,t.jsxs)("div",{className:"flex flex-col h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:[(0,t.jsx)(V,{activeTab:x,onTabChange:g}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:R()})]})}):(0,t.jsx)("div",{className:"h-full flex items-center justify-center bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)]",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-2xl bg-gradient-to-br from-gray-100 to-gray-50 flex items-center justify-center",children:(0,t.jsx)(eO.A,{className:"text-2xl text-gray-300"})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_select_agent")})]})}):(0,t.jsx)("div",{className:"h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:m&&(null==j?void 0:j.app_code)?(0,t.jsx)(eH,{}):(0,t.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 mx-auto mb-3 rounded-2xl bg-gradient-to-br from-green-50 to-emerald-50 flex items-center justify-center",children:(0,t.jsx)(eW.A,{className:"text-2xl text-green-400"})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_chat_preview")})]})})})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex-shrink-0 p-3 flex flex-col transition-all duration-400 ease-[cubic-bezier(0.4,0,0.2,1)] overflow-hidden ".concat(_?"w-0 min-w-0 opacity-0 p-0 pointer-events-none":"flex-1 opacity-100"),style:{minWidth:_?0:"medium"===b?"360px":"320px"},children:m&&(null==j?void 0:j.app_code)?(0,t.jsx)(i.A,{spinning:M,wrapperClassName:"flex-1 flex flex-col overflow-hidden",children:(0,t.jsxs)("div",{className:"flex flex-col h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:[(0,t.jsx)(V,{activeTab:x,onTabChange:g}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:R()})]})}):(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)]",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 rounded-2xl bg-gradient-to-br from-gray-100 to-gray-50 flex items-center justify-center",children:(0,t.jsx)(eO.A,{className:"text-2xl text-gray-300"})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_select_agent")}),(0,t.jsx)("p",{className:"text-gray-300 text-xs mt-1",children:u("builder_select_agent")})]})})}),(0,t.jsx)("div",{className:"flex-shrink-0 p-3 pl-0 transition-all duration-400 ease-[cubic-bezier(0.4,0,0.2,1)] ".concat(_?"flex-1":""),style:{width:_?void 0:"medium"===b?"360px":"480px"},children:(0,t.jsx)("div",{className:"h-full bg-white/80 backdrop-blur-xl rounded-2xl border border-white/60 shadow-[0_8px_32px_rgba(0,0,0,0.06)] overflow-hidden",children:m&&(null==j?void 0:j.app_code)?(0,t.jsx)(eH,{}):(0,t.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 mx-auto mb-3 rounded-2xl bg-gradient-to-br from-green-50 to-emerald-50 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-green-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm font-medium",children:u("builder_chat_preview")}),(0,t.jsx)("p",{className:"text-gray-300 text-xs mt-1",children:u("builder_chat_preview_desc")})]})})})})]})]})})}}},e=>{e.O(0,[342,562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,6079,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,2863,7773,9960,1236,6074,8441,5964,7358],()=>e(e.s=40011)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-5a2b96364ca1c998.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-5a2b96364ca1c998.js new file mode 100644 index 00000000..9a2cbdda --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-5a2b96364ca1c998.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8457],{14786:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},38566:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>x});var r=a(95155),n=a(67773),l=a(12115),o=a(54099),i=a(39249),s=a(30114);let u=function(e,t){(0,l.useEffect)(function(){var t=e(),a=!1;return!function(){(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(e){switch(e.label){case 0:if(!(0,s.Tn)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||a)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(){a=!0}},t)};var c=a(50715),d=a(93640),f=a(62315),v=a(47937),p=a(50482),m=a(86253),h=a(16467),g=a(17238),y=a(35695),b=a(91070),_=a(86779),w=a(91218);let{Content:O}=m.A;function x(){var e,t,a,i,s;let{t:x}=(0,w.Bd)(),j=(0,y.useSearchParams)(),A=null!=(t=(null==j?void 0:j.get("conv_uid"))||(null==j?void 0:j.get("chatId")))?t:"",N=null!=(a=null==j?void 0:j.get("app_code"))?a:"",S=null!=(i=null==j?void 0:j.get("model"))?i:"",E=null!=(s=null==j?void 0:j.get("knowledge"))?s:"",C=(0,l.useRef)(null),k=(0,l.useRef)(1),[z,P]=(0,l.useState)([]),[V]=(0,l.useState)(),[R,M]=(0,l.useState)(!1),[L,U]=(0,l.useState)(!1),[H,I]=(0,l.useState)(""),[D,B]=(0,l.useState)({}),[F,J]=(0,l.useState)(.6),[T,Y]=(0,l.useState)(4e3),[$,Q]=(0,l.useState)(),[W,X]=(0,l.useState)(""),[q,G]=(0,l.useState)(!0),[K,Z]=(0,l.useState)([]),[ee,et]=(0,l.useState)([]);(0,l.useRef)(null);let{chat:ea,ctrl:er}=(0,d.A)({app_code:N||""});(0,l.useEffect)(()=>{var e,t,a;if(null==D||null==(t=D.layout)||null==(e=t.chat_in_layout)?void 0:e.length){let e=null==D||null==(a=D.layout)?void 0:a.chat_in_layout,t=e.find(e=>"temperature"===e.param_type),r=e.find(e=>"max_new_tokens"===e.param_type),n=e.find(e=>"resource"===e.param_type),l=e.find(e=>"model"===e.param_type);J(Number(null==t?void 0:t.param_default_value)||.6),Y(Number(null==r?void 0:r.param_default_value)||4e3),X(S||(null==l?void 0:l.param_default_value)||""),Q(E||(null==n?void 0:n.param_default_value)||null),Z([...t?[{param_type:"temperature",param_value:"string"==typeof(null==t?void 0:t.param_default_value)?null==t?void 0:t.param_default_value:JSON.stringify(null==t?void 0:t.param_default_value),sub_type:null==t?void 0:t.sub_type}]:[],...r?[{param_type:"max_new_tokens",param_value:"string"==typeof(null==r?void 0:r.param_default_value)?null==r?void 0:r.param_default_value:JSON.stringify(null==r?void 0:r.param_default_value),sub_type:null==r?void 0:r.sub_type}]:[],...n?[{param_type:"resource",param_value:"string"==typeof(null==n?void 0:n.param_default_value)?E||(null==n?void 0:n.param_default_value):JSON.stringify(E||(null==n?void 0:n.param_default_value)),sub_type:null==n?void 0:n.sub_type}]:[],...l?[{param_type:"model",param_value:"string"==typeof(null==l?void 0:l.param_default_value)?S||(null==l?void 0:l.param_default_value):JSON.stringify(S||(null==l?void 0:l.param_default_value)),sub_type:null==l?void 0:l.sub_type}]:[]])}},[null==D||null==(e=D.layout)?void 0:e.chat_in_layout,S]);let en=(0,l.useMemo)(()=>!A,[A]),{data:el=[],refresh:eo,loading:ei}=(0,o.A)(async()=>await (0,n.VbY)((0,n.b7p)())),{run:es,refresh:eu,loading:ec}=(0,o.A)(async()=>await (0,n.VbY)((0,n.Y6h)({app_code:N,building_mode:!1})),{manual:!0,onSuccess:e=>{let[,t]=e;B(t||{})}}),ed=(0,l.useMemo)(()=>{let[,e]=el;return(null==e?void 0:e.find(e=>e.conv_uid===A))||{}},[A,el]);(0,l.useEffect)(()=>{en||es()},[A,en,es,N]);let{run:ef,loading:ev,refresh:ep}=(0,o.A)(async()=>await (0,n.VbY)((0,n.ra1)(A)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(k.current=a[a.length-1].order+1),P(t||[])}}),em=(0,l.useCallback)((e,t)=>new Promise(a=>{var r,n,l,o,i,s;let u=(0,v.oF)(),c=new AbortController;if(M(!0),z&&z.length>0){let e=null==z?void 0:z.filter(e=>"view"===e.role),t=null==z?void 0:z.filter(e=>"human"===e.role);k.current=((null==(i=e[e.length-1])?void 0:i.order)||(null==(s=t[t.length-1])?void 0:s.order))+1}let d="";if("string"==typeof e)d=e;else{let t=e.content||[],a=t.filter(e=>"text"===e.type),r=t.filter(e=>"text"!==e.type);a.length>0&&(d=a.map(e=>e.text).join(" "));let n=r.map(e=>{if("image_url"===e.type){var t,a;let r=(null==(t=e.image_url)?void 0:t.url)||"",n=(0,v.sC)(r),l=(null==(a=e.image_url)?void 0:a.fileName)||"image";return"\n![".concat(l,"](").concat(n,")")}if("video"===e.type){let t=e.video||"",a=(0,v.sC)(t);return"\n[Video](".concat(a,")")}{let t=(0,v.UX)(e.file_url);return"\n".concat(t)}}).join("\n");n&&(d=d+"\n"+n)}let f=[...u&&u.id===A?[]:z,{role:"human",context:d,model_name:(null==t?void 0:t.model_name)||W,order:k.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||W,order:k.current,time_stamp:0,thinking:!0}],p=f.length-1;P([...f]),ea({data:{user_input:e,team_mode:(null==D?void 0:D.team_mode)||"",app_config_code:(null==D?void 0:D.config_code)||"",conv_uid:A,ext_info:{vis_render:(null==D||null==(n=D.layout)||null==(r=n.chat_layout)?void 0:r.name)||"",incremental:(null==D||null==(o=D.layout)||null==(l=o.chat_layout)?void 0:l.incremental)||!1},...t},ctrl:c,chatId:A,onMessage:e=>{U(!0),e&&((null==t?void 0:t.incremental)?f[p].context+=e:f[p].context=e,f[p].thinking=!1,P([...f]))},onDone:()=>{M(!1),U(!1),a()},onClose:()=>{M(!1),U(!1),a()},onError:e=>{M(!1),U(!1),f[p].context=e,f[p].thinking=!1,P([...f]),a()}})}),[z,W,ea,D]);u(async()=>{if(en)return;let e=(0,v.oF)();(!e||e.id!==A)&&A&&await ef()},[A,ef,N]),(0,l.useEffect)(()=>{en&&(k.current=1,P([]))},[en]);let eh=(0,c.A)(em,{wait:500});return u(async()=>{let e=(0,v.oF)();if(e&&e.id===A&&D){let r=[...K],n=e.resources||(e.resource?[e.resource]:[]);if(n.length>0){var t,a;let e=r.findIndex(e=>"resource"===e.param_type),l=null==D||null==(a=D.layout)||null==(t=a.chat_in_layout)?void 0:t.find(e=>"resource"===e.param_type);if(e>=0){let t=[...r];t[e]={...t[e],param_value:JSON.stringify(n)},r=t}else l&&(r=[...r,{param_type:"resource",param_value:JSON.stringify(n),sub_type:l.sub_type||"common_file"}]);Q(n)}e.skills&&e.skills.length>0&&(et(e.skills),r=[...r,...e.skills.map(e=>({param_type:"resource",param_value:JSON.stringify(e),sub_type:"skill(derisk)"}))]),e.model&&X(e.model),Z(r),eh.run(e.message,{app_code:null==D?void 0:D.app_code,...(null==r?void 0:r.length)&&{chat_in_params:r},...e.model&&{model_name:e.model}}),eo&&await eo(),localStorage.removeItem(p.yx)}},[A,(0,v.oF)(),D,K]),(0,r.jsx)(b.zo.Provider,{value:{history:z,replyLoading:R,scrollRef:C,canAbort:L,chartsData:V||[],agent:H,currentDialogue:ed,appInfo:D,temperatureValue:F,maxNewTokensValue:T,resourceValue:$,modelValue:W,selectedSkills:ee,setModelValue:X,setResourceValue:Q,setSelectedSkills:et,setTemperatureValue:J,setMaxNewTokensValue:Y,setAppInfo:B,setAgent:I,setCanAbort:U,setReplyLoading:M,handleChat:em,refreshDialogList:eo,refreshHistory:ep,refreshAppInfo:eu,setHistory:P,isShowDetail:q,setIsShowDetail:G,setChatInParams:Z,chatInParams:K},children:(0,r.jsx)(g.A,{flex:1,className:"h-screen",children:(0,r.jsx)(m.A,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark w-full h-full",children:(0,r.jsx)(m.A,{className:"bg-transparent h-full",children:en?(0,r.jsx)(O,{children:(0,r.jsx)(_.A,{})}):(0,r.jsx)(h.A,{spinning:ec,wrapperClassName:"w-full h-screen",children:(0,r.jsx)(O,{className:"flex flex-col h-full",children:(0,r.jsx)(f.A,{ref:C,ctrl:er})})})})})})})}},44318:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},50715:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(39249),n=a(45964),l=a.n(n),o=a(12115),i=a(56795),s=a(56406),u=a(30114),c=a(4365);let d=function(e,t){c.A&&!(0,u.Tn)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var a,n=(0,i.A)(e),d=null!=(a=null==t?void 0:t.wait)?a:1e3,f=(0,o.useMemo)(function(){return l()(function(){for(var e=[],t=0;t{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},51368:(e,t,a)=>{"use strict";let r;a.d(t,{A:()=>i});let n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},l=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let i=function(e,t,a){if(n.randomUUID&&!t&&!e)return n.randomUUID();let i=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(l)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((a=a||0)<0||a+16>t.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[a+e]=i[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(i)}},64413:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},65095:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},85647:(e,t,a)=>{Promise.resolve().then(a.bind(a,38566))},86253:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var r=a(85757),n=a(12115),l=a(29300),o=a.n(l),i=a(17980),s=a(15982),u=a(9800),c=a(63715),d=a(98690),f=a(69793),v=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};function p(e){let{suffixCls:t,tagName:a,displayName:r}=e;return e=>n.forwardRef((r,l)=>n.createElement(e,Object.assign({ref:l,suffixCls:t,tagName:a},r)))}let m=n.forwardRef((e,t)=>{let{prefixCls:a,suffixCls:r,className:l,tagName:i}=e,u=v(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=n.useContext(s.QO),d=c("layout",a),[p,m,h]=(0,f.Ay)(d),g=r?"".concat(d,"-").concat(r):d;return p(n.createElement(i,Object.assign({className:o()(a||g,l,m,h),ref:t},u)))}),h=n.forwardRef((e,t)=>{let{direction:a}=n.useContext(s.QO),[l,p]=n.useState([]),{prefixCls:m,className:h,rootClassName:g,children:y,hasSider:b,tagName:_,style:w}=e,O=v(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),x=(0,i.A)(O,["suffixCls"]),{getPrefixCls:j,className:A,style:N}=(0,s.TP)("layout"),S=j("layout",m),E=function(e,t,a){return"boolean"==typeof a?a:!!e.length||(0,c.A)(t).some(e=>e.type===d.A)}(l,y,b),[C,k,z]=(0,f.Ay)(S),P=o()(S,{["".concat(S,"-has-sider")]:E,["".concat(S,"-rtl")]:"rtl"===a},A,h,g,k,z),V=n.useMemo(()=>({siderHook:{addSider:e=>{p(t=>[].concat((0,r.A)(t),[e]))},removeSider:e=>{p(t=>t.filter(t=>t!==e))}}}),[]);return C(n.createElement(u.M.Provider,{value:V},n.createElement(_,Object.assign({ref:t,className:P,style:Object.assign(Object.assign({},N),w)},x),y)))}),g=p({tagName:"div",displayName:"Layout"})(h),y=p({suffixCls:"header",tagName:"header",displayName:"Header"})(m),b=p({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),_=p({suffixCls:"content",tagName:"main",displayName:"Content"})(m);g.Header=y,g.Footer=b,g.Content=_,g.Sider=d.A,g._InternalSiderContext=d.P;let w=g},91573:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},92197:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(12115);let n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tr.createElement(l.A,o({},e,{ref:t,icon:n})))},95069:(e,t,a)=>{"use strict";async function r(e,t){let a,r=e.getReader();for(;!(a=await r.read()).done;)t(a.value)}function n(){return{data:"",event:"",id:"",retry:void 0}}a.d(t,{o:()=>o,y:()=>s});var l=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);nt.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};let o="text/event-stream",i="last-event-id";function s(e,t){var{signal:a,headers:s,onopen:c,onmessage:d,onclose:f,onerror:v,openWhenHidden:p,fetch:m}=t,h=l(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,l)=>{let g,y=Object.assign({},s);function b(){g.abort(),document.hidden||A()}y.accept||(y.accept=o),p||document.addEventListener("visibilitychange",b);let _=1e3,w=0;function O(){document.removeEventListener("visibilitychange",b),window.clearTimeout(w),g.abort()}null==a||a.addEventListener("abort",()=>{O(),t()});let x=null!=m?m:window.fetch,j=null!=c?c:u;async function A(){var a,o;g=new AbortController;try{let a,l,s,u,c=await x(e,Object.assign(Object.assign({},h),{headers:y,signal:g.signal}));await j(c),await r(c.body,(o=function(e,t,a){let r=n(),l=new TextDecoder;return function(o,i){if(0===o.length)null==a||a(r),r=n();else if(i>0){let a=l.decode(o.subarray(0,i)),n=i+(32===o[i+1]?2:1),s=l.decode(o.subarray(n));switch(a){case"data":r.data=r.data?r.data+"\n"+s:s;break;case"event":r.event=s;break;case"id":e(r.id=s);break;case"retry":let u=parseInt(s,10);isNaN(u)||t(r.retry=u)}}}}(e=>{e?y[i]=e:delete y[i]},e=>{_=e},d),u=!1,function(e){void 0===a?(a=e,l=0,s=-1):a=function(e,t){let a=new Uint8Array(e.length+t.length);return a.set(e),a.set(t,e.length),a}(a,e);let t=a.length,r=0;for(;l{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,2855,7773,9960,1236,6074,6779,8441,5964,7358],()=>e(e.s=85647)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-9d4119e032366e60.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-9d4119e032366e60.js deleted file mode 100644 index a651a2fc..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-9d4119e032366e60.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8457],{14786:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},38566:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>x});var n=a(95155),r=a(67773),l=a(12115),o=a(54099),i=a(39249),c=a(30114);let u=function(e,t){(0,l.useEffect)(function(){var t=e(),a=!1;return!function(){(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(e){switch(e.label){case 0:if(!(0,c.Tn)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||a)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(){a=!0}},t)};var s=a(50715),d=a(93640),f=a(62315),v=a(47937),p=a(50482),m=a(86253),h=a(16467),g=a(17238),y=a(35695),b=a(91070),_=a(86779),w=a(91218);let{Content:O}=m.A;function x(){var e,t,a,i,c;let{t:x}=(0,w.Bd)(),j=(0,y.useSearchParams)(),A=null!=(t=(null==j?void 0:j.get("conv_uid"))||(null==j?void 0:j.get("chatId")))?t:"",N=null!=(a=null==j?void 0:j.get("app_code"))?a:"",S=null!=(i=null==j?void 0:j.get("model"))?i:"",E=null!=(c=null==j?void 0:j.get("knowledge"))?c:"",C=(0,l.useRef)(null),z=(0,l.useRef)(1),[P,V]=(0,l.useState)([]),[k]=(0,l.useState)(),[R,M]=(0,l.useState)(!1),[L,U]=(0,l.useState)(!1),[H,I]=(0,l.useState)(""),[D,B]=(0,l.useState)({}),[F,T]=(0,l.useState)(.6),[J,Y]=(0,l.useState)(4e3),[$,Q]=(0,l.useState)(),[W,X]=(0,l.useState)(""),[q,G]=(0,l.useState)(!0),[K,Z]=(0,l.useState)([]);(0,l.useRef)(null);let{chat:ee,ctrl:et}=(0,d.A)({app_code:N||""});(0,l.useEffect)(()=>{var e,t,a;if(null==D||null==(t=D.layout)||null==(e=t.chat_in_layout)?void 0:e.length){let e=null==D||null==(a=D.layout)?void 0:a.chat_in_layout,t=e.find(e=>"temperature"===e.param_type),n=e.find(e=>"max_new_tokens"===e.param_type),r=e.find(e=>"resource"===e.param_type),l=e.find(e=>"model"===e.param_type);T(Number(null==t?void 0:t.param_default_value)||.6),Y(Number(null==n?void 0:n.param_default_value)||4e3),X(S||(null==l?void 0:l.param_default_value)||""),Q(E||(null==r?void 0:r.param_default_value)||null),Z([...t?[{param_type:"temperature",param_value:"string"==typeof(null==t?void 0:t.param_default_value)?null==t?void 0:t.param_default_value:JSON.stringify(null==t?void 0:t.param_default_value),sub_type:null==t?void 0:t.sub_type}]:[],...n?[{param_type:"max_new_tokens",param_value:"string"==typeof(null==n?void 0:n.param_default_value)?null==n?void 0:n.param_default_value:JSON.stringify(null==n?void 0:n.param_default_value),sub_type:null==n?void 0:n.sub_type}]:[],...r?[{param_type:"resource",param_value:"string"==typeof(null==r?void 0:r.param_default_value)?E||(null==r?void 0:r.param_default_value):JSON.stringify(E||(null==r?void 0:r.param_default_value)),sub_type:null==r?void 0:r.sub_type}]:[],...l?[{param_type:"model",param_value:"string"==typeof(null==l?void 0:l.param_default_value)?S||(null==l?void 0:l.param_default_value):JSON.stringify(S||(null==l?void 0:l.param_default_value)),sub_type:null==l?void 0:l.sub_type}]:[]])}},[null==D||null==(e=D.layout)?void 0:e.chat_in_layout,S]);let ea=(0,l.useMemo)(()=>!A,[A]),{data:en=[],refresh:er,loading:el}=(0,o.A)(async()=>await (0,r.VbY)((0,r.b7p)())),{run:eo,refresh:ei,loading:ec}=(0,o.A)(async()=>await (0,r.VbY)((0,r.Y6h)({app_code:N,building_mode:!1})),{manual:!0,onSuccess:e=>{let[,t]=e;B(t||{})}}),eu=(0,l.useMemo)(()=>{let[,e]=en;return(null==e?void 0:e.find(e=>e.conv_uid===A))||{}},[A,en]);(0,l.useEffect)(()=>{ea||eo()},[A,ea,eo,N]);let{run:es,loading:ed,refresh:ef}=(0,o.A)(async()=>await (0,r.VbY)((0,r.ra1)(A)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(z.current=a[a.length-1].order+1),V(t||[])}}),ev=(0,l.useCallback)((e,t)=>new Promise(a=>{var n,r,l,o,i,c;let u=(0,v.oF)(),s=new AbortController;if(M(!0),P&&P.length>0){let e=null==P?void 0:P.filter(e=>"view"===e.role),t=null==P?void 0:P.filter(e=>"human"===e.role);z.current=((null==(i=e[e.length-1])?void 0:i.order)||(null==(c=t[t.length-1])?void 0:c.order))+1}let d="";if("string"==typeof e)d=e;else{let t=e.content||[],a=t.filter(e=>"text"===e.type),n=t.filter(e=>"text"!==e.type);a.length>0&&(d=a.map(e=>e.text).join(" "));let r=n.map(e=>{if("image_url"===e.type){var t,a;let n=(null==(t=e.image_url)?void 0:t.url)||"",r=(0,v.sC)(n),l=(null==(a=e.image_url)?void 0:a.fileName)||"image";return"\n![".concat(l,"](").concat(r,")")}if("video"===e.type){let t=e.video||"",a=(0,v.sC)(t);return"\n[Video](".concat(a,")")}{let t=(0,v.UX)(e.file_url);return"\n".concat(t)}}).join("\n");r&&(d=d+"\n"+r)}let f=[...u&&u.id===A?[]:P,{role:"human",context:d,model_name:(null==t?void 0:t.model_name)||W,order:z.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||W,order:z.current,time_stamp:0,thinking:!0}],p=f.length-1;V([...f]),ee({data:{user_input:e,team_mode:(null==D?void 0:D.team_mode)||"",app_config_code:(null==D?void 0:D.config_code)||"",conv_uid:A,ext_info:{vis_render:(null==D||null==(r=D.layout)||null==(n=r.chat_layout)?void 0:n.name)||"",incremental:(null==D||null==(o=D.layout)||null==(l=o.chat_layout)?void 0:l.incremental)||!1},...t},ctrl:s,chatId:A,onMessage:e=>{U(!0),e&&((null==t?void 0:t.incremental)?f[p].context+=e:f[p].context=e,f[p].thinking=!1,V([...f]))},onDone:()=>{M(!1),U(!1),a()},onClose:()=>{M(!1),U(!1),a()},onError:e=>{M(!1),U(!1),f[p].context=e,f[p].thinking=!1,V([...f]),a()}})}),[P,W,ee,D]);u(async()=>{if(ea)return;let e=(0,v.oF)();(!e||e.id!==A)&&A&&await es()},[A,es,N]),(0,l.useEffect)(()=>{ea&&(z.current=1,V([]))},[ea]);let ep=(0,s.A)(ev,{wait:500});return u(async()=>{let e=(0,v.oF)();if(e&&e.id===A&&D){let n=K,r=e.resources||(e.resource?[e.resource]:[]);if(r.length>0){var t,a;let e=n.findIndex(e=>"resource"===e.param_type),l=null==D||null==(a=D.layout)||null==(t=a.chat_in_layout)?void 0:t.find(e=>"resource"===e.param_type);if(e>=0){let t=[...n];t[e]={...t[e],param_value:JSON.stringify(r)},n=t}else l&&(n=[...n,{param_type:"resource",param_value:JSON.stringify(r),sub_type:l.sub_type||"common_file"}]);Q(r)}e.model&&X(e.model),ep.run(e.message,{app_code:null==D?void 0:D.app_code,...(null==n?void 0:n.length)&&{chat_in_params:n},...e.model&&{model_name:e.model}}),er&&await er(),localStorage.removeItem(p.yx)}},[A,(0,v.oF)(),D,K]),(0,n.jsx)(b.zo.Provider,{value:{history:P,replyLoading:R,scrollRef:C,canAbort:L,chartsData:k||[],agent:H,currentDialogue:eu,appInfo:D,temperatureValue:F,maxNewTokensValue:J,resourceValue:$,modelValue:W,setModelValue:X,setResourceValue:Q,setTemperatureValue:T,setMaxNewTokensValue:Y,setAppInfo:B,setAgent:I,setCanAbort:U,setReplyLoading:M,handleChat:ev,refreshDialogList:er,refreshHistory:ef,refreshAppInfo:ei,setHistory:V,isShowDetail:q,setIsShowDetail:G,setChatInParams:Z,chatInParams:K},children:(0,n.jsx)(g.A,{flex:1,className:"h-screen",children:(0,n.jsx)(m.A,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark w-full h-full",children:(0,n.jsx)(m.A,{className:"bg-transparent h-full",children:ea?(0,n.jsx)(O,{children:(0,n.jsx)(_.A,{})}):(0,n.jsx)(h.A,{spinning:ec,wrapperClassName:"w-full h-screen",children:(0,n.jsx)(O,{className:"flex flex-col h-full",children:(0,n.jsx)(f.A,{ref:C,ctrl:et})})})})})})})}},44318:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},50715:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(39249),r=a(45964),l=a.n(r),o=a(12115),i=a(56795),c=a(56406),u=a(30114),s=a(4365);let d=function(e,t){s.A&&!(0,u.Tn)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var a,r=(0,i.A)(e),d=null!=(a=null==t?void 0:t.wait)?a:1e3,f=(0,o.useMemo)(function(){return l()(function(){for(var e=[],t=0;t{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},51368:(e,t,a)=>{"use strict";let n;a.d(t,{A:()=>i});let r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},l=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let i=function(e,t,a){if(r.randomUUID&&!t&&!e)return r.randomUUID();let i=(e=e||{}).random??e.rng?.()??function(){if(!n){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(l)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((a=a||0)<0||a+16>t.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[a+e]=i[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(i)}},64413:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},65095:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},85647:(e,t,a)=>{Promise.resolve().then(a.bind(a,38566))},86253:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var n=a(85757),r=a(12115),l=a(29300),o=a.n(l),i=a(17980),c=a(15982),u=a(9800),s=a(63715),d=a(98690),f=a(69793),v=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};function p(e){let{suffixCls:t,tagName:a,displayName:n}=e;return e=>r.forwardRef((n,l)=>r.createElement(e,Object.assign({ref:l,suffixCls:t,tagName:a},n)))}let m=r.forwardRef((e,t)=>{let{prefixCls:a,suffixCls:n,className:l,tagName:i}=e,u=v(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=r.useContext(c.QO),d=s("layout",a),[p,m,h]=(0,f.Ay)(d),g=n?"".concat(d,"-").concat(n):d;return p(r.createElement(i,Object.assign({className:o()(a||g,l,m,h),ref:t},u)))}),h=r.forwardRef((e,t)=>{let{direction:a}=r.useContext(c.QO),[l,p]=r.useState([]),{prefixCls:m,className:h,rootClassName:g,children:y,hasSider:b,tagName:_,style:w}=e,O=v(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),x=(0,i.A)(O,["suffixCls"]),{getPrefixCls:j,className:A,style:N}=(0,c.TP)("layout"),S=j("layout",m),E=function(e,t,a){return"boolean"==typeof a?a:!!e.length||(0,s.A)(t).some(e=>e.type===d.A)}(l,y,b),[C,z,P]=(0,f.Ay)(S),V=o()(S,{["".concat(S,"-has-sider")]:E,["".concat(S,"-rtl")]:"rtl"===a},A,h,g,z,P),k=r.useMemo(()=>({siderHook:{addSider:e=>{p(t=>[].concat((0,n.A)(t),[e]))},removeSider:e=>{p(t=>t.filter(t=>t!==e))}}}),[]);return C(r.createElement(u.M.Provider,{value:k},r.createElement(_,Object.assign({ref:t,className:V,style:Object.assign(Object.assign({},N),w)},x),y)))}),g=p({tagName:"div",displayName:"Layout"})(h),y=p({suffixCls:"header",tagName:"header",displayName:"Header"})(m),b=p({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),_=p({suffixCls:"content",tagName:"main",displayName:"Content"})(m);g.Header=y,g.Footer=b,g.Content=_,g.Sider=d.A,g._InternalSiderContext=d.P;let w=g},91573:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},92197:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(12115);let r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.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-add",theme:"outlined"};var l=a(75659);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;tn.createElement(l.A,o({},e,{ref:t,icon:r})))},95069:(e,t,a)=>{"use strict";async function n(e,t){let a,n=e.getReader();for(;!(a=await n.read()).done;)t(a.value)}function r(){return{data:"",event:"",id:"",retry:void 0}}a.d(t,{o:()=>o,y:()=>c});var l=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};let o="text/event-stream",i="last-event-id";function c(e,t){var{signal:a,headers:c,onopen:s,onmessage:d,onclose:f,onerror:v,openWhenHidden:p,fetch:m}=t,h=l(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,l)=>{let g,y=Object.assign({},c);function b(){g.abort(),document.hidden||A()}y.accept||(y.accept=o),p||document.addEventListener("visibilitychange",b);let _=1e3,w=0;function O(){document.removeEventListener("visibilitychange",b),window.clearTimeout(w),g.abort()}null==a||a.addEventListener("abort",()=>{O(),t()});let x=null!=m?m:window.fetch,j=null!=s?s:u;async function A(){var a,o;g=new AbortController;try{let a,l,c,u,s=await x(e,Object.assign(Object.assign({},h),{headers:y,signal:g.signal}));await j(s),await n(s.body,(o=function(e,t,a){let n=r(),l=new TextDecoder;return function(o,i){if(0===o.length)null==a||a(n),n=r();else if(i>0){let a=l.decode(o.subarray(0,i)),r=i+(32===o[i+1]?2:1),c=l.decode(o.subarray(r));switch(a){case"data":n.data=n.data?n.data+"\n"+c:c;break;case"event":n.event=c;break;case"id":e(n.id=c);break;case"retry":let u=parseInt(c,10);isNaN(u)||t(n.retry=u)}}}}(e=>{e?y[i]=e:delete y[i]},e=>{_=e},d),u=!1,function(e){void 0===a?(a=e,l=0,c=-1):a=function(e,t){let a=new Uint8Array(e.length+t.length);return a.set(e),a.set(t,e.length),a}(a,e);let t=a.length,n=0;for(;l{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,2855,7773,9960,1236,6074,6779,8441,5964,7358],()=>e(e.s=85647)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-4b98aafc80008837.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-4b98aafc80008837.js deleted file mode 100644 index 8fe5ea1d..00000000 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-4b98aafc80008837.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4751],{39740:(e,t,l)=>{"use strict";l.d(t,{UK:()=>r,V:()=>c,cE:()=>u,rA:()=>d});var a=l(95155),s=l(67773);l(61475);var n=l(54099),i=l(35695),o=l(12115);let r=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),d=e=>{var t,l,d;let{children:c}=e,u=(0,i.useSearchParams)(),h=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",m=null!=(l=null==u?void 0:u.get("scene"))?l:"",p=null!=(d=null==u?void 0:u.get("db_param"))?d:"",[f,x]=(0,o.useState)(!1),[g,A]=(0,o.useState)("light"),[v,j]=(0,o.useState)("chat_dashboard"!==m),[y,_]=(0,o.useState)(p),[w,b]=(0,o.useState)(""),[S,N]=(0,o.useState)([]),[k,C]=(0,o.useState)(),[I,V]=(0,o.useState)("light"),[D,E]=(0,o.useState)(h),[P,L]=(0,o.useState)([]),[M,q]=(0,o.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,n.A)(async()=>{let[,e]=await (0,s.VbY)((0,s.TzU)());return null!=e?e:[]}),{data:O=[],refresh:T,loading:B}=(0,n.A)(async()=>await (0,s.VbY)((0,s.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");q(e)}catch(e){q({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{A(z[0])},[z,null==z?void 0:z.length]),(0,o.useEffect)(()=>{h&&E(h)},[h]),(0,a.jsx)(r.Provider,{value:{isContract:f,isMenuExpand:v,scene:m,chatId:D,model:g,modelList:z,dbParam:y||p,agent:w,setAgent:b,mode:I,setMode:V,setModel:A,setIsContract:x,setIsMenuExpand:j,setDbParam:_,history:S,setHistory:N,docId:k,setDocId:C,currentDialogInfo:M,setCurrentDialogInfo:q,adminList:P,refreshDialogList:T,dialogueList:O},children:c})},c=(0,o.createContext)(null),u=(0,o.createContext)(null)},43498:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>D});var a=l(95155),s=l(67773),n=l(96194),i=l(83803),o=l(12115);let r=function(e){let{items:t,modal:l}=e,[s,r]=(0,o.useState)("edit");return(0,a.jsx)(n.A,{...l,children:(0,a.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,a.jsx)("div",{className:"w-1/6",children:(0,a.jsx)(i.A,{className:"h-full",selectedKeys:[s],mode:"inline",onSelect:e=>{r(e.key)},inlineCollapsed:!1,items:t.map(e=>({key:e.key,label:e.label}))})}),(0,a.jsx)("div",{className:"w-5/6",children:t.map(e=>{if(e.key===s)return(0,a.jsx)(o.Fragment,{children:e.children},e.key)})})]})})};var d=l(40102),c=l(3377),u=l(58206),h=l(44261),m=l(54099),p=l(95388),f=l(55887),x=l(19593),g=l(73775),A=l(16467),v=l(6124),j=l(67850),y=l(37974),_=l(36768),w=l(7744),b=l(98696),S=l(29300),N=l.n(S),k=l(45964),C=l.n(k),I=l(35695),V=l(91218);let D=function(){let e=(0,I.useRouter)(),{t}=(0,V.Bd)(),[l,n]=(0,o.useState)([]),[i,S]=(0,o.useState)(0),[k,D]=(0,o.useState)(!1),[E,P]=(0,o.useState)(!1),[L,M]=(0,o.useState)(null),[q,z]=(0,o.useState)(1),[O,T]=(0,o.useState)(10),[B]=p.A.useForm(),{message:U}=f.A.useApp(),F=(0,I.useSearchParams)(),K=F.get("id"),R=F.get("spaceName"),Y=async()=>{var e;D(!0);let[t,l]=await (0,s.VbY)((0,s.kB4)(R,{document_id:K,page:1,page_size:10}));console.log("fetchChunks",l),n(null==l?void 0:l.data),S(null!=(e=null==l?void 0:l.total)?e:0),D(!1)},H=async(e,t)=>{T(t),D(!0);let[l,a]=await (0,s.VbY)((0,s.kB4)(R,{document_id:K,page:e,page_size:t}));n((null==a?void 0:a.data)||[]),D(!1),z(e)};(0,o.useEffect)(()=>{R&&K&&Y()},[K,R]);let J=async e=>{let t=e.target.value;if(!t)return;let[l,a]=await (0,s.VbY)((0,s.kB4)(R,{document_id:K,page:q,page_size:O,content:t}));n((null==a?void 0:a.data)||[])};console.log("chunkList",l);let{run:G,loading:Q}=(0,m.A)(async e=>(0,s.VbY)((0,s.zht)({chunk_id:L.id,questions:e})),{manual:!0,onSuccess:async()=>{U.success("添加成功"),P(!1),await Y()}});return(0,a.jsxs)("div",{className:"flex flex-col h-full w-full px-6 pb-6",children:[(0,a.jsx)(x.A,{className:"m-6",items:[{title:"Knowledge",onClick(){e.back()},path:"/knowledge"},{title:R}]}),(0,a.jsx)("div",{className:"flex items-center gap-4",children:(0,a.jsx)(g.A,{className:"w-1/5 h-10 mb-4",prefix:(0,a.jsx)(c.A,{}),placeholder:t("please_enter_the_keywords"),onChange:C()(J,300),allowClear:!0})}),(null==l?void 0:l.length)>0?(0,a.jsxs)("div",{className:"h-full grid sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 grid-flow-row auto-rows-max gap-x-6 gap-y-10 overflow-y-auto relative",children:[(0,a.jsx)(A.A,{className:"flex flex-col items-center justify-center absolute bottom-0 top-0 left-0 right-0",spinning:k}),null==l?void 0:l.map((e,l)=>(0,a.jsxs)(v.A,{hoverable:!0,title:(0,a.jsxs)(j.A,{className:"flex justify-between",children:[(0,a.jsxs)(y.A,{color:"blue",children:["# ",l+(q-1)*10]}),(0,a.jsx)("span",{className:"text-sm",children:e.doc_name})]}),className:N()("h-96 rounded-xl overflow-hidden",{"h-auto":!0}),onClick:()=>{P(!0),M(e)},children:[(0,a.jsxs)("p",{className:"font-semibold",children:[t("Content"),":"]}),(0,a.jsx)("p",{children:null==e?void 0:e.content}),(0,a.jsxs)("p",{className:"font-semibold",children:[t("Meta_Data"),": "]}),(0,a.jsx)("p",{children:null==e?void 0:e.meta_info})]},e.id))]}):(0,a.jsx)(A.A,{spinning:k,children:(0,a.jsx)(_.A,{image:_.A.PRESENTED_IMAGE_DEFAULT})}),(0,a.jsx)(w.A,{className:"flex w-full justify-end",defaultCurrent:1,defaultPageSize:10,total:i,showTotal:e=>"Total ".concat(e," items"),onChange:H}),(0,a.jsx)(r,{modal:{title:t("Manual_entry"),width:"70%",open:E,footer:!1,onCancel:()=>P(!1),afterOpenChange:e=>{if(e){var t;B.setFieldValue("questions",null==(t=JSON.parse((null==L?void 0:L.questions)||"[]"))?void 0:t.map(e=>({question:e})))}}},items:[{key:"edit",label:t("Data_content"),children:(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsx)(v.A,{size:"small",title:t("Main_content"),className:"w-2/3 flex-wrap overflow-y-auto",children:(0,a.jsx)(d.default,{children:null==L?void 0:L.content})}),(0,a.jsx)(v.A,{size:"small",title:t("Auxiliary_data"),className:"w-1/3",children:(0,a.jsx)(d.default,{children:null==L?void 0:L.meta_info})})]})},{key:"delete",label:t("Add_problem"),children:(0,a.jsx)(v.A,{size:"small",extra:(0,a.jsx)(b.Ay,{size:"small",type:"primary",onClick:async()=>{var e,l;let a=B.getFieldsValue();if(!a.questions||(null==(e=a.questions)?void 0:e.filter(Boolean).length)===0)return void U.warning(t("enter_question_first"));let s=null==(l=a.questions)?void 0:l.filter(Boolean).map(e=>e.question);await G(s)},loading:Q,children:t("save")}),children:(0,a.jsx)(p.A,{form:B,children:(0,a.jsx)(p.A.List,{name:"questions",children:(e,l)=>{let{add:s,remove:n}=l;return(0,a.jsxs)(a.Fragment,{children:[e.map(e=>{let{key:l,name:s}=e;return(0,a.jsxs)("div",{className:N()("flex flex-1 items-center gap-8"),children:[(0,a.jsx)(p.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,a.jsx)(g.A,{placeholder:t("Please_Input")})}),(0,a.jsx)(p.A.Item,{children:(0,a.jsx)(u.A,{onClick:()=>{n(s)}})})]},l)}),(0,a.jsx)(p.A.Item,{children:(0,a.jsx)(b.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,a.jsx)(h.A,{}),children:t("Add_problem")})})]})}})})})}]})]})}},91070:(e,t,l)=>{"use strict";l.d(t,{BR:()=>i,zo:()=>n,UK:()=>a.UK,rA:()=>a.rA,cE:()=>a.cE,V:()=>a.V});var a=l(39740),s=l(12115);let n=(0,s.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),i=(0,s.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})},91147:(e,t,l)=>{Promise.resolve().then(l.bind(l,43498))}},e=>{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,6734,329,7773,9960,1236,8441,5964,7358],()=>e(e.s=91147)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-7a33c4806a4cd2ac.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-7a33c4806a4cd2ac.js new file mode 100644 index 00000000..4767e184 --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-7a33c4806a4cd2ac.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4751],{39740:(e,t,l)=>{"use strict";l.d(t,{UK:()=>r,V:()=>c,cE:()=>u,rA:()=>d});var s=l(95155),a=l(67773);l(61475);var n=l(54099),i=l(35695),o=l(12115);let r=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),d=e=>{var t,l,d;let{children:c}=e,u=(0,i.useSearchParams)(),h=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",m=null!=(l=null==u?void 0:u.get("scene"))?l:"",p=null!=(d=null==u?void 0:u.get("db_param"))?d:"",[f,x]=(0,o.useState)(!1),[g,A]=(0,o.useState)("light"),[v,j]=(0,o.useState)("chat_dashboard"!==m),[y,_]=(0,o.useState)(p),[w,b]=(0,o.useState)(""),[S,k]=(0,o.useState)([]),[N,C]=(0,o.useState)(),[I,V]=(0,o.useState)("light"),[D,E]=(0,o.useState)(h),[P,L]=(0,o.useState)([]),[M,q]=(0,o.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,n.A)(async()=>{let[,e]=await (0,a.VbY)((0,a.TzU)());return null!=e?e:[]}),{data:O=[],refresh:T,loading:B}=(0,n.A)(async()=>await (0,a.VbY)((0,a.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");q(e)}catch(e){q({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{A(z[0])},[z,null==z?void 0:z.length]),(0,o.useEffect)(()=>{h&&E(h)},[h]),(0,s.jsx)(r.Provider,{value:{isContract:f,isMenuExpand:v,scene:m,chatId:D,model:g,modelList:z,dbParam:y||p,agent:w,setAgent:b,mode:I,setMode:V,setModel:A,setIsContract:x,setIsMenuExpand:j,setDbParam:_,history:S,setHistory:k,docId:N,setDocId:C,currentDialogInfo:M,setCurrentDialogInfo:q,adminList:P,refreshDialogList:T,dialogueList:O},children:c})},c=(0,o.createContext)(null),u=(0,o.createContext)(null)},43498:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>D});var s=l(95155),a=l(67773),n=l(96194),i=l(83803),o=l(12115);let r=function(e){let{items:t,modal:l}=e,[a,r]=(0,o.useState)("edit");return(0,s.jsx)(n.A,{...l,children:(0,s.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,s.jsx)("div",{className:"w-1/6",children:(0,s.jsx)(i.A,{className:"h-full",selectedKeys:[a],mode:"inline",onSelect:e=>{r(e.key)},inlineCollapsed:!1,items:t.map(e=>({key:e.key,label:e.label}))})}),(0,s.jsx)("div",{className:"w-5/6",children:t.map(e=>{if(e.key===a)return(0,s.jsx)(o.Fragment,{children:e.children},e.key)})})]})})};var d=l(40102),c=l(3377),u=l(58206),h=l(44261),m=l(54099),p=l(95388),f=l(55887),x=l(19593),g=l(73775),A=l(16467),v=l(6124),j=l(67850),y=l(37974),_=l(36768),w=l(7744),b=l(98696),S=l(29300),k=l.n(S),N=l(45964),C=l.n(N),I=l(35695),V=l(91218);let D=function(){let e=(0,I.useRouter)(),{t}=(0,V.Bd)(),[l,n]=(0,o.useState)([]),[i,S]=(0,o.useState)(0),[N,D]=(0,o.useState)(!1),[E,P]=(0,o.useState)(!1),[L,M]=(0,o.useState)(null),[q,z]=(0,o.useState)(1),[O,T]=(0,o.useState)(10),[B]=p.A.useForm(),{message:U}=f.A.useApp(),F=(0,I.useSearchParams)(),K=F.get("id"),R=F.get("spaceName"),Y=async()=>{var e;D(!0);let[t,l]=await (0,a.VbY)((0,a.kB4)(R,{document_id:K,page:1,page_size:10}));console.log("fetchChunks",l),n(null==l?void 0:l.data),S(null!=(e=null==l?void 0:l.total)?e:0),D(!1)},H=async(e,t)=>{T(t),D(!0);let[l,s]=await (0,a.VbY)((0,a.kB4)(R,{document_id:K,page:e,page_size:t}));n((null==s?void 0:s.data)||[]),D(!1),z(e)};(0,o.useEffect)(()=>{R&&K&&Y()},[K,R]);let J=async e=>{let t=e.target.value;if(!t)return;let[l,s]=await (0,a.VbY)((0,a.kB4)(R,{document_id:K,page:q,page_size:O,content:t}));n((null==s?void 0:s.data)||[])};console.log("chunkList",l);let{run:G,loading:Q}=(0,m.A)(async e=>(0,a.VbY)((0,a.zht)({chunk_id:L.id,questions:e})),{manual:!0,onSuccess:async()=>{U.success("添加成功"),P(!1),await Y()}});return(0,s.jsxs)("div",{className:"flex flex-col h-full w-full px-6 pb-6",children:[(0,s.jsx)(x.A,{className:"m-6",items:[{title:"Knowledge",onClick(){e.back()},path:"/knowledge"},{title:R}]}),(0,s.jsx)("div",{className:"flex items-center gap-4",children:(0,s.jsx)(g.A,{className:"w-1/5 h-10 mb-4",prefix:(0,s.jsx)(c.A,{}),placeholder:t("please_enter_the_keywords"),onChange:C()(J,300),allowClear:!0})}),(null==l?void 0:l.length)>0?(0,s.jsxs)("div",{className:"h-full grid sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 grid-flow-row auto-rows-max gap-x-6 gap-y-10 overflow-y-auto relative",children:[(0,s.jsx)(A.A,{className:"flex flex-col items-center justify-center absolute bottom-0 top-0 left-0 right-0",spinning:N}),null==l?void 0:l.map((e,l)=>(0,s.jsxs)(v.A,{hoverable:!0,title:(0,s.jsxs)(j.A,{className:"flex justify-between",children:[(0,s.jsxs)(y.A,{color:"blue",children:["# ",l+(q-1)*10]}),(0,s.jsx)("span",{className:"text-sm",children:e.doc_name})]}),className:k()("h-96 rounded-xl overflow-hidden",{"h-auto":!0}),onClick:()=>{P(!0),M(e)},children:[(0,s.jsxs)("p",{className:"font-semibold",children:[t("Content"),":"]}),(0,s.jsx)("p",{children:null==e?void 0:e.content}),(0,s.jsxs)("p",{className:"font-semibold",children:[t("Meta_Data"),": "]}),(0,s.jsx)("p",{children:null==e?void 0:e.meta_info})]},e.id))]}):(0,s.jsx)(A.A,{spinning:N,children:(0,s.jsx)(_.A,{image:_.A.PRESENTED_IMAGE_DEFAULT})}),(0,s.jsx)(w.A,{className:"flex w-full justify-end",defaultCurrent:1,defaultPageSize:10,total:i,showTotal:e=>"Total ".concat(e," items"),onChange:H}),(0,s.jsx)(r,{modal:{title:t("Manual_entry"),width:"70%",open:E,footer:!1,onCancel:()=>P(!1),afterOpenChange:e=>{if(e){var t;B.setFieldValue("questions",null==(t=JSON.parse((null==L?void 0:L.questions)||"[]"))?void 0:t.map(e=>({question:e})))}}},items:[{key:"edit",label:t("Data_content"),children:(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)(v.A,{size:"small",title:t("Main_content"),className:"w-2/3 flex-wrap overflow-y-auto",children:(0,s.jsx)(d.default,{children:null==L?void 0:L.content})}),(0,s.jsx)(v.A,{size:"small",title:t("Auxiliary_data"),className:"w-1/3",children:(0,s.jsx)(d.default,{children:null==L?void 0:L.meta_info})})]})},{key:"delete",label:t("Add_problem"),children:(0,s.jsx)(v.A,{size:"small",extra:(0,s.jsx)(b.Ay,{size:"small",type:"primary",onClick:async()=>{var e,l;let s=B.getFieldsValue();if(!s.questions||(null==(e=s.questions)?void 0:e.filter(Boolean).length)===0)return void U.warning(t("enter_question_first"));let a=null==(l=s.questions)?void 0:l.filter(Boolean).map(e=>e.question);await G(a)},loading:Q,children:t("save")}),children:(0,s.jsx)(p.A,{form:B,children:(0,s.jsx)(p.A.List,{name:"questions",children:(e,l)=>{let{add:a,remove:n}=l;return(0,s.jsxs)(s.Fragment,{children:[e.map(e=>{let{key:l,name:a}=e;return(0,s.jsxs)("div",{className:k()("flex flex-1 items-center gap-8"),children:[(0,s.jsx)(p.A.Item,{label:"",name:[a,"question"],className:"grow",children:(0,s.jsx)(g.A,{placeholder:t("Please_Input")})}),(0,s.jsx)(p.A.Item,{children:(0,s.jsx)(u.A,{onClick:()=>{n(a)}})})]},l)}),(0,s.jsx)(p.A.Item,{children:(0,s.jsx)(b.Ay,{type:"dashed",onClick:()=>{a()},block:!0,icon:(0,s.jsx)(h.A,{}),children:t("Add_problem")})})]})}})})})}]})]})}},91070:(e,t,l)=>{"use strict";l.d(t,{BR:()=>i,zo:()=>n,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=l(39740),a=l(12115);let n=(0,a.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),i=(0,a.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})},91147:(e,t,l)=>{Promise.resolve().then(l.bind(l,43498))}},e=>{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,6734,329,7773,9960,1236,8441,5964,7358],()=>e(e.s=91147)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-03db1c55c6fcd763.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-bfafa65982471d0c.js similarity index 97% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-03db1c55c6fcd763.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-bfafa65982471d0c.js index 0ad97d01..21b1b545 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-03db1c55c6fcd763.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-bfafa65982471d0c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1049],{2785:()=>{},39740:(e,a,s)=>{"use strict";s.d(a,{UK:()=>c,V:()=>d,cE:()=>m,rA:()=>o});var t=s(95155),l=s(67773);s(61475);var n=s(54099),r=s(35695),i=s(12115);let c=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var a,s,o;let{children:d}=e,m=(0,r.useSearchParams)(),u=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",h=null!=(s=null==m?void 0:m.get("scene"))?s:"",p=null!=(o=null==m?void 0:m.get("db_param"))?o:"",[x,j]=(0,i.useState)(!1),[g,A]=(0,i.useState)("light"),[_,f]=(0,i.useState)("chat_dashboard"!==h),[b,y]=(0,i.useState)(p),[N,v]=(0,i.useState)(""),[k,w]=(0,i.useState)([]),[I,C]=(0,i.useState)(),[S,T]=(0,i.useState)("light"),[E,F]=(0,i.useState)(u),[U,D]=(0,i.useState)([]),[q,V]=(0,i.useState)({chat_scene:"",app_code:""}),{data:P=[]}=(0,n.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.TzU)());return null!=e?e:[]}),{data:R=[],refresh:L,loading:O}=(0,n.A)(async()=>await (0,l.VbY)((0,l.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");V(e)}catch(e){V({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{A(P[0])},[P,null==P?void 0:P.length]),(0,i.useEffect)(()=>{u&&F(u)},[u]),(0,t.jsx)(c.Provider,{value:{isContract:x,isMenuExpand:_,scene:h,chatId:E,model:g,modelList:P,dbParam:b||p,agent:N,setAgent:v,mode:S,setMode:T,setModel:A,setIsContract:j,setIsMenuExpand:f,setDbParam:y,history:k,setHistory:w,docId:I,setDocId:C,currentDialogInfo:q,setCurrentDialogInfo:V,adminList:U,refreshDialogList:L,dialogueList:R},children:d})},d=(0,i.createContext)(null),m=(0,i.createContext)(null)},43539:(e,a,s)=>{"use strict";let t;s.r(a),s.d(a,{default:()=>eS});var l=s(95155),n=s(64227),r=s(3377),i=s(44261),c=s(77133),o=s(12115),d=s(96194),m=s(16467),u=s(73775),h=s(98696),p=s(37974),x=s(77517),j=s(91218),g=s(45964),A=s.n(g),_=s(67773),f=s(84182),b=s(82940),y=s.n(b),N=s(35695),v=s(95388),k=s(32013);function w(e){var a;let{t:s}=(0,j.Bd)(),{handleStepChange:t,spaceConfig:n}=e,[r,i]=(0,o.useState)(!1),[c,d]=(0,o.useState)(),[p]=v.A.useForm();(0,o.useEffect)(()=>{p.setFieldValue("storage",null==n?void 0:n[0].name),d(null==n?void 0:n[0].name)},[n]);let x=async e=>{let{spaceName:a,owner:s,description:l,storage:n,field:r}=e;i(!0);let[c,o,d]=await (0,_.VbY)((0,_.CBk)({name:a,vector_type:n,owner:s,desc:l,domain_type:r}));i(!1);let m="FinancialReport"===r;localStorage.setItem("cur_space_id",JSON.stringify(o)),(null==d?void 0:d.success)&&t({label:"forward",spaceName:a,pace:m?2:1,docType:m?"DOCUMENT":""})};return(0,l.jsx)(m.A,{spinning:r,children:(0,l.jsxs)(v.A,{form:p,size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:x,children:[(0,l.jsx)(v.A.Item,{label:s("Knowledge_Space_Name"),name:"spaceName",rules:[{required:!0,message:s("Please_input_the_name")},()=>({validator:(e,a)=>/[^\u4e00-\u9fa50-9a-zA-Z_-]/.test(a)?Promise.reject(Error(s("the_name_can_only_contain"))):Promise.resolve()})],children:(0,l.jsx)(u.A,{className:"h-12",placeholder:s("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:s("Storage"),name:"storage",rules:[{required:!0,message:s("Please_select_the_storage")}],children:(0,l.jsx)(k.A,{className:"mb-5 h-12",placeholder:s("Please_select_the_storage"),onChange:e=>{d(e)},children:null==n?void 0:n.map(e=>(0,l.jsx)(k.A.Option,{value:e.name,children:e.desc},e.name))})}),(0,l.jsx)(v.A.Item,{label:s("Domain"),name:"field",rules:[{required:!0,message:s("Please_select_the_domain_type")}],children:(0,l.jsx)(k.A,{className:"mb-5 h-12",placeholder:s("Please_select_the_domain_type"),children:null==n||null==(a=n.find(e=>e.name===c))?void 0:a.domain_types.map(e=>(0,l.jsx)(k.A.Option,{value:e.name,children:e.desc},e.name))})}),(0,l.jsx)(v.A.Item,{label:s("Description"),name:"description",rules:[{required:!0,message:s("Please_input_the_description")}],children:(0,l.jsx)(u.A,{className:"h-12",placeholder:s("Please_input_the_description")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",children:s("Next")})})]})})}var I=s(58206),C=s(83387),S=s(7187),T=s(94326),E=s(29300),F=s.n(E);let{Dragger:U}=S.A,{TextArea:D}=u.A;function q(e){let{className:a,handleStepChange:s,spaceName:t,docType:n}=e,{t:r}=(0,j.Bd)(),[c]=v.A.useForm(),[d,p]=(0,o.useState)(!1),[x,g]=(0,o.useState)([]),A=async e=>{let a,{docName:l,textSource:r,text:i,webPageUrl:c,doc_token:o,questions:d=[]}=e;switch(p(!0),n){case"URL":[,a]=await (0,_.VbY)((0,_.tIE)(t,{doc_name:l,content:c,doc_type:"URL",questions:null==d?void 0:d.map(e=>e.question)}));break;case"TEXT":[,a]=await (0,_.VbY)((0,_.tIE)(t,{doc_name:l,source:r,content:i,doc_type:"TEXT",questions:d.map(e=>e.question)}));break;case"YUQUEURL":[,a]=await (0,_.VbY)((0,_.TyK)({doc_name:l,space_name:t,content:c,doc_type:"YUQUEURL",doc_token:o||"",questions:null==d?void 0:d.map(e=>e.question)}))}if(p(!1),"DOCUMENT"===n&&x.length<1||"DOCUMENT"!==n&&!a)return T.Ay.error("Upload failed, please re-upload.");let m=x;if("DOCUMENT"===n){let a=Array.from(e.originFileObj.fileList);m=m.filter(e=>a.some(a=>a.name===e.name))}s({label:"forward",files:"DOCUMENT"===n?m:[{name:l,doc_id:a||-1}]})},f=e=>{let{fileList:a}=e;0===a.length&&c.setFieldValue("originFileObj",null)},b=async e=>{let{onSuccess:a,onError:s,file:l}=e,n=new FormData,r=null==l?void 0:l.name;n.append("doc_name",r),n.append("doc_file",l),n.append("doc_type","DOCUMENT");let[,i]=await (0,_.VbY)((0,_.XXs)(t,n));Number.isInteger(i)?(a&&a(i||0),g(e=>(e.push({name:r,doc_id:i||-1}),e))):s&&s({name:"",message:""})};return(0,l.jsx)(m.A,{spinning:d,children:(0,l.jsxs)(v.A,{form:c,size:"large",className:F()("mt-4",a),layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:A,children:[(()=>{switch(n){case"URL":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Web_Page_URL"),":"),name:"webPageUrl",rules:[{required:!0,message:r("Please_input_the_Web_Page_URL")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_Web_Page_URL")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});case"DOCUMENT":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{name:"originFileObj",rules:[{required:!0,message:r("Please_select_file")}],children:(0,l.jsxs)(U,{multiple:!0,onChange:f,maxCount:100,accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md,.zip,.csv",customRequest:b,children:[(0,l.jsx)("p",{className:"ant-upload-drag-icon",children:(0,l.jsx)(C.A,{})}),(0,l.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:r("Select_or_Drop_file")}),(0,l.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown, Zip1, Csv"})]})}),(0,l.jsx)(v.A.Item,{label:"关联问题:",children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:"请输入问题"})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});case"YUQUEURL":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:r("document_url"),name:"webPageUrl",rules:[{required:!0,message:r("input_document_url")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("input_document_url")})}),(0,l.jsx)(v.A.Item,{label:r("document_token"),name:"doc_token",tooltip:(0,l.jsx)(l.Fragment,{children:r("Get_token")}),children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("input_document_token")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});default:return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Text_Source"),":"),name:"textSource",rules:[{required:!0,message:r("Please_input_the_text_source")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_text_source")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Text"),":"),name:"text",rules:[{required:!0,message:r("Please_input_the_description")}],children:(0,l.jsx)(D,{rows:4})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]})}})(),(0,l.jsxs)(v.A.Item,{children:[(0,l.jsx)(h.Ay,{onClick:()=>{s({label:"back"})},className:"mr-4",children:"".concat(r("Back"))}),(0,l.jsx)(h.Ay,{type:"primary",loading:d,htmlType:"submit",children:r("Next")})]})]})})}var V=s(6124),P=s(50573),R=s(32430),L=s(59540),O=s(75606);function Y(e){let{type:a}=e;return"TEXT"===a?(0,l.jsx)(P.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"DOCUMENT"===a?(0,l.jsx)(R.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"YUQUEURL"===a?(0,l.jsx)(L.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):(0,l.jsx)(O.A,{className:"text-[#2AA3FF] mr-2 !text-lg"})}function M(e){let{t:a}=(0,j.Bd)(),{handleStepChange:s}=e,t=[{type:"TEXT",title:a("Text"),subTitle:a("Fill your raw text"),iconType:"TEXT"},{type:"URL",title:a("URL"),subTitle:a("Fetch_the_content_of_a_URL"),iconType:"WEBPAGE"},{type:"DOCUMENT",title:a("Document"),subTitle:a("Upload_a_document"),iconType:"DOCUMENT"},{type:"YUQUEURL",title:a("yuque"),subTitle:a("Get_yuque_document"),iconType:"YUQUEURL"}];return(0,l.jsx)(l.Fragment,{children:t.map((e,a)=>(0,l.jsxs)(V.A,{className:"mt-4 mb-4 cursor-pointer",onClick:()=>{s({label:"forward",docType:e.type})},children:[(0,l.jsxs)("div",{className:"font-semibold",children:[(0,l.jsx)(Y,{type:e.iconType}),e.title]}),(0,l.jsx)("div",{children:e.subTitle})]},a))})}var z=s(58662),B=s(96848),H=s(94481),G=s(5813),K=s(76174),X=s(21103),Q=s(40344);let{TextArea:W}=u.A;function J(e){let{strategies:a,docType:s,fileName:t,field:n}=e,[r,i]=(0,o.useState)(),c="";if("DOCUMENT"===s){let e=t.split(".");c=e[e.length-1]}let d=c?a.filter(e=>e.suffix.indexOf(c)>-1):a,{t:m}=(0,j.Bd)(),u={strategy:"Automatic",name:m("Automatic"),desc:m("Automatic_desc")};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{name:[n.name,"chunk_parameters","chunk_strategy"],initialValue:u.strategy,children:(0,l.jsxs)(Q.Ay.Group,{style:{marginTop:16},onChange:function(e){i(e.target.value)},children:[(0,l.jsx)(Q.Ay,{value:u.strategy,children:u.name}),d.map(e=>(0,l.jsx)(Q.Ay,{value:e.strategy,children:e.name},"strategy_radio_".concat(e.strategy)))]})}),function(){var e;if(!r)return null;if(r===u.name)return(0,l.jsx)("p",{className:"my-4",children:u.desc});let a=null==d||null==(e=d.filter(e=>e.strategy===r)[0])?void 0:e.parameters;return a&&a.length?(0,l.jsx)("div",{className:"mt-2",children:null==a?void 0:a.map(e=>(0,l.jsx)(v.A.Item,{label:e.param_name,name:[n.name,"chunk_parameters",e.param_name],rules:[{required:!0,message:m("Please_input_the_name")}],initialValue:e.default_value,valuePropName:"boolean"===e.param_type?"checked":"value",tooltip:e.description,children:function(e){switch(e){case"int":return(0,l.jsx)(K.A,{className:"w-full",min:1});case"string":return(0,l.jsx)(W,{className:"w-full",rows:2});case"boolean":return(0,l.jsx)(X.A,{})}}(e.param_type)},"param_".concat(e.param_name)))}):(0,l.jsx)(H.A,{className:"my-2",type:"warning",message:m("No_parameter")})}()]})}function Z(e){let{spaceName:a,docType:s,uploadFiles:n,handleStepChange:r}=e,{t:i}=(0,j.Bd)(),[c]=v.A.useForm(),[d,u]=(0,o.useState)(n),[p,x]=(0,o.useState)(),[g,A]=(0,o.useState)([]),[f,b]=(0,o.useState)("");async function y(){var e;x(!0);let[,a]=await (0,_.VbY)((0,_.RIv)());x(!1),A(null==(e=a||[])?void 0:e.filter(e=>e.type.indexOf(s)>-1))}(0,o.useEffect)(()=>(y(),()=>{t&&clearInterval(t)}),[]);let N=async e=>{if(function(e){let a=!0;"RUNNING"===f&&(a=!1,T.Ay.warning("The task is still running, do not submit it again."));let{fileStrategies:s}=e;return s.map(e=>{var s,t;let l=(null==e||null==(s=e.chunk_parameters)?void 0:s.chunk_strategy)||"Automatic";l||(T.Ay.error("Please select chunk strategy for ".concat(e.name,".")),a=!1);let n=g.filter(e=>e.strategy===l)[0],r={chunk_strategy:(null==e||null==(t=e.chunk_parameters)?void 0:t.chunk_strategy)||"Automatic"};n&&n.parameters&&n.parameters.forEach(a=>{let s=a.param_name;r[s]=(null==e?void 0:e.chunk_parameters)[s]}),e.chunk_parameters=r}),a}(e)){var s;x(!0);let[,l]=await (0,_.VbY)((0,_.Z94)(a,e.fileStrategies));if(x(!1),(null==l?void 0:l.tasks)&&(null==l||null==(s=l.tasks)?void 0:s.length)>0){T.Ay.success("Segemation task start successfully. task id: ".concat(null==l?void 0:l.tasks.join(","))),b("RUNNING");let a=e.fileStrategies.map(e=>e.doc_id);t=setInterval(async()=>{let e=await k(a);"FINISHED"===e?(clearInterval(t),b("FINISHED"),T.Ay.success("Congratulation, All files sync successfully."),r({label:"finish"})):"FAILED"===e&&(clearInterval(t),r({label:"finish"}))},3e3)}}};async function k(e){let[,s]=await (0,_.VbY)((0,_.MEh)(a,{doc_ids:e}));if((null==s?void 0:s.data)&&(null==s?void 0:s.data.length)>0){let e=[...d];if(null==s||s.data.map(a=>{var s;let t=null==e||null==(s=e.filter(e=>e.doc_id===a.id))?void 0:s[0];t&&(t.status=a.status)}),u(e),null==s?void 0:s.data.every(e=>"FINISHED"===e.status||"FAILED"===e.status))return"FINISHED"}}return(0,l.jsx)(m.A,{spinning:p,children:(0,l.jsxs)(v.A,{labelCol:{span:6},wrapperCol:{span:18},labelAlign:"right",form:c,size:"large",className:"mt-4",layout:"horizontal",name:"basic",autoComplete:"off",initialValues:{fileStrategies:d},onFinish:N,children:[g&&g.length?(0,l.jsx)(v.A.List,{name:"fileStrategies",children:e=>{switch(s){case"TEXT":case"URL":case"YUQUEURL":return null==e?void 0:e.map(e=>(0,l.jsx)(J,{strategies:g,docType:s,fileName:d[e.name].name,field:e},e.key));case"DOCUMENT":return(0,l.jsx)(G.A,{defaultActiveKey:0,size:d.length>5?"small":"middle",children:null==e?void 0:e.map(e=>(0,l.jsx)(G.A.Panel,{header:"".concat(e.name+1,". ").concat(d[e.name].name),extra:function(e){switch(d[e].status){case"FINISHED":return(0,l.jsx)(B.A,{component:z.eq});case"RUNNING":return(0,l.jsx)(B.A,{className:"animate-spin animate-infinite",component:z.Fj});case"FAILED":return(0,l.jsx)(B.A,{component:z.f6});default:return(0,l.jsx)(B.A,{component:z.tU})}}(e.name),children:(0,l.jsx)(J,{strategies:g,docType:s,fileName:d[e.name].name,field:e})},e.key))})}}}):(0,l.jsx)(H.A,{message:"Cannot find one strategy for ".concat(s," type knowledge."),type:"warning"}),(0,l.jsxs)(v.A.Item,{className:"mt-4",children:[(0,l.jsx)(h.Ay,{onClick:()=>{r({label:"back"})},className:"mr-4",children:"".concat(i("Back"))}),(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",loading:p||"RUNNING"===f,children:i("Process")})]})]})})}var $=s(53867),ee=s(60924),ea=s(47562),es=s(13993),et=s(18610),el=s(81106),en=s(49636),er=s(44641),ei=s(3475),ec=s(54099),eo=s(67850),ed=s(97540),em=s(19696),eu=s(36768),eh=s(94600),ep=s(92611),ex=s(56200),ej=s(40102);let eg=e=>{let{open:a,setOpen:s,space:t}=e,[n]=v.A.useForm(),[r]=v.A.useForm(),{run:i}=(0,ec.A)(async()=>{let[,e]=await (0,_.VbY)((0,_.CfE)(t.name+""));return null!=e?e:[]},{manual:!0}),{data:c=[],run:x}=(0,ec.A)(async()=>{let[,e]=await (0,_.VbY)((0,_.T1M)(t.name+""));return null!=e?e:[]},{manual:!0,onSuccess:e=>{r.setFieldValue("recall_retrievers",e)}});(0,o.useEffect)(()=>{a&&x()},[a,x,i]);let{run:j,data:g=[],loading:A}=(0,ec.A)(async e=>{let[,a]=await (0,_.VbY)((0,_.K8t)({...e},t.name+""));return null!=a?a:[]},{manual:!0}),f=async()=>{n.validateFields().then(async e=>{let a=r.getFieldsValue();await j({recall_top_k:1,recall_retrievers:c,...e,...a})})};return(0,l.jsxs)(d.A,{title:"召回测试",width:"60%",open:a,footer:!1,onCancel:()=>s(!1),centered:!0,destroyOnHidden:!0,children:[(0,l.jsx)(V.A,{title:"召回配置",size:"small",className:"my-4",extra:(0,l.jsx)(ex.A,{placement:"bottomRight",trigger:"hover",title:"向量检索设置",content:(0,l.jsxs)(v.A,{form:r,initialValues:{recall_top_k:1},children:[(0,l.jsx)(v.A.Item,{label:"Topk",tooltip:"基于相似度得分的前 k 个向量",name:"recall_top_k",children:(0,l.jsx)(K.A,{placeholder:"请输入",className:"w-full"})}),(0,l.jsx)(v.A.Item,{label:"召回方法",name:"recall_retrievers",children:(0,l.jsx)(k.A,{mode:"multiple",options:c.map(e=>({label:e,value:e})),className:"w-full",allowClear:!0,disabled:!0})}),(0,l.jsx)(v.A.Item,{label:"score阈值",name:"recall_score_threshold",children:(0,l.jsx)(K.A,{placeholder:"请输入",className:"w-full",step:.1})})]}),children:(0,l.jsx)(ep.A,{className:"text-lg"})}),children:(0,l.jsx)(v.A,{form:n,layout:"vertical",onFinish:f,children:(0,l.jsx)(v.A.Item,{label:"测试问题",required:!0,name:"question",rules:[{required:!0,message:"请输入测试问题"}],className:"m-0 p-0",children:(0,l.jsxs)("div",{className:"flex w-full items-center gap-8",children:[(0,l.jsx)(u.A,{placeholder:"请输入测试问题",autoComplete:"off",allowClear:!0,className:"w-1/2"}),(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",children:"测试"})]})})})}),(0,l.jsx)(V.A,{title:"召回结果",size:"small",children:(0,l.jsx)(m.A,{spinning:A,children:g.length>0?(0,l.jsx)("div",{className:"flex flex-col overflow-y-auto",style:{height:"45vh"},children:g.map(e=>(0,l.jsx)(V.A,{title:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsxs)(p.A,{color:"blue",children:["# ",e.chunk_id]}),e.metadata.source]}),extra:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"font-semibold",children:"score:"}),(0,l.jsx)("span",{className:"text-blue-500",children:e.score})]}),size:"small",className:"mb-4 border-gray-500 shadow-md",children:(0,l.jsx)(ej.default,{children:e.content})},e.chunk_id))}):(0,l.jsx)(eu.A,{})})})]})};var eA=s(19361),e_=s(74947),ef=s(23512),eb=s(47739),ey=s(52917),eN=s(25953);let{TextArea:ev}=u.A;function ek(e){let{space:a,argumentsShow:s,setArgumentsShow:t}=e,{t:n}=(0,j.Bd)(),[r,i]=(0,o.useState)(),[c,p]=(0,o.useState)(!1),x=async()=>{let[e,s]=await (0,_.VbY)((0,_.lwI)(a.name));i(s)};(0,o.useEffect)(()=>{x()},[a.name]);let g=[{key:"Embedding",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(eb.A,{}),n("Embedding")]}),children:(0,l.jsxs)(eA.A,{gutter:24,children:[(0,l.jsx)(e_.A,{span:12,offset:0,children:(0,l.jsx)(v.A.Item,{tooltip:n("the_top_k_vectors"),rules:[{required:!0}],label:n("topk"),name:["embedding","topk"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("Set_a_threshold_score"),rules:[{required:!0}],label:n("recall_score"),name:["embedding","recall_score"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:"请输入"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("recall_type"),rules:[{required:!0}],label:n("recall_type"),name:["embedding","recall_type"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("A_model_used"),rules:[{required:!0}],label:n("model"),name:["embedding","model"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("The_size_of_the_data_chunks"),rules:[{required:!0}],label:n("chunk_size"),name:["embedding","chunk_size"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("The_amount_of_overlap"),rules:[{required:!0}],label:n("chunk_overlap"),name:["embedding","chunk_overlap"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:n("Please_input_the_description")})})})]})},{key:"Prompt",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(ey.A,{}),n("Prompt")]}),children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{tooltip:n("A_contextual_parameter"),label:n("scene"),name:["prompt","scene"],children:(0,l.jsx)(ev,{rows:4,className:"mb-2"})}),(0,l.jsx)(v.A.Item,{tooltip:n("structure_or_format"),label:n("template"),name:["prompt","template"],children:(0,l.jsx)(ev,{rows:7,className:"mb-2"})}),(0,l.jsx)(v.A.Item,{tooltip:n("The_maximum_number_of_tokens"),label:n("max_token"),name:["prompt","max_token"],children:(0,l.jsx)(u.A,{className:"mb-2"})})]})},{key:"Summary",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(eN.A,{}),n("Summary")]}),children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{rules:[{required:!0}],label:n("max_iteration"),name:["summary","max_iteration"],children:(0,l.jsx)(u.A,{className:"mb-2"})}),(0,l.jsx)(v.A.Item,{rules:[{required:!0}],label:n("concurrency_limit"),name:["summary","concurrency_limit"],children:(0,l.jsx)(u.A,{className:"mb-2"})})]})}],A=async e=>{p(!0);let[,,s]=await (0,_.VbY)((0,_.GEp)(a.name,{argument:JSON.stringify(e)}));p(!1),(null==s?void 0:s.success)&&t(!1)};return(0,l.jsx)(d.A,{width:850,open:s,onCancel:()=>{t(!1)},footer:null,children:(0,l.jsx)(m.A,{spinning:c,children:(0,l.jsxs)(v.A,{size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{...r},autoComplete:"off",onFinish:A,children:[(0,l.jsx)(ef.A,{items:g}),(0,l.jsxs)("div",{className:"mt-3 mb-3",children:[(0,l.jsx)(h.Ay,{htmlType:"submit",type:"primary",className:"mr-6",children:n("Submit")}),(0,l.jsx)(h.Ay,{onClick:()=>{t(!1)},children:n("close")})]})]})})})}let{confirm:ew}=d.A,eI=e=>{let{name:a,id:s}=e,[t,n]=(0,o.useState)(!1),{t:r}=(0,j.Bd)(),i=async(e,a)=>{var s;n(!0);let t=await (0,_.VbY)((0,_.PsV)(e,{doc_ids:[a]}));n(!1),(null==(s=t[2])?void 0:s.success)&&T.Ay.success(r("Synchronization_initiated"))};return t?(0,l.jsx)(m.A,{indicator:(0,l.jsx)($.A,{spin:!0})}):(0,l.jsxs)(eo.A,{onClick:()=>{i(a,s)},children:[(0,l.jsx)(ee.A,{}),(0,l.jsx)("span",{children:r("Sync")})]})};function eC(e){var a;let[s]=v.A.useForm(),{space:t,addStatus:c}=e,{t:x}=(0,j.Bd)(),g=(0,N.useRouter)(),[A,f]=(0,o.useState)([]),[b,k]=(0,o.useState)([]),[w,C]=(0,o.useState)(!1),[S,E]=(0,o.useState)(0),[U,D]=(0,o.useState)(!1),[q,P]=(0,o.useState)(),[R,L]=(0,o.useState)(!1),O=(0,o.useRef)(1),M=(0,o.useMemo)(()=>(null==A?void 0:A.length)await (0,_.VbY)((0,_.MEh)(t.name,{page:O.current,page_size:18})),{manual:!0,onSuccess:e=>{let[,a]=e;f(null==a?void 0:a.data),k(null==a?void 0:a.data),E((null==a?void 0:a.total)||0)}}),G=async()=>{if(!M)return;O.current+=1;let[e,a]=await (0,_.VbY)((0,_.MEh)(t.name,{page:O.current,page_size:18}));f([...A,...a.data]),k([...A,...a.data])},K=async a=>{await (0,_.VbY)((0,_.Tut)(t.name,{doc_name:a.doc_name})),z(),e.onDeleteDoc()},X=()=>{e.onAddDoc(t.name)};(0,o.useEffect)(()=>{z()},[]),(0,o.useEffect)(()=>{"finish"===c&&z()},[c]);let{run:Q,loading:W}=(0,ec.A)(async(e,a)=>{let[,s]=await (0,_.VbY)((0,_.msy)(t.name,{doc_name:a}));return s},{manual:!0,debounceWait:500,onSuccess:e=>{k(null==e?void 0:e.data)}}),{run:J,loading:Z}=(0,ec.A)(async a=>{var s;return await (0,_.mrB)(e.space.name,{questions:null==(s=a.questions)?void 0:s.map(e=>e.question),doc_id:(null==q?void 0:q.id)||"",doc_name:a.doc_name})},{manual:!0,onSuccess:async e=>{e.data.success?(T.Ay.success(x("Edit_Success")),await z(),D(!1)):T.Ay.error(e.data.err_msg)}});return(0,o.useEffect)(()=>{var e;q&&s.setFieldsValue({doc_name:q.doc_name,questions:null==(e=q.questions)?void 0:e.map(e=>({question:e}))})},[q,s]),(0,l.jsxs)("div",{className:"px-4",children:[(0,l.jsxs)(eo.A,{children:[(0,l.jsx)(h.Ay,{size:"middle",type:"primary",className:"flex items-center",icon:(0,l.jsx)(i.A,{}),onClick:X,children:x("Add_Datasource")}),(0,l.jsx)(h.Ay,{size:"middle",className:"flex items-center mx-2",icon:(0,l.jsx)(en.A,{}),onClick:()=>{C(!0)},children:"Arguments"}),"KnowledgeGraph"===t.vector_type&&(0,l.jsx)(h.Ay,{size:"middle",className:"flex items-center mx-2",icon:(0,l.jsx)(er.A,{}),onClick:()=>{g.push("/knowledge/graph/?spaceName=".concat(t.name))},children:x("View_Graph")}),(0,l.jsx)(h.Ay,{icon:(0,l.jsx)(ei.A,{}),onClick:()=>L(!0),children:x("Recall_test")})]}),(0,l.jsx)(eh.A,{}),(0,l.jsx)(m.A,{spinning:H,children:(0,l.jsxs)("div",{className:"w-full h-full",children:[(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("div",{className:"flex w-full justify-end",children:(0,l.jsx)(h.Ay,{type:"primary",onClick:async()=>{await B()},loading:H,children:x("Refresh_status")})})}),(0,l.jsx)("div",{className:"flex flex-col h-full p-3 border rounded-md",children:(null==A?void 0:A.length)>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-1 justify-between items-center",children:(0,l.jsx)(u.A,{className:"w-1/3",prefix:(0,l.jsx)(r.A,{}),placeholder:x("please_enter_the_keywords"),onChange:async e=>{await Q(t.id,e.target.value)},allowClear:!0})}),(0,l.jsxs)(m.A,{spinning:W,children:[(0,l.jsx)(l.Fragment,{children:b.length>0?(0,l.jsx)("div",{className:"h-96 mt-3 grid grid-cols-3 gap-x-6 gap-y-5 overflow-y-auto",children:b.map(e=>(0,l.jsxs)(V.A,{className:" dark:bg-[#484848] relative shrink-0 grow-0 cursor-pointer rounded-[10px] border border-gray-200 border-solid w-full max-h-64",title:(0,l.jsx)(ed.A,{title:e.doc_name,children:(0,l.jsxs)("div",{className:"truncate ",children:[(0,l.jsx)(Y,{type:e.doc_type}),(0,l.jsx)("span",{children:e.doc_name})]})}),extra:(0,l.jsx)(em.A,{menu:{items:[{key:"publish",label:(0,l.jsxs)(eo.A,{onClick:()=>{g.push("/knowledge/chunk/?spaceName=".concat(t.name,"&id=").concat(e.id))},children:[(0,l.jsx)(ea.A,{}),(0,l.jsx)("span",{children:x("detail")})]})},{key:"".concat(x("Sync")),label:(0,l.jsx)(eI,{name:t.name,id:e.id})},{key:"edit",label:(0,l.jsxs)(eo.A,{onClick:()=>{D(!0),P(e)},children:[(0,l.jsx)(es.A,{}),(0,l.jsx)("span",{children:x("Edit")})]})},{key:"del",label:(0,l.jsxs)(eo.A,{onClick:()=>{ew({title:x("Tips"),icon:(0,l.jsx)(n.A,{}),content:"".concat(x("Del_Document_Tips"),"?"),okText:"Yes",okType:"danger",cancelText:"No",async onOk(){await K(e)}})},children:[(0,l.jsx)(et.A,{}),(0,l.jsx)("span",{children:x("Delete")})]})}]},getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,className:"rounded-md",children:(0,l.jsx)(el.A,{className:"p-2"})}),children:[(0,l.jsxs)("p",{className:"mt-2 font-semibold ",children:[x("Size"),":"]}),(0,l.jsxs)("p",{children:[e.chunk_size," chunks"]}),(0,l.jsxs)("p",{className:"mt-2 font-semibold ",children:[x("Last_Sync"),":"]}),(0,l.jsx)("p",{children:y()(e.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,l.jsx)("p",{className:"mt-2 mb-2",children:((e,a)=>{let s;switch(e){case"TODO":s="gold";break;case"RUNNING":s="#2db7f5";break;case"FINISHED":s="cyan";break;default:s="red"}return(0,l.jsx)(ed.A,{title:a,children:(0,l.jsx)(p.A,{color:s,children:e})})})(e.status,e.result)})]},e.id))}):(0,l.jsx)(eu.A,{className:"flex flex-1 w-full py-10 flex-col items-center justify-center",image:eu.A.PRESENTED_IMAGE_DEFAULT})}),M&&(0,l.jsx)(eh.A,{children:(0,l.jsx)("span",{className:"cursor-pointer",onClick:G,children:x("Load_more")})})]})]}):(0,l.jsx)(eu.A,{image:eu.A.PRESENTED_IMAGE_DEFAULT,children:(0,l.jsx)(h.Ay,{type:"primary",className:"flex items-center mx-auto",icon:(0,l.jsx)(i.A,{}),onClick:X,children:"Create Now"})})})]})}),(0,l.jsx)(ek,{space:t,argumentsShow:w,setArgumentsShow:C}),(0,l.jsx)(d.A,{title:x("Edit_document"),open:U,onCancel:()=>D(!1),destroyOnHidden:!0,footer:[(0,l.jsx)(h.Ay,{onClick:()=>D(!1),children:x("cancel")},"back"),(0,l.jsx)(h.Ay,{type:"primary",loading:Z,onClick:async()=>{let e=s.getFieldsValue();await J(e)},children:x("verify")},"submit")],children:(0,l.jsxs)(v.A,{form:s,initialValues:{doc_name:null==q?void 0:q.doc_name,questions:null==q||null==(a=q.questions)?void 0:a.map(e=>({question:e}))},children:[(0,l.jsx)(v.A.Item,{label:x("Document_name"),name:"doc_name",children:(0,l.jsx)(u.A,{})}),(0,l.jsx)(v.A.Item,{label:x("Correlation_problem"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:"请输入"})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s({question:"",valid:!1})},block:!0,icon:(0,l.jsx)(i.A,{}),children:x("Add_problem")})})]})}})})]})}),(0,l.jsx)(eg,{open:R,setOpen:L,space:t})]})}function eS(){let[e,a]=(0,o.useState)([]),[s,t]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,k]=(0,o.useState)(),[I,C]=(0,o.useState)(0),[S,T]=(0,o.useState)(""),[E,U]=(0,o.useState)([]),[D,V]=(0,o.useState)(""),[P,R]=(0,o.useState)(""),[L,O]=(0,o.useState)(!1),[Y,z]=(0,o.useState)(null),{t:B}=(0,j.Bd)(),H=[{title:B("Knowledge_Space_Config")},{title:B("Choose_a_Datasource_type")},{title:B("Upload")},{title:B("Segmentation")}],G=(0,N.useRouter)();async function K(e){O(!0);let[s,t]=await (0,_.VbY)((0,_.HyB)({...e}));O(!1),a(t)}async function X(){let[e,a]=await (0,_.VbY)((0,_.zxN)());if(!a)return null;z(a.storage)}(0,o.useEffect)(()=>{K(),X()},[]);let Q=async e=>{let[a,s]=await (0,_.VbY)((0,_.j_h)({app_code:"chat_knowledge"}));(null==s?void 0:s.conv_uid)&&G.push("/chat?conv_uid=".concat(s.conv_uid,"&app_code=chat_knowledge&knowledge=").concat(e.knowledge_id))},W=e=>{let{label:a,spaceName:s,docType:l,files:n}=e;"finish"===a?(t(!1),K(),T(""),V(""),R("finish"),localStorage.removeItem("cur_space_id")):"forward"===a?(0===I&&K(),C(e=>e+1)):C(e=>e-1),n&&U(n),s&&T(s),l&&V(l)},J=async e=>{K({name:e.target.value})};return(0,l.jsxs)(m.A,{spinning:L,children:[(0,l.jsxs)("div",{className:"page-body p-4 md:p-6 h-screen ",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,l.jsx)("div",{className:"flex items-center gap-4",children:(0,l.jsx)(u.A,{variant:"filled",prefix:(0,l.jsx)(r.A,{}),placeholder:B("please_enter_the_keywords"),onChange:A()(J,300),allowClear:!0,className:"w-[230px] h-[40px] border-1 border-white backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60"})}),(0,l.jsx)("div",{className:"flex items-center gap-4",children:(0,l.jsx)(h.Ay,{className:"border-none text-white bg-button-gradient",icon:(0,l.jsx)(i.A,{}),onClick:()=>{t(!0)},children:B("create_knowledge")})})]}),(0,l.jsx)("div",{className:" mt-4 mx-[-8px] overflow-y-auto h-full pb-12",children:(0,l.jsx)("div",{className:"flex flex-wrap ",children:null==e?void 0:e.map(e=>(0,l.jsx)(f.Ay,{onClick:()=>{k(e),b(!0),localStorage.setItem("cur_space_id",JSON.stringify(e.id))},description:e.desc,name:e.name,logo:"FinancialReport"===e.domain_type?"/models/fin_report.jpg":"KnowledgeGraph"===e.vector_type?"/models/knowledge-graph.png":"FullText"===e.vector_type?"/models/knowledge-full-text.jpg":"/models/knowledge-default.jpg",RightTop:(0,l.jsx)(f._f,{menu:{items:[{key:"del",label:(0,l.jsx)("span",{className:"text-red-400",onClick:()=>{d.A.confirm({title:B("Tips"),icon:(0,l.jsx)(n.A,{}),content:"".concat(B("Del_Knowledge_Tips"),"?"),okText:"Yes",okType:"danger",cancelText:"No",async onOk(){await (0,_.VbY)((0,_.O_Y)({name:null==e?void 0:e.name})),K()}})},children:B("Delete")})}]}}),rightTopHover:!1,Tags:(0,l.jsxs)("div",{className:"flex item-center",children:[(0,l.jsx)(p.A,{children:(0,l.jsxs)("span",{className:"flex items-center gap-1",children:[(0,l.jsx)(c.A,{className:"mt-[1px]"}),e.docs]})}),(0,l.jsx)(p.A,{children:(0,l.jsx)("span",{className:"flex items-center gap-1",children:e.domain_type||"Normal"})}),e.vector_type?(0,l.jsx)(p.A,{children:(0,l.jsx)("span",{className:"flex items-center gap-1",children:e.vector_type})}):null]}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("span",{children:e.owner}),(0,l.jsx)("span",{children:"•"}),(null==e?void 0:e.gmt_modified)&&(0,l.jsx)("span",{children:y()(null==e?void 0:e.gmt_modified).fromNow()+" "+B("update")})]}),RightBottom:(0,l.jsx)(f.VV,{text:B("start_chat"),onClick:()=>{Q(e)}})},e.id))})})]}),(0,l.jsx)(d.A,{className:"h-5/6 overflow-hidden",open:g,width:"70%",onCancel:()=>b(!1),footer:null,destroyOnHidden:!0,children:(0,l.jsx)(eC,{space:v,onAddDoc:function(e){T(e),C(1),t(!0),R("start")},onDeleteDoc:K,addStatus:P})}),(0,l.jsxs)(d.A,{title:B("New_knowledge_base"),centered:!0,open:s,destroyOnHidden:!0,onCancel:()=>{t(!1)},width:1e3,afterClose:()=>{C(0),K()},footer:null,children:[(0,l.jsx)(x.A,{current:I,items:H}),0===I&&(0,l.jsx)(w,{handleStepChange:W,spaceConfig:Y}),1===I&&(0,l.jsx)(M,{handleStepChange:W}),(0,l.jsx)(q,{className:F()({hidden:2!==I}),spaceName:S,docType:D,handleStepChange:W}),3===I&&(0,l.jsx)(Z,{spaceName:S,docType:D,uploadFiles:E,handleStepChange:W})]})]})}},68803:(e,a,s)=>{Promise.resolve().then(s.bind(s,43539))},84182:(e,a,s)=>{"use strict";s.d(a,{Ay:()=>j,VV:()=>p,_f:()=>x});var t=s(95155),l=s(81106),n=s(6124),r=s(97540),i=s(94600),c=s(90797),o=s(19696),d=s(29300),m=s.n(d),u=s(91218),h=s(66766);s(12115),s(2785);let p=e=>{let{onClick:a,Icon:s="/pictures/card_chat.png",text:l,className:n}=e,{t:r}=(0,u.Bd)(),i=l||r("start_chat");return"string"==typeof s&&(s=(0,t.jsx)(h.default,{src:s,alt:s,width:17,height:15})),(0,t.jsxs)("button",{className:"flex items-center gap-1.5 text-sm rounded-full bg-gradient-to-r from-blue-500 to-indigo-500 text-white px-4 py-1.5 transition-all duration-200 hover:from-blue-600 hover:to-indigo-600 hover:shadow-md ".concat(n),onClick:e=>{e.stopPropagation(),a&&a()},children:[s&&(0,t.jsx)("span",{children:s}),(0,t.jsx)("span",{children:i})]})},x=e=>{let{menu:a}=e;return(0,t.jsx)(o.A,{menu:a,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,t.jsx)(l.A,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})},j=e=>{let{RightTop:a,Tags:s,LeftBottom:l,RightBottom:o,onClick:d,rightTopHover:u=!0,logo:h,name:p,description:x,className:j,scene:g,code:A}=e;return"string"==typeof x&&(x=(0,t.jsx)("p",{className:"line-clamp-2 relative bottom-3 text-ellipsis min-h-[40px] text-sm text-[#5a626d] dark:text-[rgba(255,255,255,0.7)] leading-relaxed mb-3",children:x})),(0,t.jsx)(n.A,{className:m()("hover-underline-gradient h-[280px] overflow-hidden transition-all duration-300 group cursor-pointer ring-1 ring-gray-200 dark:ring-gray-700 hover:ring-blue-300 dark:hover:ring-blue-500/50 hover:shadow-lg dark:hover:shadow-gray-900/20",j),onClick:d,styles:{body:{padding:"20px",background:"linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(240,244,255,0.2) 100%)",borderRadius:"12px",backdropFilter:"blur(10px)",backgroundClip:"padding-box",border:"1px solid rgba(255,255,255, 0.4)",height:"100%"}},children:(0,t.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,t.jsx)("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm p-1.5 ring-1 ring-gray-200 dark:ring-gray-700",children:(0,t.jsx)("img",{src:h,alt:p,className:"w-10 min-w-10 h-10 object-contain rounded-lg max-w-none",onError:e=>{let a=e.target;a.onerror=null,a.src="/icons/colorful-plugin.png"}})}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(r.A,{title:p,placement:"topLeft",children:(0,t.jsx)("h3",{className:"font-bold text-base text-gray-800 dark:text-gray-200 truncate mb-1",children:p})})})]}),(0,t.jsx)("div",{className:"mb-4",children:x})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-3",children:s}),(0,t.jsxs)("div",{className:"flex justify-between items-center mt-auto",children:[(0,t.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:l}),(0,t.jsx)("div",{children:o})]}),A&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.A,{className:"my-3"}),(0,t.jsx)(c.A.Text,{copyable:!0,className:"text-xs text-gray-500 dark:text-gray-500",children:A})]})]})]})})}},91070:(e,a,s)=>{"use strict";s.d(a,{BR:()=>r,zo:()=>n,UK:()=>t.UK,rA:()=>t.rA,cE:()=>t.cE,V:()=>t.V});var t=s(39740),l=s(12115);let n=(0,l.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),r=(0,l.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[1448,562,586,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,6174,5912,7773,9960,1236,8441,5964,7358],()=>e(e.s=68803)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1049],{2785:()=>{},39740:(e,a,s)=>{"use strict";s.d(a,{UK:()=>c,V:()=>d,cE:()=>m,rA:()=>o});var t=s(95155),l=s(67773);s(61475);var n=s(54099),r=s(35695),i=s(12115);let c=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var a,s,o;let{children:d}=e,m=(0,r.useSearchParams)(),u=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",h=null!=(s=null==m?void 0:m.get("scene"))?s:"",p=null!=(o=null==m?void 0:m.get("db_param"))?o:"",[x,j]=(0,i.useState)(!1),[g,A]=(0,i.useState)("light"),[_,f]=(0,i.useState)("chat_dashboard"!==h),[b,y]=(0,i.useState)(p),[N,v]=(0,i.useState)(""),[k,w]=(0,i.useState)([]),[I,C]=(0,i.useState)(),[S,T]=(0,i.useState)("light"),[E,F]=(0,i.useState)(u),[U,D]=(0,i.useState)([]),[q,V]=(0,i.useState)({chat_scene:"",app_code:""}),{data:P=[]}=(0,n.A)(async()=>{let[,e]=await (0,l.VbY)((0,l.TzU)());return null!=e?e:[]}),{data:R=[],refresh:L,loading:O}=(0,n.A)(async()=>await (0,l.VbY)((0,l.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");V(e)}catch(e){V({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{A(P[0])},[P,null==P?void 0:P.length]),(0,i.useEffect)(()=>{u&&F(u)},[u]),(0,t.jsx)(c.Provider,{value:{isContract:x,isMenuExpand:_,scene:h,chatId:E,model:g,modelList:P,dbParam:b||p,agent:N,setAgent:v,mode:S,setMode:T,setModel:A,setIsContract:j,setIsMenuExpand:f,setDbParam:y,history:k,setHistory:w,docId:I,setDocId:C,currentDialogInfo:q,setCurrentDialogInfo:V,adminList:U,refreshDialogList:L,dialogueList:R},children:d})},d=(0,i.createContext)(null),m=(0,i.createContext)(null)},43539:(e,a,s)=>{"use strict";let t;s.r(a),s.d(a,{default:()=>eS});var l=s(95155),n=s(64227),r=s(3377),i=s(44261),c=s(77133),o=s(12115),d=s(96194),m=s(16467),u=s(73775),h=s(98696),p=s(37974),x=s(77517),j=s(91218),g=s(45964),A=s.n(g),_=s(67773),f=s(84182),b=s(82940),y=s.n(b),N=s(35695),v=s(95388),k=s(32013);function w(e){var a;let{t:s}=(0,j.Bd)(),{handleStepChange:t,spaceConfig:n}=e,[r,i]=(0,o.useState)(!1),[c,d]=(0,o.useState)(),[p]=v.A.useForm();(0,o.useEffect)(()=>{p.setFieldValue("storage",null==n?void 0:n[0].name),d(null==n?void 0:n[0].name)},[n]);let x=async e=>{let{spaceName:a,owner:s,description:l,storage:n,field:r}=e;i(!0);let[c,o,d]=await (0,_.VbY)((0,_.CBk)({name:a,vector_type:n,owner:s,desc:l,domain_type:r}));i(!1);let m="FinancialReport"===r;localStorage.setItem("cur_space_id",JSON.stringify(o)),(null==d?void 0:d.success)&&t({label:"forward",spaceName:a,pace:m?2:1,docType:m?"DOCUMENT":""})};return(0,l.jsx)(m.A,{spinning:r,children:(0,l.jsxs)(v.A,{form:p,size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:x,children:[(0,l.jsx)(v.A.Item,{label:s("Knowledge_Space_Name"),name:"spaceName",rules:[{required:!0,message:s("Please_input_the_name")},()=>({validator:(e,a)=>/[^\u4e00-\u9fa50-9a-zA-Z_-]/.test(a)?Promise.reject(Error(s("the_name_can_only_contain"))):Promise.resolve()})],children:(0,l.jsx)(u.A,{className:"h-12",placeholder:s("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:s("Storage"),name:"storage",rules:[{required:!0,message:s("Please_select_the_storage")}],children:(0,l.jsx)(k.A,{className:"mb-5 h-12",placeholder:s("Please_select_the_storage"),onChange:e=>{d(e)},children:null==n?void 0:n.map(e=>(0,l.jsx)(k.A.Option,{value:e.name,children:e.desc},e.name))})}),(0,l.jsx)(v.A.Item,{label:s("Domain"),name:"field",rules:[{required:!0,message:s("Please_select_the_domain_type")}],children:(0,l.jsx)(k.A,{className:"mb-5 h-12",placeholder:s("Please_select_the_domain_type"),children:null==n||null==(a=n.find(e=>e.name===c))?void 0:a.domain_types.map(e=>(0,l.jsx)(k.A.Option,{value:e.name,children:e.desc},e.name))})}),(0,l.jsx)(v.A.Item,{label:s("Description"),name:"description",rules:[{required:!0,message:s("Please_input_the_description")}],children:(0,l.jsx)(u.A,{className:"h-12",placeholder:s("Please_input_the_description")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",children:s("Next")})})]})})}var I=s(58206),C=s(83387),S=s(7187),T=s(94326),E=s(29300),F=s.n(E);let{Dragger:U}=S.A,{TextArea:D}=u.A;function q(e){let{className:a,handleStepChange:s,spaceName:t,docType:n}=e,{t:r}=(0,j.Bd)(),[c]=v.A.useForm(),[d,p]=(0,o.useState)(!1),[x,g]=(0,o.useState)([]),A=async e=>{let a,{docName:l,textSource:r,text:i,webPageUrl:c,doc_token:o,questions:d=[]}=e;switch(p(!0),n){case"URL":[,a]=await (0,_.VbY)((0,_.tIE)(t,{doc_name:l,content:c,doc_type:"URL",questions:null==d?void 0:d.map(e=>e.question)}));break;case"TEXT":[,a]=await (0,_.VbY)((0,_.tIE)(t,{doc_name:l,source:r,content:i,doc_type:"TEXT",questions:d.map(e=>e.question)}));break;case"YUQUEURL":[,a]=await (0,_.VbY)((0,_.TyK)({doc_name:l,space_name:t,content:c,doc_type:"YUQUEURL",doc_token:o||"",questions:null==d?void 0:d.map(e=>e.question)}))}if(p(!1),"DOCUMENT"===n&&x.length<1||"DOCUMENT"!==n&&!a)return T.Ay.error("Upload failed, please re-upload.");let m=x;if("DOCUMENT"===n){let a=Array.from(e.originFileObj.fileList);m=m.filter(e=>a.some(a=>a.name===e.name))}s({label:"forward",files:"DOCUMENT"===n?m:[{name:l,doc_id:a||-1}]})},f=e=>{let{fileList:a}=e;0===a.length&&c.setFieldValue("originFileObj",null)},b=async e=>{let{onSuccess:a,onError:s,file:l}=e,n=new FormData,r=null==l?void 0:l.name;n.append("doc_name",r),n.append("doc_file",l),n.append("doc_type","DOCUMENT");let[,i]=await (0,_.VbY)((0,_.XXs)(t,n));Number.isInteger(i)?(a&&a(i||0),g(e=>(e.push({name:r,doc_id:i||-1}),e))):s&&s({name:"",message:""})};return(0,l.jsx)(m.A,{spinning:d,children:(0,l.jsxs)(v.A,{form:c,size:"large",className:F()("mt-4",a),layout:"vertical",name:"basic",initialValues:{remember:!0},autoComplete:"off",onFinish:A,children:[(()=>{switch(n){case"URL":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Web_Page_URL"),":"),name:"webPageUrl",rules:[{required:!0,message:r("Please_input_the_Web_Page_URL")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_Web_Page_URL")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});case"DOCUMENT":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{name:"originFileObj",rules:[{required:!0,message:r("Please_select_file")}],children:(0,l.jsxs)(U,{multiple:!0,onChange:f,maxCount:100,accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md,.zip,.csv",customRequest:b,children:[(0,l.jsx)("p",{className:"ant-upload-drag-icon",children:(0,l.jsx)(C.A,{})}),(0,l.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:r("Select_or_Drop_file")}),(0,l.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown, Zip1, Csv"})]})}),(0,l.jsx)(v.A.Item,{label:"关联问题:",children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:"请输入问题"})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});case"YUQUEURL":return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:r("document_url"),name:"webPageUrl",rules:[{required:!0,message:r("input_document_url")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("input_document_url")})}),(0,l.jsx)(v.A.Item,{label:r("document_token"),name:"doc_token",tooltip:(0,l.jsx)(l.Fragment,{children:r("Get_token")}),children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("input_document_token")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]});default:return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{label:"".concat(r("Name"),":"),name:"docName",rules:[{required:!0,message:r("Please_input_the_name")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_name")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Text_Source"),":"),name:"textSource",rules:[{required:!0,message:r("Please_input_the_text_source")}],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:r("Please_input_the_text_source")})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Text"),":"),name:"text",rules:[{required:!0,message:r("Please_input_the_description")}],children:(0,l.jsx)(D,{rows:4})}),(0,l.jsx)(v.A.Item,{label:"".concat(r("Correlation_problem"),":"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:r("input_question")})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s()},block:!0,icon:(0,l.jsx)(i.A,{}),children:r("Add_problem")})})]})}})})]})}})(),(0,l.jsxs)(v.A.Item,{children:[(0,l.jsx)(h.Ay,{onClick:()=>{s({label:"back"})},className:"mr-4",children:"".concat(r("Back"))}),(0,l.jsx)(h.Ay,{type:"primary",loading:d,htmlType:"submit",children:r("Next")})]})]})})}var V=s(6124),P=s(50573),R=s(32430),L=s(59540),O=s(75606);function Y(e){let{type:a}=e;return"TEXT"===a?(0,l.jsx)(P.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"DOCUMENT"===a?(0,l.jsx)(R.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):"YUQUEURL"===a?(0,l.jsx)(L.A,{className:"text-[#2AA3FF] mr-2 !text-lg"}):(0,l.jsx)(O.A,{className:"text-[#2AA3FF] mr-2 !text-lg"})}function M(e){let{t:a}=(0,j.Bd)(),{handleStepChange:s}=e,t=[{type:"TEXT",title:a("Text"),subTitle:a("Fill your raw text"),iconType:"TEXT"},{type:"URL",title:a("URL"),subTitle:a("Fetch_the_content_of_a_URL"),iconType:"WEBPAGE"},{type:"DOCUMENT",title:a("Document"),subTitle:a("Upload_a_document"),iconType:"DOCUMENT"},{type:"YUQUEURL",title:a("yuque"),subTitle:a("Get_yuque_document"),iconType:"YUQUEURL"}];return(0,l.jsx)(l.Fragment,{children:t.map((e,a)=>(0,l.jsxs)(V.A,{className:"mt-4 mb-4 cursor-pointer",onClick:()=>{s({label:"forward",docType:e.type})},children:[(0,l.jsxs)("div",{className:"font-semibold",children:[(0,l.jsx)(Y,{type:e.iconType}),e.title]}),(0,l.jsx)("div",{children:e.subTitle})]},a))})}var z=s(58662),B=s(96848),H=s(94481),G=s(5813),K=s(76174),X=s(21103),Q=s(40344);let{TextArea:W}=u.A;function J(e){let{strategies:a,docType:s,fileName:t,field:n}=e,[r,i]=(0,o.useState)(),c="";if("DOCUMENT"===s){let e=t.split(".");c=e[e.length-1]}let d=c?a.filter(e=>e.suffix.indexOf(c)>-1):a,{t:m}=(0,j.Bd)(),u={strategy:"Automatic",name:m("Automatic"),desc:m("Automatic_desc")};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{name:[n.name,"chunk_parameters","chunk_strategy"],initialValue:u.strategy,children:(0,l.jsxs)(Q.Ay.Group,{style:{marginTop:16},onChange:function(e){i(e.target.value)},children:[(0,l.jsx)(Q.Ay,{value:u.strategy,children:u.name}),d.map(e=>(0,l.jsx)(Q.Ay,{value:e.strategy,children:e.name},"strategy_radio_".concat(e.strategy)))]})}),function(){var e;if(!r)return null;if(r===u.name)return(0,l.jsx)("p",{className:"my-4",children:u.desc});let a=null==d||null==(e=d.filter(e=>e.strategy===r)[0])?void 0:e.parameters;return a&&a.length?(0,l.jsx)("div",{className:"mt-2",children:null==a?void 0:a.map(e=>(0,l.jsx)(v.A.Item,{label:e.param_name,name:[n.name,"chunk_parameters",e.param_name],rules:[{required:!0,message:m("Please_input_the_name")}],initialValue:e.default_value,valuePropName:"boolean"===e.param_type?"checked":"value",tooltip:e.description,children:function(e){switch(e){case"int":return(0,l.jsx)(K.A,{className:"w-full",min:1});case"string":return(0,l.jsx)(W,{className:"w-full",rows:2});case"boolean":return(0,l.jsx)(X.A,{})}}(e.param_type)},"param_".concat(e.param_name)))}):(0,l.jsx)(H.A,{className:"my-2",type:"warning",message:m("No_parameter")})}()]})}function Z(e){let{spaceName:a,docType:s,uploadFiles:n,handleStepChange:r}=e,{t:i}=(0,j.Bd)(),[c]=v.A.useForm(),[d,u]=(0,o.useState)(n),[p,x]=(0,o.useState)(),[g,A]=(0,o.useState)([]),[f,b]=(0,o.useState)("");async function y(){var e;x(!0);let[,a]=await (0,_.VbY)((0,_.RIv)());x(!1),A(null==(e=a||[])?void 0:e.filter(e=>e.type.indexOf(s)>-1))}(0,o.useEffect)(()=>(y(),()=>{t&&clearInterval(t)}),[]);let N=async e=>{if(function(e){let a=!0;"RUNNING"===f&&(a=!1,T.Ay.warning("The task is still running, do not submit it again."));let{fileStrategies:s}=e;return s.map(e=>{var s,t;let l=(null==e||null==(s=e.chunk_parameters)?void 0:s.chunk_strategy)||"Automatic";l||(T.Ay.error("Please select chunk strategy for ".concat(e.name,".")),a=!1);let n=g.filter(e=>e.strategy===l)[0],r={chunk_strategy:(null==e||null==(t=e.chunk_parameters)?void 0:t.chunk_strategy)||"Automatic"};n&&n.parameters&&n.parameters.forEach(a=>{let s=a.param_name;r[s]=(null==e?void 0:e.chunk_parameters)[s]}),e.chunk_parameters=r}),a}(e)){var s;x(!0);let[,l]=await (0,_.VbY)((0,_.Z94)(a,e.fileStrategies));if(x(!1),(null==l?void 0:l.tasks)&&(null==l||null==(s=l.tasks)?void 0:s.length)>0){T.Ay.success("Segemation task start successfully. task id: ".concat(null==l?void 0:l.tasks.join(","))),b("RUNNING");let a=e.fileStrategies.map(e=>e.doc_id);t=setInterval(async()=>{let e=await k(a);"FINISHED"===e?(clearInterval(t),b("FINISHED"),T.Ay.success("Congratulation, All files sync successfully."),r({label:"finish"})):"FAILED"===e&&(clearInterval(t),r({label:"finish"}))},3e3)}}};async function k(e){let[,s]=await (0,_.VbY)((0,_.MEh)(a,{doc_ids:e}));if((null==s?void 0:s.data)&&(null==s?void 0:s.data.length)>0){let e=[...d];if(null==s||s.data.map(a=>{var s;let t=null==e||null==(s=e.filter(e=>e.doc_id===a.id))?void 0:s[0];t&&(t.status=a.status)}),u(e),null==s?void 0:s.data.every(e=>"FINISHED"===e.status||"FAILED"===e.status))return"FINISHED"}}return(0,l.jsx)(m.A,{spinning:p,children:(0,l.jsxs)(v.A,{labelCol:{span:6},wrapperCol:{span:18},labelAlign:"right",form:c,size:"large",className:"mt-4",layout:"horizontal",name:"basic",autoComplete:"off",initialValues:{fileStrategies:d},onFinish:N,children:[g&&g.length?(0,l.jsx)(v.A.List,{name:"fileStrategies",children:e=>{switch(s){case"TEXT":case"URL":case"YUQUEURL":return null==e?void 0:e.map(e=>(0,l.jsx)(J,{strategies:g,docType:s,fileName:d[e.name].name,field:e},e.key));case"DOCUMENT":return(0,l.jsx)(G.A,{defaultActiveKey:0,size:d.length>5?"small":"middle",children:null==e?void 0:e.map(e=>(0,l.jsx)(G.A.Panel,{header:"".concat(e.name+1,". ").concat(d[e.name].name),extra:function(e){switch(d[e].status){case"FINISHED":return(0,l.jsx)(B.A,{component:z.eq});case"RUNNING":return(0,l.jsx)(B.A,{className:"animate-spin animate-infinite",component:z.Fj});case"FAILED":return(0,l.jsx)(B.A,{component:z.f6});default:return(0,l.jsx)(B.A,{component:z.tU})}}(e.name),children:(0,l.jsx)(J,{strategies:g,docType:s,fileName:d[e.name].name,field:e})},e.key))})}}}):(0,l.jsx)(H.A,{message:"Cannot find one strategy for ".concat(s," type knowledge."),type:"warning"}),(0,l.jsxs)(v.A.Item,{className:"mt-4",children:[(0,l.jsx)(h.Ay,{onClick:()=>{r({label:"back"})},className:"mr-4",children:"".concat(i("Back"))}),(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",loading:p||"RUNNING"===f,children:i("Process")})]})]})})}var $=s(53867),ee=s(60924),ea=s(47562),es=s(13993),et=s(18610),el=s(81106),en=s(49636),er=s(44641),ei=s(3475),ec=s(54099),eo=s(67850),ed=s(97540),em=s(19696),eu=s(36768),eh=s(94600),ep=s(92611),ex=s(56200),ej=s(40102);let eg=e=>{let{open:a,setOpen:s,space:t}=e,[n]=v.A.useForm(),[r]=v.A.useForm(),{run:i}=(0,ec.A)(async()=>{let[,e]=await (0,_.VbY)((0,_.CfE)(t.name+""));return null!=e?e:[]},{manual:!0}),{data:c=[],run:x}=(0,ec.A)(async()=>{let[,e]=await (0,_.VbY)((0,_.T1M)(t.name+""));return null!=e?e:[]},{manual:!0,onSuccess:e=>{r.setFieldValue("recall_retrievers",e)}});(0,o.useEffect)(()=>{a&&x()},[a,x,i]);let{run:j,data:g=[],loading:A}=(0,ec.A)(async e=>{let[,a]=await (0,_.VbY)((0,_.K8t)({...e},t.name+""));return null!=a?a:[]},{manual:!0}),f=async()=>{n.validateFields().then(async e=>{let a=r.getFieldsValue();await j({recall_top_k:1,recall_retrievers:c,...e,...a})})};return(0,l.jsxs)(d.A,{title:"召回测试",width:"60%",open:a,footer:!1,onCancel:()=>s(!1),centered:!0,destroyOnHidden:!0,children:[(0,l.jsx)(V.A,{title:"召回配置",size:"small",className:"my-4",extra:(0,l.jsx)(ex.A,{placement:"bottomRight",trigger:"hover",title:"向量检索设置",content:(0,l.jsxs)(v.A,{form:r,initialValues:{recall_top_k:1},children:[(0,l.jsx)(v.A.Item,{label:"Topk",tooltip:"基于相似度得分的前 k 个向量",name:"recall_top_k",children:(0,l.jsx)(K.A,{placeholder:"请输入",className:"w-full"})}),(0,l.jsx)(v.A.Item,{label:"召回方法",name:"recall_retrievers",children:(0,l.jsx)(k.A,{mode:"multiple",options:c.map(e=>({label:e,value:e})),className:"w-full",allowClear:!0,disabled:!0})}),(0,l.jsx)(v.A.Item,{label:"score阈值",name:"recall_score_threshold",children:(0,l.jsx)(K.A,{placeholder:"请输入",className:"w-full",step:.1})})]}),children:(0,l.jsx)(ep.A,{className:"text-lg"})}),children:(0,l.jsx)(v.A,{form:n,layout:"vertical",onFinish:f,children:(0,l.jsx)(v.A.Item,{label:"测试问题",required:!0,name:"question",rules:[{required:!0,message:"请输入测试问题"}],className:"m-0 p-0",children:(0,l.jsxs)("div",{className:"flex w-full items-center gap-8",children:[(0,l.jsx)(u.A,{placeholder:"请输入测试问题",autoComplete:"off",allowClear:!0,className:"w-1/2"}),(0,l.jsx)(h.Ay,{type:"primary",htmlType:"submit",children:"测试"})]})})})}),(0,l.jsx)(V.A,{title:"召回结果",size:"small",children:(0,l.jsx)(m.A,{spinning:A,children:g.length>0?(0,l.jsx)("div",{className:"flex flex-col overflow-y-auto",style:{height:"45vh"},children:g.map(e=>(0,l.jsx)(V.A,{title:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsxs)(p.A,{color:"blue",children:["# ",e.chunk_id]}),e.metadata.source]}),extra:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"font-semibold",children:"score:"}),(0,l.jsx)("span",{className:"text-blue-500",children:e.score})]}),size:"small",className:"mb-4 border-gray-500 shadow-md",children:(0,l.jsx)(ej.default,{children:e.content})},e.chunk_id))}):(0,l.jsx)(eu.A,{})})})]})};var eA=s(19361),e_=s(74947),ef=s(23512),eb=s(47739),ey=s(52917),eN=s(25953);let{TextArea:ev}=u.A;function ek(e){let{space:a,argumentsShow:s,setArgumentsShow:t}=e,{t:n}=(0,j.Bd)(),[r,i]=(0,o.useState)(),[c,p]=(0,o.useState)(!1),x=async()=>{let[e,s]=await (0,_.VbY)((0,_.lwI)(a.name));i(s)};(0,o.useEffect)(()=>{x()},[a.name]);let g=[{key:"Embedding",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(eb.A,{}),n("Embedding")]}),children:(0,l.jsxs)(eA.A,{gutter:24,children:[(0,l.jsx)(e_.A,{span:12,offset:0,children:(0,l.jsx)(v.A.Item,{tooltip:n("the_top_k_vectors"),rules:[{required:!0}],label:n("topk"),name:["embedding","topk"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("Set_a_threshold_score"),rules:[{required:!0}],label:n("recall_score"),name:["embedding","recall_score"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:"请输入"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("recall_type"),rules:[{required:!0}],label:n("recall_type"),name:["embedding","recall_type"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("A_model_used"),rules:[{required:!0}],label:n("model"),name:["embedding","model"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("The_size_of_the_data_chunks"),rules:[{required:!0}],label:n("chunk_size"),name:["embedding","chunk_size"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12"})})}),(0,l.jsx)(e_.A,{span:12,children:(0,l.jsx)(v.A.Item,{tooltip:n("The_amount_of_overlap"),rules:[{required:!0}],label:n("chunk_overlap"),name:["embedding","chunk_overlap"],children:(0,l.jsx)(u.A,{className:"mb-5 h-12",placeholder:n("Please_input_the_description")})})})]})},{key:"Prompt",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(ey.A,{}),n("Prompt")]}),children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{tooltip:n("A_contextual_parameter"),label:n("scene"),name:["prompt","scene"],children:(0,l.jsx)(ev,{rows:4,className:"mb-2"})}),(0,l.jsx)(v.A.Item,{tooltip:n("structure_or_format"),label:n("template"),name:["prompt","template"],children:(0,l.jsx)(ev,{rows:7,className:"mb-2"})}),(0,l.jsx)(v.A.Item,{tooltip:n("The_maximum_number_of_tokens"),label:n("max_token"),name:["prompt","max_token"],children:(0,l.jsx)(u.A,{className:"mb-2"})})]})},{key:"Summary",label:(0,l.jsxs)("div",{children:[(0,l.jsx)(eN.A,{}),n("Summary")]}),children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A.Item,{rules:[{required:!0}],label:n("max_iteration"),name:["summary","max_iteration"],children:(0,l.jsx)(u.A,{className:"mb-2"})}),(0,l.jsx)(v.A.Item,{rules:[{required:!0}],label:n("concurrency_limit"),name:["summary","concurrency_limit"],children:(0,l.jsx)(u.A,{className:"mb-2"})})]})}],A=async e=>{p(!0);let[,,s]=await (0,_.VbY)((0,_.GEp)(a.name,{argument:JSON.stringify(e)}));p(!1),(null==s?void 0:s.success)&&t(!1)};return(0,l.jsx)(d.A,{width:850,open:s,onCancel:()=>{t(!1)},footer:null,children:(0,l.jsx)(m.A,{spinning:c,children:(0,l.jsxs)(v.A,{size:"large",className:"mt-4",layout:"vertical",name:"basic",initialValues:{...r},autoComplete:"off",onFinish:A,children:[(0,l.jsx)(ef.A,{items:g}),(0,l.jsxs)("div",{className:"mt-3 mb-3",children:[(0,l.jsx)(h.Ay,{htmlType:"submit",type:"primary",className:"mr-6",children:n("Submit")}),(0,l.jsx)(h.Ay,{onClick:()=>{t(!1)},children:n("close")})]})]})})})}let{confirm:ew}=d.A,eI=e=>{let{name:a,id:s}=e,[t,n]=(0,o.useState)(!1),{t:r}=(0,j.Bd)(),i=async(e,a)=>{var s;n(!0);let t=await (0,_.VbY)((0,_.PsV)(e,{doc_ids:[a]}));n(!1),(null==(s=t[2])?void 0:s.success)&&T.Ay.success(r("Synchronization_initiated"))};return t?(0,l.jsx)(m.A,{indicator:(0,l.jsx)($.A,{spin:!0})}):(0,l.jsxs)(eo.A,{onClick:()=>{i(a,s)},children:[(0,l.jsx)(ee.A,{}),(0,l.jsx)("span",{children:r("Sync")})]})};function eC(e){var a;let[s]=v.A.useForm(),{space:t,addStatus:c}=e,{t:x}=(0,j.Bd)(),g=(0,N.useRouter)(),[A,f]=(0,o.useState)([]),[b,k]=(0,o.useState)([]),[w,C]=(0,o.useState)(!1),[S,E]=(0,o.useState)(0),[U,D]=(0,o.useState)(!1),[q,P]=(0,o.useState)(),[R,L]=(0,o.useState)(!1),O=(0,o.useRef)(1),M=(0,o.useMemo)(()=>(null==A?void 0:A.length)await (0,_.VbY)((0,_.MEh)(t.name,{page:O.current,page_size:18})),{manual:!0,onSuccess:e=>{let[,a]=e;f(null==a?void 0:a.data),k(null==a?void 0:a.data),E((null==a?void 0:a.total)||0)}}),G=async()=>{if(!M)return;O.current+=1;let[e,a]=await (0,_.VbY)((0,_.MEh)(t.name,{page:O.current,page_size:18}));f([...A,...a.data]),k([...A,...a.data])},K=async a=>{await (0,_.VbY)((0,_.Tut)(t.name,{doc_name:a.doc_name})),z(),e.onDeleteDoc()},X=()=>{e.onAddDoc(t.name)};(0,o.useEffect)(()=>{z()},[]),(0,o.useEffect)(()=>{"finish"===c&&z()},[c]);let{run:Q,loading:W}=(0,ec.A)(async(e,a)=>{let[,s]=await (0,_.VbY)((0,_.msy)(t.name,{doc_name:a}));return s},{manual:!0,debounceWait:500,onSuccess:e=>{k(null==e?void 0:e.data)}}),{run:J,loading:Z}=(0,ec.A)(async a=>{var s;return await (0,_.mrB)(e.space.name,{questions:null==(s=a.questions)?void 0:s.map(e=>e.question),doc_id:(null==q?void 0:q.id)||"",doc_name:a.doc_name})},{manual:!0,onSuccess:async e=>{e.data.success?(T.Ay.success(x("Edit_Success")),await z(),D(!1)):T.Ay.error(e.data.err_msg)}});return(0,o.useEffect)(()=>{var e;q&&s.setFieldsValue({doc_name:q.doc_name,questions:null==(e=q.questions)?void 0:e.map(e=>({question:e}))})},[q,s]),(0,l.jsxs)("div",{className:"px-4",children:[(0,l.jsxs)(eo.A,{children:[(0,l.jsx)(h.Ay,{size:"middle",type:"primary",className:"flex items-center",icon:(0,l.jsx)(i.A,{}),onClick:X,children:x("Add_Datasource")}),(0,l.jsx)(h.Ay,{size:"middle",className:"flex items-center mx-2",icon:(0,l.jsx)(en.A,{}),onClick:()=>{C(!0)},children:"Arguments"}),"KnowledgeGraph"===t.vector_type&&(0,l.jsx)(h.Ay,{size:"middle",className:"flex items-center mx-2",icon:(0,l.jsx)(er.A,{}),onClick:()=>{g.push("/knowledge/graph/?spaceName=".concat(t.name))},children:x("View_Graph")}),(0,l.jsx)(h.Ay,{icon:(0,l.jsx)(ei.A,{}),onClick:()=>L(!0),children:x("Recall_test")})]}),(0,l.jsx)(eh.A,{}),(0,l.jsx)(m.A,{spinning:H,children:(0,l.jsxs)("div",{className:"w-full h-full",children:[(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("div",{className:"flex w-full justify-end",children:(0,l.jsx)(h.Ay,{type:"primary",onClick:async()=>{await B()},loading:H,children:x("Refresh_status")})})}),(0,l.jsx)("div",{className:"flex flex-col h-full p-3 border rounded-md",children:(null==A?void 0:A.length)>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-1 justify-between items-center",children:(0,l.jsx)(u.A,{className:"w-1/3",prefix:(0,l.jsx)(r.A,{}),placeholder:x("please_enter_the_keywords"),onChange:async e=>{await Q(t.id,e.target.value)},allowClear:!0})}),(0,l.jsxs)(m.A,{spinning:W,children:[(0,l.jsx)(l.Fragment,{children:b.length>0?(0,l.jsx)("div",{className:"h-96 mt-3 grid grid-cols-3 gap-x-6 gap-y-5 overflow-y-auto",children:b.map(e=>(0,l.jsxs)(V.A,{className:" dark:bg-[#484848] relative shrink-0 grow-0 cursor-pointer rounded-[10px] border border-gray-200 border-solid w-full max-h-64",title:(0,l.jsx)(ed.A,{title:e.doc_name,children:(0,l.jsxs)("div",{className:"truncate ",children:[(0,l.jsx)(Y,{type:e.doc_type}),(0,l.jsx)("span",{children:e.doc_name})]})}),extra:(0,l.jsx)(em.A,{menu:{items:[{key:"publish",label:(0,l.jsxs)(eo.A,{onClick:()=>{g.push("/knowledge/chunk/?spaceName=".concat(t.name,"&id=").concat(e.id))},children:[(0,l.jsx)(ea.A,{}),(0,l.jsx)("span",{children:x("detail")})]})},{key:"".concat(x("Sync")),label:(0,l.jsx)(eI,{name:t.name,id:e.id})},{key:"edit",label:(0,l.jsxs)(eo.A,{onClick:()=>{D(!0),P(e)},children:[(0,l.jsx)(es.A,{}),(0,l.jsx)("span",{children:x("Edit")})]})},{key:"del",label:(0,l.jsxs)(eo.A,{onClick:()=>{ew({title:x("Tips"),icon:(0,l.jsx)(n.A,{}),content:"".concat(x("Del_Document_Tips"),"?"),okText:"Yes",okType:"danger",cancelText:"No",async onOk(){await K(e)}})},children:[(0,l.jsx)(et.A,{}),(0,l.jsx)("span",{children:x("Delete")})]})}]},getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,className:"rounded-md",children:(0,l.jsx)(el.A,{className:"p-2"})}),children:[(0,l.jsxs)("p",{className:"mt-2 font-semibold ",children:[x("Size"),":"]}),(0,l.jsxs)("p",{children:[e.chunk_size," chunks"]}),(0,l.jsxs)("p",{className:"mt-2 font-semibold ",children:[x("Last_Sync"),":"]}),(0,l.jsx)("p",{children:y()(e.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,l.jsx)("p",{className:"mt-2 mb-2",children:((e,a)=>{let s;switch(e){case"TODO":s="gold";break;case"RUNNING":s="#2db7f5";break;case"FINISHED":s="cyan";break;default:s="red"}return(0,l.jsx)(ed.A,{title:a,children:(0,l.jsx)(p.A,{color:s,children:e})})})(e.status,e.result)})]},e.id))}):(0,l.jsx)(eu.A,{className:"flex flex-1 w-full py-10 flex-col items-center justify-center",image:eu.A.PRESENTED_IMAGE_DEFAULT})}),M&&(0,l.jsx)(eh.A,{children:(0,l.jsx)("span",{className:"cursor-pointer",onClick:G,children:x("Load_more")})})]})]}):(0,l.jsx)(eu.A,{image:eu.A.PRESENTED_IMAGE_DEFAULT,children:(0,l.jsx)(h.Ay,{type:"primary",className:"flex items-center mx-auto",icon:(0,l.jsx)(i.A,{}),onClick:X,children:"Create Now"})})})]})}),(0,l.jsx)(ek,{space:t,argumentsShow:w,setArgumentsShow:C}),(0,l.jsx)(d.A,{title:x("Edit_document"),open:U,onCancel:()=>D(!1),destroyOnHidden:!0,footer:[(0,l.jsx)(h.Ay,{onClick:()=>D(!1),children:x("cancel")},"back"),(0,l.jsx)(h.Ay,{type:"primary",loading:Z,onClick:async()=>{let e=s.getFieldsValue();await J(e)},children:x("verify")},"submit")],children:(0,l.jsxs)(v.A,{form:s,initialValues:{doc_name:null==q?void 0:q.doc_name,questions:null==q||null==(a=q.questions)?void 0:a.map(e=>({question:e}))},children:[(0,l.jsx)(v.A.Item,{label:x("Document_name"),name:"doc_name",children:(0,l.jsx)(u.A,{})}),(0,l.jsx)(v.A.Item,{label:x("Correlation_problem"),children:(0,l.jsx)(v.A.List,{name:"questions",children:(e,a)=>{let{add:s,remove:t}=a;return(0,l.jsxs)(l.Fragment,{children:[e.map(e=>{let{key:a,name:s}=e;return(0,l.jsxs)("div",{className:F()("flex flex-1 items-center gap-8 mb-6"),children:[(0,l.jsx)(v.A.Item,{label:"",name:[s,"question"],className:"grow",children:(0,l.jsx)(u.A,{placeholder:"请输入"})}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(I.A,{onClick:()=>{t(s)}})})]},a)}),(0,l.jsx)(v.A.Item,{children:(0,l.jsx)(h.Ay,{type:"dashed",onClick:()=>{s({question:"",valid:!1})},block:!0,icon:(0,l.jsx)(i.A,{}),children:x("Add_problem")})})]})}})})]})}),(0,l.jsx)(eg,{open:R,setOpen:L,space:t})]})}function eS(){let[e,a]=(0,o.useState)([]),[s,t]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[v,k]=(0,o.useState)(),[I,C]=(0,o.useState)(0),[S,T]=(0,o.useState)(""),[E,U]=(0,o.useState)([]),[D,V]=(0,o.useState)(""),[P,R]=(0,o.useState)(""),[L,O]=(0,o.useState)(!1),[Y,z]=(0,o.useState)(null),{t:B}=(0,j.Bd)(),H=[{title:B("Knowledge_Space_Config")},{title:B("Choose_a_Datasource_type")},{title:B("Upload")},{title:B("Segmentation")}],G=(0,N.useRouter)();async function K(e){O(!0);let[s,t]=await (0,_.VbY)((0,_.HyB)({...e}));O(!1),a(t)}async function X(){let[e,a]=await (0,_.VbY)((0,_.zxN)());if(!a)return null;z(a.storage)}(0,o.useEffect)(()=>{K(),X()},[]);let Q=async e=>{let[a,s]=await (0,_.VbY)((0,_.j_h)({app_code:"chat_knowledge"}));(null==s?void 0:s.conv_uid)&&G.push("/chat?conv_uid=".concat(s.conv_uid,"&app_code=chat_knowledge&knowledge=").concat(e.knowledge_id))},W=e=>{let{label:a,spaceName:s,docType:l,files:n}=e;"finish"===a?(t(!1),K(),T(""),V(""),R("finish"),localStorage.removeItem("cur_space_id")):"forward"===a?(0===I&&K(),C(e=>e+1)):C(e=>e-1),n&&U(n),s&&T(s),l&&V(l)},J=async e=>{K({name:e.target.value})};return(0,l.jsxs)(m.A,{spinning:L,children:[(0,l.jsxs)("div",{className:"page-body p-4 md:p-6 h-screen ",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,l.jsx)("div",{className:"flex items-center gap-4",children:(0,l.jsx)(u.A,{variant:"filled",prefix:(0,l.jsx)(r.A,{}),placeholder:B("please_enter_the_keywords"),onChange:A()(J,300),allowClear:!0,className:"w-[230px] h-[40px] border-1 border-white backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60"})}),(0,l.jsx)("div",{className:"flex items-center gap-4",children:(0,l.jsx)(h.Ay,{className:"border-none text-white bg-button-gradient",icon:(0,l.jsx)(i.A,{}),onClick:()=>{t(!0)},children:B("create_knowledge")})})]}),(0,l.jsx)("div",{className:" mt-4 mx-[-8px] overflow-y-auto h-full pb-12",children:(0,l.jsx)("div",{className:"flex flex-wrap ",children:null==e?void 0:e.map(e=>(0,l.jsx)(f.Ay,{onClick:()=>{k(e),b(!0),localStorage.setItem("cur_space_id",JSON.stringify(e.id))},description:e.desc,name:e.name,logo:"FinancialReport"===e.domain_type?"/models/fin_report.jpg":"KnowledgeGraph"===e.vector_type?"/models/knowledge-graph.png":"FullText"===e.vector_type?"/models/knowledge-full-text.jpg":"/models/knowledge-default.jpg",RightTop:(0,l.jsx)(f._f,{menu:{items:[{key:"del",label:(0,l.jsx)("span",{className:"text-red-400",onClick:()=>{d.A.confirm({title:B("Tips"),icon:(0,l.jsx)(n.A,{}),content:"".concat(B("Del_Knowledge_Tips"),"?"),okText:"Yes",okType:"danger",cancelText:"No",async onOk(){await (0,_.VbY)((0,_.O_Y)({name:null==e?void 0:e.name})),K()}})},children:B("Delete")})}]}}),rightTopHover:!1,Tags:(0,l.jsxs)("div",{className:"flex item-center",children:[(0,l.jsx)(p.A,{children:(0,l.jsxs)("span",{className:"flex items-center gap-1",children:[(0,l.jsx)(c.A,{className:"mt-[1px]"}),e.docs]})}),(0,l.jsx)(p.A,{children:(0,l.jsx)("span",{className:"flex items-center gap-1",children:e.domain_type||"Normal"})}),e.vector_type?(0,l.jsx)(p.A,{children:(0,l.jsx)("span",{className:"flex items-center gap-1",children:e.vector_type})}):null]}),LeftBottom:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("span",{children:e.owner}),(0,l.jsx)("span",{children:"•"}),(null==e?void 0:e.gmt_modified)&&(0,l.jsx)("span",{children:y()(null==e?void 0:e.gmt_modified).fromNow()+" "+B("update")})]}),RightBottom:(0,l.jsx)(f.VV,{text:B("start_chat"),onClick:()=>{Q(e)}})},e.id))})})]}),(0,l.jsx)(d.A,{className:"h-5/6 overflow-hidden",open:g,width:"70%",onCancel:()=>b(!1),footer:null,destroyOnHidden:!0,children:(0,l.jsx)(eC,{space:v,onAddDoc:function(e){T(e),C(1),t(!0),R("start")},onDeleteDoc:K,addStatus:P})}),(0,l.jsxs)(d.A,{title:B("New_knowledge_base"),centered:!0,open:s,destroyOnHidden:!0,onCancel:()=>{t(!1)},width:1e3,afterClose:()=>{C(0),K()},footer:null,children:[(0,l.jsx)(x.A,{current:I,items:H}),0===I&&(0,l.jsx)(w,{handleStepChange:W,spaceConfig:Y}),1===I&&(0,l.jsx)(M,{handleStepChange:W}),(0,l.jsx)(q,{className:F()({hidden:2!==I}),spaceName:S,docType:D,handleStepChange:W}),3===I&&(0,l.jsx)(Z,{spaceName:S,docType:D,uploadFiles:E,handleStepChange:W})]})]})}},68803:(e,a,s)=>{Promise.resolve().then(s.bind(s,43539))},84182:(e,a,s)=>{"use strict";s.d(a,{Ay:()=>j,VV:()=>p,_f:()=>x});var t=s(95155),l=s(81106),n=s(6124),r=s(97540),i=s(94600),c=s(90797),o=s(19696),d=s(29300),m=s.n(d),u=s(91218),h=s(66766);s(12115),s(2785);let p=e=>{let{onClick:a,Icon:s="/pictures/card_chat.png",text:l,className:n}=e,{t:r}=(0,u.Bd)(),i=l||r("start_chat");return"string"==typeof s&&(s=(0,t.jsx)(h.default,{src:s,alt:s,width:17,height:15})),(0,t.jsxs)("button",{className:"flex items-center gap-1.5 text-sm rounded-full bg-gradient-to-r from-blue-500 to-indigo-500 text-white px-4 py-1.5 transition-all duration-200 hover:from-blue-600 hover:to-indigo-600 hover:shadow-md ".concat(n),onClick:e=>{e.stopPropagation(),a&&a()},children:[s&&(0,t.jsx)("span",{children:s}),(0,t.jsx)("span",{children:i})]})},x=e=>{let{menu:a}=e;return(0,t.jsx)(o.A,{menu:a,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,t.jsx)(l.A,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})},j=e=>{let{RightTop:a,Tags:s,LeftBottom:l,RightBottom:o,onClick:d,rightTopHover:u=!0,logo:h,name:p,description:x,className:j,scene:g,code:A}=e;return"string"==typeof x&&(x=(0,t.jsx)("p",{className:"line-clamp-2 relative bottom-3 text-ellipsis min-h-[40px] text-sm text-[#5a626d] dark:text-[rgba(255,255,255,0.7)] leading-relaxed mb-3",children:x})),(0,t.jsx)(n.A,{className:m()("hover-underline-gradient h-[280px] overflow-hidden transition-all duration-300 group cursor-pointer ring-1 ring-gray-200 dark:ring-gray-700 hover:ring-blue-300 dark:hover:ring-blue-500/50 hover:shadow-lg dark:hover:shadow-gray-900/20",j),onClick:d,styles:{body:{padding:"20px",background:"linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(240,244,255,0.2) 100%)",borderRadius:"12px",backdropFilter:"blur(10px)",backgroundClip:"padding-box",border:"1px solid rgba(255,255,255, 0.4)",height:"100%"}},children:(0,t.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,t.jsx)("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm p-1.5 ring-1 ring-gray-200 dark:ring-gray-700",children:(0,t.jsx)("img",{src:h,alt:p,className:"w-10 min-w-10 h-10 object-contain rounded-lg max-w-none",onError:e=>{let a=e.target;a.onerror=null,a.src="/icons/colorful-plugin.png"}})}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(r.A,{title:p,placement:"topLeft",children:(0,t.jsx)("h3",{className:"font-bold text-base text-gray-800 dark:text-gray-200 truncate mb-1",children:p})})})]}),(0,t.jsx)("div",{className:"mb-4",children:x})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-3",children:s}),(0,t.jsxs)("div",{className:"flex justify-between items-center mt-auto",children:[(0,t.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:l}),(0,t.jsx)("div",{children:o})]}),A&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.A,{className:"my-3"}),(0,t.jsx)(c.A.Text,{copyable:!0,className:"text-xs text-gray-500 dark:text-gray-500",children:A})]})]})]})})}},91070:(e,a,s)=>{"use strict";s.d(a,{BR:()=>r,zo:()=>n,UK:()=>t.UK,rA:()=>t.rA,cE:()=>t.cE,V:()=>t.V});var t=s(39740),l=s(12115);let n=(0,l.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),r=(0,l.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[1448,562,586,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,5388,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,6174,5912,7773,9960,1236,8441,5964,7358],()=>e(e.s=68803)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-45d5634694d40e59.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-6b41a224c0bd01f8.js similarity index 95% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-45d5634694d40e59.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-6b41a224c0bd01f8.js index 9e6fa504..cf89971f 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-45d5634694d40e59.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-6b41a224c0bd01f8.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{11605:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>eo});var s=a(95155),n=a(91070),r=a(67773),l=a(61475),i=a(44318),c=a(18610),o=a(68287),d=a(38962),h=a(60779),u=a(8365),m=a(3377),g=a(87344),x=a(3475),p=a(44634),f=a(92611),v=a(96848),y=a(40773),j=a(58735),k=a(3231),w=a(50747),b=a(54099),_=a(55887),A=a(17238),N=a(16467),S=a(90797),C=a(97540),I=a(29300),F=a.n(I),W=a(82940),L=a.n(W);a(8105);var D=a(66766),E=a(6874),V=a.n(E),z=a(35695),M=a(12115),P=a(91218),O=a(18301),U=a(94855),B=a(86475),K=a(31747),G=a(40027),H=a(18375);let T=e=>{var t,a;let{value:n,isStow:r=!1,defaultOpen:l=!1}=e,{isActive:i=!1}=n||{},[c,o]=(0,M.useState)(i||l);return(0,M.useEffect)(()=>{o(i||l)},[i,l]),(0,s.jsxs)("div",{children:[(0,s.jsxs)(H.A,{onClick:()=>{o(!c)},className:F()("flex items-center w-full h-10 px-0 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-md pl-2",r&&"hover:p-0"),children:[r?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(V(),{className:F()("h-10 flex items-center"),href:null!=(a=null==n?void 0:n.path)?a:"#",children:null==n?void 0:n.icon},null==n?void 0:n.key)}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mr-2 w-6 h-6",children:null==n?void 0:n.icon}),(0,s.jsx)("span",{className:"text-sm",children:null==n?void 0:n.name})]}),c?(0,s.jsx)(B.A,{}):(0,s.jsx)(K.A,{})]}),(0,s.jsx)(G.A,{in:c,timeout:"auto",unmountOnExit:!0,children:(0,s.jsx)("div",{className:"flex flex-col ml-10 mt-1 items-center",children:null==n||null==(t=n.children)?void 0:t.map(e=>(null==e?void 0:e.hideInMenu)?(0,s.jsx)(s.Fragment,{}):r?(0,s.jsx)(V(),{className:F()("h-12 flex items-center","mr-3",(null==e?void 0:e.isActive)&&"text-cyan-500"),href:(null==e?void 0:e.path)||"#",children:null==e?void 0:e.icon},e.key):(0,s.jsxs)(V(),{href:(null==e?void 0:e.path)||"#",className:F()("flex items-center w-full h-9 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-md pl-2",{"bg-white rounded-md dark:bg-black":e.isActive}),children:[(0,s.jsx)("div",{className:F()("mr-2",(null==e?void 0:e.isActive)&&"text-cyan-500"),children:e.icon}),(0,s.jsx)("span",{className:"text-[12px] text-black",children:e.name})]},e.key))})})]})};var R=a(28562);let Y=function(e){let{onlyAvatar:t=!1}=e,[a,n]=(0,M.useState)();return(0,M.useEffect)(()=>{try{var e;let t=JSON.parse(null!=(e=localStorage.getItem(l.Gm))?e:"");n(t)}catch(e){return}},[]),(0,s.jsx)("div",{className:F()("flex flex-1 items-center",{"justify-center":t,"justify-start":!t}),children:(0,s.jsx)("div",{className:F()("flex items-center group w-full",{"justify-center":t,"justify-start":!t}),children:(0,s.jsxs)("span",{className:"flex gap-2 items-center overflow-hidden",children:[(0,s.jsx)(R.A,{src:null==a?void 0:a.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer shrink-0",children:null==a?void 0:a.nick_name}),(0,s.jsx)("span",{className:F()("text-sm truncate font-medium text-gray-700 dark:text-gray-200",{hidden:t}),children:null==a?void 0:a.nick_name})]})})})};var J=a(69068),q=a.n(J);let Q=e=>{var t,a;let{item:l,refresh:o,historyLoading:d,loading:h}=e,{t:u}=(0,P.Bd)(),m=(0,z.useRouter)(),g=(0,z.useSearchParams)(),x=null!=(t=null==g?void 0:g.get("conv_uid"))?t:"",p=null!=(a=null==g?void 0:g.get("app_code"))?a:"",{modal:f,message:v}=_.A.useApp(),{refreshDialogList:y}=(0,M.useContext)(n.UK);if(h)return(0,s.jsxs)(A.A,{align:"center",className:"w-full h-10 px-3 rounded-lg mb-1",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-lg mr-3",children:(0,s.jsx)(N.A,{size:"small"})}),(0,s.jsx)("div",{className:"flex-1 min-w-0",children:(0,s.jsx)("div",{className:"h-4 bg-gray-200 rounded animate-pulse"})})]});let j=x===l.conv_uid&&p===l.app_code;return(0,s.jsx)(A.A,{align:"center",className:F()("group/item w-full cursor-pointer relative max-w-full my-0.5"),onClick:()=>{d||m.push("/chat/?conv_uid=".concat(l.conv_uid,"&app_code=").concat(l.app_code))},children:(0,s.jsxs)("div",{className:F()("flex-1 flex flex-row min-w-0 overflow-hidden hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg px-3 py-2 transition-colors duration-200",{"bg-gray-100 dark:bg-gray-800":j}),children:[(0,s.jsx)("div",{className:"mr-3 flex-shrink-0",children:(0,s.jsx)(U.A,{className:"w-5 h-5 text-gray-500 dark:text-gray-400"})}),(0,s.jsx)("div",{className:"flex-1 min-w-0 overflow-hidden",children:(0,s.jsx)(S.A.Text,{ellipsis:{tooltip:!0},className:F()("block text-sm font-normal",j?"text-gray-900 dark:text-white":"text-gray-600 dark:text-gray-400"),children:l.label})}),(0,s.jsxs)("div",{className:"flex gap-1 ml-1 flex-shrink-0 items-center",children:[(0,s.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0 transition-opacity",onClick:e=>{e.stopPropagation()},children:(0,s.jsx)(i.A,{className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-200",style:{fontSize:14},onClick:()=>{let e=q()("".concat(location.origin,"/chat?scene=").concat(l.chat_mode,"&id=").concat(l.conv_uid));v[e?"success":"error"](e?u("copy_success"):u("copy_failed"))}})}),(0,s.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0 transition-opacity",onClick:e=>{e.stopPropagation(),f.confirm({title:u("delete_chat"),content:u("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,r.VbY)((0,r.a82)(l.conv_uid));e||(y&&await y(),m.push("/chat"))}})},children:(0,s.jsx)(c.A,{className:"text-gray-400 hover:text-red-500",style:{fontSize:14}})})]})]})})},X=function(){let{isMenuExpand:e,setIsMenuExpand:t,mode:a,setMode:i,dialogueList:c}=(0,M.useContext)(n.UK),_=(0,z.usePathname)(),{t:A,i18n:N}=(0,P.Bd)(),[S,I]=(0,M.useState)("/logo_zh_latest.png"),[W,E]=(0,M.useState)([]),[U,B]=(0,M.useState)([]),[K,G]=(0,M.useState)(""),H=(0,M.useCallback)(()=>{t(!e)},[e,t]),R=(0,M.useCallback)(()=>{let e="light"===a?"dark":"light";i(e),localStorage.setItem(l.Mt,e)},[a,i]),{run:J,loading:q}=(0,b.A)(async e=>await (0,r.VbY)((0,r.uhS)(e)),{manual:!0,onSuccess:e=>{e&&e[1]?B(e[1].map(e=>({key:null==e?void 0:e.conv_uid,name:e.user_input||e.select_param,path:"/",dialogue:e}))):B([])}});(0,M.useEffect)(()=>{X()},[]);let{run:X,loading:Z}=(0,b.A)(async()=>{let[e,t]=await (0,r.VbY)((0,r.eHG)({page:1,page_size:10,published:!0}));return t},{manual:!0,onSuccess:e=>{e&&E(e.app_list||[])}}),$=(0,M.useCallback)(()=>{let e="en"===N.language?"zh":"en";N.changeLanguage(e),"zh"===e&&L().locale("zh-cn"),"en"===e&&L().locale("en"),localStorage.setItem(l.Vp,e)},[N]),ee=(0,M.useMemo)(()=>[{key:"language",name:A("language"),icon:(0,s.jsx)(o.A,{}),items:[{key:"en",label:(0,s.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,s.jsxs)("span",{className:"flex gap-2",children:[(0,s.jsx)(D.default,{src:"/icons/english.png",alt:"english",width:21,height:21}),(0,s.jsx)("span",{children:"English"})]}),(0,s.jsx)("span",{className:F()({block:"en"===N.language,hidden:"en"!==N.language}),children:"✓"})]})},{key:"zh",label:(0,s.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,s.jsxs)("span",{className:"flex gap-2",children:[(0,s.jsx)(D.default,{src:"/icons/zh.png",alt:"english",width:21,height:21}),(0,s.jsx)("span",{children:"简体中文"})]}),(0,s.jsx)("span",{className:F()({block:"zh"===N.language,hidden:"zh"!==N.language}),children:"✓"})]})}],onSelect:e=>{let{key:t}=e;N.language!==t&&(N.changeLanguage(t),"zh"===t&&L().locale("zh-cn"),"en"===t&&L().locale("en"),localStorage.setItem(l.Vp,t))},onClick:$,defaultSelectedKeys:[N.language]},{key:"fold",name:A(e?"Close_Sidebar":"Show_Sidebar"),icon:e?(0,s.jsx)(d.A,{}):(0,s.jsx)(h.A,{}),onClick:H,noDropdownItem:!0}],[A,a,R,N,$,e,H,i]),et=async e=>{let[,t]=await (0,r.VbY)((0,r.j_h)({app_code:e.app_code}));t&&window.open("/chat/?app_code=".concat(e.app_code,"&conv_uid=").concat(t.conv_uid,"&isNew=true"),"_blank")},ea=(0,z.useSearchParams)(),es=(0,M.useMemo)(()=>{let e=null==ea?void 0:ea.get("app_code"),t=!!(null==ea?void 0:ea.get("isNew"));return W.map(a=>({key:a.app_code,name:a.app_name,icon:(0,s.jsx)(D.default,{src:a.icon||"/pictures/chat.png",alt:"chat_image",width:24,height:24,className:"rounded-md"},"image_chat"),path:"/",app:a,isActive:_.startsWith("/chat")&&e===a.app_code&&t}))},[W,_,ea]);(0,M.useEffect)(()=>{c&&c[1]&&B(c[1].map(e=>({key:null==e?void 0:e.conv_uid,name:e.user_input||e.select_param,path:"/",dialogue:e})))},[c]);let en=(0,M.useMemo)(()=>(null==ea||ea.get("app_code"),[{key:"application",name:A("application"),icon:(0,s.jsx)(u.A,{className:"w-5 h-5 text-gray-500"}),path:"/",children:[{key:"explore",name:A("explore_agents"),isActive:_.startsWith("/application/explore"),icon:(0,s.jsx)(m.A,{className:"w-5 h-5 text-gray-500"}),path:"/application/explore"},{key:"agents",name:A("Agents"),isActive:_.startsWith("/application/app"),icon:(0,s.jsx)(g.A,{className:"w-5 h-5 text-gray-500"}),path:"/application/app"},{key:"agent_skills",name:A("agent_skills"),isActive:_.startsWith("/agent-skills"),icon:(0,s.jsx)(x.A,{className:"w-5 h-5 text-gray-500"}),path:"/agent-skills"},{key:"MCP",name:"MCP",isActive:_.startsWith("/mcp"),icon:(0,s.jsx)(p.A,{className:"w-5 h-5 text-gray-500"}),path:"/mcp"}],isActive:_.startsWith("/application")||_.startsWith("/agent-skills")||_.startsWith("/mcp")},{key:"configuration_management",name:A("configuration_management"),icon:(0,s.jsx)(f.A,{}),path:"/",children:[{key:"models",name:A("model_manage"),isActive:_.startsWith("/models"),icon:(0,s.jsx)(v.A,{component:O.A,className:"w-5 h-5 text-gray-500"}),path:"/models"},{key:"knowledge",name:A("Knowledge_Space"),isActive:_.startsWith("/knowledge"),icon:(0,s.jsx)(y.A,{className:"w-5 h-5 text-gray-500"}),path:"/knowledge"},{key:"prompt",name:A("Prompt"),isActive:_.startsWith("/prompt"),icon:(0,s.jsx)(j.A,{className:"w-5 h-5 text-gray-500"}),path:"/prompt"},{key:"cron",name:A("cron_page_title"),isActive:_.startsWith("/cron"),icon:(0,s.jsx)(k.A,{className:"w-5 h-5 text-gray-500"}),path:"/cron"},{key:"channel",name:A("channel_page_title"),isActive:_.startsWith("/channel"),icon:(0,s.jsx)(w.A,{className:"w-5 h-5 text-gray-500"}),path:"/channel"},{key:"vis_merge_test",name:"GUI",isActive:_.startsWith("/vis-merge-test"),icon:(0,s.jsx)(x.A,{className:"w-5 h-5 text-gray-500"}),path:"/vis-merge-test"}],isActive:_.startsWith("/models")||_.startsWith("/knowledge")||_.startsWith("/prompt")||_.startsWith("/vis-merge-test")||_.startsWith("/cron")||_.startsWith("/channel")}]),[A,_,es]);return((0,M.useEffect)(()=>{let e=N.language;"zh"===e&&L().locale("zh-cn"),"en"===e&&L().locale("en")},[]),(0,M.useEffect)(()=>{I("dark"===a?"/logo_s_latest.png":"/logo_zh_latest.png")},[a]),e)?(0,s.jsxs)("div",{className:F()("flex flex-col justify-between flex-1 pt-3 overflow-hidden h-screen","bg-[#F9FAFB] dark:bg-[#111] border-r border-gray-100 dark:border-gray-800","animate-fade animate-duration-300 max-w-[260px] w-[260px]"),children:[(0,s.jsxs)("div",{className:"flex flex-col w-full px-4",children:[(0,s.jsx)(V(),{href:"/",className:"flex flex-row justify-between items-center mb-2 pl-1",children:(0,s.jsx)(D.default,{src:e?S:"/LOGO_SMALL.png",alt:"DB-GPT",width:120,height:30,className:"object-contain"})}),(0,s.jsxs)(V(),{href:"/chat",className:"flex items-center gap-2 px-3 py-2 mb-4 bg-white dark:bg-[#1F1F1F] hover:bg-gray-50 dark:hover:bg-[#2A2A2A] border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm transition-all group",children:[(0,s.jsx)("div",{className:"w-5 h-5 flex items-center justify-center text-gray-500 group-hover:text-blue-500 transition-colors",children:(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M12 4V20M4 12H20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("span",{className:"font-medium text-gray-700 dark:text-gray-200 text-sm",children:"新对话"})]}),(0,s.jsx)("div",{className:"flex flex-col w-full space-y-1 mb-6",children:en.map(e=>{var t;return(null==e?void 0:e.children)?(0,s.jsx)(T,{value:e,isStow:!1,defaultOpen:"configuration_management"===e.key},e.key):e.app?(0,s.jsxs)("div",{onClick:()=>et(e.app),className:F()("flex items-center w-full h-9 cursor-pointer px-3 rounded-lg transition-all duration-200",e.isActive?"bg-gray-200/50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium":"text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800"),children:[(0,s.jsx)("div",{className:"mr-3 w-5 h-5 flex-shrink-0 flex items-center justify-center opacity-80",children:e.icon}),(0,s.jsx)("span",{className:"text-sm truncate",children:e.name})]},e.key+Date.now()):(0,s.jsxs)(V(),{href:null!=(t=e.path)?t:"/",className:F()("flex items-center w-full h-9 cursor-pointer px-3 rounded-lg transition-all duration-200",e.isActive?"bg-gray-200/50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium":"text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800","application"===e.key?"mt-4":""),children:[(0,s.jsx)("div",{className:"mr-3 w-5 h-5 flex-shrink-0 flex items-center justify-center opacity-80",children:e.icon}),(0,s.jsx)("span",{className:"text-sm truncate",children:A(e.name)})]},e.key)})})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col overflow-hidden px-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2 px-3",children:[(0,s.jsx)("span",{children:A("chat_history")}),(0,s.jsx)(m.A,{className:"cursor-pointer hover:text-gray-600"})]}),(0,s.jsx)("div",{className:"flex-1 overflow-y-auto -mx-2 px-2 custom-scrollbar pr-1",style:{maxHeight:"calc(100vh - 380px)"},children:q?Array.from({length:3}).map((e,t)=>(0,s.jsx)(Q,{item:{},order:{current:0},loading:!0},"loading-".concat(t))):U.length>0?Object.entries(U.reduce((e,t)=>{let a=t.dialogue.gmt_created||t.dialogue.gmt_modified;if(a){let s=(e=>{let t=L()(e),a=t.clone().startOf("week");t.clone().endOf("week");let s=L()();if(s.isSame(a,"week"))return A("this_week");if(s.clone().subtract(1,"week").isSame(a,"week"))return A("last_week");let n=Math.floor(s.diff(a,"weeks"));return"".concat(n," ").concat(A("weeks_ago"))})(a);e[s]||(e[s]=[]),e[s].push(t)}else e[A("unknown")]||(e[A("unknown")]=[]),e[A("unknown")].push(t);return e},{})).sort((e,t)=>{let a=[A("this_week"),A("last_week"),A("weeks_ago"),A("unknown")],s=a.findIndex(t=>e[0].startsWith(t)),n=a.findIndex(e=>t[0].startsWith(e));return(-1===s?999:s)-(-1===n?999:n)}).map((e,t)=>{let[a,n]=e;return(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("div",{className:"flex items-center px-3 mb-2",children:(0,s.jsx)("span",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider",children:a})}),n.map(e=>(0,s.jsx)(Q,{item:{label:e.name||"Untitled",app_code:e.dialogue.app_code||"",...e.dialogue,default:!1},order:{current:0}},e.key))]},"group-".concat(t))}):(0,s.jsx)("div",{className:"px-4 text-gray-400 text-xs py-4 text-center",children:K?A("no_matching_session"):A("no_history_session")})})]}),(0,s.jsxs)("div",{className:"px-4 py-4 mt-2 border-t border-gray-100 dark:border-gray-800 bg-[#F9FAFB] dark:bg-[#111] flex items-center justify-between gap-2",children:[(0,s.jsx)("div",{className:"flex-1 min-w-0 overflow-hidden",children:(0,s.jsx)(Y,{})}),(0,s.jsx)("div",{className:"flex items-center gap-1 shrink-0",children:ee.map(e=>(0,s.jsx)(C.A,{title:e.name,placement:"top",children:(0,s.jsx)("div",{className:F()("w-8 h-8 flex items-center justify-center rounded-lg cursor-pointer transition-colors text-gray-500 hover:text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800",{"text-gray-300 cursor-not-allowed":e.disable}),onClick:e.onClick,children:e.icon})},e.key))})]})]}):(0,s.jsxs)("div",{className:"flex flex-col justify-between pt-3 h-screen bg-[#F9FAFB] dark:bg-[#111] border-r border-gray-100 dark:border-gray-800 animate-fade animate-duration-300 ",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(V(),{href:"/",className:"flex justify-center items-center pb-2",children:(0,s.jsx)(D.default,{src:e?S:"/LOGO_SMALL.png",alt:"DB-GPT",width:40,height:40})}),(0,s.jsx)("div",{className:"flex flex-col gap-3 items-center px-2",children:en.map(e=>(null==e?void 0:e.children)?(0,s.jsx)("div",{className:"w-10 h-10 flex items-center justify-center cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",onClick:()=>t(!0),children:e.icon}):e.app?(0,s.jsx)("div",{className:"h-10 w-10 flex items-center justify-center cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",onClick:()=>et(e.app),children:(0,s.jsx)("div",{className:"w-6 h-6 flex items-center justify-center",children:e.icon})},e.key+Date.now()):(0,s.jsx)(V(),{className:"h-10 w-10 flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",href:e.path||"#",children:(0,s.jsx)("div",{className:"w-5 h-5 flex items-center justify-center",children:e.icon})},e.key))})]}),(0,s.jsxs)("div",{className:"py-4 flex flex-col items-center gap-2",children:[(0,s.jsx)(Y,{onlyAvatar:!0}),ee.filter(e=>e.noDropdownItem).map(e=>(0,s.jsx)(C.A,{title:e.name,placement:"right",children:(0,s.jsx)("div",{className:"w-10 h-10 flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors",onClick:e.onClick,children:e.icon})},e.key))]})]})};var Z=a(79228),$=a(77133),ee=a(47867);let et=()=>(0,s.jsx)(ee.A.Group,{trigger:"hover",icon:(0,s.jsx)(Z.A,{}),children:(0,s.jsx)(ee.A,{icon:(0,s.jsx)($.A,{}),href:"http://docs.derisk.cn",target:"_blank",tooltip:"Doucuments"})});var ea=a(57845),es=a(4076),en=a(83730),er=a(78126),el=a.n(er);function ei(e){let{children:t}=e,{mode:a}=(0,M.useContext)(n.UK),{i18n:r}=(0,P.Bd)(),[i,c]=(0,M.useState)(!1);return((0,M.useEffect)(()=>{c(!0)},[]),(0,M.useEffect)(()=>{if(a){var e,t,s,n,r,l;null==(t=document.body)||null==(e=t.classList)||e.add(a),"light"===a?null==(n=document.body)||null==(s=n.classList)||s.remove("dark"):null==(l=document.body)||null==(r=l.classList)||r.remove("light")}},[a]),(0,M.useEffect)(()=>{if(i){var e;null==(e=r.changeLanguage)||e.call(r,window.localStorage.getItem(l.Vp)||"zh")}},[r,i]),i)?(0,s.jsx)("div",{children:t}):(0,s.jsx)(s.Fragment,{children:t})}function ec(e){let{children:t}=e,{mode:a}=(0,M.useContext)(n.UK),{i18n:r}=(0,P.Bd)(),[i,c]=(0,M.useState)(!1),[o,d]=(0,M.useState)(!1);(0,M.useEffect)(()=>{d(!0),h()},[]);let h=async()=>{let e={user_channel:"derisk",user_no:"001",nick_name:"derisk"};e&&(localStorage.setItem(l.Gm,JSON.stringify(e)),localStorage.setItem(l.DO,Date.now().toString()),c(!0))};return o&&i?(0,s.jsx)(ea.Ay,{locale:"en"===r.language?es.A:en.A,theme:{token:{colorPrimary:"#0C75FC",borderRadius:4},algorithm:void 0},children:(0,s.jsx)(_.A,{children:(0,s.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,s.jsx)(el(),{children:(0,s.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, maximum-scale=1"})}),(0,s.jsx)("div",{className:"transition-[width] duration-300 ease-in-out h-full flex flex-col",children:(0,s.jsx)(X,{})}),(0,s.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t}),(0,s.jsx)(et,{})]})})}):null}function eo(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",suppressHydrationWarning:!0,"data-theme":"light",className:"light",children:(0,s.jsx)("body",{suppressHydrationWarning:!0,className:"bg-[#FAFAFA] dark:bg-[#111]",children:(0,s.jsx)(M.Suspense,{fallback:(0,s.jsx)(_.A,{className:"w-screen h-screen flex items-center justify-center",children:(0,s.jsx)(N.A,{})}),children:(0,s.jsx)(n.rA,{children:(0,s.jsx)(ei,{children:(0,s.jsx)(ec,{children:t})})})})})})}a(89638),a(35786)},35786:()=>{},39740:(e,t,a)=>{"use strict";a.d(t,{UK:()=>c,V:()=>d,cE:()=>h,rA:()=>o});var s=a(95155),n=a(67773);a(61475);var r=a(54099),l=a(35695),i=a(12115);let c=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var t,a,o;let{children:d}=e,h=(0,l.useSearchParams)(),u=null!=(t=null==h?void 0:h.get("conv_uid"))?t:"",m=null!=(a=null==h?void 0:h.get("scene"))?a:"",g=null!=(o=null==h?void 0:h.get("db_param"))?o:"",[x,p]=(0,i.useState)(!1),[f,v]=(0,i.useState)("light"),[y,j]=(0,i.useState)("chat_dashboard"!==m),[k,w]=(0,i.useState)(g),[b,_]=(0,i.useState)(""),[A,N]=(0,i.useState)([]),[S,C]=(0,i.useState)(),[I,F]=(0,i.useState)("light"),[W,L]=(0,i.useState)(u),[D,E]=(0,i.useState)([]),[V,z]=(0,i.useState)({chat_scene:"",app_code:""}),{data:M=[]}=(0,r.A)(async()=>{let[,e]=await (0,n.VbY)((0,n.TzU)());return null!=e?e:[]}),{data:P=[],refresh:O,loading:U}=(0,r.A)(async()=>await (0,n.VbY)((0,n.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");z(e)}catch(e){z({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{v(M[0])},[M,null==M?void 0:M.length]),(0,i.useEffect)(()=>{u&&L(u)},[u]),(0,s.jsx)(c.Provider,{value:{isContract:x,isMenuExpand:y,scene:m,chatId:W,model:f,modelList:M,dbParam:k||g,agent:b,setAgent:_,mode:I,setMode:F,setModel:v,setIsContract:p,setIsMenuExpand:j,setDbParam:w,history:A,setHistory:N,docId:S,setDocId:C,currentDialogInfo:V,setCurrentDialogInfo:z,adminList:D,refreshDialogList:O,dialogueList:P},children:d})},d=(0,i.createContext)(null),h=(0,i.createContext)(null)},88721:(e,t,a)=>{Promise.resolve().then(a.bind(a,11605))},91070:(e,t,a)=>{"use strict";a.d(t,{BR:()=>l,zo:()=>r,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=a(39740),n=a(12115);let r=(0,n.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),l=(0,n.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[4523,586,1218,9259,9879,3320,6421,4099,797,6467,6766,5887,2991,6874,751,7773,9960,8441,5964,7358],()=>e(e.s=88721)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{11605:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>eo});var s=a(95155),n=a(91070),r=a(67773),l=a(61475),i=a(44318),c=a(18610),o=a(68287),d=a(38962),h=a(60779),u=a(8365),m=a(3377),g=a(87344),x=a(3475),p=a(44634),f=a(92611),v=a(96848),y=a(40773),j=a(58735),k=a(3231),w=a(50747),b=a(54099),_=a(55887),A=a(17238),N=a(16467),S=a(90797),C=a(97540),I=a(29300),F=a.n(I),W=a(82940),L=a.n(W);a(8105);var D=a(66766),E=a(6874),V=a.n(E),z=a(35695),M=a(12115),P=a(91218),O=a(18301),U=a(94855),B=a(86475),K=a(31747),G=a(40027),H=a(18375);let T=e=>{var t,a;let{value:n,isStow:r=!1,defaultOpen:l=!1}=e,{isActive:i=!1}=n||{},[c,o]=(0,M.useState)(i||l);return(0,M.useEffect)(()=>{o(i||l)},[i,l]),(0,s.jsxs)("div",{children:[(0,s.jsxs)(H.A,{onClick:()=>{o(!c)},className:F()("flex items-center w-full h-10 px-0 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-md pl-2",r&&"hover:p-0"),children:[r?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(V(),{className:F()("h-10 flex items-center"),href:null!=(a=null==n?void 0:n.path)?a:"#",children:null==n?void 0:n.icon},null==n?void 0:n.key)}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mr-2 w-6 h-6",children:null==n?void 0:n.icon}),(0,s.jsx)("span",{className:"text-sm",children:null==n?void 0:n.name})]}),c?(0,s.jsx)(B.A,{}):(0,s.jsx)(K.A,{})]}),(0,s.jsx)(G.A,{in:c,timeout:"auto",unmountOnExit:!0,children:(0,s.jsx)("div",{className:"flex flex-col ml-10 mt-1 items-center",children:null==n||null==(t=n.children)?void 0:t.map(e=>(null==e?void 0:e.hideInMenu)?(0,s.jsx)(s.Fragment,{}):r?(0,s.jsx)(V(),{className:F()("h-12 flex items-center","mr-3",(null==e?void 0:e.isActive)&&"text-cyan-500"),href:(null==e?void 0:e.path)||"#",children:null==e?void 0:e.icon},e.key):(0,s.jsxs)(V(),{href:(null==e?void 0:e.path)||"#",className:F()("flex items-center w-full h-9 cursor-pointer hover:bg-[#F1F5F9] dark:hover:bg-theme-dark hover:rounded-md pl-2",{"bg-white rounded-md dark:bg-black":e.isActive}),children:[(0,s.jsx)("div",{className:F()("mr-2",(null==e?void 0:e.isActive)&&"text-cyan-500"),children:e.icon}),(0,s.jsx)("span",{className:"text-[12px] text-black",children:e.name})]},e.key))})})]})};var R=a(28562);let Y=function(e){let{onlyAvatar:t=!1}=e,[a,n]=(0,M.useState)();return(0,M.useEffect)(()=>{try{var e;let t=JSON.parse(null!=(e=localStorage.getItem(l.Gm))?e:"");n(t)}catch(e){return}},[]),(0,s.jsx)("div",{className:F()("flex flex-1 items-center",{"justify-center":t,"justify-start":!t}),children:(0,s.jsx)("div",{className:F()("flex items-center group w-full",{"justify-center":t,"justify-start":!t}),children:(0,s.jsxs)("span",{className:"flex gap-2 items-center overflow-hidden",children:[(0,s.jsx)(R.A,{src:null==a?void 0:a.avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer shrink-0",children:null==a?void 0:a.nick_name}),(0,s.jsx)("span",{className:F()("text-sm truncate font-medium text-gray-700 dark:text-gray-200",{hidden:t}),children:null==a?void 0:a.nick_name})]})})})};var J=a(69068),q=a.n(J);let Q=e=>{var t,a;let{item:l,refresh:o,historyLoading:d,loading:h}=e,{t:u}=(0,P.Bd)(),m=(0,z.useRouter)(),g=(0,z.useSearchParams)(),x=null!=(t=null==g?void 0:g.get("conv_uid"))?t:"",p=null!=(a=null==g?void 0:g.get("app_code"))?a:"",{modal:f,message:v}=_.A.useApp(),{refreshDialogList:y}=(0,M.useContext)(n.UK);if(h)return(0,s.jsxs)(A.A,{align:"center",className:"w-full h-10 px-3 rounded-lg mb-1",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-6 h-6 rounded-lg mr-3",children:(0,s.jsx)(N.A,{size:"small"})}),(0,s.jsx)("div",{className:"flex-1 min-w-0",children:(0,s.jsx)("div",{className:"h-4 bg-gray-200 rounded animate-pulse"})})]});let j=x===l.conv_uid&&p===l.app_code;return(0,s.jsx)(A.A,{align:"center",className:F()("group/item w-full cursor-pointer relative max-w-full my-0.5"),onClick:()=>{d||m.push("/chat/?conv_uid=".concat(l.conv_uid,"&app_code=").concat(l.app_code))},children:(0,s.jsxs)("div",{className:F()("flex-1 flex flex-row min-w-0 overflow-hidden hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg px-3 py-2 transition-colors duration-200",{"bg-gray-100 dark:bg-gray-800":j}),children:[(0,s.jsx)("div",{className:"mr-3 flex-shrink-0",children:(0,s.jsx)(U.A,{className:"w-5 h-5 text-gray-500 dark:text-gray-400"})}),(0,s.jsx)("div",{className:"flex-1 min-w-0 overflow-hidden",children:(0,s.jsx)(S.A.Text,{ellipsis:{tooltip:!0},className:F()("block text-sm font-normal",j?"text-gray-900 dark:text-white":"text-gray-600 dark:text-gray-400"),children:l.label})}),(0,s.jsxs)("div",{className:"flex gap-1 ml-1 flex-shrink-0 items-center",children:[(0,s.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0 transition-opacity",onClick:e=>{e.stopPropagation()},children:(0,s.jsx)(i.A,{className:"text-gray-400 hover:text-gray-600 dark:hover:text-gray-200",style:{fontSize:14},onClick:()=>{let e=q()("".concat(location.origin,"/chat?scene=").concat(l.chat_mode,"&id=").concat(l.conv_uid));v[e?"success":"error"](e?u("copy_success"):u("copy_failed"))}})}),(0,s.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0 transition-opacity",onClick:e=>{e.stopPropagation(),f.confirm({title:u("delete_chat"),content:u("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,r.VbY)((0,r.a82)(l.conv_uid));e||(y&&await y(),m.push("/chat"))}})},children:(0,s.jsx)(c.A,{className:"text-gray-400 hover:text-red-500",style:{fontSize:14}})})]})]})})},X=function(){let{isMenuExpand:e,setIsMenuExpand:t,mode:a,setMode:i,dialogueList:c}=(0,M.useContext)(n.UK),_=(0,z.usePathname)(),{t:A,i18n:N}=(0,P.Bd)(),[S,I]=(0,M.useState)("/logo_zh_latest.png"),[W,E]=(0,M.useState)([]),[U,B]=(0,M.useState)([]),[K,G]=(0,M.useState)(""),H=(0,M.useCallback)(()=>{t(!e)},[e,t]),R=(0,M.useCallback)(()=>{let e="light"===a?"dark":"light";i(e),localStorage.setItem(l.Mt,e)},[a,i]),{run:J,loading:q}=(0,b.A)(async e=>await (0,r.VbY)((0,r.uhS)(e)),{manual:!0,onSuccess:e=>{e&&e[1]?B(e[1].map(e=>({key:null==e?void 0:e.conv_uid,name:e.user_input||e.select_param,path:"/",dialogue:e}))):B([])}});(0,M.useEffect)(()=>{X()},[]);let{run:X,loading:Z}=(0,b.A)(async()=>{let[e,t]=await (0,r.VbY)((0,r.eHG)({page:1,page_size:10,published:!0}));return t},{manual:!0,onSuccess:e=>{e&&E(e.app_list||[])}}),$=(0,M.useCallback)(()=>{let e="en"===N.language?"zh":"en";N.changeLanguage(e),"zh"===e&&L().locale("zh-cn"),"en"===e&&L().locale("en"),localStorage.setItem(l.Vp,e)},[N]),ee=(0,M.useMemo)(()=>[{key:"language",name:A("language"),icon:(0,s.jsx)(o.A,{}),items:[{key:"en",label:(0,s.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,s.jsxs)("span",{className:"flex gap-2",children:[(0,s.jsx)(D.default,{src:"/icons/english.png",alt:"english",width:21,height:21}),(0,s.jsx)("span",{children:"English"})]}),(0,s.jsx)("span",{className:F()({block:"en"===N.language,hidden:"en"!==N.language}),children:"✓"})]})},{key:"zh",label:(0,s.jsxs)("div",{className:"py-1 flex justify-between gap-8 ",children:[(0,s.jsxs)("span",{className:"flex gap-2",children:[(0,s.jsx)(D.default,{src:"/icons/zh.png",alt:"english",width:21,height:21}),(0,s.jsx)("span",{children:"简体中文"})]}),(0,s.jsx)("span",{className:F()({block:"zh"===N.language,hidden:"zh"!==N.language}),children:"✓"})]})}],onSelect:e=>{let{key:t}=e;N.language!==t&&(N.changeLanguage(t),"zh"===t&&L().locale("zh-cn"),"en"===t&&L().locale("en"),localStorage.setItem(l.Vp,t))},onClick:$,defaultSelectedKeys:[N.language]},{key:"fold",name:A(e?"Close_Sidebar":"Show_Sidebar"),icon:e?(0,s.jsx)(d.A,{}):(0,s.jsx)(h.A,{}),onClick:H,noDropdownItem:!0}],[A,a,R,N,$,e,H,i]),et=async e=>{let[,t]=await (0,r.VbY)((0,r.j_h)({app_code:e.app_code}));t&&window.open("/chat/?app_code=".concat(e.app_code,"&conv_uid=").concat(t.conv_uid,"&isNew=true"),"_blank")},ea=(0,z.useSearchParams)(),es=(0,M.useMemo)(()=>{let e=null==ea?void 0:ea.get("app_code"),t=!!(null==ea?void 0:ea.get("isNew"));return W.map(a=>({key:a.app_code,name:a.app_name,icon:(0,s.jsx)(D.default,{src:a.icon||"/pictures/chat.png",alt:"chat_image",width:24,height:24,className:"rounded-md"},"image_chat"),path:"/",app:a,isActive:_.startsWith("/chat")&&e===a.app_code&&t}))},[W,_,ea]);(0,M.useEffect)(()=>{c&&c[1]&&B(c[1].map(e=>({key:null==e?void 0:e.conv_uid,name:e.user_input||e.select_param,path:"/",dialogue:e})))},[c]);let en=(0,M.useMemo)(()=>(null==ea||ea.get("app_code"),[{key:"application",name:A("application"),icon:(0,s.jsx)(u.A,{className:"w-5 h-5 text-gray-500"}),path:"/",children:[{key:"explore",name:A("explore_agents"),isActive:_.startsWith("/application/explore"),icon:(0,s.jsx)(m.A,{className:"w-5 h-5 text-gray-500"}),path:"/application/explore"},{key:"agents",name:A("Agents"),isActive:_.startsWith("/application/app"),icon:(0,s.jsx)(g.A,{className:"w-5 h-5 text-gray-500"}),path:"/application/app"},{key:"agent_skills",name:A("agent_skills"),isActive:_.startsWith("/agent-skills"),icon:(0,s.jsx)(x.A,{className:"w-5 h-5 text-gray-500"}),path:"/agent-skills"},{key:"MCP",name:"MCP",isActive:_.startsWith("/mcp"),icon:(0,s.jsx)(p.A,{className:"w-5 h-5 text-gray-500"}),path:"/mcp"}],isActive:_.startsWith("/application")||_.startsWith("/agent-skills")||_.startsWith("/mcp")},{key:"configuration_management",name:A("configuration_management"),icon:(0,s.jsx)(f.A,{}),path:"/",children:[{key:"models",name:A("model_manage"),isActive:_.startsWith("/models"),icon:(0,s.jsx)(v.A,{component:O.A,className:"w-5 h-5 text-gray-500"}),path:"/models"},{key:"knowledge",name:A("Knowledge_Space"),isActive:_.startsWith("/knowledge"),icon:(0,s.jsx)(y.A,{className:"w-5 h-5 text-gray-500"}),path:"/knowledge"},{key:"prompt",name:A("Prompt"),isActive:_.startsWith("/prompt"),icon:(0,s.jsx)(j.A,{className:"w-5 h-5 text-gray-500"}),path:"/prompt"},{key:"cron",name:A("cron_page_title"),isActive:_.startsWith("/cron"),icon:(0,s.jsx)(k.A,{className:"w-5 h-5 text-gray-500"}),path:"/cron"},{key:"channel",name:A("channel_page_title"),isActive:_.startsWith("/channel"),icon:(0,s.jsx)(w.A,{className:"w-5 h-5 text-gray-500"}),path:"/channel"},{key:"vis_merge_test",name:"GUI",isActive:_.startsWith("/vis-merge-test"),icon:(0,s.jsx)(x.A,{className:"w-5 h-5 text-gray-500"}),path:"/vis-merge-test"}],isActive:_.startsWith("/models")||_.startsWith("/knowledge")||_.startsWith("/prompt")||_.startsWith("/vis-merge-test")||_.startsWith("/cron")||_.startsWith("/channel")}]),[A,_,es]);return((0,M.useEffect)(()=>{let e=N.language;"zh"===e&&L().locale("zh-cn"),"en"===e&&L().locale("en")},[]),(0,M.useEffect)(()=>{I("dark"===a?"/logo_s_latest.png":"/logo_zh_latest.png")},[a]),e)?(0,s.jsxs)("div",{className:F()("flex flex-col justify-between flex-1 pt-3 overflow-hidden h-screen","bg-[#F9FAFB] dark:bg-[#111] border-r border-gray-100 dark:border-gray-800","animate-fade animate-duration-300 max-w-[260px] w-[260px]"),children:[(0,s.jsxs)("div",{className:"flex flex-col w-full px-4",children:[(0,s.jsx)(V(),{href:"/",className:"flex flex-row justify-between items-center mb-2 pl-1",children:(0,s.jsx)(D.default,{src:e?S:"/LOGO_SMALL.png",alt:"DB-GPT",width:120,height:30,className:"object-contain"})}),(0,s.jsxs)(V(),{href:"/chat",className:"flex items-center gap-2 px-3 py-2 mb-4 bg-white dark:bg-[#1F1F1F] hover:bg-gray-50 dark:hover:bg-[#2A2A2A] border border-gray-200 dark:border-gray-700 rounded-xl shadow-sm transition-all group",children:[(0,s.jsx)("div",{className:"w-5 h-5 flex items-center justify-center text-gray-500 group-hover:text-blue-500 transition-colors",children:(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M12 4V20M4 12H20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("span",{className:"font-medium text-gray-700 dark:text-gray-200 text-sm",children:"新对话"})]}),(0,s.jsx)("div",{className:"flex flex-col w-full space-y-1 mb-6",children:en.map(e=>{var t;return(null==e?void 0:e.children)?(0,s.jsx)(T,{value:e,isStow:!1,defaultOpen:"configuration_management"===e.key},e.key):e.app?(0,s.jsxs)("div",{onClick:()=>et(e.app),className:F()("flex items-center w-full h-9 cursor-pointer px-3 rounded-lg transition-all duration-200",e.isActive?"bg-gray-200/50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium":"text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800"),children:[(0,s.jsx)("div",{className:"mr-3 w-5 h-5 flex-shrink-0 flex items-center justify-center opacity-80",children:e.icon}),(0,s.jsx)("span",{className:"text-sm truncate",children:e.name})]},e.key+Date.now()):(0,s.jsxs)(V(),{href:null!=(t=e.path)?t:"/",className:F()("flex items-center w-full h-9 cursor-pointer px-3 rounded-lg transition-all duration-200",e.isActive?"bg-gray-200/50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium":"text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800","application"===e.key?"mt-4":""),children:[(0,s.jsx)("div",{className:"mr-3 w-5 h-5 flex-shrink-0 flex items-center justify-center opacity-80",children:e.icon}),(0,s.jsx)("span",{className:"text-sm truncate",children:A(e.name)})]},e.key)})})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col overflow-hidden px-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2 px-3",children:[(0,s.jsx)("span",{children:A("chat_history")}),(0,s.jsx)(m.A,{className:"cursor-pointer hover:text-gray-600"})]}),(0,s.jsx)("div",{className:"flex-1 overflow-y-auto -mx-2 px-2 custom-scrollbar pr-1",style:{maxHeight:"calc(100vh - 380px)"},children:q?Array.from({length:3}).map((e,t)=>(0,s.jsx)(Q,{item:{},order:{current:0},loading:!0},"loading-".concat(t))):U.length>0?Object.entries(U.reduce((e,t)=>{let a=t.dialogue.gmt_created||t.dialogue.gmt_modified;if(a){let s=(e=>{let t=L()(e),a=t.clone().startOf("week");t.clone().endOf("week");let s=L()();if(s.isSame(a,"week"))return A("this_week");if(s.clone().subtract(1,"week").isSame(a,"week"))return A("last_week");let n=Math.floor(s.diff(a,"weeks"));return"".concat(n," ").concat(A("weeks_ago"))})(a);e[s]||(e[s]=[]),e[s].push(t)}else e[A("unknown")]||(e[A("unknown")]=[]),e[A("unknown")].push(t);return e},{})).sort((e,t)=>{let a=[A("this_week"),A("last_week"),A("weeks_ago"),A("unknown")],s=a.findIndex(t=>e[0].startsWith(t)),n=a.findIndex(e=>t[0].startsWith(e));return(-1===s?999:s)-(-1===n?999:n)}).map((e,t)=>{let[a,n]=e;return(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsx)("div",{className:"flex items-center px-3 mb-2",children:(0,s.jsx)("span",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider",children:a})}),n.map(e=>(0,s.jsx)(Q,{item:{label:e.name||"Untitled",app_code:e.dialogue.app_code||"",...e.dialogue,default:!1},order:{current:0}},e.key))]},"group-".concat(t))}):(0,s.jsx)("div",{className:"px-4 text-gray-400 text-xs py-4 text-center",children:K?A("no_matching_session"):A("no_history_session")})})]}),(0,s.jsxs)("div",{className:"px-4 py-4 mt-2 border-t border-gray-100 dark:border-gray-800 bg-[#F9FAFB] dark:bg-[#111] flex items-center justify-between gap-2",children:[(0,s.jsx)("div",{className:"flex-1 min-w-0 overflow-hidden",children:(0,s.jsx)(Y,{})}),(0,s.jsx)("div",{className:"flex items-center gap-1 shrink-0",children:ee.map(e=>(0,s.jsx)(C.A,{title:e.name,placement:"top",children:(0,s.jsx)("div",{className:F()("w-8 h-8 flex items-center justify-center rounded-lg cursor-pointer transition-colors text-gray-500 hover:text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800",{"text-gray-300 cursor-not-allowed":e.disable}),onClick:e.onClick,children:e.icon})},e.key))})]})]}):(0,s.jsxs)("div",{className:"flex flex-col justify-between pt-3 h-screen bg-[#F9FAFB] dark:bg-[#111] border-r border-gray-100 dark:border-gray-800 animate-fade animate-duration-300 ",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(V(),{href:"/",className:"flex justify-center items-center pb-2",children:(0,s.jsx)(D.default,{src:e?S:"/LOGO_SMALL.png",alt:"DB-GPT",width:40,height:40})}),(0,s.jsx)("div",{className:"flex flex-col gap-3 items-center px-2",children:en.map(e=>(null==e?void 0:e.children)?(0,s.jsx)("div",{className:"w-10 h-10 flex items-center justify-center cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",onClick:()=>t(!0),children:e.icon}):e.app?(0,s.jsx)("div",{className:"h-10 w-10 flex items-center justify-center cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",onClick:()=>et(e.app),children:(0,s.jsx)("div",{className:"w-6 h-6 flex items-center justify-center",children:e.icon})},e.key+Date.now()):(0,s.jsx)(V(),{className:"h-10 w-10 flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors",href:e.path||"#",children:(0,s.jsx)("div",{className:"w-5 h-5 flex items-center justify-center",children:e.icon})},e.key))})]}),(0,s.jsxs)("div",{className:"py-4 flex flex-col items-center gap-2",children:[(0,s.jsx)(Y,{onlyAvatar:!0}),ee.filter(e=>e.noDropdownItem).map(e=>(0,s.jsx)(C.A,{title:e.name,placement:"right",children:(0,s.jsx)("div",{className:"w-10 h-10 flex items-center justify-center hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer transition-colors",onClick:e.onClick,children:e.icon})},e.key))]})]})};var Z=a(79228),$=a(77133),ee=a(47867);let et=()=>(0,s.jsx)(ee.A.Group,{trigger:"hover",icon:(0,s.jsx)(Z.A,{}),children:(0,s.jsx)(ee.A,{icon:(0,s.jsx)($.A,{}),href:"http://docs.derisk.cn",target:"_blank",tooltip:"Doucuments"})});var ea=a(57845),es=a(4076),en=a(83730),er=a(78126),el=a.n(er);function ei(e){let{children:t}=e,{mode:a}=(0,M.useContext)(n.UK),{i18n:r}=(0,P.Bd)(),[i,c]=(0,M.useState)(!1);return((0,M.useEffect)(()=>{c(!0)},[]),(0,M.useEffect)(()=>{if(a){var e,t,s,n,r,l;null==(t=document.body)||null==(e=t.classList)||e.add(a),"light"===a?null==(n=document.body)||null==(s=n.classList)||s.remove("dark"):null==(l=document.body)||null==(r=l.classList)||r.remove("light")}},[a]),(0,M.useEffect)(()=>{if(i){var e;null==(e=r.changeLanguage)||e.call(r,window.localStorage.getItem(l.Vp)||"zh")}},[r,i]),i)?(0,s.jsx)("div",{children:t}):(0,s.jsx)(s.Fragment,{children:t})}function ec(e){let{children:t}=e,{mode:a}=(0,M.useContext)(n.UK),{i18n:r}=(0,P.Bd)(),[i,c]=(0,M.useState)(!1),[o,d]=(0,M.useState)(!1);(0,M.useEffect)(()=>{d(!0),h()},[]);let h=async()=>{let e={user_channel:"derisk",user_no:"001",nick_name:"derisk"};e&&(localStorage.setItem(l.Gm,JSON.stringify(e)),localStorage.setItem(l.DO,Date.now().toString()),c(!0))};return o&&i?(0,s.jsx)(ea.Ay,{locale:"en"===r.language?es.A:en.A,theme:{token:{colorPrimary:"#0C75FC",borderRadius:4},algorithm:void 0},children:(0,s.jsx)(_.A,{children:(0,s.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,s.jsx)(el(),{children:(0,s.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, maximum-scale=1"})}),(0,s.jsx)("div",{className:"transition-[width] duration-300 ease-in-out h-full flex flex-col",children:(0,s.jsx)(X,{})}),(0,s.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t}),(0,s.jsx)(et,{})]})})}):null}function eo(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",suppressHydrationWarning:!0,"data-theme":"light",className:"light",children:(0,s.jsx)("body",{suppressHydrationWarning:!0,className:"bg-[#FAFAFA] dark:bg-[#111]",children:(0,s.jsx)(M.Suspense,{fallback:(0,s.jsx)(_.A,{className:"w-screen h-screen flex items-center justify-center",children:(0,s.jsx)(N.A,{})}),children:(0,s.jsx)(n.rA,{children:(0,s.jsx)(ei,{children:(0,s.jsx)(ec,{children:t})})})})})})}a(89638),a(35786)},35786:()=>{},39740:(e,t,a)=>{"use strict";a.d(t,{UK:()=>c,V:()=>d,cE:()=>h,rA:()=>o});var s=a(95155),n=a(67773);a(61475);var r=a(54099),l=a(35695),i=a(12115);let c=(0,i.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var t,a,o;let{children:d}=e,h=(0,l.useSearchParams)(),u=null!=(t=null==h?void 0:h.get("conv_uid"))?t:"",m=null!=(a=null==h?void 0:h.get("scene"))?a:"",g=null!=(o=null==h?void 0:h.get("db_param"))?o:"",[x,p]=(0,i.useState)(!1),[f,v]=(0,i.useState)("light"),[y,j]=(0,i.useState)("chat_dashboard"!==m),[k,w]=(0,i.useState)(g),[b,_]=(0,i.useState)(""),[A,N]=(0,i.useState)([]),[S,C]=(0,i.useState)(),[I,F]=(0,i.useState)("light"),[W,L]=(0,i.useState)(u),[D,E]=(0,i.useState)([]),[V,z]=(0,i.useState)({chat_scene:"",app_code:""}),{data:M=[]}=(0,r.A)(async()=>{let[,e]=await (0,n.VbY)((0,n.TzU)());return null!=e?e:[]}),{data:P=[],refresh:O,loading:U}=(0,r.A)(async()=>await (0,n.VbY)((0,n.b7p)()));return(0,i.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");z(e)}catch(e){z({chat_scene:"",app_code:""})}},[]),(0,i.useEffect)(()=>{v(M[0])},[M,null==M?void 0:M.length]),(0,i.useEffect)(()=>{u&&L(u)},[u]),(0,s.jsx)(c.Provider,{value:{isContract:x,isMenuExpand:y,scene:m,chatId:W,model:f,modelList:M,dbParam:k||g,agent:b,setAgent:_,mode:I,setMode:F,setModel:v,setIsContract:p,setIsMenuExpand:j,setDbParam:w,history:A,setHistory:N,docId:S,setDocId:C,currentDialogInfo:V,setCurrentDialogInfo:z,adminList:D,refreshDialogList:O,dialogueList:P},children:d})},d=(0,i.createContext)(null),h=(0,i.createContext)(null)},88721:(e,t,a)=>{Promise.resolve().then(a.bind(a,11605))},91070:(e,t,a)=>{"use strict";a.d(t,{BR:()=>l,zo:()=>r,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=a(39740),n=a(12115);let r=(0,n.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),l=(0,n.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[4523,586,1218,9259,9879,3320,6421,4099,797,6467,6766,5887,2991,6874,751,7773,9960,8441,5964,7358],()=>e(e.s=88721)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-4f3069020c9d5455.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-a92a0e2275e01e31.js similarity index 79% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-4f3069020c9d5455.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-a92a0e2275e01e31.js index ac5d81e1..d069a785 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-4f3069020c9d5455.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/detail/page-a92a0e2275e01e31.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3963],{39740:(e,a,s)=>{"use strict";s.d(a,{UK:()=>r,V:()=>d,cE:()=>m,rA:()=>o});var l=s(95155),t=s(67773);s(61475);var n=s(54099),i=s(35695),c=s(12115);let r=(0,c.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var a,s,o;let{children:d}=e,m=(0,i.useSearchParams)(),u=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",p=null!=(s=null==m?void 0:m.get("scene"))?s:"",h=null!=(o=null==m?void 0:m.get("db_param"))?o:"",[v,x]=(0,c.useState)(!1),[g,j]=(0,c.useState)("light"),[y,f]=(0,c.useState)("chat_dashboard"!==p),[_,A]=(0,c.useState)(h),[N,b]=(0,c.useState)(""),[S,C]=(0,c.useState)([]),[I,w]=(0,c.useState)(),[k,V]=(0,c.useState)("light"),[D,E]=(0,c.useState)(u),[M,P]=(0,c.useState)([]),[L,O]=(0,c.useState)({chat_scene:"",app_code:""}),{data:U=[]}=(0,n.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.TzU)());return null!=e?e:[]}),{data:R=[],refresh:z,loading:T}=(0,n.A)(async()=>await (0,t.VbY)((0,t.b7p)()));return(0,c.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");O(e)}catch(e){O({chat_scene:"",app_code:""})}},[]),(0,c.useEffect)(()=>{j(U[0])},[U,null==U?void 0:U.length]),(0,c.useEffect)(()=>{u&&E(u)},[u]),(0,l.jsx)(r.Provider,{value:{isContract:v,isMenuExpand:y,scene:p,chatId:D,model:g,modelList:U,dbParam:_||h,agent:N,setAgent:b,mode:k,setMode:V,setModel:j,setIsContract:x,setIsMenuExpand:f,setDbParam:A,history:S,setHistory:C,docId:I,setDocId:w,currentDialogInfo:L,setCurrentDialogInfo:O,adminList:M,refreshDialogList:z,dialogueList:R},children:d})},d=(0,c.createContext)(null),m=(0,c.createContext)(null)},41890:()=>{},75305:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>N});var l=s(95155),t=s(91070),n=s(67773),i=s(81730),c=s(27840),r=s(75839),o=s(61037),d=s(78936),m=s(17295),u=s(24517),p=s(54099),h=s(55887),v=s(95388),x=s(16467),g=s(98696),j=s(97540),y=s(73775),f=s(35695),_=s(12115),A=s(91218);function N(){var e,a,s,N;let b=(0,f.useSearchParams)(),S=(0,f.useRouter)(),{mode:C}=(0,_.useContext)(t.UK),{t:I}=(0,A.Bd)(),{message:w}=h.A.useApp(),[k,V]=(0,_.useState)({}),[D,E]=(0,_.useState)(""),[M,P]=(0,_.useState)(null),[L,O]=(0,_.useState)([]),U="dark"===C?m.j:u.n,R={id:b.get("id")||"",name:b.get("name")||""},[z]=v.A.useForm(),T=(0,_.useRef)(null),[K,B]=(0,_.useState)(void 0);(0,_.useEffect)(()=>{let e=T.current;if(!e)return;let a=new ResizeObserver(e=>{for(let a of e)B(a.target.clientHeight)});return a.observe(e),()=>a.disconnect()},[]);let{loading:H,run:Y,data:q}=(0,p.A)(async e=>await (0,n.VbY)((0,n.ESU)(e)),{manual:!0,onSuccess:e=>{let[,,a]=e;if((null==a?void 0:a.success)&&(w.success(I("success")),(null==a?void 0:a.data)!==null&&"object"==typeof(null==a?void 0:a.data)))try{P(a||null)}catch(e){P(null)}},debounceWait:300}),{loading:F}=(0,p.A)(async()=>R.name?await (0,n.VbY)((0,n.h9o)({name:R.name})):Promise.reject("Missing name parameter"),{manual:!1,onSuccess:e=>{let[,a]=e;V(a||{})},debounceWait:300}),{loading:W,run:J}=(0,p.A)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{name:R.name};return e.name?await (0,n.VbY)((0,n.ZmZ)(e)):Promise.reject("Missing name parameter")},{manual:!1,onSuccess:e=>{let[,,a]=e;(null==a?void 0:a.data)&&O((null==a?void 0:a.data)||[])},debounceWait:300}),Z=async()=>{await J({name:null==R?void 0:R.name})},G=async()=>{if(!D)return void w.warning(I("please_select_mcp"));try{let e=await z.validateFields();await Y({name:null==R?void 0:R.name,params:{name:D,arguments:{...e}}})}catch(e){w.error(I("form_required"))}},Q=(0,_.useMemo)(()=>{var e;return(null==L||null==(e=L.find(e=>(null==e?void 0:e.name)===D))?void 0:e.param_schema)||{}},[D,L]),X=(0,_.useMemo)(()=>Object.keys(Q||{}),[Q]);return R.name&&R.id?(0,l.jsx)(x.A,{spinning:W||H||F,children:(0,l.jsx)("div",{className:"mcp-detail-root",children:(0,l.jsxs)("div",{className:"mcp-detail-content",children:[(0,l.jsx)("div",{style:{marginBottom:8},children:(0,l.jsx)(g.Ay,{type:"text",icon:(0,l.jsx)(i.A,{}),onClick:()=>S.push("/mcp"),style:{color:"var(--mcp-text-secondary)",padding:"4px 8px",marginLeft:-8},children:I("mcp_back_to_list")})}),(0,l.jsxs)("div",{className:"mcp-detail-header",children:[(0,l.jsx)("div",{className:"mcp-detail-avatar",children:(null==k?void 0:k.icon)?(0,l.jsx)("img",{src:null==k?void 0:k.icon,alt:null==k?void 0:k.name}):(0,l.jsx)("span",{className:"mcp-detail-avatar-fallback",children:((null==k?void 0:k.name)||"M").charAt(0).toUpperCase()})}),(0,l.jsxs)("div",{className:"mcp-detail-info",children:[(0,l.jsx)("h1",{className:"mcp-detail-name",children:null==k?void 0:k.name}),(0,l.jsx)("p",{className:"mcp-detail-desc",children:null==k?void 0:k.description})]})]}),(null==k?void 0:k.sse_url)&&(0,l.jsxs)("div",{className:"mcp-endpoint-bar",children:[(0,l.jsx)("div",{className:"mcp-endpoint-method",children:"SSE"}),(0,l.jsx)("div",{className:"mcp-endpoint-url",children:null==k?void 0:k.sse_url}),(0,l.jsx)(j.A,{title:I("copy"),children:(0,l.jsx)(g.Ay,{type:"text",icon:(0,l.jsx)(c.A,{}),onClick:()=>{navigator.clipboard.writeText((null==k?void 0:k.sse_url)||""),w.success(I("success"))},style:{marginRight:8,color:"var(--mcp-text-tertiary)"}})})]}),(0,l.jsxs)("div",{className:"mcp-detail-grid",children:[(0,l.jsxs)("div",{className:"mcp-panel",ref:T,children:[(0,l.jsxs)("div",{className:"mcp-panel-header",children:[(0,l.jsx)("span",{className:"mcp-panel-title",children:I("mcp_tools")}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,l.jsx)("span",{className:"mcp-panel-badge",children:(null==L?void 0:L.length)||0}),(0,l.jsx)(g.Ay,{type:"text",size:"small",icon:(0,l.jsx)(r.A,{}),onClick:Z,style:{color:"var(--mcp-text-tertiary)"}})]})]}),(0,l.jsx)("div",{className:"mcp-panel-body",children:(null==L?void 0:L.length)>0?L.map((e,a)=>(0,l.jsxs)("div",{className:"mcp-tool-item ".concat(D===(null==e?void 0:e.name)?"mcp-tool-item--active":""),onClick:()=>{var a;(a=null==e?void 0:e.name)!==D&&(E(a),z.resetFields(),P(null))},children:[(0,l.jsx)("div",{className:"mcp-tool-name",children:e.name}),(0,l.jsx)("div",{className:"mcp-tool-desc",children:null==e?void 0:e.description})]},a)):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_no_tools")})})]}),(0,l.jsxs)("div",{className:"mcp-right-column",style:K?{maxHeight:K}:void 0,children:[(0,l.jsxs)("div",{className:"mcp-panel mcp-params-panel",children:[(0,l.jsx)("div",{className:"mcp-panel-header",children:(0,l.jsx)("span",{className:"mcp-panel-title",children:D||I("mcp_select_tool_hint")})}),(0,l.jsx)("div",{className:"mcp-form-section",children:D&&X.length>0?(0,l.jsxs)(v.A,{form:z,layout:"vertical",children:[X.map(e=>{var a,s,t,n;return(0,l.jsx)(v.A.Item,{label:(null==Q||null==(a=Q[e])?void 0:a.title)||e,name:e,rules:[{required:null==Q||null==(s=Q[e])?void 0:s.required,message:"".concat(I("please_enter")," ").concat(e)}],initialValue:null==Q||null==(t=Q[e])?void 0:t.default,children:(0,l.jsx)(y.A,{placeholder:null==Q||null==(n=Q[e])?void 0:n.description})},e)}),(0,l.jsx)(v.A.Item,{style:{marginBottom:0},children:(0,l.jsx)(g.Ay,{type:"primary",icon:(0,l.jsx)(o.A,{}),className:"mcp-run-btn",onClick:G,loading:H,children:I("mcp_trial_run")})})]}):D?(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{style:{color:"var(--mcp-text-tertiary)",fontSize:13,marginBottom:16},children:I("mcp_no_params")}),(0,l.jsx)(g.Ay,{type:"primary",icon:(0,l.jsx)(o.A,{}),className:"mcp-run-btn",onClick:G,loading:H,children:I("mcp_trial_run")})]}):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_select_tool_desc")})})]}),(0,l.jsxs)("div",{className:"mcp-panel mcp-result-panel",children:[(0,l.jsxs)("div",{className:"mcp-panel-header",children:[(0,l.jsx)("span",{className:"mcp-panel-title",children:I("mcp_run_results")}),M&&(0,l.jsx)(g.Ay,{type:"text",size:"small",icon:(0,l.jsx)(c.A,{}),onClick:()=>{let e=M?JSON.stringify(M,null,2):"";navigator.clipboard.writeText(e).then(()=>w.success(I("success"))).catch(e=>w.error(String(e)))},style:{color:"var(--mcp-text-tertiary)"}})]}),(0,l.jsx)("div",{className:"mcp-result-body",children:(null==q||null==(a=q[3])||null==(e=a.data)?void 0:e.success)&&M?(0,l.jsx)(d.Ay,{style:{...U,width:"100%",padding:0,overflow:"auto",background:"transparent"},value:M,enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}):(null==q||null==(N=q[3])||null==(s=N.data)?void 0:s.err_msg)?(0,l.jsx)("div",{className:"mcp-result-error",children:q[3].data.err_msg}):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_no_results")})})]})]})]})]})})}):(0,l.jsx)("div",{className:"mcp-detail-root",style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,l.jsx)(x.A,{size:"large"})})}s(41890)},84695:(e,a,s)=>{Promise.resolve().then(s.bind(s,75305))},91070:(e,a,s)=>{"use strict";s.d(a,{BR:()=>i,zo:()=>n,UK:()=>l.UK,rA:()=>l.rA,cE:()=>l.cE,V:()=>l.V});var l=s(39740),t=s(12115);let n=(0,t.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),i=(0,t.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[7827,1218,9259,9879,3320,6421,4099,6467,2822,5388,5887,6756,7480,7773,8441,5964,7358],()=>e(e.s=84695)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3963],{39740:(e,a,s)=>{"use strict";s.d(a,{UK:()=>r,V:()=>d,cE:()=>m,rA:()=>o});var l=s(95155),t=s(67773);s(61475);var n=s(54099),i=s(35695),c=s(12115);let r=(0,c.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),o=e=>{var a,s,o;let{children:d}=e,m=(0,i.useSearchParams)(),u=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",p=null!=(s=null==m?void 0:m.get("scene"))?s:"",h=null!=(o=null==m?void 0:m.get("db_param"))?o:"",[v,x]=(0,c.useState)(!1),[g,j]=(0,c.useState)("light"),[y,f]=(0,c.useState)("chat_dashboard"!==p),[_,A]=(0,c.useState)(h),[N,b]=(0,c.useState)(""),[S,C]=(0,c.useState)([]),[I,k]=(0,c.useState)(),[w,V]=(0,c.useState)("light"),[D,E]=(0,c.useState)(u),[M,P]=(0,c.useState)([]),[L,O]=(0,c.useState)({chat_scene:"",app_code:""}),{data:U=[]}=(0,n.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.TzU)());return null!=e?e:[]}),{data:R=[],refresh:z,loading:T}=(0,n.A)(async()=>await (0,t.VbY)((0,t.b7p)()));return(0,c.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");O(e)}catch(e){O({chat_scene:"",app_code:""})}},[]),(0,c.useEffect)(()=>{j(U[0])},[U,null==U?void 0:U.length]),(0,c.useEffect)(()=>{u&&E(u)},[u]),(0,l.jsx)(r.Provider,{value:{isContract:v,isMenuExpand:y,scene:p,chatId:D,model:g,modelList:U,dbParam:_||h,agent:N,setAgent:b,mode:w,setMode:V,setModel:j,setIsContract:x,setIsMenuExpand:f,setDbParam:A,history:S,setHistory:C,docId:I,setDocId:k,currentDialogInfo:L,setCurrentDialogInfo:O,adminList:M,refreshDialogList:z,dialogueList:R},children:d})},d=(0,c.createContext)(null),m=(0,c.createContext)(null)},41890:()=>{},75305:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>N});var l=s(95155),t=s(91070),n=s(67773),i=s(81730),c=s(27840),r=s(75839),o=s(61037),d=s(78936),m=s(17295),u=s(24517),p=s(54099),h=s(55887),v=s(95388),x=s(16467),g=s(98696),j=s(97540),y=s(73775),f=s(35695),_=s(12115),A=s(91218);function N(){var e,a,s,N;let b=(0,f.useSearchParams)(),S=(0,f.useRouter)(),{mode:C}=(0,_.useContext)(t.UK),{t:I}=(0,A.Bd)(),{message:k}=h.A.useApp(),[w,V]=(0,_.useState)({}),[D,E]=(0,_.useState)(""),[M,P]=(0,_.useState)(null),[L,O]=(0,_.useState)([]),U="dark"===C?m.j:u.n,R={id:b.get("id")||"",name:b.get("name")||""},[z]=v.A.useForm(),T=(0,_.useRef)(null),[K,B]=(0,_.useState)(void 0);(0,_.useEffect)(()=>{let e=T.current;if(!e)return;let a=new ResizeObserver(e=>{for(let a of e)B(a.target.clientHeight)});return a.observe(e),()=>a.disconnect()},[]);let{loading:H,run:Y,data:q}=(0,p.A)(async e=>await (0,n.VbY)((0,n.ESU)(e)),{manual:!0,onSuccess:e=>{let[,,a]=e;if((null==a?void 0:a.success)&&(k.success(I("success")),(null==a?void 0:a.data)!==null&&"object"==typeof(null==a?void 0:a.data)))try{P(a||null)}catch(e){P(null)}},debounceWait:300}),{loading:F}=(0,p.A)(async()=>R.name?await (0,n.VbY)((0,n.h9o)({name:R.name})):Promise.reject("Missing name parameter"),{manual:!1,onSuccess:e=>{let[,a]=e;V(a||{})},debounceWait:300}),{loading:W,run:J}=(0,p.A)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{name:R.name};return e.name?await (0,n.VbY)((0,n.ZmZ)(e)):Promise.reject("Missing name parameter")},{manual:!1,onSuccess:e=>{let[,,a]=e;(null==a?void 0:a.data)&&O((null==a?void 0:a.data)||[])},debounceWait:300}),Z=async()=>{await J({name:null==R?void 0:R.name})},G=async()=>{if(!D)return void k.warning(I("please_select_mcp"));try{let e=await z.validateFields();await Y({name:null==R?void 0:R.name,params:{name:D,arguments:{...e}}})}catch(e){k.error(I("form_required"))}},Q=(0,_.useMemo)(()=>{var e;return(null==L||null==(e=L.find(e=>(null==e?void 0:e.name)===D))?void 0:e.param_schema)||{}},[D,L]),X=(0,_.useMemo)(()=>Object.keys(Q||{}),[Q]);return R.name&&R.id?(0,l.jsx)(x.A,{spinning:W||H||F,children:(0,l.jsx)("div",{className:"mcp-detail-root",children:(0,l.jsxs)("div",{className:"mcp-detail-content",children:[(0,l.jsx)("div",{style:{marginBottom:8},children:(0,l.jsx)(g.Ay,{type:"text",icon:(0,l.jsx)(i.A,{}),onClick:()=>S.push("/mcp"),style:{color:"var(--mcp-text-secondary)",padding:"4px 8px",marginLeft:-8},children:I("mcp_back_to_list")})}),(0,l.jsxs)("div",{className:"mcp-detail-header",children:[(0,l.jsx)("div",{className:"mcp-detail-avatar",children:(null==w?void 0:w.icon)?(0,l.jsx)("img",{src:null==w?void 0:w.icon,alt:null==w?void 0:w.name}):(0,l.jsx)("span",{className:"mcp-detail-avatar-fallback",children:((null==w?void 0:w.name)||"M").charAt(0).toUpperCase()})}),(0,l.jsxs)("div",{className:"mcp-detail-info",children:[(0,l.jsx)("h1",{className:"mcp-detail-name",children:null==w?void 0:w.name}),(0,l.jsx)("p",{className:"mcp-detail-desc",children:null==w?void 0:w.description})]})]}),(null==w?void 0:w.sse_url)&&(0,l.jsxs)("div",{className:"mcp-endpoint-bar",children:[(0,l.jsx)("div",{className:"mcp-endpoint-method",children:"SSE"}),(0,l.jsx)("div",{className:"mcp-endpoint-url",children:null==w?void 0:w.sse_url}),(0,l.jsx)(j.A,{title:I("copy"),children:(0,l.jsx)(g.Ay,{type:"text",icon:(0,l.jsx)(c.A,{}),onClick:()=>{navigator.clipboard.writeText((null==w?void 0:w.sse_url)||""),k.success(I("success"))},style:{marginRight:8,color:"var(--mcp-text-tertiary)"}})})]}),(0,l.jsxs)("div",{className:"mcp-detail-grid",children:[(0,l.jsxs)("div",{className:"mcp-panel",ref:T,children:[(0,l.jsxs)("div",{className:"mcp-panel-header",children:[(0,l.jsx)("span",{className:"mcp-panel-title",children:I("mcp_tools")}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,l.jsx)("span",{className:"mcp-panel-badge",children:(null==L?void 0:L.length)||0}),(0,l.jsx)(g.Ay,{type:"text",size:"small",icon:(0,l.jsx)(r.A,{}),onClick:Z,style:{color:"var(--mcp-text-tertiary)"}})]})]}),(0,l.jsx)("div",{className:"mcp-panel-body",children:(null==L?void 0:L.length)>0?L.map((e,a)=>(0,l.jsxs)("div",{className:"mcp-tool-item ".concat(D===(null==e?void 0:e.name)?"mcp-tool-item--active":""),onClick:()=>{var a;(a=null==e?void 0:e.name)!==D&&(E(a),z.resetFields(),P(null))},children:[(0,l.jsx)("div",{className:"mcp-tool-name",children:e.name}),(0,l.jsx)("div",{className:"mcp-tool-desc",children:null==e?void 0:e.description})]},a)):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_no_tools")})})]}),(0,l.jsxs)("div",{className:"mcp-right-column",style:K?{maxHeight:K}:void 0,children:[(0,l.jsxs)("div",{className:"mcp-panel mcp-params-panel",children:[(0,l.jsx)("div",{className:"mcp-panel-header",children:(0,l.jsx)("span",{className:"mcp-panel-title",children:D||I("mcp_select_tool_hint")})}),(0,l.jsx)("div",{className:"mcp-form-section",children:D&&X.length>0?(0,l.jsxs)(v.A,{form:z,layout:"vertical",children:[X.map(e=>{var a,s,t,n;return(0,l.jsx)(v.A.Item,{label:(null==Q||null==(a=Q[e])?void 0:a.title)||e,name:e,rules:[{required:null==Q||null==(s=Q[e])?void 0:s.required,message:"".concat(I("please_enter")," ").concat(e)}],initialValue:null==Q||null==(t=Q[e])?void 0:t.default,children:(0,l.jsx)(y.A,{placeholder:null==Q||null==(n=Q[e])?void 0:n.description})},e)}),(0,l.jsx)(v.A.Item,{style:{marginBottom:0},children:(0,l.jsx)(g.Ay,{type:"primary",icon:(0,l.jsx)(o.A,{}),className:"mcp-run-btn",onClick:G,loading:H,children:I("mcp_trial_run")})})]}):D?(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{style:{color:"var(--mcp-text-tertiary)",fontSize:13,marginBottom:16},children:I("mcp_no_params")}),(0,l.jsx)(g.Ay,{type:"primary",icon:(0,l.jsx)(o.A,{}),className:"mcp-run-btn",onClick:G,loading:H,children:I("mcp_trial_run")})]}):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_select_tool_desc")})})]}),(0,l.jsxs)("div",{className:"mcp-panel mcp-result-panel",children:[(0,l.jsxs)("div",{className:"mcp-panel-header",children:[(0,l.jsx)("span",{className:"mcp-panel-title",children:I("mcp_run_results")}),M&&(0,l.jsx)(g.Ay,{type:"text",size:"small",icon:(0,l.jsx)(c.A,{}),onClick:()=>{let e=M?JSON.stringify(M,null,2):"";navigator.clipboard.writeText(e).then(()=>k.success(I("success"))).catch(e=>k.error(String(e)))},style:{color:"var(--mcp-text-tertiary)"}})]}),(0,l.jsx)("div",{className:"mcp-result-body",children:(null==q||null==(a=q[3])||null==(e=a.data)?void 0:e.success)&&M?(0,l.jsx)(d.Ay,{style:{...U,width:"100%",padding:0,overflow:"auto",background:"transparent"},value:M,enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}):(null==q||null==(N=q[3])||null==(s=N.data)?void 0:s.err_msg)?(0,l.jsx)("div",{className:"mcp-result-error",children:q[3].data.err_msg}):(0,l.jsx)("div",{className:"mcp-result-empty",children:I("mcp_no_results")})})]})]})]})]})})}):(0,l.jsx)("div",{className:"mcp-detail-root",style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,l.jsx)(x.A,{size:"large"})})}s(41890)},84695:(e,a,s)=>{Promise.resolve().then(s.bind(s,75305))},91070:(e,a,s)=>{"use strict";s.d(a,{BR:()=>i,zo:()=>n,UK:()=>l.UK,rA:()=>l.rA,cE:()=>l.cE,V:()=>l.V});var l=s(39740),t=s(12115);let n=(0,t.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),i=(0,t.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[7827,1218,9259,9879,3320,6421,4099,6467,2822,5388,5887,6756,7480,7773,8441,5964,7358],()=>e(e.s=84695)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-c8bee90d21294f33.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-7311c2e06adb9c64.js similarity index 95% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-c8bee90d21294f33.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-7311c2e06adb9c64.js index 989d6203..a47e7f83 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-c8bee90d21294f33.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-7311c2e06adb9c64.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8329],{2785:()=>{},6178:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>Y});var s=l(95155),t=l(67773),r=l(84182),n=l(91070),d=l(7132),o=l(66766),i=l(12115),c=l(91218);let m="/models/huggingface.svg";var p=l(32013),u=l(95388),h=l(94326),x=l(52805),v=l(97540),j=l(98696),_=l(30961),f=l(73775),g=l(76174),b=l(21103);let y=e=>{let{parentName:a,fields:l,form:t}=e,[r,n]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=t.getFieldValue(a);(null==e?void 0:e.type)&&!r&&n(e.type)},[t,a]),(0,s.jsxs)("div",{className:"space-y-4 border rounded-md p-4",children:[(0,s.jsx)(u.A.Item,{label:"Type",name:[a,"type"],children:(0,s.jsx)(p.A,{onChange:e=>{n(e);let s=l[e]||[],r={type:e};s.forEach(e=>{r[e.param_name]=e.default_value}),t.setFieldsValue({[a]:r})},placeholder:"Select a type",children:Object.keys(l).map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))})}),r&&l[r]&&(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsxs)("h4",{className:"mb-4 text-base font-medium",children:[r," Configuration"]}),(0,s.jsx)("div",{className:"space-y-4",children:l[r].map(e=>(e=>{let l,t=e.param_type.toLowerCase(),n=[a,e.param_name];return l="str"===t||"string"===t?e.valid_values?(0,s.jsx)(p.A,{children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))}):(0,s.jsx)(f.A,{}):"int"===t||"integer"===t||"number"===t||"float"===t?(0,s.jsx)(g.A,{className:"w-full"}):"bool"===t||"boolean"===t?(0,s.jsx)(b.A,{}):(0,s.jsx)(f.A,{}),(0,s.jsx)(u.A.Item,{label:e.label||e.param_name,name:n,valuePropName:"bool"===t||"boolean"===t?"checked":"value",tooltip:e.description,rules:r&&e.required?[{required:!0,message:"Please input ".concat(e.param_name)}]:[],children:l},e.param_name)})(e))})]})]})},N=function(e){let{params:a,form:l}=e;if((0,i.useEffect)(()=>{if(a){let e={};a.forEach(a=>{a.nested_fields||void 0===l.getFieldValue(a.param_name)&&(e[a.param_name]=a.default_value)}),l.setFieldsValue(e)}},[a,l]),!a||(null==a?void 0:a.length)<1)return null;let t=l.submit;return l.submit=()=>{let e=(e=>{let l={...e};return null==a||a.forEach(e=>{if(e.nested_fields&&l[e.param_name]){let a=l[e.param_name];if(a.type){let s=e.nested_fields[a.type]||[],t={};s.forEach(e=>{void 0!==a[e.param_name]&&(t[e.param_name]=a[e.param_name])}),l[e.param_name]={type:a.type,...t}}}}),l})(l.getFieldsValue());l.setFieldsValue(e),t.call(l)},(0,s.jsx)("div",{className:"space-y-4",children:null==a?void 0:a.map(e=>(0,s.jsx)(u.A.Item,{label:(0,s.jsx)("p",{className:"whitespace-normal overflow-wrap-break-word",children:e.label||e.param_name}),name:e.param_name,initialValue:e.default_value,valuePropName:"bool"===e.param_type.toLowerCase()||"boolean"===e.param_type.toLowerCase()?"checked":"value",tooltip:e.description,rules:e.required?[{required:!0,message:"Please input ".concat(e.label||e.param_name)}]:[],children:function(e){var a,t,r,n,d;if(e.nested_fields)return(0,s.jsx)(y,{parentName:e.param_name,fields:e.nested_fields,form:l});let o=e.param_type.toLowerCase(),i=null==(t=e.ext_metadata)||null==(a=t.tags)?void 0:a.includes("fixed"),c=null==(n=e.ext_metadata)||null==(r=n.tags)?void 0:r.includes("privacy");if("str"===o||"string"===o){if(e.valid_values)return Array.isArray(d=e.valid_values)&&0!==d.length&&"object"==typeof d[0]&&null!==d[0]&&"key"in d[0]&&"label"in d[0]?(0,s.jsx)(p.A,{disabled:i,children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e.key,children:e.label},e.key))}):(0,s.jsx)(p.A,{disabled:i,children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))});return c?(0,s.jsx)(f.A.Password,{disabled:i,autoComplete:"new-password",placeholder:"请输入密码"}):(0,s.jsx)(f.A,{disabled:i})}return"int"===o||"integer"===o||"number"===o||"float"===o?(0,s.jsx)(g.A,{className:"w-full",disabled:i}):"bool"===o||"boolean"===o?(0,s.jsx)(b.A,{disabled:i}):(0,s.jsx)(f.A,{disabled:i})}(e)},e.param_name))})},{Option:w}=p.A,A=u.A.Item,k=["llm","text2vec","reranker"],C=function(e){var a;let{onCancel:l,onSuccess:r}=e,{t:n}=(0,c.Bd)(),[f,g]=(0,i.useState)([]),[b,y]=(0,i.useState)(),[C,S]=(0,i.useState)(),[V,I]=(0,i.useState)(null),[L,E]=(0,i.useState)(!1),[M]=u.A.useForm(),[O,P]=(0,i.useState)({}),[D,z]=(0,i.useState)([]);async function F(){let[,e]=await (0,t.VbY)((0,t.Mz8)());if(e&&e.length){let a=e.sort((e,a)=>e.enabled&&!a.enabled?-1:!e.enabled&&a.enabled?1:e.model.localeCompare(a.model));g(a),P(a.reduce((e,a)=>{let l=a.provider;return e[l]||(e[l]=[]),e[l].push(a),e},{})),z([])}}async function q(e){if(C&&b){E(!0);try{var a;let l=(e=>{let a={...e};return null==V||V.forEach(e=>{if(e.nested_fields&&a[e.param_name]){let l=a[e.param_name];if(l.type){let s=e.nested_fields[l.type]||[],t={};s.forEach(e=>{void 0!==l[e.param_name]&&(t[e.param_name]=l[e.param_name])}),a[e.param_name]={...t,type:l.type}}}}),a})(e),s=null==(a=O[C])?void 0:a.find(e=>e.model===l.name),d={host:(null==s?void 0:s.host)||"",port:(null==s?void 0:s.port)||0,model:l.name,worker_type:b,params:l},[,,o]=await (0,t.VbY)((0,t.kQ$)(d));(null==o?void 0:o.success)&&(h.Ay.success(n("start_model_success")),M.resetFields(),null==r||r())}catch(e){h.Ay.error(n("start_model_failed"))}finally{E(!1)}}}return(0,i.useEffect)(()=>{F()},[]),(0,s.jsxs)(u.A,{form:M,labelCol:{span:8},wrapperCol:{span:16},onFinish:q,children:[(0,s.jsx)(A,{label:"Worker Type",name:"worker_type",rules:[{required:!0,message:n("worker_type_select_tips")}],children:(0,s.jsx)(p.A,{onChange:function(e){y(e),S(void 0),M.resetFields(),M.setFieldValue("worker_type",e);let a=new Set;Object.entries(O).forEach(l=>{let[s,t]=l;t.some(a=>a.worker_type===e)&&a.add(s)}),z(Array.from(a).sort())},placeholder:n("model_select_worker_type"),children:k.map(e=>(0,s.jsx)(w,{value:e,children:e},e))})}),b&&(0,s.jsx)(A,{label:"Provider",name:"provider",rules:[{required:!0,message:n("provider_select_tips")}],children:(0,s.jsx)(p.A,{onChange:function(e){S(e),M.setFieldValue("provider",e);let a=(O[e]||[]).filter(e=>e.worker_type===b);if(a.length>0){let e=a[0];(null==e?void 0:e.params)&&I(Array.isArray(e.params)?e.params:[e.params])}},placeholder:n("model_select_provider"),value:C,children:D.map(e=>(0,s.jsx)(w,{value:e,children:e},e))})}),C&&b&&V&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(A,{label:n("model_deploy_name"),name:"name",rules:[{required:!0,message:n("model_please_input_name")}],children:(0,s.jsx)(x.A,{style:{width:"100%"},placeholder:n("model_select_or_input_model"),options:null==(a=O[C])?void 0:a.filter(e=>e.worker_type===b).map(e=>({value:e.model,label:(0,s.jsx)("div",{className:"flex items-center w-full",children:(0,s.jsxs)("div",{className:"flex items-center",children:[function(e,a){var l,t;let{width:r,height:n}={};return e?(0,s.jsx)(o.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:n||24,src:(null==(l=d.zq[e])?void 0:l.icon)||m,alt:"llm"},(null==(t=d.zq[e])?void 0:t.icon)||m):null}(e.model),(0,s.jsx)(v.A,{title:(0,s.jsxs)("div",{className:"max-w-md",children:[(0,s.jsx)("div",{className:"whitespace-pre-wrap markdown-body",children:(0,s.jsx)(_.oz,{children:e.description||e.model})}),(0,s.jsx)("div",{className:"mt-2 text-xs opacity-75",children:e.enabled?"".concat(e.host,":").concat(e.port):n("download_model_tip")})]}),placement:"right",children:(0,s.jsx)("span",{className:"ml-2",children:e.model})})]})})})),filterOption:(e,a)=>-1!==a.value.toUpperCase().indexOf(e.toUpperCase())})}),(0,s.jsx)(N,{params:V.filter(e=>"name"!==e.param_name),form:M})]}),(0,s.jsxs)("div",{className:"flex justify-center space-x-4",children:[(0,s.jsx)(j.Ay,{type:"primary",htmlType:"submit",loading:L,children:n("submit")}),(0,s.jsx)(j.Ay,{onClick:l,children:n("cancel")})]})]})};var S=l(34140),V=l(44261),I=l(3377),L=l(8365),E=l(73086),M=l(13630),O=l(63625),P=l(18610),D=l(54099),z=l(96194),F=l(7744),q=l(82940),B=l.n(q),T=l(35695);l(34667);let{confirm:U}=z.A;function Y(){let{t:e}=(0,c.Bd)(),{setModel:a}=(0,i.useContext)(n.UK),l=(0,T.useRouter)(),[d,o]=(0,i.useState)([]),[m,p]=(0,i.useState)(!1),[u,x]=(0,i.useState)(!1),[v,_]=(0,i.useState)("grid"),[f,g]=(0,i.useState)(""),[b,y]=(0,i.useState)({page:1,page_size:20}),{loading:N,run:w}=(0,D.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.O68)());return null!=e?e:[]},{manual:!1,onSuccess:e=>{o(e)}});async function A(){let[,e]=await (0,t.VbY)((0,t.O68)());o(null!=e?e:[])}async function k(a){if(u)return;let l=e("confirm_start_model")+a.model_name;Y(e("start_model"),l,async()=>{x(!0);let[,,l]=await (0,t.VbY)((0,t.Mn0)({host:a.host,port:a.port,model:a.model_name,worker_type:a.worker_type,delete_after:!1,params:{}}));x(!1),(null==l?void 0:l.success)&&(h.Ay.success(e("start_model_success")),await A())})}async function q(a){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(u)return;let s=l?"stop_and_delete":"stop",r=e("confirm_".concat(s,"_model"))+a.model_name;Y(e("".concat(s,"_model")),r,async()=>{x(!0);let[,,r]=await (0,t.VbY)((0,t.kE9)({host:a.host,port:a.port,model:a.model_name,worker_type:a.worker_type,delete_after:l,params:{}}));x(!1),(null==r?void 0:r.success)===!0&&(h.Ay.success(e("".concat(s,"_model_success"))),await A())})}let Y=(e,a,l)=>{z.A.confirm({title:e,content:a,onOk:async()=>{await l()},okButtonProps:{className:"bg-button-gradient"}})},H=async e=>{let[s,r]=await (0,t.VbY)((0,t.j_h)({app_code:"chat_normal",model:e.model_name}));(null==r?void 0:r.conv_uid)&&(a(e.model_name),l.push("/chat?app_code=chat_normal&conv_uid=".concat(null==r?void 0:r.conv_uid,"&model=").concat(e.model_name)))},R=(0,i.useMemo)(()=>f.trim()?d.filter(e=>{var a,l;return(null==(a=e.model_name)?void 0:a.toLowerCase().includes(f.toLowerCase()))||(null==(l=e.host)?void 0:l.toLowerCase().includes(f.toLowerCase()))}):d,[d,f]),K=(0,i.useMemo)(()=>{var e;let a=(null==d?void 0:d.length)||0,l=(null==d||null==(e=d.filter(e=>e.healthy))?void 0:e.length)||0;return{total:a,online:l,offline:a-l}},[d]);return(0,s.jsxs)("div",{className:"model-page-root",children:[(0,s.jsx)("div",{className:"model-page-bg"}),(0,s.jsxs)("div",{className:"model-page-content",children:[(0,s.jsxs)("div",{className:"model-header",children:[(0,s.jsxs)("div",{className:"model-header-left",children:[(0,s.jsx)("div",{className:"model-header-icon",children:(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"model-title",children:e("model_management")}),(0,s.jsx)("p",{className:"model-subtitle",children:e("model_page_subtitle")})]})]}),(0,s.jsxs)("div",{className:"model-header-actions",children:[(0,s.jsx)(j.Ay,{className:"model-btn-refresh",icon:(0,s.jsx)(S.A,{}),onClick:()=>A()}),(0,s.jsx)(j.Ay,{className:"border-none text-white bg-button-gradient model-btn-primary",icon:(0,s.jsx)(V.A,{}),onClick:()=>{p(!0)},children:e("create_model")})]})]}),(0,s.jsxs)("div",{className:"model-stats-bar",children:[(0,s.jsxs)("div",{className:"model-stats-group",children:[(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value",children:K.total}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_total")})]}),(0,s.jsx)("div",{className:"model-stat-divider"}),(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value model-stat-online",children:K.online}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_online")})]}),(0,s.jsx)("div",{className:"model-stat-divider"}),(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value model-stat-offline",children:K.offline}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_offline")})]})]}),(0,s.jsxs)("div",{className:"model-toolbar",children:[(0,s.jsxs)("div",{className:"model-search-wrapper",children:[(0,s.jsx)(I.A,{className:"model-search-icon"}),(0,s.jsx)("input",{className:"model-search-input",placeholder:e("Search_models"),value:f,onChange:e=>g(e.target.value)})]}),(0,s.jsxs)("div",{className:"model-view-toggle",children:[(0,s.jsx)("button",{className:"model-view-btn ".concat("grid"===v?"active":""),onClick:()=>_("grid"),children:(0,s.jsx)(L.A,{})}),(0,s.jsx)("button",{className:"model-view-btn ".concat("list"===v?"active":""),onClick:()=>_("list"),children:(0,s.jsx)(E.A,{})})]})]})]}),(null==R?void 0:R.length)?(0,s.jsx)("div",{className:"grid"===v?"model-grid":"model-list-view",children:R.map((a,l)=>(0,s.jsxs)("div",{className:"model-card ".concat(a.healthy?"model-card--online":"model-card--offline"," ").concat("list"===v?"model-card--list":""),children:[a.healthy&&(0,s.jsx)("div",{className:"model-card-glow"}),(0,s.jsxs)("div",{className:"model-card-header",children:[(0,s.jsxs)("div",{className:"model-card-identity",children:[(0,s.jsx)("div",{className:"model-card-avatar ".concat(a.healthy?"model-card-avatar--online":""),children:(0,s.jsx)("span",{className:"model-card-avatar-text",children:(a.model_name||"M").charAt(0).toUpperCase()})}),(0,s.jsxs)("div",{className:"model-card-meta",children:[(0,s.jsx)("h3",{className:"model-card-name",children:a.model_name}),(0,s.jsxs)("div",{className:"model-card-badges",children:[(0,s.jsx)("span",{className:"model-badge model-badge--type",children:a.worker_type}),(0,s.jsxs)("span",{className:"model-badge ".concat(a.healthy?"model-badge--online":"model-badge--offline"),children:[(0,s.jsx)("span",{className:"model-status-dot ".concat(a.healthy?"model-status-dot--online":"")}),a.healthy?e("model_healthy"):e("model_unhealthy")]})]})]})]}),(0,s.jsx)("div",{className:"model-card-actions",children:(0,s.jsx)(r._f,{menu:{items:[{key:"start_model",label:(0,s.jsxs)("span",{className:"model-dropdown-success",onClick:()=>k(a),children:[(0,s.jsx)(M.A,{})," ",e("start_model")]})},{key:"stop_model",label:(0,s.jsxs)("span",{className:"model-dropdown-warning",onClick:()=>q(a),children:[(0,s.jsx)(O.A,{})," ",e("stop_model")]})},{type:"divider"},{key:"stop_and_delete",label:(0,s.jsxs)("span",{className:"model-dropdown-danger",onClick:()=>q(a,!0),children:[(0,s.jsx)(O.A,{})," ",e("stop_and_delete_model")]})},{key:"delete",label:(0,s.jsxs)("span",{className:"model-dropdown-danger",children:[(0,s.jsx)(P.A,{})," ",e("Delete")]}),onClick:()=>{U({title:e("delete_model"),content:e("delete_model_confirm")+a.model_name+"?",okText:e("Yes"),cancelText:e("No"),okButtonProps:{danger:!0},onOk(){h.Ay.info(e("delete_model_tip"))}})}}].filter(Boolean)}})})]}),(0,s.jsx)("div",{className:"model-card-desc",children:(0,s.jsxs)("div",{className:"model-info-list",children:[(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Host"}),(0,s.jsxs)("span",{className:"model-info-value",children:[a.host,":",a.port]})]}),(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Manager"}),(0,s.jsxs)("span",{className:"model-info-value",children:[a.manager_host,":",a.manager_port]})]}),(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Heartbeat"}),(0,s.jsx)("span",{className:"model-info-value",children:B()(a.last_heartbeat).format("MM-DD HH:mm")})]})]})}),(0,s.jsxs)("div",{className:"model-card-footer",children:[(0,s.jsx)("div",{className:"model-card-footer-left",children:(0,s.jsxs)("span",{className:"model-card-port",children:[(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"})}),a.host,":",a.port]})}),(0,s.jsx)(j.Ay,{type:"primary",size:"small",className:"model-chat-btn",onClick:()=>H(a),children:e("start_chat")})]})]},a.model_name||l))}):!N&&(0,s.jsxs)("div",{className:"model-empty",children:[(0,s.jsx)("div",{className:"model-empty-icon",children:(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,s.jsx)("path",{d:"M12 6v6l4 2"})]})}),(0,s.jsx)("h3",{className:"model-empty-title",children:e("No_models_found")}),(0,s.jsx)("p",{className:"model-empty-desc",children:e("model_empty_desc")})]}),(null==R?void 0:R.length)>0&&(0,s.jsx)("div",{className:"model-pagination",children:(0,s.jsx)(F.A,{current:null==b?void 0:b.page,pageSize:null==b?void 0:b.page_size,showSizeChanger:!0,onChange:(e,a)=>{y(l=>({...l,page:e,page_size:a}))},size:"small"})})]}),(0,s.jsx)(z.A,{width:800,open:m,title:e("create_model"),onCancel:()=>{p(!1)},footer:null,className:"model-modal",children:(0,s.jsx)(C,{onCancel:()=>{p(!1)},onSuccess:()=>{p(!1),A()}})})]})}},16003:(e,a,l)=>{Promise.resolve().then(l.bind(l,6178))},34667:()=>{},39740:(e,a,l)=>{"use strict";l.d(a,{UK:()=>o,V:()=>c,cE:()=>m,rA:()=>i});var s=l(95155),t=l(67773);l(61475);var r=l(54099),n=l(35695),d=l(12115);let o=(0,d.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),i=e=>{var a,l,i;let{children:c}=e,m=(0,n.useSearchParams)(),p=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",u=null!=(l=null==m?void 0:m.get("scene"))?l:"",h=null!=(i=null==m?void 0:m.get("db_param"))?i:"",[x,v]=(0,d.useState)(!1),[j,_]=(0,d.useState)("light"),[f,g]=(0,d.useState)("chat_dashboard"!==u),[b,y]=(0,d.useState)(h),[N,w]=(0,d.useState)(""),[A,k]=(0,d.useState)([]),[C,S]=(0,d.useState)(),[V,I]=(0,d.useState)("light"),[L,E]=(0,d.useState)(p),[M,O]=(0,d.useState)([]),[P,D]=(0,d.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,r.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.TzU)());return null!=e?e:[]}),{data:F=[],refresh:q,loading:B}=(0,r.A)(async()=>await (0,t.VbY)((0,t.b7p)()));return(0,d.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");D(e)}catch(e){D({chat_scene:"",app_code:""})}},[]),(0,d.useEffect)(()=>{_(z[0])},[z,null==z?void 0:z.length]),(0,d.useEffect)(()=>{p&&E(p)},[p]),(0,s.jsx)(o.Provider,{value:{isContract:x,isMenuExpand:f,scene:u,chatId:L,model:j,modelList:z,dbParam:b||h,agent:N,setAgent:w,mode:V,setMode:I,setModel:_,setIsContract:v,setIsMenuExpand:g,setDbParam:y,history:A,setHistory:k,docId:C,setDocId:S,currentDialogInfo:P,setCurrentDialogInfo:D,adminList:M,refreshDialogList:q,dialogueList:F},children:c})},c=(0,d.createContext)(null),m=(0,d.createContext)(null)},84182:(e,a,l)=>{"use strict";l.d(a,{Ay:()=>v,VV:()=>h,_f:()=>x});var s=l(95155),t=l(81106),r=l(6124),n=l(97540),d=l(94600),o=l(90797),i=l(19696),c=l(29300),m=l.n(c),p=l(91218),u=l(66766);l(12115),l(2785);let h=e=>{let{onClick:a,Icon:l="/pictures/card_chat.png",text:t,className:r}=e,{t:n}=(0,p.Bd)(),d=t||n("start_chat");return"string"==typeof l&&(l=(0,s.jsx)(u.default,{src:l,alt:l,width:17,height:15})),(0,s.jsxs)("button",{className:"flex items-center gap-1.5 text-sm rounded-full bg-gradient-to-r from-blue-500 to-indigo-500 text-white px-4 py-1.5 transition-all duration-200 hover:from-blue-600 hover:to-indigo-600 hover:shadow-md ".concat(r),onClick:e=>{e.stopPropagation(),a&&a()},children:[l&&(0,s.jsx)("span",{children:l}),(0,s.jsx)("span",{children:d})]})},x=e=>{let{menu:a}=e;return(0,s.jsx)(i.A,{menu:a,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,s.jsx)(t.A,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})},v=e=>{let{RightTop:a,Tags:l,LeftBottom:t,RightBottom:i,onClick:c,rightTopHover:p=!0,logo:u,name:h,description:x,className:v,scene:j,code:_}=e;return"string"==typeof x&&(x=(0,s.jsx)("p",{className:"line-clamp-2 relative bottom-3 text-ellipsis min-h-[40px] text-sm text-[#5a626d] dark:text-[rgba(255,255,255,0.7)] leading-relaxed mb-3",children:x})),(0,s.jsx)(r.A,{className:m()("hover-underline-gradient h-[280px] overflow-hidden transition-all duration-300 group cursor-pointer ring-1 ring-gray-200 dark:ring-gray-700 hover:ring-blue-300 dark:hover:ring-blue-500/50 hover:shadow-lg dark:hover:shadow-gray-900/20",v),onClick:c,styles:{body:{padding:"20px",background:"linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(240,244,255,0.2) 100%)",borderRadius:"12px",backdropFilter:"blur(10px)",backgroundClip:"padding-box",border:"1px solid rgba(255,255,255, 0.4)",height:"100%"}},children:(0,s.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,s.jsx)("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm p-1.5 ring-1 ring-gray-200 dark:ring-gray-700",children:(0,s.jsx)("img",{src:u,alt:h,className:"w-10 min-w-10 h-10 object-contain rounded-lg max-w-none",onError:e=>{let a=e.target;a.onerror=null,a.src="/icons/colorful-plugin.png"}})}),(0,s.jsx)("div",{className:"flex-1 min-w-0",children:(0,s.jsx)(n.A,{title:h,placement:"topLeft",children:(0,s.jsx)("h3",{className:"font-bold text-base text-gray-800 dark:text-gray-200 truncate mb-1",children:h})})})]}),(0,s.jsx)("div",{className:"mb-4",children:x})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-3",children:l}),(0,s.jsxs)("div",{className:"flex justify-between items-center mt-auto",children:[(0,s.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:t}),(0,s.jsx)("div",{children:i})]}),_&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.A,{className:"my-3"}),(0,s.jsx)(o.A.Text,{copyable:!0,className:"text-xs text-gray-500 dark:text-gray-500",children:_})]})]})]})})}},91070:(e,a,l)=>{"use strict";l.d(a,{BR:()=>n,zo:()=>r,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=l(39740),t=l(12115);let r=(0,t.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,t.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[1448,9098,586,1218,9259,9879,3320,6421,4099,1991,797,3512,2822,5388,6766,1483,6124,1097,6174,221,7773,8441,5964,7358],()=>e(e.s=16003)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8329],{2785:()=>{},6178:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>Y});var s=l(95155),t=l(67773),r=l(84182),n=l(91070),d=l(7132),o=l(66766),i=l(12115),c=l(91218);let m="/models/huggingface.svg";var p=l(32013),u=l(95388),h=l(94326),x=l(52805),v=l(97540),j=l(98696),_=l(30961),f=l(73775),g=l(76174),b=l(21103);let y=e=>{let{parentName:a,fields:l,form:t}=e,[r,n]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=t.getFieldValue(a);(null==e?void 0:e.type)&&!r&&n(e.type)},[t,a]),(0,s.jsxs)("div",{className:"space-y-4 border rounded-md p-4",children:[(0,s.jsx)(u.A.Item,{label:"Type",name:[a,"type"],children:(0,s.jsx)(p.A,{onChange:e=>{n(e);let s=l[e]||[],r={type:e};s.forEach(e=>{r[e.param_name]=e.default_value}),t.setFieldsValue({[a]:r})},placeholder:"Select a type",children:Object.keys(l).map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))})}),r&&l[r]&&(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsxs)("h4",{className:"mb-4 text-base font-medium",children:[r," Configuration"]}),(0,s.jsx)("div",{className:"space-y-4",children:l[r].map(e=>(e=>{let l,t=e.param_type.toLowerCase(),n=[a,e.param_name];return l="str"===t||"string"===t?e.valid_values?(0,s.jsx)(p.A,{children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))}):(0,s.jsx)(f.A,{}):"int"===t||"integer"===t||"number"===t||"float"===t?(0,s.jsx)(g.A,{className:"w-full"}):"bool"===t||"boolean"===t?(0,s.jsx)(b.A,{}):(0,s.jsx)(f.A,{}),(0,s.jsx)(u.A.Item,{label:e.label||e.param_name,name:n,valuePropName:"bool"===t||"boolean"===t?"checked":"value",tooltip:e.description,rules:r&&e.required?[{required:!0,message:"Please input ".concat(e.param_name)}]:[],children:l},e.param_name)})(e))})]})]})},N=function(e){let{params:a,form:l}=e;if((0,i.useEffect)(()=>{if(a){let e={};a.forEach(a=>{a.nested_fields||void 0===l.getFieldValue(a.param_name)&&(e[a.param_name]=a.default_value)}),l.setFieldsValue(e)}},[a,l]),!a||(null==a?void 0:a.length)<1)return null;let t=l.submit;return l.submit=()=>{let e=(e=>{let l={...e};return null==a||a.forEach(e=>{if(e.nested_fields&&l[e.param_name]){let a=l[e.param_name];if(a.type){let s=e.nested_fields[a.type]||[],t={};s.forEach(e=>{void 0!==a[e.param_name]&&(t[e.param_name]=a[e.param_name])}),l[e.param_name]={type:a.type,...t}}}}),l})(l.getFieldsValue());l.setFieldsValue(e),t.call(l)},(0,s.jsx)("div",{className:"space-y-4",children:null==a?void 0:a.map(e=>(0,s.jsx)(u.A.Item,{label:(0,s.jsx)("p",{className:"whitespace-normal overflow-wrap-break-word",children:e.label||e.param_name}),name:e.param_name,initialValue:e.default_value,valuePropName:"bool"===e.param_type.toLowerCase()||"boolean"===e.param_type.toLowerCase()?"checked":"value",tooltip:e.description,rules:e.required?[{required:!0,message:"Please input ".concat(e.label||e.param_name)}]:[],children:function(e){var a,t,r,n,d;if(e.nested_fields)return(0,s.jsx)(y,{parentName:e.param_name,fields:e.nested_fields,form:l});let o=e.param_type.toLowerCase(),i=null==(t=e.ext_metadata)||null==(a=t.tags)?void 0:a.includes("fixed"),c=null==(n=e.ext_metadata)||null==(r=n.tags)?void 0:r.includes("privacy");if("str"===o||"string"===o){if(e.valid_values)return Array.isArray(d=e.valid_values)&&0!==d.length&&"object"==typeof d[0]&&null!==d[0]&&"key"in d[0]&&"label"in d[0]?(0,s.jsx)(p.A,{disabled:i,children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e.key,children:e.label},e.key))}):(0,s.jsx)(p.A,{disabled:i,children:e.valid_values.map(e=>(0,s.jsx)(p.A.Option,{value:e,children:e},e))});return c?(0,s.jsx)(f.A.Password,{disabled:i,autoComplete:"new-password",placeholder:"请输入密码"}):(0,s.jsx)(f.A,{disabled:i})}return"int"===o||"integer"===o||"number"===o||"float"===o?(0,s.jsx)(g.A,{className:"w-full",disabled:i}):"bool"===o||"boolean"===o?(0,s.jsx)(b.A,{disabled:i}):(0,s.jsx)(f.A,{disabled:i})}(e)},e.param_name))})},{Option:w}=p.A,A=u.A.Item,k=["llm","text2vec","reranker"],C=function(e){var a;let{onCancel:l,onSuccess:r}=e,{t:n}=(0,c.Bd)(),[f,g]=(0,i.useState)([]),[b,y]=(0,i.useState)(),[C,S]=(0,i.useState)(),[V,I]=(0,i.useState)(null),[L,E]=(0,i.useState)(!1),[M]=u.A.useForm(),[O,P]=(0,i.useState)({}),[D,z]=(0,i.useState)([]);async function F(){let[,e]=await (0,t.VbY)((0,t.Mz8)());if(e&&e.length){let a=e.sort((e,a)=>e.enabled&&!a.enabled?-1:!e.enabled&&a.enabled?1:e.model.localeCompare(a.model));g(a),P(a.reduce((e,a)=>{let l=a.provider;return e[l]||(e[l]=[]),e[l].push(a),e},{})),z([])}}async function q(e){if(C&&b){E(!0);try{var a;let l=(e=>{let a={...e};return null==V||V.forEach(e=>{if(e.nested_fields&&a[e.param_name]){let l=a[e.param_name];if(l.type){let s=e.nested_fields[l.type]||[],t={};s.forEach(e=>{void 0!==l[e.param_name]&&(t[e.param_name]=l[e.param_name])}),a[e.param_name]={...t,type:l.type}}}}),a})(e),s=null==(a=O[C])?void 0:a.find(e=>e.model===l.name),d={host:(null==s?void 0:s.host)||"",port:(null==s?void 0:s.port)||0,model:l.name,worker_type:b,params:l},[,,o]=await (0,t.VbY)((0,t.kQ$)(d));(null==o?void 0:o.success)&&(h.Ay.success(n("start_model_success")),M.resetFields(),null==r||r())}catch(e){h.Ay.error(n("start_model_failed"))}finally{E(!1)}}}return(0,i.useEffect)(()=>{F()},[]),(0,s.jsxs)(u.A,{form:M,labelCol:{span:8},wrapperCol:{span:16},onFinish:q,children:[(0,s.jsx)(A,{label:"Worker Type",name:"worker_type",rules:[{required:!0,message:n("worker_type_select_tips")}],children:(0,s.jsx)(p.A,{onChange:function(e){y(e),S(void 0),M.resetFields(),M.setFieldValue("worker_type",e);let a=new Set;Object.entries(O).forEach(l=>{let[s,t]=l;t.some(a=>a.worker_type===e)&&a.add(s)}),z(Array.from(a).sort())},placeholder:n("model_select_worker_type"),children:k.map(e=>(0,s.jsx)(w,{value:e,children:e},e))})}),b&&(0,s.jsx)(A,{label:"Provider",name:"provider",rules:[{required:!0,message:n("provider_select_tips")}],children:(0,s.jsx)(p.A,{onChange:function(e){S(e),M.setFieldValue("provider",e);let a=(O[e]||[]).filter(e=>e.worker_type===b);if(a.length>0){let e=a[0];(null==e?void 0:e.params)&&I(Array.isArray(e.params)?e.params:[e.params])}},placeholder:n("model_select_provider"),value:C,children:D.map(e=>(0,s.jsx)(w,{value:e,children:e},e))})}),C&&b&&V&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(A,{label:n("model_deploy_name"),name:"name",rules:[{required:!0,message:n("model_please_input_name")}],children:(0,s.jsx)(x.A,{style:{width:"100%"},placeholder:n("model_select_or_input_model"),options:null==(a=O[C])?void 0:a.filter(e=>e.worker_type===b).map(e=>({value:e.model,label:(0,s.jsx)("div",{className:"flex items-center w-full",children:(0,s.jsxs)("div",{className:"flex items-center",children:[function(e,a){var l,t;let{width:r,height:n}={};return e?(0,s.jsx)(o.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:r||24,height:n||24,src:(null==(l=d.zq[e])?void 0:l.icon)||m,alt:"llm"},(null==(t=d.zq[e])?void 0:t.icon)||m):null}(e.model),(0,s.jsx)(v.A,{title:(0,s.jsxs)("div",{className:"max-w-md",children:[(0,s.jsx)("div",{className:"whitespace-pre-wrap markdown-body",children:(0,s.jsx)(_.oz,{children:e.description||e.model})}),(0,s.jsx)("div",{className:"mt-2 text-xs opacity-75",children:e.enabled?"".concat(e.host,":").concat(e.port):n("download_model_tip")})]}),placement:"right",children:(0,s.jsx)("span",{className:"ml-2",children:e.model})})]})})})),filterOption:(e,a)=>-1!==a.value.toUpperCase().indexOf(e.toUpperCase())})}),(0,s.jsx)(N,{params:V.filter(e=>"name"!==e.param_name),form:M})]}),(0,s.jsxs)("div",{className:"flex justify-center space-x-4",children:[(0,s.jsx)(j.Ay,{type:"primary",htmlType:"submit",loading:L,children:n("submit")}),(0,s.jsx)(j.Ay,{onClick:l,children:n("cancel")})]})]})};var S=l(34140),V=l(44261),I=l(3377),L=l(8365),E=l(73086),M=l(13630),O=l(63625),P=l(18610),D=l(54099),z=l(96194),F=l(7744),q=l(82940),B=l.n(q),T=l(35695);l(34667);let{confirm:U}=z.A;function Y(){let{t:e}=(0,c.Bd)(),{setModel:a}=(0,i.useContext)(n.UK),l=(0,T.useRouter)(),[d,o]=(0,i.useState)([]),[m,p]=(0,i.useState)(!1),[u,x]=(0,i.useState)(!1),[v,_]=(0,i.useState)("grid"),[f,g]=(0,i.useState)(""),[b,y]=(0,i.useState)({page:1,page_size:20}),{loading:N,run:w}=(0,D.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.O68)());return null!=e?e:[]},{manual:!1,onSuccess:e=>{o(e)}});async function A(){let[,e]=await (0,t.VbY)((0,t.O68)());o(null!=e?e:[])}async function k(a){if(u)return;let l=e("confirm_start_model")+a.model_name;Y(e("start_model"),l,async()=>{x(!0);let[,,l]=await (0,t.VbY)((0,t.Mn0)({host:a.host,port:a.port,model:a.model_name,worker_type:a.worker_type,delete_after:!1,params:{}}));x(!1),(null==l?void 0:l.success)&&(h.Ay.success(e("start_model_success")),await A())})}async function q(a){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(u)return;let s=l?"stop_and_delete":"stop",r=e("confirm_".concat(s,"_model"))+a.model_name;Y(e("".concat(s,"_model")),r,async()=>{x(!0);let[,,r]=await (0,t.VbY)((0,t.kE9)({host:a.host,port:a.port,model:a.model_name,worker_type:a.worker_type,delete_after:l,params:{}}));x(!1),(null==r?void 0:r.success)===!0&&(h.Ay.success(e("".concat(s,"_model_success"))),await A())})}let Y=(e,a,l)=>{z.A.confirm({title:e,content:a,onOk:async()=>{await l()},okButtonProps:{className:"bg-button-gradient"}})},H=async e=>{let[s,r]=await (0,t.VbY)((0,t.j_h)({app_code:"chat_normal",model:e.model_name}));(null==r?void 0:r.conv_uid)&&(a(e.model_name),l.push("/chat?app_code=chat_normal&conv_uid=".concat(null==r?void 0:r.conv_uid,"&model=").concat(e.model_name)))},R=(0,i.useMemo)(()=>f.trim()?d.filter(e=>{var a,l;return(null==(a=e.model_name)?void 0:a.toLowerCase().includes(f.toLowerCase()))||(null==(l=e.host)?void 0:l.toLowerCase().includes(f.toLowerCase()))}):d,[d,f]),K=(0,i.useMemo)(()=>{var e;let a=(null==d?void 0:d.length)||0,l=(null==d||null==(e=d.filter(e=>e.healthy))?void 0:e.length)||0;return{total:a,online:l,offline:a-l}},[d]);return(0,s.jsxs)("div",{className:"model-page-root",children:[(0,s.jsx)("div",{className:"model-page-bg"}),(0,s.jsxs)("div",{className:"model-page-content",children:[(0,s.jsxs)("div",{className:"model-header",children:[(0,s.jsxs)("div",{className:"model-header-left",children:[(0,s.jsx)("div",{className:"model-header-icon",children:(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"model-title",children:e("model_management")}),(0,s.jsx)("p",{className:"model-subtitle",children:e("model_page_subtitle")})]})]}),(0,s.jsxs)("div",{className:"model-header-actions",children:[(0,s.jsx)(j.Ay,{className:"model-btn-refresh",icon:(0,s.jsx)(S.A,{}),onClick:()=>A()}),(0,s.jsx)(j.Ay,{className:"border-none text-white bg-button-gradient model-btn-primary",icon:(0,s.jsx)(V.A,{}),onClick:()=>{p(!0)},children:e("create_model")})]})]}),(0,s.jsxs)("div",{className:"model-stats-bar",children:[(0,s.jsxs)("div",{className:"model-stats-group",children:[(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value",children:K.total}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_total")})]}),(0,s.jsx)("div",{className:"model-stat-divider"}),(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value model-stat-online",children:K.online}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_online")})]}),(0,s.jsx)("div",{className:"model-stat-divider"}),(0,s.jsxs)("div",{className:"model-stat",children:[(0,s.jsx)("span",{className:"model-stat-value model-stat-offline",children:K.offline}),(0,s.jsx)("span",{className:"model-stat-label",children:e("model_stat_offline")})]})]}),(0,s.jsxs)("div",{className:"model-toolbar",children:[(0,s.jsxs)("div",{className:"model-search-wrapper",children:[(0,s.jsx)(I.A,{className:"model-search-icon"}),(0,s.jsx)("input",{className:"model-search-input",placeholder:e("Search_models"),value:f,onChange:e=>g(e.target.value)})]}),(0,s.jsxs)("div",{className:"model-view-toggle",children:[(0,s.jsx)("button",{className:"model-view-btn ".concat("grid"===v?"active":""),onClick:()=>_("grid"),children:(0,s.jsx)(L.A,{})}),(0,s.jsx)("button",{className:"model-view-btn ".concat("list"===v?"active":""),onClick:()=>_("list"),children:(0,s.jsx)(E.A,{})})]})]})]}),(null==R?void 0:R.length)?(0,s.jsx)("div",{className:"grid"===v?"model-grid":"model-list-view",children:R.map((a,l)=>(0,s.jsxs)("div",{className:"model-card ".concat(a.healthy?"model-card--online":"model-card--offline"," ").concat("list"===v?"model-card--list":""),children:[a.healthy&&(0,s.jsx)("div",{className:"model-card-glow"}),(0,s.jsxs)("div",{className:"model-card-header",children:[(0,s.jsxs)("div",{className:"model-card-identity",children:[(0,s.jsx)("div",{className:"model-card-avatar ".concat(a.healthy?"model-card-avatar--online":""),children:(0,s.jsx)("span",{className:"model-card-avatar-text",children:(a.model_name||"M").charAt(0).toUpperCase()})}),(0,s.jsxs)("div",{className:"model-card-meta",children:[(0,s.jsx)("h3",{className:"model-card-name",children:a.model_name}),(0,s.jsxs)("div",{className:"model-card-badges",children:[(0,s.jsx)("span",{className:"model-badge model-badge--type",children:a.worker_type}),(0,s.jsxs)("span",{className:"model-badge ".concat(a.healthy?"model-badge--online":"model-badge--offline"),children:[(0,s.jsx)("span",{className:"model-status-dot ".concat(a.healthy?"model-status-dot--online":"")}),a.healthy?e("model_healthy"):e("model_unhealthy")]})]})]})]}),(0,s.jsx)("div",{className:"model-card-actions",children:(0,s.jsx)(r._f,{menu:{items:[{key:"start_model",label:(0,s.jsxs)("span",{className:"model-dropdown-success",onClick:()=>k(a),children:[(0,s.jsx)(M.A,{})," ",e("start_model")]})},{key:"stop_model",label:(0,s.jsxs)("span",{className:"model-dropdown-warning",onClick:()=>q(a),children:[(0,s.jsx)(O.A,{})," ",e("stop_model")]})},{type:"divider"},{key:"stop_and_delete",label:(0,s.jsxs)("span",{className:"model-dropdown-danger",onClick:()=>q(a,!0),children:[(0,s.jsx)(O.A,{})," ",e("stop_and_delete_model")]})},{key:"delete",label:(0,s.jsxs)("span",{className:"model-dropdown-danger",children:[(0,s.jsx)(P.A,{})," ",e("Delete")]}),onClick:()=>{U({title:e("delete_model"),content:e("delete_model_confirm")+a.model_name+"?",okText:e("Yes"),cancelText:e("No"),okButtonProps:{danger:!0},onOk(){h.Ay.info(e("delete_model_tip"))}})}}].filter(Boolean)}})})]}),(0,s.jsx)("div",{className:"model-card-desc",children:(0,s.jsxs)("div",{className:"model-info-list",children:[(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Host"}),(0,s.jsxs)("span",{className:"model-info-value",children:[a.host,":",a.port]})]}),(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Manager"}),(0,s.jsxs)("span",{className:"model-info-value",children:[a.manager_host,":",a.manager_port]})]}),(0,s.jsxs)("div",{className:"model-info-item",children:[(0,s.jsx)("span",{className:"model-info-label",children:"Heartbeat"}),(0,s.jsx)("span",{className:"model-info-value",children:B()(a.last_heartbeat).format("MM-DD HH:mm")})]})]})}),(0,s.jsxs)("div",{className:"model-card-footer",children:[(0,s.jsx)("div",{className:"model-card-footer-left",children:(0,s.jsxs)("span",{className:"model-card-port",children:[(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{d:"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"})}),a.host,":",a.port]})}),(0,s.jsx)(j.Ay,{type:"primary",size:"small",className:"model-chat-btn",onClick:()=>H(a),children:e("start_chat")})]})]},a.model_name||l))}):!N&&(0,s.jsxs)("div",{className:"model-empty",children:[(0,s.jsx)("div",{className:"model-empty-icon",children:(0,s.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,s.jsx)("path",{d:"M12 6v6l4 2"})]})}),(0,s.jsx)("h3",{className:"model-empty-title",children:e("No_models_found")}),(0,s.jsx)("p",{className:"model-empty-desc",children:e("model_empty_desc")})]}),(null==R?void 0:R.length)>0&&(0,s.jsx)("div",{className:"model-pagination",children:(0,s.jsx)(F.A,{current:null==b?void 0:b.page,pageSize:null==b?void 0:b.page_size,showSizeChanger:!0,onChange:(e,a)=>{y(l=>({...l,page:e,page_size:a}))},size:"small"})})]}),(0,s.jsx)(z.A,{width:800,open:m,title:e("create_model"),onCancel:()=>{p(!1)},footer:null,className:"model-modal",children:(0,s.jsx)(C,{onCancel:()=>{p(!1)},onSuccess:()=>{p(!1),A()}})})]})}},16003:(e,a,l)=>{Promise.resolve().then(l.bind(l,6178))},34667:()=>{},39740:(e,a,l)=>{"use strict";l.d(a,{UK:()=>o,V:()=>c,cE:()=>m,rA:()=>i});var s=l(95155),t=l(67773);l(61475);var r=l(54099),n=l(35695),d=l(12115);let o=(0,d.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),i=e=>{var a,l,i;let{children:c}=e,m=(0,n.useSearchParams)(),p=null!=(a=null==m?void 0:m.get("conv_uid"))?a:"",u=null!=(l=null==m?void 0:m.get("scene"))?l:"",h=null!=(i=null==m?void 0:m.get("db_param"))?i:"",[x,v]=(0,d.useState)(!1),[j,_]=(0,d.useState)("light"),[f,g]=(0,d.useState)("chat_dashboard"!==u),[b,y]=(0,d.useState)(h),[N,w]=(0,d.useState)(""),[A,k]=(0,d.useState)([]),[C,S]=(0,d.useState)(),[V,I]=(0,d.useState)("light"),[L,E]=(0,d.useState)(p),[M,O]=(0,d.useState)([]),[P,D]=(0,d.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,r.A)(async()=>{let[,e]=await (0,t.VbY)((0,t.TzU)());return null!=e?e:[]}),{data:F=[],refresh:q,loading:B}=(0,r.A)(async()=>await (0,t.VbY)((0,t.b7p)()));return(0,d.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");D(e)}catch(e){D({chat_scene:"",app_code:""})}},[]),(0,d.useEffect)(()=>{_(z[0])},[z,null==z?void 0:z.length]),(0,d.useEffect)(()=>{p&&E(p)},[p]),(0,s.jsx)(o.Provider,{value:{isContract:x,isMenuExpand:f,scene:u,chatId:L,model:j,modelList:z,dbParam:b||h,agent:N,setAgent:w,mode:V,setMode:I,setModel:_,setIsContract:v,setIsMenuExpand:g,setDbParam:y,history:A,setHistory:k,docId:C,setDocId:S,currentDialogInfo:P,setCurrentDialogInfo:D,adminList:M,refreshDialogList:q,dialogueList:F},children:c})},c=(0,d.createContext)(null),m=(0,d.createContext)(null)},84182:(e,a,l)=>{"use strict";l.d(a,{Ay:()=>v,VV:()=>h,_f:()=>x});var s=l(95155),t=l(81106),r=l(6124),n=l(97540),d=l(94600),o=l(90797),i=l(19696),c=l(29300),m=l.n(c),p=l(91218),u=l(66766);l(12115),l(2785);let h=e=>{let{onClick:a,Icon:l="/pictures/card_chat.png",text:t,className:r}=e,{t:n}=(0,p.Bd)(),d=t||n("start_chat");return"string"==typeof l&&(l=(0,s.jsx)(u.default,{src:l,alt:l,width:17,height:15})),(0,s.jsxs)("button",{className:"flex items-center gap-1.5 text-sm rounded-full bg-gradient-to-r from-blue-500 to-indigo-500 text-white px-4 py-1.5 transition-all duration-200 hover:from-blue-600 hover:to-indigo-600 hover:shadow-md ".concat(r),onClick:e=>{e.stopPropagation(),a&&a()},children:[l&&(0,s.jsx)("span",{children:l}),(0,s.jsx)("span",{children:d})]})},x=e=>{let{menu:a}=e;return(0,s.jsx)(i.A,{menu:a,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,s.jsx)(t.A,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})},v=e=>{let{RightTop:a,Tags:l,LeftBottom:t,RightBottom:i,onClick:c,rightTopHover:p=!0,logo:u,name:h,description:x,className:v,scene:j,code:_}=e;return"string"==typeof x&&(x=(0,s.jsx)("p",{className:"line-clamp-2 relative bottom-3 text-ellipsis min-h-[40px] text-sm text-[#5a626d] dark:text-[rgba(255,255,255,0.7)] leading-relaxed mb-3",children:x})),(0,s.jsx)(r.A,{className:m()("hover-underline-gradient h-[280px] overflow-hidden transition-all duration-300 group cursor-pointer ring-1 ring-gray-200 dark:ring-gray-700 hover:ring-blue-300 dark:hover:ring-blue-500/50 hover:shadow-lg dark:hover:shadow-gray-900/20",v),onClick:c,styles:{body:{padding:"20px",background:"linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(240,244,255,0.2) 100%)",borderRadius:"12px",backdropFilter:"blur(10px)",backgroundClip:"padding-box",border:"1px solid rgba(255,255,255, 0.4)",height:"100%"}},children:(0,s.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,s.jsx)("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-sm p-1.5 ring-1 ring-gray-200 dark:ring-gray-700",children:(0,s.jsx)("img",{src:u,alt:h,className:"w-10 min-w-10 h-10 object-contain rounded-lg max-w-none",onError:e=>{let a=e.target;a.onerror=null,a.src="/icons/colorful-plugin.png"}})}),(0,s.jsx)("div",{className:"flex-1 min-w-0",children:(0,s.jsx)(n.A,{title:h,placement:"topLeft",children:(0,s.jsx)("h3",{className:"font-bold text-base text-gray-800 dark:text-gray-200 truncate mb-1",children:h})})})]}),(0,s.jsx)("div",{className:"mb-4",children:x})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-3",children:l}),(0,s.jsxs)("div",{className:"flex justify-between items-center mt-auto",children:[(0,s.jsx)("div",{className:"text-xs text-gray-500 dark:text-gray-400",children:t}),(0,s.jsx)("div",{children:i})]}),_&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.A,{className:"my-3"}),(0,s.jsx)(o.A.Text,{copyable:!0,className:"text-xs text-gray-500 dark:text-gray-500",children:_})]})]})]})})}},91070:(e,a,l)=>{"use strict";l.d(a,{BR:()=>n,zo:()=>r,UK:()=>s.UK,rA:()=>s.rA,cE:()=>s.cE,V:()=>s.V});var s=l(39740),t=l(12115);let r=(0,t.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,t.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[1448,9098,586,1218,9259,9879,3320,6421,4099,1991,797,3512,2822,5388,6766,1483,6124,1097,6174,221,7773,8441,5964,7358],()=>e(e.s=16003)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-3a95b52f15261e5e.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-093d40447d4b872b.js similarity index 88% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-3a95b52f15261e5e.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-093d40447d4b872b.js index 6b219fdf..a9acd595 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-3a95b52f15261e5e.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-093d40447d4b872b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1910],{23926:(e,t,a)=>{Promise.resolve().then(a.bind(a,90979))},24646:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var l=a(95155),s=a(7132),r=a(66766),n=a(12115);let o=(0,n.memo)(e=>{let{width:t,height:a,model:o}=e,i=(0,n.useMemo)(()=>(0,s.ZI)(o||"huggingface"),[o]);return o?(0,l.jsx)(r.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:a||24,src:i,alt:"llm",priority:!0}):null})},39740:(e,t,a)=>{"use strict";a.d(t,{UK:()=>i,V:()=>d,cE:()=>u,rA:()=>c});var l=a(95155),s=a(67773);a(61475);var r=a(54099),n=a(35695),o=a(12115);let i=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),c=e=>{var t,a,c;let{children:d}=e,u=(0,n.useSearchParams)(),p=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",m=null!=(a=null==u?void 0:u.get("scene"))?a:"",h=null!=(c=null==u?void 0:u.get("db_param"))?c:"",[g,_]=(0,o.useState)(!1),[x,f]=(0,o.useState)("light"),[v,A]=(0,o.useState)("chat_dashboard"!==m),[y,b]=(0,o.useState)(h),[j,N]=(0,o.useState)(""),[w,S]=(0,o.useState)([]),[I,C]=(0,o.useState)(),[V,E]=(0,o.useState)("light"),[O,F]=(0,o.useState)(p),[k,P]=(0,o.useState)([]),[L,D]=(0,o.useState)({chat_scene:"",app_code:""}),{data:M=[]}=(0,r.A)(async()=>{let[,e]=await (0,s.VbY)((0,s.TzU)());return null!=e?e:[]}),{data:R=[],refresh:T,loading:U}=(0,r.A)(async()=>await (0,s.VbY)((0,s.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");D(e)}catch(e){D({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{f(M[0])},[M,null==M?void 0:M.length]),(0,o.useEffect)(()=>{p&&F(p)},[p]),(0,l.jsx)(i.Provider,{value:{isContract:g,isMenuExpand:v,scene:m,chatId:O,model:x,modelList:M,dbParam:y||h,agent:j,setAgent:N,mode:V,setMode:E,setModel:f,setIsContract:_,setIsMenuExpand:A,setDbParam:b,history:w,setHistory:S,docId:I,setDocId:C,currentDialogInfo:L,setCurrentDialogInfo:D,adminList:k,refreshDialogList:T,dialogueList:R},children:d})},d=(0,o.createContext)(null),u=(0,o.createContext)(null)},90979:(e,t,a)=>{"use strict";a.d(t,{default:()=>R});var l=a(95155),s=a(91070),r=a(67773),n=a(24646),o=a(47937),i=a(61475),c=a(88276),d=a(95069),u=a(78936),p=a(17295),m=a(24517),h=a(54099),g=a(1828),_=a(76174),x=a(55887),f=a(95388),v=a(67850),A=a(98696),y=a(6124),b=a(94481),j=a(32013),N=a(73775),w=a(29300),S=a.n(w),I=a(39092),C=a(55028),V=a(35695),E=a(12115),O=a(91218);a(91214);var F=a(49509);let k=(0,C.default)(()=>a.e(5611).then(a.bind(a,75611)),{loadableGenerated:{webpack:()=>[75611]},ssr:!1}),P=new I.A,L=(0,C.default)(()=>Promise.all([a.e(562),a.e(750),a.e(240),a.e(5600),a.e(2826),a.e(7330),a.e(4935),a.e(4316),a.e(8779),a.e(3930),a.e(3485),a.e(5033),a.e(797),a.e(6467),a.e(1483),a.e(1081),a.e(8674),a.e(1097),a.e(3054),a.e(2991),a.e(3527),a.e(4984),a.e(9960),a.e(1236)]).then(a.bind(a,40102)),{loadableGenerated:{webpack:()=>[40102]},ssr:!1}),D=[{value:"Agent",label:"AGENT"},{value:"Scene",label:"SCENE"},{value:"Normal",label:"NORMAL"},{value:"Evaluate",label:"EVALUATE"}],M=e=>{let{value:t,onChange:a}=e,s=e=>{isNaN(e)||null==a||a(e)};return(0,l.jsxs)("div",{className:"flex items-center gap-8",children:[(0,l.jsx)(g.A,{className:"w-40",min:0,max:1,step:.1,onChange:s,value:t}),(0,l.jsx)(_.A,{className:"w-16",min:0,max:1,step:.1,value:t,onChange:s})]})},R=()=>{var e;let t=(0,V.useRouter)(),a=(0,V.useParams)(),g=(null==a?void 0:a.type)||"",{t:_}=(0,O.Bd)(),{modelList:w,model:I,mode:C}=(0,E.useContext)(s.UK),R="dark"===C?p.j:m.n,{message:T}=x.A.useApp(),[U,J]=(0,E.useState)(""),[H,K]=(0,E.useState)([]),[q,z]=(0,E.useState)({}),[B,Y]=(0,E.useState)([]),[W,G]=(0,E.useState)(!1),[X]=f.A.useForm(),[Z]=f.A.useForm(),[Q]=f.A.useForm(),[$,ee]=(0,E.useState)(),et=f.A.useWatch("prompt_type",X),ea=(0,E.useMemo)(()=>w.map(e=>({value:e,label:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(n.A,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})})),[w]),el=(0,E.useCallback)(e=>{J(e.text)},[]),{data:es,run:er,loading:en}=(0,h.A)(async e=>await (0,r.C5B)(e),{manual:!0}),{run:eo}=(0,h.A)(async e=>await (0,r.b1H)({prompt_type:et,target:null!=e?e:"",sub_target:""}),{manual:!0,onSuccess:e=>{if(e){let{data:t}=e.data;J(t.template),K(t.input_variables);try{let e=JSON.parse(t.response_format);z(e||{})}catch(e){z({})}}}}),{run:ei,loading:ec}=(0,h.A)(async e=>"add"===g?await (0,r.VbY)((0,r.WzL)(e)):await (0,r.VbY)((0,r.qjU)(e)),{manual:!0,onSuccess:()=>{T.success("".concat("add"===g?_("Add"):_("update")).concat(_("success"))),t.replace("/prompt")}}),ed=async()=>{if(W)return;let e=Z.getFieldsValue();if(!Q.getFieldValue("user_input"))return void T.warning(_("Please_fill_in_the_user_input"));X.validateFields().then(async t=>{let a={sub_chat_scene:"",model:Q.getFieldValue("model"),chat_scene:t.target,prompt_name:t.prompt_name,prompt_type:t.prompt_type,content:U,response_schema:JSON.stringify(q),input_variables:JSON.stringify(H),prompt_language:Q.getFieldValue("prompt_language"),prompt_desc:"",prompt_code:t.prompt_code,temperature:Q.getFieldValue("temperature"),debug_model:Q.getFieldValue("model"),input_values:{...e},user_input:Q.getFieldValue("user_input")},l=[{role:"view",context:""}],s=l.length-1;try{var r,n;G(!0),await (0,d.y)("".concat(null!=(r=F.env.NEXT_PUBLIC_API_BASE_URL)?r:"","/prompt/template/debug"),{method:"POST",headers:{"Content-Type":"application/json",[i.uz]:null!=(n=(0,o.F6)())?n:""},body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===d.o)return},onclose(){G(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;if(t){try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?G(!1):(null==t?void 0:t.startsWith("[ERROR]"))?(G(!1),l[s].context=null==t?void 0:t.replace("[ERROR]","")):(l[s].context=t,Y([...l]))}}})}catch(e){G(!1),l[s].context="Sorry, we meet some error, please try again later",Y([...l])}})},{run:eu,loading:ep}=(0,h.A)(async()=>await (0,r.f1g)({llm_out:B[0].context,prompt_type:X.getFieldValue("prompt_type"),chat_scene:X.getFieldValue("target")}),{manual:!0,onSuccess:e=>{var t,a;(null==e||null==(t=e.data)?void 0:t.success)?ee({msg:"验证通过",status:"success"}):ee({msg:null==e||null==(a=e.data)?void 0:a.err_msg,status:"error"})}});(0,E.useEffect)(()=>{I&&Q.setFieldsValue({model:I})},[Q,I]),(0,E.useEffect)(()=>{et&&er(et)},[er,et]);let em=(0,E.useMemo)(()=>{var e,t;return null==es||null==(t=es.data)||null==(e=t.data)?void 0:e.map(e=>({...e,value:e.name,label:e.name}))},[es]);return(0,E.useEffect)(()=>{if("edit"===g){var e;let t=JSON.parse(localStorage.getItem("edit_prompt_data")||"{}");K(JSON.parse(null!=(e=t.input_variables)?e:"[]")),J(null==t?void 0:t.content),X.setFieldsValue({prompt_type:t.prompt_type,prompt_name:t.prompt_name,prompt_code:t.prompt_code,target:t.chat_scene}),Q.setFieldsValue({model:t.model,prompt_language:t.prompt_language})}},[Q,X,g]),(0,l.jsxs)("div",{className:"flex flex-col w-full h-full justify-between dark:bg-gradient-dark }",children:[(0,l.jsxs)("header",{className:"flex items-center justify-between px-6 py-2 h-14 border-b border-[#edeeef]",children:[(0,l.jsxs)(v.A,{className:"flex items-center",children:[(0,l.jsx)(c.A,{className:"text-base cursor-pointer hover:text-[#0c75fc]",onClick:()=>{localStorage.removeItem("edit_prompt_data"),t.replace("/prompt")}}),(0,l.jsxs)("span",{className:"font-medium text-sm",children:["add"===g?_("Add"):_("Edit")," ",_("prompt_title")]})]}),(0,l.jsx)(v.A,{children:(0,l.jsx)(A.Ay,{type:"primary",onClick:()=>{X.validateFields().then(async e=>{let t={sub_chat_scene:"",model:Q.getFieldValue("model"),chat_scene:e.target,prompt_name:e.prompt_name,prompt_type:e.prompt_type,content:U,response_schema:JSON.stringify(q),input_variables:JSON.stringify(H),prompt_language:Q.getFieldValue("prompt_language"),prompt_desc:"",user_name:"",..."edit"===g&&{prompt_code:e.prompt_code}};await ei(t)})},loading:ec,children:"add"===g?_("save"):_("update")})})]}),(0,l.jsxs)("section",{className:"flex h-full p-4 gap-4",children:[(0,l.jsx)("div",{className:"flex flex-col flex-1 h-full overflow-y-auto pb-8",children:B.length>0?(0,l.jsxs)("div",{className:"flex flex-col h-full",children:[(0,l.jsx)("div",{className:"flex-1 min-h-0 h-full",children:(0,l.jsx)(k,{value:U,onChange:el,renderHTML:e=>P.render(e),view:{html:!1,md:!0,menu:!0}})}),(0,l.jsx)("div",{className:"flex-1 min-h-0 mt-2",children:(0,l.jsx)(y.A,{title:(0,l.jsxs)(v.A,{children:[(0,l.jsx)("span",{children:_("prompt_llm_out")}),$&&(0,l.jsx)(b.A,{message:$.msg,type:$.status,showIcon:!0})]}),className:"h-full overflow-hidden flex flex-col",styles:{body:{height:"100%",overflowY:"auto"}},children:(0,l.jsx)("div",{children:(0,l.jsx)(L,{children:null==B||null==(e=B[0])?void 0:e.context.replace(/\\n/gm,"\n")})})})})]}):(0,l.jsx)("div",{className:"h-full",children:(0,l.jsx)(k,{value:U,onChange:el,renderHTML:e=>P.render(e),view:{html:!1,md:!0,menu:!0}})})}),(0,l.jsxs)("div",{className:"flex flex-col w-2/5 pb-8 overflow-y-auto",children:[(0,l.jsx)(y.A,{className:"mb-4",children:(0,l.jsxs)(f.A,{form:X,children:[(0,l.jsxs)("div",{className:"flex w-full gap-1 justify-between",children:[(0,l.jsx)(f.A.Item,{label:_("prompt_type"),name:"prompt_type",className:"w-2/5",rules:[{required:!0,message:_("select_type")}],children:(0,l.jsx)(j.A,{options:D,placeholder:_("select_type"),allowClear:!0})}),(0,l.jsx)(f.A.Item,{name:"target",className:"w-3/5",rules:[{required:!0,message:_("select_scene")}],children:(0,l.jsx)(j.A,{loading:en,placeholder:_("select_scene"),allowClear:!0,showSearch:!0,onChange:async e=>{await eo(e)},children:null==em?void 0:em.map(e=>(0,l.jsx)(j.A.Option,{title:e.desc,children:e.label},e.value))})})]}),"edit"===g&&(0,l.jsx)(f.A.Item,{label:_("prompt_code"),name:"prompt_code",children:(0,l.jsx)(N.A,{disabled:!0})}),(0,l.jsx)(f.A.Item,{label:_("prompt_name"),name:"prompt_name",className:"m-0",rules:[{required:!0,message:_("Please_input_prompt_name")}],children:(0,l.jsx)(N.A,{placeholder:_("Please_input_prompt_name")})})]})}),(0,l.jsx)(y.A,{title:_("input_parameter"),className:"mb-4",children:(0,l.jsx)(f.A,{form:Z,children:H.length>0&&H.filter(e=>"out_schema"!==e).map(e=>(0,l.jsx)(f.A.Item,{label:e,name:e,children:(0,l.jsx)(N.A,{placeholder:_("Please_Input")})},e))})}),(0,l.jsxs)(y.A,{title:_("output_structure"),className:"flex flex-col flex-1",children:[(0,l.jsx)(u.Ay,{style:{...R,width:"100%",padding:4},className:S()({"bg-[#fafafa]":"light"===C}),value:q,enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),(0,l.jsx)("div",{className:"flex flex-col mt-4",children:(0,l.jsxs)(f.A,{form:Q,initialValues:{model:I,temperature:.5,prompt_language:"en"},children:[(0,l.jsx)(f.A.Item,{label:_("model"),name:"model",children:(0,l.jsx)(j.A,{className:"h-8 rounded-3xl",options:ea,allowClear:!0,showSearch:!0})}),(0,l.jsx)(f.A.Item,{label:_("temperature"),name:"temperature",children:(0,l.jsx)(M,{})}),(0,l.jsx)(f.A.Item,{label:_("language"),name:"prompt_language",children:(0,l.jsx)(j.A,{options:[{label:_("English"),value:"en"},{label:_("Chinese"),value:"zh"}]})}),(0,l.jsx)(f.A.Item,{label:_("User_input"),name:"user_input",children:(0,l.jsx)(N.A,{placeholder:_("Please_Input")})})]})}),(0,l.jsxs)(v.A,{className:"flex justify-between",children:[(0,l.jsx)(A.Ay,{type:"primary",onClick:ed,loading:W,children:_("LLM_test")}),(0,l.jsx)(A.Ay,{type:"primary",onClick:async()=>{var e;!ep&&(null==(e=B[0])?void 0:e.context)&&await eu()},children:_("Output_verification")})]})]})]})]})]})}},91070:(e,t,a)=>{"use strict";a.d(t,{BR:()=>n,zo:()=>r,UK:()=>l.UK,rA:()=>l.rA,cE:()=>l.cE,V:()=>l.V});var l=a(39740),s=a(12115);let r=(0,s.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,s.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[823,1218,9259,9879,3320,6421,4099,1991,3512,2822,5388,6766,5887,6124,6756,6734,6174,8637,7773,8441,5964,7358],()=>e(e.s=23926)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1910],{23926:(e,t,a)=>{Promise.resolve().then(a.bind(a,90979))},24646:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var l=a(95155),s=a(7132),r=a(66766),n=a(12115);let o=(0,n.memo)(e=>{let{width:t,height:a,model:o}=e,i=(0,n.useMemo)(()=>(0,s.ZI)(o||"huggingface"),[o]);return o?(0,l.jsx)(r.default,{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:a||24,src:i,alt:"llm",priority:!0}):null})},39740:(e,t,a)=>{"use strict";a.d(t,{UK:()=>i,V:()=>d,cE:()=>u,rA:()=>c});var l=a(95155),s=a(67773);a(61475);var r=a(54099),n=a(35695),o=a(12115);let i=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),c=e=>{var t,a,c;let{children:d}=e,u=(0,n.useSearchParams)(),p=null!=(t=null==u?void 0:u.get("conv_uid"))?t:"",m=null!=(a=null==u?void 0:u.get("scene"))?a:"",h=null!=(c=null==u?void 0:u.get("db_param"))?c:"",[g,_]=(0,o.useState)(!1),[x,f]=(0,o.useState)("light"),[v,A]=(0,o.useState)("chat_dashboard"!==m),[y,b]=(0,o.useState)(h),[j,N]=(0,o.useState)(""),[w,S]=(0,o.useState)([]),[I,C]=(0,o.useState)(),[V,E]=(0,o.useState)("light"),[O,k]=(0,o.useState)(p),[F,P]=(0,o.useState)([]),[L,D]=(0,o.useState)({chat_scene:"",app_code:""}),{data:M=[]}=(0,r.A)(async()=>{let[,e]=await (0,s.VbY)((0,s.TzU)());return null!=e?e:[]}),{data:R=[],refresh:T,loading:U}=(0,r.A)(async()=>await (0,s.VbY)((0,s.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");D(e)}catch(e){D({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{f(M[0])},[M,null==M?void 0:M.length]),(0,o.useEffect)(()=>{p&&k(p)},[p]),(0,l.jsx)(i.Provider,{value:{isContract:g,isMenuExpand:v,scene:m,chatId:O,model:x,modelList:M,dbParam:y||h,agent:j,setAgent:N,mode:V,setMode:E,setModel:f,setIsContract:_,setIsMenuExpand:A,setDbParam:b,history:w,setHistory:S,docId:I,setDocId:C,currentDialogInfo:L,setCurrentDialogInfo:D,adminList:F,refreshDialogList:T,dialogueList:R},children:d})},d=(0,o.createContext)(null),u=(0,o.createContext)(null)},90979:(e,t,a)=>{"use strict";a.d(t,{default:()=>R});var l=a(95155),s=a(91070),r=a(67773),n=a(24646),o=a(47937),i=a(61475),c=a(88276),d=a(95069),u=a(78936),p=a(17295),m=a(24517),h=a(54099),g=a(1828),_=a(76174),x=a(55887),f=a(95388),v=a(67850),A=a(98696),y=a(6124),b=a(94481),j=a(32013),N=a(73775),w=a(29300),S=a.n(w),I=a(39092),C=a(55028),V=a(35695),E=a(12115),O=a(91218);a(91214);var k=a(49509);let F=(0,C.default)(()=>a.e(5611).then(a.bind(a,75611)),{loadableGenerated:{webpack:()=>[75611]},ssr:!1}),P=new I.A,L=(0,C.default)(()=>Promise.all([a.e(562),a.e(750),a.e(240),a.e(5600),a.e(2826),a.e(7330),a.e(4935),a.e(4316),a.e(8779),a.e(3930),a.e(3485),a.e(5033),a.e(797),a.e(6467),a.e(1483),a.e(1081),a.e(8674),a.e(1097),a.e(3054),a.e(2991),a.e(3527),a.e(4984),a.e(9960),a.e(1236)]).then(a.bind(a,40102)),{loadableGenerated:{webpack:()=>[40102]},ssr:!1}),D=[{value:"Agent",label:"AGENT"},{value:"Scene",label:"SCENE"},{value:"Normal",label:"NORMAL"},{value:"Evaluate",label:"EVALUATE"}],M=e=>{let{value:t,onChange:a}=e,s=e=>{isNaN(e)||null==a||a(e)};return(0,l.jsxs)("div",{className:"flex items-center gap-8",children:[(0,l.jsx)(g.A,{className:"w-40",min:0,max:1,step:.1,onChange:s,value:t}),(0,l.jsx)(_.A,{className:"w-16",min:0,max:1,step:.1,value:t,onChange:s})]})},R=()=>{var e;let t=(0,V.useRouter)(),a=(0,V.useParams)(),g=(null==a?void 0:a.type)||"",{t:_}=(0,O.Bd)(),{modelList:w,model:I,mode:C}=(0,E.useContext)(s.UK),R="dark"===C?p.j:m.n,{message:T}=x.A.useApp(),[U,J]=(0,E.useState)(""),[H,K]=(0,E.useState)([]),[q,z]=(0,E.useState)({}),[B,Y]=(0,E.useState)([]),[W,G]=(0,E.useState)(!1),[X]=f.A.useForm(),[Z]=f.A.useForm(),[Q]=f.A.useForm(),[$,ee]=(0,E.useState)(),et=f.A.useWatch("prompt_type",X),ea=(0,E.useMemo)(()=>w.map(e=>({value:e,label:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(n.A,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})})),[w]),el=(0,E.useCallback)(e=>{J(e.text)},[]),{data:es,run:er,loading:en}=(0,h.A)(async e=>await (0,r.C5B)(e),{manual:!0}),{run:eo}=(0,h.A)(async e=>await (0,r.b1H)({prompt_type:et,target:null!=e?e:"",sub_target:""}),{manual:!0,onSuccess:e=>{if(e){let{data:t}=e.data;J(t.template),K(t.input_variables);try{let e=JSON.parse(t.response_format);z(e||{})}catch(e){z({})}}}}),{run:ei,loading:ec}=(0,h.A)(async e=>"add"===g?await (0,r.VbY)((0,r.WzL)(e)):await (0,r.VbY)((0,r.qjU)(e)),{manual:!0,onSuccess:()=>{T.success("".concat("add"===g?_("Add"):_("update")).concat(_("success"))),t.replace("/prompt")}}),ed=async()=>{if(W)return;let e=Z.getFieldsValue();if(!Q.getFieldValue("user_input"))return void T.warning(_("Please_fill_in_the_user_input"));X.validateFields().then(async t=>{let a={sub_chat_scene:"",model:Q.getFieldValue("model"),chat_scene:t.target,prompt_name:t.prompt_name,prompt_type:t.prompt_type,content:U,response_schema:JSON.stringify(q),input_variables:JSON.stringify(H),prompt_language:Q.getFieldValue("prompt_language"),prompt_desc:"",prompt_code:t.prompt_code,temperature:Q.getFieldValue("temperature"),debug_model:Q.getFieldValue("model"),input_values:{...e},user_input:Q.getFieldValue("user_input")},l=[{role:"view",context:""}],s=l.length-1;try{var r,n;G(!0),await (0,d.y)("".concat(null!=(r=k.env.NEXT_PUBLIC_API_BASE_URL)?r:"","/prompt/template/debug"),{method:"POST",headers:{"Content-Type":"application/json",[i.uz]:null!=(n=(0,o.F6)())?n:""},body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===d.o)return},onclose(){G(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;if(t){try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?G(!1):(null==t?void 0:t.startsWith("[ERROR]"))?(G(!1),l[s].context=null==t?void 0:t.replace("[ERROR]","")):(l[s].context=t,Y([...l]))}}})}catch(e){G(!1),l[s].context="Sorry, we meet some error, please try again later",Y([...l])}})},{run:eu,loading:ep}=(0,h.A)(async()=>await (0,r.f1g)({llm_out:B[0].context,prompt_type:X.getFieldValue("prompt_type"),chat_scene:X.getFieldValue("target")}),{manual:!0,onSuccess:e=>{var t,a;(null==e||null==(t=e.data)?void 0:t.success)?ee({msg:"验证通过",status:"success"}):ee({msg:null==e||null==(a=e.data)?void 0:a.err_msg,status:"error"})}});(0,E.useEffect)(()=>{I&&Q.setFieldsValue({model:I})},[Q,I]),(0,E.useEffect)(()=>{et&&er(et)},[er,et]);let em=(0,E.useMemo)(()=>{var e,t;return null==es||null==(t=es.data)||null==(e=t.data)?void 0:e.map(e=>({...e,value:e.name,label:e.name}))},[es]);return(0,E.useEffect)(()=>{if("edit"===g){var e;let t=JSON.parse(localStorage.getItem("edit_prompt_data")||"{}");K(JSON.parse(null!=(e=t.input_variables)?e:"[]")),J(null==t?void 0:t.content),X.setFieldsValue({prompt_type:t.prompt_type,prompt_name:t.prompt_name,prompt_code:t.prompt_code,target:t.chat_scene}),Q.setFieldsValue({model:t.model,prompt_language:t.prompt_language})}},[Q,X,g]),(0,l.jsxs)("div",{className:"flex flex-col w-full h-full justify-between dark:bg-gradient-dark }",children:[(0,l.jsxs)("header",{className:"flex items-center justify-between px-6 py-2 h-14 border-b border-[#edeeef]",children:[(0,l.jsxs)(v.A,{className:"flex items-center",children:[(0,l.jsx)(c.A,{className:"text-base cursor-pointer hover:text-[#0c75fc]",onClick:()=>{localStorage.removeItem("edit_prompt_data"),t.replace("/prompt")}}),(0,l.jsxs)("span",{className:"font-medium text-sm",children:["add"===g?_("Add"):_("Edit")," ",_("prompt_title")]})]}),(0,l.jsx)(v.A,{children:(0,l.jsx)(A.Ay,{type:"primary",onClick:()=>{X.validateFields().then(async e=>{let t={sub_chat_scene:"",model:Q.getFieldValue("model"),chat_scene:e.target,prompt_name:e.prompt_name,prompt_type:e.prompt_type,content:U,response_schema:JSON.stringify(q),input_variables:JSON.stringify(H),prompt_language:Q.getFieldValue("prompt_language"),prompt_desc:"",user_name:"",..."edit"===g&&{prompt_code:e.prompt_code}};await ei(t)})},loading:ec,children:"add"===g?_("save"):_("update")})})]}),(0,l.jsxs)("section",{className:"flex h-full p-4 gap-4",children:[(0,l.jsx)("div",{className:"flex flex-col flex-1 h-full overflow-y-auto pb-8",children:B.length>0?(0,l.jsxs)("div",{className:"flex flex-col h-full",children:[(0,l.jsx)("div",{className:"flex-1 min-h-0 h-full",children:(0,l.jsx)(F,{value:U,onChange:el,renderHTML:e=>P.render(e),view:{html:!1,md:!0,menu:!0}})}),(0,l.jsx)("div",{className:"flex-1 min-h-0 mt-2",children:(0,l.jsx)(y.A,{title:(0,l.jsxs)(v.A,{children:[(0,l.jsx)("span",{children:_("prompt_llm_out")}),$&&(0,l.jsx)(b.A,{message:$.msg,type:$.status,showIcon:!0})]}),className:"h-full overflow-hidden flex flex-col",styles:{body:{height:"100%",overflowY:"auto"}},children:(0,l.jsx)("div",{children:(0,l.jsx)(L,{children:null==B||null==(e=B[0])?void 0:e.context.replace(/\\n/gm,"\n")})})})})]}):(0,l.jsx)("div",{className:"h-full",children:(0,l.jsx)(F,{value:U,onChange:el,renderHTML:e=>P.render(e),view:{html:!1,md:!0,menu:!0}})})}),(0,l.jsxs)("div",{className:"flex flex-col w-2/5 pb-8 overflow-y-auto",children:[(0,l.jsx)(y.A,{className:"mb-4",children:(0,l.jsxs)(f.A,{form:X,children:[(0,l.jsxs)("div",{className:"flex w-full gap-1 justify-between",children:[(0,l.jsx)(f.A.Item,{label:_("prompt_type"),name:"prompt_type",className:"w-2/5",rules:[{required:!0,message:_("select_type")}],children:(0,l.jsx)(j.A,{options:D,placeholder:_("select_type"),allowClear:!0})}),(0,l.jsx)(f.A.Item,{name:"target",className:"w-3/5",rules:[{required:!0,message:_("select_scene")}],children:(0,l.jsx)(j.A,{loading:en,placeholder:_("select_scene"),allowClear:!0,showSearch:!0,onChange:async e=>{await eo(e)},children:null==em?void 0:em.map(e=>(0,l.jsx)(j.A.Option,{title:e.desc,children:e.label},e.value))})})]}),"edit"===g&&(0,l.jsx)(f.A.Item,{label:_("prompt_code"),name:"prompt_code",children:(0,l.jsx)(N.A,{disabled:!0})}),(0,l.jsx)(f.A.Item,{label:_("prompt_name"),name:"prompt_name",className:"m-0",rules:[{required:!0,message:_("Please_input_prompt_name")}],children:(0,l.jsx)(N.A,{placeholder:_("Please_input_prompt_name")})})]})}),(0,l.jsx)(y.A,{title:_("input_parameter"),className:"mb-4",children:(0,l.jsx)(f.A,{form:Z,children:H.length>0&&H.filter(e=>"out_schema"!==e).map(e=>(0,l.jsx)(f.A.Item,{label:e,name:e,children:(0,l.jsx)(N.A,{placeholder:_("Please_Input")})},e))})}),(0,l.jsxs)(y.A,{title:_("output_structure"),className:"flex flex-col flex-1",children:[(0,l.jsx)(u.Ay,{style:{...R,width:"100%",padding:4},className:S()({"bg-[#fafafa]":"light"===C}),value:q,enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),(0,l.jsx)("div",{className:"flex flex-col mt-4",children:(0,l.jsxs)(f.A,{form:Q,initialValues:{model:I,temperature:.5,prompt_language:"en"},children:[(0,l.jsx)(f.A.Item,{label:_("model"),name:"model",children:(0,l.jsx)(j.A,{className:"h-8 rounded-3xl",options:ea,allowClear:!0,showSearch:!0})}),(0,l.jsx)(f.A.Item,{label:_("temperature"),name:"temperature",children:(0,l.jsx)(M,{})}),(0,l.jsx)(f.A.Item,{label:_("language"),name:"prompt_language",children:(0,l.jsx)(j.A,{options:[{label:_("English"),value:"en"},{label:_("Chinese"),value:"zh"}]})}),(0,l.jsx)(f.A.Item,{label:_("User_input"),name:"user_input",children:(0,l.jsx)(N.A,{placeholder:_("Please_Input")})})]})}),(0,l.jsxs)(v.A,{className:"flex justify-between",children:[(0,l.jsx)(A.Ay,{type:"primary",onClick:ed,loading:W,children:_("LLM_test")}),(0,l.jsx)(A.Ay,{type:"primary",onClick:async()=>{var e;!ep&&(null==(e=B[0])?void 0:e.context)&&await eu()},children:_("Output_verification")})]})]})]})]})]})}},91070:(e,t,a)=>{"use strict";a.d(t,{BR:()=>n,zo:()=>r,UK:()=>l.UK,rA:()=>l.rA,cE:()=>l.cE,V:()=>l.V});var l=a(39740),s=a(12115);let r=(0,s.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),n=(0,s.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[823,1218,9259,9879,3320,6421,4099,1991,3512,2822,5388,6766,5887,6124,6756,6734,6174,8637,7773,8441,5964,7358],()=>e(e.s=23926)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-d8e366c7ef2694a8.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-68788ce56e5a857e.js similarity index 98% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-d8e366c7ef2694a8.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-68788ce56e5a857e.js index c124a707..64675b70 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-d8e366c7ef2694a8.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-68788ce56e5a857e.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5993],{85:(e,n,t)=>{"use strict";t.d(n,{A:()=>_});var r=t(12115),s=t(29300),i=t.n(s),a=t(82870),o=t(77696),l=t(80163),c=t(15982),d=t(99841),u=t(18184),h=t(18741),g=t(61388),m=t(45431);let p=new d.Mo("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),x=new d.Mo("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),f=new d.Mo("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),w=new d.Mo("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new d.Mo("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new d.Mo("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),v=e=>{let{fontHeight:n,lineWidth:t,marginXS:r,colorBorderBg:s}=e,i=e.colorTextLightSolid,a=e.colorError,o=e.colorErrorHover;return(0,g.oX)(e,{badgeFontHeight:n,badgeShadowSize:t,badgeTextColor:i,badgeColor:a,badgeColorHover:o,badgeShadowColor:s,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},j=e=>{let{fontSize:n,lineHeight:t,fontSizeSM:r,lineWidth:s}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(n*t)-2*s,indicatorHeightSM:n,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},N=(0,m.OF)("Badge",e=>(e=>{let{componentCls:n,iconCls:t,antCls:r,badgeShadowSize:s,textFontSize:i,textFontSizeSM:a,statusSize:o,dotSize:l,textFontWeight:c,indicatorHeight:g,indicatorHeightSM:m,marginXS:v,calc:j}=e,N="".concat(r,"-scroll-number"),k=(0,h.A)(e,(e,t)=>{let{darkColor:r}=t;return{["&".concat(n," ").concat(n,"-color-").concat(e)]:{background:r,["&:not(".concat(n,"-count)")]:{color:r},"a:hover &":{background:r}}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.dF)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,["".concat(n,"-count")]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:g,height:g,color:e.badgeTextColor,fontWeight:c,fontSize:i,lineHeight:(0,d.zA)(g),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:j(g).div(2).equal(),boxShadow:"0 0 0 ".concat((0,d.zA)(s)," ").concat(e.badgeShadowColor),transition:"background ".concat(e.motionDurationMid),a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},["".concat(n,"-count-sm")]:{minWidth:m,height:m,fontSize:a,lineHeight:(0,d.zA)(m),borderRadius:j(m).div(2).equal()},["".concat(n,"-multiple-words")]:{padding:"0 ".concat((0,d.zA)(e.paddingXS)),bdi:{unicodeBidi:"plaintext"}},["".concat(n,"-dot")]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:"0 0 0 ".concat((0,d.zA)(s)," ").concat(e.badgeShadowColor)},["".concat(n,"-count, ").concat(n,"-dot, ").concat(N,"-custom-component")]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",["&".concat(t,"-spin")]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},["&".concat(n,"-status")]:{lineHeight:"inherit",verticalAlign:"baseline",["".concat(n,"-status-dot")]:{position:"relative",top:-1,display:"inline-block",width:o,height:o,verticalAlign:"middle",borderRadius:"50%"},["".concat(n,"-status-success")]:{backgroundColor:e.colorSuccess},["".concat(n,"-status-processing")]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:s,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:p,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},["".concat(n,"-status-default")]:{backgroundColor:e.colorTextPlaceholder},["".concat(n,"-status-error")]:{backgroundColor:e.colorError},["".concat(n,"-status-warning")]:{backgroundColor:e.colorWarning},["".concat(n,"-status-text")]:{marginInlineStart:v,color:e.colorText,fontSize:e.fontSize}}}),k),{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:x,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["".concat(n,"-zoom-leave")]:{animationName:f,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["&".concat(n,"-not-a-wrapper")]:{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:w,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["".concat(n,"-zoom-leave")]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["&:not(".concat(n,"-status)")]:{verticalAlign:"middle"},["".concat(N,"-custom-component, ").concat(n,"-count")]:{transform:"none"},["".concat(N,"-custom-component, ").concat(N)]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[N]:{overflow:"hidden",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack),["".concat(N,"-only")]:{position:"relative",display:"inline-block",height:g,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseOutBack),WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",["> p".concat(N,"-only-unit")]:{height:g,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},["".concat(N,"-symbol")]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",["".concat(n,"-count, ").concat(n,"-dot, ").concat(N,"-custom-component")]:{transform:"translate(-50%, -50%)"}}})}})(v(e)),j),k=(0,m.OF)(["Badge","Ribbon"],e=>(e=>{let{antCls:n,badgeFontHeight:t,marginXS:r,badgeRibbonOffset:s,calc:i}=e,a="".concat(n,"-ribbon"),o=(0,h.A)(e,(e,n)=>{let{darkColor:t}=n;return{["&".concat(a,"-color-").concat(e)]:{background:t,color:t}}});return{["".concat(n,"-ribbon-wrapper")]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.dF)(e)),{position:"absolute",top:r,padding:"0 ".concat((0,d.zA)(e.paddingXS)),color:e.colorPrimary,lineHeight:(0,d.zA)(t),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,["".concat(a,"-text")]:{color:e.badgeTextColor},["".concat(a,"-corner")]:{position:"absolute",top:"100%",width:s,height:s,color:"currentcolor",border:"".concat((0,d.zA)(i(s).div(2).equal())," solid"),transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),o),{["&".concat(a,"-placement-end")]:{insetInlineEnd:i(s).mul(-1).equal(),borderEndEndRadius:0,["".concat(a,"-corner")]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},["&".concat(a,"-placement-start")]:{insetInlineStart:i(s).mul(-1).equal(),borderEndStartRadius:0,["".concat(a,"-corner")]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}})(v(e)),j),A=e=>{let n,{prefixCls:t,value:s,current:a,offset:o=0}=e;return o&&(n={position:"absolute",top:"".concat(o,"00%"),left:0}),r.createElement("span",{style:n,className:i()("".concat(t,"-only-unit"),{current:a})},s)},S=e=>{let n,t,{prefixCls:s,count:i,value:a}=e,o=Number(a),l=Math.abs(i),[c,d]=r.useState(o),[u,h]=r.useState(l),g=()=>{d(o),h(l)};if(r.useEffect(()=>{let e=setTimeout(g,1e3);return()=>clearTimeout(e)},[o]),c===o||Number.isNaN(o)||Number.isNaN(c))n=[r.createElement(A,Object.assign({},e,{key:o,current:!0}))],t={transition:"none"};else{n=[];let s=o+10,i=[];for(let e=o;e<=s;e+=1)i.push(e);let a=ue%10===c);n=(a<0?i.slice(0,d+1):i.slice(d)).map((n,t)=>r.createElement(A,Object.assign({},e,{key:n,value:n%10,offset:a<0?t-d:t,current:t===d}))),t={transform:"translateY(".concat(-function(e,n,t){let r=e,s=0;for(;(r+10)%10!==n;)r+=t,s+=t;return s}(c,o,a),"00%)")}}return r.createElement("span",{className:"".concat(s,"-only"),style:t,onTransitionEnd:g},n)};var C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);sn.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let O=r.forwardRef((e,n)=>{let{prefixCls:t,count:s,className:a,motionClassName:o,style:d,title:u,show:h,component:g="sup",children:m}=e,p=C(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:x}=r.useContext(c.QO),f=x("scroll-number",t),w=Object.assign(Object.assign({},p),{"data-show":h,style:d,className:i()(f,a,o),title:u}),b=s;if(s&&Number(s)%1==0){let e=String(s).split("");b=r.createElement("bdi",null,e.map((n,t)=>r.createElement(S,{prefixCls:f,count:Number(s),value:n,key:e.length-t})))}return((null==d?void 0:d.borderColor)&&(w.style=Object.assign(Object.assign({},d),{boxShadow:"0 0 0 1px ".concat(d.borderColor," inset")})),m)?(0,l.Ob)(m,e=>({className:i()("".concat(f,"-custom-component"),null==e?void 0:e.className,o)})):r.createElement(g,Object.assign({},w,{ref:n}),b)});var I=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);sn.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let T=r.forwardRef((e,n)=>{var t,s,d,u,h;let{prefixCls:g,scrollNumberPrefixCls:m,children:p,status:x,text:f,color:w,count:b=null,overflowCount:y=99,dot:v=!1,size:j="default",title:k,offset:A,style:S,className:C,rootClassName:T,classNames:_,styles:M,showZero:E=!1}=e,V=I(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:P,direction:R,badge:z}=r.useContext(c.QO),D=P("badge",g),[J,H,L]=N(D),B=b>y?"".concat(y,"+"):b,W="0"===B||0===B||"0"===f||0===f,U=null===b||W&&!E,F=(null!=x||null!=w)&&U,q=null!=x||!W,Z=v&&!W,K=Z?"":B,G=(0,r.useMemo)(()=>((null==K||""===K)&&(null==f||""===f)||W&&!E)&&!Z,[K,W,E,Z,f]),Y=(0,r.useRef)(b);G||(Y.current=b);let Q=Y.current,X=(0,r.useRef)(K);G||(X.current=K);let $=X.current,ee=(0,r.useRef)(Z);G||(ee.current=Z);let en=(0,r.useMemo)(()=>{if(!A)return Object.assign(Object.assign({},null==z?void 0:z.style),S);let e={marginTop:A[1]};return"rtl"===R?e.left=Number.parseInt(A[0],10):e.right=-Number.parseInt(A[0],10),Object.assign(Object.assign(Object.assign({},e),null==z?void 0:z.style),S)},[R,A,S,null==z?void 0:z.style]),et=null!=k?k:"string"==typeof Q||"number"==typeof Q?Q:void 0,er=!G&&(0===f?E:!!f&&!0!==f),es=er?r.createElement("span",{className:"".concat(D,"-status-text")},f):null,ei=Q&&"object"==typeof Q?(0,l.Ob)(Q,e=>({style:Object.assign(Object.assign({},en),e.style)})):void 0,ea=(0,o.nP)(w,!1),eo=i()(null==_?void 0:_.indicator,null==(t=null==z?void 0:z.classNames)?void 0:t.indicator,{["".concat(D,"-status-dot")]:F,["".concat(D,"-status-").concat(x)]:!!x,["".concat(D,"-color-").concat(w)]:ea}),el={};w&&!ea&&(el.color=w,el.background=w);let ec=i()(D,{["".concat(D,"-status")]:F,["".concat(D,"-not-a-wrapper")]:!p,["".concat(D,"-rtl")]:"rtl"===R},C,T,null==z?void 0:z.className,null==(s=null==z?void 0:z.classNames)?void 0:s.root,null==_?void 0:_.root,H,L);if(!p&&F&&(f||q||!U)){let e=en.color;return J(r.createElement("span",Object.assign({},V,{className:ec,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null==(d=null==z?void 0:z.styles)?void 0:d.root),en)}),r.createElement("span",{className:eo,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null==(u=null==z?void 0:z.styles)?void 0:u.indicator),el)}),er&&r.createElement("span",{style:{color:e},className:"".concat(D,"-status-text")},f)))}return J(r.createElement("span",Object.assign({ref:n},V,{className:ec,style:Object.assign(Object.assign({},null==(h=null==z?void 0:z.styles)?void 0:h.root),null==M?void 0:M.root)}),p,r.createElement(a.Ay,{visible:!G,motionName:"".concat(D,"-zoom"),motionAppear:!1,motionDeadline:1e3},e=>{var n,t;let{className:s}=e,a=P("scroll-number",m),o=ee.current,l=i()(null==_?void 0:_.indicator,null==(n=null==z?void 0:z.classNames)?void 0:n.indicator,{["".concat(D,"-dot")]:o,["".concat(D,"-count")]:!o,["".concat(D,"-count-sm")]:"small"===j,["".concat(D,"-multiple-words")]:!o&&$&&$.toString().length>1,["".concat(D,"-status-").concat(x)]:!!x,["".concat(D,"-color-").concat(w)]:ea}),c=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null==(t=null==z?void 0:z.styles)?void 0:t.indicator),en);return w&&!ea&&((c=c||{}).background=w),r.createElement(O,{prefixCls:a,show:!G,motionClassName:s,className:l,count:$,title:et,style:c,key:"scrollNumber"},ei)}),es))});T.Ribbon=e=>{let{className:n,prefixCls:t,style:s,color:a,children:l,text:d,placement:u="end",rootClassName:h}=e,{getPrefixCls:g,direction:m}=r.useContext(c.QO),p=g("ribbon",t),x="".concat(p,"-wrapper"),[f,w,b]=k(p,x),y=(0,o.nP)(a,!1),v=i()(p,"".concat(p,"-placement-").concat(u),{["".concat(p,"-rtl")]:"rtl"===m,["".concat(p,"-color-").concat(a)]:y},n),j={},N={};return a&&!y&&(j.background=a,N.color=a),f(r.createElement("div",{className:i()(x,h,w,b)},l,r.createElement("div",{className:i()(v,w),style:Object.assign(Object.assign({},j),s)},r.createElement("span",{className:"".concat(p,"-text")},d),r.createElement("div",{className:"".concat(p,"-corner"),style:N}))))};let _=T},18610:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(12115),s=t(50585),i=t(75659);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;nr.createElement(i.A,a({},e,{ref:n,icon:s.A})))},39740:(e,n,t)=>{"use strict";t.d(n,{UK:()=>l,V:()=>d,cE:()=>u,rA:()=>c});var r=t(95155),s=t(67773);t(61475);var i=t(54099),a=t(35695),o=t(12115);let l=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),c=e=>{var n,t,c;let{children:d}=e,u=(0,a.useSearchParams)(),h=null!=(n=null==u?void 0:u.get("conv_uid"))?n:"",g=null!=(t=null==u?void 0:u.get("scene"))?t:"",m=null!=(c=null==u?void 0:u.get("db_param"))?c:"",[p,x]=(0,o.useState)(!1),[f,w]=(0,o.useState)("light"),[b,y]=(0,o.useState)("chat_dashboard"!==g),[v,j]=(0,o.useState)(m),[N,k]=(0,o.useState)(""),[A,S]=(0,o.useState)([]),[C,O]=(0,o.useState)(),[I,T]=(0,o.useState)("light"),[_,M]=(0,o.useState)(h),[E,V]=(0,o.useState)([]),[P,R]=(0,o.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,i.A)(async()=>{let[,e]=await (0,s.VbY)((0,s.TzU)());return null!=e?e:[]}),{data:D=[],refresh:J,loading:H}=(0,i.A)(async()=>await (0,s.VbY)((0,s.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");R(e)}catch(e){R({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{w(z[0])},[z,null==z?void 0:z.length]),(0,o.useEffect)(()=>{h&&M(h)},[h]),(0,r.jsx)(l.Provider,{value:{isContract:p,isMenuExpand:b,scene:g,chatId:_,model:f,modelList:z,dbParam:v||m,agent:N,setAgent:k,mode:I,setMode:T,setModel:w,setIsContract:x,setIsMenuExpand:y,setDbParam:j,history:A,setHistory:S,docId:C,setDocId:O,currentDialogInfo:P,setCurrentDialogInfo:R,adminList:E,refreshDialogList:J,dialogueList:D},children:d})},d=(0,o.createContext)(null),u=(0,o.createContext)(null)},44213:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(12115);let s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"};var i=t(75659);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;nr.createElement(i.A,a({},e,{ref:n,icon:s})))},58423:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>ei});var r=t(95155),s=t(12115),i=t(90797),a=t(23512),o=t(75839),l=t(44261),c=t(94326),d=t(19361),u=t(74947),h=t(7187),g=t(98696),m=t(67850),p=t(59474),x=t(85),f=t(1828),w=t(37974),b=t(94481),y=t(96194);let v={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"};var j=t(75659);function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,N({},e,{ref:n,icon:v})));var A=t(13630),S=t(14808);let C={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"};function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,O({},e,{ref:n,icon:C}))),T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,_({},e,{ref:n,icon:T})));var E=t(34140),V=t(47562),P=t(93192);let R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"}}]},name:"bug",theme:"outlined"};function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,z({},e,{ref:n,icon:R})));var J=t(27840),H=t(92199),L=t(54171),B=t(70061);t(31491);let{Title:W,Text:U}=i.A;function F(){let[e,n]=(0,s.useState)([]),[t,i]=(0,s.useState)([]),[a,o]=(0,s.useState)(""),[l,v]=(0,s.useState)(!1),[j,N]=(0,s.useState)(0),[C,O]=(0,s.useState)(""),[T,_]=(0,s.useState)(""),[R,z]=(0,s.useState)(2),[F,q]=(0,s.useState)(20),[Z,K]=(0,s.useState)([]),[G,Y]=(0,s.useState)(!1),[Q,X]=(0,s.useState)(!1),[$,ee]=(0,s.useState)(!1),[en,et]=(0,s.useState)(!1),[er,es]=(0,s.useState)(null),ei=(0,s.useRef)(0),ea=(0,s.useRef)(""),eo=(0,s.useRef)(""),el=(0,s.useRef)(!1),ec=(0,s.useRef)(0),ed=(0,s.useRef)(R),eu=(0,s.useRef)(F),eh=(0,s.useRef)(null),eg=(0,s.useRef)(null),em=(0,s.useRef)(null);(0,s.useEffect)(()=>{ea.current=C,ed.current=R},[C,R]),(0,s.useEffect)(()=>{eo.current=T,eu.current=F},[T,F]),(0,s.useEffect)(()=>{el.current=l},[l]),(0,s.useEffect)(()=>{ec.current=j},[j]);let ep=(0,s.useCallback)((e,n,t)=>{let r={id:++ei.current,timestamp:new Date().toLocaleTimeString(),type:e,message:n,details:t};K(e=>[...e.slice(-99),r])},[]),ex=(0,s.useCallback)(e=>{try{let n=JSON.parse(e);if(n.vis)try{let e=JSON.parse(n.vis);return{planning_window:e.planning_window,running_window:e.running_window}}catch(e){return{planning_window:n.vis}}return n}catch(e){return null}},[]),ef=(0,s.useCallback)(e=>{let n=e.matchAll(/```d-thinking\s*\n([\s\S]*?)```/g),t=[],r=0;for(let e of n){r++;let n=e[1].trim();n.length>0&&t.push(n.substring(0,100)+(n.length>100?"...":""))}return{count:r,snippets:t}},[]),ew=(0,s.useCallback)((e,n)=>{let t=ex(e.vis),r={index:n+1,hasPlanningWindow:!1,hasRunningWindow:!1,planningLength:0,runningLength:0,thinkingCount:0,thinkingSnippets:[]};if(t){if(t.planning_window){r.hasPlanningWindow=!0,r.planningLength=t.planning_window.length;let e=ef(t.planning_window);r.thinkingCount+=e.count,r.thinkingSnippets.push(...e.snippets)}if(t.running_window){r.hasRunningWindow=!0,r.runningLength=t.running_window.length;let e=ef(t.running_window);r.thinkingCount+=e.count,r.thinkingSnippets.push(...e.snippets)}}return r},[ex,ef]),eb=(0,s.useCallback)(e=>{let n=new FileReader,t=(e.size/1024).toFixed(2);return n.onload=n=>{try{var r;let s=(null==(r=n.target)?void 0:r.result).trim().split("\n"),a=[];if(ep("info","开始解析文件,共 ".concat(s.length," 行")),s.forEach((e,n)=>{try{let n=JSON.parse(e);n.vis&&a.push(n)}catch(e){ep("warn","第 ".concat(n+1," 行解析失败"))}}),0===a.length){o("未找到有效的chunk数据"),ep("error","未找到有效的chunk数据");return}i(a),es({name:e.name,size:t}),o(""),a.map((e,n)=>ew(e,n)),ep("success","成功加载 ".concat(a.length," 个chunk")),N(0),O(""),_(""),v(!1),ec.current=0,ea.current="",eo.current="",eh.current=new B.Tc,eg.current=new B.Tc}catch(e){o("文件解析错误: ".concat(e.message)),ep("error","文件解析失败")}},n.readAsText(e),!1},[ep,ew]),ey=(0,s.useCallback)(()=>{var e,n;let r=ec.current;if(r>=t.length){v(!1),el.current=!1,ep("success","回放完成");return}let s=ex(t[r].vis);if(!s){ep("warn","Chunk ".concat(r+1," 解析失败,跳过")),N(r+1),ec.current=r+1,el.current&&(em.current=setTimeout(ey,100));return}let i=s.planning_window&&s.running_window,a=ed.current,o=eu.current,l=i||s.planning_window?1e3*a:o;if(s.planning_window&&eh.current){let e=eh.current.updateCurrentMarkdown(s.planning_window);O(e),ea.current=e}if(s.running_window&&eg.current){let e=eg.current.updateCurrentMarkdown(s.running_window);_(e),eo.current=e}N(r+1),ec.current=r+1,ep("info","播放 Chunk ".concat(r+1,"/").concat(t.length),{hasPlanning:!!s.planning_window,hasRunning:!!s.running_window,planningLen:(null==(e=s.planning_window)?void 0:e.length)||0,runningLen:(null==(n=s.running_window)?void 0:n.length)||0,delay:l}),el.current&&r+1=t.length&&(v(!1),el.current=!1,ep("success","回放完成"))},[t,ex,ep]),ev=(0,s.useCallback)(()=>{if(0===t.length)return void o("请先上传jsonl文件");ec.current>=t.length&&eN(),v(!0),el.current=!0,ep("info","开始回放"),ey()},[t.length,ey,ep]),ej=(0,s.useCallback)(()=>{em.current&&(clearTimeout(em.current),em.current=null),v(!1),el.current=!1,ep("info","暂停回放")},[ep]),eN=(0,s.useCallback)(()=>{em.current&&clearTimeout(em.current),v(!1),el.current=!1,N(0),ec.current=0,O(""),ea.current="",_(""),eo.current="",eh.current=new B.Tc,eg.current=new B.Tc,ep("info","重置回放")},[ep]),ek=(0,s.useCallback)(()=>{if(je+1),ec.current=j+1}},[j,t,ex]),eA=(0,s.useCallback)(()=>{if(j>0){let e=j-1;eh.current=new B.Tc,eg.current=new B.Tc;let n="",r="";for(let s=0;s()=>{em.current&&clearTimeout(em.current)},[]);let eS=(0,s.useMemo)(()=>0===t.length?0:Math.round(j/t.length*100),[j,t.length]),eC=(0,s.useMemo)(()=>({planningChars:C.length,runningChars:T.length,totalChunks:t.length,currentChunk:j}),[C.length,T.length,t.length,j]),eO=(0,s.useMemo)(()=>{let e={};return C&&(e.planning_window=C),T&&(e.running_window=T),JSON.stringify({vis:JSON.stringify(e)},null,2)},[C,T]),eI=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(eO),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[eO]),eT=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(C),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[C]),e_=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(T),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[T]);return(0,r.jsxs)("div",{style:{width:"100%",display:"block"},children:[(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden mb-6 w-full",children:[(0,r.jsx)("div",{className:"px-6 py-4 bg-gradient-to-r from-blue-50 to-indigo-50 border-b border-gray-100",children:(0,r.jsxs)(d.A,{gutter:[24,16],align:"middle",style:{width:"100%"},children:[(0,r.jsx)(u.A,{xs:24,md:6,lg:4,children:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(h.A,{accept:".jsonl",fileList:e,beforeUpload:eb,onChange:e=>{let{fileList:t}=e;return n(t)},maxCount:1,showUploadList:!1,children:(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(k,{}),size:"large",className:"shadow-sm",children:"上传 JSONL"})}),er&&(0,r.jsxs)("div",{className:"text-xs text-gray-600",children:[(0,r.jsx)("div",{className:"truncate",title:er.name,children:er.name}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("span",{children:[er.size,"KB"]}),(0,r.jsx)("span",{children:"•"}),(0,r.jsxs)("span",{children:[t.length," chunks"]})]})]})]})}),(0,r.jsx)(u.A,{xs:24,md:12,lg:14,children:t.length>0?(0,r.jsxs)(m.A,{size:"middle",wrap:!0,children:[l?(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(S.A,{}),onClick:ej,size:"large",children:"暂停"}):(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(A.A,{}),onClick:ev,disabled:j>=t.length,size:"large",className:"shadow-sm",children:0===j?"开始回放":"继续"}),(0,r.jsxs)(g.Ay.Group,{children:[(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(I,{}),onClick:eA,disabled:0===j||l,children:"上一步"}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(M,{}),onClick:ek,disabled:j>=t.length||l,children:"下一步"})]}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(E.A,{}),onClick:eN,disabled:0===j,children:"重置"}),(0,r.jsx)(g.Ay,{type:"dashed",icon:(0,r.jsx)(V.A,{}),onClick:()=>X(!0),disabled:0===j,children:"查看Vis"})]}):null}),(0,r.jsx)(u.A,{xs:24,md:6,lg:6,children:t.length>0?(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(p.A,{percent:eS,status:l?"active":"normal",format:()=>"".concat(j," / ").concat(t.length),strokeColor:{from:"#1890ff",to:"#52c41a"},className:"flex-1"}),(0,r.jsx)(x.A,{status:l?"processing":j===t.length?"success":"default",text:l?"播放中":j===t.length?"已完成":"已暂停"})]}):null})]})}),t.length>0&&(0,r.jsx)("div",{className:"px-6 py-3 bg-gray-50/50",children:(0,r.jsxs)(d.A,{gutter:[48,8],align:"middle",children:[(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),(0,r.jsx)(U,{type:"secondary",className:"text-xs whitespace-nowrap",children:"Planning"}),(0,r.jsx)(f.A,{className:"flex-1 mx-2",min:1,max:5,step:1,value:R,onChange:z,disabled:l,tooltip:{formatter:e=>"".concat(e,"秒")}}),(0,r.jsxs)(w.A,{color:"blue",className:"text-xs",children:[R,"s"]})]})}),(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-2 h-2 rounded-full bg-green-500"}),(0,r.jsx)(U,{type:"secondary",className:"text-xs whitespace-nowrap",children:"Running"}),(0,r.jsx)(f.A,{className:"flex-1 mx-2",min:5,max:50,step:5,value:F,onChange:q,disabled:l,tooltip:{formatter:e=>"".concat(e,"ms")}}),(0,r.jsxs)(w.A,{color:"green",className:"text-xs",children:[F,"ms"]})]})}),(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center justify-end gap-6",children:[(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"Planning"}),(0,r.jsx)(U,{strong:!0,className:"text-blue-600",children:eC.planningChars}),(0,r.jsx)(U,{type:"secondary",className:"text-xs",children:" 字符"})]}),(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"Running"}),(0,r.jsx)(U,{strong:!0,className:"text-green-600",children:eC.runningChars}),(0,r.jsx)(U,{type:"secondary",className:"text-xs",children:" 字符"})]}),(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"进度"}),(0,r.jsx)(U,{strong:!0,children:eC.currentChunk}),(0,r.jsxs)(U,{type:"secondary",className:"text-xs",children:[" / ",eC.totalChunks]})]})]})})]})})]}),a&&(0,r.jsx)(b.A,{message:a,type:"error",showIcon:!0,closable:!0,onClose:()=>o(""),className:"mb-6 rounded-lg"}),t.length>0?(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-6 mb-6",children:[(0,r.jsx)("div",{className:"col-span-12 lg:col-span-5",children:(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden h-full",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gradient-to-r from-blue-50 to-blue-100/50 border-b border-blue-100 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full bg-blue-500 shadow-sm shadow-blue-500/30"}),(0,r.jsx)("span",{className:"font-medium text-gray-800",children:"Planning Window"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)(w.A,{color:"blue",className:"border-0 bg-blue-100 text-blue-700",children:[C.length.toLocaleString()," 字符"]}),(0,r.jsx)(g.Ay,{type:"text",size:"small",icon:(0,r.jsx)(V.A,{}),onClick:()=>ee(!0),disabled:!C,children:"查看"})]})]}),(0,r.jsx)("div",{className:"p-4 bg-gray-50/50",children:(0,r.jsx)("div",{className:"bg-white rounded-lg border border-gray-200 p-4 min-h-[400px] max-h-[500px] overflow-auto",children:C?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(C)}):(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-gray-400 min-h-[300px]",children:(0,r.jsx)(U,{children:"等待播放..."})})})})]})}),(0,r.jsx)("div",{className:"col-span-12 lg:col-span-7",children:(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden h-full",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gradient-to-r from-green-50 to-green-100/50 border-b border-green-100 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500 shadow-sm shadow-green-500/30"}),(0,r.jsx)("span",{className:"font-medium text-gray-800",children:"Running Window"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)(w.A,{color:"green",className:"border-0 bg-green-100 text-green-700",children:[T.length.toLocaleString()," 字符"]}),(0,r.jsx)(g.Ay,{type:"text",size:"small",icon:(0,r.jsx)(V.A,{}),onClick:()=>et(!0),disabled:!T,children:"查看"})]})]}),(0,r.jsx)("div",{className:"p-4 bg-gray-50/50",children:(0,r.jsx)("div",{className:"bg-white rounded-lg border border-gray-200 p-4 min-h-[400px] max-h-[500px] overflow-auto",children:T?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(T)}):(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-gray-400 min-h-[300px]",children:(0,r.jsx)(U,{children:"等待播放..."})})})})]})})]}):(0,r.jsx)("div",{className:"w-full max-w-full",children:(0,r.jsx)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 py-16 mb-6 w-full",children:(0,r.jsxs)("div",{className:"text-center px-4 w-full",children:[(0,r.jsx)("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-blue-50 mb-6",children:(0,r.jsx)(P.A,{style:{fontSize:40,color:"#1890ff"}})}),(0,r.jsx)(W,{level:4,className:"mb-3",children:"Chunk 回放工具"}),(0,r.jsx)(U,{type:"secondary",className:"block mx-auto leading-relaxed mb-6 px-4",children:"上传 JSONL 格式的对话过程文件,可视化查看 Planning Window 和 Running Window 的合并过程"}),(0,r.jsxs)("div",{className:"text-left bg-gray-50 rounded-xl p-6 border border-gray-100 mx-auto",style:{maxWidth:"800px"},children:[(0,r.jsx)(U,{strong:!0,className:"block mb-3 text-gray-700",children:"文件格式示例:"}),(0,r.jsx)("pre",{className:"bg-white p-4 rounded-lg text-xs text-gray-600 border border-gray-200 overflow-auto text-left",children:'{"vis": "{\\"planning_window\\": "...", \\"running_window\\": "..."}"}\n{"vis": "{\\"planning_window\\": "...", \\"running_window\\": "..."}"'})]})]})})}),t.length>0&&(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gray-50 border-b border-gray-100 flex items-center justify-between cursor-pointer hover:bg-gray-100/50 transition-colors",onClick:()=>Y(!G),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(D,{className:"text-gray-500"}),(0,r.jsx)("span",{className:"font-medium text-gray-700",children:"调试日志"}),(0,r.jsx)(x.A,{count:Z.length,style:{backgroundColor:"#1890ff"}})]}),(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{size:"small",onClick:e=>{e.stopPropagation(),K([])},children:"清空"}),(0,r.jsx)(g.Ay,{size:"small",type:G?"primary":"default",onClick:e=>{e.stopPropagation(),Y(!G)},children:G?"收起":"展开"})]})]}),G&&(0,r.jsx)("div",{className:"p-0 bg-gray-900",children:(0,r.jsx)("div",{className:"max-h-64 overflow-auto font-mono text-xs p-4",children:0===Z.length?(0,r.jsx)("div",{className:"text-gray-500 py-4",children:"// 暂无日志"}):Z.map(e=>(0,r.jsxs)("div",{className:"mb-1",children:[(0,r.jsxs)("span",{className:"text-gray-500",children:["[",e.timestamp,"]"]}),(0,r.jsx)("span",{className:"ml-2 font-bold ".concat("error"===e.type?"text-red-400":"warn"===e.type?"text-yellow-400":"success"===e.type?"text-green-400":"text-blue-400"),children:e.type.toUpperCase()}),(0,r.jsx)("span",{className:"ml-2 text-gray-200",children:e.message}),e.details&&(0,r.jsx)("div",{className:"ml-0 mt-1 pl-4 border-l-2 border-gray-700 text-gray-400",children:JSON.stringify(e.details,null,2).split("\n").map((e,n)=>(0,r.jsx)("div",{className:"whitespace-pre",children:e},n))})]},e.id))})})]}),(0,r.jsxs)(y.A,{title:"当前Vis数据",open:Q,onCancel:()=>X(!1),width:800,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:eI,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>X(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[500px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:eO})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Planning:",C.length," 字符 | Running:",T.length," 字符"]})]})]}),(0,r.jsxs)(y.A,{title:"Planning Window 内容",open:$,onCancel:()=>ee(!1),width:1e3,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:eT,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>ee(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[600px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:C})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Planning:",C.length.toLocaleString()," 字符"]})]})]}),(0,r.jsxs)(y.A,{title:"Running Window 内容",open:en,onCancel:()=>et(!1),width:1e3,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:e_,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>et(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[600px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:T})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Running:",T.length.toLocaleString()," 字符"]})]})]})]})}var q=t(73775),Z=t(6124),K=t(25702),G=t(44421),Y=t(18610),Q=t(44213);let{TextArea:X}=q.A,{Title:$,Text:ee}=i.A;function en(e){let{inputText:n,setInputText:t,chunks:i,setChunks:o,mergedResult:c,setMergedResult:d,error:u,setError:h,activeTab:p,setActiveTab:x,tester:f}=e,y=(0,s.useCallback)(()=>{if(!n.trim())return void h("请输入 VIS 数据");try{if(!JSON.parse(n.trim()).vis)return void h("输入的数据必须包含 vis 字段");o([...i,n.trim()]),t(""),h("")}catch(e){h("JSON 解析错误: ".concat(e.message))}},[n,i,o,t,h]),v=(0,s.useCallback)(e=>{o(i.filter((n,t)=>t!==e))},[i,o]),j=(0,s.useCallback)(()=>{if(console.log("[handleMerge] Starting merge, chunks count:",i.length),0===i.length)return void h("请先添加 VIS 数据到队列");try{h(""),console.log("[handleMerge] Calling mergeChunks with:",i);let e=f.mergeChunks(i);console.log("[handleMerge] Merge result:",e),d(e)}catch(e){console.error("[handleMerge] Error:",e),h("合并错误: ".concat(e.message))}},[i,f,h,d]),N=(0,s.useCallback)(()=>{t(""),o([]),d(""),h("")},[t,o,d,h]),k=(0,s.useCallback)(()=>{t(""),h("")},[t,h]),S=(0,s.useCallback)(()=>{c&&navigator.clipboard.writeText(c)},[c]),C=(0,s.useMemo)(()=>(function(e){try{let n=JSON.parse(e),t="";return n.planning_window&&(t+=n.planning_window+"\n"),n.running_window&&(t+=n.running_window+"\n"),t}catch(e){}return""})(c),[c]);return(0,r.jsxs)("div",{className:"space-y-4 w-full",style:{width:"100%"},children:[u&&(0,r.jsx)(b.A,{message:"错误",description:u,type:"error",showIcon:!0,className:"mb-4",closable:!0,onClose:()=>h("")}),(0,r.jsxs)(Z.A,{title:"输入 VIS 数据",className:"mb-4",children:[(0,r.jsx)(X,{value:n,onChange:e=>t(e.target.value),placeholder:'请输入 VIS 数据,格式如下:\n{"vis":"{\\"planning_window\\": \\"内容\\", \\"running_window\\": \\"\\"}"}\n\n支持的数据示例:\n{"vis":"{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"准备开始\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"}',rows:8,className:"font-mono text-sm mb-4"}),(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(l.A,{}),onClick:y,children:"添加到队列"}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(G.A,{}),onClick:k,children:"清空输入"})]})]}),i.length>0&&(0,r.jsx)(Z.A,{title:"合并队列 (".concat(i.length," 个 chunk)"),className:"mb-4",extra:(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(A.A,{}),onClick:j,children:"执行合并"}),(0,r.jsx)(g.Ay,{danger:!0,icon:(0,r.jsx)(G.A,{}),onClick:N,children:"清空全部"})]}),children:(0,r.jsx)(K.A,{size:"small",bordered:!0,dataSource:i,renderItem:(e,n)=>(0,r.jsx)(K.A.Item,{actions:[(0,r.jsx)(g.Ay,{type:"text",danger:!0,icon:(0,r.jsx)(Y.A,{}),onClick:()=>v(n),children:"删除"},"delete")],children:(0,r.jsxs)(m.A,{children:[(0,r.jsxs)(w.A,{color:"blue",children:["#",n+1]}),(0,r.jsx)(ee,{code:!0,className:"max-w-md truncate",children:e.length>100?e.substring(0,100)+"...":e})]})})})}),(0,r.jsx)(Z.A,{title:"合并结果",className:"mb-4",extra:c&&(0,r.jsx)(m.A,{children:(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(J.A,{}),onClick:S,children:"复制结果"})}),children:c?(0,r.jsx)(a.A,{activeKey:p,onChange:x,items:[{key:"visual",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(V.A,{})," 可视化渲染"]}),children:(0,r.jsx)("div",{className:"min-h-[400px] max-h-[600px] overflow-auto border rounded p-4 bg-white",children:C?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(C)}):(0,r.jsx)("div",{className:"text-center text-gray-400 py-12",children:(0,r.jsx)(ee,{children:"无可渲染内容"})})})},{key:"json",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(Q.A,{})," 原始 JSON"]}),children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"完整格式"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:(e=>{try{let n=JSON.parse(e);return JSON.stringify(n,null,2)}catch(n){return e}})(c)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"提取的 VIS 内容"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:(e=>{try{let n=JSON.parse(e);return JSON.stringify(n,null,2)}catch(n){return e}})(c)})]})]})},{key:"markdown",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(Q.A,{})," Markdown 源码"]}),children:(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:C||"无内容"})}]}):(0,r.jsx)("div",{className:"text-center text-gray-400 py-12",children:(0,r.jsx)(ee,{children:'暂无合并结果,请先添加 chunk 到队列并点击"执行合并"'})})}),(0,r.jsx)(Z.A,{title:"使用说明",className:"mb-4",children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"1. 数据格式"}),(0,r.jsx)(ee,{children:"输入 VIS chunk 数据,格式为 JSON,必须包含 vis 字段:"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-3 rounded mt-2 text-sm",children:'{"vis":"{\\"planning_window\\": \\"内容\\", \\"running_window\\": \\"\\"}"}'})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"2. 使用步骤"}),(0,r.jsxs)("ul",{className:"list-disc list-inside space-y-1 text-gray-600",children:[(0,r.jsx)("li",{children:"在上方输入框中输入 VIS chunk 数据"}),(0,r.jsx)("li",{children:'点击"添加到队列"按钮,将数据添加到合并队列'}),(0,r.jsx)("li",{children:"可以连续输入多个 chunk,都会添加到队列中"}),(0,r.jsx)("li",{children:'点击"执行合并"按钮,查看合并结果'}),(0,r.jsx)("li",{children:'在"可视化渲染"标签页查看 GPTVis 渲染效果'})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"3. 支持的组件"}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:["d-planning-space","d-agent-plan","d-work","d-code","d-monitor","d-tool","d-llm","d-thinking","d-attach","d-agent-folder","d-todo-list","nex-running-window","nex-planning-window","drsk-content","drsk-plan","drsk-msg","drsk-step","drsk-confirm","drsk-interact"].map(e=>(0,r.jsx)(w.A,{color:"blue",children:e},e))})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"4. 示例数据"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-3 rounded mt-2 text-xs",children:'[\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"准备开始\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n },\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"执行中...\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n },\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"完成\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n }\n]'})]})]})})]})}let{Title:et,Text:er}=i.A;class es{extractVisContent(e){try{let n=JSON.parse(e);if(n.vis)return JSON.parse(n.vis);return n}catch(e){return null}}mergeVis(e,n){if(!e)return n;if(!n)return e;let t=this.extractVisContent(e),r=this.extractVisContent(n);if(!t||!r)return n;let s={};if(void 0!==r.planning_window)if(null===r.planning_window)s.planning_window=null;else if(t.planning_window&&r.planning_window){let e=new B.Tc;e.currentVis=t.planning_window,s.planning_window=e.updateCurrentMarkdown(r.planning_window)}else s.planning_window=r.planning_window;else s.planning_window=t.planning_window;if(void 0!==r.running_window)if(null===r.running_window)s.running_window=null;else if(t.running_window&&r.running_window){let e=new B.Tc;e.currentVis=t.running_window,s.running_window=e.updateCurrentMarkdown(r.running_window)}else s.running_window=r.running_window;else s.running_window=t.running_window;return JSON.stringify({vis:JSON.stringify(s)})}mergeChunks(e){let n="";for(let t of e)n=n?this.mergeVis(n,t):t;return n}}function ei(){let[e,n]=(0,s.useState)(""),[t,i]=(0,s.useState)([]),[c,d]=(0,s.useState)(""),[u,h]=(0,s.useState)(""),[g,m]=(0,s.useState)("replay"),[p,x]=(0,s.useState)("visual"),f=(0,s.useMemo)(()=>new es,[]),w=[{key:"replay",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(o.A,{})," Chunk 回放"]}),children:(0,r.jsx)(F,{})},{key:"merge",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(l.A,{})," 合并测试"]}),children:(0,r.jsx)(en,{inputText:e,setInputText:n,chunks:t,setChunks:i,mergedResult:c,setMergedResult:d,error:u,setError:h,activeTab:p,setActiveTab:x,tester:f})}];return(0,r.jsxs)("div",{className:"p-6 max-w-full w-full h-full overflow-y-auto",children:[(0,r.jsx)(et,{level:2,children:"DeRisk-GUI"}),(0,r.jsx)(er,{type:"secondary",className:"mb-6 block",children:"DeRisk GUI智能生成预览, 支持手动输入合并和 JSONL 文件回放两种模式"}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(a.A,{activeKey:g,onChange:m,type:"card",className:"w-full",items:w})})]})}},70061:(e,n,t)=>{"use strict";t.d(n,{Tc:()=>h,yh:()=>g});var r=t(60363),s=t.n(r),i=t(71965),a=t(94793),o=t(96705),l=t(54514),c=t(36174);function d(e){if(!e)throw Error("Empty or null JSON string");try{return JSON.parse(e)}catch(n){return JSON.parse(e.replace(/\\\$/g,"$"))}}function u(e){if(!e)return!0;let n=e.match(/```/g);return!!n&&n.length%2!=0}class h{destroy(){this.incrNodesMap.clear(),this.uidIndex.clear(),this.astRoot=null,this.currentVis=""}updateCurrentMarkdown(e){if(null==e)return this.currentVis;if(""===e)return this.currentVis="",this.astRoot=null,this.uidIndex.clear(),this.incrNodesMap.clear(),this.currentVis;if(!this.currentVis)return this.currentVis=e,this.astRoot=this.parseVis2AST(e),this.rebuildIndex(),this.currentVis;let n=this.parseVis2AST(e);return this.extractIncrContent(n),this.astRoot||(this.astRoot=this.parseVis2AST(this.currentVis),this.rebuildIndex()),this.mergeIncrementalChunk(n),this.currentVis=this.parseAST2Vis(this.astRoot),this.currentVis}queryByUID(e){let n,t=this.uidIndex.get(e);if(!t)return{found:!1};try{"ast"===t.nodeType&&t.node.value?n=d(t.node.value):"item"===t.nodeType?n=t.node:"nested"===t.nodeType&&t.node.value&&(n=d(t.node.value))}catch(e){}return{found:!0,entry:t,visItem:n}}getComponentPath(e){let n=this.uidIndex.get(e);return n?n.path:[]}getChildrenUIDs(e){let n=[];return this.uidIndex.forEach((t,r)=>{t.parentUid===e&&n.push(r)}),n}getIndexStats(){let e={total:this.uidIndex.size,byType:{ast:0,item:0,nested:0},maxDepth:0};return this.uidIndex.forEach(n=>{e.byType[n.nodeType]=(e.byType[n.nodeType]||0)+1,e.maxDepth=Math.max(e.maxDepth,n.depth)}),e}mergeIncrementalChunk(e){this.astRoot&&(this.traverseASTNodes(e,(e,n)=>{let t=n.uid;if(!t)return;let r=this.uidIndex.get(t);r?this.mergeExistingNode(r,n,e):this.smartMountNewNode(e,n)}),this.rebuildIndex())}mergeExistingNode(e,n,t){try{let t;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;t=d(e.node.value)}else{if("item"!==e.nodeType)return;t=e.node}let r=this.combineVisItem(t,n);if("ast"===e.nodeType)e.node.value=JSON.stringify(r);else if("nested"===e.nodeType)this.updateNestedNodeInHost(e,r);else if("item"===e.nodeType){if(e.itemsHostNode&&void 0!==e.itemIndex){let n=d(e.itemsHostNode.value);n.items&&n.items[e.itemIndex]&&(n.items[e.itemIndex]=r,e.itemsHostNode.value=JSON.stringify(n))}else e.itemsHost&&void 0!==e.itemIndex&&(e.itemsHost.items[e.itemIndex]=r);Object.assign(e.node,r)}}catch(e){console.error("[mergeExistingNode] Error merging uid=".concat(n.uid,":"),e)}}updateNestedNodeInHost(e,n){let t=n.uid,r=e.markdownHost||e.parentNode;if(!r||!r.value){e.node.value=JSON.stringify(n);return}try{let s=d(r.value);if(!s.markdown){e.node.value=JSON.stringify(n);return}let i=this.parseVis2AST(s.markdown),a=!1;if(this.traverseASTNodes(i,(e,r)=>{r.uid===t&&(e.value=JSON.stringify(n),a=!0)}),a){s.markdown=this.parseAST2Vis(i),r.value=JSON.stringify(s);let e=this.uidIndex.get(s.uid);e&&"nested"===e.nodeType&&this.updateNestedNodeInHost(e,s)}else e.node.value=JSON.stringify(n)}catch(t){console.error("[updateNestedNodeInHost] Error:",t),e.node.value=JSON.stringify(n)}}smartMountNewNode(e,n){if(!this.astRoot)return;let t=n.parent_uid;if(t){let r=this.uidIndex.get(t);if(r)return void this.mountToParentMarkdown(r,e,n)}this.astRoot.children&&this.astRoot.children.push(e)}mountToParentMarkdown(e,n,t){try{let t,r;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;t=d(e.node.value),r=n=>{e.node.value=JSON.stringify(n)}}else{if("item"!==e.nodeType)return;t=e.node,r=n=>{if(Object.assign(e.node,n),e.itemsHostNode&&void 0!==e.itemIndex){let t=d(e.itemsHostNode.value);t.items&&(t.items[e.itemIndex]=n,e.itemsHostNode.value=JSON.stringify(t))}}}let s=this.parseAST2Vis({type:"root",children:[n]});t.markdown?t.markdown+="\n"+s:t.markdown=s,r(t)}catch(e){console.error("[mountToParentMarkdown] Error:",e)}}combineVisItem(e,n){let t,r,s,{markdown:i="",uid:a,type:o,items:l=[],dynamic:c}=e,{markdown:d="",uid:u,type:h,items:g=[],dynamic:m}=n;return a!==u?e:(t=c?(i||"")+(d||""):this.combineMarkdownString(i,d),r="all"===h?d||i||void 0:d?t:i||void 0,s="all"===h&&g&&g.length>0?g:this.combineItems(l||[],g||[]),{...function(e,n){let t={...e};for(let e of Object.keys(n)){let r=n[e];null!=r&&(t[e]=r)}return t}(e,n),markdown:r,uid:a,dynamic:void 0!==m?m:c,type:h||o,items:s&&s.length>0?s:void 0})}combineItems(e,n){if(!n||0===n.length)return e||[];let t=s()(n,"uid"),r=(e||[]).map(e=>{let n=t[e.uid];return n?this.combineVisItem(e,n):e}),i=new Set((e||[]).map(e=>e.uid));return[...r,...n.filter(e=>!i.has(e.uid))]}combineMarkdownString(e,n){if(e||n){if(!e)return n||void 0;if(!n)return e;if(!e.includes("```")&&!n.includes("```"))return e+n;try{let t=this.parseVis2AST(e),r=this.parseVis2AST(n),s=new Map;return this.traverseASTNodes(t,(e,n)=>{n.uid&&s.set(n.uid,{node:e,json:n})}),this.traverseASTNodes(r,(e,n)=>{if(!n.uid)return;let r=s.get(n.uid);if(r){let e=this.combineVisItem(r.json,n);r.node.value=JSON.stringify(e)}else t.children&&t.children.push(e)}),this.parseAST2Vis(t)}catch(t){if(console.warn("[combineMarkdownString] AST merge failed, falling back to partial tag check:",t),u(e)||u(n))return e+n;return e+"\n"+n}}}rebuildIndex(){this.uidIndex.clear(),this.astRoot&&this.buildIndexRecursive(this.astRoot,null,null,null,0,[])}buildIndexRecursive(e,n,t,r,s,i){if(e){if(s>100)return void console.error("[buildIndexRecursive] 递归深度超过限制: ".concat(s,", path: ").concat(i.join(" -> ")));if(e.lang&&e.value)try{let r=d(e.value);if(r.uid){if(i.includes(r.uid)){if(i[i.length-1]===r.uid)return;console.error("[buildIndexRecursive] 检测到循环引用,跳过处理: uid=".concat(r.uid,", path: ").concat(i.join(" -> ")," -> ").concat(r.uid));return}let a=[...i,r.uid];this.uidIndex.set(r.uid,{node:e,nodeType:"ast",parentUid:t,parentNode:n,depth:s,path:a}),r.items&&Array.isArray(r.items)&&this.indexItems(r.items,e,r.uid,s+1,a),r.markdown&&this.indexNestedMarkdown(r.markdown,e,r.uid,s+1,a)}}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(n=>{this.buildIndexRecursive(n,e,t,r,s,i)})}}indexItems(e,n,t,r,s){if(r>100)return void console.error("[indexItems] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));e.forEach((e,i)=>{if(e.uid){let a;if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[indexItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")," -> ").concat(e.uid));return}let o=[...s,e.uid];try{a=d(n.value)}catch(e){}this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:t,parentNode:n,depth:r,path:o,itemsHost:a,itemsHostNode:n,itemIndex:i}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,r+1,o),e.items&&Array.isArray(e.items)&&this.indexNestedItems(e.items,e,e.uid,r+1,o)}})}indexNestedItems(e,n,t,r,s){if(r>100)return void console.error("[indexNestedItems] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));e.forEach((e,i)=>{if(e.uid){if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[indexNestedItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")," -> ").concat(e.uid));return}let a=[...s,e.uid];this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:t,parentNode:n,depth:r,path:a,itemsHost:n,itemIndex:i}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,r+1,a),e.items&&this.indexNestedItems(e.items,e,e.uid,r+1,a)}})}indexNestedMarkdown(e,n,t,r,s){if(e&&e.includes("```")){if(r>100)return void console.error("[indexNestedMarkdown] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));try{let i=this.parseVis2AST(e);this.traverseASTNodes(i,(e,i)=>{if(i.uid){if(s.includes(i.uid)){if(s[s.length-1]===i.uid)return;console.error("[indexNestedMarkdown] 检测到循环引用,跳过处理: uid=".concat(i.uid,", path: ").concat(s.join(" -> ")," -> ").concat(i.uid));return}let a=[...s,i.uid];this.uidIndex.set(i.uid,{node:e,nodeType:"nested",parentUid:t,parentNode:n,depth:r,path:a,markdownHost:n}),i.markdown&&this.indexNestedMarkdown(i.markdown,e,i.uid,r+1,a),i.items&&Array.isArray(i.items)&&this.indexItems(i.items,e,i.uid,r+1,a)}})}catch(e){}}}parseVis2AST(e){return this.string2TreeProcessor.parse(function(e){let n=new c.T;return n.value=e||"",n}(e))}parseAST2Vis(e){return this.tree2StringProcessor.stringify(e).trimEnd()}traverseASTNodes(e,n){if(e){if(e.lang&&e.value)try{let t=d(e.value);n(e,t)}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(e=>{this.traverseASTNodes(e,n)})}}extractIncrContent(e){var n=this;this.incrNodesMap.clear();let t=function(e,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(s>100)return void console.error("[extractIncrContent] 递归深度超过限制: ".concat(s));if(e.uid){if(r.includes(e.uid)){if(r[r.length-1]===e.uid)return;console.error("[extractIncrContent] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(r.join(" -> ")));return}let i=[...r,e.uid];if(n.incrNodesMap.set(e.uid,e),e.markdown){let r=n.parseVis2AST(e.markdown);n.traverseASTNodes(r,(e,n)=>{t(n,i,s+1)})}e.items&&e.items.forEach(e=>{t(e,i,s+1)})}else{if(e.markdown){let i=n.parseVis2AST(e.markdown);n.traverseASTNodes(i,(e,n)=>{t(n,r,s+1)})}e.items&&e.items.forEach(e=>{t(e,r,s+1)})}};this.traverseASTNodes(e,(e,n)=>{t(n,[],0)})}createString2TreeProcessor(e){let n=(null==e?void 0:e.remarkPlugins)||[],t={allowDangerousHtml:!0,...null==e?void 0:e.remarkRehypeOptions};return(0,l.l)().use(i.A).use(n).use(o.A,t)}createTree2StringProcessor(){return(0,l.l)().use(a.A)}constructor(e){this.string2TreeProcessor=this.createString2TreeProcessor(e),this.tree2StringProcessor=this.createTree2StringProcessor(),this.incrNodesMap=new Map,this.uidIndex=new Map,this.astRoot=null,this.currentVis=""}}class g{getCurrent(e){if(e){var n;let t=this.windowParsers.get(e);return t?t.currentVis:(null==(n=this.parsers.get(e))?void 0:n.current)||""}return this.defaultParser.currentVis}queryByUID(e,n){if(n){let t=this.windowParsers.get(n);if(t)return t.queryByUID(e);let r=this.parsers.get(n);return r&&r.defaultParser?r.defaultParser.queryByUID(e):{found:!1}}return this.defaultParser.queryByUID(e)}update(e){try{let n=d(e),t={};try{this.current&&(t=d(this.current))}catch(e){t={}}let r=new Set([...Object.keys(n),...Object.keys(t)]),s={};r.forEach(e=>{let r=n[e],i=this.windowParsers.get(e);i||(i=new h,this.windowParsers.set(e,i)),null!=r&&""!==r&&i.updateCurrentMarkdown(r),i.currentVis?s[e]=i.currentVis:t[e]?s[e]=t[e]:e in n&&(s[e]=null)}),this.current=JSON.stringify(s)}catch(n){this.defaultParser.updateCurrentMarkdown(e),this.current=this.defaultParser.currentVis}return this.current}getIndexStats(e){if(e){let n=this.windowParsers.get(e);if(n)return n.getIndexStats()}return this.defaultParser.getIndexStats()}getAllWindowStats(){let e=new Map;return this.windowParsers.forEach((n,t)=>{e.set(t,n.getIndexStats())}),e}destroy(){this.parsers.forEach(e=>e.destroy()),this.parsers.clear(),this.windowParsers.forEach(e=>e.destroy()),this.windowParsers.clear(),this.defaultParser.destroy()}constructor(){this.current="",this.parsers=new Map,this.windowParsers=new Map,this.defaultParser=new h}}new h},79887:(e,n,t)=>{Promise.resolve().then(t.bind(t,58423))},91070:(e,n,t)=>{"use strict";t.d(n,{BR:()=>a,zo:()=>i,UK:()=>r.UK,rA:()=>r.rA,cE:()=>r.cE,V:()=>r.V});var r=t(39740),s=t(12115);let i=(0,s.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],setChatInParams:()=>{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),a=(0,s.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,7773,9960,1236,8441,5964,7358],()=>e(e.s=79887)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5993],{85:(e,n,t)=>{"use strict";t.d(n,{A:()=>_});var r=t(12115),s=t(29300),i=t.n(s),a=t(82870),o=t(77696),l=t(80163),c=t(15982),d=t(99841),u=t(18184),h=t(18741),g=t(61388),m=t(45431);let p=new d.Mo("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),x=new d.Mo("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),f=new d.Mo("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),w=new d.Mo("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new d.Mo("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),y=new d.Mo("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),v=e=>{let{fontHeight:n,lineWidth:t,marginXS:r,colorBorderBg:s}=e,i=e.colorTextLightSolid,a=e.colorError,o=e.colorErrorHover;return(0,g.oX)(e,{badgeFontHeight:n,badgeShadowSize:t,badgeTextColor:i,badgeColor:a,badgeColorHover:o,badgeShadowColor:s,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},j=e=>{let{fontSize:n,lineHeight:t,fontSizeSM:r,lineWidth:s}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(n*t)-2*s,indicatorHeightSM:n,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},N=(0,m.OF)("Badge",e=>(e=>{let{componentCls:n,iconCls:t,antCls:r,badgeShadowSize:s,textFontSize:i,textFontSizeSM:a,statusSize:o,dotSize:l,textFontWeight:c,indicatorHeight:g,indicatorHeightSM:m,marginXS:v,calc:j}=e,N="".concat(r,"-scroll-number"),k=(0,h.A)(e,(e,t)=>{let{darkColor:r}=t;return{["&".concat(n," ").concat(n,"-color-").concat(e)]:{background:r,["&:not(".concat(n,"-count)")]:{color:r},"a:hover &":{background:r}}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.dF)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,["".concat(n,"-count")]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:g,height:g,color:e.badgeTextColor,fontWeight:c,fontSize:i,lineHeight:(0,d.zA)(g),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:j(g).div(2).equal(),boxShadow:"0 0 0 ".concat((0,d.zA)(s)," ").concat(e.badgeShadowColor),transition:"background ".concat(e.motionDurationMid),a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},["".concat(n,"-count-sm")]:{minWidth:m,height:m,fontSize:a,lineHeight:(0,d.zA)(m),borderRadius:j(m).div(2).equal()},["".concat(n,"-multiple-words")]:{padding:"0 ".concat((0,d.zA)(e.paddingXS)),bdi:{unicodeBidi:"plaintext"}},["".concat(n,"-dot")]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:"0 0 0 ".concat((0,d.zA)(s)," ").concat(e.badgeShadowColor)},["".concat(n,"-count, ").concat(n,"-dot, ").concat(N,"-custom-component")]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",["&".concat(t,"-spin")]:{animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},["&".concat(n,"-status")]:{lineHeight:"inherit",verticalAlign:"baseline",["".concat(n,"-status-dot")]:{position:"relative",top:-1,display:"inline-block",width:o,height:o,verticalAlign:"middle",borderRadius:"50%"},["".concat(n,"-status-success")]:{backgroundColor:e.colorSuccess},["".concat(n,"-status-processing")]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:s,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:p,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},["".concat(n,"-status-default")]:{backgroundColor:e.colorTextPlaceholder},["".concat(n,"-status-error")]:{backgroundColor:e.colorError},["".concat(n,"-status-warning")]:{backgroundColor:e.colorWarning},["".concat(n,"-status-text")]:{marginInlineStart:v,color:e.colorText,fontSize:e.fontSize}}}),k),{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:x,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["".concat(n,"-zoom-leave")]:{animationName:f,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["&".concat(n,"-not-a-wrapper")]:{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:w,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["".concat(n,"-zoom-leave")]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["&:not(".concat(n,"-status)")]:{verticalAlign:"middle"},["".concat(N,"-custom-component, ").concat(n,"-count")]:{transform:"none"},["".concat(N,"-custom-component, ").concat(N)]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[N]:{overflow:"hidden",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack),["".concat(N,"-only")]:{position:"relative",display:"inline-block",height:g,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseOutBack),WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",["> p".concat(N,"-only-unit")]:{height:g,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},["".concat(N,"-symbol")]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",["".concat(n,"-count, ").concat(n,"-dot, ").concat(N,"-custom-component")]:{transform:"translate(-50%, -50%)"}}})}})(v(e)),j),k=(0,m.OF)(["Badge","Ribbon"],e=>(e=>{let{antCls:n,badgeFontHeight:t,marginXS:r,badgeRibbonOffset:s,calc:i}=e,a="".concat(n,"-ribbon"),o=(0,h.A)(e,(e,n)=>{let{darkColor:t}=n;return{["&".concat(a,"-color-").concat(e)]:{background:t,color:t}}});return{["".concat(n,"-ribbon-wrapper")]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.dF)(e)),{position:"absolute",top:r,padding:"0 ".concat((0,d.zA)(e.paddingXS)),color:e.colorPrimary,lineHeight:(0,d.zA)(t),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,["".concat(a,"-text")]:{color:e.badgeTextColor},["".concat(a,"-corner")]:{position:"absolute",top:"100%",width:s,height:s,color:"currentcolor",border:"".concat((0,d.zA)(i(s).div(2).equal())," solid"),transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),o),{["&".concat(a,"-placement-end")]:{insetInlineEnd:i(s).mul(-1).equal(),borderEndEndRadius:0,["".concat(a,"-corner")]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},["&".concat(a,"-placement-start")]:{insetInlineStart:i(s).mul(-1).equal(),borderEndStartRadius:0,["".concat(a,"-corner")]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}})(v(e)),j),A=e=>{let n,{prefixCls:t,value:s,current:a,offset:o=0}=e;return o&&(n={position:"absolute",top:"".concat(o,"00%"),left:0}),r.createElement("span",{style:n,className:i()("".concat(t,"-only-unit"),{current:a})},s)},S=e=>{let n,t,{prefixCls:s,count:i,value:a}=e,o=Number(a),l=Math.abs(i),[c,d]=r.useState(o),[u,h]=r.useState(l),g=()=>{d(o),h(l)};if(r.useEffect(()=>{let e=setTimeout(g,1e3);return()=>clearTimeout(e)},[o]),c===o||Number.isNaN(o)||Number.isNaN(c))n=[r.createElement(A,Object.assign({},e,{key:o,current:!0}))],t={transition:"none"};else{n=[];let s=o+10,i=[];for(let e=o;e<=s;e+=1)i.push(e);let a=ue%10===c);n=(a<0?i.slice(0,d+1):i.slice(d)).map((n,t)=>r.createElement(A,Object.assign({},e,{key:n,value:n%10,offset:a<0?t-d:t,current:t===d}))),t={transform:"translateY(".concat(-function(e,n,t){let r=e,s=0;for(;(r+10)%10!==n;)r+=t,s+=t;return s}(c,o,a),"00%)")}}return r.createElement("span",{className:"".concat(s,"-only"),style:t,onTransitionEnd:g},n)};var C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);sn.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let O=r.forwardRef((e,n)=>{let{prefixCls:t,count:s,className:a,motionClassName:o,style:d,title:u,show:h,component:g="sup",children:m}=e,p=C(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:x}=r.useContext(c.QO),f=x("scroll-number",t),w=Object.assign(Object.assign({},p),{"data-show":h,style:d,className:i()(f,a,o),title:u}),b=s;if(s&&Number(s)%1==0){let e=String(s).split("");b=r.createElement("bdi",null,e.map((n,t)=>r.createElement(S,{prefixCls:f,count:Number(s),value:n,key:e.length-t})))}return((null==d?void 0:d.borderColor)&&(w.style=Object.assign(Object.assign({},d),{boxShadow:"0 0 0 1px ".concat(d.borderColor," inset")})),m)?(0,l.Ob)(m,e=>({className:i()("".concat(f,"-custom-component"),null==e?void 0:e.className,o)})):r.createElement(g,Object.assign({},w,{ref:n}),b)});var I=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(e);sn.indexOf(r[s])&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(t[r[s]]=e[r[s]]);return t};let T=r.forwardRef((e,n)=>{var t,s,d,u,h;let{prefixCls:g,scrollNumberPrefixCls:m,children:p,status:x,text:f,color:w,count:b=null,overflowCount:y=99,dot:v=!1,size:j="default",title:k,offset:A,style:S,className:C,rootClassName:T,classNames:_,styles:M,showZero:E=!1}=e,V=I(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:P,direction:R,badge:z}=r.useContext(c.QO),D=P("badge",g),[J,H,L]=N(D),B=b>y?"".concat(y,"+"):b,W="0"===B||0===B||"0"===f||0===f,U=null===b||W&&!E,F=(null!=x||null!=w)&&U,q=null!=x||!W,Z=v&&!W,K=Z?"":B,G=(0,r.useMemo)(()=>((null==K||""===K)&&(null==f||""===f)||W&&!E)&&!Z,[K,W,E,Z,f]),Y=(0,r.useRef)(b);G||(Y.current=b);let Q=Y.current,X=(0,r.useRef)(K);G||(X.current=K);let $=X.current,ee=(0,r.useRef)(Z);G||(ee.current=Z);let en=(0,r.useMemo)(()=>{if(!A)return Object.assign(Object.assign({},null==z?void 0:z.style),S);let e={marginTop:A[1]};return"rtl"===R?e.left=Number.parseInt(A[0],10):e.right=-Number.parseInt(A[0],10),Object.assign(Object.assign(Object.assign({},e),null==z?void 0:z.style),S)},[R,A,S,null==z?void 0:z.style]),et=null!=k?k:"string"==typeof Q||"number"==typeof Q?Q:void 0,er=!G&&(0===f?E:!!f&&!0!==f),es=er?r.createElement("span",{className:"".concat(D,"-status-text")},f):null,ei=Q&&"object"==typeof Q?(0,l.Ob)(Q,e=>({style:Object.assign(Object.assign({},en),e.style)})):void 0,ea=(0,o.nP)(w,!1),eo=i()(null==_?void 0:_.indicator,null==(t=null==z?void 0:z.classNames)?void 0:t.indicator,{["".concat(D,"-status-dot")]:F,["".concat(D,"-status-").concat(x)]:!!x,["".concat(D,"-color-").concat(w)]:ea}),el={};w&&!ea&&(el.color=w,el.background=w);let ec=i()(D,{["".concat(D,"-status")]:F,["".concat(D,"-not-a-wrapper")]:!p,["".concat(D,"-rtl")]:"rtl"===R},C,T,null==z?void 0:z.className,null==(s=null==z?void 0:z.classNames)?void 0:s.root,null==_?void 0:_.root,H,L);if(!p&&F&&(f||q||!U)){let e=en.color;return J(r.createElement("span",Object.assign({},V,{className:ec,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null==(d=null==z?void 0:z.styles)?void 0:d.root),en)}),r.createElement("span",{className:eo,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null==(u=null==z?void 0:z.styles)?void 0:u.indicator),el)}),er&&r.createElement("span",{style:{color:e},className:"".concat(D,"-status-text")},f)))}return J(r.createElement("span",Object.assign({ref:n},V,{className:ec,style:Object.assign(Object.assign({},null==(h=null==z?void 0:z.styles)?void 0:h.root),null==M?void 0:M.root)}),p,r.createElement(a.Ay,{visible:!G,motionName:"".concat(D,"-zoom"),motionAppear:!1,motionDeadline:1e3},e=>{var n,t;let{className:s}=e,a=P("scroll-number",m),o=ee.current,l=i()(null==_?void 0:_.indicator,null==(n=null==z?void 0:z.classNames)?void 0:n.indicator,{["".concat(D,"-dot")]:o,["".concat(D,"-count")]:!o,["".concat(D,"-count-sm")]:"small"===j,["".concat(D,"-multiple-words")]:!o&&$&&$.toString().length>1,["".concat(D,"-status-").concat(x)]:!!x,["".concat(D,"-color-").concat(w)]:ea}),c=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null==(t=null==z?void 0:z.styles)?void 0:t.indicator),en);return w&&!ea&&((c=c||{}).background=w),r.createElement(O,{prefixCls:a,show:!G,motionClassName:s,className:l,count:$,title:et,style:c,key:"scrollNumber"},ei)}),es))});T.Ribbon=e=>{let{className:n,prefixCls:t,style:s,color:a,children:l,text:d,placement:u="end",rootClassName:h}=e,{getPrefixCls:g,direction:m}=r.useContext(c.QO),p=g("ribbon",t),x="".concat(p,"-wrapper"),[f,w,b]=k(p,x),y=(0,o.nP)(a,!1),v=i()(p,"".concat(p,"-placement-").concat(u),{["".concat(p,"-rtl")]:"rtl"===m,["".concat(p,"-color-").concat(a)]:y},n),j={},N={};return a&&!y&&(j.background=a,N.color=a),f(r.createElement("div",{className:i()(x,h,w,b)},l,r.createElement("div",{className:i()(v,w),style:Object.assign(Object.assign({},j),s)},r.createElement("span",{className:"".concat(p,"-text")},d),r.createElement("div",{className:"".concat(p,"-corner"),style:N}))))};let _=T},18610:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(12115),s=t(50585),i=t(75659);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;nr.createElement(i.A,a({},e,{ref:n,icon:s.A})))},39740:(e,n,t)=>{"use strict";t.d(n,{UK:()=>l,V:()=>d,cE:()=>u,rA:()=>c});var r=t(95155),s=t(67773);t(61475);var i=t(54099),a=t(35695),o=t(12115);let l=(0,o.createContext)({mode:"light",scene:"",chatId:"",model:"",modelList:[],dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{},currentDialogInfo:{chat_scene:"",app_code:""},setCurrentDialogInfo:()=>{},adminList:[],refreshDialogList:()=>{}}),c=e=>{var n,t,c;let{children:d}=e,u=(0,a.useSearchParams)(),h=null!=(n=null==u?void 0:u.get("conv_uid"))?n:"",g=null!=(t=null==u?void 0:u.get("scene"))?t:"",m=null!=(c=null==u?void 0:u.get("db_param"))?c:"",[p,x]=(0,o.useState)(!1),[f,w]=(0,o.useState)("light"),[b,y]=(0,o.useState)("chat_dashboard"!==g),[v,j]=(0,o.useState)(m),[N,k]=(0,o.useState)(""),[A,S]=(0,o.useState)([]),[C,O]=(0,o.useState)(),[I,T]=(0,o.useState)("light"),[_,M]=(0,o.useState)(h),[E,V]=(0,o.useState)([]),[P,R]=(0,o.useState)({chat_scene:"",app_code:""}),{data:z=[]}=(0,i.A)(async()=>{let[,e]=await (0,s.VbY)((0,s.TzU)());return null!=e?e:[]}),{data:D=[],refresh:J,loading:H}=(0,i.A)(async()=>await (0,s.VbY)((0,s.b7p)()));return(0,o.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("cur_dialog_info")||"");R(e)}catch(e){R({chat_scene:"",app_code:""})}},[]),(0,o.useEffect)(()=>{w(z[0])},[z,null==z?void 0:z.length]),(0,o.useEffect)(()=>{h&&M(h)},[h]),(0,r.jsx)(l.Provider,{value:{isContract:p,isMenuExpand:b,scene:g,chatId:_,model:f,modelList:z,dbParam:v||m,agent:N,setAgent:k,mode:I,setMode:T,setModel:w,setIsContract:x,setIsMenuExpand:y,setDbParam:j,history:A,setHistory:S,docId:C,setDocId:O,currentDialogInfo:P,setCurrentDialogInfo:R,adminList:E,refreshDialogList:J,dialogueList:D},children:d})},d=(0,o.createContext)(null),u=(0,o.createContext)(null)},44213:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var r=t(12115);let s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 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:"code",theme:"outlined"};var i=t(75659);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;nr.createElement(i.A,a({},e,{ref:n,icon:s})))},58423:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>ei});var r=t(95155),s=t(12115),i=t(90797),a=t(23512),o=t(75839),l=t(44261),c=t(94326),d=t(19361),u=t(74947),h=t(7187),g=t(98696),m=t(67850),p=t(59474),x=t(85),f=t(1828),w=t(37974),b=t(94481),y=t(96194);let v={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"};var j=t(75659);function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,N({},e,{ref:n,icon:v})));var A=t(13630),S=t(14808);let C={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"};function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,O({},e,{ref:n,icon:C}))),T={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,_({},e,{ref:n,icon:T})));var E=t(34140),V=t(47562),P=t(93192);let R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z"}}]},name:"bug",theme:"outlined"};function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var n=1;ns.createElement(j.A,z({},e,{ref:n,icon:R})));var J=t(27840),H=t(92199),L=t(54171),B=t(70061);t(31491);let{Title:W,Text:U}=i.A;function F(){let[e,n]=(0,s.useState)([]),[t,i]=(0,s.useState)([]),[a,o]=(0,s.useState)(""),[l,v]=(0,s.useState)(!1),[j,N]=(0,s.useState)(0),[C,O]=(0,s.useState)(""),[T,_]=(0,s.useState)(""),[R,z]=(0,s.useState)(2),[F,q]=(0,s.useState)(20),[Z,K]=(0,s.useState)([]),[G,Y]=(0,s.useState)(!1),[Q,X]=(0,s.useState)(!1),[$,ee]=(0,s.useState)(!1),[en,et]=(0,s.useState)(!1),[er,es]=(0,s.useState)(null),ei=(0,s.useRef)(0),ea=(0,s.useRef)(""),eo=(0,s.useRef)(""),el=(0,s.useRef)(!1),ec=(0,s.useRef)(0),ed=(0,s.useRef)(R),eu=(0,s.useRef)(F),eh=(0,s.useRef)(null),eg=(0,s.useRef)(null),em=(0,s.useRef)(null);(0,s.useEffect)(()=>{ea.current=C,ed.current=R},[C,R]),(0,s.useEffect)(()=>{eo.current=T,eu.current=F},[T,F]),(0,s.useEffect)(()=>{el.current=l},[l]),(0,s.useEffect)(()=>{ec.current=j},[j]);let ep=(0,s.useCallback)((e,n,t)=>{let r={id:++ei.current,timestamp:new Date().toLocaleTimeString(),type:e,message:n,details:t};K(e=>[...e.slice(-99),r])},[]),ex=(0,s.useCallback)(e=>{try{let n=JSON.parse(e);if(n.vis)try{let e=JSON.parse(n.vis);return{planning_window:e.planning_window,running_window:e.running_window}}catch(e){return{planning_window:n.vis}}return n}catch(e){return null}},[]),ef=(0,s.useCallback)(e=>{let n=e.matchAll(/```d-thinking\s*\n([\s\S]*?)```/g),t=[],r=0;for(let e of n){r++;let n=e[1].trim();n.length>0&&t.push(n.substring(0,100)+(n.length>100?"...":""))}return{count:r,snippets:t}},[]),ew=(0,s.useCallback)((e,n)=>{let t=ex(e.vis),r={index:n+1,hasPlanningWindow:!1,hasRunningWindow:!1,planningLength:0,runningLength:0,thinkingCount:0,thinkingSnippets:[]};if(t){if(t.planning_window){r.hasPlanningWindow=!0,r.planningLength=t.planning_window.length;let e=ef(t.planning_window);r.thinkingCount+=e.count,r.thinkingSnippets.push(...e.snippets)}if(t.running_window){r.hasRunningWindow=!0,r.runningLength=t.running_window.length;let e=ef(t.running_window);r.thinkingCount+=e.count,r.thinkingSnippets.push(...e.snippets)}}return r},[ex,ef]),eb=(0,s.useCallback)(e=>{let n=new FileReader,t=(e.size/1024).toFixed(2);return n.onload=n=>{try{var r;let s=(null==(r=n.target)?void 0:r.result).trim().split("\n"),a=[];if(ep("info","开始解析文件,共 ".concat(s.length," 行")),s.forEach((e,n)=>{try{let n=JSON.parse(e);n.vis&&a.push(n)}catch(e){ep("warn","第 ".concat(n+1," 行解析失败"))}}),0===a.length){o("未找到有效的chunk数据"),ep("error","未找到有效的chunk数据");return}i(a),es({name:e.name,size:t}),o(""),a.map((e,n)=>ew(e,n)),ep("success","成功加载 ".concat(a.length," 个chunk")),N(0),O(""),_(""),v(!1),ec.current=0,ea.current="",eo.current="",eh.current=new B.Tc,eg.current=new B.Tc}catch(e){o("文件解析错误: ".concat(e.message)),ep("error","文件解析失败")}},n.readAsText(e),!1},[ep,ew]),ey=(0,s.useCallback)(()=>{var e,n;let r=ec.current;if(r>=t.length){v(!1),el.current=!1,ep("success","回放完成");return}let s=ex(t[r].vis);if(!s){ep("warn","Chunk ".concat(r+1," 解析失败,跳过")),N(r+1),ec.current=r+1,el.current&&(em.current=setTimeout(ey,100));return}let i=s.planning_window&&s.running_window,a=ed.current,o=eu.current,l=i||s.planning_window?1e3*a:o;if(s.planning_window&&eh.current){let e=eh.current.updateCurrentMarkdown(s.planning_window);O(e),ea.current=e}if(s.running_window&&eg.current){let e=eg.current.updateCurrentMarkdown(s.running_window);_(e),eo.current=e}N(r+1),ec.current=r+1,ep("info","播放 Chunk ".concat(r+1,"/").concat(t.length),{hasPlanning:!!s.planning_window,hasRunning:!!s.running_window,planningLen:(null==(e=s.planning_window)?void 0:e.length)||0,runningLen:(null==(n=s.running_window)?void 0:n.length)||0,delay:l}),el.current&&r+1=t.length&&(v(!1),el.current=!1,ep("success","回放完成"))},[t,ex,ep]),ev=(0,s.useCallback)(()=>{if(0===t.length)return void o("请先上传jsonl文件");ec.current>=t.length&&eN(),v(!0),el.current=!0,ep("info","开始回放"),ey()},[t.length,ey,ep]),ej=(0,s.useCallback)(()=>{em.current&&(clearTimeout(em.current),em.current=null),v(!1),el.current=!1,ep("info","暂停回放")},[ep]),eN=(0,s.useCallback)(()=>{em.current&&clearTimeout(em.current),v(!1),el.current=!1,N(0),ec.current=0,O(""),ea.current="",_(""),eo.current="",eh.current=new B.Tc,eg.current=new B.Tc,ep("info","重置回放")},[ep]),ek=(0,s.useCallback)(()=>{if(je+1),ec.current=j+1}},[j,t,ex]),eA=(0,s.useCallback)(()=>{if(j>0){let e=j-1;eh.current=new B.Tc,eg.current=new B.Tc;let n="",r="";for(let s=0;s()=>{em.current&&clearTimeout(em.current)},[]);let eS=(0,s.useMemo)(()=>0===t.length?0:Math.round(j/t.length*100),[j,t.length]),eC=(0,s.useMemo)(()=>({planningChars:C.length,runningChars:T.length,totalChunks:t.length,currentChunk:j}),[C.length,T.length,t.length,j]),eO=(0,s.useMemo)(()=>{let e={};return C&&(e.planning_window=C),T&&(e.running_window=T),JSON.stringify({vis:JSON.stringify(e)},null,2)},[C,T]),eI=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(eO),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[eO]),eT=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(C),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[C]),e_=(0,s.useCallback)(async()=>{try{await navigator.clipboard.writeText(T),c.Ay.success("已复制到剪贴板")}catch(e){c.Ay.error("复制失败")}},[T]);return(0,r.jsxs)("div",{style:{width:"100%",display:"block"},children:[(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden mb-6 w-full",children:[(0,r.jsx)("div",{className:"px-6 py-4 bg-gradient-to-r from-blue-50 to-indigo-50 border-b border-gray-100",children:(0,r.jsxs)(d.A,{gutter:[24,16],align:"middle",style:{width:"100%"},children:[(0,r.jsx)(u.A,{xs:24,md:6,lg:4,children:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(h.A,{accept:".jsonl",fileList:e,beforeUpload:eb,onChange:e=>{let{fileList:t}=e;return n(t)},maxCount:1,showUploadList:!1,children:(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(k,{}),size:"large",className:"shadow-sm",children:"上传 JSONL"})}),er&&(0,r.jsxs)("div",{className:"text-xs text-gray-600",children:[(0,r.jsx)("div",{className:"truncate",title:er.name,children:er.name}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("span",{children:[er.size,"KB"]}),(0,r.jsx)("span",{children:"•"}),(0,r.jsxs)("span",{children:[t.length," chunks"]})]})]})]})}),(0,r.jsx)(u.A,{xs:24,md:12,lg:14,children:t.length>0?(0,r.jsxs)(m.A,{size:"middle",wrap:!0,children:[l?(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(S.A,{}),onClick:ej,size:"large",children:"暂停"}):(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(A.A,{}),onClick:ev,disabled:j>=t.length,size:"large",className:"shadow-sm",children:0===j?"开始回放":"继续"}),(0,r.jsxs)(g.Ay.Group,{children:[(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(I,{}),onClick:eA,disabled:0===j||l,children:"上一步"}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(M,{}),onClick:ek,disabled:j>=t.length||l,children:"下一步"})]}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(E.A,{}),onClick:eN,disabled:0===j,children:"重置"}),(0,r.jsx)(g.Ay,{type:"dashed",icon:(0,r.jsx)(V.A,{}),onClick:()=>X(!0),disabled:0===j,children:"查看Vis"})]}):null}),(0,r.jsx)(u.A,{xs:24,md:6,lg:6,children:t.length>0?(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(p.A,{percent:eS,status:l?"active":"normal",format:()=>"".concat(j," / ").concat(t.length),strokeColor:{from:"#1890ff",to:"#52c41a"},className:"flex-1"}),(0,r.jsx)(x.A,{status:l?"processing":j===t.length?"success":"default",text:l?"播放中":j===t.length?"已完成":"已暂停"})]}):null})]})}),t.length>0&&(0,r.jsx)("div",{className:"px-6 py-3 bg-gray-50/50",children:(0,r.jsxs)(d.A,{gutter:[48,8],align:"middle",children:[(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),(0,r.jsx)(U,{type:"secondary",className:"text-xs whitespace-nowrap",children:"Planning"}),(0,r.jsx)(f.A,{className:"flex-1 mx-2",min:1,max:5,step:1,value:R,onChange:z,disabled:l,tooltip:{formatter:e=>"".concat(e,"秒")}}),(0,r.jsxs)(w.A,{color:"blue",className:"text-xs",children:[R,"s"]})]})}),(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-2 h-2 rounded-full bg-green-500"}),(0,r.jsx)(U,{type:"secondary",className:"text-xs whitespace-nowrap",children:"Running"}),(0,r.jsx)(f.A,{className:"flex-1 mx-2",min:5,max:50,step:5,value:F,onChange:q,disabled:l,tooltip:{formatter:e=>"".concat(e,"ms")}}),(0,r.jsxs)(w.A,{color:"green",className:"text-xs",children:[F,"ms"]})]})}),(0,r.jsx)(u.A,{xs:24,md:8,children:(0,r.jsxs)("div",{className:"flex items-center justify-end gap-6",children:[(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"Planning"}),(0,r.jsx)(U,{strong:!0,className:"text-blue-600",children:eC.planningChars}),(0,r.jsx)(U,{type:"secondary",className:"text-xs",children:" 字符"})]}),(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"Running"}),(0,r.jsx)(U,{strong:!0,className:"text-green-600",children:eC.runningChars}),(0,r.jsx)(U,{type:"secondary",className:"text-xs",children:" 字符"})]}),(0,r.jsxs)("div",{className:"text-right",children:[(0,r.jsx)(U,{type:"secondary",className:"text-xs block",children:"进度"}),(0,r.jsx)(U,{strong:!0,children:eC.currentChunk}),(0,r.jsxs)(U,{type:"secondary",className:"text-xs",children:[" / ",eC.totalChunks]})]})]})})]})})]}),a&&(0,r.jsx)(b.A,{message:a,type:"error",showIcon:!0,closable:!0,onClose:()=>o(""),className:"mb-6 rounded-lg"}),t.length>0?(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-6 mb-6",children:[(0,r.jsx)("div",{className:"col-span-12 lg:col-span-5",children:(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden h-full",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gradient-to-r from-blue-50 to-blue-100/50 border-b border-blue-100 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full bg-blue-500 shadow-sm shadow-blue-500/30"}),(0,r.jsx)("span",{className:"font-medium text-gray-800",children:"Planning Window"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)(w.A,{color:"blue",className:"border-0 bg-blue-100 text-blue-700",children:[C.length.toLocaleString()," 字符"]}),(0,r.jsx)(g.Ay,{type:"text",size:"small",icon:(0,r.jsx)(V.A,{}),onClick:()=>ee(!0),disabled:!C,children:"查看"})]})]}),(0,r.jsx)("div",{className:"p-4 bg-gray-50/50",children:(0,r.jsx)("div",{className:"bg-white rounded-lg border border-gray-200 p-4 min-h-[400px] max-h-[500px] overflow-auto",children:C?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(C)}):(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-gray-400 min-h-[300px]",children:(0,r.jsx)(U,{children:"等待播放..."})})})})]})}),(0,r.jsx)("div",{className:"col-span-12 lg:col-span-7",children:(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden h-full",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gradient-to-r from-green-50 to-green-100/50 border-b border-green-100 flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full bg-green-500 shadow-sm shadow-green-500/30"}),(0,r.jsx)("span",{className:"font-medium text-gray-800",children:"Running Window"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)(w.A,{color:"green",className:"border-0 bg-green-100 text-green-700",children:[T.length.toLocaleString()," 字符"]}),(0,r.jsx)(g.Ay,{type:"text",size:"small",icon:(0,r.jsx)(V.A,{}),onClick:()=>et(!0),disabled:!T,children:"查看"})]})]}),(0,r.jsx)("div",{className:"p-4 bg-gray-50/50",children:(0,r.jsx)("div",{className:"bg-white rounded-lg border border-gray-200 p-4 min-h-[400px] max-h-[500px] overflow-auto",children:T?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(T)}):(0,r.jsx)("div",{className:"h-full flex items-center justify-center text-gray-400 min-h-[300px]",children:(0,r.jsx)(U,{children:"等待播放..."})})})})]})})]}):(0,r.jsx)("div",{className:"w-full max-w-full",children:(0,r.jsx)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 py-16 mb-6 w-full",children:(0,r.jsxs)("div",{className:"text-center px-4 w-full",children:[(0,r.jsx)("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-blue-50 mb-6",children:(0,r.jsx)(P.A,{style:{fontSize:40,color:"#1890ff"}})}),(0,r.jsx)(W,{level:4,className:"mb-3",children:"Chunk 回放工具"}),(0,r.jsx)(U,{type:"secondary",className:"block mx-auto leading-relaxed mb-6 px-4",children:"上传 JSONL 格式的对话过程文件,可视化查看 Planning Window 和 Running Window 的合并过程"}),(0,r.jsxs)("div",{className:"text-left bg-gray-50 rounded-xl p-6 border border-gray-100 mx-auto",style:{maxWidth:"800px"},children:[(0,r.jsx)(U,{strong:!0,className:"block mb-3 text-gray-700",children:"文件格式示例:"}),(0,r.jsx)("pre",{className:"bg-white p-4 rounded-lg text-xs text-gray-600 border border-gray-200 overflow-auto text-left",children:'{"vis": "{\\"planning_window\\": "...", \\"running_window\\": "..."}"}\n{"vis": "{\\"planning_window\\": "...", \\"running_window\\": "..."}"'})]})]})})}),t.length>0&&(0,r.jsxs)("div",{className:"bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden",children:[(0,r.jsxs)("div",{className:"px-4 py-3 bg-gray-50 border-b border-gray-100 flex items-center justify-between cursor-pointer hover:bg-gray-100/50 transition-colors",onClick:()=>Y(!G),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(D,{className:"text-gray-500"}),(0,r.jsx)("span",{className:"font-medium text-gray-700",children:"调试日志"}),(0,r.jsx)(x.A,{count:Z.length,style:{backgroundColor:"#1890ff"}})]}),(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{size:"small",onClick:e=>{e.stopPropagation(),K([])},children:"清空"}),(0,r.jsx)(g.Ay,{size:"small",type:G?"primary":"default",onClick:e=>{e.stopPropagation(),Y(!G)},children:G?"收起":"展开"})]})]}),G&&(0,r.jsx)("div",{className:"p-0 bg-gray-900",children:(0,r.jsx)("div",{className:"max-h-64 overflow-auto font-mono text-xs p-4",children:0===Z.length?(0,r.jsx)("div",{className:"text-gray-500 py-4",children:"// 暂无日志"}):Z.map(e=>(0,r.jsxs)("div",{className:"mb-1",children:[(0,r.jsxs)("span",{className:"text-gray-500",children:["[",e.timestamp,"]"]}),(0,r.jsx)("span",{className:"ml-2 font-bold ".concat("error"===e.type?"text-red-400":"warn"===e.type?"text-yellow-400":"success"===e.type?"text-green-400":"text-blue-400"),children:e.type.toUpperCase()}),(0,r.jsx)("span",{className:"ml-2 text-gray-200",children:e.message}),e.details&&(0,r.jsx)("div",{className:"ml-0 mt-1 pl-4 border-l-2 border-gray-700 text-gray-400",children:JSON.stringify(e.details,null,2).split("\n").map((e,n)=>(0,r.jsx)("div",{className:"whitespace-pre",children:e},n))})]},e.id))})})]}),(0,r.jsxs)(y.A,{title:"当前Vis数据",open:Q,onCancel:()=>X(!1),width:800,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:eI,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>X(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[500px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:eO})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Planning:",C.length," 字符 | Running:",T.length," 字符"]})]})]}),(0,r.jsxs)(y.A,{title:"Planning Window 内容",open:$,onCancel:()=>ee(!1),width:1e3,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:eT,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>ee(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[600px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:C})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Planning:",C.length.toLocaleString()," 字符"]})]})]}),(0,r.jsxs)(y.A,{title:"Running Window 内容",open:en,onCancel:()=>et(!1),width:1e3,footer:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(J.A,{}),onClick:e_,children:"复制到剪贴板"},"copy"),(0,r.jsx)(g.Ay,{onClick:()=>et(!1),children:"关闭"},"close")],children:[(0,r.jsx)("div",{className:"bg-gray-900 rounded-lg p-4 overflow-auto max-h-[600px]",children:(0,r.jsx)("pre",{className:"text-green-400 font-mono text-sm whitespace-pre-wrap",children:T})}),(0,r.jsxs)("div",{className:"mt-4 text-gray-500 text-sm",children:[(0,r.jsxs)("p",{children:["当前进度:",j," / ",t.length," chunks"]}),(0,r.jsxs)("p",{children:["Running:",T.length.toLocaleString()," 字符"]})]})]})]})}var q=t(73775),Z=t(6124),K=t(25702),G=t(44421),Y=t(18610),Q=t(44213);let{TextArea:X}=q.A,{Title:$,Text:ee}=i.A;function en(e){let{inputText:n,setInputText:t,chunks:i,setChunks:o,mergedResult:c,setMergedResult:d,error:u,setError:h,activeTab:p,setActiveTab:x,tester:f}=e,y=(0,s.useCallback)(()=>{if(!n.trim())return void h("请输入 VIS 数据");try{if(!JSON.parse(n.trim()).vis)return void h("输入的数据必须包含 vis 字段");o([...i,n.trim()]),t(""),h("")}catch(e){h("JSON 解析错误: ".concat(e.message))}},[n,i,o,t,h]),v=(0,s.useCallback)(e=>{o(i.filter((n,t)=>t!==e))},[i,o]),j=(0,s.useCallback)(()=>{if(console.log("[handleMerge] Starting merge, chunks count:",i.length),0===i.length)return void h("请先添加 VIS 数据到队列");try{h(""),console.log("[handleMerge] Calling mergeChunks with:",i);let e=f.mergeChunks(i);console.log("[handleMerge] Merge result:",e),d(e)}catch(e){console.error("[handleMerge] Error:",e),h("合并错误: ".concat(e.message))}},[i,f,h,d]),N=(0,s.useCallback)(()=>{t(""),o([]),d(""),h("")},[t,o,d,h]),k=(0,s.useCallback)(()=>{t(""),h("")},[t,h]),S=(0,s.useCallback)(()=>{c&&navigator.clipboard.writeText(c)},[c]),C=(0,s.useMemo)(()=>(function(e){try{let n=JSON.parse(e),t="";return n.planning_window&&(t+=n.planning_window+"\n"),n.running_window&&(t+=n.running_window+"\n"),t}catch(e){}return""})(c),[c]);return(0,r.jsxs)("div",{className:"space-y-4 w-full",style:{width:"100%"},children:[u&&(0,r.jsx)(b.A,{message:"错误",description:u,type:"error",showIcon:!0,className:"mb-4",closable:!0,onClose:()=>h("")}),(0,r.jsxs)(Z.A,{title:"输入 VIS 数据",className:"mb-4",children:[(0,r.jsx)(X,{value:n,onChange:e=>t(e.target.value),placeholder:'请输入 VIS 数据,格式如下:\n{"vis":"{\\"planning_window\\": \\"内容\\", \\"running_window\\": \\"\\"}"}\n\n支持的数据示例:\n{"vis":"{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"准备开始\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"}',rows:8,className:"font-mono text-sm mb-4"}),(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(l.A,{}),onClick:y,children:"添加到队列"}),(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(G.A,{}),onClick:k,children:"清空输入"})]})]}),i.length>0&&(0,r.jsx)(Z.A,{title:"合并队列 (".concat(i.length," 个 chunk)"),className:"mb-4",extra:(0,r.jsxs)(m.A,{children:[(0,r.jsx)(g.Ay,{type:"primary",icon:(0,r.jsx)(A.A,{}),onClick:j,children:"执行合并"}),(0,r.jsx)(g.Ay,{danger:!0,icon:(0,r.jsx)(G.A,{}),onClick:N,children:"清空全部"})]}),children:(0,r.jsx)(K.A,{size:"small",bordered:!0,dataSource:i,renderItem:(e,n)=>(0,r.jsx)(K.A.Item,{actions:[(0,r.jsx)(g.Ay,{type:"text",danger:!0,icon:(0,r.jsx)(Y.A,{}),onClick:()=>v(n),children:"删除"},"delete")],children:(0,r.jsxs)(m.A,{children:[(0,r.jsxs)(w.A,{color:"blue",children:["#",n+1]}),(0,r.jsx)(ee,{code:!0,className:"max-w-md truncate",children:e.length>100?e.substring(0,100)+"...":e})]})})})}),(0,r.jsx)(Z.A,{title:"合并结果",className:"mb-4",extra:c&&(0,r.jsx)(m.A,{children:(0,r.jsx)(g.Ay,{icon:(0,r.jsx)(J.A,{}),onClick:S,children:"复制结果"})}),children:c?(0,r.jsx)(a.A,{activeKey:p,onChange:x,items:[{key:"visual",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(V.A,{})," 可视化渲染"]}),children:(0,r.jsx)("div",{className:"min-h-[400px] max-h-[600px] overflow-auto border rounded p-4 bg-white",children:C?(0,r.jsx)(H.A,{components:L.Af,...L.iU,children:(0,L.Jg)(C)}):(0,r.jsx)("div",{className:"text-center text-gray-400 py-12",children:(0,r.jsx)(ee,{children:"无可渲染内容"})})})},{key:"json",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(Q.A,{})," 原始 JSON"]}),children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"完整格式"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:(e=>{try{let n=JSON.parse(e);return JSON.stringify(n,null,2)}catch(n){return e}})(c)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"提取的 VIS 内容"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:(e=>{try{let n=JSON.parse(e);return JSON.stringify(n,null,2)}catch(n){return e}})(c)})]})]})},{key:"markdown",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(Q.A,{})," Markdown 源码"]}),children:(0,r.jsx)("pre",{className:"bg-gray-100 p-4 rounded overflow-auto text-xs font-mono h-96",children:C||"无内容"})}]}):(0,r.jsx)("div",{className:"text-center text-gray-400 py-12",children:(0,r.jsx)(ee,{children:'暂无合并结果,请先添加 chunk 到队列并点击"执行合并"'})})}),(0,r.jsx)(Z.A,{title:"使用说明",className:"mb-4",children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"1. 数据格式"}),(0,r.jsx)(ee,{children:"输入 VIS chunk 数据,格式为 JSON,必须包含 vis 字段:"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-3 rounded mt-2 text-sm",children:'{"vis":"{\\"planning_window\\": \\"内容\\", \\"running_window\\": \\"\\"}"}'})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"2. 使用步骤"}),(0,r.jsxs)("ul",{className:"list-disc list-inside space-y-1 text-gray-600",children:[(0,r.jsx)("li",{children:"在上方输入框中输入 VIS chunk 数据"}),(0,r.jsx)("li",{children:'点击"添加到队列"按钮,将数据添加到合并队列'}),(0,r.jsx)("li",{children:"可以连续输入多个 chunk,都会添加到队列中"}),(0,r.jsx)("li",{children:'点击"执行合并"按钮,查看合并结果'}),(0,r.jsx)("li",{children:'在"可视化渲染"标签页查看 GPTVis 渲染效果'})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"3. 支持的组件"}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:["d-planning-space","d-agent-plan","d-work","d-code","d-monitor","d-tool","d-llm","d-thinking","d-attach","d-agent-folder","d-todo-list","nex-running-window","nex-planning-window","drsk-content","drsk-plan","drsk-msg","drsk-step","drsk-confirm","drsk-interact"].map(e=>(0,r.jsx)(w.A,{color:"blue",children:e},e))})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)($,{level:5,children:"4. 示例数据"}),(0,r.jsx)("pre",{className:"bg-gray-100 p-3 rounded mt-2 text-xs",children:'[\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"准备开始\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n },\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"执行中...\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n },\n {\n "vis": "{\\"planning_window\\": \\"```d-planning-space\n{\\"uid\\":\\"test_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"```d-agent-plan\n{\\"uid\\":\\"agent_1\\",\\"type\\":\\"incr\\",\\"markdown\\":\\"完成\\"}\n```\\"}\n```\\", \\"running_window\\": \\"\\"}"\n }\n]'})]})]})})]})}let{Title:et,Text:er}=i.A;class es{extractVisContent(e){try{let n=JSON.parse(e);if(n.vis)return JSON.parse(n.vis);return n}catch(e){return null}}mergeVis(e,n){if(!e)return n;if(!n)return e;let t=this.extractVisContent(e),r=this.extractVisContent(n);if(!t||!r)return n;let s={};if(void 0!==r.planning_window)if(null===r.planning_window)s.planning_window=null;else if(t.planning_window&&r.planning_window){let e=new B.Tc;e.currentVis=t.planning_window,s.planning_window=e.updateCurrentMarkdown(r.planning_window)}else s.planning_window=r.planning_window;else s.planning_window=t.planning_window;if(void 0!==r.running_window)if(null===r.running_window)s.running_window=null;else if(t.running_window&&r.running_window){let e=new B.Tc;e.currentVis=t.running_window,s.running_window=e.updateCurrentMarkdown(r.running_window)}else s.running_window=r.running_window;else s.running_window=t.running_window;return JSON.stringify({vis:JSON.stringify(s)})}mergeChunks(e){let n="";for(let t of e)n=n?this.mergeVis(n,t):t;return n}}function ei(){let[e,n]=(0,s.useState)(""),[t,i]=(0,s.useState)([]),[c,d]=(0,s.useState)(""),[u,h]=(0,s.useState)(""),[g,m]=(0,s.useState)("replay"),[p,x]=(0,s.useState)("visual"),f=(0,s.useMemo)(()=>new es,[]),w=[{key:"replay",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(o.A,{})," Chunk 回放"]}),children:(0,r.jsx)(F,{})},{key:"merge",label:(0,r.jsxs)("span",{children:[(0,r.jsx)(l.A,{})," 合并测试"]}),children:(0,r.jsx)(en,{inputText:e,setInputText:n,chunks:t,setChunks:i,mergedResult:c,setMergedResult:d,error:u,setError:h,activeTab:p,setActiveTab:x,tester:f})}];return(0,r.jsxs)("div",{className:"p-6 max-w-full w-full h-full overflow-y-auto",children:[(0,r.jsx)(et,{level:2,children:"DeRisk-GUI"}),(0,r.jsx)(er,{type:"secondary",className:"mb-6 block",children:"DeRisk GUI智能生成预览, 支持手动输入合并和 JSONL 文件回放两种模式"}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(a.A,{activeKey:g,onChange:m,type:"card",className:"w-full",items:w})})]})}},70061:(e,n,t)=>{"use strict";t.d(n,{Tc:()=>h,yh:()=>g});var r=t(60363),s=t.n(r),i=t(71965),a=t(94793),o=t(96705),l=t(54514),c=t(36174);function d(e){if(!e)throw Error("Empty or null JSON string");try{return JSON.parse(e)}catch(n){return JSON.parse(e.replace(/\\\$/g,"$"))}}function u(e){if(!e)return!0;let n=e.match(/```/g);return!!n&&n.length%2!=0}class h{destroy(){this.incrNodesMap.clear(),this.uidIndex.clear(),this.astRoot=null,this.currentVis=""}updateCurrentMarkdown(e){if(null==e)return this.currentVis;if(""===e)return this.currentVis="",this.astRoot=null,this.uidIndex.clear(),this.incrNodesMap.clear(),this.currentVis;if(!this.currentVis)return this.currentVis=e,this.astRoot=this.parseVis2AST(e),this.rebuildIndex(),this.currentVis;let n=this.parseVis2AST(e);return this.extractIncrContent(n),this.astRoot||(this.astRoot=this.parseVis2AST(this.currentVis),this.rebuildIndex()),this.mergeIncrementalChunk(n),this.currentVis=this.parseAST2Vis(this.astRoot),this.currentVis}queryByUID(e){let n,t=this.uidIndex.get(e);if(!t)return{found:!1};try{"ast"===t.nodeType&&t.node.value?n=d(t.node.value):"item"===t.nodeType?n=t.node:"nested"===t.nodeType&&t.node.value&&(n=d(t.node.value))}catch(e){}return{found:!0,entry:t,visItem:n}}getComponentPath(e){let n=this.uidIndex.get(e);return n?n.path:[]}getChildrenUIDs(e){let n=[];return this.uidIndex.forEach((t,r)=>{t.parentUid===e&&n.push(r)}),n}getIndexStats(){let e={total:this.uidIndex.size,byType:{ast:0,item:0,nested:0},maxDepth:0};return this.uidIndex.forEach(n=>{e.byType[n.nodeType]=(e.byType[n.nodeType]||0)+1,e.maxDepth=Math.max(e.maxDepth,n.depth)}),e}mergeIncrementalChunk(e){this.astRoot&&(this.traverseASTNodes(e,(e,n)=>{let t=n.uid;if(!t)return;let r=this.uidIndex.get(t);r?this.mergeExistingNode(r,n,e):this.smartMountNewNode(e,n)}),this.rebuildIndex())}mergeExistingNode(e,n,t){try{let t;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;t=d(e.node.value)}else{if("item"!==e.nodeType)return;t=e.node}let r=this.combineVisItem(t,n);if("ast"===e.nodeType)e.node.value=JSON.stringify(r);else if("nested"===e.nodeType)this.updateNestedNodeInHost(e,r);else if("item"===e.nodeType){if(e.itemsHostNode&&void 0!==e.itemIndex){let n=d(e.itemsHostNode.value);n.items&&n.items[e.itemIndex]&&(n.items[e.itemIndex]=r,e.itemsHostNode.value=JSON.stringify(n))}else e.itemsHost&&void 0!==e.itemIndex&&(e.itemsHost.items[e.itemIndex]=r);Object.assign(e.node,r)}}catch(e){console.error("[mergeExistingNode] Error merging uid=".concat(n.uid,":"),e)}}updateNestedNodeInHost(e,n){let t=n.uid,r=e.markdownHost||e.parentNode;if(!r||!r.value){e.node.value=JSON.stringify(n);return}try{let s=d(r.value);if(!s.markdown){e.node.value=JSON.stringify(n);return}let i=this.parseVis2AST(s.markdown),a=!1;if(this.traverseASTNodes(i,(e,r)=>{r.uid===t&&(e.value=JSON.stringify(n),a=!0)}),a){s.markdown=this.parseAST2Vis(i),r.value=JSON.stringify(s);let e=this.uidIndex.get(s.uid);e&&"nested"===e.nodeType&&this.updateNestedNodeInHost(e,s)}else e.node.value=JSON.stringify(n)}catch(t){console.error("[updateNestedNodeInHost] Error:",t),e.node.value=JSON.stringify(n)}}smartMountNewNode(e,n){if(!this.astRoot)return;let t=n.parent_uid;if(t){let r=this.uidIndex.get(t);if(r)return void this.mountToParentMarkdown(r,e,n)}this.astRoot.children&&this.astRoot.children.push(e)}mountToParentMarkdown(e,n,t){try{let t,r;if("ast"===e.nodeType||"nested"===e.nodeType){if(!e.node.value)return;t=d(e.node.value),r=n=>{e.node.value=JSON.stringify(n)}}else{if("item"!==e.nodeType)return;t=e.node,r=n=>{if(Object.assign(e.node,n),e.itemsHostNode&&void 0!==e.itemIndex){let t=d(e.itemsHostNode.value);t.items&&(t.items[e.itemIndex]=n,e.itemsHostNode.value=JSON.stringify(t))}}}let s=this.parseAST2Vis({type:"root",children:[n]});t.markdown?t.markdown+="\n"+s:t.markdown=s,r(t)}catch(e){console.error("[mountToParentMarkdown] Error:",e)}}combineVisItem(e,n){let t,r,s,{markdown:i="",uid:a,type:o,items:l=[],dynamic:c}=e,{markdown:d="",uid:u,type:h,items:g=[],dynamic:m}=n;return a!==u?e:(t=c?(i||"")+(d||""):this.combineMarkdownString(i,d),r="all"===h?d||i||void 0:d?t:i||void 0,s="all"===h&&g&&g.length>0?g:this.combineItems(l||[],g||[]),{...function(e,n){let t={...e};for(let e of Object.keys(n)){let r=n[e];null!=r&&(t[e]=r)}return t}(e,n),markdown:r,uid:a,dynamic:void 0!==m?m:c,type:h||o,items:s&&s.length>0?s:void 0})}combineItems(e,n){if(!n||0===n.length)return e||[];let t=s()(n,"uid"),r=(e||[]).map(e=>{let n=t[e.uid];return n?this.combineVisItem(e,n):e}),i=new Set((e||[]).map(e=>e.uid));return[...r,...n.filter(e=>!i.has(e.uid))]}combineMarkdownString(e,n){if(e||n){if(!e)return n||void 0;if(!n)return e;if(!e.includes("```")&&!n.includes("```"))return e+n;try{let t=this.parseVis2AST(e),r=this.parseVis2AST(n),s=new Map;return this.traverseASTNodes(t,(e,n)=>{n.uid&&s.set(n.uid,{node:e,json:n})}),this.traverseASTNodes(r,(e,n)=>{if(!n.uid)return;let r=s.get(n.uid);if(r){let e=this.combineVisItem(r.json,n);r.node.value=JSON.stringify(e)}else t.children&&t.children.push(e)}),this.parseAST2Vis(t)}catch(t){if(console.warn("[combineMarkdownString] AST merge failed, falling back to partial tag check:",t),u(e)||u(n))return e+n;return e+"\n"+n}}}rebuildIndex(){this.uidIndex.clear(),this.astRoot&&this.buildIndexRecursive(this.astRoot,null,null,null,0,[])}buildIndexRecursive(e,n,t,r,s,i){if(e){if(s>100)return void console.error("[buildIndexRecursive] 递归深度超过限制: ".concat(s,", path: ").concat(i.join(" -> ")));if(e.lang&&e.value)try{let r=d(e.value);if(r.uid){if(i.includes(r.uid)){if(i[i.length-1]===r.uid)return;console.error("[buildIndexRecursive] 检测到循环引用,跳过处理: uid=".concat(r.uid,", path: ").concat(i.join(" -> ")," -> ").concat(r.uid));return}let a=[...i,r.uid];this.uidIndex.set(r.uid,{node:e,nodeType:"ast",parentUid:t,parentNode:n,depth:s,path:a}),r.items&&Array.isArray(r.items)&&this.indexItems(r.items,e,r.uid,s+1,a),r.markdown&&this.indexNestedMarkdown(r.markdown,e,r.uid,s+1,a)}}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(n=>{this.buildIndexRecursive(n,e,t,r,s,i)})}}indexItems(e,n,t,r,s){if(r>100)return void console.error("[indexItems] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));e.forEach((e,i)=>{if(e.uid){let a;if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[indexItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")," -> ").concat(e.uid));return}let o=[...s,e.uid];try{a=d(n.value)}catch(e){}this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:t,parentNode:n,depth:r,path:o,itemsHost:a,itemsHostNode:n,itemIndex:i}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,r+1,o),e.items&&Array.isArray(e.items)&&this.indexNestedItems(e.items,e,e.uid,r+1,o)}})}indexNestedItems(e,n,t,r,s){if(r>100)return void console.error("[indexNestedItems] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));e.forEach((e,i)=>{if(e.uid){if(s.includes(e.uid)){if(s[s.length-1]===e.uid)return;console.error("[indexNestedItems] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(s.join(" -> ")," -> ").concat(e.uid));return}let a=[...s,e.uid];this.uidIndex.set(e.uid,{node:e,nodeType:"item",parentUid:t,parentNode:n,depth:r,path:a,itemsHost:n,itemIndex:i}),e.markdown&&this.indexNestedMarkdown(e.markdown,e,e.uid,r+1,a),e.items&&this.indexNestedItems(e.items,e,e.uid,r+1,a)}})}indexNestedMarkdown(e,n,t,r,s){if(e&&e.includes("```")){if(r>100)return void console.error("[indexNestedMarkdown] 递归深度超过限制: ".concat(r,", path: ").concat(s.join(" -> ")));try{let i=this.parseVis2AST(e);this.traverseASTNodes(i,(e,i)=>{if(i.uid){if(s.includes(i.uid)){if(s[s.length-1]===i.uid)return;console.error("[indexNestedMarkdown] 检测到循环引用,跳过处理: uid=".concat(i.uid,", path: ").concat(s.join(" -> ")," -> ").concat(i.uid));return}let a=[...s,i.uid];this.uidIndex.set(i.uid,{node:e,nodeType:"nested",parentUid:t,parentNode:n,depth:r,path:a,markdownHost:n}),i.markdown&&this.indexNestedMarkdown(i.markdown,e,i.uid,r+1,a),i.items&&Array.isArray(i.items)&&this.indexItems(i.items,e,i.uid,r+1,a)}})}catch(e){}}}parseVis2AST(e){return this.string2TreeProcessor.parse(function(e){let n=new c.T;return n.value=e||"",n}(e))}parseAST2Vis(e){return this.tree2StringProcessor.stringify(e).trimEnd()}traverseASTNodes(e,n){if(e){if(e.lang&&e.value)try{let t=d(e.value);n(e,t)}catch(e){}e.children&&Array.isArray(e.children)&&e.children.forEach(e=>{this.traverseASTNodes(e,n)})}}extractIncrContent(e){var n=this;this.incrNodesMap.clear();let t=function(e,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(s>100)return void console.error("[extractIncrContent] 递归深度超过限制: ".concat(s));if(e.uid){if(r.includes(e.uid)){if(r[r.length-1]===e.uid)return;console.error("[extractIncrContent] 检测到循环引用,跳过处理: uid=".concat(e.uid,", path: ").concat(r.join(" -> ")));return}let i=[...r,e.uid];if(n.incrNodesMap.set(e.uid,e),e.markdown){let r=n.parseVis2AST(e.markdown);n.traverseASTNodes(r,(e,n)=>{t(n,i,s+1)})}e.items&&e.items.forEach(e=>{t(e,i,s+1)})}else{if(e.markdown){let i=n.parseVis2AST(e.markdown);n.traverseASTNodes(i,(e,n)=>{t(n,r,s+1)})}e.items&&e.items.forEach(e=>{t(e,r,s+1)})}};this.traverseASTNodes(e,(e,n)=>{t(n,[],0)})}createString2TreeProcessor(e){let n=(null==e?void 0:e.remarkPlugins)||[],t={allowDangerousHtml:!0,...null==e?void 0:e.remarkRehypeOptions};return(0,l.l)().use(i.A).use(n).use(o.A,t)}createTree2StringProcessor(){return(0,l.l)().use(a.A)}constructor(e){this.string2TreeProcessor=this.createString2TreeProcessor(e),this.tree2StringProcessor=this.createTree2StringProcessor(),this.incrNodesMap=new Map,this.uidIndex=new Map,this.astRoot=null,this.currentVis=""}}class g{getCurrent(e){if(e){var n;let t=this.windowParsers.get(e);return t?t.currentVis:(null==(n=this.parsers.get(e))?void 0:n.current)||""}return this.defaultParser.currentVis}queryByUID(e,n){if(n){let t=this.windowParsers.get(n);if(t)return t.queryByUID(e);let r=this.parsers.get(n);return r&&r.defaultParser?r.defaultParser.queryByUID(e):{found:!1}}return this.defaultParser.queryByUID(e)}update(e){try{let n=d(e),t={};try{this.current&&(t=d(this.current))}catch(e){t={}}let r=new Set([...Object.keys(n),...Object.keys(t)]),s={};r.forEach(e=>{let r=n[e],i=this.windowParsers.get(e);i||(i=new h,this.windowParsers.set(e,i)),null!=r&&""!==r&&i.updateCurrentMarkdown(r),i.currentVis?s[e]=i.currentVis:t[e]?s[e]=t[e]:e in n&&(s[e]=null)}),this.current=JSON.stringify(s)}catch(n){this.defaultParser.updateCurrentMarkdown(e),this.current=this.defaultParser.currentVis}return this.current}getIndexStats(e){if(e){let n=this.windowParsers.get(e);if(n)return n.getIndexStats()}return this.defaultParser.getIndexStats()}getAllWindowStats(){let e=new Map;return this.windowParsers.forEach((n,t)=>{e.set(t,n.getIndexStats())}),e}destroy(){this.parsers.forEach(e=>e.destroy()),this.parsers.clear(),this.windowParsers.forEach(e=>e.destroy()),this.windowParsers.clear(),this.defaultParser.destroy()}constructor(){this.current="",this.parsers=new Map,this.windowParsers=new Map,this.defaultParser=new h}}new h},79887:(e,n,t)=>{Promise.resolve().then(t.bind(t,58423))},91070:(e,n,t)=>{"use strict";t.d(n,{BR:()=>a,zo:()=>i,UK:()=>r.UK,rA:()=>r.rA,cE:()=>r.cE,V:()=>r.V});var r=t(39740),s=t(12115);let i=(0,s.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},chatInParams:[],selectedSkills:[],modelValue:"",setChatInParams:()=>{},setModelValue:()=>{},setResourceValue:()=>{},setSelectedSkills:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve(),isShowDetail:!0,setIsShowDetail:()=>{},isDebug:!1}),a=(0,s.createContext)({collapsed:!1,setCollapsed:()=>{},appInfo:{},setAppInfo:()=>{},refreshAppInfo:()=>{},refreshAppInfoLoading:!1,fetchUpdateApp:()=>{},fetchUpdateAppLoading:!1,setAssociationAgentModalOpen:()=>{},setAssociationKnowledgeModalOpen:()=>{},setAssociationSkillModalOpen:()=>{},chatId:"",setChatId:()=>{},initChatId:async()=>{},refetchVersionData:()=>{},versionData:{},queryAppInfo:()=>{}})}},e=>{e.O(0,[562,750,240,5600,2826,7330,4935,4316,8779,3930,3485,5033,1218,9259,9879,3320,6421,4099,1991,797,3512,6467,2822,6766,1483,1081,8674,1097,3054,2991,3527,6756,4984,9057,6734,4318,7773,9960,1236,8441,5964,7358],()=>e(e.s=79887)),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-17f5c4fe50aaeeb9.js b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-51944a7a0b02b098.js similarity index 91% rename from packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-17f5c4fe50aaeeb9.js rename to packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-51944a7a0b02b098.js index 8784a170..1743056c 100644 --- a/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-17f5c4fe50aaeeb9.js +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-51944a7a0b02b098.js @@ -1 +1 @@ -(()=>{"use strict";var e={},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={id:a,loaded:!1,exports:{}},d=!0;try{e[a].call(o.exports,o,o.exports,r),d=!1}finally{d&&delete t[a]}return o.loaded=!0,o.exports}r.m=e,(()=>{var e=[];r.O=(t,a,n,o)=>{if(a){o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,n,o];return}for(var c=1/0,d=0;d=o)&&Object.keys(r.O).every(e=>r.O[e](a[f]))?a.splice(f--,1):(i=!1,o{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(a,n){if(1&n&&(a=this(a)),8&n||"object"==typeof a&&a&&(4&n&&a.__esModule||16&n&&"function"==typeof a.then))return a;var o=Object.create(null);r.r(o);var d={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>d[e]=()=>a[e]);return d.default=()=>a,r.d(o,d),o}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>5611===e?"static/chunks/5611.29471002ffc267cb.js":822===e?"static/chunks/822.cdab570d5db20a49.js":501===e?"static/chunks/bc98253f.80077ab85aa9bd0f.js":7396===e?"static/chunks/7396.653bb78dcbbe0822.js":4684===e?"static/chunks/4684.1b57e9798ad9ab0c.js":"static/chunks/"+(({240:"c36f3faa",750:"afb4954d",2826:"36c7393a",3485:"ffef0c7e",3930:"164f4fb6",4316:"ad2866b8",4935:"e37a0b60",5033:"2f0b94e8",5600:"05f6971a",7330:"d3ac728e",8779:"1892dd0f"})[e]||e)+"-"+({240:"ad06f8e39d3f01eb",750:"bcbf957cc6187b79",797:"eb26b6f7871f5ec8",1081:"1def2a896ab2dba1",1097:"d694f24844e74bad",1236:"2fd1520c97bebce9",1483:"268c5128c58279f2",2826:"ef231804cff1ce9a",2991:"bc8cf6bb359931cc",3054:"14d39e934877243d",3485:"e3fe45d524576f36",3527:"5ec1ac6f859f42e9",3930:"bfb3067a982328b6",4316:"e93ec9749697d02c",4935:"89795b4f1a25ba51",4984:"77d90170ec3795f8",5033:"5f4d2efd9161c0b9",5600:"37fe2a1a50eb9be0",6467:"a092bcab27dc022a",7330:"c3a6f01f0b83d969",8674:"aa02cdd176501e2b",8779:"5aeaa0a32c91e34b",9960:"0e3cf43bb5821b25"})[e]+".js",r.miniCssF=e=>"static/css/879c4fe73b6fcdc7.css",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(a,n,o,d)=>{if(e[a])return void e[a].push(n);if(void 0!==o)for(var c,i,f=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var n=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),i&&document.head.appendChild(c)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={8068:0};r.f.miniCss=(t,a)=>{e[t]?a.push(e[t]):0!==e[t]&&({562:1})[t]&&a.push(e[t]=(e=>new Promise((t,a)=>{var n=r.miniCssF(e),o=r.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a{var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",n.onerror=n.onload=o=>{if(n.onerror=n.onload=null,"load"===o.type)r();else{var d=o&&("load"===o.type?"missing":o.type),c=o&&o.target&&o.target.href||t,i=Error("Loading CSS chunk "+e+" failed.\n("+c+")");i.code="CSS_CHUNK_LOAD_FAILED",i.type=d,i.request=c,n.parentNode.removeChild(n),a(i)}},n.href=t,!function(e){if("function"==typeof _N_E_STYLE_LOAD){let{href:t,onload:r,onerror:a}=e;_N_E_STYLE_LOAD(0===t.indexOf(window.location.origin)?new URL(t).pathname:t).then(()=>null==r?void 0:r.call(e,{type:"load"}),()=>null==a?void 0:a.call(e,{}))}else document.head.appendChild(e)}(n)})(e,o,t,a)}))(t).then(()=>{e[t]=0},r=>{throw delete e[t],r}))}})(),(()=>{r.b=document.baseURI||self.location.href;var e={8068:0,4523:0,823:0,562:0,1448:0,7827:0,9098:0,8990:0,342:0};r.f.j=(t,a)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)a.push(n[2]);else if(/^(8(068|23|990)|1448|342|4523|562|7827|9098)$/.test(t))e[t]=0;else{var o=new Promise((r,a)=>n=e[t]=[r,a]);a.push(n[2]=o);var d=r.p+r.u(t),c=Error();r.l(d,a=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+d+")",c.name="ChunkLoadError",c.type=o,c.request=d,n[1](c)}},"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,a)=>{var n,o,[d,c,i]=a,f=0;if(d.some(t=>0!==e[t])){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);if(i)var l=i(r)}for(t&&t(a);f{"use strict";var e={},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={id:a,loaded:!1,exports:{}},d=!0;try{e[a].call(o.exports,o,o.exports,r),d=!1}finally{d&&delete t[a]}return o.loaded=!0,o.exports}r.m=e,(()=>{var e=[];r.O=(t,a,n,o)=>{if(a){o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[a,n,o];return}for(var c=1/0,d=0;d=o)&&Object.keys(r.O).every(e=>r.O[e](a[f]))?a.splice(f--,1):(i=!1,o{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(a,n){if(1&n&&(a=this(a)),8&n||"object"==typeof a&&a&&(4&n&&a.__esModule||16&n&&"function"==typeof a.then))return a;var o=Object.create(null);r.r(o);var d={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>d[e]=()=>a[e]);return d.default=()=>a,r.d(o,d),o}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>5611===e?"static/chunks/5611.29471002ffc267cb.js":822===e?"static/chunks/822.cdab570d5db20a49.js":501===e?"static/chunks/bc98253f.80077ab85aa9bd0f.js":7396===e?"static/chunks/7396.653bb78dcbbe0822.js":4684===e?"static/chunks/4684.1b57e9798ad9ab0c.js":"static/chunks/"+(({240:"c36f3faa",750:"afb4954d",2826:"36c7393a",3485:"ffef0c7e",3930:"164f4fb6",4316:"ad2866b8",4935:"e37a0b60",5033:"2f0b94e8",5600:"05f6971a",7330:"d3ac728e",8779:"1892dd0f"})[e]||e)+"-"+({240:"ad06f8e39d3f01eb",750:"bcbf957cc6187b79",797:"df5fd2a08392495c",1081:"b41c605520fe8a4c",1097:"d694f24844e74bad",1236:"9802abf9d3d8e2a3",1483:"d259baa8479fb173",2826:"ef231804cff1ce9a",2991:"bc8cf6bb359931cc",3054:"14d39e934877243d",3485:"e3fe45d524576f36",3527:"5ec1ac6f859f42e9",3930:"bfb3067a982328b6",4316:"e93ec9749697d02c",4935:"89795b4f1a25ba51",4984:"7b54882aecda9681",5033:"5f4d2efd9161c0b9",5600:"37fe2a1a50eb9be0",6467:"6c62fed6168373f0",7330:"c3a6f01f0b83d969",8674:"da1a30adc2b03c76",8779:"5aeaa0a32c91e34b",9960:"0e3cf43bb5821b25"})[e]+".js",r.miniCssF=e=>"static/css/879c4fe73b6fcdc7.css",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(a,n,o,d)=>{if(e[a])return void e[a].push(n);if(void 0!==o)for(var c,i,f=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var n=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),i&&document.head.appendChild(c)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={8068:0};r.f.miniCss=(t,a)=>{e[t]?a.push(e[t]):0!==e[t]&&({562:1})[t]&&a.push(e[t]=(e=>new Promise((t,a)=>{var n=r.miniCssF(e),o=r.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a{var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",n.onerror=n.onload=o=>{if(n.onerror=n.onload=null,"load"===o.type)r();else{var d=o&&("load"===o.type?"missing":o.type),c=o&&o.target&&o.target.href||t,i=Error("Loading CSS chunk "+e+" failed.\n("+c+")");i.code="CSS_CHUNK_LOAD_FAILED",i.type=d,i.request=c,n.parentNode.removeChild(n),a(i)}},n.href=t,!function(e){if("function"==typeof _N_E_STYLE_LOAD){let{href:t,onload:r,onerror:a}=e;_N_E_STYLE_LOAD(0===t.indexOf(window.location.origin)?new URL(t).pathname:t).then(()=>null==r?void 0:r.call(e,{type:"load"}),()=>null==a?void 0:a.call(e,{}))}else document.head.appendChild(e)}(n)})(e,o,t,a)}))(t).then(()=>{e[t]=0},r=>{throw delete e[t],r}))}})(),(()=>{r.b=document.baseURI||self.location.href;var e={8068:0,4523:0,1448:0,823:0,562:0,7827:0,9098:0,342:0,8990:0};r.f.j=(t,a)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)a.push(n[2]);else if(/^(8(068|23|990)|1448|342|4523|562|7827|9098)$/.test(t))e[t]=0;else{var o=new Promise((r,a)=>n=e[t]=[r,a]);a.push(n[2]=o);var d=r.p+r.u(t),c=Error();r.l(d,a=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+d+")",c.name="ChunkLoadError",c.type=o,c.request=d,n[1](c)}},"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,a)=>{var n,o,[d,c,i]=a,f=0;if(d.some(t=>0!==e[t])){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);if(i)var l=i(r)}for(t&&t(a);f:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))!important}.gap-x-6{column-gap:calc(var(--spacing)*6)!important}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))!important}.gap-y-4{row-gap:calc(var(--spacing)*4)!important}.gap-y-5{row-gap:calc(var(--spacing)*5)!important}.gap-y-10{row-gap:calc(var(--spacing)*10)!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-scroll{overflow-y:scroll!important}.rounded{border-radius:.25rem!important}.rounded-2xl{border-radius:var(--radius-2xl)!important}.rounded-3xl{border-radius:var(--radius-3xl)!important}.rounded-\[10px\]{border-radius:10px!important}.rounded-\[24px\]{border-radius:24px!important}.rounded-full{border-radius:3.40282e+38px!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-none{border-radius:0!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-xl{border-radius:var(--radius-xl)!important}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl)!important;border-top-right-radius:var(--radius-2xl)!important}.rounded-tl{border-top-left-radius:.25rem!important}.rounded-tl-md{border-top-left-radius:var(--radius-md)!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr{border-top-right-radius:.25rem!important}.rounded-tr-md{border-top-right-radius:var(--radius-md)!important}.rounded-br{border-bottom-right-radius:.25rem!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-bl{border-bottom-left-radius:.25rem!important}.rounded-bl-none{border-bottom-left-radius:0!important}.\!border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.border-1{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-2{border-style:var(--tw-border-style)!important;border-width:2px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-r{border-right-style:var(--tw-border-style)!important;border-right-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-b-0{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.border-b-2{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:2px!important}.border-l{border-left-style:var(--tw-border-style)!important;border-left-width:1px!important}.border-l-2{border-left-style:var(--tw-border-style)!important;border-left-width:2px!important}.border-l-4{border-left-style:var(--tw-border-style)!important;border-left-width:4px!important}.border-dashed{--tw-border-style:dashed!important;border-style:dashed!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-solid{--tw-border-style:solid!important;border-style:solid!important}.\!border-gray-200{border-color:var(--color-gray-200)!important}.border-\[\#0c75fc\]{border-color:#0c75fc!important}.border-\[\#E0E7F2\]{border-color:#e0e7f2!important}.border-\[\#d5e5f6\]{border-color:#d5e5f6!important}.border-\[\#d9d9d9\]{border-color:#d9d9d9!important}.border-\[\#e3e4e6\]{border-color:#e3e4e6!important}.border-\[\#edeeef\]{border-color:#edeeef!important}.border-\[\#f0f0f0\]{border-color:#f0f0f0!important}.border-\[transparent\]{border-color:#0000!important}.border-blue-100{border-color:var(--color-blue-100)!important}.border-blue-200{border-color:var(--color-blue-200)!important}.border-blue-200\/60{border-color:#bedbff99!important}@supports (color:color-mix(in lab,red,red)){.border-blue-200\/60{border-color:color-mix(in oklab,var(--color-blue-200)60%,transparent)!important}}.border-blue-200\/80{border-color:#bedbffcc!important}@supports (color:color-mix(in lab,red,red)){.border-blue-200\/80{border-color:color-mix(in oklab,var(--color-blue-200)80%,transparent)!important}}.border-blue-500{border-color:var(--color-blue-500)!important}.border-blue-500\/50{border-color:#3080ff80!important}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)!important}}.border-blue-600{border-color:var(--color-blue-600)!important}.border-emerald-200\/80{border-color:#a4f4cfcc!important}@supports (color:color-mix(in lab,red,red)){.border-emerald-200\/80{border-color:color-mix(in oklab,var(--color-emerald-200)80%,transparent)!important}}.border-emerald-500{border-color:var(--color-emerald-500)!important}.border-gray-50\/80{border-color:#f9fafbcc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-50\/80{border-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)!important}}.border-gray-100{border-color:var(--color-gray-100)!important}.border-gray-100\/40{border-color:#f3f4f666!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/40{border-color:color-mix(in oklab,var(--color-gray-100)40%,transparent)!important}}.border-gray-100\/60{border-color:#f3f4f699!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/60{border-color:color-mix(in oklab,var(--color-gray-100)60%,transparent)!important}}.border-gray-100\/80{border-color:#f3f4f6cc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/80{border-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)!important}}.border-gray-200{border-color:var(--color-gray-200)!important}.border-gray-200\/60{border-color:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/60{border-color:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.border-gray-200\/80{border-color:#e5e7ebcc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)!important}}.border-gray-300{border-color:var(--color-gray-300)!important}.border-gray-500{border-color:var(--color-gray-500)!important}.border-gray-700{border-color:var(--color-gray-700)!important}.border-gray-800{border-color:var(--color-gray-800)!important}.border-green-100{border-color:var(--color-green-100)!important}.border-indigo-500\/50{border-color:#625fff80!important}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/50{border-color:color-mix(in oklab,var(--color-indigo-500)50%,transparent)!important}}.border-orange-300{border-color:var(--color-orange-300)!important}.border-red-600{border-color:var(--color-red-600)!important}.border-sky-200\/80{border-color:#b8e6fecc!important}@supports (color:color-mix(in lab,red,red)){.border-sky-200\/80{border-color:color-mix(in oklab,var(--color-sky-200)80%,transparent)!important}}.border-slate-200{border-color:var(--color-slate-200)!important}.border-slate-300{border-color:var(--color-slate-300)!important}.border-stone-400{border-color:var(--color-stone-400)!important}.border-theme-primary{border-color:#0069fe!important}.border-transparent{border-color:#0000!important}.border-white{border-color:var(--color-white)!important}.border-white\/60{border-color:#fff9!important}@supports (color:color-mix(in lab,red,red)){.border-white\/60{border-color:color-mix(in oklab,var(--color-white)60%,transparent)!important}}.\!bg-gray-50{background-color:var(--color-gray-50)!important}.\!bg-transparent{background-color:#0000!important}.bg-\[\#0c75fc\]{background-color:#0c75fc!important}.bg-\[\#EAEAEB\]{background-color:#eaeaeb!important}.bg-\[\#F1F5F9\]{background-color:#f1f5f9!important}.bg-\[\#F9FAFB\]{background-color:#f9fafb!important}.bg-\[\#FAFAFA\]{background-color:#fafafa!important}.bg-\[\#f5faff\]{background-color:#f5faff!important}.bg-\[\#fafafa\]{background-color:#fafafa!important}.bg-\[\#ffffff80\]{background-color:#ffffff80!important}.bg-\[rgba\(0\,0\,0\,0\.04\)\]{background-color:#0000000a!important}.bg-\[rgba\(255\,255\,255\,0\.8\)\]{background-color:#fffc!important}.bg-amber-50{background-color:var(--color-amber-50)!important}.bg-bar{background-color:#e0e7f2!important}.bg-black{background-color:var(--color-black)!important}.bg-black\/50{background-color:#00000080!important}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)!important}}.bg-blue-50{background-color:var(--color-blue-50)!important}.bg-blue-50\/30{background-color:#eff6ff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)!important}}.bg-blue-50\/50{background-color:#eff6ff80!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/50{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)!important}}.bg-blue-50\/60{background-color:#eff6ff99!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/60{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)!important}}.bg-blue-100{background-color:var(--color-blue-100)!important}.bg-blue-500{background-color:var(--color-blue-500)!important}.bg-emerald-50\/30{background-color:#ecfdf54d!important}@supports (color:color-mix(in lab,red,red)){.bg-emerald-50\/30{background-color:color-mix(in oklab,var(--color-emerald-50)30%,transparent)!important}}.bg-emerald-100{background-color:var(--color-emerald-100)!important}.bg-emerald-400{background-color:var(--color-emerald-400)!important}.bg-emerald-500{background-color:var(--color-emerald-500)!important}.bg-gray-50{background-color:var(--color-gray-50)!important}.bg-gray-50\/20{background-color:#f9fafb33!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/20{background-color:color-mix(in oklab,var(--color-gray-50)20%,transparent)!important}}.bg-gray-50\/30{background-color:#f9fafb4d!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)!important}}.bg-gray-50\/50{background-color:#f9fafb80!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)!important}}.bg-gray-50\/95{background-color:#f9fafbf2!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/95{background-color:color-mix(in oklab,var(--color-gray-50)95%,transparent)!important}}.bg-gray-100{background-color:var(--color-gray-100)!important}.bg-gray-100\/60{background-color:#f3f4f699!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\/60{background-color:color-mix(in oklab,var(--color-gray-100)60%,transparent)!important}}.bg-gray-200{background-color:var(--color-gray-200)!important}.bg-gray-200\/50{background-color:#e5e7eb80!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-200\/50{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)!important}}.bg-gray-300{background-color:var(--color-gray-300)!important}.bg-gray-500{background-color:var(--color-gray-500)!important}.bg-gray-600{background-color:var(--color-gray-600)!important}.bg-gray-700{background-color:var(--color-gray-700)!important}.bg-gray-900{background-color:var(--color-gray-900)!important}.bg-green-100{background-color:var(--color-green-100)!important}.bg-green-500{background-color:var(--color-green-500)!important}.bg-indigo-50{background-color:var(--color-indigo-50)!important}.bg-orange-100{background-color:var(--color-orange-100)!important}.bg-red-50{background-color:var(--color-red-50)!important}.bg-red-500{background-color:var(--color-red-500)!important}.bg-sky-50\/30{background-color:#f0f9ff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-sky-50\/30{background-color:color-mix(in oklab,var(--color-sky-50)30%,transparent)!important}}.bg-sky-100{background-color:var(--color-sky-100)!important}.bg-stone-300{background-color:var(--color-stone-300)!important}.bg-stone-400{background-color:var(--color-stone-400)!important}.bg-theme-dark-container{background-color:#232734!important}.bg-theme-light{background-color:#f7f7f7!important}.bg-theme-primary{background-color:#0069fe!important}.bg-transparent{background-color:#0000!important}.bg-white{background-color:var(--color-white)!important}.bg-white\/30{background-color:#ffffff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/30{background-color:color-mix(in oklab,var(--color-white)30%,transparent)!important}}.bg-white\/60{background-color:#fff9!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/60{background-color:color-mix(in oklab,var(--color-white)60%,transparent)!important}}.bg-white\/80{background-color:#fffc!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)!important}}.bg-white\/90{background-color:#ffffffe6!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)!important}}.bg-white\/95{background-color:#fffffff2!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)!important}}.bg-zinc-100{background-color:var(--color-zinc-100)!important}.bg-zinc-400{background-color:var(--color-zinc-400)!important}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab!important}.bg-gradient-to-b,.bg-gradient-to-br{background-image:linear-gradient(var(--tw-gradient-stops))!important}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab!important}.bg-gradient-to-r{--tw-gradient-position:to right in oklab!important}.bg-gradient-to-r,.bg-gradient-to-tr{background-image:linear-gradient(var(--tw-gradient-stops))!important}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab!important}.bg-button-gradient{background-image:linear-gradient(90deg,#00daef,#105eff)!important}.from-\[\#31afff\]{--tw-gradient-from:#31afff!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-50{--tw-gradient-from:var(--color-blue-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-100{--tw-gradient-from:var(--color-blue-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-400{--tw-gradient-from:var(--color-blue-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-500{--tw-gradient-from:var(--color-blue-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-emerald-400{--tw-gradient-from:var(--color-emerald-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-gray-50{--tw-gradient-from:var(--color-gray-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-gray-100{--tw-gradient-from:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-green-50{--tw-gradient-from:var(--color-green-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-indigo-500{--tw-gradient-from:var(--color-indigo-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-orange-400{--tw-gradient-from:var(--color-orange-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-orange-500{--tw-gradient-from:var(--color-orange-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-red-400{--tw-gradient-from:var(--color-red-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-sky-500{--tw-gradient-from:var(--color-sky-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-50{--tw-gradient-from:var(--color-slate-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-100{--tw-gradient-from:var(--color-slate-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-400{--tw-gradient-from:var(--color-slate-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-teal-400{--tw-gradient-from:var(--color-teal-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-transparent{--tw-gradient-from:transparent!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-violet-500{--tw-gradient-from:var(--color-violet-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.via-blue-600{--tw-gradient-via:var(--color-blue-600)!important;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.via-gray-50{--tw-gradient-via:var(--color-gray-50)!important;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.via-gray-200\/60{--tw-gradient-via:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.via-gray-200\/60{--tw-gradient-via:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.via-gray-200\/60{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.to-\[\#1677ff\]{--tw-gradient-to:#1677ff!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-amber-500{--tw-gradient-to:var(--color-amber-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-50\/30{--tw-gradient-to:#eff6ff4d!important}@supports (color:color-mix(in lab,red,red)){.to-blue-50\/30{--tw-gradient-to:color-mix(in oklab,var(--color-blue-50)30%,transparent)!important}}.to-blue-50\/30{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-100\/50{--tw-gradient-to:#dbeafe80!important}@supports (color:color-mix(in lab,red,red)){.to-blue-100\/50{--tw-gradient-to:color-mix(in oklab,var(--color-blue-100)50%,transparent)!important}}.to-blue-100\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-500{--tw-gradient-to:var(--color-blue-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-cyan-500{--tw-gradient-to:var(--color-cyan-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-cyan-600{--tw-gradient-to:var(--color-cyan-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-50{--tw-gradient-to:var(--color-gray-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-100{--tw-gradient-to:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-500{--tw-gradient-to:var(--color-gray-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-green-100\/50{--tw-gradient-to:#dcfce780!important}@supports (color:color-mix(in lab,red,red)){.to-green-100\/50{--tw-gradient-to:color-mix(in oklab,var(--color-green-100)50%,transparent)!important}}.to-green-100\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-green-500{--tw-gradient-to:var(--color-green-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-50\/50{--tw-gradient-to:#eef2ff80!important}@supports (color:color-mix(in lab,red,red)){.to-indigo-50\/50{--tw-gradient-to:color-mix(in oklab,var(--color-indigo-50)50%,transparent)!important}}.to-indigo-50\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-500{--tw-gradient-to:var(--color-indigo-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-purple-500{--tw-gradient-to:var(--color-purple-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-purple-600{--tw-gradient-to:var(--color-purple-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-red-500{--tw-gradient-to:var(--color-red-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-slate-50{--tw-gradient-to:var(--color-slate-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-teal-600{--tw-gradient-to:var(--color-teal-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-transparent{--tw-gradient-to:transparent!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.bg-cover{background-size:cover!important}.bg-center{background-position:50%!important}.object-contain{object-fit:contain!important}.object-cover{object-fit:cover!important}.\!p-0{padding:calc(var(--spacing)*0)!important}.\!p-2{padding:calc(var(--spacing)*2)!important}.p-0{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-1\.5{padding:calc(var(--spacing)*1.5)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-3{padding:calc(var(--spacing)*3)!important}.p-3\.5{padding:calc(var(--spacing)*3.5)!important}.p-4{padding:calc(var(--spacing)*4)!important}.p-5{padding:calc(var(--spacing)*5)!important}.p-6{padding:calc(var(--spacing)*6)!important}.p-10{padding:calc(var(--spacing)*10)!important}.px-0{padding-inline:calc(var(--spacing)*0)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-5{padding-inline:calc(var(--spacing)*5)!important}.px-6{padding-inline:calc(var(--spacing)*6)!important}.px-8{padding-inline:calc(var(--spacing)*8)!important}.px-28{padding-inline:calc(var(--spacing)*28)!important}.py-0\.5{padding-block:calc(var(--spacing)*.5)!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-2{padding-block:calc(var(--spacing)*2)!important}.py-2\.5{padding-block:calc(var(--spacing)*2.5)!important}.py-3{padding-block:calc(var(--spacing)*3)!important}.py-4{padding-block:calc(var(--spacing)*4)!important}.py-5{padding-block:calc(var(--spacing)*5)!important}.py-6{padding-block:calc(var(--spacing)*6)!important}.py-8{padding-block:calc(var(--spacing)*8)!important}.py-10{padding-block:calc(var(--spacing)*10)!important}.py-12{padding-block:calc(var(--spacing)*12)!important}.py-16{padding-block:calc(var(--spacing)*16)!important}.pt-0{padding-top:calc(var(--spacing)*0)!important}.pt-1{padding-top:calc(var(--spacing)*1)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pt-3{padding-top:calc(var(--spacing)*3)!important}.pt-4{padding-top:calc(var(--spacing)*4)!important}.pt-6{padding-top:calc(var(--spacing)*6)!important}.pt-8{padding-top:calc(var(--spacing)*8)!important}.pt-12{padding-top:calc(var(--spacing)*12)!important}.pr-0{padding-right:calc(var(--spacing)*0)!important}.pr-1{padding-right:calc(var(--spacing)*1)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pr-4{padding-right:calc(var(--spacing)*4)!important}.pr-8{padding-right:calc(var(--spacing)*8)!important}.pr-10{padding-right:calc(var(--spacing)*10)!important}.pr-11{padding-right:calc(var(--spacing)*11)!important}.pb-0{padding-bottom:calc(var(--spacing)*0)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.pb-3{padding-bottom:calc(var(--spacing)*3)!important}.pb-4{padding-bottom:calc(var(--spacing)*4)!important}.pb-6{padding-bottom:calc(var(--spacing)*6)!important}.pb-8{padding-bottom:calc(var(--spacing)*8)!important}.pb-12{padding-bottom:calc(var(--spacing)*12)!important}.pl-0{padding-left:calc(var(--spacing)*0)!important}.pl-1{padding-left:calc(var(--spacing)*1)!important}.pl-2{padding-left:calc(var(--spacing)*2)!important}.pl-4{padding-left:calc(var(--spacing)*4)!important}.pl-6{padding-left:calc(var(--spacing)*6)!important}.pl-10{padding-left:calc(var(--spacing)*10)!important}.pl-12{padding-left:calc(var(--spacing)*12)!important}.\!text-left{text-align:left!important}.text-center{text-align:center!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.align-middle{vertical-align:middle!important}.font-mono{font-family:var(--font-mono)!important}.\!text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.\!text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-3xl{font-size:var(--text-3xl)!important;line-height:var(--tw-leading,var(--text-3xl--line-height))!important}.text-4xl{font-size:var(--text-4xl)!important;line-height:var(--tw-leading,var(--text-4xl--line-height))!important}.text-6xl{font-size:var(--text-6xl)!important;line-height:var(--tw-leading,var(--text-6xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.text-\[8px\]{font-size:8px!important}.text-\[9px\]{font-size:9px!important}.text-\[10px\]{font-size:10px!important}.text-\[11px\]{font-size:11px!important}.text-\[12px\]{font-size:12px!important}.text-\[13px\]{font-size:13px!important}.text-\[14px\]{font-size:14px!important}.text-\[15px\]{font-size:15px!important}.leading-5{--tw-leading:calc(var(--spacing)*5)!important;line-height:calc(var(--spacing)*5)!important}.leading-6{--tw-leading:calc(var(--spacing)*6)!important;line-height:calc(var(--spacing)*6)!important}.leading-7{--tw-leading:calc(var(--spacing)*7)!important;line-height:calc(var(--spacing)*7)!important}.leading-8{--tw-leading:calc(var(--spacing)*8)!important;line-height:calc(var(--spacing)*8)!important}.leading-10{--tw-leading:calc(var(--spacing)*10)!important;line-height:calc(var(--spacing)*10)!important}.leading-relaxed{--tw-leading:var(--leading-relaxed)!important;line-height:var(--leading-relaxed)!important}.leading-tight{--tw-leading:var(--leading-tight)!important;line-height:var(--leading-tight)!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.font-semibold{--tw-font-weight:var(--font-weight-semibold)!important;font-weight:var(--font-weight-semibold)!important}.tracking-\[-0\.01em\]{--tw-tracking:-.01em!important;letter-spacing:-.01em!important}.tracking-tight{--tw-tracking:var(--tracking-tight)!important;letter-spacing:var(--tracking-tight)!important}.tracking-wider{--tw-tracking:var(--tracking-wider)!important;letter-spacing:var(--tracking-wider)!important}.break-words{overflow-wrap:break-word!important}.break-all{word-break:break-all!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-normal{white-space:normal!important}.whitespace-nowrap{white-space:nowrap!important}.whitespace-pre{white-space:pre!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.\!text-blue-500{color:var(--color-blue-500)!important}.\!text-gray-500{color:var(--color-gray-500)!important}.\!text-gray-800{color:var(--color-gray-800)!important}.\!text-green-500{color:var(--color-green-500)!important}.\!text-orange-500{color:var(--color-orange-500)!important}.\!text-red-500{color:var(--color-red-500)!important}.\!text-yellow-500{color:var(--color-yellow-500)!important}.text-\[\#0C75FC\],.text-\[\#0c75fc\]{color:#0c75fc!important}.text-\[\#1c2533\]{color:#1c2533!important}.text-\[\#2AA3FF\]{color:#2aa3ff!important}.text-\[\#5a626d\]{color:#5a626d!important}.text-\[\#878c93\]{color:#878c93!important}.text-\[\#1890ff\]{color:#1890ff!important}.text-\[\#121417\]{color:#121417!important}.text-\[\#525964\]{color:#525964!important}.text-\[rgb\(82\,196\,26\)\]{color:#52c41a!important}.text-\[rgb\(255\,77\,79\)\]{color:#ff4d4f!important}.text-\[rgba\(0\,0\,0\,0\.45\)\]{color:#00000073!important}.text-\[rgba\(0\,0\,0\,0\.85\)\]{color:#000000d9!important}.text-amber-400{color:var(--color-amber-400)!important}.text-amber-500{color:var(--color-amber-500)!important}.text-black{color:var(--color-black)!important}.text-blue-400{color:var(--color-blue-400)!important}.text-blue-500{color:var(--color-blue-500)!important}.text-blue-600{color:var(--color-blue-600)!important}.text-blue-700{color:var(--color-blue-700)!important}.text-cyan-500{color:var(--color-cyan-500)!important}.text-default{color:#0c75fc!important}.text-emerald-500{color:var(--color-emerald-500)!important}.text-emerald-600{color:var(--color-emerald-600)!important}.text-gray-200{color:var(--color-gray-200)!important}.text-gray-300{color:var(--color-gray-300)!important}.text-gray-400{color:var(--color-gray-400)!important}.text-gray-500{color:var(--color-gray-500)!important}.text-gray-600{color:var(--color-gray-600)!important}.text-gray-700{color:var(--color-gray-700)!important}.text-gray-800{color:var(--color-gray-800)!important}.text-gray-900{color:var(--color-gray-900)!important}.text-green-300{color:var(--color-green-300)!important}.text-green-400{color:var(--color-green-400)!important}.text-green-500{color:var(--color-green-500)!important}.text-green-600{color:var(--color-green-600)!important}.text-green-700{color:var(--color-green-700)!important}.text-indigo-500{color:var(--color-indigo-500)!important}.text-indigo-600{color:var(--color-indigo-600)!important}.text-neutral-500{color:var(--color-neutral-500)!important}.text-orange-500{color:var(--color-orange-500)!important}.text-purple-500{color:var(--color-purple-500)!important}.text-red-400{color:var(--color-red-400)!important}.text-red-500{color:var(--color-red-500)!important}.text-red-600{color:var(--color-red-600)!important}.text-sky-500{color:var(--color-sky-500)!important}.text-slate-400{color:var(--color-slate-400)!important}.text-slate-700{color:var(--color-slate-700)!important}.text-slate-900{color:var(--color-slate-900)!important}.text-theme-primary{color:#0069fe!important}.text-white{color:var(--color-white)!important}.text-yellow-400{color:var(--color-yellow-400)!important}.text-yellow-500{color:var(--color-yellow-500)!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.italic{font-style:italic!important}.ordinal{--tw-ordinal:ordinal!important;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)!important}.underline{text-decoration-line:underline!important}.opacity-0{opacity:0!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-60{opacity:.6!important}.opacity-70{opacity:.7!important}.opacity-75{opacity:.75!important}.opacity-80{opacity:.8!important}.opacity-100{opacity:1!important}.\!shadow-none{--tw-shadow:0 0 #0000!important}.\!shadow-none,.shadow{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.shadow-\[0_8px_32px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0 8px 32px var(--tw-shadow-color,#0000000f)!important}.shadow-\[0_8px_32px_rgba\(0\,0\,0\,0\.06\)\],.shadow-lg{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important}.shadow-md,.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important}.ring-1,.ring-2{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-blue-500\/10{--tw-shadow-color:#3080ff1a!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/10{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)10%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/20{--tw-shadow-color:#3080ff33!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)20%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/25{--tw-shadow-color:#3080ff40!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/30{--tw-shadow-color:#3080ff4d!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-emerald-500\/25{--tw-shadow-color:#00bb7f40!important}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-gray-200\/50{--tw-shadow-color:#e5e7eb80!important}@supports (color:color-mix(in lab,red,red)){.shadow-gray-200\/50{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-200)50%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-green-500\/30{--tw-shadow-color:#00c7584d!important}@supports (color:color-mix(in lab,red,red)){.shadow-green-500\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-green-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-sky-500\/25{--tw-shadow-color:#00a5ef40!important}@supports (color:color-mix(in lab,red,red)){.shadow-sky-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-sky-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.ring-blue-500\/5{--tw-ring-color:#3080ff0d!important}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\/5{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)!important}}.ring-gray-100{--tw-ring-color:var(--color-gray-100)!important}.ring-gray-200{--tw-ring-color:var(--color-gray-200)!important}.ring-gray-200\/60{--tw-ring-color:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.ring-gray-200\/60{--tw-ring-color:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.ring-indigo-500\/5{--tw-ring-color:#625fff0d!important}@supports (color:color-mix(in lab,red,red)){.ring-indigo-500\/5{--tw-ring-color:color-mix(in oklab,var(--color-indigo-500)5%,transparent)!important}}.ring-white{--tw-ring-color:var(--color-white)!important}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026))!important;--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm))!important}.drop-shadow-sm,.grayscale{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.grayscale{--tw-grayscale:grayscale(100%)!important}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px)!important}.backdrop-blur,.backdrop-blur-\[2px\]{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px)!important}.backdrop-blur-lg{--tw-backdrop-blur:blur(var(--blur-lg))!important}.backdrop-blur-lg,.backdrop-blur-md{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md))!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm))!important}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl))!important}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-\[width\]{transition-property:width!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-shadow{transition-property:box-shadow!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-transform{transition-property:transform,translate,scale,rotate!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-200{--tw-duration:.2s!important;transition-duration:.2s!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.duration-400{--tw-duration:.4s!important;transition-duration:.4s!important}.duration-500{--tw-duration:.5s!important;transition-duration:.5s!important}.ease-\[cubic-bezier\(0\.4\,0\,0\.2\,1\)\]{--tw-ease:cubic-bezier(.4,0,.2,1)!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}@media (hover:hover){.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)!important}.group-hover\:text-gray-900:is(:where(.group):hover *){color:var(--color-gray-900)!important}.group-hover\:text-indigo-500:is(:where(.group):hover *){color:var(--color-indigo-500)!important}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1!important}.group-hover\:shadow-lg:is(:where(.group):hover *){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.group-hover\/item\:opacity-100:is(:where(.group\/item):hover *){opacity:1!important}}.first-line\:leading-6:first-line{--tw-leading:calc(var(--spacing)*6)!important;line-height:calc(var(--spacing)*6)!important}.placeholder\:\!text-gray-400::placeholder{color:var(--color-gray-400)!important}@media (hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%!important;--tw-scale-y:105%!important;--tw-scale-z:105%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.hover\:rounded-md:hover{border-radius:var(--radius-md)!important}.hover\:border-\[\#0c75fc\]:hover{border-color:#0c75fc!important}.hover\:border-blue-200\/60:hover{border-color:#bedbff99!important}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-200\/60:hover{border-color:color-mix(in oklab,var(--color-blue-200)60%,transparent)!important}}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)!important}.hover\:border-gray-200:hover{border-color:var(--color-gray-200)!important}.hover\:border-gray-200\/80:hover{border-color:#e5e7ebcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:border-gray-200\/80:hover{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)!important}}.hover\:border-gray-300:hover{border-color:var(--color-gray-300)!important}.hover\:bg-\[\#F1F5F9\]:hover{background-color:#f1f5f9!important}.hover\:bg-\[\#f5faff\]:hover{background-color:#f5faff!important}.hover\:bg-\[rgb\(221\,221\,221\,0\.6\)\]:hover{background-color:#ddd9!important}.hover\:bg-amber-50\/60:hover{background-color:#fffbeb99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-50\/60:hover{background-color:color-mix(in oklab,var(--color-amber-50)60%,transparent)!important}}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)!important}.hover\:bg-blue-50\/60:hover{background-color:#eff6ff99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)!important}}.hover\:bg-blue-50\/80:hover{background-color:#eff6ffcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/80:hover{background-color:color-mix(in oklab,var(--color-blue-50)80%,transparent)!important}}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)!important}.hover\:bg-gray-50\/40:hover{background-color:#f9fafb66!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/40:hover{background-color:color-mix(in oklab,var(--color-gray-50)40%,transparent)!important}}.hover\:bg-gray-50\/60:hover{background-color:#f9fafb99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/60:hover{background-color:color-mix(in oklab,var(--color-gray-50)60%,transparent)!important}}.hover\:bg-gray-50\/80:hover{background-color:#f9fafbcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/80:hover{background-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)!important}}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)!important}.hover\:bg-gray-100\/50:hover{background-color:#f3f4f680!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-100\/50:hover{background-color:color-mix(in oklab,var(--color-gray-100)50%,transparent)!important}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)!important}.hover\:bg-indigo-50:hover{background-color:var(--color-indigo-50)!important}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)!important}.hover\:bg-red-50:hover{background-color:var(--color-red-50)!important}.hover\:bg-red-100:hover{background-color:var(--color-red-100)!important}.hover\:bg-red-500:hover{background-color:var(--color-red-500)!important}.hover\:bg-red-600:hover{background-color:var(--color-red-600)!important}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)!important}.hover\:bg-white:hover{background-color:var(--color-white)!important}.hover\:from-blue-600:hover{--tw-gradient-from:var(--color-blue-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:from-gray-100:hover{--tw-gradient-from:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:from-indigo-600:hover{--tw-gradient-from:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:to-indigo-600:hover{--tw-gradient-to:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:to-indigo-700:hover{--tw-gradient-to:var(--color-indigo-700)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:p-0:hover{padding:calc(var(--spacing)*0)!important}.hover\:\!text-gray-200:hover{color:var(--color-gray-200)!important}.hover\:\!text-gray-700:hover{color:var(--color-gray-700)!important}.hover\:text-\[\#0c75fc\]:hover{color:#0c75fc!important}.hover\:text-amber-600:hover{color:var(--color-amber-600)!important}.hover\:text-blue-500:hover{color:var(--color-blue-500)!important}.hover\:text-blue-600:hover{color:var(--color-blue-600)!important}.hover\:text-blue-700:hover{color:var(--color-blue-700)!important}.hover\:text-gray-600:hover{color:var(--color-gray-600)!important}.hover\:text-gray-700:hover{color:var(--color-gray-700)!important}.hover\:text-gray-900:hover{color:var(--color-gray-900)!important}.hover\:text-indigo-500:hover{color:var(--color-indigo-500)!important}.hover\:text-orange-500:hover{color:var(--color-orange-500)!important}.hover\:text-red-500:hover{color:var(--color-red-500)!important}.hover\:text-red-600:hover{color:var(--color-red-600)!important}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-lg:hover,.hover\:shadow-md:hover{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-sm:hover,.hover\:shadow-xl:hover{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-blue-500\/30:hover{--tw-shadow-color:#3080ff4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-blue-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:shadow-emerald-500\/30:hover{--tw-shadow-color:#00bb7f4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-emerald-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:shadow-sky-500\/30:hover{--tw-shadow-color:#00a5ef4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-sky-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-sky-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)!important}}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}@media (min-width:40rem){.sm\:mr-4{margin-right:calc(var(--spacing)*4)!important}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\:px-6{padding-inline:calc(var(--spacing)*6)!important}}@media (min-width:48rem){.md\:max-w-\[80\%\]{max-width:80%!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:p-4{padding:calc(var(--spacing)*4)!important}.md\:p-6{padding:calc(var(--spacing)*6)!important}.md\:px-5{padding-inline:calc(var(--spacing)*5)!important}.md\:px-6{padding-inline:calc(var(--spacing)*6)!important}.md\:py-6{padding-block:calc(var(--spacing)*6)!important}}@media (min-width:64rem){.lg\:col-span-5{grid-column:span 5/span 5!important}.lg\:col-span-7{grid-column:span 7/span 7!important}.lg\:w-full{width:100%!important}.lg\:max-w-\[70\%\]{max-width:70%!important}.lg\:max-w-\[80\%\]{max-width:80%!important}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:px-8{padding-inline:calc(var(--spacing)*8)!important}}@media (min-width:80rem){.xl\:w-full{width:100%!important}.xl\:max-w-\[1600px\]{max-width:1600px!important}}@media (min-width:96rem){.\32 xl\:max-w-\[2000px\]{max-width:2000px!important}.\32 xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}}.dark\:\!border-gray-700:is(.dark *){border-color:var(--color-gray-700)!important}.dark\:border-\[\#0c75fc\]:is(.dark *){border-color:#0c75fc!important}.dark\:border-\[\#6f7f95\]:is(.dark *){border-color:#6f7f95!important}.dark\:border-\[\#ffffff66\]:is(.dark *){border-color:#fff6!important}.dark\:border-\[rgba\(217\,217\,217\,0\.85\)\]:is(.dark *){border-color:#d9d9d9d9!important}.dark\:border-\[rgba\(255\,255\,255\,0\.6\)\]:is(.dark *){border-color:#fff9!important}.dark\:border-blue-800:is(.dark *){border-color:var(--color-blue-800)!important}.dark\:border-gray-500:is(.dark *){border-color:var(--color-gray-500)!important}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)!important}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)!important}.dark\:border-gray-700\/50:is(.dark *){border-color:#36415380!important}@supports (color:color-mix(in lab,red,red)){.dark\:border-gray-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)!important}}.dark\:border-gray-800:is(.dark *){border-color:var(--color-gray-800)!important}.dark\:border-orange-700:is(.dark *){border-color:var(--color-orange-700)!important}.dark\:border-white:is(.dark *){border-color:var(--color-white)!important}.dark\:\!bg-gray-800:is(.dark *){background-color:var(--color-gray-800)!important}.dark\:bg-\[\#1F1F1F\]:is(.dark *),.dark\:bg-\[\#1f1f1f\]:is(.dark *){background-color:#1f1f1f!important}.dark\:bg-\[\#6f7f95\]:is(.dark *){background-color:#6f7f95!important}.dark\:bg-\[\#6f7f95\]\/60:is(.dark *){background-color:oklab(59.1432% -.00910476 -.0376163/.6)!important}.dark\:bg-\[\#111\]:is(.dark *){background-color:#111!important}.dark\:bg-\[\#212121\]:is(.dark *){background-color:#212121!important}.dark\:bg-\[\#232734\]:is(.dark *){background-color:#232734!important}.dark\:bg-\[\#242733\]:is(.dark *){background-color:#242733!important}.dark\:bg-\[\#484848\]:is(.dark *){background-color:#484848!important}.dark\:bg-\[\#606264\]:is(.dark *){background-color:#606264!important}.dark\:bg-\[\#ffffff29\]:is(.dark *),.dark\:bg-\[rgba\(255\,255\,255\,0\.16\)\]:is(.dark *){background-color:#ffffff29!important}.dark\:bg-black:is(.dark *){background-color:var(--color-black)!important}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)!important}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)!important}}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)!important}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)!important}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1e293980!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)!important}}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)!important}.dark\:bg-gray-900\/80:is(.dark *){background-color:#101828cc!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/80:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)80%,transparent)!important}}.dark\:bg-indigo-900\/20:is(.dark *){background-color:#312c8533!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)20%,transparent)!important}}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7e2a0c4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900)30%,transparent)!important}}.dark\:bg-slate-800:is(.dark *){background-color:var(--color-slate-800)!important}.dark\:bg-theme-dark:is(.dark *){background-color:#151622!important}.dark\:bg-theme-dark-container:is(.dark *){background-color:#232734!important}.dark\:bg-transparent:is(.dark *){background-color:#0000!important}.dark\:bg-white:is(.dark *){background-color:var(--color-white)!important}.dark\:dark\:bg-theme-dark:is(.dark *):is(.dark *){background-color:#151622!important}.dark\:\!text-gray-200:is(.dark *){color:var(--color-gray-200)!important}.dark\:text-\[rgba\(255\,255\,255\,0\.7\)\]:is(.dark *){color:#ffffffb3!important}.dark\:text-\[rgba\(255\,255\,255\,0\.65\)\]:is(.dark *){color:#ffffffa6!important}.dark\:text-\[rgba\(255\,255\,255\,0\.85\)\]:is(.dark *){color:#ffffffd9!important}.dark\:text-black:is(.dark *){color:var(--color-black)!important}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)!important}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)!important}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)!important}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)!important}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)!important}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)!important}.dark\:text-gray-500:is(.dark *){color:var(--color-gray-500)!important}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)!important}.dark\:text-gray-900:is(.dark *){color:var(--color-gray-900)!important}.dark\:text-indigo-400:is(.dark *){color:var(--color-indigo-400)!important}.dark\:text-white:is(.dark *){color:var(--color-white)!important}.dark\:ring-gray-700:is(.dark *){--tw-ring-color:var(--color-gray-700)!important}@media (hover:hover){.dark\:group-hover\:text-gray-200:is(.dark *):is(:where(.group):hover *){color:var(--color-gray-200)!important}.dark\:hover\:border-\[rgba\(12\,117\,252\,0\.85\)\]:is(.dark *):hover{border-color:#0c75fcd9!important}.dark\:hover\:border-blue-500:is(.dark *):hover{border-color:var(--color-blue-500)!important}.dark\:hover\:border-gray-600:is(.dark *):hover{border-color:var(--color-gray-600)!important}.dark\:hover\:bg-\[\#2A2A2A\]:is(.dark *):hover{background-color:#2a2a2a!important}.dark\:hover\:bg-\[\#606264\]:is(.dark *):hover{background-color:#606264!important}.dark\:hover\:bg-blue-900\/30:is(.dark *):hover{background-color:#1c398e4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-blue-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)!important}}.dark\:hover\:bg-gray-100:is(.dark *):hover{background-color:var(--color-gray-100)!important}.dark\:hover\:bg-gray-200:is(.dark *):hover{background-color:var(--color-gray-200)!important}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)!important}.dark\:hover\:bg-gray-800:is(.dark *):hover{background-color:var(--color-gray-800)!important}.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:#1e293980!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)!important}}.dark\:hover\:bg-red-900\/30:is(.dark *):hover{background-color:#82181a4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-red-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)!important}}.dark\:hover\:bg-theme-dark:is(.dark *):hover{background-color:#151622!important}.hover\:dark\:bg-black:hover:is(.dark *){background-color:var(--color-black)!important}.dark\:hover\:\!text-gray-300:is(.dark *):hover{color:var(--color-gray-300)!important}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)!important}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)!important}.dark\:hover\:text-white:is(.dark *):hover{color:var(--color-white)!important}.dark\:hover\:shadow-gray-900\/20:is(.dark *):hover{--tw-shadow-color:#10182833!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:shadow-gray-900\/20:is(.dark *):hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-900)20%,transparent)var(--tw-shadow-alpha),transparent)!important}}.dark\:hover\:ring-blue-500\/50:is(.dark *):hover{--tw-ring-color:#3080ff80!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:ring-blue-500\/50:is(.dark *):hover{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)!important}}}.\[\&_\.ant-collapse-content-box\]\:\!p-0 .ant-collapse-content-box{padding:calc(var(--spacing)*0)!important}.\[\&_\.ant-collapse-header\]\:\!p-2 .ant-collapse-header{padding:calc(var(--spacing)*2)!important}.\[\&_\.ant-form-item-label\>label\]\:text-xs .ant-form-item-label>label{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.\[\&_\.ant-form-item-label\>label\]\:font-medium .ant-form-item-label>label{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.\[\&_\.ant-form-item-label\>label\]\:tracking-wider .ant-form-item-label>label{--tw-tracking:var(--tracking-wider)!important;letter-spacing:var(--tracking-wider)!important}.\[\&_\.ant-form-item-label\>label\]\:text-gray-500 .ant-form-item-label>label{color:var(--color-gray-500)!important}.\[\&_\.ant-form-item-label\>label\]\:uppercase .ant-form-item-label>label{text-transform:uppercase!important}.\[\&_\.ant-modal-content\]\:overflow-hidden .ant-modal-content{overflow:hidden!important}.\[\&_\.ant-modal-content\]\:rounded-2xl .ant-modal-content{border-radius:var(--radius-2xl)!important}.\[\&_\.ant-modal-content\]\:rounded-xl .ant-modal-content{border-radius:var(--radius-xl)!important}.\[\&_\.ant-modal-content\]\:shadow-2xl .ant-modal-content{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.\[\&_\.ant-modal-header\]\:border-b-0 .ant-modal-header{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.\[\&_\.ant-modal-header\]\:pb-0 .ant-modal-header{padding-bottom:calc(var(--spacing)*0)!important}.\[\&_\.ant-popover-inner\]\:\!rounded-lg .ant-popover-inner{border-radius:var(--radius-lg)!important}.\[\&_\.ant-popover-inner\]\:\!rounded-xl .ant-popover-inner{border-radius:var(--radius-xl)!important}.\[\&_\.ant-popover-inner\]\:\!p-0 .ant-popover-inner{padding:calc(var(--spacing)*0)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-lg .ant-popover-inner{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-lg .ant-popover-inner,.\[\&_\.ant-popover-inner\]\:\!shadow-xl .ant-popover-inner{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-xl .ant-popover-inner{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important}.\[\&_\.ant-segmented-item-selected\]\:bg-\[\#0c75fc\]\/80 .ant-segmented-item-selected{background-color:oklab(59.1221% -.0432394 -.214627/.8)!important}.\[\&_\.ant-segmented-item-selected\]\:text-white .ant-segmented-item-selected{color:var(--color-white)!important}.\[\&_\.ant-select-selection-item\]\:\!max-w-\[100px\] .ant-select-selection-item{max-width:100px!important}.\[\&_\.ant-select-selection-item\]\:\!truncate .ant-select-selection-item{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.\[\&_\.ant-select-selector\]\:\!rounded-lg .ant-select-selector{border-radius:var(--radius-lg)!important}.\[\&_\.ant-select-selector\]\:\!pr-8 .ant-select-selector{padding-right:calc(var(--spacing)*8)!important}.\[\&_\.ant-tabs-content\]\:h-full .ant-tabs-content{height:100%!important}.\[\&_\.ant-tabs-content\]\:flex-1 .ant-tabs-content{flex:1!important}.\[\&_\.ant-tabs-content\]\:overflow-hidden .ant-tabs-content{overflow:hidden!important}.\[\&_\.ant-tabs-ink-bar\]\:\!h-\[2\.5px\] .ant-tabs-ink-bar{height:2.5px!important}.\[\&_\.ant-tabs-ink-bar\]\:\!rounded-full .ant-tabs-ink-bar{border-radius:3.40282e+38px!important}.\[\&_\.ant-tabs-ink-bar\]\:\!bg-gradient-to-r .ant-tabs-ink-bar{--tw-gradient-position:to right in oklab!important;background-image:linear-gradient(var(--tw-gradient-stops))!important}.\[\&_\.ant-tabs-ink-bar\]\:from-amber-500 .ant-tabs-ink-bar{--tw-gradient-from:var(--color-amber-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.\[\&_\.ant-tabs-ink-bar\]\:to-orange-500 .ant-tabs-ink-bar{--tw-gradient-to:var(--color-orange-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.\[\&_\.ant-tabs-nav\]\:sticky .ant-tabs-nav{position:sticky!important}.\[\&_\.ant-tabs-nav\]\:top-0 .ant-tabs-nav{top:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-nav\]\:z-20 .ant-tabs-nav{z-index:20!important}.\[\&_\.ant-tabs-nav\]\:mb-0 .ant-tabs-nav{margin-bottom:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-nav\]\:px-5 .ant-tabs-nav{padding-inline:calc(var(--spacing)*5)!important}.\[\&_\.ant-tabs-nav\]\:pt-3 .ant-tabs-nav{padding-top:calc(var(--spacing)*3)!important}.\[\&_\.ant-tabs-tab\]\:my-0 .ant-tabs-tab{margin-block:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-tab\]\:\!mr-6 .ant-tabs-tab{margin-right:calc(var(--spacing)*6)!important}.\[\&_\.ant-tabs-tab\]\:\!px-0 .ant-tabs-tab{padding-inline:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-tab\]\:\!py-2\.5 .ant-tabs-tab{padding-block:calc(var(--spacing)*2.5)!important}.\[\&_\.ant-tabs-tabpane\]\:h-full .ant-tabs-tabpane,.\[\&_\.gpt-vis\]\:h-full .gpt-vis{height:100%!important}.\[\&_\.gpt-vis\]\:flex-grow .gpt-vis{flex-grow:1!important}.\[\&_\.gpt-vis_pre\]\:m-0 .gpt-vis pre{margin:calc(var(--spacing)*0)!important}.\[\&_\.gpt-vis_pre\]\:flex .gpt-vis pre{display:flex!important}.\[\&_\.gpt-vis_pre\]\:h-full .gpt-vis pre{height:100%!important}.\[\&_\.gpt-vis_pre\]\:flex-grow .gpt-vis pre{flex-grow:1!important}.\[\&_\.gpt-vis_pre\]\:flex-col .gpt-vis pre{flex-direction:column!important}.\[\&_\.gpt-vis_pre\]\:border-0 .gpt-vis pre{border-style:var(--tw-border-style)!important;border-width:0!important}.\[\&_\.gpt-vis_pre\]\:bg-transparent .gpt-vis pre{background-color:#0000!important}.\[\&_\.gpt-vis_pre\]\:p-0 .gpt-vis pre{padding:calc(var(--spacing)*0)!important}.\[\&_table\]\:table table{display:table!important}}body{font-family:var(--joy-fontFamily-body,var(--joy-JosefinSans,sans-serif));line-height:var(--joy-lineHeight-md,1.5);--antd-primary-color:#0069fe;-webkit-tap-highlight-color:#0000;-webkit-appearance:none;margin:0}:root{--mcp-accent:#0069fe;--mcp-accent-rgb:0,105,254;--mcp-accent-light:#e8f1ff;--mcp-success:#10b981;--mcp-success-rgb:16,185,129;--mcp-danger:#ef4444;--mcp-warning:#f59e0b;--mcp-bg:#f8f9fc;--mcp-surface:#fff;--mcp-surface-hover:#f0f4ff;--mcp-border:#e5e7eb;--mcp-border-subtle:#f0f0f5;--mcp-text-primary:#0f172a;--mcp-text-secondary:#64748b;--mcp-text-tertiary:#94a3b8;--mcp-shadow-sm:0 1px 2px #0000000a;--mcp-shadow-md:0 4px 16px #0000000f;--mcp-shadow-lg:0 8px 32px #00000014;--mcp-shadow-glow:0 0 24px rgba(var(--mcp-accent-rgb),.12);--mcp-radius:12px;--mcp-radius-sm:8px;--mcp-radius-xs:6px;--mcp-transition:.2s cubic-bezier(.4,0,.2,1)}.dark{--mcp-bg:#0c0e14;--mcp-surface:#161a26;--mcp-surface-hover:#1e2333;--mcp-border:#2a2f3e;--mcp-border-subtle:#1e2230;--mcp-text-primary:#f1f5f9;--mcp-text-secondary:#8b95a8;--mcp-text-tertiary:#5b6478;--mcp-accent-light:#0d2254;--mcp-shadow-sm:0 1px 2px #0003;--mcp-shadow-md:0 4px 16px #0000004d;--mcp-shadow-lg:0 8px 32px #0006;--mcp-shadow-glow:0 0 32px rgba(var(--mcp-accent-rgb),.2)}.light{color:#333;background-color:#f7f7f7}.dark{color:#f7f7f7;background-color:#151622}.dark-sub-bg{background-color:#23262c}.ant-btn-primary{background-color:var(--antd-primary-color)}.ant-pagination .ant-pagination-next *,.ant-pagination .ant-pagination-prev *{color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item a{color:#b0b0bf}.ant-pagination .ant-pagination-item.ant-pagination-item-active{background-color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item.ant-pagination-item-active a{color:#fff!important}.scrollbar-default::-webkit-scrollbar{width:6px;display:block}.scrollbar-hide::-webkit-scrollbar,::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.dark :where(.css-dev-only-do-not-override-18iikkb).ant-tabs .ant-tabs-tab-btn{color:#fff}:where(.css-dev-only-do-not-override-18iikkb).ant-form-item .ant-form-item-label>label{height:36px}@keyframes rotate{to{transform:rotate(1turn)}}.react-flow__panel{display:none!important}#home-container .ant-tabs-tab,#home-container .ant-tabs-tab-active{font-size:16px}#home-container .ant-card-body{padding:12px 24px}pre{white-space:pre-wrap;overflow:auto}pre,table{width:100%}table{table-layout:fixed;display:block}.rc-md-editor{height:inherit}.rc-md-editor .editor-container>.section{border-right:none!important}.ant-spin-nested-loading .ant-spin-container{flex-direction:column!important;height:100%!important;display:flex!important}.explore-grid,.skill-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;display:grid}@media (max-width:768px){.explore-grid,.skill-grid{grid-template-columns:1fr}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes pulse1{0%,to{background-color:#bdc0c4;transform:scale(1)}33.333%{background-color:#525964;transform:scale(1.5)}}@keyframes pulse2{0%,to{background-color:#bdc0c4;transform:scale(1)}33.333%{background-color:#bdc0c4;transform:scale(1)}66.666%{background-color:#525964;transform:scale(1.5)}}@keyframes pulse3{0%,66.666%{background-color:##bdc0c4;transform:scale(1)}to{background-color:#525964;transform:scale(1.5)}} \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/_next/static/css/dcafc99b50aef4fd.css b/packages/derisk-app/src/derisk_app/static/web/_next/static/css/dcafc99b50aef4fd.css new file mode 100644 index 00000000..7cd534a6 --- /dev/null +++ b/packages/derisk-app/src/derisk_app/static/web/_next/static/css/dcafc99b50aef4fd.css @@ -0,0 +1 @@ +/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:host,:root{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-900:oklch(40.8% .123 38.172);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-600:oklch(60% .118 184.704);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-900:oklch(35.9% .144 278.697);--color-violet-500:oklch(60.6% .25 292.717);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-400:oklch(70.5% .015 286.067);--color-neutral-500:oklch(55.6% 0 0);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Josefin Sans;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.static{position:static!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.inset-0\.5{inset:calc(var(--spacing)*.5)!important}.-top-1{top:calc(var(--spacing)*-1)!important}.-top-1\.5{top:calc(var(--spacing)*-1.5)!important}.-top-14{top:calc(var(--spacing)*-14)!important}.top-0{top:calc(var(--spacing)*0)!important}.top-1{top:calc(var(--spacing)*1)!important}.top-1\/2{top:50%!important}.top-2{top:calc(var(--spacing)*2)!important}.top-4{top:calc(var(--spacing)*4)!important}.top-\[-2px\]{top:-2px!important}.top-\[1px\]{top:1px!important}.-right-0\.5{right:calc(var(--spacing)*-.5)!important}.-right-1{right:calc(var(--spacing)*-1)!important}.-right-1\.5{right:calc(var(--spacing)*-1.5)!important}.right-0{right:calc(var(--spacing)*0)!important}.right-2{right:calc(var(--spacing)*2)!important}.right-3{right:calc(var(--spacing)*3)!important}.right-4{right:calc(var(--spacing)*4)!important}.right-6{right:calc(var(--spacing)*6)!important}.right-\[1\],.right-\[1px\]{right:1px!important}.-bottom-0\.5{bottom:calc(var(--spacing)*-.5)!important}.bottom-0{bottom:calc(var(--spacing)*0)!important}.bottom-1{bottom:calc(var(--spacing)*1)!important}.bottom-2{bottom:calc(var(--spacing)*2)!important}.bottom-3{bottom:calc(var(--spacing)*3)!important}.bottom-4{bottom:calc(var(--spacing)*4)!important}.bottom-8{bottom:calc(var(--spacing)*8)!important}.bottom-24{bottom:calc(var(--spacing)*24)!important}.-left-5{left:calc(var(--spacing)*-5)!important}.left-0{left:calc(var(--spacing)*0)!important}.left-1{left:calc(var(--spacing)*1)!important}.left-2{left:calc(var(--spacing)*2)!important}.left-4{left:calc(var(--spacing)*4)!important}.z-10{z-index:10!important}.z-20{z-index:20!important}.z-30{z-index:30!important}.z-40{z-index:40!important}.z-50{z-index:50!important}.col-span-2{grid-column:span 2/span 2!important}.col-span-12{grid-column:span 12/span 12!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.m-0{margin:calc(var(--spacing)*0)!important}.m-6{margin:calc(var(--spacing)*6)!important}.m-392{margin:calc(var(--spacing)*392)!important}.m-768{margin:calc(var(--spacing)*768)!important}.m-auto{margin:auto!important}.-mx-2{margin-inline:calc(var(--spacing)*-2)!important}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-2{margin-inline:calc(var(--spacing)*2)!important}.mx-4{margin-inline:calc(var(--spacing)*4)!important}.mx-6{margin-inline:calc(var(--spacing)*6)!important}.mx-\[-8px\]{margin-inline:-8px!important}.mx-auto{margin-inline:auto!important}.my-0\.5{margin-block:calc(var(--spacing)*.5)!important}.my-1{margin-block:calc(var(--spacing)*1)!important}.my-2{margin-block:calc(var(--spacing)*2)!important}.my-3{margin-block:calc(var(--spacing)*3)!important}.my-4{margin-block:calc(var(--spacing)*4)!important}.my-6{margin-block:calc(var(--spacing)*6)!important}.mt-0{margin-top:calc(var(--spacing)*0)!important}.mt-0\.5{margin-top:calc(var(--spacing)*.5)!important}.mt-1{margin-top:calc(var(--spacing)*1)!important}.mt-2{margin-top:calc(var(--spacing)*2)!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.mt-4{margin-top:calc(var(--spacing)*4)!important}.mt-6{margin-top:calc(var(--spacing)*6)!important}.mt-8{margin-top:calc(var(--spacing)*8)!important}.mt-10{margin-top:calc(var(--spacing)*10)!important}.mt-\[1px\]{margin-top:1px!important}.mt-auto{margin-top:auto!important}.-mr-4{margin-right:calc(var(--spacing)*-4)!important}.mr-0{margin-right:calc(var(--spacing)*0)!important}.mr-1{margin-right:calc(var(--spacing)*1)!important}.mr-2{margin-right:calc(var(--spacing)*2)!important}.mr-3{margin-right:calc(var(--spacing)*3)!important}.mr-4{margin-right:calc(var(--spacing)*4)!important}.mr-6{margin-right:calc(var(--spacing)*6)!important}.mr-24{margin-right:calc(var(--spacing)*24)!important}.\!mb-0{margin-bottom:calc(var(--spacing)*0)!important}.\!mb-1{margin-bottom:calc(var(--spacing)*1)!important}.mb-0{margin-bottom:calc(var(--spacing)*0)!important}.mb-0\.5{margin-bottom:calc(var(--spacing)*.5)!important}.mb-1{margin-bottom:calc(var(--spacing)*1)!important}.mb-2{margin-bottom:calc(var(--spacing)*2)!important}.mb-3{margin-bottom:calc(var(--spacing)*3)!important}.mb-4{margin-bottom:calc(var(--spacing)*4)!important}.mb-5{margin-bottom:calc(var(--spacing)*5)!important}.mb-6{margin-bottom:calc(var(--spacing)*6)!important}.mb-8{margin-bottom:calc(var(--spacing)*8)!important}.-ml-4{margin-left:calc(var(--spacing)*-4)!important}.ml-0{margin-left:calc(var(--spacing)*0)!important}.ml-1{margin-left:calc(var(--spacing)*1)!important}.ml-1\.5{margin-left:calc(var(--spacing)*1.5)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.ml-3{margin-left:calc(var(--spacing)*3)!important}.ml-4{margin-left:calc(var(--spacing)*4)!important}.ml-5{margin-left:calc(var(--spacing)*5)!important}.ml-6{margin-left:calc(var(--spacing)*6)!important}.ml-10{margin-left:calc(var(--spacing)*10)!important}.ml-16{margin-left:calc(var(--spacing)*16)!important}.line-clamp-1{-webkit-line-clamp:1!important}.line-clamp-1,.line-clamp-2{-webkit-box-orient:vertical!important;display:-webkit-box!important;overflow:hidden!important}.line-clamp-2{-webkit-line-clamp:2!important}.block{display:block!important}.contents{display:contents!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.inline{display:inline!important}.inline-block{display:inline-block!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.h-0{height:calc(var(--spacing)*0)!important}.h-0\.5{height:calc(var(--spacing)*.5)!important}.h-1{height:calc(var(--spacing)*1)!important}.h-2{height:calc(var(--spacing)*2)!important}.h-3{height:calc(var(--spacing)*3)!important}.h-3\.5{height:calc(var(--spacing)*3.5)!important}.h-4{height:calc(var(--spacing)*4)!important}.h-5{height:calc(var(--spacing)*5)!important}.h-5\/6{height:83.3333%!important}.h-6{height:calc(var(--spacing)*6)!important}.h-7{height:calc(var(--spacing)*7)!important}.h-8{height:calc(var(--spacing)*8)!important}.h-9{height:calc(var(--spacing)*9)!important}.h-10{height:calc(var(--spacing)*10)!important}.h-11{height:calc(var(--spacing)*11)!important}.h-12{height:calc(var(--spacing)*12)!important}.h-14{height:calc(var(--spacing)*14)!important}.h-16{height:calc(var(--spacing)*16)!important}.h-20{height:calc(var(--spacing)*20)!important}.h-24{height:calc(var(--spacing)*24)!important}.h-28{height:calc(var(--spacing)*28)!important}.h-32{height:calc(var(--spacing)*32)!important}.h-40{height:calc(var(--spacing)*40)!important}.h-64{height:calc(var(--spacing)*64)!important}.h-96{height:calc(var(--spacing)*96)!important}.h-\[1px\]{height:1px!important}.h-\[40px\]{height:40px!important}.h-\[90vh\]{height:90vh!important}.h-\[133px\]{height:133px!important}.h-\[280px\]{height:280px!important}.h-\[400px\]{height:400px!important}.h-\[500px\]{height:500px!important}.h-\[calc\(100vh-140px\)\]{height:calc(100vh - 140px)!important}.h-auto{height:auto!important}.h-full{height:100%!important}.h-px{height:1px!important}.h-screen{height:100vh!important}.max-h-60{max-height:calc(var(--spacing)*60)!important}.max-h-64{max-height:calc(var(--spacing)*64)!important}.max-h-72{max-height:calc(var(--spacing)*72)!important}.max-h-\[200px\]{max-height:200px!important}.max-h-\[300px\]{max-height:300px!important}.max-h-\[500px\]{max-height:500px!important}.max-h-\[600px\]{max-height:600px!important}.max-h-full{max-height:100%!important}.max-h-screen{max-height:100vh!important}.\!min-h-\[60px\]{min-height:60px!important}.min-h-0{min-height:calc(var(--spacing)*0)!important}.min-h-\[1rem\]{min-height:1rem!important}.min-h-\[40px\]{min-height:40px!important}.min-h-\[60vh\]{min-height:60vh!important}.min-h-\[200px\]{min-height:200px!important}.min-h-\[300px\]{min-height:300px!important}.min-h-\[400px\]{min-height:400px!important}.min-h-\[500px\]{min-height:500px!important}.min-h-fit{min-height:fit-content!important}.min-h-full{min-height:100%!important}.min-h-screen{min-height:100vh!important}.w-0{width:calc(var(--spacing)*0)!important}.w-0\.5{width:calc(var(--spacing)*.5)!important}.w-1{width:calc(var(--spacing)*1)!important}.w-1\/2{width:50%!important}.w-1\/3{width:33.3333%!important}.w-1\/5{width:20%!important}.w-1\/6{width:16.6667%!important}.w-2{width:calc(var(--spacing)*2)!important}.w-2\/3{width:66.6667%!important}.w-2\/5{width:40%!important}.w-3{width:calc(var(--spacing)*3)!important}.w-3\.5{width:calc(var(--spacing)*3.5)!important}.w-3\/5{width:60%!important}.w-4{width:calc(var(--spacing)*4)!important}.w-5{width:calc(var(--spacing)*5)!important}.w-5\/6{width:83.3333%!important}.w-6{width:calc(var(--spacing)*6)!important}.w-7{width:calc(var(--spacing)*7)!important}.w-8{width:calc(var(--spacing)*8)!important}.w-9{width:calc(var(--spacing)*9)!important}.w-10{width:calc(var(--spacing)*10)!important}.w-11{width:calc(var(--spacing)*11)!important}.w-12{width:calc(var(--spacing)*12)!important}.w-14{width:calc(var(--spacing)*14)!important}.w-16{width:calc(var(--spacing)*16)!important}.w-20{width:calc(var(--spacing)*20)!important}.w-28{width:calc(var(--spacing)*28)!important}.w-30{width:calc(var(--spacing)*30)!important}.w-32{width:calc(var(--spacing)*32)!important}.w-36{width:calc(var(--spacing)*36)!important}.w-40{width:calc(var(--spacing)*40)!important}.w-42{width:calc(var(--spacing)*42)!important}.w-48{width:calc(var(--spacing)*48)!important}.w-52{width:calc(var(--spacing)*52)!important}.w-60{width:calc(var(--spacing)*60)!important}.w-64{width:calc(var(--spacing)*64)!important}.w-72{width:calc(var(--spacing)*72)!important}.w-80{width:calc(var(--spacing)*80)!important}.w-96{width:calc(var(--spacing)*96)!important}.w-\[38\%\]{width:38%!important}.w-\[62\%\]{width:62%!important}.w-\[100px\]{width:100px!important}.w-\[142px\]{width:142px!important}.w-\[150px\]{width:150px!important}.w-\[160px\]{width:160px!important}.w-\[200px\]{width:200px!important}.w-\[230px\]{width:230px!important}.w-\[240px\]{width:240px!important}.w-\[260px\]{width:260px!important}.w-\[280px\]{width:280px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-px{width:1px!important}.w-screen{width:100vw!important}.max-w-2xl{max-width:var(--container-2xl)!important}.max-w-3xl{max-width:var(--container-3xl)!important}.max-w-4xl{max-width:var(--container-4xl)!important}.max-w-5xl{max-width:var(--container-5xl)!important}.max-w-6xl{max-width:var(--container-6xl)!important}.max-w-7xl{max-width:var(--container-7xl)!important}.max-w-\[80px\]{max-width:80px!important}.max-w-\[100px\]{max-width:100px!important}.max-w-\[120px\]{max-width:120px!important}.max-w-\[260px\]{max-width:260px!important}.max-w-\[300px\]{max-width:300px!important}.max-w-full{max-width:100%!important}.max-w-md{max-width:var(--container-md)!important}.max-w-none{max-width:none!important}.min-w-0{min-width:calc(var(--spacing)*0)!important}.min-w-10{min-width:calc(var(--spacing)*10)!important}.min-w-16{min-width:calc(var(--spacing)*16)!important}.min-w-\[50px\]{min-width:50px!important}.min-w-\[150px\]{min-width:150px!important}.min-w-\[340px\]{min-width:340px!important}.min-w-\[480px\]{min-width:480px!important}.min-w-fit{min-width:fit-content!important}.flex-0{flex:0!important}.flex-1{flex:1!important}.flex-auto{flex:auto!important}.flex-none{flex:none!important}.flex-shrink{flex-shrink:1!important}.flex-shrink-0{flex-shrink:0!important}.shrink{flex-shrink:1!important}.shrink-0{flex-shrink:0!important}.flex-grow,.grow{flex-grow:1!important}.grow-0{flex-grow:0!important}.border-collapse{border-collapse:collapse!important}.origin-left{transform-origin:0!important}.-translate-x-1{--tw-translate-x:calc(var(--spacing)*-1)!important}.-translate-x-1,.translate-x-0{translate:var(--tw-translate-x)var(--tw-translate-y)!important}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0)!important}.translate-x-full{--tw-translate-x:100%!important}.-translate-y-1,.translate-x-full{translate:var(--tw-translate-x)var(--tw-translate-y)!important}.-translate-y-1{--tw-translate-y:calc(var(--spacing)*-1)!important}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1)!important}.-translate-y-1\/2,.-translate-y-\[10px\]{translate:var(--tw-translate-x)var(--tw-translate-y)!important}.-translate-y-\[10px\]{--tw-translate-y:calc(10px*-1)!important}.translate-y-\[10px\]{--tw-translate-y:10px!important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.scale-75{--tw-scale-x:75%!important;--tw-scale-y:75%!important;--tw-scale-z:75%!important}.scale-75,.scale-90{scale:var(--tw-scale-x)var(--tw-scale-y)!important}.scale-90{--tw-scale-x:90%!important;--tw-scale-y:90%!important;--tw-scale-z:90%!important}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)!important}.animate-ping{animation:var(--animate-ping)!important}.animate-pulse{animation:var(--animate-pulse)!important}.animate-pulse1{animation:pulse1 1.2s infinite!important}.animate-pulse2{animation:pulse2 1.2s infinite!important}.animate-pulse3{animation:pulse3 1.2s infinite!important}.animate-spin{animation:var(--animate-spin)!important}.cursor-grab{cursor:grab!important}.cursor-move{cursor:move!important}.cursor-no-drop{cursor:no-drop!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.\!resize-none{resize:none!important}.resize{resize:both!important}.resize-none{resize:none!important}.list-inside{list-style-position:inside!important}.list-decimal{list-style-type:decimal!important}.list-disc{list-style-type:disc!important}.grid-flow-row{grid-auto-flow:row!important}.auto-rows-max{grid-auto-rows:max-content!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-wrap{flex-wrap:wrap!important}.content-center{align-content:center!important}.items-center{align-items:center!important}.items-end{align-items:flex-end!important}.items-start{align-items:flex-start!important}.items-stretch{align-items:stretch!important}.justify-around{justify-content:space-around!important}.justify-between{justify-content:space-between!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.justify-start{justify-content:flex-start!important}.gap-0{gap:calc(var(--spacing)*0)!important}.gap-0\.5{gap:calc(var(--spacing)*.5)!important}.gap-1{gap:calc(var(--spacing)*1)!important}.gap-1\.5{gap:calc(var(--spacing)*1.5)!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-2\.5{gap:calc(var(--spacing)*2.5)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}.gap-6{gap:calc(var(--spacing)*6)!important}.gap-8{gap:calc(var(--spacing)*8)!important}.gap-10{gap:calc(var(--spacing)*10)!important}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))!important}.gap-x-6{column-gap:calc(var(--spacing)*6)!important}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))!important}.gap-y-4{row-gap:calc(var(--spacing)*4)!important}.gap-y-5{row-gap:calc(var(--spacing)*5)!important}.gap-y-10{row-gap:calc(var(--spacing)*10)!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-scroll{overflow-y:scroll!important}.rounded{border-radius:.25rem!important}.rounded-2xl{border-radius:var(--radius-2xl)!important}.rounded-3xl{border-radius:var(--radius-3xl)!important}.rounded-\[10px\]{border-radius:10px!important}.rounded-\[24px\]{border-radius:24px!important}.rounded-full{border-radius:3.40282e+38px!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-none{border-radius:0!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-xl{border-radius:var(--radius-xl)!important}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl)!important;border-top-right-radius:var(--radius-2xl)!important}.rounded-tl{border-top-left-radius:.25rem!important}.rounded-tl-md{border-top-left-radius:var(--radius-md)!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr{border-top-right-radius:.25rem!important}.rounded-tr-md{border-top-right-radius:var(--radius-md)!important}.rounded-br{border-bottom-right-radius:.25rem!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-bl{border-bottom-left-radius:.25rem!important}.rounded-bl-none{border-bottom-left-radius:0!important}.\!border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-0{border-style:var(--tw-border-style)!important;border-width:0!important}.border-1{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-2{border-style:var(--tw-border-style)!important;border-width:2px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-r{border-right-style:var(--tw-border-style)!important;border-right-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-b-0{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.border-b-2{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:2px!important}.border-l{border-left-style:var(--tw-border-style)!important;border-left-width:1px!important}.border-l-2{border-left-style:var(--tw-border-style)!important;border-left-width:2px!important}.border-l-4{border-left-style:var(--tw-border-style)!important;border-left-width:4px!important}.border-dashed{--tw-border-style:dashed!important;border-style:dashed!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-solid{--tw-border-style:solid!important;border-style:solid!important}.border-\[\#0c75fc\]{border-color:#0c75fc!important}.border-\[\#E0E7F2\]{border-color:#e0e7f2!important}.border-\[\#d5e5f6\]{border-color:#d5e5f6!important}.border-\[\#d9d9d9\]{border-color:#d9d9d9!important}.border-\[\#e3e4e6\]{border-color:#e3e4e6!important}.border-\[\#edeeef\]{border-color:#edeeef!important}.border-\[\#f0f0f0\]{border-color:#f0f0f0!important}.border-\[transparent\]{border-color:#0000!important}.border-blue-100{border-color:var(--color-blue-100)!important}.border-blue-200{border-color:var(--color-blue-200)!important}.border-blue-200\/60{border-color:#bedbff99!important}@supports (color:color-mix(in lab,red,red)){.border-blue-200\/60{border-color:color-mix(in oklab,var(--color-blue-200)60%,transparent)!important}}.border-blue-200\/80{border-color:#bedbffcc!important}@supports (color:color-mix(in lab,red,red)){.border-blue-200\/80{border-color:color-mix(in oklab,var(--color-blue-200)80%,transparent)!important}}.border-blue-500{border-color:var(--color-blue-500)!important}.border-blue-500\/50{border-color:#3080ff80!important}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)!important}}.border-blue-600{border-color:var(--color-blue-600)!important}.border-emerald-200\/80{border-color:#a4f4cfcc!important}@supports (color:color-mix(in lab,red,red)){.border-emerald-200\/80{border-color:color-mix(in oklab,var(--color-emerald-200)80%,transparent)!important}}.border-emerald-500{border-color:var(--color-emerald-500)!important}.border-gray-50\/80{border-color:#f9fafbcc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-50\/80{border-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)!important}}.border-gray-100{border-color:var(--color-gray-100)!important}.border-gray-100\/40{border-color:#f3f4f666!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/40{border-color:color-mix(in oklab,var(--color-gray-100)40%,transparent)!important}}.border-gray-100\/60{border-color:#f3f4f699!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/60{border-color:color-mix(in oklab,var(--color-gray-100)60%,transparent)!important}}.border-gray-100\/80{border-color:#f3f4f6cc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/80{border-color:color-mix(in oklab,var(--color-gray-100)80%,transparent)!important}}.border-gray-200{border-color:var(--color-gray-200)!important}.border-gray-200\/60{border-color:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/60{border-color:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.border-gray-200\/80{border-color:#e5e7ebcc!important}@supports (color:color-mix(in lab,red,red)){.border-gray-200\/80{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)!important}}.border-gray-300{border-color:var(--color-gray-300)!important}.border-gray-500{border-color:var(--color-gray-500)!important}.border-gray-700{border-color:var(--color-gray-700)!important}.border-gray-800{border-color:var(--color-gray-800)!important}.border-green-100{border-color:var(--color-green-100)!important}.border-indigo-500\/50{border-color:#625fff80!important}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/50{border-color:color-mix(in oklab,var(--color-indigo-500)50%,transparent)!important}}.border-orange-300{border-color:var(--color-orange-300)!important}.border-red-600{border-color:var(--color-red-600)!important}.border-sky-200\/80{border-color:#b8e6fecc!important}@supports (color:color-mix(in lab,red,red)){.border-sky-200\/80{border-color:color-mix(in oklab,var(--color-sky-200)80%,transparent)!important}}.border-slate-200{border-color:var(--color-slate-200)!important}.border-slate-300{border-color:var(--color-slate-300)!important}.border-stone-400{border-color:var(--color-stone-400)!important}.border-theme-primary{border-color:#0069fe!important}.border-transparent{border-color:#0000!important}.border-white{border-color:var(--color-white)!important}.border-white\/60{border-color:#fff9!important}@supports (color:color-mix(in lab,red,red)){.border-white\/60{border-color:color-mix(in oklab,var(--color-white)60%,transparent)!important}}.\!bg-gray-50{background-color:var(--color-gray-50)!important}.\!bg-transparent{background-color:#0000!important}.bg-\[\#0c75fc\]{background-color:#0c75fc!important}.bg-\[\#EAEAEB\]{background-color:#eaeaeb!important}.bg-\[\#F1F5F9\]{background-color:#f1f5f9!important}.bg-\[\#F9FAFB\]{background-color:#f9fafb!important}.bg-\[\#FAFAFA\]{background-color:#fafafa!important}.bg-\[\#f5faff\]{background-color:#f5faff!important}.bg-\[\#fafafa\]{background-color:#fafafa!important}.bg-\[\#ffffff80\]{background-color:#ffffff80!important}.bg-\[rgba\(0\,0\,0\,0\.04\)\]{background-color:#0000000a!important}.bg-\[rgba\(255\,255\,255\,0\.8\)\]{background-color:#fffc!important}.bg-amber-50{background-color:var(--color-amber-50)!important}.bg-bar{background-color:#e0e7f2!important}.bg-black{background-color:var(--color-black)!important}.bg-black\/50{background-color:#00000080!important}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)!important}}.bg-blue-50{background-color:var(--color-blue-50)!important}.bg-blue-50\/30{background-color:#eff6ff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)!important}}.bg-blue-50\/50{background-color:#eff6ff80!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/50{background-color:color-mix(in oklab,var(--color-blue-50)50%,transparent)!important}}.bg-blue-50\/60{background-color:#eff6ff99!important}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\/60{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)!important}}.bg-blue-100{background-color:var(--color-blue-100)!important}.bg-blue-500{background-color:var(--color-blue-500)!important}.bg-emerald-50\/30{background-color:#ecfdf54d!important}@supports (color:color-mix(in lab,red,red)){.bg-emerald-50\/30{background-color:color-mix(in oklab,var(--color-emerald-50)30%,transparent)!important}}.bg-emerald-100{background-color:var(--color-emerald-100)!important}.bg-emerald-400{background-color:var(--color-emerald-400)!important}.bg-emerald-500{background-color:var(--color-emerald-500)!important}.bg-gray-50{background-color:var(--color-gray-50)!important}.bg-gray-50\/20{background-color:#f9fafb33!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/20{background-color:color-mix(in oklab,var(--color-gray-50)20%,transparent)!important}}.bg-gray-50\/30{background-color:#f9fafb4d!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/30{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)!important}}.bg-gray-50\/50{background-color:#f9fafb80!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)!important}}.bg-gray-50\/95{background-color:#f9fafbf2!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/95{background-color:color-mix(in oklab,var(--color-gray-50)95%,transparent)!important}}.bg-gray-100{background-color:var(--color-gray-100)!important}.bg-gray-100\/60{background-color:#f3f4f699!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-100\/60{background-color:color-mix(in oklab,var(--color-gray-100)60%,transparent)!important}}.bg-gray-200{background-color:var(--color-gray-200)!important}.bg-gray-200\/50{background-color:#e5e7eb80!important}@supports (color:color-mix(in lab,red,red)){.bg-gray-200\/50{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)!important}}.bg-gray-300{background-color:var(--color-gray-300)!important}.bg-gray-500{background-color:var(--color-gray-500)!important}.bg-gray-600{background-color:var(--color-gray-600)!important}.bg-gray-700{background-color:var(--color-gray-700)!important}.bg-gray-900{background-color:var(--color-gray-900)!important}.bg-green-100{background-color:var(--color-green-100)!important}.bg-green-500{background-color:var(--color-green-500)!important}.bg-indigo-50{background-color:var(--color-indigo-50)!important}.bg-orange-100{background-color:var(--color-orange-100)!important}.bg-red-50{background-color:var(--color-red-50)!important}.bg-red-500{background-color:var(--color-red-500)!important}.bg-sky-50\/30{background-color:#f0f9ff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-sky-50\/30{background-color:color-mix(in oklab,var(--color-sky-50)30%,transparent)!important}}.bg-sky-100{background-color:var(--color-sky-100)!important}.bg-stone-300{background-color:var(--color-stone-300)!important}.bg-stone-400{background-color:var(--color-stone-400)!important}.bg-theme-dark-container{background-color:#232734!important}.bg-theme-light{background-color:#f7f7f7!important}.bg-theme-primary{background-color:#0069fe!important}.bg-transparent{background-color:#0000!important}.bg-white{background-color:var(--color-white)!important}.bg-white\/30{background-color:#ffffff4d!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/30{background-color:color-mix(in oklab,var(--color-white)30%,transparent)!important}}.bg-white\/60{background-color:#fff9!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/60{background-color:color-mix(in oklab,var(--color-white)60%,transparent)!important}}.bg-white\/80{background-color:#fffc!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)!important}}.bg-white\/90{background-color:#ffffffe6!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/90{background-color:color-mix(in oklab,var(--color-white)90%,transparent)!important}}.bg-white\/95{background-color:#fffffff2!important}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white)95%,transparent)!important}}.bg-zinc-100{background-color:var(--color-zinc-100)!important}.bg-zinc-400{background-color:var(--color-zinc-400)!important}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab!important}.bg-gradient-to-b,.bg-gradient-to-br{background-image:linear-gradient(var(--tw-gradient-stops))!important}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab!important}.bg-gradient-to-r{--tw-gradient-position:to right in oklab!important}.bg-gradient-to-r,.bg-gradient-to-tr{background-image:linear-gradient(var(--tw-gradient-stops))!important}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab!important}.bg-button-gradient{background-image:linear-gradient(90deg,#00daef,#105eff)!important}.from-\[\#31afff\]{--tw-gradient-from:#31afff!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-50{--tw-gradient-from:var(--color-blue-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-100{--tw-gradient-from:var(--color-blue-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-400{--tw-gradient-from:var(--color-blue-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-blue-500{--tw-gradient-from:var(--color-blue-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-emerald-400{--tw-gradient-from:var(--color-emerald-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-gray-50{--tw-gradient-from:var(--color-gray-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-gray-100{--tw-gradient-from:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-green-50{--tw-gradient-from:var(--color-green-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-indigo-500{--tw-gradient-from:var(--color-indigo-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-orange-400{--tw-gradient-from:var(--color-orange-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-orange-500{--tw-gradient-from:var(--color-orange-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-red-400{--tw-gradient-from:var(--color-red-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-sky-500{--tw-gradient-from:var(--color-sky-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-50{--tw-gradient-from:var(--color-slate-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-100{--tw-gradient-from:var(--color-slate-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-slate-400{--tw-gradient-from:var(--color-slate-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-teal-400{--tw-gradient-from:var(--color-teal-400)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-transparent{--tw-gradient-from:transparent!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.from-violet-500{--tw-gradient-from:var(--color-violet-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.via-blue-600{--tw-gradient-via:var(--color-blue-600)!important;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.via-gray-50{--tw-gradient-via:var(--color-gray-50)!important;--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.via-gray-200\/60{--tw-gradient-via:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.via-gray-200\/60{--tw-gradient-via:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.via-gray-200\/60{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-via-stops)!important}.to-\[\#1677ff\]{--tw-gradient-to:#1677ff!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-amber-500{--tw-gradient-to:var(--color-amber-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-50\/30{--tw-gradient-to:#eff6ff4d!important}@supports (color:color-mix(in lab,red,red)){.to-blue-50\/30{--tw-gradient-to:color-mix(in oklab,var(--color-blue-50)30%,transparent)!important}}.to-blue-50\/30{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-100\/50{--tw-gradient-to:#dbeafe80!important}@supports (color:color-mix(in lab,red,red)){.to-blue-100\/50{--tw-gradient-to:color-mix(in oklab,var(--color-blue-100)50%,transparent)!important}}.to-blue-100\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-blue-500{--tw-gradient-to:var(--color-blue-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-cyan-500{--tw-gradient-to:var(--color-cyan-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-cyan-600{--tw-gradient-to:var(--color-cyan-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-emerald-50{--tw-gradient-to:var(--color-emerald-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-50{--tw-gradient-to:var(--color-gray-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-100{--tw-gradient-to:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-gray-500{--tw-gradient-to:var(--color-gray-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-green-100\/50{--tw-gradient-to:#dcfce780!important}@supports (color:color-mix(in lab,red,red)){.to-green-100\/50{--tw-gradient-to:color-mix(in oklab,var(--color-green-100)50%,transparent)!important}}.to-green-100\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-green-500{--tw-gradient-to:var(--color-green-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-50\/50{--tw-gradient-to:#eef2ff80!important}@supports (color:color-mix(in lab,red,red)){.to-indigo-50\/50{--tw-gradient-to:color-mix(in oklab,var(--color-indigo-50)50%,transparent)!important}}.to-indigo-50\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-500{--tw-gradient-to:var(--color-indigo-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-indigo-600{--tw-gradient-to:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-purple-500{--tw-gradient-to:var(--color-purple-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-purple-600{--tw-gradient-to:var(--color-purple-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-red-500{--tw-gradient-to:var(--color-red-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-slate-50{--tw-gradient-to:var(--color-slate-50)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-teal-600{--tw-gradient-to:var(--color-teal-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.to-transparent{--tw-gradient-to:transparent!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.bg-cover{background-size:cover!important}.bg-center{background-position:50%!important}.object-contain{object-fit:contain!important}.object-cover{object-fit:cover!important}.\!p-0{padding:calc(var(--spacing)*0)!important}.\!p-2{padding:calc(var(--spacing)*2)!important}.p-0{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-1\.5{padding:calc(var(--spacing)*1.5)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-3{padding:calc(var(--spacing)*3)!important}.p-3\.5{padding:calc(var(--spacing)*3.5)!important}.p-4{padding:calc(var(--spacing)*4)!important}.p-5{padding:calc(var(--spacing)*5)!important}.p-6{padding:calc(var(--spacing)*6)!important}.p-10{padding:calc(var(--spacing)*10)!important}.px-0{padding-inline:calc(var(--spacing)*0)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-5{padding-inline:calc(var(--spacing)*5)!important}.px-6{padding-inline:calc(var(--spacing)*6)!important}.px-8{padding-inline:calc(var(--spacing)*8)!important}.px-28{padding-inline:calc(var(--spacing)*28)!important}.py-0\.5{padding-block:calc(var(--spacing)*.5)!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-2{padding-block:calc(var(--spacing)*2)!important}.py-2\.5{padding-block:calc(var(--spacing)*2.5)!important}.py-3{padding-block:calc(var(--spacing)*3)!important}.py-4{padding-block:calc(var(--spacing)*4)!important}.py-5{padding-block:calc(var(--spacing)*5)!important}.py-6{padding-block:calc(var(--spacing)*6)!important}.py-8{padding-block:calc(var(--spacing)*8)!important}.py-10{padding-block:calc(var(--spacing)*10)!important}.py-12{padding-block:calc(var(--spacing)*12)!important}.py-16{padding-block:calc(var(--spacing)*16)!important}.pt-0{padding-top:calc(var(--spacing)*0)!important}.pt-1{padding-top:calc(var(--spacing)*1)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pt-3{padding-top:calc(var(--spacing)*3)!important}.pt-4{padding-top:calc(var(--spacing)*4)!important}.pt-6{padding-top:calc(var(--spacing)*6)!important}.pt-8{padding-top:calc(var(--spacing)*8)!important}.pt-12{padding-top:calc(var(--spacing)*12)!important}.pr-0{padding-right:calc(var(--spacing)*0)!important}.pr-1{padding-right:calc(var(--spacing)*1)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pr-4{padding-right:calc(var(--spacing)*4)!important}.pr-8{padding-right:calc(var(--spacing)*8)!important}.pr-10{padding-right:calc(var(--spacing)*10)!important}.pr-11{padding-right:calc(var(--spacing)*11)!important}.pb-0{padding-bottom:calc(var(--spacing)*0)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.pb-3{padding-bottom:calc(var(--spacing)*3)!important}.pb-4{padding-bottom:calc(var(--spacing)*4)!important}.pb-6{padding-bottom:calc(var(--spacing)*6)!important}.pb-8{padding-bottom:calc(var(--spacing)*8)!important}.pb-12{padding-bottom:calc(var(--spacing)*12)!important}.pl-0{padding-left:calc(var(--spacing)*0)!important}.pl-1{padding-left:calc(var(--spacing)*1)!important}.pl-2{padding-left:calc(var(--spacing)*2)!important}.pl-4{padding-left:calc(var(--spacing)*4)!important}.pl-6{padding-left:calc(var(--spacing)*6)!important}.pl-10{padding-left:calc(var(--spacing)*10)!important}.pl-12{padding-left:calc(var(--spacing)*12)!important}.\!text-left{text-align:left!important}.text-center{text-align:center!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.align-middle{vertical-align:middle!important}.font-mono{font-family:var(--font-mono)!important}.\!text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.\!text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-3xl{font-size:var(--text-3xl)!important;line-height:var(--tw-leading,var(--text-3xl--line-height))!important}.text-4xl{font-size:var(--text-4xl)!important;line-height:var(--tw-leading,var(--text-4xl--line-height))!important}.text-6xl{font-size:var(--text-6xl)!important;line-height:var(--tw-leading,var(--text-6xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.text-\[8px\]{font-size:8px!important}.text-\[9px\]{font-size:9px!important}.text-\[10px\]{font-size:10px!important}.text-\[11px\]{font-size:11px!important}.text-\[12px\]{font-size:12px!important}.text-\[13px\]{font-size:13px!important}.text-\[14px\]{font-size:14px!important}.text-\[15px\]{font-size:15px!important}.leading-5{--tw-leading:calc(var(--spacing)*5)!important;line-height:calc(var(--spacing)*5)!important}.leading-6{--tw-leading:calc(var(--spacing)*6)!important;line-height:calc(var(--spacing)*6)!important}.leading-7{--tw-leading:calc(var(--spacing)*7)!important;line-height:calc(var(--spacing)*7)!important}.leading-8{--tw-leading:calc(var(--spacing)*8)!important;line-height:calc(var(--spacing)*8)!important}.leading-10{--tw-leading:calc(var(--spacing)*10)!important;line-height:calc(var(--spacing)*10)!important}.leading-relaxed{--tw-leading:var(--leading-relaxed)!important;line-height:var(--leading-relaxed)!important}.leading-tight{--tw-leading:var(--leading-tight)!important;line-height:var(--leading-tight)!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.font-semibold{--tw-font-weight:var(--font-weight-semibold)!important;font-weight:var(--font-weight-semibold)!important}.tracking-\[-0\.01em\]{--tw-tracking:-.01em!important;letter-spacing:-.01em!important}.tracking-tight{--tw-tracking:var(--tracking-tight)!important;letter-spacing:var(--tracking-tight)!important}.tracking-wider{--tw-tracking:var(--tracking-wider)!important;letter-spacing:var(--tracking-wider)!important}.break-words{overflow-wrap:break-word!important}.break-all{word-break:break-all!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-normal{white-space:normal!important}.whitespace-nowrap{white-space:nowrap!important}.whitespace-pre{white-space:pre!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.\!text-blue-500{color:var(--color-blue-500)!important}.\!text-gray-500{color:var(--color-gray-500)!important}.\!text-gray-800{color:var(--color-gray-800)!important}.\!text-green-500{color:var(--color-green-500)!important}.\!text-orange-500{color:var(--color-orange-500)!important}.\!text-red-500{color:var(--color-red-500)!important}.\!text-yellow-500{color:var(--color-yellow-500)!important}.text-\[\#0C75FC\],.text-\[\#0c75fc\]{color:#0c75fc!important}.text-\[\#1c2533\]{color:#1c2533!important}.text-\[\#2AA3FF\]{color:#2aa3ff!important}.text-\[\#5a626d\]{color:#5a626d!important}.text-\[\#878c93\]{color:#878c93!important}.text-\[\#1890ff\]{color:#1890ff!important}.text-\[\#121417\]{color:#121417!important}.text-\[\#525964\]{color:#525964!important}.text-\[rgb\(82\,196\,26\)\]{color:#52c41a!important}.text-\[rgb\(255\,77\,79\)\]{color:#ff4d4f!important}.text-\[rgba\(0\,0\,0\,0\.45\)\]{color:#00000073!important}.text-\[rgba\(0\,0\,0\,0\.85\)\]{color:#000000d9!important}.text-amber-400{color:var(--color-amber-400)!important}.text-amber-500{color:var(--color-amber-500)!important}.text-black{color:var(--color-black)!important}.text-blue-400{color:var(--color-blue-400)!important}.text-blue-500{color:var(--color-blue-500)!important}.text-blue-600{color:var(--color-blue-600)!important}.text-blue-700{color:var(--color-blue-700)!important}.text-cyan-500{color:var(--color-cyan-500)!important}.text-default{color:#0c75fc!important}.text-emerald-500{color:var(--color-emerald-500)!important}.text-emerald-600{color:var(--color-emerald-600)!important}.text-gray-200{color:var(--color-gray-200)!important}.text-gray-300{color:var(--color-gray-300)!important}.text-gray-400{color:var(--color-gray-400)!important}.text-gray-500{color:var(--color-gray-500)!important}.text-gray-600{color:var(--color-gray-600)!important}.text-gray-700{color:var(--color-gray-700)!important}.text-gray-800{color:var(--color-gray-800)!important}.text-gray-900{color:var(--color-gray-900)!important}.text-green-300{color:var(--color-green-300)!important}.text-green-400{color:var(--color-green-400)!important}.text-green-500{color:var(--color-green-500)!important}.text-green-600{color:var(--color-green-600)!important}.text-green-700{color:var(--color-green-700)!important}.text-indigo-500{color:var(--color-indigo-500)!important}.text-indigo-600{color:var(--color-indigo-600)!important}.text-neutral-500{color:var(--color-neutral-500)!important}.text-orange-500{color:var(--color-orange-500)!important}.text-purple-500{color:var(--color-purple-500)!important}.text-red-400{color:var(--color-red-400)!important}.text-red-500{color:var(--color-red-500)!important}.text-red-600{color:var(--color-red-600)!important}.text-sky-500{color:var(--color-sky-500)!important}.text-slate-400{color:var(--color-slate-400)!important}.text-slate-700{color:var(--color-slate-700)!important}.text-slate-900{color:var(--color-slate-900)!important}.text-theme-primary{color:#0069fe!important}.text-white{color:var(--color-white)!important}.text-yellow-400{color:var(--color-yellow-400)!important}.text-yellow-500{color:var(--color-yellow-500)!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.italic{font-style:italic!important}.ordinal{--tw-ordinal:ordinal!important;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)!important}.underline{text-decoration-line:underline!important}.opacity-0{opacity:0!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-60{opacity:.6!important}.opacity-70{opacity:.7!important}.opacity-75{opacity:.75!important}.opacity-80{opacity:.8!important}.opacity-100{opacity:1!important}.\!shadow-none{--tw-shadow:0 0 #0000!important}.\!shadow-none,.shadow{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.shadow-\[0_8px_32px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0 8px 32px var(--tw-shadow-color,#0000000f)!important}.shadow-\[0_8px_32px_rgba\(0\,0\,0\,0\.06\)\],.shadow-lg{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important}.shadow-md,.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important}.ring-1,.ring-2{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(4px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-blue-500\/10{--tw-shadow-color:#3080ff1a!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/10{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)10%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/20{--tw-shadow-color:#3080ff33!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)20%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/25{--tw-shadow-color:#3080ff40!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-blue-500\/30{--tw-shadow-color:#3080ff4d!important}@supports (color:color-mix(in lab,red,red)){.shadow-blue-500\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-emerald-500\/25{--tw-shadow-color:#00bb7f40!important}@supports (color:color-mix(in lab,red,red)){.shadow-emerald-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-gray-200\/50{--tw-shadow-color:#e5e7eb80!important}@supports (color:color-mix(in lab,red,red)){.shadow-gray-200\/50{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-200)50%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-green-500\/30{--tw-shadow-color:#00c7584d!important}@supports (color:color-mix(in lab,red,red)){.shadow-green-500\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-green-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.shadow-red-200{--tw-shadow-color:oklch(88.5% .062 18.334)!important}@supports (color:color-mix(in lab,red,red)){.shadow-red-200{--tw-shadow-color:color-mix(in oklab,var(--color-red-200)var(--tw-shadow-alpha),transparent)!important}}.shadow-sky-500\/25{--tw-shadow-color:#00a5ef40!important}@supports (color:color-mix(in lab,red,red)){.shadow-sky-500\/25{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-sky-500)25%,transparent)var(--tw-shadow-alpha),transparent)!important}}.ring-blue-500\/5{--tw-ring-color:#3080ff0d!important}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\/5{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)!important}}.ring-gray-100{--tw-ring-color:var(--color-gray-100)!important}.ring-gray-200{--tw-ring-color:var(--color-gray-200)!important}.ring-gray-200\/60{--tw-ring-color:#e5e7eb99!important}@supports (color:color-mix(in lab,red,red)){.ring-gray-200\/60{--tw-ring-color:color-mix(in oklab,var(--color-gray-200)60%,transparent)!important}}.ring-indigo-500\/5{--tw-ring-color:#625fff0d!important}@supports (color:color-mix(in lab,red,red)){.ring-indigo-500\/5{--tw-ring-color:color-mix(in oklab,var(--color-indigo-500)5%,transparent)!important}}.ring-white{--tw-ring-color:var(--color-white)!important}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026))!important;--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm))!important}.drop-shadow-sm,.grayscale{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.grayscale{--tw-grayscale:grayscale(100%)!important}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px)!important}.backdrop-blur,.backdrop-blur-\[2px\]{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px)!important}.backdrop-blur-lg{--tw-backdrop-blur:blur(var(--blur-lg))!important}.backdrop-blur-lg,.backdrop-blur-md{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md))!important}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm))!important}.backdrop-blur-sm,.backdrop-blur-xl{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl))!important}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-\[width\]{transition-property:width!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-opacity{transition-property:opacity!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-shadow{transition-property:box-shadow!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-transform{transition-property:transform,translate,scale,rotate!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-200{--tw-duration:.2s!important;transition-duration:.2s!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.duration-400{--tw-duration:.4s!important;transition-duration:.4s!important}.duration-500{--tw-duration:.5s!important;transition-duration:.5s!important}.ease-\[cubic-bezier\(0\.4\,0\,0\.2\,1\)\]{--tw-ease:cubic-bezier(.4,0,.2,1)!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}@media (hover:hover){.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%!important;--tw-scale-y:110%!important;--tw-scale-z:110%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)!important}.group-hover\:text-gray-900:is(:where(.group):hover *){color:var(--color-gray-900)!important}.group-hover\:text-indigo-500:is(:where(.group):hover *){color:var(--color-indigo-500)!important}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1!important}.group-hover\:shadow-lg:is(:where(.group):hover *){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.group-hover\/item\:opacity-100:is(:where(.group\/item):hover *){opacity:1!important}}.first-line\:leading-6:first-line{--tw-leading:calc(var(--spacing)*6)!important;line-height:calc(var(--spacing)*6)!important}.placeholder\:\!text-gray-400::placeholder{color:var(--color-gray-400)!important}@media (hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%!important;--tw-scale-y:105%!important;--tw-scale-z:105%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.hover\:rounded-md:hover{border-radius:var(--radius-md)!important}.hover\:border-\[\#0c75fc\]:hover{border-color:#0c75fc!important}.hover\:border-blue-200\/60:hover{border-color:#bedbff99!important}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-200\/60:hover{border-color:color-mix(in oklab,var(--color-blue-200)60%,transparent)!important}}.hover\:border-blue-300:hover{border-color:var(--color-blue-300)!important}.hover\:border-blue-400:hover{border-color:var(--color-blue-400)!important}.hover\:border-gray-200:hover{border-color:var(--color-gray-200)!important}.hover\:border-gray-200\/80:hover{border-color:#e5e7ebcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:border-gray-200\/80:hover{border-color:color-mix(in oklab,var(--color-gray-200)80%,transparent)!important}}.hover\:border-gray-300:hover{border-color:var(--color-gray-300)!important}.hover\:bg-\[\#F1F5F9\]:hover{background-color:#f1f5f9!important}.hover\:bg-\[\#f5faff\]:hover{background-color:#f5faff!important}.hover\:bg-\[rgb\(221\,221\,221\,0\.6\)\]:hover{background-color:#ddd9!important}.hover\:bg-amber-50\/60:hover{background-color:#fffbeb99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-50\/60:hover{background-color:color-mix(in oklab,var(--color-amber-50)60%,transparent)!important}}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)!important}.hover\:bg-blue-50\/60:hover{background-color:#eff6ff99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/60:hover{background-color:color-mix(in oklab,var(--color-blue-50)60%,transparent)!important}}.hover\:bg-blue-50\/80:hover{background-color:#eff6ffcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-50\/80:hover{background-color:color-mix(in oklab,var(--color-blue-50)80%,transparent)!important}}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)!important}.hover\:bg-gray-50\/40:hover{background-color:#f9fafb66!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/40:hover{background-color:color-mix(in oklab,var(--color-gray-50)40%,transparent)!important}}.hover\:bg-gray-50\/60:hover{background-color:#f9fafb99!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/60:hover{background-color:color-mix(in oklab,var(--color-gray-50)60%,transparent)!important}}.hover\:bg-gray-50\/80:hover{background-color:#f9fafbcc!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-50\/80:hover{background-color:color-mix(in oklab,var(--color-gray-50)80%,transparent)!important}}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)!important}.hover\:bg-gray-100\/50:hover{background-color:#f3f4f680!important}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-100\/50:hover{background-color:color-mix(in oklab,var(--color-gray-100)50%,transparent)!important}}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)!important}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)!important}.hover\:bg-indigo-50:hover{background-color:var(--color-indigo-50)!important}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)!important}.hover\:bg-red-50:hover{background-color:var(--color-red-50)!important}.hover\:bg-red-100:hover{background-color:var(--color-red-100)!important}.hover\:bg-red-500:hover{background-color:var(--color-red-500)!important}.hover\:bg-slate-50:hover{background-color:var(--color-slate-50)!important}.hover\:bg-white:hover{background-color:var(--color-white)!important}.hover\:from-blue-600:hover{--tw-gradient-from:var(--color-blue-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:from-gray-100:hover{--tw-gradient-from:var(--color-gray-100)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:from-indigo-600:hover{--tw-gradient-from:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:to-indigo-600:hover{--tw-gradient-to:var(--color-indigo-600)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:to-indigo-700:hover{--tw-gradient-to:var(--color-indigo-700)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.hover\:p-0:hover{padding:calc(var(--spacing)*0)!important}.hover\:\!text-gray-200:hover{color:var(--color-gray-200)!important}.hover\:text-\[\#0c75fc\]:hover{color:#0c75fc!important}.hover\:text-amber-600:hover{color:var(--color-amber-600)!important}.hover\:text-blue-500:hover{color:var(--color-blue-500)!important}.hover\:text-blue-600:hover{color:var(--color-blue-600)!important}.hover\:text-blue-700:hover{color:var(--color-blue-700)!important}.hover\:text-gray-600:hover{color:var(--color-gray-600)!important}.hover\:text-gray-700:hover{color:var(--color-gray-700)!important}.hover\:text-gray-900:hover{color:var(--color-gray-900)!important}.hover\:text-indigo-500:hover{color:var(--color-indigo-500)!important}.hover\:text-orange-500:hover{color:var(--color-orange-500)!important}.hover\:text-red-500:hover{color:var(--color-red-500)!important}.hover\:text-red-600:hover{color:var(--color-red-600)!important}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-lg:hover,.hover\:shadow-md:hover{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-sm:hover,.hover\:shadow-xl:hover{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important}.hover\:shadow-blue-100:hover{--tw-shadow-color:oklch(93.2% .032 255.585)!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-blue-100:hover{--tw-shadow-color:color-mix(in oklab,var(--color-blue-100)var(--tw-shadow-alpha),transparent)!important}}.hover\:shadow-blue-500\/30:hover{--tw-shadow-color:#3080ff4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-blue-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-blue-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:shadow-emerald-500\/30:hover{--tw-shadow-color:#00bb7f4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-emerald-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-emerald-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:shadow-sky-500\/30:hover{--tw-shadow-color:#00a5ef4d!important}@supports (color:color-mix(in lab,red,red)){.hover\:shadow-sky-500\/30:hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-sky-500)30%,transparent)var(--tw-shadow-alpha),transparent)!important}}.hover\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)!important}}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}@media (min-width:40rem){.sm\:mr-4{margin-right:calc(var(--spacing)*4)!important}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.sm\:px-6{padding-inline:calc(var(--spacing)*6)!important}}@media (min-width:48rem){.md\:max-w-\[80\%\]{max-width:80%!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md\:p-4{padding:calc(var(--spacing)*4)!important}.md\:p-6{padding:calc(var(--spacing)*6)!important}.md\:px-5{padding-inline:calc(var(--spacing)*5)!important}.md\:px-6{padding-inline:calc(var(--spacing)*6)!important}.md\:py-6{padding-block:calc(var(--spacing)*6)!important}}@media (min-width:64rem){.lg\:col-span-5{grid-column:span 5/span 5!important}.lg\:col-span-7{grid-column:span 7/span 7!important}.lg\:w-full{width:100%!important}.lg\:max-w-\[70\%\]{max-width:70%!important}.lg\:max-w-\[80\%\]{max-width:80%!important}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lg\:px-8{padding-inline:calc(var(--spacing)*8)!important}}@media (min-width:80rem){.xl\:w-full{width:100%!important}.xl\:max-w-\[1600px\]{max-width:1600px!important}}@media (min-width:96rem){.\32 xl\:max-w-\[2000px\]{max-width:2000px!important}.\32 xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}}.dark\:border-\[\#0c75fc\]:is(.dark *){border-color:#0c75fc!important}.dark\:border-\[\#6f7f95\]:is(.dark *){border-color:#6f7f95!important}.dark\:border-\[\#ffffff66\]:is(.dark *){border-color:#fff6!important}.dark\:border-\[rgba\(217\,217\,217\,0\.85\)\]:is(.dark *){border-color:#d9d9d9d9!important}.dark\:border-\[rgba\(255\,255\,255\,0\.6\)\]:is(.dark *){border-color:#fff9!important}.dark\:border-blue-800:is(.dark *){border-color:var(--color-blue-800)!important}.dark\:border-gray-500:is(.dark *){border-color:var(--color-gray-500)!important}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)!important}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)!important}.dark\:border-gray-700\/50:is(.dark *){border-color:#36415380!important}@supports (color:color-mix(in lab,red,red)){.dark\:border-gray-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)!important}}.dark\:border-gray-800:is(.dark *){border-color:var(--color-gray-800)!important}.dark\:border-orange-700:is(.dark *){border-color:var(--color-orange-700)!important}.dark\:border-white:is(.dark *){border-color:var(--color-white)!important}.dark\:\!bg-gray-800:is(.dark *){background-color:var(--color-gray-800)!important}.dark\:bg-\[\#1F1F1F\]:is(.dark *),.dark\:bg-\[\#1f1f1f\]:is(.dark *){background-color:#1f1f1f!important}.dark\:bg-\[\#6f7f95\]:is(.dark *){background-color:#6f7f95!important}.dark\:bg-\[\#6f7f95\]\/60:is(.dark *){background-color:oklab(59.1432% -.00910476 -.0376163/.6)!important}.dark\:bg-\[\#111\]:is(.dark *){background-color:#111!important}.dark\:bg-\[\#212121\]:is(.dark *){background-color:#212121!important}.dark\:bg-\[\#232734\]:is(.dark *){background-color:#232734!important}.dark\:bg-\[\#242733\]:is(.dark *){background-color:#242733!important}.dark\:bg-\[\#484848\]:is(.dark *){background-color:#484848!important}.dark\:bg-\[\#606264\]:is(.dark *){background-color:#606264!important}.dark\:bg-\[\#ffffff29\]:is(.dark *),.dark\:bg-\[rgba\(255\,255\,255\,0\.16\)\]:is(.dark *){background-color:#ffffff29!important}.dark\:bg-black:is(.dark *){background-color:var(--color-black)!important}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)!important}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1c398e33!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)!important}}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)!important}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)!important}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1e293980!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)!important}}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)!important}.dark\:bg-gray-900\/80:is(.dark *){background-color:#101828cc!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/80:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900)80%,transparent)!important}}.dark\:bg-indigo-900\/20:is(.dark *){background-color:#312c8533!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900)20%,transparent)!important}}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7e2a0c4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900)30%,transparent)!important}}.dark\:bg-slate-800:is(.dark *){background-color:var(--color-slate-800)!important}.dark\:bg-theme-dark:is(.dark *){background-color:#151622!important}.dark\:bg-theme-dark-container:is(.dark *){background-color:#232734!important}.dark\:bg-transparent:is(.dark *){background-color:#0000!important}.dark\:bg-white:is(.dark *){background-color:var(--color-white)!important}.dark\:dark\:bg-theme-dark:is(.dark *):is(.dark *){background-color:#151622!important}.dark\:\!text-gray-200:is(.dark *){color:var(--color-gray-200)!important}.dark\:text-\[rgba\(255\,255\,255\,0\.7\)\]:is(.dark *){color:#ffffffb3!important}.dark\:text-\[rgba\(255\,255\,255\,0\.65\)\]:is(.dark *){color:#ffffffa6!important}.dark\:text-\[rgba\(255\,255\,255\,0\.85\)\]:is(.dark *){color:#ffffffd9!important}.dark\:text-black:is(.dark *){color:var(--color-black)!important}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)!important}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)!important}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)!important}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)!important}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)!important}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)!important}.dark\:text-gray-500:is(.dark *){color:var(--color-gray-500)!important}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)!important}.dark\:text-gray-900:is(.dark *){color:var(--color-gray-900)!important}.dark\:text-indigo-400:is(.dark *){color:var(--color-indigo-400)!important}.dark\:text-white:is(.dark *){color:var(--color-white)!important}.dark\:ring-gray-700:is(.dark *){--tw-ring-color:var(--color-gray-700)!important}@media (hover:hover){.dark\:group-hover\:text-gray-200:is(.dark *):is(:where(.group):hover *){color:var(--color-gray-200)!important}.dark\:hover\:border-\[rgba\(12\,117\,252\,0\.85\)\]:is(.dark *):hover{border-color:#0c75fcd9!important}.dark\:hover\:border-blue-500:is(.dark *):hover{border-color:var(--color-blue-500)!important}.dark\:hover\:border-blue-600:is(.dark *):hover{border-color:var(--color-blue-600)!important}.dark\:hover\:border-gray-600:is(.dark *):hover{border-color:var(--color-gray-600)!important}.dark\:hover\:bg-\[\#2A2A2A\]:is(.dark *):hover{background-color:#2a2a2a!important}.dark\:hover\:bg-\[\#606264\]:is(.dark *):hover{background-color:#606264!important}.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:#1c398e33!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-blue-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)!important}}.dark\:hover\:bg-blue-900\/30:is(.dark *):hover{background-color:#1c398e4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-blue-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)!important}}.dark\:hover\:bg-gray-100:is(.dark *):hover{background-color:var(--color-gray-100)!important}.dark\:hover\:bg-gray-200:is(.dark *):hover{background-color:var(--color-gray-200)!important}.dark\:hover\:bg-gray-600:is(.dark *):hover{background-color:var(--color-gray-600)!important}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)!important}.dark\:hover\:bg-gray-800:is(.dark *):hover{background-color:var(--color-gray-800)!important}.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:#1e293980!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-800)50%,transparent)!important}}.dark\:hover\:bg-red-900\/30:is(.dark *):hover{background-color:#82181a4d!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-red-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)!important}}.dark\:hover\:bg-theme-dark:is(.dark *):hover{background-color:#151622!important}.hover\:dark\:bg-black:hover:is(.dark *){background-color:var(--color-black)!important}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)!important}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)!important}.dark\:hover\:text-white:is(.dark *):hover{color:var(--color-white)!important}.dark\:hover\:shadow-gray-900\/20:is(.dark *):hover{--tw-shadow-color:#10182833!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:shadow-gray-900\/20:is(.dark *):hover{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-gray-900)20%,transparent)var(--tw-shadow-alpha),transparent)!important}}.dark\:hover\:ring-blue-500\/50:is(.dark *):hover{--tw-ring-color:#3080ff80!important}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:ring-blue-500\/50:is(.dark *):hover{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)!important}}}.\[\&_\.ant-collapse-content-box\]\:\!p-0 .ant-collapse-content-box{padding:calc(var(--spacing)*0)!important}.\[\&_\.ant-collapse-header\]\:\!p-2 .ant-collapse-header{padding:calc(var(--spacing)*2)!important}.\[\&_\.ant-form-item-label\>label\]\:text-xs .ant-form-item-label>label{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.\[\&_\.ant-form-item-label\>label\]\:font-medium .ant-form-item-label>label{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.\[\&_\.ant-form-item-label\>label\]\:tracking-wider .ant-form-item-label>label{--tw-tracking:var(--tracking-wider)!important;letter-spacing:var(--tracking-wider)!important}.\[\&_\.ant-form-item-label\>label\]\:text-gray-500 .ant-form-item-label>label{color:var(--color-gray-500)!important}.\[\&_\.ant-form-item-label\>label\]\:uppercase .ant-form-item-label>label{text-transform:uppercase!important}.\[\&_\.ant-modal-content\]\:overflow-hidden .ant-modal-content{overflow:hidden!important}.\[\&_\.ant-modal-content\]\:rounded-2xl .ant-modal-content{border-radius:var(--radius-2xl)!important}.\[\&_\.ant-modal-content\]\:rounded-xl .ant-modal-content{border-radius:var(--radius-xl)!important}.\[\&_\.ant-modal-content\]\:shadow-2xl .ant-modal-content{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.\[\&_\.ant-modal-header\]\:border-b-0 .ant-modal-header{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:0!important}.\[\&_\.ant-modal-header\]\:pb-0 .ant-modal-header{padding-bottom:calc(var(--spacing)*0)!important}.\[\&_\.ant-popover-inner\]\:\!rounded-lg .ant-popover-inner{border-radius:var(--radius-lg)!important}.\[\&_\.ant-popover-inner\]\:\!rounded-xl .ant-popover-inner{border-radius:var(--radius-xl)!important}.\[\&_\.ant-popover-inner\]\:\!p-0 .ant-popover-inner{padding:calc(var(--spacing)*0)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-lg .ant-popover-inner{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-lg .ant-popover-inner,.\[\&_\.ant-popover-inner\]\:\!shadow-xl .ant-popover-inner{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.\[\&_\.ant-popover-inner\]\:\!shadow-xl .ant-popover-inner{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important}.\[\&_\.ant-segmented-item-selected\]\:bg-\[\#0c75fc\]\/80 .ant-segmented-item-selected{background-color:oklab(59.1221% -.0432394 -.214627/.8)!important}.\[\&_\.ant-segmented-item-selected\]\:text-white .ant-segmented-item-selected{color:var(--color-white)!important}.\[\&_\.ant-select-selection-item\]\:\!max-w-\[100px\] .ant-select-selection-item{max-width:100px!important}.\[\&_\.ant-select-selection-item\]\:\!truncate .ant-select-selection-item{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.\[\&_\.ant-select-selector\]\:\!rounded-lg .ant-select-selector{border-radius:var(--radius-lg)!important}.\[\&_\.ant-select-selector\]\:\!pr-8 .ant-select-selector{padding-right:calc(var(--spacing)*8)!important}.\[\&_\.ant-tabs-content\]\:h-full .ant-tabs-content{height:100%!important}.\[\&_\.ant-tabs-content\]\:flex-1 .ant-tabs-content{flex:1!important}.\[\&_\.ant-tabs-content\]\:overflow-hidden .ant-tabs-content{overflow:hidden!important}.\[\&_\.ant-tabs-ink-bar\]\:\!h-\[2\.5px\] .ant-tabs-ink-bar{height:2.5px!important}.\[\&_\.ant-tabs-ink-bar\]\:\!rounded-full .ant-tabs-ink-bar{border-radius:3.40282e+38px!important}.\[\&_\.ant-tabs-ink-bar\]\:\!bg-gradient-to-r .ant-tabs-ink-bar{--tw-gradient-position:to right in oklab!important;background-image:linear-gradient(var(--tw-gradient-stops))!important}.\[\&_\.ant-tabs-ink-bar\]\:from-amber-500 .ant-tabs-ink-bar{--tw-gradient-from:var(--color-amber-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.\[\&_\.ant-tabs-ink-bar\]\:to-orange-500 .ant-tabs-ink-bar{--tw-gradient-to:var(--color-orange-500)!important;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))!important}.\[\&_\.ant-tabs-nav\]\:sticky .ant-tabs-nav{position:sticky!important}.\[\&_\.ant-tabs-nav\]\:top-0 .ant-tabs-nav{top:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-nav\]\:z-20 .ant-tabs-nav{z-index:20!important}.\[\&_\.ant-tabs-nav\]\:mb-0 .ant-tabs-nav{margin-bottom:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-nav\]\:px-5 .ant-tabs-nav{padding-inline:calc(var(--spacing)*5)!important}.\[\&_\.ant-tabs-nav\]\:pt-3 .ant-tabs-nav{padding-top:calc(var(--spacing)*3)!important}.\[\&_\.ant-tabs-tab\]\:my-0 .ant-tabs-tab{margin-block:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-tab\]\:\!mr-6 .ant-tabs-tab{margin-right:calc(var(--spacing)*6)!important}.\[\&_\.ant-tabs-tab\]\:\!px-0 .ant-tabs-tab{padding-inline:calc(var(--spacing)*0)!important}.\[\&_\.ant-tabs-tab\]\:\!py-2\.5 .ant-tabs-tab{padding-block:calc(var(--spacing)*2.5)!important}.\[\&_\.ant-tabs-tabpane\]\:h-full .ant-tabs-tabpane,.\[\&_\.gpt-vis\]\:h-full .gpt-vis{height:100%!important}.\[\&_\.gpt-vis\]\:flex-grow .gpt-vis{flex-grow:1!important}.\[\&_\.gpt-vis_pre\]\:m-0 .gpt-vis pre{margin:calc(var(--spacing)*0)!important}.\[\&_\.gpt-vis_pre\]\:flex .gpt-vis pre{display:flex!important}.\[\&_\.gpt-vis_pre\]\:h-full .gpt-vis pre{height:100%!important}.\[\&_\.gpt-vis_pre\]\:flex-grow .gpt-vis pre{flex-grow:1!important}.\[\&_\.gpt-vis_pre\]\:flex-col .gpt-vis pre{flex-direction:column!important}.\[\&_\.gpt-vis_pre\]\:border-0 .gpt-vis pre{border-style:var(--tw-border-style)!important;border-width:0!important}.\[\&_\.gpt-vis_pre\]\:bg-transparent .gpt-vis pre{background-color:#0000!important}.\[\&_\.gpt-vis_pre\]\:p-0 .gpt-vis pre{padding:calc(var(--spacing)*0)!important}.\[\&_table\]\:table table{display:table!important}}body{font-family:var(--joy-fontFamily-body,var(--joy-JosefinSans,sans-serif));line-height:var(--joy-lineHeight-md,1.5);--antd-primary-color:#0069fe;-webkit-tap-highlight-color:#0000;-webkit-appearance:none;margin:0}:root{--mcp-accent:#0069fe;--mcp-accent-rgb:0,105,254;--mcp-accent-light:#e8f1ff;--mcp-success:#10b981;--mcp-success-rgb:16,185,129;--mcp-danger:#ef4444;--mcp-warning:#f59e0b;--mcp-bg:#f8f9fc;--mcp-surface:#fff;--mcp-surface-hover:#f0f4ff;--mcp-border:#e5e7eb;--mcp-border-subtle:#f0f0f5;--mcp-text-primary:#0f172a;--mcp-text-secondary:#64748b;--mcp-text-tertiary:#94a3b8;--mcp-shadow-sm:0 1px 2px #0000000a;--mcp-shadow-md:0 4px 16px #0000000f;--mcp-shadow-lg:0 8px 32px #00000014;--mcp-shadow-glow:0 0 24px rgba(var(--mcp-accent-rgb),.12);--mcp-radius:12px;--mcp-radius-sm:8px;--mcp-radius-xs:6px;--mcp-transition:.2s cubic-bezier(.4,0,.2,1)}.dark{--mcp-bg:#0c0e14;--mcp-surface:#161a26;--mcp-surface-hover:#1e2333;--mcp-border:#2a2f3e;--mcp-border-subtle:#1e2230;--mcp-text-primary:#f1f5f9;--mcp-text-secondary:#8b95a8;--mcp-text-tertiary:#5b6478;--mcp-accent-light:#0d2254;--mcp-shadow-sm:0 1px 2px #0003;--mcp-shadow-md:0 4px 16px #0000004d;--mcp-shadow-lg:0 8px 32px #0006;--mcp-shadow-glow:0 0 32px rgba(var(--mcp-accent-rgb),.2)}.light{color:#333;background-color:#f7f7f7}.dark{color:#f7f7f7;background-color:#151622}.dark-sub-bg{background-color:#23262c}.ant-btn-primary{background-color:var(--antd-primary-color)}.ant-pagination .ant-pagination-next *,.ant-pagination .ant-pagination-prev *{color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item a{color:#b0b0bf}.ant-pagination .ant-pagination-item.ant-pagination-item-active{background-color:var(--antd-primary-color)!important}.ant-pagination .ant-pagination-item.ant-pagination-item-active a{color:#fff!important}.scrollbar-default::-webkit-scrollbar{width:6px;display:block}.scrollbar-hide::-webkit-scrollbar,::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888}::-webkit-scrollbar-thumb:hover{background:#555}.dark :where(.css-dev-only-do-not-override-18iikkb).ant-tabs .ant-tabs-tab-btn{color:#fff}:where(.css-dev-only-do-not-override-18iikkb).ant-form-item .ant-form-item-label>label{height:36px}@keyframes rotate{to{transform:rotate(1turn)}}.react-flow__panel{display:none!important}#home-container .ant-tabs-tab,#home-container .ant-tabs-tab-active{font-size:16px}#home-container .ant-card-body{padding:12px 24px}pre{white-space:pre-wrap;overflow:auto}pre,table{width:100%}table{table-layout:fixed;display:block}.rc-md-editor{height:inherit}.rc-md-editor .editor-container>.section{border-right:none!important}.ant-spin-nested-loading .ant-spin-container{flex-direction:column!important;height:100%!important;display:flex!important}.explore-grid,.skill-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;display:grid}@media (max-width:768px){.explore-grid,.skill-grid{grid-template-columns:1fr}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes pulse1{0%,to{background-color:#bdc0c4;transform:scale(1)}33.333%{background-color:#525964;transform:scale(1.5)}}@keyframes pulse2{0%,to{background-color:#bdc0c4;transform:scale(1)}33.333%{background-color:#bdc0c4;transform:scale(1)}66.666%{background-color:#525964;transform:scale(1.5)}}@keyframes pulse3{0%,66.666%{background-color:##bdc0c4;transform:scale(1)}to{background-color:#525964;transform:scale(1.5)}} \ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.html b/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.html index 934228eb..667b8c5a 100644 --- a/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.txt b/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.txt index c05f7055..8e32031f 100644 --- a/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[97585,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-1def2a896ab2dba1.js","1097","static/chunks/1097-d694f24844e74bad.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","9533","static/chunks/9533-eb48227b8f9d0885.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","2891","static/chunks/app/agent-skills/detail/page-04e5a6c465b63905.js"],"default"] +9:I[97585,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-b41c605520fe8a4c.js","1097","static/chunks/1097-d694f24844e74bad.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","9533","static/chunks/9533-eb48227b8f9d0885.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","2891","static/chunks/app/agent-skills/detail/page-04e5a6c465b63905.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/5dda26d2269b6aa1.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","agent-skills","detail",""],"i":false,"f":[[["",{"children":["agent-skills",{"children":["detail",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["agent-skills",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["detail",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","agent-skills","detail",""],"i":false,"f":[[["",{"children":["agent-skills",{"children":["detail",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["agent-skills",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["detail",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.html b/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.html index 26ac7c06..c7dff1d5 100644 --- a/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.txt b/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.txt index 7691f52f..bfbb5a3d 100644 --- a/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/agent-skills/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[63231,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","9776","static/chunks/9776-79e2746f6831402b.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6393","static/chunks/app/agent-skills/page-43d66ffdea87dacf.js"],"default"] +9:I[63231,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","9776","static/chunks/9776-3c17d84a1fa8df42.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6393","static/chunks/app/agent-skills/page-43d66ffdea87dacf.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/b7f0cdb4d0556bb6.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","agent-skills",""],"i":false,"f":[[["",{"children":["agent-skills",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["agent-skills",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","agent-skills",""],"i":false,"f":[[["",{"children":["agent-skills",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["agent-skills",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/application/app/index.html b/packages/derisk-app/src/derisk_app/static/web/application/app/index.html index 8df1bf09..842a753b 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/app/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/application/app/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/application/app/index.txt b/packages/derisk-app/src/derisk_app/static/web/application/app/index.txt index a600f6f3..e2aa3ed7 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/app/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/application/app/index.txt @@ -1,21 +1,21 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[80649,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","6079","static/chunks/363642f4-9b840659bef06edc.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-77d90170ec3795f8.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-c5e5522dab1d7517.js","4318","static/chunks/4318-ca58b4e94915463c.js","2783","static/chunks/2783-19dd57b4b6b84ee7.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-2fd1520c97bebce9.js","6074","static/chunks/6074-fa3e91fed801441c.js","2283","static/chunks/app/application/app/page-6b2fb6820b349571.js"],"default"] +9:I[80649,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","6079","static/chunks/363642f4-9b840659bef06edc.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-7b54882aecda9681.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-cd76708152178669.js","4318","static/chunks/4318-ca58b4e94915463c.js","2863","static/chunks/2863-6c494a29a839d949.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-9802abf9d3d8e2a3.js","6074","static/chunks/6074-7f16b8d1fd1a2091.js","2283","static/chunks/app/application/app/page-ec5d890230a5bc47.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/9cb37d7d23181e26.css","style"] :HL["/_next/static/css/879c4fe73b6fcdc7.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","application","app",""],"i":false,"f":[[["",{"children":["application",{"children":["app",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["app",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9cb37d7d23181e26.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","application","app",""],"i":false,"f":[[["",{"children":["application",{"children":["app",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["app",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9cb37d7d23181e26.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/application/explore/index.html b/packages/derisk-app/src/derisk_app/static/web/application/explore/index.html index cb5e3b7c..37bcb9d8 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/explore/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/application/explore/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/application/explore/index.txt b/packages/derisk-app/src/derisk_app/static/web/application/explore/index.txt index a0d938bb..401264d1 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/explore/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/application/explore/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[92509,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","6467","static/chunks/6467-a092bcab27dc022a.js","5887","static/chunks/5887-f1d2c509cde5d113.js","1242","static/chunks/1242-041500d33acab3f9.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","4703","static/chunks/app/application/explore/page-7f4f988a9c36553b.js"],"default"] +9:I[92509,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","6467","static/chunks/6467-6c62fed6168373f0.js","5887","static/chunks/5887-f4e1d49b3242987e.js","1242","static/chunks/1242-041500d33acab3f9.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","4703","static/chunks/app/application/explore/page-7f4f988a9c36553b.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/00e33852a2a8571b.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","application","explore",""],"i":false,"f":[[["",{"children":["application",{"children":["explore",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["explore",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/00e33852a2a8571b.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","application","explore",""],"i":false,"f":[[["",{"children":["application",{"children":["explore",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["explore",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/00e33852a2a8571b.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/application/index.html b/packages/derisk-app/src/derisk_app/static/web/application/index.html index 8c2908ce..98d9b519 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/application/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/application/index.txt b/packages/derisk-app/src/derisk_app/static/web/application/index.txt index a097167a..f67e3358 100644 --- a/packages/derisk-app/src/derisk_app/static/web/application/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/application/index.txt @@ -1,6 +1,6 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] @@ -12,8 +12,8 @@ e:I[74911,[],"AsyncMetadataOutlet"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","application",""],"i":false,"f":[[["",{"children":["application",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","application",""],"i":false,"f":[[["",{"children":["application",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["application",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/create/index.html b/packages/derisk-app/src/derisk_app/static/web/channel/create/index.html index c4c6dedc..4c91a176 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/create/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/channel/create/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/create/index.txt b/packages/derisk-app/src/derisk_app/static/web/channel/create/index.txt index ad365bf4..731d945b 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/create/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/channel/create/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[48109,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","575","static/chunks/app/channel/create/page-5bf1a4fa835d9586.js"],"default"] +9:I[48109,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","575","static/chunks/app/channel/create/page-5bf1a4fa835d9586.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","channel","create",""],"i":false,"f":[[["",{"children":["channel",{"children":["create",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["create",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","channel","create",""],"i":false,"f":[[["",{"children":["channel",{"children":["create",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["create",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/index.html b/packages/derisk-app/src/derisk_app/static/web/channel/index.html index 2ddc5a4c..a1979c12 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/channel/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/index.txt b/packages/derisk-app/src/derisk_app/static/web/channel/index.txt index 9a95c281..e9de2296 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/channel/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[86052,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","8701","static/chunks/8701-d50902ffa79677ff.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6778","static/chunks/app/channel/page-97d9ef3a987b3363.js"],"default"] +9:I[86052,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","8701","static/chunks/8701-d50902ffa79677ff.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6778","static/chunks/app/channel/page-97d9ef3a987b3363.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","channel",""],"i":false,"f":[[["",{"children":["channel",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","channel",""],"i":false,"f":[[["",{"children":["channel",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.html b/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.html index 4b93b9f2..6281906d 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.txt b/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.txt index 9c8b5d54..89d9b2db 100644 --- a/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/channel/placeholder/index.txt @@ -1,18 +1,18 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] -8:I[59559,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","8647","static/chunks/8647-2d41973196208ada.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9968","static/chunks/app/channel/%5Bid%5D/page-8f8aa8d215d12b62.js"],"default"] +8:I[59559,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","8647","static/chunks/8647-2d41973196208ada.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9968","static/chunks/app/channel/%5Bid%5D/page-8f8aa8d215d12b62.js"],"default"] 9:I[59665,[],"OutletBoundary"] b:I[74911,[],"AsyncMetadataOutlet"] d:I[59665,[],"ViewportBoundary"] f:I[59665,[],"MetadataBoundary"] 10:"$Sreact.suspense" 12:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","channel","placeholder",""],"i":false,"f":[[["",{"children":["channel",{"children":[["id","placeholder","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["id","placeholder","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","channel","placeholder",""],"i":false,"f":[[["",{"children":["channel",{"children":[["id","placeholder","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["channel",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["id","placeholder","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],null,["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] a:null diff --git a/packages/derisk-app/src/derisk_app/static/web/chat/index.html b/packages/derisk-app/src/derisk_app/static/web/chat/index.html index 5d6ea99e..5e737cd3 100644 --- a/packages/derisk-app/src/derisk_app/static/web/chat/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/chat/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/chat/index.txt b/packages/derisk-app/src/derisk_app/static/web/chat/index.txt index abd0fd75..ae28e7d5 100644 --- a/packages/derisk-app/src/derisk_app/static/web/chat/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/chat/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[38566,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-77d90170ec3795f8.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-c5e5522dab1d7517.js","4318","static/chunks/4318-ca58b4e94915463c.js","2855","static/chunks/2855-d2128b5e8553f13c.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-2fd1520c97bebce9.js","6074","static/chunks/6074-fa3e91fed801441c.js","6779","static/chunks/6779-cd747481c7ce89c8.js","8457","static/chunks/app/chat/page-9d4119e032366e60.js"],"default"] +9:I[38566,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-7b54882aecda9681.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-cd76708152178669.js","4318","static/chunks/4318-ca58b4e94915463c.js","2855","static/chunks/2855-d2128b5e8553f13c.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-9802abf9d3d8e2a3.js","6074","static/chunks/6074-7f16b8d1fd1a2091.js","6779","static/chunks/6779-9f311e6d2180645b.js","8457","static/chunks/app/chat/page-5a2b96364ca1c998.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/879c4fe73b6fcdc7.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","chat",""],"i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["chat",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","chat",""],"i":false,"f":[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["chat",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/create/index.html b/packages/derisk-app/src/derisk_app/static/web/cron/create/index.html index a26cf3c2..d9caa231 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/create/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/cron/create/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/create/index.txt b/packages/derisk-app/src/derisk_app/static/web/cron/create/index.txt index bcc8c29d..7939fd09 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/create/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/cron/create/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[82822,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6174","static/chunks/6174-fd69108a416bbd09.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","3556","static/chunks/app/cron/create/page-d27354948ccc8805.js"],"default"] +9:I[82822,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6174","static/chunks/6174-59856468bf06dd6e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","3556","static/chunks/app/cron/create/page-d27354948ccc8805.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","cron","create",""],"i":false,"f":[[["",{"children":["cron",{"children":["create",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["create",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","cron","create",""],"i":false,"f":[[["",{"children":["cron",{"children":["create",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["create",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.html b/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.html index 641ef848..cf85f385 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.txt b/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.txt index a0e5fc2b..b503f580 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/cron/edit/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[36286,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6174","static/chunks/6174-fd69108a416bbd09.js","1274","static/chunks/1274-e72d12b4aa1a03a7.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","780","static/chunks/app/cron/edit/page-92887bcc4402ecf7.js"],"default"] +9:I[36286,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6174","static/chunks/6174-59856468bf06dd6e.js","1274","static/chunks/1274-e72d12b4aa1a03a7.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","780","static/chunks/app/cron/edit/page-92887bcc4402ecf7.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","cron","edit",""],"i":false,"f":[[["",{"children":["cron",{"children":["edit",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["edit",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","cron","edit",""],"i":false,"f":[[["",{"children":["cron",{"children":["edit",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["edit",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/index.html b/packages/derisk-app/src/derisk_app/static/web/cron/index.html index 89a1de50..ba688ea0 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/cron/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/cron/index.txt b/packages/derisk-app/src/derisk_app/static/web/cron/index.txt index 3c3497fa..79f8e438 100644 --- a/packages/derisk-app/src/derisk_app/static/web/cron/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/cron/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[19221,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","1483","static/chunks/1483-268c5128c58279f2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","465","static/chunks/465-1ee57a5d229c6f1d.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9271","static/chunks/app/cron/page-c409d18046a25596.js"],"default"] +9:I[19221,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","1483","static/chunks/1483-d259baa8479fb173.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","3324","static/chunks/3324-9da8bd872e5c73f7.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","465","static/chunks/465-1ee57a5d229c6f1d.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9271","static/chunks/app/cron/page-c409d18046a25596.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","cron",""],"i":false,"f":[[["",{"children":["cron",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","cron",""],"i":false,"f":[[["",{"children":["cron",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["cron",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/index.html b/packages/derisk-app/src/derisk_app/static/web/index.html index a99af034..6d58b67c 100644 --- a/packages/derisk-app/src/derisk_app/static/web/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/index.txt b/packages/derisk-app/src/derisk_app/static/web/index.txt index 90c902ac..0cba346a 100644 --- a/packages/derisk-app/src/derisk_app/static/web/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[33792,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","2855","static/chunks/2855-d2128b5e8553f13c.js","6121","static/chunks/6121-cf2e755f3ed2f261.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6779","static/chunks/6779-cd747481c7ce89c8.js","8974","static/chunks/app/page-5cb0b7d9609508b4.js"],"default"] +9:I[33792,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","2855","static/chunks/2855-d2128b5e8553f13c.js","6121","static/chunks/6121-cf2e755f3ed2f261.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","6779","static/chunks/6779-9f311e6d2180645b.js","8974","static/chunks/app/page-5cb0b7d9609508b4.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.html b/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.html index ed759f12..ffd60756 100644 --- a/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.txt b/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.txt index 2da4190e..5affbd5e 100644 --- a/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[43498,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-77d90170ec3795f8.js","6734","static/chunks/6734-c5e5522dab1d7517.js","329","static/chunks/329-9c587f0dcfa9a276.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-2fd1520c97bebce9.js","4751","static/chunks/app/knowledge/chunk/page-4b98aafc80008837.js"],"default"] +9:I[43498,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-7b54882aecda9681.js","6734","static/chunks/6734-cd76708152178669.js","329","static/chunks/329-c02ee77a0cddcbf3.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-9802abf9d3d8e2a3.js","4751","static/chunks/app/knowledge/chunk/page-7a33c4806a4cd2ac.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/879c4fe73b6fcdc7.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","knowledge","chunk",""],"i":false,"f":[[["",{"children":["knowledge",{"children":["chunk",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["knowledge",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["chunk",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","knowledge","chunk",""],"i":false,"f":[[["",{"children":["knowledge",{"children":["chunk",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["knowledge",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["chunk",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/knowledge/index.html b/packages/derisk-app/src/derisk_app/static/web/knowledge/index.html index 7365615a..d007688b 100644 --- a/packages/derisk-app/src/derisk_app/static/web/knowledge/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/knowledge/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/knowledge/index.txt b/packages/derisk-app/src/derisk_app/static/web/knowledge/index.txt index 1ea0e93a..d31d7a08 100644 --- a/packages/derisk-app/src/derisk_app/static/web/knowledge/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/knowledge/index.txt @@ -1,21 +1,21 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[43539,["586","static/chunks/13b76428-a8cda74c313da51b.js","750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-77d90170ec3795f8.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-c5e5522dab1d7517.js","6174","static/chunks/6174-fd69108a416bbd09.js","5912","static/chunks/5912-51f8ef2a651867e3.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-2fd1520c97bebce9.js","1049","static/chunks/app/knowledge/page-03db1c55c6fcd763.js"],"default"] +9:I[43539,["586","static/chunks/13b76428-a8cda74c313da51b.js","750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-7b54882aecda9681.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-cd76708152178669.js","6174","static/chunks/6174-59856468bf06dd6e.js","5912","static/chunks/5912-51f8ef2a651867e3.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-9802abf9d3d8e2a3.js","1049","static/chunks/app/knowledge/page-bfafa65982471d0c.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/b7f0cdb4d0556bb6.css","style"] :HL["/_next/static/css/879c4fe73b6fcdc7.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","knowledge",""],"i":false,"f":[[["",{"children":["knowledge",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["knowledge",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","knowledge",""],"i":false,"f":[[["",{"children":["knowledge",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["knowledge",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.html b/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.html index b0b8ab03..2131b13c 100644 --- a/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.txt b/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.txt index 4b3a70e1..a9a493f1 100644 --- a/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[75305,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6756","static/chunks/6756-d588c2052a14febc.js","7480","static/chunks/7480-688d1864780ff1c2.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","3963","static/chunks/app/mcp/detail/page-4f3069020c9d5455.js"],"default"] +9:I[75305,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6756","static/chunks/6756-d588c2052a14febc.js","7480","static/chunks/7480-688d1864780ff1c2.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","3963","static/chunks/app/mcp/detail/page-a92a0e2275e01e31.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/c10d320578f8fb15.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","mcp","detail",""],"i":false,"f":[[["",{"children":["mcp",{"children":["detail",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["mcp",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["detail",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/c10d320578f8fb15.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","mcp","detail",""],"i":false,"f":[[["",{"children":["mcp",{"children":["detail",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["mcp",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["detail",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/c10d320578f8fb15.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/mcp/index.html b/packages/derisk-app/src/derisk_app/static/web/mcp/index.html index 6c774dd3..e94b7857 100644 --- a/packages/derisk-app/src/derisk_app/static/web/mcp/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/mcp/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/mcp/index.txt b/packages/derisk-app/src/derisk_app/static/web/mcp/index.txt index af9d09bf..f8c0fd56 100644 --- a/packages/derisk-app/src/derisk_app/static/web/mcp/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/mcp/index.txt @@ -1,21 +1,21 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[83390,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","6124","static/chunks/6124-b174e9fd589a8659.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","5382","static/chunks/5382-357ed03586dc2206.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","313","static/chunks/app/mcp/page-d2f906ca19c2018f.js"],"default"] +9:I[83390,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","6124","static/chunks/6124-b174e9fd589a8659.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","5382","static/chunks/5382-357ed03586dc2206.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","313","static/chunks/app/mcp/page-d2f906ca19c2018f.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/b7f0cdb4d0556bb6.css","style"] :HL["/_next/static/css/c10d320578f8fb15.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","mcp",""],"i":false,"f":[[["",{"children":["mcp",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["mcp",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c10d320578f8fb15.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","mcp",""],"i":false,"f":[[["",{"children":["mcp",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["mcp",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c10d320578f8fb15.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/models/index.html b/packages/derisk-app/src/derisk_app/static/web/models/index.html index 627188d5..d9c001a3 100644 --- a/packages/derisk-app/src/derisk_app/static/web/models/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/models/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/models/index.txt b/packages/derisk-app/src/derisk_app/static/web/models/index.txt index 370b4425..b4777836 100644 --- a/packages/derisk-app/src/derisk_app/static/web/models/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/models/index.txt @@ -1,21 +1,21 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[6178,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","6124","static/chunks/6124-b174e9fd589a8659.js","1097","static/chunks/1097-d694f24844e74bad.js","6174","static/chunks/6174-fd69108a416bbd09.js","221","static/chunks/221-6f1c501e97a2e2cd.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","8329","static/chunks/app/models/page-c8bee90d21294f33.js"],"default"] +9:I[6178,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","6124","static/chunks/6124-b174e9fd589a8659.js","1097","static/chunks/1097-d694f24844e74bad.js","6174","static/chunks/6174-59856468bf06dd6e.js","221","static/chunks/221-6f1c501e97a2e2cd.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","8329","static/chunks/app/models/page-7311c2e06adb9c64.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/b7f0cdb4d0556bb6.css","style"] :HL["/_next/static/css/04e421a1887f0737.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","models",""],"i":false,"f":[[["",{"children":["models",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["models",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/04e421a1887f0737.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","models",""],"i":false,"f":[[["",{"children":["models",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["models",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/b7f0cdb4d0556bb6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/04e421a1887f0737.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/not-found/index.html b/packages/derisk-app/src/derisk_app/static/web/not-found/index.html index a22dd4b5..9541a128 100644 --- a/packages/derisk-app/src/derisk_app/static/web/not-found/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/not-found/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/not-found/index.txt b/packages/derisk-app/src/derisk_app/static/web/not-found/index.txt index 94ba25cf..dedc457d 100644 --- a/packages/derisk-app/src/derisk_app/static/web/not-found/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/not-found/index.txt @@ -1,6 +1,6 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","7613","static/chunks/app/not-found/page-df3e72e16b8454e8.js"],""] @@ -10,8 +10,8 @@ c:I[59665,[],"ViewportBoundary"] e:I[59665,[],"MetadataBoundary"] f:"$Sreact.suspense" 11:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","not-found",""],"i":false,"f":[[["",{"children":["not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["not-found",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],null],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","not-found",""],"i":false,"f":[[["",{"children":["not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["not-found",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],null],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 9:null diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.html b/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.html index b44e0047..56736a77 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.txt b/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.txt index 2686c363..12bd101f 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/add/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] -8:I[90979,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","6756","static/chunks/6756-d588c2052a14febc.js","6734","static/chunks/6734-c5e5522dab1d7517.js","6174","static/chunks/6174-fd69108a416bbd09.js","8637","static/chunks/8637-fdc9ff930861ca02.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","1910","static/chunks/app/prompt/%5Btype%5D/page-3a95b52f15261e5e.js"],"default"] +8:I[90979,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","6756","static/chunks/6756-d588c2052a14febc.js","6734","static/chunks/6734-cd76708152178669.js","6174","static/chunks/6174-59856468bf06dd6e.js","8637","static/chunks/8637-fdc9ff930861ca02.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","1910","static/chunks/app/prompt/%5Btype%5D/page-093d40447d4b872b.js"],"default"] 9:I[59665,[],"OutletBoundary"] b:I[74911,[],"AsyncMetadataOutlet"] d:I[59665,[],"ViewportBoundary"] f:I[59665,[],"MetadataBoundary"] 10:"$Sreact.suspense" 12:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/5dda26d2269b6aa1.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","prompt","add",""],"i":false,"f":[[["",{"children":["prompt",{"children":[["type","add","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":[["type","add","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","prompt","add",""],"i":false,"f":[[["",{"children":["prompt",{"children":[["type","add","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":[["type","add","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] a:null diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.html b/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.html index 4990a204..00bd09d3 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.txt b/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.txt index c601afe1..f1b82fb7 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] -8:I[90979,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c404f64bff06000c.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","6124","static/chunks/6124-b174e9fd589a8659.js","6756","static/chunks/6756-d588c2052a14febc.js","6734","static/chunks/6734-c5e5522dab1d7517.js","6174","static/chunks/6174-fd69108a416bbd09.js","8637","static/chunks/8637-fdc9ff930861ca02.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","1910","static/chunks/app/prompt/%5Btype%5D/page-3a95b52f15261e5e.js"],"default"] +8:I[90979,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","3512","static/chunks/3512-dd39572430888be7.js","2822","static/chunks/2822-6e6bbc024e126198.js","5388","static/chunks/5388-c61ac3a545a47599.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","6124","static/chunks/6124-b174e9fd589a8659.js","6756","static/chunks/6756-d588c2052a14febc.js","6734","static/chunks/6734-cd76708152178669.js","6174","static/chunks/6174-59856468bf06dd6e.js","8637","static/chunks/8637-fdc9ff930861ca02.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","1910","static/chunks/app/prompt/%5Btype%5D/page-093d40447d4b872b.js"],"default"] 9:I[59665,[],"OutletBoundary"] b:I[74911,[],"AsyncMetadataOutlet"] d:I[59665,[],"ViewportBoundary"] f:I[59665,[],"MetadataBoundary"] 10:"$Sreact.suspense" 12:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/5dda26d2269b6aa1.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","prompt","edit",""],"i":false,"f":[[["",{"children":["prompt",{"children":[["type","edit","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":[["type","edit","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","prompt","edit",""],"i":false,"f":[[["",{"children":["prompt",{"children":[["type","edit","d"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":[["type","edit","d"],["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/5dda26d2269b6aa1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L9",null,{"children":["$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Ld",null,{"children":"$Le"}],null],["$","$Lf",null,{"children":["$","div",null,{"hidden":true,"children":["$","$10",null,{"fallback":null,"children":"$L11"}]}]}]]}],false]],"m":"$undefined","G":["$12",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] a:null diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/index.html b/packages/derisk-app/src/derisk_app/static/web/prompt/index.html index b423150d..f9ac4886 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/prompt/index.txt b/packages/derisk-app/src/derisk_app/static/web/prompt/index.txt index 8e80a996..009db56d 100644 --- a/packages/derisk-app/src/derisk_app/static/web/prompt/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/prompt/index.txt @@ -1,19 +1,19 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[61247,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","1483","static/chunks/1483-268c5128c58279f2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","8608","static/chunks/8608-20e220e16329bf8d.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","4873","static/chunks/app/prompt/page-fc33d718ed1d249e.js"],"default"] +9:I[61247,["1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","1483","static/chunks/1483-d259baa8479fb173.js","5887","static/chunks/5887-f4e1d49b3242987e.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","8608","static/chunks/8608-de2441525d1fc6e1.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","4873","static/chunks/app/prompt/page-fc33d718ed1d249e.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","prompt",""],"i":false,"f":[[["",{"children":["prompt",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","prompt",""],"i":false,"f":[[["",{"children":["prompt",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["prompt",["$","$1","c",{"children":[null,[["$","div",null,{}],["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],null,["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.html b/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.html index f2abc459..bf233421 100644 --- a/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.html +++ b/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.txt b/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.txt index f4612ee1..ce0afc97 100644 --- a/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.txt +++ b/packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.txt @@ -1,20 +1,20 @@ 1:"$Sreact.fragment" 2:I[94970,[],"ClientSegmentRoot"] -3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-eb26b6f7871f5ec8.js","6467","static/chunks/6467-a092bcab27dc022a.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","5887","static/chunks/5887-f1d2c509cde5d113.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-45d5634694d40e59.js"],"default"] +3:I[11605,["586","static/chunks/13b76428-a8cda74c313da51b.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","797","static/chunks/797-df5fd2a08392495c.js","6467","static/chunks/6467-6c62fed6168373f0.js","6766","static/chunks/6766-d89fadb71679d924.js","5887","static/chunks/5887-f4e1d49b3242987e.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","6874","static/chunks/6874-bf14f6d1ebc153cc.js","751","static/chunks/751-34b9286aa55c992e.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","7177","static/chunks/app/layout-6b41a224c0bd01f8.js"],"default"] 4:I[87555,[],""] 5:I[31295,[],""] 6:I[6874,["6874","static/chunks/6874-bf14f6d1ebc153cc.js","4345","static/chunks/app/not-found-df3e72e16b8454e8.js"],""] 8:I[90894,[],"ClientPageRoot"] -9:I[58423,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-2be9467eea3d714b.js","9879","static/chunks/9879-1b7be1dabaeee7b9.js","3320","static/chunks/3320-08e927c3f1d1bfa4.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-57334e357b5bde4c.js","797","static/chunks/797-eb26b6f7871f5ec8.js","3512","static/chunks/3512-32e1cb1eabd7acd8.js","6467","static/chunks/6467-a092bcab27dc022a.js","2822","static/chunks/2822-6e6bbc024e126198.js","6766","static/chunks/6766-1a77d9df9a9eecd2.js","1483","static/chunks/1483-268c5128c58279f2.js","1081","static/chunks/1081-1def2a896ab2dba1.js","8674","static/chunks/8674-aa02cdd176501e2b.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-77d90170ec3795f8.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-c5e5522dab1d7517.js","4318","static/chunks/4318-ca58b4e94915463c.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-2fd1520c97bebce9.js","5993","static/chunks/app/vis-merge-test/page-d8e366c7ef2694a8.js"],"default"] +9:I[58423,["750","static/chunks/afb4954d-bcbf957cc6187b79.js","240","static/chunks/c36f3faa-ad06f8e39d3f01eb.js","5600","static/chunks/05f6971a-37fe2a1a50eb9be0.js","2826","static/chunks/36c7393a-ef231804cff1ce9a.js","7330","static/chunks/d3ac728e-c3a6f01f0b83d969.js","4935","static/chunks/e37a0b60-89795b4f1a25ba51.js","4316","static/chunks/ad2866b8-e93ec9749697d02c.js","8779","static/chunks/1892dd0f-5aeaa0a32c91e34b.js","3930","static/chunks/164f4fb6-bfb3067a982328b6.js","3485","static/chunks/ffef0c7e-e3fe45d524576f36.js","5033","static/chunks/2f0b94e8-5f4d2efd9161c0b9.js","1218","static/chunks/1218-fec170339465af6d.js","9259","static/chunks/9259-9692405059044978.js","9879","static/chunks/9879-e8b0e6ebd55a6930.js","3320","static/chunks/3320-3be66765b0421732.js","6421","static/chunks/6421-5bb3de4d4666eb86.js","4099","static/chunks/4099-d375180a6442f975.js","1991","static/chunks/1991-0cc480289d2063ab.js","797","static/chunks/797-df5fd2a08392495c.js","3512","static/chunks/3512-dd39572430888be7.js","6467","static/chunks/6467-6c62fed6168373f0.js","2822","static/chunks/2822-6e6bbc024e126198.js","6766","static/chunks/6766-d89fadb71679d924.js","1483","static/chunks/1483-d259baa8479fb173.js","1081","static/chunks/1081-b41c605520fe8a4c.js","8674","static/chunks/8674-da1a30adc2b03c76.js","1097","static/chunks/1097-d694f24844e74bad.js","3054","static/chunks/3054-14d39e934877243d.js","2991","static/chunks/2991-bc8cf6bb359931cc.js","3527","static/chunks/3527-5ec1ac6f859f42e9.js","6756","static/chunks/6756-d588c2052a14febc.js","4984","static/chunks/4984-7b54882aecda9681.js","9057","static/chunks/9057-f7d2b4604d662b2b.js","6734","static/chunks/6734-cd76708152178669.js","4318","static/chunks/4318-ca58b4e94915463c.js","7773","static/chunks/7773-3c34b3b1a101b75e.js","9960","static/chunks/9960-0e3cf43bb5821b25.js","1236","static/chunks/1236-9802abf9d3d8e2a3.js","5993","static/chunks/app/vis-merge-test/page-68788ce56e5a857e.js"],"default"] c:I[59665,[],"OutletBoundary"] e:I[74911,[],"AsyncMetadataOutlet"] 10:I[59665,[],"ViewportBoundary"] 12:I[59665,[],"MetadataBoundary"] 13:"$Sreact.suspense" 15:I[28393,[],""] -:HL["/_next/static/css/044b4c6945fb3c51.css","style"] +:HL["/_next/static/css/dcafc99b50aef4fd.css","style"] :HL["/_next/static/css/879c4fe73b6fcdc7.css","style"] -0:{"P":null,"b":"pCJopBeaLxDu90G54KPJh","p":"","c":["","vis-merge-test",""],"i":false,"f":[[["",{"children":["vis-merge-test",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/044b4c6945fb3c51.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["vis-merge-test",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} +0:{"P":null,"b":"FAOLyp14HCPWxdvGd5nZP","p":"","c":["","vis-merge-test",""],"i":false,"f":[[["",{"children":["vis-merge-test",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/dcafc99b50aef4fd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$L2",null,{"Component":"$3","slots":{"children":["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"flex flex-col items-center justify-center min-h-screen py-2","children":[["$","h2",null,{"className":"text-2xl font-bold mb-4","children":"Not Found"}],["$","p",null,{"className":"mb-4","children":"Could not find requested resource"}],["$","$L6",null,{"href":"/","className":"text-blue-500 hover:text-blue-700 underline","children":"Return Home"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]},"params":{},"promise":"$@7"}]]}],{"children":["vis-merge-test",["$","$1","c",{"children":[null,["$","$L4",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L8",null,{"Component":"$9","searchParams":{},"params":"$0:f:0:1:1:props:children:1:props:params","promises":["$@a","$@b"]}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/879c4fe73b6fcdc7.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","$Lc",null,{"children":["$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L10",null,{"children":"$L11"}],null],["$","$L12",null,{"children":["$","div",null,{"hidden":true,"children":["$","$13",null,{"fallback":null,"children":"$L14"}]}]}]]}],false]],"m":"$undefined","G":["$15",[]],"s":false,"S":true} 7:"$0:f:0:1:1:props:children:1:props:params" a:{} b:"$0:f:0:1:1:props:children:1:props:params" diff --git a/packages/derisk-core/src/derisk/agent/expand/react_master_agent/react_master_agent.py b/packages/derisk-core/src/derisk/agent/expand/react_master_agent/react_master_agent.py index 2767cd40..eb187a28 100644 --- a/packages/derisk-core/src/derisk/agent/expand/react_master_agent/react_master_agent.py +++ b/packages/derisk-core/src/derisk/agent/expand/react_master_agent/react_master_agent.py @@ -65,6 +65,7 @@ from ..actions.knowledge_action import KnowledgeSearch from ..actions.terminate_action import Terminate from ..actions.tool_action import ToolAction +from ...core.action.blank_action import BlankAction # 导入 read_file 工具使其注册到 system_tool_dict from ...core.tools.read_file_tool import read_file # noqa: F401 @@ -696,8 +697,14 @@ async def act( tasks = [] batch_init_action_reports = [] + has_blank_action = False for real_action in real_actions: + if isinstance(real_action, BlankAction): + has_blank_action = True + logger.warning( + "⚠️ No tool call returned by LLM, will inject system reminder" + ) if hasattr(real_action, "prepare_init_msg"): init_report = await real_action.prepare_init_msg( ai_message=message.content if message.content else "", @@ -848,8 +855,57 @@ async def act( await self.task_id_by_received_message(received_message), ) + if has_blank_action and act_outs: + await self._inject_no_tool_call_reminder(act_outs[0]) + return act_outs + async def _inject_no_tool_call_reminder(self, action_output: ActionOutput): + """ + 当没有工具调用时,注入系统提醒消息,引导继续推进任务 + + Args: + action_output: 当前执行的 ActionOutput + """ + from derisk.agent.core.memory.gpts.agent_system_message import ( + AgentSystemMessage, + AgentPhase, + SystemMessageType, + ) + + if not self.not_null_agent_context: + return + + reminder_content = """【系统提醒】你没有调用任何工具来推进任务。 + +请遵循以下原则继续执行: +1. **必须使用工具**:调用合适的工具来完成任务,不能只输出文本 +2. **循环只能通过 terminate 工具结束**:如果你想结束任务,请调用 terminate 工具 +3. **推进任务**:根据当前任务目标,选择下一步操作 + +可用工具包括: +- 信息获取:read_file, search, grep 等 +- 任务执行:调用相关工具执行具体操作 +- 任务结束:terminate(仅在任务完成时使用) + +请立即调用工具继续执行任务!""" + + try: + system_message = AgentSystemMessage.build( + agent_context=self.agent_context, + agent=self, + type=SystemMessageType.STATUS, + phase=AgentPhase.ACTION_RUN, + content=reminder_content, + final_status=Status.RUNNING, + ) + + if self.memory and self.memory.gpts_memory: + await self.memory.gpts_memory.append_system_message(system_message) + logger.info("✅ Injected no-tool-call reminder to guide task continuation") + except Exception as e: + logger.warning(f"Failed to inject no-tool-call reminder: {e}") + async def _attach_delivery_files( self, action_out: "ActionOutput" ) -> "ActionOutput": diff --git a/packages/derisk-core/src/derisk/agent/expand/tool_agent/function_call_parser.py b/packages/derisk-core/src/derisk/agent/expand/tool_agent/function_call_parser.py index c4bc7e34..27e63c26 100644 --- a/packages/derisk-core/src/derisk/agent/expand/tool_agent/function_call_parser.py +++ b/packages/derisk-core/src/derisk/agent/expand/tool_agent/function_call_parser.py @@ -86,7 +86,7 @@ def parse_actions( actions: List[Action] = [] react_out: ReActOut = self.parse(llm_out) if not react_out.steps: - actions.append(BlankAction(terminate=True)) + actions.append(BlankAction(terminate=False)) else: for item in react_out.steps: for action_cls in action_cls_list: diff --git a/packages/derisk-serve/src/derisk_serve/agent/agents/chat/agent_chat.py b/packages/derisk-serve/src/derisk_serve/agent/agents/chat/agent_chat.py index 5da00890..c77283cd 100644 --- a/packages/derisk-serve/src/derisk_serve/agent/agents/chat/agent_chat.py +++ b/packages/derisk-serve/src/derisk_serve/agent/agents/chat/agent_chat.py @@ -1115,17 +1115,21 @@ async def chat_in_params_to_resource( } ) ) - if chat_in_param.sub_type == ResourceType.AgentSkill.value: + if chat_in_param.sub_type == DeriskSkillResource.type(): skill_param_value = chat_in_param.param_value if isinstance(skill_param_value, str): skill_config = json.loads(skill_param_value) else: skill_config = skill_param_value - metadata = ( - json.loads(skill_config.get("config")) - .get("release", {}) - .get("metadata", {}) - ) + config_str = skill_config.get("config") + if config_str: + metadata = ( + json.loads(config_str) + .get("release", {}) + .get("metadata", {}) + ) + else: + metadata = {} allow_tools = metadata.get("allowed-tools") allow_tools_resources = ( await self._get_skill_allow_tools_resources(allow_tools) diff --git a/web/src/app/chat/page.tsx b/web/src/app/chat/page.tsx index 2098f312..e57b174f 100644 --- a/web/src/app/chat/page.tsx +++ b/web/src/app/chat/page.tsx @@ -338,7 +338,7 @@ export default function Chat() { const skillParams = initMessage.skills.map((skill: SelectedSkill) => ({ param_type: 'resource', param_value: JSON.stringify(skill), - sub_type: 'agent_skill', + sub_type: 'skill(derisk)', })); finalChatInParams = [...finalChatInParams, ...skillParams]; } diff --git a/web/src/components/chat/chat-content-components/VisComponents/VisRunningWindow/index.tsx b/web/src/components/chat/chat-content-components/VisComponents/VisRunningWindow/index.tsx index f05ceb39..1fd6dcaa 100644 --- a/web/src/components/chat/chat-content-components/VisComponents/VisRunningWindow/index.tsx +++ b/web/src/components/chat/chat-content-components/VisComponents/VisRunningWindow/index.tsx @@ -30,17 +30,22 @@ interface IProps { } export const VisRunningWindow: FC = ({ otherComponents, data }) => { + const dataItems = data.items; + const runningAgentStr = useMemo(() => { + return Array.isArray(data.running_agent) ? data.running_agent.join(',') : data.running_agent; + }, [data.running_agent]); + const runningAgent = useMemo(() => { if (Array.isArray(data.running_agent)) { - return data.running_agent[0] || get(data.items, [0, 'agent_name'], ''); + return data.running_agent[0] || get(dataItems, [0, 'agent_name'], ''); } else { - return data.running_agent || get(data.items, [0, 'agent_name'], ''); + return data.running_agent || get(dataItems, [0, 'agent_name'], ''); } - }, [data.running_agent]); + }, [runningAgentStr, dataItems]); const [currentAgent, setCurrentAgent] = useState(runningAgent); const chatListContainerRef = useRef(null); - const runningAgents = keyBy(data.items, 'agent_name'); + const runningAgents = useMemo(() => keyBy(dataItems, 'agent_name'), [dataItems]); const agentsOptions: MenuProps['items'] = data.items.map((item: RunningAgent, index) => { return { key: `${index}_${item.agent_name}`, @@ -81,7 +86,7 @@ export const VisRunningWindow: FC = ({ otherComponents, data }) => { useEffect(() => { setCurrentAgent(runningAgent); scrollToRunningAgent(runningAgent); - }, [data.running_agent]); + }, [runningAgentStr]); useEffect(() => { const chatListContainer = chatListContainerRef.current; @@ -103,7 +108,7 @@ export const VisRunningWindow: FC = ({ otherComponents, data }) => { }); } } - }, [data]); + }, [dataItems]); // useEffect(() => { // windowEmitter.on( @@ -134,15 +139,14 @@ export const VisRunningWindow: FC = ({ otherComponents, data }) => { const [selectedItemIndex, setSelectedItemIndex] = useState(0); + const currentItems = runningAgents?.[currentAgent]?.items; + const itemsLength = Array.isArray(currentItems) ? currentItems.length : 0; + useEffect(() => { - // 只在页面第一次加载时执行 - if (hasItems) { - const items = runningAgents?.[currentAgent]?.items; - if (Array.isArray(items) && items.length > 0) { - setSelectedItemIndex(items.length - 1); - } + if (itemsLength > 0) { + setSelectedItemIndex(itemsLength - 1); } - }, [hasItems]); + }, [itemsLength]); const CoderWindow = ({ runningAgents, currentAgent, selectedItemIndex, setSelectedItemIndex }: any) => { return ( diff --git a/web/src/components/chat/connectors-modal.tsx b/web/src/components/chat/connectors-modal.tsx index 644f4d16..d6c41245 100644 --- a/web/src/components/chat/connectors-modal.tsx +++ b/web/src/components/chat/connectors-modal.tsx @@ -71,16 +71,14 @@ export const ConnectorsModal: React.FC = ({ } }, [open, defaultTab]); - // Initialize selected skills from props + // Initialize selected skills and MCPs from props when modal opens useEffect(() => { - setSelectedSkillCodes(selectedSkills.map(s => s.skill_code)); - }, [selectedSkills]); - - // Initialize selected MCPs from props - useEffect(() => { - const mcpCodes = selectedMcps.map(m => m.id || m.uuid || m.name || ''); - setSelectedMcpCodes(mcpCodes.filter(code => code !== '')); - }, [selectedMcps]); + if (open) { + setSelectedSkillCodes(selectedSkills.map(s => s.skill_code)); + const mcpCodes = selectedMcps.map(m => m.id || m.uuid || m.name || ''); + setSelectedMcpCodes(mcpCodes.filter(code => code !== '')); + } + }, [open]); // --- MCP Data Fetching --- const { data: mcpList = [], loading: mcpLoading } = useRequest(async () => { diff --git a/web/src/components/chat/content/home-chat.tsx b/web/src/components/chat/content/home-chat.tsx index ad931472..81ed42dd 100644 --- a/web/src/components/chat/content/home-chat.tsx +++ b/web/src/components/chat/content/home-chat.tsx @@ -47,7 +47,7 @@ import { import ModelIcon from '@/components/icons/model-icon'; import cls from 'classnames'; import { useRouter } from 'next/navigation'; -import { useEffect, useState, useMemo } from 'react'; +import { useEffect, useState, useMemo, useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { ConnectorsModal } from '@/components/chat/connectors-modal'; import { IApp } from '@/types/app'; @@ -301,7 +301,12 @@ const [appDetail, setAppDetail] = useState(null); return { groups, otherModels }; }, [modelList, modelSearch]); - const modelContent = ( + const collapseDefaultActiveKey = useMemo(() => + ['AgentLLM', ...Object.keys(groupedModels.groups)], + [groupedModels.groups] + ); + + const modelContent = useMemo(() => (
(null); {Object.entries(groupedModels.groups).length > 0 && ( } className="[&_.ant-collapse-header]:!p-2 [&_.ant-collapse-content-box]:!p-0" > @@ -385,7 +390,7 @@ const [appDetail, setAppDetail] = useState(null); )}
- ); + ), [groupedModels, selectedModel, modelSearch, t]); // 从 URL 参数中获取 app_code // Use useEffect to access URL search params safely on client side @@ -656,16 +661,15 @@ const [appDetail, setAppDetail] = useState(null); setIsConnectorsModalOpen(true); }; - const handleSkillsChange = (skills: any[]) => { + const handleSkillsChange = useCallback((skills: any[]) => { setSelectedSkills(skills); - }; + }, []); - const handleSkillRemove = (skillCode: string) => { - const newSkills = selectedSkills.filter(s => s.skill_code !== skillCode); - setSelectedSkills(newSkills); - }; + const handleSkillRemove = useCallback((skillCode: string) => { + setSelectedSkills(prev => prev.filter(s => s.skill_code !== skillCode)); + }, []); - const appMenuProps: MenuProps = { + const appMenuProps: MenuProps = useMemo(() => ({ items: appList.map((app) => ({ key: app.app_code, label: ( @@ -677,9 +681,9 @@ const [appDetail, setAppDetail] = useState(null); ), })), - }; + }), [appList]); - const plusMenuContent = ( + const plusMenuContent = useMemo(() => (
{recommendedSkills.length > 0 && ( <> @@ -746,7 +750,7 @@ const [appDetail, setAppDetail] = useState(null); 更多
- ); + ), [recommendedSkills, recommendedTools, selectedSkills, handleSkillsChange]); const handlePaste = (e: React.ClipboardEvent) => { const items = e.clipboardData?.items; diff --git a/web/src/components/chat/input/unified-chat-input.tsx b/web/src/components/chat/input/unified-chat-input.tsx index 6e8bf863..b5791627 100644 --- a/web/src/components/chat/input/unified-chat-input.tsx +++ b/web/src/components/chat/input/unified-chat-input.tsx @@ -602,7 +602,7 @@ const UnifiedChatInput: React.FC = ({ // Update chatInParams to remove the skill const newChatInParams = chatInParams.filter( - (p: ChatInParamItem) => !(p.param_type === 'resource' && p.sub_type === 'agent_skill' && + (p: ChatInParamItem) => !(p.param_type === 'resource' && p.sub_type === 'skill(derisk)' && (() => { try { const skillData = JSON.parse(p.param_value);