sd-webui-infinite-image-bro.../vue/dist/assets/fullScreenContextMenu-792aa...

3 lines
69 KiB
JavaScript

import{P as Oe,bx as En,a as O,d as ee,bg as et,u as Be,c as a,by as tt,_ as nt,T as ze,Z as ae,ag as B,bm as At,a1 as St,au as it,h as U,bz as Pn,b as Qe,av as $n,bA as In,a0 as Ot,bl as Xt,Y as V,bd as ke,ax as De,ar as Et,aE as _n,aC as Kt,bB as qt,as as Se,l as oe,aT as xn,bC as Ln,z as se,bD as Mn,bE as we,bF as en,e as Ye,bG as zn,at as Pt,bH as kn,ae as W,$ as Nn,bI as Bn,bJ as $t,aO as Qn,bK as Dn,bL as Tn,ay as rt,be as Ge,bM as jn,bN as It,bO as Rn,ak as Vn,al as Fn,o as _,m as G,bP as Un,bQ as Hn,bR as Yn,bS as Gn,bT as Jn,a3 as Wn,y as Y,bU as _e,H as ie,n as S,A as lt,bV as _t,bW as Zn,bX as Xn,B as Kn,K as Ee,k as at,x as Q,v as I,r as z,bY as tn,U as nn,bZ as qn,b_ as ei,M as rn,bp as ln,p as J,V as an,ao as ti,b$ as ni,c0 as ii,af as ri,t as li,q as ai}from"./index-5716a5d2.js";import{i as oi,t as Je}from"./hook-735191b8.js";import{f as on}from"./db-1ccd7546.js";var sn=function(){return{arrow:{type:[Boolean,Object],default:void 0},trigger:{type:[Array,String]},overlay:Oe.any,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},align:{type:Object},getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:{type:Object,default:void 0},forceRender:{type:Boolean,default:void 0},mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:void 0},onVisibleChange:{type:Function},"onUpdate:visible":{type:Function}}},Ue=En(),si=function(){return O(O({},sn()),{},{type:Ue.type,size:String,htmlType:Ue.htmlType,href:String,disabled:{type:Boolean,default:void 0},prefixCls:String,icon:Oe.any,title:String,loading:Ue.loading,onClick:{type:Function}})},ui=["type","disabled","loading","htmlType","class","overlay","trigger","align","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:visible"],ci=ze.Group;const Ne=ee({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:et(si(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:["icon","leftButton","rightButton","overlay"],setup:function(e,n){var i=n.slots,r=n.attrs,l=n.emit,p=function(C){l("update:visible",C),l("visibleChange",C)},o=Be("dropdown-button",e),m=o.prefixCls,u=o.direction,h=o.getPopupContainer;return function(){var w,C,f=O(O({},e),r),v=f.type,d=v===void 0?"default":v,g=f.disabled,y=f.loading,s=f.htmlType,A=f.class,c=A===void 0?"":A,E=f.overlay,M=E===void 0?(w=i.overlay)===null||w===void 0?void 0:w.call(i):E,D=f.trigger,P=f.align,$=f.visible;f.onVisibleChange;var b=f.placement,x=b===void 0?u.value==="rtl"?"bottomLeft":"bottomRight":b,L=f.href,k=f.title,R=f.icon,ue=R===void 0?((C=i.icon)===null||C===void 0?void 0:C.call(i))||a(tt,null,null):R,F=f.mouseEnterDelay,te=f.mouseLeaveDelay,re=f.overlayClassName,le=f.overlayStyle,de=f.destroyPopupOnHide,T=f.onClick;f["onUpdate:visible"];var H=nt(f,ui),Z={align:P,disabled:g,trigger:g?[]:D,placement:x,getPopupContainer:h.value,onVisibleChange:p,mouseEnterDelay:F,mouseLeaveDelay:te,visible:$,overlayClassName:re,overlayStyle:le,destroyPopupOnHide:de},X=a(ze,{type:d,disabled:g,loading:y,onClick:T,htmlType:s,href:L,title:k},{default:i.default}),K=a(ze,{type:d,icon:ue},null);return a(ci,O(O({},H),{},{class:ae(m.value,c)}),{default:function(){return[i.leftButton?i.leftButton({button:X}):X,a(ge,Z,{default:function(){return[i.rightButton?i.rightButton({button:K}):K]},overlay:function(){return M}})]}})}}});var un=ee({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:et(sn(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:["overlay"],setup:function(e,n){var i=n.slots,r=n.attrs,l=n.emit,p=Be("dropdown",e),o=p.prefixCls,m=p.rootPrefixCls,u=p.direction,h=p.getPopupContainer,w=B(function(){var d=e.placement,g=d===void 0?"":d,y=e.transitionName;return y!==void 0?y:g.indexOf("top")>=0?"".concat(m.value,"-slide-down"):"".concat(m.value,"-slide-up")}),C=function(){var g,y,s,A=e.overlay||((g=i.overlay)===null||g===void 0?void 0:g.call(i)),c=Array.isArray(A)?A[0]:A;if(!c)return null;var E=c.props||{};At(!E.mode||E.mode==="vertical","Dropdown",'mode="'.concat(E.mode,`" is not supported for Dropdown's Menu.`));var M=E.selectable,D=M===void 0?!1:M,P=E.expandIcon,$=P===void 0?(y=c.children)===null||y===void 0||(s=y.expandIcon)===null||s===void 0?void 0:s.call(y):P,b=typeof $<"u"&&Ot($)?$:a("span",{class:"".concat(o.value,"-menu-submenu-arrow")},[a(Xt,{class:"".concat(o.value,"-menu-submenu-arrow-icon")},null)]),x=Ot(c)?St(c,{mode:"vertical",selectable:D,expandIcon:function(){return b}}):c;return x},f=B(function(){var d=e.placement;if(!d)return u.value==="rtl"?"bottomRight":"bottomLeft";if(d.includes("Center")){var g=d.slice(0,d.indexOf("Center"));return At(!d.includes("Center"),"Dropdown","You are using '".concat(d,"' placement in Dropdown, which is deprecated. Try to use '").concat(g,"' instead.")),g}return d}),v=function(g){l("update:visible",g),l("visibleChange",g)};return function(){var d,g,y=e.arrow,s=e.trigger,A=e.disabled,c=e.overlayClassName,E=(d=i.default)===null||d===void 0?void 0:d.call(i)[0],M=St(E,it({class:ae(E==null||(g=E.props)===null||g===void 0?void 0:g.class,U({},"".concat(o.value,"-rtl"),u.value==="rtl"),"".concat(o.value,"-trigger"))},A?{disabled:A}:{})),D=ae(c,U({},"".concat(o.value,"-rtl"),u.value==="rtl")),P=A?[]:s,$;P&&P.indexOf("contextmenu")!==-1&&($=!0);var b=Pn({arrowPointAtCenter:Qe(y)==="object"&&y.pointAtCenter,autoAdjustOverflow:!0}),x=$n(O(O(O({},e),r),{},{builtinPlacements:b,overlayClassName:D,arrow:y,alignPoint:$,prefixCls:o.value,getPopupContainer:h.value,transitionName:w.value,trigger:P,onVisibleChange:v,placement:f.value}),["overlay","onUpdate:visible"]);return a(In,x,{default:function(){return[M]},overlay:C})}}});un.Button=Ne;const ge=un;ge.Button=Ne;ge.install=function(t){return t.component(ge.name,ge),t.component(Ne.name,Ne),t};function di(){var t=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:t,height:e}}function cn(t){var e=t.getBoundingClientRect(),n=document.documentElement;return{left:e.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function fi(t){var e=V(null),n=ke(O({},t)),i=V([]),r=function(p){e.value===null&&(i.value=[],e.value=Et(function(){var o;i.value.forEach(function(m){o=O(O({},o),m)}),it(n,o),e.value=null})),i.value.push(p)};return De(function(){e.value&&Et.cancel(e.value)}),[n,r]}function xt(t,e,n,i){var r=e+n,l=(n-i)/2;if(n>i){if(e>0)return U({},t,l);if(e<0&&r<i)return U({},t,-l)}else if(e<0||r>i)return U({},t,e<0?l:-l);return{}}function vi(t,e,n,i){var r=di(),l=r.width,p=r.height,o=null;return t<=l&&e<=p?o={x:0,y:0}:(t>l||e>p)&&(o=O(O({},xt("x",n,t,l)),xt("y",i,e,p))),o}var Lt=Symbol("previewGroupContext"),ot={provide:function(e){_n(Lt,e)},inject:function(){return Kt(Lt,{isPreviewGroup:V(!1),previewUrls:B(function(){return new Map}),setPreviewUrls:function(){},current:V(null),setCurrent:function(){},setShowPreview:function(){},setMousePosition:function(){},registerImage:null,rootClassName:""})}},mi=ee({compatConfig:{MODE:3},name:"PreviewGroup",inheritAttrs:!1,props:{previewPrefixCls:String,preview:{type:[Boolean,Object],default:!0},icons:{type:Object,default:function(){return{}}}},setup:function(e,n){var i=n.slots,r=B(function(){var P={visible:void 0,onVisibleChange:function(){},getContainer:void 0,current:0};return Qe(e.preview)==="object"?mn(e.preview,P):P}),l=ke(new Map),p=V(),o=B(function(){return r.value.visible}),m=B(function(){return r.value.getContainer}),u=function($,b){var x,L;(x=(L=r.value).onVisibleChange)===null||x===void 0||x.call(L,$,b)},h=qt(!!o.value,{value:o,onChange:u}),w=Se(h,2),C=w[0],f=w[1],v=V(null),d=B(function(){return o.value!==void 0}),g=B(function(){return Array.from(l.keys())}),y=B(function(){return g.value[r.value.current]}),s=B(function(){return new Map(Array.from(l).filter(function(P){var $=Se(P,2),b=$[1].canPreview;return!!b}).map(function(P){var $=Se(P,2),b=$[0],x=$[1].url;return[b,x]}))}),A=function($,b){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;l.set($,{url:b,canPreview:x})},c=function($){p.value=$},E=function($){v.value=$},M=function($,b){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,L=function(){l.delete($)};return l.set($,{url:b,canPreview:x}),L},D=function($){$==null||$.stopPropagation(),f(!1),E(null)};return oe(y,function(P){c(P)},{immediate:!0,flush:"post"}),xn(function(){C.value&&d.value&&c(y.value)},{flush:"post"}),ot.provide({isPreviewGroup:V(!0),previewUrls:s,setPreviewUrls:A,current:p,setCurrent:c,setShowPreview:f,setMousePosition:E,registerImage:M}),function(){var P=it({},(Ln(r.value),r.value));return a(se,null,[i.default&&i.default(),a(fn,O(O({},P),{},{"ria-hidden":!C.value,visible:C.value,prefixCls:e.previewPrefixCls,onClose:D,mousePosition:v.value,src:s.value.get(p.value),icons:e.icons,getContainer:m.value}),null)])}}});const dn=mi;var me={x:0,y:0},pi=O(O({},Mn()),{},{src:String,alt:String,rootClassName:String,icons:{type:Object,default:function(){return{}}}}),gi=ee({compatConfig:{MODE:3},name:"Preview",inheritAttrs:!1,props:pi,emits:["close","afterClose"],setup:function(e,n){var i=n.emit,r=n.attrs,l=ke(e.icons),p=l.rotateLeft,o=l.rotateRight,m=l.zoomIn,u=l.zoomOut,h=l.close,w=l.left,C=l.right,f=V(1),v=V(0),d=fi(me),g=Se(d,2),y=g[0],s=g[1],A=function(){return i("close")},c=V(),E=ke({originX:0,originY:0,deltaX:0,deltaY:0}),M=V(!1),D=ot.inject(),P=D.previewUrls,$=D.current,b=D.isPreviewGroup,x=D.setCurrent,L=B(function(){return P.value.size}),k=B(function(){return Array.from(P.value.keys())}),R=B(function(){return k.value.indexOf($.value)}),ue=B(function(){return b.value?P.value.get($.value):e.src}),F=B(function(){return b.value&&L.value>1}),te=V({wheelDirection:0}),re=function(){f.value=1,v.value=0,s(me),i("afterClose")},le=function(){f.value++,s(me)},de=function(){f.value>1&&f.value--,s(me)},T=function(){v.value+=90},H=function(){v.value-=90},Z=function(N){N.preventDefault(),N.stopPropagation(),R.value>0&&x(k.value[R.value-1])},X=function(N){N.preventDefault(),N.stopPropagation(),R.value<L.value-1&&x(k.value[R.value+1])},K=ae(U({},"".concat(e.prefixCls,"-moving"),M.value)),Pe="".concat(e.prefixCls,"-operations-operation"),he="".concat(e.prefixCls,"-operations-icon"),je=[{icon:h,onClick:A,type:"close"},{icon:m,onClick:le,type:"zoomIn"},{icon:u,onClick:de,type:"zoomOut",disabled:B(function(){return f.value===1})},{icon:o,onClick:T,type:"rotateRight"},{icon:p,onClick:H,type:"rotateLeft"}],Ce=function(){if(e.visible&&M.value){var N=c.value.offsetWidth*f.value,q=c.value.offsetHeight*f.value,fe=cn(c.value),ne=fe.left,ve=fe.top,ce=v.value%180!==0;M.value=!1;var ye=vi(ce?q:N,ce?N:q,ne,ve);ye&&s(O({},ye))}},Re=function(N){N.button===0&&(N.preventDefault(),N.stopPropagation(),E.deltaX=N.pageX-y.x,E.deltaY=N.pageY-y.y,E.originX=y.x,E.originY=y.y,M.value=!0)},$e=function(N){e.visible&&M.value&&s({x:N.pageX-E.deltaX,y:N.pageY-E.deltaY})},Ie=function(N){if(e.visible){N.preventDefault();var q=N.deltaY;te.value={wheelDirection:q}}},Ve=function(N){!e.visible||!F.value||(N.preventDefault(),N.keyCode===Pt.LEFT?R.value>0&&x(k.value[R.value-1]):N.keyCode===Pt.RIGHT&&R.value<L.value-1&&x(k.value[R.value+1]))},Fe=function(){e.visible&&(f.value!==1&&(f.value=1),(y.x!==me.x||y.y!==me.y)&&s(me))},Ae=function(){};return De(function(){oe([function(){return e.visible},M],function(){Ae();var j,N,q=we(window,"mouseup",Ce,!1),fe=we(window,"mousemove",$e,!1),ne=we(window,"wheel",Ie,{passive:!1}),ve=we(window,"keydown",Ve,!1);try{window.top!==window.self&&(j=we(window.top,"mouseup",Ce,!1),N=we(window.top,"mousemove",$e,!1))}catch{}Ae=function(){q.remove(),fe.remove(),ne.remove(),ve.remove(),j&&j.remove(),N&&N.remove()}},{flush:"post",immediate:!0}),oe([te],function(){var j=te.value.wheelDirection;j>0?de():j<0&&le()})}),en(function(){Ae()}),function(){var j=e.visible,N=e.prefixCls,q=e.rootClassName;return a(zn,O(O({},r),{},{transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:N,onClose:A,afterClose:re,visible:j,wrapClassName:K,rootClassName:q,getContainer:e.getContainer}),{default:function(){return[a("ul",{class:"".concat(e.prefixCls,"-operations")},[je.map(function(ne){var ve=ne.icon,ce=ne.onClick,ye=ne.type,be=ne.disabled;return a("li",{class:ae(Pe,U({},"".concat(e.prefixCls,"-operations-operation-disabled"),be&&(be==null?void 0:be.value))),onClick:ce,key:ye},[Ye(ve,{class:he})])})]),a("div",{class:"".concat(e.prefixCls,"-img-wrapper"),style:{transform:"translate3d(".concat(y.x,"px, ").concat(y.y,"px, 0)")}},[a("img",{onMousedown:Re,onDblclick:Fe,ref:c,class:"".concat(e.prefixCls,"-img"),src:ue.value,alt:e.alt,style:{transform:"scale3d(".concat(f.value,", ").concat(f.value,", 1) rotate(").concat(v.value,"deg)")}},null)]),F.value&&a("div",{class:ae("".concat(e.prefixCls,"-switch-left"),U({},"".concat(e.prefixCls,"-switch-left-disabled"),R.value<=0)),onClick:Z},[w]),F.value&&a("div",{class:ae("".concat(e.prefixCls,"-switch-right"),U({},"".concat(e.prefixCls,"-switch-right-disabled"),R.value>=L.value-1)),onClick:X},[C])]}})}}});const fn=gi;var hi=["icons","maskClassName"],vn=function(){return{src:String,wrapperClassName:String,wrapperStyle:{type:Object,default:void 0},rootClassName:String,prefixCls:String,previewPrefixCls:String,previewMask:{type:[Boolean,Function],default:void 0},placeholder:Oe.any,fallback:String,preview:{type:[Boolean,Object],default:!0},onClick:{type:Function},onError:{type:Function}}},mn=function(e,n){var i=O({},e);return Object.keys(n).forEach(function(r){e[r]===void 0&&(i[r]=n[r])}),i},yi=0,pn=ee({compatConfig:{MODE:3},name:"Image",inheritAttrs:!1,props:vn(),emits:["click","error"],setup:function(e,n){var i=n.attrs,r=n.slots,l=n.emit,p=B(function(){return e.prefixCls}),o=B(function(){return"".concat(p.value,"-preview")}),m=B(function(){var T={visible:void 0,onVisibleChange:function(){},getContainer:void 0};return Qe(e.preview)==="object"?mn(e.preview,T):T}),u=B(function(){var T;return(T=m.value.src)!==null&&T!==void 0?T:e.src}),h=B(function(){return e.placeholder&&e.placeholder!==!0||r.placeholder}),w=B(function(){return m.value.visible}),C=B(function(){return m.value.getContainer}),f=B(function(){return w.value!==void 0}),v=function(H,Z){var X,K;(X=(K=m.value).onVisibleChange)===null||X===void 0||X.call(K,H,Z)},d=qt(!!w.value,{value:w,onChange:v}),g=Se(d,2),y=g[0],s=g[1];oe(y,function(T,H){v(T,H)});var A=V(h.value?"loading":"normal");oe(function(){return e.src},function(){A.value=h.value?"loading":"normal"});var c=V(null),E=B(function(){return A.value==="error"}),M=ot.inject(),D=M.isPreviewGroup,P=M.setCurrent,$=M.setShowPreview,b=M.setMousePosition,x=M.registerImage,L=V(yi++),k=B(function(){return e.preview&&!E.value}),R=function(){A.value="normal"},ue=function(H){A.value="error",l("error",H)},F=function(H){if(!f.value){var Z=cn(H.target),X=Z.left,K=Z.top;D.value?(P(L.value),b({x:X,y:K})):c.value={x:X,y:K}}D.value?$(!0):s(!0),l("click",H)},te=function(){s(!1),f.value||(c.value=null)},re=V(null);oe(function(){return re},function(){A.value==="loading"&&re.value.complete&&(re.value.naturalWidth||re.value.naturalHeight)&&R()});var le=function(){};De(function(){oe([u,k],function(){if(le(),!D.value)return function(){};le=x(L.value,u.value,k.value),k.value||le()},{flush:"post",immediate:!0})}),en(function(){le()});var de=function(H){return kn(H)?H+"px":H};return function(){var T=e.prefixCls,H=e.wrapperClassName,Z=e.fallback,X=e.src,K=e.placeholder,Pe=e.wrapperStyle,he=e.rootClassName,je=i.width,Ce=i.height,Re=i.crossorigin,$e=i.decoding,Ie=i.alt,Ve=i.sizes,Fe=i.srcset,Ae=i.usemap,j=i.class,N=i.style,q=m.value,fe=q.icons,ne=q.maskClassName,ve=nt(q,hi),ce=ae(T,H,he,U({},"".concat(T,"-error"),E.value)),ye=E.value&&Z?Z:u.value,be={crossorigin:Re,decoding:$e,alt:Ie,sizes:Ve,srcset:Fe,usemap:Ae,class:ae("".concat(T,"-img"),U({},"".concat(T,"-img-placeholder"),K===!0),j),style:O({height:Ce},N)};return a(se,null,[a("div",{class:ce,onClick:k.value?F:function(On){l("click",On)},style:O({width:de(je),height:de(Ce)},Pe)},[a("img",O(O(O({},be),E.value&&Z?{src:Z}:{onLoad:R,onError:ue,src:X}),{},{ref:re}),null),A.value==="loading"&&a("div",{"aria-hidden":"true",class:"".concat(T,"-placeholder")},[K||r.placeholder&&r.placeholder()]),r.previewMask&&k.value&&a("div",{class:["".concat(T,"-mask"),ne]},[r.previewMask()])]),!D.value&&k.value&&a(fn,O(O({},ve),{},{"aria-hidden":!y.value,visible:y.value,prefixCls:o.value,onClose:te,mousePosition:c.value,src:ye,alt:Ie,getContainer:C.value,icons:fe,rootClassName:he}),null)])}}});pn.PreviewGroup=dn;const bi=pn;var wi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"};const Ci=wi;function Mt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Ai(t,r,n[r])})}return t}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st=function(e,n){var i=Mt({},e,n.attrs);return a(W,Mt({},i,{icon:Ci}),null)};st.displayName="RotateLeftOutlined";st.inheritAttrs=!1;const Si=st;var Oi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"};const Ei=Oi;function zt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Pi(t,r,n[r])})}return t}function Pi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ut=function(e,n){var i=zt({},e,n.attrs);return a(W,zt({},i,{icon:Ei}),null)};ut.displayName="RotateRightOutlined";ut.inheritAttrs=!1;const $i=ut;var Ii={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"};const _i=Ii;function kt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){xi(t,r,n[r])})}return t}function xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ct=function(e,n){var i=kt({},e,n.attrs);return a(W,kt({},i,{icon:_i}),null)};ct.displayName="ZoomInOutlined";ct.inheritAttrs=!1;const Li=ct;var Mi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.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-out",theme:"outlined"};const zi=Mi;function Nt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){ki(t,r,n[r])})}return t}function ki(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dt=function(e,n){var i=Nt({},e,n.attrs);return a(W,Nt({},i,{icon:zi}),null)};dt.displayName="ZoomOutOutlined";dt.inheritAttrs=!1;const Ni=dt;var gn={rotateLeft:a(Si,null,null),rotateRight:a($i,null,null),zoomIn:a(Li,null,null),zoomOut:a(Ni,null,null),close:a(Nn,null,null),left:a(Bn,null,null),right:a(Xt,null,null)},Bi=ee({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:{previewPrefixCls:String},setup:function(e,n){var i=n.attrs,r=n.slots,l=Be("image",e),p=l.getPrefixCls,o=B(function(){return p("image-preview",e.previewPrefixCls)});return function(){return a(dn,O(O({},O(O({},i),e)),{},{icons:gn,previewPrefixCls:o.value}),r)}}});const Qi=Bi;var pe=ee({name:"AImage",inheritAttrs:!1,props:vn(),setup:function(e,n){var i=n.slots,r=n.attrs,l=Be("image",e),p=l.prefixCls,o=l.rootPrefixCls,m=l.configProvider,u=B(function(){var h=e.preview;if(h===!1)return h;var w=Qe(h)==="object"?h:{};return O(O({icons:gn},w),{},{transitionName:$t(o.value,"zoom",w.transitionName),maskTransitionName:$t(o.value,"fade",w.maskTransitionName)})});return function(){var h,w=((h=m.locale)===null||h===void 0?void 0:h.Image)||Qn.Image,C=function(){return a("div",{class:"".concat(p.value,"-mask-info")},[a(Dn,null,null),w==null?void 0:w.preview])},f=e.previewMask,v=f===void 0?i.previewMask||C:f;return a(bi,O(O({},O(O(O({},r),e),{},{prefixCls:p.value})),{},{preview:u.value}),O(O({},i),{},{previewMask:typeof v=="function"?v:null}))}}});pe.PreviewGroup=Qi;pe.install=function(t){return t.component(pe.name,pe),t.component(pe.PreviewGroup.name,pe.PreviewGroup),t};const Di=pe;var Ti=["class","style"],ji=function(){return{prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:Oe.any,delay:Number,indicator:Oe.any}},xe=null;function Ri(t,e){return!!t&&!!e&&!isNaN(Number(e))}function gl(t){var e=t.indicator;xe=typeof e=="function"?e:function(){return a(e,null,null)}}const hl=ee({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:et(ji(),{size:"default",spinning:!0,wrapperClassName:""}),setup:function(){return{originalUpdateSpinning:null,configProvider:Kt("configProvider",Tn)}},data:function(){var e=this.spinning,n=this.delay,i=Ri(e,n);return{sSpinning:e&&!i}},created:function(){this.originalUpdateSpinning=this.updateSpinning,this.debouncifyUpdateSpinning(this.$props)},mounted:function(){this.updateSpinning()},updated:function(){var e=this;rt(function(){e.debouncifyUpdateSpinning(),e.updateSpinning()})},beforeUnmount:function(){this.cancelExistingSpin()},methods:{debouncifyUpdateSpinning:function(e){var n=e||this.$props,i=n.delay;i&&(this.cancelExistingSpin(),this.updateSpinning=Ge(this.originalUpdateSpinning,i))},updateSpinning:function(){var e=this.spinning,n=this.sSpinning;n!==e&&(this.sSpinning=e)},cancelExistingSpin:function(){var e=this.updateSpinning;e&&e.cancel&&e.cancel()},renderIndicator:function(e){var n="".concat(e,"-dot"),i=jn(this,"indicator");return i===null?null:(Array.isArray(i)&&(i=i.length===1?i[0]:i),It(i)?Ye(i,{class:n}):xe&&It(xe())?Ye(xe(),{class:n}):a("span",{class:"".concat(n," ").concat(e,"-dot-spin")},[a("i",{class:"".concat(e,"-dot-item")},null),a("i",{class:"".concat(e,"-dot-item")},null),a("i",{class:"".concat(e,"-dot-item")},null),a("i",{class:"".concat(e,"-dot-item")},null)]))}},render:function(){var e,n,i,r=this.$props,l=r.size,p=r.prefixCls,o=r.tip,m=o===void 0?(e=(n=this.$slots).tip)===null||e===void 0?void 0:e.call(n):o,u=r.wrapperClassName,h=this.$attrs,w=h.class,C=h.style,f=nt(h,Ti),v=this.configProvider,d=v.getPrefixCls,g=v.direction,y=d("spin",p),s=this.sSpinning,A=(i={},U(i,y,!0),U(i,"".concat(y,"-sm"),l==="small"),U(i,"".concat(y,"-lg"),l==="large"),U(i,"".concat(y,"-spinning"),s),U(i,"".concat(y,"-show-text"),!!m),U(i,"".concat(y,"-rtl"),g==="rtl"),U(i,w,!!w),i),c=a("div",O(O({},f),{},{style:C,class:A}),[this.renderIndicator(y),m?a("div",{class:"".concat(y,"-text")},[m]):null]),E=Rn(this);if(E&&E.length){var M,D=(M={},U(M,"".concat(y,"-container"),!0),U(M,"".concat(y,"-blur"),s),M);return a("div",{class:["".concat(y,"-nested-loading"),u]},[s&&a("div",{key:"loading"},[c]),a("div",{class:D,key:"container"},[E])])}return c}});var Vi={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"};const Fi=Vi;function Bt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Ui(t,r,n[r])})}return t}function Ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ft=function(e,n){var i=Bt({},e,n.attrs);return a(W,Bt({},i,{icon:Fi}),null)};ft.displayName="StarFilled";ft.inheritAttrs=!1;const hn=ft;var Hi={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"};const Yi=Hi;function Qt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Gi(t,r,n[r])})}return t}function Gi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vt=function(e,n){var i=Qt({},e,n.attrs);return a(W,Qt({},i,{icon:Yi}),null)};vt.displayName="FileOutlined";vt.inheritAttrs=!1;const Dt=vt;var Ji={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"};const Wi=Ji;function Tt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Zi(t,r,n[r])})}return t}function Zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var mt=function(e,n){var i=Tt({},e,n.attrs);return a(W,Tt({},i,{icon:Wi}),null)};mt.displayName="FolderOpenOutlined";mt.inheritAttrs=!1;const jt=mt,Xi="data:image/png;base64,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";var Ki={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"};const qi=Ki;function Rt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){er(t,r,n[r])})}return t}function er(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pt=function(e,n){var i=Rt({},e,n.attrs);return a(W,Rt({},i,{icon:qi}),null)};pt.displayName="ArrowsAltOutlined";pt.inheritAttrs=!1;const tr=pt;var nr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"};const ir=nr;function Vt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){rr(t,r,n[r])})}return t}function rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gt=function(e,n){var i=Vt({},e,n.attrs);return a(W,Vt({},i,{icon:ir}),null)};gt.displayName="DragOutlined";gt.inheritAttrs=!1;const lr=gt;var ar={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"};const or=ar;function Ft(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){sr(t,r,n[r])})}return t}function sr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ht=function(e,n){var i=Ft({},e,n.attrs);return a(W,Ft({},i,{icon:or}),null)};ht.displayName="FullscreenExitOutlined";ht.inheritAttrs=!1;const ur=ht;var cr={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"};const dr=cr;function Ut(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){fr(t,r,n[r])})}return t}function fr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yt=function(e,n){var i=Ut({},e,n.attrs);return a(W,Ut({},i,{icon:dr}),null)};yt.displayName="FullscreenOutlined";yt.inheritAttrs=!1;const vr=yt;var mr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{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:"left-circle",theme:"outlined"};const pr=mr;function Ht(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){gr(t,r,n[r])})}return t}function gr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var bt=function(e,n){var i=Ht({},e,n.attrs);return a(W,Ht({},i,{icon:pr}),null)};bt.displayName="LeftCircleOutlined";bt.inheritAttrs=!1;const yl=bt;var hr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z"}},{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:"right-circle",theme:"outlined"};const yr=hr;function Yt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){br(t,r,n[r])})}return t}function br(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var wt=function(e,n){var i=Yt({},e,n.attrs);return a(W,Yt({},i,{icon:yr}),null)};wt.displayName="RightCircleOutlined";wt.inheritAttrs=!1;const bl=wt;var wr={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"};const Cr=wr;function Gt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Ar(t,r,n[r])})}return t}function Ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ct=function(e,n){var i=Gt({},e,n.attrs);return a(W,Gt({},i,{icon:Cr}),null)};Ct.displayName="StarOutlined";Ct.inheritAttrs=!1;const yn=Ct;function Sr(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let Le;function We(){We.init||(We.init=!0,Le=Sr()!==-1)}var Te={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){We(),rt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Le&&this.$el.appendChild(t),t.data="about:blank",Le||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Le&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Or=Un();Vn("data-v-b329ee4c");const Er={class:"resize-observer",tabindex:"-1"};Fn();const Pr=Or((t,e,n,i,r,l)=>(_(),G("div",Er)));Te.render=Pr;Te.__scopeId="data-v-b329ee4c";Te.__file="src/components/ResizeObserver.vue";function Me(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Me=function(e){return typeof e}:Me=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(t)}function $r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ir(t,e,n){return e&&Jt(t.prototype,e),n&&Jt(t,n),t}function Wt(t){return _r(t)||xr(t)||Lr(t)||Mr()}function _r(t){if(Array.isArray(t))return Ze(t)}function xr(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function Lr(t,e){if(t){if(typeof t=="string")return Ze(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(t,e)}}function Ze(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Mr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zr(t){var e;return typeof t=="function"?e={callback:t}:e=t,e}function kr(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,l,p=function(m){for(var u=arguments.length,h=new Array(u>1?u-1:0),w=1;w<u;w++)h[w-1]=arguments[w];if(l=h,!(i&&m===r)){var C=n.leading;typeof C=="function"&&(C=C(m,r)),(!i||m!==r)&&C&&t.apply(void 0,[m].concat(Wt(l))),r=m,clearTimeout(i),i=setTimeout(function(){t.apply(void 0,[m].concat(Wt(l))),i=0},e)}};return p._clear=function(){clearTimeout(i),i=null},p}function bn(t,e){if(t===e)return!0;if(Me(t)==="object"){for(var n in t)if(!bn(t[n],e[n]))return!1;return!0}return!1}var Nr=function(){function t(e,n,i){$r(this,t),this.el=e,this.observer=null,this.frozen=!1,this.createObserver(n,i)}return Ir(t,[{key:"createObserver",value:function(n,i){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=zr(n),this.callback=function(o,m){r.options.callback(o,m),o&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var l=this.options.throttleOptions||{},p=l.leading;this.callback=kr(this.callback,this.options.throttle,{leading:function(m){return p==="both"||p==="visible"&&m||p==="hidden"&&!m}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(o){var m=o[0];if(o.length>1){var u=o.find(function(w){return w.isIntersecting});u&&(m=u)}if(r.callback){var h=m.isIntersecting&&m.intersectionRatio>=r.threshold;if(h===r.oldResult)return;r.oldResult=h,r.callback(h,m)}},this.options.intersection),rt(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),t}();function wn(t,e,n){var i=e.value;if(i)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new Nr(t,i,n);t._vue_visibilityState=r}}function Br(t,e,n){var i=e.value,r=e.oldValue;if(!bn(i,r)){var l=t._vue_visibilityState;if(!i){Cn(t);return}l?l.createObserver(i,n):wn(t,{value:i},n)}}function Cn(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}var Qr={beforeMount:wn,updated:Br,unmounted:Cn},Dr={itemsLimit:1e3},Tr=/(auto|scroll)/;function An(t,e){return t.parentNode===null?e:An(t.parentNode,e.concat([t]))}var He=function(e,n){return getComputedStyle(e,null).getPropertyValue(n)},jr=function(e){return He(e,"overflow")+He(e,"overflow-y")+He(e,"overflow-x")},Rr=function(e){return Tr.test(jr(e))};function Zt(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var e=An(t.parentNode,[]),n=0;n<e.length;n+=1)if(Rr(e[n]))return e[n];return document.scrollingElement||document.documentElement}}function Xe(t){"@babel/helpers - typeof";return Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(t)}var Vr={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Fr(){return this.items.length&&Xe(this.items[0])!=="object"}var Ke=!1;if(typeof window<"u"){Ke=!1;try{var Ur=Object.defineProperty({},"passive",{get:function(){Ke=!0}});window.addEventListener("test",null,Ur)}catch{}}let Hr=0;var Sn={name:"RecycleScroller",components:{ResizeObserver:Te},directives:{ObserveVisibility:Qr},props:{...Vr,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const t={"-1":{accumulator:0}},e=this.items,n=this.sizeField,i=this.minItemSize;let r=1e4,l=0,p;for(let o=0,m=e.length;o<m;o++)p=e[o][n]||i,p<r&&(r=p),l+=p,t[o]={accumulator:l,size:p};return this.$_computedMinItemSize=r,t}return[]},simpleArray:Fr,itemIndexByKey(){const{keyField:t,items:e}=this,n={};for(let i=0,r=e.length;i<r;i++)n[e[i][t]]=i;return n}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const t=this.$_lastUpdateScrollPosition;typeof t=="number"&&this.$nextTick(()=>{this.scrollToPosition(t)})},beforeUnmount(){this.removeListeners()},methods:{addView(t,e,n,i,r){const l=Hn({id:Hr++,index:e,used:!0,key:i,type:r}),p=Yn({item:n,position:0,nr:l});return t.push(p),p},unuseView(t,e=!1){const n=this.$_unusedViews,i=t.nr.type;let r=n.get(i);r||(r=[],n.set(i,r)),r.push(t),e||(t.nr.used=!1,t.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(t){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const e=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});e(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&e()},this.updateInterval))}},handleVisibilityChange(t,e){this.ready&&(t||e.boundingClientRect.width!==0||e.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(t,e=!1){const n=this.itemSize,i=this.gridItems||1,r=this.itemSecondarySize||n,l=this.$_computedMinItemSize,p=this.typeField,o=this.simpleArray?null:this.keyField,m=this.items,u=m.length,h=this.sizes,w=this.$_views,C=this.$_unusedViews,f=this.pool,v=this.itemIndexByKey;let d,g,y,s,A;if(!u)d=g=s=A=y=0;else if(this.$_prerender)d=s=0,g=A=Math.min(this.prerender,m.length),y=null;else{const b=this.getScroll();if(e){let k=b.start-this.$_lastUpdateScrollPosition;if(k<0&&(k=-k),n===null&&k<l||k<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=b.start;const x=this.buffer;b.start-=x,b.end+=x;let L=0;if(this.$refs.before&&(L=this.$refs.before.scrollHeight,b.start-=L),this.$refs.after){const k=this.$refs.after.scrollHeight;b.end+=k}if(n===null){let k,R=0,ue=u-1,F=~~(u/2),te;do te=F,k=h[F].accumulator,k<b.start?R=F:F<u-1&&h[F+1].accumulator>b.start&&(ue=F),F=~~((R+ue)/2);while(F!==te);for(F<0&&(F=0),d=F,y=h[u-1].accumulator,g=F;g<u&&h[g].accumulator<b.end;g++);for(g===-1?g=m.length-1:(g++,g>u&&(g=u)),s=d;s<u&&L+h[s].accumulator<b.start;s++);for(A=s;A<u&&L+h[A].accumulator<b.end;A++);}else{d=~~(b.start/n*i);const k=d%i;d-=k,g=Math.ceil(b.end/n*i),s=Math.max(0,Math.floor((b.start-L)/n*i)),A=Math.floor((b.end-L)/n*i),d<0&&(d=0),g>u&&(g=u),s<0&&(s=0),A>u&&(A=u),y=Math.ceil(u/i)*n}}g-d>Dr.itemsLimit&&this.itemsLimitError(),this.totalSize=y;let c;const E=d<=this.$_endIndex&&g>=this.$_startIndex;if(E)for(let b=0,x=f.length;b<x;b++)c=f[b],c.nr.used&&(t&&(c.nr.index=v[c.item[o]]),(c.nr.index==null||c.nr.index<d||c.nr.index>=g)&&this.unuseView(c));const M=E?null:new Map;let D,P,$;for(let b=d;b<g;b++){D=m[b];const x=o?D[o]:D;if(x==null)throw new Error(`Key is ${x} on item (keyField is '${o}')`);if(c=w.get(x),!n&&!h[b].size){c&&this.unuseView(c);continue}P=D[p];let L=C.get(P),k=!1;if(!c)E?L&&L.length?c=L.pop():c=this.addView(f,b,D,x,P):($=M.get(P)||0,(!L||$>=L.length)&&(c=this.addView(f,b,D,x,P),this.unuseView(c,!0),L=C.get(P)),c=L[$],M.set(P,$+1)),w.delete(c.nr.key),c.nr.used=!0,c.nr.index=b,c.nr.key=x,c.nr.type=P,w.set(x,c),k=!0;else if(!c.nr.used&&(c.nr.used=!0,c.nr.index=b,k=!0,L)){const R=L.indexOf(c);R!==-1&&L.splice(R,1)}c.item=D,k&&(b===m.length-1&&this.$emit("scroll-end"),b===0&&this.$emit("scroll-start")),n===null?(c.position=h[b-1].accumulator,c.offset=0):(c.position=Math.floor(b/i)*n,c.offset=b%i*r)}return this.$_startIndex=d,this.$_endIndex=g,this.emitUpdate&&this.$emit("update",d,g,s,A),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:E}},getListenerTarget(){let t=Zt(this.$el);return window.document&&(t===window.document.documentElement||t===window.document.body)&&(t=window),t},getScroll(){const{$el:t,direction:e}=this,n=e==="vertical";let i;if(this.pageMode){const r=t.getBoundingClientRect(),l=n?r.height:r.width;let p=-(n?r.top:r.left),o=n?window.innerHeight:window.innerWidth;p<0&&(o+=p,p=0),p+o>l&&(o=l-p),i={start:p,end:p+o}}else n?i={start:t.scrollTop,end:t.scrollTop+t.clientHeight}:i={start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,Ke?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(t){let e;const n=this.gridItems||1;this.itemSize===null?e=t>0?this.sizes[t-1].accumulator:0:e=Math.floor(t/n)*this.itemSize,this.scrollToPosition(e)},scrollToPosition(t){const e=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,r;if(this.pageMode){const l=Zt(this.$el),p=l.tagName==="HTML"?0:l[e.scroll],o=l.getBoundingClientRect(),u=this.$el.getBoundingClientRect()[e.start]-o[e.start];n=l,i=e.scroll,r=t+p+u}else n=this.$el,i=e.scroll,r=t;n[i]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((t,e)=>t.nr.index-e.nr.index)}}};const Yr={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Gr={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Jr(t,e,n,i,r,l){const p=Gn("ResizeObserver"),o=Jn("observe-visibility");return Wn((_(),Y("div",{class:Ee(["vue-recycle-scroller",{ready:r.ready,"page-mode":n.pageMode,[`direction-${t.direction}`]:!0}]),onScrollPassive:e[0]||(e[0]=(...m)=>l.handleScroll&&l.handleScroll(...m))},[t.$slots.before?(_(),Y("div",Yr,[_e(t.$slots,"before")],512)):ie("v-if",!0),(_(),G(_t(n.listTag),{ref:"wrapper",style:Kn({[t.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:Ee(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:S(()=>[(_(!0),Y(se,null,lt(r.pool,m=>(_(),G(_t(n.itemTag),Zn({key:m.nr.id,style:r.ready?{transform:`translate${t.direction==="vertical"?"Y":"X"}(${m.position}px) translate${t.direction==="vertical"?"X":"Y"}(${m.offset}px)`,width:n.gridItems?`${t.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${t.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&r.hoverKey===m.nr.key}]]},Xn(n.skipHover?{}:{mouseenter:()=>{r.hoverKey=m.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:S(()=>[_e(t.$slots,"default",{item:m.item,index:m.nr.index,active:m.nr.used})]),_:2},1040,["style","class"]))),128)),_e(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(_(),Y("div",Gr,[_e(t.$slots,"after")],512)):ie("v-if",!0),a(p,{onNotify:l.handleResize},null,8,["onNotify"])],34)),[[o,l.handleVisibilityChange]])}Sn.render=Jr;Sn.__file="src/components/RecycleScroller.vue";const qe=ee({__name:"ContextMenu",props:{file:{},idx:{},selectedTag:{},disableDelete:{type:Boolean}},emits:["contextMenuClick"],setup(t,{emit:e}){const n=t,i=at(),r=B(()=>{var l;return(((l=i.conf)==null?void 0:l.all_custom_tags)??[]).reduce((p,o)=>[...p,{...o,selected:!!n.selectedTag.find(m=>m.id===o.id)}],[])});return(l,p)=>{const o=nn,m=qn,u=ei,h=rn;return _(),G(h,{onClick:p[0]||(p[0]=w=>e("contextMenuClick",w,l.file,l.idx))},{default:S(()=>[a(o,{key:"deleteFiles",disabled:l.disableDelete},{default:S(()=>[Q(I(l.$t("deleteSelected")),1)]),_:1},8,["disabled"]),l.file.type==="dir"?(_(),Y(se,{key:0},[a(o,{key:"openInNewTab"},{default:S(()=>[Q(I(l.$t("openInNewTab")),1)]),_:1}),a(o,{key:"openOnTheRight"},{default:S(()=>[Q(I(l.$t("openOnTheRight")),1)]),_:1}),a(o,{key:"openWithWalkMode"},{default:S(()=>[Q(I(l.$t("openWithWalkMode")),1)]),_:1})],64)):ie("",!0),l.file.type==="file"?(_(),Y(se,{key:1},[z(tn)(l.file.name)?(_(),Y(se,{key:0},[a(o,{key:"viewGenInfo"},{default:S(()=>[Q(I(l.$t("viewGenerationInfo")),1)]),_:1}),a(m),a(o,{key:"send2txt2img"},{default:S(()=>[Q(I(l.$t("sendToTxt2img")),1)]),_:1}),a(o,{key:"send2img2img"},{default:S(()=>[Q(I(l.$t("sendToImg2img")),1)]),_:1}),a(o,{key:"send2inpaint"},{default:S(()=>[Q(I(l.$t("sendToInpaint")),1)]),_:1}),a(o,{key:"send2extras"},{default:S(()=>[Q(I(l.$t("sendToExtraFeatures")),1)]),_:1}),a(u,{key:"send2controlnet",title:l.$t("sendToControlNet")},{default:S(()=>[a(o,{key:"send2controlnet-txt2img"},{default:S(()=>[Q(I(l.$t("t2i")),1)]),_:1}),a(o,{key:"send2controlnet-img2img"},{default:S(()=>[Q(I(l.$t("i2i")),1)]),_:1})]),_:1},8,["title"]),a(o,{key:"send2savedDir"},{default:S(()=>[Q(I(l.$t("send2savedDir")),1)]),_:1}),a(m),a(u,{key:"toggle-tag",title:l.$t("toggleTag")},{default:S(()=>[(_(!0),Y(se,null,lt(r.value,w=>(_(),G(o,{key:`toggle-tag-${w.id}`},{default:S(()=>[Q(I(w.name)+" ",1),w.selected?(_(),G(z(hn),{key:0})):(_(),G(z(yn),{key:1}))]),_:2},1024))),128))]),_:1},8,["title"]),a(o,{key:"openWithLocalFileBrowser"},{default:S(()=>[Q(I(l.$t("openWithLocalFileBrowser")),1)]),_:1})],64)):ie("",!0),a(o,{key:"previewInNewWindow"},{default:S(()=>[Q(I(l.$t("previewInNewWindow")),1)]),_:1}),a(o,{key:"download"},{default:S(()=>[Q(I(l.$t("download")),1)]),_:1}),a(o,{key:"copyPreviewUrl"},{default:S(()=>[Q(I(l.$t("copySourceFilePreviewLink")),1)]),_:1})],64)):ie("",!0)]),_:1})}}}),Wr=["data-idx"],Zr={key:0},Xr={class:"more"},Kr={key:1,class:"preview-icon-wrap"},qr={class:"profile"},el={class:"name line-clamp-1"},tl={class:"basic-info"},nl={class:"name line-clamp-1"},il={class:"basic-info"},rl=ee({__name:"FileItem",props:{file:{},idx:{},selected:{type:Boolean,default:!1},showMenuIdx:{},viewMode:{default:"previewGrid"},fullScreenPreviewImageUrl:{}},emits:["update:showMenuIdx","fileItemClick","dragstart","previewVisibleChange","contextMenuClick"],setup(t,{emit:e}){const n=t,i=at(),r=V([]),l=()=>{var u;((u=n==null?void 0:n.file)==null?void 0:u.type)==="file"&&p.pushAction(()=>on(n.file.fullpath)).res.then(h=>{r.value=h})},p=ln(),o=B(()=>n.viewMode==="previewGrid"?[i.gridThumbnailSize,i.gridThumbnailSize].join("x"):[i.largeGridThumbnailSize,i.largeGridThumbnailSize].join("x")),m=B(()=>i.enableThumbnail?oi(n.file,o.value):Je(n.file));return(u,h)=>{const w=ge,C=Di;return _(),G(w,{trigger:["contextmenu"],visible:z(i).longPressOpenContextMenu?typeof u.idx=="number"&&u.showMenuIdx===u.idx:void 0,"onUpdate:visible":h[4]||(h[4]=f=>typeof u.idx=="number"&&e("update:showMenuIdx",f?u.idx:-1))},{overlay:S(()=>[a(qe,{file:u.file,idx:u.idx,"selected-tag":r.value,onContextMenuClick:h[3]||(h[3]=(f,v,d)=>e("contextMenuClick",f,v,d))},null,8,["file","idx","selected-tag"])]),default:S(()=>[(_(),Y("li",{class:Ee(["file file-item-trigger",{clickable:u.file.type==="dir",selected:u.selected,grid:u.viewMode==="previewGrid"||u.viewMode==="largePreviewGrid","large-grid":u.viewMode==="largePreviewGrid"}]),"data-idx":u.idx,key:u.file.name,draggable:"true",onDragstart:h[1]||(h[1]=f=>e("dragstart",f,u.idx)),onContextmenu:l,onClickCapture:h[2]||(h[2]=f=>e("fileItemClick",f,u.file,u.idx))},[u.viewMode!=="detailList"?(_(),Y("div",Zr,[a(w,null,{overlay:S(()=>[a(qe,{file:u.file,idx:u.idx,"selected-tag":r.value,onContextMenuClick:h[0]||(h[0]=(f,v,d)=>e("contextMenuClick",f,v,d))},null,8,["file","idx","selected-tag"])]),default:S(()=>[J("div",Xr,[a(z(tt))])]),_:1}),z(tn)(u.file.name)?(_(),G(C,{key:u.file.fullpath,class:Ee(`idx-${u.idx}`),src:m.value,fallback:z(Xi),preview:{src:u.fullScreenPreviewImageUrl,onVisibleChange:(f,v)=>e("previewVisibleChange",f,v)}},null,8,["class","src","fallback","preview"])):(_(),Y("div",Kr,[u.file.type==="file"?(_(),G(z(Dt),{key:0,class:"icon center"})):(_(),G(z(jt),{key:1,class:"icon center"}))])),J("div",qr,[J("div",el,I(u.file.name),1),J("div",tl,[J("div",null,I(u.file.size),1),J("div",null,I(u.file.date),1)])])])):(_(),Y(se,{key:1},[u.file.type==="file"?(_(),G(z(Dt),{key:0,class:"icon"})):(_(),G(z(jt),{key:1,class:"icon"})),J("div",nl,I(u.file.name),1),J("div",il,[J("div",null,I(u.file.size),1),J("div",null,I(u.file.date),1)])],64))],42,Wr))]),_:1},8,["visible"])}}});const wl=an(rl,[["__scopeId","data-v-be32f69f"]]);function ll(t,e,n,i){const r={x:0,y:0};let l=0,p=0,o=typeof(i==null?void 0:i.width)=="number"?i.width:0,m=typeof(i==null?void 0:i.height)=="number"?i.height:0,u=typeof(i==null?void 0:i.left)=="number"?i.left:0,h=typeof(i==null?void 0:i.top)=="number"?i.top:0,w=!1;const C=s=>{s.stopPropagation(),s.preventDefault(),!(!t.value||!e.value)&&(l=s instanceof MouseEvent?s.clientX:s.touches[0].clientX,p=s instanceof MouseEvent?s.clientY:s.touches[0].clientY,o=t.value.offsetWidth,m=t.value.offsetHeight,r.x=e.value.offsetLeft,r.y=e.value.offsetTop,document.documentElement.addEventListener("mousemove",f),document.documentElement.addEventListener("touchmove",f),document.documentElement.addEventListener("mouseup",v),document.documentElement.addEventListener("touchend",v))},f=s=>{if(!t.value||!e.value)return;const A=o+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),c=m+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-p),E=r.x+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),M=r.y+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-p);t.value.style.width=`${A}px`,t.value.style.height=`${c}px`,e.value.style.left=`${E}px`,e.value.style.top=`${M}px`,i!=null&&i.onResize&&i.onResize(A,c)},v=()=>{document.documentElement.removeEventListener("mousemove",f),document.documentElement.removeEventListener("touchmove",f),document.documentElement.removeEventListener("mouseup",v),document.documentElement.removeEventListener("touchend",v)},d=s=>{s.stopPropagation(),s.preventDefault(),!(!t.value||!n.value)&&(w=!0,u=t.value.offsetLeft,h=t.value.offsetTop,l=s instanceof MouseEvent?s.clientX:s.touches[0].clientX,p=s instanceof MouseEvent?s.clientY:s.touches[0].clientY,document.documentElement.addEventListener("mousemove",g),document.documentElement.addEventListener("touchmove",g),document.documentElement.addEventListener("mouseup",y),document.documentElement.addEventListener("touchend",y))},g=s=>{if(!t.value||!n.value||!w)return;const A=u+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),c=h+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-p);t.value.style.left=`${A}px`,t.value.style.top=`${c}px`,i!=null&&i.onDrag&&i.onDrag(A,c)},y=()=>{w=!1,document.documentElement.removeEventListener("mousemove",g),document.documentElement.removeEventListener("touchmove",g),document.documentElement.removeEventListener("mouseup",y),document.documentElement.removeEventListener("touchend",y)};return De(()=>{!t.value||!i||(typeof i.width=="number"&&(t.value.style.width=`${i.width}px`),typeof i.height=="number"&&(t.value.style.height=`${i.height}px`),typeof i.left=="number"&&(t.value.style.left=`${i.left}px`),typeof i.top=="number"&&(t.value.style.top=`${i.top}px`))}),ti(()=>{document.documentElement.removeEventListener("mousemove",f),document.documentElement.removeEventListener("touchmove",f),document.documentElement.removeEventListener("mouseup",v),document.documentElement.removeEventListener("touchend",v),document.documentElement.removeEventListener("mousemove",g),document.documentElement.removeEventListener("touchmove",g),document.documentElement.removeEventListener("mouseup",y),document.documentElement.removeEventListener("touchend",y)}),oe(()=>[t.value,e.value,n.value],([s,A,c])=>{s&&A&&(A.addEventListener("mousedown",C),A.addEventListener("touchstart",C)),s&&c&&(c.addEventListener("mousedown",d),c.addEventListener("touchstart",d))}),{handleResizeMouseDown:C,handleDragMouseDown:d}}const al={class:"container"},ol={class:"action-bar"},sl={key:0,class:"icon",style:{cursor:"pointer"}},ul={key:0,"flex-placeholder":""},cl={key:1,class:"action-bar"},dl={key:0,class:"gen-info"},fl=ee({__name:"fullScreenContextMenu",props:{file:{},idx:{}},emits:["contextMenuClick"],setup(t,{emit:e}){const n=t,i=at(),r=V(),l=V([]),p=B(()=>{var v;return(((v=i.conf)==null?void 0:v.all_custom_tags)??[]).reduce((d,g)=>[...d,{...g,selected:!!l.value.find(y=>y.id===g.id)}],[])}),o=ln(),m=V("");oe(()=>{var v;return(v=n==null?void 0:n.file)==null?void 0:v.fullpath},async v=>{v&&(o.tasks.forEach(d=>d.cancel()),o.pushAction(()=>ni(v)).res.then(d=>{m.value=d}))},{immediate:!0});const u=v=>{v&&o.pushAction(()=>on(n.file.fullpath)).res.then(d=>{l.value=d})},h=V(),w=V(),C=ii("fullScreenContextMenu.vue-drag",{left:100,top:100,width:512,height:384,expanded:!0});ll(r,h,w,{...C.value,onDrag:Ge(function(v,d){C.value={...C.value,left:v,top:d}},300),onResize:Ge(function(v,d){C.value={...C.value,width:v,height:d}},300)});function f(v){return v.parentNode}return(v,d)=>{const g=ge,y=ze,s=nn,A=rn;return _(),Y("div",{ref_key:"el",ref:r,class:Ee(["full-screen-menu",{"unset-size":!z(C).expanded}]),onWheelCapture:d[5]||(d[5]=ai(()=>{},["stop"]))},[J("div",al,[J("div",ol,[J("div",{ref_key:"dragHandle",ref:w,class:"icon",style:{cursor:"grab"}},[a(z(lr))],512),J("div",{class:"icon",style:{cursor:"pointer"},onClick:d[0]||(d[0]=c=>z(C).expanded=!z(C).expanded)},[z(C).expanded?(_(),G(z(ur),{key:0})):(_(),G(z(vr),{key:1}))]),a(g,{onVisibleChange:u,"get-popup-container":f},{overlay:S(()=>[a(qe,{file:v.file,idx:v.idx,"selected-tag":l.value,"disable-delete":z(Je)(v.file)===z(i).fullscreenPreviewInitialUrl,onContextMenuClick:d[1]||(d[1]=(c,E,M)=>e("contextMenuClick",c,E,M))},null,8,["file","idx","selected-tag","disable-delete"])]),default:S(()=>[z(C).expanded?ie("",!0):(_(),Y("div",sl,[a(z(tt))]))]),_:1}),z(C).expanded?(_(),Y("div",ul)):ie("",!0),z(C).expanded?(_(),Y("div",cl,[a(g,{trigger:["hover"],"get-popup-container":f,onVisibleChange:u},{overlay:S(()=>[a(A,{onClick:d[2]||(d[2]=c=>e("contextMenuClick",c,v.file,v.idx))},{default:S(()=>[(_(!0),Y(se,null,lt(p.value,c=>(_(),G(s,{key:`toggle-tag-${c.id}`},{default:S(()=>[Q(I(c.name)+" ",1),c.selected?(_(),G(z(hn),{key:0})):(_(),G(z(yn),{key:1}))]),_:2},1024))),128))]),_:1})]),default:S(()=>[a(y,null,{default:S(()=>[Q(I(v.$t("toggleTag")),1)]),_:1})]),_:1}),a(g,{trigger:["hover"],"get-popup-container":f},{overlay:S(()=>[a(A,{onClick:d[3]||(d[3]=c=>e("contextMenuClick",c,v.file,v.idx))},{default:S(()=>[a(s,{key:"send2txt2img"},{default:S(()=>[Q(I(v.$t("sendToTxt2img")),1)]),_:1}),a(s,{key:"send2img2img"},{default:S(()=>[Q(I(v.$t("sendToImg2img")),1)]),_:1}),a(s,{key:"send2inpaint"},{default:S(()=>[Q(I(v.$t("sendToInpaint")),1)]),_:1}),a(s,{key:"send2extras"},{default:S(()=>[Q(I(v.$t("sendToExtraFeatures")),1)]),_:1}),a(s,{key:"send2savedDir"},{default:S(()=>[Q(I(v.$t("send2savedDir")),1)]),_:1}),a(s,{key:"deleteFiles",disabled:z(Je)(v.file)===z(i).fullscreenPreviewInitialUrl},{default:S(()=>[Q(I(v.$t("deleteSelected")),1)]),_:1},8,["disabled"]),a(s,{key:"previewInNewWindow"},{default:S(()=>[Q(I(v.$t("previewInNewWindow")),1)]),_:1}),a(s,{key:"download"},{default:S(()=>[Q(I(v.$t("download")),1)]),_:1}),a(s,{key:"copyPreviewUrl"},{default:S(()=>[Q(I(v.$t("copySourceFilePreviewLink")),1)]),_:1})]),_:1})]),default:S(()=>[a(y,null,{default:S(()=>[Q(I(z(ri)("openContextMenu")),1)]),_:1})]),_:1}),a(y,{onClick:d[4]||(d[4]=c=>z(li)(m.value))},{default:S(()=>[Q(I(v.$t("copyPrompt")),1)]),_:1})])):ie("",!0)]),z(C).expanded?(_(),Y("div",dl,I(m.value),1)):ie("",!0)]),z(C).expanded?(_(),Y("div",{key:0,class:"mouse-sensor",ref_key:"resizeHandle",ref:h},[a(z(tr))],512)):ie("",!0)],34)}}});const Cl=an(fl,[["__scopeId","data-v-10ae8e66"]]);export{ge as D,yl as L,bl as R,hl as S,Sn as a,Cl as b,wl as f,gl as s};