PageSourceSearch

https://lobe-chat-eight-virid-32.vercel.app/_next/static/chunks/33705-66975eba2b56fa88.js

js lobe-chat-eight-virid-32.vercel.app collected 2026-10-03 07:16:17 UTC 30,960 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33705],{4365:(t,e,i)=>{i.d(e,{A:()=>n});let n=!1},5198:(t,e,i)=>{i.d(e,{A:()=>a});var n=i(12115),r=i(56406);function o(t,e){if(t===e)return!0;for(var i=0;i<t.length;i++)if(!Object.is(t[i],e[i]))return!1;return!0}var s=i(62999);let a=function(t){return function(e,i,a){var h=(0,n.useRef)(!1),l=(0,n.useRef)([]),c=(0,n.useRef)([]),p=(0,n.useRef)();t(function(){var t,n=(Array.isArray(a)?a:[a]).map(function(t){return(0,s.e)(t)});if(!h.current){h.current=!0,l.current=n,c.current=i,p.current=e();return}n.length===l.current.length&&o(l.current,n)&&o(c.current,i)||(null===(t=p.current)||void 0===t||t.call(p),l.current=n,c.current=i,p.current=e())}),(0,r.A)(function(){var t;null===(t=p.current)||void 0===t||t.call(p),h.current=!1})}}},5795:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(74273).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},12007:(t,e,i)=>{i.d(e,{c:()=>A});var n=i(95155),r=i(12115),o=i(47650),s=function(){return(s=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},a={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},h={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},l={width:"20px",height:"20px",position:"absolute",zIndex:1},c={top:s(s({},a),{top:"-5px"}),right:s(s({},h),{left:void 0,right:"-5px"}),bottom:s(s({},a),{top:void 0,bottom:"-5px"}),left:s(s({},h),{left:"-5px"}),topRight:s(s({},l),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:s(s({},l),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:s(s({},l),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:s(s({},l),{left:"-10px",top:"-10px",cursor:"nw-resize"})},p=(0,r.memo)(function(t){var e=t.onResizeStart,i=t.direction,o=t.children,a=t.replaceStyles,h=t.className,l=(0,r.useCallback)(function(t){e(t,i)},[e,i]),p=(0,r.useCallback)(function(t){e(t,i)},[e,i]),u=(0,r.useMemo)(function(){return s(s({position:"absolute",userSelect:"none"},c[i]),null!=a?a:{})},[a,i]);return(0,n.jsx)("div",{className:h||void 0,style:u,onMouseDown:l,onTouchStart:p,children:o})}),u=function(){var t=function(e,i){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){if("function"!=typeof i&&null!==i)throw TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=function(){return(d=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},f={width:"auto",height:"auto"},g=function(t,e,i){return Math.max(Math.min(t,i),e)},v=function(t,e,i){var n=Math.round(t/e);return n*e+i*(n-1)},b=function(t,e){return RegExp(t,"i").test(e)},m=function(t){return!!(t.touches&&t.touches.length)},w=function(t,e,i){void 0===i&&(i=0);var n=e.reduce(function(i,n,r){return Math.abs(n-t)<Math.abs(e[i]-t)?r:i},0),r=Math.abs(e[n]-t);return 0===i||r<i?e[n]:t},y=function(t){return"auto"===(t=t.toString())||t.endsWith("px")||t.endsWith("%")||t.endsWith("vh")||t.endsWith("vw")||t.endsWith("vmax")||t.endsWith("vmin")?t:"".concat(t,"px")},x=function(t,e,i,n){if(t&&"string"==typeof t){if(t.endsWith("px"))return Number(t.replace("px",""));if(t.endsWith("%")){var r=Number(t.replace("%",""))/100;return e*r}if(t.endsWith("vw")){var r=Number(t.replace("vw",""))/100;return i*r}if(t.endsWith("vh")){var r=Number(t.replace("vh",""))/100;return n*r}}return t},z=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],S="__resizable_base__",A=function(t){function e(e){var i,n,r,o,s=t.call(this,e)||this;return s.ratio=1,s.resizable=null,s.parentLeft=0,s.parentTop=0,s.resizableLeft=0,s.resizableRight=0,s.resizableTop=0,s.resizableBottom=0,s.targetLeft=0,s.targetTop=0,s.delta={width:0,height:0},s.appendBase=function(){if(!s.resizable||!s.window)return null;var t=s.parentNode;if(!t)return null;var e=s.window.document.createElement("div");return e.style.width="100%",e.style.height="100%",e.style.position="absolute",e.style.transform="scale(0, 0)",e.style.left="0",e.style.flex="0 0 100%",e.classList?e.classList.add(S):e.className+=S,t.appendChild(e),e},s.removeBase=function(t){var e=s.parentNode;e&&e.removeChild(t)},s.state={isResizing:!1,width:null!==(n=null===(i=s.propsSize)||void 0===i?void 0:i.width)&&void 0!==n?n:"auto",height:null!==(o=null===(r=s.propsSize)||void 0===r?void 0:r.height)&&void 0!==o?o:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},s.onResizeStart=s.onResizeStart.bind(s),s.onMouseMove=s.onMouseMove.bind(s),s.onMouseUp=s.onMouseUp.bind(s),s}return u(e,t),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null}
vendor: 4,416 bytes, line 1
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||f},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){var t=0,e=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,n=this.resizable.offsetHeight,r=this.resizable.style.position;"relative"!==r&&(this.resizable.style.position="relative"),t="auto"!==this.resizable.style.width?this.resizable.offsetWidth:i,e="auto"!==this.resizable.style.height?this.resizable.offsetHeight:n,this.resizable.style.position=r}return{width:t,height:e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sizeStyle",{get:function(){var t=this,e=this.props.size,i=function(e){var i;if(void 0===t.state[e]||"auto"===t.state[e])return"auto";if(t.propsSize&&t.propsSize[e]&&(null===(i=t.propsSize[e])||void 0===i?void 0:i.toString().endsWith("%"))){if(t.state[e].toString().endsWith("%"))return t.state[e].toString();var n=t.getParentSize(),r=Number(t.state[e].toString().replace("px",""))/n[e]*100;return"".concat(r,"%")}return y(t.state[e])};return{width:e&&void 0!==e.width&&!this.state.isResizing?y(e.width):i("width"),height:e&&void 0!==e.height&&!this.state.isResizing?y(e.height):i("height")}},enumerable:!1,configurable:!0}),e.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var e=!1,i=this.parentNode.style.flexWrap;"wrap"!==i&&(e=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%",t.style.minHeight="100%";var n={width:t.offsetWidth,height:t.offsetHeight};return e&&(this.parentNode.style.flexWrap=i),this.removeBase(t),n},e.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},e.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},e.prototype.componentDidMount=function(){if(this.resizable&&this.window){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==t.flexBasis?t.flexBasis:void 0})}},e.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},e.prototype.createSizeForCssProperty=function(t,e){var i=this.propsSize&&this.propsSize[e];return"auto"===this.state[e]&&this.state.original[e]===t&&(void 0===i||"auto"===i)?"auto":t},e.prototype.calculateNewMaxFromBoundary=function(t,e){var i,n,r=this.props.boundsByDirection,o=this.state.direction,s=r&&b("left",o),a=r&&b("top",o);if("parent"===this.props.bounds){var h=this.parentNode;h&&(i=s?this.resizableRight-this.parentLeft:h.offsetWidth+(this.parentLeft-this.resizableLeft),n=a?this.resizableBottom-this.parentTop:h.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(i=s?this.resizableRight:this.window.innerWidth-this.resizableLeft,n=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(i=s?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),n=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return i&&Number.isFinite(i)&&(t=t&&t<i?t:i),n&&Number.isFinite(n)&&(e=e&&e<n?e:n),{maxWidth:t,maxHeight:e}},e.prototype.calculateNewSizeFromDirection=function(t,e){var i,n=this.props.scale||1,r=Array.isArray(i=this.props.resizeRatio||1)?i:[i,i],o=r[0],s=r[1],a=this.state,h=a.direction,l=a.original,c=this.props,p=c.lockAspectRatio,u=c.lockA
1spectRatioExtraHeight,d=c.lockAspectRatioExtraWidth,f=l.width,g=l.height,v=u||0,m=d||0;return b("right",h)&&(f=l.width+(t-l.x)*o/n,p&&(g=(f-m)/this.ratio+v)),b("left",h)&&(f=l.width-(t-l.x)*o/n,p&&(g=(f-m)/this.ratio+v)),b("bottom",h)&&(g=l.height+(e-l.y)*s/n,p&&(f=(g-v)*this.ratio+m)),b("top",h)&&(g=l.height-(e-l.y)*s/n,p&&(f=(g-v)*this.ratio+m)),{newWidth:f,newHeight:g}},e.prototype.calculateNewSizeFromAspectRatio=function(t,e,i,n){var r=this.props,o=r.lockAspectRatio,s=r.lockAspectRatioExtraHeight,a=r.lockAspectRatioExtraWidth,h=void 0===n.width?10:n.width,l=void 0===i.width||i.width<0?t:i.width,c=void 0===n.height?10:n.height,p=void 0===i.height||i.height<0?e:i.height,u=s||0,d=a||0;if(o){var f=(c-u)*this.ratio+d,v=(p-u)*this.ratio+d,b=(h-d)/this.ratio+u,m=(l-d)/this.ratio+u,w=Math.max(c,b),y=Math.min(p,m);t=g(t,Math.max(h,f),Math.min(l,v)),e=g(e,w,y)}else t=g(t,h,l),e=g(e,c,p);return{newWidth:t,newHeight:e}},e.prototype.setBoundingClientRect=function(){var t=1/(this.props.scale||1);if("parent"===this.props.bounds){var e=this.parentNode;if(e){var i=e.getBoundingClientRect();this.parentLeft=i.left*t,this.parentTop=i.top*t}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left*t,this.targetTop=n.top*t}if(this.resizable){var r=this.resizable.getBoundingClientRect(),o=r.left,s=r.top,a=r.right,h=r.bottom;this.resizableLeft=o*t,this.resizableRight=a*t,this.resizableTop=s*t,this.resizableBottom=h*t}},e.prototype.onResizeStart=function(t,e){if(this.resizable&&this.window){var i,n,r=0,o=0;if(t.nativeEvent&&((i=t.nativeEvent).clientX||0===i.clientX)&&(i.clientY||0===i.clientY)?(r=t.nativeEvent.clientX,o=t.nativeEvent.clientY):t.nativeEvent&&m(t.nativeEvent)&&(r=t.nativeEvent.touches[0].clientX,o=t.nativeEvent.touches[0].clientY),!this.props.onResizeStart||!this.resizable||!1!==this.props.onResizeStart(t,e,this.resizable)){this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var s=this.window.getComputedStyle(this.resizable);if("auto"!==s.flexBasis){var a=this.parentNode;if(a){var h=this.window.getComputedStyle(a).flexDirection;this.flexDir=h.startsWith("row")?"row":"column",n=s.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:d(d({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:e,flexBasis:n};this.setState(l)}}},e.prototype.onMouseMove=function(t){var e,i,n,r,s,a,h=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&m(t))try{t.preventDefault(),t.stopPropagation()}catch(t){}var l=this.props,c=l.maxWidth,p=l.maxHeight,u=l.minWidth,d=l.minHeight,f=m(t)?t.touches[0].clientX:t.clientX,g=m(t)?t.touches[0].clientY:t.clientY,b=this.state,y=b.direction,z=b.original,S=b.width,A=b.height,R=this.getParentSize(),W=(e=this.window.innerWidth,i=this.window.innerHeight,n=c,r=p,s=u,a=d,n=x(n,R.width,e,i),r=x(r,R.height,e,i),s=x(s,R.width,e,i),a=x(a,R.height,e,i),{maxWidth:void 0===n?void 0:Number(n),maxHeight:void 0===r?void 0:Number(r),minWidth:void 0===s?void 0:Number(s),minHeight:void 0===a?void 0:Number(a)});c=W.maxWidth,p=W.maxHeight,u=W.minWidth,d=W.minHeight;var H=this.calculateNewSizeFromDirection(f,g),E=H.newHeight,k=H.newWidth,N=this.calculateNewMaxFromBoundary(c,p);this.props.snap&&this.props.snap.x&&(k=w(k,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(E=w(E,this.props.snap.y,this.props.snapGap));var O=this.calculateNewSizeFromAspectRatio(k,E,{width:N.maxWidth,height:N.maxHeight},{width:u,height:d});if(k=O.newWidth,E=O.newHeight,this.props.grid){var j=v(k,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),M=v(E,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),C=this.props.snapGap||0,L=0===C||Math.abs(j-k)<=C?j:k,B=0===C||Math.abs(M-E)<=C?M:E;k=L,E=B}var P={width:k-z.width,height:E-z.height};if(this.delta=P,S&&"string"==typeof S){if(S.endsWith("%")){var T=k/R.width*100;k="".concat(T,"%")}else if(S.endsWith("vw")){var F=k/this.window.innerWidth*100;k="".concat(F,"vw")}else if(S.endsWith("vh")){var D=k/this.window.innerHeight*100;k="".concat(D,"vh")}}if(A&&"string"==typeof A){if(A.endsWith("%")){var T=E/R.height*100;E="".concat(T,"%")}else if(A.endsWith("vw")){var F=E/this.window.innerWidth*100;E="".concat(F,"vw")}else if(A.endsWith("vh")){var D=E/this.window.innerHeight*100;E="".concat(D,"vh")}}var _={width:this.createSizeForCssProperty(k,"width"),height:this.createSizeForCssProperty(E,"height")};"row"===this.flexDir?_.flexBasis=_.width:"column"===this.flexDir&&(_.flexBasis=_.height);var U=this.state.width!==_.width,G=this.state.height!==_.height,I=this.state.flexBasis!==_.flexBasis,X=U||G||I;X&&(0,o.flushSync)(function(){h.setState(_)}
1),this.props.onResize&&X&&this.props.onResize(t,y,this.resizable,P)}},e.prototype.onMouseUp=function(t){var e,i,n=this.state,r=n.isResizing,o=n.direction;n.original,r&&this.resizable&&(this.props.onResizeStop&&this.props.onResizeStop(t,o,this.resizable,this.delta),this.props.size&&this.setState({width:null!==(e=this.props.size.width)&&void 0!==e?e:"auto",height:null!==(i=this.props.size.height)&&void 0!==i?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:d(d({},this.state.backgroundStyle),{cursor:"auto"})}))},e.prototype.updateSize=function(t){var e,i;this.setState({width:null!==(e=t.width)&&void 0!==e?e:"auto",height:null!==(i=t.height)&&void 0!==i?i:"auto"})},e.prototype.renderResizer=function(){var t=this,e=this.props,i=e.enable,r=e.handleStyles,o=e.handleClasses,s=e.handleWrapperStyle,a=e.handleWrapperClass,h=e.handleComponent;if(!i)return null;var l=Object.keys(i).map(function(e){return!1!==i[e]?(0,n.jsx)(p,{direction:e,onResizeStart:t.onResizeStart,replaceStyles:r&&r[e],className:o&&o[e],children:h&&h[e]?h[e]:null},e):null});return(0,n.jsx)("div",{className:a,style:s,children:l})},e.prototype.render=function(){var t=this,e=Object.keys(this.props).reduce(function(e,i){return -1!==z.indexOf(i)||(e[i]=t.props[i]),e},{}),i=d(d(d({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return(0,n.jsxs)(r,d({style:i,className:this.props.className},e,{ref:function(e){e&&(t.resizable=e)},children:[this.state.isResizing&&(0,n.jsx)("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},e.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},e}(r.PureComponent)},30114:(t,e,i)=>{i.d(e,{Et:()=>r,Tn:()=>n});var n=function(t){return"function"==typeof t},r=function(t){return"number"==typeof t}},33705:(t,e,i)=>{i.d(e,{default:()=>X});var n,r,o,s,a,h,l,c,p,u,d,f,g,v,b,m,w,y,x,z,S=i(85207),A=i(57845),R=i(24798),W=i(5795),H=i(64519),E=i(4232),k=i(12007),N=i(12115),O=i(19186),j=i(90134),M=i(28968);function C(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var L="draggable-panel",B=(0,M.rU)(function(t,e){var i=t.token,S=e.headerHeight,A=e.showHandlerWideArea,R=(0,M.AH)(n||(n=C(["\n      position: relative;\n\n      &::before {\n        content: '';\n        position: absolute;\n        z-index: 50;\n        transition: all 0.2s ",";\n      }\n\n      &:hover,\n      &:active {\n        &::before {\n          background: "," !important;\n        }\n      }\n    "])),i.motionEaseOut,i.colorPrimary),W=(0,M.AH)(r||(r=C(["\n      pointer-events: ",";\n\n      position: absolute;\n      z-index: 10;\n\n      opacity: 0;\n\n      transition: all 0.2s ",";\n\n      &:hover {\n        opacity: 1 !important;\n      }\n\n      &:active {\n        opacity: 1 !important;\n      }\n\n      > div {\n        pointer-events: all;\n        cursor: pointer;\n\n        position: absolute;\n\n        color: ",";\n\n        background: ",";\n        border-color: ",";\n        border-style: solid;\n        border-width: 1px;\n        border-radius: 4px;\n\n        transition: all 0.2s ",";\n\n        &:hover {\n          color: ",";\n          background: ",";\n        }\n\n        &:active {\n          color: ",";\n          background: ",";\n        }\n      }\n    "])),A?"all":"none",i.motionEaseOut,i.colorTextTertiary,i.colorFillTertiary,i.colorBorderSecondary,i.motionEaseOut,i.colorTextSecondary,i.colorFillSecondary,i.colorText,i.colorFill),H=(0,M.AH)(o||(o=C(["\n      position: absolute;\n      z-index: 200;\n    "])));return{bottomFloat:(0,M.cx)(H,(0,M.AH)(s||(s=C(["\n          inset-block-end: 0;\n          inset-inline: 0 0;\n          width: 100%;\n        "])))),bottomHandle:(0,M.cx)("".concat(L,"-bottom-handle"),(0,M.AH)(a||(a=C(["\n          ",";\n\n          &::before {\n            inset-block-end: 50%;\n            width: 100%;\n            height: 2px;\n          }\n        "])),R)),container:(0,M.cx)(L,(0,M.AH)(h||(h=C(["\n          flex-shrink: 0;\n          border: 0 solid ",";\n\n          &:hover {\n            .","-toggle {\n              opacity: 1;\n            }\n          }\n        "])),i.colorBorderSecondary,L)),fixed:(0,M.AH)(l||(l=C(["\n        position: relative;\n      "]))),fullscreen:(0,M.AH)(c||(c=C(["\n        position: absolute;\n        inset-block: ","px 0;\n        inset-inline: 0;\n\n        width: 100%;\n        height: calc(100% - ","px);\n\n        background: ",";\n      "])),S,S,i.colorBgLayout),handlerIcon:(0,M.AH)(p||(p=C(["\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        transition: all 0.2s ",";\n      "])),i.motionEaseOut),leftFloat:(0,M.cx)(H,(0,M.AH)(u||(u=C(["\n          inset-block: ","px 0;\n          inset-inline-start: 0;\n          height: calc(100% - ","px);\n        "])),S,S)),leftHandle:(0,M.cx)((0,M.AH)(d||(d=C(["\n          ",";\n\n          &::before {\n            inset-inline-start: 50%;\n            width: 2px;\n            height: 100%;\n          }\n        "])),R),"".concat(L,"-left-handle")),panel:(0,M.cx)("".concat(L,"-fixed"),(0,M.AH)(f||(f=C(["\n          overflow: hidden;\n          transition: all 0.2s ",";\n        "])),i.motionEaseOut)),rightFloat:(0,M.cx)(H,(0,M.AH)(g||(g=C(["\n          inset-block: ","px 0;\n          inset-inline-end: 0;\n          height: calc(100% - ","px);\n        "])),S,S)),rightHandle:(0,M.cx)((0,M.AH)(v||(v=C(["\n          ",";\n          &::before {\n            inset-inline-end: 50%;\n            width: 2px;\n            height: 100%;\n          }\n        "])),R),"".concat(L,"-right-handle")),toggleBottom:(0,M.cx)("".concat(L,"-toggle"),"".concat(L,"-toggle-bottom"),W,(0,M.AH)(b||(b=C(["\n          inset-block-end: -","px;\n          width: 100%;\n          height: ","px;\n\n          > div {\n            inset-inline-start: 50%;\n\n            width: ","px;\n            height: 16px;
1\n            margin-inline-start: -20px;\n\n            border-radius: 0 0 4px 4px;\n          }\n        "])),16,16,40)),toggleLeft:(0,M.cx)("".concat(L,"-toggle"),"".concat(L,"-toggle-left"),W,(0,M.AH)(m||(m=C(["\n          inset-inline-start: -","px;\n          width: ","px;\n          height: 100%;\n\n          > div {\n            inset-block-start: 50%;\n\n            width: ","px;\n            height: ","px;\n            margin-block-start: -20px;\n\n            border-radius: 4px 0 0 4px;\n          }\n        "])),16,16,16,40)),toggleRight:(0,M.cx)("".concat(L,"-toggle"),"".concat(L,"-toggle-right"),W,(0,M.AH)(w||(w=C(["\n          inset-inline-end: -","px;\n          width: ","px;\n          height: 100%;\n\n          > div {\n            inset-block-start: 50%;\n\n            width: ","px;\n            height: ","px;\n            margin-block-start: -20px;\n\n            border-radius: 0 4px 4px 0;\n          }\n        "])),16,16,16,40)),toggleTop:(0,M.cx)("".concat(L,"-toggle"),"".concat(L,"-toggle-top"),W,(0,M.AH)(y||(y=C(["\n          inset-block-start: -","px;\n          width: 100%;\n          height: ","px;\n\n          > div {\n            inset-inline-start: 50%;\n\n            width: ","px;\n            height: ","px;\n            margin-inline-start: -20px;\n\n            border-radius: 4px 4px 0 0;\n          }\n        "])),16,16,40,16)),topFloat:(0,M.cx)(H,(0,M.AH)(x||(x=C(["\n          inset-block-start: ","px;\n          inset-inline: 0 0;\n          width: 100%;\n        "])),S)),topHandle:(0,M.cx)("".concat(L,"-top-handle"),(0,M.AH)(z||(z=C(["\n          ",";\n\n          &::before {\n            inset-block-start: 50%;\n            width: 100%;\n            height: 2px;\n          }\n        "])),R))}}),P=function(t){switch(t){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}},T=i(95155);function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function _(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?D(Object(i),!0).forEach(function(e){U(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):D(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function U(t,e,i){var n;return(n=function(t,e){if("object"!=F(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=F(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==F(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function G(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,s,a=[],h=!0,l=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;h=!1}else for(;!(h=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);h=!0);}catch(t){l=!0,r=t}finally{try{if(!h&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(l)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return I(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return I(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}let X=(0,N.memo)(function(t){var e=t.headerHeight,i=t.fullscreen,n=t.maxHeight,r=t.pin,o=void 0===r||r,s=t.mode,a=t.children,h=t.placement,l=void 0===h?"right":h,c=t.resize,p=t.style,u=t.showHandlerWideArea,d=t.size,f
1=t.defaultSize,g=t.minWidth,v=t.minHeight,b=t.maxWidth,m=t.onSizeChange,w=t.onSizeDragging,y=t.expandable,x=t.expand,z=t.defaultExpand,M=t.onExpandChange,C=t.className,L=t.showHandlerWhenUnexpand,F=t.destroyOnClose,D=t.hanlderStyle,I=t.handlerStyle,X=t.classNames,Y=void 0===X?{}:X,V=t.dir,$=(0,N.useRef)(null),q=(0,S.A)($),J="top"===l||"bottom"===l,K=(0,N.useContext)(A.Ay.ConfigContext).direction,Q=l;"rtl"===(null!=V?V:K)&&["left","right"].includes(l)&&(Q="left"===Q?"right":"left");var Z=B({headerHeight:void 0===e?0:e,showHandlerWideArea:void 0===u||u}),tt=Z.styles,te=Z.cx,ti=G((0,j.A)(void 0===z||z,{onChange:M,value:x}),2),tn=ti[0],tr=ti[1];(0,N.useEffect)(function(){o||(q&&!tn?tr(!0):!q&&tn&&tr(!1))},[o,q,tn]);var to=G((0,N.useState)(!0),2),ts=to[0],ta=to[1],th=G((0,N.useState)(!1),2),tl=th[0],tc=th[1],tp=!1!==c&&tn,tu=(0,N.useMemo)(function(){return tp?U({},P(Q),tt["".concat(P(Q),"Handle")]):{}},[tp,Q]),td=_(U({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},P(Q),!0),c),tf=(0,N.useMemo)(function(){return J?_({height:180,width:"100%"},f):_({height:"100%",width:280},f)},[J]),tg=tn?{defaultSize:tf,maxHeight:"number"==typeof n?Math.max(n,0):n,maxWidth:"number"==typeof b?Math.max(b,0):b,minHeight:"number"==typeof v?Math.max(v,0):v,minWidth:"number"==typeof g?Math.max(g,0):g,size:d}:J?{minHeight:0,size:{height:0}}:{minWidth:0,size:{width:0}},tv=(0,N.useMemo)(function(){switch(Q){case"top":return{Arrow:R.A,className:"Bottom"};case"bottom":return{Arrow:W.A,className:"Top"};case"right":return{Arrow:H.A,className:"Left"};case"left":return{Arrow:E.A,className:"Right"}}},[tt,Q]),tb=tv.Arrow,tm=tv.className,tw=(0,T.jsx)(O.default,{className:te(tt["toggle".concat(tm)],Y.handle),style:{opacity:tn?o?void 0:0:+!!L},children:(0,T.jsx)(O.default,{onClick:function(){tr(!tn)},style:I||D,children:(0,T.jsx)("div",{className:tt.handlerIcon,style:{transform:"rotate(".concat(180*!!tn,"deg)")},children:(0,T.jsx)(tb,{size:16,strokeWidth:1.5})})})}),ty=(0,T.jsx)(k.c,_(_({},tg),{},{className:te(tt.panel,Y.content),enable:tp?td:void 0,handleClasses:tu,onResize:function(t,e,i,n){null==w||w(n,{height:i.style.height,width:i.style.width})},onResizeStart:function(){tc(!0),ta(!1)},onResizeStop:function(t,e,i,n){tc(!1),ta(!0),null==m||m(n,{height:i.style.height,width:i.style.width})},style:_({transition:tl?"unset":void 0},p),children:a}));return i?(0,T.jsx)("div",{className:te(tt.fullscreen,C),children:a}):(0,T.jsxs)("aside",{className:te(tt.container,tt["fixed"===(void 0===s?"fixed":s)?"fixed":"".concat(Q,"Float")],C),dir:V,ref:$,style:tn?U({},"border".concat(tm,"Width"),1):{},children:[(void 0===y||y)&&ts&&tw,F?tn&&ty:ty]})})},56406:(t,e,i)=>{i.d(e,{A:()=>a});var n=i(12115),r=i(56795),o=i(30114),s=i(4365);let a=function(t){s.A&&!(0,o.Tn)(t)&&console.error("useUnmount expected parameter is a function, got ".concat(typeof t));var e=(0,r.A)(t);(0,n.useEffect)(function(){return function(){e.current()}},[])}},56795:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(12115);let r=function(t){var e=(0,n.useRef)(t);return e.current=t,e}},62999:(t,e,i)=>{i.d(e,{e:()=>o});var n=i(30114),r=i(69678);function o(t,e){var i;return r.A?t?(0,n.Tn)(t)?t():"current"in t?t.current:t:e:void 0}},64519:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(74273).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},69678:(t,e,i)=>{i.d(e,{A:()=>n});let n=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},71465:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(12115);let r=(0,i(5198).A)(n.useEffect)},85207:(t,e,i)=>{i.d(e,{A:()=>c});var n=i(63363),r=i(12115);let o=function(t,e){void 0===t&&(t=!1);var i=(0,n.zs)((0,r.useState)(t),2),o=i[0],s=i[1];return[o,(0,r.useMemo)(function(){var i=void 0===e?!t:e;return{toggle:function(){return s(function(e){return e===t?i:t})},set:function(t){return s(t)},setLeft:function(){return s(t)},setRight:function(){return s(i)}}},[])]};var s=i(56795),a=i(62999),h=i(71465);let l=function(t,e,i){void 0===i&&(i={});var n=i.enable,r=void 0===n||n,o=(0,s.A)(e);(0,h.A)(function(){if(r){var e=(0,a.e)(i.target,window);if(null==e?void 0:e.addEventListener){var n=function(t){return o.current(t)},s=Array.isArray(t)?t:[t];
1return s.forEach(function(t){e.addEventListener(t,n,{capture:i.capture,once:i.once,passive:i.passive})}),function(){s.forEach(function(t){e.removeEventListener(t,n,{capture:i.capture})})}}}},[t,i.capture,i.once,i.passive,r],i.target)};function c(t,e){var i,s,a,h,c,p=e||{},u=p.onEnter,d=p.onLeave,f=p.onChange,g=(0,n.zs)((s=(i=(0,n.zs)(o(!1),2))[0],h=(a=i[1]).toggle,c=a.set,[s,(0,r.useMemo)(function(){return{toggle:h,set:function(t){return c(!!t)},setTrue:function(){return c(!0)},setFalse:function(){return c(!1)}}},[])]),2),v=g[0],b=g[1],m=b.setTrue,w=b.setFalse;return l("mouseenter",function(){null==u||u(),m(),null==f||f(!0)},{target:t}),l("mouseleave",function(){null==d||d(),w(),null==f||f(!1)},{target:t}),v}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.