@nuxt/devtools 1.6.4 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/chunks/module-main.mjs +2 -2
  2. package/dist/chunks/vscode.mjs +33 -11
  3. package/dist/client/200.html +14 -14
  4. package/dist/client/404.html +14 -14
  5. package/dist/client/_nuxt/__blank-i07cwg93.js +1 -0
  6. package/dist/client/_nuxt/{analyze-build-m6hjy8b6.js → analyze-build-ducxx7hk.js} +1 -1
  7. package/dist/client/_nuxt/{assets-jkla6b4k.js → assets-i0wwgco0.js} +1 -1
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/a420b23e-eff0-4a26-9593-f64aed27b3ae.json +1 -0
  10. package/dist/client/_nuxt/{client-iy54pzt5.js → client-my5lks1i.js} +1 -1
  11. package/dist/client/_nuxt/{code-diff.vue-lhj9gxzz.js → code-diff.vue-hs4v40uj.js} +1 -1
  12. package/dist/client/_nuxt/{code-snippets.vue-jbtneucz.js → code-snippets.vue-k22v8u0h.js} +1 -1
  13. package/dist/client/_nuxt/{components-h2g43vc5.js → components-mno98knb.js} +1 -1
  14. package/dist/client/_nuxt/{components-tree-iq3immmn.js → components-tree-olgegwda.js} +1 -1
  15. package/dist/client/_nuxt/{composable-item.vue-glp5bo7t.js → composable-item.vue-ec65e9jn.js} +1 -1
  16. package/dist/client/_nuxt/{custom-_name_-m2razr0k.js → custom-_name_-go82yg9m.js} +1 -1
  17. package/dist/client/_nuxt/{default-g9cho5c5.js → default-j6ndp61j.js} +1 -1
  18. package/dist/client/_nuxt/{duration-display.vue-oy3zq0wt.js → duration-display.vue-h9fie5qa.js} +1 -1
  19. package/dist/client/_nuxt/er2hcepb.js +17 -0
  20. package/dist/client/_nuxt/{error-404-kpv9svhd.js → error-404-ceo5987l.js} +1 -1
  21. package/dist/client/_nuxt/error-404.css-f2iw8q7i.css +1 -0
  22. package/dist/client/_nuxt/{error-500-hs8gcksv.js → error-500-lwkwf49w.js} +1 -1
  23. package/dist/client/_nuxt/error-500.css-xen1rmly.css +1 -0
  24. package/dist/client/_nuxt/{error-kq6fdjd8.js → error-egdh3jtf.js} +1 -1
  25. package/dist/client/_nuxt/{filepath-item.vue-khcefxw1.js → filepath-item.vue-n2otfocd.js} +1 -1
  26. package/dist/client/_nuxt/full-ndos3x1d.js +1 -0
  27. package/dist/client/_nuxt/{help-fab.vue-dsbe70oc.js → help-fab.vue-d5mgp1hs.js} +1 -1
  28. package/dist/client/_nuxt/{hooks-ntg8apv0.js → hooks-m0lvq8gl.js} +1 -1
  29. package/dist/client/_nuxt/{imports-oas5k4l1.js → imports-ldyykc17.js} +1 -1
  30. package/dist/client/_nuxt/{index-kk6zx8yh.js → index-cx44rs14.js} +1 -1
  31. package/dist/client/_nuxt/{index-cr2km0lm.js → index-nvb37cqm.js} +1 -1
  32. package/dist/client/_nuxt/{launch-page.vue-qpalyfg3.js → launch-page.vue-f4th9x6r.js} +1 -1
  33. package/dist/client/_nuxt/{modules-djo3gmhk.js → modules-djmqshrp.js} +1 -1
  34. package/dist/client/_nuxt/nbadge-fn7hrj12.js +1 -0
  35. package/dist/client/_nuxt/{ncheckbox.vue-cse1wr02.js → ncheckbox.vue-hj8qatqi.js} +1 -1
  36. package/dist/client/_nuxt/{ncode-block.vue-d0rio4gb.js → ncode-block.vue-bvtirmea.js} +1 -1
  37. package/dist/client/_nuxt/{ndrawer.vue-lv2j51sl.js → ndrawer.vue-gxd9fltc.js} +1 -1
  38. package/dist/client/_nuxt/{ndropdown.vue-nrkf5gj7.js → ndropdown.vue-cmmqgxbt.js} +1 -1
  39. package/dist/client/_nuxt/{nicon-title.vue-jza46fsn.js → nicon-title.vue-lmnsr02i.js} +1 -1
  40. package/dist/client/_nuxt/{nlink.vue-n7487xrt.js → nlink.vue-nuag3fiz.js} +1 -1
  41. package/dist/client/_nuxt/{nmarkdown.vue-ly8z22rg.js → nmarkdown.vue-ew01nvcn.js} +1 -1
  42. package/dist/client/_nuxt/{nnavbar.vue-h0vrbdpc.js → nnavbar.vue-hzjn49l3.js} +1 -1
  43. package/dist/client/_nuxt/none-i32auprq.js +1 -0
  44. package/dist/client/_nuxt/nsection-block-f8z83agf.js +1 -0
  45. package/dist/client/_nuxt/{nselect-tabs.vue-kva09wsa.js → nselect-tabs.vue-fducs2m0.js} +1 -1
  46. package/dist/client/_nuxt/{nselect.vue-97v3ez5s.js → nselect.vue-e15n7240.js} +1 -1
  47. package/dist/client/_nuxt/{open-graph-oo7uwhvx.js → open-graph-jlz5vrcc.js} +1 -1
  48. package/dist/client/_nuxt/{overview-myl8hwsb.js → overview-hklnwlr6.js} +1 -1
  49. package/dist/client/_nuxt/{pages-b55hg92j.js → pages-g6rzdi8u.js} +1 -1
  50. package/dist/client/_nuxt/{payload-i4d3og4m.js → payload-ibdys3jx.js} +1 -1
  51. package/dist/client/_nuxt/pinia-ixbpay8a.js +1 -0
  52. package/dist/client/_nuxt/{plugins-fyuck7jc.js → plugins-hepwq7ey.js} +1 -1
  53. package/dist/client/_nuxt/{runtime-configs-elwu7luj.js → runtime-configs-tx27yuue.js} +1 -1
  54. package/dist/client/_nuxt/{server-route-inputs.vue-ot4rib01.js → server-route-inputs.vue-ndm30y4c.js} +1 -1
  55. package/dist/client/_nuxt/{server-routes-egyll002.js → server-routes-m68bu4bu.js} +1 -1
  56. package/dist/client/_nuxt/{server-tasks-lubqj3k2.js → server-tasks-m0c7tiad.js} +1 -1
  57. package/dist/client/_nuxt/{settings-k355sbsm.js → settings-f97g7u7e.js} +1 -1
  58. package/dist/client/_nuxt/{stacktrace-list.vue-ojf2cyfb.js → stacktrace-list.vue-bbs3noa6.js} +1 -1
  59. package/dist/client/_nuxt/{state-components-i6bpejw5.js → state-components-hlkgglj2.js} +1 -1
  60. package/dist/client/_nuxt/{state-editor.vue-iy8ydlol.js → state-editor.vue-d73uejpo.js} +1 -1
  61. package/dist/client/_nuxt/{state-modules-g393ybfq.js → state-modules-5svqrca0.js} +1 -1
  62. package/dist/client/_nuxt/{storage-pbps5f8y.js → storage-cvuwvjle.js} +1 -1
  63. package/dist/client/_nuxt/{terminals-dmw85v8a.js → terminals-ifniwc30.js} +1 -1
  64. package/dist/client/_nuxt/{timeline-ilgburvu.js → timeline-l57dgwoy.js} +1 -1
  65. package/dist/client/_nuxt/{unocss-runtime-dmm6yugz.js → unocss-runtime-cgapiai4.js} +1 -1
  66. package/dist/client/_nuxt/vendor/{json-editor-vue-ivrsfd8a.js → json-editor-vue-gv8v06ez.js} +1 -1
  67. package/dist/client/_nuxt/vendor/shiki-ml6g43ls.js +57 -0
  68. package/dist/client/_nuxt/vendor/unocss-f0kk6o39.js +2 -0
  69. package/dist/client/_nuxt/vendor/{vis-cum19y28.js → vis-dlwijd5n.js} +1 -1
  70. package/dist/client/_nuxt/{virtual-files-b7capdoa.js → virtual-files-lrwriib3.js} +1 -1
  71. package/dist/client/_nuxt/{vue-virtual-scroller.esm-lq6f9fzq.js → vue-virtual-scroller.esm-cgrk8bqc.js} +1 -1
  72. package/dist/client/index.html +14 -14
  73. package/dist/module.json +2 -2
  74. package/package.json +24 -24
  75. package/dist/client/_nuxt/__blank-lypl178u.js +0 -1
  76. package/dist/client/_nuxt/builds/meta/3a026b0b-3c88-4a7c-8ad7-043b5176a32e.json +0 -1
  77. package/dist/client/_nuxt/error-404.css-he1uoaye.css +0 -1
  78. package/dist/client/_nuxt/error-500.css-ojhe2u1c.css +0 -1
  79. package/dist/client/_nuxt/full-h4bblsc2.js +0 -1
  80. package/dist/client/_nuxt/jkwjqiby.js +0 -17
  81. package/dist/client/_nuxt/nbadge-gvjrabwx.js +0 -1
  82. package/dist/client/_nuxt/none-o20iaxfc.js +0 -1
  83. package/dist/client/_nuxt/nsection-block-c30h9a7p.js +0 -1
  84. package/dist/client/_nuxt/pinia-d820aun4.js +0 -1
  85. package/dist/client/_nuxt/vendor/shiki-enrzjv18.js +0 -57
  86. package/dist/client/_nuxt/vendor/unocss-hwbthrao.js +0 -2
