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

3 lines
52 KiB
JavaScript

import{P as ie,by as _t,a as F,d as W,bh as ge,u as tt,c as a,bz as ye,_ as nt,U as re,$ as ue,ah as G,bn as Qe,a2 as Me,av as $t,h as j,bA as It,b as zt,aw as Pt,bB as Lt,a1 as Ne,bm as kt,aD as Bt,bC as Qt,az as be,bf as de,bD as Mt,bE as xe,e as Te,bF as Nt,af as U,al as xt,am as Tt,o as w,m as Q,bG as Dt,bH as jt,bI as Ft,bJ as Vt,bK as Ut,a4 as Rt,y as P,bL as Z,H as V,n as g,z as H,A as Ae,bM as De,bN as Ht,bO as Jt,B as Yt,L as K,k as Se,x as $,v as E,r as _,bP as it,V as rt,bQ as Gt,bR as Wt,M as lt,Z as Y,bq as ot,bS as Kt,K as ce,p as T,bT as Xt,W as st,ay as qt,ap as Zt,l as at,bU as en,bV as tn,ag as nn,t as rn,q as ln}from"./index-837602c1.js";import"./hook-594118df.js";import{f as ut}from"./db-90ebe1a2.js";var dt=function(){return{arrow:{type:[Boolean,Object],default:void 0},trigger:{type:[Array,String]},overlay:ie.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}}},se=_t(),on=function(){return F(F({},dt()),{},{type:se.type,size:String,htmlType:se.htmlType,href:String,disabled:{type:Boolean,default:void 0},prefixCls:String,icon:ie.any,title:String,loading:se.loading,onClick:{type:Function}})},sn=["type","disabled","loading","htmlType","class","overlay","trigger","align","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:visible"],an=re.Group;const le=W({compatConfig:{MODE:3},name:"ADropdownButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:ge(on(),{trigger:"hover",placement:"bottomRight",type:"default"}),slots:["icon","leftButton","rightButton","overlay"],setup:function(t,n){var i=n.slots,r=n.attrs,l=n.emit,h=function(S){l("update:visible",S),l("visibleChange",S)},u=tt("dropdown-button",t),f=u.prefixCls,o=u.direction,y=u.getPopupContainer;return function(){var O,S,p=F(F({},t),r),m=p.type,d=m===void 0?"default":m,v=p.disabled,b=p.loading,s=p.htmlType,C=p.class,c=C===void 0?"":C,I=p.overlay,L=I===void 0?(O=i.overlay)===null||O===void 0?void 0:O.call(i):I,N=p.trigger,M=p.align,D=p.visible;p.onVisibleChange;var A=p.placement,k=A===void 0?o.value==="rtl"?"bottomLeft":"bottomRight":A,z=p.href,B=p.title,R=p.icon,X=R===void 0?((S=i.icon)===null||S===void 0?void 0:S.call(i))||a(ye,null,null):R,x=p.mouseEnterDelay,q=p.mouseLeaveDelay,bt=p.overlayClassName,At=p.overlayStyle,St=p.destroyPopupOnHide,Et=p.onClick;p["onUpdate:visible"];var wt=nt(p,sn),Ot={align:M,disabled:v,trigger:v?[]:N,placement:k,getPopupContainer:y.value,onVisibleChange:h,mouseEnterDelay:x,mouseLeaveDelay:q,visible:D,overlayClassName:bt,overlayStyle:At,destroyPopupOnHide:St},ke=a(re,{type:d,disabled:v,loading:b,onClick:Et,htmlType:s,href:z,title:B},{default:i.default}),Be=a(re,{type:d,icon:X},null);return a(an,F(F({},wt),{},{class:ue(f.value,c)}),{default:function(){return[i.leftButton?i.leftButton({button:ke}):ke,a(J,Ot,{default:function(){return[i.rightButton?i.rightButton({button:Be}):Be]},overlay:function(){return L}})]}})}}});var ct=W({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:ge(dt(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:["overlay"],setup:function(t,n){var i=n.slots,r=n.attrs,l=n.emit,h=tt("dropdown",t),u=h.prefixCls,f=h.rootPrefixCls,o=h.direction,y=h.getPopupContainer,O=G(function(){var d=t.placement,v=d===void 0?"":d,b=t.transitionName;return b!==void 0?b:v.indexOf("top")>=0?"".concat(f.value,"-slide-down"):"".concat(f.value,"-slide-up")}),S=function(){var v,b,s,C=t.overlay||((v=i.overlay)===null||v===void 0?void 0:v.call(i)),c=Array.isArray(C)?C[0]:C;if(!c)return null;var I=c.props||{};Qe(!I.mode||I.mode==="vertical","Dropdown",'mode="'.concat(I.mode,`" is not supported for Dropdown's Menu.`));var L=I.selectable,N=L===void 0?!1:L,M=I.expandIcon,D=M===void 0?(b=c.children)===null||b===void 0||(s=b.expandIcon)===null||s===void 0?void 0:s.call(b):M,A=typeof D<"u"&&Ne(D)?D:a("span",{class:"".concat(u.value,"-menu-submenu-arrow")},[a(kt,{class:"".concat(u.value,"-menu-submenu-arrow-icon")},null)]),k=Ne(c)?Me(c,{mode:"vertical",selectable:N,expandIcon:function(){return A}}):c;return k},p=G(function(){var d=t.placement;if(!d)return o.value==="rtl"?"bottomRight":"bottomLeft";if(d.includes("Center")){var v=d.slice(0,d.indexOf("Center"));return Qe(!d.includes("Center"),"Dropdown","You are using '".concat(d,"' placement in Dropdown, which is deprecated. Try to use '").concat(v,"' instead.")),v}return d}),m=function(v){l("update:visible",v),l("visibleChange",v)};return function(){var d,v,b=t.arrow,s=t.trigger,C=t.disabled,c=t.overlayClassName,I=(d=i.default)===null||d===void 0?void 0:d.call(i)[0],L=Me(I,$t({class:ue(I==null||(v=I.props)===null||v===void 0?void 0:v.class,j({},"".concat(u.value,"-rtl"),o.value==="rtl"),"".concat(u.value,"-trigger"))},C?{disabled:C}:{})),N=ue(c,j({},"".concat(u.value,"-rtl"),o.value==="rtl")),M=C?[]:s,D;M&&M.indexOf("contextmenu")!==-1&&(D=!0);var A=It({arrowPointAtCenter:zt(b)==="object"&&b.pointAtCenter,autoAdjustOverflow:!0}),k=Pt(F(F(F({},t),r),{},{builtinPlacements:A,overlayClassName:N,arrow:b,alignPoint:D,prefixCls:u.value,getPopupContainer:y.value,transitionName:O.value,trigger:M,onVisibleChange:m,placement:p.value}),["overlay","onUpdate:visible"]);return a(Lt,k,{default:function(){return[L]},overlay:S})}}});ct.Button=le;const J=ct;J.Button=le;J.install=function(e){return e.component(J.name,J),e.component(le.name,le),e};var un=["class","style"],dn=function(){return{prefixCls:String,spinning:{type:Boolean,default:void 0},size:String,wrapperClassName:String,tip:ie.any,delay:Number,indicator:ie.any}},ee=null;function cn(e,t){return!!e&&!!t&&!isNaN(Number(t))}function Fi(e){var t=e.indicator;ee=typeof t=="function"?t:function(){return a(t,null,null)}}const Vi=W({compatConfig:{MODE:3},name:"ASpin",inheritAttrs:!1,props:ge(dn(),{size:"default",spinning:!0,wrapperClassName:""}),setup:function(){return{originalUpdateSpinning:null,configProvider:Bt("configProvider",Qt)}},data:function(){var t=this.spinning,n=this.delay,i=cn(t,n);return{sSpinning:t&&!i}},created:function(){this.originalUpdateSpinning=this.updateSpinning,this.debouncifyUpdateSpinning(this.$props)},mounted:function(){this.updateSpinning()},updated:function(){var t=this;be(function(){t.debouncifyUpdateSpinning(),t.updateSpinning()})},beforeUnmount:function(){this.cancelExistingSpin()},methods:{debouncifyUpdateSpinning:function(t){var n=t||this.$props,i=n.delay;i&&(this.cancelExistingSpin(),this.updateSpinning=de(this.originalUpdateSpinning,i))},updateSpinning:function(){var t=this.spinning,n=this.sSpinning;n!==t&&(this.sSpinning=t)},cancelExistingSpin:function(){var t=this.updateSpinning;t&&t.cancel&&t.cancel()},renderIndicator:function(t){var n="".concat(t,"-dot"),i=Mt(this,"indicator");return i===null?null:(Array.isArray(i)&&(i=i.length===1?i[0]:i),xe(i)?Te(i,{class:n}):ee&&xe(ee())?Te(ee(),{class:n}):a("span",{class:"".concat(n," ").concat(t,"-dot-spin")},[a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null),a("i",{class:"".concat(t,"-dot-item")},null)]))}},render:function(){var t,n,i,r=this.$props,l=r.size,h=r.prefixCls,u=r.tip,f=u===void 0?(t=(n=this.$slots).tip)===null||t===void 0?void 0:t.call(n):u,o=r.wrapperClassName,y=this.$attrs,O=y.class,S=y.style,p=nt(y,un),m=this.configProvider,d=m.getPrefixCls,v=m.direction,b=d("spin",h),s=this.sSpinning,C=(i={},j(i,b,!0),j(i,"".concat(b,"-sm"),l==="small"),j(i,"".concat(b,"-lg"),l==="large"),j(i,"".concat(b,"-spinning"),s),j(i,"".concat(b,"-show-text"),!!f),j(i,"".concat(b,"-rtl"),v==="rtl"),j(i,O,!!O),i),c=a("div",F(F({},p),{},{style:S,class:C}),[this.renderIndicator(b),f?a("div",{class:"".concat(b,"-text")},[f]):null]),I=Nt(this);if(I&&I.length){var L,N=(L={},j(L,"".concat(b,"-container"),!0),j(L,"".concat(b,"-blur"),s),L);return a("div",{class:["".concat(b,"-nested-loading"),o]},[s&&a("div",{key:"loading"},[c]),a("div",{class:N,key:"container"},[I])])}return c}});var fn={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 mn=fn;function je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){pn(e,r,n[r])})}return e}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=function(t,n){var i=je({},t,n.attrs);return a(U,je({},i,{icon:mn}),null)};Ee.displayName="StarFilled";Ee.inheritAttrs=!1;const ft=Ee;var vn={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 hn=vn;function Fe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){gn(e,r,n[r])})}return e}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(t,n){var i=Fe({},t,n.attrs);return a(U,Fe({},i,{icon:hn}),null)};we.displayName="FileOutlined";we.inheritAttrs=!1;const Ve=we;var yn={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 bn=yn;function Ue(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){An(e,r,n[r])})}return e}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=function(t,n){var i=Ue({},t,n.attrs);return a(U,Ue({},i,{icon:bn}),null)};Oe.displayName="FolderOpenOutlined";Oe.inheritAttrs=!1;const Re=Oe,Sn="data:image/png;base64,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";var En={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 wn=En;function He(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){On(e,r,n[r])})}return e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(t,n){var i=He({},t,n.attrs);return a(U,He({},i,{icon:wn}),null)};Ce.displayName="ArrowsAltOutlined";Ce.inheritAttrs=!1;const Cn=Ce;var _n={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 $n=_n;function Je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){In(e,r,n[r])})}return e}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=function(t,n){var i=Je({},t,n.attrs);return a(U,Je({},i,{icon:$n}),null)};_e.displayName="DragOutlined";_e.inheritAttrs=!1;const zn=_e;var Pn={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 Ln=Pn;function Ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){kn(e,r,n[r])})}return e}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $e=function(t,n){var i=Ye({},t,n.attrs);return a(U,Ye({},i,{icon:Ln}),null)};$e.displayName="FullscreenExitOutlined";$e.inheritAttrs=!1;const Bn=$e;var Qn={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 Mn=Qn;function Ge(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){Nn(e,r,n[r])})}return e}function Nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ie=function(t,n){var i=Ge({},t,n.attrs);return a(U,Ge({},i,{icon:Mn}),null)};Ie.displayName="FullscreenOutlined";Ie.inheritAttrs=!1;const xn=Ie;var Tn={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 Dn=Tn;function We(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){jn(e,r,n[r])})}return e}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(t,n){var i=We({},t,n.attrs);return a(U,We({},i,{icon:Dn}),null)};ze.displayName="LeftCircleOutlined";ze.inheritAttrs=!1;const Ui=ze;var Fn={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 Vn=Fn;function Ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){Un(e,r,n[r])})}return e}function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe=function(t,n){var i=Ke({},t,n.attrs);return a(U,Ke({},i,{icon:Vn}),null)};Pe.displayName="RightCircleOutlined";Pe.inheritAttrs=!1;const Ri=Pe;var Rn={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 Hn=Rn;function Xe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},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){Jn(e,r,n[r])})}return e}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=function(t,n){var i=Xe({},t,n.attrs);return a(U,Xe({},i,{icon:Hn}),null)};Le.displayName="StarOutlined";Le.inheritAttrs=!1;const mt=Le;function Yn(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let te;function fe(){fe.init||(fe.init=!0,te=Yn()!==-1)}var oe={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){fe(),be(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",te&&this.$el.appendChild(e),e.data="about:blank",te||this.$el.appendChild(e)},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&&(!te&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Gn=Dt();xt("data-v-b329ee4c");const Wn={class:"resize-observer",tabindex:"-1"};Tt();const Kn=Gn((e,t,n,i,r,l)=>(w(),Q("div",Wn)));oe.render=Kn;oe.__scopeId="data-v-b329ee4c";oe.__file="src/components/ResizeObserver.vue";function ne(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ne=function(t){return typeof t}:ne=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function Xn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qn(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),e}function Ze(e){return Zn(e)||ei(e)||ti(e)||ni()}function Zn(e){if(Array.isArray(e))return me(e)}function ei(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function ti(e,t){if(e){if(typeof e=="string")return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return me(e,t)}}function me(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ni(){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 ii(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function ri(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,l,h=function(f){for(var o=arguments.length,y=new Array(o>1?o-1:0),O=1;O<o;O++)y[O-1]=arguments[O];if(l=y,!(i&&f===r)){var S=n.leading;typeof S=="function"&&(S=S(f,r)),(!i||f!==r)&&S&&e.apply(void 0,[f].concat(Ze(l))),r=f,clearTimeout(i),i=setTimeout(function(){e.apply(void 0,[f].concat(Ze(l))),i=0},t)}};return h._clear=function(){clearTimeout(i),i=null},h}function pt(e,t){if(e===t)return!0;if(ne(e)==="object"){for(var n in e)if(!pt(e[n],t[n]))return!1;return!0}return!1}var li=function(){function e(t,n,i){Xn(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(n,i)}return qn(e,[{key:"createObserver",value:function(n,i){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=ii(n),this.callback=function(u,f){r.options.callback(u,f),u&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var l=this.options.throttleOptions||{},h=l.leading;this.callback=ri(this.callback,this.options.throttle,{leading:function(f){return h==="both"||h==="visible"&&f||h==="hidden"&&!f}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(u){var f=u[0];if(u.length>1){var o=u.find(function(O){return O.isIntersecting});o&&(f=o)}if(r.callback){var y=f.isIntersecting&&f.intersectionRatio>=r.threshold;if(y===r.oldResult)return;r.oldResult=y,r.callback(y,f)}},this.options.intersection),be(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}}]),e}();function vt(e,t,n){var i=t.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 li(e,i,n);e._vue_visibilityState=r}}function oi(e,t,n){var i=t.value,r=t.oldValue;if(!pt(i,r)){var l=e._vue_visibilityState;if(!i){ht(e);return}l?l.createObserver(i,n):vt(e,{value:i},n)}}function ht(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var si={beforeMount:vt,updated:oi,unmounted:ht},ai={itemsLimit:1e3},ui=/(auto|scroll)/;function gt(e,t){return e.parentNode===null?t:gt(e.parentNode,t.concat([e]))}var ae=function(t,n){return getComputedStyle(t,null).getPropertyValue(n)},di=function(t){return ae(t,"overflow")+ae(t,"overflow-y")+ae(t,"overflow-x")},ci=function(t){return ui.test(di(t))};function et(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=gt(e.parentNode,[]),n=0;n<t.length;n+=1)if(ci(t[n]))return t[n];return document.scrollingElement||document.documentElement}}function pe(e){"@babel/helpers - typeof";return pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pe(e)}var fi={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function mi(){return this.items.length&&pe(this.items[0])!=="object"}var ve=!1;if(typeof window<"u"){ve=!1;try{var pi=Object.defineProperty({},"passive",{get:function(){ve=!0}});window.addEventListener("test",null,pi)}catch{}}let vi=0;var yt={name:"RecycleScroller",components:{ResizeObserver:oe},directives:{ObserveVisibility:si},props:{...fi,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 e={"-1":{accumulator:0}},t=this.items,n=this.sizeField,i=this.minItemSize;let r=1e4,l=0,h;for(let u=0,f=t.length;u<f;u++)h=t[u][n]||i,h<r&&(r=h),l+=h,e[u]={accumulator:l,size:h};return this.$_computedMinItemSize=r,e}return[]},simpleArray:mi,itemIndexByKey(){const{keyField:e,items:t}=this,n={};for(let i=0,r=t.length;i<r;i++)n[t[i][e]]=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 e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,n,i,r){const l=jt({id:vi++,index:t,used:!0,key:i,type:r}),h=Ft({item:n,position:0,nr:l});return e.push(h),h},unuseView(e,t=!1){const n=this.$_unusedViews,i=e.nr.type;let r=n.get(i);r||(r=[],n.set(i,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const n=this.itemSize,i=this.gridItems||1,r=this.itemSecondarySize||n,l=this.$_computedMinItemSize,h=this.typeField,u=this.simpleArray?null:this.keyField,f=this.items,o=f.length,y=this.sizes,O=this.$_views,S=this.$_unusedViews,p=this.pool,m=this.itemIndexByKey;let d,v,b,s,C;if(!o)d=v=s=C=b=0;else if(this.$_prerender)d=s=0,v=C=Math.min(this.prerender,f.length),b=null;else{const A=this.getScroll();if(t){let B=A.start-this.$_lastUpdateScrollPosition;if(B<0&&(B=-B),n===null&&B<l||B<n)return{continuous:!0}}this.$_lastUpdateScrollPosition=A.start;const k=this.buffer;A.start-=k,A.end+=k;let z=0;if(this.$refs.before&&(z=this.$refs.before.scrollHeight,A.start-=z),this.$refs.after){const B=this.$refs.after.scrollHeight;A.end+=B}if(n===null){let B,R=0,X=o-1,x=~~(o/2),q;do q=x,B=y[x].accumulator,B<A.start?R=x:x<o-1&&y[x+1].accumulator>A.start&&(X=x),x=~~((R+X)/2);while(x!==q);for(x<0&&(x=0),d=x,b=y[o-1].accumulator,v=x;v<o&&y[v].accumulator<A.end;v++);for(v===-1?v=f.length-1:(v++,v>o&&(v=o)),s=d;s<o&&z+y[s].accumulator<A.start;s++);for(C=s;C<o&&z+y[C].accumulator<A.end;C++);}else{d=~~(A.start/n*i);const B=d%i;d-=B,v=Math.ceil(A.end/n*i),s=Math.max(0,Math.floor((A.start-z)/n*i)),C=Math.floor((A.end-z)/n*i),d<0&&(d=0),v>o&&(v=o),s<0&&(s=0),C>o&&(C=o),b=Math.ceil(o/i)*n}}v-d>ai.itemsLimit&&this.itemsLimitError(),this.totalSize=b;let c;const I=d<=this.$_endIndex&&v>=this.$_startIndex;if(I)for(let A=0,k=p.length;A<k;A++)c=p[A],c.nr.used&&(e&&(c.nr.index=m[c.item[u]]),(c.nr.index==null||c.nr.index<d||c.nr.index>=v)&&this.unuseView(c));const L=I?null:new Map;let N,M,D;for(let A=d;A<v;A++){N=f[A];const k=u?N[u]:N;if(k==null)throw new Error(`Key is ${k} on item (keyField is '${u}')`);if(c=O.get(k),!n&&!y[A].size){c&&this.unuseView(c);continue}M=N[h];let z=S.get(M),B=!1;if(!c)I?z&&z.length?c=z.pop():c=this.addView(p,A,N,k,M):(D=L.get(M)||0,(!z||D>=z.length)&&(c=this.addView(p,A,N,k,M),this.unuseView(c,!0),z=S.get(M)),c=z[D],L.set(M,D+1)),O.delete(c.nr.key),c.nr.used=!0,c.nr.index=A,c.nr.key=k,c.nr.type=M,O.set(k,c),B=!0;else if(!c.nr.used&&(c.nr.used=!0,c.nr.index=A,B=!0,z)){const R=z.indexOf(c);R!==-1&&z.splice(R,1)}c.item=N,B&&(A===f.length-1&&this.$emit("scroll-end"),A===0&&this.$emit("scroll-start")),n===null?(c.position=y[A-1].accumulator,c.offset=0):(c.position=Math.floor(A/i)*n,c.offset=A%i*r)}return this.$_startIndex=d,this.$_endIndex=v,this.emitUpdate&&this.$emit("update",d,v,s,C),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:I}},getListenerTarget(){let e=et(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,n=t==="vertical";let i;if(this.pageMode){const r=e.getBoundingClientRect(),l=n?r.height:r.width;let h=-(n?r.top:r.left),u=n?window.innerHeight:window.innerWidth;h<0&&(u+=h,h=0),h+u>l&&(u=l-h),i={start:h,end:h+u}}else n?i={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:i={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,ve?{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(e){let t;const n=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/n)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,i,r;if(this.pageMode){const l=et(this.$el),h=l.tagName==="HTML"?0:l[t.scroll],u=l.getBoundingClientRect(),o=this.$el.getBoundingClientRect()[t.start]-u[t.start];n=l,i=t.scroll,r=e+h+o}else n=this.$el,i=t.scroll,r=e;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((e,t)=>e.nr.index-t.nr.index)}}};const hi={key:0,ref:"before",class:"vue-recycle-scroller__slot"},gi={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function yi(e,t,n,i,r,l){const h=Vt("ResizeObserver"),u=Ut("observe-visibility");return Rt((w(),P("div",{class:K(["vue-recycle-scroller",{ready:r.ready,"page-mode":n.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...f)=>l.handleScroll&&l.handleScroll(...f))},[e.$slots.before?(w(),P("div",hi,[Z(e.$slots,"before")],512)):V("v-if",!0),(w(),Q(De(n.listTag),{ref:"wrapper",style:Yt({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:K(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:g(()=>[(w(!0),P(H,null,Ae(r.pool,f=>(w(),Q(De(n.itemTag),Ht({key:f.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${f.position}px) translate${e.direction==="vertical"?"X":"Y"}(${f.offset}px)`,width:n.gridItems?`${e.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${e.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&r.hoverKey===f.nr.key}]]},Jt(n.skipHover?{}:{mouseenter:()=>{r.hoverKey=f.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:g(()=>[Z(e.$slots,"default",{item:f.item,index:f.nr.index,active:f.nr.used})]),_:2},1040,["style","class"]))),128)),Z(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?(w(),P("div",gi,[Z(e.$slots,"after")],512)):V("v-if",!0),a(h,{onNotify:l.handleResize},null,8,["onNotify"])],34)),[[u,l.handleVisibilityChange]])}yt.render=yi;yt.__file="src/components/RecycleScroller.vue";const he=W({__name:"ContextMenu",props:{file:{},idx:{},selectedTag:{},disableDelete:{type:Boolean}},emits:["contextMenuClick"],setup(e,{emit:t}){const n=e,i=Se(),r=G(()=>{var l;return(((l=i.conf)==null?void 0:l.all_custom_tags)??[]).reduce((h,u)=>[...h,{...u,selected:!!n.selectedTag.find(f=>f.id===u.id)}],[])});return(l,h)=>{const u=rt,f=Gt,o=Wt,y=lt;return w(),Q(y,{onClick:h[0]||(h[0]=O=>t("contextMenuClick",O,l.file,l.idx))},{default:g(()=>[a(u,{key:"deleteFiles",disabled:l.disableDelete},{default:g(()=>[$(E(l.$t("deleteSelected")),1)]),_:1},8,["disabled"]),l.file.type==="dir"?(w(),P(H,{key:0},[a(u,{key:"openInNewTab"},{default:g(()=>[$(E(l.$t("openInNewTab")),1)]),_:1}),a(u,{key:"openOnTheRight"},{default:g(()=>[$(E(l.$t("openOnTheRight")),1)]),_:1}),a(u,{key:"openWithWalkMode"},{default:g(()=>[$(E(l.$t("openWithWalkMode")),1)]),_:1})],64)):V("",!0),l.file.type==="file"?(w(),P(H,{key:1},[_(it)(l.file.name)?(w(),P(H,{key:0},[a(u,{key:"viewGenInfo"},{default:g(()=>[$(E(l.$t("viewGenerationInfo")),1)]),_:1}),a(f),a(u,{key:"send2txt2img"},{default:g(()=>[$(E(l.$t("sendToTxt2img")),1)]),_:1}),a(u,{key:"send2img2img"},{default:g(()=>[$(E(l.$t("sendToImg2img")),1)]),_:1}),a(u,{key:"send2inpaint"},{default:g(()=>[$(E(l.$t("sendToInpaint")),1)]),_:1}),a(u,{key:"send2extras"},{default:g(()=>[$(E(l.$t("sendToExtraFeatures")),1)]),_:1}),a(o,{key:"send2controlnet",title:l.$t("sendToControlNet")},{default:g(()=>[a(u,{key:"send2controlnet-txt2img"},{default:g(()=>[$(E(l.$t("t2i")),1)]),_:1}),a(u,{key:"send2controlnet-img2img"},{default:g(()=>[$(E(l.$t("i2i")),1)]),_:1})]),_:1},8,["title"]),a(u,{key:"send2savedDir"},{default:g(()=>[$(E(l.$t("send2savedDir")),1)]),_:1}),a(f),a(o,{key:"toggle-tag",title:l.$t("toggleTag")},{default:g(()=>[(w(!0),P(H,null,Ae(r.value,O=>(w(),Q(u,{key:`toggle-tag-${O.id}`},{default:g(()=>[$(E(O.name)+" ",1),O.selected?(w(),Q(_(ft),{key:0})):(w(),Q(_(mt),{key:1}))]),_:2},1024))),128))]),_:1},8,["title"]),a(u,{key:"openWithLocalFileBrowser"},{default:g(()=>[$(E(l.$t("openWithLocalFileBrowser")),1)]),_:1})],64)):V("",!0),a(u,{key:"previewInNewWindow"},{default:g(()=>[$(E(l.$t("previewInNewWindow")),1)]),_:1}),a(u,{key:"download"},{default:g(()=>[$(E(l.$t("download")),1)]),_:1}),a(u,{key:"copyPreviewUrl"},{default:g(()=>[$(E(l.$t("copySourceFilePreviewLink")),1)]),_:1})],64)):V("",!0)]),_:1})}}}),bi=["data-idx"],Ai={key:0},Si={class:"more"},Ei={key:1,class:"preview-icon-wrap"},wi={class:"profile"},Oi={class:"name line-clamp-1"},Ci={class:"basic-info"},_i={class:"name line-clamp-1"},$i={class:"basic-info"},Ii=W({__name:"FileItem",props:{file:{},idx:{},selected:{type:Boolean,default:!1},showMenuIdx:{},viewMode:{default:"previewGrid"},fullScreenPreviewImageUrl:{}},emits:["update:showMenuIdx","fileItemClick","dragstart","dragend","previewVisibleChange","contextMenuClick"],setup(e,{emit:t}){const n=e,i=Se(),r=Y([]),l=()=>{var o;((o=n==null?void 0:n.file)==null?void 0:o.type)==="file"&&h.pushAction(()=>ut(n.file.fullpath)).res.then(y=>{r.value=y})},h=ot(),u=G(()=>n.viewMode==="previewGrid"?[i.gridThumbnailSize,i.gridThumbnailSize].join("x"):[i.largeGridThumbnailSize,i.largeGridThumbnailSize].join("x")),f=G(()=>i.enableThumbnail?Kt(n.file,u.value):ce(n.file));return(o,y)=>{const O=J,S=Xt;return w(),Q(O,{trigger:["contextmenu"],visible:_(i).longPressOpenContextMenu?typeof o.idx=="number"&&o.showMenuIdx===o.idx:void 0,"onUpdate:visible":y[5]||(y[5]=p=>typeof o.idx=="number"&&t("update:showMenuIdx",p?o.idx:-1))},{overlay:g(()=>[a(he,{file:o.file,idx:o.idx,"selected-tag":r.value,onContextMenuClick:y[4]||(y[4]=(p,m,d)=>t("contextMenuClick",p,m,d))},null,8,["file","idx","selected-tag"])]),default:g(()=>[(w(),P("li",{class:K(["file file-item-trigger",{clickable:o.file.type==="dir",selected:o.selected,grid:o.viewMode==="previewGrid"||o.viewMode==="largePreviewGrid","large-grid":o.viewMode==="largePreviewGrid"}]),"data-idx":o.idx,key:o.file.name,draggable:"true",onDragstart:y[1]||(y[1]=p=>t("dragstart",p,o.idx)),onDragend:y[2]||(y[2]=p=>t("dragend",p,o.idx)),onContextmenu:l,onClickCapture:y[3]||(y[3]=p=>t("fileItemClick",p,o.file,o.idx))},[o.viewMode!=="detailList"?(w(),P("div",Ai,[a(O,null,{overlay:g(()=>[a(he,{file:o.file,idx:o.idx,"selected-tag":r.value,onContextMenuClick:y[0]||(y[0]=(p,m,d)=>t("contextMenuClick",p,m,d))},null,8,["file","idx","selected-tag"])]),default:g(()=>[T("div",Si,[a(_(ye))])]),_:1}),_(it)(o.file.name)?(w(),Q(S,{key:o.file.fullpath,class:K(`idx-${o.idx}`),src:f.value,fallback:_(Sn),preview:{src:o.fullScreenPreviewImageUrl,onVisibleChange:(p,m)=>t("previewVisibleChange",p,m)}},null,8,["class","src","fallback","preview"])):(w(),P("div",Ei,[o.file.type==="file"?(w(),Q(_(Ve),{key:0,class:"icon center"})):(w(),Q(_(Re),{key:1,class:"icon center"}))])),T("div",wi,[T("div",Oi,E(o.file.name),1),T("div",Ci,[T("div",null,E(o.file.size),1),T("div",null,E(o.file.date),1)])])])):(w(),P(H,{key:1},[o.file.type==="file"?(w(),Q(_(Ve),{key:0,class:"icon"})):(w(),Q(_(Re),{key:1,class:"icon"})),T("div",_i,E(o.file.name),1),T("div",$i,[T("div",null,E(o.file.size),1),T("div",null,E(o.file.date),1)])],64))],42,bi))]),_:1},8,["visible"])}}});const Hi=st(Ii,[["__scopeId","data-v-427cf11d"]]);function zi(e,t,n,i){const r={x:0,y:0};let l=0,h=0,u=typeof(i==null?void 0:i.width)=="number"?i.width:0,f=typeof(i==null?void 0:i.height)=="number"?i.height:0,o=typeof(i==null?void 0:i.left)=="number"?i.left:0,y=typeof(i==null?void 0:i.top)=="number"?i.top:0,O=!1;const S=s=>{s.stopPropagation(),s.preventDefault(),!(!e.value||!t.value)&&(l=s instanceof MouseEvent?s.clientX:s.touches[0].clientX,h=s instanceof MouseEvent?s.clientY:s.touches[0].clientY,u=e.value.offsetWidth,f=e.value.offsetHeight,r.x=t.value.offsetLeft,r.y=t.value.offsetTop,document.documentElement.addEventListener("mousemove",p),document.documentElement.addEventListener("touchmove",p),document.documentElement.addEventListener("mouseup",m),document.documentElement.addEventListener("touchend",m))},p=s=>{if(!e.value||!t.value)return;const C=u+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),c=f+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-h),I=r.x+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),L=r.y+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-h);e.value.style.width=`${C}px`,e.value.style.height=`${c}px`,t.value.style.left=`${I}px`,t.value.style.top=`${L}px`,i!=null&&i.onResize&&i.onResize(C,c)},m=()=>{document.documentElement.removeEventListener("mousemove",p),document.documentElement.removeEventListener("touchmove",p),document.documentElement.removeEventListener("mouseup",m),document.documentElement.removeEventListener("touchend",m)},d=s=>{s.stopPropagation(),s.preventDefault(),!(!e.value||!n.value)&&(O=!0,o=e.value.offsetLeft,y=e.value.offsetTop,l=s instanceof MouseEvent?s.clientX:s.touches[0].clientX,h=s instanceof MouseEvent?s.clientY:s.touches[0].clientY,document.documentElement.addEventListener("mousemove",v),document.documentElement.addEventListener("touchmove",v),document.documentElement.addEventListener("mouseup",b),document.documentElement.addEventListener("touchend",b))},v=s=>{if(!e.value||!n.value||!O)return;const C=o+((s instanceof MouseEvent?s.clientX:s.touches[0].clientX)-l),c=y+((s instanceof MouseEvent?s.clientY:s.touches[0].clientY)-h);e.value.style.left=`${C}px`,e.value.style.top=`${c}px`,i!=null&&i.onDrag&&i.onDrag(C,c)},b=()=>{O=!1,document.documentElement.removeEventListener("mousemove",v),document.documentElement.removeEventListener("touchmove",v),document.documentElement.removeEventListener("mouseup",b),document.documentElement.removeEventListener("touchend",b)};return qt(()=>{!e.value||!i||(typeof i.width=="number"&&(e.value.style.width=`${i.width}px`),typeof i.height=="number"&&(e.value.style.height=`${i.height}px`),typeof i.left=="number"&&(e.value.style.left=`${i.left}px`),typeof i.top=="number"&&(e.value.style.top=`${i.top}px`))}),Zt(()=>{document.documentElement.removeEventListener("mousemove",p),document.documentElement.removeEventListener("touchmove",p),document.documentElement.removeEventListener("mouseup",m),document.documentElement.removeEventListener("touchend",m),document.documentElement.removeEventListener("mousemove",v),document.documentElement.removeEventListener("touchmove",v),document.documentElement.removeEventListener("mouseup",b),document.documentElement.removeEventListener("touchend",b)}),at(()=>[e.value,t.value,n.value],([s,C,c])=>{s&&C&&(C.addEventListener("mousedown",S),C.addEventListener("touchstart",S)),s&&c&&(c.addEventListener("mousedown",d),c.addEventListener("touchstart",d))}),{handleResizeMouseDown:S,handleDragMouseDown:d}}const Pi={class:"container"},Li={class:"action-bar"},ki={key:0,class:"icon",style:{cursor:"pointer"}},Bi={key:0,"flex-placeholder":""},Qi={key:1,class:"action-bar"},Mi={key:0,class:"gen-info"},Ni=W({__name:"fullScreenContextMenu",props:{file:{},idx:{}},emits:["contextMenuClick"],setup(e,{emit:t}){const n=e,i=Se(),r=Y(),l=Y([]),h=G(()=>{var m;return(((m=i.conf)==null?void 0:m.all_custom_tags)??[]).reduce((d,v)=>[...d,{...v,selected:!!l.value.find(b=>b.id===v.id)}],[])}),u=ot(),f=Y("");at(()=>{var m;return(m=n==null?void 0:n.file)==null?void 0:m.fullpath},async m=>{m&&(u.tasks.forEach(d=>d.cancel()),u.pushAction(()=>en(m)).res.then(d=>{f.value=d}))},{immediate:!0});const o=m=>{m&&u.pushAction(()=>ut(n.file.fullpath)).res.then(d=>{l.value=d})},y=Y(),O=Y(),S=tn("fullScreenContextMenu.vue-drag",{left:100,top:100,width:512,height:384,expanded:!0});zi(r,y,O,{...S.value,onDrag:de(function(m,d){S.value={...S.value,left:m,top:d}},300),onResize:de(function(m,d){S.value={...S.value,width:m,height:d}},300)});function p(m){return m.parentNode}return(m,d)=>{const v=J,b=re,s=rt,C=lt;return w(),P("div",{ref_key:"el",ref:r,class:K(["full-screen-menu",{"unset-size":!_(S).expanded}]),onWheelCapture:d[5]||(d[5]=ln(()=>{},["stop"]))},[T("div",Pi,[T("div",Li,[T("div",{ref_key:"dragHandle",ref:O,class:"icon",style:{cursor:"grab"}},[a(_(zn))],512),T("div",{class:"icon",style:{cursor:"pointer"},onClick:d[0]||(d[0]=c=>_(S).expanded=!_(S).expanded)},[_(S).expanded?(w(),Q(_(Bn),{key:0})):(w(),Q(_(xn),{key:1}))]),a(v,{onVisibleChange:o,"get-popup-container":p},{overlay:g(()=>[a(he,{file:m.file,idx:m.idx,"selected-tag":l.value,"disable-delete":_(ce)(m.file)===_(i).fullscreenPreviewInitialUrl,onContextMenuClick:d[1]||(d[1]=(c,I,L)=>t("contextMenuClick",c,I,L))},null,8,["file","idx","selected-tag","disable-delete"])]),default:g(()=>[_(S).expanded?V("",!0):(w(),P("div",ki,[a(_(ye))]))]),_:1}),_(S).expanded?(w(),P("div",Bi)):V("",!0),_(S).expanded?(w(),P("div",Qi,[a(v,{trigger:["hover"],"get-popup-container":p,onVisibleChange:o},{overlay:g(()=>[a(C,{onClick:d[2]||(d[2]=c=>t("contextMenuClick",c,m.file,m.idx))},{default:g(()=>[(w(!0),P(H,null,Ae(h.value,c=>(w(),Q(s,{key:`toggle-tag-${c.id}`},{default:g(()=>[$(E(c.name)+" ",1),c.selected?(w(),Q(_(ft),{key:0})):(w(),Q(_(mt),{key:1}))]),_:2},1024))),128))]),_:1})]),default:g(()=>[a(b,null,{default:g(()=>[$(E(m.$t("toggleTag")),1)]),_:1})]),_:1}),a(v,{trigger:["hover"],"get-popup-container":p},{overlay:g(()=>[a(C,{onClick:d[3]||(d[3]=c=>t("contextMenuClick",c,m.file,m.idx))},{default:g(()=>[a(s,{key:"send2txt2img"},{default:g(()=>[$(E(m.$t("sendToTxt2img")),1)]),_:1}),a(s,{key:"send2img2img"},{default:g(()=>[$(E(m.$t("sendToImg2img")),1)]),_:1}),a(s,{key:"send2inpaint"},{default:g(()=>[$(E(m.$t("sendToInpaint")),1)]),_:1}),a(s,{key:"send2extras"},{default:g(()=>[$(E(m.$t("sendToExtraFeatures")),1)]),_:1}),a(s,{key:"send2savedDir"},{default:g(()=>[$(E(m.$t("send2savedDir")),1)]),_:1}),a(s,{key:"deleteFiles",disabled:_(ce)(m.file)===_(i).fullscreenPreviewInitialUrl},{default:g(()=>[$(E(m.$t("deleteSelected")),1)]),_:1},8,["disabled"]),a(s,{key:"previewInNewWindow"},{default:g(()=>[$(E(m.$t("previewInNewWindow")),1)]),_:1}),a(s,{key:"download"},{default:g(()=>[$(E(m.$t("download")),1)]),_:1}),a(s,{key:"copyPreviewUrl"},{default:g(()=>[$(E(m.$t("copySourceFilePreviewLink")),1)]),_:1})]),_:1})]),default:g(()=>[a(b,null,{default:g(()=>[$(E(_(nn)("openContextMenu")),1)]),_:1})]),_:1}),a(b,{onClick:d[4]||(d[4]=c=>_(rn)(f.value))},{default:g(()=>[$(E(m.$t("copyPrompt")),1)]),_:1})])):V("",!0)]),_(S).expanded?(w(),P("div",Mi,E(f.value),1)):V("",!0)]),_(S).expanded?(w(),P("div",{key:0,class:"mouse-sensor",ref_key:"resizeHandle",ref:y},[a(_(Cn))],512)):V("",!0)],34)}}});const Ji=st(Ni,[["__scopeId","data-v-10ae8e66"]]);export{J as D,Ui as L,Ri as R,Vi as S,yt as a,Ji as b,Hi as f,Fi as s};