@vtj/pro 0.12.10 → 0.12.12

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 (35) 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 +7 -0
  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 +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
  13. package/dist/assets/{Editor-CR34WAqy-hk1FFNos.css → Editor-BYUk_CYg-CTqB5J3E.css} +1 -1
  14. package/dist/assets/{Editor-CR34WAqy-C6z7xztl.js → Editor-BYUk_CYg-Cn4yaAPh.js} +92 -92
  15. package/dist/assets/auth-D8XMmP8i.js +1 -0
  16. package/dist/assets/{element-plus-BrbgD6yv.js → element-plus-BBIQISG5.js} +1 -1
  17. package/dist/assets/{index-DOJp8DNX.js → index-BJro-ir-.js} +2 -2
  18. package/dist/assets/index-qcJ4_81U.js +1 -0
  19. package/dist/assets/page-BFzOoYYA.js +2 -0
  20. package/dist/assets/preview-D8o8K5uB.js +2 -0
  21. package/dist/assets/shared-DeszlFoE.js +25 -0
  22. package/dist/assets/utils-Ds4M3QRg.js +1 -0
  23. package/dist/assets/{vxe-CbMvUqRM.js → vxe-DXYJLP0y.js} +1 -1
  24. package/dist/index.html +5 -5
  25. package/dist/uni/assets/{@dcloudio-uni-h5-vue-C36z4qJb.js → @dcloudio-uni-h5-vue-BvXzaXGf.js} +1 -1
  26. package/dist/uni/assets/{index-DQRJ7A5X.js → index-D5F-QCqP.js} +29 -29
  27. package/dist/uni/assets/{vue-router-BlKlC6YC.js → vue-router-Cmjm9K3r.js} +1 -1
  28. package/dist/uni/index.html +3 -3
  29. package/package.json +14 -14
  30. package/dist/assets/auth-DerAJdNl.js +0 -1
  31. package/dist/assets/index-CBtjK3gM.js +0 -1
  32. package/dist/assets/page-aFsr_Q6d.js +0 -2
  33. package/dist/assets/preview-CUn-qThg.js +0 -2
  34. package/dist/assets/shared-CBxH7Yn6.js +0 -25
  35. package/dist/assets/utils-3fmWjTeb.js +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CBtjK3gM.js","./vue-router-DB3NAXmN.js","./vue-DyRUlw3r.js","./@vueuse-BqGFNoW8.js","./element-plus-BrbgD6yv.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-DVDobX8n.js","./shared-CBxH7Yn6.js","./dayjs-DO-COJPZ.js","./element-plus-o-b69vTU.css","./vxe-CbMvUqRM.js","./vxe-BAb1d5vW.css","./Editor-CR34WAqy-C6z7xztl.js","./monaco-editor-B5WqzYTl.js","./monaco-editor-Cpw7ccEV.css","./html2canvas-CIV5arX1.js","./mockjs-BrphJJF-.js","./marked-DGBZG3x-.js","./Editor-CR34WAqy-hk1FFNos.css","./utils-3fmWjTeb.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-hlWnCgA-.css","./preview-CUn-qThg.js","./page-aFsr_Q6d.js","./uni-page-eJ9mQ2qH.js","./uni-page-Diqmj53r.css","./auth-DerAJdNl.js"])))=>i.map(i=>d[i]);