@@ -0,0 +1,2 @@
1
+ const Xe=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ze=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,et=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function tt(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){nt(e);return}return t}function nt(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rt(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!et.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Xe.test(e)||Ze.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,tt)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const st=/#/g,ot=/&/g,it=/\//g,at=/=/g,ue=/\+/g,ct=/%5e/gi,lt=/%60/gi,ft=/%7c/gi,ut=/%20/gi;function ht(e){return encodeURI(""+e).replace(ft,"|")}function ae(e){return ht(typeof e=="string"?e:JSON.stringify(e)).replace(ue,"%2B").replace(ut,"+").replace(st,"%23").replace(ot,"%26").replace(lt,"`").replace(ct,"^").replace(it,"%2F")}function ee(e){return ae(e).replace(at,"%3D")}function J(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function pt(e){return J(e.replace(ue," "))}function dt(e){return J(e.replace(ue," "))}function mt(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=pt(s[1]);if(r==="__proto__"||r==="constructor")continue;const i=dt(s[2]||"");t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function gt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ee(e)}=${ae(n)}`).join("&"):`${ee(e)}=${ae(t)}`:ee(e)}function yt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>gt(t,e[t])).filter(Boolean).join("&")}const wt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,bt=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,St=/^([/\\]\s*){2,}[^/\\]/,vt=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Et=/\/$|\/\?|\/#/,$t=/^\.?\//;function he(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?wt.test(e):bt.test(e)||(t.acceptRelative?St.test(e):!1)}function Xn(e){return!!e&&vt.test(e)}function ce(e="",t){return t?Et.test(e):e.endsWith("/")}function Pe(e="",t){if(!t)return(ce(e)?e.slice(0,-1):e)||"/";if(!ce(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),s=e.slice(r));const[i,...l]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+s}function le(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ce(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),s=e.slice(r),!n))return s;const[i,...l]=n.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+s}function At(e=""){return e.startsWith("/")}function me(e=""){return At(e)?e:"/"+e}function Ct(e,t){if(Ie(t)||he(e))return e;const n=Pe(t);return e.startsWith(n)?e:Rt(n,e)}function Zn(e,t){if(Ie(t))return e;const n=Pe(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function _t(e,t){const n=Ot(e),s={...mt(n.search),...t};return n.search=yt(s),jt(n)}function Ie(e){return!e||e==="/"}function xt(e){return e&&e!=="/"}function Rt(e,...t){let n=e||"";for(const s of t.filter(r=>xt(r)))if(n){const r=s.replace($t,"");n=le(n)+r}else n=s;return n}function er(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let r=0;for(const l of n)if(!(!l||l==="/")){for(const[a,c]of l.split(t).entries())if(!(!c||c===".")){if(c===".."){if(s.length===1&&he(s[0]))continue;s.pop(),r--;continue}if(a===1&&s[s.length-1]?.endsWith(":/")){s[s.length-1]+="/"+c;continue}s.push(c),r++}}let i=s.join("/");return r>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*r)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function tr(e,t,n={}){return n.trailingSlash||(e=le(e),t=le(t)),n.leadingSlash||(e=me(e),t=me(t)),n.encoding||(e=J(e),t=J(t)),e===t}const Ne=Symbol.for("ufo:protocolRelative");function Ot(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,m=""]=n;return{protocol:u.toLowerCase(),pathname:m,href:u+m,auth:"",host:"",search:"",hash:""}}if(!he(e,{acceptRelative:!0}))return ge(e);const[,s="",r,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:f,hash:o}=ge(a);return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:l,pathname:c,search:f,hash:o,[Ne]:!s}}function ge(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function jt(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Ne]?(e.protocol||"")+"//":"")+r+i+t+n+s}class Tt extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Mt(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",r=`[${n}] ${JSON.stringify(s)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",l=`${r}: ${i}${t?` ${t}`:""}`,a=new Tt(l,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[f]}});return a}const kt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ye(e="GET"){return kt.has(e.toUpperCase())}function Lt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Pt=new Set(["image/svg","application/xml","application/xhtml","application/html"]),It=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Nt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return It.test(t)?"json":Pt.has(t)||t.startsWith("text/")?"text":"blob"}function Ft(e,t,n,s){const r=Dt(t?.headers??e?.headers,n?.headers,s);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:r}}function Dt(e,t,n){if(!t)return new n(e);const s=new n(t);if(e)for(const[r,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))s.set(r,i);return s}async function U(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const zt=new Set([408,409,425,429,500,502,503,504]),qt=new Set([101,204,205,304]);function Fe(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let o;typeof a.options.retry=="number"?o=a.options.retry:o=ye(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):zt.has(u))){const m=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return m>0&&await new Promise(p=>setTimeout(p,m)),i(a.request,{...a.options,retry:o-1})}}const f=Mt(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,i),f}const i=async function(c,f={}){const o={request:c,options:Ft(c,f,e.defaults,n),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await U(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Ct(o.request,o.options.baseURL)),o.options.query&&(o.request=_t(o.request,o.options.query),delete o.options.query),"query"in o.options&&delete o.options.query,"params"in o.options&&delete o.options.params),o.options.body&&ye(o.options.method)&&(Lt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new n(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let u;if(!o.options.signal&&o.options.timeout){const p=new s;u=setTimeout(()=>{const b=new Error("[TimeoutError]: The operation was aborted due to timeout");b.name="TimeoutError",b.code=23,p.abort(b)},o.options.timeout),o.options.signal=p.signal}try{o.response=await t(o.request,o.options)}catch(p){return o.error=p,o.options.onRequestError&&await U(o,o.options.onRequestError),await r(o)}finally{u&&clearTimeout(u)}if((o.response.body||o.response._bodyInit)&&!qt.has(o.response.status)&&o.options.method!=="HEAD"){const p=(o.options.parseResponse?"json":o.options.responseType)||Nt(o.response.headers.get("content-type")||"");switch(p){case"json":{const b=await o.response.text(),g=o.options.parseResponse||rt;o.response._data=g(b);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[p]()}}return o.options.onResponse&&await U(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await U(o,o.options.onResponseError),await r(o)):o.response},l=async function(c,f){return(await i(c,f))._data};return l.raw=i,l.native=(...a)=>t(...a),l.create=(a={},c={})=>Fe({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),l}const Q=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Vt=Q.fetch?(...e)=>Q.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Ut=Q.Headers,Bt=Q.AbortController,Wt=Fe({fetch:Vt,Headers:Ut,AbortController:Bt}),Ht=Wt,H="default",fe="preflights",Gt="shortcuts",Jt="imports",Qt={[Jt]:-200,[fe]:-100,[Gt]:-10,[H]:0},Kt=/[\\:]?[\s'"`;{}]+/g;function Yt(e){return e.split(Kt)}const Xt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Yt(e)}};function k(e=[]){return Array.isArray(e)?e:[e]}function F(e){return Array.from(new Set(e))}function we(e,t){return e.reduce((n,s)=>(n.findIndex(i=>t(s,i))===-1&&n.push(s),n),[])}function T(e){return typeof e=="string"}class De extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,n){return this._map.set(t,n),super.add(t)}}function te(e){return e instanceof De}function Zt(e){const t=e.length;let n=-1,s,r="";const i=e.charCodeAt(0);for(;++n<t;){if(s=e.charCodeAt(n),s===0){r+="�";continue}if(s===37){r+="\\%";continue}if(s===44){r+="\\,";continue}if(s>=1&&s<=31||s===127||n===0&&s>=48&&s<=57||n===1&&s>=48&&s<=57&&i===45){r+=`\\${s.toString(16)} `;continue}if(n===0&&t===1&&s===45){r+=`\\${e.charAt(n)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){r+=e.charAt(n);continue}r+=`\\${e.charAt(n)}`}return r}const ne=Zt;function en(e){return typeof e=="function"?{match:e}:e}function be(e){return e.length===3}function re(e){return e!=null}function tn(){}class nn{_map=new Map;get(t,n){const s=this._map.get(t);if(s)return s.get(n)}getFallback(t,n,s){let r=this._map.get(t);return r||(r=new Map,this._map.set(t,r)),r.has(n)||r.set(n,s),r.get(n)}set(t,n,s){let r=this._map.get(t);return r||(r=new Map,this._map.set(t,r)),r.set(n,s),this}has(t,n){return this._map.get(t)?.has(n)}delete(t,n){return this._map.get(t)?.delete(n)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([n,s])=>Array.from(s.entries()).map(([r,i])=>t(i,n,r)))}}class rn extends Map{getFallback(t,n){const s=this.get(t);return s===void 0?(this.set(t,n),n):s}map(t){const n=[];return this.forEach((s,r)=>{n.push(t(s,r))}),n}flatMap(t){const n=[];return this.forEach((s,r)=>{n.push(...t(s,r))}),n}}function q(e){return T(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function sn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function on(e){return e.filter(([t,n],s)=>{if(t.startsWith("$$"))return!1;for(let r=s-1;r>=0;r--)if(e[r][0]===t&&e[r][1]===n)return!1;return!0})}function se(e){return e==null?"":on(e).map(([t,n])=>n!=null&&typeof n!="function"?`${t}:${n};`:void 0).filter(Boolean).join("")}function B(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ze(e,t,n=!1){const s=e,r=t;if(Array.isArray(r))return n&&Array.isArray(r)?[...s,...r]:[...r];const i={...s};return B(s)&&B(r)&&Object.keys(r).forEach(l=>{B(s[l])&&B(r[l])||Array.isArray(s[l])&&Array.isArray(r[l])?i[l]=ze(s[l],r[l],n):Object.assign(i,{[l]:r[l]})}),i}function G(e){let t,n,s;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(s=e[t])&&typeof s=="object"?G(s):s;return n}if(Object.prototype.toString.call(e)==="[object Object]"){n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:G(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(s=e[t])&&typeof s=="object"?G(s):s;return n}return e}function an(e){return T(e[0])}function cn(e){return T(e[0])}const W={};function ln(e=["-",":"]){const t=e.join("|");return W[t]||(W[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),W[t].lastIndex=0,W[t]}function fn(e,t=["-",":"],n=5){const s=ln(t);let r,i=e.toString();const l=new Set,a=new Map;do r=!1,i=i.replace(s,(f,o,u,m,p)=>{if(!t.includes(u))return f;r=!0,l.add(o+u);const b=p+o.length+u.length+1,g={length:f.length,items:[]};a.set(p,g);for(const y of[...m.matchAll(/\S+/g)]){const R=b+y.index;let S=a.get(R)?.items;S?a.delete(R):S=[{offset:R,length:y[0].length,className:y[0]}];for(const v of S)v.className=v.className==="~"?o:v.className.replace(/^(!?)(.*)/,`$1${o}${u}$2`),g.items.push(v)}return"$".repeat(f.length)}),n-=1;while(r&&n);let c;if(typeof e=="string"){c="";let f=0;for(const[o,u]of a)c+=e.slice(f,o),c+=u.items.map(m=>m.className).join(" "),f=o+u.length;c+=e.slice(f)}else{c=e;for(const[f,o]of a)c.overwrite(f,f+o.length,o.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(l),hasChanged:r,groupsByOffset:a,get expanded(){return c.toString()}}}function un(e,t=["-",":"],n=5){const s=fn(e,t,n);return typeof e=="string"?s.expanded:e}const Se=new Set;function qe(e){Se.has(e)||(console.warn("[unocss]",e),Se.add(e))}function Ve(e){return k(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ve="_uno_resolved";async function hn(e){let t=typeof e=="function"?await e():await e;if(ve in t)return t;t={...t},Object.defineProperty(t,ve,{value:!0,enumerable:!1});const n=t.shortcuts?Ve(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const s=r=>{r[2]||(r[2]={});const i=r[2];i.prefix==null&&t.prefix&&(i.prefix=k(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};n?.forEach(s),t.rules?.forEach(s)}return t}async function Ue(e){const t=await hn(e);if(!t.presets)return[t];const n=(await Promise.all((t.presets||[]).flatMap(k).flatMap(Ue))).flat();return[t,...n]}function pn(e){if(e.length===0)return{};const t=[],n=[];let s=!1;const r=[],i=[],l=[];for(const c of e){if(c.pipeline===!1){s=!0;break}else c.pipeline?.include&&t.push(c.pipeline.include),c.pipeline?.exclude&&n.push(c.pipeline.exclude);c.filesystem&&r.push(c.filesystem),c.inline&&i.push(c.inline),c.plain&&l.push(c.plain)}const a={pipeline:s?!1:{include:F($e(...t)),exclude:F($e(...n))}};return r.length&&(a.filesystem=F(r.flat())),i.length&&(a.inline=F(i.flat())),l.length&&(a.plain=F(l.flat())),a}async function Ee(e={},t={}){const n=Object.assign({},t,e),s=we((await Promise.all((n.presets||[]).flatMap(k).flatMap(Ue))).flat(),(d,h)=>d.name===h.name),r=[...s.filter(d=>d.enforce==="pre"),...s.filter(d=>!d.enforce),...s.filter(d=>d.enforce==="post")],i=[...r,n],l=[...i].reverse(),a=Object.assign({},Qt,...i.map(d=>d.layers));function c(d){return F(i.flatMap(h=>k(h[d]||[])))}const f=c("extractors");let o=l.find(d=>d.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Xt),o&&!f.includes(o)&&f.unshift(o),f.sort((d,h)=>(d.order||0)-(h.order||0));const u=c("rules"),m={},p=u.length,b=u.filter(d=>an(d)?(k(d[2]?.prefix||"").forEach(w=>{m[w+d[0]]=d}),!1):!0).reverse();let g=dn(i.map(d=>d.theme));const y=c("extendTheme");for(const d of y)g=d(g)||g;const R={templates:F(i.flatMap(d=>k(d.autocomplete?.templates))),extractors:i.flatMap(d=>k(d.autocomplete?.extractors)).sort((d,h)=>(d.order||0)-(h.order||0)),shorthands:mn(i.map(d=>d.autocomplete?.shorthands||{}))};let S=c("separators");S.length||(S=[":","-"]);const v=c("content"),A=pn(v),C={mergeSelectors:!0,warn:!0,sortLayers:d=>d,...n,blocklist:c("blocklist"),presets:r,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:a,theme:g,rules:u,rulesSize:p,rulesDynamic:b,rulesStaticMap:m,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:R,variants:c("variants").map(en).sort((d,h)=>(d.order||0)-(h.order||0)),shortcuts:Ve(c("shortcuts")).reverse(),extractors:f,safelist:c("safelist"),separators:S,details:n.details??n.envMode==="dev",content:A,transformers:we(c("transformers"),(d,h)=>d.name===h.name)};for(const d of i)d?.configResolved?.(C);return C}function dn(e){return e.map(t=>t?G(t):{}).reduce((t,n)=>ze(t,n),{})}function mn(e){return e.reduce((t,n)=>{const s={};for(const r in n){const i=n[r];Array.isArray(i)?s[r]=`(${i.join("|")})`:s[r]=i}return{...t,...s}},{})}function $e(...e){return e.flatMap(gn)}function gn(e){return Array.isArray(e)?e:e?[e]:[]}const yn="0.65.3";function wn(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(n=>n(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(n=>n!==t)}}}const z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class pe{constructor(t={},n={}){this.userConfig=t,this.defaults=n}version=yn;events=wn();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},n={}){const s=new pe(t,n);return s.config=await Ee(s.userConfig,s.defaults),s.events.emit("config",s.config),s}async setConfig(t,n){t&&(n&&(this.defaults=n),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Ee(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,n,s=new Set){const r={original:t,code:t,id:n,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const l=await i.extract?.(r);if(l)if(te(l)&&te(s))for(const a of l)s.setCount(a,s.getCount(a)+l.getCount(a));else for(const a of l)s.add(a)}return s}makeContext(t,n){const s={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:z,variantHandlers:n[2],constructCSS:(...r)=>this.constructCustomCSS(s,...r),variantMatch:n};return s}async parseToken(t,n){if(this.blocked.has(t))return;const s=`${t}${n?` ${n}`:""}`;if(this.cache.has(s))return this.cache.get(s);let r=t;for(const c of this.config.preprocess)r=c(t);if(this.isBlocked(r)){this.blocked.add(t),this.cache.set(s,null);return}const i=await this.matchVariants(t,r);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(s,null);return}const l=async c=>{const f=this.makeContext(t,[n||c[0],c[1],c[2],c[3]]);this.config.details&&(f.variants=[...c[3]]);const o=await this.expandShortcut(f.currentSelector,f);return o?await this.stringifyShortcuts(f.variantMatch,f,o[0],o[1]):(await this.parseUtil(f.variantMatch,f))?.map(m=>this.stringifyUtil(m,f)).filter(re)},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(s,a),a;this.cache.set(s,null)}async generate(t,n={}){const{id:s,scope:r,preflights:i=!0,safelist:l=!0,minify:a=!1,extendedInfo:c=!1}=n,f=T(t)?await this.applyExtractors(t,s,c?new De:new Set):Array.isArray(t)?new Set(t):t;if(l){const h={generator:this,theme:this.config.theme};this.config.safelist.flatMap(w=>typeof w=="function"?w(h):w).forEach(w=>{f.has(w)||f.add(w)})}const o=a?"":`
2
+ `,u=new Set([H]),m=c?new Map:new Set,p=new Map;let b={};const g=Array.from(f).map(async h=>{if(m.has(h))return;const w=await this.parseToken(h);if(w!=null){m instanceof Map?m.set(h,{data:w,count:te(f)?f.getCount(h):-1}):m.add(h);for(const E of w){const L=E[3]||"",P=E[4]?.layer;p.has(L)||p.set(L,[]),p.get(L).push(E),P&&u.add(P)}}});await Promise.all(g),await(async()=>{if(!i)return;const h={generator:this,theme:this.config.theme},w=new Set([]);this.config.preflights.forEach(({layer:E=fe})=>{u.add(E),w.add(E)}),b=Object.fromEntries(await Promise.all(Array.from(w).map(async E=>{const P=(await Promise.all(this.config.preflights.filter(I=>(I.layer||fe)===E).map(async I=>await I.getCSS(h)))).filter(Boolean).join(o);return[E,P]})))})();const y=this.config.sortLayers(Array.from(u).sort((h,w)=>(this.config.layers[h]??0)-(this.config.layers[w]??0)||h.localeCompare(w))),R={},S=this.config.outputToCssLayers,v=h=>{let w=h;return typeof S=="object"&&(w=S.cssLayerName?.(h)),w===null?null:w??h},A=(h=H)=>{if(R[h])return R[h];let w=Array.from(p).sort((P,I)=>(this.parentOrders.get(P[0])??0)-(this.parentOrders.get(I[0])??0)||P[0]?.localeCompare(I[0]||"")||0).map(([P,I])=>{const $=I.length,x=I.filter(_=>(_[4]?.layer||H)===h).sort((_,M)=>_[0]-M[0]||(_[4]?.sort||0)-(M[4]?.sort||0)||_[5]?.currentSelector?.localeCompare(M[5]?.currentSelector??"")||_[1]?.localeCompare(M[1]||"")||_[2]?.localeCompare(M[2]||"")||0).map(([,_,M,,V,,X])=>[[[(_&&vn(_,r))??"",V?.sort??0]],M,!!(X??V?.noMerge)]);if(!x.length)return;const O=x.reverse().map(([_,M,V],X)=>{if(!V&&this.config.mergeSelectors)for(let D=X+1;D<$;D++){const N=x[D];if(N&&!N[2]&&(_&&N[0]||_==null&&N[0]==null)&&N[1]===M)return _&&N[0]&&N[0].push(..._),null}const Z=_?F(_.sort((D,N)=>D[1]-N[1]||D[0]?.localeCompare(N[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return Z.length?`${Z.join(`,${o}`)}{${M}}`:M}).filter(Boolean).reverse().join(o);if(!P)return O;const j=P.split(" $$ ");return`${j.join("{")}{${o}${O}${o}${"}".repeat(j.length)}`}).filter(Boolean).join(o);i&&(w=[b[h],w].filter(Boolean).join(o));let E;S&&w&&(E=v(h),E!==null&&(w=`@layer ${E}{${o}${w}${o}}`));const L=a?"":`/* layer: ${h}${E&&E!==h?`, alias: ${E}`:""} */${o}`;return R[h]=w?L+w:""},C=(h=y,w)=>{const E=h.filter(L=>!w?.includes(L));return[S&&E.length>0?`@layer ${E.map(v).filter(re).join(", ")};`:void 0,...E.map(L=>A(L)||"")].filter(Boolean).join(o)};return{get css(){return C()},layers:y,matched:m,getLayers:C,getLayer:A,setLayer:async(h,w)=>{const E=await w(A(h));return R[h]=E,E}}}async matchVariants(t,n){const s={rawSelector:t,theme:this.config.theme,generator:this},r=async i=>{let l=!0;const[,,a,c]=i;for(;l;){l=!1;const f=i[1];for(const o of this.config.variants){if(!o.multiPass&&c.has(o))continue;let u=await o.match(f,s);if(u){if(T(u)){if(u===f)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const m=u.map(p=>{const b=p.matcher??f,g=[p,...a],y=new Set(c);return y.add(o),[i[0],b,g,y]});return(await Promise.all(m.map(p=>r(p)))).flat()}}i[1]=u.matcher??f,a.unshift(u),c.add(o),l=!0;break}}if(!l)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await r([t,n||t,[],new Set])}applyVariants(t,n=t[4],s=t[1]){const i=n.slice().sort((f,o)=>(f.order||0)-(o.order||0)).reduceRight((f,o)=>u=>{const m=o.body?.(u.entries)||u.entries,p=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??$n)({...u,entries:m,selector:o.selector?.(u.selector,m)||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:o.layer||u.layer,sort:o.sort||u.sort},f)},f=>f)({prefix:"",selector:En(s),pseudo:"",entries:t[2]}),{parent:l,parentOrder:a}=i;l!=null&&a!=null&&this.parentOrders.set(l,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:l,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const f of this.config.postprocess)f(c);return c}constructCustomCSS(t,n,s){const r=q(n);if(T(r))return r;const{selector:i,entries:l,parent:a}=this.applyVariants([0,s||t.rawSelector,r,void 0,t.variantHandlers]),c=`${i}{${se(l)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,n,s=!1,r){const i=T(t)?await this.matchVariants(t):[t],l=async([c,f,o])=>{this.config.details&&(n.rules=n.rules??[]);const u=this.config.rulesStaticMap[f];if(u&&u[1]&&(s||!u[2]?.internal)){n.generator.activatedRules.add(u),this.config.details&&n.rules.push(u);const p=this.config.rules.indexOf(u),b=q(u[1]),g=u[2];return T(b)?[[p,b,g]]:[[p,c,b,g,o]]}n.variantHandlers=o;const{rulesDynamic:m}=this.config;for(const p of m){const[b,g,y]=p;if(y?.internal&&!s)continue;let R=f;if(y?.prefix){const C=k(y.prefix);if(r){const d=k(r);if(!C.some(h=>d.includes(h)))continue}else{const d=C.find(h=>f.startsWith(h));if(d==null)continue;R=f.slice(d.length)}}const S=R.match(b);if(!S)continue;let v=await g(S,n);if(!v)continue;if(n.generator.activatedRules.add(p),this.config.details&&n.rules.push(p),typeof v!="string")if(Symbol.asyncIterator in v){const C=[];for await(const d of v)d&&C.push(d);v=C}else Symbol.iterator in v&&!Array.isArray(v)&&(v=Array.from(v).filter(re));const A=sn(v).filter(C=>C.length);if(A.length){const C=this.config.rules.indexOf(p);return A.map(d=>{if(T(d))return[C,d,y];let h=o,w=y;for(const E of d)E[0]===z.variants?h=[...k(E[1]),...h]:E[0]===z.parent?h=[{parent:E[1]},...h]:E[0]===z.selector?h=[{selector:E[1]},...h]:E[0]===z.layer?h=[{layer:E[1]},...h]:E[0]===z.sort&&(w={...w,sort:E[1]});return[C,c,d,w,h]})}}},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a.length)return a}stringifyUtil(t,n){if(!t)return;if(be(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?n:void 0,void 0];const{selector:s,entries:r,parent:i,layer:l,sort:a,noMerge:c}=this.applyVariants(t),f=se(r);if(!f)return;const{layer:o,sort:u,...m}=t[3]??{},p={...m,layer:l??o,sort:a??u};return[t[0],s,f,i,p,this.config.details?n:void 0,c]}async expandShortcut(t,n,s=5){if(s===0)return;const r=this.config.details?f=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(f)}:tn;let i,l,a,c;for(const f of this.config.shortcuts){let o=t;if(f[2]?.prefix){const m=k(f[2].prefix).find(p=>t.startsWith(p));if(m==null)continue;o=t.slice(m.length)}if(cn(f)){if(f[0]===o){i=i||f[2],l=f[1],r(f);break}}else{const u=o.match(f[0]);if(u&&(l=f[1](u,n)),l){i=i||f[2],r(f);break}}}if(l&&(a=F(k(l).filter(T).map(f=>un(f.trim()).split(/\s+/g)).flat()),c=k(l).filter(f=>!T(f)).map(f=>({handles:[],value:f}))),!l){const f=T(t)?await this.matchVariants(t):[t];for(const o of f){const[u,m,p]=o;if(u!==m){const b=await this.expandShortcut(m,n,s-1);b&&(a=b[0].filter(T).map(g=>u.replace(m,g)),c=b[0].filter(g=>!T(g)).map(g=>({handles:[...g.handles,...p],value:g.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(k(a).map(async f=>(await this.expandShortcut(f,n,s-1))?.[0]||[f])),c].flat(2).filter(f=>!!f),i]}async stringifyShortcuts(t,n,s,r={layer:this.config.shortcutsLayer}){const i=new rn,l=(await Promise.all(F(s).map(async o=>{const u=T(o)?await this.parseUtil(o,n,!0,r.prefix):[[Number.POSITIVE_INFINITY,"{inline}",q(o.value),void 0,o.handles]];return!u&&this.config.warn&&qe(`unmatched utility "${o}" in shortcut "${t[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((o,u)=>o[0]-u[0]),[a,,c]=t,f=[];for(const o of l){if(be(o)){f.push([o[0],void 0,o[1],void 0,o[2],n,void 0]);continue}const{selector:u,entries:m,parent:p,sort:b,noMerge:g,layer:y}=this.applyVariants(o,[...o[4],...c],a);i.getFallback(y??r.layer,new nn).getFallback(u,p,[[],o[0]])[0].push([m,!!(g??o[3]?.noMerge),b??0])}return f.concat(i.flatMap((o,u)=>o.map(([m,p],b,g)=>{const y=(S,v,A)=>{const C=Math.max(...A.map(h=>h[1])),d=A.map(h=>h[0]);return(S?[d.flat(1)]:d).map(h=>{const w=se(h);if(w)return[p,b,w,g,{...r,noMerge:v,sort:C,layer:u},n,void 0]})};return[[m.filter(([,S])=>S).map(([S,,v])=>[S,v]),!0],[m.filter(([,S])=>!S).map(([S,,v])=>[S,v]),!1]].map(([S,v])=>[...y(!1,v,S.filter(([A])=>A.some(C=>C[0]===z.shortcutsNoMerge))),...y(!0,v,S.filter(([A])=>A.every(C=>C[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(n=>Array.isArray(n)?n[0]:n).some(n=>typeof n=="function"?n(t):T(n)?n===t:n.test(t))}getBlocked(t){const n=this.config.blocklist.find(s=>{const r=Array.isArray(s)?s[0]:s;return typeof r=="function"?r(t):T(r)?r===t:r.test(t)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function bn(e,t){return await pe.create(e,t)}const Be=/\s\$\$\s+/g;function Sn(e){return Be.test(e)}function vn(e,t){return Sn(e)?e.replace(Be,t?` ${t} `:" "):t?`${t} ${e}`:e}const Ae=/^\[(.+?)(~?=)"(.*)"\]$/;function En(e){return Ae.test(e)?e.replace(Ae,(t,n,s,r)=>`[${ne(n)}${s}"${ne(r)}"]`):`.${ne(e)}`}function $n(e,t){return t(e)}var Ce={};const An=Object.freeze({left:0,top:0,width:16,height:16}),K=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),We=Object.freeze({...An,...K}),Cn=Object.freeze({...We,body:"",hidden:!1}),_n=Object.freeze({width:null,height:null}),He=Object.freeze({..._n,...K});function xn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function _e(e,t){const n=xn(e,t);for(const s in Cn)s in K?s in e&&!(s in n)&&(n[s]=K[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function Rn(e,t){const n=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(l){if(n[l])return r[l]=[];if(!(l in r)){r[l]=null;const a=s[l]&&s[l].parent,c=a&&i(a);c&&(r[l]=[a].concat(c))}return r[l]}return t.forEach(i),r}function xe(e,t,n){const s=e.icons,r=e.aliases||Object.create(null);let i={};function l(a){i=_e(s[a]||r[a],i)}return l(t),n.forEach(l),_e(e,i)}function On(e,t){if(e.icons[t])return xe(e,t,[]);const n=Rn(e,[t])[t];return n?xe(e,t,n):null}const jn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Tn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Y(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(jn);if(s===null||!s.length)return e;const r=[];let i=s.shift(),l=Tn.test(i);for(;;){if(l){const a=parseFloat(i);isNaN(a)?r.push(i):r.push(Math.ceil(a*t*n)/n)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");l=!l}}function Mn(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const l=e.indexOf(">",i);if(l===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(l+1)}return{defs:n,content:e}}function kn(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Ln(e,t,n){const s=Mn(e);return kn(s.defs,t+s.content+n)}const de=e=>e==="unset"||e==="undefined"||e==="none";function Pn(e,t){const n={...We,...e},s={...He,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,s].forEach(g=>{const y=[],R=g.hFlip,S=g.vFlip;let v=g.rotate;R?S?v+=2:(y.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),y.push("scale(-1 1)"),r.top=r.left=0):S&&(y.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),y.push("scale(1 -1)"),r.top=r.left=0);let A;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:A=r.height/2+r.top,y.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:y.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:A=r.width/2+r.left,y.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}v%2===1&&(r.left!==r.top&&(A=r.left,r.left=r.top,r.top=A),r.width!==r.height&&(A=r.width,r.width=r.height,r.height=A)),y.length&&(i=Ln(i,'<g transform="'+y.join(" ")+'">',"</g>"))});const l=s.width,a=s.height,c=r.width,f=r.height;let o,u;l===null?(u=a===null?"1em":a==="auto"?f:a,o=Y(u,c/f)):(o=l==="auto"?c:l,u=a===null?Y(o,f/c):a==="auto"?f:a);const m={},p=(g,y)=>{de(y)||(m[g]=y.toString())};p("width",o),p("height",u);const b=[r.left,r.top,c,f];return m.viewBox=b.join(" "),{attributes:m,viewBox:b,body:i}}function In(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Re(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),In(t)}function Nn(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const Fn=/\swidth\s*=\s*["']([\w.]+)["']/,Dn=/\sheight\s*=\s*["']([\w.]+)["']/,oe=/<svg\s+/;function zn(e,t,n){const s=e.slice(0,e.indexOf(">")),r=(i,l)=>{const a=l.exec(s),c=a!=null,f=t[i];return!f&&!de(f)&&(typeof n=="number"?n>0&&(t[i]=Y(a?.[1]??"1em",n)):a&&(t[i]=a[1])),c};return[r("width",Fn),r("height",Dn)]}async function Ge(e,t,n,s,r,i){const{scale:l,addXmlNs:a=!1}=s??{},{additionalProps:c={},iconCustomizer:f}=s?.customizations??{},o=await r?.()??{};await f?.(t,n,o),Object.keys(c).forEach(g=>{const y=c[g];y!=null&&(o[g]=y)}),i?.(o);const[u,m]=zn(e,o,l);a&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const p=Object.keys(o).map(g=>g==="width"&&u||g==="height"&&m?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(p.length&&(e=e.replace(oe,`<svg ${p.join(" ")} `)),s){const{defaultStyle:g,defaultClass:y}=s;y&&!e.includes("class=")&&(e=e.replace(oe,`<svg class="${y}" `)),g&&!e.includes("style=")&&(e=e.replace(oe,`<svg style="${g}" `))}const b=s?.usedProps;return b&&(Object.keys(c).forEach(g=>{const y=o[g];y!=null&&(b[g]=y)}),typeof o.width<"u"&&o.width!==null&&(b.width=o.width),typeof o.height<"u"&&o.height!==null&&(b.height=o.height)),e}async function Oe(e,t,n,s){let r;try{if(typeof e=="function")r=await e(n);else{const i=e[n];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${n}" in "${t}":`,i);return}if(r){const i=r.indexOf("<svg");i>0&&(r=r.slice(i));const{transform:l}=s?.customizations??{};return r=typeof l=="function"?await l(r,t,n):r,r.startsWith("<svg")?await Ge(s?.customizations?.trimCustomSvg===!0?Nn(r):r,t,n,s,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),r)}}async function Je(e,t,n,s){let r;const{customize:i}=s?.customizations??{};for(const l of n)if(r=On(e,l),r){let a={...He};typeof i=="function"&&(r=Object.assign({},r),a=i(a,r,`${t}:${l}`)??a);const{attributes:{width:c,height:f,...o},body:u}=Pn(r,a),m=s?.scale;return await Ge(`<svg >${u}</svg>`,t,l,s,()=>({...o}),p=>{const b=(g,y)=>{const R=p[g];let S;if(!de(R)){if(R)return;typeof m=="number"?m&&(S=Y(y??"1em",m)):S=y}S?p[g]=S:delete p[g]};b("width",c),b("height",f)})}}const Qe=async(e,t,n)=>{const s=n?.customCollections?.[e];if(s)if(typeof s=="function"){let r;try{r=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await Oe(()=>r,e,t,n);if("icons"in r){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Je(r,e,i,n)}}}else return await Oe(s,e,t,n)};function qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ie,je;function Vn(){return je||(je=1,ie=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"]),ie}var Un=Vn();const Ke=qn(Un),Bn=3;function Wn(e){return(t={})=>{const{scale:n=1,mode:s="auto",prefix:r="i-",warn:i=!1,iconifyCollectionsNames:l,collections:a,extraProperties:c={},customizations:f={},autoInstall:o=!1,collectionsNodeResolvePath:u,layer:m="icons",unit:p,processor:b}=t,g=Hn(),y={addXmlNs:!0,scale:n,customCollections:a,autoInstall:o,cwd:u,warn:void 0,customizations:{...f,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(S,v,A){await f.iconCustomizer?.(S,v,A),p&&(A.width||(A.width=`${n}${p}`),A.height||(A.height=`${n}${p}`))}}};let R;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Re,parseIconWithLoader:Te},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async S=>{let[v,A,C=s]=S;R=R||await e(t);const d={},h=await Te(A,R,{...y,usedProps:d},l);if(!h){i&&!g.isESLint&&qe(`failed to load icon "${v}"`);return}let w;const E=`url("data:image/svg+xml;utf8,${Re(h.svg)}")`;return C==="auto"&&(C=h.svg.includes("currentColor")?"mask":"bg"),C==="mask"?w={"--un-icon":E,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...d}:w={background:`${E} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...d},b?.(w,{...h,icon:h.name,mode:C}),w},{layer:m,prefix:r}]]}}}function Ye(e,t){const n=new Map;function s(r){if(Ke.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(r,i,l)=>{let a=await Qe(r,i,l);if(a)return a;const c=await s(r);if(c){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Je(c,r,f,l)}return a}}function Hn(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Ce.VSCODE_CWD,n=e&&!!Ce.ESLINT;return{isNode:e,isVSCode:t,isESLint:n}}async function Te(e,t,n={},s=[]){let r="",i="",l;const a=new Set([...Ke,...s,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([r,i]=e.split(":"),!a.has(r))return;l=await t(r,i,n)}else{const c=e.split(/-/g);for(let f=Bn;f>=1&&(r=c.slice(0,f).join("-"),!(!!a.has(r)&&(i=c.slice(f).join("-"),l=await t(r,i,n),l)));f--);}if(l)return{collection:r,name:i,svg:l}}function Gn(e){return Ye(Ht,e)}const nr=Wn(async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?Ye(t,n):n?Gn(n):Qe});function Jn(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function Me(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ke(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Le=["Webkit","Moz","ms"];function Qn(e){const t={};function n(s){const r=t[s];if(r)return r;let i=Jn(s);if(i!=="filter"&&i in e)return t[s]=ke(i);i=Me(i);for(let l=0;l<Le.length;l++){const a=`${Le[l]}${i}`;if(a in e)return t[s]=ke(Me(a))}return s}return({entries:s})=>s.forEach(r=>{r[0].startsWith("--")||(r[0]=n(r[0]))})}function Kn(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function rr(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,n=window.document,s=()=>n.documentElement,r=t.__unocss||{},i=Object.assign({},e,r.runtime),l=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(l.postprocess=k(l.postprocess)).unshift(Qn(n.createElement("div").style)),i.configResolved?.(r,l);const c=await bn(r,l),f=$=>i.inject?i.inject($):s().prepend($),o=()=>i.rootElement?i.rootElement():n.body,u=new Map;let m=!0;const p=new Set;let b,g,y=[];const R=()=>new Promise($=>{y.push($),g!=null&&clearTimeout(g),g=setTimeout(()=>A().then(()=>{const x=y;y=[],x.forEach(O=>O())}),0)});function S($,x=!1){if($.nodeType!==1)return;const O=$;O.hasAttribute(a)&&O.removeAttribute(a),x&&O.querySelectorAll(`[${a}]`).forEach(j=>{j.removeAttribute(a)})}function v($,x){let O=u.get($);if(!O)if(O=n.createElement("style"),O.setAttribute("data-unocss-runtime-layer",$),u.set($,O),x==null)f(O);else{const j=v(x),_=j.parentNode;_?_.insertBefore(O,j.nextSibling):f(O)}return O}async function A(){const $=[...p],x=await c.generate($);return x.layers.reduce((j,_)=>(v(_,j).innerHTML=x.getLayer(_)??"",_),void 0),$.filter(j=>!x.matched.has(j)).forEach(j=>p.delete(j)),{...x,getStyleElement:j=>u.get(j),getStyleElements:()=>u}}async function C($){const x=p.size;await c.applyExtractors($,void 0,p),x!==p.size&&await R()}async function d($=o()){const x=$&&$.outerHTML;x&&(await C(`${x} ${Kn(x)}`),S(s()),S($,!0))}const h=new MutationObserver($=>{m||$.forEach(async x=>{if(x.target.nodeType!==1)return;const O=x.target;for(const j of u)if(O===j[1])return;if(x.type==="childList")x.addedNodes.forEach(async j=>{if(j.nodeType!==1)return;const _=j;b&&!b(_)||(await C(_.outerHTML),S(_))});else{if(b&&!b(O))return;if(x.attributeName!==a){const j=Array.from(O.attributes).map(M=>M.value?`${M.name}="${M.value}"`:M.name).join(" "),_=`<${O.tagName.toLowerCase()} ${j}>`;await C(_)}S(O)}})});let w=!1;function E(){if(w)return;const $=i.observer?.target?i.observer.target():o();$&&(h.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),w=!0)}function L(){i.bypassDefined&&Yn(c.blocked),d(),E()}function P(){n.readyState==="loading"?t.addEventListener("DOMContentLoaded",L):L()}const I=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract($){T($)||($.forEach(x=>p.add(x)),$=""),await C($)},extractAll:d,inspect($){b=$},toggleObserver($){$===void 0?m=!m:m=!!$,!w&&!m&&P()},update:A,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(m=!1,P())}function Yn(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];let s;try{if(s=n.cssRules||n.rules,!s)continue;Array.from(s).flatMap(r=>r.selectorText?.split(/,/g)||[]).forEach(r=>{r&&(r=r.trim(),r.startsWith(".")&&(r=r.slice(1)),e.add(r))})}catch{continue}}return e}export{Ht as $,Rt as a,Pe as b,Zn as c,rt as d,tr as e,le as f,rr as g,he as h,Xn as i,er as j,nr as k,mt as p,_t as w};
@@ -32,7 +32,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
32
32
  * Licensed under the MIT license */function Xt(){return Xt=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}return r},Xt.apply(this,arguments)}function jt(r,n){r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n}function Xo(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}var Yd;typeof Object.assign!="function"?Yd=function(n){if(n==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(n),t=1;t<arguments.length;t++){var i=arguments[t];if(i!=null)for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}:Yd=Object.assign;var Si=Yd,ly=["","webkit","Moz","MS","ms","o"],SL=typeof document>"u"?{style:{}}:document.createElement("div"),OL="function",ln=Math.round,Oi=Math.abs,mf=Date.now;function Hu(r,n){for(var e,t,i=n[0].toUpperCase()+n.slice(1),a=0;a<ly.length;){if(e=ly[a],t=e?e+i:n,t in r)return t;a++}}var pr;typeof window>"u"?pr={}:pr=window;var Ww=Hu(SL.style,"touchAction"),Uw=Ww!==void 0;function TL(){if(!Uw)return!1;var r={},n=pr.CSS&&pr.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(e){return r[e]=n?pr.CSS.supports("touch-action",e):!0}),r}var Vw="compute",Gw="auto",Xd="manipulation",pi="none",Da="pan-x",Ma="pan-y",Qo=TL(),PL=/mobile|tablet|ip(ad|hone|od)|android/i,Kw="ontouchstart"in pr,IL=Hu(pr,"PointerEvent")!==void 0,kL=Kw&&PL.test(navigator.userAgent),so="touch",CL="pen",bf="mouse",xL="kinect",AL=25,st=1,Fi=2,xe=4,mt=8,qs=1,uo=2,lo=4,ho=8,On=16,ar=uo|lo,yi=ho|On,qw=ar|yi,Yw=["x","y"],Ys=["clientX","clientY"];function yr(r,n,e){var t;if(r)if(r.forEach)r.forEach(n,e);else if(r.length!==void 0)for(t=0;t<r.length;)n.call(e,r[t],t,r),t++;else for(t in r)r.hasOwnProperty(t)&&n.call(e,r[t],t,r)}function Wu(r,n){return typeof r===OL?r.apply(n&&n[0]||void 0,n):r}function hi(r,n){return r.indexOf(n)>-1}function RL(r){if(hi(r,pi))return pi;var n=hi(r,Da),e=hi(r,Ma);return n&&e?pi:n||e?n?Da:Ma:hi(r,Xd)?Xd:Gw}var Xw=function(){function r(e,t){this.manager=e,this.set(t)}var n=r.prototype;return n.set=function(t){t===Vw&&(t=this.compute()),Uw&&this.manager.element.style&&Qo[t]&&(this.manager.element.style[Ww]=t),this.actions=t.toLowerCase().trim()},n.update=function(){this.set(this.manager.options.touchAction)},n.compute=function(){var t=[];return yr(this.manager.recognizers,function(i){Wu(i.options.enable,[i])&&(t=t.concat(i.getTouchAction()))}),RL(t.join(" "))},n.preventDefaults=function(t){var i=t.srcEvent,a=t.offsetDirection;if(this.manager.session.prevented){i.preventDefault();return}var o=this.actions,s=hi(o,pi)&&!Qo[pi],u=hi(o,Ma)&&!Qo[Ma],l=hi(o,Da)&&!Qo[Da];if(s){var h=t.pointers.length===1,d=t.distance<2,c=t.deltaTime<250;if(h&&d&&c)return}if(!(l&&u)&&(s||u&&a&ar||l&&a&yi))return this.preventSrc(i)},n.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},r}();function $f(r,n){for(;r;){if(r===n)return!0;r=r.parentNode}return!1}function Qw(r){var n=r.length;if(n===1)return{x:ln(r[0].clientX),y:ln(r[0].clientY)};for(var e=0,t=0,i=0;i<n;)e+=r[i].clientX,t+=r[i].clientY,i++;return{x:ln(e/n),y:ln(t/n)}}function hy(r){for(var n=[],e=0;e<r.pointers.length;)n[e]={clientX:ln(r.pointers[e].clientX),clientY:ln(r.pointers[e].clientY)},e++;return{timeStamp:mf(),pointers:n,center:Qw(n),deltaX:r.deltaX,deltaY:r.deltaY}}function Xs(r,n,e){e||(e=Yw);var t=n[e[0]]-r[e[0]],i=n[e[1]]-r[e[1]];return Math.sqrt(t*t+i*i)}function Qd(r,n,e){e||(e=Yw);var t=n[e[0]]-r[e[0]],i=n[e[1]]-r[e[1]];return Math.atan2(i,t)*180/Math.PI}function Jw(r,n){return r===n?qs:Oi(r)>=Oi(n)?r<0?uo:lo:n<0?ho:On}function DL(r,n){var e=n.center,t=r.offsetDelta||{},i=r.prevDelta||{},a=r.prevInput||{};(n.eventType===st||a.eventType===xe)&&(i=r.prevDelta={x:a.deltaX||0,y:a.deltaY||0},t=r.offsetDelta={x:e.x,y:e.y}),n.deltaX=i.x+(e.x-t.x),n.deltaY=i.y+(e.y-t.y)}function Zw(r,n,e){return{x:n/r||0,y:e/r||0}}function ML(r,n){return Xs(n[0],n[1],Ys)/Xs(r[0],r[1],Ys)}function NL(r,n){return Qd(n[1],n[0],Ys)+Qd(r[1],r[0],Ys)}function FL(r,n){var e=r.lastInterval||n,t=n.timeStamp-e.timeStamp,i,a,o,s;if(n.eventType!==mt&&(t>AL||e.velocity===void 0)){var u=n.deltaX-e.deltaX,l=n.deltaY-e.deltaY,h=Zw(t,u,l);a=h.x,o=h.y,i=Oi(h.x)>Oi(h.y)?h.x:h.y,s=Jw(u,l),r.lastInterval=n}else i=e.velocity,a=e.velocityX,o=e.velocityY,s=e.direction;n.velocity=i,n.velocityX=a,n.velocityY=o,n.direction=s}function BL(r,n){var e=r.session,t=n.pointers,i=t.length;e.firstInput||(e.firstInput=hy(n)),i>1&&!e.firstMultiple?e.firstMultiple=hy(n):i===1&&(e.firstMultiple=!1);var a=e.firstInput,o=e.firstMultiple,s=o?o.center:a.center,u=n.center=Qw(t);n.timeStamp=mf(),n.deltaTime=n.timeStamp-a.timeStamp,n.angle=Qd(s,u),n.distance=Xs(s,u),DL(e,n),n.offsetDirection=Jw(n.deltaX,n.deltaY);var l=Zw(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=l.x,n.overallVelocityY=l.y,n.overallVelocity=Oi(l.x)>Oi(l.y)?l.x:l.y,n.scale=o?ML(o.pointers,t):1,n.rotation=o?NL(o.pointers,t):0,n.maxPointers=e.prevInput?n.pointers.length>e.prevInput.maxPointers?n.pointers.length:e.prevInput.maxPointers:n.pointers.length,FL(e,n);var h=r.element,d=n.srcEvent,c;d.composedPath?c=d.composedPath()[0]:d.path?c=d.path[0]:c=d.target,$f(c,h)&&(h=c),n.target=h}function LL(r,n,e){var t=e.pointers.length,i=e.changedPointers.length,a=n&st&&t-i===0,o=n&(xe|mt)&&t-i===0;e.isFirst=!!a,e.isFinal=!!o,a&&(r.session={}),e.eventType=n,BL(r,e),r.emit("hammer.input",e),r.recognize(e),r.session.prevInput=e}function Na(r){return r.trim().split(/\s+/g)}function $a(r,n,e){yr(Na(n),function(t){r.addEventListener(t,e,!1)})}function wa(r,n,e){yr(Na(n),function(t){r.removeEventListener(t,e,!1)})}function dy(r){var n=r.ownerDocument||r;return n.defaultView||n.parentWindow||window}var Kn=function(){function r(e,t){var i=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(a){Wu(e.options.enable,[e])&&i.handler(a)},this.init()}var n=r.prototype;return n.handler=function(){},n.init=function(){this.evEl&&$a(this.element,this.evEl,this.domHandler),this.evTarget&&$a(this.target,this.evTarget,this.domHandler),this.evWin&&$a(dy(this.element),this.evWin,this.domHandler)},n.destroy=function(){this.evEl&&wa(this.element,this.evEl,this.domHandler),this.evTarget&&wa(this.target,this.evTarget,this.domHandler),this.evWin&&wa(dy(this.element),this.evWin,this.domHandler)},r}();function Ti(r,n,e){if(r.indexOf&&!e)return r.indexOf(n);for(var t=0;t<r.length;){if(e&&r[t][e]==n||!e&&r[t]===n)return t;t++}return-1}var jL={pointerdown:st,pointermove:Fi,pointerup:xe,pointercancel:mt,pointerout:mt},zL={2:so,3:CL,4:bf,5:xL},e0="pointerdown",t0="pointermove pointerup pointercancel";pr.MSPointerEvent&&!pr.PointerEvent&&(e0="MSPointerDown",t0="MSPointerMove MSPointerUp MSPointerCancel");var r0=function(r){jt(n,r);function n(){var t,i=n.prototype;return i.evEl=e0,i.evWin=t0,t=r.apply(this,arguments)||this,t.store=t.manager.session.pointerEvents=[],t}var e=n.prototype;return e.handler=function(i){var a=this.store,o=!1,s=i.type.toLowerCase().replace("ms",""),u=jL[s],l=zL[i.pointerType]||i.pointerType,h=l===so,d=Ti(a,i.pointerId,"pointerId");u&st&&(i.button===0||h)?d<0&&(a.push(i),d=a.length-1):u&(xe|mt)&&(o=!0),!(d<0)&&(a[d]=i,this.callback(this.manager,u,{pointers:a,changedPointers:[i],pointerType:l,srcEvent:i}),o&&a.splice(d,1))},n}(Kn);function Fa(r){return Array.prototype.slice.call(r,0)}function wf(r,n,e){for(var t=[],i=[],a=0;a<r.length;){var o=n?r[a][n]:r[a];Ti(i,o)<0&&t.push(r[a]),i[a]=o,a++}return e&&(n?t=t.sort(function(s,u){return s[n]>u[n]}):t=t.sort()),t}var HL={touchstart:st,touchmove:Fi,touchend:xe,touchcancel:mt},WL="touchstart touchmove touchend touchcancel",_f=function(r){jt(n,r);function n(){var t;return n.prototype.evTarget=WL,t=r.apply(this,arguments)||this,t.targetIds={},t}var e=n.prototype;return e.handler=function(i){var a=HL[i.type],o=UL.call(this,i,a);o&&this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:so,srcEvent:i})},n}(Kn);function UL(r,n){var e=Fa(r.touches),t=this.targetIds;if(n&(st|Fi)&&e.length===1)return t[e[0].identifier]=!0,[e,e];var i,a,o=Fa(r.changedTouches),s=[],u=this.target;if(a=e.filter(function(l){return $f(l.target,u)}),n===st)for(i=0;i<a.length;)t[a[i].identifier]=!0,i++;for(i=0;i<o.length;)t[o[i].identifier]&&s.push(o[i]),n&(xe|mt)&&delete t[o[i].identifier],i++;if(s.length)return[wf(a.concat(s),"identifier",!0),s]}var VL={mousedown:st,mousemove:Fi,mouseup:xe},GL="mousedown",KL="mousemove mouseup",Ef=function(r){jt(n,r);function n(){var t,i=n.prototype;return i.evEl=GL,i.evWin=KL,t=r.apply(this,arguments)||this,t.pressed=!1,t}var e=n.prototype;return e.handler=function(i){var a=VL[i.type];a&st&&i.button===0&&(this.pressed=!0),a&Fi&&i.which!==1&&(a=xe),this.pressed&&(a&xe&&(this.pressed=!1),this.callback(this.manager,a,{pointers:[i],changedPointers:[i],pointerType:bf,srcEvent:i}))},n}(Kn),qL=2500,cy=25;function fy(r){var n=r.changedPointers,e=n[0];if(e.identifier===this.primaryTouch){var t={x:e.clientX,y:e.clientY},i=this.lastTouches;this.lastTouches.push(t);var a=function(){var s=i.indexOf(t);s>-1&&i.splice(s,1)};setTimeout(a,qL)}}function YL(r,n){r&st?(this.primaryTouch=n.changedPointers[0].identifier,fy.call(this,n)):r&(xe|mt)&&fy.call(this,n)}function XL(r){for(var n=r.srcEvent.clientX,e=r.srcEvent.clientY,t=0;t<this.lastTouches.length;t++){var i=this.lastTouches[t],a=Math.abs(n-i.x),o=Math.abs(e-i.y);if(a<=cy&&o<=cy)return!0}return!1}var i0=function(){var r=function(n){jt(e,n);function e(i,a){var o;return o=n.call(this,i,a)||this,o.handler=function(s,u,l){var h=l.pointerType===so,d=l.pointerType===bf;if(!(d&&l.sourceCapabilities&&l.sourceCapabilities.firesTouchEvents)){if(h)YL.call(Xo(Xo(o)),u,l);else if(d&&XL.call(Xo(Xo(o)),l))return;o.callback(s,u,l)}},o.touch=new _f(o.manager,o.handler),o.mouse=new Ef(o.manager,o.handler),o.primaryTouch=null,o.lastTouches=[],o}var t=e.prototype;return t.destroy=function(){this.touch.destroy(),this.mouse.destroy()},e}(Kn);return r}();function QL(r){var n,e=r.options.inputClass;return e?n=e:IL?n=r0:kL?n=_f:Kw?n=i0:n=Ef,new n(r,LL)}function hn(r,n,e){return Array.isArray(r)?(yr(r,e[n],e),!0):!1}var Is=1,Bt=2,Tn=4,Hr=8,gr=Hr,Ba=16,rr=32,JL=1;function ZL(){return JL++}function Jo(r,n){var e=n.manager;return e?e.get(r):r}function vy(r){return r&Ba?"cancel":r&Hr?"end":r&Tn?"move":r&Bt?"start":""}var co=function(){function r(e){e===void 0&&(e={}),this.options=Xt({enable:!0},e),this.id=ZL(),this.manager=null,this.state=Is,this.simultaneous={},this.requireFail=[]}var n=r.prototype;return n.set=function(t){return Si(this.options,t),this.manager&&this.manager.touchAction.update(),this},n.recognizeWith=function(t){if(hn(t,"recognizeWith",this))return this;var i=this.simultaneous;return t=Jo(t,this),i[t.id]||(i[t.id]=t,t.recognizeWith(this)),this},n.dropRecognizeWith=function(t){return hn(t,"dropRecognizeWith",this)?this:(t=Jo(t,this),delete this.simultaneous[t.id],this)},n.requireFailure=function(t){if(hn(t,"requireFailure",this))return this;var i=this.requireFail;return t=Jo(t,this),Ti(i,t)===-1&&(i.push(t),t.requireFailure(this)),this},n.dropRequireFailure=function(t){if(hn(t,"dropRequireFailure",this))return this;t=Jo(t,this);var i=Ti(this.requireFail,t);return i>-1&&this.requireFail.splice(i,1),this},n.hasRequireFailures=function(){return this.requireFail.length>0},n.canRecognizeWith=function(t){return!!this.simultaneous[t.id]},n.emit=function(t){var i=this,a=this.state;function o(s){i.manager.emit(s,t)}a<Hr&&o(i.options.event+vy(a)),o(i.options.event),t.additionalEvent&&o(t.additionalEvent),a>=Hr&&o(i.options.event+vy(a))},n.tryEmit=function(t){if(this.canEmit())return this.emit(t);this.state=rr},n.canEmit=function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(rr|Is)))return!1;t++}return!0},n.recognize=function(t){var i=Si({},t);if(!Wu(this.options.enable,[this,i])){this.reset(),this.state=rr;return}this.state&(gr|Ba|rr)&&(this.state=Is),this.state=this.process(i),this.state&(Bt|Tn|Hr|Ba)&&this.tryEmit(i)},n.process=function(t){},n.getTouchAction=function(){},n.reset=function(){},r}(),Jd=function(r){jt(n,r);function n(t){var i;return t===void 0&&(t={}),i=r.call(this,Xt({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},t))||this,i.pTime=!1,i.pCenter=!1,i._timer=null,i._input=null,i.count=0,i}var e=n.prototype;return e.getTouchAction=function(){return[Xd]},e.process=function(i){var a=this,o=this.options,s=i.pointers.length===o.pointers,u=i.distance<o.threshold,l=i.deltaTime<o.time;if(this.reset(),i.eventType&st&&this.count===0)return this.failTimeout();if(u&&l&&s){if(i.eventType!==xe)return this.failTimeout();var h=this.pTime?i.timeStamp-this.pTime<o.interval:!0,d=!this.pCenter||Xs(this.pCenter,i.center)<o.posThreshold;this.pTime=i.timeStamp,this.pCenter=i.center,!d||!h?this.count=1:this.count+=1,this._input=i;var c=this.count%o.taps;if(c===0)return this.hasRequireFailures()?(this._timer=setTimeout(function(){a.state=gr,a.tryEmit()},o.interval),Bt):gr}return rr},e.failTimeout=function(){var i=this;return this._timer=setTimeout(function(){i.state=rr},this.options.interval),rr},e.reset=function(){clearTimeout(this._timer)},e.emit=function(){this.state===gr&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},n}(co),Pn=function(r){jt(n,r);function n(t){return t===void 0&&(t={}),r.call(this,Xt({pointers:1},t))||this}var e=n.prototype;return e.attrTest=function(i){var a=this.options.pointers;return a===0||i.pointers.length===a},e.process=function(i){var a=this.state,o=i.eventType,s=a&(Bt|Tn),u=this.attrTest(i);return s&&(o&mt||!u)?a|Ba:s||u?o&xe?a|Hr:a&Bt?a|Tn:Bt:rr},n}(co);function n0(r){return r===On?"down":r===ho?"up":r===uo?"left":r===lo?"right":""}var Sf=function(r){jt(n,r);function n(t){var i;return t===void 0&&(t={}),i=r.call(this,Xt({event:"pan",threshold:10,pointers:1,direction:qw},t))||this,i.pX=null,i.pY=null,i}var e=n.prototype;return e.getTouchAction=function(){var i=this.options.direction,a=[];return i&ar&&a.push(Ma),i&yi&&a.push(Da),a},e.directionTest=function(i){var a=this.options,o=!0,s=i.distance,u=i.direction,l=i.deltaX,h=i.deltaY;return u&a.direction||(a.direction&ar?(u=l===0?qs:l<0?uo:lo,o=l!==this.pX,s=Math.abs(i.deltaX)):(u=h===0?qs:h<0?ho:On,o=h!==this.pY,s=Math.abs(i.deltaY))),i.direction=u,o&&s>a.threshold&&u&a.direction},e.attrTest=function(i){return Pn.prototype.attrTest.call(this,i)&&(this.state&Bt||!(this.state&Bt)&&this.directionTest(i))},e.emit=function(i){this.pX=i.deltaX,this.pY=i.deltaY;var a=n0(i.direction);a&&(i.additionalEvent=this.options.event+a),r.prototype.emit.call(this,i)},n}(Pn),a0=function(r){jt(n,r);function n(t){return t===void 0&&(t={}),r.call(this,Xt({event:"swipe",threshold:10,velocity:.3,direction:ar|yi,pointers:1},t))||this}var e=n.prototype;return e.getTouchAction=function(){return Sf.prototype.getTouchAction.call(this)},e.attrTest=function(i){var a=this.options.direction,o;return a&(ar|yi)?o=i.overallVelocity:a&ar?o=i.overallVelocityX:a&yi&&(o=i.overallVelocityY),r.prototype.attrTest.call(this,i)&&a&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers===this.options.pointers&&Oi(o)>this.options.velocity&&i.eventType&xe},e.emit=function(i){var a=n0(i.offsetDirection);a&&this.manager.emit(this.options.event+a,i),this.manager.emit(this.options.event,i)},n}(Pn),o0=function(r){jt(n,r);function n(t){return t===void 0&&(t={}),r.call(this,Xt({event:"pinch",threshold:0,pointers:2},t))||this}var e=n.prototype;return e.getTouchAction=function(){return[pi]},e.attrTest=function(i){return r.prototype.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||this.state&Bt)},e.emit=function(i){if(i.scale!==1){var a=i.scale<1?"in":"out";i.additionalEvent=this.options.event+a}r.prototype.emit.call(this,i)},n}(Pn),s0=function(r){jt(n,r);function n(t){return t===void 0&&(t={}),r.call(this,Xt({event:"rotate",threshold:0,pointers:2},t))||this}var e=n.prototype;return e.getTouchAction=function(){return[pi]},e.attrTest=function(i){return r.prototype.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||this.state&Bt)},n}(Pn),u0=function(r){jt(n,r);function n(t){var i;return t===void 0&&(t={}),i=r.call(this,Xt({event:"press",pointers:1,time:251,threshold:9},t))||this,i._timer=null,i._input=null,i}var e=n.prototype;return e.getTouchAction=function(){return[Gw]},e.process=function(i){var a=this,o=this.options,s=i.pointers.length===o.pointers,u=i.distance<o.threshold,l=i.deltaTime>o.time;if(this._input=i,!u||!s||i.eventType&(xe|mt)&&!l)this.reset();else if(i.eventType&st)this.reset(),this._timer=setTimeout(function(){a.state=gr,a.tryEmit()},o.time);else if(i.eventType&xe)return gr;return rr},e.reset=function(){clearTimeout(this._timer)},e.emit=function(i){this.state===gr&&(i&&i.eventType&xe?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=mf(),this.manager.emit(this.options.event,this._input)))},n}(co),l0={domEvents:!1,touchAction:Vw,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},py=[[s0,{enable:!1}],[o0,{enable:!1},["rotate"]],[a0,{direction:ar}],[Sf,{direction:ar},["swipe"]],[Jd],[Jd,{event:"doubletap",taps:2},["tap"]],[u0]],ej=1,yy=2;function gy(r,n){var e=r.element;if(e.style){var t;yr(r.options.cssProps,function(i,a){t=Hu(e.style,a),n?(r.oldCssProps[t]=e.style[t],e.style[t]=i):e.style[t]=r.oldCssProps[t]||""}),n||(r.oldCssProps={})}}function tj(r,n){var e=document.createEvent("Event");e.initEvent(r,!0,!0),e.gesture=n,n.target.dispatchEvent(e)}var my=function(){function r(e,t){var i=this;this.options=Si({},l0,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=QL(this),this.touchAction=new Xw(this,this.options.touchAction),gy(this,!0),yr(this.options.recognizers,function(a){var o=i.add(new a[0](a[1]));a[2]&&o.recognizeWith(a[2]),a[3]&&o.requireFailure(a[3])},this)}var n=r.prototype;return n.set=function(t){return Si(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},n.stop=function(t){this.session.stopped=t?yy:ej},n.recognize=function(t){var i=this.session;if(!i.stopped){this.touchAction.preventDefaults(t);var a,o=this.recognizers,s=i.curRecognizer;(!s||s&&s.state&gr)&&(i.curRecognizer=null,s=null);for(var u=0;u<o.length;)a=o[u],i.stopped!==yy&&(!s||a===s||a.canRecognizeWith(s))?a.recognize(t):a.reset(),!s&&a.state&(Bt|Tn|Hr)&&(i.curRecognizer=a,s=a),u++}},n.get=function(t){if(t instanceof co)return t;for(var i=this.recognizers,a=0;a<i.length;a++)if(i[a].options.event===t)return i[a];return null},n.add=function(t){if(hn(t,"add",this))return this;var i=this.get(t.options.event);return i&&this.remove(i),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},n.remove=function(t){if(hn(t,"remove",this))return this;var i=this.get(t);if(t){var a=this.recognizers,o=Ti(a,i);o!==-1&&(a.splice(o,1),this.touchAction.update())}return this},n.on=function(t,i){if(t===void 0||i===void 0)return this;var a=this.handlers;return yr(Na(t),function(o){a[o]=a[o]||[],a[o].push(i)}),this},n.off=function(t,i){if(t===void 0)return this;var a=this.handlers;return yr(Na(t),function(o){i?a[o]&&a[o].splice(Ti(a[o],i),1):delete a[o]}),this},n.emit=function(t,i){this.options.domEvents&&tj(t,i);var a=this.handlers[t]&&this.handlers[t].slice();if(!(!a||!a.length)){i.type=t,i.preventDefault=function(){i.srcEvent.preventDefault()};for(var o=0;o<a.length;)a[o](i),o++}},n.destroy=function(){this.element&&gy(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},r}(),rj={touchstart:st,touchmove:Fi,touchend:xe,touchcancel:mt},ij="touchstart",nj="touchstart touchmove touchend touchcancel",aj=function(r){jt(n,r);function n(){var t,i=n.prototype;return i.evTarget=ij,i.evWin=nj,t=r.apply(this,arguments)||this,t.started=!1,t}var e=n.prototype;return e.handler=function(i){var a=rj[i.type];if(a===st&&(this.started=!0),!!this.started){var o=oj.call(this,i,a);a&(xe|mt)&&o[0].length-o[1].length===0&&(this.started=!1),this.callback(this.manager,a,{pointers:o[0],changedPointers:o[1],pointerType:so,srcEvent:i})}},n}(Kn);function oj(r,n){var e=Fa(r.touches),t=Fa(r.changedTouches);return n&(xe|mt)&&(e=wf(e.concat(t),"identifier",!0)),[e,t]}function h0(r,n,e){var t="DEPRECATED METHOD: "+n+`
33
33
  `+e+` AT
34
34
  `;return function(){var i=new Error("get-stack-trace"),a=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=window.console&&(window.console.warn||window.console.log);return o&&o.call(window.console,t,a),r.apply(this,arguments)}}var d0=h0(function(r,n,e){for(var t=Object.keys(n),i=0;i<t.length;)(!e||e&&r[t[i]]===void 0)&&(r[t[i]]=n[t[i]]),i++;return r},"extend","Use `assign`."),sj=h0(function(r,n){return d0(r,n,!0)},"merge","Use `assign`.");function uj(r,n,e){var t=n.prototype,i;i=r.prototype=Object.create(t),i.constructor=r,i._super=t,e&&Si(i,e)}function by(r,n){return function(){return r.apply(n,arguments)}}var lj=function(){var r=function(e,t){return t===void 0&&(t={}),new my(e,Xt({recognizers:py.concat()},t))};return r.VERSION="2.0.17-rc",r.DIRECTION_ALL=qw,r.DIRECTION_DOWN=On,r.DIRECTION_LEFT=uo,r.DIRECTION_RIGHT=lo,r.DIRECTION_UP=ho,r.DIRECTION_HORIZONTAL=ar,r.DIRECTION_VERTICAL=yi,r.DIRECTION_NONE=qs,r.DIRECTION_DOWN=On,r.INPUT_START=st,r.INPUT_MOVE=Fi,r.INPUT_END=xe,r.INPUT_CANCEL=mt,r.STATE_POSSIBLE=Is,r.STATE_BEGAN=Bt,r.STATE_CHANGED=Tn,r.STATE_ENDED=Hr,r.STATE_RECOGNIZED=gr,r.STATE_CANCELLED=Ba,r.STATE_FAILED=rr,r.Manager=my,r.Input=Kn,r.TouchAction=Xw,r.TouchInput=_f,r.MouseInput=Ef,r.PointerEventInput=r0,r.TouchMouseInput=i0,r.SingleTouchInput=aj,r.Recognizer=co,r.AttrRecognizer=Pn,r.Tap=Jd,r.Pan=Sf,r.Swipe=a0,r.Pinch=o0,r.Rotate=s0,r.Press=u0,r.on=$a,r.off=wa,r.each=yr,r.merge=sj,r.extend=d0,r.bindFn=by,r.assign=Si,r.inherit=uj,r.bindFn=by,r.prefixed=Hu,r.toArray=Fa,r.inArray=Ti,r.uniqueArray=wf,r.splitStr=Na,r.boolOrFn=Wu,r.hasParent=$f,r.addEventListeners=$a,r.removeEventListeners=wa,r.defaults=Si({},l0,{preset:py}),r}(),hj=lj;function c0(r,n){var e=typeof Lu<"u"&&pf(r)||r["@@iterator"];if(!e){if(It(r)||(e=dj(r))||n){e&&(r=e);var t=0,i=function(){};return{s:i,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
35
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(r)},n:function(){var l=e.next();return a=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function dj(r,n){var e;if(r){if(typeof r=="string")return $y(r,n);var t=zu(e=Object.prototype.toString.call(r)).call(e,8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return vf(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $y(r,n)}}function $y(r,n){(n==null||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}var f0=Lu("DELETE");function cj(r){for(var n,e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];return v0.apply(void 0,ju(n=[{},r]).call(n,t))}function v0(){var r=Qs.apply(void 0,arguments);return y0(r),r}function Qs(){for(var r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=arguments[e];if(n.length<2)return n[0];if(n.length>2){var t;return Qs.apply(void 0,ju(t=[v0(n[0],n[1])]).call(t,pt(zu(n).call(n,2))))}var i=n[0],a=n[1];if(i instanceof Date&&a instanceof Date)return i.setTime(a.getTime()),i;var o=c0(cF(a)),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;Object.prototype.propertyIsEnumerable.call(a,u)&&(a[u]===f0?delete i[u]:i[u]!==null&&a[u]!==null&&typeof i[u]=="object"&&typeof a[u]=="object"&&!It(i[u])&&!It(a[u])?i[u]=Qs(i[u],a[u]):i[u]=p0(a[u]))}}catch(l){o.e(l)}finally{o.f()}return i}function p0(r){return It(r)?Vt(r).call(r,function(n){return p0(n)}):typeof r=="object"&&r!==null?r instanceof Date?new Date(r.getTime()):Qs({},r):r}function y0(r){for(var n=0,e=gf(r);n<e.length;n++){var t=e[n];r[t]===f0?delete r[t]:typeof r[t]=="object"&&r[t]!==null&&y0(r[t])}}function fj(){var r=function(){};return{on:r,off:r,destroy:r,emit:r,get(){return{set:r}}}}var vj=typeof window<"u"?window.Hammer||hj:function(){return fj()};function fr(r){var n=this,e;this._cleanupQueue=[],this.active=!1,this._dom={container:r,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){n._dom.overlay.parentNode.removeChild(n._dom.overlay)});var t=vj(this._dom.overlay);t.on("tap",cw(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push(function(){t.destroy()});var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Ei(i).call(i,function(a){t.on(a,function(o){o.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(a){pj(a.target,r)||n.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",n._onClick)})),this._escListener=function(a){("key"in a?a.key==="Escape":a.keyCode===27)&&n.deactivate()}}EL(fr.prototype);fr.current=null;fr.prototype.destroy=function(){var r,n;this.deactivate();var e=c0(YF(r=Dw(n=this._cleanupQueue).call(n,0)).call(r)),t;try{for(e.s();!(t=e.n()).done;){var i=t.value;i()}}catch(a){e.e(a)}finally{e.f()}};fr.prototype.activate=function(){fr.current&&fr.current.deactivate(),fr.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)};fr.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")};fr.prototype._onTapOverlay=function(r){this.activate(),r.srcEvent.stopPropagation()};function pj(r,n){for(;r;){if(r===n)return!0;r=r.parentNode}return!1}var yj=Su,gj=jn,mj=TypeError,g0=function(r){if(yj(r))return r;throw new mj(gj(r)+" is not a constructor")},bj=H,$j=lt,ah=Nn,wj=hw,wy=g0,_j=Ct,_y=Xe,Ej=Mi,m0=ne,Of=$j("Reflect","construct"),Sj=Object.prototype,Oj=[].push,b0=m0(function(){function r(){}return!(Of(function(){},[],r)instanceof r)}),$0=!m0(function(){Of(function(){})}),Ey=b0||$0;bj({target:"Reflect",stat:!0,forced:Ey,sham:Ey},{construct:function(n,e){wy(n),_j(e);var t=arguments.length<3?n:wy(arguments[2]);if($0&&!b0)return Of(n,e,t);if(n===t){switch(e.length){case 0:return new n;case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3])}var i=[null];return ah(Oj,i,e),new(ah(wj,n,i))}var a=t.prototype,o=Ej(_y(a)?a:Sj),s=ah(n,o,e);return _y(s)?s:o}});var Tj=pe,Pj=Tj.Reflect.construct,Ij=Pj,kj=Ij,Cj=kj,ks=G(Cj),xj=pe,Aj=xj.Object.getOwnPropertySymbols,Rj=Aj,Dj=Rj,Mj=Dj,Sy=G(Mj),w0={exports:{}},Nj=H,Fj=ne,Bj=ur,_0=Ai.f,E0=Le,Lj=!E0||Fj(function(){_0(1)});Nj({target:"Object",stat:!0,forced:Lj,sham:!E0},{getOwnPropertyDescriptor:function(n,e){return _0(Bj(n),e)}});var jj=pe,S0=jj.Object,zj=w0.exports=function(n,e){return S0.getOwnPropertyDescriptor(n,e)};S0.getOwnPropertyDescriptor.sham&&(zj.sham=!0);var Hj=w0.exports,Wj=Hj,Uj=Wj,Vj=Uj,O0=G(Vj),Gj=H,Kj=Le,qj=yf,Yj=ur,Xj=Ai,Qj=Hn;Gj({target:"Object",stat:!0,sham:!Kj},{getOwnPropertyDescriptors:function(n){for(var e=Yj(n),t=Xj.f,i=qj(e),a={},o=0,s,u;i.length>o;)u=t(e,s=i[o++]),u!==void 0&&Qj(a,s,u);return a}});var Jj=pe,Zj=Jj.Object.getOwnPropertyDescriptors,ez=Zj,tz=ez,rz=tz,Oy=G(rz),T0={exports:{}},iz=H,nz=Le,Ty=Tu.f;iz({target:"Object",stat:!0,forced:Object.defineProperties!==Ty,sham:!nz},{defineProperties:Ty});var az=pe,P0=az.Object,oz=T0.exports=function(n,e){return P0.defineProperties(n,e)};P0.defineProperties.sham&&(oz.sham=!0);var sz=T0.exports,uz=sz,lz=uz,hz=lz,dz=G(hz),cz=a1,fz=G(cz);function I0(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}var vz=Nw,pz=vz,yz=pz,gz=yz,k0=gz,mz=G(k0),bz=H,$z=Y1;bz({target:"Object",stat:!0},{setPrototypeOf:$z});var wz=pe,_z=wz.Object.setPrototypeOf,Ez=_z,Sz=Ez,Oz=Sz,Tz=Oz,Pz=Tz,Iz=Pz,C0=Iz,Zd=G(C0),kz=dw,Cz=kz,xz=Cz,Az=xz,Rz=Az,x0=G(Rz);function ec(r,n){var e;return ec=Zd?x0(e=Zd).call(e):function(i,a){return i.__proto__=a,i},ec(r,n)}function Dz(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=mz(n&&n.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),wu(r,"prototype",{writable:!1}),n&&ec(r,n)}function Mz(r,n){if(n&&(Sn(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return I0(r)}var Nz=HB,Fz=Nz,Bz=Fz,Lz=Bz,A0=Lz,Py=G(A0);function Js(r){var n;return Js=Zd?x0(n=Py).call(n):function(t){return t.__proto__||Py(t)},Js(r)}var R0={exports:{}},D0={exports:{}};(function(r){var n=df,e=ow;function t(i){"@babel/helpers - typeof";return r.exports=t=typeof n=="function"&&typeof e=="symbol"?function(a){return typeof a}:function(a){return a&&typeof n=="function"&&a.constructor===n&&a!==n.prototype?"symbol":typeof a},r.exports.__esModule=!0,r.exports.default=r.exports,t(i)}r.exports=t,r.exports.__esModule=!0,r.exports.default=r.exports})(D0);var jz=D0.exports,zz=xw,Hz=zz,Wz=Hz,Uz=Wz,Vz=Uz,Iy=Me,Gz=yf,Kz=Ai,qz=_t,Yz=function(r,n,e){for(var t=Gz(n),i=qz.f,a=Kz.f,o=0;o<t.length;o++){var s=t[o];!Iy(r,s)&&!(e&&Iy(e,s))&&i(r,s,a(n,s))}},Xz=Xe,Qz=Pr,Jz=function(r,n){Xz(n)&&"cause"in n&&Qz(r,"cause",n.cause)},Zz=fe,M0=Error,e3=Zz("".replace),t3=function(r){return String(new M0(r).stack)}("zxcasd"),N0=/\n\s*at [^:]*:[^\n]*/,r3=N0.test(t3),i3=function(r,n){if(r3&&typeof r=="string"&&!M0.prepareStackTrace)for(;n--;)r=e3(r,N0,"");return r},n3=ne,a3=Ri,o3=!n3(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",a3(1,7)),r.stack!==7):!0}),s3=Pr,u3=i3,l3=o3,ky=Error.captureStackTrace,h3=function(r,n,e,t){l3&&(ky?ky(r,n):s3(r,"stack",u3(e,t)))},d3=Zr,c3=je,f3=Ct,v3=jn,p3=pw,y3=xt,Cy=De,g3=ff,m3=Bu,xy=vw,b3=TypeError,Cs=function(r,n){this.stopped=r,this.result=n},Ay=Cs.prototype,Bi=function(r,n,e){var t=e&&e.that,i=!!(e&&e.AS_ENTRIES),a=!!(e&&e.IS_RECORD),o=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),u=d3(n,t),l,h,d,c,f,v,p,y=function(m){return l&&xy(l,"normal",m),new Cs(!0,m)},g=function(m){return i?(f3(m),s?u(m[0],m[1],y):u(m[0],m[1])):s?u(m,y):u(m)};if(a)l=r.iterator;else if(o)l=r;else{if(h=m3(r),!h)throw new b3(v3(r)+" is not iterable");if(p3(h)){for(d=0,c=y3(r);c>d;d++)if(f=g(r[d]),f&&Cy(Ay,f))return f;return new Cs(!1)}l=g3(r,h)}for(v=a?r.next:l.next;!(p=c3(v,l)).done;){try{f=g(p.value)}catch(m){xy(l,"throw",m)}if(typeof f=="object"&&f&&Cy(Ay,f))return f}return new Cs(!1)},$3=Di,w3=function(r,n){return r===void 0?arguments.length<2?"":n:$3(r)},_3=H,E3=De,S3=Mu,Zs=Y1,O3=Yz,F0=Mi,oh=Pr,sh=Ri,T3=Jz,P3=h3,I3=Bi,k3=w3,C3=ge,x3=C3("toStringTag"),eu=Error,A3=[].push,In=function(n,e){var t=E3(uh,this),i;Zs?i=Zs(new eu,t?S3(this):uh):(i=t?this:F0(uh),oh(i,x3,"Error")),e!==void 0&&oh(i,"message",k3(e)),P3(i,In,i.stack,1),arguments.length>2&&T3(i,arguments[2]);var a=[];return I3(n,A3,{that:a}),oh(i,"errors",a),i};Zs?Zs(In,eu):O3(In,eu,{name:!0});var uh=In.prototype=F0(eu.prototype,{constructor:sh(1,In),message:sh(1,""),name:sh(1,"AggregateError")});_3({global:!0,constructor:!0,arity:2},{AggregateError:In});var R3=lt,D3=tf,M3=ge,N3=Le,Ry=M3("species"),B0=function(r){var n=R3(r);N3&&n&&!n[Ry]&&D3(n,Ry,{configurable:!0,get:function(){return this}})},F3=De,B3=TypeError,Tf=function(r,n){if(F3(n,r))return r;throw new B3("Incorrect invocation")},Dy=Ct,L3=g0,j3=Fn,z3=ge,H3=z3("species"),L0=function(r,n){var e=Dy(r).constructor,t;return e===void 0||j3(t=Dy(e)[H3])?n:L3(t)},W3=Jr,j0=/(?:ipad|iphone|ipod).*applewebkit/i.test(W3),kt=ve,U3=Nn,V3=Zr,My=$e,G3=Me,z0=ne,Ny=p1,K3=no,Fy=Xc,q3=Fw,Y3=j0,X3=oo,tc=kt.setImmediate,rc=kt.clearImmediate,Q3=kt.process,lh=kt.Dispatch,J3=kt.Function,By=kt.MessageChannel,Z3=kt.String,hh=0,_a={},Ly="onreadystatechange",La,si,dh,ch;z0(function(){La=kt.location});var Pf=function(r){if(G3(_a,r)){var n=_a[r];delete _a[r],n()}},fh=function(r){return function(){Pf(r)}},jy=function(r){Pf(r.data)},zy=function(r){kt.postMessage(Z3(r),La.protocol+"//"+La.host)};(!tc||!rc)&&(tc=function(n){q3(arguments.length,1);var e=My(n)?n:J3(n),t=K3(arguments,1);return _a[++hh]=function(){U3(e,void 0,t)},si(hh),hh},rc=function(n){delete _a[n]},X3?si=function(r){Q3.nextTick(fh(r))}:lh&&lh.now?si=function(r){lh.now(fh(r))}:By&&!Y3?(dh=new By,ch=dh.port2,dh.port1.onmessage=jy,si=V3(ch.postMessage,ch)):kt.addEventListener&&My(kt.postMessage)&&!kt.importScripts&&La&&La.protocol!=="file:"&&!z0(zy)?(si=zy,kt.addEventListener("message",jy,!1)):Ly in Fy("script")?si=function(r){Ny.appendChild(Fy("script"))[Ly]=function(){Ny.removeChild(this),Pf(r)}}:si=function(r){setTimeout(fh(r),0)});var H0={set:tc,clear:rc},W0=function(){this.head=null,this.tail=null};W0.prototype={add:function(r){var n={item:r,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var r=this.head;if(r){var n=this.head=r.next;return n===null&&(this.tail=null),r.item}}};var U0=W0,e5=Jr,t5=/ipad|iphone|ipod/i.test(e5)&&typeof Pebble<"u",r5=Jr,i5=/web0s(?!.*chrome)/i.test(r5),Pi=ve,Hy=Zr,n5=Ai.f,vh=H0.set,a5=U0,o5=j0,s5=t5,u5=i5,ph=oo,Wy=Pi.MutationObserver||Pi.WebKitMutationObserver,Uy=Pi.document,Vy=Pi.process,Zo=Pi.Promise,Gy=n5(Pi,"queueMicrotask"),ic=Gy&&Gy.value,Qi,yh,gh,es,Ky;if(!ic){var ts=new a5,rs=function(){var r,n;for(ph&&(r=Vy.domain)&&r.exit();n=ts.get();)try{n()}catch(e){throw ts.head&&Qi(),e}r&&r.enter()};!o5&&!ph&&!u5&&Wy&&Uy?(yh=!0,gh=Uy.createTextNode(""),new Wy(rs).observe(gh,{characterData:!0}),Qi=function(){gh.data=yh=!yh}):!s5&&Zo&&Zo.resolve?(es=Zo.resolve(void 0),es.constructor=Zo,Ky=Hy(es.then,es),Qi=function(){Ky(rs)}):ph?Qi=function(){Vy.nextTick(rs)}:(vh=Hy(vh,Pi),Qi=function(){vh(rs)}),ic=function(r){ts.head||Qi(),ts.add(r)}}var l5=ic,h5=function(r,n){try{arguments.length===1?console.error(r):console.error(r,n)}catch{}},qn=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}},d5=ve,Yn=d5.Promise,V0=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",c5=V0,f5=oo,v5=!c5&&!f5&&typeof window=="object"&&typeof document=="object",p5=ve,Ea=Yn,y5=$e,g5=r1,m5=u1,b5=ge,$5=v5,w5=V0,mh=Bn,qy=Ea&&Ea.prototype,_5=b5("species"),nc=!1,G0=y5(p5.PromiseRejectionEvent),E5=g5("Promise",function(){var r=m5(Ea),n=r!==String(Ea);if(!n&&mh===66||!(qy.catch&&qy.finally))return!0;if(!mh||mh<51||!/native code/.test(r)){var e=new Ea(function(a){a(1)}),t=function(a){a(function(){},function(){})},i=e.constructor={};if(i[_5]=t,nc=e.then(function(){})instanceof t,!nc)return!0}return!n&&($5||w5)&&!G0}),fo={CONSTRUCTOR:E5,REJECTION_EVENT:G0,SUBCLASSING:nc},lr={},Yy=$t,S5=TypeError,O5=function(r){var n,e;this.promise=new r(function(t,i){if(n!==void 0||e!==void 0)throw new S5("Bad Promise constructor");n=t,e=i}),this.resolve=Yy(n),this.reject=Yy(e)};lr.f=function(r){return new O5(r)};var T5=H,tu=oo,Kr=ve,vo=je,P5=Wn,I5=Ni,k5=B0,C5=$t,ac=$e,x5=Xe,A5=Tf,R5=L0,K0=H0.set,If=l5,D5=h5,M5=qn,N5=U0,q0=Un,oc=Yn,Y0=fo,X0=lr,Uu="Promise",Q0=Y0.CONSTRUCTOR,F5=Y0.REJECTION_EVENT,bh=q0.getterFor(Uu),B5=q0.set,L5=oc&&oc.prototype,dn=oc,$h=L5,J0=Kr.TypeError,sc=Kr.document,kf=Kr.process,uc=X0.f,j5=uc,z5=!!(sc&&sc.createEvent&&Kr.dispatchEvent),Z0="unhandledrejection",H5="rejectionhandled",Xy=0,e_=1,W5=2,Cf=1,t_=2,is,Qy,U5,r_=function(r){var n;return x5(r)&&ac(n=r.then)?n:!1},i_=function(r,n){var e=n.value,t=n.state===e_,i=t?r.ok:r.fail,a=r.resolve,o=r.reject,s=r.domain,u,l,h;try{i?(t||(n.rejection===t_&&G5(n),n.rejection=Cf),i===!0?u=e:(s&&s.enter(),u=i(e),s&&(s.exit(),h=!0)),u===r.promise?o(new J0("Promise-chain cycle")):(l=r_(u))?vo(l,u,a,o):a(u)):o(e)}catch(d){s&&!h&&s.exit(),o(d)}},n_=function(r,n){r.notified||(r.notified=!0,If(function(){for(var e=r.reactions,t;t=e.get();)i_(t,r);r.notified=!1,n&&!r.rejection&&V5(r)}))},a_=function(r,n,e){var t,i;z5?(t=sc.createEvent("Event"),t.promise=n,t.reason=e,t.initEvent(r,!1,!0),Kr.dispatchEvent(t)):t={promise:n,reason:e},!F5&&(i=Kr["on"+r])?i(t):r===Z0&&D5("Unhandled promise rejection",e)},V5=function(r){vo(K0,Kr,function(){var n=r.facade,e=r.value,t=Jy(r),i;if(t&&(i=M5(function(){tu?kf.emit("unhandledRejection",e,n):a_(Z0,n,e)}),r.rejection=tu||Jy(r)?t_:Cf,i.error))throw i.value})},Jy=function(r){return r.rejection!==Cf&&!r.parent},G5=function(r){vo(K0,Kr,function(){var n=r.facade;tu?kf.emit("rejectionHandled",n):a_(H5,n,r.value)})},cn=function(r,n,e){return function(t){r(n,t,e)}},mn=function(r,n,e){r.done||(r.done=!0,e&&(r=e),r.value=n,r.state=W5,n_(r,!0))},lc=function(r,n,e){if(!r.done){r.done=!0,e&&(r=e);try{if(r.facade===n)throw new J0("Promise can't be resolved itself");var t=r_(n);t?If(function(){var i={done:!1};try{vo(t,n,cn(lc,i,r),cn(mn,i,r))}catch(a){mn(i,a,r)}}):(r.value=n,r.state=e_,n_(r,!1))}catch(i){mn({done:!1},i,r)}}};Q0&&(dn=function(n){A5(this,$h),C5(n),vo(is,this);var e=bh(this);try{n(cn(lc,e),cn(mn,e))}catch(t){mn(e,t)}},$h=dn.prototype,is=function(n){B5(this,{type:Uu,done:!1,notified:!1,parent:!1,reactions:new N5,rejection:!1,state:Xy,value:void 0})},is.prototype=P5($h,"then",function(n,e){var t=bh(this),i=uc(R5(this,dn));return t.parent=!0,i.ok=ac(n)?n:!0,i.fail=ac(e)&&e,i.domain=tu?kf.domain:void 0,t.state===Xy?t.reactions.add(i):If(function(){i_(i,t)}),i.promise}),Qy=function(){var r=new is,n=bh(r);this.promise=r,this.resolve=cn(lc,n),this.reject=cn(mn,n)},X0.f=uc=function(r){return r===dn||r===U5?new Qy(r):j5(r)});T5({global:!0,constructor:!0,wrap:!0,forced:Q0},{Promise:dn});I5(dn,Uu,!1,!0);k5(Uu);var K5=Yn,q5=mw,Y5=fo.CONSTRUCTOR,Vu=Y5||!q5(function(r){K5.all(r).then(void 0,function(){})}),X5=H,Q5=je,J5=$t,Z5=lr,eH=qn,tH=Bi,rH=Vu;X5({target:"Promise",stat:!0,forced:rH},{all:function(n){var e=this,t=Z5.f(e),i=t.resolve,a=t.reject,o=eH(function(){var s=J5(e.resolve),u=[],l=0,h=1;tH(n,function(d){var c=l++,f=!1;h++,Q5(s,e,d).then(function(v){f||(f=!0,u[c]=v,--h||i(u))},a)}),--h||i(u)});return o.error&&a(o.value),t.promise}});var iH=H,nH=fo.CONSTRUCTOR,Zy=Yn;Zy&&Zy.prototype;iH({target:"Promise",proto:!0,forced:nH,real:!0},{catch:function(r){return this.then(void 0,r)}});var aH=H,oH=je,sH=$t,uH=lr,lH=qn,hH=Bi,dH=Vu;aH({target:"Promise",stat:!0,forced:dH},{race:function(n){var e=this,t=uH.f(e),i=t.reject,a=lH(function(){var o=sH(e.resolve);hH(n,function(s){oH(o,e,s).then(t.resolve,i)})});return a.error&&i(a.value),t.promise}});var cH=H,fH=je,vH=lr,pH=fo.CONSTRUCTOR;cH({target:"Promise",stat:!0,forced:pH},{reject:function(n){var e=vH.f(this);return fH(e.reject,void 0,n),e.promise}});var yH=Ct,gH=Xe,mH=lr,o_=function(r,n){if(yH(r),gH(n)&&n.constructor===r)return n;var e=mH.f(r),t=e.resolve;return t(n),e.promise},bH=H,$H=lt,wH=CT,_H=Yn,EH=fo.CONSTRUCTOR,SH=o_,OH=$H("Promise"),TH=!EH;bH({target:"Promise",stat:!0,forced:wH},{resolve:function(n){return SH(TH&&this===OH?_H:this,n)}});var PH=H,IH=je,kH=$t,CH=lr,xH=qn,AH=Bi,RH=Vu;PH({target:"Promise",stat:!0,forced:RH},{allSettled:function(n){var e=this,t=CH.f(e),i=t.resolve,a=t.reject,o=xH(function(){var s=kH(e.resolve),u=[],l=0,h=1;AH(n,function(d){var c=l++,f=!1;h++,IH(s,e,d).then(function(v){f||(f=!0,u[c]={status:"fulfilled",value:v},--h||i(u))},function(v){f||(f=!0,u[c]={status:"rejected",reason:v},--h||i(u))})}),--h||i(u)});return o.error&&a(o.value),t.promise}});var DH=H,MH=je,NH=$t,FH=lt,BH=lr,LH=qn,jH=Bi,zH=Vu,eg="No one promise resolved";DH({target:"Promise",stat:!0,forced:zH},{any:function(n){var e=this,t=FH("AggregateError"),i=BH.f(e),a=i.resolve,o=i.reject,s=LH(function(){var u=NH(e.resolve),l=[],h=0,d=1,c=!1;jH(n,function(f){var v=h++,p=!1;d++,MH(u,e,f).then(function(y){p||c||(c=!0,a(y))},function(y){p||c||(p=!0,l[v]=y,--d||o(new t(l,eg)))})}),--d||o(new t(l,eg))});return s.error&&o(s.value),i.promise}});var HH=H,hc=Yn,WH=ne,UH=lt,VH=$e,GH=L0,tg=o_,KH=hc&&hc.prototype,qH=!!hc&&WH(function(){KH.finally.call({then:function(){}},function(){})});HH({target:"Promise",proto:!0,real:!0,forced:qH},{finally:function(r){var n=GH(this,UH("Promise")),e=VH(r);return this.then(e?function(t){return tg(n,r()).then(function(){return t})}:r,e?function(t){return tg(n,r()).then(function(){throw t})}:r)}});var YH=pe,XH=YH.Promise,QH=XH,JH=QH,ZH=H,eW=lr;ZH({target:"Promise",stat:!0},{withResolvers:function(){var n=eW.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}});var tW=JH,rW=tW,iW=H,nW=lr,aW=qn;iW({target:"Promise",stat:!0,forced:!0},{try:function(r){var n=nW.f(this),e=aW(r);return(e.error?n.reject:n.resolve)(e.value),n.promise}});var oW=rW,sW=oW,uW=sW,lW=Aw,hW=lW,dW=hW,cW=dW,fW=cW;(function(r){var n=jz.default,e=o1,t=df,i=k0,a=A0,o=Vz,s=Ow,u=C0,l=uW,h=fW,d=Pw;function c(){r.exports=c=function(){return v},r.exports.__esModule=!0,r.exports.default=r.exports;var f,v={},p=Object.prototype,y=p.hasOwnProperty,g=e||function(A,T,P){A[T]=P.value},m=typeof t=="function"?t:{},w=m.iterator||"@@iterator",$=m.asyncIterator||"@@asyncIterator",E=m.toStringTag||"@@toStringTag";function k(A,T,P){return e(A,T,{value:P,enumerable:!0,configurable:!0,writable:!0}),A[T]}try{k({},"")}catch{k=function(P,z,q){return P[z]=q}}function D(A,T,P,z){var q=T&&T.prototype instanceof ye?T:ye,K=i(q.prototype),Te=new Tt(z||[]);return g(K,"_invoke",{value:Ce(A,P,Te)}),K}function j(A,T,P){try{return{type:"normal",arg:A.call(T,P)}}catch(z){return{type:"throw",arg:z}}}v.wrap=D;var R="suspendedStart",M="suspendedYield",W="executing",X="completed",Y={};function ye(){}function Ge(){}function ke(){}var St={};k(St,w,function(){return this});var rt=a,Qe=rt&&rt(rt(et([])));Qe&&Qe!==p&&y.call(Qe,w)&&(St=Qe);var Ot=ke.prototype=ye.prototype=i(St);function Je(A){var T;o(T=["next","throw","return"]).call(T,function(P){k(A,P,function(z){return this._invoke(P,z)})})}function ce(A,T){function P(q,K,Te,it){var ht=j(A[q],A,K);if(ht.type!=="throw"){var ai=ht.arg,Cr=ai.value;return Cr&&n(Cr)=="object"&&y.call(Cr,"__await")?T.resolve(Cr.__await).then(function(oi){P("next",oi,Te,it)},function(oi){P("throw",oi,Te,it)}):T.resolve(Cr).then(function(oi){ai.value=oi,Te(ai)},function(oi){return P("throw",oi,Te,it)})}it(ht.arg)}var z;g(this,"_invoke",{value:function(K,Te){function it(){return new T(function(ht,ai){P(K,Te,ht,ai)})}return z=z?z.then(it,it):it()}})}function Ce(A,T,P){var z=R;return function(q,K){if(z===W)throw new Error("Generator is already running");if(z===X){if(q==="throw")throw K;return{value:f,done:!0}}for(P.method=q,P.arg=K;;){var Te=P.delegate;if(Te){var it=Oe(Te,P);if(it){if(it===Y)continue;return it}}if(P.method==="next")P.sent=P._sent=P.arg;else if(P.method==="throw"){if(z===R)throw z=X,P.arg;P.dispatchException(P.arg)}else P.method==="return"&&P.abrupt("return",P.arg);z=W;var ht=j(A,T,P);if(ht.type==="normal"){if(z=P.done?X:M,ht.arg===Y)continue;return{value:ht.arg,done:P.done}}ht.type==="throw"&&(z=X,P.method="throw",P.arg=ht.arg)}}}function Oe(A,T){var P=T.method,z=A.iterator[P];if(z===f)return T.delegate=null,P==="throw"&&A.iterator.return&&(T.method="return",T.arg=f,Oe(A,T),T.method==="throw")||P!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+P+"' method")),Y;var q=j(z,A.iterator,T.arg);if(q.type==="throw")return T.method="throw",T.arg=q.arg,T.delegate=null,Y;var K=q.arg;return K?K.done?(T[A.resultName]=K.value,T.next=A.nextLoc,T.method!=="return"&&(T.method="next",T.arg=f),T.delegate=null,Y):K:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,Y)}function Ze(A){var T,P={tryLoc:A[0]};1 in A&&(P.catchLoc=A[1]),2 in A&&(P.finallyLoc=A[2],P.afterLoc=A[3]),s(T=this.tryEntries).call(T,P)}function cr(A){var T=A.completion||{};T.type="normal",delete T.arg,A.completion=T}function Tt(A){this.tryEntries=[{tryLoc:"root"}],o(A).call(A,Ze,this),this.reset(!0)}function et(A){if(A||A===""){var T=A[w];if(T)return T.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var P=-1,z=function q(){for(;++P<A.length;)if(y.call(A,P))return q.value=A[P],q.done=!1,q;return q.value=f,q.done=!0,q};return z.next=z}}throw new TypeError(n(A)+" is not iterable")}return Ge.prototype=ke,g(Ot,"constructor",{value:ke,configurable:!0}),g(ke,"constructor",{value:Ge,configurable:!0}),Ge.displayName=k(ke,E,"GeneratorFunction"),v.isGeneratorFunction=function(A){var T=typeof A=="function"&&A.constructor;return!!T&&(T===Ge||(T.displayName||T.name)==="GeneratorFunction")},v.mark=function(A){return u?u(A,ke):(A.__proto__=ke,k(A,E,"GeneratorFunction")),A.prototype=i(Ot),A},v.awrap=function(A){return{__await:A}},Je(ce.prototype),k(ce.prototype,$,function(){return this}),v.AsyncIterator=ce,v.async=function(A,T,P,z,q){q===void 0&&(q=l);var K=new ce(D(A,T,P,z),q);return v.isGeneratorFunction(T)?K:K.next().then(function(Te){return Te.done?Te.value:K.next()})},Je(Ot),k(Ot,E,"Generator"),k(Ot,w,function(){return this}),k(Ot,"toString",function(){return"[object Generator]"}),v.keys=function(A){var T=Object(A),P=[];for(var z in T)s(P).call(P,z);return h(P).call(P),function q(){for(;P.length;){var K=P.pop();if(K in T)return q.value=K,q.done=!1,q}return q.done=!0,q}},v.values=et,Tt.prototype={constructor:Tt,reset:function(T){var P;if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,o(P=this.tryEntries).call(P,cr),!T)for(var z in this)z.charAt(0)==="t"&&y.call(this,z)&&!isNaN(+d(z).call(z,1))&&(this[z]=f)},stop:function(){this.done=!0;var T=this.tryEntries[0].completion;if(T.type==="throw")throw T.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var P=this;function z(ai,Cr){return Te.type="throw",Te.arg=T,P.next=ai,Cr&&(P.method="next",P.arg=f),!!Cr}for(var q=this.tryEntries.length-1;q>=0;--q){var K=this.tryEntries[q],Te=K.completion;if(K.tryLoc==="root")return z("end");if(K.tryLoc<=this.prev){var it=y.call(K,"catchLoc"),ht=y.call(K,"finallyLoc");if(it&&ht){if(this.prev<K.catchLoc)return z(K.catchLoc,!0);if(this.prev<K.finallyLoc)return z(K.finallyLoc)}else if(it){if(this.prev<K.catchLoc)return z(K.catchLoc,!0)}else{if(!ht)throw new Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return z(K.finallyLoc)}}}},abrupt:function(T,P){for(var z=this.tryEntries.length-1;z>=0;--z){var q=this.tryEntries[z];if(q.tryLoc<=this.prev&&y.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var K=q;break}}K&&(T==="break"||T==="continue")&&K.tryLoc<=P&&P<=K.finallyLoc&&(K=null);var Te=K?K.completion:{};return Te.type=T,Te.arg=P,K?(this.method="next",this.next=K.finallyLoc,Y):this.complete(Te)},complete:function(T,P){if(T.type==="throw")throw T.arg;return T.type==="break"||T.type==="continue"?this.next=T.arg:T.type==="return"?(this.rval=this.arg=T.arg,this.method="return",this.next="end"):T.type==="normal"&&P&&(this.next=P),Y},finish:function(T){for(var P=this.tryEntries.length-1;P>=0;--P){var z=this.tryEntries[P];if(z.finallyLoc===T)return this.complete(z.completion,z.afterLoc),cr(z),Y}},catch:function(T){for(var P=this.tryEntries.length-1;P>=0;--P){var z=this.tryEntries[P];if(z.tryLoc===T){var q=z.completion;if(q.type==="throw"){var K=q.arg;cr(z)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(T,P,z){return this.delegate={iterator:et(T),resultName:P,nextLoc:z},this.method==="next"&&(this.arg=f),Y}},v}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports})(R0);var vW=R0.exports,xs=vW(),pW=xs;try{regeneratorRuntime=xs}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=xs:Function("r","regeneratorRuntime = r")(xs)}var ct=G(pW),s_={exports:{}},yW=ne,gW=yW(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),mW=ne,bW=Xe,$W=Qr,rg=gW,As=Object.isExtensible,wW=mW(function(){As(1)}),_W=wW||rg?function(n){return!bW(n)||rg&&$W(n)==="ArrayBuffer"?!1:As?As(n):!0}:As,EW=ne,SW=!EW(function(){return Object.isExtensible(Object.preventExtensions({}))}),OW=H,TW=fe,PW=Ja,IW=Xe,xf=Me,kW=_t.f,ig=Za,CW=ef,Af=_W,xW=bu,AW=SW,u_=!1,Sr=xW("meta"),RW=0,Rf=function(r){kW(r,Sr,{value:{objectID:"O"+RW++,weakData:{}}})},DW=function(r,n){if(!IW(r))return typeof r=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!xf(r,Sr)){if(!Af(r))return"F";if(!n)return"E";Rf(r)}return r[Sr].objectID},MW=function(r,n){if(!xf(r,Sr)){if(!Af(r))return!0;if(!n)return!1;Rf(r)}return r[Sr].weakData},NW=function(r){return AW&&u_&&Af(r)&&!xf(r,Sr)&&Rf(r),r},FW=function(){BW.enable=function(){},u_=!0;var r=ig.f,n=TW([].splice),e={};e[Sr]=1,r(e).length&&(ig.f=function(t){for(var i=r(t),a=0,o=i.length;a<o;a++)if(i[a]===Sr){n(i,a,1);break}return i},OW({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:CW.f}))},BW=s_.exports={enable:FW,fastKey:DW,getWeakData:MW,onFreeze:NW};PW[Sr]=!0;var l_=s_.exports,LW=H,jW=ve,zW=l_,HW=ne,WW=Pr,UW=Bi,VW=Tf,GW=$e,KW=Xe,qW=Fn,YW=Ni,XW=_t.f,QW=Vn.forEach,JW=Le,h_=Un,ZW=h_.set,e4=h_.getterFor,d_=function(r,n,e){var t=r.indexOf("Map")!==-1,i=r.indexOf("Weak")!==-1,a=t?"set":"add",o=jW[r],s=o&&o.prototype,u={},l;if(!JW||!GW(o)||!(i||s.forEach&&!HW(function(){new o().entries().next()})))l=e.getConstructor(n,r,t,a),zW.enable();else{l=n(function(c,f){ZW(VW(c,h),{type:r,collection:new o}),qW(f)||UW(f,c[a],{that:c,AS_ENTRIES:t})});var h=l.prototype,d=e4(r);QW(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(c){var f=c==="add"||c==="set";c in s&&!(i&&c==="clear")&&WW(h,c,function(v,p){var y=d(this).collection;if(!f&&i&&!KW(v))return c==="get"?void 0:!1;var g=y[c](v===0?0:v,p);return f?this:g})}),i||XW(h,"size",{configurable:!0,get:function(){return d(this).collection.size}})}return YW(l,r,!1,!0),u[r]=l,LW({global:!0,forced:!0},u),i||e.setStrong(l,r,t),l},t4=Wn,r4=function(r,n,e){for(var t in n)e&&e.unsafe&&r[t]?r[t]=n[t]:t4(r,t,n[t],e);return r},i4=Mi,n4=tf,ng=r4,a4=Zr,o4=Tf,s4=Fn,u4=Bi,l4=uf,ns=lf,h4=B0,ha=Le,ag=l_.fastKey,c_=Un,og=c_.set,wh=c_.getterFor,f_={getConstructor:function(r,n,e,t){var i=r(function(l,h){o4(l,a),og(l,{type:n,index:i4(null),first:void 0,last:void 0,size:0}),ha||(l.size=0),s4(h)||u4(h,l[t],{that:l,AS_ENTRIES:e})}),a=i.prototype,o=wh(n),s=function(l,h,d){var c=o(l),f=u(l,h),v,p;return f?f.value=d:(c.last=f={index:p=ag(h,!0),key:h,value:d,previous:v=c.last,next:void 0,removed:!1},c.first||(c.first=f),v&&(v.next=f),ha?c.size++:l.size++,p!=="F"&&(c.index[p]=f)),l},u=function(l,h){var d=o(l),c=ag(h),f;if(c!=="F")return d.index[c];for(f=d.first;f;f=f.next)if(f.key===h)return f};return ng(a,{clear:function(){for(var h=this,d=o(h),c=d.index,f=d.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete c[f.index],f=f.next;d.first=d.last=void 0,ha?d.size=0:h.size=0},delete:function(l){var h=this,d=o(h),c=u(h,l);if(c){var f=c.next,v=c.previous;delete d.index[c.index],c.removed=!0,v&&(v.next=f),f&&(f.previous=v),d.first===c&&(d.first=f),d.last===c&&(d.last=v),ha?d.size--:h.size--}return!!c},forEach:function(h){for(var d=o(this),c=a4(h,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:d.first;)for(c(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(h){return!!u(this,h)}}),ng(a,e?{get:function(h){var d=u(this,h);return d&&d.value},set:function(h,d){return s(this,h===0?0:h,d)}}:{add:function(h){return s(this,h=h===0?0:h,h)}}),ha&&n4(a,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(r,n,e){var t=n+" Iterator",i=wh(n),a=wh(t);l4(r,n,function(o,s){og(this,{type:t,target:o,state:i(o),kind:s,last:void 0})},function(){for(var o=a(this),s=o.kind,u=o.last;u&&u.removed;)u=u.previous;return!o.target||!(o.last=u=u?u.next:o.state.first)?(o.target=void 0,ns(void 0,!0)):ns(s==="keys"?u.key:s==="values"?u.value:[u.key,u.value],!1)},e?"entries":"values",!e,!0),h4(n)}},d4=d_,c4=f_;d4("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},c4);var f4=pe,v4=f4.Map,p4=v4,y4=p4,g4=y4,v_=G(g4),m4=H,b4=Vn.some,$4=Fu,w4=$4("some");m4({target:"Array",proto:!0,forced:!w4},{some:function(n){return b4(this,n,arguments.length>1?arguments[1]:void 0)}});var _4=tt,E4=_4("Array","some"),S4=De,O4=E4,_h=Array.prototype,T4=function(r){var n=r.some;return r===_h||S4(_h,r)&&n===_h.some?O4:n},P4=T4,I4=P4,k4=I4,C4=G(k4),x4=tt,A4=x4("Array","keys"),R4=A4,D4=R4,M4=Ir,N4=Me,F4=De,B4=D4,Eh=Array.prototype,L4={DOMTokenList:!0,NodeList:!0},j4=function(r){var n=r.keys;return r===Eh||F4(Eh,r)&&n===Eh.keys||N4(L4,M4(r))?B4:n},z4=j4,Ji=G(z4),sg=m1,H4=Math.floor,dc=function(r,n){var e=r.length,t=H4(e/2);return e<8?W4(r,n):U4(r,dc(sg(r,0,t),n),dc(sg(r,t),n),n)},W4=function(r,n){for(var e=r.length,t=1,i,a;t<e;){for(a=t,i=r[t];a&&n(r[a-1],i)>0;)r[a]=r[--a];a!==t++&&(r[a]=i)}return r},U4=function(r,n,e,t){for(var i=n.length,a=e.length,o=0,s=0;o<i||s<a;)r[o+s]=o<i&&s<a?t(n[o],e[s])<=0?n[o++]:e[s++]:o<i?n[o++]:e[s++];return r},V4=dc,G4=Jr,ug=G4.match(/firefox\/(\d+)/i),K4=!!ug&&+ug[1],q4=Jr,Y4=/MSIE|Trident/.test(q4),X4=Jr,lg=X4.match(/AppleWebKit\/(\d+)\./),Q4=!!lg&&+lg[1],J4=H,p_=fe,Z4=$t,e6=wt,hg=xt,t6=Rw,dg=Di,Df=ne,r6=V4,i6=Fu,cg=K4,n6=Y4,fg=Bn,vg=Q4,Fr=[],pg=p_(Fr.sort),a6=p_(Fr.push),o6=Df(function(){Fr.sort(void 0)}),s6=Df(function(){Fr.sort(null)}),u6=i6("sort"),y_=!Df(function(){if(fg)return fg<70;if(!(cg&&cg>3)){if(n6)return!0;if(vg)return vg<603;var r="",n,e,t,i;for(n=65;n<76;n++){switch(e=String.fromCharCode(n),n){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(i=0;i<47;i++)Fr.push({k:e+i,v:t})}for(Fr.sort(function(a,o){return o.v-a.v}),i=0;i<Fr.length;i++)e=Fr[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return r!=="DGBEFHACIJK"}}),l6=o6||!s6||!u6||!y_,h6=function(r){return function(n,e){return e===void 0?-1:n===void 0?1:r!==void 0?+r(n,e)||0:dg(n)>dg(e)?1:-1}};J4({target:"Array",proto:!0,forced:l6},{sort:function(n){n!==void 0&&Z4(n);var e=e6(this);if(y_)return n===void 0?pg(e):pg(e,n);var t=[],i=hg(e),a,o;for(o=0;o<i;o++)o in e&&a6(t,e[o]);for(r6(t,h6(n)),a=hg(t),o=0;o<a;)e[o]=t[o++];for(;o<i;)t6(e,o++);return e}});var d6=tt,c6=d6("Array","sort"),f6=De,v6=c6,Sh=Array.prototype,p6=function(r){var n=r.sort;return r===Sh||f6(Sh,r)&&n===Sh.sort?v6:n},y6=p6,g6=y6,m6=g6,cc=G(m6),b6=tt,$6=b6("Array","values"),w6=$6,_6=w6,E6=Ir,S6=Me,O6=De,T6=_6,Oh=Array.prototype,P6={DOMTokenList:!0,NodeList:!0},I6=function(r){var n=r.values;return r===Oh||O6(Oh,r)&&n===Oh.values||S6(P6,E6(r))?T6:n},k6=I6,yg=G(k6),C6=aw,fn=G(C6),x6=tt,A6=x6("Array","entries"),R6=A6,D6=R6,M6=Ir,N6=Me,F6=De,B6=D6,Th=Array.prototype,L6={DOMTokenList:!0,NodeList:!0},j6=function(r){var n=r.entries;return r===Th||F6(Th,r)&&n===Th.entries||N6(L6,M6(r))?B6:n},z6=j6,H6=G(z6);let as;const W6=new Uint8Array(16);function U6(){if(!as&&(as=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!as))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return as(W6)}const Ke=[];for(let r=0;r<256;++r)Ke.push((r+256).toString(16).slice(1));function V6(r,n=0){return Ke[r[n+0]]+Ke[r[n+1]]+Ke[r[n+2]]+Ke[r[n+3]]+"-"+Ke[r[n+4]]+Ke[r[n+5]]+"-"+Ke[r[n+6]]+Ke[r[n+7]]+"-"+Ke[r[n+8]]+Ke[r[n+9]]+"-"+Ke[r[n+10]]+Ke[r[n+11]]+Ke[r[n+12]]+Ke[r[n+13]]+Ke[r[n+14]]+Ke[r[n+15]]}const G6=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var gg={randomUUID:G6};function K6(r,n,e){if(gg.randomUUID&&!n&&!r)return gg.randomUUID();r=r||{};const t=r.random||(r.rng||U6)();return t[6]=t[6]&15|64,t[8]=t[8]&63|128,V6(t)}function mg(r){return typeof r=="string"||typeof r=="number"}var q6=function(){function r(n){yu(this,r),zr(this,"_queue",[]),zr(this,"_timeout",null),zr(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(n)}return Nu(r,[{key:"setOptions",value:function(e){e&&typeof e.delay<"u"&&(this.delay=e.delay),e&&typeof e.max<"u"&&(this.max=e.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var e=this._extended.object,t=this._extended.methods,i=0;i<t.length;i++){var a=t[i];a.original?e[a.name]=a.original:delete e[a.name]}this._extended=null}}},{key:"replace",value:function(e,t){var i=this,a=e[t];if(!a)throw new Error("Method "+t+" undefined");e[t]=function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];i.queue({args:s,fn:a,context:this})}}},{key:"queue",value:function(e){typeof e=="function"?this._queue.push({fn:e}):this._queue.push(e),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var e=this;this._queue.length>this.max&&this.flush(),this._timeout!=null&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&typeof this.delay=="number"&&(this._timeout=wL(function(){e.flush()},this.delay))}},{key:"flush",value:function(){var e,t;Ei(e=Dw(t=this._queue).call(t,0)).call(e,function(i){i.fn.apply(i.context||i.fn,i.args||[])})}}],[{key:"extend",value:function(e,t){var i=new r(t);if(e.flush!==void 0)throw new Error("Target object already has a property flush");e.flush=function(){i.flush()};var a=[{name:"flush",original:void 0}];if(t&&t.replace)for(var o=0;o<t.replace.length;o++){var s=t.replace[o];a.push({name:s,original:e[s]}),i.replace(e,s)}return i._extended={object:e,methods:a},i}}]),r}(),Y6=function(){function r(){yu(this,r),zr(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),zr(this,"subscribe",r.prototype.on),zr(this,"unsubscribe",r.prototype.off)}return Nu(r,[{key:"_trigger",value:function(e,t,i){var a,o;if(e==="*")throw new Error("Cannot trigger event *");Ei(a=ju(o=[]).call(o,pt(this._subscribers[e]),pt(this._subscribers["*"]))).call(a,function(s){s(e,t,i??null)})}},{key:"on",value:function(e,t){typeof t=="function"&&this._subscribers[e].push(t)}},{key:"off",value:function(e,t){var i;this._subscribers[e]=un(i=this._subscribers[e]).call(i,function(a){return a!==t})}}]),r}(),X6=d_,Q6=f_;X6("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},Q6);var J6=pe,Z6=J6.Set,eU=Z6,tU=eU,rU=tU,Ph=G(rU),iU=ff,nU=iU,aU=nU,oU=aU,sU=oU,uU=sU,lU=uU,hU=lU,dU=hU,cU=dU,Ih=G(cU);function Zt(r,n){var e=typeof Lu<"u"&&pf(r)||r["@@iterator"];if(!e){if(It(r)||(e=fU(r))||n){e&&(r=e);var t=0,i=function(){};return{s:i,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
35
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(r)},n:function(){var l=e.next();return a=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function dj(r,n){var e;if(r){if(typeof r=="string")return $y(r,n);var t=zu(e=Object.prototype.toString.call(r)).call(e,8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return vf(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $y(r,n)}}function $y(r,n){(n==null||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}var f0=Lu("DELETE");function cj(r){for(var n,e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];return v0.apply(void 0,ju(n=[{},r]).call(n,t))}function v0(){var r=Qs.apply(void 0,arguments);return y0(r),r}function Qs(){for(var r=arguments.length,n=new Array(r),e=0;e<r;e++)n[e]=arguments[e];if(n.length<2)return n[0];if(n.length>2){var t;return Qs.apply(void 0,ju(t=[v0(n[0],n[1])]).call(t,pt(zu(n).call(n,2))))}var i=n[0],a=n[1];if(i instanceof Date&&a instanceof Date)return i.setTime(a.getTime()),i;var o=c0(cF(a)),s;try{for(o.s();!(s=o.n()).done;){var u=s.value;Object.prototype.propertyIsEnumerable.call(a,u)&&(a[u]===f0?delete i[u]:i[u]!==null&&a[u]!==null&&typeof i[u]=="object"&&typeof a[u]=="object"&&!It(i[u])&&!It(a[u])?i[u]=Qs(i[u],a[u]):i[u]=p0(a[u]))}}catch(l){o.e(l)}finally{o.f()}return i}function p0(r){return It(r)?Vt(r).call(r,function(n){return p0(n)}):typeof r=="object"&&r!==null?r instanceof Date?new Date(r.getTime()):Qs({},r):r}function y0(r){for(var n=0,e=gf(r);n<e.length;n++){var t=e[n];r[t]===f0?delete r[t]:typeof r[t]=="object"&&r[t]!==null&&y0(r[t])}}function fj(){var r=function(){};return{on:r,off:r,destroy:r,emit:r,get(){return{set:r}}}}var vj=typeof window<"u"?window.Hammer||hj:function(){return fj()};function fr(r){var n=this,e;this._cleanupQueue=[],this.active=!1,this._dom={container:r,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push(function(){n._dom.overlay.parentNode.removeChild(n._dom.overlay)});var t=vj(this._dom.overlay);t.on("tap",cw(e=this._onTapOverlay).call(e,this)),this._cleanupQueue.push(function(){t.destroy()});var i=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];Ei(i).call(i,function(a){t.on(a,function(o){o.srcEvent.stopPropagation()})}),document&&document.body&&(this._onClick=function(a){pj(a.target,r)||n.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push(function(){document.body.removeEventListener("click",n._onClick)})),this._escListener=function(a){("key"in a?a.key==="Escape":a.keyCode===27)&&n.deactivate()}}EL(fr.prototype);fr.current=null;fr.prototype.destroy=function(){var r,n;this.deactivate();var e=c0(YF(r=Dw(n=this._cleanupQueue).call(n,0)).call(r)),t;try{for(e.s();!(t=e.n()).done;){var i=t.value;i()}}catch(a){e.e(a)}finally{e.f()}};fr.prototype.activate=function(){fr.current&&fr.current.deactivate(),fr.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)};fr.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")};fr.prototype._onTapOverlay=function(r){this.activate(),r.srcEvent.stopPropagation()};function pj(r,n){for(;r;){if(r===n)return!0;r=r.parentNode}return!1}var yj=Su,gj=jn,mj=TypeError,g0=function(r){if(yj(r))return r;throw new mj(gj(r)+" is not a constructor")},bj=H,$j=lt,ah=Nn,wj=hw,wy=g0,_j=Ct,_y=Xe,Ej=Mi,m0=ne,Of=$j("Reflect","construct"),Sj=Object.prototype,Oj=[].push,b0=m0(function(){function r(){}return!(Of(function(){},[],r)instanceof r)}),$0=!m0(function(){Of(function(){})}),Ey=b0||$0;bj({target:"Reflect",stat:!0,forced:Ey,sham:Ey},{construct:function(n,e){wy(n),_j(e);var t=arguments.length<3?n:wy(arguments[2]);if($0&&!b0)return Of(n,e,t);if(n===t){switch(e.length){case 0:return new n;case 1:return new n(e[0]);case 2:return new n(e[0],e[1]);case 3:return new n(e[0],e[1],e[2]);case 4:return new n(e[0],e[1],e[2],e[3])}var i=[null];return ah(Oj,i,e),new(ah(wj,n,i))}var a=t.prototype,o=Ej(_y(a)?a:Sj),s=ah(n,o,e);return _y(s)?s:o}});var Tj=pe,Pj=Tj.Reflect.construct,Ij=Pj,kj=Ij,Cj=kj,ks=G(Cj),xj=pe,Aj=xj.Object.getOwnPropertySymbols,Rj=Aj,Dj=Rj,Mj=Dj,Sy=G(Mj),w0={exports:{}},Nj=H,Fj=ne,Bj=ur,_0=Ai.f,E0=Le,Lj=!E0||Fj(function(){_0(1)});Nj({target:"Object",stat:!0,forced:Lj,sham:!E0},{getOwnPropertyDescriptor:function(n,e){return _0(Bj(n),e)}});var jj=pe,S0=jj.Object,zj=w0.exports=function(n,e){return S0.getOwnPropertyDescriptor(n,e)};S0.getOwnPropertyDescriptor.sham&&(zj.sham=!0);var Hj=w0.exports,Wj=Hj,Uj=Wj,Vj=Uj,O0=G(Vj),Gj=H,Kj=Le,qj=yf,Yj=ur,Xj=Ai,Qj=Hn;Gj({target:"Object",stat:!0,sham:!Kj},{getOwnPropertyDescriptors:function(n){for(var e=Yj(n),t=Xj.f,i=qj(e),a={},o=0,s,u;i.length>o;)u=t(e,s=i[o++]),u!==void 0&&Qj(a,s,u);return a}});var Jj=pe,Zj=Jj.Object.getOwnPropertyDescriptors,ez=Zj,tz=ez,rz=tz,Oy=G(rz),T0={exports:{}},iz=H,nz=Le,Ty=Tu.f;iz({target:"Object",stat:!0,forced:Object.defineProperties!==Ty,sham:!nz},{defineProperties:Ty});var az=pe,P0=az.Object,oz=T0.exports=function(n,e){return P0.defineProperties(n,e)};P0.defineProperties.sham&&(oz.sham=!0);var sz=T0.exports,uz=sz,lz=uz,hz=lz,dz=G(hz),cz=a1,fz=G(cz);function I0(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}var vz=Nw,pz=vz,yz=pz,gz=yz,k0=gz,mz=G(k0),bz=H,$z=Y1;bz({target:"Object",stat:!0},{setPrototypeOf:$z});var wz=pe,_z=wz.Object.setPrototypeOf,Ez=_z,Sz=Ez,Oz=Sz,Tz=Oz,Pz=Tz,Iz=Pz,C0=Iz,Zd=G(C0),kz=dw,Cz=kz,xz=Cz,Az=xz,Rz=Az,x0=G(Rz);function ec(r,n){var e;return ec=Zd?x0(e=Zd).call(e):function(i,a){return i.__proto__=a,i},ec(r,n)}function Dz(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=mz(n.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),wu(r,"prototype",{writable:!1}),ec(r,n)}function Mz(r,n){if(n&&(Sn(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return I0(r)}var Nz=HB,Fz=Nz,Bz=Fz,Lz=Bz,A0=Lz,Py=G(A0);function Js(r){var n;return Js=Zd?x0(n=Py).call(n):function(t){return t.__proto__||Py(t)},Js(r)}var R0={exports:{}},D0={exports:{}};(function(r){var n=df,e=ow;function t(i){"@babel/helpers - typeof";return r.exports=t=typeof n=="function"&&typeof e=="symbol"?function(a){return typeof a}:function(a){return a&&typeof n=="function"&&a.constructor===n&&a!==n.prototype?"symbol":typeof a},r.exports.__esModule=!0,r.exports.default=r.exports,t(i)}r.exports=t,r.exports.__esModule=!0,r.exports.default=r.exports})(D0);var jz=D0.exports,zz=xw,Hz=zz,Wz=Hz,Uz=Wz,Vz=Uz,Iy=Me,Gz=yf,Kz=Ai,qz=_t,Yz=function(r,n,e){for(var t=Gz(n),i=qz.f,a=Kz.f,o=0;o<t.length;o++){var s=t[o];!Iy(r,s)&&!(e&&Iy(e,s))&&i(r,s,a(n,s))}},Xz=Xe,Qz=Pr,Jz=function(r,n){Xz(n)&&"cause"in n&&Qz(r,"cause",n.cause)},Zz=fe,M0=Error,e3=Zz("".replace),t3=function(r){return String(new M0(r).stack)}("zxcasd"),N0=/\n\s*at [^:]*:[^\n]*/,r3=N0.test(t3),i3=function(r,n){if(r3&&typeof r=="string"&&!M0.prepareStackTrace)for(;n--;)r=e3(r,N0,"");return r},n3=ne,a3=Ri,o3=!n3(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",a3(1,7)),r.stack!==7):!0}),s3=Pr,u3=i3,l3=o3,ky=Error.captureStackTrace,h3=function(r,n,e,t){l3&&(ky?ky(r,n):s3(r,"stack",u3(e,t)))},d3=Zr,c3=je,f3=Ct,v3=jn,p3=pw,y3=xt,Cy=De,g3=ff,m3=Bu,xy=vw,b3=TypeError,Cs=function(r,n){this.stopped=r,this.result=n},Ay=Cs.prototype,Bi=function(r,n,e){var t=e&&e.that,i=!!(e&&e.AS_ENTRIES),a=!!(e&&e.IS_RECORD),o=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),u=d3(n,t),l,h,d,c,f,v,p,y=function(m){return l&&xy(l,"normal",m),new Cs(!0,m)},g=function(m){return i?(f3(m),s?u(m[0],m[1],y):u(m[0],m[1])):s?u(m,y):u(m)};if(a)l=r.iterator;else if(o)l=r;else{if(h=m3(r),!h)throw new b3(v3(r)+" is not iterable");if(p3(h)){for(d=0,c=y3(r);c>d;d++)if(f=g(r[d]),f&&Cy(Ay,f))return f;return new Cs(!1)}l=g3(r,h)}for(v=a?r.next:l.next;!(p=c3(v,l)).done;){try{f=g(p.value)}catch(m){xy(l,"throw",m)}if(typeof f=="object"&&f&&Cy(Ay,f))return f}return new Cs(!1)},$3=Di,w3=function(r,n){return r===void 0?arguments.length<2?"":n:$3(r)},_3=H,E3=De,S3=Mu,Zs=Y1,O3=Yz,F0=Mi,oh=Pr,sh=Ri,T3=Jz,P3=h3,I3=Bi,k3=w3,C3=ge,x3=C3("toStringTag"),eu=Error,A3=[].push,In=function(n,e){var t=E3(uh,this),i;Zs?i=Zs(new eu,t?S3(this):uh):(i=t?this:F0(uh),oh(i,x3,"Error")),e!==void 0&&oh(i,"message",k3(e)),P3(i,In,i.stack,1),arguments.length>2&&T3(i,arguments[2]);var a=[];return I3(n,A3,{that:a}),oh(i,"errors",a),i};Zs?Zs(In,eu):O3(In,eu,{name:!0});var uh=In.prototype=F0(eu.prototype,{constructor:sh(1,In),message:sh(1,""),name:sh(1,"AggregateError")});_3({global:!0,constructor:!0,arity:2},{AggregateError:In});var R3=lt,D3=tf,M3=ge,N3=Le,Ry=M3("species"),B0=function(r){var n=R3(r);N3&&n&&!n[Ry]&&D3(n,Ry,{configurable:!0,get:function(){return this}})},F3=De,B3=TypeError,Tf=function(r,n){if(F3(n,r))return r;throw new B3("Incorrect invocation")},Dy=Ct,L3=g0,j3=Fn,z3=ge,H3=z3("species"),L0=function(r,n){var e=Dy(r).constructor,t;return e===void 0||j3(t=Dy(e)[H3])?n:L3(t)},W3=Jr,j0=/(?:ipad|iphone|ipod).*applewebkit/i.test(W3),kt=ve,U3=Nn,V3=Zr,My=$e,G3=Me,z0=ne,Ny=p1,K3=no,Fy=Xc,q3=Fw,Y3=j0,X3=oo,tc=kt.setImmediate,rc=kt.clearImmediate,Q3=kt.process,lh=kt.Dispatch,J3=kt.Function,By=kt.MessageChannel,Z3=kt.String,hh=0,_a={},Ly="onreadystatechange",La,si,dh,ch;z0(function(){La=kt.location});var Pf=function(r){if(G3(_a,r)){var n=_a[r];delete _a[r],n()}},fh=function(r){return function(){Pf(r)}},jy=function(r){Pf(r.data)},zy=function(r){kt.postMessage(Z3(r),La.protocol+"//"+La.host)};(!tc||!rc)&&(tc=function(n){q3(arguments.length,1);var e=My(n)?n:J3(n),t=K3(arguments,1);return _a[++hh]=function(){U3(e,void 0,t)},si(hh),hh},rc=function(n){delete _a[n]},X3?si=function(r){Q3.nextTick(fh(r))}:lh&&lh.now?si=function(r){lh.now(fh(r))}:By&&!Y3?(dh=new By,ch=dh.port2,dh.port1.onmessage=jy,si=V3(ch.postMessage,ch)):kt.addEventListener&&My(kt.postMessage)&&!kt.importScripts&&La&&La.protocol!=="file:"&&!z0(zy)?(si=zy,kt.addEventListener("message",jy,!1)):Ly in Fy("script")?si=function(r){Ny.appendChild(Fy("script"))[Ly]=function(){Ny.removeChild(this),Pf(r)}}:si=function(r){setTimeout(fh(r),0)});var H0={set:tc,clear:rc},W0=function(){this.head=null,this.tail=null};W0.prototype={add:function(r){var n={item:r,next:null},e=this.tail;e?e.next=n:this.head=n,this.tail=n},get:function(){var r=this.head;if(r){var n=this.head=r.next;return n===null&&(this.tail=null),r.item}}};var U0=W0,e5=Jr,t5=/ipad|iphone|ipod/i.test(e5)&&typeof Pebble<"u",r5=Jr,i5=/web0s(?!.*chrome)/i.test(r5),Pi=ve,Hy=Zr,n5=Ai.f,vh=H0.set,a5=U0,o5=j0,s5=t5,u5=i5,ph=oo,Wy=Pi.MutationObserver||Pi.WebKitMutationObserver,Uy=Pi.document,Vy=Pi.process,Zo=Pi.Promise,Gy=n5(Pi,"queueMicrotask"),ic=Gy&&Gy.value,Qi,yh,gh,es,Ky;if(!ic){var ts=new a5,rs=function(){var r,n;for(ph&&(r=Vy.domain)&&r.exit();n=ts.get();)try{n()}catch(e){throw ts.head&&Qi(),e}r&&r.enter()};!o5&&!ph&&!u5&&Wy&&Uy?(yh=!0,gh=Uy.createTextNode(""),new Wy(rs).observe(gh,{characterData:!0}),Qi=function(){gh.data=yh=!yh}):!s5&&Zo&&Zo.resolve?(es=Zo.resolve(void 0),es.constructor=Zo,Ky=Hy(es.then,es),Qi=function(){Ky(rs)}):ph?Qi=function(){Vy.nextTick(rs)}:(vh=Hy(vh,Pi),Qi=function(){vh(rs)}),ic=function(r){ts.head||Qi(),ts.add(r)}}var l5=ic,h5=function(r,n){try{arguments.length===1?console.error(r):console.error(r,n)}catch{}},qn=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}},d5=ve,Yn=d5.Promise,V0=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",c5=V0,f5=oo,v5=!c5&&!f5&&typeof window=="object"&&typeof document=="object",p5=ve,Ea=Yn,y5=$e,g5=r1,m5=u1,b5=ge,$5=v5,w5=V0,mh=Bn,qy=Ea&&Ea.prototype,_5=b5("species"),nc=!1,G0=y5(p5.PromiseRejectionEvent),E5=g5("Promise",function(){var r=m5(Ea),n=r!==String(Ea);if(!n&&mh===66||!(qy.catch&&qy.finally))return!0;if(!mh||mh<51||!/native code/.test(r)){var e=new Ea(function(a){a(1)}),t=function(a){a(function(){},function(){})},i=e.constructor={};if(i[_5]=t,nc=e.then(function(){})instanceof t,!nc)return!0}return!n&&($5||w5)&&!G0}),fo={CONSTRUCTOR:E5,REJECTION_EVENT:G0,SUBCLASSING:nc},lr={},Yy=$t,S5=TypeError,O5=function(r){var n,e;this.promise=new r(function(t,i){if(n!==void 0||e!==void 0)throw new S5("Bad Promise constructor");n=t,e=i}),this.resolve=Yy(n),this.reject=Yy(e)};lr.f=function(r){return new O5(r)};var T5=H,tu=oo,Kr=ve,vo=je,P5=Wn,I5=Ni,k5=B0,C5=$t,ac=$e,x5=Xe,A5=Tf,R5=L0,K0=H0.set,If=l5,D5=h5,M5=qn,N5=U0,q0=Un,oc=Yn,Y0=fo,X0=lr,Uu="Promise",Q0=Y0.CONSTRUCTOR,F5=Y0.REJECTION_EVENT,bh=q0.getterFor(Uu),B5=q0.set,L5=oc&&oc.prototype,dn=oc,$h=L5,J0=Kr.TypeError,sc=Kr.document,kf=Kr.process,uc=X0.f,j5=uc,z5=!!(sc&&sc.createEvent&&Kr.dispatchEvent),Z0="unhandledrejection",H5="rejectionhandled",Xy=0,e_=1,W5=2,Cf=1,t_=2,is,Qy,U5,r_=function(r){var n;return x5(r)&&ac(n=r.then)?n:!1},i_=function(r,n){var e=n.value,t=n.state===e_,i=t?r.ok:r.fail,a=r.resolve,o=r.reject,s=r.domain,u,l,h;try{i?(t||(n.rejection===t_&&G5(n),n.rejection=Cf),i===!0?u=e:(s&&s.enter(),u=i(e),s&&(s.exit(),h=!0)),u===r.promise?o(new J0("Promise-chain cycle")):(l=r_(u))?vo(l,u,a,o):a(u)):o(e)}catch(d){s&&!h&&s.exit(),o(d)}},n_=function(r,n){r.notified||(r.notified=!0,If(function(){for(var e=r.reactions,t;t=e.get();)i_(t,r);r.notified=!1,n&&!r.rejection&&V5(r)}))},a_=function(r,n,e){var t,i;z5?(t=sc.createEvent("Event"),t.promise=n,t.reason=e,t.initEvent(r,!1,!0),Kr.dispatchEvent(t)):t={promise:n,reason:e},!F5&&(i=Kr["on"+r])?i(t):r===Z0&&D5("Unhandled promise rejection",e)},V5=function(r){vo(K0,Kr,function(){var n=r.facade,e=r.value,t=Jy(r),i;if(t&&(i=M5(function(){tu?kf.emit("unhandledRejection",e,n):a_(Z0,n,e)}),r.rejection=tu||Jy(r)?t_:Cf,i.error))throw i.value})},Jy=function(r){return r.rejection!==Cf&&!r.parent},G5=function(r){vo(K0,Kr,function(){var n=r.facade;tu?kf.emit("rejectionHandled",n):a_(H5,n,r.value)})},cn=function(r,n,e){return function(t){r(n,t,e)}},mn=function(r,n,e){r.done||(r.done=!0,e&&(r=e),r.value=n,r.state=W5,n_(r,!0))},lc=function(r,n,e){if(!r.done){r.done=!0,e&&(r=e);try{if(r.facade===n)throw new J0("Promise can't be resolved itself");var t=r_(n);t?If(function(){var i={done:!1};try{vo(t,n,cn(lc,i,r),cn(mn,i,r))}catch(a){mn(i,a,r)}}):(r.value=n,r.state=e_,n_(r,!1))}catch(i){mn({done:!1},i,r)}}};Q0&&(dn=function(n){A5(this,$h),C5(n),vo(is,this);var e=bh(this);try{n(cn(lc,e),cn(mn,e))}catch(t){mn(e,t)}},$h=dn.prototype,is=function(n){B5(this,{type:Uu,done:!1,notified:!1,parent:!1,reactions:new N5,rejection:!1,state:Xy,value:void 0})},is.prototype=P5($h,"then",function(n,e){var t=bh(this),i=uc(R5(this,dn));return t.parent=!0,i.ok=ac(n)?n:!0,i.fail=ac(e)&&e,i.domain=tu?kf.domain:void 0,t.state===Xy?t.reactions.add(i):If(function(){i_(i,t)}),i.promise}),Qy=function(){var r=new is,n=bh(r);this.promise=r,this.resolve=cn(lc,n),this.reject=cn(mn,n)},X0.f=uc=function(r){return r===dn||r===U5?new Qy(r):j5(r)});T5({global:!0,constructor:!0,wrap:!0,forced:Q0},{Promise:dn});I5(dn,Uu,!1,!0);k5(Uu);var K5=Yn,q5=mw,Y5=fo.CONSTRUCTOR,Vu=Y5||!q5(function(r){K5.all(r).then(void 0,function(){})}),X5=H,Q5=je,J5=$t,Z5=lr,eH=qn,tH=Bi,rH=Vu;X5({target:"Promise",stat:!0,forced:rH},{all:function(n){var e=this,t=Z5.f(e),i=t.resolve,a=t.reject,o=eH(function(){var s=J5(e.resolve),u=[],l=0,h=1;tH(n,function(d){var c=l++,f=!1;h++,Q5(s,e,d).then(function(v){f||(f=!0,u[c]=v,--h||i(u))},a)}),--h||i(u)});return o.error&&a(o.value),t.promise}});var iH=H,nH=fo.CONSTRUCTOR,Zy=Yn;Zy&&Zy.prototype;iH({target:"Promise",proto:!0,forced:nH,real:!0},{catch:function(r){return this.then(void 0,r)}});var aH=H,oH=je,sH=$t,uH=lr,lH=qn,hH=Bi,dH=Vu;aH({target:"Promise",stat:!0,forced:dH},{race:function(n){var e=this,t=uH.f(e),i=t.reject,a=lH(function(){var o=sH(e.resolve);hH(n,function(s){oH(o,e,s).then(t.resolve,i)})});return a.error&&i(a.value),t.promise}});var cH=H,fH=je,vH=lr,pH=fo.CONSTRUCTOR;cH({target:"Promise",stat:!0,forced:pH},{reject:function(n){var e=vH.f(this);return fH(e.reject,void 0,n),e.promise}});var yH=Ct,gH=Xe,mH=lr,o_=function(r,n){if(yH(r),gH(n)&&n.constructor===r)return n;var e=mH.f(r),t=e.resolve;return t(n),e.promise},bH=H,$H=lt,wH=CT,_H=Yn,EH=fo.CONSTRUCTOR,SH=o_,OH=$H("Promise"),TH=!EH;bH({target:"Promise",stat:!0,forced:wH},{resolve:function(n){return SH(TH&&this===OH?_H:this,n)}});var PH=H,IH=je,kH=$t,CH=lr,xH=qn,AH=Bi,RH=Vu;PH({target:"Promise",stat:!0,forced:RH},{allSettled:function(n){var e=this,t=CH.f(e),i=t.resolve,a=t.reject,o=xH(function(){var s=kH(e.resolve),u=[],l=0,h=1;AH(n,function(d){var c=l++,f=!1;h++,IH(s,e,d).then(function(v){f||(f=!0,u[c]={status:"fulfilled",value:v},--h||i(u))},function(v){f||(f=!0,u[c]={status:"rejected",reason:v},--h||i(u))})}),--h||i(u)});return o.error&&a(o.value),t.promise}});var DH=H,MH=je,NH=$t,FH=lt,BH=lr,LH=qn,jH=Bi,zH=Vu,eg="No one promise resolved";DH({target:"Promise",stat:!0,forced:zH},{any:function(n){var e=this,t=FH("AggregateError"),i=BH.f(e),a=i.resolve,o=i.reject,s=LH(function(){var u=NH(e.resolve),l=[],h=0,d=1,c=!1;jH(n,function(f){var v=h++,p=!1;d++,MH(u,e,f).then(function(y){p||c||(c=!0,a(y))},function(y){p||c||(p=!0,l[v]=y,--d||o(new t(l,eg)))})}),--d||o(new t(l,eg))});return s.error&&o(s.value),i.promise}});var HH=H,hc=Yn,WH=ne,UH=lt,VH=$e,GH=L0,tg=o_,KH=hc&&hc.prototype,qH=!!hc&&WH(function(){KH.finally.call({then:function(){}},function(){})});HH({target:"Promise",proto:!0,real:!0,forced:qH},{finally:function(r){var n=GH(this,UH("Promise")),e=VH(r);return this.then(e?function(t){return tg(n,r()).then(function(){return t})}:r,e?function(t){return tg(n,r()).then(function(){throw t})}:r)}});var YH=pe,XH=YH.Promise,QH=XH,JH=QH,ZH=H,eW=lr;ZH({target:"Promise",stat:!0},{withResolvers:function(){var n=eW.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}});var tW=JH,rW=tW,iW=H,nW=lr,aW=qn;iW({target:"Promise",stat:!0,forced:!0},{try:function(r){var n=nW.f(this),e=aW(r);return(e.error?n.reject:n.resolve)(e.value),n.promise}});var oW=rW,sW=oW,uW=sW,lW=Aw,hW=lW,dW=hW,cW=dW,fW=cW;(function(r){var n=jz.default,e=o1,t=df,i=k0,a=A0,o=Vz,s=Ow,u=C0,l=uW,h=fW,d=Pw;function c(){r.exports=c=function(){return v},r.exports.__esModule=!0,r.exports.default=r.exports;var f,v={},p=Object.prototype,y=p.hasOwnProperty,g=e||function(A,T,P){A[T]=P.value},m=typeof t=="function"?t:{},w=m.iterator||"@@iterator",$=m.asyncIterator||"@@asyncIterator",E=m.toStringTag||"@@toStringTag";function k(A,T,P){return e(A,T,{value:P,enumerable:!0,configurable:!0,writable:!0}),A[T]}try{k({},"")}catch{k=function(P,z,q){return P[z]=q}}function D(A,T,P,z){var q=T&&T.prototype instanceof ye?T:ye,K=i(q.prototype),Te=new Tt(z||[]);return g(K,"_invoke",{value:Ce(A,P,Te)}),K}function j(A,T,P){try{return{type:"normal",arg:A.call(T,P)}}catch(z){return{type:"throw",arg:z}}}v.wrap=D;var R="suspendedStart",M="suspendedYield",W="executing",X="completed",Y={};function ye(){}function Ge(){}function ke(){}var St={};k(St,w,function(){return this});var rt=a,Qe=rt&&rt(rt(et([])));Qe&&Qe!==p&&y.call(Qe,w)&&(St=Qe);var Ot=ke.prototype=ye.prototype=i(St);function Je(A){var T;o(T=["next","throw","return"]).call(T,function(P){k(A,P,function(z){return this._invoke(P,z)})})}function ce(A,T){function P(q,K,Te,it){var ht=j(A[q],A,K);if(ht.type!=="throw"){var ai=ht.arg,Cr=ai.value;return Cr&&n(Cr)=="object"&&y.call(Cr,"__await")?T.resolve(Cr.__await).then(function(oi){P("next",oi,Te,it)},function(oi){P("throw",oi,Te,it)}):T.resolve(Cr).then(function(oi){ai.value=oi,Te(ai)},function(oi){return P("throw",oi,Te,it)})}it(ht.arg)}var z;g(this,"_invoke",{value:function(K,Te){function it(){return new T(function(ht,ai){P(K,Te,ht,ai)})}return z=z?z.then(it,it):it()}})}function Ce(A,T,P){var z=R;return function(q,K){if(z===W)throw new Error("Generator is already running");if(z===X){if(q==="throw")throw K;return{value:f,done:!0}}for(P.method=q,P.arg=K;;){var Te=P.delegate;if(Te){var it=Oe(Te,P);if(it){if(it===Y)continue;return it}}if(P.method==="next")P.sent=P._sent=P.arg;else if(P.method==="throw"){if(z===R)throw z=X,P.arg;P.dispatchException(P.arg)}else P.method==="return"&&P.abrupt("return",P.arg);z=W;var ht=j(A,T,P);if(ht.type==="normal"){if(z=P.done?X:M,ht.arg===Y)continue;return{value:ht.arg,done:P.done}}ht.type==="throw"&&(z=X,P.method="throw",P.arg=ht.arg)}}}function Oe(A,T){var P=T.method,z=A.iterator[P];if(z===f)return T.delegate=null,P==="throw"&&A.iterator.return&&(T.method="return",T.arg=f,Oe(A,T),T.method==="throw")||P!=="return"&&(T.method="throw",T.arg=new TypeError("The iterator does not provide a '"+P+"' method")),Y;var q=j(z,A.iterator,T.arg);if(q.type==="throw")return T.method="throw",T.arg=q.arg,T.delegate=null,Y;var K=q.arg;return K?K.done?(T[A.resultName]=K.value,T.next=A.nextLoc,T.method!=="return"&&(T.method="next",T.arg=f),T.delegate=null,Y):K:(T.method="throw",T.arg=new TypeError("iterator result is not an object"),T.delegate=null,Y)}function Ze(A){var T,P={tryLoc:A[0]};1 in A&&(P.catchLoc=A[1]),2 in A&&(P.finallyLoc=A[2],P.afterLoc=A[3]),s(T=this.tryEntries).call(T,P)}function cr(A){var T=A.completion||{};T.type="normal",delete T.arg,A.completion=T}function Tt(A){this.tryEntries=[{tryLoc:"root"}],o(A).call(A,Ze,this),this.reset(!0)}function et(A){if(A||A===""){var T=A[w];if(T)return T.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var P=-1,z=function q(){for(;++P<A.length;)if(y.call(A,P))return q.value=A[P],q.done=!1,q;return q.value=f,q.done=!0,q};return z.next=z}}throw new TypeError(n(A)+" is not iterable")}return Ge.prototype=ke,g(Ot,"constructor",{value:ke,configurable:!0}),g(ke,"constructor",{value:Ge,configurable:!0}),Ge.displayName=k(ke,E,"GeneratorFunction"),v.isGeneratorFunction=function(A){var T=typeof A=="function"&&A.constructor;return!!T&&(T===Ge||(T.displayName||T.name)==="GeneratorFunction")},v.mark=function(A){return u?u(A,ke):(A.__proto__=ke,k(A,E,"GeneratorFunction")),A.prototype=i(Ot),A},v.awrap=function(A){return{__await:A}},Je(ce.prototype),k(ce.prototype,$,function(){return this}),v.AsyncIterator=ce,v.async=function(A,T,P,z,q){q===void 0&&(q=l);var K=new ce(D(A,T,P,z),q);return v.isGeneratorFunction(T)?K:K.next().then(function(Te){return Te.done?Te.value:K.next()})},Je(Ot),k(Ot,E,"Generator"),k(Ot,w,function(){return this}),k(Ot,"toString",function(){return"[object Generator]"}),v.keys=function(A){var T=Object(A),P=[];for(var z in T)s(P).call(P,z);return h(P).call(P),function q(){for(;P.length;){var K=P.pop();if(K in T)return q.value=K,q.done=!1,q}return q.done=!0,q}},v.values=et,Tt.prototype={constructor:Tt,reset:function(T){var P;if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,o(P=this.tryEntries).call(P,cr),!T)for(var z in this)z.charAt(0)==="t"&&y.call(this,z)&&!isNaN(+d(z).call(z,1))&&(this[z]=f)},stop:function(){this.done=!0;var T=this.tryEntries[0].completion;if(T.type==="throw")throw T.arg;return this.rval},dispatchException:function(T){if(this.done)throw T;var P=this;function z(ai,Cr){return Te.type="throw",Te.arg=T,P.next=ai,Cr&&(P.method="next",P.arg=f),!!Cr}for(var q=this.tryEntries.length-1;q>=0;--q){var K=this.tryEntries[q],Te=K.completion;if(K.tryLoc==="root")return z("end");if(K.tryLoc<=this.prev){var it=y.call(K,"catchLoc"),ht=y.call(K,"finallyLoc");if(it&&ht){if(this.prev<K.catchLoc)return z(K.catchLoc,!0);if(this.prev<K.finallyLoc)return z(K.finallyLoc)}else if(it){if(this.prev<K.catchLoc)return z(K.catchLoc,!0)}else{if(!ht)throw new Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return z(K.finallyLoc)}}}},abrupt:function(T,P){for(var z=this.tryEntries.length-1;z>=0;--z){var q=this.tryEntries[z];if(q.tryLoc<=this.prev&&y.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var K=q;break}}K&&(T==="break"||T==="continue")&&K.tryLoc<=P&&P<=K.finallyLoc&&(K=null);var Te=K?K.completion:{};return Te.type=T,Te.arg=P,K?(this.method="next",this.next=K.finallyLoc,Y):this.complete(Te)},complete:function(T,P){if(T.type==="throw")throw T.arg;return T.type==="break"||T.type==="continue"?this.next=T.arg:T.type==="return"?(this.rval=this.arg=T.arg,this.method="return",this.next="end"):T.type==="normal"&&P&&(this.next=P),Y},finish:function(T){for(var P=this.tryEntries.length-1;P>=0;--P){var z=this.tryEntries[P];if(z.finallyLoc===T)return this.complete(z.completion,z.afterLoc),cr(z),Y}},catch:function(T){for(var P=this.tryEntries.length-1;P>=0;--P){var z=this.tryEntries[P];if(z.tryLoc===T){var q=z.completion;if(q.type==="throw"){var K=q.arg;cr(z)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(T,P,z){return this.delegate={iterator:et(T),resultName:P,nextLoc:z},this.method==="next"&&(this.arg=f),Y}},v}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports})(R0);var vW=R0.exports,xs=vW(),pW=xs;try{regeneratorRuntime=xs}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=xs:Function("r","regeneratorRuntime = r")(xs)}var ct=G(pW),s_={exports:{}},yW=ne,gW=yW(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),mW=ne,bW=Xe,$W=Qr,rg=gW,As=Object.isExtensible,wW=mW(function(){As(1)}),_W=wW||rg?function(n){return!bW(n)||rg&&$W(n)==="ArrayBuffer"?!1:As?As(n):!0}:As,EW=ne,SW=!EW(function(){return Object.isExtensible(Object.preventExtensions({}))}),OW=H,TW=fe,PW=Ja,IW=Xe,xf=Me,kW=_t.f,ig=Za,CW=ef,Af=_W,xW=bu,AW=SW,u_=!1,Sr=xW("meta"),RW=0,Rf=function(r){kW(r,Sr,{value:{objectID:"O"+RW++,weakData:{}}})},DW=function(r,n){if(!IW(r))return typeof r=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!xf(r,Sr)){if(!Af(r))return"F";if(!n)return"E";Rf(r)}return r[Sr].objectID},MW=function(r,n){if(!xf(r,Sr)){if(!Af(r))return!0;if(!n)return!1;Rf(r)}return r[Sr].weakData},NW=function(r){return AW&&u_&&Af(r)&&!xf(r,Sr)&&Rf(r),r},FW=function(){BW.enable=function(){},u_=!0;var r=ig.f,n=TW([].splice),e={};e[Sr]=1,r(e).length&&(ig.f=function(t){for(var i=r(t),a=0,o=i.length;a<o;a++)if(i[a]===Sr){n(i,a,1);break}return i},OW({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:CW.f}))},BW=s_.exports={enable:FW,fastKey:DW,getWeakData:MW,onFreeze:NW};PW[Sr]=!0;var l_=s_.exports,LW=H,jW=ve,zW=l_,HW=ne,WW=Pr,UW=Bi,VW=Tf,GW=$e,KW=Xe,qW=Fn,YW=Ni,XW=_t.f,QW=Vn.forEach,JW=Le,h_=Un,ZW=h_.set,e4=h_.getterFor,d_=function(r,n,e){var t=r.indexOf("Map")!==-1,i=r.indexOf("Weak")!==-1,a=t?"set":"add",o=jW[r],s=o&&o.prototype,u={},l;if(!JW||!GW(o)||!(i||s.forEach&&!HW(function(){new o().entries().next()})))l=e.getConstructor(n,r,t,a),zW.enable();else{l=n(function(c,f){ZW(VW(c,h),{type:r,collection:new o}),qW(f)||UW(f,c[a],{that:c,AS_ENTRIES:t})});var h=l.prototype,d=e4(r);QW(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(c){var f=c==="add"||c==="set";c in s&&!(i&&c==="clear")&&WW(h,c,function(v,p){var y=d(this).collection;if(!f&&i&&!KW(v))return c==="get"?void 0:!1;var g=y[c](v===0?0:v,p);return f?this:g})}),i||XW(h,"size",{configurable:!0,get:function(){return d(this).collection.size}})}return YW(l,r,!1,!0),u[r]=l,LW({global:!0,forced:!0},u),i||e.setStrong(l,r,t),l},t4=Wn,r4=function(r,n,e){for(var t in n)e&&e.unsafe&&r[t]?r[t]=n[t]:t4(r,t,n[t],e);return r},i4=Mi,n4=tf,ng=r4,a4=Zr,o4=Tf,s4=Fn,u4=Bi,l4=uf,ns=lf,h4=B0,ha=Le,ag=l_.fastKey,c_=Un,og=c_.set,wh=c_.getterFor,f_={getConstructor:function(r,n,e,t){var i=r(function(l,h){o4(l,a),og(l,{type:n,index:i4(null),first:void 0,last:void 0,size:0}),ha||(l.size=0),s4(h)||u4(h,l[t],{that:l,AS_ENTRIES:e})}),a=i.prototype,o=wh(n),s=function(l,h,d){var c=o(l),f=u(l,h),v,p;return f?f.value=d:(c.last=f={index:p=ag(h,!0),key:h,value:d,previous:v=c.last,next:void 0,removed:!1},c.first||(c.first=f),v&&(v.next=f),ha?c.size++:l.size++,p!=="F"&&(c.index[p]=f)),l},u=function(l,h){var d=o(l),c=ag(h),f;if(c!=="F")return d.index[c];for(f=d.first;f;f=f.next)if(f.key===h)return f};return ng(a,{clear:function(){for(var h=this,d=o(h),c=d.index,f=d.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete c[f.index],f=f.next;d.first=d.last=void 0,ha?d.size=0:h.size=0},delete:function(l){var h=this,d=o(h),c=u(h,l);if(c){var f=c.next,v=c.previous;delete d.index[c.index],c.removed=!0,v&&(v.next=f),f&&(f.previous=v),d.first===c&&(d.first=f),d.last===c&&(d.last=v),ha?d.size--:h.size--}return!!c},forEach:function(h){for(var d=o(this),c=a4(h,arguments.length>1?arguments[1]:void 0),f;f=f?f.next:d.first;)for(c(f.value,f.key,this);f&&f.removed;)f=f.previous},has:function(h){return!!u(this,h)}}),ng(a,e?{get:function(h){var d=u(this,h);return d&&d.value},set:function(h,d){return s(this,h===0?0:h,d)}}:{add:function(h){return s(this,h=h===0?0:h,h)}}),ha&&n4(a,"size",{configurable:!0,get:function(){return o(this).size}}),i},setStrong:function(r,n,e){var t=n+" Iterator",i=wh(n),a=wh(t);l4(r,n,function(o,s){og(this,{type:t,target:o,state:i(o),kind:s,last:void 0})},function(){for(var o=a(this),s=o.kind,u=o.last;u&&u.removed;)u=u.previous;return!o.target||!(o.last=u=u?u.next:o.state.first)?(o.target=void 0,ns(void 0,!0)):ns(s==="keys"?u.key:s==="values"?u.value:[u.key,u.value],!1)},e?"entries":"values",!e,!0),h4(n)}},d4=d_,c4=f_;d4("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},c4);var f4=pe,v4=f4.Map,p4=v4,y4=p4,g4=y4,v_=G(g4),m4=H,b4=Vn.some,$4=Fu,w4=$4("some");m4({target:"Array",proto:!0,forced:!w4},{some:function(n){return b4(this,n,arguments.length>1?arguments[1]:void 0)}});var _4=tt,E4=_4("Array","some"),S4=De,O4=E4,_h=Array.prototype,T4=function(r){var n=r.some;return r===_h||S4(_h,r)&&n===_h.some?O4:n},P4=T4,I4=P4,k4=I4,C4=G(k4),x4=tt,A4=x4("Array","keys"),R4=A4,D4=R4,M4=Ir,N4=Me,F4=De,B4=D4,Eh=Array.prototype,L4={DOMTokenList:!0,NodeList:!0},j4=function(r){var n=r.keys;return r===Eh||F4(Eh,r)&&n===Eh.keys||N4(L4,M4(r))?B4:n},z4=j4,Ji=G(z4),sg=m1,H4=Math.floor,dc=function(r,n){var e=r.length,t=H4(e/2);return e<8?W4(r,n):U4(r,dc(sg(r,0,t),n),dc(sg(r,t),n),n)},W4=function(r,n){for(var e=r.length,t=1,i,a;t<e;){for(a=t,i=r[t];a&&n(r[a-1],i)>0;)r[a]=r[--a];a!==t++&&(r[a]=i)}return r},U4=function(r,n,e,t){for(var i=n.length,a=e.length,o=0,s=0;o<i||s<a;)r[o+s]=o<i&&s<a?t(n[o],e[s])<=0?n[o++]:e[s++]:o<i?n[o++]:e[s++];return r},V4=dc,G4=Jr,ug=G4.match(/firefox\/(\d+)/i),K4=!!ug&&+ug[1],q4=Jr,Y4=/MSIE|Trident/.test(q4),X4=Jr,lg=X4.match(/AppleWebKit\/(\d+)\./),Q4=!!lg&&+lg[1],J4=H,p_=fe,Z4=$t,e6=wt,hg=xt,t6=Rw,dg=Di,Df=ne,r6=V4,i6=Fu,cg=K4,n6=Y4,fg=Bn,vg=Q4,Fr=[],pg=p_(Fr.sort),a6=p_(Fr.push),o6=Df(function(){Fr.sort(void 0)}),s6=Df(function(){Fr.sort(null)}),u6=i6("sort"),y_=!Df(function(){if(fg)return fg<70;if(!(cg&&cg>3)){if(n6)return!0;if(vg)return vg<603;var r="",n,e,t,i;for(n=65;n<76;n++){switch(e=String.fromCharCode(n),n){case 66:case 69:case 70:case 72:t=3;break;case 68:case 71:t=4;break;default:t=2}for(i=0;i<47;i++)Fr.push({k:e+i,v:t})}for(Fr.sort(function(a,o){return o.v-a.v}),i=0;i<Fr.length;i++)e=Fr[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return r!=="DGBEFHACIJK"}}),l6=o6||!s6||!u6||!y_,h6=function(r){return function(n,e){return e===void 0?-1:n===void 0?1:r!==void 0?+r(n,e)||0:dg(n)>dg(e)?1:-1}};J4({target:"Array",proto:!0,forced:l6},{sort:function(n){n!==void 0&&Z4(n);var e=e6(this);if(y_)return n===void 0?pg(e):pg(e,n);var t=[],i=hg(e),a,o;for(o=0;o<i;o++)o in e&&a6(t,e[o]);for(r6(t,h6(n)),a=hg(t),o=0;o<a;)e[o]=t[o++];for(;o<i;)t6(e,o++);return e}});var d6=tt,c6=d6("Array","sort"),f6=De,v6=c6,Sh=Array.prototype,p6=function(r){var n=r.sort;return r===Sh||f6(Sh,r)&&n===Sh.sort?v6:n},y6=p6,g6=y6,m6=g6,cc=G(m6),b6=tt,$6=b6("Array","values"),w6=$6,_6=w6,E6=Ir,S6=Me,O6=De,T6=_6,Oh=Array.prototype,P6={DOMTokenList:!0,NodeList:!0},I6=function(r){var n=r.values;return r===Oh||O6(Oh,r)&&n===Oh.values||S6(P6,E6(r))?T6:n},k6=I6,yg=G(k6),C6=aw,fn=G(C6),x6=tt,A6=x6("Array","entries"),R6=A6,D6=R6,M6=Ir,N6=Me,F6=De,B6=D6,Th=Array.prototype,L6={DOMTokenList:!0,NodeList:!0},j6=function(r){var n=r.entries;return r===Th||F6(Th,r)&&n===Th.entries||N6(L6,M6(r))?B6:n},z6=j6,H6=G(z6);let as;const W6=new Uint8Array(16);function U6(){if(!as&&(as=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!as))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return as(W6)}const Ke=[];for(let r=0;r<256;++r)Ke.push((r+256).toString(16).slice(1));function V6(r,n=0){return Ke[r[n+0]]+Ke[r[n+1]]+Ke[r[n+2]]+Ke[r[n+3]]+"-"+Ke[r[n+4]]+Ke[r[n+5]]+"-"+Ke[r[n+6]]+Ke[r[n+7]]+"-"+Ke[r[n+8]]+Ke[r[n+9]]+"-"+Ke[r[n+10]]+Ke[r[n+11]]+Ke[r[n+12]]+Ke[r[n+13]]+Ke[r[n+14]]+Ke[r[n+15]]}const G6=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var gg={randomUUID:G6};function K6(r,n,e){if(gg.randomUUID&&!n&&!r)return gg.randomUUID();r=r||{};const t=r.random||(r.rng||U6)();return t[6]=t[6]&15|64,t[8]=t[8]&63|128,V6(t)}function mg(r){return typeof r=="string"||typeof r=="number"}var q6=function(){function r(n){yu(this,r),zr(this,"_queue",[]),zr(this,"_timeout",null),zr(this,"_extended",null),this.delay=null,this.max=1/0,this.setOptions(n)}return Nu(r,[{key:"setOptions",value:function(e){e&&typeof e.delay<"u"&&(this.delay=e.delay),e&&typeof e.max<"u"&&(this.max=e.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var e=this._extended.object,t=this._extended.methods,i=0;i<t.length;i++){var a=t[i];a.original?e[a.name]=a.original:delete e[a.name]}this._extended=null}}},{key:"replace",value:function(e,t){var i=this,a=e[t];if(!a)throw new Error("Method "+t+" undefined");e[t]=function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];i.queue({args:s,fn:a,context:this})}}},{key:"queue",value:function(e){typeof e=="function"?this._queue.push({fn:e}):this._queue.push(e),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var e=this;this._queue.length>this.max&&this.flush(),this._timeout!=null&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&typeof this.delay=="number"&&(this._timeout=wL(function(){e.flush()},this.delay))}},{key:"flush",value:function(){var e,t;Ei(e=Dw(t=this._queue).call(t,0)).call(e,function(i){i.fn.apply(i.context||i.fn,i.args||[])})}}],[{key:"extend",value:function(e,t){var i=new r(t);if(e.flush!==void 0)throw new Error("Target object already has a property flush");e.flush=function(){i.flush()};var a=[{name:"flush",original:void 0}];if(t&&t.replace)for(var o=0;o<t.replace.length;o++){var s=t.replace[o];a.push({name:s,original:e[s]}),i.replace(e,s)}return i._extended={object:e,methods:a},i}}]),r}(),Y6=function(){function r(){yu(this,r),zr(this,"_subscribers",{"*":[],add:[],remove:[],update:[]}),zr(this,"subscribe",r.prototype.on),zr(this,"unsubscribe",r.prototype.off)}return Nu(r,[{key:"_trigger",value:function(e,t,i){var a,o;if(e==="*")throw new Error("Cannot trigger event *");Ei(a=ju(o=[]).call(o,pt(this._subscribers[e]),pt(this._subscribers["*"]))).call(a,function(s){s(e,t,i??null)})}},{key:"on",value:function(e,t){typeof t=="function"&&this._subscribers[e].push(t)}},{key:"off",value:function(e,t){var i;this._subscribers[e]=un(i=this._subscribers[e]).call(i,function(a){return a!==t})}}]),r}(),X6=d_,Q6=f_;X6("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},Q6);var J6=pe,Z6=J6.Set,eU=Z6,tU=eU,rU=tU,Ph=G(rU),iU=ff,nU=iU,aU=nU,oU=aU,sU=oU,uU=sU,lU=uU,hU=lU,dU=hU,cU=dU,Ih=G(cU);function Zt(r,n){var e=typeof Lu<"u"&&pf(r)||r["@@iterator"];if(!e){if(It(r)||(e=fU(r))||n){e&&(r=e);var t=0,i=function(){};return{s:i,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
36
36
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(r)},n:function(){var l=e.next();return a=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function fU(r,n){var e;if(r){if(typeof r=="string")return bg(r,n);var t=zu(e=Object.prototype.toString.call(r)).call(e,8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return vf(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return bg(r,n)}}function bg(r,n){(n==null||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}var $g=function(r){function n(e){yu(this,n),this._pairs=e}return Nu(n,[{key:r,value:ct.mark(function e(){var t,i,a,o,s;return ct.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:t=Zt(this._pairs),l.prev=1,t.s();case 3:if((i=t.n()).done){l.next=9;break}return a=dt(i.value,2),o=a[0],s=a[1],l.next=7,[o,s];case 7:l.next=3;break;case 9:l.next=14;break;case 11:l.prev=11,l.t0=l.catch(1),t.e(l.t0);case 14:return l.prev=14,t.f(),l.finish(14);case 17:case"end":return l.stop()}},e,this,[[1,11,14,17]])})},{key:"entries",value:ct.mark(function e(){var t,i,a,o,s;return ct.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:t=Zt(this._pairs),l.prev=1,t.s();case 3:if((i=t.n()).done){l.next=9;break}return a=dt(i.value,2),o=a[0],s=a[1],l.next=7,[o,s];case 7:l.next=3;break;case 9:l.next=14;break;case 11:l.prev=11,l.t0=l.catch(1),t.e(l.t0);case 14:return l.prev=14,t.f(),l.finish(14);case 17:case"end":return l.stop()}},e,this,[[1,11,14,17]])})},{key:"keys",value:ct.mark(function e(){var t,i,a,o;return ct.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:t=Zt(this._pairs),u.prev=1,t.s();case 3:if((i=t.n()).done){u.next=9;break}return a=dt(i.value,1),o=a[0],u.next=7,o;case 7:u.next=3;break;case 9:u.next=14;break;case 11:u.prev=11,u.t0=u.catch(1),t.e(u.t0);case 14:return u.prev=14,t.f(),u.finish(14);case 17:case"end":return u.stop()}},e,this,[[1,11,14,17]])})},{key:"values",value:ct.mark(function e(){var t,i,a,o;return ct.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:t=Zt(this._pairs),u.prev=1,t.s();case 3:if((i=t.n()).done){u.next=9;break}return a=dt(i.value,2),o=a[1],u.next=7,o;case 7:u.next=3;break;case 9:u.next=14;break;case 11:u.prev=11,u.t0=u.catch(1),t.e(u.t0);case 14:return u.prev=14,t.f(),u.finish(14);case 17:case"end":return u.stop()}},e,this,[[1,11,14,17]])})},{key:"toIdArray",value:function(){var t;return Vt(t=pt(this._pairs)).call(t,function(i){return i[0]})}},{key:"toItemArray",value:function(){var t;return Vt(t=pt(this._pairs)).call(t,function(i){return i[1]})}},{key:"toEntryArray",value:function(){return pt(this._pairs)}},{key:"toObjectMap",value:function(){var t=QB(null),i=Zt(this._pairs),a;try{for(i.s();!(a=i.n()).done;){var o=dt(a.value,2),s=o[0],u=o[1];t[s]=u}}catch(l){i.e(l)}finally{i.f()}return t}},{key:"toMap",value:function(){return new v_(this._pairs)}},{key:"toIdSet",value:function(){return new Ph(this.toIdArray())}},{key:"toItemSet",value:function(){return new Ph(this.toItemArray())}},{key:"cache",value:function(){return new n(pt(this._pairs))}},{key:"distinct",value:function(t){var i=new Ph,a=Zt(this._pairs),o;try{for(a.s();!(o=a.n()).done;){var s=dt(o.value,2),u=s[0],l=s[1];i.add(t(l,u))}}catch(h){a.e(h)}finally{a.f()}return i}},{key:"filter",value:function(t){var i=this._pairs;return new n({[fn](){return ct.mark(function a(){var o,s,u,l,h;return ct.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:o=Zt(i),c.prev=1,o.s();case 3:if((s=o.n()).done){c.next=10;break}if(u=dt(s.value,2),l=u[0],h=u[1],!t(h,l)){c.next=8;break}return c.next=8,[l,h];case 8:c.next=3;break;case 10:c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),o.e(c.t0);case 15:return c.prev=15,o.f(),c.finish(15);case 18:case"end":return c.stop()}},a,null,[[1,12,15,18]])})()}})}},{key:"forEach",value:function(t){var i=Zt(this._pairs),a;try{for(i.s();!(a=i.n()).done;){var o=dt(a.value,2),s=o[0],u=o[1];t(u,s)}}catch(l){i.e(l)}finally{i.f()}}},{key:"map",value:function(t){var i=this._pairs;return new n({[fn](){return ct.mark(function a(){var o,s,u,l,h;return ct.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:o=Zt(i),c.prev=1,o.s();case 3:if((s=o.n()).done){c.next=9;break}return u=dt(s.value,2),l=u[0],h=u[1],c.next=7,[l,t(h,l)];case 7:c.next=3;break;case 9:c.next=14;break;case 11:c.prev=11,c.t0=c.catch(1),o.e(c.t0);case 14:return c.prev=14,o.f(),c.finish(14);case 17:case"end":return c.stop()}},a,null,[[1,11,14,17]])})()}})}},{key:"max",value:function(t){var i=Ih(this._pairs),a=i.next();if(a.done)return null;for(var o=a.value[1],s=t(a.value[1],a.value[0]);!(a=i.next()).done;){var u=dt(a.value,2),l=u[0],h=u[1],d=t(h,l);d>s&&(s=d,o=h)}return o}},{key:"min",value:function(t){var i=Ih(this._pairs),a=i.next();if(a.done)return null;for(var o=a.value[1],s=t(a.value[1],a.value[0]);!(a=i.next()).done;){var u=dt(a.value,2),l=u[0],h=u[1],d=t(h,l);d<s&&(s=d,o=h)}return o}},{key:"reduce",value:function(t,i){var a=Zt(this._pairs),o;try{for(a.s();!(o=a.n()).done;){var s=dt(o.value,2),u=s[0],l=s[1];i=t(i,l,u)}}catch(h){a.e(h)}finally{a.f()}return i}},{key:"sort",value:function(t){var i=this;return new n({[fn]:function(){var a;return Ih(cc(a=pt(i._pairs)).call(a,function(o,s){var u=dt(o,2),l=u[0],h=u[1],d=dt(s,2),c=d[0],f=d[1];return t(h,f,l,c)}))}})}}]),n}(fn);function wg(r,n){var e=gf(r);if(Sy){var t=Sy(r);n&&(t=un(t).call(t,function(i){return O0(r,i).enumerable})),e.push.apply(e,t)}return e}function _g(r){for(var n=1;n<arguments.length;n++){var e,t,i=arguments[n]!=null?arguments[n]:{};n%2?Ei(e=wg(Object(i),!0)).call(e,function(a){zr(r,a,i[a])}):Oy?dz(r,Oy(i)):Ei(t=wg(Object(i))).call(t,function(a){fz(r,a,O0(i,a))})}return r}function kh(r,n){var e=typeof Lu<"u"&&pf(r)||r["@@iterator"];if(!e){if(It(r)||(e=vU(r))||n){e&&(r=e);var t=0,i=function(){};return{s:i,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
37
37
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){e=e.call(r)},n:function(){var l=e.next();return a=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!a&&e.return!=null&&e.return()}finally{if(o)throw s}}}}function vU(r,n){var e;if(r){if(typeof r=="string")return Eg(r,n);var t=zu(e=Object.prototype.toString.call(r)).call(e,8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return vf(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Eg(r,n)}}function Eg(r,n){(n==null||n>r.length)&&(n=r.length);for(var e=0,t=new Array(n);e<n;e++)t[e]=r[e];return t}function pU(r){var n=yU();return function(){var t=Js(r),i;if(n){var a=Js(this).constructor;i=ks(t,arguments,a)}else i=t.apply(this,arguments);return Mz(this,i)}}function yU(){if(typeof Reflect>"u"||!ks||ks.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(ks(Boolean,[],function(){})),!0}catch{return!1}}function gU(r,n){return r[n]==null&&(r[n]=K6()),r}var ru=function(r){Dz(e,r);var n=pU(e);function e(t,i){var a;return yu(this,e),a=n.call(this),zr(I0(a),"_queue",null),t&&!It(t)&&(i=t,t=[]),a._options=i||{},a._data=new v_,a.length=0,a._idProp=a._options.fieldId||"id",t&&t.length&&a.add(t),a.setOptions(i),a}return Nu(e,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(i){i&&i.queue!==void 0&&(i.queue===!1?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=q6.extend(this,{replace:["add","update","remove"]})),i.queue&&typeof i.queue=="object"&&this._queue.setOptions(i.queue)))}},{key:"add",value:function(i,a){var o=this,s=[],u;if(It(i)){var l=Vt(i).call(i,function(c){return c[o._idProp]});if(C4(l).call(l,function(c){return o._data.has(c)}))throw new Error("A duplicate id was found in the parameter array.");for(var h=0,d=i.length;h<d;h++)u=this._addItem(i[h]),s.push(u)}else if(i&&typeof i=="object")u=this._addItem(i),s.push(u);else throw new Error("Unknown dataType");return s.length&&this._trigger("add",{items:s},a),s}},{key:"update",value:function(i,a){var o=this,s=[],u=[],l=[],h=[],d=this._idProp,c=function(g){var m=g[d];if(m!=null&&o._data.has(m)){var w=g,$=RB({},o._data.get(m)),E=o._updateItem(w);u.push(E),h.push(w),l.push($)}else{var k=o._addItem(g);s.push(k)}};if(It(i))for(var f=0,v=i.length;f<v;f++)i[f]&&typeof i[f]=="object"?c(i[f]):console.warn("Ignoring input item, which is not an object at index "+f);else if(i&&typeof i=="object")c(i);else throw new Error("Unknown dataType");if(s.length&&this._trigger("add",{items:s},a),u.length){var p={items:u,oldData:l,data:h};this._trigger("update",p,a)}return ju(s).call(s,u)}},{key:"updateOnly",value:function(i,a){var o,s=this;It(i)||(i=[i]);var u=Vt(o=Vt(i).call(i,function(h){var d=s._data.get(h[s._idProp]);if(d==null)throw new Error("Updating non-existent items is not allowed.");return{oldData:d,update:h}})).call(o,function(h){var d=h.oldData,c=h.update,f=d[s._idProp],v=cj(d,c);return s._data.set(f,v),{id:f,oldData:d,updatedData:v}});if(u.length){var l={items:Vt(u).call(u,function(h){return h.id}),oldData:Vt(u).call(u,function(h){return h.oldData}),data:Vt(u).call(u,function(h){return h.updatedData})};return this._trigger("update",l,a),l.items}else return[]}},{key:"get",value:function(i,a){var o=void 0,s=void 0,u=void 0;mg(i)?(o=i,u=a):It(i)?(s=i,u=a):u=i;var l=u&&u.returnType==="Object"?"Object":"Array",h=u&&un(u),d=[],c=void 0,f=void 0,v=void 0;if(o!=null)c=this._data.get(o),c&&h&&!h(c)&&(c=void 0);else if(s!=null)for(var p=0,y=s.length;p<y;p++)c=this._data.get(s[p]),c!=null&&(!h||h(c))&&d.push(c);else{var g;f=pt(Ji(g=this._data).call(g));for(var m=0,w=f.length;m<w;m++)v=f[m],c=this._data.get(v),c!=null&&(!h||h(c))&&d.push(c)}if(u&&u.order&&o==null&&this._sort(d,u.order),u&&u.fields){var $=u.fields;if(o!=null&&c!=null)c=this._filterFields(c,$);else for(var E=0,k=d.length;E<k;E++)d[E]=this._filterFields(d[E],$)}if(l=="Object"){for(var D={},j=0,R=d.length;j<R;j++){var M=d[j],W=M[this._idProp];D[W]=M}return D}else if(o!=null){var X;return(X=c)!==null&&X!==void 0?X:null}else return d}},{key:"getIds",value:function(i){var a=this._data,o=i&&un(i),s=i&&i.order,u=pt(Ji(a).call(a)),l=[];if(o)if(s){for(var h=[],d=0,c=u.length;d<c;d++){var f=u[d],v=this._data.get(f);v!=null&&o(v)&&h.push(v)}this._sort(h,s);for(var p=0,y=h.length;p<y;p++)l.push(h[p][this._idProp])}else for(var g=0,m=u.length;g<m;g++){var w=u[g],$=this._data.get(w);$!=null&&o($)&&l.push($[this._idProp])}else if(s){for(var E=[],k=0,D=u.length;k<D;k++){var j=u[k];E.push(a.get(j))}this._sort(E,s);for(var R=0,M=E.length;R<M;R++)l.push(E[R][this._idProp])}else for(var W=0,X=u.length;W<X;W++){var Y=u[W],ye=a.get(Y);ye!=null&&l.push(ye[this._idProp])}return l}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(i,a){var o=a&&un(a),s=this._data,u=pt(Ji(s).call(s));if(a&&a.order)for(var l=this.get(a),h=0,d=l.length;h<d;h++){var c=l[h],f=c[this._idProp];i(c,f)}else for(var v=0,p=u.length;v<p;v++){var y=u[v],g=this._data.get(y);g!=null&&(!o||o(g))&&i(g,y)}}},{key:"map",value:function(i,a){for(var o=a&&un(a),s=[],u=this._data,l=pt(Ji(u).call(u)),h=0,d=l.length;h<d;h++){var c=l[h],f=this._data.get(c);f!=null&&(!o||o(f))&&s.push(i(f,c))}return a&&a.order&&this._sort(s,a.order),s}},{key:"_filterFields",value:function(i,a){var o;return i&&YD(o=It(a)?a:gf(a)).call(o,function(s,u){return s[u]=i[u],s},{})}},{key:"_sort",value:function(i,a){if(typeof a=="string"){var o=a;cc(i).call(i,function(s,u){var l=s[o],h=u[o];return l>h?1:l<h?-1:0})}else if(typeof a=="function")cc(i).call(i,a);else throw new TypeError("Order must be a function or a string")}},{key:"remove",value:function(i,a){for(var o=[],s=[],u=It(i)?i:[i],l=0,h=u.length;l<h;l++){var d=this._remove(u[l]);if(d){var c=d[this._idProp];c!=null&&(o.push(c),s.push(d))}}return o.length&&this._trigger("remove",{items:o,oldData:s},a),o}},{key:"_remove",value:function(i){var a;if(mg(i)?a=i:i&&typeof i=="object"&&(a=i[this._idProp]),a!=null&&this._data.has(a)){var o=this._data.get(a)||null;return this._data.delete(a),--this.length,o}return null}},{key:"clear",value:function(i){for(var a,o=pt(Ji(a=this._data).call(a)),s=[],u=0,l=o.length;u<l;u++)s.push(this._data.get(o[u]));return this._data.clear(),this.length=0,this._trigger("remove",{items:o,oldData:s},i),o}},{key:"max",value:function(i){var a,o=null,s=null,u=kh(yg(a=this._data).call(a)),l;try{for(u.s();!(l=u.n()).done;){var h=l.value,d=h[i];typeof d=="number"&&(s==null||d>s)&&(o=h,s=d)}}catch(c){u.e(c)}finally{u.f()}return o||null}},{key:"min",value:function(i){var a,o=null,s=null,u=kh(yg(a=this._data).call(a)),l;try{for(u.s();!(l=u.n()).done;){var h=l.value,d=h[i];typeof d=="number"&&(s==null||d<s)&&(o=h,s=d)}}catch(c){u.e(c)}finally{u.f()}return o||null}},{key:"distinct",value:function(i){for(var a=this._data,o=pt(Ji(a).call(a)),s=[],u=0,l=0,h=o.length;l<h;l++){for(var d=o[l],c=a.get(d),f=c[i],v=!1,p=0;p<u;p++)if(s[p]==f){v=!0;break}!v&&f!==void 0&&(s[u]=f,u++)}return s}},{key:"_addItem",value:function(i){var a=gU(i,this._idProp),o=a[this._idProp];if(this._data.has(o))throw new Error("Cannot add item: item with id "+o+" already exists");return this._data.set(o,a),++this.length,o}},{key:"_updateItem",value:function(i){var a=i[this._idProp];if(a==null)throw new Error("Cannot update item: item has no id (item: "+iL(i)+")");var o=this._data.get(a);if(!o)throw new Error("Cannot update item: no item with id "+a+" found");return this._data.set(a,_g(_g({},o),i)),a}},{key:"stream",value:function(i){if(i){var a=this._data;return new $g({[fn](){return ct.mark(function s(){var u,l,h,d;return ct.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:u=kh(i),f.prev=1,u.s();case 3:if((l=u.n()).done){f.next=11;break}if(h=l.value,d=a.get(h),d==null){f.next=9;break}return f.next=9,[h,d];case 9:f.next=3;break;case 11:f.next=16;break;case 13:f.prev=13,f.t0=f.catch(1),u.e(f.t0);case 16:return f.prev=16,u.f(),f.finish(16);case 19:case"end":return f.stop()}},s,null,[[1,13,16,19]])})()}})}else{var o;return new $g({[fn]:cw(o=H6(this._data)).call(o,this._data)})}}}]),e}(Y6);function mU(r,n){return typeof n=="object"&&n!==null&&r===n.idProp&&typeof n.add=="function"&&typeof n.clear=="function"&&typeof n.distinct=="function"&&typeof Ei(n)=="function"&&typeof n.get=="function"&&typeof n.getDataSet=="function"&&typeof n.getIds=="function"&&typeof n.length=="number"&&typeof Vt(n)=="function"&&typeof n.max=="function"&&typeof n.min=="function"&&typeof n.off=="function"&&typeof n.on=="function"&&typeof n.remove=="function"&&typeof n.setOptions=="function"&&typeof n.stream=="function"&&typeof n.update=="function"&&typeof n.updateOnly=="function"}function g_(r,n){return typeof n=="object"&&n!==null&&r===n.idProp&&typeof Ei(n)=="function"&&typeof n.get=="function"&&typeof n.getDataSet=="function"&&typeof n.getIds=="function"&&typeof n.length=="number"&&typeof Vt(n)=="function"&&typeof n.off=="function"&&typeof n.on=="function"&&typeof n.stream=="function"&&mU(r,n.getDataSet())}/**
38
38
  * vis-network
@@ -1 +1 @@
1
- import{_ as V}from"./nnavbar.vue-h0vrbdpc.js";import{_ as D}from"./ncode-block.vue-d0rio4gb.js";import{bk as S,bl as B,M as j,p as P,W as U,c as W}from"./jkwjqiby.js";import{Q as i,S as c,U as a,k as E,b as m,w as I,l as _,a0 as l,$ as u,F as d,ab as M,a5 as v,Y as z,M as G}from"./vendor/json-editor-vue-ivrsfd8a.js";import{_ as H}from"./help-fab.vue-dsbe70oc.js";import"./client-iy54pzt5.js";import"./vendor/unocss-hwbthrao.js";import"./vendor/shiki-enrzjv18.js";const L={class:"markdown-body"},Q={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",L,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},R=["onClick"],Y={key:0,"h-full":"","of-hidden":"",flex:"~ col"},q={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=E({__name:"virtual-files",setup(h){const r=m(""),n=S(),p=B(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new j(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,$=W,F=P,N=Q,w=H;return i(),c(d,null,[l(F,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,M(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:A=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",Y,[a("div",q,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),G($,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(w,null,{default:u(()=>[l(N)]),_:1})],64)}}});export{oe as default};
1
+ import{_ as V}from"./nnavbar.vue-hzjn49l3.js";import{_ as D}from"./ncode-block.vue-bvtirmea.js";import{bk as S,bl as B,M as j,p as P,W as U,c as W}from"./er2hcepb.js";import{Q as i,S as c,U as a,k as E,b as m,w as I,l as _,a0 as l,$ as u,F as d,ab as M,a5 as v,Y as z,M as G}from"./vendor/json-editor-vue-gv8v06ez.js";import{_ as H}from"./help-fab.vue-d5mgp1hs.js";import"./client-my5lks1i.js";import"./vendor/unocss-f0kk6o39.js";import"./vendor/shiki-ml6g43ls.js";const L={class:"markdown-body"},Q={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",L,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},R=["onClick"],Y={key:0,"h-full":"","of-hidden":"",flex:"~ col"},q={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=E({__name:"virtual-files",setup(h){const r=m(""),n=S(),p=B(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new j(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,$=W,F=P,N=Q,w=H;return i(),c(d,null,[l(F,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,M(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:A=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",Y,[a("div",q,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),G($,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(w,null,{default:u(()=>[l(N)]),_:1})],64)}}});export{oe as default};
@@ -1,2 +1,2 @@
1
- import{O as re,P as ne,n as Q,Q as $,M as L,N as oe,at as le,s as ae,R as ue,ae as ce,a8 as de,S as M,V as A,W,$ as K,F as fe,ab as he,a7 as q,a1 as me,au as pe,X as ye,Y,a0 as ve}from"./vendor/json-editor-vue-ivrsfd8a.js";function be(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let R;function H(){H.init||(H.init=!0,R=be()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){H(),Q(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",R&&this.$el.appendChild(e),e.data="about:blank",R||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!R&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ge=oe();re("data-v-b329ee4c");const Se={class:"resize-observer",tabindex:"-1"};ne();const ze=ge((e,t,i,s,r,a)=>($(),L("div",Se)));E.render=ze;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function C(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(t){return typeof t}:C=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(e)}function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function Ie(e,t,i){return t&&we(e.prototype,t),e}function X(e){return $e(e)||Te(e)||Oe(e)||Ve()}function $e(e){if(Array.isArray(e))return N(e)}function Te(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Oe(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ import{O as re,P as ne,n as Q,Q as $,M as L,N as oe,at as le,s as ae,R as ue,ae as ce,a8 as de,S as M,V as A,W,$ as K,F as fe,ab as he,a7 as q,a1 as me,au as pe,X as ye,Y,a0 as ve}from"./vendor/json-editor-vue-gv8v06ez.js";function be(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let R;function H(){H.init||(H.init=!0,R=be()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){H(),Q(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",R&&this.$el.appendChild(e),e.data="about:blank",R||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!R&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ge=oe();re("data-v-b329ee4c");const Se={class:"resize-observer",tabindex:"-1"};ne();const ze=ge((e,t,i,s,r,a)=>($(),L("div",Se)));E.render=ze;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function C(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(t){return typeof t}:C=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(e)}function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function Ie(e,t,i){return we(e.prototype,t),e}function X(e){return $e(e)||Te(e)||Oe(e)||Ve()}function $e(e){if(Array.isArray(e))return N(e)}function Te(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Oe(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function ke(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,r,a,u=function(n){for(var d=arguments.length,p=new Array(d>1?d-1:0),S=1;S<d;S++)p[S-1]=arguments[S];if(a=p,!(s&&n===r)){var w=i.leading;typeof w=="function"&&(w=w(n,r)),(!s||n!==r)&&w&&e.apply(void 0,[n].concat(X(a))),r=n,clearTimeout(s),s=setTimeout(function(){e.apply(void 0,[n].concat(X(a))),s=0},t)}};return u._clear=function(){clearTimeout(s),s=null},u}function J(e,t){if(e===t)return!0;if(C(e)==="object"){for(var i in e)if(!J(e[i],t[i]))return!1;return!0}return!1}var Me=function(){function e(t,i,s){_e(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(i,s)}return Ie(e,[{key:"createObserver",value:function(i,s){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=xe(i),this.callback=function(c,n){r.options.callback(c,n),c&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var a=this.options.throttleOptions||{},u=a.leading;this.callback=ke(this.callback,this.options.throttle,{leading:function(n){return u==="both"||u==="visible"&&n||u==="hidden"&&!n}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(c){var n=c[0];if(c.length>1){var d=c.find(function(S){return S.isIntersecting});d&&(n=d)}if(r.callback){var p=n.isIntersecting&&n.intersectionRatio>=r.threshold;if(p===r.oldResult)return;r.oldResult=p,r.callback(p,n)}},this.options.intersection),Q(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function Z(e,t,i){var s=t.value;if(s)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new Me(e,s,i);e._vue_visibilityState=r}}function Ae(e,t,i){var s=t.value,r=t.oldValue;if(!J(s,r)){var a=e._vue_visibilityState;if(!s){ee(e);return}a?a.createObserver(s,i):Z(e,{value:s},i)}}function ee(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Re={beforeMount:Z,updated:Ae,unmounted:ee},Ce={itemsLimit:1e3},Ee=/(auto|scroll)/;function te(e,t){return e.parentNode===null?t:te(e.parentNode,t.concat([e]))}var P=function(t,i){return getComputedStyle(t,null).getPropertyValue(i)},Pe=function(t){return P(t,"overflow")+P(t,"overflow-y")+P(t,"overflow-x")},Le=function(t){return Ee.test(Pe(t))};function G(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=te(e.parentNode,[]),i=0;i<t.length;i+=1)if(Le(t[i]))return t[i];return document.scrollingElement||document.documentElement}}function j(e){"@babel/helpers - typeof";return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}var He={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Ne(){return this.items.length&&j(this.items[0])!=="object"}var B=!1;if(typeof window<"u"){B=!1;try{var je=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("test",null,je)}catch{}}let Be=0;var ie={name:"RecycleScroller",components:{ResizeObserver:E},directives:{ObserveVisibility:Re},props:{...He,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,i=this.sizeField,s=this.minItemSize;let r=1e4,a=0,u;for(let c=0,n=t.length;c<n;c++)u=t[c][i]||s,u<r&&(r=u),a+=u,e[c]={accumulator:a,size:u};return this.$_computedMinItemSize=r,e}return[]},simpleArray:Ne,itemIndexByKey(){const{keyField:e,items:t}=this,i={};for(let s=0,r=t.length;s<r;s++)i[t[s][e]]=s;return i}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,i,s,r){const a=le({id:Be++,index:t,used:!0,key:s,type:r}),u=ae({item:i,position:0,nr:a});return e.push(u),u},unuseView(e,t=!1){const i=this.$_unusedViews,s=e.nr.type;let r=i.get(s);r||(r=[],i.set(s,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:i}=this.updateVisibleItems(!1,!0);i||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const i=this.itemSize,s=this.gridItems||1,r=this.itemSecondarySize||i,a=this.$_computedMinItemSize,u=this.typeField,c=this.simpleArray?null:this.keyField,n=this.items,d=n.length,p=this.sizes,S=this.$_views,w=this.$_unusedViews,V=this.pool,se=this.itemIndexByKey;let y,f,T,g,z;if(!d)y=f=g=z=T=0;else if(this.$_prerender)y=g=0,f=z=Math.min(this.prerender,n.length),T=null;else{const o=this.getScroll();if(t){let m=o.start-this.$_lastUpdateScrollPosition;if(m<0&&(m=-m),i===null&&m<a||m<i)return{continuous:!0}}this.$_lastUpdateScrollPosition=o.start;const v=this.buffer;o.start-=v,o.end+=v;let h=0;if(this.$refs.before&&(h=this.$refs.before.scrollHeight,o.start-=h),this.$refs.after){const m=this.$refs.after.scrollHeight;o.end+=m}if(i===null){let m,O=0,F=d-1,b=~~(d/2),U;do U=b,m=p[b].accumulator,m<o.start?O=b:b<d-1&&p[b+1].accumulator>o.start&&(F=b),b=~~((O+F)/2);while(b!==U);for(b<0&&(b=0),y=b,T=p[d-1].accumulator,f=b;f<d&&p[f].accumulator<o.end;f++);for(f===-1?f=n.length-1:(f++,f>d&&(f=d)),g=y;g<d&&h+p[g].accumulator<o.start;g++);for(z=g;z<d&&h+p[z].accumulator<o.end;z++);}else{y=~~(o.start/i*s);const m=y%s;y-=m,f=Math.ceil(o.end/i*s),g=Math.max(0,Math.floor((o.start-h)/i*s)),z=Math.floor((o.end-h)/i*s),y<0&&(y=0),f>d&&(f=d),g<0&&(g=0),z>d&&(z=d),T=Math.ceil(d/s)*i}}f-y>Ce.itemsLimit&&this.itemsLimitError(),this.totalSize=T;let l;const x=y<=this.$_endIndex&&f>=this.$_startIndex;if(x)for(let o=0,v=V.length;o<v;o++)l=V[o],l.nr.used&&(e&&(l.nr.index=se[l.item[c]]),(l.nr.index==null||l.nr.index<y||l.nr.index>=f)&&this.unuseView(l));const D=x?null:new Map;let I,_,k;for(let o=y;o<f;o++){I=n[o];const v=c?I[c]:I;if(v==null)throw new Error(`Key is ${v} on item (keyField is '${c}')`);if(l=S.get(v),!i&&!p[o].size){l&&this.unuseView(l);continue}_=I[u];let h=w.get(_),m=!1;if(!l)x?h&&h.length?l=h.pop():l=this.addView(V,o,I,v,_):(k=D.get(_)||0,(!h||k>=h.length)&&(l=this.addView(V,o,I,v,_),this.unuseView(l,!0),h=w.get(_)),l=h[k],D.set(_,k+1)),S.delete(l.nr.key),l.nr.used=!0,l.nr.index=o,l.nr.key=v,l.nr.type=_,S.set(v,l),m=!0;else if(!l.nr.used&&(l.nr.used=!0,m=!0,h)){const O=h.indexOf(l);O!==-1&&h.splice(O,1)}l.item=I,m&&(o===n.length-1&&this.$emit("scroll-end"),o===0&&this.$emit("scroll-start")),i===null?(l.position=p[o-1].accumulator,l.offset=0):(l.position=Math.floor(o/s)*i,l.offset=o%s*r)}return this.$_startIndex=y,this.$_endIndex=f,this.emitUpdate&&this.$emit("update",y,f,g,z),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:x}},getListenerTarget(){let e=G(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,i=t==="vertical";let s;if(this.pageMode){const r=e.getBoundingClientRect(),a=i?r.height:r.width;let u=-(i?r.top:r.left),c=i?window.innerHeight:window.innerWidth;u<0&&(c+=u,u=0),u+c>a&&(c=a-u),s={start:u,end:u+c}}else i?s={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:s={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return s},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,B?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const i=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/i)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let i,s,r;if(this.pageMode){const a=G(this.$el),u=a.tagName==="HTML"?0:a[t.scroll],c=a.getBoundingClientRect(),d=this.$el.getBoundingClientRect()[t.start]-c[t.start];i=a,s=t.scroll,r=e+u+d}else i=this.$el,s=t.scroll,r=e;i[s]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const De={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Fe={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ue(e,t,i,s,r,a){const u=ue("ResizeObserver"),c=ce("observe-visibility");return de(($(),M("div",{class:Y(["vue-recycle-scroller",{ready:r.ready,"page-mode":i.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...n)=>a.handleScroll&&a.handleScroll(...n))},[e.$slots.before?($(),M("div",De,[A(e.$slots,"before")],512)):W("v-if",!0),($(),L(q(i.listTag),{ref:"wrapper",style:ye({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:Y(["vue-recycle-scroller__item-wrapper",i.listClass])},{default:K(()=>[($(!0),M(fe,null,he(r.pool,n=>($(),L(q(i.itemTag),me({key:n.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${n.position}px) translate${e.direction==="vertical"?"X":"Y"}(${n.offset}px)`,width:i.gridItems?`${e.direction==="vertical"&&i.itemSecondarySize||i.itemSize}px`:void 0,height:i.gridItems?`${e.direction==="horizontal"&&i.itemSecondarySize||i.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[i.itemClass,{hover:!i.skipHover&&r.hoverKey===n.nr.key}]]},pe(i.skipHover?{}:{mouseenter:()=>{r.hoverKey=n.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:K(()=>[A(e.$slots,"default",{item:n.item,index:n.nr.index,active:n.nr.used})]),_:2},1040,["style","class"]))),128)),A(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?($(),M("div",Fe,[A(e.$slots,"after")],512)):W("v-if",!0),ve(u,{onNotify:a.handleResize},null,8,["onNotify"])],34)),[[c,a.handleVisibilityChange]])}ie.render=Ue;ie.__file="src/components/RecycleScroller.vue";export{ie as s};
@@ -3,18 +3,18 @@
3
3
  <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-f054t818.css" crossorigin>
4
4
  <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css" crossorigin>
5
5
  <link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-mhvipxpl.css" crossorigin>
6
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/jkwjqiby.js">
7
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-ivrsfd8a.js">
8
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-hwbthrao.js">
9
- <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-enrzjv18.js">
6
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/er2hcepb.js">
7
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-gv8v06ez.js">
8
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-f0kk6o39.js">
9
+ <link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-ml6g43ls.js">
10
10
  <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-fvu08dbs.js">
11
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-g9cho5c5.js">
12
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-h4bblsc2.js">
13
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-o20iaxfc.js">
14
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-dmm6yugz.js">
15
- <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-he1uoaye.css">
16
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-kpv9svhd.js">
17
- <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-ojhe2u1c.css">
18
- <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-hs8gcksv.js">
19
- <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/jkwjqiby.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1734011311457,false]</script>
20
- <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"3a026b0b-3c88-4a7c-8ad7-043b5176a32e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
11
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-j6ndp61j.js">
12
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-ndos3x1d.js">
13
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-i32auprq.js">
14
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-cgapiai4.js">
15
+ <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-f2iw8q7i.css">
16
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-ceo5987l.js">
17
+ <link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-xen1rmly.css">
18
+ <link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-lwkwf49w.js">
19
+ <script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/er2hcepb.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1735205290312,false]</script>
20
+ <script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"a420b23e-eff0-4a26-9593-f64aed27b3ae",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@nuxt/devtools",
3
3
  "configKey": "devtools",
4
- "version": "1.6.4",
4
+ "version": "1.7.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
- "unbuild": "2.0.0"
7
+ "unbuild": "3.0.1"
8
8
  }
9
9
  }