diff --git a/docs/developer/api.md b/docs/developer/api.md index f5ed669507..17f5b74c5c 100644 --- a/docs/developer/api.md +++ b/docs/developer/api.md @@ -4,21 +4,154 @@ template: overrides/openapi.html # Sekoia.io API documentation -
-
-
- https://app.sekoia.io/api/v1/dashboard/swagger.json?context=public - https://app.sekoia.io/api/v1/telemetry/openapi.json?context=public - https://app.sekoia.io/api/v1/notebooks/openapi.json?context=public - https://app.sekoia.io/api/v1/sic/conf/swagger.json?context=public - https://app.sekoia.io/api/v1/swagger.json?context=public - https://app.sekoia.io/api/v1/ingest/swagger.json?context=public - https://app.sekoia.io/api/v1/sic/swagger.json?context=public - https://app.sekoia.io/api/v1/symphony/swagger.json?context=public - https://app.sekoia.io/api/v1/enricher/swagger.json?context=tip - https://app.sekoia.io/api/v1/swagger.json?context=public - https://app.sekoia.io/api/v2/asset-management/openapi.json?context=public - https://app.sekoia.io/api/v1/edl-gateway/openapi.json - https://app.sekoia.io/api/v2/inthreat/swagger.json?context=public -
-
+{!docs/developer/quickstart.md!} + + + diff --git a/docs/javascript/openapi-viewer.min.js b/docs/javascript/openapi-viewer.min.js new file mode 100644 index 0000000000..2f95dbd5a4 --- /dev/null +++ b/docs/javascript/openapi-viewer.min.js @@ -0,0 +1,21 @@ +(()=>{var e={4711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=s()(i());a.push([e.id,".hljs-comment,.hljs-quote{color:#d4d0ab}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ffa07a}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#f5ab35}.hljs-attribute{color:gold}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#abe338}.hljs-section,.hljs-title{color:#00e0e0}.hljs-keyword,.hljs-selector-tag{color:#dcc6e0}.hljs{display:block;overflow-x:auto;background:#2b2b2b;color:#f8f8f2;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}@media screen and (-ms-high-contrast:active){.hljs-addition,.hljs-attribute,.hljs-built_in,.hljs-builtin-name,.hljs-bullet,.hljs-comment,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-quote,.hljs-string,.hljs-symbol,.hljs-type{color:highlight}.hljs-keyword,.hljs-selector-tag{font-weight:700}}",""]);const l=a},9408:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=s()(i());a.push([e.id,".tippy-box[data-animation=shift-away][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=top]{transform:translateY(10px)}.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=bottom]{transform:translateY(-10px)}.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=left]{transform:translateX(10px)}.tippy-box[data-animation=shift-away][data-state=hidden][data-placement^=right]{transform:translateX(-10px)}",""]);const l=a},4823:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=s()(i());a.push([e.id,".dropdown-button{cursor:pointer}",""]);const l=a},4429:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=s()(i());a.push([e.id,"#openapi-viewer .examples{width:500px;margin-top:96px;margin-bottom:56px;margin-left:36px}#openapi-viewer .examples>nav{background:#fff;overflow:hidden;display:flex;padding:0;border:none;list-style-type:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}#openapi-viewer .examples>nav>*{color:#2d2e83;background:#fff;border-top:4px solid transparent;opacity:.6;cursor:pointer;font-weight:700;margin:0;padding:6px 16px}#openapi-viewer .examples>nav>.active{opacity:1;border-top:4px solid #12005e;background:#e2e2e9;color:#12005e;border-top-left-radius:8px;border-top-right-radius:8px}#openapi-viewer .examples>div{background:#e2e2e9;border-radius:20px;border-top-left-radius:0;border-top-right-radius:0;padding:16px}#openapi-viewer .examples .path{background-color:#11171a;border-radius:8px;color:#fff;display:flex;align-items:center;width:100%;padding:10px;overflow:hidden}#openapi-viewer .examples .path .method{height:24px}#openapi-viewer .examples .path>div{flex:1;text-align:left;padding:0 4px;padding-bottom:4px;white-space:normal}#openapi-viewer .examples .path svg{float:right;fill:#fff;transform:rotate(0deg)}#openapi-viewer .examples .tippy-box .path{color:#000;background:#fff;box-shadow:0 0 6px rgba(0,0,0,.33);width:100%}#openapi-viewer .examples h3{color:#12005e;font-weight:700;font-size:14px;padding:12px 0}#openapi-viewer .examples .code-examples{margin-top:24px;font-size:14px}#openapi-viewer .examples .code-examples ul{display:flex;padding:0;list-style-type:none;margin:0}#openapi-viewer .examples .code-examples ul li{cursor:pointer;padding:2px 12px;border-top:4px solid transparent;margin:0;background:transparent;border-top-left-radius:8px;border-top-right-radius:8px;font-weight:700;color:#8182b5;transition:all 90ms ease-in-out}#openapi-viewer .examples .code-examples ul li:hover{color:#12005e}#openapi-viewer .examples .code-examples ul li.selected{border-top-color:#5d4ff2;background:#11171a;color:#fff}#openapi-viewer .examples pre{background:#11171a!important;position:static;min-width:100%;width:100%;display:block;border-radius:8px;color:#fff;font-family:monospace;font-size:11px;max-height:40vh;overflow:auto;border-top-left-radius:0;margin:0;white-space:break-spaces;padding:0}#openapi-viewer .examples .samples code{background:#11171a!important;font-family:Consolas,Söhne Mono,Monaco,Andale Mono,Ubuntu Mono,monospace!important;color:#fff!important;font-size:14px}",""]);const l=a},3312:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=n(4417),l=n.n(a),c=new URL(n(7027),n.b),u=s()(i()),p=l()(c);u.push([e.id,`#openapi-viewer{display:block;width:100%;max-width:100%}#openapi-viewer>.menu{width:500px;background-color:#fff;position:sticky;top:100px;padding:0 16px;height:100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;float:left}#openapi-viewer>.content{display:block;position:relative;overflow-x:auto}#openapi-viewer>.content>*{width:calc(100% - 24px)}#openapi-viewer>.content a.empty{display:none}#openapi-viewer h1{margin-bottom:-20px}#openapi-viewer h2,#openapi-viewer h3,#openapi-viewer h4{position:relative}#openapi-viewer h2 .alink,#openapi-viewer h3 .alink,#openapi-viewer h4 .alink{width:21px;height:21px;background:url(${p});background-size:contain;opacity:.3;display:none;margin-left:12px}#openapi-viewer h2:hover .alink,#openapi-viewer h3:hover .alink,#openapi-viewer h4:hover .alink{display:inline-block}#openapi-viewer h1{font-size:46px}#openapi-viewer h2{margin:0;padding-top:86px;font-weight:700;font-size:36px;color:#12005e}#openapi-viewer h2:before{top:100px}#openapi-viewer h3{margin:0;padding-top:48px;font-weight:700;font-size:30px;padding-bottom:0}#openapi-viewer h3:before{top:60px}#openapi-viewer h4{margin:0;font-size:26px;color:#12005e;padding-bottom:12px;padding-top:126px}#openapi-viewer h4:before{top:12px}#openapi-viewer h5{margin:0;padding-top:16px;padding-bottom:4px;color:#8988ae}#openapi-viewer h6{margin:0;padding-top:16px;padding-bottom:2px}#openapi-viewer hr{margin:0 20vw;margin-right:35vw;width:auto!important;margin-top:56px;border-bottom-width:2px;margin-bottom:0}#openapi-viewer .menu li.empty{display:none}#openapi-viewer .menu .loader{display:flex;align-items:center;justify-content:center;color:#12005e}#openapi-viewer .menu .loader>*{display:inline-block;margin:12px}#openapi-viewer .menu ul.loading{opacity:.5}#openapi-viewer .menu ul>li ul>li ul{margin-left:-8px;overflow-y:hidden;transition:max-height 125ms ease-in-out}#openapi-viewer .menu ul>li ul>li.active a svg{transform:none}#openapi-viewer .menu ul>li ul>li.active li.active a{font-weight:700!important}#openapi-viewer .menu ul>li ul>li:not(.active) ul{max-height:0!important}#openapi-viewer .endpoint{display:flex;align-items:flex-start;overflow:hidden;width:100%;box-sizing:border-box}#openapi-viewer .endpoint>.content{flex:1}#openapi-viewer .endpoint .tags{padding:4px 0}#openapi-viewer .endpoint .tags label{margin:0;padding-top:16px;padding-bottom:4px;color:#8988ae;text-transform:uppercase;font-weight:700;font-size:12px;margin-right:12px}#openapi-viewer .endpoint .tags .tag{display:inline-block;color:#fff;background:#11171a;border-radius:4px;padding:2px 8px;font-weight:700;font-size:12px;margin:2px 4px}#openapi-viewer .method{display:inline-flex;align-items:center;justify-content:center;border-radius:2px;padding:1px 6px;color:#fff;white-space:nowrap;text-transform:uppercase;font-size:11px;font-weight:700;margin:3px 8px;min-width:40px;text-align:center;height:20px;top:-2px;position:relative}#openapi-viewer .method.post{background-color:#186faf}#openapi-viewer .method.patch{background-color:#bf581d}#openapi-viewer .method.put{background-color:#95507c}#openapi-viewer .method.delete{background-color:#c33}#openapi-viewer .method.get{background-color:#2f8132}#openapi-viewer h4 .method{font-size:18px;height:auto;padding:2px 16px;transform:translateY(-2px);margin-right:16px}#openapi-viewer table{border:none;font-size:80%;width:calc(100% - 16px);scrollbar-width:thin;scrollbar-color:#fff #fff}#openapi-viewer table:hover{scrollbar-color:#ddd #fff}#openapi-viewer table tr{border:none}#openapi-viewer table tr:not(:last-of-type)>td{border-bottom:1px solid #eee}#openapi-viewer table tr:hover{background:hsla(0,0%,93%,.267)}#openapi-viewer table tr th{padding:6px 36px;padding-left:6px;border-bottom:1px solid #eee;color:#12005e;font-weight:400;white-space:nowrap;text-align:left}#openapi-viewer table tr td{border:none;padding:6px 36px;padding-left:6px}#openapi-viewer table tr td.name{font-weight:700;white-space:nowrap}#openapi-viewer table tr td.name .nav-chevron{display:inline-block;float:none;margin-right:4px;position:relative;top:-2px}#openapi-viewer table tr.expandable{cursor:pointer}#openapi-viewer table tr.expanded .nav-chevron{display:inline-block;float:none;margin-right:4px;position:relative;top:-2px;transform:none}#openapi-viewer table .optional{opacity:.5}#openapi-viewer .uuid{font-family:monospace;white-space:nowrap;font-size:13px;opacity:.8;color:#1b18cd}#openapi-viewer .identifier{font-family:monospace}#openapi-viewer tr.param td:not(.description){white-space:nowrap}#openapi-viewer tr.param td.constraints>*{background:#e6e6f1;color:#12005e;border-radius:4px;padding:2px 4px;font-weight:700;font-size:11px;margin:2px 4px}#openapi-viewer .required{color:#d41f1c}#openapi-viewer .type{color:#1b18cd}#openapi-viewer .response.ok>div.with-model{width:calc(100% - 16px);margin:8px 4px;background:rgba(29,129,39,.07);display:flex;align-items:center;color:#1d8127;border-radius:4px;border-bottom-left-radius:0;border-bottom-right-radius:0;overflow:hidden;margin-bottom:0;font-size:14px;font-weight:700;border-bottom:2px solid #1d8127}#openapi-viewer .response.ok>div.with-model .status-code-ok{background:#1d8127;color:#fff;padding:2px 8px;font-weight:700;border-radius:4px;margin:8px;margin-right:8px;font-size:12px}#openapi-viewer .response.ok>div.with-model .mime{margin:1px 16px;font-style:italic;font-weight:400}#openapi-viewer .response.ok>div.with-model .description{flex:1}#openapi-viewer .response.ok>div:not(.with-model){display:flex;align-items:center;color:#1d8127}#openapi-viewer .response.ok>div:not(.with-model) .status-code-ok{background:#1d8127;color:#fff;padding:2px 8px;font-weight:700;border-radius:4px;margin:8px;margin-right:8px;font-size:12px}#openapi-viewer .response .optional{display:none}#openapi-viewer .response.error{display:flex;align-items:center;color:#d41f1c}#openapi-viewer .response.error .status-code{background:#d41f1c;color:#fff;padding:2px 8px;font-weight:700;border-radius:4px;margin:8px;margin-right:8px;font-size:12px}#openapi-viewer .ui-spinner{width:38px;height:38px;border:5px solid rgba(216,216,233,.133);border-bottom-color:#5d4ff2;border-radius:50%;display:inline-block;box-sizing:border-box;animation:spinner-rotate 1s linear infinite;left:50%;top:40vh;position:static;margin:0 206px}#openapi-viewer .response-model{margin-left:4px}`,""]);const f=u},950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=s()(i());a.push([e.id,".try-it{clear:both}.try-it code{background:initial;padding:initial;margin:initial}.try-it .field{display:flex;align-items:center}.try-it .field label{display:inline-block;font-size:14px;font-weight:700;min-width:85px;color:#11171a}.try-it .field input{padding:4px;font-size:15px;border:1px solid #12005e;border-radius:4px;margin:2px 12px;flex:1}.try-it .field input::-moz-placeholder{color:#d41f1c}.try-it .field input::placeholder{color:#d41f1c}.try-it .field input.error{border-color:#d41f1c;background-color:rgba(212,31,28,.1)}.try-it footer{text-align:right;margin:0;margin-top:12px;margin-bottom:-10px}.try-it footer button{display:inline-block;background:#5d4ff2;color:#fff;height:36px;font-weight:600;font-family:Inter,sans-serif;border-radius:8px;padding:0 16px;cursor:pointer;transition:background .6s;margin:8px 0}.try-it footer button:disabled{opacity:.5;cursor:not-allowed}.try-it code,.try-it pre{font-family:Consolas,Söhne Mono,Monaco,Andale Mono,Ubuntu Mono,monospace!important;color:#fff!important;font-size:14px}.try-it .results>pre{border-radius:8px!important;scrollbar-width:thin;scrollbar-color:transparent transparent}.try-it .results>pre:hover{scrollbar-color:#ddd transparent}",""]);const l=a},6671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(1601),i=n.n(r),o=n(6314),s=n.n(o),a=n(4417),l=n.n(a),c=new URL(n(5588),n.b),u=new URL(n(2623),n.b),p=new URL(n(2303),n.b),f=s()(i()),d=l()(c),h=l()(u),g=l()(p);f.push([e.id,`#openapi>h1{margin:0;margin-top:-6px;margin-bottom:16px}#openapi .wrapper .quickstart article.md-content__inner{padding:0;margin:0}#openapi .wrapper .quickstart article.md-content__inner:before{display:none}#openapi .wrapper .api-content{margin:0 -38px}#openapi .wrapper .api-content .sc-dcJsrY.eVrqat:first-of-type{display:none}#openapi .wrapper .menu button.doc-input,#openapi .wrapper .menu input.doc-input{font-size:16px;padding:8px 12px;padding-left:36px;margin:16px 0;margin-bottom:0;display:inline-flex;align-items:center;width:calc(100% - 36px);cursor:pointer;background:url(${d}) no-repeat #f8f9fc;background-position:6px!important;background-size:24px;-moz-appearance:none!important;-webkit-appearance:none!important;appearance:none!important;border:1px solid #cbcfe1;line-height:1.5;color:#21225f;border-radius:8px}#openapi .wrapper .menu input[name=search-tags]{background:url(${h}) no-repeat #f8f9fc}#openapi .wrapper .menu .select-region{display:flex;align-items:center}#openapi .wrapper .menu .select-region select{font-size:16px}#openapi .wrapper .menu .doc-filter button{color:#21225f;font-weight:700;background:url(${g}) no-repeat #fff;transition:background 125ms ease-in-out;background-size:24px;width:auto}#openapi .wrapper .menu .doc-filter button:active,#openapi .wrapper .menu .doc-filter button:hover{background-color:#f1f2f9}#openapi .wrapper .menu .doc-filter b{margin:0 12px;color:#12005e}#openapi .wrapper .menu ul.scroll-container{margin:36px 0;list-style-type:none;overflow-y:auto;max-height:calc(100vh - 400px);scrollbar-width:thin;scrollbar-color:#fff #fff}#openapi .wrapper .menu ul.scroll-container:hover{scrollbar-color:#ddd #fff}#openapi .wrapper .menu ul.scroll-container>li{margin:0;margin-bottom:16px;font-size:18px;font-weight:700;cursor:pointer}#openapi .wrapper .menu ul.scroll-container>li>a{font-weight:700;color:#12005e}#openapi .wrapper .menu ul.scroll-container>li>ul{margin:0;list-style-type:none}#openapi .wrapper .menu ul.scroll-container>li>ul>li{font-size:16px;cursor:pointer;margin:0;padding:0}#openapi .wrapper .menu ul.scroll-container>li>ul>li>a{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:2px 0;font-weight:400;color:#1b18cd}#openapi .wrapper .menu ul.scroll-container>li>ul>li .active,#openapi .wrapper .menu ul.scroll-container>li>ul>li>a:hover{font-weight:700}#openapi .wrapper .menu ul.scroll-container>li>ul>li .active svg{transform:rotate(0deg)}#openapi .wrapper .menu ul.scroll-container>li>ul>li svg{opacity:.5;transition:transform 125ms ease-in-out}#openapi .wrapper .menu ul.scroll-container>li>ul>li ul{list-style-type:none;margin-top:0}#openapi .wrapper .menu ul.scroll-container>li>ul>li ul li{margin:0;padding:4px 2px;display:flex;align-items:center}#openapi .wrapper .menu ul.scroll-container>li>ul>li ul li a{cursor:pointer;font-weight:400;color:#12005e;font-size:14px;display:flex;align-items:flex-start}#openapi .wrapper .menu ul.scroll-container>li>ul>li ul li a>span{display:inline-flex}#openapi .wrapper .nav-chevron{height:18px;width:18px;min-width:18px;vertical-align:middle;float:right;margin-right:10px;transition:transform .2s ease-out;transform:rotate(-90deg)}.filter-dropdown{background:#fff;border:1px solid #e2e4f0;border-radius:8px;box-shadow:0 2px 8px 0 rgba(45,46,131,.16);padding:8px}.filter-dropdown input.doc-input{margin-bottom:8px!important}.filter-dropdown>*{width:100%!important;margin:0!important}.filter-dropdown ul{max-height:350px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#fff #fff}.filter-dropdown ul:hover{scrollbar-color:#ddd #fff}.filter-dropdown ul li{list-style-type:none;display:flex;align-items:center;transition:background 125ms ease-in-out;color:#21225f}.filter-dropdown ul li:hover{background:#f8f9fc}.filter-dropdown ul li input[type=checkbox]{width:16px;height:16px;margin:8px}.filter-dropdown b{color:#21225f;display:block;text-align:left;padding-left:32px;opacity:.5;font-weight:400;margin-top:12px}.filter-dropdown hr{height:8px}main{position:relative}main>.loading{position:absolute;top:0;left:0;right:0;height:4px;background:repeating-linear-gradient(90deg,transparent,#4947ca,transparent,transparent);background-size:200% auto;background-position:0 100%;animation:main-loading 2s linear infinite}@keyframes main-loading{0%{background-position:0 0}to{background-position:-200% 0}}`,""]);const v=f},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"===typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},4417:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},5981:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(n){var r=e[n];"object"!=typeof r||Object.isFrozen(r)||t(r)})),e}var n=t,r=t;n.default=r;class i{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function o(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const a="",l=e=>!!e.kind;class c{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=o(e)}openNode(e){if(!l(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){l(e)&&(this.buffer+=a)}value(){return this.buffer}span(e){this.buffer+=``}}class u{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"===typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!==typeof e&&e.children&&(e.children.every((e=>"string"===typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{u._collapse(e)})))}}class p extends u{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){const e=new c(this,this.options);return e.value()}finalize(){return!0}}function f(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function d(e){return e?"string"===typeof e?e:e.source:null}function h(...e){const t=e.map((e=>d(e))).join("");return t}function g(...e){const t="("+e.map((e=>d(e))).join("|")+")";return t}function v(e){return new RegExp(e.toString()+"|").exec("").length-1}function m(e,t){const n=e&&e.exec(t);return n&&0===n.index}const b=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,t="|"){let n=0;return e.map((e=>{n+=1;const t=n;let r=d(e),i="";while(r.length>0){const e=b.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i})).map((e=>`(${e})`)).join(t)}const x=/\b\B/,w="[a-zA-Z]\\w*",k="[a-zA-Z_]\\w*",E="\\b\\d+(\\.\\d+)?",_="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",O="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",T=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),s({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},A={begin:"\\\\[\\s\\S]",relevance:0},R={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},C={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},N={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},j=function(e,t,n={}){const r=s({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(N),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},I=j("//","$"),L=j("/\\*","\\*/"),M=j("#","$"),P={className:"number",begin:E,relevance:0},D={className:"number",begin:_,relevance:0},B={className:"number",begin:S,relevance:0},$={className:"number",begin:E+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},U={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]}]},z={className:"title",begin:w,relevance:0},F={className:"title",begin:k,relevance:0},H={begin:"\\.\\s*"+k,relevance:0},q=function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var W=Object.freeze({__proto__:null,MATCH_NOTHING_RE:x,IDENT_RE:w,UNDERSCORE_IDENT_RE:k,NUMBER_RE:E,C_NUMBER_RE:_,BINARY_NUMBER_RE:S,RE_STARTERS_RE:O,SHEBANG:T,BACKSLASH_ESCAPE:A,APOS_STRING_MODE:R,QUOTE_STRING_MODE:C,PHRASAL_WORDS_MODE:N,COMMENT:j,C_LINE_COMMENT_MODE:I,C_BLOCK_COMMENT_MODE:L,HASH_COMMENT_MODE:M,NUMBER_MODE:P,C_NUMBER_MODE:D,BINARY_NUMBER_MODE:B,CSS_NUMBER_MODE:$,REGEXP_MODE:U,TITLE_MODE:z,UNDERSCORE_TITLE_MODE:F,METHOD_GUARD:H,END_SAME_AS_BEGIN:q});function V(e,t){const n=e.input[e.index-1];"."===n&&t.ignoreMatch()}function G(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=V,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Y(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function K(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function X(e,t){void 0===e.relevance&&(e.relevance=1)}const Z=["of","and","for","in","not","or","if","then","parent","list","value"],J="keyword";function Q(e,t,n=J){const r={};return"string"===typeof e?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach((function(n){Object.assign(r,Q(e[n],t,n))})),r;function i(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,ee(n[0],n[1])]}))}}function ee(e,t){return t?Number(t):te(e)?0:1}function te(e){return Z.includes(e.toLowerCase())}function ne(e,{plugins:t}){function n(t,n){return new RegExp(d(t),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=v(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=n(y(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new r;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function o(e){const t=new i;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}function a(t,r){const i=t;if(t.isCompiled)return i;[K].forEach((e=>e(t,r))),e.compilerExtensions.forEach((e=>e(t,r))),t.__beforeBegin=null,[G,Y,X].forEach((e=>e(t,r))),t.isCompiled=!0;let s=null;if("object"===typeof t.keywords&&(s=t.keywords.$pattern,delete t.keywords.$pattern),t.keywords&&(t.keywords=Q(t.keywords,e.case_insensitive)),t.lexemes&&s)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return s=s||t.lexemes||/\w+/,i.keywordPatternRe=n(s,!0),r&&(t.begin||(t.begin=/\B|\b/),i.beginRe=n(t.begin),t.endSameAsBegin&&(t.end=t.begin),t.end||t.endsWithParent||(t.end=/\B|\b/),t.end&&(i.endRe=n(t.end)),i.terminatorEnd=d(t.end)||"",t.endsWithParent&&r.terminatorEnd&&(i.terminatorEnd+=(t.end?"|":"")+r.terminatorEnd)),t.illegal&&(i.illegalRe=n(t.illegal)),t.contains||(t.contains=[]),t.contains=[].concat(...t.contains.map((function(e){return ie("self"===e?t:e)}))),t.contains.forEach((function(e){a(e,i)})),t.starts&&a(t.starts,r),i.matcher=o(i),i}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=s(e.classNameAliases||{}),a(e)}function re(e){return!!e&&(e.endsWithParent||re(e.starts))}function ie(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return s(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:re(e)?s(e,{starts:e.starts?s(e.starts):null}):Object.isFrozen(e)?s(e):e}var oe="10.7.3";function se(e){return Boolean(e||""===e)}function ae(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,o(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||se(this.autodetect)},ignoreIllegals(){return!0}},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}},n={install(e){e.component("highlightjs",t)}};return{Component:t,VuePlugin:n}}const le={"after:highlightElement":({el:e,result:t,text:n})=>{const r=ue(e);if(!r.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=pe(r,ue(i),n)}};function ce(e){return e.nodeName.toLowerCase()}function ue(e){const t=[];return function e(n,r){for(let i=n.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:r,node:i}),r=e(i,r),ce(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:i}));return r}(e,0),t}function pe(e,t,n){let r=0,i="";const s=[];function a(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function c(e){i+=""}function u(e){("start"===e.event?l:c)(e.node)}while(e.length||t.length){let t=a();if(i+=o(n.substring(r,t[0].offset)),r=t[0].offset,t===e){s.reverse().forEach(c);do{u(t.splice(0,1)[0]),t=a()}while(t===e&&t.length&&t[0].offset===r);s.reverse().forEach(l)}else"start"===t[0].event?s.push(t[0].node):s.pop(),u(t.splice(0,1)[0])}return i+o(n.substr(r))}const fe={},de=e=>{console.error(e)},he=(e,...t)=>{console.log(`WARN: ${e}`,...t)},ge=(e,t)=>{fe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fe[`${e}/${t}`]=!0)},ve=o,me=s,be=Symbol("nomatch"),ye=function(e){const t=Object.create(null),r=Object.create(null),o=[];let s=!0;const a=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let u={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:p};function d(e){return u.noHighlightRe.test(e)}function h(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t);if(n){const t=P(n[1]);return t||(he(l.replace("{}",n[1])),he("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>d(e)||P(e)))}function g(e,t,n,r){let i="",o="";"object"===typeof t?(i=e,n=t.ignoreIllegals,o=t.language,r=void 0):(ge("10.7.0","highlight(lang, code, ...args) has been deprecated."),ge("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),o=e,i=t);const s={code:i,language:o};z("before:highlight",s);const a=s.result?s.result:v(s.language,s.code,n,r);return a.code=s.code,z("after:highlight",a),a}function v(e,n,r,a){function c(e,t){const n=O.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}function p(){if(!R.keywords)return void N.addText(j);let e=0;R.keywordPatternRe.lastIndex=0;let t=R.keywordPatternRe.exec(j),n="";while(t){n+=j.substring(e,t.index);const r=c(R,t);if(r){const[e,i]=r;if(N.addText(n),n="",I+=i,e.startsWith("_"))n+=t[0];else{const n=O.classNameAliases[e]||e;N.addKeyword(t[0],n)}}else n+=t[0];e=R.keywordPatternRe.lastIndex,t=R.keywordPatternRe.exec(j)}n+=j.substr(e),N.addText(n)}function d(){if(""===j)return;let e=null;if("string"===typeof R.subLanguage){if(!t[R.subLanguage])return void N.addText(j);e=v(R.subLanguage,j,!0,C[R.subLanguage]),C[R.subLanguage]=e.top}else e=y(j,R.subLanguage.length?R.subLanguage:null);R.relevance>0&&(I+=e.relevance),N.addSublanguage(e.emitter,e.language)}function h(){null!=R.subLanguage?d():p(),j=""}function g(e){return e.className&&N.openNode(O.classNameAliases[e.className]||e.className),R=Object.create(e,{parent:{value:R}}),R}function b(e,t,n){let r=m(e.endRe,n);if(r){if(e["on:end"]){const n=new i(e);e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){while(e.endsParent&&e.parent)e=e.parent;return e}}if(e.endsWithParent)return b(e.parent,t,n)}function x(e){return 0===R.matcher.regexIndex?(j+=e[0],1):(D=!0,0)}function w(e){const t=e[0],n=e.rule,r=new i(n),o=[n.__beforeBegin,n["on:begin"]];for(const i of o)if(i&&(i(e,r),r.isMatchIgnored))return x(t);return n&&n.endSameAsBegin&&(n.endRe=f(t)),n.skip?j+=t:(n.excludeBegin&&(j+=t),h(),n.returnBegin||n.excludeBegin||(j=t)),g(n),n.returnBegin?0:t.length}function k(e){const t=e[0],r=n.substr(e.index),i=b(R,e,r);if(!i)return be;const o=R;o.skip?j+=t:(o.returnEnd||o.excludeEnd||(j+=t),h(),o.excludeEnd&&(j=t));do{R.className&&N.closeNode(),R.skip||R.subLanguage||(I+=R.relevance),R=R.parent}while(R!==i.parent);return i.starts&&(i.endSameAsBegin&&(i.starts.endRe=i.endRe),g(i.starts)),o.returnEnd?0:t.length}function E(){const e=[];for(let t=R;t!==O;t=t.parent)t.className&&e.unshift(t.className);e.forEach((e=>N.openNode(e)))}let _={};function S(t,i){const o=i&&i[0];if(j+=t,null==o)return h(),0;if("begin"===_.type&&"end"===i.type&&_.index===i.index&&""===o){if(j+=n.slice(i.index,i.index+1),!s){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=_.rule,t}return 1}if(_=i,"begin"===i.type)return w(i);if("illegal"===i.type&&!r){const e=new Error('Illegal lexeme "'+o+'" for mode "'+(R.className||"")+'"');throw e.mode=R,e}if("end"===i.type){const e=k(i);if(e!==be)return e}if("illegal"===i.type&&""===o)return 1;if(M>1e5&&M>3*i.index){const e=new Error("potential infinite loop, way more iterations than matches");throw e}return j+=o,o.length}const O=P(e);if(!O)throw de(l.replace("{}",e)),new Error('Unknown language: "'+e+'"');const T=ne(O,{plugins:o});let A="",R=a||T;const C={},N=new u.__emitter(u);E();let j="",I=0,L=0,M=0,D=!1;try{for(R.matcher.considerAll();;){M++,D?D=!1:R.matcher.considerAll(),R.matcher.lastIndex=L;const e=R.matcher.exec(n);if(!e)break;const t=n.substring(L,e.index),r=S(t,e);L=e.index+r}return S(n.substr(L)),N.closeAllNodes(),N.finalize(),A=N.toHTML(),{relevance:Math.floor(I),value:A,language:e,illegal:!1,emitter:N,top:R}}catch(B){if(B.message&&B.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:B.message,context:n.slice(L-100,L+100),mode:B.mode},sofar:A,relevance:0,value:ve(n),emitter:N};if(s)return{illegal:!1,relevance:0,value:ve(n),emitter:N,language:e,top:R,errorRaised:B};throw B}}function b(e){const t={relevance:0,emitter:new u.__emitter(u),value:ve(e),illegal:!1,top:c};return t.emitter.addText(e),t}function y(e,n){n=n||u.languages||Object.keys(t);const r=b(e),i=n.filter(P).filter(B).map((t=>v(t,e,!1)));i.unshift(r);const o=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(P(e.language).supersetOf===t.language)return 1;if(P(t.language).supersetOf===e.language)return-1}return 0})),[s,a]=o,l=s;return l.second_best=a,l}function x(e){return u.tabReplace||u.useBR?e.replace(a,(e=>"\n"===e?u.useBR?"
":e:u.tabReplace?e.replace(/\t/g,u.tabReplace):e)):e}function w(e,t,n){const i=t?r[t]:n;e.classList.add("hljs"),i&&e.classList.add(i)}const k={"before:highlightElement":({el:e})=>{u.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:e})=>{u.useBR&&(e.value=e.value.replace(/\n/g,"
"))}},E=/^(<[^>]+>|\t)+/gm,_={"after:highlightElement":({result:e})=>{u.tabReplace&&(e.value=e.value.replace(E,(e=>e.replace(/\t/g,u.tabReplace))))}};function S(e){let t=null;const n=h(e);if(d(n))return;z("before:highlightElement",{el:e,language:n}),t=e;const r=t.textContent,i=n?g(r,{language:n,ignoreIllegals:!0}):y(r);z("after:highlightElement",{el:e,result:i,text:r}),e.innerHTML=i.value,w(e,n,i.language),e.result={language:i.language,re:i.relevance,relavance:i.relevance},i.second_best&&(e.second_best={language:i.second_best.language,re:i.second_best.relevance,relavance:i.second_best.relevance})}function O(e){e.useBR&&(ge("10.3.0","'useBR' will be removed entirely in v11.0"),ge("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),u=me(u,e)}const T=()=>{if(T.called)return;T.called=!0,ge("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");const e=document.querySelectorAll("pre code");e.forEach(S)};function A(){ge("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function C(){if("loading"===document.readyState)return void(R=!0);const e=document.querySelectorAll("pre code");e.forEach(S)}function N(){R&&C()}function j(n,r){let i=null;try{i=r(e)}catch(o){if(de("Language definition for '{}' could not be registered.".replace("{}",n)),!s)throw o;de(o),i=c}i.name||(i.name=n),t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&D(i.aliases,{languageName:n})}function I(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]}function L(){return Object.keys(t)}function M(e){ge("10.4.0","requireLanguage will be removed entirely in v11."),ge("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=P(e);if(t)return t;const n=new Error("The '{}' language is required, but not loaded.".replace("{}",e));throw n}function P(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function D(e,{languageName:t}){"string"===typeof e&&(e=[e]),e.forEach((e=>{r[e.toLowerCase()]=t}))}function B(e){const t=P(e);return t&&!t.disableAutodetect}function $(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}function U(e){$(e),o.push(e)}function z(e,t){const n=e;o.forEach((function(e){e[n]&&e[n](t)}))}function F(e){return ge("10.2.0","fixMarkup will be removed entirely in v11.0"),ge("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),x(e)}function H(e){return ge("10.7.0","highlightBlock will be removed entirely in v12.0"),ge("10.7.0","Please use highlightElement now."),S(e)}"undefined"!==typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1),Object.assign(e,{highlight:g,highlightAuto:y,highlightAll:C,fixMarkup:F,highlightElement:S,highlightBlock:H,configure:O,initHighlighting:T,initHighlightingOnLoad:A,registerLanguage:j,unregisterLanguage:I,listLanguages:L,getLanguage:P,registerAliases:D,requireLanguage:M,autoDetection:B,inherit:me,addPlugin:U,vuePlugin:ae(e).VuePlugin}),e.debugMode=function(){s=!1},e.safeMode=function(){s=!0},e.versionString=oe;for(const i in W)"object"===typeof W[i]&&n(W[i]);return Object.assign(e,W),e.addPlugin(k),e.addPlugin(le),e.addPlugin(_),e};var xe=ye({});e.exports=xe},5344:e=>{function t(e){return e?"string"===typeof e?e:e.source:null}function n(...e){const n=e.map((e=>t(e))).join("");return n}function r(e){const t={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:n(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,i]};i.contains.push(s);const a={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},c={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),f={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[p,e.SHEBANG(),f,c,e.HASH_COMMENT_MODE,o,s,a,l,t]}}e.exports=r},5089:e=>{const t="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],i=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],o=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","module","global"],l=[].concat(s,a,i,o);function c(e){return e?"string"===typeof e?e:e.source:null}function u(e){return p("(?=",e,")")}function p(...e){const t=e.map((e=>c(e))).join("");return t}function f(e){const i=(e,{after:t})=>{const n="",end:""},a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];"<"!==r?">"===r&&(i(e,{after:n})||t.ignoreMatch()):t.ignoreMatch()}},c={$pattern:t,keyword:n,literal:r,built_in:l},f="[0-9](_?[0-9])*",d=`\\.(${f})`,h="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${h})((${d})|\\.)?|(${d}))[eE][+-]?(${f})\\b`},{begin:`\\b(${h})\\b((${d})\\b|\\.)?|(${d})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},b={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,v],subLanguage:"css"}},y={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,v]},x=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),w={className:"comment",variants:[x,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},k=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,b,y,g,e.REGEXP_MODE];v.contains=k.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(k)});const E=[].concat(w,v.contains),_=E.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(E)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:_};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:_},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,b,y,w,g,{begin:p(/[{,\n]\s*/,u(p(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,o+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:o+u("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[w,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:_}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:s.begin,end:s.end},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:c,contains:["self",e.inherit(e.TITLE_MODE,{begin:o}),S],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[S,e.inherit(e.TITLE_MODE,{begin:o})]},{variants:[{begin:"\\."+o},{begin:"\\$"+o}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:o}),"self",S]},{begin:"(get|set)\\s+(?="+o+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:o}),{begin:/\(\)/},S]},{begin:/\$[(.]/}]}}e.exports=f},5772:e=>{function t(e){const t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return r.push(o,s),n.forEach((function(e){r.push(e)})),{name:"JSON",contains:r,keywords:t,illegal:"\\S"}}e.exports=t},7192:e=>{function t(e){return e?"string"===typeof e?e:e.source:null}function n(e){return r("(?=",e,")")}function r(...e){const n=e.map((e=>t(e))).join("");return n}function i(e){const t=["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],r=["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],i=["__debug__","Ellipsis","False","None","NotImplemented","True"],o=["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:t,built_in:r,literal:i,type:o},a={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},c={begin:/\{\{/,relevance:0},u={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,c,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",f=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,d={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${f}))[eE][+-]?(${p})[jJ]?\\b`},{begin:`(${f})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${p})[jJ]\\b`}]},h={className:"comment",begin:n(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},g={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",a,d,u,e.HASH_COMMENT_MODE]}]};return l.contains=[u,d,a],{name:"Python",aliases:["py","gyp","ipython"],keywords:s,illegal:/(<\/|->|\?)|=>/,contains:[a,d,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},u,h,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,g,{begin:/->/,endsWithParent:!0,keywords:s}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[d,g,u]}]}}e.exports=i},3588:(e,t,n)=>{var r=n(4711);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("1d07f774",r,!0,{sourceMap:!1,shadowMode:!1})},2661:(e,t,n)=>{var r=n(9408);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("1b95c162",r,!0,{sourceMap:!1,shadowMode:!1})},4575:(e,t,n)=>{var r=n(4823);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("057dbfa5",r,!0,{sourceMap:!1,shadowMode:!1})},7282:(e,t,n)=>{var r=n(4429);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("7b2cfd35",r,!0,{sourceMap:!1,shadowMode:!1})},2456:(e,t,n)=>{var r=n(3312);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("05079345",r,!0,{sourceMap:!1,shadowMode:!1})},1889:(e,t,n)=>{var r=n(950);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("b64df476",r,!0,{sourceMap:!1,shadowMode:!1})},4343:(e,t,n)=>{var r=n(6671);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var i=n(9548).A;i("c2f4c636",r,!0,{sourceMap:!1,shadowMode:!1})},9548:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},i=0;ih});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},p=null,f="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){c=n,p=i||{};var s=r(e,t);return g(s),function(t){for(var n=[],i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJtNDU5LjcgMjMzLjQtOTAuNSA5MC41Yy01MCA1MC0xMzEgNTAtMTgxIDAtNy45LTcuOC0xNC0xNi43LTE5LjQtMjUuOGw0Mi4xLTQyLjFjMi0yIDQuNS0zLjIgNi44LTQuNSAyLjkgOS45IDggMTkuMyAxNS44IDI3LjIgMjUgMjUgNjUuNiAyNC45IDkwLjUgMGw5MC41LTkwLjVjMjUtMjUgMjUtNjUuNiAwLTkwLjUtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDAgNDkuOCA0OS45IDQ5LjggMTMxLS4xIDE4MXpNMjIwLjMgMzgyLjJsLTMyLjIgMzIuMmMtMjUgMjQuOS02NS42IDI0LjktOTAuNSAwLTI1LTI1LTI1LTY1LjYgMC05MC41bDkwLjUtOTAuNWMyNS0yNSA2NS41LTI1IDkwLjUgMCA3LjggNy44IDEyLjkgMTcuMiAxNS44IDI3LjEgMi40LTEuNCA0LjgtMi41IDYuOC00LjVsNDIuMS00MmMtNS40LTkuMi0xMS42LTE4LTE5LjQtMjUuOC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxczEzMSA1MCAxODEgMGw2OC42LTY4LjZjLTI3LjQgNC01NS42IDEuMi04MS43LTguOXoiLz48L3N2Zz4="},5588:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg stroke=%27%23444%27 xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5%27/%3E%3C/svg%3E"},2303:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27currentColor%27 viewBox=%270 0 24 24%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M6 12a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm3 5a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1ZM3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z%27 clip-rule=%27evenodd%27/%3E%3C/svg%3E"},2623:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 height=%2724%27 width=%2724%27 fill=%27%235f6368%27%3E%3Cpath d=%27M0 0h24v24H0V0z%27 fill=%27none%27/%3E%3Cpath d=%27M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z%27/%3E%3C/svg%3E"},9306:(e,t,n)=>{"use strict";var r=n(4901),i=n(6823),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a function")}},5548:(e,t,n)=>{"use strict";var r=n(3517),i=n(6823),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},3506:(e,t,n)=>{"use strict";var r=n(3925),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},7080:(e,t,n)=>{"use strict";var r=n(4402).has;e.exports=function(e){return r(e),e}},6469:(e,t,n)=>{"use strict";var r=n(8227),i=n(2360),o=n(4913).f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},7829:(e,t,n)=>{"use strict";var r=n(8183).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},679:(e,t,n)=>{"use strict";var r=n(1625),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},8551:(e,t,n)=>{"use strict";var r=n(34),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not an object")}},5652:(e,t,n)=>{"use strict";var r=n(9039);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},235:(e,t,n)=>{"use strict";var r=n(9213).forEach,i=n(4598),o=i("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7916:(e,t,n)=>{"use strict";var r=n(6080),i=n(9565),o=n(8981),s=n(6319),a=n(4209),l=n(3517),c=n(6198),u=n(2278),p=n(81),f=n(851),d=Array;e.exports=function(e){var t=o(e),n=l(this),h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g;v&&(g=r(g,h>2?arguments[2]:void 0));var m,b,y,x,w,k,E=f(t),_=0;if(!E||this===d&&a(E))for(m=c(t),b=n?new this(m):d(m);m>_;_++)k=v?g(t[_],_):t[_],u(b,_,k);else for(b=n?new this:[],x=p(t,E),w=x.next;!(y=i(w,x)).done;_++)k=v?s(x,g,[y.value,_],!0):y.value,u(b,_,k);return b.length=_,b}},9617:(e,t,n)=>{"use strict";var r=n(5397),i=n(5610),o=n(6198),s=function(e){return function(t,n,s){var a=r(t),l=o(a);if(0===l)return!e&&-1;var c,u=i(s,l);if(e&&n!==n){while(l>u)if(c=a[u++],c!==c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},9213:(e,t,n)=>{"use strict";var r=n(6080),i=n(9504),o=n(7055),s=n(8981),a=n(6198),l=n(1469),c=i([].push),u=function(e){var t=1===e,n=2===e,i=3===e,u=4===e,p=6===e,f=7===e,d=5===e||p;return function(h,g,v,m){for(var b,y,x=s(h),w=o(x),k=a(w),E=r(g,v),_=0,S=m||l,O=t?S(h,k):n||f?S(h,0):void 0;k>_;_++)if((d||_ in w)&&(b=w[_],y=E(b,_,x),e))if(t)O[_]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return _;case 2:c(O,b)}else switch(e){case 4:return!1;case 7:c(O,b)}return p?-1:i||u?u:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},597:(e,t,n)=>{"use strict";var r=n(9039),i=n(8227),o=n(9519),s=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4598:(e,t,n)=>{"use strict";var r=n(9039);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},4527:(e,t,n)=>{"use strict";var r=n(3724),i=n(4376),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680:(e,t,n)=>{"use strict";var r=n(9504);e.exports=r([].slice)},4488:(e,t,n)=>{"use strict";var r=n(7680),i=Math.floor,o=function(e,t){var n=e.length;if(n<8){var s,a,l=1;while(l0)e[a]=e[--a];a!==l++&&(e[a]=s)}}else{var c=i(n/2),u=o(r(e,0,c),t),p=o(r(e,c),t),f=u.length,d=p.length,h=0,g=0;while(h{"use strict";var r=n(4376),i=n(3517),o=n(34),s=n(8227),a=s("species"),l=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,i(t)&&(t===l||r(t.prototype))?t=void 0:o(t)&&(t=t[a],null===t&&(t=void 0))),void 0===t?l:t}},1469:(e,t,n)=>{"use strict";var r=n(7433);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},6319:(e,t,n)=>{"use strict";var r=n(8551),i=n(9539);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(s){i(e,"throw",s)}}},4428:(e,t,n)=>{"use strict";var r=n(8227),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(l){return!1}var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},4576:(e,t,n)=>{"use strict";var r=n(9504),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},6955:(e,t,n)=>{"use strict";var r=n(2140),i=n(4901),o=n(4576),s=n(8227),a=s("toStringTag"),l=Object,c="Arguments"===o(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=l(e),a))?n:c?o(t):"Object"===(r=o(t))&&i(t.callee)?"Arguments":r}},6938:(e,t,n)=>{"use strict";var r=n(2360),i=n(2106),o=n(6279),s=n(6080),a=n(679),l=n(4117),c=n(2652),u=n(1088),p=n(2529),f=n(7633),d=n(3724),h=n(3451).fastKey,g=n(1181),v=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,n,u){var p=e((function(e,i){a(e,f),v(e,{type:t,index:r(null),first:null,last:null,size:0}),d||(e.size=0),l(i)||c(i,e[u],{that:e,AS_ENTRIES:n})})),f=p.prototype,g=m(t),b=function(e,t,n){var r,i,o=g(e),s=y(e,t);return s?s.value=n:(o.last=s={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:null,removed:!1},o.first||(o.first=s),r&&(r.next=s),d?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},y=function(e,t){var n,r=g(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===t)return n};return o(f,{clear:function(){var e=this,t=g(e),n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;t.first=t.last=null,t.index=r(null),d?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=y(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===r&&(n.first=i),n.last===r&&(n.last=o),d?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!y(this,e)}}),o(f,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),d&&i(f,"size",{configurable:!0,get:function(){return g(this).size}}),p},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);u(e,t,(function(e,t){v(this,{type:r,target:e,state:i(e),kind:t,last:null})}),(function(){var e=o(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?p("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,p(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},6468:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9504),s=n(2796),a=n(6840),l=n(3451),c=n(2652),u=n(679),p=n(4901),f=n(4117),d=n(34),h=n(9039),g=n(4428),v=n(687),m=n(3167);e.exports=function(e,t,n){var b=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),x=b?"set":"add",w=i[e],k=w&&w.prototype,E=w,_={},S=function(e){var t=o(k[e]);a(k,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(y&&!d(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return y&&!d(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(y&&!d(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},O=s(e,!p(w)||!(y||k.forEach&&!h((function(){(new w).entries().next()}))));if(O)E=n.getConstructor(t,e,b,x),l.enable();else if(s(e,!0)){var T=new E,A=T[x](y?{}:-0,1)!==T,R=h((function(){T.has(1)})),C=g((function(e){new w(e)})),N=!y&&h((function(){var e=new w,t=5;while(t--)e[x](t,t);return!e.has(-0)}));C||(E=t((function(e,t){u(e,k);var n=m(new w,e,E);return f(t)||c(t,n[x],{that:n,AS_ENTRIES:b}),n})),E.prototype=k,k.constructor=E),(R||N)&&(S("delete"),S("has"),b&&S("get")),(N||A)&&S(x),y&&k.clear&&delete k.clear}return _[e]=E,r({global:!0,constructor:!0,forced:E!==w},_),v(E,e),y||n.setStrong(E,e,b),E}},7740:(e,t,n)=>{"use strict";var r=n(9297),i=n(5031),o=n(7347),s=n(4913);e.exports=function(e,t,n){for(var a=i(t),l=s.f,c=o.f,u=0;u{"use strict";var r=n(8227),i=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(r){}}return!1}},2211:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,n)=>{"use strict";var r=n(3724),i=n(4913),o=n(6980);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2278:(e,t,n)=>{"use strict";var r=n(3724),i=n(4913),o=n(6980);e.exports=function(e,t,n){r?i.f(e,t,o(0,n)):e[t]=n}},380:(e,t,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(533).start,s=RangeError,a=isFinite,l=Math.abs,c=Date.prototype,u=c.toISOString,p=r(c.getTime),f=r(c.getUTCDate),d=r(c.getUTCFullYear),h=r(c.getUTCHours),g=r(c.getUTCMilliseconds),v=r(c.getUTCMinutes),m=r(c.getUTCMonth),b=r(c.getUTCSeconds);e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!==u.call(new Date(-50000000000001))}))||!i((function(){u.call(new Date(NaN))}))?function(){if(!a(p(this)))throw new s("Invalid time value");var e=this,t=d(e),n=g(e),r=t<0?"-":t>9999?"+":"";return r+o(l(t),r?6:4,0)+"-"+o(m(e)+1,2,0)+"-"+o(f(e),2,0)+"T"+o(h(e),2,0)+":"+o(v(e),2,0)+":"+o(b(e),2,0)+"."+o(n,3,0)+"Z"}:u},3640:(e,t,n)=>{"use strict";var r=n(8551),i=n(4270),o=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new o("Incorrect hint");return i(this,e)}},2106:(e,t,n)=>{"use strict";var r=n(283),i=n(4913);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},6840:(e,t,n)=>{"use strict";var r=n(4901),i=n(4913),o=n(283),s=n(9433);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(r(n)&&o(n,c,a),a.global)l?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},6279:(e,t,n)=>{"use strict";var r=n(6840);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},9433:(e,t,n)=>{"use strict";var r=n(2195),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},4606:(e,t,n)=>{"use strict";var r=n(6823),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+r(t)+" of "+r(e))}},3724:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,t,n)=>{"use strict";var r=n(2195),i=n(34),o=r.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},6837:e=>{"use strict";var t=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw t("Maximum allowed index exceeded");return e}},7400:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(e,t,n)=>{"use strict";var r=n(4055),i=r("span").classList,o=i&&i.constructor&&i.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3709:(e,t,n)=>{"use strict";var r=n(2839),i=r.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},3763:(e,t,n)=>{"use strict";var r=n(2839);e.exports=/MSIE|Trident/.test(r)},4265:(e,t,n)=>{"use strict";var r=n(2839);e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},9544:(e,t,n)=>{"use strict";var r=n(2839);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6193:(e,t,n)=>{"use strict";var r=n(4215);e.exports="NODE"===r},7860:(e,t,n)=>{"use strict";var r=n(2839);e.exports=/web0s(?!.*chrome)/i.test(r)},2839:(e,t,n)=>{"use strict";var r=n(2195),i=r.navigator,o=i&&i.userAgent;e.exports=o?String(o):""},9519:(e,t,n)=>{"use strict";var r,i,o=n(2195),s=n(2839),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},3607:(e,t,n)=>{"use strict";var r=n(2839),i=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},4215:(e,t,n)=>{"use strict";var r=n(2195),i=n(2839),o=n(4576),s=function(e){return i.slice(0,e.length)===e};e.exports=function(){return s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"}()},8574:(e,t,n)=>{"use strict";var r=n(9504),i=Error,o=r("".replace),s=function(e){return String(new i(e).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(s);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=o(e,a,"");return e}},747:(e,t,n)=>{"use strict";var r=n(6699),i=n(8574),o=n(4659),s=Error.captureStackTrace;e.exports=function(e,t,n,a){o&&(s?s(e,t):r(e,"stack",i(n,a)))}},4659:(e,t,n)=>{"use strict";var r=n(9039),i=n(6980);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},7536:(e,t,n)=>{"use strict";var r=n(3724),i=n(9039),o=n(8551),s=n(2603),a=Error.prototype.toString,l=i((function(){if(r){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==a.call(e))return!0}return"2: 1"!==a.call({message:1,name:2})||"Error"!==a.call({})}));e.exports=l?function(){var e=o(this),t=s(e.name,"Error"),n=s(e.message);return t?n?t+": "+n:t:n}:a},6518:(e,t,n)=>{"use strict";var r=n(2195),i=n(7347).f,o=n(6699),s=n(6840),a=n(9433),l=n(7740),c=n(2796);e.exports=function(e,t){var n,u,p,f,d,h,g=e.target,v=e.global,m=e.stat;if(u=v?r:m?r[g]||a(g,{}):r[g]&&r[g].prototype,u)for(p in t){if(d=t[p],e.dontCallGetSet?(h=i(u,p),f=h&&h.value):f=u[p],n=c(v?p:g+(m?".":"#")+p,e.forced),!n&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),s(u,p,d,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},9228:(e,t,n)=>{"use strict";n(7495);var r=n(9565),i=n(6840),o=n(7323),s=n(9039),a=n(8227),l=n(6699),c=a("species"),u=RegExp.prototype;e.exports=function(e,t,n,p){var f=a(e),d=!s((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),h=d&&!s((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!d||!h||n){var g=/./[f],v=t(f,""[e],(function(e,t,n,i,s){var a=t.exec;return a===o||a===u.exec?d&&!s?{done:!0,value:r(g,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}}));i(String.prototype,e,v[0]),i(u,f,v[1])}p&&l(u[f],"sham",!0)}},2744:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(e,t,n)=>{"use strict";var r=n(616),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},6080:(e,t,n)=>{"use strict";var r=n(7476),i=n(9306),o=n(616),s=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:(e,t,n)=>{"use strict";var r=n(616),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},350:(e,t,n)=>{"use strict";var r=n(3724),i=n(9297),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),l=a&&"something"===function(){}.name,c=a&&(!r||r&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},6706:(e,t,n)=>{"use strict";var r=n(9504),i=n(9306);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},7476:(e,t,n)=>{"use strict";var r=n(4576),i=n(9504);e.exports=function(e){if("Function"===r(e))return i(e)}},9504:(e,t,n)=>{"use strict";var r=n(616),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);e.exports=r?s:function(e){return function(){return o.apply(e,arguments)}}},7751:(e,t,n)=>{"use strict";var r=n(2195),i=n(4901),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},1767:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},851:(e,t,n)=>{"use strict";var r=n(6955),i=n(5966),o=n(4117),s=n(6269),a=n(8227),l=a("iterator");e.exports=function(e){if(!o(e))return i(e,l)||i(e,"@@iterator")||s[r(e)]}},81:(e,t,n)=>{"use strict";var r=n(9565),i=n(9306),o=n(8551),s=n(6823),a=n(851),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return o(r(n,e));throw new l(s(e)+" is not iterable")}},6933:(e,t,n)=>{"use strict";var r=n(9504),i=n(4376),o=n(4901),s=n(4576),a=n(655),l=r([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;r{"use strict";var r=n(9306),i=n(4117);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},3789:(e,t,n)=>{"use strict";var r=n(9306),i=n(8551),o=n(9565),s=n(1291),a=n(1767),l="Invalid size",c=RangeError,u=TypeError,p=Math.max,f=function(e,t){this.set=e,this.size=p(t,0),this.has=r(e.has),this.keys=r(e.keys)};f.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!==t)throw new u(l);var n=s(t);if(n<0)throw new c(l);return new f(e,n)}},2478:(e,t,n)=>{"use strict";var r=n(9504),i=n(8981),o=Math.floor,s=r("".charAt),a=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,f){var d=n+e.length,h=r.length,g=u;return void 0!==p&&(p=i(p),g=c),a(f,g,(function(i,a){var c;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,d);case"<":c=p[l(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>h){var f=o(u/10);return 0===f?i:f<=h?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}c=r[u-1]}return void 0===c?"":c}))}},2195:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,t,n)=>{"use strict";var r=n(9504),i=n(8981),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},421:e=>{"use strict";e.exports={}},3138:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(n){}}},397:(e,t,n)=>{"use strict";var r=n(7751);e.exports=r("document","documentElement")},5917:(e,t,n)=>{"use strict";var r=n(3724),i=n(9039),o=n(4055);e.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},7055:(e,t,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4576),s=Object,a=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?a(e,""):s(e)}:s},3167:(e,t,n)=>{"use strict";var r=n(4901),i=n(34),o=n(2967);e.exports=function(e,t,n){var s,a;return o&&r(s=t.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(e,a),e}},3706:(e,t,n)=>{"use strict";var r=n(9504),i=n(4901),o=n(7629),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},7584:(e,t,n)=>{"use strict";var r=n(34),i=n(6699);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},3451:(e,t,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(421),s=n(34),a=n(9297),l=n(4913).f,c=n(8480),u=n(298),p=n(4124),f=n(3392),d=n(2744),h=!1,g=f("meta"),v=0,m=function(e){l(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,g)){if(!p(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},y=function(e,t){if(!a(e,g)){if(!p(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},x=function(e){return d&&h&&p(e)&&!a(e,g)&&m(e),e},w=function(){k.enable=function(){},h=!0;var e=c.f,t=i([].splice),n={};n[g]=1,e(n).length&&(c.f=function(n){for(var r=e(n),i=0,o=r.length;i{"use strict";var r,i,o,s=n(8622),a=n(2195),l=n(34),c=n(6699),u=n(9297),p=n(7629),f=n(6119),d=n(421),h="Object already initialized",g=a.TypeError,v=a.WeakMap,m=function(e){return o(e)?i(e):r(e,{})},b=function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}};if(s||p.state){var y=p.state||(p.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new g(h);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var x=f("state");d[x]=!0,r=function(e,t){if(u(e,x))throw new g(h);return t.facade=e,c(e,x,t),t},i=function(e){return u(e,x)?e[x]:{}},o=function(e){return u(e,x)}}e.exports={set:r,get:i,has:o,enforce:m,getterFor:b}},4209:(e,t,n)=>{"use strict";var r=n(8227),i=n(6269),o=r("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},4376:(e,t,n)=>{"use strict";var r=n(4576);e.exports=Array.isArray||function(e){return"Array"===r(e)}},4901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports="undefined"==typeof t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3517:(e,t,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4901),s=n(6955),a=n(7751),l=n(3706),c=function(){},u=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=r(p.exec),d=!p.test(c),h=function(e){if(!o(e))return!1;try{return u(c,[],e),!0}catch(t){return!1}},g=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(p,l(e))}catch(t){return!0}};g.sham=!0,e.exports=!u||i((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?g:h},2796:(e,t,n)=>{"use strict";var r=n(9039),i=n(4901),o=/#|\.prototype\./,s=function(e,t){var n=l[a(e)];return n===u||n!==c&&(i(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},4117:e=>{"use strict";e.exports=function(e){return null===e||void 0===e}},34:(e,t,n)=>{"use strict";var r=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,t,n)=>{"use strict";var r=n(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,t,n)=>{"use strict";var r=n(34),i=n(4576),o=n(8227),s=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===i(e))}},757:(e,t,n)=>{"use strict";var r=n(7751),i=n(4901),o=n(1625),s=n(7040),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,a(e))}},507:(e,t,n)=>{"use strict";var r=n(9565);e.exports=function(e,t,n){var i,o,s=n?e:e.iterator,a=e.next;while(!(i=r(a,s)).done)if(o=t(i.value),void 0!==o)return o}},2652:(e,t,n)=>{"use strict";var r=n(6080),i=n(9565),o=n(8551),s=n(6823),a=n(4209),l=n(6198),c=n(1625),u=n(81),p=n(851),f=n(9539),d=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,n){var v,m,b,y,x,w,k,E=n&&n.that,_=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),A=r(t,E),R=function(e){return v&&f(v,"normal",e),new h(!0,e)},C=function(e){return _?(o(e),T?A(e[0],e[1],R):A(e[0],e[1])):T?A(e,R):A(e)};if(S)v=e.iterator;else if(O)v=e;else{if(m=p(e),!m)throw new d(s(e)+" is not iterable");if(a(m)){for(b=0,y=l(e);y>b;b++)if(x=C(e[b]),x&&c(g,x))return x;return new h(!1)}v=u(e,m)}w=S?e.next:v.next;while(!(k=i(w,v)).done){try{x=C(k.value)}catch(N){f(v,"throw",N)}if("object"==typeof x&&x&&c(g,x))return x}return new h(!1)}},9539:(e,t,n)=>{"use strict";var r=n(9565),i=n(8551),o=n(5966);e.exports=function(e,t,n){var s,a;i(e);try{if(s=o(e,"return"),!s){if("throw"===t)throw n;return n}s=r(s,e)}catch(l){a=!0,s=l}if("throw"===t)throw n;if(a)throw s;return i(s),n}},3994:(e,t,n)=>{"use strict";var r=n(7657).IteratorPrototype,i=n(2360),o=n(6980),s=n(687),a=n(6269),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),s(e,u,!1,!0),a[u]=l,e}},9462:(e,t,n)=>{"use strict";var r=n(9565),i=n(2360),o=n(6699),s=n(6279),a=n(8227),l=n(1181),c=n(5966),u=n(7657).IteratorPrototype,p=n(2529),f=n(9539),d=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",v=l.set,m=function(e){var t=l.getterFor(e?g:h);return s(i(u),{next:function(){var n=t(this);if(e)return n.nextHandler();try{var r=n.done?void 0:n.nextHandler();return p(r,n.done)}catch(i){throw n.done=!0,i}},return:function(){var n=t(this),i=n.iterator;if(n.done=!0,e){var o=c(i,"return");return o?r(o,i):p(void 0,!0)}if(n.inner)try{f(n.inner.iterator,"normal")}catch(s){return f(i,"throw",s)}return i&&f(i,"normal"),p(void 0,!0)}})},b=m(!0),y=m(!1);o(y,d,"Iterator Helper"),e.exports=function(e,t){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=t?g:h,r.nextHandler=e,r.counter=0,r.done=!1,v(this,r)};return n.prototype=t?b:y,n}},1088:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(6395),s=n(350),a=n(4901),l=n(3994),c=n(2787),u=n(2967),p=n(687),f=n(6699),d=n(6840),h=n(8227),g=n(6269),v=n(7657),m=s.PROPER,b=s.CONFIGURABLE,y=v.IteratorPrototype,x=v.BUGGY_SAFARI_ITERATORS,w=h("iterator"),k="keys",E="values",_="entries",S=function(){return this};e.exports=function(e,t,n,s,h,v,O){l(n,t,s);var T,A,R,C=function(e){if(e===h&&M)return M;if(!x&&e&&e in I)return I[e];switch(e){case k:return function(){return new n(this,e)};case E:return function(){return new n(this,e)};case _:return function(){return new n(this,e)}}return function(){return new n(this)}},N=t+" Iterator",j=!1,I=e.prototype,L=I[w]||I["@@iterator"]||h&&I[h],M=!x&&L||C(h),P="Array"===t&&I.entries||L;if(P&&(T=c(P.call(new e)),T!==Object.prototype&&T.next&&(o||c(T)===y||(u?u(T,y):a(T[w])||d(T,w,S)),p(T,N,!0,!0),o&&(g[N]=S))),m&&h===E&&L&&L.name!==E&&(!o&&b?f(I,"name",E):(j=!0,M=function(){return i(L,this)})),h)if(A={values:C(E),keys:v?M:C(k),entries:C(_)},O)for(R in A)(x||j||!(R in I))&&d(I,R,A[R]);else r({target:t,proto:!0,forced:x||j},A);return o&&!O||I[w]===M||d(I,w,M,{name:h}),g[t]=M,A}},713:(e,t,n)=>{"use strict";var r=n(9565),i=n(9306),o=n(8551),s=n(1767),a=n(9462),l=n(6319),c=a((function(){var e=this.iterator,t=o(r(this.next,e)),n=this.done=!!t.done;if(!n)return l(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return o(this),i(e),new c(s(this),{mapper:e})}},7657:(e,t,n)=>{"use strict";var r,i,o,s=n(9039),a=n(4901),l=n(34),c=n(2360),u=n(2787),p=n(6840),f=n(8227),d=n(6395),h=f("iterator"),g=!1;[].keys&&(o=[].keys(),"next"in o?(i=u(u(o)),i!==Object.prototype&&(r=i)):g=!0);var v=!l(r)||s((function(){var e={};return r[h].call(e)!==e}));v?r={}:d&&(r=c(r)),a(r[h])||p(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},6269:e=>{"use strict";e.exports={}},6198:(e,t,n)=>{"use strict";var r=n(8014);e.exports=function(e){return r(e.length)}},283:(e,t,n)=>{"use strict";var r=n(9504),i=n(9039),o=n(4901),s=n(9297),a=n(3724),l=n(350).CONFIGURABLE,c=n(3706),u=n(1181),p=u.enforce,f=u.get,d=String,h=Object.defineProperty,g=r("".slice),v=r("".replace),m=r([].join),b=a&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),x=e.exports=function(e,t,n){"Symbol("===g(d(t),0,7)&&(t="["+v(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&n&&s(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=p(e);return s(r,"source")||(r.source=m(y,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return o(this)&&f(this).source||c(this)}),"toString")},741:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},1955:(e,t,n)=>{"use strict";var r,i,o,s,a,l=n(2195),c=n(3389),u=n(6080),p=n(9225).set,f=n(8265),d=n(9544),h=n(4265),g=n(7860),v=n(6193),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,y=l.process,x=l.Promise,w=c("queueMicrotask");if(!w){var k=new f,E=function(){var e,t;v&&(e=y.domain)&&e.exit();while(t=k.get())try{t()}catch(n){throw k.head&&r(),n}e&&e.enter()};d||v||g||!m||!b?!h&&x&&x.resolve?(s=x.resolve(void 0),s.constructor=x,a=u(s.then,s),r=function(){a(E)}):v?r=function(){y.nextTick(E)}:(p=u(p,l),r=function(){p(E)}):(i=!0,o=b.createTextNode(""),new m(E).observe(o,{characterData:!0}),r=function(){o.data=i=!i}),w=function(e){k.head||r(),k.add(e)}}e.exports=w},6043:(e,t,n)=>{"use strict";var r=n(9306),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},2603:(e,t,n)=>{"use strict";var r=n(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},5749:(e,t,n)=>{"use strict";var r=n(788),i=TypeError;e.exports=function(e){if(r(e))throw new i("The method doesn't accept regular expressions");return e}},4213:(e,t,n)=>{"use strict";var r=n(3724),i=n(9504),o=n(9565),s=n(9039),a=n(1072),l=n(3717),c=n(8773),u=n(8981),p=n(7055),f=Object.assign,d=Object.defineProperty,h=i([].concat);e.exports=!f||s((function(){if(r&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!==f({},e)[n]||a(f({},t)).join("")!==i}))?function(e,t){var n=u(e),i=arguments.length,s=1,f=l.f,d=c.f;while(i>s){var g,v=p(arguments[s++]),m=f?h(a(v),f(v)):a(v),b=m.length,y=0;while(b>y)g=m[y++],r&&!o(d,v,g)||(n[g]=v[g])}return n}:f},2360:(e,t,n)=>{"use strict";var r,i=n(8551),o=n(6801),s=n(8727),a=n(421),l=n(397),c=n(4055),u=n(6119),p=">",f="<",d="prototype",h="script",g=u("IE_PROTO"),v=function(){},m=function(e){return f+h+p+e+f+"/"+h+p},b=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=c("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}x="undefined"!=typeof document?document.domain&&r?b(r):y():b(r);var e=s.length;while(e--)delete x[d][s[e]];return x()};a[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[d]=i(e),n=new v,v[d]=null,n[g]=e):n=x(),void 0===t?n:o.f(n,t)}},6801:(e,t,n)=>{"use strict";var r=n(3724),i=n(8686),o=n(4913),s=n(8551),a=n(5397),l=n(1072);t.f=r&&!i?Object.defineProperties:function(e,t){s(e);var n,r=a(t),i=l(t),c=i.length,u=0;while(c>u)o.f(e,n=i[u++],r[n]);return e}},4913:(e,t,n)=>{"use strict";var r=n(3724),i=n(5917),o=n(8686),s=n(8551),a=n(6969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",d="writable";t.f=r?o?function(e,t,n){if(s(e),t=a(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=u(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=a(t),s(n),i)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7347:(e,t,n)=>{"use strict";var r=n(3724),i=n(9565),o=n(8773),s=n(6980),a=n(5397),l=n(6969),c=n(9297),u=n(5917),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=l(t),u)try{return p(e,t)}catch(n){}if(c(e,t))return s(!i(o.f,e,t),e[t])}},298:(e,t,n)=>{"use strict";var r=n(4576),i=n(5397),o=n(8480).f,s=n(7680),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return o(e)}catch(t){return s(a)}};e.exports.f=function(e){return a&&"Window"===r(e)?l(e):o(i(e))}},8480:(e,t,n)=>{"use strict";var r=n(1828),i=n(8727),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2787:(e,t,n)=>{"use strict";var r=n(9297),i=n(4901),o=n(8981),s=n(6119),a=n(2211),l=s("IE_PROTO"),c=Object,u=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=o(e);if(r(t,l))return t[l];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},4124:(e,t,n)=>{"use strict";var r=n(9039),i=n(34),o=n(4576),s=n(5652),a=Object.isExtensible,l=r((function(){a(1)}));e.exports=l||s?function(e){return!!i(e)&&((!s||"ArrayBuffer"!==o(e))&&(!a||a(e)))}:a},1625:(e,t,n)=>{"use strict";var r=n(9504);e.exports=r({}.isPrototypeOf)},1828:(e,t,n)=>{"use strict";var r=n(9504),i=n(9297),o=n(5397),s=n(9617).indexOf,a=n(421),l=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&l(u,n);while(t.length>c)i(r,n=t[c++])&&(~s(u,n)||l(u,n));return u}},1072:(e,t,n)=>{"use strict";var r=n(1828),i=n(8727);e.exports=Object.keys||function(e){return r(e,i)}},8773:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2967:(e,t,n)=>{"use strict";var r=n(6706),i=n(34),o=n(7750),s=n(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return o(n),s(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},2357:(e,t,n)=>{"use strict";var r=n(3724),i=n(9039),o=n(9504),s=n(2787),a=n(1072),l=n(5397),c=n(8773).f,u=o(c),p=o([].push),f=r&&i((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),d=function(e){return function(t){var n,i=l(t),o=a(i),c=f&&null===s(i),d=o.length,h=0,g=[];while(d>h)n=o[h++],r&&!(c?n in i:u(i,n))||p(g,e?[n,i[n]]:i[n]);return g}};e.exports={entries:d(!0),values:d(!1)}},3179:(e,t,n)=>{"use strict";var r=n(2140),i=n(6955);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},4270:(e,t,n)=>{"use strict";var r=n(9565),i=n(4901),o=n(34),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},5031:(e,t,n)=>{"use strict";var r=n(7751),i=n(9504),o=n(8480),s=n(3717),a=n(8551),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=s.f;return n?l(t,n(e)):t}},9167:(e,t,n)=>{"use strict";var r=n(2195);e.exports=r},1103:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},916:(e,t,n)=>{"use strict";var r=n(2195),i=n(550),o=n(4901),s=n(2796),a=n(3706),l=n(8227),c=n(4215),u=n(6395),p=n(9519),f=i&&i.prototype,d=l("species"),h=!1,g=o(r.PromiseRejectionEvent),v=s("Promise",(function(){var e=a(i),t=e!==String(i);if(!t&&66===p)return!0;if(u&&(!f["catch"]||!f["finally"]))return!0;if(!p||p<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},o=n.constructor={};if(o[d]=r,h=n.then((function(){}))instanceof r,!h)return!0}return!t&&("BROWSER"===c||"DENO"===c)&&!g}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:h}},550:(e,t,n)=>{"use strict";var r=n(2195);e.exports=r.Promise},3438:(e,t,n)=>{"use strict";var r=n(8551),i=n(34),o=n(6043);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),s=n.resolve;return s(t),n.promise}},537:(e,t,n)=>{"use strict";var r=n(550),i=n(4428),o=n(916).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},1056:(e,t,n)=>{"use strict";var r=n(4913).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8265:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=t},6682:(e,t,n)=>{"use strict";var r=n(9565),i=n(8551),o=n(4901),s=n(4576),a=n(7323),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===s(e))return r(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},7323:(e,t,n)=>{"use strict";var r=n(9565),i=n(9504),o=n(655),s=n(7979),a=n(8429),l=n(5745),c=n(2360),u=n(1181).get,p=n(3635),f=n(8814),d=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,g=h,v=i("".charAt),m=i("".indexOf),b=i("".replace),y=i("".slice),x=function(){var e=/a/,t=/b*/g;return r(h,e,"a"),r(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=a.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],E=x||k||w||p||f;E&&(g=function(e){var t,n,i,a,l,p,f,E=this,_=u(E),S=o(e),O=_.raw;if(O)return O.lastIndex=E.lastIndex,t=r(g,O,S),E.lastIndex=O.lastIndex,t;var T=_.groups,A=w&&E.sticky,R=r(s,E),C=E.source,N=0,j=S;if(A&&(R=b(R,"y",""),-1===m(R,"g")&&(R+="g"),j=y(S,E.lastIndex),E.lastIndex>0&&(!E.multiline||E.multiline&&"\n"!==v(S,E.lastIndex-1))&&(C="(?: "+C+")",j=" "+j,N++),n=new RegExp("^(?:"+C+")",R)),k&&(n=new RegExp("^"+C+"$(?!\\s)",R)),x&&(i=E.lastIndex),a=r(h,A?n:E,j),A?a?(a.input=y(a.input,N),a[0]=y(a[0],N),a.index=E.lastIndex,E.lastIndex+=a[0].length):E.lastIndex=0:x&&a&&(E.lastIndex=E.global?a.index+a[0].length:i),k&&a&&a.length>1&&r(d,a[0],n,(function(){for(l=1;l{"use strict";var r=n(8551);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},1034:(e,t,n)=>{"use strict";var r=n(9565),i=n(9297),o=n(1625),s=n(7979),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||i(e,"flags")||!o(a,e)?t:r(s,e)}},8429:(e,t,n)=>{"use strict";var r=n(9039),i=n(2195),o=i.RegExp,s=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=s||r((function(){return!o("a","y").sticky})),l=s||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:s}},3635:(e,t,n)=>{"use strict";var r=n(9039),i=n(2195),o=i.RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,t,n)=>{"use strict";var r=n(9039),i=n(2195),o=i.RegExp;e.exports=r((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},7750:(e,t,n)=>{"use strict";var r=n(4117),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},3389:(e,t,n)=>{"use strict";var r=n(2195),i=n(3724),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return r[e];var t=o(r,e);return t&&t.value}},3470:e=>{"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}},9472:(e,t,n)=>{"use strict";var r=n(2195),i=n(8745),o=n(4901),s=n(4215),a=n(2839),l=n(7680),c=n(2812),u=r.Function,p=/MSIE .\./.test(a)||"BUN"===s&&function(){var e=r.Bun.version.split(".");return e.length<3||"0"===e[0]&&(e[1]<3||"3"===e[1]&&"0"===e[2])}();e.exports=function(e,t){var n=t?2:1;return p?function(r,s){var a=c(arguments.length,1)>n,p=o(r)?r:u(r),f=a?l(arguments,n):[],d=a?function(){i(p,this,f)}:p;return t?e(d,s):e(d)}:e}},9286:(e,t,n)=>{"use strict";var r=n(4402),i=n(8469),o=r.Set,s=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){s(t,e)})),t}},3440:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402),o=n(9286),s=n(5170),a=n(3789),l=n(8469),c=n(507),u=i.has,p=i.remove;e.exports=function(e){var t=r(this),n=a(e),i=o(t);return s(t)<=n.size?l(t,(function(e){n.includes(e)&&p(i,e)})):c(n.getIterator(),(function(e){u(t,e)&&p(i,e)})),i}},4402:(e,t,n)=>{"use strict";var r=n(9504),i=Set.prototype;e.exports={Set,add:r(i.add),has:r(i.has),remove:r(i["delete"]),proto:i}},8750:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402),o=n(5170),s=n(3789),a=n(8469),l=n(507),c=i.Set,u=i.add,p=i.has;e.exports=function(e){var t=r(this),n=s(e),i=new c;return o(t)>n.size?l(n.getIterator(),(function(e){p(t,e)&&u(i,e)})):a(t,(function(e){n.includes(e)&&u(i,e)})),i}},4449:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402).has,o=n(5170),s=n(3789),a=n(8469),l=n(507),c=n(9539);e.exports=function(e){var t=r(this),n=s(e);if(o(t)<=n.size)return!1!==a(t,(function(e){if(n.includes(e))return!1}),!0);var u=n.getIterator();return!1!==l(u,(function(e){if(i(t,e))return c(u,"normal",!1)}))}},3838:(e,t,n)=>{"use strict";var r=n(7080),i=n(5170),o=n(8469),s=n(3789);e.exports=function(e){var t=r(this),n=s(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},8527:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402).has,o=n(5170),s=n(3789),a=n(507),l=n(9539);e.exports=function(e){var t=r(this),n=s(e);if(o(t){"use strict";var r=n(9504),i=n(507),o=n(4402),s=o.Set,a=o.proto,l=r(a.forEach),c=r(a.keys),u=c(new s).next;e.exports=function(e,t,n){return n?i({iterator:c(e),next:u},t):l(e,t)}},4916:(e,t,n)=>{"use strict";var r=n(7751),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=r("Set");try{(new t)[e](i(0));try{return(new t)[e](i(-1)),!1}catch(n){return!0}}catch(o){return!1}}},5170:(e,t,n)=>{"use strict";var r=n(6706),i=n(4402);e.exports=r(i.proto,"size","get")||function(e){return e.size}},7633:(e,t,n)=>{"use strict";var r=n(7751),i=n(2106),o=n(8227),s=n(3724),a=o("species");e.exports=function(e){var t=r(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},3650:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402),o=n(9286),s=n(3789),a=n(507),l=i.add,c=i.has,u=i.remove;e.exports=function(e){var t=r(this),n=s(e).getIterator(),i=o(t);return a(n,(function(e){c(t,e)?u(i,e):l(i,e)})),i}},687:(e,t,n)=>{"use strict";var r=n(4913).f,i=n(9297),o=n(8227),s=o("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,s)&&r(e,s,{configurable:!0,value:t})}},4204:(e,t,n)=>{"use strict";var r=n(7080),i=n(4402).add,o=n(9286),s=n(3789),a=n(507);e.exports=function(e){var t=r(this),n=s(e).getIterator(),l=o(t);return a(n,(function(e){i(l,e)})),l}},6119:(e,t,n)=>{"use strict";var r=n(5745),i=n(3392),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},7629:(e,t,n)=>{"use strict";var r=n(6395),i=n(2195),o=n(9433),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,t,n)=>{"use strict";var r=n(7629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},2293:(e,t,n)=>{"use strict";var r=n(8551),i=n(5548),o=n(4117),s=n(8227),a=s("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},8183:(e,t,n)=>{"use strict";var r=n(9504),i=n(1291),o=n(655),s=n(7750),a=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,p=o(s(t)),f=i(n),d=p.length;return f<0||f>=d?e?"":void 0:(r=l(p,f),r<55296||r>56319||f+1===d||(u=l(p,f+1))<56320||u>57343?e?a(p,f):r:e?c(p,f,f+2):u-56320+(r-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},533:(e,t,n)=>{"use strict";var r=n(9504),i=n(8014),o=n(655),s=n(2333),a=n(7750),l=r(s),c=r("".slice),u=Math.ceil,p=function(e){return function(t,n,r){var s,p,f=o(a(t)),d=i(n),h=f.length,g=void 0===r?" ":o(r);return d<=h||""===g?f:(s=d-h,p=l(g,u(s/g.length)),p.length>s&&(p=c(p,0,s)),e?f+p:p+f)}};e.exports={start:p(!1),end:p(!0)}},2333:(e,t,n)=>{"use strict";var r=n(1291),i=n(655),o=n(7750),s=RangeError;e.exports=function(e){var t=i(o(this)),n="",a=r(e);if(a<0||a===1/0)throw new s("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},3802:(e,t,n)=>{"use strict";var r=n(9504),i=n(7750),o=n(655),s=n(7452),a=r("".replace),l=RegExp("^["+s+"]+"),c=RegExp("(^|[^"+s+"])["+s+"]+$"),u=function(e){return function(t){var n=o(i(t));return 1&e&&(n=a(n,l,"")),2&e&&(n=a(n,c,"$1")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},4495:(e,t,n)=>{"use strict";var r=n(9519),i=n(9039),o=n(2195),s=o.String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8242:(e,t,n)=>{"use strict";var r=n(9565),i=n(7751),o=n(8227),s=n(6840);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=o("toPrimitive");t&&!t[a]&&s(t,a,(function(e){return r(n,this)}),{arity:1})}},1296:(e,t,n)=>{"use strict";var r=n(4495);e.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},9225:(e,t,n)=>{"use strict";var r,i,o,s,a=n(2195),l=n(8745),c=n(6080),u=n(4901),p=n(9297),f=n(9039),d=n(397),h=n(7680),g=n(4055),v=n(2812),m=n(9544),b=n(6193),y=a.setImmediate,x=a.clearImmediate,w=a.process,k=a.Dispatch,E=a.Function,_=a.MessageChannel,S=a.String,O=0,T={},A="onreadystatechange";f((function(){r=a.location}));var R=function(e){if(p(T,e)){var t=T[e];delete T[e],t()}},C=function(e){return function(){R(e)}},N=function(e){R(e.data)},j=function(e){a.postMessage(S(e),r.protocol+"//"+r.host)};y&&x||(y=function(e){v(arguments.length,1);var t=u(e)?e:E(e),n=h(arguments,1);return T[++O]=function(){l(t,void 0,n)},i(O),O},x=function(e){delete T[e]},b?i=function(e){w.nextTick(C(e))}:k&&k.now?i=function(e){k.now(C(e))}:_&&!m?(o=new _,s=o.port2,o.port1.onmessage=N,i=c(s.postMessage,s)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!f(j)?(i=j,a.addEventListener("message",N,!1)):i=A in g("script")?function(e){d.appendChild(g("script"))[A]=function(){d.removeChild(this),R(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:y,clear:x}},1240:(e,t,n)=>{"use strict";var r=n(9504);e.exports=r(1..valueOf)},5610:(e,t,n)=>{"use strict";var r=n(1291),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},5397:(e,t,n)=>{"use strict";var r=n(7055),i=n(7750);e.exports=function(e){return r(i(e))}},1291:(e,t,n)=>{"use strict";var r=n(741);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},8014:(e,t,n)=>{"use strict";var r=n(1291),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},8981:(e,t,n)=>{"use strict";var r=n(7750),i=Object;e.exports=function(e){return i(r(e))}},2777:(e,t,n)=>{"use strict";var r=n(9565),i=n(34),o=n(757),s=n(5966),a=n(4270),l=n(8227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,l=s(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||o(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:(e,t,n)=>{"use strict";var r=n(2777),i=n(757);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},2140:(e,t,n)=>{"use strict";var r=n(8227),i=r("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},655:(e,t,n)=>{"use strict";var r=n(6955),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},6823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},3392:(e,t,n)=>{"use strict";var r=n(9504),i=0,o=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},7416:(e,t,n)=>{"use strict";var r=n(9039),i=n(8227),o=n(3724),s=n(6395),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t["delete"]("b"),r+=n+e})),n["delete"]("a",2),n["delete"]("b",void 0),s&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(s||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host}))},7040:(e,t,n)=>{"use strict";var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,n)=>{"use strict";var r=n(3724),i=n(9039);e.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e{"use strict";var r=n(2195),i=n(4901),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},511:(e,t,n)=>{"use strict";var r=n(9167),i=n(9297),o=n(1951),s=n(4913).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||s(t,e,{value:o.f(e)})}},1951:(e,t,n)=>{"use strict";var r=n(8227);t.f=r},8227:(e,t,n)=>{"use strict";var r=n(2195),i=n(5745),o=n(9297),s=n(3392),a=n(4495),l=n(7040),c=r.Symbol,u=i("wks"),p=l?c["for"]||c:c&&c.withoutSetter||s;e.exports=function(e){return o(u,e)||(u[e]=a&&o(c,e)?c[e]:p("Symbol."+e)),u[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},4601:(e,t,n)=>{"use strict";var r=n(7751),i=n(9297),o=n(6699),s=n(1625),a=n(2967),l=n(7740),c=n(1056),u=n(3167),p=n(2603),f=n(7584),d=n(747),h=n(3724),g=n(6395);e.exports=function(e,t,n,v){var m="stackTraceLimit",b=v?2:1,y=e.split("."),x=y[y.length-1],w=r.apply(null,y);if(w){var k=w.prototype;if(!g&&i(k,"cause")&&delete k.cause,!n)return w;var E=r("Error"),_=t((function(e,t){var n=p(v?t:e,void 0),r=v?new w(e):new w;return void 0!==n&&o(r,"message",n),d(r,_,r.stack,2),this&&s(k,this)&&u(r,this,_),arguments.length>b&&f(r,arguments[b]),r}));if(_.prototype=k,"Error"!==x?a?a(_,E):l(_,E,{name:!0}):h&&m in w&&(c(_,w,m),c(_,w,"prepareStackTrace")),l(_,w),!g)try{k.name!==x&&o(k,"name",x),k.constructor=_}catch(S){}return _}}},8706:(e,t,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(4376),s=n(34),a=n(8981),l=n(6198),c=n(6837),u=n(2278),p=n(1469),f=n(597),d=n(8227),h=n(9519),g=d("isConcatSpreadable"),v=h>=51||!i((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),m=function(e){if(!s(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)},b=!v||!f("concat");r({target:"Array",proto:!0,arity:1,forced:b},{concat:function(e){var t,n,r,i,o,s=a(this),f=p(s,0),d=0;for(t=-1,r=arguments.length;t{"use strict";var r=n(6518),i=n(9213).filter,o=n(597),s=o("filter");r({target:"Array",proto:!0,forced:!s},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},113:(e,t,n)=>{"use strict";var r=n(6518),i=n(9213).find,o=n(6469),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(s)},1629:(e,t,n)=>{"use strict";var r=n(6518),i=n(235);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},3418:(e,t,n)=>{"use strict";var r=n(6518),i=n(7916),o=n(4428),s=!o((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:s},{from:i})},4423:(e,t,n)=>{"use strict";var r=n(6518),i=n(9617).includes,o=n(9039),s=n(6469),a=o((function(){return!Array(1).includes()}));r({target:"Array",proto:!0,forced:a},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},4346:(e,t,n)=>{"use strict";var r=n(6518),i=n(4376);r({target:"Array",stat:!0},{isArray:i})},3792:(e,t,n)=>{"use strict";var r=n(5397),i=n(6469),o=n(6269),s=n(1181),a=n(4913).f,l=n(1088),c=n(2529),u=n(6395),p=n(3724),f="Array Iterator",d=s.set,h=s.getterFor(f);e.exports=l(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(v){}},2062:(e,t,n)=>{"use strict";var r=n(6518),i=n(9213).map,o=n(597),s=o("map");r({target:"Array",proto:!0,forced:!s},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},4114:(e,t,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(6198),s=n(4527),a=n(6837),l=n(9039),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},p=c||!u();r({target:"Array",proto:!0,arity:1,forced:p},{push:function(e){var t=i(this),n=o(t),r=arguments.length;a(n+r);for(var l=0;l{"use strict";var r=n(6518),i=n(9504),o=n(4376),s=i([].reverse),a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),s(this)}})},4782:(e,t,n)=>{"use strict";var r=n(6518),i=n(4376),o=n(3517),s=n(34),a=n(5610),l=n(6198),c=n(5397),u=n(2278),p=n(8227),f=n(597),d=n(7680),h=f("slice"),g=p("species"),v=Array,m=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,p,f=c(this),h=l(f),b=a(e,h),y=a(void 0===t?h:t,h);if(i(f)&&(n=f.constructor,o(n)&&(n===v||i(n.prototype))?n=void 0:s(n)&&(n=n[g],null===n&&(n=void 0)),n===v||void 0===n))return d(f,b,y);for(r=new(void 0===n?v:n)(m(y-b,0)),p=0;b{"use strict";var r=n(6518),i=n(9504),o=n(9306),s=n(8981),a=n(6198),l=n(4606),c=n(655),u=n(9039),p=n(4488),f=n(4598),d=n(3709),h=n(3763),g=n(9519),v=n(3607),m=[],b=i(m.sort),y=i(m.push),x=u((function(){m.sort(void 0)})),w=u((function(){m.sort(null)})),k=f("sort"),E=!u((function(){if(g)return g<70;if(!(d&&d>3)){if(h)return!0;if(v)return v<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;rc(n)?1:-1}};r({target:"Array",proto:!0,forced:_},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(E)return void 0===e?b(t):b(t,e);var n,r,i=[],c=a(t);for(r=0;r{"use strict";var r=n(6518),i=n(380);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},739:(e,t,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(8981),s=n(2777),a=i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));r({target:"Date",proto:!0,arity:1,forced:a},{toJSON:function(e){var t=o(this),n=s(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},9572:(e,t,n)=>{"use strict";var r=n(9297),i=n(6840),o=n(3640),s=n(8227),a=s("toPrimitive"),l=Date.prototype;r(l,a)||i(l,a,o)},3288:(e,t,n)=>{"use strict";var r=n(9504),i=n(6840),o=Date.prototype,s="Invalid Date",a="toString",l=r(o[a]),c=r(o.getTime);String(new Date(NaN))!==s&&i(o,a,(function(){var e=c(this);return e===e?l(this):s}))},6280:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(8745),s=n(4601),a="WebAssembly",l=i[a],c=7!==new Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=s(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},p=function(e,t){if(l&&l[e]){var n={};n[e]=s(a+"."+e,t,c),r({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};u("Error",(function(e){return function(t){return o(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),u("URIError",(function(e){return function(t){return o(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},6918:(e,t,n)=>{"use strict";var r=n(6840),i=n(7536),o=Error.prototype;o.toString!==i&&r(o,"toString",i)},2010:(e,t,n)=>{"use strict";var r=n(3724),i=n(350).EXISTS,o=n(9504),s=n(2106),a=Function.prototype,l=o(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(c.exec),p="name";r&&!i&&s(a,p,{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},8111:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(679),s=n(8551),a=n(4901),l=n(2787),c=n(2106),u=n(2278),p=n(9039),f=n(9297),d=n(8227),h=n(7657).IteratorPrototype,g=n(3724),v=n(6395),m="constructor",b="Iterator",y=d("toStringTag"),x=TypeError,w=i[b],k=v||!a(w)||w.prototype!==h||!p((function(){w({})})),E=function(){if(o(this,h),l(this)===h)throw new x("Abstract class Iterator not directly constructable")},_=function(e,t){g?c(h,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===h)throw new x("You can't redefine this property");f(this,e)?this[e]=t:u(this,e,t)}}):h[e]=t};f(h,y)||_(y,b),!k&&f(h,m)&&h[m]!==Object||_(m,E),E.prototype=h,r({global:!0,constructor:!0,forced:k},{Iterator:E})},2489:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),s=n(8551),a=n(1767),l=n(9462),c=n(6319),u=n(6395),p=l((function(){var e,t,n,r=this.iterator,o=this.predicate,a=this.next;while(1){if(e=s(i(a,r)),t=this.done=!!e.done,t)return;if(n=e.value,c(r,o,[n,this.counter++],!0))return n}}));r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(e){return s(this),o(e),new p(a(this),{predicate:e})}})},116:(e,t,n)=>{"use strict";var r=n(6518),i=n(2652),o=n(9306),s=n(8551),a=n(1767);r({target:"Iterator",proto:!0,real:!0},{find:function(e){s(this),o(e);var t=a(this),n=0;return i(t,(function(t,r){if(e(t,n++))return r(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588:(e,t,n)=>{"use strict";var r=n(6518),i=n(2652),o=n(9306),s=n(8551),a=n(1767);r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){s(this),o(e);var t=a(this),n=0;i(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}})},1701:(e,t,n)=>{"use strict";var r=n(6518),i=n(713),o=n(6395);r({target:"Iterator",proto:!0,real:!0,forced:o},{map:i})},3110:(e,t,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(8745),s=n(9565),a=n(9504),l=n(9039),c=n(4901),u=n(757),p=n(7680),f=n(6933),d=n(4495),h=String,g=i("JSON","stringify"),v=a(/./.exec),m=a("".charAt),b=a("".charCodeAt),y=a("".replace),x=a(1..toString),w=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,_=!d||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))})),S=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),O=function(e,t){var n=p(arguments),r=f(t);if(c(r)||void 0!==e&&!u(e))return n[1]=function(e,t){if(c(r)&&(t=s(r,this,h(e),t)),!u(t))return t},o(g,null,n)},T=function(e,t,n){var r=m(n,t-1),i=m(n,t+1);return v(k,e)&&!v(E,i)||v(E,e)&&!v(k,r)?"\\u"+x(b(e,0),16):e};g&&r({target:"JSON",stat:!0,arity:3,forced:_||S},{stringify:function(e,t,n){var r=p(arguments),i=o(_?O:g,null,r);return S&&"string"==typeof i?y(i,w,T):i}})},4731:(e,t,n)=>{"use strict";var r=n(2195),i=n(687);i(r.JSON,"JSON",!0)},479:(e,t,n)=>{"use strict";var r=n(687);r(Math,"Math",!0)},2892:(e,t,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(3724),s=n(2195),a=n(9167),l=n(9504),c=n(2796),u=n(9297),p=n(3167),f=n(1625),d=n(757),h=n(2777),g=n(9039),v=n(8480).f,m=n(7347).f,b=n(4913).f,y=n(1240),x=n(3802).trim,w="Number",k=s[w],E=a[w],_=k.prototype,S=s.TypeError,O=l("".slice),T=l("".charCodeAt),A=function(e){var t=h(e,"number");return"bigint"==typeof t?t:R(t)},R=function(e){var t,n,r,i,o,s,a,l,c=h(e,"number");if(d(c))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=x(c),t=T(c,0),43===t||45===t){if(n=T(c,2),88===n||120===n)return NaN}else if(48===t){switch(T(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=O(c,2),s=o.length,a=0;ai)return NaN;return parseInt(o,r)}return+c},C=c(w,!k(" 0o1")||!k("0b1")||k("+0x1")),N=function(e){return f(_,e)&&g((function(){y(e)}))},j=function(e){var t=arguments.length<1?0:k(A(e));return N(this)?p(Object(t),this,j):t};j.prototype=_,C&&!i&&(_.constructor=j),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var I=function(e,t){for(var n,r=o?v(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)u(t,n=r[i])&&!u(e,n)&&b(e,n,m(t,n))};i&&E&&I(a[w],E),(C||i)&&I(a[w],k)},9085:(e,t,n)=>{"use strict";var r=n(6518),i=n(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},9904:(e,t,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2360);r({target:"Object",stat:!0,sham:!i},{create:o})},7945:(e,t,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(6801).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!i},{defineProperties:o})},4185:(e,t,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(4913).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},5506:(e,t,n)=>{"use strict";var r=n(6518),i=n(2357).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},3921:(e,t,n)=>{"use strict";var r=n(6518),i=n(2652),o=n(2278);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,n){o(t,e,n)}),{AS_ENTRIES:!0}),t}})},3851:(e,t,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(5397),s=n(7347).f,a=n(3724),l=!a||i((function(){s(1)}));r({target:"Object",stat:!0,forced:l,sham:!a},{getOwnPropertyDescriptor:function(e,t){return s(o(e),t)}})},1278:(e,t,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(5031),s=n(5397),a=n(7347),l=n(2278);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){var t,n,r=s(e),i=a.f,c=o(r),u={},p=0;while(c.length>p)n=i(r,t=c[p++]),void 0!==n&&l(u,t,n);return u}})},9773:(e,t,n)=>{"use strict";var r=n(6518),i=n(4495),o=n(9039),s=n(3717),a=n(8981),l=!i||o((function(){s.f(1)}));r({target:"Object",stat:!0,forced:l},{getOwnPropertySymbols:function(e){var t=s.f;return t?t(a(e)):[]}})},875:(e,t,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(8981),s=n(2787),a=n(2211),l=i((function(){s(1)}));r({target:"Object",stat:!0,forced:l,sham:!a},{getPrototypeOf:function(e){return s(o(e))}})},9432:(e,t,n)=>{"use strict";var r=n(6518),i=n(8981),o=n(1072),s=n(9039),a=s((function(){o(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(e){return o(i(e))}})},3548:(e,t,n)=>{"use strict";var r=n(3724),i=n(2106),o=n(34),s=n(3925),a=n(8981),l=n(7750),c=Object.getPrototypeOf,u=Object.setPrototypeOf,p=Object.prototype,f="__proto__";if(r&&c&&u&&!(f in p))try{i(p,f,{configurable:!0,get:function(){return c(a(this))},set:function(e){var t=l(this);s(e)&&o(t)&&u(t,e)}})}catch(d){}},287:(e,t,n)=>{"use strict";var r=n(6518),i=n(2967);r({target:"Object",stat:!0},{setPrototypeOf:i})},6099:(e,t,n)=>{"use strict";var r=n(2140),i=n(6840),o=n(3179);r||i(Object.prototype,"toString",o,{unsafe:!0})},6034:(e,t,n)=>{"use strict";var r=n(6518),i=n(2357).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},6499:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),s=n(6043),a=n(1103),l=n(2652),c=n(537);r({target:"Promise",stat:!0,forced:c},{all:function(e){var t=this,n=s.f(t),r=n.resolve,c=n.reject,u=a((function(){var n=o(t.resolve),s=[],a=0,u=1;l(e,(function(e){var o=a++,l=!1;u++,i(n,t,e).then((function(e){l||(l=!0,s[o]=e,--u||r(s))}),c)})),--u||r(s)}));return u.error&&c(u.value),n.promise}})},2003:(e,t,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(916).CONSTRUCTOR,s=n(550),a=n(7751),l=n(4901),c=n(6840),u=s&&s.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(s)){var p=a("Promise").prototype["catch"];u["catch"]!==p&&c(u,"catch",p,{unsafe:!0})}},436:(e,t,n)=>{"use strict";var r,i,o,s,a=n(6518),l=n(6395),c=n(6193),u=n(2195),p=n(9565),f=n(6840),d=n(2967),h=n(687),g=n(7633),v=n(9306),m=n(4901),b=n(34),y=n(679),x=n(2293),w=n(9225).set,k=n(1955),E=n(3138),_=n(1103),S=n(8265),O=n(1181),T=n(550),A=n(916),R=n(6043),C="Promise",N=A.CONSTRUCTOR,j=A.REJECTION_EVENT,I=A.SUBCLASSING,L=O.getterFor(C),M=O.set,P=T&&T.prototype,D=T,B=P,$=u.TypeError,U=u.document,z=u.process,F=R.f,H=F,q=!!(U&&U.createEvent&&u.dispatchEvent),W="unhandledrejection",V="rejectionhandled",G=0,Y=1,K=2,X=1,Z=2,J=function(e){var t;return!(!b(e)||!m(t=e.then))&&t},Q=function(e,t){var n,r,i,o=t.value,s=t.state===Y,a=s?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{a?(s||(t.rejection===Z&&ie(t),t.rejection=X),!0===a?n=o:(u&&u.enter(),n=a(o),u&&(u.exit(),i=!0)),n===e.promise?c(new $("Promise-chain cycle")):(r=J(n))?p(r,n,l,c):l(n)):c(o)}catch(f){u&&!i&&u.exit(),c(f)}},ee=function(e,t){e.notified||(e.notified=!0,k((function(){var n,r=e.reactions;while(n=r.get())Q(n,e);e.notified=!1,t&&!e.rejection&&ne(e)})))},te=function(e,t,n){var r,i;q?(r=U.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!j&&(i=u["on"+e])?i(r):e===W&&E("Unhandled promise rejection",n)},ne=function(e){p(w,u,(function(){var t,n=e.facade,r=e.value,i=re(e);if(i&&(t=_((function(){c?z.emit("unhandledRejection",r,n):te(W,n,r)})),e.rejection=c||re(e)?Z:X,t.error))throw t.value}))},re=function(e){return e.rejection!==X&&!e.parent},ie=function(e){p(w,u,(function(){var t=e.facade;c?z.emit("rejectionHandled",t):te(V,t,e.value)}))},oe=function(e,t,n){return function(r){e(t,r,n)}},se=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=K,ee(e,!0))},ae=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new $("Promise can't be resolved itself");var r=J(t);r?k((function(){var n={done:!1};try{p(r,t,oe(ae,n,e),oe(se,n,e))}catch(i){se(n,i,e)}})):(e.value=t,e.state=Y,ee(e,!1))}catch(i){se({done:!1},i,e)}}};if(N&&(D=function(e){y(this,B),v(e),p(r,this);var t=L(this);try{e(oe(ae,t),oe(se,t))}catch(n){se(t,n)}},B=D.prototype,r=function(e){M(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:G,value:null})},r.prototype=f(B,"then",(function(e,t){var n=L(this),r=F(x(this,D));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=c?z.domain:void 0,n.state===G?n.reactions.add(r):k((function(){Q(r,n)})),r.promise})),i=function(){var e=new r,t=L(e);this.promise=e,this.resolve=oe(ae,t),this.reject=oe(se,t)},R.f=F=function(e){return e===D||e===o?new i(e):H(e)},!l&&m(T)&&P!==Object.prototype)){s=P.then,I||f(P,"then",(function(e,t){var n=this;return new D((function(e,t){p(s,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete P.constructor}catch(le){}d&&d(P,B)}a({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:D}),h(D,C,!1,!0),g(C)},9391:(e,t,n)=>{"use strict";var r=n(6518),i=n(6395),o=n(550),s=n(9039),a=n(7751),l=n(4901),c=n(2293),u=n(3438),p=n(6840),f=o&&o.prototype,d=!!o&&s((function(){f["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(e){var t=c(this,a("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),!i&&l(o)){var h=a("Promise").prototype["finally"];f["finally"]!==h&&p(f,"finally",h,{unsafe:!0})}},3362:(e,t,n)=>{"use strict";n(436),n(6499),n(2003),n(7743),n(1481),n(280)},7743:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9306),s=n(6043),a=n(1103),l=n(2652),c=n(537);r({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,n=s.f(t),r=n.reject,c=a((function(){var s=o(t.resolve);l(e,(function(e){i(s,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},1481:(e,t,n)=>{"use strict";var r=n(6518),i=n(6043),o=n(916).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:o},{reject:function(e){var t=i.f(this),n=t.reject;return n(e),t.promise}})},280:(e,t,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(6395),s=n(550),a=n(916).CONSTRUCTOR,l=n(3438),c=i("Promise"),u=o&&!a;r({target:"Promise",stat:!0,forced:o||a},{resolve:function(e){return l(u&&this===c?s:this,e)}})},7495:(e,t,n)=>{"use strict";var r=n(6518),i=n(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},906:(e,t,n)=>{"use strict";n(7495);var r=n(6518),i=n(9565),o=n(4901),s=n(8551),a=n(655),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=/./.test;r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=s(this),n=a(e),r=t.exec;if(!o(r))return i(c,t,n);var l=i(r,t,n);return null!==l&&(s(l),!0)}})},8781:(e,t,n)=>{"use strict";var r=n(350).PROPER,i=n(6840),o=n(8551),s=n(655),a=n(9039),l=n(1034),c="toString",u=RegExp.prototype,p=u[c],f=a((function(){return"/a/b"!==p.call({source:"a",flags:"b"})})),d=r&&p.name!==c;(f||d)&&i(u,c,(function(){var e=o(this),t=s(e.source),n=s(l(e));return"/"+t+"/"+n}),{unsafe:!0})},2405:(e,t,n)=>{"use strict";var r=n(6468),i=n(6938);r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},7642:(e,t,n)=>{"use strict";var r=n(6518),i=n(3440),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("difference")},{difference:i})},8004:(e,t,n)=>{"use strict";var r=n(6518),i=n(9039),o=n(8750),s=n(4916),a=!s("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));r({target:"Set",proto:!0,real:!0,forced:a},{intersection:o})},3853:(e,t,n)=>{"use strict";var r=n(6518),i=n(4449),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:i})},5876:(e,t,n)=>{"use strict";var r=n(6518),i=n(3838),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:i})},2475:(e,t,n)=>{"use strict";var r=n(6518),i=n(8527),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:i})},1415:(e,t,n)=>{"use strict";n(2405)},5024:(e,t,n)=>{"use strict";var r=n(6518),i=n(3650),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:i})},1698:(e,t,n)=>{"use strict";var r=n(6518),i=n(4204),o=n(4916);r({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:i})},7337:(e,t,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(5610),s=RangeError,a=String.fromCharCode,l=String.fromCodePoint,c=i([].join),u=!!l&&1!==l.length;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(e){var t,n=[],r=arguments.length,i=0;while(r>i){if(t=+arguments[i++],o(t,1114111)!==t)throw new s(t+" is not a valid code point");n[i]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},1699:(e,t,n)=>{"use strict";var r=n(6518),i=n(9504),o=n(5749),s=n(7750),a=n(655),l=n(1436),c=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(a(s(this)),a(o(e)),arguments.length>1?arguments[1]:void 0)}})},7764:(e,t,n)=>{"use strict";var r=n(8183).charAt,i=n(655),o=n(1181),s=n(1088),a=n(2529),l="String Iterator",c=o.set,u=o.getterFor(l);s(String,"String",(function(e){c(this,{type:l,string:i(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?a(void 0,!0):(e=r(n,i),t.index+=e.length,a(e,!1))}))},8543:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(7476),s=n(3994),a=n(2529),l=n(7750),c=n(8014),u=n(655),p=n(8551),f=n(4117),d=n(4576),h=n(788),g=n(1034),v=n(5966),m=n(6840),b=n(9039),y=n(8227),x=n(2293),w=n(7829),k=n(6682),E=n(1181),_=n(6395),S=y("matchAll"),O="RegExp String",T=O+" Iterator",A=E.set,R=E.getterFor(T),C=RegExp.prototype,N=TypeError,j=o("".indexOf),I=o("".matchAll),L=!!I&&!b((function(){I("a",/./)})),M=s((function(e,t,n,r){A(this,{type:T,regexp:e,string:t,global:n,unicode:r,done:!1})}),O,(function(){var e=R(this);if(e.done)return a(void 0,!0);var t=e.regexp,n=e.string,r=k(t,n);return null===r?(e.done=!0,a(void 0,!0)):e.global?(""===u(r[0])&&(t.lastIndex=w(n,c(t.lastIndex),e.unicode)),a(r,!1)):(e.done=!0,a(r,!1))})),P=function(e){var t,n,r,i=p(this),o=u(e),s=x(i,RegExp),a=u(g(i));return t=new s(s===RegExp?i.source:i,a),n=!!~j(a,"g"),r=!!~j(a,"u"),t.lastIndex=c(i.lastIndex),new M(t,o,n,r)};r({target:"String",proto:!0,forced:L},{matchAll:function(e){var t,n,r,o,s=l(this);if(f(e)){if(L)return I(s,e)}else{if(h(e)&&(t=u(l(g(e))),!~j(t,"g")))throw new N("`.matchAll` does not allow non-global regexes");if(L)return I(s,e);if(r=v(e,S),void 0===r&&_&&"RegExp"===d(e)&&(r=P),r)return i(r,e,s)}return n=u(s),o=new RegExp(e,"g"),_?i(P,o,n):o[S](n)}}),_||S in C||m(C,S,P)},1761:(e,t,n)=>{"use strict";var r=n(9565),i=n(9228),o=n(8551),s=n(4117),a=n(8014),l=n(655),c=n(7750),u=n(5966),p=n(7829),f=n(6682);i("match",(function(e,t,n){return[function(t){var n=c(this),i=s(t)?void 0:u(t,e);return i?r(i,t,n):new RegExp(t)[e](l(n))},function(e){var r=o(this),i=l(e),s=n(t,r,i);if(s.done)return s.value;if(!r.global)return f(r,i);var c=r.unicode;r.lastIndex=0;var u,d=[],h=0;while(null!==(u=f(r,i))){var g=l(u[0]);d[h]=g,""===g&&(r.lastIndex=p(i,a(r.lastIndex),c)),h++}return 0===h?null:d}]}))},9978:(e,t,n)=>{"use strict";var r=n(6518),i=n(9565),o=n(9504),s=n(7750),a=n(4901),l=n(4117),c=n(788),u=n(655),p=n(5966),f=n(1034),d=n(2478),h=n(8227),g=n(6395),v=h("replace"),m=TypeError,b=o("".indexOf),y=o("".replace),x=o("".slice),w=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,h,k,E,_,S,O,T,A=s(this),R=0,C="";if(!l(e)){if(n=c(e),n&&(r=u(s(f(e))),!~b(r,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(o=p(e,v),o)return i(o,e,A,t);if(g&&n)return y(u(A),e,t)}h=u(A),k=u(e),E=a(t),E||(t=u(t)),_=k.length,S=w(1,_),O=b(h,k);while(-1!==O)T=E?u(t(k,O,h)):d(k,h,O,[],void 0,t),C+=x(h,R,O)+T,R=O+_,O=O+S>h.length?-1:b(h,k,O+S);return R{"use strict";var r=n(8745),i=n(9565),o=n(9504),s=n(9228),a=n(9039),l=n(8551),c=n(4901),u=n(4117),p=n(1291),f=n(8014),d=n(655),h=n(7750),g=n(7829),v=n(5966),m=n(2478),b=n(6682),y=n(8227),x=y("replace"),w=Math.max,k=Math.min,E=o([].concat),_=o([].push),S=o("".indexOf),O=o("".slice),T=function(e){return void 0===e?e:String(e)},A=function(){return"$0"==="a".replace(/./,"$0")}(),R=function(){return!!/./[x]&&""===/./[x]("a","$0")}(),C=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));s("replace",(function(e,t,n){var o=R?"$":"$0";return[function(e,n){var r=h(this),o=u(e)?void 0:v(e,x);return o?i(o,e,r,n):i(t,d(r),e,n)},function(e,i){var s=l(this),a=d(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var u=n(t,s,a,i);if(u.done)return u.value}var h=c(i);h||(i=d(i));var v,y=s.global;y&&(v=s.unicode,s.lastIndex=0);var x,A=[];while(1){if(x=b(s,a),null===x)break;if(_(A,x),!y)break;var R=d(x[0]);""===R&&(s.lastIndex=g(a,f(s.lastIndex),v))}for(var C="",N=0,j=0;j=N&&(C+=O(a,N,M)+I,N=M+L.length)}return C+O(a,N)}]}),!C||!A||R)},5746:(e,t,n)=>{"use strict";var r=n(9565),i=n(9228),o=n(8551),s=n(4117),a=n(7750),l=n(3470),c=n(655),u=n(5966),p=n(6682);i("search",(function(e,t,n){return[function(t){var n=a(this),i=s(t)?void 0:u(t,e);return i?r(i,t,n):new RegExp(t)[e](c(n))},function(e){var r=o(this),i=c(e),s=n(t,r,i);if(s.done)return s.value;var a=r.lastIndex;l(a,0)||(r.lastIndex=0);var u=p(r,i);return l(r.lastIndex,a)||(r.lastIndex=a),null===u?-1:u.index}]}))},1392:(e,t,n)=>{"use strict";var r=n(6518),i=n(7476),o=n(7347).f,s=n(8014),a=n(655),l=n(5749),c=n(7750),u=n(1436),p=n(6395),f=i("".slice),d=Math.min,h=u("startsWith"),g=!p&&!h&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!g&&!h},{startsWith:function(e){var t=a(c(this));l(e);var n=s(d(arguments.length>1?arguments[1]:void 0,t.length)),r=a(e);return f(t,n,n+r.length)===r}})},6412:(e,t,n)=>{"use strict";var r=n(511);r("asyncIterator")},6761:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9565),s=n(9504),a=n(6395),l=n(3724),c=n(4495),u=n(9039),p=n(9297),f=n(1625),d=n(8551),h=n(5397),g=n(6969),v=n(655),m=n(6980),b=n(2360),y=n(1072),x=n(8480),w=n(298),k=n(3717),E=n(7347),_=n(4913),S=n(6801),O=n(8773),T=n(6840),A=n(2106),R=n(5745),C=n(6119),N=n(421),j=n(3392),I=n(8227),L=n(1951),M=n(511),P=n(8242),D=n(687),B=n(1181),$=n(9213).forEach,U=C("hidden"),z="Symbol",F="prototype",H=B.set,q=B.getterFor(z),W=Object[F],V=i.Symbol,G=V&&V[F],Y=i.RangeError,K=i.TypeError,X=i.QObject,Z=E.f,J=_.f,Q=w.f,ee=O.f,te=s([].push),ne=R("symbols"),re=R("op-symbols"),ie=R("wks"),oe=!X||!X[F]||!X[F].findChild,se=function(e,t,n){var r=Z(W,t);r&&delete W[t],J(e,t,n),r&&e!==W&&J(W,t,r)},ae=l&&u((function(){return 7!==b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?se:J,le=function(e,t){var n=ne[e]=b(G);return H(n,{type:z,tag:e,description:t}),l||(n.description=t),n},ce=function(e,t,n){e===W&&ce(re,t,n),d(e);var r=g(t);return d(n),p(ne,r)?(n.enumerable?(p(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:m(0,!1)})):(p(e,U)||J(e,U,m(1,b(null))),e[U][r]=!0),ae(e,r,n)):J(e,r,n)},ue=function(e,t){d(e);var n=h(t),r=y(n).concat(ge(n));return $(r,(function(t){l&&!o(fe,n,t)||ce(e,t,n[t])})),e},pe=function(e,t){return void 0===t?b(e):ue(b(e),t)},fe=function(e){var t=g(e),n=o(ee,this,t);return!(this===W&&p(ne,t)&&!p(re,t))&&(!(n||!p(this,t)||!p(ne,t)||p(this,U)&&this[U][t])||n)},de=function(e,t){var n=h(e),r=g(t);if(n!==W||!p(ne,r)||p(re,r)){var i=Z(n,r);return!i||!p(ne,r)||p(n,U)&&n[U][r]||(i.enumerable=!0),i}},he=function(e){var t=Q(h(e)),n=[];return $(t,(function(e){p(ne,e)||p(N,e)||te(n,e)})),n},ge=function(e){var t=e===W,n=Q(t?re:h(e)),r=[];return $(n,(function(e){!p(ne,e)||t&&!p(W,e)||te(r,ne[e])})),r};c||(V=function(){if(f(G,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=j(e),n=function(e){var r=void 0===this?i:this;r===W&&o(n,re,e),p(r,U)&&p(r[U],t)&&(r[U][t]=!1);var s=m(1,e);try{ae(r,t,s)}catch(a){if(!(a instanceof Y))throw a;se(r,t,s)}};return l&&oe&&ae(W,t,{configurable:!0,set:n}),le(t,e)},G=V[F],T(G,"toString",(function(){return q(this).tag})),T(V,"withoutSetter",(function(e){return le(j(e),e)})),O.f=fe,_.f=ce,S.f=ue,E.f=de,x.f=w.f=he,k.f=ge,L.f=function(e){return le(I(e),e)},l&&(A(G,"description",{configurable:!0,get:function(){return q(this).description}}),a||T(W,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),$(y(ie),(function(e){M(e)})),r({target:z,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!l},{create:pe,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:de}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:he}),P(),D(V,z),N[U]=!0},9463:(e,t,n)=>{"use strict";var r=n(6518),i=n(3724),o=n(2195),s=n(9504),a=n(9297),l=n(4901),c=n(1625),u=n(655),p=n(2106),f=n(7740),d=o.Symbol,h=d&&d.prototype;if(i&&l(d)&&(!("description"in h)||void 0!==d().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(g[t]=!0),t};f(v,d),v.prototype=h,h.constructor=v;var m="Symbol(description detection)"===String(d("description detection")),b=s(h.valueOf),y=s(h.toString),x=/^Symbol\((.*)\)[^)]+$/,w=s("".replace),k=s("".slice);p(h,"description",{configurable:!0,get:function(){var e=b(this);if(a(g,e))return"";var t=y(e),n=m?k(t,7,-1):w(t,x,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},1510:(e,t,n)=>{"use strict";var r=n(6518),i=n(7751),o=n(9297),s=n(655),a=n(5745),l=n(1296),c=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=s(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,u[n]=t,n}})},2259:(e,t,n)=>{"use strict";var r=n(511);r("iterator")},2675:(e,t,n)=>{"use strict";n(6761),n(1510),n(7812),n(3110),n(9773)},7812:(e,t,n)=>{"use strict";var r=n(6518),i=n(9297),o=n(757),s=n(6823),a=n(5745),l=n(1296),c=a("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!o(e))throw new TypeError(s(e)+" is not a symbol");if(i(c,e))return c[e]}})},5700:(e,t,n)=>{"use strict";var r=n(511),i=n(8242);r("toPrimitive"),i()},8125:(e,t,n)=>{"use strict";var r=n(7751),i=n(511),o=n(687);i("toStringTag"),o(r("Symbol"),"Symbol")},8992:(e,t,n)=>{"use strict";n(8111)},4520:(e,t,n)=>{"use strict";n(2489)},2577:(e,t,n)=>{"use strict";n(116)},3949:(e,t,n)=>{"use strict";n(7588)},1454:(e,t,n)=>{"use strict";n(1701)},6368:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9225).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},3500:(e,t,n)=>{"use strict";var r=n(2195),i=n(7400),o=n(9296),s=n(235),a=n(6699),l=function(e){if(e&&e.forEach!==s)try{a(e,"forEach",s)}catch(t){e.forEach=s}};for(var c in i)i[c]&&l(r[c]&&r[c].prototype);l(o)},2953:(e,t,n)=>{"use strict";var r=n(2195),i=n(7400),o=n(9296),s=n(3792),a=n(6699),l=n(687),c=n(8227),u=c("iterator"),p=s.values,f=function(e,t){if(e){if(e[u]!==p)try{a(e,u,p)}catch(r){e[u]=p}if(l(e,t,!0),i[t])for(var n in s)if(e[n]!==s[n])try{a(e,n,s[n])}catch(r){e[n]=s[n]}}};for(var d in i)f(r[d]&&r[d].prototype,d);f(o,"DOMTokenList")},9848:(e,t,n)=>{"use strict";n(6368),n(9309)},9309:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9225).set,s=n(9472),a=i.setImmediate?s(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==a},{setImmediate:a})},5575:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9472),s=o(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==s},{setInterval:s})},4599:(e,t,n)=>{"use strict";var r=n(6518),i=n(2195),o=n(9472),s=o(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==s},{setTimeout:s})},6031:(e,t,n)=>{"use strict";n(5575),n(4599)},8406:(e,t,n)=>{"use strict";n(3792),n(7337);var r=n(6518),i=n(2195),o=n(3389),s=n(7751),a=n(9565),l=n(9504),c=n(3724),u=n(7416),p=n(6840),f=n(2106),d=n(6279),h=n(687),g=n(3994),v=n(1181),m=n(679),b=n(4901),y=n(9297),x=n(6080),w=n(6955),k=n(8551),E=n(34),_=n(655),S=n(2360),O=n(6980),T=n(81),A=n(851),R=n(2529),C=n(2812),N=n(8227),j=n(4488),I=N("iterator"),L="URLSearchParams",M=L+"Iterator",P=v.set,D=v.getterFor(L),B=v.getterFor(M),$=o("fetch"),U=o("Request"),z=o("Headers"),F=U&&U.prototype,H=z&&z.prototype,q=i.TypeError,W=i.encodeURIComponent,V=String.fromCharCode,G=s("String","fromCodePoint"),Y=parseInt,K=l("".charAt),X=l([].join),Z=l([].push),J=l("".replace),Q=l([].shift),ee=l([].splice),te=l("".split),ne=l("".slice),re=l(/./.exec),ie=/\+/g,oe="�",se=/^[0-9a-f]+$/i,ae=function(e,t){var n=ne(e,t,t+2);return re(se,n)?Y(n,16):NaN},le=function(e){for(var t=0,n=128;n>0&&0!==(e&n);n>>=1)t++;return t},ce=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3];break}return t>1114111?null:t},ue=function(e){e=J(e,ie," ");var t=e.length,n="",r=0;while(rt){n+="%",r++;continue}var o=ae(e,r+1);if(o!==o){n+=i,r++;continue}r+=2;var s=le(o);if(0===s)i=V(o);else{if(1===s||s>4){n+=oe,r++;continue}var a=[o],l=1;while(lt||"%"!==K(e,r))break;var c=ae(e,r+1);if(c!==c){r+=3;break}if(c>191||c<128)break;Z(a,c),r+=2,l++}if(a.length!==s){n+=oe;continue}var u=ce(a);null===u?n+=oe:i=G(u)}}n+=i,r++}return n},pe=/[!'()~]|%20/g,fe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},de=function(e){return fe[e]},he=function(e){return J(W(e),pe,de)},ge=g((function(e,t){P(this,{type:M,target:D(e).entries,index:0,kind:t})}),L,(function(){var e=B(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,R(void 0,!0);var r=t[n];switch(e.kind){case"keys":return R(r.key,!1);case"values":return R(r.value,!1)}return R([r.key,r.value],!1)}),!0),ve=function(e){this.entries=[],this.url=null,void 0!==e&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===K(e,0)?ne(e,1):e:_(e)))};ve.prototype={type:L,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,s,l,c=this.entries,u=A(e);if(u){t=T(e,u),n=t.next;while(!(r=a(n,t)).done){if(i=T(k(r.value)),o=i.next,(s=a(o,i)).done||(l=a(o,i)).done||!a(o,i).done)throw new q("Expected sequence with length 2");Z(c,{key:_(s.value),value:_(l.value)})}}else for(var p in e)y(e,p)&&Z(c,{key:p,value:_(e[p])})},parseQuery:function(e){if(e){var t,n,r=this.entries,i=te(e,"&"),o=0;while(o0?arguments[0]:void 0,t=P(this,new ve(e));c||(this.size=t.entries.length)},be=me.prototype;if(d(be,{append:function(e,t){var n=D(this);C(arguments.length,2),Z(n.entries,{key:_(e),value:_(t)}),c||this.length++,n.updateURL()},delete:function(e){var t=D(this),n=C(arguments.length,1),r=t.entries,i=_(e),o=n<2?void 0:arguments[1],s=void 0===o?o:_(o),a=0;while(at.key?1:-1})),e.updateURL()},forEach:function(e){var t,n=D(this).entries,r=x(e,arguments.length>1?arguments[1]:void 0),i=0;while(i1?we(arguments[1]):{})}}),b(U)){var ke=function(e){return m(this,F),new U(e,arguments.length>1?we(arguments[1]):{})};F.constructor=ke,ke.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ke})}}e.exports={URLSearchParams:me,getState:D}},4603:(e,t,n)=>{"use strict";var r=n(6840),i=n(9504),o=n(655),s=n(2812),a=URLSearchParams,l=a.prototype,c=i(l.append),u=i(l["delete"]),p=i(l.forEach),f=i([].push),d=new a("a=1&a=2&b=3");d["delete"]("a",1),d["delete"]("b",void 0),d+""!=="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];p(this,(function(e,t){f(r,{key:t,value:e})})),s(t,1);var i,a=o(e),l=o(n),d=0,h=0,g=!1,v=r.length;while(d{"use strict";var r=n(6840),i=n(9504),o=n(655),s=n(2812),a=URLSearchParams,l=a.prototype,c=i(l.getAll),u=i(l.has),p=new a("a=1");!p.has("a",2)&&p.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);s(t,1);var i=o(n),a=0;while(a{"use strict";n(8406)},8721:(e,t,n)=>{"use strict";var r=n(3724),i=n(9504),o=n(2106),s=URLSearchParams.prototype,a=i(s.forEach);r&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,(function(){e++})),e},configurable:!0,enumerable:!0})}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.b=document.baseURI||self.location.href})();(()=>{"use strict";n(3792),n(3362),n(9085),n(9391); +/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +/*! #__NO_SIDE_EFFECTS__ */ +function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const t={},r=[],i=()=>{},o=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,p=(e,t)=>u.call(e,t),f=Array.isArray,d=e=>"[object Map]"===k(e),h=e=>"[object Set]"===k(e),g=e=>"[object RegExp]"===k(e),v=e=>"function"===typeof e,m=e=>"string"===typeof e,b=e=>"symbol"===typeof e,y=e=>null!==e&&"object"===typeof e,x=e=>(y(e)||v(e))&&v(e.then)&&v(e.catch),w=Object.prototype.toString,k=e=>w.call(e),E=e=>k(e).slice(8,-1),_=e=>"[object Object]"===k(e),S=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,O=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},A=/-(\w)/g,R=T((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),C=/\B([A-Z])/g,N=T((e=>e.replace(C,"-$1").toLowerCase())),j=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),I=T((e=>{const t=e?`on${j(e)}`:"";return t})),L=(e,t)=>!Object.is(e,t),M=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},D=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let B;const $=()=>B||(B="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function U(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(F);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(m(e))t=e;else if(f(e))for(let n=0;n0)return;if(ne){let e=ne;ne=void 0;while(e){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;while(te){let n=te;te=void 0;while(n){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function ae(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function le(e){let t,n=e.depsTail,r=n;while(r){const e=r.prevDep;-1===r.version?(r===n&&(n=e),pe(r),fe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ce(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ue(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ue(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===be)return;e.globalVersion=be;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ce(e))return void(e.flags&=-3);const n=X,r=de;X=e,de=!0;try{ae(e);const n=e.fn(e._value);(0===t.version||L(n,e._value))&&(e._value=n,t.version++)}catch(i){throw t.version++,i}finally{X=n,de=r,le(e),e.flags&=-3}}function pe(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)pe(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function fe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let de=!0;const he=[];function ge(){he.push(de),de=!1}function ve(){const e=he.pop();de=void 0===e||e}function me(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=X;X=void 0;try{t()}finally{X=e}}}let be=0;class ye{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xe{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!X||!de||X===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==X)t=this.activeLink=new ye(X,this),X.deps?(t.prevDep=X.depsTail,X.depsTail.nextDep=t,X.depsTail=t):X.deps=X.depsTail=t,we(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=X.depsTail,t.nextDep=void 0,X.depsTail.nextDep=t,X.depsTail=t,X.deps===t&&(X.deps=e)}return t}trigger(e){this.version++,be++,this.notify(e)}notify(e){oe();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{se()}}}function we(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)we(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ke=new WeakMap,Ee=Symbol(""),_e=Symbol(""),Se=Symbol("");function Oe(e,t,n){if(de&&X){let t=ke.get(e);t||ke.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new xe),r.map=t,r.key=n),r.track()}}function Te(e,t,n,r,i,o){const s=ke.get(e);if(!s)return void be++;const a=e=>{e&&e.trigger()};if(oe(),"clear"===t)s.forEach(a);else{const i=f(e),o=i&&S(n);if(i&&"length"===n){const e=Number(r);s.forEach(((t,n)=>{("length"===n||n===Se||!b(n)&&n>=e)&&a(t)}))}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),o&&a(s.get(Se)),t){case"add":i?o&&a(s.get("length")):(a(s.get(Ee)),d(e)&&a(s.get(_e)));break;case"delete":i||(a(s.get(Ee)),d(e)&&a(s.get(_e)));break;case"set":d(e)&&a(s.get(Ee));break}}se()}function Ae(e){const t=gt(e);return t===e?t:(Oe(t,"iterate",Se),dt(e)?t:t.map(mt))}function Re(e){return Oe(e=gt(e),"iterate",Se),e}const Ce={__proto__:null,[Symbol.iterator](){return Ne(this,Symbol.iterator,mt)},concat(...e){return Ae(this).concat(...e.map((e=>f(e)?Ae(e):e)))},entries(){return Ne(this,"entries",(e=>(e[1]=mt(e[1]),e)))},every(e,t){return Ie(this,"every",e,t,void 0,arguments)},filter(e,t){return Ie(this,"filter",e,t,(e=>e.map(mt)),arguments)},find(e,t){return Ie(this,"find",e,t,mt,arguments)},findIndex(e,t){return Ie(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ie(this,"findLast",e,t,mt,arguments)},findLastIndex(e,t){return Ie(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ie(this,"forEach",e,t,void 0,arguments)},includes(...e){return Me(this,"includes",e)},indexOf(...e){return Me(this,"indexOf",e)},join(e){return Ae(this).join(e)},lastIndexOf(...e){return Me(this,"lastIndexOf",e)},map(e,t){return Ie(this,"map",e,t,void 0,arguments)},pop(){return Pe(this,"pop")},push(...e){return Pe(this,"push",e)},reduce(e,...t){return Le(this,"reduce",e,t)},reduceRight(e,...t){return Le(this,"reduceRight",e,t)},shift(){return Pe(this,"shift")},some(e,t){return Ie(this,"some",e,t,void 0,arguments)},splice(...e){return Pe(this,"splice",e)},toReversed(){return Ae(this).toReversed()},toSorted(e){return Ae(this).toSorted(e)},toSpliced(...e){return Ae(this).toSpliced(...e)},unshift(...e){return Pe(this,"unshift",e)},values(){return Ne(this,"values",mt)}};function Ne(e,t,n){const r=Re(e),i=r[t]();return r===e||dt(e)||(i._next=i.next,i.next=()=>{const e=i._next();return e.value&&(e.value=n(e.value)),e}),i}const je=Array.prototype;function Ie(e,t,n,r,i,o){const s=Re(e),a=s!==e&&!dt(e),l=s[t];if(l!==je[t]){const t=l.apply(e,o);return a?mt(t):t}let c=n;s!==e&&(a?c=function(t,r){return n.call(this,mt(t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(s,c,r);return a&&i?i(u):u}function Le(e,t,n,r){const i=Re(e);let o=n;return i!==e&&(dt(e)?n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}):o=function(t,r,i){return n.call(this,t,mt(r),i,e)}),i[t](o,...r)}function Me(e,t,n){const r=gt(e);Oe(r,"iterate",Se);const i=r[t](...n);return-1!==i&&!1!==i||!ht(n[0])?i:(n[0]=gt(n[0]),r[t](...n))}function Pe(e,t,n=[]){ge(),oe();const r=gt(e)[t].apply(e,n);return se(),ve(),r}const De=e("__proto__,__v_isRef,__isVue"),Be=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(b));function $e(e){b(e)||(e=String(e));const t=gt(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Ue{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e["__v_skip"];const r=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(r?i?it:rt:i?nt:tt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=f(e);if(!r){let e;if(o&&(e=Ce[t]))return e;if("hasOwnProperty"===t)return $e}const s=Reflect.get(e,t,yt(e)?e:n);return(b(t)?Be.has(t):De(t))?s:(r||Oe(e,"get",t),i?s:yt(s)?o&&S(t)?s:s.value:y(s)?r?ct(s):at(s):s)}}class ze extends Ue{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t];if(!this._isShallow){const t=ft(i);if(dt(n)||ft(n)||(i=gt(i),n=gt(n)),!f(e)&&yt(i)&&!yt(n))return!t&&(i.value=n,!0)}const o=f(e)&&S(t)?Number(t)e,Ge=e=>Reflect.getPrototypeOf(e);function Ye(e,t,n){return function(...r){const i=this["__v_raw"],o=gt(i),s=d(o),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=i[e](...r),u=n?Ve:t?bt:mt;return!t&&Oe(o,"iterate",l?_e:Ee),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ke(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Xe(e,t){const n={get(n){const r=this["__v_raw"],i=gt(r),o=gt(n);e||(L(n,o)&&Oe(i,"get",n),Oe(i,"get",o));const{has:s}=Ge(i),a=t?Ve:e?bt:mt;return s.call(i,n)?a(r.get(n)):s.call(i,o)?a(r.get(o)):void(r!==i&&r.get(n))},get size(){const t=this["__v_raw"];return!e&&Oe(gt(t),"iterate",Ee),Reflect.get(t,"size",t)},has(t){const n=this["__v_raw"],r=gt(n),i=gt(t);return e||(L(t,i)&&Oe(r,"has",t),Oe(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){const i=this,o=i["__v_raw"],s=gt(o),a=t?Ve:e?bt:mt;return!e&&Oe(s,"iterate",Ee),o.forEach(((e,t)=>n.call(r,a(e),a(t),i)))}};l(n,e?{add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear")}:{add(e){t||dt(e)||ft(e)||(e=gt(e));const n=gt(this),r=Ge(n),i=r.has.call(n,e);return i||(n.add(e),Te(n,"add",e,e)),this},set(e,n){t||dt(n)||ft(n)||(n=gt(n));const r=gt(this),{has:i,get:o}=Ge(r);let s=i.call(r,e);s||(e=gt(e),s=i.call(r,e));const a=o.call(r,e);return r.set(e,n),s?L(n,a)&&Te(r,"set",e,n,a):Te(r,"add",e,n),this},delete(e){const t=gt(this),{has:n,get:r}=Ge(t);let i=n.call(t,e);i||(e=gt(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,s=t.delete(e);return i&&Te(t,"delete",e,void 0,o),s},clear(){const e=gt(this),t=0!==e.size,n=void 0,r=e.clear();return t&&Te(e,"clear",void 0,void 0,n),r}});const r=["keys","values","entries",Symbol.iterator];return r.forEach((r=>{n[r]=Ye(r,e,t)})),n}function Ze(e,t){const n=Xe(e,t);return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(p(n,r)&&r in t?n:t,r,i)}const Je={get:Ze(!1,!1)},Qe={get:Ze(!1,!0)},et={get:Ze(!0,!1)};const tt=new WeakMap,nt=new WeakMap,rt=new WeakMap,it=new WeakMap;function ot(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function st(e){return e["__v_skip"]||!Object.isExtensible(e)?0:ot(E(e))}function at(e){return ft(e)?e:ut(e,!1,He,Je,tt)}function lt(e){return ut(e,!1,We,Qe,nt)}function ct(e){return ut(e,!0,qe,et,rt)}function ut(e,t,n,r,i){if(!y(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const o=i.get(e);if(o)return o;const s=st(e);if(0===s)return e;const a=new Proxy(e,2===s?r:n);return i.set(e,a),a}function pt(e){return ft(e)?pt(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function ft(e){return!(!e||!e["__v_isReadonly"])}function dt(e){return!(!e||!e["__v_isShallow"])}function ht(e){return!!e&&!!e["__v_raw"]}function gt(e){const t=e&&e["__v_raw"];return t?gt(t):e}function vt(e){return!p(e,"__v_skip")&&Object.isExtensible(e)&&P(e,"__v_skip",!0),e}const mt=e=>y(e)?at(e):e,bt=e=>y(e)?ct(e):e;function yt(e){return!!e&&!0===e["__v_isRef"]}function xt(e){return kt(e,!1)}function wt(e){return kt(e,!0)}function kt(e,t){return yt(e)?e:new Et(e,t)}class Et{constructor(e,t){this.dep=new xe,this["__v_isRef"]=!0,this["__v_isShallow"]=!1,this._rawValue=t?e:gt(e),this._value=t?e:mt(e),this["__v_isShallow"]=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this["__v_isShallow"]||dt(e)||ft(e);e=n?e:gt(e),L(e,t)&&(this._rawValue=e,this._value=n?e:mt(e),this.dep.trigger())}}function _t(e){return yt(e)?e.value:e}const St={get:(e,t,n)=>"__v_raw"===t?e:_t(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return yt(i)&&!yt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ot(e){return pt(e)?e:new Proxy(e,St)}class Tt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=be-1,this.next=void 0,this.effect=this,this["__v_isReadonly"]=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||X===this))return ie(this,!0),!0}get value(){const e=this.dep.track();return ue(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function At(e,t,n=!1){let r,i;v(e)?r=e:(r=e.get,i=e.set);const o=new Tt(r,i,n);return o}const Rt={},Ct=new WeakMap;let Nt;function jt(e,t=!1,n=Nt){if(n){let t=Ct.get(n);t||Ct.set(n,t=[]),t.push(e)}else 0}function It(e,n,r=t){const{immediate:o,deep:s,once:a,scheduler:l,augmentJob:u,call:p}=r,d=e=>s?e:dt(e)||!1===s||0===s?Lt(e,1):Lt(e);let h,g,m,b,y=!1,x=!1;if(yt(e)?(g=()=>e.value,y=dt(e)):pt(e)?(g=()=>d(e),y=!0):f(e)?(x=!0,y=e.some((e=>pt(e)||dt(e))),g=()=>e.map((e=>yt(e)?e.value:pt(e)?d(e):v(e)?p?p(e,2):e():void 0))):g=v(e)?n?p?()=>p(e,2):e:()=>{if(m){ge();try{m()}finally{ve()}}const t=Nt;Nt=h;try{return p?p(e,3,[b]):e(b)}finally{Nt=t}}:i,n&&s){const e=g,t=!0===s?1/0:s;g=()=>Lt(e(),t)}const w=J(),k=()=>{h.stop(),w&&w.active&&c(w.effects,h)};if(a&&n){const e=n;n=(...t)=>{e(...t),k()}}let E=x?new Array(e.length).fill(Rt):Rt;const _=e=>{if(1&h.flags&&(h.dirty||e))if(n){const e=h.run();if(s||y||(x?e.some(((e,t)=>L(e,E[t]))):L(e,E))){m&&m();const t=Nt;Nt=h;try{const t=[e,E===Rt?void 0:x&&E[0]===Rt?[]:E,b];p?p(n,3,t):n(...t),E=e}finally{Nt=t}}}else h.run()};return u&&u(_),h=new ee(g),h.scheduler=l?()=>l(_,!1):_,b=e=>jt(e,!1,h),m=h.onStop=()=>{const e=Ct.get(h);if(e){if(p)p(e,4);else for(const t of e)t();Ct.delete(h)}},n?o?_(!0):E=h.run():l?l(_.bind(null,!0),!0):h.run(),k.pause=h.pause.bind(h),k.resume=h.resume.bind(h),k.stop=k,k}function Lt(e,t=1/0,n){if(t<=0||!y(e)||e["__v_skip"])return e;if(n=n||new Set,n.has(e))return e;if(n.add(e),t--,yt(e))Lt(e.value,t,n);else if(f(e))for(let r=0;r{Lt(e,t,n)}));else if(_(e)){for(const r in e)Lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Lt(e[r],t,n)}return e}function Mt(e,t,n,r){try{return r?e(...r):e()}catch(i){Dt(i,t,n)}}function Pt(e,t,n,r){if(v(e)){const i=Mt(e,t,n,r);return i&&x(i)&&i.catch((e=>{Dt(e,t,n)})),i}if(f(e)){const i=[];for(let o=0;o>>1,i=$t[r],o=Qt(i);o=Qt(n)?$t.push(e):$t.splice(Gt(t),0,e),e.flags|=1,Kt()}}function Kt(){Wt||(Wt=qt.then(en))}function Xt(e){f(e)?zt.push(...e):Ft&&-1===e.id?Ft.splice(Ht+1,0,e):1&e.flags||(zt.push(e),e.flags|=1),Kt()}function Zt(e,t,n=Ut+1){for(0;n<$t.length;n++){const t=$t[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;0,$t.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Jt(e){if(zt.length){const e=[...new Set(zt)].sort(((e,t)=>Qt(e)-Qt(t)));if(zt.length=0,Ft)return void Ft.push(...e);for(Ft=e,Ht=0;Htnull==e.id?2&e.flags?-1:1/0:e.id;function en(e){try{for(Ut=0;Ut<$t.length;Ut++){const e=$t[Ut];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Mt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Ut<$t.length;Ut++){const e=$t[Ut];e&&(e.flags&=-2)}Ut=-1,$t.length=0,Jt(e),Wt=null,($t.length||zt.length)&&en(e)}}let tn=null,nn=null;function rn(e){const t=tn;return tn=e,nn=e&&e.type.__scopeId||null,t}function on(e,t=tn,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Ti(-1);const i=rn(t);let o;try{o=e(...n)}finally{rn(i),r._d&&Ti(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function sn(e,n){if(null===tn)return e;const r=lo(tn),i=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,un=e=>e&&(e.disabled||""===e.disabled),pn=e=>e&&(e.defer||""===e.defer),fn=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,dn=e=>"function"===typeof MathMLElement&&e instanceof MathMLElement,hn=(e,t)=>{const n=e&&e.to;if(m(n)){if(t){const e=t(n);return e}return null}return n},gn={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,l,c){const{mc:u,pc:p,pbc:f,o:{insert:d,querySelector:h,createText:g,createComment:v}}=c,m=un(t.props);let{shapeFlag:b,children:y,dynamicChildren:x}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");d(e,n,r),d(c,n,r);const p=(e,t)=>{16&b&&(i&&i.isCE&&(i.ce._teleportTarget=e),u(y,e,t,i,o,s,a,l))},f=()=>{const e=t.target=hn(t.props,h),n=xn(e,t,g,d);e&&("svg"!==s&&fn(e)?s="svg":"mathml"!==s&&dn(e)&&(s="mathml"),m||(p(e,n),yn(t,!1)))};m&&(p(n,c),yn(t,!0)),pn(t.props)?Wr((()=>{f(),t.el.__isMounted=!0}),o):f()}else{if(pn(t.props)&&!e.el.__isMounted)return void Wr((()=>{gn.process(e,t,n,r,i,o,s,a,l,c),delete e.el.__isMounted}),o);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,d=t.target=e.target,g=t.targetAnchor=e.targetAnchor,v=un(e.props),b=v?n:d,y=v?u:g;if("svg"===s||fn(d)?s="svg":("mathml"===s||dn(d))&&(s="mathml"),x?(f(e.dynamicChildren,x,b,i,o,s,a),Zr(e,t,!0)):l||p(e,t,b,y,i,o,s,a,!1),m)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vn(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=hn(t.props,h);e&&vn(t,e,null,c,0)}else v&&vn(t,d,g,c,1);yn(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:p,props:f}=e;if(p&&(i(c),i(u)),o&&i(l),16&s){const e=o||!un(f);for(let i=0;il({name:e.name},t,{setup:e}))():e}function _n(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Sn(e,n,r,i,o=!1){if(f(e))return void e.forEach(((e,t)=>Sn(e,n&&(f(n)?n[t]:n),r,i,o)));if(On(i)&&!o)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Sn(e,n,r,i.component.subTree));const s=4&i.shapeFlag?lo(i.component):i.el,a=o?null:s,{i:l,r:u}=e;const d=n&&n.r,h=l.refs===t?l.refs={}:l.refs,g=l.setupState,b=gt(g),y=g===t?()=>!1:e=>p(b,e);if(null!=d&&d!==u&&(m(d)?(h[d]=null,y(d)&&(g[d]=null)):yt(d)&&(d.value=null)),v(u))Mt(u,l,12,[a,h]);else{const t=m(u),n=yt(u);if(t||n){const i=()=>{if(e.f){const n=t?y(u)?g[u]:h[u]:u.value;o?f(n)&&c(n,s):f(n)?n.includes(s)||n.push(s):t?(h[u]=[s],y(u)&&(g[u]=h[u])):(u.value=[s],e.k&&(h[e.k]=u.value))}else t?(h[u]=a,y(u)&&(g[u]=a)):n&&(u.value=a,e.k&&(h[e.k]=a))};a?(i.id=-1,Wr(i,r)):i()}else 0}}$().requestIdleCallback,$().cancelIdleCallback;const On=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;const Tn=e=>e.type.__isKeepAlive;RegExp,RegExp;function An(e,t){return f(e)?e.some((e=>An(e,t))):m(e)?e.split(",").includes(t):!!g(e)&&(e.lastIndex=0,e.test(t))}function Rn(e,t){Nn(e,"a",t)}function Cn(e,t){Nn(e,"da",t)}function Nn(e,t,n=Vi){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(Mn(t,r,n),n){let e=n.parent;while(e&&e.parent)Tn(e.parent.vnode)&&jn(r,t,n,e),e=e.parent}}function jn(e,t,n,r){const i=Mn(t,e,r,!0);Fn((()=>{c(r[t],i)}),n)}function In(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ln(e){return 128&e.shapeFlag?e.ssContent:e}function Mn(e,t,n=Vi,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{ge();const i=Xi(n),o=Pt(t,n,e,r);return i(),ve(),o});return r?i.unshift(o):i.push(o),o}}const Pn=e=>(t,n=Vi)=>{to&&"sp"!==e||Mn(e,((...e)=>t(...e)),n)},Dn=Pn("bm"),Bn=Pn("m"),$n=Pn("bu"),Un=Pn("u"),zn=Pn("bum"),Fn=Pn("um"),Hn=Pn("sp"),qn=Pn("rtg"),Wn=Pn("rtc");function Vn(e,t=Vi){Mn("ec",e,t)}const Gn="components",Yn="directives";function Kn(e,t){return Jn(Gn,e,!0,t)||e}const Xn=Symbol.for("v-ndc");function Zn(e){return Jn(Yn,e)}function Jn(e,t,n=!0,r=!1){const i=tn||Vi;if(i){const n=i.type;if(e===Gn){const e=co(n,!1);if(e&&(e===t||e===R(t)||e===j(R(t))))return n}const o=Qn(i[e]||n[e],t)||Qn(i.appContext[e],t);return!o&&r?n:o}}function Qn(e,t){return e&&(e[t]||e[R(t)]||e[j(R(t))])}const er=e=>e?Ji(e)?lo(e):er(e.parent):null,tr=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>er(e.parent),$root:e=>er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ur(e),$forceUpdate:e=>e.f||(e.f=()=>{Yt(e.update)}),$nextTick:e=>e.n||(e.n=Vt.bind(e.proxy)),$watch:e=>si.bind(e)}),nr=(e,n)=>e!==t&&!e.__isScriptSetup&&p(e,n),rr={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:r,setupState:i,data:o,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==n[0]){const l=a[n];if(void 0!==l)switch(l){case 1:return i[n];case 2:return o[n];case 4:return r[n];case 3:return s[n]}else{if(nr(i,n))return a[n]=1,i[n];if(o!==t&&p(o,n))return a[n]=2,o[n];if((u=e.propsOptions[0])&&p(u,n))return a[n]=3,s[n];if(r!==t&&p(r,n))return a[n]=4,r[n];or&&(a[n]=0)}}const f=tr[n];let d,h;return f?("$attrs"===n&&Oe(e.attrs,"get",""),f(e)):(d=l.__cssModules)&&(d=d[n])?d:r!==t&&p(r,n)?(a[n]=4,r[n]):(h=c.config.globalProperties,p(h,n)?h[n]:void 0)},set({_:e},n,r){const{data:i,setupState:o,ctx:s}=e;return nr(o,n)?(o[n]=r,!0):i!==t&&p(i,n)?(i[n]=r,!0):!p(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(s[n]=r,!0))},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:o,propsOptions:s}},a){let l;return!!r[a]||e!==t&&p(e,a)||nr(n,a)||(l=s[0])&&p(l,a)||p(i,a)||p(tr,a)||p(o.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ir(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let or=!0;function sr(e){const t=ur(e),n=e.proxy,r=e.ctx;or=!1,t.beforeCreate&&lr(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:l,provide:c,inject:u,created:p,beforeMount:d,mounted:h,beforeUpdate:g,updated:m,activated:b,deactivated:x,beforeDestroy:w,beforeUnmount:k,destroyed:E,unmounted:_,render:S,renderTracked:O,renderTriggered:T,errorCaptured:A,serverPrefetch:R,expose:C,inheritAttrs:N,components:j,directives:I,filters:L}=t,M=null;if(u&&ar(u,r,M),a)for(const i in a){const e=a[i];v(e)&&(r[i]=e.bind(n))}if(o){0;const t=o.call(n,n);0,y(t)&&(e.data=at(t))}if(or=!0,s)for(const f in s){const e=s[f],t=v(e)?e.bind(n,n):v(e.get)?e.get.bind(n,n):i;0;const o=!v(e)&&v(e.set)?e.set.bind(n):i,a=po({get:t,set:o});Object.defineProperty(r,f,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)cr(l[i],r,n,i);if(c){const e=v(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{_r(t,e[t])}))}function P(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&lr(p,e,"c"),P(Dn,d),P(Bn,h),P($n,g),P(Un,m),P(Rn,b),P(Cn,x),P(Vn,A),P(Wn,O),P(qn,T),P(zn,k),P(Fn,_),P(Hn,R),f(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===i&&(e.render=S),null!=N&&(e.inheritAttrs=N),j&&(e.components=j),I&&(e.directives=I),R&&_n(e)}function ar(e,t,n=i){f(e)&&(e=gr(e));for(const r in e){const n=e[r];let i;i=y(n)?"default"in n?Sr(n.from||r,n.default,!0):Sr(n.from||r):Sr(n),yt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[r]=i}}function lr(e,t,n){Pt(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function cr(e,t,n,r){let i=r.includes(".")?ai(n,r):()=>n[r];if(m(e)){const n=t[e];v(n)&&ii(i,n)}else if(v(e))ii(i,e.bind(n));else if(y(e))if(f(e))e.forEach((e=>cr(e,t,n,r)));else{const r=v(e.handler)?e.handler.bind(n):t[e.handler];v(r)&&ii(i,r,e)}else 0}function ur(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let l;return a?l=a:i.length||n||r?(l={},i.length&&i.forEach((e=>pr(l,e,s,!0))),pr(l,t,s)):l=t,y(t)&&o.set(t,l),l}function pr(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&pr(e,o,n,!0),i&&i.forEach((t=>pr(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=fr[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const fr={data:dr,props:br,emits:br,methods:mr,computed:mr,beforeCreate:vr,created:vr,beforeMount:vr,mounted:vr,beforeUpdate:vr,updated:vr,beforeDestroy:vr,beforeUnmount:vr,destroyed:vr,unmounted:vr,activated:vr,deactivated:vr,errorCaptured:vr,serverPrefetch:vr,components:mr,directives:mr,watch:yr,provide:dr,inject:hr};function dr(e,t){return t?e?function(){return l(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function hr(e,t){return mr(gr(e),gr(t))}function gr(e){if(f(e)){const t={};for(let n=0;n1)return n&&v(t)?t.call(r&&r.proxy):t}else 0}const Or={},Tr=()=>Object.create(Or),Ar=e=>Object.getPrototypeOf(e)===Or;function Rr(e,t,n,r=!1){const i={},o=Tr();e.propsDefaults=Object.create(null),Nr(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:lt(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Cr(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=gt(i),[l]=e.propsOptions;let c=!1;if(!(r||s>0)||16&s){let r;Nr(e,t,i,o)&&(c=!0);for(const o in a)t&&(p(t,o)||(r=N(o))!==o&&p(t,r))||(l?!n||void 0===n[o]&&void 0===n[r]||(i[o]=jr(l,a,o,void 0,e,!0)):delete i[o]);if(o!==a)for(const e in o)t&&p(t,e)||(delete o[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r{d=!0;const[t,r]=Lr(e,n,!0);l(c,t),r&&u.push(...r)};!i&&n.mixins.length&&n.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!a&&!d)return y(e)&&o.set(e,r),r;if(f(a))for(let r=0;r"_"===e[0]||"$stable"===e,Dr=e=>f(e)?e.map(Bi):[Bi(e)],Br=(e,t,n)=>{if(t._n)return t;const r=on(((...e)=>Dr(t(...e))),n);return r._c=!1,r},$r=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Pr(i))continue;const n=e[i];if(v(n))t[i]=Br(i,n,r);else if(null!=n){0;const e=Dr(n);t[i]=()=>e}}},Ur=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},zr=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},Fr=(e,t,n)=>{const r=e.slots=Tr();if(32&e.vnode.shapeFlag){const e=t._;e?(zr(r,t,n),n&&P(r,"_",e,!0)):$r(t,r)}else t&&Ur(e,t)},Hr=(e,n,r)=>{const{vnode:i,slots:o}=e;let s=!0,a=t;if(32&i.shapeFlag){const e=n._;e?r&&1===e?s=!1:zr(o,n,r):(s=!n.$stable,$r(n,o)),a=n}else n&&(Ur(e,n),a={default:1});if(s)for(const t in o)Pr(t)||null!=a[t]||delete o[t]};function qr(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&($().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Wr=yi;function Vr(e){return Gr(e)}function Gr(e,n){qr();const o=$();o.__VUE__=!0;const{insert:s,remove:a,patchProp:l,createElement:c,createText:u,createComment:p,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:v=i,insertStaticContent:m}=e,b=(e,t,n,r=null,i=null,o=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ri(e,t)&&(r=K(e),q(e,i,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case wi:y(e,t,n,r);break;case ki:x(e,t,n,r);break;case Ei:null==e&&w(t,n,r,s);break;case xi:j(e,t,n,r,i,o,s,a,l);break;default:1&p?_(e,t,n,r,i,o,s,a,l):6&p?I(e,t,n,r,i,o,s,a,l):(64&p||128&p)&&c.process(e,t,n,r,i,o,s,a,l,J)}null!=u&&i&&Sn(u,e&&e.ref,o,t||e,!t)},y=(e,t,n,r)=>{if(null==e)s(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},x=(e,t,n,r)=>{null==e?s(t.el=p(t.children||""),n,r):t.el=e.el},w=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},n,r)=>{let i;while(e&&e!==t)i=g(e),s(e,n,r),e=i;s(t,n,r)},E=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=g(e),a(e),e=n;a(t)},_=(e,t,n,r,i,o,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?S(t,n,r,i,o,s,a,l):R(e,t,i,o,s,a,l)},S=(e,t,n,r,i,o,a,u)=>{let p,f;const{props:h,shapeFlag:g,transition:v,dirs:m}=e;if(p=e.el=c(e.type,o,h&&h.is,h),8&g?d(p,e.children):16&g&&A(e.children,p,null,r,i,Yr(e,o),a,u),m&&an(e,null,r,"created"),T(p,e,e.scopeId,a,r),h){for(const e in h)"value"===e||O(e)||l(p,e,null,h[e],o,r);"value"in h&&l(p,"value",null,h.value,o),(f=h.onVnodeBeforeMount)&&Fi(f,r,e)}m&&an(e,null,r,"beforeMount");const b=Xr(i,v);b&&v.beforeEnter(p),s(p,t,n),((f=h&&h.onVnodeMounted)||b||m)&&Wr((()=>{f&&Fi(f,r,e),b&&v.enter(p),m&&an(e,null,r,"mounted")}),i)},T=(e,t,n,r,i)=>{if(n&&v(e,n),r)for(let o=0;o{for(let c=l;c{const c=n.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:f}=n;u|=16&e.patchFlag;const h=e.props||t,g=n.props||t;let v;if(r&&Kr(r,!1),(v=g.onVnodeBeforeUpdate)&&Fi(v,r,n,e),f&&an(n,e,r,"beforeUpdate"),r&&Kr(r,!0),(h.innerHTML&&null==g.innerHTML||h.textContent&&null==g.textContent)&&d(c,""),p?C(e.dynamicChildren,p,c,r,i,Yr(n,o),s):a||U(e,n,c,null,r,i,Yr(n,o),s,!1),u>0){if(16&u)N(c,h,g,r,o);else if(2&u&&h.class!==g.class&&l(c,"class",null,g.class,o),4&u&&l(c,"style",h.style,g.style,o),8&u){const e=n.dynamicProps;for(let t=0;t{v&&Fi(v,r,n,e),f&&an(n,e,r,"updated")}),i)},C=(e,t,n,r,i,o,s)=>{for(let a=0;a{if(n!==r){if(n!==t)for(const t in n)O(t)||t in r||l(e,t,n[t],null,o,i);for(const t in r){if(O(t))continue;const s=r[t],a=n[t];s!==a&&"value"!==t&&l(e,t,a,s,o,i)}"value"in r&&l(e,"value",n.value,r.value,o)}},j=(e,t,n,r,i,o,a,l,c)=>{const p=t.el=e?e.el:u(""),f=t.anchor=e?e.anchor:u("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(s(p,n,r),s(f,n,r),A(t.children||[],n,f,i,o,a,l,c)):d>0&&64&d&&h&&e.dynamicChildren?(C(e.dynamicChildren,h,n,i,o,a,l),(null!=t.key||i&&t===i.subTree)&&Zr(e,t,!0)):U(e,t,n,f,i,o,a,l,c)},I=(e,t,n,r,i,o,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,s,l):L(t,n,r,i,o,s,l):P(e,t,l)},L=(e,t,n,r,i,o,s)=>{const a=e.component=Wi(e,r,i);if(Tn(e)&&(a.ctx.renderer=J),no(a,!1,s),a.asyncDep){if(i&&i.registerDep(a,D,s),!e.el){const e=a.subTree=Ii(ki);x(null,e,t,n)}}else D(a,e,t,n,i,o,s)},P=(e,t,n)=>{const r=t.component=e.component;if(gi(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,r,i,o,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=Qr(e);if(n)return t&&(t.el=c.el,B(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let u,p=t;0,Kr(e,!1),t?(t.el=c.el,B(e,t,s)):t=c,n&&M(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&Fi(u,l,t,c),Kr(e,!0);const f=fi(e);0;const d=e.subTree;e.subTree=f,b(d,f,h(d.el),K(d),e,i,o),t.el=f.el,null===p&&mi(e,f.el),r&&Wr(r,i),(u=t.props&&t.props.onVnodeUpdated)&&Wr((()=>Fi(u,l,t,c)),i)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:p,root:f,type:d}=e,h=On(t);if(Kr(e,!1),c&&M(c),!h&&(s=l&&l.onVnodeBeforeMount)&&Fi(s,p,t),Kr(e,!0),a&&te){const t=()=>{e.subTree=fi(e),te(a,e.subTree,e,i,null)};h&&d.__asyncHydrate?d.__asyncHydrate(a,e,t):t()}else{f.ce&&f.ce._injectChildStyle(d);const s=e.subTree=fi(e);0,b(null,s,n,r,e,i,o),t.el=s.el}if(u&&Wr(u,i),!h&&(s=l&&l.onVnodeMounted)){const e=t;Wr((()=>Fi(s,p,e)),i)}(256&t.shapeFlag||p&&On(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Wr(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new ee(a);e.scope.off();const c=e.update=l.run.bind(l),u=e.job=l.runIfDirty.bind(l);u.i=e,u.id=e.uid,l.scheduler=()=>Yt(u),Kr(e,!0),c()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,Cr(e,t.props,r,n),Hr(e,t.children,n),ge(),Zt(e),ve()},U=(e,t,n,r,i,o,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void F(c,p,n,r,i,o,s,a,l);if(256&f)return void z(c,p,n,r,i,o,s,a,l)}8&h?(16&u&&Y(c,i,o),p!==c&&d(n,p)):16&u?16&h?F(c,p,n,r,i,o,s,a,l):Y(c,i,o,!0):(8&u&&d(n,""),16&h&&A(p,n,r,i,o,s,a,l))},z=(e,t,n,i,o,s,a,l,c)=>{e=e||r,t=t||r;const u=e.length,p=t.length,f=Math.min(u,p);let d;for(d=0;dp?Y(e,o,s,!0,!1,f):A(t,n,i,o,s,a,l,c,f)},F=(e,t,n,i,o,s,a,l,c)=>{let u=0;const p=t.length;let f=e.length-1,d=p-1;while(u<=f&&u<=d){const r=e[u],i=t[u]=c?$i(t[u]):Bi(t[u]);if(!Ri(r,i))break;b(r,i,n,null,o,s,a,l,c),u++}while(u<=f&&u<=d){const r=e[f],i=t[d]=c?$i(t[d]):Bi(t[d]);if(!Ri(r,i))break;b(r,i,n,null,o,s,a,l,c),f--,d--}if(u>f){if(u<=d){const e=d+1,r=ed)while(u<=f)q(e[u],o,s,!0),u++;else{const h=u,g=u,v=new Map;for(u=g;u<=d;u++){const e=t[u]=c?$i(t[u]):Bi(t[u]);null!=e.key&&v.set(e.key,u)}let m,y=0;const x=d-g+1;let w=!1,k=0;const E=new Array(x);for(u=0;u=x){q(r,o,s,!0);continue}let i;if(null!=r.key)i=v.get(r.key);else for(m=g;m<=d;m++)if(0===E[m-g]&&Ri(r,t[m])){i=m;break}void 0===i?q(r,o,s,!0):(E[i-g]=u+1,i>=k?k=i:w=!0,b(r,t[i],n,null,o,s,a,l,c),y++)}const _=w?Jr(E):r;for(m=_.length-1,u=x-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:o,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void H(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void a.move(e,t,n,J);if(a===xi){s(o,t,n);for(let e=0;el.enter(o)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>s(o,t,n),c=()=>{e(o,(()=>{a(),i&&i()}))};r?r(o,a,c):c()}else s(o,t,n)},q=(e,t,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:f,cacheIndex:d}=e;if(-2===p&&(i=!1),null!=a&&Sn(a,null,n,e,!0),null!=d&&(t.renderCache[d]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,g=!On(e);let v;if(g&&(v=s&&s.onVnodeBeforeUnmount)&&Fi(v,t,e),6&u)G(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&an(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,J,r):c&&!c.hasOnce&&(o!==xi||p>0&&64&p)?Y(c,t,n,!1,!0):(o===xi&&384&p||!i&&16&u)&&Y(l,t,n),r&&W(e)}(g&&(v=s&&s.onVnodeUnmounted)||h)&&Wr((()=>{v&&Fi(v,t,e),h&&an(e,null,t,"unmounted")}),n)},W=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===xi)return void V(n,r);if(t===Ei)return void E(e);const o=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,s=()=>t(n,o);r?r(e.el,o,s):s()}else o()},V=(e,t)=>{let n;while(e!==t)n=g(e),a(e),e=n;a(t)},G=(e,t,n)=>{const{bum:r,scope:i,job:o,subTree:s,um:a,m:l,a:c}=e;ei(l),ei(c),r&&M(r),i.stop(),o&&(o.flags|=8,q(s,e,t,n)),a&&Wr(a,t),Wr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,r=!1,i=!1,o=0)=>{for(let s=o;s{if(6&e.shapeFlag)return K(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=g(e.anchor||e.el),n=t&&t[ln];return n?g(n):t};let X=!1;const Z=(e,t,n)=>{null==e?t._vnode&&q(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),t._vnode=e,X||(X=!0,Zt(),Jt(),X=!1)},J={p:b,um:q,m:H,r:W,mt:L,mc:A,pc:U,pbc:C,n:K,o:e};let Q,te;return n&&([Q,te]=n(J)),{render:Z,hydrate:Q,createApp:kr(Z,Q)}}function Yr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Kr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zr(e,t,n=!1){const r=e.children,i=t.children;if(f(r)&&f(i))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];while(o-- >0)n[o]=s,s=t[s];return n}function Qr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qr(t)}function ei(e){if(e)for(let t=0;t{{const e=Sr(ti);return e}};function ri(e,t){return oi(e,null,t)}function ii(e,t,n){return oi(e,t,n)}function oi(e,n,r=t){const{immediate:o,deep:s,flush:a,once:c}=r;const u=l({},r);const p=n&&o||!n&&"post"!==a;let f;if(to)if("sync"===a){const e=ni();f=e.__watcherHandles||(e.__watcherHandles=[])}else if(!p){const e=()=>{};return e.stop=i,e.resume=i,e.pause=i,e}const d=Vi;u.call=(e,t,n)=>Pt(e,d,t,n);let h=!1;"post"===a?u.scheduler=e=>{Wr(e,d&&d.suspense)}:"sync"!==a&&(h=!0,u.scheduler=(e,t)=>{t?e():Yt(e)}),u.augmentJob=e=>{n&&(e.flags|=4),h&&(e.flags|=2,d&&(e.id=d.uid,e.i=d))};const g=It(e,n,u);return to&&(f?f.push(g):p&&g()),g}function si(e,t,n){const r=this.proxy,i=m(e)?e.includes(".")?ai(r,e):()=>r[e]:e.bind(r,r);let o;v(t)?o=t:(o=t.handler,n=t);const s=Xi(this),a=oi(i,o.bind(r),n);return s(),a}function ai(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${R(t)}Modifiers`]||e[`${N(t)}Modifiers`];function ci(e,n,...r){if(e.isUnmounted)return;const i=e.vnode.props||t;let o=r;const s=n.startsWith("update:"),a=s&&li(i,n.slice(7));let l;a&&(a.trim&&(o=r.map((e=>m(e)?e.trim():e))),a.number&&(o=r.map(D)));let c=i[l=I(n)]||i[l=I(R(n))];!c&&s&&(c=i[l=I(N(n))]),c&&Pt(c,e,6,o);const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Pt(u,e,6,o)}}function ui(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const o=e.emits;let s={},a=!1;if(!v(e)){const r=e=>{const n=ui(e,t,!0);n&&(a=!0,l(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||a?(f(o)?o.forEach((e=>s[e]=null)):l(s,o),y(e)&&r.set(e,s),s):(y(e)&&r.set(e,null),null)}function pi(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,N(t))||p(e,t))}function fi(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:l,emit:c,render:u,renderCache:p,props:f,data:d,setupState:h,ctx:g,inheritAttrs:v}=e,m=rn(e);let b,y;try{if(4&n.shapeFlag){const e=i||r,t=e;b=Bi(u.call(t,e,p,f,h,d,g)),y=l}else{const e=t;0,b=Bi(e.length>1?e(f,{attrs:l,slots:s,emit:c}):e(f,null)),y=t.props?l:di(l)}}catch(w){_i.length=0,Dt(w,e,1),b=Ii(ki)}let x=b;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=x;e.length&&7&t&&(o&&e.some(a)&&(y=hi(y,o)),x=Pi(x,y,!1,!0))}return n.dirs&&(x=Pi(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&kn(x,n.transition),b=x,rn(m),b}const di=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},hi=(e,t)=>{const n={};for(const r in e)a(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function gi(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||vi(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?vi(r,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function yi(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):Xt(e)}const xi=Symbol.for("v-fgt"),wi=Symbol.for("v-txt"),ki=Symbol.for("v-cmt"),Ei=Symbol.for("v-stc"),_i=[];let Si=null;let Oi=1;function Ti(e,t=!1){Oi+=e,e<0&&Si&&t&&(Si.hasOnce=!0)}function Ai(e){return!!e&&!0===e.__v_isVNode}function Ri(e,t){return e.type===t.type&&e.key===t.key}const Ci=({key:e})=>null!=e?e:null,Ni=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?m(e)||yt(e)||v(e)?{i:tn,r:e,k:t,f:!!n}:e:null);function ji(e,t=null,n=null,r=0,i=null,o=(e===xi?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ci(t),ref:t&&Ni(t),scopeId:nn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:tn};return a?(Ui(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=m(n)?8:16),Oi>0&&!s&&Si&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Si.push(l),l}const Ii=Li;function Li(e,t=null,n=null,r=0,i=null,o=!1){if(e&&e!==Xn||(e=ki),Ai(e)){const r=Pi(e,t,!0);return n&&Ui(r,n),Oi>0&&!o&&Si&&(6&r.shapeFlag?Si[Si.indexOf(e)]=r:Si.push(r)),r.patchFlag=-2,r}if(uo(e)&&(e=e.__vccOpts),t){t=Mi(t);let{class:e,style:n}=t;e&&!m(e)&&(t.class=W(e)),y(n)&&(ht(n)&&!f(n)&&(n=l({},n)),t.style=U(n))}const s=m(e)?1:bi(e)?128:cn(e)?64:y(e)?4:v(e)?2:0;return ji(e,t,n,r,i,s,o,!0)}function Mi(e){return e?ht(e)||Ar(e)?l({},e):e:null}function Pi(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:l}=e,c=t?zi(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ci(c),ref:t&&t.ref?n&&o?f(o)?o.concat(Ni(t)):[o,Ni(t)]:Ni(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xi?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pi(e.ssContent),ssFallback:e.ssFallback&&Pi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&kn(u,l.clone(u)),u}function Di(e=" ",t=0){return Ii(wi,null,e,t)}function Bi(e){return null==e||"boolean"===typeof e?Ii(ki):f(e)?Ii(xi,null,e.slice()):Ai(e)?$i(e):Ii(wi,null,String(e))}function $i(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Pi(e)}function Ui(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Ui(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Ar(t)?3===r&&tn&&(1===tn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=tn}}else v(t)?(t={default:t,_ctx:tn},n=32):(t=String(t),64&r?(n=16,t=[Di(t)]):n=8);e.children=t,e.shapeFlag|=n}function zi(...e){const t={};for(let n=0;nVi||tn;let Yi,Ki;{const e=$(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Yi=t("__VUE_INSTANCE_SETTERS__",(e=>Vi=e)),Ki=t("__VUE_SSR_SETTERS__",(e=>to=e))}const Xi=e=>{const t=Vi;return Yi(e),e.scope.on(),()=>{e.scope.off(),Yi(t)}},Zi=()=>{Vi&&Vi.scope.off(),Yi(null)};function Ji(e){return 4&e.vnode.shapeFlag}let Qi,eo,to=!1;function no(e,t=!1,n=!1){t&&Ki(t);const{props:r,children:i}=e.vnode,o=Ji(e);Rr(e,r,o,t),Fr(e,i,n);const s=o?ro(e,t):void 0;return t&&Ki(!1),s}function ro(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rr);const{setup:r}=n;if(r){ge();const n=e.setupContext=r.length>1?ao(e):null,i=Xi(e),o=Mt(r,e,0,[e.props,n]),s=x(o);if(ve(),i(),!s&&!e.sp||On(e)||_n(e),s){if(o.then(Zi,Zi),t)return o.then((n=>{io(e,n,t)})).catch((t=>{Dt(t,e,0)}));e.asyncDep=o}else io(e,o,t)}else oo(e,t)}function io(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Ot(t)),oo(e,n)}function oo(e,t,n){const r=e.type;if(!e.render){if(!t&&Qi&&!r.render){const t=r.template||ur(e).template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:s}=r,a=l(l({isCustomElement:n,delimiters:o},i),s);r.render=Qi(t,a)}}e.render=r.render||i,eo&&eo(e)}{const t=Xi(e);ge();try{sr(e)}finally{ve(),t()}}}const so={get(e,t){return Oe(e,"get",""),e[t]}};function ao(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,so),slots:e.slots,emit:e.emit,expose:t}}function lo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ot(vt(e.exposed)),{get(t,n){return n in t?t[n]:n in tr?tr[n](e):void 0},has(e,t){return t in e||t in tr}})):e.proxy}function co(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}function uo(e){return v(e)&&"__vccOpts"in e}const po=(e,t)=>{const n=At(e,t,to);return n};function fo(e,t,n){const r=arguments.length;return 2===r?y(t)&&!f(t)?Ai(t)?Ii(e,null,[t]):Ii(e,t):Ii(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Ai(n)&&(n=[n]),Ii(e,t,n))}const ho="3.5.13";n(2675),n(9463),n(6412),n(2259),n(8125),n(6280),n(6918),n(1629),n(4114),n(4490),n(4782),n(2010),n(4731),n(479),n(9904),n(4185),n(875),n(3548),n(287),n(6099),n(7764),n(8992),n(3949),n(3500),n(2953);function go(e){return go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},go(e)}function vo(){ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ +vo=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,s=Object.create(o.prototype),a=new C(r||[]);return i(s,"_invoke",{value:O(e,n,a)}),s}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",h="executing",g="completed",v={};function m(){}function b(){}function y(){}var x={};c(x,s,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(N([])));k&&k!==n&&r.call(k,s)&&(x=k);var E=y.prototype=m.prototype=Object.create(x);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,s,a){var l=p(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==go(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function O(t,n,r){var i=f;return function(o,s){if(i===h)throw Error("Generator is already running");if(i===g){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var l=T(a,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=h;var c=p(t,n,r);if("normal"===c.type){if(i=r.done?g:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=g,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator["return"]&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=p(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),c=r.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}n(2008),n(7945),n(3851),n(1278),n(9432),n(4520),n(5700),n(9572),n(2892);function mo(e,t){if("object"!=go(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function bo(e){var t=mo(e,"string");return"symbol"==go(t)?t:t+""}function yo(e,t,n){return(t=bo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wo(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(a)throw o}}}}function Ro(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function Co(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Ro(o,r,i,s,a,"next",e)}function a(e){Ro(o,r,i,s,a,"throw",e)}s(void 0)}))}}n(8706),n(113),n(4423),n(2062),n(6910),n(5506),n(1415),n(7642),n(8004),n(3853),n(5876),n(2475),n(5024),n(1698),n(1699),n(1761),n(5440),n(5746),n(1392),n(2577),n(1454),n(9848),n(6031),n(8408),n(4603),n(7566),n(8721); +/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let No;const jo="undefined"!==typeof window&&window.trustedTypes;if(jo)try{No=jo.createPolicy("vue",{createHTML:e=>e})}catch(fd){}const Io=No?e=>No.createHTML(e):e=>e,Lo="http://www.w3.org/2000/svg",Mo="http://www.w3.org/1998/Math/MathML",Po="undefined"!==typeof document?document:null,Do=Po&&Po.createElement("template"),Bo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i="svg"===t?Po.createElementNS(Lo,e):"mathml"===t?Po.createElementNS(Mo,e):n?Po.createElement(e,{is:n}):Po.createElement(e);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>Po.createTextNode(e),createComment:e=>Po.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Po.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(t.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{Do.innerHTML=Io("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const i=Do.content;if("svg"===r||"mathml"===r){const e=i.firstChild;while(e.firstChild)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$o=Symbol("_vtc");Boolean;function Uo(e,t,n){const r=e[$o];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zo=Symbol("_vod"),Fo=Symbol("_vsh");const Ho=Symbol("");const qo=/(^|;)\s*display\s*:/;function Wo(e,t,n){const r=e.style,i=m(n);let o=!1;if(n&&!i){if(t)if(m(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Go(r,t,"")}else for(const e in t)null==n[e]&&Go(r,e,"");for(const e in n)"display"===e&&(o=!0),Go(r,e,n[e])}else if(i){if(t!==n){const e=r[Ho];e&&(n+=";"+e),r.cssText=n,o=qo.test(n)}}else t&&e.removeAttribute("style");zo in e&&(e[zo]=o?r.display:"",e[Fo]&&(r.display="none"))}const Vo=/\s*!important$/;function Go(e,t,n){if(f(n))n.forEach((n=>Go(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xo(e,t);Vo.test(n)?e.setProperty(N(r),n.replace(Vo,""),"important"):e[r]=n}}const Yo=["Webkit","Moz","ms"],Ko={};function Xo(e,t){const n=Ko[t];if(n)return n;let r=R(t);if("filter"!==r&&r in e)return Ko[t]=r;r=j(r);for(let i=0;iss||(as.then((()=>ss=0)),ss=Date.now());function cs(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Pt(us(e,n.value),t,5,[e])};return n.value=e,n.attached=ls(),n}function us(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const ps=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fs=(e,t,n,r,i,o)=>{const l="svg"===i;"class"===t?Uo(e,r,l):"style"===t?Wo(e,n,r):s(t)?a(t)||rs(e,t,n,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):ds(e,t,r,l))?(Qo(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Jo(e,t,r,l,o,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&m(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Jo(e,t,r,l)):Qo(e,R(t),r,o,t)};function ds(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&ps(t)&&v(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!ps(t)||!m(n))&&t in e} +/*! #__NO_SIDE_EFFECTS__ */ +"undefined"!==typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");Symbol("_assign");const hs=l({patchProp:fs},Bo);let gs;function vs(){return gs||(gs=Vr(hs))}const ms=(...e)=>{const t=vs().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=ys(e);if(!r)return;const i=t._component;v(i)||i.render||i.template||(i.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const o=n(r,!1,bs(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function bs(e){return e instanceof SVGElement?"svg":"function"===typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function ys(e){if(m(e)){const t=document.querySelector(e);return t}return e}function xs(e){if(Array.isArray(e))return _o(e)}function ws(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ks(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Es(e){return xs(e)||ws(e)||So(e)||ks()}n(3921),n(6034);function _s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Array.isArray(e)){if(n)return e.map((function(e,n){return t(n,e)}));e.forEach((function(e,n){return t(n,e)}))}if("object"===go(e))for(var r in e){var i=t(r,e[r]);n&&(e[r]=i),_s(e[r],t,n)}}function Ss(e){if("2.0"!==e.swagger)throw new Error("Not a swagger spec");_s(e,(function(e,t){return"$ref"===e&&"string"===typeof t?t.replace(/^#\/definitions\//,"#/components/schemas/"):t}),!0);var t={openapi:"3.1.0",info:wo({},e.info),servers:[{url:"https://api.sekoia.io",description:"Sekoia.io API"}],paths:Object.fromEntries(Object.entries(e.paths).map((function(t){var n=To(t,2),r=n[0],i=n[1],o=i.parameters;return Object.entries(i).forEach((function(e){var t=To(e,2),n=t[0],r=t[1];if(["get","post","put","delete","patch"].includes(n.toLowerCase())){if(r.parameters&&"get"!==n){var i,s=Ao(r.parameters);try{for(s.s();!(i=s.n()).done;){var a=i.value;"query"===a["in"]&&(a["in"]="body")}}catch(l){s.e(l)}finally{s.f()}}o&&(r.parameters=[].concat(Es(r.parameters||[]),Es(o))),Object.entries(r.responses).forEach((function(e){var t=To(e,2),n=(t[0],t[1]);n.schema&&(n.content={"application/json":{schema:n.schema}},delete n.schema)}))}})),[e.basePath+r,i]}))),components:{schemas:e.definitions}};return t}function Os(e){var t,n={},r={},i=Ao(e);try{var o=function(){var e,i=t.value;if(null===i||void 0===i||null===(e=i.info)||void 0===e||!e.title)return 1;console.log("Merge",i.info.title);var o={},s=i.info.title.replace(/\s+/,"_")+"_";for(var a in(null===(l=i.components)||void 0===l?void 0:l.schemas)||{}){var l,c,u=null===(c=i.components)||void 0===c?void 0:c.schemas[a];r[a]&&(o[a]=s+a,a=s+a),r[a]?console.error("Definition collision for ".concat(a)):r[a]=u}for(var p in _s(i,(function(e,t){if("$ref"===e&&"string"===typeof t&&t.startsWith("#/components/schemas/")){var n=t.substring(21);return"#/components/schemas/"+(o[n]||n)}return t}),!0),i.paths||{})for(var f in i.paths[p]){var d,h;"parameters"===f||null!==(d=i.paths[p][f].tags)&&void 0!==d&&d.length?null!==(h=n[p])&&void 0!==h&&h[f]?console.error("Endpoint collision for ".concat(f," ").concat(p)):(n[p]||(n[p]={}),n[p][f]=i.paths[p][f]):console.warn("Endpoint ".concat(f," ").concat(p," has no tag, skipping"))}};for(i.s();!(t=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}var s=wo(wo({},e[0]),{},{openapi:"3.1.0",info:{title:"Sekoia.io API Documentation",description:"Documentation of all Sekoia.io REST API endpoints",version:"1.0"},servers:[{url:"https://api.sekoia.io",description:"Sekoia.io API"}],paths:n,components:{schemas:r}});return s}function Ts(e){return As.apply(this,arguments)}function As(){return As=Co(vo().mark((function e(t){var n;return vo().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map(function(){var e=Co(vo().mark((function e(t){var n;return vo().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t).then((function(e){return e.json()}));case 3:return n=e.sent,n.swagger&&(n=Ss(n)),Object.values(n.paths).forEach((function(e){Object.values(e).forEach((function(e){var t=Es(e.parameters||[]),n=t.filter((function(e){return"body"===e["in"]}));(null===n||void 0===n?void 0:n.length)>0&&(e.requestBody={content:{"application/json":{schema:{type:"object",properties:Object.fromEntries(n.map((function(e){return[e.name,{type:e.type}]})))}}}},t=t.filter((function(e){return"body"!==e["in"]}))),e.parameters=t.filter((function(e){return!["header","cookie"].includes(e["in"])}))}))})),e.abrupt("return",n);case 9:e.prev=9,e.t0=e["catch"](0),console.error(e.t0),console.warn("Couldn't gather OpenAPI schema at ".concat(t));case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}()));case 2:return n=e.sent.filter((function(e){return!!e})),e.abrupt("return",Os(n));case 4:case"end":return e.stop()}}),e)}))),As.apply(this,arguments)}n(1688),n(739),n(3110);var Rs=function(e){var t=e.src,n=e.lang;return Ii(Kn("highlightjs"),{language:n,code:t},null)},Cs="top",Ns="bottom",js="right",Is="left",Ls="auto",Ms=[Cs,Ns,js,Is],Ps="start",Ds="end",Bs="clippingParents",$s="viewport",Us="popper",zs="reference",Fs=Ms.reduce((function(e,t){return e.concat([t+"-"+Ps,t+"-"+Ds])}),[]),Hs=[].concat(Ms,[Ls]).reduce((function(e,t){return e.concat([t,t+"-"+Ps,t+"-"+Ds])}),[]),qs="beforeRead",Ws="read",Vs="afterRead",Gs="beforeMain",Ys="main",Ks="afterMain",Xs="beforeWrite",Zs="write",Js="afterWrite",Qs=[qs,Ws,Vs,Gs,Ys,Ks,Xs,Zs,Js];function ea(e){return e?(e.nodeName||"").toLowerCase():null}function ta(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function na(e){var t=ta(e).Element;return e instanceof t||e instanceof Element}function ra(e){var t=ta(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ia(e){if("undefined"===typeof ShadowRoot)return!1;var t=ta(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function oa(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];ra(i)&&ea(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))}function sa(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),s=o.reduce((function(e,t){return e[t]="",e}),{});ra(r)&&ea(r)&&(Object.assign(r.style,s),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}}var aa={name:"applyStyles",enabled:!0,phase:"write",fn:oa,effect:sa,requires:["computeStyles"]};function la(e){return e.split("-")[0]}var ca=Math.max,ua=Math.min,pa=Math.round;function fa(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(ra(e)&&t){var o=e.offsetHeight,s=e.offsetWidth;s>0&&(r=pa(n.width)/s||1),o>0&&(i=pa(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function da(e){var t=fa(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ha(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ia(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ga(e){return ta(e).getComputedStyle(e)}function va(e){return["table","td","th"].indexOf(ea(e))>=0}function ma(e){return((na(e)?e.ownerDocument:e.document)||window.document).documentElement}function ba(e){return"html"===ea(e)?e:e.assignedSlot||e.parentNode||(ia(e)?e.host:null)||ma(e)}function ya(e){return ra(e)&&"fixed"!==ga(e).position?e.offsetParent:null}function xa(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&ra(e)){var r=ga(e);if("fixed"===r.position)return null}var i=ba(e);while(ra(i)&&["html","body"].indexOf(ea(i))<0){var o=ga(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}function wa(e){var t=ta(e),n=ya(e);while(n&&va(n)&&"static"===ga(n).position)n=ya(n);return n&&("html"===ea(n)||"body"===ea(n)&&"static"===ga(n).position)?t:n||xa(e)||t}function ka(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ea(e,t,n){return ca(e,ua(t,n))}function _a(e,t,n){var r=Ea(e,t,n);return r>n?n:r}function Sa(){return{top:0,right:0,bottom:0,left:0}}function Oa(e){return Object.assign({},Sa(),e)}function Ta(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Aa=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Oa("number"!==typeof e?e:Ta(e,Ms))};function Ra(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=la(n.placement),l=ka(a),c=[Is,js].indexOf(a)>=0,u=c?"height":"width";if(o&&s){var p=Aa(i.padding,n),f=da(o),d="y"===l?Cs:Is,h="y"===l?Ns:js,g=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],v=s[l]-n.rects.reference[l],m=wa(o),b=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=g/2-v/2,x=p[d],w=b-f[u]-p[h],k=b/2-f[u]/2+y,E=Ea(x,k,w),_=l;n.modifiersData[r]=(t={},t[_]=E,t.centerOffset=E-k,t)}}function Ca(e){var t=e.state,n=e.options,r=n.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i),i))&&ha(t.elements.popper,i)&&(t.elements.arrow=i)}var Na={name:"arrow",enabled:!0,phase:"main",fn:Ra,effect:Ca,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ja(e){return e.split("-")[1]}var Ia={top:"auto",right:"auto",bottom:"auto",left:"auto"};function La(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:pa(t*i)/i||0,y:pa(n*i)/i||0}}function Ma(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,f=!0===u?La(s):"function"===typeof u?u(s):s,d=f.x,h=void 0===d?0:d,g=f.y,v=void 0===g?0:g,m=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=Is,x=Cs,w=window;if(c){var k=wa(n),E="clientHeight",_="clientWidth";if(k===ta(n)&&(k=ma(n),"static"!==ga(k).position&&"absolute"===a&&(E="scrollHeight",_="scrollWidth")),i===Cs||(i===Is||i===js)&&o===Ds){x=Ns;var S=p&&w.visualViewport?w.visualViewport.height:k[E];v-=S-r.height,v*=l?1:-1}if(i===Is||(i===Cs||i===Ns)&&o===Ds){y=js;var O=p&&w.visualViewport?w.visualViewport.width:k[_];h-=O-r.width,h*=l?1:-1}}var T,A=Object.assign({position:a},c&&Ia);return l?Object.assign({},A,(T={},T[x]=b?"0":"",T[y]=m?"0":"",T.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",T)):Object.assign({},A,(t={},t[x]=b?v+"px":"",t[y]=m?h+"px":"",t.transform="",t))}function Pa(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:la(t.placement),variation:ja(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ma(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ma(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Da={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pa,data:{}},Ba={passive:!0};function $a(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,l=ta(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Ba)})),a&&l.addEventListener("resize",n.update,Ba),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Ba)})),a&&l.removeEventListener("resize",n.update,Ba)}}var Ua={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$a,data:{}},za={left:"right",right:"left",bottom:"top",top:"bottom"};function Fa(e){return e.replace(/left|right|bottom|top/g,(function(e){return za[e]}))}var Ha={start:"end",end:"start"};function qa(e){return e.replace(/start|end/g,(function(e){return Ha[e]}))}function Wa(e){var t=ta(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Va(e){return fa(ma(e)).left+Wa(e).scrollLeft}function Ga(e){var t=ta(e),n=ma(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+Va(e),y:a}}function Ya(e){var t,n=ma(e),r=Wa(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=ca(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=ca(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Va(e),l=-r.scrollTop;return"rtl"===ga(i||n).direction&&(a+=ca(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function Ka(e){var t=ga(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Xa(e){return["html","body","#document"].indexOf(ea(e))>=0?e.ownerDocument.body:ra(e)&&Ka(e)?e:Xa(ba(e))}function Za(e,t){var n;void 0===t&&(t=[]);var r=Xa(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=ta(r),s=i?[o].concat(o.visualViewport||[],Ka(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Za(ba(s)))}function Ja(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qa(e){var t=fa(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function el(e,t){return t===$s?Ja(Ga(e)):na(t)?Qa(t):Ja(Ya(ma(e)))}function tl(e){var t=Za(ba(e)),n=["absolute","fixed"].indexOf(ga(e).position)>=0,r=n&&ra(e)?wa(e):e;return na(r)?t.filter((function(e){return na(e)&&ha(e,r)&&"body"!==ea(e)&&(!n||"static"!==ga(e).position)})):[]}function nl(e,t,n){var r="clippingParents"===t?tl(e):[].concat(t),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(t,n){var r=el(e,n);return t.top=ca(r.top,t.top),t.right=ua(r.right,t.right),t.bottom=ua(r.bottom,t.bottom),t.left=ca(r.left,t.left),t}),el(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function rl(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?la(i):null,s=i?ja(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Cs:t={x:a,y:n.y-r.height};break;case Ns:t={x:a,y:n.y+n.height};break;case js:t={x:n.x+n.width,y:l};break;case Is:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?ka(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Ps:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ds:t[c]=t[c]+(n[u]/2-r[u]/2);break}}return t}function il(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,s=void 0===o?Bs:o,a=n.rootBoundary,l=void 0===a?$s:a,c=n.elementContext,u=void 0===c?Us:c,p=n.altBoundary,f=void 0!==p&&p,d=n.padding,h=void 0===d?0:d,g=Oa("number"!==typeof h?h:Ta(h,Ms)),v=u===Us?zs:Us,m=e.rects.popper,b=e.elements[f?v:u],y=nl(na(b)?b:b.contextElement||ma(e.elements.popper),s,l),x=fa(e.elements.reference),w=rl({reference:x,element:m,strategy:"absolute",placement:i}),k=Ja(Object.assign({},m,w)),E=u===Us?k:x,_={top:y.top-E.top+g.top,bottom:E.bottom-y.bottom+g.bottom,left:y.left-E.left+g.left,right:E.right-y.right+g.right},S=e.modifiersData.offset;if(u===Us&&S){var O=S[i];Object.keys(_).forEach((function(e){var t=[js,Ns].indexOf(e)>=0?1:-1,n=[Cs,Ns].indexOf(e)>=0?"y":"x";_[e]+=O[n]*t}))}return _}function ol(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Hs:l,u=ja(r),p=u?a?Fs:Fs.filter((function(e){return ja(e)===u})):Ms,f=p.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=p);var d=f.reduce((function(t,n){return t[n]=il(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[la(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function sl(e){if(la(e)===Ls)return[];var t=Fa(e);return[qa(e),t,qa(t)]}function al(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,h=void 0===d||d,g=n.allowedAutoPlacements,v=t.options.placement,m=la(v),b=m===v,y=l||(b||!h?[Fa(v)]:sl(v)),x=[v].concat(y).reduce((function(e,n){return e.concat(la(n)===Ls?ol(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,k=t.rects.popper,E=new Map,_=!0,S=x[0],O=0;O=0,N=C?"width":"height",j=il(t,{placement:T,boundary:u,rootBoundary:p,altBoundary:f,padding:c}),I=C?R?js:Is:R?Ns:Cs;w[N]>k[N]&&(I=Fa(I));var L=Fa(I),M=[];if(o&&M.push(j[A]<=0),a&&M.push(j[I]<=0,j[L]<=0),M.every((function(e){return e}))){S=T,_=!1;break}E.set(T,M)}if(_)for(var P=h?3:1,D=function(e){var t=x.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},B=P;B>0;B--){var $=D(B);if("break"===$)break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}}var ll={name:"flip",enabled:!0,phase:"main",fn:al,requiresIfExists:["offset"],data:{_skip:!1}};function cl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ul(e){return[Cs,js,Ns,Is].some((function(t){return e[t]>=0}))}function pl(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=il(t,{elementContext:"reference"}),a=il(t,{altBoundary:!0}),l=cl(s,r),c=cl(a,i,o),u=ul(l),p=ul(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}var fl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pl};function dl(e,t,n){var r=la(e),i=[Is,Cs].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Is,js].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function hl(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=Hs.reduce((function(e,n){return e[n]=dl(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var gl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hl};function vl(e){var t=e.state,n=e.name;t.modifiersData[n]=rl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ml={name:"popperOffsets",enabled:!0,phase:"read",fn:vl,data:{}};function bl(e){return"x"===e?"y":"x"}function yl(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,p=n.padding,f=n.tether,d=void 0===f||f,h=n.tetherOffset,g=void 0===h?0:h,v=il(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),m=la(t.placement),b=ja(t.placement),y=!b,x=ka(m),w=bl(x),k=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,S="function"===typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,O="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(k){if(o){var R,C="y"===x?Cs:Is,N="y"===x?Ns:js,j="y"===x?"height":"width",I=k[x],L=I+v[C],M=I-v[N],P=d?-_[j]/2:0,D=b===Ps?E[j]:_[j],B=b===Ps?-_[j]:-E[j],$=t.elements.arrow,U=d&&$?da($):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sa(),F=z[C],H=z[N],q=Ea(0,E[j],U[j]),W=y?E[j]/2-P-q-F-O.mainAxis:D-q-F-O.mainAxis,V=y?-E[j]/2+P+q+H+O.mainAxis:B+q+H+O.mainAxis,G=t.elements.arrow&&wa(t.elements.arrow),Y=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,K=null!=(R=null==T?void 0:T[x])?R:0,X=I+W-K-Y,Z=I+V-K,J=Ea(d?ua(L,X):L,I,d?ca(M,Z):M);k[x]=J,A[x]=J-I}if(a){var Q,ee="x"===x?Cs:Is,te="x"===x?Ns:js,ne=k[w],re="y"===w?"height":"width",ie=ne+v[ee],oe=ne-v[te],se=-1!==[Cs,Is].indexOf(m),ae=null!=(Q=null==T?void 0:T[w])?Q:0,le=se?ie:ne-E[re]-_[re]-ae+O.altAxis,ce=se?ne+E[re]+_[re]-ae-O.altAxis:oe,ue=d&&se?_a(le,ne,ce):Ea(d?le:ie,ne,d?ce:oe);k[w]=ue,A[w]=ue-ne}t.modifiersData[r]=A}}var xl={name:"preventOverflow",enabled:!0,phase:"main",fn:yl,requiresIfExists:["offset"]};function wl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kl(e){return e!==ta(e)&&ra(e)?wl(e):Wa(e)}function El(e){var t=e.getBoundingClientRect(),n=pa(t.width)/e.offsetWidth||1,r=pa(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function _l(e,t,n){void 0===n&&(n=!1);var r=ra(t),i=ra(t)&&El(t),o=ma(t),s=fa(e,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==ea(t)||Ka(o))&&(a=kl(t)),ra(t)?(l=fa(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Va(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Sl(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name);var o=[].concat(e.requires||[],e.requiresIfExists||[]);o.forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function Ol(e){var t=Sl(e);return Qs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function Tl(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function Al(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var Rl={placement:"bottom",modifiers:[],strategy:"absolute"};function Cl(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function Hl(e,t){return"function"===typeof e?e.apply(void 0,t):e}function ql(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Wl(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function Vl(e){return e.split(/\s+/).filter(Boolean)}function Gl(e){return[].concat(e)}function Yl(e,t){-1===e.indexOf(t)&&e.push(t)}function Kl(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function Xl(e){return e.split("-")[0]}function Zl(e){return[].slice.call(e)}function Jl(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ql(){return document.createElement("div")}function ec(e){return["Element","Fragment"].some((function(t){return Fl(e,t)}))}function tc(e){return Fl(e,"NodeList")}function nc(e){return Fl(e,"MouseEvent")}function rc(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function ic(e){return ec(e)?[e]:tc(e)?Zl(e):Array.isArray(e)?e:Zl(document.querySelectorAll(e))}function oc(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function sc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function ac(e){var t,n=Gl(e),r=n[0];return null!=r&&null!=(t=r.ownerDocument)&&t.body?r.ownerDocument:document}function lc(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props,s=o.interactiveBorder,a=Xl(i.placement),l=i.modifiersData.offset;if(!l)return!0;var c="bottom"===a?l.top.y:0,u="top"===a?l.bottom.y:0,p="right"===a?l.left.x:0,f="left"===a?l.right.x:0,d=t.top-r+c>s,h=r-t.bottom-u>s,g=t.left-n+p>s,v=n-t.right-f>s;return d||h||g||v}))}function cc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function uc(e,t){var n=t;while(n){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var pc={isTouch:!1},fc=0;function dc(){pc.isTouch||(pc.isTouch=!0,window.performance&&document.addEventListener("mousemove",hc))}function hc(){var e=performance.now();e-fc<20&&(pc.isTouch=!1,document.removeEventListener("mousemove",hc)),fc=e}function gc(){var e=document.activeElement;if(rc(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function vc(){document.addEventListener("touchstart",dc,$l),window.addEventListener("blur",gc)}var mc="undefined"!==typeof window&&"undefined"!==typeof document,bc=!!mc&&!!window.msCrypto,yc={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},xc={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},wc=Object.assign({appendTo:Ul,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},yc,xc),kc=Object.keys(wc),Ec=function(e){var t=Object.keys(e);t.forEach((function(t){wc[t]=e[t]}))};function _c(e){var t=e.plugins||[],n=t.reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=wc[i])?r:o);return t}),{});return Object.assign({},e,n)}function Sc(e,t){var n=t?Object.keys(_c(Object.assign({},wc,{plugins:t}))):kc,r=n.reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(fd){t[n]=r}return t}),{});return r}function Oc(e,t){var n=Object.assign({},t,{content:Hl(t.content,[e])},t.ignoreAttributes?{}:Sc(e,t.plugins));return n.aria=Object.assign({},wc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Tc=function(){return"innerHTML"};function Ac(e,t){e[Tc()]=t}function Rc(e){var t=Ql();return!0===e?t.className=Dl:(t.className=Bl,ec(e)?t.appendChild(e):Ac(t,e)),t}function Cc(e,t){ec(t.content)?(Ac(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?Ac(e,t.content):e.textContent=t.content)}function Nc(e){var t=e.firstElementChild,n=Zl(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Ml)})),arrow:n.find((function(e){return e.classList.contains(Dl)||e.classList.contains(Bl)})),backdrop:n.find((function(e){return e.classList.contains(Pl)}))}}function jc(e){var t=Ql(),n=Ql();n.className=Ll,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ql();function i(n,r){var i=Nc(t),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"===typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Cc(s,e.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(Rc(r.arrow))):o.appendChild(Rc(r.arrow)):a&&o.removeChild(a)}return r.className=Ml,r.setAttribute("data-state","hidden"),Cc(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}jc.$$tippy=!0;var Ic=1,Lc=[],Mc=[];function Pc(e,t){var n,r,i,o,s,a,l,c=Oc(e,Object.assign({},wc,_c(Jl(t)))),u=!1,p=!1,f=!1,d=!1,h=[],g=ql(X,c.interactiveDebounce),v=Ic++,m=null,b=Kl(c.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},x={id:v,reference:e,popper:Ql(),popperInstance:m,props:c,state:y,plugins:b,clearDelayTimeouts:le,setProps:ce,setContent:ue,show:pe,hide:fe,hideWithInteractivity:de,enable:se,disable:ae,unmount:he,destroy:ge};if(!c.render)return x;var w=c.render(x),k=w.popper,E=w.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+x.id,x.popper=k,e._tippy=x,k._tippy=x;var _=b.map((function(e){return e.fn(x)})),S=e.hasAttribute("aria-expanded");return G(),P(),I(),L("onCreate",[x]),c.showOnCreate&&ie(),k.addEventListener("mouseenter",(function(){x.props.interactive&&x.state.isVisible&&x.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(){x.props.interactive&&x.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",g)})),x;function O(){var e=x.props.touch;return Array.isArray(e)?e:[e,0]}function T(){return"hold"===O()[0]}function A(){var e;return!(null==(e=x.props.render)||!e.$$tippy)}function R(){return l||e}function C(){var e=R().parentNode;return e?ac(e):document}function N(){return Nc(k)}function j(e){return x.state.isMounted&&!x.state.isVisible||pc.isTouch||o&&"focus"===o.type?0:zl(x.props.delay,e?0:1,wc.delay)}function I(e){void 0===e&&(e=!1),k.style.pointerEvents=x.props.interactive&&!e?"":"none",k.style.zIndex=""+x.props.zIndex}function L(e,t,n){var r;(void 0===n&&(n=!0),_.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=x.props)[e].apply(r,t)}function M(){var t=x.props.aria;if(t.content){var n="aria-"+t.content,r=k.id,i=Gl(x.props.triggerTarget||e);i.forEach((function(e){var t=e.getAttribute(n);if(x.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function P(){if(!S&&x.props.aria.expanded){var t=Gl(x.props.triggerTarget||e);t.forEach((function(e){x.props.interactive?e.setAttribute("aria-expanded",x.state.isVisible&&e===R()?"true":"false"):e.removeAttribute("aria-expanded")}))}}function D(){C().removeEventListener("mousemove",g),Lc=Lc.filter((function(e){return e!==g}))}function B(t){if(!pc.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!x.props.interactive||!uc(k,n)){if(Gl(x.props.triggerTarget||e).some((function(e){return uc(e,n)}))){if(pc.isTouch)return;if(x.state.isVisible&&x.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[x,t]);!0===x.props.hideOnClick&&(x.clearDelayTimeouts(),x.hide(),p=!0,setTimeout((function(){p=!1})),x.state.isMounted||F())}}}function $(){f=!0}function U(){f=!1}function z(){var e=C();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,$l),e.addEventListener("touchstart",U,$l),e.addEventListener("touchmove",$,$l)}function F(){var e=C();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,$l),e.removeEventListener("touchstart",U,$l),e.removeEventListener("touchmove",$,$l)}function H(e,t){W(e,(function(){!x.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}function q(e,t){W(e,t)}function W(e,t){var n=N().box;function r(e){e.target===n&&(cc(n,"remove",r),t())}if(0===e)return t();cc(n,"remove",s),cc(n,"add",r),s=r}function V(t,n,r){void 0===r&&(r=!1);var i=Gl(x.props.triggerTarget||e);i.forEach((function(e){e.addEventListener(t,n,r),h.push({node:e,eventType:t,handler:n,options:r})}))}function G(){T()&&(V("touchstart",K,{passive:!0}),V("touchend",Z,{passive:!0})),Vl(x.props.trigger).forEach((function(e){if("manual"!==e)switch(V(e,K),e){case"mouseenter":V("mouseleave",Z);break;case"focus":V(bc?"focusout":"blur",J);break;case"focusin":V("focusout",J);break}}))}function Y(){h.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),h=[]}function K(e){var t,n=!1;if(x.state.isEnabled&&!Q(e)&&!p){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,P(),!x.state.isVisible&&nc(e)&&Lc.forEach((function(t){return t(e)})),"click"===e.type&&(x.props.trigger.indexOf("mouseenter")<0||u)&&!1!==x.props.hideOnClick&&x.state.isVisible?n=!0:ie(e),"click"===e.type&&(u=!n),n&&!r&&oe(e)}}function X(e){var t=e.target,n=R().contains(t)||k.contains(t);if("mousemove"!==e.type||!n){var r=re().concat(k).map((function(e){var t,n=e._tippy,r=null==(t=n.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:c}:null})).filter(Boolean);lc(r,e)&&(D(),oe(e))}}function Z(e){var t=Q(e)||x.props.trigger.indexOf("click")>=0&&u;t||(x.props.interactive?x.hideWithInteractivity(e):oe(e))}function J(e){x.props.trigger.indexOf("focusin")<0&&e.target!==R()||x.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||oe(e)}function Q(e){return!!pc.isTouch&&T()!==e.type.indexOf("touch")>=0}function ee(){te();var t=x.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,s=t.moveTransition,l=A()?Nc(k).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||R()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=N(),r=n.box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},u];A()&&l&&p.push({name:"arrow",options:{element:l,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),x.popperInstance=Il(c,k,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:p}))}function te(){x.popperInstance&&(x.popperInstance.destroy(),x.popperInstance=null)}function ne(){var e,t=x.props.appendTo,n=R();e=x.props.interactive&&t===Ul||"parent"===t?n.parentNode:Hl(t,[n]),e.contains(k)||e.appendChild(k),x.state.isMounted=!0,ee()}function re(){return Zl(k.querySelectorAll("[data-tippy-root]"))}function ie(e){x.clearDelayTimeouts(),e&&L("onTrigger",[x,e]),z();var t=j(!0),r=O(),i=r[0],o=r[1];pc.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){x.show()}),t):x.show()}function oe(e){if(x.clearDelayTimeouts(),L("onUntrigger",[x,e]),x.state.isVisible){if(!(x.props.trigger.indexOf("mouseenter")>=0&&x.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=j(!1);t?r=setTimeout((function(){x.state.isVisible&&x.hide()}),t):i=requestAnimationFrame((function(){x.hide()}))}}else F()}function se(){x.state.isEnabled=!0}function ae(){x.hide(),x.state.isEnabled=!1}function le(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)}function ce(t){if(!x.state.isDestroyed){L("onBeforeUpdate",[x,t]),Y();var n=x.props,r=Oc(e,Object.assign({},n,Jl(t),{ignoreAttributes:!0}));x.props=r,G(),n.interactiveDebounce!==r.interactiveDebounce&&(D(),g=ql(X,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Gl(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),P(),I(),E&&E(n,r),x.popperInstance&&(ee(),re().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),L("onAfterUpdate",[x,t])}}function ue(e){x.setProps({content:e})}function pe(){var e=x.state.isVisible,t=x.state.isDestroyed,n=!x.state.isEnabled,r=pc.isTouch&&!x.props.touch,i=zl(x.props.duration,0,wc.duration);if(!(e||t||n||r)&&!R().hasAttribute("disabled")&&(L("onShow",[x],!1),!1!==x.props.onShow(x))){if(x.state.isVisible=!0,A()&&(k.style.visibility="visible"),I(),z(),x.state.isMounted||(k.style.transition="none"),A()){var o=N(),s=o.box,l=o.content;oc([s,l],0)}a=function(){var e;if(x.state.isVisible&&!d){if(d=!0,k.offsetHeight,k.style.transition=x.props.moveTransition,A()&&x.props.animation){var t=N(),n=t.box,r=t.content;oc([n,r],i),sc([n,r],"visible")}M(),P(),Yl(Mc,x),null==(e=x.popperInstance)||e.forceUpdate(),L("onMount",[x]),x.props.animation&&A()&&q(i,(function(){x.state.isShown=!0,L("onShown",[x])}))}},ne()}}function fe(){var e=!x.state.isVisible,t=x.state.isDestroyed,n=!x.state.isEnabled,r=zl(x.props.duration,1,wc.duration);if(!(e||t||n)&&(L("onHide",[x],!1),!1!==x.props.onHide(x))){if(x.state.isVisible=!1,x.state.isShown=!1,d=!1,u=!1,A()&&(k.style.visibility="hidden"),D(),F(),I(!0),A()){var i=N(),o=i.box,s=i.content;x.props.animation&&(oc([o,s],r),sc([o,s],"hidden"))}M(),P(),x.props.animation?A()&&H(r,x.unmount):x.unmount()}}function de(e){C().addEventListener("mousemove",g),Yl(Lc,g),g(e)}function he(){x.state.isVisible&&x.hide(),x.state.isMounted&&(te(),re().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k),Mc=Mc.filter((function(e){return e!==x})),x.state.isMounted=!1,L("onHidden",[x]))}function ge(){x.state.isDestroyed||(x.clearDelayTimeouts(),x.unmount(),Y(),delete e._tippy,x.state.isDestroyed=!0,L("onDestroy",[x]))}}function Dc(e,t){void 0===t&&(t={});var n=wc.plugins.concat(t.plugins||[]);vc();var r=Object.assign({},t,{plugins:n}),i=ic(e),o=i.reduce((function(e,t){var n=t&&Pc(t,r);return n&&e.push(n),e}),[]);return ec(e)?o[0]:o}Dc.defaultProps=wc,Dc.setDefaultProps=Ec,Dc.currentInput=pc;var Bc=Object.assign({},aa,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),$c=function(e,t){var n;void 0===t&&(t={});var r,i=e,o=[],s=[],a=t.overrides,l=[],c=!1;function u(){s=i.map((function(e){return Gl(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function p(){o=i.map((function(e){return e.reference}))}function f(e){i.forEach((function(t){e?t.enable():t.disable()}))}function d(e){return i.map((function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}}))}function h(e,t){var n=s.indexOf(t);if(t!==r){r=t;var l=(a||[]).concat("content").reduce((function(e,t){return e[t]=i[n].props[t],e}),{});e.setProps(Object.assign({},l,{getReferenceClientRect:"function"===typeof l.getReferenceClientRect?l.getReferenceClientRect:function(){var e;return null==(e=o[n])?void 0:e.getBoundingClientRect()}}))}}f(!1),p(),u();var g={fn:function(){return{onDestroy:function(){f(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,h(e,o[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},v=Dc(Ql(),Object.assign({},Wl(t,["overrides"]),{plugins:[g].concat(t.plugins||[]),triggerTarget:s,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[Bc])})})),m=v.show;v.show=function(e){if(m(),!r&&null==e)return h(v,o[0]);if(!r||null!=e){if("number"===typeof e)return o[e]&&h(v,o[e]);if(i.indexOf(e)>=0){var t=e.reference;return h(v,t)}return o.indexOf(e)>=0?h(v,e):void 0}},v.showNext=function(){var e=o[0];if(!r)return v.show(0);var t=o.indexOf(r);v.show(o[t+1]||e)},v.showPrevious=function(){var e=o[o.length-1];if(!r)return v.show(e);var t=o.indexOf(r),n=o[t-1]||e;v.show(n)};var b=v.setProps;return v.setProps=function(e){a=e.overrides||a,b(e)},v.setInstances=function(e){f(!0),l.forEach((function(e){return e()})),i=e,f(!1),p(),u(),l=d(v),v.setProps({triggerTarget:s})},l=d(v),v},Uc={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=Nc(e.popper),r=n.box,i=n.content,o=e.props.animateFill?zc():null;return{onCreate:function(){o&&(r.insertBefore(o,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));i.style.transitionDelay=Math.round(t/10)+"ms",o.style.transitionDuration=e,sc([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&sc([o],"hidden")}}}};function zc(){var e=Ql();return e.className=Pl,sc([e],"hidden"),e}var Fc={clientX:0,clientY:0},Hc=[];function qc(e){var t=e.clientX,n=e.clientY;Fc={clientX:t,clientY:n}}function Wc(e){e.addEventListener("mousemove",qc)}function Vc(e){e.removeEventListener("mousemove",qc)}var Gc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=ac(e.props.triggerTarget||t),r=!1,i=!1,o=!0,s=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",p)}function c(){n.removeEventListener("mousemove",p)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function p(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,s=n.clientY,a=t.getBoundingClientRect(),l=o-a.left,c=s-a.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=s;"initial"===i&&(n=e.left+l,r=e.top+c);var a="horizontal"===i?e.top:r,u="vertical"===i?e.right:n,p="horizontal"===i?e.bottom:r,f="vertical"===i?e.left:n;return{width:u-f,height:p-a,top:a,right:u,bottom:p,left:f}}})}function f(){e.props.followCursor&&(Hc.push({instance:e,doc:n}),Wc(n))}function d(){Hc=Hc.filter((function(t){return t.instance!==e})),0===Hc.filter((function(e){return e.doc===n})).length&&Vc(n)}return{onCreate:f,onDestroy:d,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&s.followCursor!==o&&(d(),o?(f(),!e.state.isMounted||i||a()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!i&&(o&&(p(Fc),o=!1),a()||l())},onTrigger:function(e,t){nc(t)&&(Fc={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),o=!0)}}}};function Yc(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){var n=e.name;return n!==t.name})),[t])})}}var Kc={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;function r(){return!!e.props.inlinePositioning}var i=-1,o=!1,s=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(n){var i=n.state;r()&&(-1!==s.indexOf(i.placement)&&(s=[]),t!==i.placement&&-1===s.indexOf(i.placement)&&(s.push(i.placement),e.setProps({getReferenceClientRect:function(){return l(i.placement)}})),t=i.placement)}};function l(e){return Xc(Xl(e),n.getBoundingClientRect(),Zl(n.getClientRects()),i)}function c(t){o=!0,e.setProps(t),o=!1}function u(){o||c(Yc(e.props,a))}return{onCreate:u,onAfterUpdate:u,onTrigger:function(t,n){if(nc(n)){var r=Zl(e.reference.getClientRects()),o=r.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),s=r.indexOf(o);i=s>-1?s:i}},onHidden:function(){i=-1}}}};function Xc(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],s="top"===e,a=i.top,l=o.bottom,c=s?i.left:o.left,u=s?i.right:o.right,p=u-c,f=l-a;return{top:a,bottom:l,left:c,right:u,width:p,height:f};case"left":case"right":var d=Math.min.apply(Math,n.map((function(e){return e.left}))),h=Math.max.apply(Math,n.map((function(e){return e.right}))),g=n.filter((function(t){return"left"===e?t.left===d:t.right===h})),v=g[0].top,m=g[g.length-1].bottom,b=d,y=h,x=y-b,w=m-v;return{top:v,bottom:m,left:b,right:y,width:x,height:w};default:return t}}var Zc={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(){return e.popperInstance?e.popperInstance.state.elements.reference:t}function i(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,s=null;function a(){var t=i("reference")?r().getBoundingClientRect():null,l=i("popper")?n.getBoundingClientRect():null;(t&&Jc(o,t)||l&&Jc(s,l))&&e.popperInstance&&e.popperInstance.update(),o=t,s=l,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Jc(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}function Qc(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=Gi(),i=xt(),o=xt({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=wt();let a=null;const l=()=>a||(a=document.createDocumentFragment(),a),c=e=>{let t,i=yt(e)?e.value:e;return Ai(i)?(s.value||(s.value=ms({name:n.appName,setup:()=>()=>yt(e)?e.value:e}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(l())),t=()=>l()):"object"===typeof i?(s.value||(s.value=ms({name:n.appName,setup:()=>()=>fo(yt(e)?e.value:e)}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(l())),t=()=>l()):t=i,t},u=e=>{let t={};return t=yt(e)?e.value||{}:(pt(e),{...e}),t.content&&(t.content=c(t.content)),t.triggerTarget&&(t.triggerTarget=yt(t.triggerTarget)?t.triggerTarget.value:t.triggerTarget),t.plugins&&Array.isArray(t.plugins)||(t.plugins=[]),t.plugins=t.plugins.filter((e=>"vueTippyReactiveState"!==e.name)),t.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){o.value.isEnabled=!0},onMount(){o.value.isMounted=!0},onShow(){o.value.isMounted=!0,o.value.isVisible=!0},onShown(){o.value.isShown=!0},onHide(){o.value.isMounted=!1,o.value.isVisible=!1},onHidden(){o.value.isShown=!1},onUnmounted(){o.value.isMounted=!1},onDestroy(){o.value.isDestroyed=!0}})}),t},p=()=>{i.value&&i.value.setProps(u(t))},f=()=>{i.value&&t.content&&i.value.setContent(c(t.content))},d=e=>{var t;null===(t=i.value)||void 0===t||t.setContent(c(e))},h=e=>{var t;null===(t=i.value)||void 0===t||t.setProps(u(e))},g=()=>{var e;i.value&&(i.value.destroy(),i.value=void 0),a=null,null===(e=s.value)||void 0===e||e.unmount(),s.value=void 0},v=()=>{var e;null===(e=i.value)||void 0===e||e.show()},m=()=>{var e;null===(e=i.value)||void 0===e||e.hide()},b=()=>{var e;null===(e=i.value)||void 0===e||e.disable(),o.value.isEnabled=!1},y=()=>{var e;null===(e=i.value)||void 0===e||e.enable(),o.value.isEnabled=!0},x=()=>{var e;null===(e=i.value)||void 0===e||e.unmount()},w=()=>{if(!e)return;let n=yt(e)?e.value:e;"function"===typeof n&&(n=n()),n&&(i.value=Dc(n,u(t)),n.$tippy=k)},k={tippy:i,refresh:p,refreshContent:f,setContent:d,setProps:h,destroy:g,hide:m,show:v,disable:b,enable:y,unmount:x,mount:w,state:o};return n.mount&&(r?r.isMounted?w():Bn(w):w()),r&&Fn((()=>{g()})),yt(t)||pt(t)?ii(t,p,{immediate:!1}):yt(t.content)&&ii(t.content,f,{immediate:!1}),k}function eu(e,t){const n=xt();return Bn((()=>{const r=Array.isArray(e)?e.map((e=>e.value)):"function"===typeof e?e():e.value,i=r.map((e=>e instanceof Element?e._tippy:e)).filter(Boolean);n.value=$c(i,t?{allowHTML:!0,...t}:{allowHTML:!0})})),{singleton:n}}function tu(e){return"function"===typeof e?e():_t(e)}function nu(e){var t,n;const r=tu(e);return null!==(n=null===(t=r)||void 0===t?void 0:t.$el)&&void 0!==n?n:r}Dc.setDefaultProps({render:jc}),Dc.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});En({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Dc.defaultProps["appendTo"]},aria:{default:()=>Dc.defaultProps["aria"]},delay:{default:()=>Dc.defaultProps["delay"]},duration:{default:()=>Dc.defaultProps["duration"]},getReferenceClientRect:{default:()=>Dc.defaultProps["getReferenceClientRect"]},hideOnClick:{type:[Boolean,String],default:()=>Dc.defaultProps["hideOnClick"]},ignoreAttributes:{type:Boolean,default:()=>Dc.defaultProps["ignoreAttributes"]},interactive:{type:Boolean,default:()=>Dc.defaultProps["interactive"]},interactiveBorder:{default:()=>Dc.defaultProps["interactiveBorder"]},interactiveDebounce:{default:()=>Dc.defaultProps["interactiveDebounce"]},moveTransition:{default:()=>Dc.defaultProps["moveTransition"]},offset:{default:()=>Dc.defaultProps["offset"]},onAfterUpdate:{default:()=>Dc.defaultProps["onAfterUpdate"]},onBeforeUpdate:{default:()=>Dc.defaultProps["onBeforeUpdate"]},onCreate:{default:()=>Dc.defaultProps["onCreate"]},onDestroy:{default:()=>Dc.defaultProps["onDestroy"]},onHidden:{default:()=>Dc.defaultProps["onHidden"]},onHide:{default:()=>Dc.defaultProps["onHide"]},onMount:{default:()=>Dc.defaultProps["onMount"]},onShow:{default:()=>Dc.defaultProps["onShow"]},onShown:{default:()=>Dc.defaultProps["onShown"]},onTrigger:{default:()=>Dc.defaultProps["onTrigger"]},onUntrigger:{default:()=>Dc.defaultProps["onUntrigger"]},onClickOutside:{default:()=>Dc.defaultProps["onClickOutside"]},placement:{default:()=>Dc.defaultProps["placement"]},plugins:{default:()=>Dc.defaultProps["plugins"]},popperOptions:{default:()=>Dc.defaultProps["popperOptions"]},render:{default:()=>Dc.defaultProps["render"]},showOnCreate:{type:Boolean,default:()=>Dc.defaultProps["showOnCreate"]},touch:{type:[Boolean,String,Array],default:()=>Dc.defaultProps["touch"]},trigger:{default:()=>Dc.defaultProps["trigger"]},triggerTarget:{default:()=>Dc.defaultProps["triggerTarget"]},animateFill:{type:Boolean,default:()=>Dc.defaultProps["animateFill"]},followCursor:{type:[Boolean,String],default:()=>Dc.defaultProps["followCursor"]},inlinePositioning:{type:Boolean,default:()=>Dc.defaultProps["inlinePositioning"]},sticky:{type:[Boolean,String],default:()=>Dc.defaultProps["sticky"]},allowHTML:{type:Boolean,default:()=>Dc.defaultProps["allowHTML"]},animation:{default:()=>Dc.defaultProps["animation"]},arrow:{default:()=>Dc.defaultProps["arrow"]},content:{default:()=>Dc.defaultProps["content"]},inertia:{default:()=>Dc.defaultProps["inertia"]},maxWidth:{default:()=>Dc.defaultProps["maxWidth"]},role:{default:()=>Dc.defaultProps["role"]},theme:{default:()=>Dc.defaultProps["theme"]},zIndex:{default:()=>Dc.defaultProps["zIndex"]}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const i=xt(),o=xt(),s=xt(),a=xt(!1),l=()=>{let t={...e};for(const e of["to","tag","contentTag","contentClass"])t.hasOwnProperty(e)&&delete t[e];return t};let c=()=>nu(i);e.to&&("undefined"!==typeof Element&&e.to instanceof Element?c=()=>e.to:"parent"===e.to?c=()=>{let e=i.value;return e||(e=i.value=o.value.parentElement),e}:("string"===typeof e.to||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const u=Qc(c,l());let p=t.content;p||"parent"!==e.to||(p=t.default),Bn((()=>{a.value=!0,Vt((()=>{p&&u.setContent((()=>s.value))}))})),ii(u.state,(()=>{n("state",_t(u.state))}),{immediate:!0,deep:!0}),ii((()=>e),(()=>{u.setProps(l()),p&&u.setContent((()=>s.value))}),{deep:!0});let f=at({elem:i,contentElem:s,mounted:a,...u});return r(f),()=>{const n=(e.contentTag,e.contentTag),r=p?fo(n,{ref:s,style:{display:a.value?"inherit":"none"},class:e.contentClass},p(f)):null;if("parent"===e.to){const e=[];if(!i.value){const t=fo("span",{ref:o,"data-v-tippy":"",style:{display:"none"}});e.push(t)}return r&&e.push(r),e}const l=t.default?t.default(f):[];if(!e.tag){const e=fo(l[0],{ref:i,"data-v-tippy":""});return r?[e,r]:e}const c=(e.tag,e.tag);return fo(c,{ref:i,"data-v-tippy":""},r?[l,r]:l)}}});const ru=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let iu={};Object.keys(Dc.defaultProps).forEach((e=>{ru.includes(e)?iu[e]={type:Boolean,default:function(){return Dc.defaultProps[e]}}:iu[e]={default:function(){return Dc.defaultProps[e]}}}));En({props:iu,setup(e){const t=xt([]),{singleton:n}=eu(t,e);return{instances:t,singleton:n}},mounted(){var e;const t=this.$el.parentElement,n=t.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map((e=>e._tippy)).filter(Boolean),null===(e=this.singleton)||void 0===e||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return fo((()=>e))}});const ou=Dc.setDefaultProps;ou({ignoreAttributes:!0,plugins:[Zc,Kc,Gc,Uc]});n(2661),n(4575);var su={props:["button","class","content"],setup:function(e,t){t.slots;var n=xt(null),r=Qc(n,{trigger:"manual",interactive:!0,placement:"bottom-start",offset:[0,4],animation:"shift-away",maxWidth:"none",content:{setup:function(){return function(){return Ii("div",{class:e["class"]},[e.content])}}}}),i=r.show;return function(){return Ii("button",{ref:n,class:["dropdown-button",e["class"]],onClick:function(){return i()}},[e.button])}}},au=(n(8543),n(9978),n(1889),{props:["endpoint"],setup:function(e){var t=at({tab:"curl",busy:!1}),n=at({"API Key":ld.API_KEY}),r=cu(e.endpoint),i=r.filter((function(e){return"header"===e["in"]})),o=r.filter((function(e){return"path"===e["in"]})),s=r.filter((function(e){return"query"===e["in"]})),a=r.filter((function(e){return"body"===e["in"]}));function l(){return c.apply(this,arguments)}function c(){return c=Co(vo().mark((function r(){var i,o,s,a;return vo().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.busy=!0,r.next=3,hu(e.endpoint,n);case 3:i=r.sent,o=To(i,2),s=o[0],a=o[1],t.status=s,t.res=a,t.busy=!1;case 10:case"end":return r.stop()}}),r)}))),c.apply(this,arguments)}function u(){var e,t=Ao(r);try{for(t.s();!(e=t.n()).done;){var i=e.value;if(i.required&&!n[i.name])return!0}}catch(o){t.e(o)}finally{t.f()}return!1}return function(){return Ii("div",{class:"try-it"},[Ii("div",{class:"parameters"},[(null===i||void 0===i?void 0:i.length)>0&&Ii("div",{class:"params headers"},[Ii("h3",null,[Di("Headers")]),i.map((function(e){return lu(e,n)}))]),(null===o||void 0===o?void 0:o.length)>0&&Ii("div",{class:"params path-params"},[Ii("h3",null,[Di("Path parameters")]),o.map((function(e){return lu(e,n)}))]),(null===s||void 0===s?void 0:s.length)>0&&Ii("div",{class:"params query-params"},[Ii("h3",null,[Di("Query parameters")]),s.map((function(e){return lu(e,n)}))]),(null===a||void 0===a?void 0:a.length)>0&&Ii("div",{class:"params body-params"},[Ii("h3",null,[Di("Body parameters")]),a.map((function(e){return lu(e,n)}))])]),Ii("div",{class:"code-examples"},[Ii("ul",{role:"tablist"},[Ii("li",{class:["tab-success",{selected:"curl"===t.tab}],onClick:function(){return t.tab="curl"},role:"tab","aria-selected":"true","aria-disabled":"false"},[Di("cURL")]),Ii("li",{class:["tab-success",{selected:"python"===t.tab}],onClick:function(){return t.tab="python"},role:"tab","aria-selected":"false","aria-disabled":"false"},[Di("Python")]),Ii("li",{class:["tab-success",{selected:"js"===t.tab}],onClick:function(){return t.tab="js"},role:"tab","aria-selected":"false","aria-disabled":"false"},[Di("Javascript")])]),Ii("div",null,["curl"===t.tab&&Ii(Rs,{lang:"shell",src:pu(e.endpoint,n)},null),"python"===t.tab&&Ii(Rs,{lang:"python",src:fu(e.endpoint,n)},null),"js"===t.tab&&Ii(Rs,{lang:"javascript",src:du(e.endpoint,n)},null)]),(t.res&&t.status||t.busy)&&Ii("div",{class:"results"},[Ii("h3",null,[Di("Response")]),t.res&&t.status&&Ii(Rs,{lang:"json",class:t.status,src:t.res},null),t.busy&&Ii("div",{class:"ui-spinner"},null)]),Ii("footer",null,[Ii("button",{type:"submit",disabled:t.busy||u(),onClick:l},[Di("Send")])])])])}}}),lu=function(e,t){var n=e.name,r=e.required;return Ii("div",{class:"field"},[Ii("label",null,[n,Di(" "),Ii("span",{class:"required"},[!!r&&"*"])]),Ii("input",{class:{error:!t[n]&&r},onInput:function(e){var r=e.target;return t[n]=r.value},value:t[n]||"",placeholder:r?"required":"",name:"sekoia-".concat(n),type:"API Key"===n?"password":"text"},null)])};function cu(e){var t,n,r=[];r.push({name:"API Key",in:"header",required:!0}),r.push.apply(r,Es(e.parameters||[]));var i,o=Ao(e.path.matchAll(/\{([^:\}]+)(:([^:\}]+))?\}/g));try{var s=function(){var e=i.value;r.find((function(t){return t.name===e[1]&&"path"===t["in"]}))||r.push({name:e[1],in:"path",schema:{type:e[3]||"any"}})};for(o.s();!(i=o.n()).done;)s()}catch(g){o.e(g)}finally{o.f()}var a=null===(t=e.requestBody)||void 0===t||null===(t=t.content)||void 0===t||null===(t=t["application/json"])||void 0===t?void 0:t.schema;if(null!==(n=a)&&void 0!==n&&n["$ref"]){var l,c;a=null===(l=a)||void 0===l||null===(l=l["$ref"])||void 0===l?void 0:l.replace(/^#\/components\/schemas\//,"");var u=(null===(c=ld.schema.components)||void 0===c||null===(c=c.schemas)||void 0===c||null===(c=c[a])||void 0===c?void 0:c.properties)||{};for(var p in u)r.push({name:p,in:"body"})}else{var f,d=(null===(f=a)||void 0===f?void 0:f.properties)||{};for(var h in d)r.push({name:h,in:"body"})}return r.filter((function(e){return!["authorization","access_token_cookie"].includes(e.name)}))}function uu(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.inline_query_params,o=void 0===i||i;ld.API_KEY=t["API Key"];var s,a=e.method.toUpperCase(),l=((null===(n=ld.schema.servers[0])||void 0===n?void 0:n.url)||"")+e.path,c=cu(e),u=Ao(c);try{for(u.s();!(s=u.n()).done;){var p=s.value;p.value=t[p.name]}}catch(b){u.e(b)}finally{u.f()}var f,d,h=!(null===c||void 0===c||!c.find((function(e){return"body"===e["in"]}))),g=null===c||void 0===c?void 0:c.filter((function(e){return"body"===e["in"]&&![void 0,""].includes(e.value)})),v={Authorization:"Bearer "};if(l=l.replaceAll(/\{([^:\}]+)(:[^\}:]+)?\}/g,(function(e,t){var n;return(null===(n=c.find((function(e){return"path"===e["in"]&&e.name===t})))||void 0===n?void 0:n.value)||""})),"GET"===a)d=c.filter((function(e){return"query"===e["in"]&&""!==e.value&&void 0!==e.value})).map((function(e){return[e.name,e.value]})),o&&(l+="?"+new URLSearchParams(Object.fromEntries(d)));else if(h){for(var m in f=Object.fromEntries(g.map((function(e){return[e.name,e.value]}))),f)try{f[m]=JSON.parse(f[m])}catch(y){}v["Content-Type"]="application/json",f=JSON.stringify(f)}return{method:a,url:l,headers:v,body:f,query_params:d}}function pu(e,t){var n=uu(e,t),r=n.url,i=n.headers,o=n.body,s="curl -X ".concat(e.method.toUpperCase()," ").concat(r);return Object.entries(i).forEach((function(e){var t=To(e,2),n=t[0],r=t[1];return s+=" -H '".concat(n,":").concat(r,"'")})),o&&(s+=" --data-raw '".concat(o,"'")),s}function fu(e,t){var n=uu(e,t,{inline_query_params:!1}),r=n.url,i=n.headers,o=n.body,s=n.query_params,a='import requests\nimport json\n\nresult = requests.request(\n "'.concat(e.method.toUpperCase(),'",\n "').concat(r,'",\n');return s&&(a+=" params=".concat(JSON.stringify(Object.fromEntries(s),null,4).replaceAll("\n","\n "),",\n")),o&&(a+=" json=".concat(JSON.stringify(JSON.parse(o),null,4).replaceAll("\n","\n "),",\n")),i&&(a+=" headers=".concat(JSON.stringify(i,null,4).replaceAll("\n","\n "),",\n")),a+=").json()\nprint(json.dumps(result, indent=4))\n ",a}function du(e,t){var n=uu(e,t),r=n.url,i=n.headers,o=n.body,s='await fetch("'.concat(r,'", {\n method: "').concat(e.method.toUpperCase(),'",\n');return o&&(s+=" body: `".concat(JSON.stringify(JSON.parse(o),null,4).replaceAll("\n","\n "),"`,\n")),i&&(s+=" headers: ".concat(JSON.stringify(i,null,4).replaceAll("\n","\n "),",\n")),s+="}).then(res=>res.json())\n ",s}function hu(e,t){return gu.apply(this,arguments)}function gu(){return gu=Co(vo().mark((function e(t,n){var r,i,o,s,a,l,c,u;return vo().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=uu(t,n),i=r.url,o=r.headers,s=r.body,o=wo(wo({},o),{},{accept:"application/json",Authorization:"Bearer ".concat(n["API Key"])}),e.next=4,fetch(i,{method:t.method,body:s,headers:o}).then(function(){var e=Co(vo().mark((function e(t){return vo().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.status>=400)){e.next=7;break}return e.t0="Error ".concat(t.status,"\n"),e.next=4,t.text();case 4:return e.t1=e.sent,e.t2=e.t0.concat.call(e.t0,e.t1,"}"),e.abrupt("return",["error",e.t2]);case 7:return e.t3=JSON,e.next=10,t.json();case 10:return e.t4=e.sent,e.t5=e.t3.stringify.call(e.t3,e.t4,null,4),e.abrupt("return",["success",e.t5]);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())["catch"]((function(e){return["error","".concat(e)]}));case 4:return a=e.sent,l=To(a,2),c=l[0],u=l[1],e.abrupt("return",[c,u]);case 9:case"end":return e.stop()}}),e)}))),gu.apply(this,arguments)}n(7282);var vu=function(e){return e.replace(" ","-")},mu=Ii("svg",{class:"nav-chevron",version:"1.1",viewBox:"0 0 24 24",x:"0",xmlns:"http://www.w3.org/2000/svg",y:"0","aria-hidden":"true"},[Ii("polygon",{points:"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "},null)]);function bu(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=(e.type,e.properties),n={};for(var r in t){var i=t[r];n[r]=wu(i,r)}return JSON.stringify(n,null,2)}function wu(e){var t,n,r,i,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=null;if(!e)return null;if(e.$ref)return null===a&&(a={}),null!==(n=a)&&void 0!==n&&n[e.$ref]?{}:(a[e.$ref]=!0,wu(pd(e.$ref),s,a));if((null===(t=e.anyOf)||void 0===t?void 0:t.length)>0){var c,u=Ao(e.anyOf);try{for(u.s();!(c=u.n()).done;){var p=c.value;if("null"!==p.type)return wu(p,s,a)}}catch(g){u.e(g)}finally{u.f()}}if("integer"===e.type)l=e.minimum||0;else if("number"===e.type)l=(e.minimum||0)+0;else if("string"===e.type){var f,d;l="description"===s?"This is a *description*":["uuid","community_uuid"].includes(s)?crypto.randomUUID():"email"===s?"johndoe@example.com":"uuid"===e.format?crypto.randomUUID():"date-time"===e.format?(new Date).toISOString():"date"===e.format?(new Date).toDateString():e["default"]?e["default"]:null!==(f=e["enum"])&&void 0!==f&&f[0]?null===(d=e["enum"])||void 0===d?void 0:d[0]:"".concat(s.toLowerCase().replace(/_/g," "))}else if("boolean"===e.type)l=!0;else if("array"===e.type)l=[wu(e.items,s,a)];else if("object"===e.type)if(void 0===e.properties)l={};else for(var h in l={},e.properties)l[h]=wu(e.properties[h],h,a);return null===l?null!==(r=e.schema)&&void 0!==r&&r.type||null!==(i=e.schema)&&void 0!==i&&i.anyOf?wu(wo(wo({},e.schema),e),s,a):null!==(o=e.schema)&&void 0!==o&&o.$ref?wu(pd(e.schema.$ref),s,a):null:l}function ku(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Eu=ku();function _u(e){Eu=e}const Su={exec:()=>null};function Ou(e,t=""){let n="string"===typeof e?e:e.source;const r={replace:(e,t)=>{let i="string"===typeof t?t:t.source;return i=i.replace(Tu.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}const Tu={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Au=/^(?:[ \t]*(?:\n|$))+/,Ru=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Cu=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Nu=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ju=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Iu=/(?:[*+-]|\d{1,9}[.)])/,Lu=Ou(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Iu).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Mu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Pu=/^[^\n]+/,Du=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Bu=Ou(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Du).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),$u=Ou(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Iu).getRegex(),Uu="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",zu=/|$))/,Fu=Ou("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",zu).replace("tag",Uu).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Hu=Ou(Mu).replace("hr",Nu).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Uu).getRegex(),qu=Ou(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Hu).getRegex(),Wu={blockquote:qu,code:Ru,def:Bu,fences:Cu,heading:ju,hr:Nu,html:Fu,lheading:Lu,list:$u,newline:Au,paragraph:Hu,table:Su,text:Pu},Vu=Ou("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Nu).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Uu).getRegex(),Gu={...Wu,table:Vu,paragraph:Ou(Mu).replace("hr",Nu).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Vu).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Uu).getRegex()},Yu={...Wu,html:Ou("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",zu).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Su,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ou(Mu).replace("hr",Nu).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Lu).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ku=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Xu=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Zu=/^( {2,}|\\)\n(?!\s*$)/,Ju=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,np=Ou(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Qu).getRegex(),rp=Ou("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Qu).getRegex(),ip=Ou("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Qu).getRegex(),op=Ou(/\\([punct])/,"gu").replace(/punct/g,Qu).getRegex(),sp=Ou(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ap=Ou(zu).replace("(?:--\x3e|$)","--\x3e").getRegex(),lp=Ou("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",ap).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),cp=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,up=Ou(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",cp).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),pp=Ou(/^!?\[(label)\]\[(ref)\]/).replace("label",cp).replace("ref",Du).getRegex(),fp=Ou(/^!?\[(ref)\](?:\[\])?/).replace("ref",Du).getRegex(),dp=Ou("reflink|nolink(?!\\()","g").replace("reflink",pp).replace("nolink",fp).getRegex(),hp={_backpedal:Su,anyPunctuation:op,autolink:sp,blockSkip:tp,br:Zu,code:Xu,del:Su,emStrongLDelim:np,emStrongRDelimAst:rp,emStrongRDelimUnd:ip,escape:Ku,link:up,nolink:fp,punctuation:ep,reflink:pp,reflinkSearch:dp,tag:lp,text:Ju,url:Su},gp={...hp,link:Ou(/^!?\[(label)\]\((.*?)\)/).replace("label",cp).getRegex(),reflink:Ou(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",cp).getRegex()},vp={...hp,escape:Ou(Ku).replace("])","~|])").getRegex(),url:Ou(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},wp=e=>xp[e];function kp(e,t){if(t){if(Tu.escapeTest.test(e))return e.replace(Tu.escapeReplace,wp)}else if(Tu.escapeTestNoEncode.test(e))return e.replace(Tu.escapeReplaceNoEncode,wp);return e}function Ep(e){try{e=encodeURI(e).replace(Tu.percentDecode,"%")}catch{return null}return e}function _p(e,t){const n=e.replace(Tu.findPipe,((e,t,n)=>{let r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(Tu.splitPipe);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else while(r.length{const t=e.match(n.other.beginningSpace);if(null===t)return e;const[r]=t;return r.length>=i.length?e.slice(i.length):e})).join("\n")}class Rp{options;rules;lexer;constructor(e){this.options=e||Eu}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Sp(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=Ap(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){const t=Sp(e,"#");this.options.pedantic?e=t.trim():t&&!this.rules.other.endingSpaceChar.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Sp(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=Sp(t[0],"\n").split("\n"),n="",r="";const i=[];while(e.length>0){let t=!1;const o=[];let s;for(s=0;s1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let s=!1;while(e){let n=!1,r="",a="";if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],u=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):u?p=t[1].length+1:(p=t[2].search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),i=this.rules.other.fencesBeginRegex(p),o=this.rules.other.headingBeginRegex(p),s=this.rules.other.htmlBeginRegex(p);while(e){const f=e.split("\n",1)[0];let d;if(c=f,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),d=c):d=c.replace(this.rules.other.tabCharGlobal," "),i.test(c))break;if(o.test(c))break;if(s.test(c))break;if(t.test(c))break;if(n.test(c))break;if(d.search(this.rules.other.nonSpaceChar)>=p||!c.trim())a+="\n"+d.slice(p);else{if(u)break;if(l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4)break;if(i.test(l))break;if(o.test(l))break;if(n.test(l))break;a+="\n"+c}u||c.trim()||(u=!0),r+=f+"\n",e=e.substring(f.length+1),l=d.slice(p)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0));let f,d=null;this.options.gfm&&(d=this.rules.other.listIsTask.exec(a),d&&(f="[ ] "!==d[0],a=a.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:r,task:!!d,checked:f,loose:!1,text:a,tokens:[]}),i.raw+=r}const a=i.items.at(-1);a&&(a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd()),i.raw=i.raw.trimEnd();for(let e=0;e"space"===e.type)),n=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));i.loose=n}if(i.loose)for(let e=0;e({text:e,tokens:this.lexer.inline(e),header:!1,align:o.align[t]}))));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;const t=Sp(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=Op(t[2],"()");if(e>-1){const n=0===t[0].indexOf("!")?5:4,r=n+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),Tp(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=t[e.toLowerCase()];if(!r){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Tp(n,r,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;const i=r[1]||r[2]||"";if(!i||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let i,o,s=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;l.lastIndex=0,t=t.slice(-1*e.length+n);while(null!=(r=l.exec(t))){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].length,r[3]||r[4]){s+=o;continue}if((r[5]||r[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+o);if(Math.min(n,o)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," ");const n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=t[0],n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}}class Cp{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Eu,this.options.tokenizer=this.options.tokenizer||new Rp,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:Tu,block:bp.normal,inline:yp.normal};this.options.pedantic?(t.block=bp.pedantic,t.inline=yp.pedantic):this.options.gfm&&(t.block=bp.gfm,this.options.breaks?t.inline=yp.breaks:t.inline=yp.gfm),this.tokenizer.rules=t}static get rules(){return{block:bp,inline:yp}}static lex(e,t){const n=new Cp(t);return n.lex(e)}static lexInline(e,t){const n=new Cp(t);return n.inlineTokens(e)}lex(e){e=e.replace(Tu.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0))))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);const n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);const n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.heading(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.hr(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.blockquote(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.list(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.html(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);const n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.lheading(e)){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((e=>{r=e.call({lexer:this},n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){const o=t.at(-1);n&&"paragraph"===o?.type?(o.raw+="\n"+r.raw,o.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length)}else if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);const n=t.at(-1);"text"===n?.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)while(null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(n)))e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(r=this.tokenizer.rules.inline.blockSkip.exec(n)))n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(n)))n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i=!1,o="";while(e){let r;if(i||(o=""),i=!1,this.options.extensions?.inline?.some((n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0))))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);const n=t.at(-1);"text"===r.type&&"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,o)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let s=e;if(this.options.extensions?.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((e=>{r=e.call({lexer:this},n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(s)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),i=!0;const n=t.at(-1);"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r)}else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}}class Np{options;parser;constructor(e){this.options=e||Eu}space(e){return""}code({text:e,lang:t,escaped:n}){const r=(t||"").match(Tu.notSpaceStart)?.[0],i=e.replace(Tu.endingNewline,"")+"\n";return r?'
'+(n?i:kp(i,!0))+"
\n":"
"+(n?i:kp(i,!0))+"
\n"}blockquote({tokens:e}){const t=this.parser.parse(e);return`
\n${t}
\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`${this.parser.parseInline(e)}\n`}hr(e){return"
\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let s=0;s\n"+r+"\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+kp(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`
  • ${t}
  • \n`}checkbox({checked:e}){return"'}paragraph({tokens:e}){return`

    ${this.parser.parseInline(e)}

    \n`}table(e){let t="",n="";for(let i=0;i${r}`),"\n\n"+t+"\n"+r+"
    \n"}tablerow({text:e}){return`\n${e}\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td",r=e.align?`<${n} align="${e.align}">`:`<${n}>`;return r+t+`\n`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${kp(e,!0)}`}br(e){return"
    "}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),i=Ep(e);if(null===i)return r;e=i;let o='
    ",o}image({href:e,title:t,text:n}){const r=Ep(e);if(null===r)return kp(n);e=r;let i=`${n}{const i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new Np(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n,i=e.renderer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new Rp(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,i=e.tokenizer[r],o=t[r];t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Lp;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;const r=n,i=e.hooks[r],o=t[r];Lp.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(i.call(t,e)).then((e=>o.call(t,e)));const n=i.call(t,e);return o.call(t,n)}:t[r]=(...e)=>{let n=i.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Cp.lex(e,t??this.defaults)}parser(e,t){return Ip.parse(e,t??this.defaults)}parseMarkdown(e){const t=(t,n)=>{const r={...n},i={...this.defaults,...r},o=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if("undefined"===typeof t||null===t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);const s=i.hooks?i.hooks.provideLexer():e?Cp.lex:Cp.lexInline,a=i.hooks?i.hooks.provideParser():e?Ip.parse:Ip.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then((e=>s(e,i))).then((e=>i.hooks?i.hooks.processAllTokens(e):e)).then((e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then((()=>e)):e)).then((e=>a(e,i))).then((e=>i.hooks?i.hooks.postprocess(e):e)).catch(o);try{i.hooks&&(t=i.hooks.preprocess(t));let e=s(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=a(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(fd){return o(fd)}};return t}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="

    An error occurred:

    "+kp(n.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}}const Pp=new Mp;function Dp(e,t){return Pp.parse(e,t)}Dp.options=Dp.setOptions=function(e){return Pp.setOptions(e),Dp.defaults=Pp.defaults,_u(Dp.defaults),Dp},Dp.getDefaults=ku,Dp.defaults=Eu,Dp.use=function(...e){return Pp.use(...e),Dp.defaults=Pp.defaults,_u(Dp.defaults),Dp},Dp.walkTokens=function(e,t){return Pp.walkTokens(e,t)},Dp.parseInline=Pp.parseInline,Dp.Parser=Ip,Dp.parser=Ip.parse,Dp.Renderer=Np,Dp.TextRenderer=jp,Dp.Lexer=Cp,Dp.lexer=Cp.lex,Dp.Tokenizer=Rp,Dp.Hooks=Lp,Dp.parse=Dp;Dp.options,Dp.setOptions,Dp.use,Dp.walkTokens,Dp.parseInline,Ip.parse,Cp.lex;const{entries:Bp,setPrototypeOf:$p,isFrozen:Up,getPrototypeOf:zp,getOwnPropertyDescriptor:Fp}=Object;let{freeze:Hp,seal:qp,create:Wp}=Object,{apply:Vp,construct:Gp}="undefined"!==typeof Reflect&&Reflect;Hp||(Hp=function(e){return e}),qp||(qp=function(e){return e}),Vp||(Vp=function(e,t,n){return e.apply(t,n)}),Gp||(Gp=function(e,t){return new e(...t)});const Yp=af(Array.prototype.forEach),Kp=af(Array.prototype.pop),Xp=af(Array.prototype.push),Zp=af(String.prototype.toLowerCase),Jp=af(String.prototype.toString),Qp=af(String.prototype.match),ef=af(String.prototype.replace),tf=af(String.prototype.indexOf),nf=af(String.prototype.trim),rf=af(Object.prototype.hasOwnProperty),of=af(RegExp.prototype.test),sf=lf(TypeError);function af(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:Zp;$p&&$p(e,null);let r=t.length;while(r--){let i=t[r];if("string"===typeof i){const e=n(i);e!==i&&(Up(t)||(t[r]=e),i=e)}e[i]=!0}return e}function uf(e){for(let t=0;t/gm),Of=qp(/\${[\w\W]*}/gm),Tf=qp(/^data-[\-\w.\u00B7-\uFFFF]/),Af=qp(/^aria-[\-\w]+$/),Rf=qp(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Cf=qp(/^(?:\w+script|data):/i),Nf=qp(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),jf=qp(/^html$/i),If=qp(/^[a-z][.\w]*(-[.\w]+)+$/i);var Lf=Object.freeze({__proto__:null,ARIA_ATTR:Af,ATTR_WHITESPACE:Nf,CUSTOM_ELEMENT:If,DATA_ATTR:Tf,DOCTYPE_NAME:jf,ERB_EXPR:Sf,IS_ALLOWED_URI:Rf,IS_SCRIPT_OR_DATA:Cf,MUSTACHE_EXPR:_f,TMPLIT_EXPR:Of});const Mf={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Pf=function(){return"undefined"===typeof window?null:window},Df=function(e,t){if("object"!==typeof e||"function"!==typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function Bf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pf();const t=e=>Bf(e);if(t.version="3.2.1",t.removed=[],!e||!e.document||e.document.nodeType!==Mf.document)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:d}=e,h=l.prototype,g=ff(h,"cloneNode"),v=ff(h,"remove"),m=ff(h,"nextSibling"),b=ff(h,"childNodes"),y=ff(h,"parentNode");if("function"===typeof s){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,w="";const{implementation:k,createNodeIterator:E,createDocumentFragment:_,getElementsByTagName:S}=n,{importNode:O}=r;let T={};t.isSupported="function"===typeof Bp&&"function"===typeof y&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:R,TMPLIT_EXPR:C,DATA_ATTR:N,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:M}=Lf;let{IS_ALLOWED_URI:P}=Lf,D=null;const B=cf({},[...df,...hf,...gf,...mf,...yf]);let $=null;const U=cf({},[...xf,...wf,...kf,...Ef]);let z=Object.seal(Wp(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),F=null,H=null,q=!0,W=!0,V=!1,G=!0,Y=!1,K=!0,X=!1,Z=!1,J=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1;const ie="user-content-";let oe=!0,se=!1,ae={},le=null;const ce=cf({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const pe=cf({},["audio","video","img","source","image","track"]);let fe=null;const de=cf({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let me=ve,be=!1,ye=null;const xe=cf({},[he,ge,ve],Jp);let we=cf({},["mi","mo","mn","ms","mtext"]),ke=cf({},["annotation-xml"]);const Ee=cf({},["title","style","font","a","script"]);let _e=null;const Se=["application/xhtml+xml","text/html"],Oe="text/html";let Te=null,Ae=null;const Re=n.createElement("form"),Ce=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae||Ae!==e){if(e&&"object"===typeof e||(e={}),e=pf(e),_e=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?Oe:e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===_e?Jp:Zp,D=rf(e,"ALLOWED_TAGS")?cf({},e.ALLOWED_TAGS,Te):B,$=rf(e,"ALLOWED_ATTR")?cf({},e.ALLOWED_ATTR,Te):U,ye=rf(e,"ALLOWED_NAMESPACES")?cf({},e.ALLOWED_NAMESPACES,Jp):xe,fe=rf(e,"ADD_URI_SAFE_ATTR")?cf(pf(de),e.ADD_URI_SAFE_ATTR,Te):de,ue=rf(e,"ADD_DATA_URI_TAGS")?cf(pf(pe),e.ADD_DATA_URI_TAGS,Te):pe,le=rf(e,"FORBID_CONTENTS")?cf({},e.FORBID_CONTENTS,Te):ce,F=rf(e,"FORBID_TAGS")?cf({},e.FORBID_TAGS,Te):{},H=rf(e,"FORBID_ATTR")?cf({},e.FORBID_ATTR,Te):{},ae=!!rf(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,K=!1!==e.SAFE_FOR_XML,X=e.WHOLE_DOCUMENT||!1,Q=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,P=e.ALLOWED_URI_REGEXP||Rf,me=e.NAMESPACE||ve,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,ke=e.HTML_INTEGRATION_POINTS||ke,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(W=!1),ee&&(Q=!0),ae&&(D=cf({},yf),$=[],!0===ae.html&&(cf(D,df),cf($,xf)),!0===ae.svg&&(cf(D,hf),cf($,wf),cf($,Ef)),!0===ae.svgFilters&&(cf(D,gf),cf($,wf),cf($,Ef)),!0===ae.mathMl&&(cf(D,mf),cf($,kf),cf($,Ef))),e.ADD_TAGS&&(D===B&&(D=pf(D)),cf(D,e.ADD_TAGS,Te)),e.ADD_ATTR&&($===U&&($=pf($)),cf($,e.ADD_ATTR,Te)),e.ADD_URI_SAFE_ATTR&&cf(fe,e.ADD_URI_SAFE_ATTR,Te),e.FORBID_CONTENTS&&(le===ce&&(le=pf(le)),cf(le,e.FORBID_CONTENTS,Te)),oe&&(D["#text"]=!0),X&&cf(D,["html","head","body"]),D.table&&(cf(D,["tbody"]),delete F.tbody),e.TRUSTED_TYPES_POLICY){if("function"!==typeof e.TRUSTED_TYPES_POLICY.createHTML)throw sf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw sf('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else void 0===x&&(x=Df(d,i)),null!==x&&"string"===typeof w&&(w=x.createHTML(""));Hp&&Hp(e),Ae=e}},je=cf({},[...hf,...gf,...vf]),Ie=cf({},[...mf,...bf]),Le=function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:me,tagName:"template"});const n=Zp(e.tagName),r=Zp(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===he?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(je[n]):e.namespaceURI===he?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&ke[r]:Boolean(Ie[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!ke[r])&&(!(t.namespaceURI===he&&!we[r])&&(!Ie[n]&&(Ee[n]||!je[n]))):!("application/xhtml+xml"!==_e||!ye[e.namespaceURI]))},Me=function(e){Xp(t.removed,{element:e});try{y(e).removeChild(e)}catch(n){v(e)}},Pe=function(e,n){try{Xp(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(r){Xp(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!$[e])if(Q||ee)try{Me(n)}catch(r){}else try{n.setAttribute(e,"")}catch(r){}},De=function(e){let t=null,r=null;if(J)e=""+e;else{const t=Qp(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===_e&&me===ve&&(e=''+e+"");const i=x?x.createHTML(e):e;if(me===ve)try{t=(new f).parseFromString(i,_e)}catch(s){}if(!t||!t.documentElement){t=k.createDocument(me,"template",null);try{t.documentElement.innerHTML=be?w:i}catch(s){}}const o=t.body||t.documentElement;return e&&r&&o.insertBefore(n.createTextNode(r),o.childNodes[0]||null),me===ve?S.call(t,X?"html":"body")[0]:X?t.documentElement:o},Be=function(e){return E.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},$e=function(e){return e instanceof p&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof u)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},Ue=function(e){return"function"===typeof a&&e instanceof a};function ze(e,n,r){T[e]&&Yp(T[e],(e=>{e.call(t,n,r,Ae)}))}const Fe=function(e){let n=null;if(ze("beforeSanitizeElements",e,null),$e(e))return Me(e),!0;const r=Te(e.nodeName);if(ze("uponSanitizeElement",e,{tagName:r,allowedTags:D}),e.hasChildNodes()&&!Ue(e.firstElementChild)&&of(/<[/\w]/g,e.innerHTML)&&of(/<[/\w]/g,e.textContent))return Me(e),!0;if(e.nodeType===Mf.progressingInstruction)return Me(e),!0;if(K&&e.nodeType===Mf.comment&&of(/<[/\w]/g,e.data))return Me(e),!0;if(!D[r]||F[r]){if(!F[r]&&qe(r)){if(z.tagNameCheck instanceof RegExp&&of(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(oe&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){const r=n.length;for(let i=r-1;i>=0;--i){const r=g(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,m(e))}}}return Me(e),!0}return e instanceof l&&!Le(e)?(Me(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!of(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&e.nodeType===Mf.text&&(n=e.textContent,Yp([A,R,C],(e=>{n=ef(n,e," ")})),e.textContent!==n&&(Xp(t.removed,{element:e.cloneNode()}),e.textContent=n)),ze("afterSanitizeElements",e,null),!1):(Me(e),!0)},He=function(e,t,r){if(ne&&("id"===t||"name"===t)&&(r in n||r in Re))return!1;if(W&&!H[t]&&of(N,t));else if(q&&of(j,t));else if(!$[t]||H[t]){if(!(qe(e)&&(z.tagNameCheck instanceof RegExp&&of(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&of(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&of(z.tagNameCheck,r)||z.tagNameCheck instanceof Function&&z.tagNameCheck(r))))return!1}else if(fe[t]);else if(of(P,ef(r,L,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==tf(r,"data:")||!ue[e]){if(V&&!of(I,ef(r,L,"")));else if(r)return!1}else;return!0},qe=function(e){return"annotation-xml"!==e&&Qp(e,M)},We=function(e){ze("beforeSanitizeAttributes",e,null);const{attributes:n}=e;if(!n)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$,forceKeepAttr:void 0};let i=n.length;while(i--){const s=n[i],{name:a,namespaceURI:l,value:c}=s,u=Te(a);let p="value"===a?c:nf(c);if(r.attrName=u,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,ze("uponSanitizeAttribute",e,r),p=r.attrValue,!re||"id"!==u&&"name"!==u||(Pe(a,e),p=ie+p),K&&of(/((--!?|])>)|<\/(style|title)/i,p)){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(Pe(a,e),!r.keepAttr)continue;if(!G&&of(/\/>/i,p)){Pe(a,e);continue}Y&&Yp([A,R,C],(e=>{p=ef(p,e," ")}));const f=Te(e.nodeName);if(He(f,u,p)){if(x&&"object"===typeof d&&"function"===typeof d.getAttributeType)if(l);else switch(d.getAttributeType(f,u)){case"TrustedHTML":p=x.createHTML(p);break;case"TrustedScriptURL":p=x.createScriptURL(p);break}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),$e(e)?Me(e):Kp(t.removed)}catch(o){}}}ze("afterSanitizeAttributes",e,null)},Ve=function e(t){let n=null;const r=Be(t);ze("beforeSanitizeShadowDOM",t,null);while(n=r.nextNode())ze("uponSanitizeShadowNode",n,null),Fe(n)||(n.content instanceof o&&e(n.content),We(n));ze("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,s=null,l=null,c=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!==typeof e&&!Ue(e)){if("function"!==typeof e.toString)throw sf("toString is not a function");if(e=e.toString(),"string"!==typeof e)throw sf("dirty is not a string, aborting")}if(!t.isSupported)return e;if(Z||Ne(n),t.removed=[],"string"===typeof e&&(se=!1),se){if(e.nodeName){const t=Te(e.nodeName);if(!D[t]||F[t])throw sf("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof a)i=De("\x3c!----\x3e"),s=i.ownerDocument.importNode(e,!0),s.nodeType===Mf.element&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!Q&&!Y&&!X&&-1===e.indexOf("<"))return x&&te?x.createHTML(e):e;if(i=De(e),!i)return Q?null:te?w:""}i&&J&&Me(i.firstChild);const u=Be(se?e:i);while(l=u.nextNode())Fe(l)||(l.content instanceof o&&Ve(l.content),We(l));if(se)return e;if(Q){if(ee){c=_.call(i.ownerDocument);while(i.firstChild)c.appendChild(i.firstChild)}else c=i;return($.shadowroot||$.shadowrootmode)&&(c=O.call(r,c,!0)),c}let p=X?i.outerHTML:i.innerHTML;return X&&D["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&of(jf,i.ownerDocument.doctype.name)&&(p="\n"+p),Y&&Yp([A,R,C],(e=>{p=ef(p,e," ")})),x&&te?x.createHTML(p):p},t.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Ne(e),Z=!0},t.clearConfig=function(){Ae=null,Z=!1},t.isValidAttribute=function(e,t,n){Ae||Ne({});const r=Te(e),i=Te(t);return He(r,i,n)},t.addHook=function(e,t){"function"===typeof t&&(T[e]=T[e]||[],Xp(T[e],t))},t.removeHook=function(e){if(T[e])return Kp(T[e])},t.removeHooks=function(e){T[e]&&(T[e]=[])},t.removeAllHooks=function(){T={}},t}var $f=Bf(),Uf=function(e){var t=e.src;return Ii("div",{class:"description",innerHTML:$f.sanitize(Dp.parse(t||""))},null)},zf={props:["endpoint"],setup:function(e){return function(){var t,n,r=e.endpoint,i=r.parameters,o=r.requestBody;if(!(null!==i&&void 0!==i&&i.length)>0&&!o)return Ii("div",{class:"no-parameters"},[Di("No parameters")]);var s=i.filter((function(e){return"path"===e["in"]})),a=i.filter((function(e){return"query"===e["in"]})),l=i.filter((function(e){return"body"===e["in"]})),c=null===o||void 0===o||null===(t=o.content)||void 0===t||null===(t=t["application/json"])||void 0===t?void 0:t.schema;return c&&(c=pd(c)),null!==(n=c)&&void 0!==n&&n.properties&&l.push.apply(l,Es(Object.entries(c.properties).map((function(e){var t=To(e,2),n=t[0],r=t[1];return wo(wo({},r),{},{name:n})})))),Ii("div",{class:"parameters"},[(null===s||void 0===s?void 0:s.length)>0&&Ii(xi,null,[Ii("h6",null,[Di("Path parameters")]),Hf(s)]),(null===a||void 0===a?void 0:a.length)>0&&Ii(xi,null,[Ii("h6",null,[Di("Query parameters")]),Hf(a)]),(null===l||void 0===l?void 0:l.length)>0&&Ii(xi,null,[Ii("h6",null,[Di("Body parameters")]),Hf(l)])])}}};function Ff(e){var t;return void 0!==e.minimum||(void 0!==e.maximum||(void 0!==e.minLength||(void 0!==e.maxLength||!(null===(t=e["enum"])||void 0===t||!t[0]))))}var Hf=function(e){var t,n;return Ii("table",null,[Ii("tr",null,[Ii("th",null,[Di("Name")]),Ii("th",null,null),Ii("th",null,[Di("Type")]),Ii("th",null,[(null===e||void 0===e||null===(t=e.filter((function(e){return Ff(e)})))||void 0===t?void 0:t.length)>0&&"Constraints"]),Ii("th",null,[(null===e||void 0===e||null===(n=e.filter((function(e){return void 0!==e["default"]})))||void 0===n?void 0:n.length)>0&&"Default value"]),Ii("th",{width:"100%"},[(null===e||void 0===e?void 0:e.filter((function(e){return!!e.description})))&&"Description"])]),null===e||void 0===e?void 0:e.map(qf)])},qf=function(e){var t,n,r,i,o,s,a,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,p=l.name||e.name||(null===(t=e.title)||void 0===t?void 0:t.toLowerCase());if(delete l.name,e.type||"string"===typeof e["default"]&&(e.type="string"),e.$ref)return null===c&&(c={}),null!==(a=c)&&void 0!==a&&a[e.$ref]?{}:(c[e.$ref]=!0,qf(pd(e.$ref),{name:p},c,u));if((null===(n=e.anyOf)||void 0===n?void 0:n.length)>0||(null===(r=e.schema)||void 0===r||null===(r=r.anyOf)||void 0===r?void 0:r.length)>0){var f,d=Ao(e.anyOf||e.schema.anyOf);try{for(d.s();!(f=d.n()).done;){var h=f.value;if("null"!==h.type)return qf(h,{name:p},c,u)}}catch(j){d.e(j)}finally{d.f()}}var g,v,m,b,y,x,w,k,E=wo(wo({},e),l),_="array"===E.type&&"object"===(null===(i=E.items)||void 0===i?void 0:i.type)||"object"===E.type,S=E.type;"array"===S&&(null!==(g=E.items)&&void 0!==g&&g.type||null===(v=E.items)||void 0===v||!v.$ref||(E.items.type="object"),null!==(m=E.items)&&void 0!==m&&m.type&&(S+=" of ".concat(null===(b=E.items)||void 0===b?void 0:b.type,"s")),null!==(y=E.items)&&void 0!==y&&y.format&&(S+=" (".concat(null===(x=E.items)||void 0===x?void 0:x.format,")")));if(!S)if(null!==(w=E["enum"])&&void 0!==w&&w[0])S="enum";else{if(null!==(k=E.schema)&&void 0!==k&&k.type)return qf(e,E.schema,c,u);console.warn("No type for ",E),S="object"}"string"===S&&null!==(o=E["enum"])&&void 0!==o&&o[0]&&(S+=" (enum)");var O,T,A,R,C,N=E.properties;_&&(null!==(O=E.items)&&void 0!==O&&O.properties?N=null===(T=E.items)||void 0===T?void 0:T.properties:null!==(A=E.items)&&void 0!==A&&A.$ref&&(N=null===(R=pd(null===(C=E.items)||void 0===C?void 0:C.$ref))||void 0===R?void 0:R.properties));return Ii(xi,null,[Ii("tr",{class:["param","level-".concat(u),{expandable:_,expanded:!!e.expanded}],onClick:!!_&&function(){return e.expanded=!e.expanded}},[Ii("td",{class:"name",style:{paddingLeft:36*u+6+"px"}},[_&&mu,p]),Ii("td",null,[E.required?Ii("span",{class:"required"},[Di("* required")]):Ii("span",{class:"optional"},[Di("optional")])]),Ii("td",{class:"type"},[S||"UNKNOWN!!",Di(" "),!!E.format&&Ii(xi,null,[Di("("),E.format,Di(")")])]),Ii("td",{class:"constraints"},[void 0!==E.minimum&&Ii("span",{class:"bound min"},[Di("≥ "),E.minimum]),void 0!==E.maximum&&Ii("span",{class:"bound max"},[Di("≤ "),E.maximum]),void 0!==E.minLength&&Ii("span",{class:"bound min"},[Di("len ≥ "),E.minLength]),void 0!==E.maxLength&&Ii("span",{class:"bound max"},[Di("len ≤ "),E.maxLength]),(null===(s=E["enum"])||void 0===s?void 0:s[0])&&E["enum"].map((function(e){return Ii("span",{class:"bound"},[e])}))]),Ii("td",null,[void 0!==E["default"]&&"[object Object]"!=="".concat(E["default"])&&E["default"],Di(" ")]),Ii("td",{class:"description",width:"100%"},[E.description])]),e.expanded&&Object.entries(N||{}).map((function(e){var t=To(e,2),n=t[0],r=t[1];return qf(r,{name:n},null,u+1)}))])},Wf=function(e){var t,n=e.code,r=e.response;return Ii("div",{class:"response ok"},[null!==r&&void 0!==r&&r.content?null===(t=Object.entries((null===r||void 0===r?void 0:r.content)||{}))||void 0===t?void 0:t.map((function(e){var t=To(e,2),i=t[0],o=t[1];return Ii(xi,null,[Ii("div",{class:"with-model"},[Ii("span",{class:"status-code-ok"},[n]),Ii("div",{class:"description"},[null===r||void 0===r?void 0:r.description]),Ii("div",{class:"mime"},[i])]),Vf(o)])})):!!r.description&&Ii("div",null,[Ii("span",{class:"status-code-ok"},[n]),Ii("div",{class:"description"},[null===r||void 0===r?void 0:r.description])])])},Vf=function(e){var t,n,r,i,o=pd(e),s=o.properties,a=void 0===s?{}:s,l=o.required;return!(null!==(t=Object.entries(a))&&void 0!==t&&t.length)>0?null:Ii("table",{class:"response-model"},[Ii("tr",null,[Ii("th",null,[Di("Name")]),Ii("th",null,null),Ii("th",null,[Di("Type")]),Ii("th",null,[(null===(n=Object.values(a))||void 0===n||null===(n=n.filter((function(e){return Ff(e)})))||void 0===n?void 0:n.length)>0&&"Constraints"]),Ii("th",null,[(null===(r=Object.values(a))||void 0===r||null===(r=r.filter((function(e){return void 0!==e["default"]})))||void 0===r?void 0:r.length)>0&&"Default value"]),Ii("th",{width:"100%"},[(null===(i=Object.values(a))||void 0===i?void 0:i.filter((function(e){return!!e.description})))&&"Description"])]),Object.entries(a).map((function(e){var t=To(e,2),n=t[0],r=t[1];return qf(r,{name:n,required:null===l||void 0===l?void 0:l.includes(n)})}))])},Gf=function(e){var t=e.code,n=e.response;return Ii("div",{class:"response error"},[Ii("span",{class:"status-code"},[t]),Ii("div",null,[null===n||void 0===n?void 0:n.description])])},Yf={props:["items","selection","onClick","separator","placeholder"],setup:function(e,t){var n=t.slots,r=xt(null),i=Qc(r,{trigger:"manual",interactive:!0,placement:"bottom-start",offset:[0,4],content:{setup:function(){var t=at({search:"",items:Es(e.items||[])});return ri((function(){var n;t.items=null===(n=e.items)||void 0===n?void 0:n.filter((function(e){var n;return!(null!==(n=t.search)&&void 0!==n&&n.length)||e.toLowerCase().includes(t.search.toLowerCase())}))})),function(){var n;return Ii("div",{class:"filter-dropdown"},[Ii("input",{class:"doc-input",placeholder:e.placeholder,onInput:function(e){var n=e.target;return t.search=n.value}},null),Ii("ul",null,[null===(n=t.items)||void 0===n?void 0:n.map((function(t){var n,r;return Ii("li",{class:"item",onClick:function(){return e.onClick(t)}},[Ii("input",{type:"checkbox",checked:!(null===(n=e.selection)||void 0===n||null===(r=n.includes)||void 0===r||!r.call(n,t))},null),Ii("label",null,[t])])}))])])}}}}),o=i.show;return function(){var t,i,s;return Ii("div",{class:"doc-filter"},[Ii("button",{ref:r,class:"doc-input",onClick:function(){return o()}},[null===n||void 0===n||null===(t=n["default"])||void 0===t?void 0:t.call(n)]),Ii("b",null,[(null===(i=e.selection)||void 0===i?void 0:i.length)>0&&Ii(xi,null,[null===(s=e.selection)||void 0===s?void 0:s.length,Di(" selected")])])])}}},Kf=n(5981),Xf=n.n(Kf),Zf=n(5089),Jf=n.n(Zf),Qf=n(7192),ed=n.n(Qf),td=n(5344),nd=n.n(td),rd=n(5772),id=n.n(rd),od=En({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var t=xt(e.language);ii((function(){return e.language}),(function(e){t.value=e}));var n=po((function(){return e.autodetect||!t.value})),r=po((function(){return!n.value&&!Kf.getLanguage(t.value)}));return{className:po((function(){return r.value?"":"hljs "+t.value})),highlightedCode:po((function(){var i;if(r.value)return console.warn('The language "'+t.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(n.value){var o=Kf.highlightAuto(e.code);return t.value=null!==(i=o.language)&&void 0!==i?i:"",o.value}return(o=Kf.highlight(e.code,{language:t.value,ignoreIllegals:e.ignoreIllegals})).value}))}},render:function(){return fo("pre",{},[fo("code",{class:this.className,innerHTML:this.highlightedCode})])}}),sd={install:function(e){e.component("highlightjs",od)},component:od};const ad=sd;n(3588),n(4343),n(2456);Xf().registerLanguage("bash",nd()),Xf().registerLanguage("javascript",Jf()),Xf().registerLanguage("python",ed()),Xf().registerLanguage("json",id());var ld=at({openapi_urls:[],region:(new URLSearchParams(location.search).get("region")||"fra1").toLowerCase(),api_key:"",selectedTags:[],loading:!0,search:""}),cd={init:function(e){return Co(vo().mark((function t(){var n,r,i,o,s,a,l,c,u,p,f;return vo().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return f=function(){location.hash=s;var e=document.getElementById(s.substring(1));e&&window.scrollTo({top:document.getElementById(s.substring(1)).getBoundingClientRect().top+window.scrollY,behavior:"smooth"}),ld.loading=!1,console.log("Doc rendered in",new Date-c+"ms"),setTimeout((function(){p(),document.addEventListener("scroll",p)}),500)},p=function(){var e=document.elementFromPoint(window.innerWidth/2,150);while(!e.id&&e.parentElement)e=e.parentElement;var t=e.id.split("/"),n=To(t,3),r=(n[0],n[1]);n[2];if(r){var i;ld.curTag=r,ld.curEp=e.id,ld.curTagGroup=null===(i=ld.menu)||void 0===i||null===(i=i.find((function(e){var t;return null===(t=e.tags)||void 0===t?void 0:t.includes(r)})))||void 0===i?void 0:i.name;var o="#"+e.id;o!==location.hash&&history.replaceState(null,"",window.location.href.split("#")[0]+o),setImmediate((function(){document.querySelectorAll("#openapi-viewer .menu li.accordion").forEach((function(e){var t=e.querySelector("&>ul");e.classList.contains("active")?t.style.maxHeight="".concat(t.children[t.children.length-1].getBoundingClientRect().bottom-t.getBoundingClientRect().top,"px"):t.style.maxHeight="0px"}))}))}},u=function(){console.log(ld.search,ld.selectedTags),ld.loading=!0;var e=new Set(ld.selectedTags);ld.endpoints_by_tag={},ld.tags=new Set;var t,n=Ao(i);try{for(n.s();!(t=n.n()).done;){var r,o=t.value,s=Ao(o.tags);try{for(s.s();!(r=s.n()).done;){var a=r.value;ld.endpoints_by_tag[a]=[]}}catch(l){s.e(l)}finally{s.f()}}}catch(l){n.e(l)}finally{n.f()}Object.entries(ld.schema.paths).forEach((function(t){var n=To(t,2),r=n[0],i=n[1];Object.entries(i).forEach((function(t){var n=To(t,2),i=n[0],o=n[1];if("parameters"!==i){if(o.tags.length>=2){var s,a=Ao(o.tags);try{for(a.s();!(s=a.n()).done;){var c=s.value;ld.endpoints_by_tag[c]||ld.tags.add(c)}}catch(l){a.e(l)}finally{a.f()}}var u,p,f,d,h,g;if(ld.search)if((null===(u=o.summary)||void 0===u||null===(u=u.toLowerCase())||void 0===u||!u.includes(ld.search))&&(null===(p=o.description)||void 0===p||null===(p=p.toLowerCase())||void 0===p||!p.includes(ld.search))&&(null===(f=o.title)||void 0===f||null===(f=f.toLowerCase())||void 0===f||!f.includes(ld.search))&&(null===(d=o.name)||void 0===d||null===(d=d.toLowerCase())||void 0===d||!d.includes(ld.search))&&(null===(h=o.path)||void 0===h||null===(h=h.toLowerCase())||void 0===h||!h.includes(ld.search)))return;if(e.size>0)if(!(null!==(g=o.tags)&&void 0!==g&&g.length)>0||e.isDisjointFrom(new Set(o.tags)))return;var v,m=Ao(o.tags);try{for(m.s();!(v=m.n()).done;){var b=v.value;ld.endpoints_by_tag[b]&&ld.endpoints_by_tag[b].push(wo(wo({},o),{},{path:r,method:i}))}}catch(l){m.e(l)}finally{m.f()}}}))})),ld.tags=Array.from(ld.tags).sort(),setTimeout((function(){return ld.loading=!1}),10)},n=e.title,r=e.urls,i=e.menu,o=e.regions,s=location.hash,ld.title=n,a=ms(cd),a.use(ad),ld.quickStart=document.querySelector("main article"),l=document.createElement("article"),l.classList.add("md-content__inner"),l.classList.add("md-typeset"),l.id="openapi",ld.quickStart.parentElement.appendChild(l),a.mount(l),c=new Date,ld.menu=i,ld.regions=o,"fra1"!==ld.region&&(r=r.map((function(e){return e.replace("https://app.sekoia.io/","https://app.".concat(ld.region,".sekoia.io/"))}))),ld.openapi_urls=r,t.next=22,Ts(r);case 22:ld.schema=t.sent,ld.schema["x-tagGroups"]=i,"fra1"!==ld.region&&(ld.schema.servers[0].url="https://app.".concat(ld.region,".sekoia.io/api")),cd.updateAsap=bu(u,500),It((function(){return ld.search}),(function(){ld.loading=!0,setImmediate(cd.updateAsap)})),u(),setTimeout(f,50);case 29:case"end":return t.stop()}}),t)})))()},setup:function(e){setImmediate((function(){return window.scrollTo({top:0,behavior:"instant"})}));var t=function(e){ld.selectedTags.includes(e)?ld.selectedTags=ld.selectedTags.filter((function(t){return t!==e})):ld.selectedTags.push(e),cd.updateAsap()};return function(){var e,n,r;return Ii(xi,null,[ld.loading&&Ii(bn,{to:"main"},{default:function(){return[Ii("div",{class:"loading"},null)]}}),Ii("div",{id:"openapi-viewer",class:"wrapper"},[Ii("div",{class:"menu"},[Ii("div",{class:"select-region"},[Ii("label",null,[Di("Select region")]),Ii("select",{class:"doc-input",onChange:function(e){var t=e.target;return location.search="?region=".concat(t.value)}},[null===(e=ld.regions)||void 0===e?void 0:e.map((function(e){var t;return Ii("option",{selected:e.toUpperCase()===(null===(t=ld.region)||void 0===t?void 0:t.toUpperCase())},[e])}))])]),Ii("div",{class:"search"},[Ii("input",{class:"doc-input",name:"search-api",onInput:function(e){var t=e.target;return ld.search=t.value},value:ld.search,placeholder:"Search API"},null)]),Ii(Yf,{items:ld.tags,selection:ld.selectedTags,onClick:t,separator:" - ",placeholder:"Search tags"},{default:function(){return[Di("Filters")]}}),ld.loading&&Ii("div",{class:"loader"},[Ii("div",{class:"ui-spinner"},null),Di(" Loading APIs ...")]),Ii("ul",{class:["scroll-container md-nav__list",{loading:ld.loading}]},[null===(n=ld.menu)||void 0===n?void 0:n.map((function(e){var t=e.name,n=e.tags;return Ii("li",{class:["md-nav__item md-nav__item--nested",{active:ld.curTagGroup===vu(t)}]},[Ii("a",{href:"#tag/".concat(vu(t))},[t]),Ii("ul",{class:"md-nav__list"},[null===n||void 0===n?void 0:n.map((function(e){var t,n;return Ii("li",{class:["md-nav__item md-nav__item--nested accordion",{active:ld.curTag===vu(e),empty:!(null!==(t=ld.endpoints_by_tag)&&void 0!==t&&null!==(t=t[e])&&void 0!==t&&t.length)>0}]},[Ii("a",{href:"#tag/".concat(vu(e))},[j(e),Di(" "),mu]),Ii("ul",{class:"md-nav__list"},[null===(n=ld.endpoints_by_tag)||void 0===n||null===(n=n[e])||void 0===n?void 0:n.map((function(t){var n=t.operationId,r=t.method,i=t.summary;return Ii("li",{class:["md-nav__item md-nav__item--nested",{active:ld.curEp==="tag/".concat(vu(e),"/").concat(n)}]},[Ii("a",{href:"#tag/".concat(vu(e),"/").concat(n)},[Ii("span",{class:["method",r]},[r]),Ii("span",null,[i||n])])])}))])])}))])])}))])]),Ii("div",{class:"content"},[Ii("h1",null,[ld.title]),Ii("h2",{id:"quickstart",class:"sc-jXbUNg copjkU"},[Di("Quickstart")]),sn(Ii("div",{class:"quickstart"},null),[[Zn("embed"),ld.quickStart]]),null===(r=ld.menu)||void 0===r?void 0:r.map((function(e){var t=e.name,n=e.tags;return Ii(xi,null,[Ii("a",{href:"#tag/".concat(vu(t))},[Ii("h2",{id:"tag/".concat(vu(t))},[t,Ii("span",{class:"alink"},null)])]),null===n||void 0===n?void 0:n.map((function(e){var t,n;return Ii(xi,null,[Ii("a",{href:"#tag/".concat(vu(e)),class:{empty:!(null!==(t=ld.endpoints_by_tag)&&void 0!==t&&null!==(t=t[e])&&void 0!==t&&t.length)>0}},[Ii("h3",{id:"tag/".concat(vu(e))},[e,Ii("span",{class:"alink"},null)])]),null===(n=ld.endpoints_by_tag)||void 0===n||null===(n=n[e])||void 0===n?void 0:n.map((function(t){return ud("tag/".concat(vu(e),"/").concat(t.operationId),t,e)}))])}))])}))])])])}},directives:{embed:function(e,t){var n=t.value;return n&&e.appendChild(n)}}},ud=function(e,t,n){var r,i,o,s=t.description,a=null===(r=s)||void 0===r||null===(r=r.match(/The following permissions are required:\n(\s+-[^\n]+)+/))||void 0===r?void 0:r.slice(1).map((function(e){var t=e.match(/\*\*([^\*]+)\*\*.*\`([^\`]+)\`\):\s+(.*)/)||[],n=To(t,4),r=(n[0],n[1]),i=n[2],o=n[3];return{name:r,uuid:i,description:o}}));s=null===(i=s)||void 0===i?void 0:i.replace(/The following permissions are required:\n(\s+-[^\n]+)+/,"");var l=Object.entries(t.responses||{}).filter((function(e){var t=To(e,1),n=t[0];return n<400})),c=Object.entries(t.responses||{}).filter((function(e){var t=To(e,1),n=t[0];return n>=400}));return Ii(xi,null,[Ii("div",{class:"endpoint",id:e},[Ii("div",{class:"content"},[Ii("a",{href:"#".concat(e),onClick:function(){return console.log(gt(t))}},[Ii("h4",{id:e},[Ii("span",{class:["method",t.method]},[t.method]),t.summary,Ii("span",{class:"alink"},null)])]),(null===(o=t.tags)||void 0===o?void 0:o.length)>1&&Ii("div",{class:"tags"},[Ii("label",null,[Di("Tags")]),Di(" "),t.tags.filter((function(e){return e!==n})).map((function(e){return Ii("div",{class:"tag"},[e])}))]),Ii(Uf,{class:"description",src:s},null),(null===a||void 0===a?void 0:a.length)>0&&Ii(xi,null,[Ii("h5",null,[Di("Required permissions")]),Ii("table",{class:"permissions"},[null===a||void 0===a?void 0:a.map((function(e){var t=e.name,n=e.uuid,r=e.description;return Ii("tr",null,[Ii("td",{class:"identifier"},[t]),Ii("td",{class:"uuid"},[n]),Ii("td",{width:"100%"},[r])])}))])]),Ii("h5",null,[Di("Parameters")]),Ii(zf,{endpoint:t},null),Ii("h5",null,[Di("Responses")]),null===l||void 0===l?void 0:l.map((function(e){var t=To(e,2),n=t[0],r=t[1];return Ii(Wf,{code:n,response:r},null)})),(null===c||void 0===c?void 0:c.length)>0&&Ii(xi,null,[Ii("h5",null,[Di("Error codes")]),Ii("div",{class:"errors"},[null===c||void 0===c?void 0:c.map((function(e){var t=To(e,2),n=t[0],r=t[1];return Ii(Gf,{code:n,response:r},null)}))])])]),Ii("div",{class:"right"},[Ii(yu,{endpoint:t},null)])]),Ii("hr",null,null)])};function pd(e){if(!e)return{};if(null!==e&&void 0!==e&&e.properties)return e;if(e.schema)return pd(e.schema);if(e.$ref)return pd(e.$ref);if("string"!==typeof e)return{};if(null===e||void 0===e||!e.startsWith("#/"))return{};var t=ld.schema;return e.split("/").slice(1).forEach((function(e){var n;return t=null===(n=t)||void 0===n?void 0:n[e]})),t||{}}window.OpenAPIViewer=cd})()})(); \ No newline at end of file diff --git a/docs/javascript/openapi.js b/docs/javascript/openapi.js.bak similarity index 98% rename from docs/javascript/openapi.js rename to docs/javascript/openapi.js.bak index 0d60835fec..b4542f74e7 100644 --- a/docs/javascript/openapi.js +++ b/docs/javascript/openapi.js.bak @@ -83,9 +83,10 @@ const X_TAG_GROUPS = [ "Stats", "Alert Status", "Alert Type", - ] - },{ - name:"Cases", + ], + }, + { + name: "Cases", tags: [ "Case", "Comments", @@ -94,7 +95,7 @@ const X_TAG_GROUPS = [ "Callbacks", "Services", "Tasks", - ] + ], }, { name: "Playbooks", @@ -727,6 +728,13 @@ print(json.dumps(result, indent=4)) ) e.setAttribute("selected", true); }); + + // Incorporate quickstart guide + const elApiInfo = document.querySelector(".api-content .api-info"); + document.querySelectorAll("main article > *").forEach((x) => { + if (x.classList.contains("ui-spinner")) x.remove(); + else if (x.id !== "openapi") elApiInfo.appendChild(x); + }); } window.addEventListener("load", init_openapi_documentation); diff --git a/docs/stylesheets/openapi.css b/docs/stylesheets/openapi.css index 22c56c7754..cc9b56c9de 100644 --- a/docs/stylesheets/openapi.css +++ b/docs/stylesheets/openapi.css @@ -1 +1 @@ -#openapi{position:relative;background:white}#openapi h1{display:none}#openapi .md-typeset h1,#openapi .md-content__button,#openapi .md-footer{display:none}#openapi .md-main__inner{max-width:100%;margin:0}#openapi .redoc-wrap{background:white}#openapi .redoc-wrap>div:last-of-type{background:none !important}#openapi .redoc-wrap .sc-iGgWBj.sc-gsFSXq.lbpUdJ.bOFhJE{padding:20px;border-radius:20px}#openapi .redoc-wrap .sc-ikkxIA.daqcVd{margin:0 12px;padding:0px;padding-left:24px}#openapi .redoc-wrap tr:first-of-type>.sc-dLMFU,#openapi .redoc-wrap tr.last>.sc-dLMFU,#openapi .redoc-wrap .bvNJXm{background:none;border:none}#openapi .redoc-wrap .sc-gFqAkR{visibility:hidden;display:none}#openapi .redoc-wrap .property-name{font-weight:bold;font-size:15px}#openapi .redoc-wrap .examples code{font-family:monospace;font-size:13px !important;background:none !important;color:white !important}#openapi .redoc-wrap .examples code .token.punctuation{opacity:1 !important}#openapi .redoc-wrap .examples .tabs{background:white;margin:-20px;margin-bottom:22px;overflow:hidden;display:flex;padding:0;border:none;list-style-type:none;user-select:none}#openapi .redoc-wrap .examples .tabs li{color:#2d2e83;background:white;border-top:4px solid transparent;opacity:0.6;cursor:pointer;font-weight:bold;margin:0;padding:6px 16px}#openapi .redoc-wrap .examples .tabs li:hover{opacity:1}#openapi .redoc-wrap .examples .tabs li.active{opacity:1;border-top:4px solid #12005e;background:#e2e2e9;color:#12005e;border-top-left-radius:8px;border-top-right-radius:8px}#openapi .redoc-wrap .examples .jhTHfM,#openapi .redoc-wrap .examples h3{color:#12005e;font-weight:bold;font-size:14px}#openapi .redoc-wrap .examples.mode-try-it .response-samples,#openapi .redoc-wrap .examples.mode-try-it .request-samples{display:none}#openapi .redoc-wrap .examples:not(.mode-try-it) .try-it-wrapper{display:none}#openapi .redoc-wrap .examples .try-it-wrapper button{background:#5d4ff2;color:white;height:36px;font-weight:600;font-family:'Inter', sans-serif;border-radius:8px;padding:0px 16px;float:right;cursor:pointer;transition:background 6e2ms;margin:8px 0px}#openapi .redoc-wrap .examples .try-it-wrapper button:hover{background:#3b00bd}#openapi .redoc-wrap .examples .try-it-wrapper button:active{background:#140050}#openapi .redoc-wrap .examples .try-it-wrapper button:disabled{opacity:0.4}#openapi .redoc-wrap .examples .try-it-wrapper input{padding:4px;font-size:15px;border:1px solid #12005e;border-radius:4px;margin:2px 12px}#openapi .redoc-wrap .examples .try-it-wrapper label{display:inline-block;font-size:15px;font-weight:bold;min-width:85px;color:#11171a}#openapi .redoc-wrap .examples .try-it-wrapper .ui-spinner{position:relative !important;left:50%;top:24px}#openapi .redoc-wrap .examples .try-it-wrapper .results pre,#openapi .redoc-wrap .examples .try-it-wrapper .results .output,#openapi .redoc-wrap .examples .try-it-wrapper>code.curl{background:#11171a !important;padding:14px;position:static;min-width:100%;width:100%;display:block;border-radius:8px;color:white;font-family:monospace;font-size:11px;max-height:40vh;overflow:auto}#openapi .redoc-wrap .examples .try-it-wrapper .results pre.error,#openapi .redoc-wrap .examples .try-it-wrapper .results .output.error,#openapi .redoc-wrap .examples .try-it-wrapper>code.curl.error{background:red !important}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples{margin-top:12px}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul{display:flex;padding:0;list-style-type:none;margin:0}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li{cursor:pointer;padding:2px 12px;border-top:4px solid transparent;margin:0px;background:transparent;border-top-left-radius:8px;border-top-right-radius:8px;font-weight:bold;color:#8182b5;transition:all 90ms ease-in-out}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li:hover{color:#12005e}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li.selected{border-top-color:#5d4ff2;background:#11171a;color:white}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>div>pre{background:#11171a !important;padding:14px;position:static;min-width:100%;width:100%;display:block;border-radius:8px;color:white;font-family:monospace;font-size:11px;max-height:40vh;overflow:auto;border-top-left-radius:0px;margin:0;white-space:break-spaces}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>div>pre:not(.selected){display:none}#openapi .redoc-wrap .region-picker{padding:16px 29px}#openapi h2::after{border-bottom:2px solid #2d2e83 !important}.ui-spinner{width:38px;height:38px;border:5px solid #d8d8e922;border-bottom-color:#5d4ff2;border-radius:50%;display:inline-block;box-sizing:border-box;animation:spinner-rotate 1s linear infinite;margin:12px;margin-left:-19px;margin-right:auto;position:absolute;left:50%;top:40vh}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(1turn)}}main>.md-grid{max-width:90vw}main .md-sidebar{display:none !important}main .gdNLsg{position:initial}main .kJndnU{position:absolute}main .kNjBFu:last-child{min-height:initial}main .menu-content{top:70px !important;border-radius:20px;width:353px;background:none}main .menu-content label:not(.active){background:none}main .menu-content>.scrollbar-container>ul{margin:0px}main div[data-role='search:results']{background:#F5F5FA;border-radius:8px}main div[role=search]{padding:5px 31px}main div[role=search] input{font-weight:normal;color:black;padding:10px 27px;font-size:110%;margin:6px -19px}main div[role=search] input::placeholder{font-weight:normal;color:black}main div[role=search] svg{position:relative;top:5px;width:18px;left:0}main ul.sc-iHmpnF{font-size:16px}main span.sc-ehixzo.CHBVM{padding:3px 6px;font-size:10px;margin-right:8px;height:18px;width:8ex}main ul.sc-iHmpnF.bQdsWB{padding:0;margin:0;font-size:10px;user-select:none}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul{margin-bottom:16px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li{padding:0px;margin:0px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li>label{padding:9px;margin:0px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li>label .sc-eyvILC{font-size:13px;color:#21225F}main label.-depth0{padding:0px 9px;margin:8px}main label.-depth0 span.sc-eyvILC.cyMuFj{font-size:14px;font-weight:bold;color:#6D6E9C}main label.-depth1{display:flex;padding:6px;margin:0;padding-right:16px;align-items:center;padding-left:18px}main label.-depth1 span.sc-eyvILC.cyMuFj{font-size:14px;font-weight:normal;color:#21225F}main label.-depth1.active span.sc-eyvILC.cyMuFj{font-weight:bold}main .sc-kYxDKI.eoKbCJ{margin-left:0px}main ul.sc-iHmpnF.bKAJhU{display:none}main h2.copjkU{color:#2d2e83;font-size:20px;margin-top:30px;font-weight:bold}main .sc-dcJsrY.eVrqat .sc-kAyceB.XMnSL h2{font-size:28px;text-transform:uppercase}main .sc-dcJsrY.eVrqat .sc-kAyceB.XMnSL h2:after{border:none}main .sc-bpUBKd.-depth2>.sc-eyvILC{font-size:14px}main .sc-bpUBKd.-depth2.active{border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:4px solid #2d2e83;background:#F5F5FA}main .sc-bpUBKd.-depth1.active{border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:4px solid #2d2e83;background:#F5F5FA}main .sc-bpUBKd.-depth1:hover{border-top-left-radius:8px;border-bottom-left-radius:8px;background:#F5F5FAaa}main .bOFhJE{background-color:#e2e2e9}main .bOFhJE button.sc-iEXKAA{border-radius:8px}main .cJteCP>.react-tabs__tab-panel.react-tabs__tab-panel--selected{border-radius:8px;border-top-left-radius:0px}main .cJteCP>ul{margin:0px !important}main .cJteCP>ul>li{padding:5px 10px;display:inline-block;background-color:#11171a;cursor:pointer;text-align:center;outline:none;color:#ccc;min-width:60px;font-size:0.9em;font-weight:bold;border:none;border-top:4px solid;margin:0px !important;border-radius:0}main .cJteCP>ul>li:not([aria-selected=true]){border-top-color:transparent;background:none}main button.sc-gdyeKB{width:120px;float:left}main button.sc-gdyeKB p{margin:0px}main .sc-kzqdkY{clear:both}select{padding:6.5px 12px;margin:0px 12px;display:inline-flex;align-items:center;width:111px;cursor:pointer;background:url("data:image/svg+xml,") no-repeat #f8f9fc;background-position:calc(100% - 10px) center !important;-moz-appearance:none !important;-webkit-appearance:none !important;appearance:none !important;border:1px solid #cbcfe1;line-height:1.5;color:#21225f;border-radius:8px} +main .md-content>article:not(#openapi){display:none}#openapi{position:relative;background:white}#openapi .md-typeset h1,#openapi .md-content__button,#openapi .md-footer{display:none}#openapi .md-main__inner{max-width:100%;margin:0}#openapi .redoc-wrap{background:white}#openapi .redoc-wrap>div:last-of-type{background:none !important}#openapi .redoc-wrap .sc-iGgWBj.sc-gsFSXq.lbpUdJ.bOFhJE{padding:20px;border-radius:20px}#openapi .redoc-wrap .sc-ikkxIA.daqcVd{margin:0 12px;padding:0px;padding-left:24px}#openapi .redoc-wrap tr:first-of-type>.sc-dLMFU,#openapi .redoc-wrap tr.last>.sc-dLMFU,#openapi .redoc-wrap .bvNJXm{background:none;border:none}#openapi .redoc-wrap .sc-gFqAkR{visibility:hidden;display:none}#openapi .redoc-wrap .property-name{font-weight:bold;font-size:15px}#openapi .redoc-wrap .examples code{font-family:monospace;font-size:13px !important;background:none !important;color:white !important}#openapi .redoc-wrap .examples code .token.punctuation{opacity:1 !important}#openapi .redoc-wrap .examples .tabs{background:white;margin:-20px;margin-bottom:22px;overflow:hidden;display:flex;padding:0;border:none;list-style-type:none;user-select:none}#openapi .redoc-wrap .examples .tabs li{color:#2d2e83;background:white;border-top:4px solid transparent;opacity:0.6;cursor:pointer;font-weight:bold;margin:0;padding:6px 16px}#openapi .redoc-wrap .examples .tabs li:hover{opacity:1}#openapi .redoc-wrap .examples .tabs li.active{opacity:1;border-top:4px solid #12005e;background:#e2e2e9;color:#12005e;border-top-left-radius:8px;border-top-right-radius:8px}#openapi .redoc-wrap .examples .jhTHfM,#openapi .redoc-wrap .examples h3{color:#12005e;font-weight:bold;font-size:14px}#openapi .redoc-wrap .examples.mode-try-it .response-samples,#openapi .redoc-wrap .examples.mode-try-it .request-samples{display:none}#openapi .redoc-wrap .examples:not(.mode-try-it) .try-it-wrapper{display:none}#openapi .redoc-wrap .examples .try-it-wrapper button{background:#5d4ff2;color:white;height:36px;font-weight:600;font-family:'Inter', sans-serif;border-radius:8px;padding:0px 16px;float:right;cursor:pointer;transition:background 6e2ms;margin:8px 0px}#openapi .redoc-wrap .examples .try-it-wrapper button:hover{background:#3b00bd}#openapi .redoc-wrap .examples .try-it-wrapper button:active{background:#140050}#openapi .redoc-wrap .examples .try-it-wrapper button:disabled{opacity:0.4}#openapi .redoc-wrap .examples .try-it-wrapper input{padding:4px;font-size:15px;border:1px solid #12005e;border-radius:4px;margin:2px 12px}#openapi .redoc-wrap .examples .try-it-wrapper label{display:inline-block;font-size:15px;font-weight:bold;min-width:85px;color:#11171a}#openapi .redoc-wrap .examples .try-it-wrapper .ui-spinner{position:relative !important;left:50%;top:24px}#openapi .redoc-wrap .examples .try-it-wrapper .results pre,#openapi .redoc-wrap .examples .try-it-wrapper .results .output,#openapi .redoc-wrap .examples .try-it-wrapper>code.curl{background:#11171a !important;padding:14px;position:static;min-width:100%;width:100%;display:block;border-radius:8px;color:white;font-family:monospace;font-size:11px;max-height:40vh;overflow:auto}#openapi .redoc-wrap .examples .try-it-wrapper .results pre.error,#openapi .redoc-wrap .examples .try-it-wrapper .results .output.error,#openapi .redoc-wrap .examples .try-it-wrapper>code.curl.error{background:red !important}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples{margin-top:12px}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul{display:flex;padding:0;list-style-type:none;margin:0}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li{cursor:pointer;padding:2px 12px;border-top:4px solid transparent;margin:0px;background:transparent;border-top-left-radius:8px;border-top-right-radius:8px;font-weight:bold;color:#8182b5;transition:all 90ms ease-in-out}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li:hover{color:#12005e}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>ul>li.selected{border-top-color:#5d4ff2;background:#11171a;color:white}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>div>pre{background:#11171a !important;padding:14px;position:static;min-width:100%;width:100%;display:block;border-radius:8px;color:white;font-family:monospace;font-size:11px;max-height:40vh;overflow:auto;border-top-left-radius:0px;margin:0;white-space:break-spaces}#openapi .redoc-wrap .examples .try-it-wrapper .code-examples>div>pre:not(.selected){display:none}#openapi .redoc-wrap .region-picker{padding:16px 29px}#openapi h2::after{border-bottom:2px solid #2d2e83 !important}.ui-spinner{width:38px;height:38px;border:5px solid #d8d8e922;border-bottom-color:#5d4ff2;border-radius:50%;display:inline-block;box-sizing:border-box;animation:spinner-rotate 1s linear infinite;margin:12px;margin-left:-19px;margin-right:auto;position:absolute;left:50%;top:40vh}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(1turn)}}main>.md-grid{max-width:calc(100vw - 48px)}main .md-sidebar{display:none !important}main .gdNLsg{position:initial}main .kJndnU{position:absolute}main .kNjBFu:last-child{min-height:initial}main .menu-content{top:70px !important;border-radius:20px;width:353px;background:none}main .menu-content label:not(.active){background:none}main .menu-content>.scrollbar-container>ul{margin:0px}main div[data-role='search:results']{background:#F5F5FA;border-radius:8px}main div[role=search]{padding:5px 31px}main div[role=search] input{font-weight:normal;color:black;padding:10px 27px;font-size:110%;margin:6px -19px}main div[role=search] input::placeholder{font-weight:normal;color:black}main div[role=search] svg{position:relative;top:5px;width:18px;left:0}main ul.sc-iHmpnF{font-size:16px}main span.sc-ehixzo.CHBVM{padding:3px 6px;font-size:10px;margin-right:8px;height:18px;width:8ex}main ul.sc-iHmpnF.bQdsWB{padding:0;margin:0;font-size:10px;user-select:none}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul{margin-bottom:16px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li{padding:0px;margin:0px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li>label{padding:9px;margin:0px}main ul.sc-iHmpnF.bQdsWB>li>ul>li>ul>li>label .sc-eyvILC{font-size:13px;color:#21225F}main label.-depth0{padding:0px 9px;margin:8px}main label.-depth0 span.sc-eyvILC.cyMuFj{font-size:14px;font-weight:bold;color:#6D6E9C}main label.-depth1{display:flex;padding:6px;margin:0;padding-right:16px;align-items:center;padding-left:18px}main label.-depth1 span.sc-eyvILC.cyMuFj{font-size:14px;font-weight:normal;color:#21225F}main label.-depth1.active span.sc-eyvILC.cyMuFj{font-weight:bold}main .sc-kYxDKI.eoKbCJ{margin-left:0px}main ul.sc-iHmpnF.bKAJhU{display:none}main h2.copjkU{color:#2d2e83;font-size:20px;margin-top:30px;font-weight:bold}main .sc-dcJsrY.eVrqat .sc-kAyceB.XMnSL h2{font-size:28px;text-transform:uppercase}main .sc-dcJsrY.eVrqat .sc-kAyceB.XMnSL h2:after{border:none}main .sc-bpUBKd.-depth2>.sc-eyvILC{font-size:14px}main .sc-bpUBKd.-depth2.active{border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:4px solid #2d2e83;background:#F5F5FA}main .sc-bpUBKd.-depth1.active{border-top-left-radius:8px;border-bottom-left-radius:8px;border-right:4px solid #2d2e83;background:#F5F5FA}main .sc-bpUBKd.-depth1:hover{border-top-left-radius:8px;border-bottom-left-radius:8px;background:#F5F5FAaa}main .bOFhJE{background-color:#e2e2e9}main .bOFhJE button.sc-iEXKAA{border-radius:8px}main .cJteCP>.react-tabs__tab-panel.react-tabs__tab-panel--selected{border-radius:8px;border-top-left-radius:0px}main .cJteCP>ul{margin:0px !important}main .cJteCP>ul>li{padding:5px 10px;display:inline-block;background-color:#11171a;cursor:pointer;text-align:center;outline:none;color:#ccc;min-width:60px;font-size:0.9em;font-weight:bold;border:none;border-top:4px solid;margin:0px !important;border-radius:0}main .cJteCP>ul>li:not([aria-selected=true]){border-top-color:transparent;background:none}main button.sc-gdyeKB p{margin:0px}main .sc-kzqdkY{clear:both}select{padding:6.5px 12px;margin:0px 12px;display:inline-flex;align-items:center;width:111px;cursor:pointer;background:url("data:image/svg+xml,") no-repeat #f8f9fc;background-position:calc(100% - 10px) center !important;-moz-appearance:none !important;-webkit-appearance:none !important;appearance:none !important;border:1px solid #cbcfe1;line-height:1.5;color:#21225f;border-radius:8px}.api-info>[data-role=redoc-description]{display:none}.api-info>#sekoiaio-api-documentation{display:none}.api-info h1:first-of-type>span{display:none} diff --git a/lib/openapi-viewer/README.md b/lib/openapi-viewer/README.md new file mode 100644 index 0000000000..480a22ec8d --- /dev/null +++ b/lib/openapi-viewer/README.md @@ -0,0 +1,24 @@ +# Sekoia.io OpenAPI Viewer library + +This viewer library is a Sekoia.io custom instrumentation of [Redoc](https://github.com/Redocly/redoc), providing +* easier navigation in a large API doc using OpenAPI 3.1 tags and tagGroups +* client-side merging of several OpenAPI/Swagger manifests +* hosting region selector +* plans and permissions handling +* in-browser try-it editor + +Any update to this library's code should be **compiled before commit**. +The compiled library [../openapi-viewer.js](../openapi-viewer.js) is versioned and pushed to this repo to keep our Documentation repo dependency-free. + +If you need to modify the library's code please run +```bash +yarn +yarn build +``` +to compile [../openapi-viewer.js](../openapi-viewer.js) + +For best DX, you may use the webpack devserver via +```bash +yarn +yarn start +``` \ No newline at end of file diff --git a/lib/openapi-viewer/babel.config.js b/lib/openapi-viewer/babel.config.js new file mode 100644 index 0000000000..9c60da4612 --- /dev/null +++ b/lib/openapi-viewer/babel.config.js @@ -0,0 +1,4 @@ +module.exports = { + presets: ["@vue/cli-plugin-babel/preset"], + plugins: ["@vue/babel-plugin-jsx"], +}; diff --git a/lib/openapi-viewer/package.json b/lib/openapi-viewer/package.json new file mode 100644 index 0000000000..57ee799fb5 --- /dev/null +++ b/lib/openapi-viewer/package.json @@ -0,0 +1,30 @@ +{ + "name": "openapi-viewer", + "version": "1.0.0", + "license": "MIT", + "scripts": { + "start": "vue-cli-service serve --host 127.0.0.1", + "build": "vue-cli-service build && cp -f dist/javascript/openapi-viewer.min.js ../../docs/javascript/openapi-viewer.min.js", + "lint": "vue-cli-service lint" + }, + "dependencies": { + "@babel/core": "^7.19.3", + "@highlightjs/vue-plugin": "^2.1.0", + "@vue/babel-plugin-jsx": "^1.1.1", + "chartjs-adapter-moment": "^1.0.1", + "codemirror": "^5.49.2", + "dompurify": "^3.2.1", + "marked": "^15.0.2", + "moment": "^2.30.1", + "vue": "^3.2.41", + "vue-router": "^4.1.5", + "vue-tippy": "^6.5.0" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "^5.0.8", + "@vue/cli-service": "^5.0.8", + "@vue/compiler-sfc": "^3.2.41", + "sass": "^1.55.0", + "sass-loader": "^13.1.0" + } +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Code.jsx b/lib/openapi-viewer/src/Code.jsx new file mode 100644 index 0000000000..5a87ddc493 --- /dev/null +++ b/lib/openapi-viewer/src/Code.jsx @@ -0,0 +1,2 @@ +/** A Vue component using highlightjs for syntax highlighting of code blocks */ +export const Code = ({ src, lang }) => diff --git a/lib/openapi-viewer/src/Dropdown.jsx b/lib/openapi-viewer/src/Dropdown.jsx new file mode 100644 index 0000000000..e2dd5b8663 --- /dev/null +++ b/lib/openapi-viewer/src/Dropdown.jsx @@ -0,0 +1,33 @@ +import { ref } from "vue"; +import { useTippy } from "vue-tippy"; +import 'tippy.js/animations/shift-away.css'; +import "./Dropdown.scss" + +/** A Dropdown Vue component */ +export const Dropdown = { + props: ["button", "class", "content"], + setup(props, { slots }) { + const target = ref(null) + const { show } = useTippy(target, { + trigger: "manual", + interactive: true, + placement: "bottom-start", + offset: [0, 4], + animation: "shift-away", + maxWidth: 'none', + content: { + setup() { + return () =>
    + {props.content} +
    + } + }, + }); + + return () => { + return + } + } +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Dropdown.scss b/lib/openapi-viewer/src/Dropdown.scss new file mode 100644 index 0000000000..612452fe46 --- /dev/null +++ b/lib/openapi-viewer/src/Dropdown.scss @@ -0,0 +1,3 @@ +.dropdown-button { + cursor: pointer; +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Error.jsx b/lib/openapi-viewer/src/Error.jsx new file mode 100644 index 0000000000..44ea02fd1c --- /dev/null +++ b/lib/openapi-viewer/src/Error.jsx @@ -0,0 +1,5 @@ +/** Vue component to render documentation for an error code */ +export const Error = ({ code, response }) =>
    + {code} +
    {response?.description}
    +
    \ No newline at end of file diff --git a/lib/openapi-viewer/src/Examples.jsx b/lib/openapi-viewer/src/Examples.jsx new file mode 100644 index 0000000000..6a0c7b1a65 --- /dev/null +++ b/lib/openapi-viewer/src/Examples.jsx @@ -0,0 +1,127 @@ +import { reactive } from "vue" +import { Code } from "./Code" +import { Dropdown } from "./Dropdown" +import { TryIt } from "./TryIt" +import './Examples.scss' +import { Chevron } from "./utils" +import { data, resolveSchema } from "./OpenAPIViewer" + + +/** A Vue component to render sample requests and response payloads */ +export const Examples = { + props: ["endpoint", "schema"], + setup(props) { + const ui = reactive({ tab: "samples" }) + + const fullURL = (data.schema?.servers?.[0]?.url || "") + props.endpoint.path + + let bodySchema = props.endpoint.requestBody?.content?.["application/json"]?.schema + if (bodySchema) bodySchema = resolveSchema(bodySchema) + + let responseSchema = null + for (const code in props.endpoint.responses) { + const s = props.endpoint.responses[code]?.content?.["application/json"]?.schema + if (code < 400 && s) { + responseSchema = resolveSchema(s) + break; + } + } + + return () => { + const { method, path } = props.endpoint + return
    + + {ui.tab === "tryit" ? : +
    + + {method} +
    {path}
    + {Chevron} + } + content={fullURL} + /> + + {!!bodySchema && + <> +

    Request samples

    + + + } + {!!responseSchema && <> +

    Response samples

    + + } +
    } +
    + } + } +} + +/** Generate an example payload for the given endpoint's {type} and {properties} */ +export function generateExamplePayload({ type, properties } = {}) { + const sample = {} + for (const name in properties) { + const p = properties[name] + sample[name] = generateExampleValue(p, name) + } + return JSON.stringify(sample, null, 2) +} + +/** Generate an example value for the given field {p} */ +export function generateExampleValue(p, name = "", stack = null) { + let v = null; + + if (!p) return null; + + if (p.$ref) { + if (stack === null) stack = {} + if (stack?.[p.$ref]) return {} + stack[p.$ref] = true + return generateExampleValue(resolveSchema(p.$ref), name, stack) + } + + if (p.anyOf?.length > 0) { + for (const alt of p.anyOf) { + if (alt.type !== 'null') return generateExampleValue(alt, name, stack) + } + } + + if (p.type === "integer") v = p.minimum || 0 + else if (p.type === "number") v = (p.minimum || 0.0) + 0.0 + else if (p.type === "string") { + if (name === "description") v = `This is a *description*` + else if (["uuid", "community_uuid"].includes(name)) v = crypto.randomUUID() + else if (name === "email") v = "johndoe@example.com" + else if (p.format === "uuid") v = crypto.randomUUID() + else if (p.format === "date-time") v = (new Date()).toISOString() + else if (p.format === "date") v = (new Date()).toDateString() + else if (p.default) v = p.default + else if (p.enum?.[0]) v = p.enum?.[0] + else v = `${name.toLowerCase().replace(/_/g, " ")}` + } + else if (p.type === "boolean") v = true + else if (p.type === "array") { + v = [generateExampleValue(p.items, name, stack)] + } else if (p.type === "object") { + if (p.properties === undefined) v = {} + else { + v = {} + for (const k in p.properties) { + v[k] = generateExampleValue(p.properties[k], k, stack) + } + } + } + + // Fallbacks + if (v === null) { + if (p.schema?.type || p.schema?.anyOf) return generateExampleValue({ ...p.schema, ...p }, name, stack) + if (p.schema?.$ref) return generateExampleValue(resolveSchema(p.schema.$ref), name, stack) + else return null + } + + return v +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Examples.scss b/lib/openapi-viewer/src/Examples.scss new file mode 100644 index 0000000000..f2bdd7d41b --- /dev/null +++ b/lib/openapi-viewer/src/Examples.scss @@ -0,0 +1,156 @@ +#openapi-viewer .examples { + width: 500px; + margin-top: 96px; + margin-bottom: 56px; + margin-left: 36px; + + >nav { + background: white; + overflow: hidden; + display: flex; + padding: 0; + border: none; + list-style-type: none; + user-select: none; + + >* { + color: #2d2e83; + background: white; + border-top: 4px solid transparent; + opacity: 0.6; + cursor: pointer; + font-weight: bold; + margin: 0; + padding: 6px 16px; + + &.active { + opacity: 1; + border-top: 4px solid #12005e; + background: #e2e2e9; + color: #12005e; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + } + } + + + } + + + >div { + background: #e2e2e9; + border-radius: 20px; + border-top-left-radius: 0px; + border-top-right-radius: 0px; + padding: 16px; + } + + + .path { + background-color: rgb(17, 23, 26); + border-radius: 8px; + color: white; + display: flex; + align-items: center; + width: 100%; + padding: 10px; + overflow: hidden; + + .method { + height: 24px; + } + + >div { + flex: 1; + text-align: left; + padding: 0px 4px; + padding-bottom: 4px; + white-space: normal; + } + + svg { + float: right; + fill: white; + transform: rotate(0deg); + } + } + + + .tippy-box .path { + color: black; + background: white; + box-shadow: rgba(0, 0, 0, 0.33) 0px 0px 6px; + width: 100%; + } + + h3 { + color: #12005e; + font-weight: bold; + font-size: 14px; + padding: 12px 0px; + } + + + .code-examples { + margin-top: 24px; + font-size: 14px; + + ul { + display: flex; + padding: 0; + list-style-type: none; + margin: 0; + + li { + cursor: pointer; + padding: 2px 12px; + border-top: 4px solid transparent; + margin: 0px; + background: transparent; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + font-weight: bold; + color: #8182b5; + transition: all 90ms ease-in-out; + + &:hover { + color: #12005e; + } + + &.selected { + border-top-color: #5d4ff2; + background: #11171a; + color: white; + } + } + } + + } + + pre { + background: #11171a !important; + position: static; + min-width: 100%; + width: 100%; + display: block; + border-radius: 8px; + color: white; + font-family: monospace; + font-size: 11px; + max-height: 40vh; + overflow: auto; + border-top-left-radius: 0px; + margin: 0; + white-space: break-spaces; + padding: 0px; + } + + .samples { + code { + background: #11171a !important; + font-family: Consolas, Söhne Mono, Monaco, Andale Mono, Ubuntu Mono, monospace !important; + color: white !important; + font-size: 14px; + } + } +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Filter.jsx b/lib/openapi-viewer/src/Filter.jsx new file mode 100644 index 0000000000..acd8b70838 --- /dev/null +++ b/lib/openapi-viewer/src/Filter.jsx @@ -0,0 +1,43 @@ +import { reactive, ref, watchEffect } from "vue"; +import { useTippy } from "vue-tippy"; + +/** A ComboxBox dropdown button with multiselect options */ +export const Filter = { + props: ["items", "selection", "onClick", "separator", "placeholder"], + setup(props, { slots }) { + const target = ref(null) + const { show } = useTippy(target, { + trigger: "manual", + interactive: true, + placement: "bottom-start", + offset: [0, 4], + content: { + setup() { + const data = reactive({ search: "", items: [...props.items || []] }) + watchEffect(() => { + data.items = props.items?.filter(x => !data.search?.length || x.toLowerCase().includes(data.search.toLowerCase())) + }) + + return () =>
    + data.search = target.value} /> +
      + {data.items?.map(x =>
    • props.onClick(x)}> + +
    • )} +
    +
    + } + }, + }); + + return () => { + return
    + + + {props.selection?.length > 0 && <>{props.selection?.length} selected} +
    + } + } +} \ No newline at end of file diff --git a/lib/openapi-viewer/src/Markdown.jsx b/lib/openapi-viewer/src/Markdown.jsx new file mode 100644 index 0000000000..83de2ad0ce --- /dev/null +++ b/lib/openapi-viewer/src/Markdown.jsx @@ -0,0 +1,5 @@ +import { marked } from "marked" +import DOMPurify from "dompurify" + +/** A Vue component to render (sanitized) markdown descriptions */ +export const Markdown = ({ src }) =>
    diff --git a/lib/openapi-viewer/src/OpenAPIViewer.jsx b/lib/openapi-viewer/src/OpenAPIViewer.jsx new file mode 100644 index 0000000000..20ac2840dd --- /dev/null +++ b/lib/openapi-viewer/src/OpenAPIViewer.jsx @@ -0,0 +1,345 @@ +import { Teleport, capitalize, createApp, reactive } from "vue"; +import { fetch_and_merge_openapi_schemas } from "./openapi/openapi" +import { Examples } from "./Examples"; +import { tagEncode, Chevron, debounce } from "./utils" +import { Markdown } from "./Markdown" +import { Parameters } from "./Parameters" +import { Response } from "./Response" +import { Error } from "./Error" +import { Filter } from "./Filter" +import hljs from 'highlight.js/lib/core'; +import javascript from 'highlight.js/lib/languages/javascript'; +import python from 'highlight.js/lib/languages/python'; +import bash from 'highlight.js/lib/languages/bash'; +import json from 'highlight.js/lib/languages/json'; +import hljsVuePlugin from "@highlightjs/vue-plugin"; +import 'highlight.js/styles/a11y-dark.css' +import { toRaw } from "vue"; + +hljs.registerLanguage('bash', bash); +hljs.registerLanguage('javascript', javascript); +hljs.registerLanguage('python', python); +hljs.registerLanguage('json', json); + +import "./style.scss"; +import './OpenAPIViewer.scss' +import { watch } from "@vue/reactivity"; + +/** Holds all reactive rendering context */ +export const data = reactive({ + openapi_urls: [], + region: (new URLSearchParams(location.search).get("region") || "fra1").toLowerCase(), + api_key: "", + selectedTags: [], + loading: true, + search: "", +}) + +export const OpenAPIViewer = { + + /** Gather all openapi.json/swagger.json manifests from {urls} and render it OpenAPIViewer Vue component */ + async init({ title, urls, menu, regions }) { + const hash = location.hash + data.title = title + + // Mount Vue component + const app = createApp(OpenAPIViewer); + app.use(hljsVuePlugin) + data.quickStart = document.querySelector("main article") + const container = document.createElement("article") + container.classList.add("md-content__inner") + container.classList.add("md-typeset") + container.id = 'openapi' + data.quickStart.parentElement.appendChild(container) + app.mount(container); + + const started_at = new Date() + data.menu = menu; + data.regions = regions; + + // Replace URLs with the selected region's URLs + if (data.region !== "fra1") { + urls = urls.map((url) => + url.replace("https://app.sekoia.io/", `https://app.${data.region}.sekoia.io/`) + ); + } + data.openapi_urls = urls; + + // Retrieve and merge the OpenAPI 3.1 schemas + data.schema = await fetch_and_merge_openapi_schemas(urls) + data.schema["x-tagGroups"] = menu; + + if (data.region !== "fra1") + data.schema.servers[0].url = `https://app.${data.region}.sekoia.io/api`; + + // Collect menu tags and filter tags + function update() { + console.log(data.search, data.selectedTags) + data.loading = true + const selectedTags = new Set(data.selectedTags) + data.endpoints_by_tag = {} + data.tags = new Set() + for (const tagGroup of menu) { + for (const tag of tagGroup.tags) data.endpoints_by_tag[tag] = [] + } + + Object.entries(data.schema.paths).forEach(([path, endpoints]) => { + Object.entries(endpoints).forEach(([method, endpoint]) => { + if (method === "parameters") return; + + if (endpoint.tags.length >= 2) { + for (const tag of endpoint.tags) { + if (!data.endpoints_by_tag[tag]) data.tags.add(tag) + } + } + + // Search filtering + if (data.search) { + if (!endpoint.summary?.toLowerCase()?.includes(data.search) + && !endpoint.description?.toLowerCase()?.includes(data.search) + && !endpoint.title?.toLowerCase()?.includes(data.search) + && !endpoint.name?.toLowerCase()?.includes(data.search) + && !endpoint.path?.toLowerCase()?.includes(data.search)) + return; + } + + // Tag filtering + if (selectedTags.size > 0) { + if (!endpoint.tags?.length > 0 || selectedTags.isDisjointFrom(new Set(endpoint.tags))) + return; + } + + + for (const tag of endpoint.tags) { + if (data.endpoints_by_tag[tag]) data.endpoints_by_tag[tag].push({ ...endpoint, path, method }) + } + }) + }) + + data.tags = Array.from(data.tags).sort() + setTimeout(() => data.loading = false, 10) + } + OpenAPIViewer.updateAsap = debounce(update, 500) + watch(() => data.search, () => { data.loading = true; setImmediate(OpenAPIViewer.updateAsap) }) + update() + + /** Called when the window is scrolled to sync the selected menu item */ + function updateScroll() { + let el = document.elementFromPoint(window.innerWidth / 2, 150) + while (!el.id && el.parentElement) el = el.parentElement + const [_, tag, ep] = el.id.split("/") + if (tag) { + data.curTag = tag + data.curEp = el.id + data.curTagGroup = data.menu?.find(tg => tg.tags?.includes(tag))?.name + const hash = "#" + el.id + if (hash !== location.hash) history.replaceState(null, '', window.location.href.split('#')[0] + hash) + setImmediate(() => { + document.querySelectorAll("#openapi-viewer .menu li.accordion").forEach(e => { + const ul = e.querySelector("&>ul") + if (e.classList.contains("active")) ul.style.maxHeight = `${ul.children[ul.children.length - 1].getBoundingClientRect().bottom - ul.getBoundingClientRect().top}px` + else ul.style.maxHeight = "0px" + }) + }) + } + } + + // Called after the whole API doc's DOM has been rendered + function afterRender() { + // Scroll to the hash passed in the URL (after full rendering of the API doc) + location.hash = hash + const el = document.getElementById(hash.substring(1)) + if (el) window.scrollTo({ + top: document.getElementById(hash.substring(1)).getBoundingClientRect().top + window.scrollY, + behavior: 'smooth' + }); + data.loading = false; + console.log("Doc rendered in", (new Date() - started_at) + "ms") + + // Register scroll listener + setTimeout(() => { + updateScroll() + document.addEventListener("scroll", updateScroll) + }, 500) + } + + setTimeout(afterRender, 50) + }, + + setup(props) { + // Scroll to top before filling the doc's DOM + setImmediate(() => window.scrollTo({ top: 0, behavior: "instant" })) + + /** Toggles a tag filter */ + const toggleTag = (t) => { + if (data.selectedTags.includes(t)) data.selectedTags = data.selectedTags.filter(tag => tag !== t) + else data.selectedTags.push(t) + OpenAPIViewer.updateAsap() + } + + return () => { + return <> + {data.loading &&
    } + +
    + + diff --git a/theme/overrides/openapi.html b/theme/overrides/openapi.html index 58d8b47e87..3f5f0de98b 100644 --- a/theme/overrides/openapi.html +++ b/theme/overrides/openapi.html @@ -9,4 +9,5 @@ + {% endblock %}