@runeya/runeya 1.33.28 → 1.33.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node-red-contrib-runeya.tar +0 -0
- package/package.json +1 -1
- package/public/assets/{App-CsI6OcLx.js → App-ZLERnMNy.js} +1 -1
- package/public/assets/{Bugs-MZTedjOE.js → Bugs-BuV_M_lb.js} +1 -1
- package/public/assets/{Configs-BgQMyHZa.js → Configs-BK0Jsvi5.js} +1 -1
- package/public/assets/{CurrentEditor-DWe_jHov.js → CurrentEditor-CwOF8PuR.js} +1 -1
- package/public/assets/{DynamicComponent-21b6a83j.js → DynamicComponent-B1sv1s6U.js} +1 -1
- package/public/assets/{Editor-DN-ZxIRY.js → Editor-UHqSMXPl.js} +6 -6
- package/public/assets/{Git-Cwuf8t1y.js → Git-BXjTBqk6.js} +1 -1
- package/public/assets/{ImportCreate-D7EkVr9x.js → ImportCreate-v1Zc-klN.js} +1 -1
- package/public/assets/{Index-Q4_j8YjB.js → Index-B2xa1moZ.js} +1 -1
- package/public/assets/{Index-DtZrxZqP.js → Index-ByqyAjzj.js} +1 -1
- package/public/assets/{Index-DrguhRqW.js → Index-C-dSwUxh.js} +1 -1
- package/public/assets/{Index-C0kNw_RG.js → Index-CgE43z6S.js} +1 -1
- package/public/assets/{Index-DusWDLpW.js → Index-CuLX9CEK.js} +1 -1
- package/public/assets/{Index-CmroLpq5.js → Index-JDsLttr4.js} +1 -1
- package/public/assets/{Index-Dfxab_I2.js → Index-sXG9TyFm.js} +1 -1
- package/public/assets/{Init-UQADYgJ2.js → Init-BBjAAas3.js} +1 -1
- package/public/assets/{LeftLogo-WwcR9Ouh.js → LeftLogo-BQhhaJXo.js} +1 -1
- package/public/assets/{Logs-X8OwrHBK.js → Logs-B87TNYBN.js} +3 -3
- package/public/assets/{Logs-C7U-WsYO.css → Logs-DMnPRUc7.css} +1 -1
- package/public/assets/{Markdown-h-TQzZmw.js → Markdown-B5Tgfrxo.js} +1 -1
- package/public/assets/{Modal-BdxNbadF.js → Modal-iAUX09_b.js} +1 -1
- package/public/assets/{Modals-TRAAm7M1.js → Modals-BSBo1mHy.js} +1 -1
- package/public/assets/{NotUpToDate-DzOvMb7E.js → NotUpToDate-Bqstt-lY.js} +1 -1
- package/public/assets/{Npm-CjJPSo9X.js → Npm-Dmk7d_y9.js} +1 -1
- package/public/assets/{Overview-CeyyN0oI.js → Overview-D64dSNmB.js} +1 -1
- package/public/assets/{Section-lgKMkAwG.js → Section-u9eiCD3F.js} +1 -1
- package/public/assets/{Settings-CHmRle2O.js → Settings-P4TuAd-6.js} +1 -1
- package/public/assets/{Spinner-CUHDMnpi.js → Spinner-BMsNFBmq.js} +1 -1
- package/public/assets/{StackChooser-BevuWQmP.js → StackChooser-BQUkjB35.js} +1 -1
- package/public/assets/{StackChooser-_zBnelt3.js → StackChooser-Doewl5mP.js} +1 -1
- package/public/assets/{StackMultiple-Csmw3IYP.js → StackMultiple-C90SG5fT.js} +1 -1
- package/public/assets/{StackSingle-Dlt8beq2.js → StackSingle-DmRSxhHY.js} +1 -1
- package/public/assets/{Tabs-BywdfSIb.js → Tabs-BA8jGnfl.js} +1 -1
- package/public/assets/{Theme-Crc3Y5Xq.js → Theme-bzIwiZ5B.js} +1 -1
- package/public/assets/{Toolbox-CdJUlTYX.js → Toolbox-BIYPBdmX.js} +1 -1
- package/public/assets/{cssMode-Dc_mjwBm.js → cssMode-DiP8gPm8.js} +1 -1
- package/public/assets/{currentEditor-7U_ffDbK.js → currentEditor-kBIRJ2ns.js} +1 -1
- package/public/assets/{freemarker2-DenoI_EN.js → freemarker2-fhQxzLMj.js} +1 -1
- package/public/assets/{fs--ioNfX4e.js → fs-BO_e5aGe.js} +1 -1
- package/public/assets/{handlebars-DE9m4AD9.js → handlebars-aLh6Ne7C.js} +1 -1
- package/public/assets/{html-DWkY5lmD.js → html-BSjkvURL.js} +1 -1
- package/public/assets/{htmlMode-H_uCDovv.js → htmlMode-ju_2D_Nr.js} +1 -1
- package/public/assets/{index-CajhEFGy.js → index-BJkfmYFE.js} +1 -1
- package/public/assets/{index-Cz_I0ncW.js → index-BN_JECzv.js} +1 -1
- package/public/assets/{index-BDHszrMp.js → index-B_ICEWNI.js} +1 -1
- package/public/assets/{index-C02AjRq4.js → index-BelhD7LL.js} +2 -2
- package/public/assets/{index-DNGpCJ06.js → index-CZ6deEIJ.js} +1 -1
- package/public/assets/{index-BRb5P6Lf.js → index-DGME7aKs.js} +1 -1
- package/public/assets/{index-oilsqKTE.js → index-DvEhrupB.js} +1 -1
- package/public/assets/{index-CDIN4LjQ.js → index-STDFvzob.js} +1 -1
- package/public/assets/{index-BgXIYHf3.js → index-UzGzKvDE.js} +1 -1
- package/public/assets/{index-BU5twE5I.js → index-e0ZhF1ea.js} +1 -1
- package/public/assets/{javascript-JEHh0kiL.js → javascript-GC_yMVf_.js} +1 -1
- package/public/assets/{json-tree-view-vue3.es-rwBZaiwd.js → json-tree-view-vue3.es-DcbFXQbs.js} +1 -1
- package/public/assets/{jsonMode-IIPA7cCY.js → jsonMode-Clc3SKQk.js} +1 -1
- package/public/assets/{liquid-BRkFpgwx.js → liquid-Cl7ryLES.js} +1 -1
- package/public/assets/{mdx-BrIuyYYh.js → mdx-DGSKEVGT.js} +1 -1
- package/public/assets/{python-DeMyHNgB.js → python-CGnKnPrn.js} +1 -1
- package/public/assets/{razor-JtCeytr2.js → razor-XEoGvJHl.js} +1 -1
- package/public/assets/{router-6vVxI5YF.js → router-Cxk7zjvo.js} +3 -3
- package/public/assets/{system-h6IsCj_l.js → system-CaB6RF01.js} +1 -1
- package/public/assets/{tsMode-z-HPtKEe.js → tsMode-wgpd7Msz.js} +1 -1
- package/public/assets/{typescript-Doy-VTuU.js → typescript-DUS--dzx.js} +1 -1
- package/public/assets/{xml-BOYtRcyI.js → xml-Be2UCQYa.js} +1 -1
- package/public/assets/{yaml-Cu0wuKOc.js → yaml-Ct-2OlYY.js} +1 -1
- package/public/index.html +1 -1
- package/www.js +2 -3
- package/www.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as u}from"./Section-
|
|
1
|
+
import{_ as u}from"./Section-u9eiCD3F.js";import{S as p,p as f}from"./router-Cxk7zjvo.js";import{S as _}from"./StackChooser-Doewl5mP.js";import{S as v}from"./Spinner-BMsNFBmq.js";import{c as b,r as k,j as h,k as y,a as t,o as s,e as n,s as S,g,f as x,b as r,d as c,F as w,q as C,n as i,t as B,L as N,Y as V}from"./index-BelhD7LL.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";import"./system-CaB6RF01.js";import"./LeftLogo-BQhhaJXo.js";const z={class:"overview-root column"},E={key:0,class:"spinner-container"},F={__name:"Overview",setup(L){const m=V(()=>{var e;return(e=f.find(a=>a.name==="Documentation"))==null?void 0:e.cmp()}),d=b(()=>p.services.value.slice().sort((e,a)=>a.enabled-e.enabled)),l=k(!1);return h(async()=>{const{data:e}=await y.get("/documentation/service/global/is-available");l.value=!!e}),(e,a)=>(s(),t("div",z,[n(u,{class:"home-container"},{default:x(()=>[a[0]||(a[0]=r("h2",null,[r("i",{class:"fas fa-home"}),c("Mes services")],-1)),r("ul",null,[(s(!0),t(w,null,C(d.value,o=>(s(),t("li",{key:o.label,class:i(["service",{enabled:o.enabled}])},[o.enabled?(s(),t("div",E,[n(v,{size:"10"})])):(s(),t("i",{key:1,class:i(["fas",{"fa-pause":!o.enabled}])},null,2)),c(" "+B(o.label),1)],2))),128))])]),_:1,__:[0]}),n(_,{class:"stack-chooser",embed:!0}),l.value?(s(),S(N(m),{key:0,class:"doc-container"})):g("",!0)]))}},H=D(F,[["__scopeId","data-v-8703aba6"]]);export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as xr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as vt,j as Tr,a as se,o as Q,b as Ee,h as De,u as st,n as at,c as Ar,g as rt,t as mt,F as Er,q as Dr,s as Cr,f as Mt}from"./index-C02AjRq4.js";var W="top",Y="bottom",X="right",I="left",At="auto",Ue=[W,Y,X,I],Ce="start",Ne="end",Sr="clippingParents",Zt="viewport",He="popper",Lr="reference",kt=Ue.reduce(function(e,t){return e.concat([t+"-"+Ce,t+"-"+Ne])},[]),Qt=[].concat(Ue,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Ce,t+"-"+Ne])},[]),Br="beforeRead",Rr="read",Pr="afterRead",Mr="beforeMain",kr="main",$r="afterMain",jr="beforeWrite",Hr="write",Vr="afterWrite",Wr=[Br,Rr,Pr,Mr,kr,$r,jr,Hr,Vr];function re(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function z(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Et(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},u=t.elements[r];!z(u)||!re(u)||(Object.assign(u.style,n),Object.keys(a).forEach(function(s){var c=a[s];c===!1?u.removeAttribute(s):u.setAttribute(s,c===!0?"":c)}))})}function Nr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],u=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=s.reduce(function(f,p){return f[p]="",f},{});!z(a)||!re(a)||(Object.assign(a.style,c),Object.keys(u).forEach(function(f){a.removeAttribute(f)}))})}}const er={name:"applyStyles",enabled:!0,phase:"write",fn:Ir,effect:Nr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=Math.max,ut=Math.min,Se=Math.round;function wt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tr(){return!/^((?!chrome|android).)*safari/i.test(wt())}function Le(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,u=1;t&&z(e)&&(a=e.offsetWidth>0&&Se(n.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Se(n.height)/e.offsetHeight||1);var s=ye(e)?U(e):window,c=s.visualViewport,f=!tr()&&r,p=(n.left+(f&&c?c.offsetLeft:0))/a,l=(n.top+(f&&c?c.offsetTop:0))/u,b=n.width/a,x=n.height/u;return{width:b,height:x,top:l,right:p+b,bottom:l+x,left:p,x:p,y:l}}function Dt(e){var t=Le(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Et(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ue(e){return U(e).getComputedStyle(e)}function Fr(e){return["table","td","th"].indexOf(re(e))>=0}function le(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(Et(e)?e.host:null)||le(e)}function $t(e){return!z(e)||ue(e).position==="fixed"?null:e.offsetParent}function Ur(e){var t=/firefox/i.test(wt()),r=/Trident/i.test(wt());if(r&&z(e)){var n=ue(e);if(n.position==="fixed")return null}var a=ct(e);for(Et(a)&&(a=a.host);z(a)&&["html","body"].indexOf(re(a))<0;){var u=ue(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function qe(e){for(var t=U(e),r=$t(e);r&&Fr(r)&&ue(r).position==="static";)r=$t(r);return r&&(re(r)==="html"||re(r)==="body"&&ue(r).position==="static")?t:r||Ur(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ve(e,t,r){return ge(e,ut(t,r))}function qr(e,t,r){var n=Ve(e,t,r);return n>r?r:n}function nr(){return{top:0,right:0,bottom:0,left:0}}function ir(e){return Object.assign({},nr(),e)}function ar(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var zr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ir(typeof t!="number"?t:ar(t,Ue))};function Yr(e){var t,r=e.state,n=e.name,a=e.options,u=r.elements.arrow,s=r.modifiersData.popperOffsets,c=te(r.placement),f=Ct(c),p=[I,X].indexOf(c)>=0,l=p?"height":"width";if(!(!u||!s)){var b=zr(a.padding,r),x=Dt(u),h=f==="y"?W:I,w=f==="y"?Y:X,g=r.rects.reference[l]+r.rects.reference[f]-s[f]-r.rects.popper[l],y=s[f]-r.rects.reference[f],A=qe(u),D=A?f==="y"?A.clientHeight||0:A.clientWidth||0:0,S=g/2-y/2,i=b[h],T=D-x[l]-b[w],v=D/2-x[l]/2+S,C=Ve(i,v,T),M=f;r.modifiersData[n]=(t={},t[M]=C,t.centerOffset=C-v,t)}}function Xr(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rr(t.elements.popper,a)&&(t.elements.arrow=a))}const _r={name:"arrow",enabled:!0,phase:"main",fn:Yr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kr(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Se(r*a)/a||0,y:Se(n*a)/a||0}}function jt(e){var t,r=e.popper,n=e.popperRect,a=e.placement,u=e.variation,s=e.offsets,c=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,b=e.isFixed,x=s.x,h=x===void 0?0:x,w=s.y,g=w===void 0?0:w,y=typeof l=="function"?l({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var A=s.hasOwnProperty("x"),D=s.hasOwnProperty("y"),S=I,i=W,T=window;if(p){var v=qe(r),C="clientHeight",M="clientWidth";if(v===U(r)&&(v=le(r),ue(v).position!=="static"&&c==="absolute"&&(C="scrollHeight",M="scrollWidth")),v=v,a===W||(a===I||a===X)&&u===Ne){i=Y;var P=b&&v===T&&T.visualViewport?T.visualViewport.height:v[C];g-=P-n.height,g*=f?1:-1}if(a===I||(a===W||a===Y)&&u===Ne){S=X;var B=b&&v===T&&T.visualViewport?T.visualViewport.width:v[M];h-=B-n.width,h*=f?1:-1}}var k=Object.assign({position:c},p&&Gr),R=l===!0?Kr({x:h,y:g},U(r)):{x:h,y:g};if(h=R.x,g=R.y,f){var L;return Object.assign({},k,(L={},L[i]=D?"0":"",L[S]=A?"0":"",L.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",L))}return Object.assign({},k,(t={},t[i]=D?g+"px":"",t[S]=A?h+"px":"",t.transform="",t))}function Jr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,u=r.adaptive,s=u===void 0?!0:u,c=r.roundOffsets,f=c===void 0?!0:c,p={placement:te(t.placement),variation:Be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var nt={passive:!0};function Qr(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,u=a===void 0?!0:a,s=n.resize,c=s===void 0?!0:s,f=U(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&p.forEach(function(l){l.addEventListener("scroll",r.update,nt)}),c&&f.addEventListener("resize",r.update,nt),function(){u&&p.forEach(function(l){l.removeEventListener("scroll",r.update,nt)}),c&&f.removeEventListener("resize",r.update,nt)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var tn={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return tn[t]})}var rn={start:"end",end:"start"};function Ht(e){return e.replace(/start|end/g,function(t){return rn[t]})}function St(e){var t=U(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Lt(e){return Le(le(e)).left+St(e).scrollLeft}function nn(e,t){var r=U(e),n=le(e),a=r.visualViewport,u=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){u=a.width,s=a.height;var p=tr();(p||!p&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:s,x:c+Lt(e),y:f}}function an(e){var t,r=le(e),n=St(e),a=(t=e.ownerDocument)==null?void 0:t.body,u=ge(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=ge(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Lt(e),f=-n.scrollTop;return ue(a||r).direction==="rtl"&&(c+=ge(r.clientWidth,a?a.clientWidth:0)-u),{width:u,height:s,x:c,y:f}}function Bt(e){var t=ue(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function or(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:z(e)&&Bt(e)?e:or(ct(e))}function We(e,t){var r;t===void 0&&(t=[]);var n=or(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),u=U(n),s=a?[u].concat(u.visualViewport||[],Bt(n)?n:[]):n,c=t.concat(s);return a?c:c.concat(We(ct(s)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function on(e,t){var r=Le(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Vt(e,t,r){return t===Zt?Ot(nn(e,r)):ye(t)?on(t,r):Ot(an(le(e)))}function sn(e){var t=We(ct(e)),r=["absolute","fixed"].indexOf(ue(e).position)>=0,n=r&&z(e)?qe(e):e;return ye(n)?t.filter(function(a){return ye(a)&&rr(a,n)&&re(a)!=="body"}):[]}function un(e,t,r,n){var a=t==="clippingParents"?sn(e):[].concat(t),u=[].concat(a,[r]),s=u[0],c=u.reduce(function(f,p){var l=Vt(e,p,n);return f.top=ge(l.top,f.top),f.right=ut(l.right,f.right),f.bottom=ut(l.bottom,f.bottom),f.left=ge(l.left,f.left),f},Vt(e,s,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sr(e){var t=e.reference,r=e.element,n=e.placement,a=n?te(n):null,u=n?Be(n):null,s=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,f;switch(a){case W:f={x:s,y:t.y-r.height};break;case Y:f={x:s,y:t.y+t.height};break;case X:f={x:t.x+t.width,y:c};break;case I:f={x:t.x-r.width,y:c};break;default:f={x:t.x,y:t.y}}var p=a?Ct(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(u){case Ce:f[p]=f[p]-(t[l]/2-r[l]/2);break;case Ne:f[p]=f[p]+(t[l]/2-r[l]/2);break}}return f}function Fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,u=r.strategy,s=u===void 0?e.strategy:u,c=r.boundary,f=c===void 0?Sr:c,p=r.rootBoundary,l=p===void 0?Zt:p,b=r.elementContext,x=b===void 0?He:b,h=r.altBoundary,w=h===void 0?!1:h,g=r.padding,y=g===void 0?0:g,A=ir(typeof y!="number"?y:ar(y,Ue)),D=x===He?Lr:He,S=e.rects.popper,i=e.elements[w?D:x],T=un(ye(i)?i:i.contextElement||le(e.elements.popper),f,l,s),v=Le(e.elements.reference),C=sr({reference:v,element:S,placement:a}),M=Ot(Object.assign({},S,C)),P=x===He?M:v,B={top:T.top-P.top+A.top,bottom:P.bottom-T.bottom+A.bottom,left:T.left-P.left+A.left,right:P.right-T.right+A.right},k=e.modifiersData.offset;if(x===He&&k){var R=k[a];Object.keys(B).forEach(function(L){var N=[X,Y].indexOf(L)>=0?1:-1,F=[W,Y].indexOf(L)>=0?"y":"x";B[L]+=R[F]*N})}return B}function fn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,u=r.rootBoundary,s=r.padding,c=r.flipVariations,f=r.allowedAutoPlacements,p=f===void 0?Qt:f,l=Be(n),b=l?c?kt:kt.filter(function(w){return Be(w)===l}):Ue,x=b.filter(function(w){return p.indexOf(w)>=0});x.length===0&&(x=b);var h=x.reduce(function(w,g){return w[g]=Fe(e,{placement:g,boundary:a,rootBoundary:u,padding:s})[te(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function cn(e){if(te(e)===At)return[];var t=ot(e);return[Ht(e),t,Ht(t)]}function ln(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!0:s,f=r.fallbackPlacements,p=r.padding,l=r.boundary,b=r.rootBoundary,x=r.altBoundary,h=r.flipVariations,w=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,S=f||(D||!w?[ot(y)]:cn(y)),i=[y].concat(S).reduce(function(ne,_){return ne.concat(te(_)===At?fn(t,{placement:_,boundary:l,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):_)},[]),T=t.rects.reference,v=t.rects.popper,C=new Map,M=!0,P=i[0],B=0;B<i.length;B++){var k=i[B],R=te(k),L=Be(k)===Ce,N=[W,Y].indexOf(R)>=0,F=N?"width":"height",j=Fe(t,{placement:k,boundary:l,rootBoundary:b,altBoundary:x,padding:p}),H=N?L?X:I:L?Y:W;T[F]>v[F]&&(H=ot(H));var $=ot(H),K=[];if(u&&K.push(j[R]<=0),c&&K.push(j[H]<=0,j[$]<=0),K.every(function(ne){return ne})){P=k,M=!1;break}C.set(k,K)}if(M)for(var J=w?3:1,pe=function(_){var ie=i.find(function(be){var ae=C.get(be);if(ae)return ae.slice(0,_).every(function(we){return we})});if(ie)return P=ie,"break"},Z=J;Z>0;Z--){var de=pe(Z);if(de==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const pn={name:"flip",enabled:!0,phase:"main",fn:ln,requiresIfExists:["offset"],data:{_skip:!1}};function Wt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function It(e){return[W,X,Y,I].some(function(t){return e[t]>=0})}function dn(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,s=Fe(t,{elementContext:"reference"}),c=Fe(t,{altBoundary:!0}),f=Wt(s,n),p=Wt(c,a,u),l=It(f),b=It(p);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":b})}const vn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dn};function mn(e,t,r){var n=te(e),a=[I,W].indexOf(n)>=0?-1:1,u=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=u[0],c=u[1];return s=s||0,c=(c||0)*a,[I,X].indexOf(n)>=0?{x:c,y:s}:{x:s,y:c}}function hn(e){var t=e.state,r=e.options,n=e.name,a=r.offset,u=a===void 0?[0,0]:a,s=Qt.reduce(function(l,b){return l[b]=mn(b,t.rects,u),l},{}),c=s[t.placement],f=c.x,p=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=s}const gn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hn};function yn(e){var t=e.state,r=e.name;t.modifiersData[r]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bn={name:"popperOffsets",enabled:!0,phase:"read",fn:yn,data:{}};function wn(e){return e==="x"?"y":"x"}function On(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!1:s,f=r.boundary,p=r.rootBoundary,l=r.altBoundary,b=r.padding,x=r.tether,h=x===void 0?!0:x,w=r.tetherOffset,g=w===void 0?0:w,y=Fe(t,{boundary:f,rootBoundary:p,padding:b,altBoundary:l}),A=te(t.placement),D=Be(t.placement),S=!D,i=Ct(A),T=wn(i),v=t.modifiersData.popperOffsets,C=t.rects.reference,M=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,B=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(v){if(u){var L,N=i==="y"?W:I,F=i==="y"?Y:X,j=i==="y"?"height":"width",H=v[i],$=H+y[N],K=H-y[F],J=h?-M[j]/2:0,pe=D===Ce?C[j]:M[j],Z=D===Ce?-M[j]:-C[j],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nr(),ie=_[N],be=_[F],ae=Ve(0,C[j],ne[j]),we=S?C[j]/2-J-ae-ie-B.mainAxis:pe-ae-ie-B.mainAxis,fe=S?-C[j]/2+J+ae+be+B.mainAxis:Z+ae+be+B.mainAxis,Oe=t.elements.arrow&&qe(t.elements.arrow),ze=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Pe=(L=k==null?void 0:k[i])!=null?L:0,Ye=H+we-Pe-ze,Xe=H+fe-Pe,Me=Ve(h?ut($,Ye):$,H,h?ge(K,Xe):K);v[i]=Me,R[i]=Me-H}if(c){var ke,_e=i==="x"?W:I,Ge=i==="x"?Y:X,oe=v[T],ce=T==="y"?"height":"width",$e=oe+y[_e],ve=oe-y[Ge],je=[W,I].indexOf(A)!==-1,Ke=(ke=k==null?void 0:k[T])!=null?ke:0,Je=je?$e:oe-C[ce]-M[ce]-Ke+B.altAxis,Ze=je?oe+C[ce]+M[ce]-Ke-B.altAxis:ve,Qe=h&&je?qr(Je,oe,Ze):Ve(h?Je:$e,oe,h?Ze:ve);v[T]=Qe,R[T]=Qe-oe}t.modifiersData[n]=R}}const xn={name:"preventOverflow",enabled:!0,phase:"main",fn:On,requiresIfExists:["offset"]};function Tn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function An(e){return e===U(e)||!z(e)?St(e):Tn(e)}function En(e){var t=e.getBoundingClientRect(),r=Se(t.width)/e.offsetWidth||1,n=Se(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dn(e,t,r){r===void 0&&(r=!1);var n=z(t),a=z(t)&&En(t),u=le(t),s=Le(e,a,r),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((re(t)!=="body"||Bt(u))&&(c=An(t)),z(t)?(f=Le(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):u&&(f.x=Lt(u))),{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function Cn(e){var t=new Map,r=new Set,n=[];e.forEach(function(u){t.set(u.name,u)});function a(u){r.add(u.name);var s=[].concat(u.requires||[],u.requiresIfExists||[]);s.forEach(function(c){if(!r.has(c)){var f=t.get(c);f&&a(f)}}),n.push(u)}return e.forEach(function(u){r.has(u.name)||a(u)}),n}function Sn(e){var t=Cn(e);return Wr.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Ln(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Bn(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Rn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,u=a===void 0?Nt:a;return function(c,f,p){p===void 0&&(p=u);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,u),modifiersData:{},elements:{reference:c,popper:f},attributes:{},styles:{}},b=[],x=!1,h={state:l,setOptions:function(A){var D=typeof A=="function"?A(l.options):A;g(),l.options=Object.assign({},u,l.options,D),l.scrollParents={reference:ye(c)?We(c):c.contextElement?We(c.contextElement):[],popper:We(f)};var S=Sn(Bn([].concat(n,l.options.modifiers)));return l.orderedModifiers=S.filter(function(i){return i.enabled}),w(),h.update()},forceUpdate:function(){if(!x){var A=l.elements,D=A.reference,S=A.popper;if(Ft(D,S)){l.rects={reference:Dn(D,qe(S),l.options.strategy==="fixed"),popper:Dt(S)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(B){return l.modifiersData[B.name]=Object.assign({},B.data)});for(var i=0;i<l.orderedModifiers.length;i++){if(l.reset===!0){l.reset=!1,i=-1;continue}var T=l.orderedModifiers[i],v=T.fn,C=T.options,M=C===void 0?{}:C,P=T.name;typeof v=="function"&&(l=v({state:l,options:M,name:P,instance:h})||l)}}}},update:Ln(function(){return new Promise(function(y){h.forceUpdate(),y(l)})}),destroy:function(){g(),x=!0}};if(!Ft(c,f))return h;h.setOptions(p).then(function(y){!x&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){l.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,S=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:l,name:A,instance:h,options:S}),v=function(){};b.push(T||v)}})}function g(){b.forEach(function(y){return y()}),b=[]}return h}}var Pn=[en,bn,Zr,er,gn,pn,xn,_r,vn],Mn=Rn({defaultModifiers:Pn}),kn="tippy-box",ur="tippy-content",$n="tippy-backdrop",fr="tippy-arrow",cr="tippy-svg-arrow",he={passive:!0,capture:!0},lr=function(){return document.body};function ht(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function Rt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function pr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ut(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function jn(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function Hn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Vn(e){return e.split("-")[0]}function ft(e){return[].slice.call(e)}function zt(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Ie(){return document.createElement("div")}function lt(e){return["Element","Fragment"].some(function(t){return Rt(e,t)})}function Wn(e){return Rt(e,"NodeList")}function In(e){return Rt(e,"MouseEvent")}function Nn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fn(e){return lt(e)?[e]:Wn(e)?ft(e):Array.isArray(e)?e:ft(document.querySelectorAll(e))}function gt(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Yt(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Un(e){var t,r=Ae(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function qn(e,t){var r=t.clientX,n=t.clientY;return e.every(function(a){var u=a.popperRect,s=a.popperState,c=a.props,f=c.interactiveBorder,p=Vn(s.placement),l=s.modifiersData.offset;if(!l)return!0;var b=p==="bottom"?l.top.y:0,x=p==="top"?l.bottom.y:0,h=p==="right"?l.left.x:0,w=p==="left"?l.right.x:0,g=u.top-n+b>f,y=n-u.bottom-x>f,A=u.left-r+h>f,D=r-u.right-w>f;return g||y||A||D})}function yt(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[n](a,r)})}function Xt(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var ee={isTouch:!1},_t=0;function zn(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",dr))}function dr(){var e=performance.now();e-_t<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",dr)),_t=e}function Yn(){var e=document.activeElement;if(Nn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Xn(){document.addEventListener("touchstart",zn,he),window.addEventListener("blur",Yn)}var _n=typeof window<"u"&&typeof document<"u",Gn=_n?!!window.msCrypto:!1,Kn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jn={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},G=Object.assign({appendTo:lr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Kn,Jn),Zn=Object.keys(G),Qn=function(t){var r=Object.keys(t);r.forEach(function(n){G[n]=t[n]})};function vr(e){var t=e.plugins||[],r=t.reduce(function(n,a){var u=a.name,s=a.defaultValue;if(u){var c;n[u]=e[u]!==void 0?e[u]:(c=G[u])!=null?c:s}return n},{});return Object.assign({},e,r)}function ei(e,t){var r=t?Object.keys(vr(Object.assign({},G,{plugins:t}))):Zn,n=r.reduce(function(a,u){var s=(e.getAttribute("data-tippy-"+u)||"").trim();if(!s)return a;if(u==="content")a[u]=s;else try{a[u]=JSON.parse(s)}catch{a[u]=s}return a},{});return n}function Gt(e,t){var r=Object.assign({},t,{content:pr(t.content,[e])},t.ignoreAttributes?{}:ei(e,t.plugins));return r.aria=Object.assign({},G.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var ti=function(){return"innerHTML"};function xt(e,t){e[ti()]=t}function Kt(e){var t=Ie();return e===!0?t.className=fr:(t.className=cr,lt(e)?t.appendChild(e):xt(t,e)),t}function Jt(e,t){lt(t.content)?(xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?xt(e,t.content):e.textContent=t.content)}function Tt(e){var t=e.firstElementChild,r=ft(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(ur)}),arrow:r.find(function(n){return n.classList.contains(fr)||n.classList.contains(cr)}),backdrop:r.find(function(n){return n.classList.contains($n)})}}function mr(e){var t=Ie(),r=Ie();r.className=kn,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Ie();n.className=ur,n.setAttribute("data-state","hidden"),Jt(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props);function a(u,s){var c=Tt(t),f=c.box,p=c.content,l=c.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),typeof s.animation=="string"?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(u.content!==s.content||u.allowHTML!==s.allowHTML)&&Jt(p,e.props),s.arrow?l?u.arrow!==s.arrow&&(f.removeChild(l),f.appendChild(Kt(s.arrow))):f.appendChild(Kt(s.arrow)):l&&f.removeChild(l)}return{popper:t,onUpdate:a}}mr.$$tippy=!0;var ri=1,it=[],bt=[];function ni(e,t){var r=Gt(e,Object.assign({},G,vr(zt(t)))),n,a,u,s=!1,c=!1,f=!1,p=!1,l,b,x,h=[],w=Ut(Ye,r.interactiveDebounce),g,y=ri++,A=null,D=Hn(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:Ie(),popperInstance:A,props:r,state:S,plugins:D,clearDelayTimeouts:Je,setProps:Ze,setContent:Qe,show:hr,hide:gr,hideWithInteractivity:yr,enable:je,disable:Ke,unmount:br,destroy:wr};if(!r.render)return i;var T=r.render(i),v=T.popper,C=T.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+i.id,i.popper=v,e._tippy=i,v._tippy=i;var M=D.map(function(o){return o.fn(i)}),P=e.hasAttribute("aria-expanded");return Oe(),J(),H(),$("onCreate",[i]),r.showOnCreate&&$e(),v.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",w)}),i;function B(){var o=i.props.touch;return Array.isArray(o)?o:[o,0]}function k(){return B()[0]==="hold"}function R(){var o;return!!((o=i.props.render)!=null&&o.$$tippy)}function L(){return g||e}function N(){var o=L().parentNode;return o?Un(o):document}function F(){return Tt(v)}function j(o){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||l&&l.type==="focus"?0:ht(i.props.delay,o?0:1,G.delay)}function H(o){o===void 0&&(o=!1),v.style.pointerEvents=i.props.interactive&&!o?"":"none",v.style.zIndex=""+i.props.zIndex}function $(o,d,m){if(m===void 0&&(m=!0),M.forEach(function(O){O[o]&&O[o].apply(O,d)}),m){var E;(E=i.props)[o].apply(E,d)}}function K(){var o=i.props.aria;if(o.content){var d="aria-"+o.content,m=v.id,E=Ae(i.props.triggerTarget||e);E.forEach(function(O){var V=O.getAttribute(d);if(i.state.isVisible)O.setAttribute(d,V?V+" "+m:m);else{var q=V&&V.replace(m,"").trim();q?O.setAttribute(d,q):O.removeAttribute(d)}})}}function J(){if(!(P||!i.props.aria.expanded)){var o=Ae(i.props.triggerTarget||e);o.forEach(function(d){i.props.interactive?d.setAttribute("aria-expanded",i.state.isVisible&&d===L()?"true":"false"):d.removeAttribute("aria-expanded")})}}function pe(){N().removeEventListener("mousemove",w),it=it.filter(function(o){return o!==w})}function Z(o){if(!(ee.isTouch&&(f||o.type==="mousedown"))){var d=o.composedPath&&o.composedPath()[0]||o.target;if(!(i.props.interactive&&Xt(v,d))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,d)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[i,o]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),c=!0,setTimeout(function(){c=!1}),i.state.isMounted||ie())}}}function de(){f=!0}function ne(){f=!1}function _(){var o=N();o.addEventListener("mousedown",Z,!0),o.addEventListener("touchend",Z,he),o.addEventListener("touchstart",ne,he),o.addEventListener("touchmove",de,he)}function ie(){var o=N();o.removeEventListener("mousedown",Z,!0),o.removeEventListener("touchend",Z,he),o.removeEventListener("touchstart",ne,he),o.removeEventListener("touchmove",de,he)}function be(o,d){we(o,function(){!i.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&d()})}function ae(o,d){we(o,d)}function we(o,d){var m=F().box;function E(O){O.target===m&&(yt(m,"remove",E),d())}if(o===0)return d();yt(m,"remove",b),yt(m,"add",E),b=E}function fe(o,d,m){m===void 0&&(m=!1);var E=Ae(i.props.triggerTarget||e);E.forEach(function(O){O.addEventListener(o,d,m),h.push({node:O,eventType:o,handler:d,options:m})})}function Oe(){k()&&(fe("touchstart",Pe,{passive:!0}),fe("touchend",Xe,{passive:!0})),jn(i.props.trigger).forEach(function(o){if(o!=="manual")switch(fe(o,Pe),o){case"mouseenter":fe("mouseleave",Xe);break;case"focus":fe(Gn?"focusout":"blur",Me);break;case"focusin":fe("focusout",Me);break}})}function ze(){h.forEach(function(o){var d=o.node,m=o.eventType,E=o.handler,O=o.options;d.removeEventListener(m,E,O)}),h=[]}function Pe(o){var d,m=!1;if(!(!i.state.isEnabled||ke(o)||c)){var E=((d=l)==null?void 0:d.type)==="focus";l=o,g=o.currentTarget,J(),!i.state.isVisible&&In(o)&&it.forEach(function(O){return O(o)}),o.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||s)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:$e(o),o.type==="click"&&(s=!m),m&&!E&&ve(o)}}function Ye(o){var d=o.target,m=L().contains(d)||v.contains(d);if(!(o.type==="mousemove"&&m)){var E=ce().concat(v).map(function(O){var V,q=O._tippy,xe=(V=q.popperInstance)==null?void 0:V.state;return xe?{popperRect:O.getBoundingClientRect(),popperState:xe,props:r}:null}).filter(Boolean);qn(E,o)&&(pe(),ve(o))}}function Xe(o){var d=ke(o)||i.props.trigger.indexOf("click")>=0&&s;if(!d){if(i.props.interactive){i.hideWithInteractivity(o);return}ve(o)}}function Me(o){i.props.trigger.indexOf("focusin")<0&&o.target!==L()||i.props.interactive&&o.relatedTarget&&v.contains(o.relatedTarget)||ve(o)}function ke(o){return ee.isTouch?k()!==o.type.indexOf("touch")>=0:!1}function _e(){Ge();var o=i.props,d=o.popperOptions,m=o.placement,E=o.offset,O=o.getReferenceClientRect,V=o.moveTransition,q=R()?Tt(v).arrow:null,xe=O?{getBoundingClientRect:O,contextElement:O.contextElement||L()}:e,Pt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(et){var Te=et.state;if(R()){var Or=F(),dt=Or.box;["placement","reference-hidden","escaped"].forEach(function(tt){tt==="placement"?dt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+tt]?dt.setAttribute("data-"+tt,""):dt.removeAttribute("data-"+tt)}),Te.attributes.popper={}}}},me=[{name:"offset",options:{offset:E}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},Pt];R()&&q&&me.push({name:"arrow",options:{element:q,padding:3}}),me.push.apply(me,(d==null?void 0:d.modifiers)||[]),i.popperInstance=Mn(xe,v,Object.assign({},d,{placement:m,onFirstUpdate:x,modifiers:me}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var o=i.props.appendTo,d,m=L();i.props.interactive&&o===lr||o==="parent"?d=m.parentNode:d=pr(o,[m]),d.contains(v)||d.appendChild(v),i.state.isMounted=!0,_e()}function ce(){return ft(v.querySelectorAll("[data-tippy-root]"))}function $e(o){i.clearDelayTimeouts(),o&&$("onTrigger",[i,o]),_();var d=j(!0),m=B(),E=m[0],O=m[1];ee.isTouch&&E==="hold"&&O&&(d=O),d?n=setTimeout(function(){i.show()},d):i.show()}function ve(o){if(i.clearDelayTimeouts(),$("onUntrigger",[i,o]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(o.type)>=0&&s)){var d=j(!1);d?a=setTimeout(function(){i.state.isVisible&&i.hide()},d):u=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function Ke(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(u)}function Ze(o){if(!i.state.isDestroyed){$("onBeforeUpdate",[i,o]),ze();var d=i.props,m=Gt(e,Object.assign({},d,zt(o),{ignoreAttributes:!0}));i.props=m,Oe(),d.interactiveDebounce!==m.interactiveDebounce&&(pe(),w=Ut(Ye,m.interactiveDebounce)),d.triggerTarget&&!m.triggerTarget?Ae(d.triggerTarget).forEach(function(E){E.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),J(),H(),C&&C(d,m),i.popperInstance&&(_e(),ce().forEach(function(E){requestAnimationFrame(E._tippy.popperInstance.forceUpdate)})),$("onAfterUpdate",[i,o])}}function Qe(o){i.setProps({content:o})}function hr(){var o=i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ee.isTouch&&!i.props.touch,O=ht(i.props.duration,0,G.duration);if(!(o||d||m||E)&&!L().hasAttribute("disabled")&&($("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,R()&&(v.style.visibility="visible"),H(),_(),i.state.isMounted||(v.style.transition="none"),R()){var V=F(),q=V.box,xe=V.content;gt([q,xe],0)}x=function(){var me;if(!(!i.state.isVisible||p)){if(p=!0,v.offsetHeight,v.style.transition=i.props.moveTransition,R()&&i.props.animation){var pt=F(),et=pt.box,Te=pt.content;gt([et,Te],O),Yt([et,Te],"visible")}K(),J(),qt(bt,i),(me=i.popperInstance)==null||me.forceUpdate(),$("onMount",[i]),i.props.animation&&R()&&ae(O,function(){i.state.isShown=!0,$("onShown",[i])})}},oe()}}function gr(){var o=!i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ht(i.props.duration,1,G.duration);if(!(o||d||m)&&($("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,p=!1,s=!1,R()&&(v.style.visibility="hidden"),pe(),ie(),H(!0),R()){var O=F(),V=O.box,q=O.content;i.props.animation&&(gt([V,q],E),Yt([V,q],"hidden"))}K(),J(),i.props.animation?R()&&be(E,i.unmount):i.unmount()}}function yr(o){N().addEventListener("mousemove",w),qt(it,w),w(o)}function br(){i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(o){o._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),bt=bt.filter(function(o){return o!==i}),i.state.isMounted=!1,$("onHidden",[i]))}function wr(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),ze(),delete e._tippy,i.state.isDestroyed=!0,$("onDestroy",[i]))}}function Re(e,t){t===void 0&&(t={});var r=G.plugins.concat(t.plugins||[]);Xn();var n=Object.assign({},t,{plugins:r}),a=Fn(e),u=a.reduce(function(s,c){var f=c&&ni(c,n);return f&&s.push(f),s},[]);return lt(e)?u[0]:u}Re.defaultProps=G;Re.setDefaultProps=Qn;Re.currentInput=ee;Object.assign({},er,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});Re.setDefaultProps({render:mr});const ii={props:{triggerHeight:{default:"auto"},maxHeight:{default:"auto"},maxWidth:{default:"100vh"},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{default:"parent"},disable:{default:!1},fullWidth:{default:!1},showOnCreate:{default:!1}},setup(e){const t=vt(null),r=vt(null),n=vt();return Tr(()=>{t.value&&(n.value=Re(t.value,{trigger:e.trigger,maxWidth:e.maxWidth,content:r.value,placement:e.placement,interactive:!0,allowHTML:!0,appendTo:e.appendTo||document.querySelector("body"),arrow:!0,hideOnClick:!0,animation:"shift-away",theme:"light-border",showOnCreate:e.showOnCreate}))}),{tippyInstance:n,refTrigger:t,refContent:r,tippy:Re}}},ai={key:1,class:"popover-root"};function oi(e,t,r,n,a,u){return r.disable?(Q(),se("div",ai,[De(e.$slots,"trigger",{},void 0,!0)])):(Q(),se("div",{key:0,class:at(["popover-root",{fullWidth:r.fullWidth}])},[Ee("div",{ref:"refTrigger",class:"trigger",style:st({height:r.triggerHeight})},[De(e.$slots,"trigger",{},void 0,!0)],4),Ee("div",{ref:"refContent",class:"content",style:st({maxHeight:r.maxHeight,overflow:r.maxHeight!=="auto"?"auto":"inherit"})},[De(e.$slots,"content",{},void 0,!0)],4)],2))}const si=xr(ii,[["render",oi],["__scopeId","data-v-6d2b88ed"]]),ui={key:0,class:"title"},fi={key:0},ci={class:"actions"},li=["onClick"],pi={key:1,class:"text"},di={key:0,class:"text"},vi={__name:"Section",props:{header:{default:""},actions:{default:()=>[]},maxHeight:{default:"auto"},noStyle:{default:!1},noBodyPadding:{default:!1},scroll:{default:!0},headerBold:{default:!1},headerCenter:{default:!1},noRadius:{default:!1}},setup(e){const t=e,r=Ar(()=>t.actions.filter(n=>!n.hidden));return(n,a)=>{var u;return Q(),se("div",{class:at(["section-rtJYbnZTmbTnRmjreRzSMmHPf4NqoWVqEbGFBsz8BGaeKn",{noStyle:e.noStyle,noBodyPadding:e.noBodyPadding,headerBold:e.headerBold,headerCenter:e.headerCenter,noRadius:e.noRadius}])},[a[0]||(a[0]=Ee("div",{class:"background"},null,-1)),e.header||(u=e.actions)!=null&&u.length||n.$slots.header?(Q(),se("div",ui,[e.header?(Q(),se("div",fi,mt(e.header),1)):De(n.$slots,"header",{key:1}),Ee("div",ci,[De(n.$slots,"actions"),(Q(!0),se(Er,null,Dr(r.value,s=>(Q(),Cr(si,{key:s.label,appendTo:"parent",trigger:"mouseenter",placement:"top",disable:!s.hover},{trigger:Mt(()=>[Ee("button",{onClick:c=>{var f;return(f=s==null?void 0:s.click)==null?void 0:f.call(s)},class:at(["action small",{mini:!s.label&&s.icon||s.small,active:s.active}]),style:st(s.style||{})},[s.icon?(Q(),se("i",{key:0,class:at(s.icon),"aria-hidden":"true"},null,2)):rt("",!0),s.label?(Q(),se("span",pi,mt(s.label),1)):rt("",!0)],14,li)]),content:Mt(()=>[s.hover?(Q(),se("span",di,mt(s.hover),1)):rt("",!0)]),_:2},1032,["disable"]))),128))])])):rt("",!0),Ee("div",{class:"content",style:st({maxHeight:e.maxHeight,overflow:e.scroll?"auto":"inherit"})},[De(n.$slots,"default")],4)],2)}}},gi=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));export{si as P,gi as S,vi as _};
|
|
1
|
+
import{_ as xr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as vt,j as Tr,a as se,o as Q,b as Ee,h as De,u as st,n as at,c as Ar,g as rt,t as mt,F as Er,q as Dr,s as Cr,f as Mt}from"./index-BelhD7LL.js";var W="top",Y="bottom",X="right",I="left",At="auto",Ue=[W,Y,X,I],Ce="start",Ne="end",Sr="clippingParents",Zt="viewport",He="popper",Lr="reference",kt=Ue.reduce(function(e,t){return e.concat([t+"-"+Ce,t+"-"+Ne])},[]),Qt=[].concat(Ue,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Ce,t+"-"+Ne])},[]),Br="beforeRead",Rr="read",Pr="afterRead",Mr="beforeMain",kr="main",$r="afterMain",jr="beforeWrite",Hr="write",Vr="afterWrite",Wr=[Br,Rr,Pr,Mr,kr,$r,jr,Hr,Vr];function re(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function z(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Et(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ir(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},u=t.elements[r];!z(u)||!re(u)||(Object.assign(u.style,n),Object.keys(a).forEach(function(s){var c=a[s];c===!1?u.removeAttribute(s):u.setAttribute(s,c===!0?"":c)}))})}function Nr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],u=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=s.reduce(function(f,p){return f[p]="",f},{});!z(a)||!re(a)||(Object.assign(a.style,c),Object.keys(u).forEach(function(f){a.removeAttribute(f)}))})}}const er={name:"applyStyles",enabled:!0,phase:"write",fn:Ir,effect:Nr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=Math.max,ut=Math.min,Se=Math.round;function wt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tr(){return!/^((?!chrome|android).)*safari/i.test(wt())}function Le(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,u=1;t&&z(e)&&(a=e.offsetWidth>0&&Se(n.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Se(n.height)/e.offsetHeight||1);var s=ye(e)?U(e):window,c=s.visualViewport,f=!tr()&&r,p=(n.left+(f&&c?c.offsetLeft:0))/a,l=(n.top+(f&&c?c.offsetTop:0))/u,b=n.width/a,x=n.height/u;return{width:b,height:x,top:l,right:p+b,bottom:l+x,left:p,x:p,y:l}}function Dt(e){var t=Le(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Et(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ue(e){return U(e).getComputedStyle(e)}function Fr(e){return["table","td","th"].indexOf(re(e))>=0}function le(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(Et(e)?e.host:null)||le(e)}function $t(e){return!z(e)||ue(e).position==="fixed"?null:e.offsetParent}function Ur(e){var t=/firefox/i.test(wt()),r=/Trident/i.test(wt());if(r&&z(e)){var n=ue(e);if(n.position==="fixed")return null}var a=ct(e);for(Et(a)&&(a=a.host);z(a)&&["html","body"].indexOf(re(a))<0;){var u=ue(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function qe(e){for(var t=U(e),r=$t(e);r&&Fr(r)&&ue(r).position==="static";)r=$t(r);return r&&(re(r)==="html"||re(r)==="body"&&ue(r).position==="static")?t:r||Ur(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ve(e,t,r){return ge(e,ut(t,r))}function qr(e,t,r){var n=Ve(e,t,r);return n>r?r:n}function nr(){return{top:0,right:0,bottom:0,left:0}}function ir(e){return Object.assign({},nr(),e)}function ar(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var zr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ir(typeof t!="number"?t:ar(t,Ue))};function Yr(e){var t,r=e.state,n=e.name,a=e.options,u=r.elements.arrow,s=r.modifiersData.popperOffsets,c=te(r.placement),f=Ct(c),p=[I,X].indexOf(c)>=0,l=p?"height":"width";if(!(!u||!s)){var b=zr(a.padding,r),x=Dt(u),h=f==="y"?W:I,w=f==="y"?Y:X,g=r.rects.reference[l]+r.rects.reference[f]-s[f]-r.rects.popper[l],y=s[f]-r.rects.reference[f],A=qe(u),D=A?f==="y"?A.clientHeight||0:A.clientWidth||0:0,S=g/2-y/2,i=b[h],T=D-x[l]-b[w],v=D/2-x[l]/2+S,C=Ve(i,v,T),M=f;r.modifiersData[n]=(t={},t[M]=C,t.centerOffset=C-v,t)}}function Xr(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rr(t.elements.popper,a)&&(t.elements.arrow=a))}const _r={name:"arrow",enabled:!0,phase:"main",fn:Yr,effect:Xr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Be(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kr(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Se(r*a)/a||0,y:Se(n*a)/a||0}}function jt(e){var t,r=e.popper,n=e.popperRect,a=e.placement,u=e.variation,s=e.offsets,c=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,b=e.isFixed,x=s.x,h=x===void 0?0:x,w=s.y,g=w===void 0?0:w,y=typeof l=="function"?l({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var A=s.hasOwnProperty("x"),D=s.hasOwnProperty("y"),S=I,i=W,T=window;if(p){var v=qe(r),C="clientHeight",M="clientWidth";if(v===U(r)&&(v=le(r),ue(v).position!=="static"&&c==="absolute"&&(C="scrollHeight",M="scrollWidth")),v=v,a===W||(a===I||a===X)&&u===Ne){i=Y;var P=b&&v===T&&T.visualViewport?T.visualViewport.height:v[C];g-=P-n.height,g*=f?1:-1}if(a===I||(a===W||a===Y)&&u===Ne){S=X;var B=b&&v===T&&T.visualViewport?T.visualViewport.width:v[M];h-=B-n.width,h*=f?1:-1}}var k=Object.assign({position:c},p&&Gr),R=l===!0?Kr({x:h,y:g},U(r)):{x:h,y:g};if(h=R.x,g=R.y,f){var L;return Object.assign({},k,(L={},L[i]=D?"0":"",L[S]=A?"0":"",L.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",L))}return Object.assign({},k,(t={},t[i]=D?g+"px":"",t[S]=A?h+"px":"",t.transform="",t))}function Jr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,u=r.adaptive,s=u===void 0?!0:u,c=r.roundOffsets,f=c===void 0?!0:c,p={placement:te(t.placement),variation:Be(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jr,data:{}};var nt={passive:!0};function Qr(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,u=a===void 0?!0:a,s=n.resize,c=s===void 0?!0:s,f=U(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&p.forEach(function(l){l.addEventListener("scroll",r.update,nt)}),c&&f.addEventListener("resize",r.update,nt),function(){u&&p.forEach(function(l){l.removeEventListener("scroll",r.update,nt)}),c&&f.removeEventListener("resize",r.update,nt)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var tn={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return tn[t]})}var rn={start:"end",end:"start"};function Ht(e){return e.replace(/start|end/g,function(t){return rn[t]})}function St(e){var t=U(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Lt(e){return Le(le(e)).left+St(e).scrollLeft}function nn(e,t){var r=U(e),n=le(e),a=r.visualViewport,u=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){u=a.width,s=a.height;var p=tr();(p||!p&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:s,x:c+Lt(e),y:f}}function an(e){var t,r=le(e),n=St(e),a=(t=e.ownerDocument)==null?void 0:t.body,u=ge(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=ge(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Lt(e),f=-n.scrollTop;return ue(a||r).direction==="rtl"&&(c+=ge(r.clientWidth,a?a.clientWidth:0)-u),{width:u,height:s,x:c,y:f}}function Bt(e){var t=ue(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function or(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:z(e)&&Bt(e)?e:or(ct(e))}function We(e,t){var r;t===void 0&&(t=[]);var n=or(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),u=U(n),s=a?[u].concat(u.visualViewport||[],Bt(n)?n:[]):n,c=t.concat(s);return a?c:c.concat(We(ct(s)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function on(e,t){var r=Le(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Vt(e,t,r){return t===Zt?Ot(nn(e,r)):ye(t)?on(t,r):Ot(an(le(e)))}function sn(e){var t=We(ct(e)),r=["absolute","fixed"].indexOf(ue(e).position)>=0,n=r&&z(e)?qe(e):e;return ye(n)?t.filter(function(a){return ye(a)&&rr(a,n)&&re(a)!=="body"}):[]}function un(e,t,r,n){var a=t==="clippingParents"?sn(e):[].concat(t),u=[].concat(a,[r]),s=u[0],c=u.reduce(function(f,p){var l=Vt(e,p,n);return f.top=ge(l.top,f.top),f.right=ut(l.right,f.right),f.bottom=ut(l.bottom,f.bottom),f.left=ge(l.left,f.left),f},Vt(e,s,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function sr(e){var t=e.reference,r=e.element,n=e.placement,a=n?te(n):null,u=n?Be(n):null,s=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,f;switch(a){case W:f={x:s,y:t.y-r.height};break;case Y:f={x:s,y:t.y+t.height};break;case X:f={x:t.x+t.width,y:c};break;case I:f={x:t.x-r.width,y:c};break;default:f={x:t.x,y:t.y}}var p=a?Ct(a):null;if(p!=null){var l=p==="y"?"height":"width";switch(u){case Ce:f[p]=f[p]-(t[l]/2-r[l]/2);break;case Ne:f[p]=f[p]+(t[l]/2-r[l]/2);break}}return f}function Fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,u=r.strategy,s=u===void 0?e.strategy:u,c=r.boundary,f=c===void 0?Sr:c,p=r.rootBoundary,l=p===void 0?Zt:p,b=r.elementContext,x=b===void 0?He:b,h=r.altBoundary,w=h===void 0?!1:h,g=r.padding,y=g===void 0?0:g,A=ir(typeof y!="number"?y:ar(y,Ue)),D=x===He?Lr:He,S=e.rects.popper,i=e.elements[w?D:x],T=un(ye(i)?i:i.contextElement||le(e.elements.popper),f,l,s),v=Le(e.elements.reference),C=sr({reference:v,element:S,placement:a}),M=Ot(Object.assign({},S,C)),P=x===He?M:v,B={top:T.top-P.top+A.top,bottom:P.bottom-T.bottom+A.bottom,left:T.left-P.left+A.left,right:P.right-T.right+A.right},k=e.modifiersData.offset;if(x===He&&k){var R=k[a];Object.keys(B).forEach(function(L){var N=[X,Y].indexOf(L)>=0?1:-1,F=[W,Y].indexOf(L)>=0?"y":"x";B[L]+=R[F]*N})}return B}function fn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,u=r.rootBoundary,s=r.padding,c=r.flipVariations,f=r.allowedAutoPlacements,p=f===void 0?Qt:f,l=Be(n),b=l?c?kt:kt.filter(function(w){return Be(w)===l}):Ue,x=b.filter(function(w){return p.indexOf(w)>=0});x.length===0&&(x=b);var h=x.reduce(function(w,g){return w[g]=Fe(e,{placement:g,boundary:a,rootBoundary:u,padding:s})[te(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function cn(e){if(te(e)===At)return[];var t=ot(e);return[Ht(e),t,Ht(t)]}function ln(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!0:s,f=r.fallbackPlacements,p=r.padding,l=r.boundary,b=r.rootBoundary,x=r.altBoundary,h=r.flipVariations,w=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,S=f||(D||!w?[ot(y)]:cn(y)),i=[y].concat(S).reduce(function(ne,_){return ne.concat(te(_)===At?fn(t,{placement:_,boundary:l,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):_)},[]),T=t.rects.reference,v=t.rects.popper,C=new Map,M=!0,P=i[0],B=0;B<i.length;B++){var k=i[B],R=te(k),L=Be(k)===Ce,N=[W,Y].indexOf(R)>=0,F=N?"width":"height",j=Fe(t,{placement:k,boundary:l,rootBoundary:b,altBoundary:x,padding:p}),H=N?L?X:I:L?Y:W;T[F]>v[F]&&(H=ot(H));var $=ot(H),K=[];if(u&&K.push(j[R]<=0),c&&K.push(j[H]<=0,j[$]<=0),K.every(function(ne){return ne})){P=k,M=!1;break}C.set(k,K)}if(M)for(var J=w?3:1,pe=function(_){var ie=i.find(function(be){var ae=C.get(be);if(ae)return ae.slice(0,_).every(function(we){return we})});if(ie)return P=ie,"break"},Z=J;Z>0;Z--){var de=pe(Z);if(de==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const pn={name:"flip",enabled:!0,phase:"main",fn:ln,requiresIfExists:["offset"],data:{_skip:!1}};function Wt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function It(e){return[W,X,Y,I].some(function(t){return e[t]>=0})}function dn(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,s=Fe(t,{elementContext:"reference"}),c=Fe(t,{altBoundary:!0}),f=Wt(s,n),p=Wt(c,a,u),l=It(f),b=It(p);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:l,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":b})}const vn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dn};function mn(e,t,r){var n=te(e),a=[I,W].indexOf(n)>=0?-1:1,u=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=u[0],c=u[1];return s=s||0,c=(c||0)*a,[I,X].indexOf(n)>=0?{x:c,y:s}:{x:s,y:c}}function hn(e){var t=e.state,r=e.options,n=e.name,a=r.offset,u=a===void 0?[0,0]:a,s=Qt.reduce(function(l,b){return l[b]=mn(b,t.rects,u),l},{}),c=s[t.placement],f=c.x,p=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=s}const gn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hn};function yn(e){var t=e.state,r=e.name;t.modifiersData[r]=sr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bn={name:"popperOffsets",enabled:!0,phase:"read",fn:yn,data:{}};function wn(e){return e==="x"?"y":"x"}function On(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,u=a===void 0?!0:a,s=r.altAxis,c=s===void 0?!1:s,f=r.boundary,p=r.rootBoundary,l=r.altBoundary,b=r.padding,x=r.tether,h=x===void 0?!0:x,w=r.tetherOffset,g=w===void 0?0:w,y=Fe(t,{boundary:f,rootBoundary:p,padding:b,altBoundary:l}),A=te(t.placement),D=Be(t.placement),S=!D,i=Ct(A),T=wn(i),v=t.modifiersData.popperOffsets,C=t.rects.reference,M=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,B=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(v){if(u){var L,N=i==="y"?W:I,F=i==="y"?Y:X,j=i==="y"?"height":"width",H=v[i],$=H+y[N],K=H-y[F],J=h?-M[j]/2:0,pe=D===Ce?C[j]:M[j],Z=D===Ce?-M[j]:-C[j],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nr(),ie=_[N],be=_[F],ae=Ve(0,C[j],ne[j]),we=S?C[j]/2-J-ae-ie-B.mainAxis:pe-ae-ie-B.mainAxis,fe=S?-C[j]/2+J+ae+be+B.mainAxis:Z+ae+be+B.mainAxis,Oe=t.elements.arrow&&qe(t.elements.arrow),ze=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Pe=(L=k==null?void 0:k[i])!=null?L:0,Ye=H+we-Pe-ze,Xe=H+fe-Pe,Me=Ve(h?ut($,Ye):$,H,h?ge(K,Xe):K);v[i]=Me,R[i]=Me-H}if(c){var ke,_e=i==="x"?W:I,Ge=i==="x"?Y:X,oe=v[T],ce=T==="y"?"height":"width",$e=oe+y[_e],ve=oe-y[Ge],je=[W,I].indexOf(A)!==-1,Ke=(ke=k==null?void 0:k[T])!=null?ke:0,Je=je?$e:oe-C[ce]-M[ce]-Ke+B.altAxis,Ze=je?oe+C[ce]+M[ce]-Ke-B.altAxis:ve,Qe=h&&je?qr(Je,oe,Ze):Ve(h?Je:$e,oe,h?Ze:ve);v[T]=Qe,R[T]=Qe-oe}t.modifiersData[n]=R}}const xn={name:"preventOverflow",enabled:!0,phase:"main",fn:On,requiresIfExists:["offset"]};function Tn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function An(e){return e===U(e)||!z(e)?St(e):Tn(e)}function En(e){var t=e.getBoundingClientRect(),r=Se(t.width)/e.offsetWidth||1,n=Se(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dn(e,t,r){r===void 0&&(r=!1);var n=z(t),a=z(t)&&En(t),u=le(t),s=Le(e,a,r),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((re(t)!=="body"||Bt(u))&&(c=An(t)),z(t)?(f=Le(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):u&&(f.x=Lt(u))),{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function Cn(e){var t=new Map,r=new Set,n=[];e.forEach(function(u){t.set(u.name,u)});function a(u){r.add(u.name);var s=[].concat(u.requires||[],u.requiresIfExists||[]);s.forEach(function(c){if(!r.has(c)){var f=t.get(c);f&&a(f)}}),n.push(u)}return e.forEach(function(u){r.has(u.name)||a(u)}),n}function Sn(e){var t=Cn(e);return Wr.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Ln(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Bn(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Nt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Rn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,u=a===void 0?Nt:a;return function(c,f,p){p===void 0&&(p=u);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nt,u),modifiersData:{},elements:{reference:c,popper:f},attributes:{},styles:{}},b=[],x=!1,h={state:l,setOptions:function(A){var D=typeof A=="function"?A(l.options):A;g(),l.options=Object.assign({},u,l.options,D),l.scrollParents={reference:ye(c)?We(c):c.contextElement?We(c.contextElement):[],popper:We(f)};var S=Sn(Bn([].concat(n,l.options.modifiers)));return l.orderedModifiers=S.filter(function(i){return i.enabled}),w(),h.update()},forceUpdate:function(){if(!x){var A=l.elements,D=A.reference,S=A.popper;if(Ft(D,S)){l.rects={reference:Dn(D,qe(S),l.options.strategy==="fixed"),popper:Dt(S)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(B){return l.modifiersData[B.name]=Object.assign({},B.data)});for(var i=0;i<l.orderedModifiers.length;i++){if(l.reset===!0){l.reset=!1,i=-1;continue}var T=l.orderedModifiers[i],v=T.fn,C=T.options,M=C===void 0?{}:C,P=T.name;typeof v=="function"&&(l=v({state:l,options:M,name:P,instance:h})||l)}}}},update:Ln(function(){return new Promise(function(y){h.forceUpdate(),y(l)})}),destroy:function(){g(),x=!0}};if(!Ft(c,f))return h;h.setOptions(p).then(function(y){!x&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){l.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,S=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:l,name:A,instance:h,options:S}),v=function(){};b.push(T||v)}})}function g(){b.forEach(function(y){return y()}),b=[]}return h}}var Pn=[en,bn,Zr,er,gn,pn,xn,_r,vn],Mn=Rn({defaultModifiers:Pn}),kn="tippy-box",ur="tippy-content",$n="tippy-backdrop",fr="tippy-arrow",cr="tippy-svg-arrow",he={passive:!0,capture:!0},lr=function(){return document.body};function ht(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function Rt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function pr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ut(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function jn(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function Hn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Vn(e){return e.split("-")[0]}function ft(e){return[].slice.call(e)}function zt(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Ie(){return document.createElement("div")}function lt(e){return["Element","Fragment"].some(function(t){return Rt(e,t)})}function Wn(e){return Rt(e,"NodeList")}function In(e){return Rt(e,"MouseEvent")}function Nn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fn(e){return lt(e)?[e]:Wn(e)?ft(e):Array.isArray(e)?e:ft(document.querySelectorAll(e))}function gt(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Yt(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Un(e){var t,r=Ae(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function qn(e,t){var r=t.clientX,n=t.clientY;return e.every(function(a){var u=a.popperRect,s=a.popperState,c=a.props,f=c.interactiveBorder,p=Vn(s.placement),l=s.modifiersData.offset;if(!l)return!0;var b=p==="bottom"?l.top.y:0,x=p==="top"?l.bottom.y:0,h=p==="right"?l.left.x:0,w=p==="left"?l.right.x:0,g=u.top-n+b>f,y=n-u.bottom-x>f,A=u.left-r+h>f,D=r-u.right-w>f;return g||y||A||D})}function yt(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[n](a,r)})}function Xt(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var ee={isTouch:!1},_t=0;function zn(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",dr))}function dr(){var e=performance.now();e-_t<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",dr)),_t=e}function Yn(){var e=document.activeElement;if(Nn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Xn(){document.addEventListener("touchstart",zn,he),window.addEventListener("blur",Yn)}var _n=typeof window<"u"&&typeof document<"u",Gn=_n?!!window.msCrypto:!1,Kn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jn={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},G=Object.assign({appendTo:lr,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Kn,Jn),Zn=Object.keys(G),Qn=function(t){var r=Object.keys(t);r.forEach(function(n){G[n]=t[n]})};function vr(e){var t=e.plugins||[],r=t.reduce(function(n,a){var u=a.name,s=a.defaultValue;if(u){var c;n[u]=e[u]!==void 0?e[u]:(c=G[u])!=null?c:s}return n},{});return Object.assign({},e,r)}function ei(e,t){var r=t?Object.keys(vr(Object.assign({},G,{plugins:t}))):Zn,n=r.reduce(function(a,u){var s=(e.getAttribute("data-tippy-"+u)||"").trim();if(!s)return a;if(u==="content")a[u]=s;else try{a[u]=JSON.parse(s)}catch{a[u]=s}return a},{});return n}function Gt(e,t){var r=Object.assign({},t,{content:pr(t.content,[e])},t.ignoreAttributes?{}:ei(e,t.plugins));return r.aria=Object.assign({},G.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var ti=function(){return"innerHTML"};function xt(e,t){e[ti()]=t}function Kt(e){var t=Ie();return e===!0?t.className=fr:(t.className=cr,lt(e)?t.appendChild(e):xt(t,e)),t}function Jt(e,t){lt(t.content)?(xt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?xt(e,t.content):e.textContent=t.content)}function Tt(e){var t=e.firstElementChild,r=ft(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(ur)}),arrow:r.find(function(n){return n.classList.contains(fr)||n.classList.contains(cr)}),backdrop:r.find(function(n){return n.classList.contains($n)})}}function mr(e){var t=Ie(),r=Ie();r.className=kn,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Ie();n.className=ur,n.setAttribute("data-state","hidden"),Jt(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props);function a(u,s){var c=Tt(t),f=c.box,p=c.content,l=c.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),typeof s.animation=="string"?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(u.content!==s.content||u.allowHTML!==s.allowHTML)&&Jt(p,e.props),s.arrow?l?u.arrow!==s.arrow&&(f.removeChild(l),f.appendChild(Kt(s.arrow))):f.appendChild(Kt(s.arrow)):l&&f.removeChild(l)}return{popper:t,onUpdate:a}}mr.$$tippy=!0;var ri=1,it=[],bt=[];function ni(e,t){var r=Gt(e,Object.assign({},G,vr(zt(t)))),n,a,u,s=!1,c=!1,f=!1,p=!1,l,b,x,h=[],w=Ut(Ye,r.interactiveDebounce),g,y=ri++,A=null,D=Hn(r.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:Ie(),popperInstance:A,props:r,state:S,plugins:D,clearDelayTimeouts:Je,setProps:Ze,setContent:Qe,show:hr,hide:gr,hideWithInteractivity:yr,enable:je,disable:Ke,unmount:br,destroy:wr};if(!r.render)return i;var T=r.render(i),v=T.popper,C=T.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+i.id,i.popper=v,e._tippy=i,v._tippy=i;var M=D.map(function(o){return o.fn(i)}),P=e.hasAttribute("aria-expanded");return Oe(),J(),H(),$("onCreate",[i]),r.showOnCreate&&$e(),v.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",w)}),i;function B(){var o=i.props.touch;return Array.isArray(o)?o:[o,0]}function k(){return B()[0]==="hold"}function R(){var o;return!!((o=i.props.render)!=null&&o.$$tippy)}function L(){return g||e}function N(){var o=L().parentNode;return o?Un(o):document}function F(){return Tt(v)}function j(o){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||l&&l.type==="focus"?0:ht(i.props.delay,o?0:1,G.delay)}function H(o){o===void 0&&(o=!1),v.style.pointerEvents=i.props.interactive&&!o?"":"none",v.style.zIndex=""+i.props.zIndex}function $(o,d,m){if(m===void 0&&(m=!0),M.forEach(function(O){O[o]&&O[o].apply(O,d)}),m){var E;(E=i.props)[o].apply(E,d)}}function K(){var o=i.props.aria;if(o.content){var d="aria-"+o.content,m=v.id,E=Ae(i.props.triggerTarget||e);E.forEach(function(O){var V=O.getAttribute(d);if(i.state.isVisible)O.setAttribute(d,V?V+" "+m:m);else{var q=V&&V.replace(m,"").trim();q?O.setAttribute(d,q):O.removeAttribute(d)}})}}function J(){if(!(P||!i.props.aria.expanded)){var o=Ae(i.props.triggerTarget||e);o.forEach(function(d){i.props.interactive?d.setAttribute("aria-expanded",i.state.isVisible&&d===L()?"true":"false"):d.removeAttribute("aria-expanded")})}}function pe(){N().removeEventListener("mousemove",w),it=it.filter(function(o){return o!==w})}function Z(o){if(!(ee.isTouch&&(f||o.type==="mousedown"))){var d=o.composedPath&&o.composedPath()[0]||o.target;if(!(i.props.interactive&&Xt(v,d))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,d)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[i,o]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),c=!0,setTimeout(function(){c=!1}),i.state.isMounted||ie())}}}function de(){f=!0}function ne(){f=!1}function _(){var o=N();o.addEventListener("mousedown",Z,!0),o.addEventListener("touchend",Z,he),o.addEventListener("touchstart",ne,he),o.addEventListener("touchmove",de,he)}function ie(){var o=N();o.removeEventListener("mousedown",Z,!0),o.removeEventListener("touchend",Z,he),o.removeEventListener("touchstart",ne,he),o.removeEventListener("touchmove",de,he)}function be(o,d){we(o,function(){!i.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&d()})}function ae(o,d){we(o,d)}function we(o,d){var m=F().box;function E(O){O.target===m&&(yt(m,"remove",E),d())}if(o===0)return d();yt(m,"remove",b),yt(m,"add",E),b=E}function fe(o,d,m){m===void 0&&(m=!1);var E=Ae(i.props.triggerTarget||e);E.forEach(function(O){O.addEventListener(o,d,m),h.push({node:O,eventType:o,handler:d,options:m})})}function Oe(){k()&&(fe("touchstart",Pe,{passive:!0}),fe("touchend",Xe,{passive:!0})),jn(i.props.trigger).forEach(function(o){if(o!=="manual")switch(fe(o,Pe),o){case"mouseenter":fe("mouseleave",Xe);break;case"focus":fe(Gn?"focusout":"blur",Me);break;case"focusin":fe("focusout",Me);break}})}function ze(){h.forEach(function(o){var d=o.node,m=o.eventType,E=o.handler,O=o.options;d.removeEventListener(m,E,O)}),h=[]}function Pe(o){var d,m=!1;if(!(!i.state.isEnabled||ke(o)||c)){var E=((d=l)==null?void 0:d.type)==="focus";l=o,g=o.currentTarget,J(),!i.state.isVisible&&In(o)&&it.forEach(function(O){return O(o)}),o.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||s)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:$e(o),o.type==="click"&&(s=!m),m&&!E&&ve(o)}}function Ye(o){var d=o.target,m=L().contains(d)||v.contains(d);if(!(o.type==="mousemove"&&m)){var E=ce().concat(v).map(function(O){var V,q=O._tippy,xe=(V=q.popperInstance)==null?void 0:V.state;return xe?{popperRect:O.getBoundingClientRect(),popperState:xe,props:r}:null}).filter(Boolean);qn(E,o)&&(pe(),ve(o))}}function Xe(o){var d=ke(o)||i.props.trigger.indexOf("click")>=0&&s;if(!d){if(i.props.interactive){i.hideWithInteractivity(o);return}ve(o)}}function Me(o){i.props.trigger.indexOf("focusin")<0&&o.target!==L()||i.props.interactive&&o.relatedTarget&&v.contains(o.relatedTarget)||ve(o)}function ke(o){return ee.isTouch?k()!==o.type.indexOf("touch")>=0:!1}function _e(){Ge();var o=i.props,d=o.popperOptions,m=o.placement,E=o.offset,O=o.getReferenceClientRect,V=o.moveTransition,q=R()?Tt(v).arrow:null,xe=O?{getBoundingClientRect:O,contextElement:O.contextElement||L()}:e,Pt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(et){var Te=et.state;if(R()){var Or=F(),dt=Or.box;["placement","reference-hidden","escaped"].forEach(function(tt){tt==="placement"?dt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+tt]?dt.setAttribute("data-"+tt,""):dt.removeAttribute("data-"+tt)}),Te.attributes.popper={}}}},me=[{name:"offset",options:{offset:E}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},Pt];R()&&q&&me.push({name:"arrow",options:{element:q,padding:3}}),me.push.apply(me,(d==null?void 0:d.modifiers)||[]),i.popperInstance=Mn(xe,v,Object.assign({},d,{placement:m,onFirstUpdate:x,modifiers:me}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var o=i.props.appendTo,d,m=L();i.props.interactive&&o===lr||o==="parent"?d=m.parentNode:d=pr(o,[m]),d.contains(v)||d.appendChild(v),i.state.isMounted=!0,_e()}function ce(){return ft(v.querySelectorAll("[data-tippy-root]"))}function $e(o){i.clearDelayTimeouts(),o&&$("onTrigger",[i,o]),_();var d=j(!0),m=B(),E=m[0],O=m[1];ee.isTouch&&E==="hold"&&O&&(d=O),d?n=setTimeout(function(){i.show()},d):i.show()}function ve(o){if(i.clearDelayTimeouts(),$("onUntrigger",[i,o]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(o.type)>=0&&s)){var d=j(!1);d?a=setTimeout(function(){i.state.isVisible&&i.hide()},d):u=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function Ke(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(u)}function Ze(o){if(!i.state.isDestroyed){$("onBeforeUpdate",[i,o]),ze();var d=i.props,m=Gt(e,Object.assign({},d,zt(o),{ignoreAttributes:!0}));i.props=m,Oe(),d.interactiveDebounce!==m.interactiveDebounce&&(pe(),w=Ut(Ye,m.interactiveDebounce)),d.triggerTarget&&!m.triggerTarget?Ae(d.triggerTarget).forEach(function(E){E.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),J(),H(),C&&C(d,m),i.popperInstance&&(_e(),ce().forEach(function(E){requestAnimationFrame(E._tippy.popperInstance.forceUpdate)})),$("onAfterUpdate",[i,o])}}function Qe(o){i.setProps({content:o})}function hr(){var o=i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ee.isTouch&&!i.props.touch,O=ht(i.props.duration,0,G.duration);if(!(o||d||m||E)&&!L().hasAttribute("disabled")&&($("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,R()&&(v.style.visibility="visible"),H(),_(),i.state.isMounted||(v.style.transition="none"),R()){var V=F(),q=V.box,xe=V.content;gt([q,xe],0)}x=function(){var me;if(!(!i.state.isVisible||p)){if(p=!0,v.offsetHeight,v.style.transition=i.props.moveTransition,R()&&i.props.animation){var pt=F(),et=pt.box,Te=pt.content;gt([et,Te],O),Yt([et,Te],"visible")}K(),J(),qt(bt,i),(me=i.popperInstance)==null||me.forceUpdate(),$("onMount",[i]),i.props.animation&&R()&&ae(O,function(){i.state.isShown=!0,$("onShown",[i])})}},oe()}}function gr(){var o=!i.state.isVisible,d=i.state.isDestroyed,m=!i.state.isEnabled,E=ht(i.props.duration,1,G.duration);if(!(o||d||m)&&($("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,p=!1,s=!1,R()&&(v.style.visibility="hidden"),pe(),ie(),H(!0),R()){var O=F(),V=O.box,q=O.content;i.props.animation&&(gt([V,q],E),Yt([V,q],"hidden"))}K(),J(),i.props.animation?R()&&be(E,i.unmount):i.unmount()}}function yr(o){N().addEventListener("mousemove",w),qt(it,w),w(o)}function br(){i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(o){o._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),bt=bt.filter(function(o){return o!==i}),i.state.isMounted=!1,$("onHidden",[i]))}function wr(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),ze(),delete e._tippy,i.state.isDestroyed=!0,$("onDestroy",[i]))}}function Re(e,t){t===void 0&&(t={});var r=G.plugins.concat(t.plugins||[]);Xn();var n=Object.assign({},t,{plugins:r}),a=Fn(e),u=a.reduce(function(s,c){var f=c&&ni(c,n);return f&&s.push(f),s},[]);return lt(e)?u[0]:u}Re.defaultProps=G;Re.setDefaultProps=Qn;Re.currentInput=ee;Object.assign({},er,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});Re.setDefaultProps({render:mr});const ii={props:{triggerHeight:{default:"auto"},maxHeight:{default:"auto"},maxWidth:{default:"100vh"},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{default:"parent"},disable:{default:!1},fullWidth:{default:!1},showOnCreate:{default:!1}},setup(e){const t=vt(null),r=vt(null),n=vt();return Tr(()=>{t.value&&(n.value=Re(t.value,{trigger:e.trigger,maxWidth:e.maxWidth,content:r.value,placement:e.placement,interactive:!0,allowHTML:!0,appendTo:e.appendTo||document.querySelector("body"),arrow:!0,hideOnClick:!0,animation:"shift-away",theme:"light-border",showOnCreate:e.showOnCreate}))}),{tippyInstance:n,refTrigger:t,refContent:r,tippy:Re}}},ai={key:1,class:"popover-root"};function oi(e,t,r,n,a,u){return r.disable?(Q(),se("div",ai,[De(e.$slots,"trigger",{},void 0,!0)])):(Q(),se("div",{key:0,class:at(["popover-root",{fullWidth:r.fullWidth}])},[Ee("div",{ref:"refTrigger",class:"trigger",style:st({height:r.triggerHeight})},[De(e.$slots,"trigger",{},void 0,!0)],4),Ee("div",{ref:"refContent",class:"content",style:st({maxHeight:r.maxHeight,overflow:r.maxHeight!=="auto"?"auto":"inherit"})},[De(e.$slots,"content",{},void 0,!0)],4)],2))}const si=xr(ii,[["render",oi],["__scopeId","data-v-6d2b88ed"]]),ui={key:0,class:"title"},fi={key:0},ci={class:"actions"},li=["onClick"],pi={key:1,class:"text"},di={key:0,class:"text"},vi={__name:"Section",props:{header:{default:""},actions:{default:()=>[]},maxHeight:{default:"auto"},noStyle:{default:!1},noBodyPadding:{default:!1},scroll:{default:!0},headerBold:{default:!1},headerCenter:{default:!1},noRadius:{default:!1}},setup(e){const t=e,r=Ar(()=>t.actions.filter(n=>!n.hidden));return(n,a)=>{var u;return Q(),se("div",{class:at(["section-rtJYbnZTmbTnRmjreRzSMmHPf4NqoWVqEbGFBsz8BGaeKn",{noStyle:e.noStyle,noBodyPadding:e.noBodyPadding,headerBold:e.headerBold,headerCenter:e.headerCenter,noRadius:e.noRadius}])},[a[0]||(a[0]=Ee("div",{class:"background"},null,-1)),e.header||(u=e.actions)!=null&&u.length||n.$slots.header?(Q(),se("div",ui,[e.header?(Q(),se("div",fi,mt(e.header),1)):De(n.$slots,"header",{key:1}),Ee("div",ci,[De(n.$slots,"actions"),(Q(!0),se(Er,null,Dr(r.value,s=>(Q(),Cr(si,{key:s.label,appendTo:"parent",trigger:"mouseenter",placement:"top",disable:!s.hover},{trigger:Mt(()=>[Ee("button",{onClick:c=>{var f;return(f=s==null?void 0:s.click)==null?void 0:f.call(s)},class:at(["action small",{mini:!s.label&&s.icon||s.small,active:s.active}]),style:st(s.style||{})},[s.icon?(Q(),se("i",{key:0,class:at(s.icon),"aria-hidden":"true"},null,2)):rt("",!0),s.label?(Q(),se("span",pi,mt(s.label),1)):rt("",!0)],14,li)]),content:Mt(()=>[s.hover?(Q(),se("span",di,mt(s.hover),1)):rt("",!0)]),_:2},1032,["disable"]))),128))])])):rt("",!0),Ee("div",{class:"content",style:st({maxHeight:e.maxHeight,overflow:e.scroll?"auto":"inherit"})},[De(n.$slots,"default")],4)],2)}}},gi=Object.freeze(Object.defineProperty({__proto__:null,default:vi},Symbol.toStringTag,{value:"Module"}));export{si as P,gi as S,vi as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as ue,B as ce,a as w,o as p,g as O,I as C,h as j,r as h,j as Q,S as se,K as pe,e as r,f as c,F as R,q as F,b as u,s as $,d as V,L as n,t as x,p as ie,k as U,ap as Me,aq as Ue,ar as De,as as Ae,at as Be,au as ne,av as Ke,l as oe,H as de,T as $e,G as Ne,m as ge,n as Se,aw as qe,c as Pe,a0 as Fe,w as ze,ax as K,ay as ve,az as He}from"./index-
|
|
1
|
+
import{y as ue,B as ce,a as w,o as p,g as O,I as C,h as j,r as h,j as Q,S as se,K as pe,e as r,f as c,F as R,q as F,b as u,s as $,d as V,L as n,t as x,p as ie,k as U,ap as Me,aq as Ue,ar as De,as as Ae,at as Be,au as ne,av as Ke,l as oe,H as de,T as $e,G as Ne,m as ge,n as Se,aw as qe,c as Pe,a0 as Fe,w as ze,ax as K,ay as ve,az as He}from"./index-BelhD7LL.js";import{P as Ze,_ as A}from"./Section-u9eiCD3F.js";import{S as _e,n as P,u as me}from"./router-Cxk7zjvo.js";import{s as D,a as Ve,R as Ge}from"./index-STDFvzob.js";import{s as We,a as Ie,b as M,c as Ye,d as Je,e as Qe,P as X,f as ye,g as Xe}from"./index-DGME7aKs.js";import{s as E,a as et}from"./index-BJkfmYFE.js";import{s as xe,c as H,a as tt}from"./index-CZ6deEIJ.js";import{b as ee,s as st}from"./index-BN_JECzv.js";import{M as N}from"./Modal-iAUX09_b.js";import{s as te}from"./index-B_ICEWNI.js";import{s as ot,a as at,O as nt,b as lt}from"./index-UzGzKvDE.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{C as rt}from"./CurrentEditor-CwOF8PuR.js";import{s as ae,a as Ee}from"./index-e0ZhF1ea.js";import{s as Oe,a as it}from"./index-DvEhrupB.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";import"./currentEditor-kBIRJ2ns.js";import"./Spinner-BMsNFBmq.js";var dt=ue`
|
|
2
2
|
.p-divider-horizontal {
|
|
3
3
|
display: flex;
|
|
4
4
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as o,g as t,o as n,u as s,n as l}from"./index-
|
|
1
|
+
import{_ as a}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as o,g as t,o as n,u as s,n as l}from"./index-BelhD7LL.js";const r={__name:"Spinner",props:{display:{type:Boolean,default:!0},size:{default:"70"},noColor:{type:Boolean,default:!1}},setup(e){return(i,c)=>e.display?(n(),o("div",{key:0,class:l(["spinner",{noColor:e.noColor}]),style:s({width:e.size+"px",height:e.size+"px"})},null,6)):t("",!0)}},m=a(r,[["__scopeId","data-v-dc0919ad"]]);export{m as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import a from"./system-
|
|
1
|
+
import a from"./system-CaB6RF01.js";import{B as c,L as i}from"./LeftLogo-BQhhaJXo.js";import{S as n}from"./StackChooser-Doewl5mP.js";import{u as m}from"./router-Cxk7zjvo.js";import{_ as l}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as p,o as f,e as t,b as s,t as u,L as r}from"./index-BelhD7LL.js";import"./Section-u9eiCD3F.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";const _={class:"stack-chooser-root"},d={class:"right"},k={class:"version"},v={__name:"StackChooser",setup(h){const e=m();return(S,o)=>(f(),p("div",_,[t(c,{lowResources:!0}),t(i),s("div",d,[t(n,{class:"stack-chooser"})]),s("div",k,u(r(a).version.value),1),s("div",{class:"tools",onClick:o[0]||(o[0]=x=>r(e).push({name:"Toolbox"}))},o[1]||(o[1]=[s("i",{class:"fas fa-toolbox"},null,-1)]))]))}},$=l(v,[["__scopeId","data-v-3f1446fa"]]);export{$ as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as G,S as d}from"./router-
|
|
1
|
+
import{u as G,S as d}from"./router-Cxk7zjvo.js";import V from"./system-CaB6RF01.js";import{_ as I}from"./Section-u9eiCD3F.js";import{l as M,s as O,g as S,o as r,f as U,b as c,a as u,F as A,q as L,d as E,t as _,O as N,m as q,p as F,v as K,r as T,j,S as m,N as D,c as C,V as x}from"./index-BelhD7LL.js";import{L as R,B as z}from"./LeftLogo-BQhhaJXo.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";const J={name:"StackChooser",components:{sectionCmp:I,BackgroundStackChooser:z,LeftLogo:R},props:{embed:{default:!1}},setup(){var o,h,f;const v=G(),t=T([]);async function b(){if(await d.loadServices(),!d.services.value.length)return v.push({name:"stack-single-no-view"});if(t.value=d.services.value.map(e=>{const l=localStorage.getItem(`automatic-toggle-${e.label}`);return{label:e.label,enabled:l==="true"||e.enabled||!1,groups:e.groups}}),v.currentRoute.value.name==="stack-chooser"){const e=d.services.value.find(l=>l.enabled);if(e){const l=d.services.value.find(a=>a.label===localStorage.getItem("last-service-visisted")&&a.enabled);l?v.push({name:"stack-single",params:{label:l.label}}):v.push({name:"stack-single",params:{label:e.label}})}}}j(b),(o=m)==null||o.on("stack:selectConf",b),(h=m)==null||h.on("service:start",b),(f=m)==null||f.on("stack:services-reloaded",b),D(()=>{var e,l,a;(e=m)==null||e.off("stack:selectConf",b),(l=m)==null||l.off("service:start",b),(a=m)==null||a.off("stack:services-reloaded",b)});const s=async()=>{var l,a;t.value.forEach(i=>{const w=d.services.value.find(B=>B.label===i.label);w&&(w.enabled=i.enabled)}),d.launchServices(t.value.map(i=>({label:i.label,enabled:i.enabled})));const e=await d.getEnabledServices();v.push({name:"stack-single",params:{label:((l=e[0])==null?void 0:l.label)||((a=d.services.value[0])==null?void 0:a.label)}})},g=e=>t.value.filter(l=>{var a;return((a=l.groups)==null?void 0:a.includes(e))||e==="All"}),y=e=>g(e).every(l=>l.enabled),p=T(""),n=async e=>{e!=null&&e.label&&localStorage.setItem(`automatic-toggle-${e.label}`,e.enabled==null?"false":e.enabled.toString())},k=async(e,l=null)=>{e!=null&&(e.enabled=l??!e.enabled,await n(e))};return{servicesToLaunch:t,search:p,isAllEnabled:C(()=>t.value.every(e=>e.enabled)),oneOrMoreEnabled:C(()=>t.value.some(e=>e.enabled)),groups:C(()=>{const e=t.value.reduce((l,a)=>(a.groups&&a.groups.forEach(i=>{l[i]||(l[i]=x({services:[],label:i})),l[i].services.push(a)}),l.All||(l.All=x({services:[],label:"All"})),l.All.services.push(a),l),{});return Object.keys(e).map(l=>e[l]).sort((l,a)=>l.label.localeCompare(a.label))}),toggleGroup(e){const l=y(e);g(e).map(a=>{k(a,!l)})},save:n,isGroupSelected:y,Stack:d,System:V,validate:s,displayedServices(e){return e.filter(l=>{var a;return(a=l.label)==null?void 0:a.toUpperCase().includes(p.value.toUpperCase())})},toggleService:k}}},P={class:"groups"},Q=["onClick"],W={class:"left-header"},X={key:0,class:"fas fa-chevron-down","aria-hidden":"true"},Y={class:"right-header"},Z=["onClick"],$={key:0,class:"far fa-check-square","aria-hidden":"true"},ee={key:1,class:"far fa-square","aria-hidden":"true"},le={key:0},ae=["onKeypress"],se=["id","value","checked","onChange"],te=["for"],ne={class:"actions"};function oe(v,t,b,s,g,y){const p=M("section-cmp");return s.servicesToLaunch?(r(),O(p,{key:0,class:"stack-chooser",header:"Choose all services to launch"},{default:U(()=>[c("div",P,[(r(!0),u(A,null,L(s.groups,n=>{var k;return r(),u("div",{key:n.label},[c("div",{class:"group-header",onClick:o=>n.show=!n.show},[c("div",W,[n.label!=="All"?(r(),u("i",X)):S("",!0),c("h3",null,[E(_(n.label)+" ",1),c("span",null,"("+_((k=n.services)==null?void 0:k.length)+")",1)])]),c("div",Y,[c("button",{onClick:N(o=>s.toggleGroup(n.label),["stop"]),class:"mini"},[s.isGroupSelected(n.label)?(r(),u("i",$)):(r(),u("i",ee))],8,Z)])],8,Q),n.show||n.label==="All"?(r(),u("ul",le,[q(c("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=o=>s.search=o),onKeypress:F(o=>s.toggleService(s.servicesToLaunch.find(h=>{var f;return h.label===((f=s.displayedServices(n.services)[0])==null?void 0:f.label)})),["enter"]),placeholder:"Type+Enter to toggle..."},null,40,ae),[[K,s.search]]),(r(!0),u(A,null,L(s.displayedServices(n.services),o=>{var h,f;return r(),u("li",{key:"services-"+o.label},[c("input",{type:"checkbox",id:"input-"+o.label,value:(h=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:h.enabled,checked:(f=s.servicesToLaunch.find(e=>e.label===o.label))==null?void 0:f.enabled,onChange:e=>s.toggleService(s.servicesToLaunch.find(l=>l.label===o.label))},null,40,se),c("label",{for:"input-"+o.label},_(o.label),9,te)])}),128))])):S("",!0)])}),128))]),c("div",ne,[s.isAllEnabled?(r(),u("button",{key:1,onClick:t[2]||(t[2]=n=>s.toggleGroup("All"))},"Unselect all")):(r(),u("button",{key:0,onClick:t[1]||(t[1]=n=>s.toggleGroup("All"))},"Select all")),c("button",{onClick:t[3]||(t[3]=(...n)=>s.validate&&s.validate(...n)),class:"success"},[t[4]||(t[4]=c("i",{class:"fas fa-play","aria-hidden":"true"},null,-1)),E(" "+_(s.oneOrMoreEnabled?"Launch":"Open without launching"),1)])])]),_:1})):S("",!0)}const fe=H(J,[["render",oe],["__scopeId","data-v-cd4be6aa"]]);export{fe as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as qa}from"./Section-
|
|
1
|
+
import{_ as qa}from"./Section-u9eiCD3F.js";import{p as _a,P as es,S as ts}from"./router-Cxk7zjvo.js";import{T as Lo}from"./Tabs-BA8jGnfl.js";import{a as Nr,g as ns}from"./_commonjsHelpers-D6-XlEtG.js";import{a2 as In,a3 as mt,a4 as Ae,a5 as Wn,a6 as Ei,a7 as rs,a8 as wo,a9 as Pt,aa as is,ab as Fo,ac as os,ad as ht,ae as Vo,af as qi,ag as as,ah as ss,ai as ls,aj as cs,ak as fs,al as Cr,am as us,an as ds,ao as hs,P as ps,Y as ms,r as Jr,j as vs,k as _i,w as gs,l as Es,a as Ss,o as zr,e as Qr,f as mn,b as vn,L as ys,I as Ts,s as eo,a1 as bs,H as Os}from"./index-BelhD7LL.js";import{_ as Is}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Editor-UHqSMXPl.js";var tr={exports:{}},kr={exports:{}},Zr={};/**
|
|
2
2
|
* @vue/compiler-core v3.5.14
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as M,p as q,u as A,S as B}from"./router-
|
|
1
|
+
import{n as M,p as q,u as A,S as B}from"./router-Cxk7zjvo.js";import K from"./system-CaB6RF01.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as r,o as l,b as t,u as Y,h as G,n as T,P as J,Y as Q,r as f,w as W,j as R,S as E,K as N,g as p,s as _,d as X,f as c,t as C,e as u,F as Z,q as ee,a1 as ae,H as te,k as se}from"./index-BelhD7LL.js";import{P as ne,_ as oe}from"./Section-u9eiCD3F.js";import{T as le}from"./Tabs-BA8jGnfl.js";import{C as re}from"./CurrentEditor-CwOF8PuR.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";import"./currentEditor-kBIRJ2ns.js";import"./Spinner-BMsNFBmq.js";const ie={props:{percent:{default:0}}},ce={class:"progress progress-moved"};function ue(v,d,i,a,g,y){return l(),r("div",ce,[t("div",{class:"progress-bar",style:Y({width:`${(i.percent||0)>100?100:i.percent||0}%`})},null,4)])}const V=b(ie,[["render",ue],["__scopeId","data-v-3bbda6b0"]]),de={class:"card-container"},fe={__name:"Card",props:{color:{default:"blue"},mini:{default:!1}},setup(v){return(d,i)=>(l(),r("div",{class:T(["card-root",{[v.color]:!0,mini:v.mini}])},[t("div",de,[G(d.$slots,"default",{},void 0,!0)])],2))}},S=b(fe,[["__scopeId","data-v-bebaadaf"]]),ve={__name:"NotificationBell",setup(v){const d=()=>M.openHistory.next();return(i,a)=>(l(),r("div",{class:"notification-bell-root",onClick:d},a[0]||(a[0]=[t("i",{class:"fas fa-bell","aria-hidden":"true"},null,-1)])))}},pe=b(ve,[["__scopeId","data-v-c97a762b"]]),me={class:"main"},_e={class:"header"},be={class:"left"},ge={class:"title"},ye={class:"description"},he={class:"right"},ke={class:"icons"},Ce=["href"],Se=["href"],we=["href","title"],$e={class:"sections"},Ie={key:0,class:"sections"},xe={key:1,class:"system-cards"},Pe=["disabled"],Oe={class:"tab"},Be={__name:"StackSingle",setup(v){const d=J({});q.forEach(s=>{s.cmp&&typeof s.cmp=="function"&&(d.value[s.name]=Q(()=>s.cmp()))});const i=A(),a=f(),g=f(0),y=f(0),m=f(!1);W(()=>i.currentRoute.value.params.label,async()=>{await k()});const w=s=>{s.includes(i.currentRoute.value.params.label.toString())&&k()};R(()=>{E.on("conf:update",w)}),N(()=>{E.off("conf:update",w)});let h;const $=f([]);async function k(){var s;if(await B.loadServices(),a.value=await B.getService((s=i.currentRoute.value.params.label)==null?void 0:s.toString()),a.value){const{data:e}=await se.get("/plugins/services/"+a.value.label);$.value=e.sort((n,o)=>n.order-o.order).map(n=>{var I,x,P,O;const o={label:n.name,id:n.name,icon:n.icon,hidden:n.hidden,warning:0};if(n.name==="Configuration"){const D=Object.keys(((x=(I=a.value)==null?void 0:I.spawnOptions)==null?void 0:x.overrideEnvs)||{});Object.keys(((O=(P=a.value)==null?void 0:P.spawnOptions)==null?void 0:O.env)||{}).some(H=>D.includes(H))&&(o.warning=1)}return o})}}R(async()=>{await k(),h=setInterval(async()=>{var n;if(!((n=a.value)!=null&&n.label))return;const{cpu:s,mem:e}=await K.getInfos(a.value.label.toString());g.value=s,y.value=e},1e3)}),N(()=>{h&&clearInterval(h)}),f(!1);async function F(s,e){var n;(n=a.value)==null||n.openInVsCode(s,e)}async function L(s){var e;(e=a.value)==null||e.openFolder(s)}async function U(){var s;m.value=!0,await((s=a.value)==null?void 0:s.restart().finally(()=>m.value=!1))}async function j(){var s;await((s=a.value)==null?void 0:s.stop())}async function z(){var s;await((s=a.value)==null?void 0:s.start())}return(s,e)=>{var n;return a.value?(l(),r("div",{class:"stack-single",key:s.$route.params.label.toString()},[t("div",me,[t("div",_e,[t("div",be,[t("div",ge,[(n=a.value.container)!=null&&n.enabled?(l(),_(ne,{key:0,trigger:"mouseenter",appendTo:"parent","max-width":"50vh"},{trigger:c(()=>e[4]||(e[4]=[t("i",{class:"fab fa-docker"},null,-1)])),content:c(()=>[t("ul",null,[t("li",null,"Container name: "+C(a.value.container.name),1)])]),_:1})):p("",!0),X(" "+C(a.value.label),1)]),t("div",ye,C(a.value.description),1)]),t("div",he,[u(pe),t("div",ke,[a.value.git&&a.value.git.home?(l(),r("a",{key:0,href:a.value.git.home,target:"_blank",title:"Open git home"},e[5]||(e[5]=[t("i",{class:"fab fa-github","aria-hidden":"true"},null,-1)]),8,Ce)):p("",!0),a.value.url?(l(),r("a",{key:1,href:a.value.url,target:"_blank",title:"Open service URL"},e[6]||(e[6]=[t("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,Se)):p("",!0),(l(!0),r(Z,null,ee(a.value.urls,o=>(l(),r("a",{key:o,href:o,target:"_blank",title:o},e[7]||(e[7]=[t("i",{class:"fas fa-globe","aria-hidden":"true"},null,-1)]),8,we))),128)),(l(),_(re,{key:"current-editor-"+a.value.label,service:a.value,onOpenEditor:e[0]||(e[0]=o=>F(a.value.rootPath,o))},null,8,["service"])),a.value.rootPath?(l(),r("i",{key:2,class:"fas fa-folder","aria-hidden":"true",title:"Open folder",onClick:e[1]||(e[1]=o=>L(a.value.rootPath))})):p("",!0)])])]),t("div",$e,[a.value.enabled?(l(),r("div",xe,[u(S,{class:"card to-hide-for-small-screen",mini:!0},{default:c(()=>[e[8]||(e[8]=t("i",{class:"fas fa-memory"},null,-1)),e[9]||(e[9]=t("div",{class:"hovered"},"Memory",-1)),u(V,{percent:y.value},null,8,["percent"])]),_:1,__:[8,9]}),u(S,{class:"card to-hide-for-small-screen",color:"purple",mini:!0},{default:c(()=>[e[10]||(e[10]=t("i",{class:"fas fa-microchip"},null,-1)),e[11]||(e[11]=t("div",{class:"hovered"},"CPU",-1)),u(V,{percent:g.value},null,8,["percent"])]),_:1,__:[10,11]}),u(S,{class:"card restart-stop-card",color:"orange",mini:!0},{default:c(()=>[t("button",{class:"small",onClick:e[2]||(e[2]=o=>U()),disabled:m.value},[t("i",{class:T(["fas fa-sync",{rotate:m.value}]),"aria-hidden":"true"},null,2),e[12]||(e[12]=t("span",null,"Restart",-1))],8,Pe),t("button",{class:"small",onClick:e[3]||(e[3]=o=>j())},e[13]||(e[13]=[t("i",{class:"fas fa-stop","aria-hidden":"true"},null,-1),t("span",null,"Stop",-1)]))]),_:1})])):(l(),r("div",Ie,[u(oe,{header:"This service is not started",actions:[{label:"Start",click:()=>z(),icon:"fas fa-play"}],class:"section-not-started"},null,8,["actions"])])),u(le,{class:"tabs",tabs:$.value,showLabels:!1,direction:"left",contentCss:{height:"100%"}},{default:c(({tab:o})=>[t("div",Oe,[(l(),_(ae,null,{default:c(()=>[(l(),_(te(d.value[o.id]||o.id),{service:a.value,key:a.value.label},null,8,["service"]))]),fallback:c(()=>e[14]||(e[14]=[t("div",{class:"dynamic-loader"},[t("div",{class:"loader-content"},[t("i",{class:"fas fa-spinner fa-spin loader-icon"}),t("span",null,"Loading component...")])],-1)])),_:2},1024))])]),_:1},8,["tabs"])])])])):p("",!0)}}},Me=b(Be,[["__scopeId","data-v-f185c830"]]);export{Me as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as x}from"./router-
|
|
1
|
+
import{u as x}from"./router-Cxk7zjvo.js";import{P as I}from"./Section-u9eiCD3F.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as L,j as N,w as _,c as P,a as u,o as l,b as f,F as V,q as j,s as z,f as b,d as F,t as d,n as v,g as i,h as $,u as w}from"./index-BelhD7LL.js";const D=["onClick"],E={key:0},M={key:2},O={key:3,class:"badge warning"},W={__name:"Tabs",props:{tabs:{default:[]},height:{default:"calc(100vh - 220px)"},direction:{default:""},showLabels:{default:!0},contentCss:{default:()=>({})},invertColor:{default:!1}},setup(n,{expose:S}){const r=x(),o=n,a=L(),h=()=>{if(o.tabs){const t=localStorage.getItem("tab");a.value=o.tabs.find(s=>s.id===t)||o.tabs[0]}};N(()=>{var t;r.currentRoute.value.query.tab&&localStorage.setItem("tab",(t=r.currentRoute.value.query.tab)==null?void 0:t.toString()),h()}),_(()=>o.tabs,()=>{var t;!a.value&&((t=o.tabs)!=null&&t[0])&&h()}),_(()=>r.currentRoute.value,()=>{var s;const t=r.currentRoute.value.query.tab;t&&(a.value=(s=o.tabs)==null?void 0:s.find(c=>c.id===t))},{immediate:!0});const R=()=>{var s;const t=(s=a.value)!=null&&s.id?a.value.id:"";localStorage.setItem("tab",t),r.push({path:r.currentRoute.value.fullPath,query:Object.assign({},r.currentRoute.value.query||{},{tab:t})})},q=P(()=>o.tabs.filter(t=>!t.hidden));return S({currentTab:a}),(t,s)=>{var c,g,m,y;return l(),u("div",{class:v(["tabs",{[n.direction]:!0}]),style:w({height:n.height})},[f("div",{class:v(["buttons",{invert:n.invertColor}])},[(l(!0),u(V,null,j(q.value,e=>(l(),z(I,{key:e.label,appendTo:"parent",trigger:"mouseenter",placement:"right",fullWidth:!0},{trigger:b(()=>{var p,k,C,T;return[f("button",{onClick:A=>{a.value=e,R()},class:v({active:(e==null?void 0:e.id)===((p=a.value)==null?void 0:p.id)})},[e.label&&!e.icon?(l(),u("div",E,d(e.label),1)):i("",!0),e.icon?(l(),u("i",{key:1,class:v(e.icon),"aria-hidden":"true"},null,2)):i("",!0),n.showLabels?(l(),u("label",M,d(((C=(k=e==null?void 0:e.data)==null?void 0:k.value)==null?void 0:C.length)||((T=e==null?void 0:e.data)==null?void 0:T.length)||0),1)):i("",!0),e!=null&&e.warning?(l(),u("div",O,d(e.warning),1)):i("",!0)],10,D)]}),content:b(()=>[F(d(e.label),1)]),_:2},1024))),128))],2),f("div",{class:"content",style:w(n.contentCss)},[a.value?$(t.$slots,"default",{key:(c=a.value)==null?void 0:c.id,data:((m=(g=a.value)==null?void 0:g.data)==null?void 0:m.value)||((y=a.value)==null?void 0:y.data),tab:a.value},void 0,!0):i("",!0)],4)],6)}}},Q=B(W,[["__scopeId","data-v-90487616"]]);export{Q as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as Z}from"./router-6vVxI5YF.js";import{r as N,k as z,w as R}from"./index-C02AjRq4.js";import{i as _,d as q,b as U,a as j,c as v,e as O,f as rr,g as V,h as er,j as tr,k as J,l as ar,m as or,n as nr,o as sr,p as K,q as ir,r as lr,s as G,t as ur,u as cr,v as fr,S as dr,w as mr}from"./_baseFor-DiPelG4M.js";function yr(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function hr(t,e){var r=-1,s=t.length;for(e||(e=Array(s));++r<s;)e[r]=t[r];return e}var gr=800,pr=16,br=Date.now;function Cr(t){var e=0,r=0;return function(){var s=br(),a=pr-(s-r);if(r=s,a>0){if(++e>=gr)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function vr(t){return function(){return t}}var kr=q?function(t,e){return q(t,"toString",{configurable:!0,enumerable:!1,value:vr(e),writable:!0})}:_,Tr=Cr(kr);function Or(t,e,r,s){var a=!r;r||(r={});for(var i=-1,l=e.length;++i<l;){var o=e[i],n=void 0;n===void 0&&(n=t[o]),a?U(r,o,n):j(r,o,n)}return r}var H=Math.max;function $r(t,e,r){return e=H(e===void 0?t.length-1:e,0),function(){for(var s=arguments,a=-1,i=H(s.length-e,0),l=Array(i);++a<i;)l[a]=s[e+a];a=-1;for(var o=Array(e+1);++a<e;)o[a]=s[a];return o[e]=r(l),yr(t,this,o)}}function wr(t,e){return Tr($r(t,e,_),t+"")}function Pr(t,e,r){if(!v(r))return!1;var s=typeof e;return(s=="number"?O(r)&&rr(e,r.length):s=="string"&&e in r)?V(r[e],t):!1}function Sr(t){return wr(function(e,r){var s=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(a--,i):void 0,l&&Pr(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),e=Object(e);++s<a;){var o=r[s];o&&t(e,o,s,i)}return e})}function xr(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Ir=Object.prototype,Ar=Ir.hasOwnProperty;function Er(t){if(!v(t))return xr(t);var e=er(t),r=[];for(var s in t)s=="constructor"&&(e||!Ar.call(t,s))||r.push(s);return r}function Q(t){return O(t)?tr(t,!0):Er(t)}var Lr="[object Object]",Mr=Function.prototype,Br=Object.prototype,X=Mr.toString,Dr=Br.hasOwnProperty,Fr=X.call(Object);function Nr(t){if(!J(t)||ar(t)!=Lr)return!1;var e=or(t);if(e===null)return!0;var r=Dr.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&X.call(r)==Fr}function k(t,e,r){(r!==void 0&&!V(t[e],r)||r===void 0&&!(e in t))&&U(t,e,r)}function Rr(t){return J(t)&&O(t)}function T(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function qr(t){return Or(t,Q(t))}function Kr(t,e,r,s,a,i,l){var o=T(t,r),n=T(e,r),d=l.get(n);if(d){k(t,r,d);return}var f=i?i(o,n,r+"",t,e,l):void 0,p=f===void 0;if(p){var y=K(n),m=!y&&nr(n),c=!y&&!m&&sr(n);f=n,y||m||c?K(o)?f=o:Rr(o)?f=hr(o):m?(p=!1,f=ir(n,!0)):c?(p=!1,f=lr(n,!0)):f=[]:Nr(n)||G(n)?(f=o,G(o)?f=qr(o):(!v(o)||ur(o))&&(f=cr(n))):p=!1}p&&(l.set(n,f),a(f,n,s,i,l),l.delete(n)),k(t,r,f)}function Y(t,e,r,s,a){t!==e&&fr(e,function(i,l){if(a||(a=new dr),v(i))Kr(t,e,l,r,Y,s,a);else{var o=s?s(T(t,l),i,l+"",t,e,a):void 0;o===void 0&&(o=i),k(t,l,o)}},Q)}var Gr=Sr(function(t,e,r){Y(t,e,r)});const Hr={rules:{system:{backgroundColor0:"#fff",backgroundColor50:"#f8f8f8",backgroundColor100:"#eee",backgroundColor200:"#ddd",backgroundColor300:"#ccc",backgroundColor400:"#888",backgroundColor500:"#777",backgroundColor600:"#555",backgroundColor700:"#333",backgroundColor800:"#222",backgroundColor900:"#111",backgroundColor950:"#000",color0:"#000",color50:"#111",color100:"#222",color200:"#333",color300:"#444",color400:"#555",color500:"#666",color600:"#888",color700:"#aaa",color800:"#ccc",color900:"#ddd",color950:"#fff",primary50:"#faecfb",primary100:"#f0c5f3",primary200:"#e69fec",primary300:"#db78e4",primary400:"#d151dc",primary500:"#c72bd4",primary600:"#a323ae",primary700:"#7f1b87",primary800:"#5a1360",primary900:"#360c3a",primary950:"#120413",secondary50:"#faecfb",secondary100:"#f0c5f3",secondary200:"#e69fec",secondary300:"#db78e4",secondary400:"#d151dc",secondary500:"#c72bd4",secondary600:"#a323ae",secondary700:"#7f1b87",secondary800:"#5a1360",secondary900:"#360c3a",secondary950:"#120413",tertiary50:"#faecfb",tertiary100:"#f0c5f3",tertiary200:"#e69fec",tertiary300:"#db78e4",tertiary400:"#d151dc",tertiary500:"#c72bd4",tertiary600:"#a323ae",tertiary700:"#7f1b87",tertiary800:"#5a1360",tertiary900:"#360c3a",tertiary950:"#120413",terminalContrastRatio:7},background:{color:"var(--system-color0)",backgroundColor:"var(--system-backgroundColor100)"},sidebarMain:{color:"var(--system-color600)",backgroundColor:"var(--system-backgroundColor0)"},sidebar:{color:"var(--system-color0)",backgroundColor:"var(--system-backgroundColor50)"}}},Wr={rules:{system:{backgroundColor0:"#000",backgroundColor50:"#0a0a0a",backgroundColor100:"#222",backgroundColor200:"#333",backgroundColor300:"#444",backgroundColor400:"#555",backgroundColor500:"#777",backgroundColor600:"#888",backgroundColor700:"#aaa",backgroundColor800:"#ccc",backgroundColor900:"#ddd",backgroundColor950:"#fff",color0:"#fff",color50:"#ddd",color100:"#ccc",color200:"#bbb",color300:"#aaa",color400:"#888",color500:"#666",color600:"#555",color700:"#333",color800:"#222",color900:"#111",color950:"#000",primary50:"#120413",primary100:"#360c3a",primary200:"#5a1360",primary300:"#7f1b87",primary400:"#a323ae",primary500:"#c72bd4",primary600:"#db78e4",primary700:"#e69fec",primary800:"#f0c5f3",primary900:"#faecfb",primary950:"#fff",secondary50:"#120413",secondary100:"#360c3a",secondary200:"#5a1360",secondary300:"#7f1b87",secondary400:"#a323ae",secondary500:"#c72bd4",secondary600:"#db78e4",secondary700:"#e69fec",secondary800:"#f0c5f3",secondary900:"#faecfb",secondary950:"#fff",tertiary50:"#120413",tertiary100:"#360c3a",tertiary200:"#5a1360",tertiary300:"#7f1b87",tertiary400:"#a323ae",tertiary500:"#c72bd4",tertiary600:"#db78e4",tertiary700:"#e69fec",tertiary800:"#f0c5f3",tertiary900:"#faecfb",tertiary950:"#fff",terminalContrastRatio:7},background:{color:"var(--system-color300)",backgroundColor:"var(--system-backgroundColor100)"},sidebarMain:{color:"var(--system-color300)",backgroundColor:"var(--system-backgroundColor300)"},sidebar:{color:"var(--system-color200)",backgroundColor:"var(--system-backgroundColor200)"}}};class _r{constructor(){this.themes=N({light:Hr,dark:Wr}),this.currentTheme=N("light"),this.buildedTheme=this.themes.value.light,this.observableCurrentTheme=new Z,z.get("/api/plugins/themes").then(e=>{this.themes.value={...this.themes.value,...e.data}}),R(()=>this.currentTheme.value,e=>{this.apply(e)}),R(()=>this.themes.value[this.currentTheme.value],e=>{this.loadCurrentTheme()},{deep:!0})}load(e={}){Object.assign(this.themes.value,e),this.loadCurrentTheme(),this.apply(this.currentTheme.value)}get(e){var a,i,l;const[r,s]=e.split("/");return(l=(i=(a=this.buildedTheme)==null?void 0:a.rules)==null?void 0:i[r])==null?void 0:l[s]}loadCurrentTheme(){let e=localStorage.getItem("currentTheme");e||(localStorage.setItem("currentTheme","lightPurple"),e="lightPurple"),e==="light"&&(localStorage.setItem("currentTheme","lightPurple"),e="lightPurple"),e==="dark"&&(localStorage.setItem("currentTheme","darkPurple"),e="darkPurple"),this.themes.value[e]||(e="light"),this.currentTheme.value=e}lighter(e,r){return W.lighter(e,r)}buildTheme(e){let r=mr(this.themes.value[e]);if(!r)throw new Error(`${e} theme not exists`);if(r.base){if(!this.themes.value[r.base])return r;r=Gr(this.buildTheme(r.base),r)}return r}apply(e){var s,a,i,l,o,n,d,f,p,y,m,c,g,h,$,w,P,S,x,I,A,E,L,M;localStorage.setItem("currentTheme",e);const r=this.buildTheme(e);this.currentTheme.value=e,this.buildedTheme=r,this.currentTheme.value.startsWith("dark")?(document.documentElement.classList.add("theme-dark"),document.documentElement.classList.remove("theme-light")):(document.documentElement.classList.add("theme-light"),document.documentElement.classList.remove("theme-dark")),this.observableCurrentTheme.next("apply",e),Object.keys(r.rules).forEach(B=>{const D=r.rules[B];Object.keys(D).forEach(F=>{const b=`--${B.replaceAll(".","-")}-${F}`,C=D[F];u(b,C),u(`${b}-darker`,this.lighter(-.3,C)),u(`${b}-darkest`,this.lighter(-.5,C)),u(`${b}-lighter`,this.lighter(.3,C)),u(`${b}-lightest`,this.lighter(.5,C))})}),u("--p-surface-0",(s=r.rules.system)==null?void 0:s.backgroundColor0),u("--p-surface-50",(a=r.rules.system)==null?void 0:a.backgroundColor50),u("--p-surface-100",(i=r.rules.system)==null?void 0:i.backgroundColor100),u("--p-surface-200",(l=r.rules.system)==null?void 0:l.backgroundColor200),u("--p-surface-300",(o=r.rules.system)==null?void 0:o.backgroundColor300),u("--p-surface-400",(n=r.rules.system)==null?void 0:n.backgroundColor400),u("--p-surface-500",(d=r.rules.system)==null?void 0:d.backgroundColor500),u("--p-surface-600",(f=r.rules.system)==null?void 0:f.backgroundColor600),u("--p-surface-700",(p=r.rules.system)==null?void 0:p.backgroundColor700),u("--p-surface-800",(y=r.rules.system)==null?void 0:y.backgroundColor800),u("--p-surface-900",(m=r.rules.system)==null?void 0:m.backgroundColor900),u("--p-surface-950",(c=r.rules.system)==null?void 0:c.backgroundColor950),u("--p-primary-50",(g=r.rules.system)==null?void 0:g.primary950),u("--p-primary-100",(h=r.rules.system)==null?void 0:h.primary900),u("--p-primary-200",($=r.rules.system)==null?void 0:$.primary800),u("--p-primary-300",(w=r.rules.system)==null?void 0:w.primary700),u("--p-primary-400",(P=r.rules.system)==null?void 0:P.primary600),u("--p-primary-500",(S=r.rules.system)==null?void 0:S.primary500),u("--p-primary-600",(x=r.rules.system)==null?void 0:x.primary400),u("--p-primary-700",(I=r.rules.system)==null?void 0:I.primary300),u("--p-primary-800",(A=r.rules.system)==null?void 0:A.primary200),u("--p-primary-900",(E=r.rules.system)==null?void 0:E.primary100),u("--p-primary-950",(L=r.rules.system)==null?void 0:L.primary50),u("--p-tabs-nav-button-shadow",`0px 0px 10px 50px ${W.lighter(0,(M=r.rules.system)==null?void 0:M.backgroundColor300)}55`),console.log(r.rules)}}function u(t,e){const r=document.querySelector(":root");if(r){if(!t.startsWith("--"))throw new Error("Css variable should starts with --");r.style.setProperty(t,e)}}const Qr=new _r,W={lighter(t,e,r,s){let a,i,l,o,n,d,f;const p=parseInt,y=Math.round;let m=typeof r=="string";return typeof t!="number"||t<-1||t>1||typeof e!="string"||e[0]!="r"&&e[0]!="#"||r&&!m||(this.pSBCr||(this.pSBCr=c=>{let g=c.length;const h={};if(g>9){if([a,i,l,m]=c=c.split(","),g=c.length,g<3||g>4)return null;h.r=p(a[3]=="a"?a.slice(5):a.slice(4)),h.g=p(i),h.b=p(l),h.a=m?parseFloat(m):-1}else{if(g==8||g==6||g<4)return null;g<6&&(c=`#${c[1]}${c[1]}${c[2]}${c[2]}${c[3]}${c[3]}${g>4?c[4]+c[4]:""}`),c=p(c.slice(1),16),g==9||g==5?(h.r=c>>24&255,h.g=c>>16&255,h.b=c>>8&255,h.a=y((c&255)/.255)/1e3):(h.r=c>>16,h.g=c>>8&255,h.b=c&255,h.a=-1)}return h}),f=e.length>9,f=m?r.length>9?!0:r=="c"?!f:!1:f,n=this.pSBCr(e),o=t<0,d=r&&r!="c"?this.pSBCr(r):o?{r:0,g:0,b:0,a:-1}:{r:255,g:255,b:255,a:-1},t=o?t*-1:t,o=1-t,!n||!d)?null:(s?(a=y(o*n.r+t*d.r),i=y(o*n.g+t*d.g),l=y(o*n.b+t*d.b)):(a=y((o*n.r**2+t*d.r**2)**.5),i=y((o*n.g**2+t*d.g**2)**.5),l=y((o*n.b**2+t*d.b**2)**.5)),m=n.a,d=d.a,n=m>=0||d>=0,m=n?m<0?d:d<0?m:m*o+d*t:0,f?`rgb${n?"a(":"("}${a},${i},${l}${n?`,${y(m*1e3)/1e3}`:""})`:`#${(4294967296+a*16777216+i*65536+l*256+(n?y(m*255):0)).toString(16).slice(1,n?void 0:-2)}`)}};export{Qr as T};
|
|
1
|
+
import{C as Z}from"./router-Cxk7zjvo.js";import{r as N,k as z,w as R}from"./index-BelhD7LL.js";import{i as _,d as q,b as U,a as j,c as v,e as O,f as rr,g as V,h as er,j as tr,k as J,l as ar,m as or,n as nr,o as sr,p as K,q as ir,r as lr,s as G,t as ur,u as cr,v as fr,S as dr,w as mr}from"./_baseFor-DiPelG4M.js";function yr(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function hr(t,e){var r=-1,s=t.length;for(e||(e=Array(s));++r<s;)e[r]=t[r];return e}var gr=800,pr=16,br=Date.now;function Cr(t){var e=0,r=0;return function(){var s=br(),a=pr-(s-r);if(r=s,a>0){if(++e>=gr)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function vr(t){return function(){return t}}var kr=q?function(t,e){return q(t,"toString",{configurable:!0,enumerable:!1,value:vr(e),writable:!0})}:_,Tr=Cr(kr);function Or(t,e,r,s){var a=!r;r||(r={});for(var i=-1,l=e.length;++i<l;){var o=e[i],n=void 0;n===void 0&&(n=t[o]),a?U(r,o,n):j(r,o,n)}return r}var H=Math.max;function $r(t,e,r){return e=H(e===void 0?t.length-1:e,0),function(){for(var s=arguments,a=-1,i=H(s.length-e,0),l=Array(i);++a<i;)l[a]=s[e+a];a=-1;for(var o=Array(e+1);++a<e;)o[a]=s[a];return o[e]=r(l),yr(t,this,o)}}function wr(t,e){return Tr($r(t,e,_),t+"")}function Pr(t,e,r){if(!v(r))return!1;var s=typeof e;return(s=="number"?O(r)&&rr(e,r.length):s=="string"&&e in r)?V(r[e],t):!1}function Sr(t){return wr(function(e,r){var s=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(a--,i):void 0,l&&Pr(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),e=Object(e);++s<a;){var o=r[s];o&&t(e,o,s,i)}return e})}function xr(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Ir=Object.prototype,Ar=Ir.hasOwnProperty;function Er(t){if(!v(t))return xr(t);var e=er(t),r=[];for(var s in t)s=="constructor"&&(e||!Ar.call(t,s))||r.push(s);return r}function Q(t){return O(t)?tr(t,!0):Er(t)}var Lr="[object Object]",Mr=Function.prototype,Br=Object.prototype,X=Mr.toString,Dr=Br.hasOwnProperty,Fr=X.call(Object);function Nr(t){if(!J(t)||ar(t)!=Lr)return!1;var e=or(t);if(e===null)return!0;var r=Dr.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&X.call(r)==Fr}function k(t,e,r){(r!==void 0&&!V(t[e],r)||r===void 0&&!(e in t))&&U(t,e,r)}function Rr(t){return J(t)&&O(t)}function T(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function qr(t){return Or(t,Q(t))}function Kr(t,e,r,s,a,i,l){var o=T(t,r),n=T(e,r),d=l.get(n);if(d){k(t,r,d);return}var f=i?i(o,n,r+"",t,e,l):void 0,p=f===void 0;if(p){var y=K(n),m=!y&&nr(n),c=!y&&!m&&sr(n);f=n,y||m||c?K(o)?f=o:Rr(o)?f=hr(o):m?(p=!1,f=ir(n,!0)):c?(p=!1,f=lr(n,!0)):f=[]:Nr(n)||G(n)?(f=o,G(o)?f=qr(o):(!v(o)||ur(o))&&(f=cr(n))):p=!1}p&&(l.set(n,f),a(f,n,s,i,l),l.delete(n)),k(t,r,f)}function Y(t,e,r,s,a){t!==e&&fr(e,function(i,l){if(a||(a=new dr),v(i))Kr(t,e,l,r,Y,s,a);else{var o=s?s(T(t,l),i,l+"",t,e,a):void 0;o===void 0&&(o=i),k(t,l,o)}},Q)}var Gr=Sr(function(t,e,r){Y(t,e,r)});const Hr={rules:{system:{backgroundColor0:"#fff",backgroundColor50:"#f8f8f8",backgroundColor100:"#eee",backgroundColor200:"#ddd",backgroundColor300:"#ccc",backgroundColor400:"#888",backgroundColor500:"#777",backgroundColor600:"#555",backgroundColor700:"#333",backgroundColor800:"#222",backgroundColor900:"#111",backgroundColor950:"#000",color0:"#000",color50:"#111",color100:"#222",color200:"#333",color300:"#444",color400:"#555",color500:"#666",color600:"#888",color700:"#aaa",color800:"#ccc",color900:"#ddd",color950:"#fff",primary50:"#faecfb",primary100:"#f0c5f3",primary200:"#e69fec",primary300:"#db78e4",primary400:"#d151dc",primary500:"#c72bd4",primary600:"#a323ae",primary700:"#7f1b87",primary800:"#5a1360",primary900:"#360c3a",primary950:"#120413",secondary50:"#faecfb",secondary100:"#f0c5f3",secondary200:"#e69fec",secondary300:"#db78e4",secondary400:"#d151dc",secondary500:"#c72bd4",secondary600:"#a323ae",secondary700:"#7f1b87",secondary800:"#5a1360",secondary900:"#360c3a",secondary950:"#120413",tertiary50:"#faecfb",tertiary100:"#f0c5f3",tertiary200:"#e69fec",tertiary300:"#db78e4",tertiary400:"#d151dc",tertiary500:"#c72bd4",tertiary600:"#a323ae",tertiary700:"#7f1b87",tertiary800:"#5a1360",tertiary900:"#360c3a",tertiary950:"#120413",terminalContrastRatio:7},background:{color:"var(--system-color0)",backgroundColor:"var(--system-backgroundColor100)"},sidebarMain:{color:"var(--system-color600)",backgroundColor:"var(--system-backgroundColor0)"},sidebar:{color:"var(--system-color0)",backgroundColor:"var(--system-backgroundColor50)"}}},Wr={rules:{system:{backgroundColor0:"#000",backgroundColor50:"#0a0a0a",backgroundColor100:"#222",backgroundColor200:"#333",backgroundColor300:"#444",backgroundColor400:"#555",backgroundColor500:"#777",backgroundColor600:"#888",backgroundColor700:"#aaa",backgroundColor800:"#ccc",backgroundColor900:"#ddd",backgroundColor950:"#fff",color0:"#fff",color50:"#ddd",color100:"#ccc",color200:"#bbb",color300:"#aaa",color400:"#888",color500:"#666",color600:"#555",color700:"#333",color800:"#222",color900:"#111",color950:"#000",primary50:"#120413",primary100:"#360c3a",primary200:"#5a1360",primary300:"#7f1b87",primary400:"#a323ae",primary500:"#c72bd4",primary600:"#db78e4",primary700:"#e69fec",primary800:"#f0c5f3",primary900:"#faecfb",primary950:"#fff",secondary50:"#120413",secondary100:"#360c3a",secondary200:"#5a1360",secondary300:"#7f1b87",secondary400:"#a323ae",secondary500:"#c72bd4",secondary600:"#db78e4",secondary700:"#e69fec",secondary800:"#f0c5f3",secondary900:"#faecfb",secondary950:"#fff",tertiary50:"#120413",tertiary100:"#360c3a",tertiary200:"#5a1360",tertiary300:"#7f1b87",tertiary400:"#a323ae",tertiary500:"#c72bd4",tertiary600:"#db78e4",tertiary700:"#e69fec",tertiary800:"#f0c5f3",tertiary900:"#faecfb",tertiary950:"#fff",terminalContrastRatio:7},background:{color:"var(--system-color300)",backgroundColor:"var(--system-backgroundColor100)"},sidebarMain:{color:"var(--system-color300)",backgroundColor:"var(--system-backgroundColor300)"},sidebar:{color:"var(--system-color200)",backgroundColor:"var(--system-backgroundColor200)"}}};class _r{constructor(){this.themes=N({light:Hr,dark:Wr}),this.currentTheme=N("light"),this.buildedTheme=this.themes.value.light,this.observableCurrentTheme=new Z,z.get("/api/plugins/themes").then(e=>{this.themes.value={...this.themes.value,...e.data}}),R(()=>this.currentTheme.value,e=>{this.apply(e)}),R(()=>this.themes.value[this.currentTheme.value],e=>{this.loadCurrentTheme()},{deep:!0})}load(e={}){Object.assign(this.themes.value,e),this.loadCurrentTheme(),this.apply(this.currentTheme.value)}get(e){var a,i,l;const[r,s]=e.split("/");return(l=(i=(a=this.buildedTheme)==null?void 0:a.rules)==null?void 0:i[r])==null?void 0:l[s]}loadCurrentTheme(){let e=localStorage.getItem("currentTheme");e||(localStorage.setItem("currentTheme","lightPurple"),e="lightPurple"),e==="light"&&(localStorage.setItem("currentTheme","lightPurple"),e="lightPurple"),e==="dark"&&(localStorage.setItem("currentTheme","darkPurple"),e="darkPurple"),this.themes.value[e]||(e="light"),this.currentTheme.value=e}lighter(e,r){return W.lighter(e,r)}buildTheme(e){let r=mr(this.themes.value[e]);if(!r)throw new Error(`${e} theme not exists`);if(r.base){if(!this.themes.value[r.base])return r;r=Gr(this.buildTheme(r.base),r)}return r}apply(e){var s,a,i,l,o,n,d,f,p,y,m,c,g,h,$,w,P,S,x,I,A,E,L,M;localStorage.setItem("currentTheme",e);const r=this.buildTheme(e);this.currentTheme.value=e,this.buildedTheme=r,this.currentTheme.value.startsWith("dark")?(document.documentElement.classList.add("theme-dark"),document.documentElement.classList.remove("theme-light")):(document.documentElement.classList.add("theme-light"),document.documentElement.classList.remove("theme-dark")),this.observableCurrentTheme.next("apply",e),Object.keys(r.rules).forEach(B=>{const D=r.rules[B];Object.keys(D).forEach(F=>{const b=`--${B.replaceAll(".","-")}-${F}`,C=D[F];u(b,C),u(`${b}-darker`,this.lighter(-.3,C)),u(`${b}-darkest`,this.lighter(-.5,C)),u(`${b}-lighter`,this.lighter(.3,C)),u(`${b}-lightest`,this.lighter(.5,C))})}),u("--p-surface-0",(s=r.rules.system)==null?void 0:s.backgroundColor0),u("--p-surface-50",(a=r.rules.system)==null?void 0:a.backgroundColor50),u("--p-surface-100",(i=r.rules.system)==null?void 0:i.backgroundColor100),u("--p-surface-200",(l=r.rules.system)==null?void 0:l.backgroundColor200),u("--p-surface-300",(o=r.rules.system)==null?void 0:o.backgroundColor300),u("--p-surface-400",(n=r.rules.system)==null?void 0:n.backgroundColor400),u("--p-surface-500",(d=r.rules.system)==null?void 0:d.backgroundColor500),u("--p-surface-600",(f=r.rules.system)==null?void 0:f.backgroundColor600),u("--p-surface-700",(p=r.rules.system)==null?void 0:p.backgroundColor700),u("--p-surface-800",(y=r.rules.system)==null?void 0:y.backgroundColor800),u("--p-surface-900",(m=r.rules.system)==null?void 0:m.backgroundColor900),u("--p-surface-950",(c=r.rules.system)==null?void 0:c.backgroundColor950),u("--p-primary-50",(g=r.rules.system)==null?void 0:g.primary950),u("--p-primary-100",(h=r.rules.system)==null?void 0:h.primary900),u("--p-primary-200",($=r.rules.system)==null?void 0:$.primary800),u("--p-primary-300",(w=r.rules.system)==null?void 0:w.primary700),u("--p-primary-400",(P=r.rules.system)==null?void 0:P.primary600),u("--p-primary-500",(S=r.rules.system)==null?void 0:S.primary500),u("--p-primary-600",(x=r.rules.system)==null?void 0:x.primary400),u("--p-primary-700",(I=r.rules.system)==null?void 0:I.primary300),u("--p-primary-800",(A=r.rules.system)==null?void 0:A.primary200),u("--p-primary-900",(E=r.rules.system)==null?void 0:E.primary100),u("--p-primary-950",(L=r.rules.system)==null?void 0:L.primary50),u("--p-tabs-nav-button-shadow",`0px 0px 10px 50px ${W.lighter(0,(M=r.rules.system)==null?void 0:M.backgroundColor300)}55`),console.log(r.rules)}}function u(t,e){const r=document.querySelector(":root");if(r){if(!t.startsWith("--"))throw new Error("Css variable should starts with --");r.style.setProperty(t,e)}}const Qr=new _r,W={lighter(t,e,r,s){let a,i,l,o,n,d,f;const p=parseInt,y=Math.round;let m=typeof r=="string";return typeof t!="number"||t<-1||t>1||typeof e!="string"||e[0]!="r"&&e[0]!="#"||r&&!m||(this.pSBCr||(this.pSBCr=c=>{let g=c.length;const h={};if(g>9){if([a,i,l,m]=c=c.split(","),g=c.length,g<3||g>4)return null;h.r=p(a[3]=="a"?a.slice(5):a.slice(4)),h.g=p(i),h.b=p(l),h.a=m?parseFloat(m):-1}else{if(g==8||g==6||g<4)return null;g<6&&(c=`#${c[1]}${c[1]}${c[2]}${c[2]}${c[3]}${c[3]}${g>4?c[4]+c[4]:""}`),c=p(c.slice(1),16),g==9||g==5?(h.r=c>>24&255,h.g=c>>16&255,h.b=c>>8&255,h.a=y((c&255)/.255)/1e3):(h.r=c>>16,h.g=c>>8&255,h.b=c&255,h.a=-1)}return h}),f=e.length>9,f=m?r.length>9?!0:r=="c"?!f:!1:f,n=this.pSBCr(e),o=t<0,d=r&&r!="c"?this.pSBCr(r):o?{r:0,g:0,b:0,a:-1}:{r:255,g:255,b:255,a:-1},t=o?t*-1:t,o=1-t,!n||!d)?null:(s?(a=y(o*n.r+t*d.r),i=y(o*n.g+t*d.g),l=y(o*n.b+t*d.b)):(a=y((o*n.r**2+t*d.r**2)**.5),i=y((o*n.g**2+t*d.g**2)**.5),l=y((o*n.b**2+t*d.b**2)**.5)),m=n.a,d=d.a,n=m>=0||d>=0,m=n?m<0?d:d<0?m:m*o+d*t:0,f?`rgb${n?"a(":"("}${a},${i},${l}${n?`,${y(m*1e3)/1e3}`:""})`:`#${(4294967296+a*16777216+i*65536+l*256+(n?y(m*255):0)).toString(16).slice(1,n?void 0:-2)}`)}};export{Qr as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as y,k as C,c as x,l as R,a as c,o as r,b as s,m as w,v as B,p as P,F as U,q as V,n as h,g as F,d as N,t as u,s as $,L as z}from"./index-
|
|
1
|
+
import{r as n,j as y,k as C,c as x,l as R,a as c,o as r,b as s,m as w,v as B,p as P,F as U,q as V,n as h,g as F,d as N,t as u,s as $,L as z}from"./index-BelhD7LL.js";import{u as D}from"./router-Cxk7zjvo.js";import{_ as E}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./Editor-UHqSMXPl.js";import"./Section-u9eiCD3F.js";const I={class:"toolbox"},K={class:"sidebar"},L=["onClick"],M={class:"item"},S={key:1,class:"icon"},j={class:"container"},q={key:1,class:"no-tools"},A={__name:"Toolbox",setup(G){const l=D(),d=n([]),i=n(""),v=n();y(async()=>{var t;const{data:e}=await C.get("/plugins/toolbox");d.value=(e==null?void 0:e.flat())||[],(t=v.value)==null||t.focus()});const T=x(()=>d.value.filter(e=>!e.version)),_=n(null),f=x(()=>[...globalThis.toolboxPlugins.value.map(e=>({...e,click:()=>{_.value=e.id,l.push({path:`/toolbox/${encodeURIComponent(e.id)}`})}})),...T.value.map(e=>e.placements.map(t=>typeof t=="string"?null:{...e,text:t.label,icon:t.icon,iconText:t.iconText,click:t.goTo?()=>{var a;_.value=null,typeof t.goTo=="string"?l.push({path:t.goTo}):l.push({...t.goTo,path:`/toolbox${((a=t.goTo)==null?void 0:a.path)||t.goTo}`})}:()=>{},active:t.active})).flat().filter(e=>{var t,a;return(a=e==null?void 0:e.text)==null?void 0:a.toUpperCase().includes((t=i.value)==null?void 0:t.toUpperCase())})]);function k(){var e,t;(t=(e=f.value)==null?void 0:e[0])==null||t.click()}function b(e){return l.currentRoute.value.params.plugin===((e==null?void 0:e.name)||e.id)}return(e,t)=>{const a=R("router-view");return r(),c("div",I,[s("div",K,[s("ul",null,[w(s("input",{type:"text",ref_key:"searchToolRef",ref:v,placeholder:"Search tool...","onUpdate:modelValue":t[0]||(t[0]=o=>i.value=o),autofocus:"true",onKeypress:P(k,["enter"])},null,544),[[B,i.value]]),(r(!0),c(U,null,V(f.value,o=>(r(),c("li",{key:o==null?void 0:o.name,class:h(["sidebar-item",{active:b(o)}]),onClick:H=>{var m;return(m=o==null?void 0:o.click)==null?void 0:m.call(o)}},[s("div",M,[o!=null&&o.icon?(r(),c("i",{key:0,class:h(["icon",o==null?void 0:o.icon])},null,2)):o!=null&&o.iconText?(r(),c("span",S,u(o==null?void 0:o.iconText),1)):F("",!0),N(" "+u(o==null?void 0:o.text),1)])],10,L))),128))])]),s("div",j,[z(l).currentRoute.value.fullPath!=="/toolbox"?(r(),$(a,{key:0})):(r(),c("div",q,t[1]||(t[1]=[s("div",null,[s("i",{class:"fas fa-toolbox"})],-1),s("div",null," Choisissez un outils ",-1)])))])])}}},Z=E(A,[["__scopeId","data-v-2549dec4"]]);export{Z as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as Le}from"./Editor-
|
|
1
|
+
import{m as Le}from"./Editor-UHqSMXPl.js";import"./index-BelhD7LL.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as r}from"./router-
|
|
1
|
+
import{S as r}from"./router-Cxk7zjvo.js";import{r as l,j as d,c as u}from"./index-BelhD7LL.js";const g="/assets/vscode-icon-DGpXKq7_.svg",v="data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eIntelliJ%20IDEA%3c/title%3e%3cpath%20d='M0%200v24h24V0zm3.723%203.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055%200H17v6.5c0%20.612-.055%201.111-.222%201.556-.167.444-.39.777-.723%201.11-.277.279-.666.557-1.11.668a3.933%203.933%200%200%201-1.445.278c-.778%200-1.444-.167-1.944-.445a4.81%204.81%200%200%201-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389%200%20.721-.111%201-.389.221-.278.333-.667.333-1.278zM2.222%2019.5h9V21h-9z'/%3e%3c/svg%3e",m="data:image/svg+xml,%3c?xml%20version='1.0'%20?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%200%2032%2032'%20id='Camada_1'%20version='1.1'%20xml:space='preserve'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cstyle%20type='text/css'%3e%20.st0{fill-rule:evenodd;clip-rule:evenodd;}%20%3c/style%3e%3cpath%20class='st0'%20d='M13.8,4h4.5v2.2h1.2c0.6,0,1,0.4,1,1v4.6l-0.6,0.8l6.2,10.8l0.9,3.9c0.1,0.5-0.5,0.9-0.9,0.5l-2.9-2.7l-2-3.5%20C19.6,22.5,17.9,23,16,23s-3.6-0.5-5.1-1.4l-2,3.5L6,27.8c-0.4,0.4-1.1,0-0.9-0.5l0.9-3.9l2.3-4.1c-1.5-1.7-2.3-4-2.3-6.4%20c0-0.4,0-0.8,0.1-1.1h3c-0.1,0.4-0.1,0.7-0.1,1.1c0,1.3,0.4,2.5,1,3.6l2.3-3.9l-0.6-0.8V7.2c0-0.6,0.4-1,1-1h1.2V4z%20M14.4,15.4%20L12.4,19c1.1,0.6,2.3,1,3.6,1s2.6-0.4,3.6-1l-2.1-3.6l-0.8,1c-0.4,0.5-1.2,0.5-1.6,0L14.4,15.4z%20M14.1,11.8L14.1,11.8%20c0.4,0.7,1.1,1.1,1.9,1.1c0.8,0,1.6-0.4,1.9-1.1c0.2-0.3,0.3-0.7,0.3-1.1c0-1.2-1-2.2-2.2-2.2s-2.2,1-2.2,2.2%20C13.8,11.1,13.9,11.5,14.1,11.8z'/%3e%3c/svg%3e",p="/assets/cursor-CgsCZvc6.svg",w="data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eSublime%20Text%3c/title%3e%3cpath%20d='M20.953.004a.397.397%200%200%200-.18.017L3.225%205.585c-.175.055-.323.214-.402.398a.42.42%200%200%200-.06.22v5.726a.42.42%200%200%200%20.06.22c.079.183.227.341.402.397l7.454%202.364-7.454%202.363c-.255.08-.463.374-.463.655v5.688c0%20.282.208.444.463.363l17.55-5.565c.237-.075.426-.336.452-.6.003-.022.013-.04.013-.065V12.06c0-.281-.208-.575-.463-.656L13.4%209.065l7.375-2.339c.255-.08.462-.375.462-.656V.384c0-.211-.117-.355-.283-.38z'/%3e%3c/svg%3e";function x(t){const o=l([]),a=l(0),c=l(!1),i=l({code:{icon:g,title:"Open in Visual Studio Code"},intellij:{icon:v,title:"Open in Intellij"},androidstudio:{icon:m,title:"Open in Android Studio"},cursor:{icon:p,title:"Open in Cursor"},sublime:{icon:w,title:"Open in Sublime text"}});d(async()=>{try{c.value=!0,o.value=await r.getAvailableEditors()}finally{c.value=!1}});const s=u(()=>{a.value;let e=t?localStorage.getItem("default-editor-"+(t==null?void 0:t.label))||localStorage.getItem("default-editor")||"":localStorage.getItem("default-editor")||"";return o.value.includes(e)||(e=""),{key:e,...i.value[e]}});function n(e){t?localStorage.setItem("default-editor-"+t.label,e):localStorage.setItem("default-editor",e),localStorage.getItem("default-editor")||localStorage.setItem("default-editor",e),a.value++,location.reload()}return{availableEditors:o,loading:c,allEditors:i,currentEditor:s,setDefaultEditor:n}}export{x as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as f}from"./Editor-
|
|
1
|
+
import{m as f}from"./Editor-UHqSMXPl.js";import"./index-BelhD7LL.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as s}from"./index-
|
|
1
|
+
import{k as s}from"./index-BelhD7LL.js";const e={async outdated(t){const{data:a}=await s.get(`/fs/outdated?path=${t}`);return a},async homeDir(){const{data:t}=await s.get("/fs/home-dir");return t},async ls(t){const{data:a}=await s.get(`/fs/ls?path=${t}`);return a}};export{e as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as i}from"./Editor-
|
|
1
|
+
import{m as i}from"./Editor-UHqSMXPl.js";import"./index-BelhD7LL.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as s}from"./Editor-
|
|
1
|
+
import{m as s}from"./Editor-UHqSMXPl.js";import"./index-BelhD7LL.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as $e}from"./Editor-
|
|
1
|
+
import{m as $e}from"./Editor-UHqSMXPl.js";import"./index-BelhD7LL.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
4
4
|
* Released under the MIT license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as m,c as p}from"./index-
|
|
1
|
+
import{s as m,c as p}from"./index-CZ6deEIJ.js";import{y as x,B as w,aG as S,aI as A,a as h,o as b,h as i,d as C,t as P,I as a,l as v,G as O,m as T,s as g,f as N,b as L,g as f,n as y,H as E}from"./index-BelhD7LL.js";import{R as F,b as D}from"./index-STDFvzob.js";var K=x`
|
|
2
2
|
.p-badge {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
border-radius: dt('badge.border.radius');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as R,c as Y}from"./index-DNGpCJ06.js";import{a as g,o as c,b as w,I as l,B as $,bg as X,bh as U,E as y,bc as C,bi as G,bj as F,aI as W,bk as q,$ as _,bl as Q,y as K,as as J,aV as ee,bm as te,av as oe,aQ as ne,au as k,aW as ie,c as ae,l as I,G as re,s as S,f as L,g as v,e as z,T as le,m as se,h as b,F as de,n as ue,t as M,H as O,d as ce}from"./index-C02AjRq4.js";import{b as pe,a as fe}from"./index-BgXIYHf3.js";import{a as B,R as me}from"./index-CDIN4LjQ.js";import{s as ge}from"./index-CajhEFGy.js";var Z={name:"WindowMaximizeIcon",extends:B};function be(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}Z.render=be;var N={name:"WindowMinimizeIcon",extends:B};function he(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}N.render=he;var ve=$.extend({name:"focustrap-directive"}),ye=X.extend({style:ve});function x(t){"@babel/helpers - typeof";return x=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},x(t)}function P(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function j(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?P(Object(o),!0).forEach(function(n){Ce(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Ce(t,e,o){return(e=we(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function we(t){var e=xe(t,"string");return x(e)=="symbol"?e:e+""}function xe(t,e){if(x(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e);if(x(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ee=ye.extend("focustrap",{mounted:function(e,o){var n=o.value||{},a=n.disabled;a||(this.createHiddenFocusableElements(e,o),this.bind(e,o),this.autoElementFocus(e,o)),e.setAttribute("data-pd-focustrap",!0),this.$el=e},updated:function(e,o){var n=o.value||{},a=n.disabled;a&&this.unbind(e)},unmounted:function(e){this.unbind(e)},methods:{getComputedSelector:function(e){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e??"")},bind:function(e,o){var n=this,a=o.value||{},i=a.onFocusIn,p=a.onFocusOut;e.$_pfocustrap_mutationobserver=new MutationObserver(function(s){s.forEach(function(d){if(d.type==="childList"&&!e.contains(document.activeElement)){var r=function(f){var m=F(f)?F(f,n.getComputedSelector(e.$_pfocustrap_focusableselector))?f:C(e,n.getComputedSelector(e.$_pfocustrap_focusableselector)):C(f);return W(m)?m:f.nextSibling&&r(f.nextSibling)};y(r(d.nextSibling))}})}),e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_mutationobserver.observe(e,{childList:!0}),e.$_pfocustrap_focusinlistener=function(s){return i&&i(s)},e.$_pfocustrap_focusoutlistener=function(s){return p&&p(s)},e.addEventListener("focusin",e.$_pfocustrap_focusinlistener),e.addEventListener("focusout",e.$_pfocustrap_focusoutlistener)},unbind:function(e){e.$_pfocustrap_mutationobserver&&e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_focusinlistener&&e.removeEventListener("focusin",e.$_pfocustrap_focusinlistener)&&(e.$_pfocustrap_focusinlistener=null),e.$_pfocustrap_focusoutlistener&&e.removeEventListener("focusout",e.$_pfocustrap_focusoutlistener)&&(e.$_pfocustrap_focusoutlistener=null)},autoFocus:function(e){this.autoElementFocus(this.$el,{value:j(j({},e),{},{autoFocus:!0})})},autoElementFocus:function(e,o){var n=o.value||{},a=n.autoFocusSelector,i=a===void 0?"":a,p=n.firstFocusableSelector,s=p===void 0?"":p,d=n.autoFocus,r=d===void 0?!1:d,u=C(e,"[autofocus]".concat(this.getComputedSelector(i)));r&&!u&&(u=C(e,this.getComputedSelector(s))),y(u)},onFirstHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_lasthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?C(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_lasthiddenfocusableelement;y(i)},onLastHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_firsthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?U(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_firsthiddenfocusableelement;y(i)},createHiddenFocusableElements:function(e,o){var n=this,a=o.value||{},i=a.tabIndex,p=i===void 0?0:i,s=a.firstFocusableSelector,d=s===void 0?"":s,r=a.lastFocusableSelector,u=r===void 0?"":r,f=function(D){return G("span",{class:"p-hidden-accessible p-hidden-focusable",tabIndex:p,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:D==null?void 0:D.bind(n)})},m=f(this.onFirstHiddenElementFocus),h=f(this.onLastHiddenElementFocus);m.$_pfocustrap_lasthiddenfocusableelement=h,m.$_pfocustrap_focusableselector=d,m.setAttribute("data-pc-section","firstfocusableelement"),h.$_pfocustrap_firsthiddenfocusableelement=m,h.$_pfocustrap_focusableselector=u,h.setAttribute("data-pc-section","lastfocusableelement"),e.prepend(m),e.append(h)}}});function H(){Q({variableName:_("scrollbar.width").name})}function V(){q({variableName:_("scrollbar.width").name})}var Le=K`
|
|
1
|
+
import{s as R,c as Y}from"./index-CZ6deEIJ.js";import{a as g,o as c,b as w,I as l,B as $,bg as X,bh as U,E as y,bc as C,bi as G,bj as F,aI as W,bk as q,$ as _,bl as Q,y as K,as as J,aV as ee,bm as te,av as oe,aQ as ne,au as k,aW as ie,c as ae,l as I,G as re,s as S,f as L,g as v,e as z,T as le,m as se,h as b,F as de,n as ue,t as M,H as O,d as ce}from"./index-BelhD7LL.js";import{b as pe,a as fe}from"./index-UzGzKvDE.js";import{a as B,R as me}from"./index-STDFvzob.js";import{s as ge}from"./index-BJkfmYFE.js";var Z={name:"WindowMaximizeIcon",extends:B};function be(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"},null,-1)]),16)}Z.render=be;var N={name:"WindowMinimizeIcon",extends:B};function he(t,e,o,n,a,i){return c(),g("svg",l({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),e[0]||(e[0]=[w("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"},null,-1)]),16)}N.render=he;var ve=$.extend({name:"focustrap-directive"}),ye=X.extend({style:ve});function x(t){"@babel/helpers - typeof";return x=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},x(t)}function P(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function j(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?P(Object(o),!0).forEach(function(n){Ce(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Ce(t,e,o){return(e=we(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function we(t){var e=xe(t,"string");return x(e)=="symbol"?e:e+""}function xe(t,e){if(x(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e);if(x(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ee=ye.extend("focustrap",{mounted:function(e,o){var n=o.value||{},a=n.disabled;a||(this.createHiddenFocusableElements(e,o),this.bind(e,o),this.autoElementFocus(e,o)),e.setAttribute("data-pd-focustrap",!0),this.$el=e},updated:function(e,o){var n=o.value||{},a=n.disabled;a&&this.unbind(e)},unmounted:function(e){this.unbind(e)},methods:{getComputedSelector:function(e){return':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e??"")},bind:function(e,o){var n=this,a=o.value||{},i=a.onFocusIn,p=a.onFocusOut;e.$_pfocustrap_mutationobserver=new MutationObserver(function(s){s.forEach(function(d){if(d.type==="childList"&&!e.contains(document.activeElement)){var r=function(f){var m=F(f)?F(f,n.getComputedSelector(e.$_pfocustrap_focusableselector))?f:C(e,n.getComputedSelector(e.$_pfocustrap_focusableselector)):C(f);return W(m)?m:f.nextSibling&&r(f.nextSibling)};y(r(d.nextSibling))}})}),e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_mutationobserver.observe(e,{childList:!0}),e.$_pfocustrap_focusinlistener=function(s){return i&&i(s)},e.$_pfocustrap_focusoutlistener=function(s){return p&&p(s)},e.addEventListener("focusin",e.$_pfocustrap_focusinlistener),e.addEventListener("focusout",e.$_pfocustrap_focusoutlistener)},unbind:function(e){e.$_pfocustrap_mutationobserver&&e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_focusinlistener&&e.removeEventListener("focusin",e.$_pfocustrap_focusinlistener)&&(e.$_pfocustrap_focusinlistener=null),e.$_pfocustrap_focusoutlistener&&e.removeEventListener("focusout",e.$_pfocustrap_focusoutlistener)&&(e.$_pfocustrap_focusoutlistener=null)},autoFocus:function(e){this.autoElementFocus(this.$el,{value:j(j({},e),{},{autoFocus:!0})})},autoElementFocus:function(e,o){var n=o.value||{},a=n.autoFocusSelector,i=a===void 0?"":a,p=n.firstFocusableSelector,s=p===void 0?"":p,d=n.autoFocus,r=d===void 0?!1:d,u=C(e,"[autofocus]".concat(this.getComputedSelector(i)));r&&!u&&(u=C(e,this.getComputedSelector(s))),y(u)},onFirstHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_lasthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?C(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_lasthiddenfocusableelement;y(i)},onLastHiddenElementFocus:function(e){var o,n=e.currentTarget,a=e.relatedTarget,i=a===n.$_pfocustrap_firsthiddenfocusableelement||!((o=this.$el)!==null&&o!==void 0&&o.contains(a))?U(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_firsthiddenfocusableelement;y(i)},createHiddenFocusableElements:function(e,o){var n=this,a=o.value||{},i=a.tabIndex,p=i===void 0?0:i,s=a.firstFocusableSelector,d=s===void 0?"":s,r=a.lastFocusableSelector,u=r===void 0?"":r,f=function(D){return G("span",{class:"p-hidden-accessible p-hidden-focusable",tabIndex:p,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:D==null?void 0:D.bind(n)})},m=f(this.onFirstHiddenElementFocus),h=f(this.onLastHiddenElementFocus);m.$_pfocustrap_lasthiddenfocusableelement=h,m.$_pfocustrap_focusableselector=d,m.setAttribute("data-pc-section","firstfocusableelement"),h.$_pfocustrap_firsthiddenfocusableelement=m,h.$_pfocustrap_focusableselector=u,h.setAttribute("data-pc-section","lastfocusableelement"),e.prepend(m),e.append(h)}}});function H(){Q({variableName:_("scrollbar.width").name})}function V(){q({variableName:_("scrollbar.width").name})}var Le=K`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d,c as l}from"./index-
|
|
1
|
+
import{a as d,c as l}from"./index-CZ6deEIJ.js";import{y as s,B as u,I as n,a as p,o as c}from"./index-BelhD7LL.js";var f=s`
|
|
2
2
|
.p-textarea {
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
font-feature-settings: inherit;
|