@vtj/pro 0.18.27 → 0.19.0

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.
Files changed (47) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  13. package/dist/@vtj/materials/deps/uni-ui/index.umd.js +1 -1
  14. package/dist/@vtj/materials/deps/vue/vue.global.js +253 -83
  15. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +10 -9
  16. package/dist/assets/{@element-plus-icons-vue-DA02k83P.js → @element-plus-icons-vue-CMB1ifep.js} +1 -1
  17. package/dist/assets/{@vueuse-SvwMwBjL.js → @vueuse-Jk9KQurp.js} +1 -1
  18. package/dist/assets/Editor-aD1U5H8b-CEjzzkkb.js +506 -0
  19. package/dist/assets/{Editor-BGOUCiNb-Bf2AOMId.css → Editor-aD1U5H8b-DSohPn64.css} +1 -1
  20. package/dist/assets/auth-Cidhsi4R.js +1 -0
  21. package/dist/assets/{element-plus-_gYoEp33.js → element-plus-BnQSNCX2.js} +3 -3
  22. package/dist/assets/{index-CTBdQTnI.js → index-CFYs7okg.js} +2 -2
  23. package/dist/assets/index-CToMDdzv.js +1 -0
  24. package/dist/assets/{mockjs-Cu-wxkKz.js → mockjs-BUsIuI1U.js} +3 -3
  25. package/dist/assets/page-CWdKRmEe.js +2 -0
  26. package/dist/assets/preview-BwEKr5zo.js +2 -0
  27. package/dist/assets/shared-P7kalaod.js +25 -0
  28. package/dist/assets/{uni-page--udw_bNq.js → uni-page-551_wqCE.js} +1 -1
  29. package/dist/assets/utils-Br5c6Ygo.js +1 -0
  30. package/dist/assets/{vue-router-CDqTjrgM.js → vue-router-Drd5teeV.js} +1 -1
  31. package/dist/assets/vue-wWzmtsAU.js +36 -0
  32. package/dist/assets/{vxe-BulginLS.js → vxe-Hv0pYDff.js} +2 -2
  33. package/dist/index.html +9 -9
  34. package/dist/uni/assets/{@dcloudio-uni-h5-vue-BSNRkEM_.js → @dcloudio-uni-h5-vue-ZHZeNOoM.js} +1 -1
  35. package/dist/uni/assets/index-BynleqLJ.js +98 -0
  36. package/dist/uni/assets/{vue-router-DFsWHEOo.js → vue-router-cjYR4veV.js} +1 -1
  37. package/dist/uni/index.html +3 -3
  38. package/package.json +12 -12
  39. package/dist/assets/Editor-BGOUCiNb-B7CQmaQI.js +0 -437
  40. package/dist/assets/auth-B2gJ70GV.js +0 -1
  41. package/dist/assets/index-CWGmo9Bv.js +0 -1
  42. package/dist/assets/page-ZlzG_syD.js +0 -2
  43. package/dist/assets/preview-d_ol5nZ_.js +0 -2
  44. package/dist/assets/shared-Bc0G8KpM.js +0 -25
  45. package/dist/assets/utils-BabHMUuv.js +0 -1
  46. package/dist/assets/vue-fMktb-5o.js +0 -35
  47. package/dist/uni/assets/index-BiPe-Mf9.js +0 -89
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-Drd5teeV.js","./vue-wWzmtsAU.js"])))=>i.map(i=>d[i]);
2
+ var R=Object.defineProperty;var E=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var C=(o,t,e)=>t in o?R(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,y=(o,t)=>{for(var e in t||(t={}))h.call(t,e)&&C(o,e,t[e]);if(E)for(var e of E(t))A.call(t,e)&&C(o,e,t[e]);return o};var c=(o,t,e)=>new Promise((_,s)=>{var u=r=>{try{p(e.next(r))}catch(i){s(i)}},d=r=>{try{p(e.throw(r))}catch(i){s(i)}},p=r=>r.done?_(r.value):Promise.resolve(r.value).then(u,d);p((e=e.apply(o,t)).next())});import{_ as g}from"./monaco-editor-Bgo-w-Z8.js";import{useRoute as P}from"./vue-router-Drd5teeV.js";import"./element-plus-BnQSNCX2.js";import"./vxe-Hv0pYDff.js";import{Q as B,z as T,F as V,B as D,T as O,Y as k,O as z}from"./Editor-aD1U5H8b-CEjzzkkb.js";import{a as I,n as w,l as S,E as F}from"./utils-Br5c6Ygo.js";import{y as L}from"./@vueuse-Jk9KQurp.js";import{y as Q,az as x,e as Y,E as H,S as N,U,r as b,D as j,g as q}from"./vue-wWzmtsAU.js";import"./lodash-es-BxdYFYdv.js";import"./shared-P7kalaod.js";import"./@element-plus-icons-vue-CMB1ifep.js";import"./dayjs-CxR8wwn9.js";import"./axios-Cc-15rbk.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-BUsIuI1U.js";import"./marked--VTVY_DP.js";const mt=Q({__name:"page",setup(o){return c(this,null,function*(){let t,e;const _=new B(T(w)),s=([t,e]=x(()=>_.getExtension().catch(()=>null)),t=yield t,e(),t),u=V({loading:S,notify:w,useTitle:L,alert:I,access:s==null?void 0:s.access}),d=s?([t,e]=x(()=>new F(s).load()),t=yield t,e(),t):{},{__BASE_PATH__:p="/"}=s||{},{provider:r,onReady:i}=D({mode:O.Runtime,service:_,materialPath:p,adapter:y(y({},u),d.adapter),dependencies:{Vue:()=>g(()=>import("./vue-wWzmtsAU.js").then(a=>a.aA),[],import.meta.url),VueRouter:()=>g(()=>import("./vue-router-Drd5teeV.js"),__vite__mapDeps([0,1]),import.meta.url)}}),l=P(),f=b(),n=q(),v=a=>c(null,null,function*(){f.value=yield r.getRenderComponent(l.params.id.toString(),m=>{z(a,l,m)})});return i(()=>c(null,null,function*(){const a=n==null?void 0:n.appContext.app;a&&(a.use(k),a.use(r),v(a))})),Y(()=>l.params.id,a=>c(null,null,function*(){if(a){const m=n==null?void 0:n.appContext.app;if(!m)return;v(m)}})),(a,m)=>f.value?(j(),H(N(f.value),{key:0})):U("",!0)})}});export{mt as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-Drd5teeV.js","./vue-wWzmtsAU.js"])))=>i.map(i=>d[i]);
2
+ var x=Object.defineProperty;var y=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var E=(o,e,t)=>e in o?x(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,d=(o,e)=>{for(var t in e||(e={}))A.call(e,t)&&E(o,t,e[t]);if(y)for(var t of y(e))g.call(e,t)&&E(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((c,r)=>{var _=a=>{try{i(t.next(a))}catch(p){r(p)}},s=a=>{try{i(t.throw(a))}catch(p){r(p)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,s);i((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-Bgo-w-Z8.js";import{useRoute as B}from"./vue-router-Drd5teeV.js";import"./element-plus-BnQSNCX2.js";import"./vxe-Hv0pYDff.js";import{Q as P,z as T,F as V,B as D,T as O,W as k,Y as z,O as I}from"./Editor-aD1U5H8b-CEjzzkkb.js";import{a as S,n as h,l as F,E as L}from"./utils-Br5c6Ygo.js";import{y as Q}from"./@vueuse-Jk9KQurp.js";import{y as W,az as C,E as Y,S as H,U as N,r as U,D as b,g as j}from"./vue-wWzmtsAU.js";import"./lodash-es-BxdYFYdv.js";import"./shared-P7kalaod.js";import"./@element-plus-icons-vue-CMB1ifep.js";import"./dayjs-CxR8wwn9.js";import"./axios-Cc-15rbk.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-BUsIuI1U.js";import"./marked--VTVY_DP.js";const me=W({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const c=new P(T(h)),r=([e,t]=C(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e||{}),_=V({loading:F,notify:h,useTitle:Q,alert:S,access:r==null?void 0:r.access}),s=r?([e,t]=C(()=>new L(r).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=r||{},{provider:a,onReady:p}=D({mode:O.Runtime,service:c,materialPath:i,adapter:d(d({},_),s.adapter),dependencies:{Vue:()=>w(()=>import("./vue-wWzmtsAU.js").then(m=>m.aA),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-Drd5teeV.js"),__vite__mapDeps([0,1]),import.meta.url)}}),v=B(),u=U(),l=j();return p(()=>f(null,null,function*(){const m=yield k(r.enhance),n=l==null?void 0:l.appContext.app;n&&(s.install&&s.install(n),m&&n.use(m,a),n.use(z),n.use(a),u.value=yield a.getRenderComponent(v.params.id.toString(),R=>{I(n,v,R)}))})),(m,n)=>u.value?(b(),Y(H(u.value),{key:0})):N("",!0)})}});export{me as default};
@@ -0,0 +1,25 @@
1
+ var si=Object.defineProperty,ai=Object.defineProperties;var fi=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Dn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable;var Pn=(e,t,n)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))Dn.call(t,n)&&Pn(e,n,t[n]);if(oe)for(var n of oe(t))qn.call(t,n)&&Pn(e,n,t[n]);return e},ut=(e,t)=>ai(e,fi(t));var qe=(e,t)=>{var n={};for(var r in e)Dn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&oe)for(var r of oe(e))t.indexOf(r)<0&&qn.call(e,r)&&(n[r]=e[r]);return n};var st=(e,t,n)=>new Promise((r,i)=>{var o=f=>{try{a(n.next(f))}catch(c){i(c)}},s=f=>{try{a(n.throw(f))}catch(c){i(c)}},a=f=>f.done?r(f.value):Promise.resolve(f.value).then(o,s);a((n=n.apply(e,t)).next())});var Nn=!1,xt,He,$e,de,he,ur,pe,We,Be,Ve,lr,Ie,_e,dr,hr;function W(){if(!Nn){Nn=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Ie=/\b(iPhone|iP[ao]d)/.exec(e),_e=/\b(iP[ao]d)/.exec(e),Ve=/Android/i.exec(e),dr=/FBAN\/\w+;/i.exec(e),hr=/Mobile/i.exec(e),lr=!!/Win64/.exec(e),t){xt=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,xt&&document&&document.documentMode&&(xt=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);ur=r?parseFloat(r[1])+4:xt,He=t[2]?parseFloat(t[2]):NaN,$e=t[3]?parseFloat(t[3]):NaN,de=t[4]?parseFloat(t[4]):NaN,de?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),he=t&&t[1]?parseFloat(t[1]):NaN):he=NaN}else xt=He=$e=he=de=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);pe=i?parseFloat(i[1].replace("_",".")):!0}else pe=!1;We=!!n[2],Be=!!n[3]}else pe=We=Be=!1}}var ze={ie:function(){return W()||xt},ieCompatibilityMode:function(){return W()||ur>xt},ie64:function(){return ze.ie()&&lr},firefox:function(){return W()||He},opera:function(){return W()||$e},webkit:function(){return W()||de},safari:function(){return ze.webkit()},chrome:function(){return W()||he},windows:function(){return W()||We},osx:function(){return W()||pe},linux:function(){return W()||Be},iphone:function(){return W()||Ie},mobile:function(){return W()||Ie||_e||Ve||hr},nativeApp:function(){return W()||dr},android:function(){return W()||Ve},ipad:function(){return W()||_e}},ci=ze,ui=!!(typeof window<"u"&&window.document&&window.document.createElement),li={canUseDOM:ui},pr=li,gr;pr.canUseDOM&&(gr=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function di(e,t){if(!pr.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&gr&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var hi=di,kn=10,Tn=40,Ln=800;function mr(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*kn,i=n*kn,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=Tn,i*=Tn):(r*=Ln,i*=Ln)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}mr.getEventType=function(){return ci.firefox()?"DOMMouseScroll":hi("wheel")?"wheel":"mousewheel"};var Xs=mr;/**
2
+ * Checks if an event is supported in the current execution environment.
3
+ *
4
+ * NOTE: This will not work correctly for non-generic events such as `change`,
5
+ * `reset`, `load`, `error`, and `select`.
6
+ *
7
+ * Borrows from Modernizr.
8
+ *
9
+ * @param {string} eventNameSuffix Event name, e.g. "click".
10
+ * @param {?boolean} capture Check if the capture phase is supported.
11
+ * @return {boolean} True if the event is supported.
12
+ * @internal
13
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
14
+ */var B="top",K="bottom",Q="right",V="left",nn="auto",Kt=[B,K,Q,V],kt="start",Ut="end",pi="clippingParents",vr="viewport",Bt="popper",gi="reference",jn=Kt.reduce(function(e,t){return e.concat([t+"-"+kt,t+"-"+Ut])},[]),yr=[].concat(Kt,[nn]).reduce(function(e,t){return e.concat([t,t+"-"+kt,t+"-"+Ut])},[]),mi="beforeRead",vi="read",yi="afterRead",bi="beforeMain",wi="main",xi="afterMain",Oi="beforeWrite",Ai="write",Ri="afterWrite",Ei=[mi,vi,yi,bi,wi,xi,Oi,Ai,Ri];function nt(e){return e?(e.nodeName||"").toLowerCase():null}function X(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function St(e){var t=X(e).Element;return e instanceof t||e instanceof Element}function J(e){var t=X(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function rn(e){if(typeof ShadowRoot=="undefined")return!1;var t=X(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Si(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!J(o)||!nt(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Mi(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(f,c){return f[c]="",f},{});!J(i)||!nt(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(f){i.removeAttribute(f)}))})}}var br={name:"applyStyles",enabled:!0,phase:"write",fn:Si,effect:Mi,requires:["computeStyles"]};function et(e){return e.split("-")[0]}var Rt=Math.max,ve=Math.min,Tt=Math.round;function Ue(){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 wr(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function Lt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&J(e)&&(i=e.offsetWidth>0&&Tt(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Tt(r.height)/e.offsetHeight||1);var s=St(e)?X(e):window,a=s.visualViewport,f=!wr()&&n,c=(r.left+(f&&a?a.offsetLeft:0))/i,l=(r.top+(f&&a?a.offsetTop:0))/o,h=r.width/i,g=r.height/o;return{width:h,height:g,top:l,right:c+h,bottom:l+g,left:c,x:c,y:l}}function on(e){var t=Lt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function xr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ft(e){return X(e).getComputedStyle(e)}function Fi(e){return["table","td","th"].indexOf(nt(e))>=0}function pt(e){return((St(e)?e.ownerDocument:e.document)||window.document).documentElement}function xe(e){return nt(e)==="html"?e:e.assignedSlot||e.parentNode||(rn(e)?e.host:null)||pt(e)}function Cn(e){return!J(e)||ft(e).position==="fixed"?null:e.offsetParent}function Pi(e){var t=/firefox/i.test(Ue()),n=/Trident/i.test(Ue());if(n&&J(e)){var r=ft(e);if(r.position==="fixed")return null}var i=xe(e);for(rn(i)&&(i=i.host);J(i)&&["html","body"].indexOf(nt(i))<0;){var o=ft(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Qt(e){for(var t=X(e),n=Cn(e);n&&Fi(n)&&ft(n).position==="static";)n=Cn(n);return n&&(nt(n)==="html"||nt(n)==="body"&&ft(n).position==="static")?t:n||Pi(e)||t}function sn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function It(e,t,n){return Rt(e,ve(t,n))}function Di(e,t,n){var r=It(e,t,n);return r>n?n:r}function Or(){return{top:0,right:0,bottom:0,left:0}}function Ar(e){return Object.assign({},Or(),e)}function Rr(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qi=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Ar(typeof e!="number"?e:Rr(e,Kt))};function Ni(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=et(n.placement),f=sn(a),c=[V,Q].indexOf(a)>=0,l=c?"height":"width";if(!(!o||!s)){var h=qi(i.padding,n),g=on(o),p=f==="y"?B:V,m=f==="y"?K:Q,u=n.rects.reference[l]+n.rects.reference[f]-s[f]-n.rects.popper[l],v=s[f]-n.rects.reference[f],d=Qt(o),O=d?f==="y"?d.clientHeight||0:d.clientWidth||0:0,y=u/2-v/2,b=h[p],w=O-g[l]-h[m],x=O/2-g[l]/2+y,R=It(b,x,w),A=f;n.modifiersData[r]=(t={},t[A]=R,t.centerOffset=R-x,t)}}function ki(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||xr(t.elements.popper,i)&&(t.elements.arrow=i))}var Ti={name:"arrow",enabled:!0,phase:"main",fn:Ni,effect:ki,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jt(e){return e.split("-")[1]}var Li={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Tt(n*i)/i||0,y:Tt(r*i)/i||0}}function Hn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,f=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,h=e.isFixed,g=s.x,p=g===void 0?0:g,m=s.y,u=m===void 0?0:m,v=typeof l=="function"?l({x:p,y:u}):{x:p,y:u};p=v.x,u=v.y;var d=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),y=V,b=B,w=window;if(c){var x=Qt(n),R="clientHeight",A="clientWidth";if(x===X(n)&&(x=pt(n),ft(x).position!=="static"&&a==="absolute"&&(R="scrollHeight",A="scrollWidth")),x=x,i===B||(i===V||i===Q)&&o===Ut){b=K;var F=h&&x===w&&w.visualViewport?w.visualViewport.height:x[R];u-=F-r.height,u*=f?1:-1}if(i===V||(i===B||i===K)&&o===Ut){y=Q;var P=h&&x===w&&w.visualViewport?w.visualViewport.width:x[A];p-=P-r.width,p*=f?1:-1}}var S=Object.assign({position:a},c&&Li),D=l===!0?ji({x:p,y:u},X(n)):{x:p,y:u};if(p=D.x,u=D.y,f){var M;return Object.assign({},S,(M={},M[b]=O?"0":"",M[y]=d?"0":"",M.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+u+"px)":"translate3d("+p+"px, "+u+"px, 0)",M))}return Object.assign({},S,(t={},t[b]=O?u+"px":"",t[y]=d?p+"px":"",t.transform="",t))}function Ci(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,f=a===void 0?!0:a,c={placement:et(t.placement),variation:jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Hn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Hn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Er={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ci,data:{}},se={passive:!0};function Hi(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,f=X(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(l){l.addEventListener("scroll",n.update,se)}),a&&f.addEventListener("resize",n.update,se),function(){o&&c.forEach(function(l){l.removeEventListener("scroll",n.update,se)}),a&&f.removeEventListener("resize",n.update,se)}}var Sr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hi,data:{}},$i={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return $i[t]})}var Wi={start:"end",end:"start"};function $n(e){return e.replace(/start|end/g,function(t){return Wi[t]})}function an(e){var t=X(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function fn(e){return Lt(pt(e)).left+an(e).scrollLeft}function Bi(e,t){var n=X(e),r=pt(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,f=0;if(i){o=i.width,s=i.height;var c=wr();(c||!c&&t==="fixed")&&(a=i.offsetLeft,f=i.offsetTop)}return{width:o,height:s,x:a+fn(e),y:f}}function Vi(e){var t,n=pt(e),r=an(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Rt(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Rt(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+fn(e),f=-r.scrollTop;return ft(i||n).direction==="rtl"&&(a+=Rt(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:f}}function cn(e){var t=ft(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Mr(e){return["html","body","#document"].indexOf(nt(e))>=0?e.ownerDocument.body:J(e)&&cn(e)?e:Mr(xe(e))}function _t(e,t){var n;t===void 0&&(t=[]);var r=Mr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=X(r),s=i?[o].concat(o.visualViewport||[],cn(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(_t(xe(s)))}function Ye(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ii(e,t){var n=Lt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Wn(e,t,n){return t===vr?Ye(Bi(e,n)):St(t)?Ii(t,n):Ye(Vi(pt(e)))}function _i(e){var t=_t(xe(e)),n=["absolute","fixed"].indexOf(ft(e).position)>=0,r=n&&J(e)?Qt(e):e;return St(r)?t.filter(function(i){return St(i)&&xr(i,r)&&nt(i)!=="body"}):[]}function zi(e,t,n,r){var i=t==="clippingParents"?_i(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(f,c){var l=Wn(e,c,r);return f.top=Rt(l.top,f.top),f.right=ve(l.right,f.right),f.bottom=ve(l.bottom,f.bottom),f.left=Rt(l.left,f.left),f},Wn(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Fr(e){var t=e.reference,n=e.element,r=e.placement,i=r?et(r):null,o=r?jt(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,f;switch(i){case B:f={x:s,y:t.y-n.height};break;case K:f={x:s,y:t.y+t.height};break;case Q:f={x:t.x+t.width,y:a};break;case V:f={x:t.x-n.width,y:a};break;default:f={x:t.x,y:t.y}}var c=i?sn(i):null;if(c!=null){var l=c==="y"?"height":"width";switch(o){case kt:f[c]=f[c]-(t[l]/2-n[l]/2);break;case Ut:f[c]=f[c]+(t[l]/2-n[l]/2);break}}return f}function Yt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,a=n.boundary,f=a===void 0?pi:a,c=n.rootBoundary,l=c===void 0?vr:c,h=n.elementContext,g=h===void 0?Bt:h,p=n.altBoundary,m=p===void 0?!1:p,u=n.padding,v=u===void 0?0:u,d=Ar(typeof v!="number"?v:Rr(v,Kt)),O=g===Bt?gi:Bt,y=e.rects.popper,b=e.elements[m?O:g],w=zi(St(b)?b:b.contextElement||pt(e.elements.popper),f,l,s),x=Lt(e.elements.reference),R=Fr({reference:x,element:y,placement:i}),A=Ye(Object.assign({},y,R)),F=g===Bt?A:x,P={top:w.top-F.top+d.top,bottom:F.bottom-w.bottom+d.bottom,left:w.left-F.left+d.left,right:F.right-w.right+d.right},S=e.modifiersData.offset;if(g===Bt&&S){var D=S[i];Object.keys(P).forEach(function(M){var N=[Q,K].indexOf(M)>=0?1:-1,$=[B,K].indexOf(M)>=0?"y":"x";P[M]+=D[$]*N})}return P}function Ui(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?yr:f,l=jt(r),h=l?a?jn:jn.filter(function(m){return jt(m)===l}):Kt,g=h.filter(function(m){return c.indexOf(m)>=0});g.length===0&&(g=h);var p=g.reduce(function(m,u){return m[u]=Yt(e,{placement:u,boundary:i,rootBoundary:o,padding:s})[et(u)],m},{});return Object.keys(p).sort(function(m,u){return p[m]-p[u]})}function Yi(e){if(et(e)===nn)return[];var t=ge(e);return[$n(e),t,$n(t)]}function Xi(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,f=n.fallbackPlacements,c=n.padding,l=n.boundary,h=n.rootBoundary,g=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,u=n.allowedAutoPlacements,v=t.options.placement,d=et(v),O=d===v,y=f||(O||!m?[ge(v)]:Yi(v)),b=[v].concat(y).reduce(function(vt,ot){return vt.concat(et(ot)===nn?Ui(t,{placement:ot,boundary:l,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:u}):ot)},[]),w=t.rects.reference,x=t.rects.popper,R=new Map,A=!0,F=b[0],P=0;P<b.length;P++){var S=b[P],D=et(S),M=jt(S)===kt,N=[B,K].indexOf(D)>=0,$=N?"width":"height",q=Yt(t,{placement:S,boundary:l,rootBoundary:h,altBoundary:g,padding:c}),T=N?M?Q:V:M?K:B;w[$]>x[$]&&(T=ge(T));var tt=ge(T),H=[];if(o&&H.push(q[D]<=0),a&&H.push(q[T]<=0,q[tt]<=0),H.every(function(vt){return vt})){F=S,A=!1;break}R.set(S,H)}if(A)for(var C=m?3:1,G=function(vt){var ot=b.find(function(re){var Wt=R.get(re);if(Wt)return Wt.slice(0,vt).every(function(Pt){return Pt})});if(ot)return F=ot,"break"},mt=C;mt>0;mt--){var ne=G(mt);if(ne==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}var Gi={name:"flip",enabled:!0,phase:"main",fn:Xi,requiresIfExists:["offset"],data:{_skip:!1}};function Bn(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vn(e){return[B,Q,K,V].some(function(t){return e[t]>=0})}function Zi(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=Yt(t,{elementContext:"reference"}),a=Yt(t,{altBoundary:!0}),f=Bn(s,r),c=Bn(a,i,o),l=Vn(f),h=Vn(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}var Ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zi};function Ki(e,t,n){var r=et(e),i=[V,B].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[V,Q].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function Qi(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=yr.reduce(function(l,h){return l[h]=Ki(h,t.rects,o),l},{}),a=s[t.placement],f=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var to={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Qi};function eo(e){var t=e.state,n=e.name;t.modifiersData[n]=Fr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Pr={name:"popperOffsets",enabled:!0,phase:"read",fn:eo,data:{}};function no(e){return e==="x"?"y":"x"}function ro(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,f=n.boundary,c=n.rootBoundary,l=n.altBoundary,h=n.padding,g=n.tether,p=g===void 0?!0:g,m=n.tetherOffset,u=m===void 0?0:m,v=Yt(t,{boundary:f,rootBoundary:c,padding:h,altBoundary:l}),d=et(t.placement),O=jt(t.placement),y=!O,b=sn(d),w=no(b),x=t.modifiersData.popperOffsets,R=t.rects.reference,A=t.rects.popper,F=typeof u=="function"?u(Object.assign({},t.rects,{placement:t.placement})):u,P=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(o){var M,N=b==="y"?B:V,$=b==="y"?K:Q,q=b==="y"?"height":"width",T=x[b],tt=T+v[N],H=T-v[$],C=p?-A[q]/2:0,G=O===kt?R[q]:A[q],mt=O===kt?-A[q]:-R[q],ne=t.elements.arrow,vt=p&&ne?on(ne):{width:0,height:0},ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Or(),re=ot[N],Wt=ot[$],Pt=It(0,R[q],vt[q]),Qr=y?R[q]/2-C-Pt-re-P.mainAxis:G-Pt-re-P.mainAxis,ti=y?-R[q]/2+C+Pt+Wt+P.mainAxis:mt+Pt+Wt+P.mainAxis,Pe=t.elements.arrow&&Qt(t.elements.arrow),ei=Pe?b==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,wn=(M=S==null?void 0:S[b])!=null?M:0,ni=T+Qr-wn-ei,ri=T+ti-wn,xn=It(p?ve(tt,ni):tt,T,p?Rt(H,ri):H);x[b]=xn,D[b]=xn-T}if(a){var On,ii=b==="x"?B:V,oi=b==="x"?K:Q,yt=x[w],ie=w==="y"?"height":"width",An=yt+v[ii],Rn=yt-v[oi],De=[B,V].indexOf(d)!==-1,En=(On=S==null?void 0:S[w])!=null?On:0,Sn=De?An:yt-R[ie]-A[ie]-En+P.altAxis,Mn=De?yt+R[ie]+A[ie]-En-P.altAxis:Rn,Fn=p&&De?Di(Sn,yt,Mn):It(p?Sn:An,yt,p?Mn:Rn);x[w]=Fn,D[w]=Fn-yt}t.modifiersData[r]=D}}var io={name:"preventOverflow",enabled:!0,phase:"main",fn:ro,requiresIfExists:["offset"]};function oo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function so(e){return e===X(e)||!J(e)?an(e):oo(e)}function ao(e){var t=e.getBoundingClientRect(),n=Tt(t.width)/e.offsetWidth||1,r=Tt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function fo(e,t,n){n===void 0&&(n=!1);var r=J(t),i=J(t)&&ao(t),o=pt(t),s=Lt(e,i,n),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((nt(t)!=="body"||cn(o))&&(a=so(t)),J(t)?(f=Lt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):o&&(f.x=fn(o))),{x:s.left+a.scrollLeft-f.x,y:s.top+a.scrollTop-f.y,width:s.width,height:s.height}}function co(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var f=t.get(a);f&&i(f)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function uo(e){var t=co(e);return Ei.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function lo(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function ho(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var In={placement:"bottom",modifiers:[],strategy:"absolute"};function _n(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function un(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?In:i;return function(s,a,f){f===void 0&&(f=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},In,o),modifiersData:{},elements:{reference:s,popper:a},attributes:{},styles:{}},l=[],h=!1,g={state:c,setOptions:function(u){var v=typeof u=="function"?u(c.options):u;m(),c.options=Object.assign({},o,c.options,v),c.scrollParents={reference:St(s)?_t(s):s.contextElement?_t(s.contextElement):[],popper:_t(a)};var d=uo(ho([].concat(r,c.options.modifiers)));return c.orderedModifiers=d.filter(function(O){return O.enabled}),p(),g.update()},forceUpdate:function(){if(!h){var u=c.elements,v=u.reference,d=u.popper;if(_n(v,d)){c.rects={reference:fo(v,Qt(d),c.options.strategy==="fixed"),popper:on(d)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(A){return c.modifiersData[A.name]=Object.assign({},A.data)});for(var O=0;O<c.orderedModifiers.length;O++){if(c.reset===!0){c.reset=!1,O=-1;continue}var y=c.orderedModifiers[O],b=y.fn,w=y.options,x=w===void 0?{}:w,R=y.name;typeof b=="function"&&(c=b({state:c,options:x,name:R,instance:g})||c)}}}},update:lo(function(){return new Promise(function(u){g.forceUpdate(),u(c)})}),destroy:function(){m(),h=!0}};if(!_n(s,a))return g;g.setOptions(f).then(function(u){!h&&f.onFirstUpdate&&f.onFirstUpdate(u)});function p(){c.orderedModifiers.forEach(function(u){var v=u.name,d=u.options,O=d===void 0?{}:d,y=u.effect;if(typeof y=="function"){var b=y({state:c,name:v,instance:g,options:O}),w=function(){};l.push(b||w)}})}function m(){l.forEach(function(u){return u()}),l=[]}return g}}un();var po=[Sr,Pr,Er,br];un({defaultModifiers:po});var go=[Sr,Pr,Er,br,to,Gi,io,Ti,Ji],Gs=un({defaultModifiers:go});const Ct=Math.min,Et=Math.max,ye=Math.round,ae=Math.floor,at=e=>({x:e,y:e}),mo={left:"right",right:"left",bottom:"top",top:"bottom"};function Dr(e,t,n){return Et(e,Ct(t,n))}function te(e,t){return typeof e=="function"?e(t):e}function Ht(e){return e.split("-")[0]}function ee(e){return e.split("-")[1]}function qr(e){return e==="x"?"y":"x"}function ln(e){return e==="y"?"height":"width"}function dt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function dn(e){return qr(dt(e))}function vo(e,t,n){n===void 0&&(n=!1);const r=ee(e),i=dn(e),o=ln(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=be(s)),[s,be(s)]}function yo(e){const t=be(e);return[Xe(e),t,Xe(t)]}function Xe(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const zn=["left","right"],Un=["right","left"],bo=["top","bottom"],wo=["bottom","top"];function xo(e,t,n){switch(e){case"top":case"bottom":return n?t?Un:zn:t?zn:Un;case"left":case"right":return t?bo:wo;default:return[]}}function Oo(e,t,n,r){const i=ee(e);let o=xo(Ht(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Xe)))),o}function be(e){const t=Ht(e);return mo[t]+e.slice(t.length)}function Ao(e){var t,n,r,i;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(i=e.left)!=null?i:0}}function Nr(e){return typeof e!="number"?Ao(e):{top:e,right:e,bottom:e,left:e}}function we(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Yn(e,t,n){let{reference:r,floating:i}=e;const o=dt(t),s=dn(t),a=ln(s),f=Ht(t),c=o==="y",l=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,g=r[a]/2-i[a]/2;let p;switch(f){case"top":p={x:l,y:r.y-i.height};break;case"bottom":p={x:l,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-i.width,y:h};break;default:p={x:r.x,y:r.y}}const m=ee(t);return m&&(p[s]+=g*(m==="end"?1:-1)*(n&&c?-1:1)),p}function kr(e,t){return st(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:g=!1,padding:p=0}=te(t,e),m=Nr(p),v=a[g?h==="floating"?"reference":"floating":h],d=we(yield o.getClippingRect({element:(n=yield o.isElement==null?void 0:o.isElement(v))==null||n?v:v.contextElement||(yield o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:f})),O=h==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=yield o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating),b=(yield o.isElement==null?void 0:o.isElement(y))&&(yield o.getScale==null?void 0:o.getScale(y))||{x:1,y:1},w=we(o.convertOffsetParentRelativeRectToViewportRelativeRect?yield o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:O,offsetParent:y,strategy:f}):O);return{top:(d.top-w.top+m.top)/b.y,bottom:(w.bottom-d.bottom+m.bottom)/b.y,left:(d.left-w.left+m.left)/b.x,right:(w.right-d.right+m.right)/b.x}})}const Ro=50,Eo=(e,t,n)=>st(null,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=s.detectOverflow?s:ut(_({},s),{detectOverflow:kr}),f=yield s.isRTL==null?void 0:s.isRTL(t);let c=yield s.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:h}=Yn(c,r,f),g=r,p=0;const m={};for(let u=0;u<o.length;u++){const v=o[u];if(!v)continue;const{name:d,fn:O}=v,{x:y,y:b,data:w,reset:x}=yield O({x:l,y:h,initialPlacement:r,placement:g,strategy:i,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});l=y!=null?y:l,h=b!=null?b:h,m[d]=_(_({},m[d]),w),x&&p<Ro&&(p++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(c=x.rects===!0?yield s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:l,y:h}=Yn(c,g,f)),u=-1)}return{x:l,y:h,placement:g,strategy:i,middlewareData:m}}),So=e=>({name:"arrow",options:e,fn(n){return st(this,null,function*(){const{x:r,y:i,placement:o,rects:s,platform:a,elements:f,middlewareData:c}=n,{element:l,padding:h=0}=te(e,n)||{};if(l==null)return{};const g=Nr(h),p={x:r,y:i},m=dn(o),u=ln(m),v=yield a.getDimensions(l),d=m==="y",O=d?"top":"left",y=d?"bottom":"right",b=d?"clientHeight":"clientWidth",w=s.reference[u]+s.reference[m]-p[m]-s.floating[u],x=p[m]-s.reference[m],R=yield a.getOffsetParent==null?void 0:a.getOffsetParent(l);let A=R?R[b]:0;(!A||!(yield a.isElement==null?void 0:a.isElement(R)))&&(A=f.floating[b]||s.floating[u]);const F=w/2-x/2,P=A/2-v[u]/2-1,S=Ct(g[O],P),D=Ct(g[y],P),M=A-v[u]-D,N=A/2-v[u]/2+F,$=Dr(S,N,M),q=!c.arrow&&ee(o)!=null&&N!==$&&s.reference[u]/2-(N<S?S:D)-v[u]/2<0,T=q?N<S?N-S:N-M:0;return{[m]:p[m]+T,data:_({[m]:$,centerOffset:N-$-T},q&&{alignmentOffset:T}),reset:q}})}}),Mo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return st(this,null,function*(){var r,i;const{placement:o,middlewareData:s,rects:a,initialPlacement:f,platform:c,elements:l}=n,$=te(e,n),{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:v=!0}=$,d=qe($,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const O=Ht(o),y=dt(f),b=Ht(f)===f,w=yield c.isRTL==null?void 0:c.isRTL(l.floating),x=p||(b||!v?[be(f)]:yo(f)),R=u!=="none";!p&&R&&x.push(...Oo(f,v,u,w));const A=[f,...x],F=yield c.detectOverflow(n,d),P=[];let S=((i=s.flip)==null?void 0:i.overflows)||[];if(h&&P.push(F[O]),g){const q=vo(o,a,w);P.push(F[q[0]],F[q[1]])}if(S=[...S,{placement:o,overflows:P}],!P.every(q=>q<=0)){var D,M;const q=(((D=s.flip)==null?void 0:D.index)||0)+1,T=A[q];if(T&&(!(g==="alignment"?y!==dt(T):!1)||S.every(C=>dt(C.placement)===y?C.overflows[0]>0:!0)))return{data:{index:q,overflows:S},reset:{placement:T}};let tt=(M=S.filter(H=>H.overflows[0]<=0).sort((H,C)=>H.overflows[1]-C.overflows[1])[0])==null?void 0:M.placement;if(!tt)switch(m){case"bestFit":{var N;const H=(N=S.filter(C=>{if(R){const G=dt(C.placement);return G===y||G==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(G=>G>0).reduce((G,mt)=>G+mt,0)]).sort((C,G)=>C[1]-G[1])[0])==null?void 0:N[0];H&&(tt=H);break}case"initialPlacement":tt=f;break}if(o!==tt)return{reset:{placement:tt}}}return{}})}}},Fo=new Set(["left","top"]);function Po(e,t){return st(this,null,function*(){const{placement:n,platform:r,elements:i}=e,o=yield r.isRTL==null?void 0:r.isRTL(i.floating),s=Ht(n),a=ee(n),f=dt(n)==="y",c=Fo.has(s)?-1:1,l=o&&f?-1:1,h=te(t,e);let{mainAxis:g,crossAxis:p,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),f?{x:p*l,y:g*c}:{x:g*c,y:p*l}})}const Do=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return st(this,null,function*(){var r,i;const{x:o,y:s,placement:a,middlewareData:f}=n,c=yield Po(n,e);return a===((r=f.offset)==null?void 0:r.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:ut(_({},c),{placement:a})}})}}},qo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return st(this,null,function*(){const{x:r,y:i,placement:o,platform:s}=n,y=te(e,n),{mainAxis:a=!0,crossAxis:f=!1,limiter:c={fn:b=>{let{x:w,y:x}=b;return{x:w,y:x}}}}=y,l=qe(y,["mainAxis","crossAxis","limiter"]),h={x:r,y:i},g=yield s.detectOverflow(n,l),p=dt(o),m=qr(p);let u=h[m],v=h[p];const d=(b,w)=>Dr(w+g[b==="y"?"top":"left"],w,w-g[b==="y"?"bottom":"right"]);a&&(u=d(m,u)),f&&(v=d(p,v));const O=c.fn(ut(_({},n),{[m]:u,[p]:v}));return ut(_({},O),{data:{x:O.x-r,y:O.y-i,enabled:{[m]:a,[p]:f}}})})}}};function Oe(){return typeof window!="undefined"}function $t(e){return Tr(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ct(e){var t;return(t=(Tr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tr(e){return Oe()?e instanceof Node||e instanceof I(e).Node:!1}function rt(e){return Oe()?e instanceof Element||e instanceof I(e).Element:!1}function gt(e){return Oe()?e instanceof HTMLElement||e instanceof I(e).HTMLElement:!1}function Xn(e){return!Oe()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof I(e).ShadowRoot}function Ae(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=it(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!=="inline"&&i!=="contents"}function No(e){return/^(table|td|th)$/.test($t(e))}function Re(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}const ko=/transform|translate|scale|rotate|perspective|filter/,To=/paint|layout|strict|content/,bt=e=>!!e&&e!=="none";let Ne;function hn(e){const t=rt(e)?it(e):e;return bt(t.transform)||bt(t.translate)||bt(t.scale)||bt(t.rotate)||bt(t.perspective)||!pn()&&(bt(t.backdropFilter)||bt(t.filter))||ko.test(t.willChange||"")||To.test(t.contain||"")}function Lo(e){let t=Mt(e);for(;gt(t)&&!Xt(t);){if(hn(t))return t;if(Re(t))return null;t=Mt(t)}return null}function pn(){return Ne==null&&(Ne=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ne}function Xt(e){return/^(html|body|#document)$/.test($t(e))}function it(e){return I(e).getComputedStyle(e)}function Ee(e){return rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mt(e){if($t(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xn(e)&&e.host||ct(e);return Xn(t)?t.host:t}function Lr(e){const t=Mt(e);return Xt(t)?(e.ownerDocument||e).body:gt(t)&&Ae(t)?t:Lr(t)}function Gt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Lr(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=I(i);if(o){const a=Ge(s);return t.concat(s,s.visualViewport||[],Ae(i)?i:[],a&&n?Gt(a):[])}else return t.concat(i,Gt(i,[],n))}function Ge(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jr(e){const t=it(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=gt(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=ye(n)!==o||ye(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function gn(e){return rt(e)?e:e.contextElement}function qt(e){const t=gn(e);if(!gt(t))return at(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=jr(t);let s=(o?ye(n.width):n.width)/r,a=(o?ye(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const jo=at(0);function Cr(e){const t=I(e);return!pn()||!t.visualViewport?jo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Co(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===I(e)}function Ft(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=gn(e);let s=at(1);t&&(r?rt(r)&&(s=qt(r)):s=qt(e));const a=Co(o,n,r)?Cr(o):at(0);let f=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,l=i.width/s.x,h=i.height/s.y;if(o&&r){const g=I(o),p=rt(r)?I(r):r;let m=g,u=Ge(m);for(;u&&p!==m;){const v=qt(u),d=u.getBoundingClientRect(),O=it(u),y=d.left+(u.clientLeft+parseFloat(O.paddingLeft))*v.x,b=d.top+(u.clientTop+parseFloat(O.paddingTop))*v.y;f*=v.x,c*=v.y,l*=v.x,h*=v.y,f+=y,c+=b,m=I(u),u=Ge(m)}}return we({width:l,height:h,x:f,y:c})}function Se(e,t){const n=Ee(e).scrollLeft;return t?t.left+n:Ft(ct(e)).left+n}function Hr(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Se(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function Ho(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=ct(r),a=t?Re(t.floating):!1;if(r===s||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=at(1);const l=at(0),h=gt(r);if((h||!o)&&(($t(r)!=="body"||Ae(s))&&(f=Ee(r)),h)){const p=Ft(r);c=qt(r),l.x=p.x+r.clientLeft,l.y=p.y+r.clientTop}const g=s&&!h&&!o?Hr(s,f):at(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+l.x+g.x,y:n.y*c.y-f.scrollTop*c.y+l.y+g.y}}function $o(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Wo(e){const t=Ee(e),n=e.ownerDocument.body,r=Et(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Et(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-t.scrollLeft+Se(e);const s=-t.scrollTop;return it(n).direction==="rtl"&&(o+=Et(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:s}}const Bo=25;function Vo(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",i=I(e),o=ct(e),s=i.visualViewport;let a=o.clientWidth,f=o.clientHeight,c=0,l=0;if(s){const g=!pn()||t==="fixed";r?g||(c=-s.offsetLeft,l=-s.offsetTop):(a=s.width,f=s.height,g&&(c=s.offsetLeft,l=s.offsetTop))}if(Se(o)<=0){const g=o.ownerDocument,p=g.body,m=getComputedStyle(p),u=g.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,v=Math.abs(o.clientWidth-p.clientWidth-u),d=getComputedStyle(o).scrollbarGutter==="stable both-edges"?v/2:v;d<=Bo&&(a-=d)}return{width:a,height:f,x:c,y:l}}function Io(e,t){const n=Ft(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=qt(e),s=e.clientWidth*o.x,a=e.clientHeight*o.y,f=i*o.x,c=r*o.y;return{width:s,height:a,x:f,y:c}}function Gn(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=Vo(e,n,t);else if(t==="document")r=Wo(ct(e));else if(rt(t))r=Io(t,n);else{const i=Cr(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return we(r)}function _o(e,t){const n=t.get(e);if(n)return n;let r=Gt(e,[],!1).filter(a=>rt(a)&&$t(a)!=="body"),i=null;const o=it(e).position==="fixed";let s=o?Mt(e):e;for(;rt(s)&&!Xt(s);){const a=it(s),f=hn(s),c=i?i.position:o?"fixed":"";!f&&(c==="fixed"||c==="absolute"&&a.position==="static")?r=r.filter(h=>h!==s):i=a,s=Mt(s)}return t.set(e,r),r}function zo(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?Re(t)?[]:_o(t,this._c):[].concat(n),r],a=Gn(t,s[0],i);let f=a.top,c=a.right,l=a.bottom,h=a.left;for(let g=1;g<s.length;g++){const p=Gn(t,s[g],i);f=Et(p.top,f),c=Ct(p.right,c),l=Ct(p.bottom,l),h=Et(p.left,h)}return{width:c-h,height:l-f,x:h,y:f}}function Uo(e){const{width:t,height:n}=jr(e);return{width:t,height:n}}function Yo(e,t,n){const r=gt(t),i=ct(t),o=n==="fixed",s=Ft(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const f=at(0);if((r||!o)&&(($t(t)!=="body"||Ae(i))&&(a=Ee(t)),r)){const g=Ft(t,!0,o,t);f.x=g.x+t.clientLeft,f.y=g.y+t.clientTop}!r&&i&&(f.x=Se(i));const c=i&&!r&&!o?Hr(i,a):at(0),l=s.left+a.scrollLeft-f.x-c.x,h=s.top+a.scrollTop-f.y-c.y;return{x:l,y:h,width:s.width,height:s.height}}function ke(e){return it(e).position==="static"}function Zn(e,t){if(!gt(e)||it(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ct(e)===n&&(n=n.ownerDocument.body),n}function $r(e,t){const n=I(e);if(Re(e))return n;if(!gt(e)){let i=Mt(e);for(;i&&!Xt(i);){if(rt(i)&&!ke(i))return i;i=Mt(i)}return n}let r=Zn(e,t);for(;r&&No(r)&&ke(r);)r=Zn(r,t);return r&&Xt(r)&&ke(r)&&!hn(r)?n:r||Lo(e)||n}const Xo=function(e){return st(this,null,function*(){const t=this.getOffsetParent||$r,n=this.getDimensions,r=yield n(e.floating);return{reference:Yo(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Go(e){return it(e).direction==="rtl"}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:Ho,getDocumentElement:ct,getClippingRect:zo,getOffsetParent:$r,getElementRects:Xo,getClientRects:$o,getDimensions:Uo,getScale:qt,isElement:rt,isRTL:Go};function Wr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Jo(e,t,n){let r=null,i;const o=ct(e);function s(){var l;clearTimeout(i),(l=r)==null||l.disconnect(),r=null}function a(l,h){l===void 0&&(l=!1),h===void 0&&(h=1),s();const g=e.getBoundingClientRect(),{left:p,top:m,width:u,height:v}=g;if(l||t(),!u||!v)return;const d=ae(m),O=ae(o.clientWidth-(p+u)),y=ae(o.clientHeight-(m+v)),b=ae(p),x={rootMargin:-d+"px "+-O+"px "+-y+"px "+-b+"px",threshold:Et(0,Ct(1,h))||1};let R=!0;function A(F){const P=F[0].intersectionRatio;if(!Wr(g,e.getBoundingClientRect()))return a();if(P!==h){if(!R)return a();P?a(!1,P):i=setTimeout(()=>{a(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(A,ut(_({},x),{root:o.ownerDocument}))}catch(F){r=new IntersectionObserver(A,x)}r.observe(e)}const f=I(e),c=()=>a(n);return f.addEventListener("resize",c),a(!0),()=>{f.removeEventListener("resize",c),s()}}function Zs(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,c=gn(e),l=i||o?[...c?Gt(c):[],...t?Gt(t):[]]:[];l.forEach(d=>{i&&d.addEventListener("scroll",n),o&&d.addEventListener("resize",n)});const h=c&&a?Jo(c,n,o):null;let g=-1,p=null;s&&(p=new ResizeObserver(d=>{let[O]=d;O&&O.target===c&&p&&t&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),c&&!f&&p.observe(c),t&&p.observe(t));let m,u=f?Ft(e):null;f&&v();function v(){const d=Ft(e);u&&!Wr(u,d)&&n(),u=d,m=requestAnimationFrame(v)}return n(),()=>{var d;l.forEach(O=>{i&&O.removeEventListener("scroll",n),o&&O.removeEventListener("resize",n)}),h==null||h(),(d=p)==null||d.disconnect(),p=null,f&&cancelAnimationFrame(m)}}const Js=kr,Ks=Do,Qs=qo,ta=Mo,ea=So,na=(e,t,n)=>{const r=new Map,i=n!=null?n:{},o=ut(_(_({},Zo),i.platform),{_c:r});return Eo(e,t,ut(_({},i),{platform:o}))};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}function Ko(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Zt(e,t)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function Zt(e,t){return Zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Zt(e,t)}function Qo(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function me(e,t,n){return Qo()?me=Reflect.construct.bind():me=function(i,o,s){var a=[null];a.push.apply(a,o);var f=Function.bind.apply(i,a),c=new f;return s&&Zt(c,s.prototype),c},me.apply(null,arguments)}function ts(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Je(e){var t=typeof Map=="function"?new Map:void 0;return Je=function(r){if(r===null||!ts(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return me(r,arguments,Ze(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Zt(i,r)},Je(e)}var es=/%[sdj%]/g,ns=function(){};function Ke(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var s=e.replace(es,function(a){if(a==="%%")return"%";if(i>=o)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(f){return"[Circular]"}break;default:return a}});return s}return e}function rs(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function L(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||rs(t)&&typeof e=="string"&&!e)}function is(e,t,n){var r=[],i=0,o=e.length;function s(a){r.push.apply(r,a||[]),i++,i===o&&n(r)}e.forEach(function(a){t(a,s)})}function Jn(e,t,n){var r=0,i=e.length;function o(s){if(s&&s.length){n(s);return}var a=r;r=r+1,a<i?t(e[a],o):n([])}o([])}function os(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var Kn=(function(e){Ko(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t})(Je(Error));function ss(e,t,n,r,i){if(t.first){var o=new Promise(function(g,p){var m=function(d){return r(d),d.length?p(new Kn(d,Ke(d))):g(i)},u=os(e);Jn(u,n,m)});return o.catch(function(g){return g}),o}var s=t.firstFields===!0?Object.keys(e):t.firstFields||[],a=Object.keys(e),f=a.length,c=0,l=[],h=new Promise(function(g,p){var m=function(v){if(l.push.apply(l,v),c++,c===f)return r(l),l.length?p(new Kn(l,Ke(l))):g(i)};a.length||(r(l),g(i)),a.forEach(function(u){var v=e[u];s.indexOf(u)!==-1?Jn(v,n,m):is(v,n,m)})});return h.catch(function(g){return g}),h}function as(e){return!!(e&&e.message!==void 0)}function fs(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function Qn(e,t){return function(n){var r;return e.fullFields?r=fs(t,e.fullFields):r=t[n.field||e.fullField],as(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function tr(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ot({},e[n],r):e[n]=r}}return e}var Br=function(t,n,r,i,o,s){t.required&&(!r.hasOwnProperty(t.field)||L(n,s||t.type))&&i.push(Y(o.messages.required,t.fullField))},cs=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(Y(o.messages.whitespace,t.fullField))},fe,us=(function(){if(fe)return fe;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
15
+ (?:
16
+ (?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
17
+ (?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
18
+ (?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
19
+ (?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
20
+ (?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
21
+ (?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
22
+ (?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
23
+ (?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
24
+ )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
25
+ `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),s=new RegExp("^"+n+"$"),a=new RegExp("^"+i+"$"),f=function(b){return b&&b.exact?o:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};f.v4=function(y){return y&&y.exact?s:new RegExp(""+t(y)+n+t(y),"g")},f.v6=function(y){return y&&y.exact?a:new RegExp(""+t(y)+i+t(y),"g")};var c="(?:(?:[a-z]+:)?//)",l="(?:\\S+(?::\\S*)?@)?",h=f.v4().source,g=f.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",u="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",d='(?:[/?#][^\\s"]*)?',O="(?:"+c+"|www\\.)"+l+"(?:localhost|"+h+"|"+g+"|"+p+m+u+")"+v+d;return fe=new RegExp("(?:^"+O+"$)","i"),fe}),er={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(t){return Vt.number(t)&&parseInt(t,10)===t},float:function(t){return Vt.number(t)&&!Vt.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Vt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(er.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(us())},hex:function(t){return typeof t=="string"&&!!t.match(er.hex)}},ls=function(t,n,r,i,o){if(t.required&&n===void 0){Br(t,n,r,i,o);return}var s=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;s.indexOf(a)>-1?Vt[a](n)||i.push(Y(o.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(Y(o.messages.types[a],t.fullField,t.type))},ds=function(t,n,r,i,o){var s=typeof t.len=="number",a=typeof t.min=="number",f=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=n,h=null,g=typeof n=="number",p=typeof n=="string",m=Array.isArray(n);if(g?h="number":p?h="string":m&&(h="array"),!h)return!1;m&&(l=n.length),p&&(l=n.replace(c,"_").length),s?l!==t.len&&i.push(Y(o.messages[h].len,t.fullField,t.len)):a&&!f&&l<t.min?i.push(Y(o.messages[h].min,t.fullField,t.min)):f&&!a&&l>t.max?i.push(Y(o.messages[h].max,t.fullField,t.max)):a&&f&&(l<t.min||l>t.max)&&i.push(Y(o.messages[h].range,t.fullField,t.min,t.max))},Dt="enum",hs=function(t,n,r,i,o){t[Dt]=Array.isArray(t[Dt])?t[Dt]:[],t[Dt].indexOf(n)===-1&&i.push(Y(o.messages[Dt],t.fullField,t[Dt].join(", ")))},ps=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Y(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var s=new RegExp(t.pattern);s.test(n)||i.push(Y(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},E={required:Br,whitespace:cs,type:ls,range:ds,enum:hs,pattern:ps},gs=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n,"string")&&!t.required)return r();E.required(t,n,i,s,o,"string"),L(n,"string")||(E.type(t,n,i,s,o),E.range(t,n,i,s,o),E.pattern(t,n,i,s,o),t.whitespace===!0&&E.whitespace(t,n,i,s,o))}r(s)},ms=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&E.type(t,n,i,s,o)}r(s)},vs=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&(E.type(t,n,i,s,o),E.range(t,n,i,s,o))}r(s)},ys=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&E.type(t,n,i,s,o)}r(s)},bs=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),L(n)||E.type(t,n,i,s,o)}r(s)},ws=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&(E.type(t,n,i,s,o),E.range(t,n,i,s,o))}r(s)},xs=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&(E.type(t,n,i,s,o),E.range(t,n,i,s,o))}r(s)},Os=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();E.required(t,n,i,s,o,"array"),n!=null&&(E.type(t,n,i,s,o),E.range(t,n,i,s,o))}r(s)},As=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&E.type(t,n,i,s,o)}r(s)},Rs="enum",Es=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o),n!==void 0&&E[Rs](t,n,i,s,o)}r(s)},Ss=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n,"string")&&!t.required)return r();E.required(t,n,i,s,o),L(n,"string")||E.pattern(t,n,i,s,o)}r(s)},Ms=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n,"date")&&!t.required)return r();if(E.required(t,n,i,s,o),!L(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),E.type(t,f,i,s,o),f&&E.range(t,f.getTime(),i,s,o)}}r(s)},Fs=function(t,n,r,i,o){var s=[],a=Array.isArray(n)?"array":typeof n;E.required(t,n,i,s,o,a),r(s)},Te=function(t,n,r,i,o){var s=t.type,a=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(L(n,s)&&!t.required)return r();E.required(t,n,i,a,o,s),L(n,s)||E.type(t,n,i,a,o)}r(a)},Ps=function(t,n,r,i,o){var s=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(n)&&!t.required)return r();E.required(t,n,i,s,o)}r(s)},zt={string:gs,method:ms,number:vs,boolean:ys,regexp:bs,integer:ws,float:xs,array:Os,object:As,enum:Es,pattern:Ss,date:Ms,url:Te,hex:Te,email:Te,required:Fs,any:Ps};function Qe(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var tn=Qe(),Me=(function(){function e(n){this.rules=null,this._messages=tn,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var s=r[o];i.rules[o]=Array.isArray(s)?s:[s]})},t.messages=function(r){return r&&(this._messages=tr(Qe(),r)),this._messages},t.validate=function(r,i,o){var s=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var a=r,f=i,c=o;if(typeof f=="function"&&(c=f,f={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,a),Promise.resolve(a);function l(u){var v=[],d={};function O(b){if(Array.isArray(b)){var w;v=(w=v).concat.apply(w,b)}else v.push(b)}for(var y=0;y<u.length;y++)O(u[y]);v.length?(d=Ke(v),c(v,d)):c(null,a)}if(f.messages){var h=this.messages();h===tn&&(h=Qe()),tr(h,f.messages),f.messages=h}else f.messages=this.messages();var g={},p=f.keys||Object.keys(this.rules);p.forEach(function(u){var v=s.rules[u],d=a[u];v.forEach(function(O){var y=O;typeof y.transform=="function"&&(a===r&&(a=Ot({},a)),d=a[u]=y.transform(d)),typeof y=="function"?y={validator:y}:y=Ot({},y),y.validator=s.getValidationMethod(y),y.validator&&(y.field=u,y.fullField=y.fullField||u,y.type=s.getType(y),g[u]=g[u]||[],g[u].push({rule:y,value:d,source:a,field:u}))})});var m={};return ss(g,f,function(u,v){var d=u.rule,O=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");O=O&&(d.required||!d.required&&u.value),d.field=u.field;function y(x,R){return Ot({},R,{fullField:d.fullField+"."+x,fullFields:d.fullFields?[].concat(d.fullFields,[x]):[x]})}function b(x){x===void 0&&(x=[]);var R=Array.isArray(x)?x:[x];!f.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message));var A=R.map(Qn(d,a));if(f.first&&A.length)return m[d.field]=1,v(A);if(!O)v(A);else{if(d.required&&!u.value)return d.message!==void 0?A=[].concat(d.message).map(Qn(d,a)):f.error&&(A=[f.error(d,Y(f.messages.required,d.field))]),v(A);var F={};d.defaultField&&Object.keys(u.value).map(function(D){F[D]=d.defaultField}),F=Ot({},F,u.rule.fields);var P={};Object.keys(F).forEach(function(D){var M=F[D],N=Array.isArray(M)?M:[M];P[D]=N.map(y.bind(null,D))});var S=new e(P);S.messages(f.messages),u.rule.options&&(u.rule.options.messages=f.messages,u.rule.options.error=f.error),S.validate(u.value,u.rule.options||f,function(D){var M=[];A&&A.length&&M.push.apply(M,A),D&&D.length&&M.push.apply(M,D),v(M.length?M:null)})}}var w;if(d.asyncValidator)w=d.asyncValidator(d,u.value,b,u.source,f);else if(d.validator){try{w=d.validator(d,u.value,b,u.source,f)}catch(x){console.error==null||console.error(x),f.suppressValidatorError||setTimeout(function(){throw x},0),b(x.message)}w===!0?b():w===!1?b(typeof d.message=="function"?d.message(d.fullField||d.field):d.message||(d.fullField||d.field)+" fails"):w instanceof Array?b(w):w instanceof Error&&b(w.message)}w&&w.then&&w.then(function(){return b()},function(x){return b(x)})},function(u){l(u)},a)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!zt.hasOwnProperty(r.type))throw new Error(Y("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),o=i.indexOf("message");return o!==-1&&i.splice(o,1),i.length===1&&i[0]==="required"?zt.required:zt[this.getType(r)]||void 0},e})();Me.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");zt[t]=n};Me.warning=ns;Me.messages=tn;Me.validators=zt;function j(e,t){Ds(e)&&(e="100%");const n=qs(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ce(e){return Math.min(1,Math.max(0,e))}function Ds(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function qs(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Vr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ue(e){return Number(e)<=1?`${Number(e)*100}%`:e}function At(e){return e.length===1?"0"+e:String(e)}function Ns(e,t,n){return{r:j(e,255)*255,g:j(t,255)*255,b:j(n,255)*255}}function nr(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);const r=Math.max(e,t,n),i=Math.min(e,t,n);let o=0,s=0;const a=(r+i)/2;if(r===i)s=0,o=0;else{const f=r-i;switch(s=a>.5?f/(2-r-i):f/(r+i),r){case e:o=(t-n)/f+(t<n?6:0);break;case t:o=(n-e)/f+2;break;case n:o=(e-t)/f+4;break}o/=6}return{h:o,s,l:a}}function Le(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ks(e,t,n){let r,i,o;if(e=j(e,360),t=j(t,100),n=j(n,100),t===0)i=n,o=n,r=n;else{const s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=Le(a,s,e+1/3),i=Le(a,s,e),o=Le(a,s,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function rr(e,t,n){e=j(e,255),t=j(t,255),n=j(n,255);const r=Math.max(e,t,n),i=Math.min(e,t,n);let o=0;const s=r,a=r-i,f=r===0?0:a/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/a+(t<n?6:0);break;case t:o=(n-e)/a+2;break;case n:o=(e-t)/a+4;break}o/=6}return{h:o,s:f,v:s}}function Ts(e,t,n){e=j(e,360)*6,t=j(t,100),n=j(n,100);const r=Math.floor(e),i=e-r,o=n*(1-t),s=n*(1-i*t),a=n*(1-(1-i)*t),f=r%6,c=[n,s,o,o,a,n][f],l=[a,n,n,s,o,o][f],h=[o,o,a,n,n,s][f];return{r:c*255,g:l*255,b:h*255}}function ir(e,t,n,r){const i=[At(Math.round(e).toString(16)),At(Math.round(t).toString(16)),At(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Ls(e,t,n,r,i){const o=[At(Math.round(e).toString(16)),At(Math.round(t).toString(16)),At(Math.round(n).toString(16)),At(Cs(r))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function js(e,t,n,r){const i=e/100,o=t/100,s=n/100,a=r/100,f=255*(1-i)*(1-a),c=255*(1-o)*(1-a),l=255*(1-s)*(1-a);return{r:f,g:c,b:l}}function or(e,t,n){let r=1-e/255,i=1-t/255,o=1-n/255,s=Math.min(r,i,o);return s===1?(r=0,i=0,o=0):(r=(r-s)/(1-s)*100,i=(i-s)/(1-s)*100,o=(o-s)/(1-s)*100),s*=100,{c:Math.round(r),m:Math.round(i),y:Math.round(o),k:Math.round(s)}}function Cs(e){return Math.round(parseFloat(e)*255).toString(16)}function sr(e){return U(e)/255}function U(e){return parseInt(e,16)}function Hs(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const en={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function $s(e){let t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,s=!1,a=!1;return typeof e=="string"&&(e=Vs(e)),typeof e=="object"&&(z(e.r)&&z(e.g)&&z(e.b)?(t=Ns(e.r,e.g,e.b),s=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):z(e.h)&&z(e.s)&&z(e.v)?(r=ue(e.s),i=ue(e.v),t=Ts(e.h,r,i),s=!0,a="hsv"):z(e.h)&&z(e.s)&&z(e.l)?(r=ue(e.s),o=ue(e.l),t=ks(e.h,r,o),s=!0,a="hsl"):z(e.c)&&z(e.m)&&z(e.y)&&z(e.k)&&(t=js(e.c,e.m,e.y,e.k),s=!0,a="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Vr(n),{ok:s,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const Ws="[-\\+]?\\d+%?",Bs="[-\\+]?\\d*\\.\\d+%?",ht="(?:"+Bs+")|(?:"+Ws+")",je="[\\s|\\(]+("+ht+")[,|\\s]+("+ht+")[,|\\s]+("+ht+")\\s*\\)?",le="[\\s|\\(]+("+ht+")[,|\\s]+("+ht+")[,|\\s]+("+ht+")[,|\\s]+("+ht+")\\s*\\)?",Z={CSS_UNIT:new RegExp(ht),rgb:new RegExp("rgb"+je),rgba:new RegExp("rgba"+le),hsl:new RegExp("hsl"+je),hsla:new RegExp("hsla"+le),hsv:new RegExp("hsv"+je),hsva:new RegExp("hsva"+le),cmyk:new RegExp("cmyk"+le),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Vs(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(en[e])e=en[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=Z.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Z.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Z.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Z.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Z.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Z.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Z.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=Z.hex8.exec(e),n?{r:U(n[1]),g:U(n[2]),b:U(n[3]),a:sr(n[4]),format:t?"name":"hex8"}:(n=Z.hex6.exec(e),n?{r:U(n[1]),g:U(n[2]),b:U(n[3]),format:t?"name":"hex"}:(n=Z.hex4.exec(e),n?{r:U(n[1]+n[1]),g:U(n[2]+n[2]),b:U(n[3]+n[3]),a:sr(n[4]+n[4]),format:t?"name":"hex8"}:(n=Z.hex3.exec(e),n?{r:U(n[1]+n[1]),g:U(n[2]+n[2]),b:U(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function z(e){return typeof e=="number"?!Number.isNaN(e):Z.CSS_UNIT.test(e)}class k{constructor(t="",n={}){var i;if(t instanceof k)return t;typeof t=="number"&&(t=Hs(t)),this.originalInput=t;const r=$s(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=n.format)!=null?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,i;const o=t.r/255,s=t.g/255,a=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?r=s/12.92:r=Math.pow((s+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i}getAlpha(){return this.a}setAlpha(t){return this.a=Vr(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=rr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=rr(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${i}%)`:`hsva(${n}, ${r}%, ${i}%, ${this.roundA})`}toHsl(){const t=nr(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=nr(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${i}%)`:`hsla(${n}, ${r}%, ${i}%, ${this.roundA})`}toHex(t=!1){return ir(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return Ls(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(j(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(j(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return _({},or(this.r,this.g,this.b))}toCmykString(){const{c:t,m:n,y:r,k:i}=or(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${i})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+ir(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(en))if(t===r)return n;return!1}toString(t){const n=!!t;t=t!=null?t:this.format;let r=!1;const i=this.a<1&&this.a>=0;return!n&&i&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new k(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=ce(n.l),new k(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new k(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=ce(n.l),new k(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=ce(n.s),new k(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=ce(n.s),new k(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new k(n)}mix(t,n=50){const r=this.toRgb(),i=new k(t).toRgb(),o=n/100,s={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new k(s)}analogous(t=6,n=30){const r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new k(r));return o}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new k(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s:i}=n;let{v:o}=n;const s=[],a=1/t;for(;t--;)s.push(new k({h:r,s:i,v:o})),o=(o+a)%1;return s}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new k({h:(n+72)%360,s:t.s,l:t.l}),new k({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new k(t).toRgb(),i=n.a+r.a*(1-n.a);return new k({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,i=[this],o=360/t;for(let s=1;s<t;s++)i.push(new k({h:(r+s*o)%360,s:n.s,l:n.l}));return i}equals(t){const n=new k(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}var ar=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Is(e,t){return!!(e===t||ar(e)&&ar(t))}function _s(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Is(e[n],t[n]))return!1;return!0}function ra(e,t){t===void 0&&(t=_s);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}var Nt=null,Ce=null,lt=null,fr="z-index-manage",wt=null,cr="z-index-style",Ir="m",_r="s",Jt={m:1e3,s:1e3};function mn(){return Nt||typeof document!="undefined"&&(Nt=document),Nt}function zr(){return Nt&&!Ce&&(Ce=Nt.body||Nt.getElementsByTagName("body")[0]),Ce}function zs(){var e=0,t=mn();if(t){var n=zr();if(n)for(var r=n.getElementsByTagName("*"),i=0;i<r.length;i++){var o=r[i];if(o&&o.style&&o.nodeType===1){var s=o.style.zIndex;s&&/^\d+$/.test(s)&&(e=Math.max(e,Number(s)))}}}return e}function Us(){if(!wt){var e=mn();e&&(wt=e.getElementById(cr),wt||(wt=e.createElement("style"),wt.id=cr,e.getElementsByTagName("head")[0].appendChild(wt)))}return wt}function Ur(){var e=Us();if(e){var t="--dom-",n="-z-index";e.innerHTML=":root{"+t+"main"+n+":"+Fe()+";"+t+"sub"+n+":"+bn()+"}"}}function Yr(){if(!lt){var e=mn();if(e&&(lt=e.getElementById(fr),!lt)){var t=zr();t&&(lt=e.createElement("div"),lt.id=fr,lt.style.display="none",t.appendChild(lt),vn(Jt.m),yn(Jt.s))}}return lt}function Xr(e){return function(t){if(t){t=Number(t),Jt[e]=t;var n=Yr();n&&(n.dataset?n.dataset[e]=t+"":n.setAttribute("data-"+e,t+""))}return Ur(),Jt[e]}}var vn=Xr(Ir);function Gr(e,t){return function(r){var i,o=Yr();if(o){var s=o.dataset?o.dataset[e]:o.getAttribute("data-"+e);s&&(i=Number(s))}return i||(i=Jt[e]),r?Number(r)<i?t():r:i}}var Fe=Gr(Ir,Zr);function Zr(){return vn(Fe()+1)}var yn=Xr(_r),Jr=Gr(_r,Kr);function bn(){return Fe()+Jr()}function Kr(){return yn(Jr()+1),bn()}var ia={setCurrent:vn,getCurrent:Fe,getNext:Zr,setSubCurrent:yn,getSubCurrent:bn,getSubNext:Kr,getMax:zs};Ur();export{ia as D,yr as E,Me as S,k as T,Xs as Y,Zs as a,ea as b,na as c,Js as d,ta as f,ra as m,Ks as o,Qs as s,Gs as w};
@@ -1 +1 @@
1
- import{useRoute as o}from"./vue-router-CDqTjrgM.js";import{y as s,I as a,L as c,d as r,D as n}from"./vue-fMktb-5o.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={class:"uni-iframe"},p=["src"],u=s({__name:"uni-page",setup(m){const e=o(),t=r(()=>`http://localhost:8010/uni/#${e.path}`);return(f,d)=>(n(),a("div",i,[c("iframe",{src:t.value},null,8,p)]))}}),x=_(u,[["__scopeId","data-v-6cf4ecbe"]]);export{x as default};
1
+ import{useRoute as o}from"./vue-router-Drd5teeV.js";import{y as s,I as a,L as c,d as r,D as n}from"./vue-wWzmtsAU.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={class:"uni-iframe"},p=["src"],u=s({__name:"uni-page",setup(m){const e=o(),t=r(()=>`http://localhost:8010/uni/#${e.path}`);return(f,d)=>(n(),a("div",i,[c("iframe",{src:t.value},null,8,p)]))}}),x=_(u,[["__scopeId","data-v-6cf4ecbe"]]);export{x as default};
@@ -0,0 +1 @@
1
+ var u=Object.defineProperty;var p=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?u(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,E=(t,a)=>{for(var s in a||(a={}))O.call(a,s)&&g(t,s,a[s]);if(p)for(var s of p(a))d.call(a,s)&&g(t,s,a[s]);return t};var _=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var I=(t,a,s)=>new Promise((o,n)=>{var e=r=>{try{i(s.next(r))}catch(l){n(l)}},c=r=>{try{i(s.throw(r))}catch(l){n(l)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);i((s=s.apply(t,a)).next())});import{aA as h}from"./vue-wWzmtsAU.js";import{s as T,R as f,u as m,L as A,I as V,g as b,c as P,t as R,a as M,b as y,e as D,f as N,h as L,i as k,k as B,m as x,D as w,r as H,n as K,o as v,p as G,$ as C,q as W,v as U,w as Y,N as F,x as j,y as $,A as z,C as J,E as X,G as q,H as Z,J as Q,K as aa,M as sa,P as ea,S as ta,U as ra,V as na,X as ia,Z as oa,_ as la,a0 as _a,a1 as Ea,a2 as ca,a3 as ga,a4 as pa,a5 as Ia,a6 as Sa,a7 as ua,a8 as Oa,a9 as da,aa as ha,ab as Ta,ac as fa,ad as ma,ae as Aa,af as Va,ag as ba,ah as Pa,ai as Ra,aj as Ma,ak as ya,al as Da,am as Na,an as La,ao as ka,ap as Ba,aq as xa,ar as wa,as as Ha,at as Ka,au as va,av as Ga,aw as Ca,ax as Wa,ay as Ua,az as Ya,aA as Fa,l as ja,aB as $a,aC as za,aD as Ja,aE as Xa,aF as qa,aG as Za,aH as Qa,aI as as}from"./Editor-aD1U5H8b-CEjzzkkb.js";import{E as ss,a as es,b as ts}from"./element-plus-BnQSNCX2.js";import"./dayjs-CxR8wwn9.js";const rs=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:T,ActionMenu:f,Assets:m,Binder:A,Box:V,CodeIncrementalUpdater:b,DEVTOOLS_DEP:P,DepsManager:R,Designer:M,EVENT_MODIFIERS:y,Editor:D,Engine:N,EventBinder:L,GET_TOKENS_LINK:k,HOT_KEYS_DEP:B,Icon:x,Item:w,KEYBOARD_EVENT_LIST:H,MAX_TOKENS:K,MOBILE_SIZE:v,MOUSE_EVENT_LIST:G,NAME_REGEX:C,NPM_REGISTRY_URL:W,OpenApi:U,PAD_SIZE:Y,Panel:F,REPORT_API:j,RegionType:$,RegionWrapper:z,Renderer:J,SAVE_BLOCK_FILE_FINISH:X,SESSION_ID_KEY:q,STATE_KEY:Z,SetterManager:Q,SetterView:aa,SetterWrapper:sa,Simulator:ea,Skeleton:ta,SkeletonWrapper:ra,SlotsPicker:na,State:ia,TOOL_CONFIGS:oa,Tabs:la,ToolRegistry:_a,VERSION_REGEX:Ea,VTJ_DESIGNER_VERSION:ca,VUE_DEVTOOLS_FRAME_STATE_KEY:ga,VUE_DEVTOOLS_OVERLAY_PATH:pa,VUE_DEVTOOLS_PATH:Ia,VariableBinder:Sa,Viewer:ua,Viewport:Oa,WidgetGroup:da,WidgetManager:ha,WidgetWrapper:Ta,alert:fa,builtInDeps:ma,builtInMaterials:Aa,builtInSetters:Va,builtInWidgets:ba,codeIncrementalUpdater:Pa,confirm:Ra,createSlotsPicker:Ma,defaultSetter:ya,depsManager:Da,engineKey:Na,expressionValidate:La,getClassProperties:ka,getComposableNames:Ba,loading:xa,message:wa,normalizedStyle:Ha,notify:Ka,proxyContext:va,readJsonFile:Ga,regions:Ca,setterManager:Wa,setters:Ua,upgradeVersion:Ya,useEngine:Fa,widgetManager:ja,widgets:$a},Symbol.toStringTag,{value:"Module"}));class Es{constructor(a){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);_(this,"__BASE_PATH__","/");this.config=a;const s=E(E(E({},Ja),rs),za),o={Vue:h,__VTJ_PRO__:s};for(const[l,S]of Object.entries(o))window[l]=S;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:i,params:r=[]}=n||{};i&&(this.urls=c,this.library=i,this.params=r,this.__BASE_PATH__=e)}load(){return I(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,o=this.urls.filter(e=>Xa(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>qa(e)).map(e=>`${s}${e}`);if(Za(o),n.length){const e=yield Qa(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return Object.assign({},this.getEngineOptions(),a)})}getEngineOptions(){const a=["materialPath","pageBasePath","pageRouteName","remote","checkVersion","noMask","auth"];return as(this.config,a)}}function cs(){return ts.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function gs(t,a="",s="warning"){es({title:a,message:t,type:s})}function ps(t,a){return ss.alert(t,a)}export{Es as E,ps as a,cs as l,gs as n};
@@ -1,4 +1,4 @@
1
- import{m as M,$ as dt,H as pt,G as mt,u as $,av as gt,s as vt,y as Fe,n as Rt,d as B,a1 as Et,z as ze,e as At,r as yt,v as pe}from"./vue-fMktb-5o.js";/*!
1
+ import{m as M,$ as dt,H as pt,G as mt,u as $,av as gt,s as vt,y as Fe,n as Rt,d as B,a1 as Et,z as ze,e as At,r as yt,v as pe}from"./vue-wWzmtsAU.js";/*!
2
2
  * vue-router v4.6.4
3
3
  * (c) 2025 Eduardo San Martin Morote
4
4
  * @license MIT