2
- import{d as _,K as p,u as s,ai as d,o as m,L as u,aA as f,T as h,av as v}from"./vue-DyRUlw3r.js";import{z as g,d as y}from"./element-plus-BrbgD6yv.js";import{_ as r}from"./monaco-editor-B5WqzYTl.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-DB3NAXmN.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-BqGFNoW8.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-CBxH7Yn6.js";import"./dayjs-DO-COJPZ.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,n)=>{const i=d("router-view");return m(),p(s(y),{locale:s(g)},{default:u(()=>[(m(),p(f,null,{default:u(()=>[h(i)]),_:1}))]),_:1},8,["locale"])}}}),P=[{path:"/",name:"home",component:()=>r(()=>import("./index-CBtjK3gM.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>r(()=>import("./preview-CUn-qThg.js"),__vite__mapDeps([22,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-aFsr_Q6d.js"),__vite__mapDeps([23,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"page",component:()=>r(()=>import("./uni-page-eJ9mQ2qH.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-DerAJdNl.js"),__vite__mapDeps([26,4,2,5,3,6,7,8,9,10,11,12,13,14,1,15,16,17,18,20]),import.meta.url)}],A=E({history:L(),routes:P}),c=v(O);c.use(A);c.mount("#app");
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-qcJ4_81U.js","./vue-router-DB3NAXmN.js","./vue-DyRUlw3r.js","./@vueuse-BqGFNoW8.js","./element-plus-BBIQISG5.js","./lodash-es-BL-d_OSa.js","./@element-plus-icons-vue-DVDobX8n.js","./shared-DeszlFoE.js","./dayjs-DO-COJPZ.js","./element-plus-o-b69vTU.css","./vxe-DXYJLP0y.js","./vxe-BAb1d5vW.css","./Editor-BYUk_CYg-Cn4yaAPh.js","./monaco-editor-B5WqzYTl.js","./monaco-editor-Cpw7ccEV.css","./html2canvas-CIV5arX1.js","./mockjs-BrphJJF-.js","./marked-DGBZG3x-.js","./Editor-BYUk_CYg-CTqB5J3E.css","./utils-Ds4M3QRg.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-hlWnCgA-.css","./preview-D8o8K5uB.js","./page-BFzOoYYA.js","./uni-page-eJ9mQ2qH.js","./uni-page-Diqmj53r.css","./auth-D8XMmP8i.js"])))=>i.map(i=>d[i]);
2
+ import{d as _,K as p,u as s,ai as d,o as m,L as u,aA as f,T as h,av as v}from"./vue-DyRUlw3r.js";import{z as g,d as y}from"./element-plus-BBIQISG5.js";import{_ as r}from"./monaco-editor-B5WqzYTl.js";import{createRouter as E,createWebHashHistory as L}from"./vue-router-DB3NAXmN.js";import"./lodash-es-BL-d_OSa.js";import"./@vueuse-BqGFNoW8.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-DeszlFoE.js";import"./dayjs-DO-COJPZ.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();const O=_({__name:"app",setup(l){return(o,n)=>{const i=d("router-view");return m(),p(s(y),{locale:s(g)},{default:u(()=>[(m(),p(f,null,{default:u(()=>[h(i)]),_:1}))]),_:1},8,["locale"])}}}),P=[{path:"/",name:"home",component:()=>r(()=>import("./index-qcJ4_81U.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>r(()=>import("./preview-D8o8K5uB.js"),__vite__mapDeps([22,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-BFzOoYYA.js"),__vite__mapDeps([23,13,14,1,2,4,5,3,6,7,8,9,10,11,12,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"page",component:()=>r(()=>import("./uni-page-eJ9mQ2qH.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-D8XMmP8i.js"),__vite__mapDeps([26,4,2,5,3,6,7,8,9,10,11,12,13,14,1,15,16,17,18,20]),import.meta.url)}],A=E({history:L(),routes:P}),c=v(O);c.use(A);c.mount("#app");
@@ -0,0 +1 @@
1
+ var H=Object.defineProperty;var y=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var x=(a,e,t)=>e in a?H(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,w=(a,e)=>{for(var t in e||(e={}))V.call(e,t)&&x(a,t,e[t]);if(y)for(var t of y(e))W.call(e,t)&&x(a,t,e[t]);return a};var C=(a,e,t)=>new Promise((_,r)=>{var l=n=>{try{i(t.next(n))}catch(p){r(p)}},o=n=>{try{i(t.throw(n))}catch(p){r(p)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,o);i((t=t.apply(a,e)).next())});import{useRoute as X}from"./vue-router-DB3NAXmN.js";import{q as b}from"./@vueuse-BqGFNoW8.js";import"./element-plus-BBIQISG5.js";import"./vxe-DXYJLP0y.js";import{u as I,a as J,n as N,r as U,X as E,f as j}from"./Editor-BYUk_CYg-Cn4yaAPh.js";import{E as z,a as P,n as v,l as D}from"./utils-Ds4M3QRg.js";import{d as G,e as K,ay as S,f as L,c as M,o as O}from"./vue-DyRUlw3r.js";import{_ as Q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-DeszlFoE.js";import"./dayjs-DO-COJPZ.js";import"./monaco-editor-B5WqzYTl.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-BrphJJF-.js";import"./marked-DGBZG3x-.js";const Y=G({__name:"index",setup(a){return C(this,null,function*(){let e,t;const _=X(),r=K(),l=new I(J(v)),o=([e,t]=S(()=>l.getExtension().catch(()=>null)),e=yield e,t(),e),i=N({loading:D,notify:v,useTitle:b,alert:P,access:o==null?void 0:o.access}),n=U(w({alert:P},o==null?void 0:o.__ACCESS__)),p=o?([e,t]=S(()=>new z(o).load()),e=yield e,t(),e):{},{__BASE_PATH__:d="/",history:A="hash",base:h="/",pageRouteName:k="page",remote:B,auth:q,checkVersion:F=!0}=o||{},R=()=>A==="hash",T=s=>s==="/"?"":(s.startsWith("/")&&(s=s.substring(1)),s.endsWith("/")||(s=s+"/"),s);E.set("Switcher",{props:{onClick:s=>{const u=s.platform==="uniapp",c=location.pathname;let m=c===`${d}__vtj__/`?d:c;const f=s.currentFile;if(f&&f.type==="page"&&s.homepage!==f.id){const g=`${T(h)}${u?"pages":k}/${f.id}`;m=R()?`${m}#/${g}`:`${m}${g}`}window.open(m,"VTJProject")}}}),E.set("Previewer",{props:{path:(s,u)=>{const c=location.pathname;return u.platform==="uniapp"?`${c}uni/#/pages/${s.id}`:`${c}#/preview/${s.id}`}}});const $=new j(w({container:r,service:l,materialPath:d,pageBasePath:h==="/"?"":h,adapter:i,access:n,remote:B,auth:q,checkVersion:F},p));return $.ready(()=>{$.openFile(_.query.id)}),L(()=>_.query.id,s=>{$.openFile(s)}),(s,u)=>(O(),M("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),he=Q(Y,[["__scopeId","data-v-24d32357"]]);export{he as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DB3NAXmN.js","./vue-DyRUlw3r.js"])))=>i.map(i=>d[i]);
2
+ var h=Object.defineProperty;var y=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(o,t,e)=>t in o?h(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,d=(o,t)=>{for(var e in t||(t={}))w.call(t,e)&&E(o,e,t[e]);if(y)for(var e of y(t))x.call(t,e)&&E(o,e,t[e]);return o};var l=(o,t,e)=>new Promise((i,r)=>{var m=a=>{try{n(e.next(a))}catch(p){r(p)}},c=a=>{try{n(e.throw(a))}catch(p){r(p)}},n=a=>a.done?i(a.value):Promise.resolve(a.value).then(m,c);n((e=e.apply(o,t)).next())});import{_ as A}from"./monaco-editor-B5WqzYTl.js";import{useRoute as P}from"./vue-router-DB3NAXmN.js";import"./element-plus-BBIQISG5.js";import"./vxe-DXYJLP0y.js";import{u as g,a as V,n as T,o as k,y as B,A as D,t as I}from"./Editor-BYUk_CYg-Cn4yaAPh.js";import{a as O,n as C,l as L,E as S}from"./utils-Ds4M3QRg.js";import{q}from"./@vueuse-BqGFNoW8.js";import{d as z,ay as R,e as H,K,O as N,P as b,o as j,h as F}from"./vue-DyRUlw3r.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-DeszlFoE.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-BrphJJF-.js";import"./marked-DGBZG3x-.js";const nt=z({__name:"page",setup(o){return l(this,null,function*(){let t,e;const i=new g(V(C)),r=([t,e]=R(()=>i.getExtension().catch(()=>null)),t=yield t,e(),t),m=T({loading:L,notify:C,useTitle:q,alert:O,access:r==null?void 0:r.access}),c=r?([t,e]=R(()=>new S(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:p}=k({mode:B.Runtime,service:i,materialPath:n,adapter:d(d({},m),c.adapter),dependencies:{Vue:()=>A(()=>import("./vue-DyRUlw3r.js").then(s=>s.az),[],import.meta.url),VueRouter:()=>A(()=>import("./vue-router-DB3NAXmN.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),_=H(),u=F();return p(()=>l(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(D),s.use(a),_.value=yield a.getRenderComponent(f.params.id.toString(),v=>{I(s,f,v)}))})),(s,v)=>_.value?(j(),K(b(_.value),{key:0})):N("",!0)})}});export{nt as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-DB3NAXmN.js","./vue-DyRUlw3r.js"])))=>i.map(i=>d[i]);
2
+ var R=Object.defineProperty;var y=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(o,t,e)=>t in o?R(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,l=(o,t)=>{for(var e in t||(t={}))h.call(t,e)&&E(o,e,t[e]);if(y)for(var e of y(t))x.call(t,e)&&E(o,e,t[e]);return o};var d=(o,t,e)=>new Promise((m,r)=>{var c=a=>{try{i(e.next(a))}catch(p){r(p)}},n=a=>{try{i(e.throw(a))}catch(p){r(p)}},i=a=>a.done?m(a.value):Promise.resolve(a.value).then(c,n);i((e=e.apply(o,t)).next())});import{_ as w}from"./monaco-editor-B5WqzYTl.js";import{useRoute as P}from"./vue-router-DB3NAXmN.js";import"./element-plus-BBIQISG5.js";import"./vxe-DXYJLP0y.js";import{u as V,a as g,n as T,o as k,y as B,A as D,t as I}from"./Editor-BYUk_CYg-Cn4yaAPh.js";import{a as O,n as A,l as L,E as S}from"./utils-Ds4M3QRg.js";import{q}from"./@vueuse-BqGFNoW8.js";import{d as z,ay as C,e as H,K,O as N,P as b,o as j,h as F}from"./vue-DyRUlw3r.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-DVDobX8n.js";import"./shared-DeszlFoE.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-BrphJJF-.js";import"./marked-DGBZG3x-.js";const nt=z({__name:"preview",setup(o){return d(this,null,function*(){let t,e;const m=new V(g(A)),r=([t,e]=C(()=>m.getExtension().catch(()=>null)),t=yield t,e(),t),c=T({loading:L,notify:A,useTitle:q,alert:O,access:r==null?void 0:r.access}),n=r?([t,e]=C(()=>new S(r).load()),t=yield t,e(),t):{},{__BASE_PATH__:i="/"}=r||{},{provider:a,onReady:p}=k({mode:B.Runtime,service:m,materialPath:i,adapter:l(l({},c),n.adapter),dependencies:{Vue:()=>w(()=>import("./vue-DyRUlw3r.js").then(s=>s.az),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-DB3NAXmN.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),_=H(),u=F();return p(()=>d(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(n.install&&n.install(s),s.use(D),s.use(a),_.value=yield a.getRenderComponent(f.params.id.toString(),v=>{I(s,f,v)}))})),(s,v)=>_.value?(j(),K(b(_.value),{key:0})):N("",!0)})}});export{nt as default};
@@ -0,0 +1,25 @@
1
+ var Qr=Object.defineProperty,ti=Object.defineProperties;var ei=Object.getOwnPropertyDescriptors;var ie=Object.getOwnPropertySymbols;var Fn=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable;var Mn=(e,t,n)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))Fn.call(t,n)&&Mn(e,n,t[n]);if(ie)for(var n of ie(t))Pn.call(t,n)&&Mn(e,n,t[n]);return e},lt=(e,t)=>ti(e,ei(t));var Me=(e,t)=>{var n={};for(var r in e)Fn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ie)for(var r of ie(e))t.indexOf(r)<0&&Pn.call(e,r)&&(n[r]=e[r]);return n};var ft=(e,t,n)=>new Promise((r,i)=>{var o=f=>{try{s(n.next(f))}catch(c){i(c)}},a=f=>{try{s(n.throw(f))}catch(c){i(c)}},s=f=>f.done?r(f.value):Promise.resolve(f.value).then(o,a);s((n=n.apply(e,t)).next())});var B="top",Z="bottom",K="right",W="left",Je="auto",Kt=[B,Z,K,W],Dt="start",Ut="end",ni="clippingParents",or="viewport",Vt="popper",ri="reference",Tn=Kt.reduce(function(e,t){return e.concat([t+"-"+Dt,t+"-"+Ut])},[]),ar=[].concat(Kt,[Je]).reduce(function(e,t){return e.concat([t,t+"-"+Dt,t+"-"+Ut])},[]),ii="beforeRead",oi="read",ai="afterRead",si="beforeMain",fi="main",ci="afterMain",ui="beforeWrite",li="write",di="afterWrite",pi=[ii,oi,ai,si,fi,ci,ui,li,di];function it(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Nt(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function G(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Qe(e){if(typeof ShadowRoot=="undefined")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function hi(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];!G(o)||!it(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function gi(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]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(f,c){return f[c]="",f},{});!G(i)||!it(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(f){i.removeAttribute(f)}))})}}var sr={name:"applyStyles",enabled:!0,phase:"write",fn:hi,effect:gi,requires:["computeStyles"]};function nt(e){return e.split("-")[0]}var Ot=Math.max,ge=Math.min,kt=Math.round;function jt(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(G(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=kt(n.width)/a||1),o>0&&(i=kt(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function tn(e){var t=jt(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 fr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Qe(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ut(e){return et(e).getComputedStyle(e)}function mi(e){return["table","td","th"].indexOf(it(e))>=0}function gt(e){return((Nt(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return it(e)==="html"?e:e.assignedSlot||e.parentNode||(Qe(e)?e.host:null)||gt(e)}function qn(e){return!G(e)||ut(e).position==="fixed"?null:e.offsetParent}function vi(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&G(e)){var r=ut(e);if(r.position==="fixed")return null}var i=be(e);for(Qe(i)&&(i=i.host);G(i)&&["html","body"].indexOf(it(i))<0;){var o=ut(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 Jt(e){for(var t=et(e),n=qn(e);n&&mi(n)&&ut(n).position==="static";)n=qn(n);return n&&(it(n)==="html"||it(n)==="body"&&ut(n).position==="static")?t:n||vi(e)||t}function en(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _t(e,t,n){return Ot(e,ge(t,n))}function yi(e,t,n){var r=_t(e,t,n);return r>n?n:r}function cr(){return{top:0,right:0,bottom:0,left:0}}function ur(e){return Object.assign({},cr(),e)}function lr(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var bi=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ur(typeof e!="number"?e:lr(e,Kt))};function xi(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=nt(n.placement),f=en(s),c=[W,K].indexOf(s)>=0,l=c?"height":"width";if(!(!o||!a)){var h=bi(i.padding,n),m=tn(o),p=f==="y"?B:W,v=f==="y"?Z:K,u=n.rects.reference[l]+n.rects.reference[f]-a[f]-n.rects.popper[l],y=a[f]-n.rects.reference[f],d=Jt(o),w=d?f==="y"?d.clientHeight||0:d.clientWidth||0:0,g=u/2-y/2,b=h[p],x=w-m[l]-h[v],O=w/2-m[l]/2+g,A=_t(b,O,x),E=f;n.modifiersData[r]=(t={},t[E]=A,t.centerOffset=A-O,t)}}function wi(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)||!fr(t.elements.popper,i)||(t.elements.arrow=i))}var Oi={name:"arrow",enabled:!0,phase:"main",fn:xi,effect:wi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ht(e){return e.split("-")[1]}var Ai={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ei(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:kt(t*i)/i||0,y:kt(n*i)/i||0}}function Dn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,h=e.isFixed,m=a.x,p=m===void 0?0:m,v=a.y,u=v===void 0?0:v,y=typeof l=="function"?l({x:p,y:u}):{x:p,y:u};p=y.x,u=y.y;var d=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),g=W,b=B,x=window;if(c){var O=Jt(n),A="clientHeight",E="clientWidth";if(O===et(n)&&(O=gt(n),ut(O).position!=="static"&&s==="absolute"&&(A="scrollHeight",E="scrollWidth")),O=O,i===B||(i===W||i===K)&&o===Ut){b=Z;var P=h&&O===x&&x.visualViewport?x.visualViewport.height:O[A];u-=P-r.height,u*=f?1:-1}if(i===W||(i===B||i===Z)&&o===Ut){g=K;var T=h&&O===x&&x.visualViewport?x.visualViewport.width:O[E];p-=T-r.width,p*=f?1:-1}}var M=Object.assign({position:s},c&&Ai),F=l===!0?Ei({x:p,y:u}):{x:p,y:u};if(p=F.x,u=F.y,f){var S;return Object.assign({},M,(S={},S[b]=w?"0":"",S[g]=d?"0":"",S.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+u+"px)":"translate3d("+p+"px, "+u+"px, 0)",S))}return Object.assign({},M,(t={},t[b]=w?u+"px":"",t[g]=d?p+"px":"",t.transform="",t))}function Ri(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,f=s===void 0?!0:s,c={placement:nt(t.placement),variation:Ht(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,Dn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Dn(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 dr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ri,data:{}},oe={passive:!0};function Si(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,f=et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(l){l.addEventListener("scroll",n.update,oe)}),s&&f.addEventListener("resize",n.update,oe),function(){o&&c.forEach(function(l){l.removeEventListener("scroll",n.update,oe)}),s&&f.removeEventListener("resize",n.update,oe)}}var pr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Si,data:{}},Mi={left:"right",right:"left",bottom:"top",top:"bottom"};function ue(e){return e.replace(/left|right|bottom|top/g,function(t){return Mi[t]})}var Fi={start:"end",end:"start"};function Nn(e){return e.replace(/start|end/g,function(t){return Fi[t]})}function nn(e){var t=et(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function rn(e){return jt(gt(e)).left+nn(e).scrollLeft}function Pi(e){var t=et(e),n=gt(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+rn(e),y:s}}function Ti(e){var t,n=gt(e),r=nn(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ot(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ot(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+rn(e),f=-r.scrollTop;return ut(i||n).direction==="rtl"&&(s+=Ot(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:f}}function on(e){var t=ut(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function hr(e){return["html","body","#document"].indexOf(it(e))>=0?e.ownerDocument.body:G(e)&&on(e)?e:hr(be(e))}function $t(e,t){var n;t===void 0&&(t=[]);var r=hr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=et(r),a=i?[o].concat(o.visualViewport||[],on(r)?r:[]):r,s=t.concat(a);return i?s:s.concat($t(be(a)))}function ke(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qi(e){var t=jt(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function kn(e,t){return t===or?ke(Pi(e)):Nt(t)?qi(t):ke(Ti(gt(e)))}function Di(e){var t=$t(be(e)),n=["absolute","fixed"].indexOf(ut(e).position)>=0,r=n&&G(e)?Jt(e):e;return Nt(r)?t.filter(function(i){return Nt(i)&&fr(i,r)&&it(i)!=="body"}):[]}function Ni(e,t,n){var r=t==="clippingParents"?Di(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(s,f){var c=kn(e,f);return s.top=Ot(c.top,s.top),s.right=ge(c.right,s.right),s.bottom=ge(c.bottom,s.bottom),s.left=Ot(c.left,s.left),s},kn(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function gr(e){var t=e.reference,n=e.element,r=e.placement,i=r?nt(r):null,o=r?Ht(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,f;switch(i){case B:f={x:a,y:t.y-n.height};break;case Z:f={x:a,y:t.y+t.height};break;case K:f={x:t.x+t.width,y:s};break;case W:f={x:t.x-n.width,y:s};break;default:f={x:t.x,y:t.y}}var c=i?en(i):null;if(c!=null){var l=c==="y"?"height":"width";switch(o){case Dt: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 Xt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.boundary,a=o===void 0?ni:o,s=n.rootBoundary,f=s===void 0?or:s,c=n.elementContext,l=c===void 0?Vt:c,h=n.altBoundary,m=h===void 0?!1:h,p=n.padding,v=p===void 0?0:p,u=ur(typeof v!="number"?v:lr(v,Kt)),y=l===Vt?ri:Vt,d=e.rects.popper,w=e.elements[m?y:l],g=Ni(Nt(w)?w:w.contextElement||gt(e.elements.popper),a,f),b=jt(e.elements.reference),x=gr({reference:b,element:d,placement:i}),O=ke(Object.assign({},d,x)),A=l===Vt?O:b,E={top:g.top-A.top+u.top,bottom:A.bottom-g.bottom+u.bottom,left:g.left-A.left+u.left,right:A.right-g.right+u.right},P=e.modifiersData.offset;if(l===Vt&&P){var T=P[i];Object.keys(E).forEach(function(M){var F=[K,Z].indexOf(M)>=0?1:-1,S=[B,Z].indexOf(M)>=0?"y":"x";E[M]+=T[S]*F})}return E}function ki(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?ar:f,l=Ht(r),h=l?s?Tn:Tn.filter(function(v){return Ht(v)===l}):Kt,m=h.filter(function(v){return c.indexOf(v)>=0});m.length===0&&(m=h);var p=m.reduce(function(v,u){return v[u]=Xt(e,{placement:u,boundary:i,rootBoundary:o,padding:a})[nt(u)],v},{});return Object.keys(p).sort(function(v,u){return p[v]-p[u]})}function ji(e){if(nt(e)===Je)return[];var t=ue(e);return[Nn(e),t,Nn(t)]}function Hi(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,a=n.altAxis,s=a===void 0?!0:a,f=n.fallbackPlacements,c=n.padding,l=n.boundary,h=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,u=n.allowedAutoPlacements,y=t.options.placement,d=nt(y),w=d===y,g=f||(w||!v?[ue(y)]:ji(y)),b=[y].concat(g).reduce(function(mt,st){return mt.concat(nt(st)===Je?ki(t,{placement:st,boundary:l,rootBoundary:h,padding:c,flipVariations:v,allowedAutoPlacements:u}):st)},[]),x=t.rects.reference,O=t.rects.popper,A=new Map,E=!0,P=b[0],T=0;T<b.length;T++){var M=b[T],F=nt(M),S=Ht(M)===Dt,V=[B,Z].indexOf(F)>=0,j=V?"width":"height",D=Xt(t,{placement:M,boundary:l,rootBoundary:h,altBoundary:m,padding:c}),q=V?S?K:W:S?Z:B;x[j]>O[j]&&(q=ue(q));var Y=ue(q),I=[];if(o&&I.push(D[F]<=0),s&&I.push(D[q]<=0,D[Y]<=0),I.every(function(mt){return mt})){P=M,E=!1;break}A.set(M,I)}if(E)for(var _=v?3:1,H=function(mt){var st=b.find(function(ne){var Wt=A.get(ne);if(Wt)return Wt.slice(0,mt).every(function(Ft){return Ft})});if(st)return P=st,"break"},L=_;L>0;L--){var Mt=H(L);if(Mt==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}var Li={name:"flip",enabled:!0,phase:"main",fn:Hi,requiresIfExists:["offset"],data:{_skip:!1}};function jn(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 Hn(e){return[B,K,Z,W].some(function(t){return e[t]>=0})}function Ci(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Xt(t,{elementContext:"reference"}),s=Xt(t,{altBoundary:!0}),f=jn(a,r),c=jn(s,i,o),l=Hn(f),h=Hn(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 Bi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ci};function Wi(e,t,n){var r=nt(e),i=[W,B].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[W,K].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Vi(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=ar.reduce(function(l,h){return l[h]=Wi(h,t.rects,o),l},{}),s=a[t.placement],f=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}var Ii={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vi};function _i(e){var t=e.state,n=e.name;t.modifiersData[n]=gr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var mr={name:"popperOffsets",enabled:!0,phase:"read",fn:_i,data:{}};function $i(e){return e==="x"?"y":"x"}function zi(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,f=n.boundary,c=n.rootBoundary,l=n.altBoundary,h=n.padding,m=n.tether,p=m===void 0?!0:m,v=n.tetherOffset,u=v===void 0?0:v,y=Xt(t,{boundary:f,rootBoundary:c,padding:h,altBoundary:l}),d=nt(t.placement),w=Ht(t.placement),g=!w,b=en(d),x=$i(b),O=t.modifiersData.popperOffsets,A=t.rects.reference,E=t.rects.popper,P=typeof u=="function"?u(Object.assign({},t.rects,{placement:t.placement})):u,T=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(O){if(o){var S,V=b==="y"?B:W,j=b==="y"?Z:K,D=b==="y"?"height":"width",q=O[b],Y=q+y[V],I=q-y[j],_=p?-E[D]/2:0,H=w===Dt?A[D]:E[D],L=w===Dt?-E[D]:-A[D],Mt=t.elements.arrow,mt=p&&Mt?tn(Mt):{width:0,height:0},st=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:cr(),ne=st[V],Wt=st[j],Ft=_t(0,A[D],mt[D]),Ur=g?A[D]/2-_-Ft-ne-T.mainAxis:H-Ft-ne-T.mainAxis,Xr=g?-A[D]/2+_+Ft+Wt+T.mainAxis:L+Ft+Wt+T.mainAxis,Re=t.elements.arrow&&Jt(t.elements.arrow),Yr=Re?b==="y"?Re.clientTop||0:Re.clientLeft||0:0,yn=(S=M==null?void 0:M[b])!=null?S:0,Gr=q+Ur-yn-Yr,Zr=q+Xr-yn,bn=_t(p?ge(Y,Gr):Y,q,p?Ot(I,Zr):I);O[b]=bn,F[b]=bn-q}if(s){var xn,Kr=b==="x"?B:W,Jr=b==="x"?Z:K,vt=O[x],re=x==="y"?"height":"width",wn=vt+y[Kr],On=vt-y[Jr],Se=[B,W].indexOf(d)!==-1,An=(xn=M==null?void 0:M[x])!=null?xn:0,En=Se?wn:vt-A[re]-E[re]-An+T.altAxis,Rn=Se?vt+A[re]+E[re]-An-T.altAxis:On,Sn=p&&Se?yi(En,vt,Rn):_t(p?En:wn,vt,p?Rn:On);O[x]=Sn,F[x]=Sn-vt}t.modifiersData[r]=F}}var Ui={name:"preventOverflow",enabled:!0,phase:"main",fn:zi,requiresIfExists:["offset"]};function Xi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yi(e){return e===et(e)||!G(e)?nn(e):Xi(e)}function Gi(e){var t=e.getBoundingClientRect(),n=kt(t.width)/e.offsetWidth||1,r=kt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Zi(e,t,n){n===void 0&&(n=!1);var r=G(t),i=G(t)&&Gi(t),o=gt(t),a=jt(e,i),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((it(t)!=="body"||on(o))&&(s=Yi(t)),G(t)?(f=jt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):o&&(f.x=rn(o))),{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function Ki(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 a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var f=t.get(s);f&&i(f)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Ji(e){var t=Ki(e);return pi.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Qi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function to(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 Ln={placement:"bottom",modifiers:[],strategy:"absolute"};function Cn(){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 an(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Ln:i;return function(a,s,f){f===void 0&&(f=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ln,o),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},l=[],h=!1,m={state:c,setOptions:function(u){var y=typeof u=="function"?u(c.options):u;v(),c.options=Object.assign({},o,c.options,y),c.scrollParents={reference:Nt(a)?$t(a):a.contextElement?$t(a.contextElement):[],popper:$t(s)};var d=Ji(to([].concat(r,c.options.modifiers)));return c.orderedModifiers=d.filter(function(w){return w.enabled}),p(),m.update()},forceUpdate:function(){if(!h){var u=c.elements,y=u.reference,d=u.popper;if(Cn(y,d)){c.rects={reference:Zi(y,Jt(d),c.options.strategy==="fixed"),popper:tn(d)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(E){return c.modifiersData[E.name]=Object.assign({},E.data)});for(var w=0;w<c.orderedModifiers.length;w++){if(c.reset===!0){c.reset=!1,w=-1;continue}var g=c.orderedModifiers[w],b=g.fn,x=g.options,O=x===void 0?{}:x,A=g.name;typeof b=="function"&&(c=b({state:c,options:O,name:A,instance:m})||c)}}}},update:Qi(function(){return new Promise(function(u){m.forceUpdate(),u(c)})}),destroy:function(){v(),h=!0}};if(!Cn(a,s))return m;m.setOptions(f).then(function(u){!h&&f.onFirstUpdate&&f.onFirstUpdate(u)});function p(){c.orderedModifiers.forEach(function(u){var y=u.name,d=u.options,w=d===void 0?{}:d,g=u.effect;if(typeof g=="function"){var b=g({state:c,name:y,instance:m,options:w}),x=function(){};l.push(b||x)}})}function v(){l.forEach(function(u){return u()}),l=[]}return m}}an();var eo=[pr,mr,dr,sr];an({defaultModifiers:eo});var no=[pr,mr,dr,sr,Ii,Li,Ui,Oi,Bi],ka=an({defaultModifiers:no});function k(e,t){ro(e)&&(e="100%");var n=io(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 ae(e){return Math.min(1,Math.max(0,e))}function ro(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function io(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 se(e){return e<=1?"".concat(Number(e)*100,"%"):e}function xt(e){return e.length===1?"0"+e:String(e)}function oo(e,t,n){return{r:k(e,255)*255,g:k(t,255)*255,b:k(n,255)*255}}function Bn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var f=r-i;switch(a=s>.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:a,l:s}}function Fe(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 ao(e,t,n){var r,i,o;if(e=k(e,360),t=k(t,100),n=k(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Fe(s,a,e+1/3),i=Fe(s,a,e),o=Fe(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Wn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,f=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4;break}o/=6}return{h:o,s:f,v:a}}function so(e,t,n){e=k(e,360)*6,t=k(t,100),n=k(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),f=r%6,c=[n,a,o,o,s,n][f],l=[s,n,n,a,o,o][f],h=[o,o,s,n,n,a][f];return{r:c*255,g:l*255,b:h*255}}function Vn(e,t,n,r){var i=[xt(Math.round(e).toString(16)),xt(Math.round(t).toString(16)),xt(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 fo(e,t,n,r,i){var o=[xt(Math.round(e).toString(16)),xt(Math.round(t).toString(16)),xt(Math.round(n).toString(16)),xt(co(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 co(e){return Math.round(parseFloat(e)*255).toString(16)}function In(e){return z(e)/255}function z(e){return parseInt(e,16)}function uo(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var je={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 lo(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=go(e)),typeof e=="object"&&(ct(e.r)&&ct(e.g)&&ct(e.b)?(t=oo(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ct(e.h)&&ct(e.s)&&ct(e.v)?(r=se(e.s),i=se(e.v),t=so(e.h,r,i),a=!0,s="hsv"):ct(e.h)&&ct(e.s)&&ct(e.l)&&(r=se(e.s),o=se(e.l),t=ao(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=vr(n),{ok:a,format:e.format||s,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}}var po="[-\\+]?\\d+%?",ho="[-\\+]?\\d*\\.\\d+%?",pt="(?:".concat(ho,")|(?:").concat(po,")"),Pe="[\\s|\\(]+(".concat(pt,")[,|\\s]+(").concat(pt,")[,|\\s]+(").concat(pt,")\\s*\\)?"),Te="[\\s|\\(]+(".concat(pt,")[,|\\s]+(").concat(pt,")[,|\\s]+(").concat(pt,")[,|\\s]+(").concat(pt,")\\s*\\)?"),J={CSS_UNIT:new RegExp(pt),rgb:new RegExp("rgb"+Pe),rgba:new RegExp("rgba"+Te),hsl:new RegExp("hsl"+Pe),hsla:new RegExp("hsla"+Te),hsv:new RegExp("hsv"+Pe),hsva:new RegExp("hsva"+Te),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 go(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(je[e])e=je[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=J.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=J.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=J.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=J.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=J.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=J.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=J.hex8.exec(e),n?{r:z(n[1]),g:z(n[2]),b:z(n[3]),a:In(n[4]),format:t?"name":"hex8"}:(n=J.hex6.exec(e),n?{r:z(n[1]),g:z(n[2]),b:z(n[3]),format:t?"name":"hex"}:(n=J.hex4.exec(e),n?{r:z(n[1]+n[1]),g:z(n[2]+n[2]),b:z(n[3]+n[3]),a:In(n[4]+n[4]),format:t?"name":"hex8"}:(n=J.hex3.exec(e),n?{r:z(n[1]+n[1]),g:z(n[2]+n[2]),b:z(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ct(e){return!!J.CSS_UNIT.exec(String(e))}var ja=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=uo(t)),this.originalInput=t;var i=lo(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.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=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=vr(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Wn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Wn(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(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Bn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Bn(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(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Vn(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),fo(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(k(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(k(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Vn(this.r,this.g,this.b,!1),n=0,r=Object.entries(je);n<r.length;n++){var i=r[n],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t!=null?t:this.format;var r=!1,i=this.a<1&&this.a>=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?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()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ae(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var 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 e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ae(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ae(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ae(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={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 e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var 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 e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({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})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(r+a*o)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function wt(){return wt=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},wt.apply(this,arguments)}function mo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yt(e,t)}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function Yt(e,t){return Yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Yt(e,t)}function vo(){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 le(e,t,n){return vo()?le=Reflect.construct.bind():le=function(i,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(i,s),c=new f;return a&&Yt(c,a.prototype),c},le.apply(null,arguments)}function yo(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Le(e){var t=typeof Map=="function"?new Map:void 0;return Le=function(r){if(r===null||!yo(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 le(r,arguments,He(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Yt(i,r)},Le(e)}var bo=/%[sdj%]/g,xo=function(){};function Ce(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 U(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 a=e.replace(bo,function(s){if(s==="%%")return"%";if(i>=o)return s;switch(s){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 s}});return a}return e}function wo(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function N(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||wo(t)&&typeof e=="string"&&!e)}function Oo(e,t,n){var r=[],i=0,o=e.length;function a(s){r.push.apply(r,s||[]),i++,i===o&&n(r)}e.forEach(function(s){t(s,a)})}function _n(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<i?t(e[s],o):n([])}o([])}function Ao(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var $n=function(e){mo(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}(Le(Error));function Eo(e,t,n,r,i){if(t.first){var o=new Promise(function(m,p){var v=function(d){return r(d),d.length?p(new $n(d,Ce(d))):m(i)},u=Ao(e);_n(u,n,v)});return o.catch(function(m){return m}),o}var a=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),f=s.length,c=0,l=[],h=new Promise(function(m,p){var v=function(y){if(l.push.apply(l,y),c++,c===f)return r(l),l.length?p(new $n(l,Ce(l))):m(i)};s.length||(r(l),m(i)),s.forEach(function(u){var y=e[u];a.indexOf(u)!==-1?_n(y,n,v):Oo(y,n,v)})});return h.catch(function(m){return m}),h}function Ro(e){return!!(e&&e.message!==void 0)}function So(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function zn(e,t){return function(n){var r;return e.fullFields?r=So(t,e.fullFields):r=t[n.field||e.fullField],Ro(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 Un(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]=wt({},e[n],r):e[n]=r}}return e}var yr=function(t,n,r,i,o,a){t.required&&(!r.hasOwnProperty(t.field)||N(n,a||t.type))&&i.push(U(o.messages.required,t.fullField))},Mo=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(U(o.messages.whitespace,t.fullField))},fe,Fo=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=(`
2
+ (?:
3
+ (?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
4
+ (?:`+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
5
+ (?:`+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
6
+ (?:`+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
7
+ (?:`+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
8
+ (?:`+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
9
+ (?:`+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
10
+ (?::(?:(?::`+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
11
+ )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
12
+ `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),s=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(g){return g&&g.exact?a:new RegExp(""+t(g)+n+t(g),"g")},f.v6=function(g){return g&&g.exact?s:new RegExp(""+t(g)+i+t(g),"g")};var c="(?:(?:[a-z]+:)?//)",l="(?:\\S+(?::\\S*)?@)?",h=f.v4().source,m=f.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",u="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",d='(?:[/?#][^\\s"]*)?',w="(?:"+c+"|www\\.)"+l+"(?:localhost|"+h+"|"+m+"|"+p+v+u+")"+y+d;return fe=new RegExp("(?:^"+w+"$)","i"),fe},Xn={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},It={integer:function(t){return It.number(t)&&parseInt(t,10)===t},float:function(t){return It.number(t)&&!It.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"&&!It.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Xn.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Fo())},hex:function(t){return typeof t=="string"&&!!t.match(Xn.hex)}},Po=function(t,n,r,i,o){if(t.required&&n===void 0){yr(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?It[s](n)||i.push(U(o.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&i.push(U(o.messages.types[s],t.fullField,t.type))},To=function(t,n,r,i,o){var a=typeof t.len=="number",s=typeof t.min=="number",f=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=n,h=null,m=typeof n=="number",p=typeof n=="string",v=Array.isArray(n);if(m?h="number":p?h="string":v&&(h="array"),!h)return!1;v&&(l=n.length),p&&(l=n.replace(c,"_").length),a?l!==t.len&&i.push(U(o.messages[h].len,t.fullField,t.len)):s&&!f&&l<t.min?i.push(U(o.messages[h].min,t.fullField,t.min)):f&&!s&&l>t.max?i.push(U(o.messages[h].max,t.fullField,t.max)):s&&f&&(l<t.min||l>t.max)&&i.push(U(o.messages[h].range,t.fullField,t.min,t.max))},Pt="enum",qo=function(t,n,r,i,o){t[Pt]=Array.isArray(t[Pt])?t[Pt]:[],t[Pt].indexOf(n)===-1&&i.push(U(o.messages[Pt],t.fullField,t[Pt].join(", ")))},Do=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(U(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(U(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},R={required:yr,whitespace:Mo,type:Po,range:To,enum:qo,pattern:Do},No=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n,"string")&&!t.required)return r();R.required(t,n,i,a,o,"string"),N(n,"string")||(R.type(t,n,i,a,o),R.range(t,n,i,a,o),R.pattern(t,n,i,a,o),t.whitespace===!0&&R.whitespace(t,n,i,a,o))}r(a)},ko=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},jo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Ho=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},Lo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),N(n)||R.type(t,n,i,a,o)}r(a)},Co=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Bo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Wo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();R.required(t,n,i,a,o,"array"),n!=null&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Vo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},Io="enum",_o=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R[Io](t,n,i,a,o)}r(a)},$o=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n,"string")&&!t.required)return r();R.required(t,n,i,a,o),N(n,"string")||R.pattern(t,n,i,a,o)}r(a)},zo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n,"date")&&!t.required)return r();if(R.required(t,n,i,a,o),!N(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),R.type(t,f,i,a,o),f&&R.range(t,f.getTime(),i,a,o)}}r(a)},Uo=function(t,n,r,i,o){var a=[],s=Array.isArray(n)?"array":typeof n;R.required(t,n,i,a,o,s),r(a)},qe=function(t,n,r,i,o){var a=t.type,s=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(N(n,a)&&!t.required)return r();R.required(t,n,i,s,o,a),N(n,a)||R.type(t,n,i,s,o)}r(s)},Xo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(N(n)&&!t.required)return r();R.required(t,n,i,a,o)}r(a)},zt={string:No,method:ko,number:jo,boolean:Ho,regexp:Lo,integer:Co,float:Bo,array:Wo,object:Vo,enum:_o,pattern:$o,date:zo,url:qe,hex:qe,email:qe,required:Uo,any:Xo};function Be(){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 We=Be(),xe=function(){function e(n){this.rules=null,this._messages=We,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 a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Un(Be(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var s=r,f=i,c=o;if(typeof f=="function"&&(c=f,f={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,s),Promise.resolve(s);function l(u){var y=[],d={};function w(b){if(Array.isArray(b)){var x;y=(x=y).concat.apply(x,b)}else y.push(b)}for(var g=0;g<u.length;g++)w(u[g]);y.length?(d=Ce(y),c(y,d)):c(null,s)}if(f.messages){var h=this.messages();h===We&&(h=Be()),Un(h,f.messages),f.messages=h}else f.messages=this.messages();var m={},p=f.keys||Object.keys(this.rules);p.forEach(function(u){var y=a.rules[u],d=s[u];y.forEach(function(w){var g=w;typeof g.transform=="function"&&(s===r&&(s=wt({},s)),d=s[u]=g.transform(d)),typeof g=="function"?g={validator:g}:g=wt({},g),g.validator=a.getValidationMethod(g),g.validator&&(g.field=u,g.fullField=g.fullField||u,g.type=a.getType(g),m[u]=m[u]||[],m[u].push({rule:g,value:d,source:s,field:u}))})});var v={};return Eo(m,f,function(u,y){var d=u.rule,w=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");w=w&&(d.required||!d.required&&u.value),d.field=u.field;function g(O,A){return wt({},A,{fullField:d.fullField+"."+O,fullFields:d.fullFields?[].concat(d.fullFields,[O]):[O]})}function b(O){O===void 0&&(O=[]);var A=Array.isArray(O)?O:[O];!f.suppressWarning&&A.length&&e.warning("async-validator:",A),A.length&&d.message!==void 0&&(A=[].concat(d.message));var E=A.map(zn(d,s));if(f.first&&E.length)return v[d.field]=1,y(E);if(!w)y(E);else{if(d.required&&!u.value)return d.message!==void 0?E=[].concat(d.message).map(zn(d,s)):f.error&&(E=[f.error(d,U(f.messages.required,d.field))]),y(E);var P={};d.defaultField&&Object.keys(u.value).map(function(F){P[F]=d.defaultField}),P=wt({},P,u.rule.fields);var T={};Object.keys(P).forEach(function(F){var S=P[F],V=Array.isArray(S)?S:[S];T[F]=V.map(g.bind(null,F))});var M=new e(T);M.messages(f.messages),u.rule.options&&(u.rule.options.messages=f.messages,u.rule.options.error=f.error),M.validate(u.value,u.rule.options||f,function(F){var S=[];E&&E.length&&S.push.apply(S,E),F&&F.length&&S.push.apply(S,F),y(S.length?S:null)})}}var x;if(d.asyncValidator)x=d.asyncValidator(d,u.value,b,u.source,f);else if(d.validator){try{x=d.validator(d,u.value,b,u.source,f)}catch(O){console.error==null||console.error(O),f.suppressValidatorError||setTimeout(function(){throw O},0),b(O.message)}x===!0?b():x===!1?b(typeof d.message=="function"?d.message(d.fullField||d.field):d.message||(d.fullField||d.field)+" fails"):x instanceof Array?b(x):x instanceof Error&&b(x.message)}x&&x.then&&x.then(function(){return b()},function(O){return b(O)})},function(u){l(u)},s)},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(U("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}();xe.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};xe.warning=xo;xe.messages=We;xe.validators=zt;var Yn=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Yo(e,t){return!!(e===t||Yn(e)&&Yn(t))}function Go(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Yo(e[n],t[n]))return!1;return!0}function Ha(e,t){t===void 0&&(t=Go);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 a=e.apply(this,i);return n={lastResult:a,lastArgs:i,lastThis:this},a}return r.clear=function(){n=null},r}var Gn=!1,bt,Ve,Ie,de,pe,br,he,_e,$e,ze,xr,Ue,Xe,wr,Or;function C(){if(!Gn){Gn=!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(Ue=/\b(iPhone|iP[ao]d)/.exec(e),Xe=/\b(iP[ao]d)/.exec(e),ze=/Android/i.exec(e),wr=/FBAN\/\w+;/i.exec(e),Or=/Mobile/i.exec(e),xr=!!/Win64/.exec(e),t){bt=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,bt&&document&&document.documentMode&&(bt=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);br=r?parseFloat(r[1])+4:bt,Ve=t[2]?parseFloat(t[2]):NaN,Ie=t[3]?parseFloat(t[3]):NaN,de=t[4]?parseFloat(t[4]):NaN,de?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),pe=t&&t[1]?parseFloat(t[1]):NaN):pe=NaN}else bt=Ve=Ie=pe=de=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);he=i?parseFloat(i[1].replace("_",".")):!0}else he=!1;_e=!!n[2],$e=!!n[3]}else he=_e=$e=!1}}var Ye={ie:function(){return C()||bt},ieCompatibilityMode:function(){return C()||br>bt},ie64:function(){return Ye.ie()&&xr},firefox:function(){return C()||Ve},opera:function(){return C()||Ie},webkit:function(){return C()||de},safari:function(){return Ye.webkit()},chrome:function(){return C()||pe},windows:function(){return C()||_e},osx:function(){return C()||he},linux:function(){return C()||$e},iphone:function(){return C()||Ue},mobile:function(){return C()||Ue||Xe||ze||Or},nativeApp:function(){return C()||wr},android:function(){return C()||ze},ipad:function(){return C()||Xe}},Zo=Ye,Ko=!!(typeof window<"u"&&window.document&&window.document.createElement),Jo={canUseDOM:Ko},Ar=Jo,Er;Ar.canUseDOM&&(Er=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Qo(e,t){if(!Ar.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&&Er&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var ta=Qo,Zn=10,Kn=40,Jn=800;function Rr(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*Zn,i=n*Zn,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=Kn,i*=Kn):(r*=Jn,i*=Jn)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}Rr.getEventType=function(){return Zo.firefox()?"DOMMouseScroll":ta("wheel")?"wheel":"mousewheel"};var La=Rr;/**
13
+ * Checks if an event is supported in the current execution environment.
14
+ *
15
+ * NOTE: This will not work correctly for non-generic events such as `change`,
16
+ * `reset`, `load`, `error`, and `select`.
17
+ *
18
+ * Borrows from Modernizr.
19
+ *
20
+ * @param {string} eventNameSuffix Event name, e.g. "click".
21
+ * @param {?boolean} capture Check if the capture phase is supported.
22
+ * @return {boolean} True if the event is supported.
23
+ * @internal
24
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
25
+ */const Lt=Math.min,At=Math.max,me=Math.round,ce=Math.floor,rt=e=>({x:e,y:e}),ea={left:"right",right:"left",bottom:"top",top:"bottom"},na={start:"end",end:"start"};function Ge(e,t,n){return At(e,Lt(t,n))}function Qt(e,t){return typeof e=="function"?e(t):e}function Rt(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function Sr(e){return e==="x"?"y":"x"}function sn(e){return e==="y"?"height":"width"}function Et(e){return["top","bottom"].includes(Rt(e))?"y":"x"}function fn(e){return Sr(Et(e))}function ra(e,t,n){n===void 0&&(n=!1);const r=te(e),i=fn(e),o=sn(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=ve(a)),[a,ve(a)]}function ia(e){const t=ve(e);return[Ze(e),t,Ze(t)]}function Ze(e){return e.replace(/start|end/g,t=>na[t])}function oa(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}function aa(e,t,n,r){const i=te(e);let o=oa(Rt(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(Ze)))),o}function ve(e){return e.replace(/left|right|bottom|top/g,t=>ea[t])}function sa(e){return $({top:0,right:0,bottom:0,left:0},e)}function Mr(e){return typeof e!="number"?sa(e):{top:e,right:e,bottom:e,left:e}}function ye(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 Qn(e,t,n){let{reference:r,floating:i}=e;const o=Et(t),a=fn(t),s=sn(a),f=Rt(t),c=o==="y",l=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,m=r[s]/2-i[s]/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}}switch(te(t)){case"start":p[a]-=m*(n&&c?-1:1);break;case"end":p[a]+=m*(n&&c?-1:1);break}return p}const fa=(e,t,n)=>ft(null,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),f=yield a.isRTL==null?void 0:a.isRTL(t);let c=yield a.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:h}=Qn(c,r,f),m=r,p={},v=0;for(let u=0;u<s.length;u++){const{name:y,fn:d}=s[u],{x:w,y:g,data:b,reset:x}=yield d({x:l,y:h,initialPlacement:r,placement:m,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});l=w!=null?w:l,h=g!=null?g:h,p=lt($({},p),{[y]:$($({},p[y]),b)}),x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(c=x.rects===!0?yield a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:l,y:h}=Qn(c,m,f)),u=-1)}return{x:l,y:h,placement:m,strategy:i,middlewareData:p}});function cn(e,t){return ft(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:m=!1,padding:p=0}=Qt(t,e),v=Mr(p),y=s[m?h==="floating"?"reference":"floating":h],d=ye(yield o.getClippingRect({element:(n=yield o.isElement==null?void 0:o.isElement(y))==null||n?y:y.contextElement||(yield o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:l,strategy:f})),w=h==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,g=yield o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating),b=(yield o.isElement==null?void 0:o.isElement(g))?(yield o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},x=ye(o.convertOffsetParentRelativeRectToViewportRelativeRect?yield o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:f}):w);return{top:(d.top-x.top+v.top)/b.y,bottom:(x.bottom-d.bottom+v.bottom)/b.y,left:(d.left-x.left+v.left)/b.x,right:(x.right-d.right+v.right)/b.x}})}const ca=e=>({name:"arrow",options:e,fn(n){return ft(this,null,function*(){const{x:r,y:i,placement:o,rects:a,platform:s,elements:f,middlewareData:c}=n,{element:l,padding:h=0}=Qt(e,n)||{};if(l==null)return{};const m=Mr(h),p={x:r,y:i},v=fn(o),u=sn(v),y=yield s.getDimensions(l),d=v==="y",w=d?"top":"left",g=d?"bottom":"right",b=d?"clientHeight":"clientWidth",x=a.reference[u]+a.reference[v]-p[v]-a.floating[u],O=p[v]-a.reference[v],A=yield s.getOffsetParent==null?void 0:s.getOffsetParent(l);let E=A?A[b]:0;(!E||!(yield s.isElement==null?void 0:s.isElement(A)))&&(E=f.floating[b]||a.floating[u]);const P=x/2-O/2,T=E/2-y[u]/2-1,M=Lt(m[w],T),F=Lt(m[g],T),S=M,V=E-y[u]-F,j=E/2-y[u]/2+P,D=Ge(S,j,V),q=!c.arrow&&te(o)!=null&&j!==D&&a.reference[u]/2-(j<S?M:F)-y[u]/2<0,Y=q?j<S?j-S:j-V:0;return{[v]:p[v]+Y,data:$({[v]:D,centerOffset:j-D-Y},q&&{alignmentOffset:Y}),reset:q}})}}),ua=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return ft(this,null,function*(){var r,i;const{placement:o,middlewareData:a,rects:s,initialPlacement:f,platform:c,elements:l}=n,D=Qt(e,n),{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:y=!0}=D,d=Me(D,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const w=Rt(o),g=Et(f),b=Rt(f)===f,x=yield c.isRTL==null?void 0:c.isRTL(l.floating),O=p||(b||!y?[ve(f)]:ia(f)),A=u!=="none";!p&&A&&O.push(...aa(f,y,u,x));const E=[f,...O],P=yield cn(n,d),T=[];let M=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&T.push(P[w]),m){const q=ra(o,s,x);T.push(P[q[0]],P[q[1]])}if(M=[...M,{placement:o,overflows:T}],!T.every(q=>q<=0)){var F,S;const q=(((F=a.flip)==null?void 0:F.index)||0)+1,Y=E[q];if(Y){var V;const _=m==="alignment"?g!==Et(Y):!1,H=((V=M[0])==null?void 0:V.overflows[0])>0;if(!_||H)return{data:{index:q,overflows:M},reset:{placement:Y}}}let I=(S=M.filter(_=>_.overflows[0]<=0).sort((_,H)=>_.overflows[1]-H.overflows[1])[0])==null?void 0:S.placement;if(!I)switch(v){case"bestFit":{var j;const _=(j=M.filter(H=>{if(A){const L=Et(H.placement);return L===g||L==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(L=>L>0).reduce((L,Mt)=>L+Mt,0)]).sort((H,L)=>H[1]-L[1])[0])==null?void 0:j[0];_&&(I=_);break}case"initialPlacement":I=f;break}if(o!==I)return{reset:{placement:I}}}return{}})}}};function la(e,t){return ft(this,null,function*(){const{placement:n,platform:r,elements:i}=e,o=yield r.isRTL==null?void 0:r.isRTL(i.floating),a=Rt(n),s=te(n),f=Et(n)==="y",c=["left","top"].includes(a)?-1:1,l=o&&f?-1:1,h=Qt(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof v=="number"&&(p=s==="end"?v*-1:v),f?{x:p*l,y:m*c}:{x:m*c,y:p*l}})}const da=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return ft(this,null,function*(){var r,i;const{x:o,y:a,placement:s,middlewareData:f}=n,c=yield la(n,e);return s===((r=f.offset)==null?void 0:r.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:lt($({},c),{placement:s})}})}}},pa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return ft(this,null,function*(){const{x:r,y:i,placement:o}=n,d=Qt(e,n),{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:w=>{let{x:g,y:b}=w;return{x:g,y:b}}}}=d,c=Me(d,["mainAxis","crossAxis","limiter"]),l={x:r,y:i},h=yield cn(n,c),m=Et(Rt(o)),p=Sr(m);let v=l[p],u=l[m];if(a){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",b=v+h[w],x=v-h[g];v=Ge(b,v,x)}if(s){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",b=u+h[w],x=u-h[g];u=Ge(b,u,x)}const y=f.fn(lt($({},n),{[p]:v,[m]:u}));return lt($({},y),{data:{x:y.x-r,y:y.y-i,enabled:{[p]:a,[m]:s}}})})}}};function we(){return typeof window!="undefined"}function Bt(e){return Fr(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function at(e){var t;return(t=(Fr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fr(e){return we()?e instanceof Node||e instanceof X(e).Node:!1}function Q(e){return we()?e instanceof Element||e instanceof X(e).Element:!1}function ot(e){return we()?e instanceof HTMLElement||e instanceof X(e).HTMLElement:!1}function tr(e){return!we()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function ee(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function ha(e){return["table","td","th"].includes(Bt(e))}function Oe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function un(e){const t=ln(),n=Q(e)?tt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ga(e){let t=ht(e);for(;ot(t)&&!Ct(t);){if(un(t))return t;if(Oe(t))return null;t=ht(t)}return null}function ln(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ct(e){return["html","body","#document"].includes(Bt(e))}function tt(e){return X(e).getComputedStyle(e)}function Ae(e){return Q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ht(e){if(Bt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||tr(e)&&e.host||at(e);return tr(t)?t.host:t}function Pr(e){const t=ht(e);return Ct(t)?e.ownerDocument?e.ownerDocument.body:e.body:ot(t)&&ee(t)?t:Pr(t)}function Gt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Pr(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=X(i);if(o){const s=Ke(a);return t.concat(a,a.visualViewport||[],ee(i)?i:[],s&&n?Gt(s):[])}return t.concat(i,Gt(i,[],n))}function Ke(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Tr(e){const t=tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ot(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=me(n)!==o||me(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function dn(e){return Q(e)?e:e.contextElement}function Tt(e){const t=dn(e);if(!ot(t))return rt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Tr(t);let a=(o?me(n.width):n.width)/r,s=(o?me(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const ma=rt(0);function qr(e){const t=X(e);return!ln()||!t.visualViewport?ma:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function va(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==X(e)?!1:t}function St(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=dn(e);let a=rt(1);t&&(r?Q(r)&&(a=Tt(r)):a=Tt(e));const s=va(o,n,r)?qr(o):rt(0);let f=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,l=i.width/a.x,h=i.height/a.y;if(o){const m=X(o),p=r&&Q(r)?X(r):r;let v=m,u=Ke(v);for(;u&&r&&p!==v;){const y=Tt(u),d=u.getBoundingClientRect(),w=tt(u),g=d.left+(u.clientLeft+parseFloat(w.paddingLeft))*y.x,b=d.top+(u.clientTop+parseFloat(w.paddingTop))*y.y;f*=y.x,c*=y.y,l*=y.x,h*=y.y,f+=g,c+=b,v=X(u),u=Ke(v)}}return ye({width:l,height:h,x:f,y:c})}function pn(e,t){const n=Ae(e).scrollLeft;return t?t.left+n:St(at(e)).left+n}function Dr(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:pn(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function ya(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=at(r),s=t?Oe(t.floating):!1;if(r===a||s&&o)return n;let f={scrollLeft:0,scrollTop:0},c=rt(1);const l=rt(0),h=ot(r);if((h||!h&&!o)&&((Bt(r)!=="body"||ee(a))&&(f=Ae(r)),ot(r))){const p=St(r);c=Tt(r),l.x=p.x+r.clientLeft,l.y=p.y+r.clientTop}const m=a&&!h&&!o?Dr(a,f,!0):rt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+l.x+m.x,y:n.y*c.y-f.scrollTop*c.y+l.y+m.y}}function ba(e){return Array.from(e.getClientRects())}function xa(e){const t=at(e),n=Ae(e),r=e.ownerDocument.body,i=At(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=At(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+pn(e);const s=-n.scrollTop;return tt(r).direction==="rtl"&&(a+=At(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}function wa(e,t){const n=X(e),r=at(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,f=0;if(i){o=i.width,a=i.height;const c=ln();(!c||c&&t==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:s,y:f}}function Oa(e,t){const n=St(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ot(e)?Tt(e):rt(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y,f=i*o.x,c=r*o.y;return{width:a,height:s,x:f,y:c}}function er(e,t,n){let r;if(t==="viewport")r=wa(e,n);else if(t==="document")r=xa(at(e));else if(Q(t))r=Oa(t,n);else{const i=qr(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ye(r)}function Nr(e,t){const n=ht(e);return n===t||!Q(n)||Ct(n)?!1:tt(n).position==="fixed"||Nr(n,t)}function Aa(e,t){const n=t.get(e);if(n)return n;let r=Gt(e,[],!1).filter(s=>Q(s)&&Bt(s)!=="body"),i=null;const o=tt(e).position==="fixed";let a=o?ht(e):e;for(;Q(a)&&!Ct(a);){const s=tt(a),f=un(a);!f&&s.position==="fixed"&&(i=null),(o?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ee(a)&&!f&&Nr(e,a))?r=r.filter(l=>l!==a):i=s,a=ht(a)}return t.set(e,r),r}function Ea(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?Oe(t)?[]:Aa(t,this._c):[].concat(n),r],s=a[0],f=a.reduce((c,l)=>{const h=er(t,l,i);return c.top=At(h.top,c.top),c.right=Lt(h.right,c.right),c.bottom=Lt(h.bottom,c.bottom),c.left=At(h.left,c.left),c},er(t,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ra(e){const{width:t,height:n}=Tr(e);return{width:t,height:n}}function Sa(e,t,n){const r=ot(t),i=at(t),o=n==="fixed",a=St(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const f=rt(0);function c(){f.x=pn(i)}if(r||!r&&!o)if((Bt(t)!=="body"||ee(i))&&(s=Ae(t)),r){const p=St(t,!0,o,t);f.x=p.x+t.clientLeft,f.y=p.y+t.clientTop}else i&&c();o&&!r&&i&&c();const l=i&&!r&&!o?Dr(i,s):rt(0),h=a.left+s.scrollLeft-f.x-l.x,m=a.top+s.scrollTop-f.y-l.y;return{x:h,y:m,width:a.width,height:a.height}}function De(e){return tt(e).position==="static"}function nr(e,t){if(!ot(e)||tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return at(e)===n&&(n=n.ownerDocument.body),n}function kr(e,t){const n=X(e);if(Oe(e))return n;if(!ot(e)){let i=ht(e);for(;i&&!Ct(i);){if(Q(i)&&!De(i))return i;i=ht(i)}return n}let r=nr(e,t);for(;r&&ha(r)&&De(r);)r=nr(r,t);return r&&Ct(r)&&De(r)&&!un(r)?n:r||ga(e)||n}const Ma=function(e){return ft(this,null,function*(){const t=this.getOffsetParent||kr,n=this.getDimensions,r=yield n(e.floating);return{reference:Sa(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Fa(e){return tt(e).direction==="rtl"}const Pa={convertOffsetParentRelativeRectToViewportRelativeRect:ya,getDocumentElement:at,getClippingRect:Ea,getOffsetParent:kr,getElementRects:Ma,getClientRects:ba,getDimensions:Ra,getScale:Tt,isElement:Q,isRTL:Fa};function jr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ta(e,t){let n=null,r;const i=at(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),o();const c=e.getBoundingClientRect(),{left:l,top:h,width:m,height:p}=c;if(s||t(),!m||!p)return;const v=ce(h),u=ce(i.clientWidth-(l+m)),y=ce(i.clientHeight-(h+p)),d=ce(l),g={rootMargin:-v+"px "+-u+"px "+-y+"px "+-d+"px",threshold:At(0,Lt(1,f))||1};let b=!0;function x(O){const A=O[0].intersectionRatio;if(A!==f){if(!b)return a();A?a(!1,A):r=setTimeout(()=>{a(!1,1e-7)},1e3)}A===1&&!jr(c,e.getBoundingClientRect())&&a(),b=!1}try{n=new IntersectionObserver(x,lt($({},g),{root:i.ownerDocument}))}catch(O){n=new IntersectionObserver(x,g)}n.observe(e)}return a(!0),o}function Ca(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,c=dn(e),l=i||o?[...c?Gt(c):[],...Gt(t)]:[];l.forEach(d=>{i&&d.addEventListener("scroll",n,{passive:!0}),o&&d.addEventListener("resize",n)});const h=c&&s?Ta(c,n):null;let m=-1,p=null;a&&(p=new ResizeObserver(d=>{let[w]=d;w&&w.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(t)})),n()}),c&&!f&&p.observe(c),p.observe(t));let v,u=f?St(e):null;f&&y();function y(){const d=St(e);u&&!jr(u,d)&&n(),u=d,v=requestAnimationFrame(y)}return n(),()=>{var d;l.forEach(w=>{i&&w.removeEventListener("scroll",n),o&&w.removeEventListener("resize",n)}),h==null||h(),(d=p)==null||d.disconnect(),p=null,f&&cancelAnimationFrame(v)}}const Ba=cn,Wa=da,Va=pa,Ia=ua,_a=ca,$a=(e,t,n)=>{const r=new Map,i=$({platform:Pa},n),o=lt($({},i.platform),{_c:r});return fa(e,t,lt($({},i),{platform:o}))};var qt=null,Ne=null,dt=null,rr="z-index-manage",yt=null,ir="z-index-style",Hr="m",Lr="s",Zt={m:1e3,s:1e3};function hn(){return qt||typeof document!="undefined"&&(qt=document),qt}function Cr(){return qt&&!Ne&&(Ne=qt.body||qt.getElementsByTagName("body")[0]),Ne}function qa(){var e=0,t=hn();if(t){var n=Cr();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 a=o.style.zIndex;a&&/^\d+$/.test(a)&&(e=Math.max(e,Number(a)))}}}return e}function Da(){if(!yt){var e=hn();e&&(yt=e.getElementById(ir),yt||(yt=e.createElement("style"),yt.id=ir,e.getElementsByTagName("head")[0].appendChild(yt)))}return yt}function Br(){var e=Da();if(e){var t="--dom-",n="-z-index";e.innerHTML=":root{"+t+"main"+n+":"+Ee()+";"+t+"sub"+n+":"+vn()+"}"}}function Wr(){if(!dt){var e=hn();if(e&&(dt=e.getElementById(rr),!dt)){var t=Cr();t&&(dt=e.createElement("div"),dt.id=rr,dt.style.display="none",t.appendChild(dt),gn(Zt.m),mn(Zt.s))}}return dt}function Vr(e){return function(t){if(t){t=Number(t),Zt[e]=t;var n=Wr();n&&(n.dataset?n.dataset[e]=t+"":n.setAttribute("data-"+e,t+""))}return Br(),Zt[e]}}var gn=Vr(Hr);function Ir(e,t){return function(r){var i,o=Wr();if(o){var a=o.dataset?o.dataset[e]:o.getAttribute("data-"+e);a&&(i=Number(a))}return i||(i=Zt[e]),r?Number(r)<i?t():r:i}}var Ee=Ir(Hr,_r);function _r(){return gn(Ee()+1)}var mn=Vr(Lr),$r=Ir(Lr,zr);function vn(){return Ee()+$r()}function zr(){return mn($r()+1),vn()}var za={setCurrent:gn,getCurrent:Ee,getNext:_r,setSubCurrent:mn,getSubCurrent:vn,getSubNext:zr,getMax:qa};Br();export{za as D,ar as E,xe as S,ja as T,La as Y,_a as a,Ca as b,$a as c,Ba as d,Ia as f,Ha as m,Wa as o,Va as s,ka as y};
@@ -0,0 +1 @@
1
+ var T=Object.defineProperty;var S=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var g=(t,a,s)=>a in t?T(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,l=(t,a)=>{for(var s in a||(a={}))d.call(a,s)&&g(t,s,a[s]);if(S)for(var s of S(a))f.call(a,s)&&g(t,s,a[s]);return t};var _=(t,a,s)=>g(t,typeof a!="symbol"?a+"":a,s);var p=(t,a,s)=>new Promise((i,n)=>{var e=r=>{try{o(s.next(r))}catch(E){n(E)}},c=r=>{try{o(s.throw(r))}catch(E){n(E)}},o=r=>r.done?i(r.value):Promise.resolve(r.value).then(e,c);o((s=s.apply(t,a)).next())});import{az as I}from"./vue-DyRUlw3r.js";import{b as O,w as V,x as A,e as b,K as m,c as P,h as R,k as h,I as y,f as M,O as L,E as D,H as B,_ as N,d as k,g as x,v as w,i as j,C as v,j as H,l as C,m as K,p as U,V as W,T as Y,G as z,q as G,s as $,S as F,z as X,B as J,D as Z,F as q,J as Q,L as aa,M as sa,N as ea,P as ta,Q as ra,R as na,U as ia,W as oa,Y as Ea,Z as _a,$ as la,a0 as ca,a1 as ga,a2 as Sa,a3 as pa,a4 as ua,a5 as Ta,a6 as da,a7 as fa,a8 as Ia,a9 as Oa,aa as Va,ab as Aa,ac as ba,ad as ma,ae as Pa,af as Ra,ag as ha,ah as ya,ai as Ma,aj as La,ak as Da,X as Ba,al as Na,am as ka,an as xa,ao as wa,ap as ja,aq as va,ar as Ha,as as Ca,at as Ka,au as Ua}from"./Editor-BYUk_CYg-Cn4yaAPh.js";import{E as Wa,a as Ya,b as za,c as Ga}from"./element-plus-BBIQISG5.js";const $a=Object.freeze(Object.defineProperty({__proto__:null,ACCESS:O,API_METHOD_TYPES:V,Assets:A,Binder:b,Box:m,Designer:P,DevTools:R,EVENT_MODIFIERS:h,Editor:y,Engine:M,EventBinder:L,Icon:D,Item:B,KEYBOARD_EVENT_LIST:N,MOBILE_SIZE:k,MOUSE_EVENT_LIST:x,MicroApp:w,NAME_REGEX:j,NPM_REGISTRY_URL:v,OpenApi:H,PAD_SIZE:C,Panel:K,REMOTE:U,REPORT_API:W,RegionType:Y,RegionWrapper:z,Renderer:G,SAVE_BLOCK_FILE_FINISH:$,SESSION_ID_KEY:F,SetterView:X,SetterWrapper:J,Simulator:Z,Skeleton:q,SkeletonWrapper:Q,SlotsPicker:aa,Tabs:sa,VERSION_REGEX:ea,VTJ_DESIGNER_VERSION:ta,VUE_DEVTOOLS_FRAME_STATE_KEY:ra,VUE_DEVTOOLS_OVERLAY_PATH:na,VUE_DEVTOOLS_PATH:ia,VariableBinder:oa,Viewer:Ea,Viewport:_a,WidgetGroup:la,WidgetWrapper:ca,alert:ga,builtInDeps:Sa,builtInMaterials:pa,builtInSetters:ua,builtInWidgets:Ta,confirm:da,createSlotsPicker:fa,defaultSetter:Ia,depsManager:Oa,engineKey:Va,expressionValidate:Aa,getClassProperties:ba,message:ma,normalizedStyle:Pa,notify:Ra,proxyContext:ha,regions:ya,setterManager:Ma,setters:La,useEngine:Da,widgetManager:Ba,widgets:Na},Symbol.toStringTag,{value:"Module"}));class qa{constructor(a){_(this,"urls",[]);_(this,"library","");_(this,"params",[]);_(this,"__BASE_PATH__","/");this.config=a;const s=l(l(l({},va),$a),ja),i={Vue:I,__VTJ_PRO__:s,VtjUtils:wa,VtjIcons:xa,VtjUI:ka,ElementPlus:Wa};for(const[E,u]of Object.entries(i))window[E]=u;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:o,params:r=[]}=n||{};this.urls=c,this.library=o,this.params=r,this.__BASE_PATH__=e}load(){return p(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,i=this.urls.filter(e=>Ha(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>Ca(e)).map(e=>`${s}${e}`);if(Ka(i),n.length){const e=yield Ua(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return a})}}function Qa(){return Ga.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function as(t,a="",s="warning"){za({title:a,message:t,type:s})}function ss(t,a){return Ya.alert(t,a)}export{qa as E,ss as a,Qa as l,as as n};